How to extract the resolution with V3?

I understand how I would extract the resolution in V2 since it is clearly a field in the JSON, but how do I extract the resolution in V3?

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

ID: dfee1185-f94a-eee9-2726-14dcdfd6f283
Version Independent ID: d11173e2-e0d8-3347-65e1-5d105fba80be
Content: Number Prebuilt entity - LUIS - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-reference-prebuilt-number.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @aahill
Microsoft Alias: aahi

@wshope99 The V3 version of the API provides the number resolution in the number field rather than the resolution field. V3 API include significant JSON request and response changes from V2 API, some of the changes and migration strategy for V2 to V3 are available here.

@wshope99 The V3 version of the API provides the number resolution in the number field rather than the resolution field. V3 API include significant JSON request and response changes from V2 API, some of the changes and migration strategy for V2 to V3 are available here.

I've looked at that documentation before, and it makes sense to me when looking at it from a high-level view. However, when I go to code in C#, I see no methods to allow me to access the number field itself, only the metadata underneath the $instance field.
This is the LuisResult class that I am using: https://docs.microsoft.com/en-us/java/api/com.microsoft.azure.cognitiveservices.language.luis.runtime.models.luisresult?view=azure-java-stable
The Entities() method from the LuisResult class returns an IList object, but with the EntityModel object it seems that I can only access the fields underneath $instance, rather than the number field you are referring to.

@wshope99 The reference seems to be from the java SDK instead of C#. The .net SDK is a different documentation link for the runtime model. The issues page for the SDK is here on github.

@wshope99 We will go ahead and close this issue and request our SDK team to review the V3 version for the SDK. You can also go ahead and create an issue on the SDK repo for any other issues. Please tag @RohitMungi-MSFT in your reply if you have any questions.


Create dataset loader for QASiNa

Dataloader name: qasina/qasina.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?qasina

Dataset
qasina

Description
Question Answering Sirah Nabawiyah Dataset (QASiNa) is Extractive QA Dataset which build to perform QA task in Sirah Nabawiyah domain.

Subsets
-

Languages
ind

Tasks
Question Answering

License
MIT (mit)

Homepage
https://github.com/rizquuula/QASiNa/blob/main/QASiNa.json

HF URL
-

Paper URL
https://arxiv.org/pdf/2310.08102.pdf

#self-assign


chore: initial migration

@slandelle missing parts are

CI (need an integration on travis CI) I've sent a request - could you please approve ?
publishing ( needs an account on gradle plugin portal)
release (needs permissions on github)

@slandelle there's no possibility to open an issue in this repo, could you please fix it ?

We use one central bug tracker and triage with tags. This all the more makes sense as there’s only one single release train, which is something you wanted to keep versions aligned. Note that linking commits and issues in different repositories works, eg “close gatling/gatling#issue”.

We use one central bug tracker and triage with tags. This all the more makes sense as there’s only one single release train, which is something you wanted to keep versions aligned. Note that linking commits and issues in different repositories works, eg “close gatling/gatling#issue”.

No sure I understand you. Where can I create an issue ?
Should I create issues in https://github.com/gatling/gatling ?

Should I create issues in https://github.com/gatling/gatling ?

Yes. Originally, we had multiple bugtrackers for the different projects, but lots of people kept on opening issues at the wrong place.

@slandelle could you please create a corresponding tag in the gatling project bugtracker ?

Will do. Sorry for the lag, I’m off office atm.

@slandelle could you approve a request from Travis CI ?

Will do. Sorry for the lag, I’m off office atm.

i am sorry.

Label done: Module - Gradle Plugin

Regarding Travis CI, there's something utterly wrong here!
I want to enable Travis CI on one single public repository, and here are the permissions there are requesting:

Reading this, it looks like my understanding is correct and that users have been requesting to fix those abusive permissions for a long time, to no avail so far.

@eshepelyuk I've enabled Travis as a webhook instead of a Github App, just like it's being done on gatling/gatling. Please let me know if it works for you.

@slandelle tests are running now. Could you tell what LICENSE should I put into this repo ?
is this one ok ?
https://github.com/gatling/gatling/blob/master/LICENSE.txt

Yes, that's the one. Thanks!

@slandelle let's merge ? and then we can start setting up publishing \ releasing.

Yes, let's merge.
But release will have to wait for Gatling 3.4.0 later this month. In the meantime, there are several things we need to address:

project structure, in particular src/gatling/simulations that should probably become src/gatling/scala
is it really worth keeping on supporting Gradle 4?

Yes, let's merge.
But release will have to wait for Gatling 3.4.0 later this month. In the meantime, there are several things we need to address:
Before Gatling release - the infrastructure and release scripts should be setup.
First of all - you need to create an account on Gradle Plugin portal
Then, we have to discuss a release procedure and how it's gonna be handled now

project structure, in particular src/gatling/simulations that should probably become src/gatling/scala
please create a dedicated issue for this. it requires some development from my side.

is it really worth keeping on supporting Gradle 4?
Well, in fact this support doesn't add any additional burden to plugin's maintenance.
So dropping gradle 4.0 won't make any benefits so far. I'd suggest to keep it for now.

@slandelle is this done on a purpose ?

is this done on a purpose ?

Wrong option enabled, sorry. Fixed.

@slandelle I've already enabled publishing pipeline for a plugin. But to finalize, we need a Gradle plugin portal account.
Since a new plugin 1st time publishing takes some some (i think up to 5 days) - we need to publish some version first to make plugin be approved.
The release process is based on tagging, as soon as tag with version pushed to GitHub (eg 3.4.0) - the new version of plugin will be published. I think you can easily adjust this to your release train.


Implement Cell Debugging - Notebook Editor

Breakdown of approximate timing for our native debugging spec

dupe of #1652


long complicated page

This page is very long and challenging to navigate, it would be easier to use if it was split up into several pages. Moving the Role Permissions and Role template IDs to their own pages would be helpful.

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

ID: 0767aac4-fcd9-eaac-2c30-8f17d8eadd92
Version Independent ID: a380a828-03f9-e037-3a62-e4165fda7cb6
Content: Administrator role descriptions and permissions - Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/directory-assign-admin-roles.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@DeanGross  Thanks for your Feedback! We will investigate this and get back to you as soon as possible,

Hey @DeanGross  can you clarify on what the issue is in regards to this?
Your suggesting to create a new page for role permissions & templates?
What is the issue with keeping it on the same page?

The issue is that that the current page is estimated to take 61 minutes minutes to read which is much longer than most pages in this site. Splitting it up into several pages would make it easier to scroll up and down.

Hi @DeanGross
I have opened a work item for this. It makes sense to break out the templates, and I'll look at the rest. We're rolling out custom roles right now so that work will lag behind custom role content for a short time.
@FrankHu-MSFT
#please-close


[bug] Fixing the drawer getting cut off and reformatting.

what
Finally had time to address https://github.com/kickstarter/android-oss/issues/230 🤓 Now the drawer won't get cut off for devices with cutouts.
how
It was actually pretty straight-forward (as straight-forward as Android can be 😛)
The default value of fitsSystemWindows is true so we don't need it in the DrawerLayout but for NavigationView we do, so it draws below the status bar.
before and after

cool tipz
There's an option in Developer Settings to simulate a cutout. That's how I tested this out!

 Close out last open issue in Android OSS repo


Loading Root Page via SSR ends up in SyntaxError: Unexpected end of JSON input

https://pokedex-vitedge.hrgui.workers.dev/ leads to error 1101
In wrangler dev:
Uncaught
SyntaxError: Unexpected end of JSON input
Uncaught (in promise)
SyntaxError: Unexpected end of JSON input
Uncaught (in response)
SyntaxError: Unexpected end of JSON input

While https://pokedex-vitedge.hrgui.workers.dev/pokemon/1 works, then navigating home works also. However, refreshing the page there doesn't work.
See https://github.com/hrgui/pokedex-vitedge for repo

yarn && yarn build in root
npm install && wrangler dev in workers-site

This was because home route was trying to request props but there was no handler for that. It should now skip it if there is no handler 👍  (0.13.2)

@hrgui Apart from that, there are some dependency issues in your project:
I think you need to remove all the dependencies and devDependencies from workers-site/package.json (it will grab them from the parent directory), and then move react-helmet-async, react-router-config and react-router-dom to dependencies from devDependencies in the root package.json. It's also missing @types/react-router-dom dev dependency. Tell me if that works.


feat(bpdm-gate): Extend error code

Description

Enhance the error handling mechanism for the orchestrator and gate components by extending the list of available error codes. This will improve the visibility and detail of error information, particularly beneficial for the customer dashboard to understand why a data set could not be processed.
Currently, the orchestrator and gate components have a limited set of error codes. Extending these error codes will provide more granular information on processing failures, aiding in quicker diagnosis and resolution. This feature will update both the orchestrator and gate components to support a more comprehensive list of error codes.
Benefits

Improved Transparency: Customers can view detailed error reasons on the dashboard, enhancing trust and user experience.

Enhanced Debugging: Developers and support teams can identify and resolve issues more efficiently with detailed error information.

Better Monitoring: Allows for more precise monitoring and logging of errors, leading to improved system reliability.

New error types add to the following two classes

org.eclipse.tractusx.bpdm.gate.api.exception.BusinessPartnerSharingError
org.eclipse.tractusx.orchestrator.api.model.TaskErrorType

New error types

NaturalPersonError - The provided record contains natural person information.
BpnErrorNotFound - The provided record can not be matched to a legal entity or an address.
BpnErrorTooManyOptions - The provided record can not link to a clear legal entity.
MandatoryFieldValidationFailed - The provided record does not fulfill mandatory validation rules.
BlacklistCountryPresent - The provided record is part of a country that is not allowed to be processed by the GR process (for example: Brazil).
UnknownSpecialCharacters - The provided record contains unallowed special characters.

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Contributes to https://github.com/eclipse-tractusx/sig-release/issues/727


Use devcontainer for github actions builds too?

We have actions, but since we have the tools in the container, I wonder if it'd be faster to use the container for all of the github actions. We'll have to look into it; need to get it working first.

Not going to worry about this for now.


Add top level pilot metrics

(copy of https://github.com/istio/istio/pull/9033)
Restructure pilot metrics somewhat to get something more usable to SRE/oncall playbook. Added top level gauges that can be used for alerting:
pilot_total_internal_errors
Total internal Pilot errors.
Effect: can lead to incorrect operation or inconsistent mesh state.
pilot_total_xds_rejects
Total number of times an XDS (LDS, RDS, CDS or EDS) response from Pilot was rejected by proxy.
Effect: proxy configuration may be inconsistent with user config. Verify with istio-ctl proxy-status.
pilot_xds_write_timeout
Total number of timeouts for XDS response from pilot.
Effect: proxy configuration may be inconsistent with user config. Verify with istio-ctl proxy-status.
pilot_total_xds_internal_errors
Total number of internal XDS errors in pilot.
Effect: mesh operation may be impacted. Check pilot logs.
I've preserved the current metrics for backwards compatibility.

@ostromart: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
d70ff821b948f355df064e2c7b192c8fc98cb583
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Does pilot_total_internal_errors include pilot_total_xds_internal_errors, If so a clarifying statement in help would be useful `pilot_total_internal_errors includes all types of pilot internal errors"
/lgtm

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

Needs approval from an approver in each of these files:

pilot/OWNERS [mandarjog]

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

New changes are detected. LGTM label has been removed.

pilot_total_internal_errors does not include pilot_total_xds_internal_errors. It probably should but with the current metric structure there would be lots of calls to both metrics side by side. This should be fixed once the metrics are refactored but per our discussion not attempting that right now.
I've updated the comment in the metric.

@ostromart: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth.sh
6016ae6cfa6084279729065325512b131c3140e4
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/retest

/retest prow/e2e-mixer-no_auth.sh

As I commented on the other outstanding PR:
We should try to adopt the Best Practices for prometheus metric names when possible.
I think that translates to:

pilot_internal_errors_total (instead of pilot_total_internal_errors)
pilot_xds_rejects_total (instead of pilot_total_xds_rejects)
pilot_xds_write_timeout_seconds (instead of pilot_xds_write_timeout)
pilot_xds_internal_errors_total (instead of pilot_total_xds_internal_errors)


Livestream.com passworded video 401 error

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.06.18

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

D:\gp\ytdl>youtube-dl.exe --verbose --video-password experience http://livestream.com/blueroomstream/events/8251962/videos/176501281
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--video-password', 'PRIVATE', 'http://livestream.com/blueroomstream/events/8251962/videos/176501281']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.06.18
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.0
[debug] Proxy map: {}
[livestream] 176501281: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu1zifx01\build\youtube_dl\extractor\common.py", line 579, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu1zifx01\build\youtube_dl\YoutubeDL.py", line 2211, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 502, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 685, in http_error_302
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

I am trying to download a clip from Livestream.com that has an access password. I assumed the --video-password argument would pass this through, but I get a 401 error on the JSON step.

This issue affects me as well, with version 2018.07.21
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://livestream.com/onetaste/cp14/videos/160744865', '--video-password', 'PRIVATE', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.21
[debug] Python version 3.7.0 (CPython) - Darwin-16.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[livestream] 160744865: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 599, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 563, in error
    result = self._call_chain(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 755, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

This issue affects me as well, with version 2018.07.21
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://livestream.com/onetaste/cp14/videos/160744865', '--video-password', 'PRIVATE', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.21
[debug] Python version 3.7.0 (CPython) - Darwin-16.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[livestream] 160744865: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 599, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 563, in error
    result = self._call_chain(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 755, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

This issue affects me as well, with version 2018.07.21
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://livestream.com/onetaste/cp14/videos/160744865', '--video-password', 'PRIVATE', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.21
[debug] Python version 3.7.0 (CPython) - Darwin-16.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[livestream] 160744865: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 599, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 563, in error
    result = self._call_chain(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 755, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Same issue 4 years later


Black bars on Redmi Note 10S

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
1787
Describe the bug
FGA is not working, simply when I play the button nothing happens, but when debug mode active show a lot of red squares flashing, can you help me to set a custom area mode appropriate to my phone?
Video
https://streamable.com/0s55mx
Device model
Xiaomi Redmi Note 10S
Android version
11
Screen size
2400x1080
RAM
6GB

Similar to #1308, you need to post a screenshot of fga ingame to get custom game area values. Hopefully they work for you unlike the last person

Hey. Check if full screen mode is enabled for FGO.
Go to Settings > Screen > Full Screen Mode By App and enable FGO.
Should work by now, i had the same issue 15 mins ago and that solved it (Note 9s)

Hey. Check if full screen mode is enabled for FGO. Go to Settings > Screen > Full Screen Mode By App and enable FGO. Should work by now, i had the same issue 15 mins ago and that solved it (Note 9s)

Worked, thank you very much, I've tried this option before but the screen settings on fga was not on default


Direct Challenge

Is it possible to implement the tracking of the games type indicated in the subject?
Hello everyone and thank you for your wonderful work, Ali

Hi! Yep, it's on our todo list

Tracking implemented. You need to restart app to get new filters rolling.


Updated callback method names to match keras 1.2.1

Has already been addressed by https://github.com/matthiasplappert/keras-rl/pull/65


remove Validate and use Guard

Not sure on this one. IMO Validate does not provide enough value over using the guard approach (that is used everywhere else)
thoughts?

can u tell me what tests have failed?

Git checkout was failing, I have restarted it.

Attaching the test log: it seems to be linked to the Guard.DirectoryExists that throws exception during tests.
MSTestAdapter.PlatformServices.UnitTests_net462_x64 (2).log


im on FTB Stoneblock 2 and well creating a flux network crashes my game hope you could look into this.

Issue.txt

Outdated beta version, use 4.0.12


add Series.clip/2

This is based on clip.  Polars' implementation has separate function for clip_max and clip_min, but I think it's a cleaner interface with the keyword list. If you'd rather have separate functions, I'm happy to make the changes!

Thanks @philss! I did not think about that! I've made the change to do the nil check and added a test to make sure that min: nil, max:nil raises the same exception and avoids the panic.

Hi @anthony-khong! Erlang/OTP 26 allows min/2 and max/2 to be used in guards and it is very likely we will introduce a clip (or clamp) to Elixir with the API of clip(val, min, max). Therefore, a keyword based API would be inconsistent with Elixir. This functionality in Elixir would be written as def clip(val, min, max), do: min(max(x, min), max) (which is very confusing, hence why we want to introduce clip/clamp).
Note that Nx has min/2 and max/2, therefore we could introduce clip_max as Series.min(series_a, constant) and in the future we could extend it to Series.min(series_a, series_b) if polars ever add this feature. So my vote for now is min/2 and max/2, even if temporarily limited.
Thoughts?

Hi @josevalim, thanks for the feedback. A couple of comments from me.

Therefore, a keyword based API would be inconsistent with Elixir.

Actually, NumPy does this np.clip. The downside is that clip max looks like np.clip(xs, None, a), which is not super pretty. In Elixir world, I just thought clip(xs, max: a) looks better and more obvious than clip(xs, nil, a). In any case, I agree that clip in Explorer should look the same as clip in Elixir.

So my vote for now is min/2 and max/2, even if temporarily limited.

We can implement this with select/3. I think it makes a lot of sense to allow the bounds to be series instead of just constants. Let me work on min/2 and max/2 first, then reuse it here!

For this one, we can support it as clip(series, min, max) where both min and max are required. If you want only one side, we can support the select one. :)

Hi José, so I've stripped out the keyword based API and made the bounds both required!

Hi José

if Polars only accepts floats, this is fine. :)

This comment made me dig deeper into Polars' clip. It is possible to do integer and float clips. However, unlike basic numeric operations, the Rust side expects a scalar which needs to be an i64 or f64 instead of another series. What I've done here is to make two Rust functions clip_integer and clip_float - please let me know if there's a better way to do this.

Two minor nits and we are good to go!

Fixed! Thank you again José for the feedback!

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Update presentatie 12/9

Update with a.o. elevator pitches

New update will follow

Comments of Jacko added


Squash listings under same brand

I noticed some components under same brand are listed independently which, IMHO, is just artificially fattening the list. I suggest we put an end to it before it becomes a trend.
If the brand is using independent repos for each subcomponent, which seems the main reason, it should list one main repo or site where the entire collection can be seen.

I believe we've addressed this issue with the refactor. Should we close the ticket?


Use the java.nio.Path API

Fixes #81

This project is in maintenance mode, so a big change like this is not something we can support.


Improve connecting downloaded blocks

ref #10015
with #10014 we try to connect blocks that a child blocks of the executed block:
https://github.com/paradigmxyz/reth/blob/d5d46a86110eff5d48920027fb02f52d4f585e08/crates/engine/tree/src/tree/mod.rs#L1275-L1275
there are more scenarios where we can execute more blocks, since we're mixing, basically everytime we insert a new executed block, there's a chance that it has child blocks that are already buffered.
we previously solved this in the blockchain tree when we appended a new chain we always tried to connect.
https://github.com/paradigmxyz/reth/blob/d5d46a86110eff5d48920027fb02f52d4f585e08/crates/blockchain-tree/src/blockchain_tree.rs#L442-L445
TODO

find an appropriate solution for this in the new design, it could be as simple as also trying to connect the just inserted new payload:
https://github.com/paradigmxyz/reth/blob/d5d46a86110eff5d48920027fb02f52d4f585e08/crates/engine/tree/src/tree/mod.rs#L1707-L1707

this queue data structure I implemented can be used here https://github.com/paradigmxyz/reth/pull/7414


WIP: We run frontend install and tests before backend tests in Travis. Do we need to?

Experimenting with Travis.
Additions

Removals

Changes

Testing

Screenshots
Notes

Todos

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Assignee tool :arrow_right:

The answer is yes, we do. Because of this. I'm sad and closing this.


Release 0.8.0.RC1

Resolved via https://github.com/r2dbc/r2dbc-client/commit/83a1ec1fe0322089a9a23885bc516b94ce16763c.


Mocktry seems broken in Pharo 9

I'm trying to launch tests using Mocks from Mocketry in Pharo 9 but I get errors.
One of my test:
testRecord
	| stream |
	stream := '' writeStream.

FullBlockClosure(BlockClosure)>>ensure:
TinyStdoutLoggerTest>>testRecord
TinyStdoutLoggerTest(TestCase)>>performTest
[self setUp.
	self performTest] in TinyStdoutLoggerTest(TestCase)>>runCase in Block: [self setUp....
FullBlockClosure(BlockClosure)>>ensure:
TinyStdoutLoggerTest(TestCase)>>runCase
[aTestCase runCase] in [
		[aTestCase runCase] ensure: [
			"Terminated test is not considered as completed (user just closed a debugger for example)"
			mainTestProcess isTerminating ifFalse: [
				self handleCompletedTest ]]
	] in TestExecutionEnvironment>>runTestCaseUnderWatchdog: in Block: [aTestCase runCase]
FullBlockClosure(BlockClosure)>>ensure:
[
		[aTestCase runCase] ensure: [
			"Terminated test is not considered as completed (user just closed a debugger for example)"
			mainTestProcess isTerminating ifFalse: [
				self handleCompletedTest ]]
	] in TestExecutionEnvironment>>runTestCaseUnderWatchdog: in Block: [...
FullBlockClosure(BlockClosure)>>on:do:
TestExecutionEnvironment>>runTestCaseUnderWatchdog:
[self runTestCaseUnderWatchdog: aTestCase] in TestExecutionEnvironment>>runTestCase: in Block: [self runTestCaseUnderWatchdog: aTestCase]
FullBlockClosure(BlockClosure)>>ensure:
TestExecutionEnvironment>>runTestCase:
[
		testEnv runTestCase: aTestCase] in DefaultExecutionEnvironment>>runTestCase: in Block: [...
[ self value: anExecutionEnvironment.
	anExecutionEnvironment activated.
	aBlock value  ] in CurrentExecutionEnvironment class>>activate:for: in Block: [ self value: anExecutionEnvironment....
FullBlockClosure(BlockClosure)>>ensure:
CurrentExecutionEnvironment class>>activate:for:
TestExecutionEnvironment(ExecutionEnvironment)>>beActiveDuring:
DefaultExecutionEnvironment>>runTestCase:
CurrentExecutionEnvironment class>>runTestCase:
TinyStdoutLoggerTest(TestCase)>>runCaseManaged
[
	aTestCase announce: TestCaseStarted withResult: self.
	aTestCase runCaseManaged.
	aTestCase announce: TestCaseEnded  withResult: self.
	"To not affect performance of big test suites following logic is not inside addPass: method"
	errors remove: aTestCase ifAbsent: [].
	failures remove: aTestCase ifAbsent: [].
	self addPass: aTestCase] in TestResult>>runCaseForDebug: in Block: [...
FullBlockClosure(BlockClosure)>>on:do:

Seems like I have an outdated version of Mocketry. Sorry for the noise


Update release-v2.yml

Rename the workflow so it won't be confused with v1 release workflow

Good idea. Might want to add "v1" for the default one unless it has it already?

I think it's better to leave the v1 release as-is.

Good idea. Might want to add "v1" for the default one unless it has it already?

I think it's better to leave the v1 release as-is.

I was only thinking of adding it in message, not label. But not a big deal either way.

/gcbrun


[odinfmt] weird return {...} struct formatting

A return statement with a multiline struct initializer gets formatted weirdly.
Here is an example. This is the what it should look like:
return {
	alloc_fn = allocator_alloc_func,
	free_fn = allocator_free_func,
	user_data = cast(rawptr)context_ptr,
}

And here is what it gets formatted into:
return(
	 {
		alloc_fn = allocator_alloc_func,
		free_fn = allocator_free_func,
		user_data = cast(rawptr)context_ptr,
	} \
)

The parentheses and backslash don't look very good...

The format style was thought for:
return(
	imp1.derived.(^ast.Import_Decl).fullpath <
	imp2.derived.(^ast.Import_Decl).fullpath \
)

Maybe that should be changed aswell, but with braces I agree it makes no sense.

I think this looks the best:
return imp1.derived.(^ast.Import_Decl).fullpath <
       imp2.derived.(^ast.Import_Decl).fullpath \

The braces do make things a bit clearer, but it's not something I would write without odinfmt. I'm not entirely sure but I think the core: libs don't use them as well.

Looks to be a duplicate of #271.

Fixed.


"Peste Valea Bistrii" is listed in the drop-down menu

Description:
"Peste Valea Bistrii" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Peste Valea Bistrii" in the search bar.

Expected results
The location is listed in the drop-down menu as "Peste Valea Bistrii, Alba (Câmpeni)".


i cant write any command

The text pointer sticked to the left and i cant type anything
I`m using ubuntu 16.04 LTS
Atom 1.10.0 text editor
Termianl-plus 0.14.5

me too

+1

+1

I have the same issue here.

Those using Linux systems should try my package out, terminal-fusion. Those on macOS / Windows NT should use the platformio-ide-terminal package instead. As always, please star the packages (and/or their GitHub repository) you like!

@fusion809 Thanks! terminal-fusion is working perfectly on both my Ubuntu & macOS environments.

+1 but for macOs

Same here for Ubuntu 16.04 with Atom 1.11.2


[Bug]: "asset/resource"  module used to handle ".lottie"-animations works in dev-mode but breaks animation-file in production mode

System Info
System:
OS: macOS 14.2.1,
CPU: Apple M2 pro
Memory: 16gb
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.10.0
npm: 10.2.3
Browsers:
Chrome 121.0.6167.160
Safari 17.2.1
npmPackages:
@rspack/cli: 0.5.4
@rspack/core:  0.5.4
@dotlottie/player-component: 1.3.2
react: 18.2.0
react-dom: 18.2.0
Details
To handle import of animations (".lottie"-files ) in my app i use builtin "asset/resource" module. This works great in development mode and all animations are imported correctly. However when I switch to production mode, all imported animations break and can not be loaded correctly. If i switch to webpack 5 (version 5.89.0) all files are loaded correctly in both production and development mode.
Reproduce link
No response
Reproduce Steps

setup "asset/resource" to handle ".lottie" files  in rspack.config
set mode to "production" in rspack.config
import a ".dotlottie"-file to dot-lottie-player from @dotlottie/player-component
animation wont work
switch to development mode in  rspack.config
animation will work

just downgraded to version 0.5.1 for @rspack/cli and @rspack/core: and then all dotLottie-animations work great in dev and production mode. Also tried version 0.5.2 and then the files break in production. Seems that the files loses their mimetype.

Same issue.
I attempted to address the issue by replacing the JSON path loading method with an inline JSON object(animationData), but the problem persisted. Therefore, I speculate that this issue is unrelated to the assets loader.

Here is a minimal reproduction.
rspack-lottie-1.0.0.tgz

@magic-akari thanks for the repo. @h-a-n-a  see comment above.

thanks @magic-akari
it's swc_ecma_minifier related bug, i've created an issue for this case, please help with it
https://github.com/swc-project/swc/issues/8651


raspiblitz lightning

my raspiblitz node has a problem. the lightning progress is slowly going backwards and wont finish. i tried a restart. i tried updating to the newest version (1.7.2), tried new sd. nothing helped. This is not my first setup. my node was running perfectly for three years now. the longest i waited for lightning to finish is three weeks now. what can i do? how to fix it?
here is my log: https://l.termbin.com/g9n0
can someone help?

Could be a duplicate https://github.com/rootzoll/raspiblitz/issues/3058

thanks, same link, closing as duplicate.


remove react v15 warning with t.Date

`value` prop on `select` should not be null. Consider using the empty string to clear the component or `undefined` for uncontrolled components.

Fixed in https://github.com/gcanti/tcomb-form-templates-bootstrap/releases/tag/v0.2.2


Problem with TRUST4 BCR entropy calculation

Dear all,
i have a problem with calculating the bcr clonality/entropy running following command:
single_sample_bcr_clonality <- getClonality(sample, cdr3.bcr.heavy, start=3, end=10).
As a result, I get
sample            clonality
"MSI001" "0.0985630735501625"                   NA
cdr3.1.bcr.heavy.csv
Attached I added the bcr.heavy.csv. Could you please help me?
Thanks in advance.
Best regards

I'm not sure which package you used for calculating the clonality. It returned the value 0.096, and anything wrong with this number?

Dear mourisl,
thanks for your help. I think in the source code from /trust4_metric_functions.R line 230 is "entropy=entropy" missing. I added it in the downloaded .R file and then it works getting the missing entropy value instead of "NA". Best regards

This script seems to be from the RIMA pipeline. This is from the function that should only find clonality based on the function name. The entropy is an intermediate result that are necessary for calculating clonality.


Unresolved H4 links

In some places, TSPL try to reference a H4 as an anchor point
eg
// In Statements.md
#### Switching Over Future Enumeration Cases

// In Attributes.md and RevisionHistory.md
<doc:Statements#Switching-Over-Future-Enumeration-Cases>

However, swift-docc currently only suppor H1, H2 and H3 as an anchor to reference.
https://github.com/apple/swift-docc/blob/5fe2d1331eba2243163366e4d25259b86a44e5db/Sources/SwiftDocC/Model/DocumentationNode.swift#L113-L124
Should we update the structure of content in this repo or should this be a feature/bug on swift-docc to be fixed?

cc @franklinsch

It's probably worth at least asking whether DocC might want to support > H3 heading anchors, especially given our focus here on longer-form content where it's more likely that content will have headings with more depth.

It's probably worth at least asking whether DocC might want to support > H3 heading anchors, especially given our focus here on longer-form content where it's more likely that content will have headings with more depth.

I'm +1 for support "> H3 heading anchors" (Whether by default or via a flag)
What's your opinion on this? Or we could make some discussion on tomorrow's meeting @franklinsch

What's your opinion on this? Or we could make some discussion on tomorrow's meeting @franklinsch

Ping @franklinsch

Sorry I missed this. Supporting links to >h3 makes sense to me!

After #403 is merged, there will only 1 warning left for swift-book 👇
Input: /Users/kyle/Workspace/Github/swift-docc-project/swift-book/Sources/TSPL/TSPL.docc
Template: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../share/docc/render
/Users/kyle/Workspace/Github/swift-docc-project/swift-book/Sources/TSPL/TSPL.docc/LanguageGuide/AdvancedOperators.md:5:43: warning: Link in document summary will not be displayed
Summary should only contain (formatted) text. To resolve this issue, place links and images elsewhere in the document, or remove them.
========================================
Starting Local Preview Server
	 Address: http://localhost:8080/
========================================

Which is tracked by #1

Thanks @Kyle-Ye!


Break out schema:GeoShape / schema:GeoCoordinates -> PyGeoJSON connector into a library that other people can use

There's code in the app now that takes schema.org geo shapes and coordinates and converts them to PyGeoJSON. Everyone hates having to do this and it's kind of a weird process, so what if it were an open-source library people could use?
I floated this idea at the ESIP/SoSo meeting and it sounds like it'd be useful to people.

I'll want to do something better than coercing circles to points when I ship this though.


windowing functions: simple moving average, option to exclude incomplete window

Hello,
I would like to file a FR for additional argument to windowing functions interface that could control computation for an incomplete (partial) window.
My observation is that SQL databases are generally not giving any flexibility in that matter, and always compute and return partial window. On the other hand analytical tools are generally not only giving such flexibility but most of them defaults to not returning partial window results. What behavior is desires depends on the use case. From my personal uses cases, it is definitely the latter one that was useful.
My perspective is that if an analysts asks in his/her query for SMA10, then he/she wants SMA10, not an SMA9, SMA8, etc. Therefore whenever SMA10 is not possible to be computed (partial window) then NULL/missing values is expected.
Asking for changing the default in prql would be insane, but an option would be highly desired, and it actually could be another advantage of PRQL over SQL.
So lets look at the example
library(prqlr)
"from EuStockMarkets | select SMI | derive {rn = row_number this} | sort rn | window rolling:10 (derive {sma10 = average SMI})" |> prql_compile() |> cat()
#WITH table_0 AS (
#  SELECT
#    "SMI",
#    ROW_NUMBER() OVER () AS rn
#  FROM
#    "EuStockMarkets"
#)
#SELECT
#  "SMI",
#  rn,
#  AVG("SMI") OVER (
#    ORDER BY
#      rn ROWS BETWEEN 9 PRECEDING AND CURRENT ROW
#  ) AS sma10
#FROM
#  table_0
#ORDER BY
#  rn

This SQL query will compute SMA10, but also SMA9...SMA1 whenever 10 observations will not be available in the window.
So my FR is about extra arg, lets call it partial
window rolling:10 partial:false (derive {sma10 = average SMI})"

and the SQL generated with partial=false would need to have a subquery and case when
SELECT
  SMI,
  CASE WHEN partial=1 THEN NULL ELSE AVG(SMI) OVER (ORDER BY id) END AS sma10
FROM (
  SELECT
    SMI,
    CASE WHEN rn<10 THEN 1 ELSE 0 END AS partial
  FROM (
    SELECT
      SMI,
      ROW_NUMBER() OVER () AS rn FROM "EuStockMarkets"
  )
)

value added for prql is potentially big, just one attribute partial:false and much less typing than standard SQL way.

Related discussion in duckdb can be found here: https://github.com/duckdb/duckdb/discussions/8340
In case duckdb will provide option for that, then pqrl compiler could for this target use new duckdb option

Hi,
this is a good observation and something I noticed as well when answering your other question.
It's not too difficult to add this in the PRQL query but I agree with you that it might be nice for PRQL to add this as an option as you suggested.
In the meantime you could work around it with the following:
let data = [
  {id=1, value=2},
  {id=2, value=3},
  {id=3, value=4},
  {id=6, value=2},
  {id=5, value=3},
  {id=4, value=4},
  ]

from data
window rolling:3 (
  sort id
  derive {rn = row_number this, sma3 = average value}
  filter rn>=3
  select {data.*, sma3}
  )

Your example won't exactly give what was requested in the question because it filter out rows having partial window. Question asked to just have SMA10 value NULL but still keep those rows.
Could you please point me into place in the code when changes would have to happen for 1) adding partial argument to window, 2) adding handling of new argument in compiler.

Ah, I misunderstood your requirement.
The following query should produce the result you want:
let data = [
  {id=1, value=2},
  {id=2, value=3},
  {id=3, value=4},
  {id=6, value=2},
  {id=5, value=3},
  {id=4, value=4},
  ]

from data
window rolling:3 (
  sort id
  derive {rn = row_number this,
          sma3 = case {rn<3 => null, true => average value}
          }
  select {data.*, sma3}
  )

Please note: case currently still uses {} but this will change to [] in 0.10 (we can't release this currently because it's a breaking change).
I'm not the best person to ask about the compiler. @aljazerzen or @max-sixty , can you answer the following?

Could you please point me to place in the code where changes would have to happen for 1) adding partial argument to window, 2) adding handling of new argument in compiler.

This would be super useful. But I'm not sure how it fits with current window semantics.
To implement it, we'd probably have to hack something up during resolution. Not the easiest.

Just a link to a book that compares this:
https://eitsupi.github.io/querying-with-prql/timeseries#sec-moving-ave

These are really great!!

Just a link to a book that compares this:
https://eitsupi.github.io/querying-with-prql/timeseries#sec-moving-ave

Very cool!
I also used an SMA like that in my presentations, as well as an EWMA which you can find in this Google Colab if you want to include that as well?
https://colab.research.google.com/drive/1asOWKjQbv6VWW9WjWR2Mer7PLmm0S0dT?usp=sharing

I think the request is for something similar to pandas' min_periods, is that correct?
To develop this, the first thing to do would be to write out the SQL that we'd want to generate. I think this can probably be done with another window function which counts the number of values that are non-null, which we then return NULL for when it's below the min_periods value.
(FWIW I remember writing something a bit like this here, though that's possibly more complicated than this case)

yes, min_period in pandas

For a window that is specified by an integer, min_periods will default to the size of the window.

while in SQL it is always 1.
The request is about adding an option for pandas default behavior.
The written SQL is in the first post, no need to count nulls there, just case row_number().

The written SQL is in the first post, no need to count nulls there, just case row_number().

Yes great, thanks.


Fix issue #65

Fix issue #65 and some enchancements

set is_active = True using createsuperuser
move send activation email function to utils
fix typo reciver  to receiver
enable email with html

This PR is ok for me. @CHIAHSINHOU please test this.

This PR is ok for me.

Fine with this PR except the comment

going to merge.


injectable searcher implementations

Hi!
First of all, kudos for the lib. It's awesome!!!
The current implementation of the neat.Experiment defines the searcher by the implementation instead of by the interface, so clients can not use their own implementations and, depending on the requirements of the experiment, that's a problem. In my case, I'm trying to evaluate all the phenomes of a given generation at once using the same evaluator.
it would be nice to also add an implementation of such searcher and evaluator to this awesome package.
Cheers!

Hey. Thanks for trying things out and for catching this. The intent is, as you say, to have neat.Experiment be interface driven so that you can use your own implementations. I see your pull request and will integrate it now.  (I should also fix the the forward.Translator -> interface, too).

wow, that was quick!
thxs


Auto Nebula build using build.sh

Right now, manual steps mentioned in dev.md, it's for Ubuntu 18.
Let's at least use build.sh to automate this supporting Ubuntu 18 only.

Thanks for fixed this!


[TRI-4146] Realtime: some run errors aren't parsed correctly

Run errors which don't have a message fail to parse and cause errors on the frontend:
This error happens when a run is cancelled:
"error": "{\"raw\": \"Task run was cancelled by user\", \"type\": \"STRING_ERROR\"}",

It results in this error (from Zod)

TRI-4146

This has been fixed in 3.3.5


Added demo

For easier testing/fixing

Don't close it yet. I'll do two more commits or so.

@polonel Could you review this commits and merge them into the repo? I forked this repo to make a fix for one issue and I found lacking a demo environment so I added it along with a Readme section.
Thank you!


Submit to WordPress Plugin Directory

Will be doing this today

Submitted initial request - currently pending review from WordPress

Woop woop! Now you too can have people wonder why your README is in .txt and not .md! :smile:

(Speaking of which — you submitted your README as .txt, right? ;))

Woop! https://wordpress.org/plugins/acf-to-wp-api/

:tada: :shipit: :boom: Congrats!

Yay :+1:


block scalars without indicator are parsed correctly

As far as I know block scalars require an indicator if it is folded (>) or literal (|) block, so this is valid:
key: >
    foo
    bar

and this should not be:
key:
    foo
    bar

js-yaml seems to parse the latter as correct: demo, and the same example in codebeautify validator.

I have no ideas about codebeautify. Other online parsers accept yous example without errors. Please, add reference to official spec, where indicators are said to be mandatory for text scalars, to reopen this issue.

@danadam  This is valid YAML.
See also:

Example 2.18 Multi-line Flow Scalars http://yaml.org/spec/1.2/spec.html
my article on strings in YAML: http://blogs.perl.org/users/tinita/2018/03/strings-in-yaml---to-quote-or-not-to-quote.html

Interesting. So in my case 4 results from the first page of google search results for "yaml online parser" have it wrong.


Stream Fix

Follow up to #79
@JoshuaWarejko Pull this before anything else gets pulled please 😄

@torch2424 SO I realized after I pulled that you said to wait until after demo, my bad dude :(
Just double checking, this one is good to pull?

Hahahahahaha!
No worries it's all good :) and yeah it is, I'll merge this one from my phone right now


Initial commit for Sensor example

Signed-off-by: Shubham Wadhwa<EMAIL_ADDRESS>

One last thing, where did you take down-arrow.png icon?

One last thing, where did you take down-arrow.png icon?

I'm using this icon in Accordion to show arrow icon for toggle


feat: support Vite v5

Before you would get the following error:
plugin 'vite-plugin-pug' uses deprecated 'transform' option. Use 'handler' option instead.

Hi @SubZtep, it would be great if you publish a new version with this PR merged. Thank you!

Thanks for the contribution, @felixranesberger. It looks good, and all the tests have passed. Also, thanks for the heads-up, @fedegratti — I missed the updates. The new version has been released.


Proposal description max length should match the max length set in the SDK

it would be nice if this matched the size from the SDK. but we can adjust later.
Originally posted by @jbibla in https://github.com/cosmos/voyager/pull/1807/review_comment/create

new length limits are:
MaxDescriptionLength = 5000
MaxTitleLength = 140


code conflicting

hi Jan.I have problem to the rasqberry automatic setup.https://github.com/JanLahmann/RasQberry The hat sense line is not activated when I do the automatic setups on this link. When I install it manually, I add it into the dtoverlay = rpi-sense config.txt file, then it work. I guess it throws a lot of things into the config file in auto setup and doesn't see or open because the files are conflicting

config-new.txt

Thank you for the feedback!
It should work when you do the normal setup with raspberry-config:
"Q23 Qiskit 0.23", then "S6 Config & Demos".
The other config items in the menu should not be run (don't run "S0 Bloch Autostart", "S1 Enable VNC", etc). Not sure if this will create an issue or not.
Then you can start the SenseHAT demos with "D2 Raspberry-Tie 5", "D3 Raspberry-Tie 16", or manually with
rasqberry

cd ~/qrasp
python main_controller.py

cd ~/quantum-raspberry-tie
python QuantumRaspberryTie.qiskit.py

I think I forgot to document one important step when using a SenseHAT:
Before booting the Raspberry with the fresh SD card, the "#" in following line in /boot/config.txt should be removed:
#hdmi_force_hotplug=1

thank you so much jan. I fixed this problem. but I think the codes in the repo are expired, I still couldn't run it (edited)

I resolved the problem. Qiskit works with version 0.20, but as I said with the run latest version 0.23, it's give an error. I think the codes need to be updated

Oh, yes, that could be.
I haven't tested the SenseHAT demos with Qiskit 0.23, but only with the older versions.
I'll check that.
Until then, Qiskit 0.20 or 0.19 seems to be needed for the SenseHat based demos (Qrasp, Raspberry-tie).
Thank you for identifying this issue and the workaround!

For raspberry-tie, the issue should be solved with the latest updates that repo (https://github.com/KPRoche/quantum-raspberry-tie).
Qrasp also works, if you only use the local simulator, i.e. move the joystick right/left/up/down, but do not push the joystick.
In addition, we've fixed our script for storing the IBM Quantum Experience Token, which was broken.


Can't add blog

Hi,
I can't add blog anymore. Is it also the case for some other people ?
Thank you in advance.

No issues here.


the border isnt align properly

As you can see, beside date 25. the border isnt align properly. any fix to it?
Terminal: kitty
Font: Operator Mono SSm Lig Book Nerd Font
OS: Fedora

I know this bug, usually, this is related to the fact that in your font some characters are not really monospace. In this case, I guess, the leaf icon is probably taken from backup font or something like that, so it takes up more space and shifts the whole line. Usually, Nerd fonts are good, but I am not familiar with this one. By chance, could you please check with another font?
In any case, it is not something I can fix in the program, but you can change this icon in the config file into something else, for example:
holiday_icon = •

I installed Kitty to check, it occurs even with my font (Noto Sans Nerd). So it seems it has something to do with how Kitty interprets certain characters. Maybe I should change default holiday icon in the future

I know this bug, usually, this is related to the fact that in your font some characters are not really monospace. In this case, I guess, the leaf icon is probably taken from backup font or something like that, so it takes up more space and shifts the whole line. Usually, Nerd fonts are good, but I am not familiar with this one. By chance, could you please check with another font?
In any case, it is not something I can fix in the program, but you can change this icon in the config file into something else, for example: holiday_icon = •

so this works 🤔

So hopefully it's just this one icon. If in future you have font troubles, you can just set use_unicode_icons = No to only use ascii symbols, that will make sure that everything is fine.

Thanks bud. Btw nice config :)

Thank you :)

The default holiday icon has been changed to ⛱ to fix this for all kitty users.

The default holiday icon has been changed to ⛱ to fix this for all kitty users.

Sorry the late reply. Thanks for the change! Been seeing lots of commits!! Lets go!


[Vulkan] Fix issues in GenerateMipmaps.

This PR fixes #346 and #347. Explanations for what causes these issues can be found in those issues.

Thanks for this fix. I've merged it in.


[$250] Web - Category - No hover effect for an already selected category

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: 1.4.60-1
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:

Create a collect workspace on OD and enable chat for newDot
Go to tags settings on OD for the collect workspace and add a few tags

Navigate to staging.new.expensify.com
Open workspace chat page
Start a manual IOU flow and select a category
Click on tag and select one
Click on category
Press the keyboard down arrow a few times to shift the focus
Hover over the selected category
Go back and click on tags
Press the keyboard down arrow a few times
Hover over the selected tag value

Expected Result:
There should be a hover effect visible for the selected category as is the case for the selected tag
Actual Result:
There is no hover effect for the selected category after the focus has shifted from it which is different from the behavior seen for the selected independent tag value
Workaround:
n/a
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/24fb1774-98cd-4585-a4bd-e3b00230842d
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0135176cb3aeb0eafc
Upwork Job ID:<PHONE_NUMBER>884154880
Last Price Increase: 2024-04-05

We think that this bug might be related to #wave-collect - Release 1

Proposal
Please re-state the problem that we are trying to solve in this issue.
There is no hover effect when hovering selected category.
What is the root cause of that problem?
The category picker page uses SelectionList. The BaseListItem won't show the hover effect if the item is selected.
https://github.com/Expensify/App/blob/51c039d6632d49cacf4334d88d8276e9c8509fec/src/components/SelectionList/BaseListItem.tsx#L62
That's why there is no hover effect on the selected item even after we move away the item focus.
What changes do you think we should make in order to solve the problem?

Instead of check whether the item is selected or not, we should check whether the item is focused or not.
hoverStyle={!item.isDisabled && !isFocused && styles.hoveredComponentBG}

or just remove the selected condition

Hi @jayeshmangwani! Looks like we have a few proposals already. Could you please review when you get a chance? Thanks!

Thanks for the proposals @bernhardoj @Krishna2323. I also feel we should remove the selected condition, but that was added in this PR and this commit intentionally,
For the output, let's confirm with the design team.

The existing behaviour for the list items is if the list item is selected, we will not show the default hover effect (theme.hoveredComponentBG). Instead, the list uses the passed background color;
For this issue, the proposal is to remove the condition isSelected from the ListItem. This will change the behaviour for the categories list, Tags list and Taxes list:
Right now, on the workspace categories page, when we select any category, it will show the background color to theme.activeComponentBG, and then hover over other list items and again hover over to the selected category is not change the background color.
After removing the isSelected conditions, the categories list's behaviour will be like this:
If the List item is selected, then the background color will be theme.activeComponentBG; if hovering  over the selected item, then the background color will be theme.hoverComponentBG
Adding videos below, before and after of this change:

It looks like this:
https://github.com/Expensify/App/assets/35371050/5a15b855-6c34-4aaa-b20b-9facb7c54899

After this change, it will look like this:
https://github.com/Expensify/App/assets/35371050/0594b874-53b9-4745-955b-a0c8c0d26aef

@shawnborton We will need your suggestions on whether we should remove the condition of the list selected.

@Krishna2323 I have checked your proposal, but I feel that we should remove the is selected condition. Let's wait for the design team, and if we don’t want to change the existing behaviour of the categories list, then we can go with other proposals.

I'm not super convinced that's a major problem, but if we were to solve it, I would just make sure even a selected row would get our rowHover background color when you hover over it

I agree with Shawn. Not totally convinced it's a problem, but agree with this solution if we deem we should change it.
Also, why does the keyboard highlight use the "selected" color state instead of just the "hover" color state?

Also, why does the keyboard highlight use the "selected" color state instead of just the "hover" color state?

@dannymcclain I'm not sure why it was added, but I am tagging the @luacmartins  and @burczu as this is coming from this PR and  In that PR, we are setting it not to show the hover background color if the list item is selected.

We assumed that was the expected behavior. Happy to change it if we decide to show the hover effect on a selected item.

@luacmartins Then we can go with the @bernhardoj's proposal of remove the selected condition
🎀 👀 🎀 C+ reviewed

It seems like we're still discussing if this is a problem or not. Waiting on @Expensify/design's decision here.

I guess the problem I see with giving a selected row a hover style is that you are kind of already hovering over the row when you go to select it... so I have no idea how that would work - do you instantly get the selected BG color when it's selected, but as soon as the mouse moves we change the BG color?
So that leads me to think we should just leave this one alone, and not add any hover BG colors to select rows. Thoughts @Expensify/design ?

So that leads me to think we should just leave this one alone, and not add any hover BG colors to selected rows.

I am totally down to leave it alone.

Ok, so it sounds like we can just close this issue then?

I actually think hover on selected item also might looking a bit odd. But yeah, I'm with the designers on this

However, the issue arises when there is no hover style applied to an item that doesn't have any background and is selectable.

Yup, that makes sense. I'd be down to fix that particular case.

I'm fine with fixing that case too, but I don't feel too strongly.

I actually think what we have here is working well. If there's already a background on a selected item, then don't do a hover style. If there isn't one, then use it. So I'm okay with this

Okay cool, sounds like design team agrees: let's move forward with @Krishna2323's idea here. @Krishna2323 - you might need to update your proposal to recapture the problem statement and solution though.

Commenting to remove overdue since this one is still moving.

@Krishna2323's proposal will work if we have to add a hover effect to only those selected list items that have no background color. @luacmartins , if we agree on this, then we can proceed with the proposal.

Easily done! :)


Preset configuration does not work

Describe The Bug:
Configured preset not found although it is existing on the controller
To Reproduce:
Create at least three presets with IDs 1,2 and 3 on the controller. Delete preset with ID 2. Configure the plugin with the according preset names and restart it. Preset with ID 3 will be displayed as not supported.
Expected behavior:
All configured presets shall be found.
Logs:
[2/19/2024, 9:50:48 PM] [homebridge-wled-ws] Configured preset(s) [ 'Preser3' ] not supported by controller Garagenlicht

Environment:

Plugin Version: 0.0.8-beta.2
Homebridge Version: 1.7.0
Node.js Version: 18.19.0

Fixed in 0.0.8-beta.3


Setting/getting cookies

Hi!
Is it possible to manage cookies from jets? Can't find any mention of cookies or sessions in the code.
By the way, awesome project!

Good question. Unsure. Will dig into this. Should be possible since cookies work via headers and Jets uses the AWS lambda proxy integration which passes all the headers through. Will test 😄
And thanks for the kind words 🎊

I've tried  headers["Set-Cookie"] = "foo=bar" but it seems like headers[]= doesn't affect response headers.

Awesome 🎊 Thanks for testing and the debugging info. Will dig into adding support. 👍

I've managed to set headers by explicitly calling render with :headers argument.
My guess that it happens because headers are set from @options ivar.
https://github.com/tongueroo/jets/blob/d170d64939219a0e1ab9cee34d91fc1b11e516aa/lib/jets/controller/renderers/aws_proxy_renderer.rb#L23

Nice workaround! Also added support with PR #31 The syntax looks something like this:
  def index
    response.headers["Set-Cookie"] = "foo=bar"
    response.set_header("Custom", "MyHeader") # also works
  end

Based the syntax on: https://iridakos.com/how-to/2018/03/27/custom-http-headers.html
On slow airplane wifi right now 🛩  Once I get to the hotel will test a little more and it'll be in the next release 😁
Thanks so much for reporting and the debugging info.

Was able to test with the slow wifi 😁 Using Cloud9 on airplane wifi is pretty trippy.  Released the fix for this in PR #31 as well as your PR #30 X-Runtime improvement in v0.8.14

CHANGELOG.md
Also started a Jets FAQ

Thanks again so much for reporting and helping.

@y8 FYI Released version 1.1.0 CHANGELOG. In it, there's an cookies helper that makes it easier to set cookies Docs: http://rubyonjets.com/docs/cookies/