<EMAIL_ADDRESS>fails to install on windows 7 for atom 0.184.0

I am unable to install atom-beautify for ATOM through apm on windows 7
I tried the fix on this page of stack overflow http://stackoverflow.com/questions/28216987/impossible-to-install-atom-beautify-on-windows-7-64bit-machine-with-apm
I get this error:
npm ERR! git clone https://github.com/ariya/esprima.git Cloning into bare repository 'C:\Users\durquhart.atom.apm_git-remotes\https-github-com-ariya-esprima-git-1bd370f9'...
npm ERR! git clone https://github.com/ariya/esprima.git
npm ERR! git clone https://github.com/ariya/esprima.git cygwin warning:
npm ERR! git clone https://github.com/ariya/esprima.git   MS-DOS style path detected: C:\Users\durquhart.atom.apm_git-remotes\https-github-com-ariya-esprima-git-1bd370f9
npm ERR! git clone https://github.com/ariya/esprima.git   Preferred POSIX equivalent is: /cygdrive/c/Users/durquhart/.atom/.apm/_git-remotes/https-github-com-ariya-esprima-git-1bd370f9
npm ERR! git clone https://github.com/ariya/esprima.git   CYGWIN environment variable option "nodosfilewarning" turns off this warning.
npm ERR! git clone https://github.com/ariya/esprima.git   Consult the user's guide for more details about POSIX paths:
npm ERR! git clone https://github.com/ariya/esprima.git http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
npm ERR! git clone https://github.com/ariya/esprima.git error: error setting certificate verify locations:
npm ERR! git clone https://github.com/ariya/esprima.git   CAfile: /usr/ssl/certs/ca-bundle.crt
npm ERR! git clone https://github.com/ariya/esprima.git   CApath: none while accessing https://github.com/ariya/esprima.git/info/refs
npm ERR! git clone https://github.com/ariya/esprima.git fatal: HTTP request failed
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Users\durquhart\AppData\Local\atom\app-0.184.0\resources\app\apm\bin\\node.exe" "C:\Users\durquhart\AppData\Local\atom\app-0.184.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\durquhart\.atom\.apm\.apmrc" "--userconfig" "C:\Users\durquhart\.atom\.apmrc" "install" "C:\Users\DURQUH~1\AppData\Local\Temp\d-11523-4488-p6szww\package.tgz" "--target=0.21.0" "--arch=ia32" "--msvs_version=2013"
npm ERR! node v0.10.35
npm ERR! npm  v2.5.1
npm ERR! code 128
npm ERR! Command failed: cygwin warning:
npm ERR!   MS-DOS style path detected: C:\Users\durquhart.atom.apm_git-remotes\https-github-com-ariya-esprima-git-1bd370f9
npm ERR!   Preferred POSIX equivalent is: /cygdrive/c/Users/durquhart/.atom/.apm/_git-remotes/https-github-com-ariya-esprima-git-1bd370f9
npm ERR!   CYGWIN environment variable option "nodosfilewarning" turns off this warning.
npm ERR!   Consult the user's guide for more details about POSIX paths:
npm ERR!     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
npm ERR! error: error setting certificate verify locations:
npm ERR!   CAfile: /usr/ssl/certs/ca-bundle.crt
npm ERR!   CApath: none while accessing https://github.com/ariya/esprima.git/info/refs
npm ERR! fatal: HTTP request failed
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     http://github.com/npm/npm/issues
If i try to cloning github.com/ariya/esprima.git repository normally in windows it works just fine
I have been able to install other atom packages like emmett-atom and jshint

If i try to cloning github.com/ariya/esprima.git repository normally in windows it works just fine

Sounds like #204 . Hopefully they have something there for you. There are a lot of users having the same issues unfortunately.


Update kmeans neighborhood notebook take 2

What is the purpose of this PR?
Update and clean-up the k-means neighborhood notebook.
How did you implement your changes

Fixed a bug where the wrong cell phenotypes were being counted due to fovs missing certain cell phenotypes.
The old notebook required the cell table to include both a column that specified a numeric id for each cell phenotype, and a column that had the cell phenotypes. I simplified this to only require the column with the cell phenotypes. Specifically, in create_neighborhood_matrix, removed cluster_id_col, which was redundant with cluster_name_col.
Set default of self_neighbor to False, so a cell is not counting itself as its neighbor.
Set cluster numbers to start at 1. Previously was starting at 0, which is confusing because in cell overlays, 0 usually corresponds to empty slide.
Add inertia as a metric.
Subsample cells for silhouette score calculation.
Remove cells that have no neighbors before clustering.
Scaled (z-scored) the heatmaps, which makes them more interpretable.
Added heatmap that shows the composition of each neighborhood (basically the average feature vector for each cluster).
Fixed overlay generation function so correct legend is shown.
Added subheadings and more descriptive text to notebook.

Remaining issues

Need to talk about whether to delete the part of the spatial LDA notebook that does kmeans

@ngreenwald wtf

Addressed all comments. @ngreenwald @ackagel anything to add?


Common assets/images not showing in the non-default site locale.

Hi,
I'm trying to translate my documentation site (MkDocs Material) from my native language CZ-cs (default=true) into EN using i18n.
After few days of testing and trying different settings I partially made it. But there is one (maybe more) catch. The EN site does not load some images.
The project repo is public here.
I use mkdocs serve command to run the docs at local <IP_ADDRESS>/8000.
For example, when I navigate to
http://<IP_ADDRESS>:8000/tgmanGH/en/Manual/CZ/TGZ/TGZ-D-48-13/md/description/
The server fails to load some image from the common dir:

whereas after switching to the default (CZ) locale it shows OK:

The same problem is with some .md files that I include as snippets. It just doesn't load even in default locale:

The common files that are missing are located at /docs/Manual/source folder within /img/ and /md/ subfolders
Some MD files are not common within locales but within different products (TGZ-xx-yy/zz) so it is also in the /source/ subfolder.
Can anyone help how to solve this issue please. I've given it hours of trying and searching but with no luck. I even tried go through -v (verbose) output of mkdocs log but I'm not an expert and couldn't spot the problem there.
Thank you!
Vaclav

Hello @TGD-HW,
you're using HTML img tags in your Markdown files:

https://github.com/TGD-HW/TGi18n/blob/06e4fa51d67e4082af9ae20552128055810f235a/docs/Manual/CZ/TGZ/TGZ-D-48-13/md/description.md?plain=1#L18

<img src="../../../../../source/img/TGZ-D-48-13_26_enetCon.png" alt="ENET/ECAT/LogicPWR connectors" style="width:50%;">

Those tags are constant, they're not being processed by MkDocs, just copied over, and in turn they're not being processed by the mkdocs-static-i18n plugin to take the added lang prefix (in your case /en/) into consideration.

There are multiple ways to solve it:

Use the recommended Markdown way to include images together with attr_list:
https://python-markdown.github.io/extensions/attr_list/
![alt_title_text](../../../path_to_the_file_in_the_filesystem.png){: style="width: 50%;" }

this should be converted into the correct path depending on the language.

Add a hook to your MkDocs project that at the end of a specific language build would copy the files from the /Manual/source/img/ directory to the /en/Manual/soruce/img/ directory of the built site. Someone could argue this should be the default behaviour of the plugin, I even think there was such a thing in the 0.56 version of the plugin, but currently the plugin tries to limit the amount of duplication of files via this approach where assets are only stored once under the default language path.
https://www.mkdocs.org/user-guide/configuration/#hooks

Add a hook to your MkDocs project that would modify the <img> paths on-the-fly. Probably would add too much processing time, so can't really recommend it.

As for the snippets example, which doesn't work:
https://github.com/TGD-HW/TGi18n/blob/06e4fa51d67e4082af9ae20552128055810f235a/docs/Manual/CZ/TGZ/TGZ-D-48-13/md/mark.md
--8<-- "CZ/md/marking.md"

You have defined those base paths:
 - pymdownx.snippets:
      base_path:
        - docs/Manual/source
        - docs/Manual/CZ/TGZ/
        - docs/Manual/CZ/TGS/
        - docs/Manual/CZ/TGM/
        - docs/Manual/CZ/ETC/
        - docs/Manual/CZ/SW/

and no file exists with this path:
        - docs/Manual/source/CZ/md/marking.md
        - docs/Manual/CZ/TGZ/CZ/md/marking.md
        - docs/Manual/CZ/TGS/CZ/md/marking.md
        - docs/Manual/CZ/TGM/CZ/md/marking.md
        - docs/Manual/CZ/ETC/CZ/md/marking.md
        - docs/Manual/CZ/SW/CZ/md/marking.md

therefore the snippets doesn't load.

Also the docs/Manual/source path doesn't have the / at the end, it likely doesn't matter, but it's worth pointing out.

Also be aware that Snippets aren't MkDocs-aware, all base_paths are relative to your current working directory / pwd, so where you run the mkdocs build command, they won't work if do something like mkdocs build --config-file my_configs/mkdocs.yml

Hi @kamilkrzyskow ,
Thanks for your quick response.
As for the snippets I forgot to change the link in for the snippet while changing the folder structure so it makes sense and works nicely.
However I still can't make the plugin load the images correctly. I would like to do it the correct way, i.e. use the attr_list.
I tested it on TGZ-D-48-13
![ENET/ECAT/LogicPWR connectors](../../../../../source/img/TGZ-D-48-13_26_enetCon.png){: style="width: 50%;" }

Removed the direct html  tag in both CZ and EN version, the the image still fails to load in the EN version:

Any ideas here?
Thanks

There is clearly a warning in the build:
WARNING -  Doc file 'Manual/CZ/TGZ/TGZ-D-48-13/md/description.md' contains a link
           '../../../../../source/img/TGZ-D-48-13_26_enetCon.png', but the target
           'source/img/TGZ-D-48-13_26_enetCon.png' is not found among documentation files. Did you mean
           '../../../../source/img/TGZ-D-48-13_26_enetCon.png'?

WARNING -  Doc file 'Manual/CZ/TGZ/TGZ-D-48-13/md/description.en.md' contains a link
           '../../../../../source/img/1940760000.svg', but the target 'source/img/1940760000.svg' is not
           found among documentation files.

the first warning gives a hint that you added too much ../, you can't just copy-paste the path from the img, you have to adjust it to use the filesystem path, but in general removing 1 ../ should be enough.
I hope you're using some semi-automated generator for this structure, because otherwise it's not great to work in.
You're using the fallback_to_default setting, so you don't have to define a .en.md file if the contents are the same as the original ❗ Same for assets and images, you don't have to copy every file with a .en.png suffix.
I'm not sure how well established your brand is, how many backlinks, how many google indexed pages you have.
If it's not a lot then I would recommend cleaning up the structure a bit.
For example this link:

/tgmanGH/en/Manual/CZ/TGZ/TGZ-D-48-13/md/description/
I'm assuming that CZ stands for Czech language and the md is the part for the md directory, I would move the files out of this structure into:

/tgmanGH/en/Manual/TGZ/TGZ-D-48-13/description/

Your main goal for now should be clearing up all of the WARNINGS.
Try using the https://www.mkdocs.org/user-guide/configuration/#not_in_nav option, but I'm not sure if it's compatible and respected by the i18n plugin.
Read up on the validation aspect too:

https://www.mkdocs.org/user-guide/configuration/#validation
there is the absolute_links: relative_to_docs setting, but I don't know if it's compatible and respected by the i18n plugin.

I made a quick PR here:

https://github.com/TGD-HW/tgmanGH/pull/2

Hello,
Thank you for your support. The ../ removal was not that straightforward because it caused some errors, however I managed to remove the path errors.
It seems to work ok now. Thanks a lot!
Best regards
Vaclav


Reports search functionality might be misdocumented

In the reporting-guide, it's stated that the search options for filtering reports are:

itemId - A single ID to include in the report
itemIds - A list of itemIds to include in the report (shown in the example)
excludeItemIds - A list of itemIds to exclude in the report
clause - A search clause to use when filtering dimensions
includeSearchTotal - Includes a special element called 'searchTotals' in the response that contains the total of the filtered items. The default is false.

See here:
https://github.com/AdobeDocs/analytics-2.0-apis/blame/master/reporting-guide.md#L609
Nonetheless, in SwaggerUI (https://adobedocs.github.io/analytics-2.0-apis/) model list, ReportSearch is defined follows:

clause
string

excludeItemIds
[...]

itemIds
[...]

includeSearchTotal
boolean

empty
boolean

itemId is completely missing.
When using itemId as a search parameter when querying the API, for example:
"search": {
    "itemId": 123456
}

The search option its ignored altogether.
What's the expected behavior?

Hi @ppmdo, thank you for bringing this to our attention. You are correct, itemId is not a supported search parameter. I will update our documentation.


Add Unix Sockets & Multiple Listening Ports

Adds UnixSocket, UnixConnection, UnixServerConnConfig
Changes ConnServer to take a vector of configs, each representing a path/socket to listen on for connections
Adds test for Unix sockets, listening on both tcp+tls and on unix.

Closed due to inactivity.


Ensure support for Python 3.11/3.12

Hello @jkbrzt,
Thank you for this awesome tool! 🙇🏻♂
I believe it would be nice to have supported Python versions listed explicitly, so I'd like to suggest changes that:

enable testing for Python 3.11/3.12 on CI
update classifiers at setup.py

Best regards!

Codecov Report
Attention: 315 lines in your changes are missing coverage. Please review.

Comparison is base (4d7d6b6) 97.28% compared to head (946ad3a) 94.26%.
Report is 360 commits behind head on master.

Files
Patch %
Lines

httpie/output/ui/rich_help.py
52.88%
49 Missing :warning:

httpie/compat.py
36.73%
31 Missing :warning:

httpie/manager/tasks/plugins.py
79.73%
31 Missing :warning:

httpie/internal/daemons.py
48.27%
30 Missing :warning:

httpie/output/ui/rich_utils.py
0.00%
18 Missing :warning:

httpie/output/ui/man_pages.py
0.00%
16 Missing :warning:

httpie/output/ui/rich_progress.py
75.80%
15 Missing :warning:

httpie/manager/compat.py
62.85%
13 Missing :warning:

httpie/cli/argparser.py
89.02%
9 Missing :warning:

httpie/output/ui/palette.py
87.50%
9 Missing :warning:

... and 32 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1540      +/-   ##
==========================================
- Coverage   97.28%   94.26%   -3.02%
==========================================
  Files          67      113      +46
  Lines        4235     7695    +3460
==========================================
+ Hits         4120     7254    +3134
- Misses        115      441     +326

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks, @Jamim!


Add AssertNothrow

According to Readme support for checking if the code throws is already there, but checking if the code didn't throw is also very useful, so here's how I resolved it.
However, having that functionality built-in would be very nice as well.

Any updates on this?

I'm not sure I see the use for this. If code under test throws an unexpected exception, that's automatically a failed test.
Why do we need a specific assert for this?

First of all, as we all know, explicit is better than implicit, but this also expresses intent much better.

Adding my 2 cents to this 4 year old issue: I also don't see a use for this. One usually tests for specific behavior (including exception handling) of a class or method, not the absence of behavior. Yes, explicit is better than implicit, but I do not see a point in saying "I want to explicitly state that no exception is thrown". I am closing this issue now.


Migrate examples to ES6 classes

@wehriam I'm looking to use this framework, but to make it production ready for my use case, I'll need to tweak it in some ways, one of which is transporting ES6 version of same. which is probably the the first thing I'll take up for this. You want me to keep any other things in mind to ship an ES6 version of this? Thanks.


MAINT: stats: avoid spurious warnings in lognorm.pdf(0, s)

addresses a small part of gh-5202

Thanks, merged!


Initial commit for the North plugin to HarperDB

This plugin will push data from a resource to a related table on your designated instance of HarperDB.
On initial start the plugin will create a schema based on the schema set in the configuration.
For each source from readings or statistics a new related table will be created and data will be pushed to that HarperDB table.

Thank you for contributing this north plugin to Fledge and welcome to the Fledge community.


Fix Innkeeper secret mapping for tenant ui in helm charts

Helm values to pull secrets were never updated when we changed Innkeeper structure. Update Tenant UI charts to get the right values so we can log in with OIDC in deployed environments.

Merged PR and cut releases to deploy through test and int. Needed to deploy to an env where the innkeeper values were not default stuff to test things out. Working in those envs now.


Ranga images

Assignee Tasks

[ ] added unit tests (or none needed)
[ ] written relevant docs (or none needed)
[ ] referenced any relevant issues (or none exist)

Guidelines
Please add a description of this Pull Request's motivation, scope, outstanding issues or potential alternatives, reasoning behind the current solution, and any other relevant information for posterity.

Your PR Notes Here

Downloaded images from nerdAssets site....


fix: multiassets schema wasn't properly mapped

Description
After reviewing serialization-lib multiassets impl I relized MA mapping wasn't properly done in #278
Proposed Solution

TransactionOutput contains, in it's metadata an array of MultiAssets (aka token bundle)
Each MultiAsset contains he policyId and the list of assets it contains.

Important Changes Introduced
API changed thi affecting #268
Testing
n/a

TransactionOutput contains, in it's metadata an array of MultiAssets (aka token bundle)

https://github.com/Emurgo/cardano-serialization-lib/pull/108#issuecomment-760664972

TransactionOutput contains, in it's metadata an array of MultiAssets (aka token bundle)

https://github.com/Emurgo/cardano-serialization-lib/pull/108#issuecomment-760664972

I'm mergin this as it's blockign the team. if any changes them can be addressed later.

I'm mergin this as it's blockign the team. if any changes them can be addressed later.


Investigate dask dataframe deprecation warning

Bug report
There's a warning popping up in unit tests (and potentially for our users as well) that dask's dataframe implementation is being deprecated.
/src/lsdb/catalog/catalog.py:6: DeprecationWarning: The current Dask DataFrame implementation is deprecated.
  In a future release, Dask DataFrame will use new implementation that
  contains several improvements including a logical query planning.
  The user-facing DataFrame API will remain unchanged.

  The new implementation is already available and can be enabled by
  installing the dask-expr library:

      $ pip install dask-expr

  and turning the query planning option on:

      >>> import dask
      >>> dask.config.set({'dataframe.query-planning': True})
      >>> import dask.dataframe as dd

  API documentation for the new implementation is available at
  https://docs.dask.org/en/stable/dask-expr-api.html

  Any feedback can be reported on the Dask issue tracker
  https://github.com/dask/dask/issues

    import dask.dataframe as dd

Let's figure out how much this impacts us, and try to get ahead of it. It might be nothing!

@dougbrn is following the implications of this transition (in TAPE land) at https://github.com/lincc-frameworks/tape/issues/382

I'm reopening this since due to performance issues with dask expressions and delayed we're still using the legacy DataFrames which is deprecated. We need to wither wait for dask expressions to better support delayed, or rewrite our code to no longer use delayed.

Blocked by https://github.com/dask/dask-expr/issues/777 and the ticket soon to be filled.

Delayed issues is not going to be solved by DASK people on its own.
Either we have to move away from it or investigate if we can solve it in the DASK land.

Closed in #364


src/vcf/main.cpp:98:21: error: cannot convert ‘std::basic_istream::__istream_type {aka std::basic_istream}’

http://ix.io/l0w

Thanks for reporting. The most probable reason seems to be that GCC 5.0 now (correctly) reports this as an error, but previous versions didn't: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66365
I use GCC 4.8, so unfortunately didn't catch it. Could you please confirm your compiler version? Thanks!

gcc (GCC) 5.2.0

It should be fixed now in the "develop" branch. Could you please try to compile it again?


Problem with auto-complete in Edit-Dataset Modal-Window

When editing a Dataset existing values for 'Keywords', 'Proposal', 'Technique', 'Instrument' are not taken into account, but they should be...

Did it!

In the brunch 21-crud-for-schema-keys

Partially done, does not work with new backend.


Part number for power jack connector

Can you provide the part number and specs for the barrel connector used with the power jack.

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

ID: a69b3704-f4a2-cd9d-6125-5b3eb50bd351
Version Independent ID: a0b9cae2-0c73-7350-d0b1-fb7f4408388d
Content: Azure Kinect DK hardware specification
Content Source: articles/kinect-dk/hardware-specification.md
Product: kinect-dk
GitHub Login: @tesych
Microsoft Alias: tesych

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

@carlmill Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@carlmill, Thank you for your question. Please take a look at GitHub issue that relates to your question.

@carlmill Closing this issue since it is a duplicate of the one on the Sensor SDK repo

@tesych @Alberto-Vega This needs to be reopened. The sensor SDK repro issue didn't cover updating the docs.

Thanks @wes-b. I have assigned this issue to @tesych to update the doc accordingly.

I updated the Hardware Spec article with additional changes about power cable.

Thanks @wes-b for pointing it out and now the Hardware Spec is updated and live.
@asergaz please close this issue if there's no additional issues.

@Alberto-Vega can you please close this issue. Thanks!

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Action time negative number

Description
Action time negative number
Gitea Version
1.21.7 built with GNU Make 4.4.1, go1.21.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots

Git Version
2.40.1, Wire Protocol Version 2 Enabled
Operating System
Ubuntu
How are you running Gitea?
docker-compose up

docker-compose.yml
version: "3"

networks:
  gitea:
    driver: bridge

services:
  server:
    image: gitea/gitea:latest
    container_name: gitea
    environment:
      - USER_UID=1000
      - USER_GID=1000
      - GITEA__database__DB_TYPE=mysql
      - GITEA__database__HOST=db:3306
      - GITEA__database__NAME=gitea
      - GITEA__database__USER=gitea
      - GITEA__database__PASSWD=gitea
    restart: always
    networks:
        gitea:
            ipv4_address: <IP_ADDRESS>
    volumes:
      - ./gitea:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      #- "3000:3000"
      - "222:22"
    depends_on:
      - db

  db:
    image: mysql:8
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=gitea
      - MYSQL_USER=gitea
      - MYSQL_PASSWORD=gitea
      - MYSQL_DATABASE=gitea
    networks:
        gitea:
            ipv4_address: <IP_ADDRESS>
    volumes:
      - ./mysql:/var/lib/mysql

Database
MySQL/MariaDB

Check Server's time which runs the act_runner

Could you please upgrade Gitea to the latest version and see if there are any new Actions runs with a negative duration?

Please upgrade your instance. A related issue (maybe): #28323


built-in-roles page has incorrect info for "Backup Contributor"

https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#backup-contributor
The description for this role states: "Lets you manage backup service, but can't create vaults and give access to others" . However, the role itself actually includes 'Microsoft.RecoveryServices/Vaults/write' which has the description 'Create Vault operation creates an Azure resource of type 'vault''

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

ID: 99581afb-7950-6daa-7227-055d04446b7e
Version Independent ID: f1a5bf89-9e54-aede-3a9a-70788a95927b
Content: Azure built-in roles - Azure RBAC
Content Source: articles/role-based-access-control/built-in-roles.md
Service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

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

Hi @cdiskan
Thanks for your feedback. The descriptions in the docs are from the Azure portal. I have sent your feedback to the team to review.
thanks

Hi @cdiskan Thanks for the feedback. @rolyon as go ahead and create an internal bug tracking work item and close this GitHub issue, but feel free to comment here as necessary.


fix: closing greedy nav on tab out if there are no header links

Fixes: Greedy Nav doesn't close when tabbing out if no header links are present NP-1755

I have tried to add testing scripts as follows:
 it('tabbing out of the dropdown menu automatically closes it', ()=>{
    tabIntoNavigation();
    assertNavigationOpen();
    cy.get('.cads-greedy-nav__dropdown').findByText('Sign in').focus().tab();
    assertNavigationClosed();
  });

When tabbing in a browser the dropdown closes when the last item is reached, however in Cypress the dropdown doesn't close as expected. This may be related to the fact that Cypress doesn't support tabbing and we are testing it using an experimental plugin.


Up-to-date List of "Azure DevOps extensibility points"?

Good afternoon,
my team and I are starting with a new, larger extensibility project on top of Azure DevOps Server & -Services, yet we are missing an up-to-date / any documentation of the Targets that used to be listed on the "Azure DevOps extensibility points" page.
The page still exists as an unmaintained / previous version document at https://docs.microsoft.com/en-us/previous-versions/azure/devops/extend/reference/targets/overview#targetable-hub-groups but where is the corresponding document today? I cannot find -anything- in this repo anymore (granted, looking at an older fork I can see it was there once).. but is no longer there and there is no current alternative to it.
How are we supposed to find out where our contributions can go / be targeted towards and where is the list of the current IDs and all that is needed?
Thanks!

@joergbattermann Thanks for your question. While we look into to the documentation, consider these resources:

Azure DevOps Services
Azure DevOps Support Bot
Azure DevOps on Stack Overflow

Hi @TimShererWithAquent, unfortunately none of these links (including StackOverflow) provide any meaningful information that I inquired about / was once there and is gone on MS Docs now .. so I'll (have to) wait and see what the response is re: crucial documentation for official extensibility functionality missing. Thanks however!

This article has been updated: Extensibility points. Please @mention me if you have more feedback. Thanks so much!

Thank you very much @chcomley .. at first glance everything I was looking for back then is here now. Very much appreciated!


Problem in converting tensorflow model to onnx

When running the code to convert tf to onnx.
below is the error:
graph_pb2 is not defined.
is there any specific tf version to be used?, i'm using the latest 1.12.0.

Hi @vinayak618, do you also have the latest version of WinMLTools installed? That would be version 1.3.0.

Hi @vinayak618, since we haven't heard from you in a while, I'm closing out this issue. Feel free to re-open it if you're still having trouble and you have more information to give us.


Single inference script

Is there any documentation or instructions for using the code in this repo for single inference step?

I'm not sure what you mean exactly by "single inference step". Could you elaborate?

Hello @Khrylx  I want to convert my pth model to onnx model.
The standard tutorial for pytorch2onnx does not work, because the agentformer.py has inference() function along with forward() function and there are different modes for inference function.
I am trying to follow this tutorial https://docs.marklogic.com/guide/app-dev/PyTorch right now
I would really appreciate any kind of help from you or the community to guide me on this path. I am confused on what exactly needs to be done so even a list of steps in sequence would help me. Please suggest.
Thank you

Hello @Khrylx, I had a similar question. But I asked it as a separate issue. What is the significance of the recon_motion_3D? And how come the FutureEncoder is used at test time?
Best regards,
Nikhil


implemented missing news function

Coverage increased (+2.3%) to 78.214% when pulling 2f2e083341bad417dd48fa76f77c96c9366248da on ljbergmann:master into a975d3b713ba4920c09cb84df1e4457a79ae0d32 on Alpha-Trader:master.

Coverage decreased (-1.4%) to 74.559% when pulling 401965e3e1afb30ccb11aba79f6560c1068be295 on ljbergmann:master into a975d3b713ba4920c09cb84df1e4457a79ae0d32 on Alpha-Trader:master.


SE is not working properly after 4th layer

Hello,
SE layer is working fine after 1st, 2nd and 3rd layers.
However, when I apply it after 4th layer my test accuracy is lower than usual(about 2%). My train percentage is getting started from lower value.
I could not find the reason.
If i could explain and if you understand the question, what do you think about this issue?
Do you have any explanation?
Thank you

Could you give more details about your problem, e.g. network architecture, task?

Thank you fast reply.
Model architecture : ResNext-101, HMDB51 dataset
I am using SE module for 3D CNN action recognition to detect human actions from videos
https://github.com/craston/MARS (code which i am trying to implement)
As i mentioned SE is not working fine only after 4th layer, in all other cases it is working fine
In case of SE after 4th layer my result is lower.
Problem i got is below:
This val_epoch resulst are in normal case:
Val_Epoch: [1][1/47]	Time 2.534 (2.534)	Data 2.093 (2.093)	Loss 3.7578 (3.7578)	Acc 0.094 (0.094)
Val_Epoch: [1][2/47]	Time 0.457 (1.495)	Data 0.000 (1.047)	Loss 3.6949 (3.7263)	Acc 0.125 (0.109)
Val_Epoch: [1][3/47]	Time 0.442 (1.144)	Data 0.000 (0.698)	Loss 3.7885 (3.7471)	Acc 0.062 (0.094)
Val_Epoch: [1][4/47]	Time 0.442 (0.968)	Data 0.000 (0.523)	Loss 3.6572 (3.7246)	Acc 0.250 (0.133)
Val_Epoch: [1][5/47]	Time 0.554 (0.886)	Data 0.117 (0.442)	Loss 3.7682 (3.7333)	Acc 0.094
SE after 4th layer:
Val_Epoch: [1][1/47]	Time 2.436 (2.436)	Data 1.991 (1.991)	Loss 3.8625 (3.8625)	Acc 0.031 (0.031)
Val_Epoch: [1][2/47]	Time 0.444 (1.440)	Data 0.000 (0.995)	Loss 3.8611 (3.8618)	Acc 0.062 (0.047)
Val_Epoch: [1][3/47]	Time 0.443 (1.108)	Data 0.000 (0.664)	Loss 3.8732 (3.8656)	Acc 0.094 (0.062)
Val_Epoch: [1][4/47]	Time 0.454 (0.944)	Data 0.000 (0.498)	Loss 3.8900 (3.8717)	Acc 0.094 (0.070)
Val_Epoch: [1][5/47]	Time 0.449 (0.845)	Data 0.001 (0.398)	Loss 3.8738 (3.8721)	Acc 0.031 (0.062)
Val_Epoch: [1][6/47]	Time 0.460 (0.781)	Data 0.000 (0.332)	Loss 3.9112 (3.8786)	Acc 0.031 (0.057)
As you can see in 2nd case val_epoch value is lower than 1st case.
However, in case of https://github.com/kenshohara/3D-ResNets-PyTorch (the same with 1st code) SE worked fine even after 4th layer, in spite of the ResNext-101 model is the same.
I could not find the reason from the code.
I am not understanding how this could possible.


Add automatic routing setup for macOS

This PR updates the weep setup command to support installation of ifconfig and pf configurations to route the EC2 IMDS IP (<IP_ADDRESS>) to Weep on macOS.
This could be super sketchy, so by default, the command will print a script that can be used to write the files. That workflow looks like this:
weep setup > setup.sh
cat setup.sh  # trust no one, always inspect
chmod u+x setup.sh
./setup.sh

Another approach would be to pipe the output to your shell:
weep setup  # inspect the output here
weep setup | sudo sh

Example of the output when running the script version:
❯ weep setup | sudo sh
backing up and overwriting /etc/pf.anchors/redirection... done
backing up and overwriting /etc/pf.conf... done
backing up and overwriting /Library/LaunchDaemons/com.user.pfctl.plist... done
backing up and overwriting /Library/LaunchDaemons/com.user.lo0-loopback.plist... done
reloading /Library/LaunchDaemons/com.user.pfctl.plist... done
reloading /Library/LaunchDaemons/com.user.lo0-loopback.plist... done

Optionally, users can run weep setup --write with elevated permissions:
sudo weep setup --write

To do:

[x] Set port in installed files based on configuration
[x] ~Validate sudo -s eval $(weep setup) workflow~ Switched to pipe to sh
[x] Make backup copies of files that get stomped on

Fixes #66

Thanks for the feedback @jaydhulia! Just pushed a refactor of the workflow. Now there are two distinct paths for commit vs script as opposed to keying off of the bool inline. Let me know what you think.


Temporarily pin toolchain version to avoid clippy

Temporarily pin toolchain version until problems reported by newer clippy release are solved.

Workaround for https://github.com/apache/datafusion/issues/13597

cc @Dandandan @alamb let's maybe merge this in, since the PR builds already started to fail -- https://github.com/apache/datafusion/pull/13595#issuecomment-2506686762

thanks for the merge!


bug/feature: Arbitrary limit for MaxNestedLevels prevents interoperability with other languages

What version of fxamacker/cbor are you using?
v.2.4.0
Does this issue reproduce with the latest release?
Yes
I have a data structure encoded with serde_cbor from Rust. It's a sparse tree-like object that is a known, but large depth (about 600 levels). I completely understand the rationale behind MaxNestedLevels, and the default being 32 seems sane to me. But why, if I am going out of my way to pick a higher maximum in my decoding options, am I limited to 256 as the max? It means I can't decode this known-good, signed data structure. It's also a limit that is seemingly not common in other cbor libraries which needlessly prevents interoperability. Can we remove/increase this maximum and instead put a sentence in the documentation about why you may want to think twice before setting it to a large number?
What did you expect to see?
No limit on MaxNestedLevels unless there was a technological limitation or other hard-limit reason for it
What did you see instead?
A limit that prevents my use of this otherwise fantastic library

I will also note that our initial attempts to resolve this by doing lazy decoding using cbor.RawMessage failed because RawMessage does not seem to prevent the invocation of decoder.validInternal

I completely understand the rationale behind MaxNestedLevels, and the default being 32 seems sane to me. But why, if I am going out of my way to pick a higher maximum in my decoding options, am I limited to 256 as the max?

@immesys Thanks for opening this issue and submitting the PR!  Your PR looks great and I'll merge it.
About 3 years ago, it was assumed by some (including me) that exceeding 255 levels would likely be an accident.
:warning:  Some other CBOR codecs will not be able to decode data exceeding 127 or 255 nested levels.
Other CBOR codecs with hardcoded nesting level limits include:

255 limit (C):  qcbor is a CBOR codec by one of the reviewers to the draft RFC which became RFC 8949.

127 limit (Rust): oasis_cbor is currently the top search result on Google for: cbor max nested level. It's relatively new (just 1 year old).

BTW, I'm not 100% sure but I suspect 256 was initially intended to be 255 because I knew of qcbor and trust its author.  The intent was to not stray from other RFC draft reviewers and revisit the max allowed limit at some point.
Thanks again for the PR!

Thanks for the rapid response. I made the changes you requested on the PR, but in light of your comment here, do you think I should add something to the doc that mentions that other libraries may be limited to 127 or 255 levels? I'm on the fence, because on one side, that may be useful information that the developer may be interested in, but on the other side it's an Unmarshal-time check not a Marshal-time check, so there's no guarantee that if I am marshalling an object using this library, intending it to be unmarshalled by someone else using a different library, that I would ever read the doc for MaxNestedLevels or see any runtime error

Thanks for the rapid response. I made the changes you requested on the PR, but in light of your comment here, do you think I should add something to the doc that mentions that other libraries may be limited to 127 or 255 levels? I'm on the fence, because on one side, that may be useful information that the developer may be interested in, but on the other side it's an Unmarshal-time check not a Marshal-time check, so there's no guarantee that if I am marshalling an object using this library, intending it to be unmarshalled by someone else using a different library, that I would ever read the doc for MaxNestedLevels or see any runtime error

Good point!   I think given this limit is an "Unmarshal-time check" as you said, adding a comment about the limits of other codecs can be skipped.
When time allows, I'll add a section to the README about interoperability with other codecs and include several considerations such as this one.

This is closed by PR #355 contributed by @immesys.  Great work and thank you!  👍


implement tree pretty-printing

:santa:
Looks like this:
┬─ellipse
│ ╰─┬─in_area: 100.0 + 0.25*x[1]*x[1] + -20.0*x[2] + 1.0*x[2]*x[2] ∈ [-Inf, 1.0]
│   ╰─point
│     ╰─┬─x: 1.0*x[1]
│       ╰─y: 1.0*x[2]
├─line
│   ╰─point
│     ╰─┬─x: 2.0*x[3]
│       ╰─y: 1.0*x[3]
╰─objective: 1.0*x[1]*x[1] + 1.0*x[2]*x[2] + -4.0*x[1]*x[3] + -2.0*x[2]*x[3] + 5.0*x[3]*x[3]

┬─original_coords
│ ╰─┬─x: 1.0
│   ╰─y: 5.0
╰─transformed_coords
  ╰─┬─xt: 11.0
    ╰─yt: -0.19999999999999996

Still needs tests and docs.
Will need additional public interface in #45 .

/format

@stelmo I decided to have the "labeled variables" partially supported here; if you have any variable labeling then you can just throw it to pretty as a parameter: pretty(mytree, format_variable=i -> myvarnames[i]) would work.
I can't think of any 100% general way to create such labeling from a random CT, so I'll leave that to users for now. (If we find a good one that does 90% of it, we can put it into docs for copypasting.)
There's gonna be another PR which will do more complex explanations. (That's gonna be needed for looking at partially presolved models, as far as I can tell now the variables there won't make much sense just by themselves.)


[Question]

Hi,
I'm using this library. everything works fine when I dockerize my app and run the docker image. But if I try to run my project locally, I get this error:
RuntimeError: Unable to fetch provider information. Cannot connect to host login.microsoftonline.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')]
How come it works when running via docker image locally, but not without it? The only difference I can see is that image is running on Linux while locally I'm using MacOS.  Can you please guide me how to solve this?
Also sorry if I'm asking this here, I couldn't find a solution out there!

Hello! Happy it works well for you (well, in Docker😅)!
Sounds like your local Python installation don’t have public certificates installed. How did you install Python?
@ingvaldlorentzen might give a little hint on how it could be resolved, but unfortunately I’m not a Mac user.
Could you try some of the tricks described in this SO thread?

Thanks for the reply. I tried it before with pip install -U certifi didn't help. But installing through Applications seems to work. but now I'm getting another error:
Unable to fetch OpenID configuration from Azure AD. Error: 400, message='Bad Request', url=URL('https://login.microsoftonline.com/3/v2.0/.well-known/openid-configuration')
The error is from this module:
File "/venv/lib/python3.9/site-packages/fastapi_azure_auth/openid_config.py", line 55, in load_config
    raise RuntimeError(f'Unable to fetch provider information. {error}')

The 3 in that URL should be the entire tenant ID. The URL should also work directly in the browser.
https://login.microsoftonline.com/3/v2.0/.well-known/openid-configuration
                                 ^^
                              Tenant ID

Thanks @JonasKs The second error was my bad! I fixed the tenant ID and now it's working.

Awesome! Happy coding! :rocket:


Add Ukrainian translation.

HI!
I've translated this workshop on Ukrainian for our event by NodeSchool Chernivtsi chapter — 24 October, 2015.
Please, check my request and merge as soon as it possible.
BTW: @terry-s, @sudodoki or @komarnitskyi can check my translation.

Can you squash all of these commits into a single one?
After somebody has reviewed, I'll merge :)

OK, no problem. But after checking these commits.

I'll check it today, but later.

Should I really squash all commits? Then I'll need to do git push -f, so that is not good. Or that's doesn't matter?

Force pushing doesn't matter seeing as it only updates your branch. Indeed you shouldn't do it on an important branch like master - but in this case it doesn't matter.

I've checked, everything well

Don't worry about squashing :)

Ehm... okay, nice :)


Multiple not translated strings

I'd like to have my docs translated to Polish and now I have to translate displayed strings myself. Examples from current master:
https://github.com/snide/sphinx_rtd_theme/blob/012d42db6a2b00f799223963fb8b0aa3754630eb/sphinx_rtd_theme/breadcrumbs.html
"Docs", "Edit on GitHub", "Edit on Bitbucket", "View page source"
I expected the template to honor 'language' setting from the configuration file.

+1 for removal of all hardcoded strings.  Even 'Next' and 'Previous' in the footer are not translated.

I think after https://github.com/snide/sphinx_rtd_theme/commit/e43226965eaf694551940cc7a0adae6b72bd8387 got merged this can now be closed. @ericholscher


Using URL-encoded strings in document keys

If I create a document with the key 'c-bl%C3%A5%2C' in a collection, i cannot retrieve it again. All the characters used are listed in the "allowed characters" in the https://docs.arangodb.com/NamingConventions/DocumentKeys.html help page. If I create this document in the web interface for my local database, I can create the document, and I can open the page to view/edit it, but I cannot update with any content - I get a "could not save" error.
My use case: I have a collection that I use for a cache. I get a web request containing some tags (where international characters are allowed). The first time I get a request, I do a search on some external web services and retrieve a list of results. These are saved as a document to a cache collection, and the next time I get the same request, I use the cache instead of going to the external services again. In this scenario, it makes sense to use the tags as the document key and the document contents as the results. An alternative solution would be to make a document property containing the search tags and index that property, but I figured this way was faster and needed less parsing of the document contents.

Check! The webinterface even decodes the URL-encoding which it definitely shouldn't do.

Thanks, fixed in current devel branch.

This will also be part of ArangoDB 2.8.7 which will be available next week.

(Posting here instead of opening a new bug because this might have more to do with my being new to Arango.)
I have the same use case and similar problem as OP and there's something going on with URL-escaping that I can't figure out.
$ echo '{"_key": "http%3A%2F%2Fexample.com%2F", "body": "<html/>"}' | curl -X POST --data-binary @- --dump - http://localhost:8529/_db/mydb/_api/document/cached_pages
HTTP/1.1 202 Accepted
Location: /_db/mydb/_api/document/cached_pages/http%253A%252F%252Fexample%2Ecom%252F
Etag: "_UgfesYy---"
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 108

{"_id":"cached_pages/http%3A%2F%2Fexample.com%2F","_key":"http%3A%2F%2Fexample.com%2F","_rev":"_UgfesYy---"}

The key of the saved document is http%3A%2F%2Fexample.com%2F (as I expected) but the key in the URL to access the document (as shown in the Location header) is http%253A%252F%252Fexample%2Ecom%252F, that is, % is further escaped into %25.
Trying to access the document using the original key:
$ curl 'http://localhost:8529/_db/housescout/_api/document/cached_pages/http%3A%2F%2Fexample.com%2F'
{"error":true,"errorMessage":"document not found","code":404,"errorNum":1202}

But trying to retrieve the document using the extra-escaped key does work:
$ curl 'http://localhost:8529/_db/mydb/_api/document/cached_pages/http%253A%252F%252Fexample%2Ecom%252F'
{"_key":"http%3A%2F%2Fexample.com%2F","_id":"cached_pages/http%3A%2F%2Fexample.com%2F","_rev":"_UgfesYy---","body":"<html/>"}

Intended?
Version information:
$ curl http://localhost:8529/_db/mydb/_api/version
{"server":"arango","version":"3.1.10","license":"community"}

This is the expected behavior. Independent of your document-key - in the stored document - whether it is URL encoded or not, you have to URL encode it in the request. If your document-key is already URL encoded you have to encode it a second time.

Hmm, I see.
If the _key in the request must always be URL-encoded, then perhaps it should be enforced at the JavaScript driver level?
Because I'd expect I could use a document-key, as returned by a successful save() operation, to re-fetch the document, but that doesn't seem to be the case:
const arangojs = require('arangojs')
const db = new arangojs({ databaseName: 'mydb' })
const CACHE = db.collection('cached_pages')

const url = 'http://example.com/'

CACHE
    .save({ _key: encodeURIComponent(url), body: '<html/>' })
    .then(res => CACHE.document(res._key))
    .then(doc => console.log(doc))
    .catch(err => console.error(err.code))

That prints:
404

The following works:
const arangojs = require('arangojs')
const db = new arangojs({ databaseName: 'mydb' })
const CACHE = db.collection('cached_pages')

const url = 'http://example.com/'

CACHE
    .save({ _key: encodeURIComponent(url), body: '<html/>' })
    .then(res => CACHE.document(encodeURIComponent(res._key))) // <-- extra encoding
    .then(doc => console.log(doc))
    .catch(err => console.error(err.code))

It prints:
{ _key: 'http%3A%2F%2Fexample.com%2F',
  _id: 'cached_pages/http%3A%2F%2Fexample.com%2F',
  _rev: '_UhbfqTW---',
  body: '<html/>' }

But that encodeURIComponent() on the marked line smells a bit of a driver's job.


Fixed incorrect link in line 127

Closes #683

@robmazz - PR is ready for final review based on issue #683.
Thank you.
cc: @kenwith


[Question]: Templates are rendered in folded style instead of literal style

Task name
CmdLine@2, Bash@3, AzureCLI@1, AzureCLI@2
Task version
No response
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 20.04
Question
We have multiple inline scripts in our pipelines. They all have this format (depends on the task):
- task: CmdLine@2, Bash@3, AzureCLI@1, AzureCLI@2
  displayName: 'My Script'
  inputs:
    targetType: 'inline'
    script: |
      #!/bin/bash
      echo "Here starts my awesome code"

When I download a full YAML of the pipeline, I noticed that some task are rendered like this:
    script: |
      #!/bin/bash

But a lot of other tasks are rendered with a > sign (while we have a pipe | in the code):
    script: >
      #!/bin/bash

This makes the pipelines rendered very big with a lot of enters between the lines of code. How and why does this happen? When I use a | symbol, shouldn't it be rendered with a | as well, instead of a >?

Hi @Borrelworst thanks for the reporting!
This repo is only for the issues related to the specific logic of tasks, your issue is about common Service behavior.
Please, raise your question on the developer community to get right eyes on it


[Prettier Adder]: E404 npm ERR! 404 Not Found

Topic
cli
Version
N/A
Expected behavior
When running pnpm dlx @svelte-add/prettier@latest or npx @svelte-add/prettier@latest, I expected prettier addeed to my project.
Actual behavior
Instead, I am met with these errors:
With pnpm dlx @svelte-add/prettier@latest
/Users/davis/Library/Caches/pnpm/dlx/4zjxuv3jzwytpnyk2ixns5fe5m/190b7deb780-12873:
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@svelte-add%2Fprettier: Not Found - 404

This error happened while installing a direct dependency of /Users/davis/Library/Caches/pnpm/dlx/4zjxuv3jzwytpnyk2ixns5fe5m/190b7deb780-12873

@svelte-add/prettier is not in the npm registry, or you have no permission to fetch it.

An authorization header was used: Bearer npm_[hidden]

With npx @svelte-add/prettier@latest:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@svelte-add%2fprettier - Not found
npm ERR! 404
npm ERR! 404  '@svelte-add/prettier@latest' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: /Users/davis/.npm/_logs/2024-07-15T19_31_09_281Z-debug-0.log

This syntax is no longer supported. Please consider using
pnpm dlx svelte-add prettier

Hey, @manuel3108
Ah, I see. Thanks. Was misled since I was coming from the docs/website.
I believe a change to the docs is really needed, otherwise someone else might be misled.
Happy to submit a P.R if you're up to it. 🙂


forward additional compilation arguments to the analyzers

Add support to forward additional compilation arguments to the analyzers.
Currently there is support to forward arguments directly to the analyzers but these do not modify the original logged compilation command.
In some build systems it might be useful to forward additional compilation arguments.

After reconsideration, the already available features  (forward arguments to analyzers)  can resolve this issue.
User guide is extended with a new section about compiler option forwarding with examples.


error: The 'requests' distribution was not found and is required by koji

Hello setuptools developers,
I am facing an issue resolving requests dependency by setuptools working on latest Fedora (31) in docker. I have found the following minimal working reproducer
sudo docker run -it fedora:latest
dnf install python3-pip python3-devel krb5-devel gcc -y
printf "from setuptools import setup\nsetup(install_requires=['requests', 'requests-gssapi', 'koji'])\n" >setup.py
python3 setup.py install

Executing this I get the error in the $subject. When I change the order of requirements to
install_requires=['requests-gssapi', 'requests', 'koji']

everything is setup just fine without any error. I am only intermediate Pythonista but I think the order should not matter here. Using pip I have no dependency resolving problem putting dependencies in any order.
Ondřej

I was informed that this is actually no issue any more in the latest version of setuptools but the reason is that Fedora 31 still uses version 41.2.0. I filed a bug against Fedora instead
https://bugzilla.redhat.com/show_bug.cgi?id=1775656

You're hitting #498.

AFAIK, it's still an issue with install_requires, but was fixed for tests_require/setup_requires.


fix: DEV-1598: Fix for empty toname in control tag

It's an old PR and I had to recreate the PR with the new flow!


On startup, column "positionid" does not exit

I built traccar v3.3 and used the JAR with dependencies.  I am using PostgreSQL and I am not using the web client.  I created an empty database (traccar_db) and ran traccar.jar which created the schema using LiquidBase.  Subsequent starts of the server give me the same warning/error message:

2015-12-30 04:25:54  INFO: Operating system name: Linux version: 3.13.0-74-generic architecture: amd64
2015-12-30 04:25:54  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.66-b17
2015-12-30 04:25:54  INFO: Memory limit heap: 241mb non-heap: 0mb
2015-12-30 04:25:54  INFO: Character encoding: UTF-8 charset: UTF-8
2015-12-30 04:25:54  INFO: Version: null
2015-12-30 04:25:58  WARN: ERROR: column "positionid" does not exist
Position: 45 - PSQLException (... < QueryBuilder:376 < DataManager:324 < ConnectionManager:55 < ...)
2015-12-30 04:25:58  INFO: Starting server...

Is there an error in the database/*.xml files?
Off-topic question: I noticed that there was not an entry for database.createSchema in traccar.xml.  Is this entry no longer necessary with LiquidBase?

jss

Correct, database.createSchema is no longer required because Liquibase handles database creation.
As for the problem, it looks like it fails on database.selectServers query. What config file are you using?

I am using the vanilla traccar/unix/setup/traccar.xml with lines 22-25 changed to point to my PostgreSQL server.  Nothing else was changed.
Potentially related, I have configured my phone, using the Android Traccar Client, to point to my traccar v3.3 server.  I am attempting to insert my phone into the devices table.  I get the following error:

traccar_db=> insert into devices (name, uniqueId) values ('jss-s6', '375199');
ERROR:  column "uniqueid" of relation "devices" does not exist
LINE 1: insert into devices (name, uniqueId) values ('jss-s6', '3751...

Yet, displaying the columns of the table gives me the expected output.

traccar_db=> \dS devices
Table "public.devices"

Column
Type
Modifiers

id
integer
not null default nextval('device_id_seq'::regclass)

name
character varying(128)
not null

uniqueId
character varying(128)
not null

status
character varying(128)

lastUpdate
timestamp without time zone

positionId
integer

Indexes:
"pk_device" PRIMARY KEY, btree (id)
"device_uniqueId_key" UNIQUE CONSTRAINT, btree ("uniqueId")
Referenced by:
TABLE "positions" CONSTRAINT "fk_position_deviceId" FOREIGN KEY ("deviceId") REFERENCES devices(id) ON DELETE CASCADE
TABLE "user_device" CONSTRAINT "fk_user_device_deviceId" FOREIGN KEY ("deviceId") REFERENCES devices(id) ON DELETE CASCADE

Further checking, I see that I cannot reference any column with a capital letter in it.

traccar_db=> select uniqueId from devices;
ERROR:  column "uniqueid" does not exist
LINE 1: select uniqueId from devices;
-------------------^
traccar_db=> select lastUpdate from devices;
ERROR:  column "lastupdate" does not exist
LINE 1: select lastUpdate from devices;
-------------------^
traccar_db=> select positionId from devices;
ERROR:  column "positionid" does not exist
LINE 1: select positionId from devices;
-------------------^
traccar_db=> select id, name, status from devices;

id
name
status

(0 rows)

I am perplexed.

Further investigating using pgadmin, I see that I must double-quote these fields, using the letters capitalized as described in the table definition, in order to use them.

In the vanilla traccar/setup/unix/traccar.xml, I double-quoted all references to column names that contained capital letters - for example:

<entry key='database.insertPosition'>
    INSERT INTO positions ("deviceId", protocol, "serverTime", "deviceTime", "fixTime", valid, latitude, longitude, altitude, speed, course, address, attributes)
    VALUES (:deviceId, :protocol, :now, :time, :time, :valid, :latitude, :longitude, :altitude, :speed, > :course, :address, :attributes);
</entry>

This addressed the original error I reported and also subsequent errors (e.g., inserting positions).
Thank you for your prompt response.

Maybe there is some option to ignore letter case for column names. Most databases ignore it by default.

Any solution?

sorry! what solution?

I found excuses


broken test test_dumpSTR.py::test_BrokenVCF

the problem
With the newest cyvcf2, test_dumpSTR.py::test_BrokenVCF() fails:
Exception: error parsing variant with `htslib::bcf_read` error-code: 0 and ret: -2

bug hypothesis
This test is actually supposed to check whether dumpSTR will properly fail when given a malformed VCF. The VCF used in the test has a variant record with only four fields instead of the required ten.
So I think what's happening is that htslib is catching the error and reporting it to cyvcf2 before TRTools has a chance to catch it and exit gracefully with a non-zero exit code. The exception is happening when we call next(self.vcffile) here:
https://github.com/gymrek-lab/TRTools/blob/1d61fd1011dd3f6e0cf1c41cb21a32b8b8be208c/trtools/utils/tr_harmonizer.py#L1622
potential solutions
Our options:

Catch the exception within tr_harmonizer.py and somehow gracefully handle it. This will probably require changing all of the code that iterates over VCFs using TRRecordHarmonizer to catch and gracefully handle exceptions arising from within it.
Change the test so that it succeeds regardless of whether an exception is raised. In this case, we could catch the exception within tr_harmonizer.py and then reraise the exception with a more useful message, since TRTools users might be confronted by that exception from now on.
Ask htslib or cyvcf2 to handle this upstream. I think this exception is probably a desired behavior for them, though.

My vote is for option 2

Hey Arya,
Can you please print out the full error message DumpSTR produces, not just the last line? (Or clarify that this is in fact a one line error message).
The following ideas are for an optimal package. Feel free to scale back based on your desired commitment.
I think tr_harmonizer should raise an exception with a meaningful error message when it encounters a malformed VCF. So something like, "Parsing encountered a malformed variant line and failed". The reference to "htslib::bcf_read" would be confusing to any casual user of TRTools who doesn't know its internal dependencies, so hiding the original htslib error message in favor of a cleaner one to our customers seems good to me, especially if the htslib error message came with a stack trace that would further distract a user from what's going on. This agrees with option 2.
However, in theory I do recommend also changing the downstream users of tr_harmonizer like option 1. I forget how Nima and I came to this convention, but originally the tools in TRTools were supposed to fail by writing messages to stderr and returning a status code. I believe the idea was that tools shouldn't produce stack traces by letting exceptions bubble up to the top. This was because stack traces are useful for developers debugging errors which shouldn't occur, but are useless for presenting acceptable errors (i.e. errors derived from bad input) to some tool-user who doesn't understand the tool's source code and so can't interpret the stack trace. With that paradigm, any tool using tr_harmonizer should catch any error that tr_harmonzier might raise and write a more user friendly, context-aware error to stderr while returning an error code. Now, if by not catching the tr_harmonizer error its still very clear to the end user what's going on (and the stack trace isn't too distracting), then maybe its not such a big deal.

ah, that totally makes sense! We've had to deal with the same concerns regarding the haptools.data library vs the rest of haptools. We decided on a very similar paradigm
I was hoping the message would be detailed and interpretable enough that we wouldn't have to catch it downstream, but I can try it out and see. I'll also try writing some code to catch the exception downstream in case its easier than I anticipate
also, you can click here if you want to view the full error message


gensim.models.Word2Vec.load("word2vec.gensim")

when i run the code ,i can not  do !Could you please tell me the 'word2vec.gensim'?

You need to supply your own word2vec model trained in gensim. See here for an example.


Add Dark Simplicity Theme

It was requested that I submit my theme to the repository.  I have polished it and think I have the requirements needed, just let me know if I need to make any other changes for it to be accepted.
https://github.com/kritoke/darksimplicity

Hello @kritoke,
first of all thanks for the interest of sharing your theme with us :+1: Overall, your theme looks fine.
Your theme ships with a custom config file. Please add a new sub-directory called exampleSite. It mirrors the root of a Hugo website and allows you to add custom content files, stylesheets etc. that are required to show certain features of a theme. Those files are exclusively used for the theme's demo.
Just move the config file to exampleSite/config.toml and provide at least an empty static folder (the build script is a bit pedantic). To make it trackable for Git add an empty file like .gitkeep.
All other subfolders like content are completely optional.
LICENSE.md seems to be rendundant and could be removed. During the theme generation Hugo just wants to make sure that a license exists.

The exampleSite files and folders should be added now.  Let me know if anything else is required.

Everything works fine now. Your theme should appear soon on the theme site.
Cheers,
Digitalcraftsman


Set dropdowns to M and E if no cookie is found

See #31. This should only take a few quick lines of code.

I'd like to do this.

Go for it!


Added command-line options for completeness

See Issue 829 https://github.com/MicrosoftDocs/SCCMdocs/issues/829
Summarize the change in the pull request title
Describe your change, specifically why you think it's needed.
Fixes #Issue_Number (if necessary)
@Article_Author please review (look at the author metadata tag)

@AdamGrossTX : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

Thanks @AdamGrossTX for your contribution! This looks good, #sign-off
Once merged, this should be live with the next daily publishing process. Right now that should be today (Monday, 8 October) around 11:00 Pacific time.


0.6.0-M3 is not found on Maven central

This release is not present on Maven Central:
https://repo1.maven.org/maven2/com/tumblr/colossus_2.11/
Is it about cache?

Sorry about that, sonatype was having issues when I tried releasing it yesterday.  I tried again just now and it appears to have worked so it should be available shortly.

Yes, it's available now. Thanks.


Added configurable ByteBuf bounds checking

Motivation:
The JVM isn't always able to hoist out/reduce bounds checking (due to ref counting operations etc etc) hence making it configurable could improve performances for most CPU intensive use cases.
Modifications:
Each AbstractByteBuf bounds check has been tested against a new static final configuration property similar to checkAccessible ie io.netty.buffer.bytebuf.checkBounds.
Result:
Any user could disable ByteBuf bounds checking in order to get extra performances.

 Can you show a comparison with current version, where there is no extra if?

@fenik17  afaik it is optimized away but I will figured it out in the size in byte codes of the method impacting just on inlining, anyway I will provide soon a comparison.For further info please take a look here: http://pveentjer.blogspot.it/2017/01/final-static-boolean-jit.html
There are already Agrona's Unsafe buffer that employ a similar method to allow users to trade efficiency with security.

@fenik17
It seems as I've posted above: the additional if has been removed hence it is for free:
Benchmark                              Mode  Cnt          Score          Error  Units
HeapByteBufBenchmark.getByteUnsafe    thrpt   20  286342717.658 ± 10601001.635  ops/s
HeapByteBufBenchmark.getIntUnsafe     thrpt   20  280028987.454 ±  9262047.662  ops/s
HeapByteBufBenchmark.getLongUnsafe    thrpt   20  282384007.227 ±  5972554.961  ops/s
HeapByteBufBenchmark.getMediumUnsafe  thrpt   20  252613116.587 ±  1326148.403  ops/s
HeapByteBufBenchmark.getShortUnsafe   thrpt   20  280816212.215 ±  8164328.001  ops/s

@franz1981 Ok. Thanks!

@normanmaurer
I've noticed that the numbers on ByteBufBenchmark seems too high, especially if compared to the others in HeapByteBufBenchmark ie ~1000 M ops/sec vs 300 M ops/sec
I've noticed that ByteBufBenchmark isn't returning the ByteBuf/ByteBuffer used, hence probably it could make sense to turn
    @Benchmark
    public void setByteBufDirectPooled() {
        directBufferPooled.setByte(0, BYTE);
    }

into
    @Benchmark
    public ByteBuf setByteBufDirectPooled() {
        return directBufferPooled.setByte(0, BYTE);
    }

That would help to better measure bounds checking cost and avoid any dead code elimination that won't happen in a real production environment, wdyt?

@franz1981 Absolutely. You need to either return a value or explicitly consume with a BlackHole, otherwise JIT will eliminate your code.

@slandelle
TBH I've run it with the Linux Perf Asm profiler and it doesn't seems to happen, but as you rightly said the JIT is allowed to do it so It probably makes sense to change it: better safe than sorry :+1:
Probably it could be addressed with a separate PR or It makes sense to do it into this one?

better safe than sorry

Actually, I'm pretty sure ByteBufBenchmark is broken, see JMH doc.

Probably it could be addressed with a separate PR or It makes sense to do it into this one?

I'd be tempted to go with a separate PR.

+1 please open a pr

Am 19.12.2017 um 11:05 schrieb Stephane Landelle<EMAIL_ADDRESS>better safe than sorry
Actually, I'm pretty sure ByteBufBenchmark is broken, see JMH doc.
Probably it could be addressed with a separate PR or It makes sense to do it into this one?
I'd be tempted to go with a separate PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@slandelle

Actually, I'm pretty sure ByteBufBenchmark is broken, see JMH doc.

Good point!Anyway consider that's not the same exact case: the JVM can't say if the ByteBuf/ByteBuffer could be printed/used further after @benchmark because is a instance member, but It would be better to fix it anyway :+1:
@normanmaurer
yep will do :+1:

@normanmaurer @slandelle
Done here: https://github.com/netty/netty/pull/7524
It would be interesting to add front/back padding (and alignment too) to avoid any interactions with the surrounding memory: I think it could make the results more stable especially when is needed to compare vs ByteBuffer

@normanmaurer

basically looking good to me... just wondering if you want to merge the branches

I'm taking care of them (hopefully without introducing any bugs :P

@normanmaurer I've added further configurable points of bounds checking ie probably will squeeze a lil' more of performance too
Please check if they seems fine too :)

@normanmaurer I'm seeing several errors on CI, there is something I could do for them Re this PR?
Seeing everything red on the PR is scary! :)

I hope to have addressed all the changes requested, but haven't had yet any chance to try this change with some actual use case (ie benchmarks of Netty's heavy-user application with tons of decoding/encoding): any of you have had time to try it?
Just curious...with Aeron's data-structure was quite interesting and useful to try it considering that is the same exact feature :+1:

@trustin Hi! Looking at the reviewers summary seems that I haven't addressed all the requested changes, but I can't find any..there is anything I can do to improve what I have done here? :+1:

Great job, @franz1981 !

So @ejona86 what are your thoughts ?

It does worry me to have such a gaping "unsafe" hole. But my attitude toward the PR has changed. I think it is fine and won't cause much maintenance trouble since calling code already tries to avoid IndexOutOfBoundsException.

@ejona86 mind approving then ?

@normanmaurer @ejona86 @trustin I've just taken a look to the awesome presentation of Remi Forax about how to help the JVM to trust final fields on https://speakerdeck.com/forax/java-dot-lang-dot-invoke-whisper-to-the-jit-for-speed-gain .
If this PR is ok and will be merged i'm thinking to provide (in the future) another PR with a per-instance configuration to disable bounds checking where the boolean check won't have any cost when disabled.
In this way anyone using ByteBuf on trusty code could disable it leaving the other uses safe.

@normanmaurer thanks to the summer I have some time where I can help :)
There is anything I need to help/improve on this PR?

@normanmaurer I have already signed it the first PR I have sent some time ago...or it has been expired and I need to sign it twice?

@franz1981 stupid me... I did miss-spell your name when looking it up 👎  All good.


Enhancer and HealthUtil now differentiate between fatal and transient errors

Summary:
previously any error returned by the Enhancer was treated as fatal. It made sense because it would act deterministically on a prepared set of resources. However, since #1319 enhancer also uses the discovery interface to determine whether or not the given resource is namespaced. These API requests may fail and must be retried. With this fix, DefaultEnhancer clearly marks certain errors as fatal.
Fixes #1413
Signed-off-by: Aleksey Dukhovniy<EMAIL_ADDRESS>

This might amplify transient issues and not really help, unless we have caching for IsNamespacedObject

Correct. Thought fatally failing a plan, because an API request timeout is less than ideal too. Caching for the rescue!


chore: update thank you screen copy

Description

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

update SWA tier 2 - thank you screen copy - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (update SWA tier 2 - thank you screen copy - mounir)

  Generated by :no_entry_sign: dangerJS against 65bd1060b25812ea28174293fe8854bf35f70499


sw_engine: fixing wrong 'if else' statement handling when gradient sh…

…apes rastered
The cases when composition was applied were handled only for AlphaMask and
InvAlphaMask. When opacity value was to be < 255, there was no code
to handle this.
issue #381
before:

after:

I forgot about rle  in the first commit


[WIP] Iterative quantum phase estimation

Title: The power of Iterative Quantum Phase Estimation
Summary:
Relevant references:
Possible Drawbacks:
Related GitHub Issues:

If you are writing a demonstration, please answer these questions to facilitate the marketing process.

GOALS — Why are we working on this now?
Eg. Promote a new PL feature or show a PL implementation of a recent paper.

AUDIENCE — Who is this for?
Eg. Chemistry researchers, PL educators, beginners in quantum computing.

KEYWORDS — What words should be included in the marketing post?

Which of the following types of documentation is most similar to your file?
(more details here)

[ ] Tutorial
[x] Demo
[ ] How-to

I will return to this at some point


Fixed typo in device model

handle_harware_events -> handle_hardware_events

Build failed with the following message:
Pre-installed Ruby versions ruby-2.2.7 ruby-2.3.4 ruby-2.4.1 No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself. Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received The build has been terminated
Have no idea whats gone wrong

Thanks @areldar


i cant installed from cocoa pods (v1.1)

Hi,
I cant install v1.1 from cocoa pods
(min version iOS: 14.0)
console message: pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "libPhoneNumber-iOS":
In Podfile:
libPhoneNumber-iOS (= 1.1)
None of your spec sources contain a spec satisfying the dependency: libPhoneNumber-iOS (= 1.1).
You have either:

out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Unfortunately, the owners of this library haven't re-published it to the main cocoapods' repo.
If you look at other issues and the PRs, many people have been asking to get an updated version published.  I'm guessing the original maintainers are either too busy, or have just moved away from iOS development. 😦


Add StampedRef Resource Kind and Name in workload get output

Description of problem
Currently, we show Supply chain Resources, Ready, Healthy and Time columns in workload get output. It would be great to see an additional column that shows which resource was stamped out by the supply chain.

Proposed solution
Add a column before Ready column that shows the Kind and Name of the resource stamped out by the supply chain.
Example
   RESOURCE          OUTPUT                              READY   HEALTHY   TIME
   source-provider   ImageRepository/reg-test5           True    True      4d
   deliverable       Deliverable/reg-test5               True    True      4d
   image-builder     Image/reg-test5                     True    True      4d
   config-provider   PodIntent/reg-test5                 True    True      4d
   app-config        ConfigMap/reg-test5                 True    True      4d
   config-writer     Runnable/reg-test5-config-writer    True    True      4d

cc @danfein for design input related to column name

Proposed change: run the output column last
Output values are a little longer running, and may be variable width, running it last will keep ready / health / time aligned between the supply and delivery tables.
Also if someone is watching the workload get the fields can populate over time without shifting the table columns around.
Output is also a summary / last thing that happens for a given resource, which feels like a natural last-column item.
   RESOURCE          READY   HEALTHY   TIME   OUTPUT
   source-provider   True    True      4d     ImageRepository/reg-test5
   deliverable       True    True      4d     Deliverable/reg-test5
   image-builder     True    True      4d     Image/reg-test5
   config-provider   True    True      4d     PodIntent/reg-test5
   app-config        True    True      4d     ConfigMap/reg-test5
   config-writer     True    True      4d     Runnable/reg-test5-config-writer

AC
LGTM

Stamped out resources column (OUTPUT) confirmed in the output:

no stamped out resource created for a given step displays not found:

confirmed copy/paste of OUTPUT column value into kubectl describe... returns without error:


Injective message encoding/decoding in Ristretto?

Hi Ristretto Group,
This issue is a question about injective message encoding/decoding in Ristretto.
In some ElGamal implementations, we need to map a message string to a point on a curve, and inversely map it later. To enjoy efficient scalar multiplication, people will prefer curves like Curve25519. To make ElGamal semantically secure, we may choose cofactor-elimination like Decaf and Ristretto. So, it comes to Ristretto, which seems to be the best choice for this quest.
To implement the string-to-point / point-back-to-string mapping, the natural constant-time, provably working approach is the elligator 2.
That is, we map a string $m$ into a point $P_m$. To inverse $P_m$, we use the inverse elligator, which we get likely 16 preimages $m_1, m_2, ..., m_16$.
The challenge: How to identify the original message $m$ among them?
The walkaround in my mind is to embed a hash at the end of the message so that under the random oracle model, we can distinguish the original message from other preimages with negligible failure. But this seems to be too naive and costly (it reduces the message space by about 80-bit for the hash).
Any thoughts? Thanks!

Footnote: One strawman walkaround is to use hybrid encryption as the elligator paper suggested, such that we no longer need to encode random messages. Yet, this does not work for some applications where we cannot use an elligator, like implementing public-key re-randomizable encryption for shuffling networks.

Hi Weiking,
Sorry for the slow response.  I'm afraid I don't have a magical solution for you, but you could try adding a small (eg 8-bit) random component and a small (eg 8-bit) checksum. Then when encoding you can retry random components until only the intended message passes the checksum.
-- Mike
Sent from my phone
On Sun, Jan 13, 2019 at 5:07 PM -0800, "Weikeng Chen"<EMAIL_ADDRESS>wrote:
Hi Ristretto Group,
This issue is a question about injective message encoding/decoding in Ristretto.
In some ElGamal implementations, we need to map a message string to a point on a curve, and inversely map it later. To enjoy efficient scalar multiplication, people will prefer curves like Curve25519. To make ElGamal semantically secure, we may choose cofactor-elimination like Decaf and Ristretto. So, it comes to Ristretto, which seems to be the best choice for this quest.
To implement the string-to-point / point-back-to-string mapping, the natural constant-time, provably working approach is the elligator 2.
That is, we map a string $m$ into a point $P_m$. To inverse $P_m$, we use the inverse elligator, which we get likely 16 preimages $m_1, m_2, ..., m_16$.
The challenge: How to identify the original message $m$ among them?
The walkaround in my mind is to embed a hash at the end of the message so that under the random oracle model, we can distinguish the original message from other preimages with negligible failure. But this seems to be too naive and costly (it reduces the message space by about 80-bit for the hash).
Any thoughts? Thanks!
Footnote: One strawman walkaround is to use hybrid encryption as the elligator paper suggested, such that we no longer need to encode random messages. Yet, this does not work for some applications where we cannot use an elligator, like implementing public-key re-randomizable encryption for shuffling networks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks Mike. Very great idea on adding randomness and having a check -- it uses significantly less space. I just feel that it is not constant time, and maybe making it constant time (with negligible failure) can lead to a little bit too slow encoding :)

For other people looking at this topic.
At least we can reduce the number of hints to try from 32 to 8 by fixing the lowest bit of msg[0] and the highest bit of msg[HASH_BYTE - 1], so you can reduce the number of calls to the inverse elligator.  But for the injective encoding, I haven't yet figure out a provably injective way beyond leaving a hash with the length greater than the security parameter -- there should probably be a better solution since we are merely finding 1 among 8.


average_polygon should raise an error when polygon is outside grid

Related: https://github.com/bird-house/finch/issues/179

Closed with #166


Enable or instruct searching by entry date

It's not clear whether the search fields work, but any date format i can think of leads to an error. Either make it work flexibly, or present a suggested date format in grey in the search form

The error says it should match %m/%d/%y (month slash day slash year). So, e.g. 04/01/2015 should work and indeed does not immediately result in an error. While typing this the results are presented, but it is taking ages.

I implemented the quickest solution: a placeholder text (mm/dd/yyyy).

Thanks!


Use ng2-dropdown directive library instead of in dwopdown component for dropdown.

@sanbornsen is it this library https://github.com/pleerock/ng2-dropdown ? It specifies license (MIT) only in package.json so we should find out if that is sufficient.

@ppitonak that is a good point, I'll ask Richard.

@ppitonak Sorry !! i missed that. Looks like @joshuawilson go it covered.


Add NixOS example for following rust-toolchain.toml to docs

Objective
To make it easier for projects using nix to work with changing channels.
Solution
Adding a section to the documentation to show how this can be done with a modified nix file.

A friend of mine contributed a nix file to a project of mine, and added this neat little snippet. I thought more people would have use of it, so I suggested he contribute it. He did not have time so he gave the go-ahead for me to contribute it.
I don't read much nix, but I tested it at least. I do recommend someone else testing it on their nix system as well.
Hope this is helpful!

Seconding James' stance here :)

I'm a bit confused: Why run rustup toolchain install when entering the shell when rustup tools (including cargo) already install and use the toolchain specified by rust-toolchain.toml automatically ?
If using rustup to handle rust toolchains (instead of say rust-overlay), this shouldn't need to be handled by nix. Just having rustup in the nativeBuildInputs should be enough. I don't really understand why this is nix-specific ?
I feel like maybe I don't understand the issue in the first place ?

Asked my friend, he said that wasn't his experience, and that he needs to try again. I'll update this pull when he's had time to check.

I'm a bit confused: Why run rustup toolchain install when entering the shell, when rustup tools (including cargo) already install

This is the confusion, on nix installing rustup doesn't automatically add a toolchain (unlike the official rust installer that adds one by default), which means no cargo that reads the rust-toolchain.toml, to add the correct toolchain.
The classical chicken and egg problem. You need cargo to use rust-toolchain.toml but don't have one as nix itself wasn't told to add one.
The used solution solves this by installing a toolchain "manually".

@rustbicycle (on discord) and me tested it, and the rustup-provided cargo (installed with the rustup package) does follow and automatically installs the right toolchain following appropriate rustup overrides as on other distros (be it the default toolchain, the per-directory manual overrides, the rust-toolchain.toml file or toolchain override arguments like cargo +beta). I can still reproduce it: nix-shell -p rustup -c cargo build (without a shell.nix) will buils with the toolchain specified in a rust-toolchain.toml file.
Are you sure you don't have the nixpkgs-distributed cargo in your $PATH ? The cargo program from the nixpkgs cargo package (unlike cargo from the rustup package) doesn't allow changing toolchain, which is intended to ensure build reproducibility (the way I understand it).
TL;DR: I don't think this is an issue people should encounter assuming they use either rustup or nixpkgs' cargo with the rust overlay, but not both. I believe using both is discouraged, partly for the issue you're encountering.

When I tested it many months ago it didn't work, but perhaps it was since fixed (or I did something wrong).

This seems more "how to use Rust with NixOS" than "how to use Bevy with NixOS". The current doc says https://github.com/bevyengine/bevy/blob/2fd432c463b3f02ee39c3ab3a47b8fa8c56c0689/docs/linux_dependencies.md?plain=1#L144 which seems good enough for me


Not downloading twitter videos

The code still not downloading videos from Twitter, what should I do to make it work?

same issue

+1


Use .tt instead of .json

I have merged the latest changes. Add your spotify changes to thingpedia.tt should make the test pass @gcampax

Pull Request Test Coverage Report for Build 487

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 82.284%

Files with Coverage Reduction
New Missed Lines
%

lib/describe.js
1
77.82%

lib/optimize.js
1
73.7%

lib/schema.js
3
80.54%

Totals

Change from base Build 483:
-0.1%

Covered Lines:
5864

Relevant Lines:
6941

💛  - Coveralls


Check pod delete time when pod update

Bugfix: when pod is deleted in lower cluster due to some cases pod can not be delete in upper cluster

LGTM


Improve readability of README

The current README is a bit hard to read, due to large code blocks being rendered in plain black colour.
This PR adds Python code blocks, so the code in RST is formatted in colour.
This also runs blacken-docs via pre-commit, for consistent code styling between the docs and code itself.
In doing so, it found several syntax errors in the example code, which I also fixed.
Preview:

https://github.com/hugovk/inflect/blob/update-black/README.rst

I definitely like the changes employed here, so happy to accept it. I have some concerns, but nothing that we can't figure out as we go.


Building default branch under MSYS2 fail

Latest MSYS2 (MINGW64). Clean install runs from (msys2_shell.cmd -mingw64). I'm able build OpenSSL_1_1_1-stable, but with default branch, in case building without no-asm -DOPENSSL_AES_CONST_TIME, doesn't build. Directory openssl was deleted and MSYS2 was unistalled/reinstalled between test. Steps to reproduce:
Fresh install of MSYS2 from msys2-x86_64-20220128.exe, then
pacman -Syu
pacman -Su
pacman -S make mingw-w64-x86_64-gcc git mingw-w64-x86_64-nasm
git clone https://github.com/openssl/openssl
cd openssl
./Configure mingw64
make

After while there is error output
/modes/libcrypto-lib-aes-gcm-avx512.obj crypto/modes/aes-gcm-avx512.s
crypto/modes/aes-gcm-avx512.s: Assembler messages:
crypto/modes/aes-gcm-avx512.s:136149: Error: can't resolve $L$setiv_seh_prolog_end - $L$setiv_seh_begin
crypto/modes/aes-gcm-avx512.s:136153: Error: can't resolve $L$setiv_seh_save_xmm15 - $L$setiv_seh_begin
...shortened...
crypto/modes/aes-gcm-avx512.s:136388: Error: can't resolve $L$decrypt_seh_push_rbx - $L$decrypt_seh_begin
make[1]: *** [Makefile:16937: crypto/modes/libcrypto-lib-aes-gcm-avx512.obj] Error 1
make[1]: Leaving directory '/d/Work/openssl'
make: *** [Makefile:3256: build_sw] Error 2

Output from ./Configure
$ ./Configure mingw64
Configuring OpenSSL version 3.1.0-dev for target mingw64
Using os-specific seed configuration
Creating configdata.pm
Running configdata.pm
Creating Makefile.in
Creating Makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL.md file first)      ***
***                                                                ***
**********************************************************************

$ perl configdata.pm --dump
Command line (with current working directory = .):

   perl ./Configure mingw64

Perl information:

   perl
   5.32.1 for x86_64-msys-thread-multi

Enabled features:

   aria
   asm
   async
   autoalginit
   autoerrinit
   autoload-config
   bf
   blake2
   bulk
   cached-fetch
   camellia
   capieng
   cast
   chacha
   cmac
   cmp
   cms
   comp
   ct
   deprecated
   des
   dgram
   dh
   dsa
   dso
   dtls
   dynamic-engine
   ec
   ec2m
   ecdh
   ecdsa
   engine
   err
   filenames
   gost
   idea
   legacy
   loadereng
   makedepend
   md4
   mdc2
   module
   multiblock
   nextprotoneg
   ocb
   ocsp
   padlockeng
   pic
   pinshared
   poly1305
   posix-io
   psk
   rc2
   rc4
   rdrand
   rfc3779
   rmd160
   scrypt
   secure-memory
   seed
   shared
   siphash
   siv
   sm2
   sm3
   sm4
   sock
   srp
   srtp
   sse2
   ssl
   ssl-trace
   static-engine
   stdio
   tests
   threads
   tls
   ts
   ui-console
   whirlpool
   tls1
   tls1-method
   tls1_1
   tls1_1-method
   tls1_2
   tls1_2-method
   tls1_3
   dtls1
   dtls1-method
   dtls1_2
   dtls1_2-method

Disabled features:

   acvp-tests          [cascade]        OPENSSL_NO_ACVP_TESTS
   afalgeng            [not-linux]      OPENSSL_NO_AFALGENG
   asan                [default]        OPENSSL_NO_ASAN
   buildtest-c++       [default]
   crypto-mdebug       [default]        OPENSSL_NO_CRYPTO_MDEBUG
   devcryptoeng        [default]        OPENSSL_NO_DEVCRYPTOENG
   ec_nistp_64_gcc_128 [default]        OPENSSL_NO_EC_NISTP_64_GCC_128
   egd                 [default]        OPENSSL_NO_EGD
   external-tests      [default]        OPENSSL_NO_EXTERNAL_TESTS
   fips                [default]
   fips-securitychecks [cascade]        OPENSSL_NO_FIPS_SECURITYCHECKS
   fuzz-afl            [default]        OPENSSL_NO_FUZZ_AFL
   fuzz-libfuzzer      [default]        OPENSSL_NO_FUZZ_LIBFUZZER
   ktls                [default]        OPENSSL_NO_KTLS
   md2                 [default]        OPENSSL_NO_MD2 (skip crypto/md2)
   msan                [default]        OPENSSL_NO_MSAN
   rc5                 [default]        OPENSSL_NO_RC5 (skip crypto/rc5)
   sctp                [default]        OPENSSL_NO_SCTP
   trace               [default]        OPENSSL_NO_TRACE
   ubsan               [default]        OPENSSL_NO_UBSAN
   unit-test           [default]        OPENSSL_NO_UNIT_TEST
   uplink              [no uplink_arch] OPENSSL_NO_UPLINK
   weak-ssl-ciphers    [default]        OPENSSL_NO_WEAK_SSL_CIPHERS
   zlib                [default]
   zlib-dynamic        [default]
   ssl3                [default]        OPENSSL_NO_SSL3
   ssl3-method         [default]        OPENSSL_NO_SSL3_METHOD

Config target attributes:

   AR => "ar",
   ARFLAGS => "qc",
   CC => "gcc",
   CFLAGS => "-Wall -O3",
   HASHBANGPERL => "/usr/bin/env perl",
   RANLIB => "ranlib",
   RC => "windres",
   asm_arch => "x86_64",
   bn_ops => "SIXTY_FOUR_BIT",
   build_file => "Makefile",
   build_scheme => [ "unified", "unix" ],
   cflags => "-m64",
   cppflags => "-DUNICODE -D_UNICODE -DWIN32_LEAN_AND_MEAN -D_MT",
   defines => [ "OPENSSL_BUILDING_OPENSSL" ],
   disable => [  ],
   dso_scheme => "win32",
   enable => [  ],
   ex_libs => "-lws2_32 -lgdi32 -lcrypt32",
   includes => [  ],
   lflags => "",
   lib_cflags => "",
   lib_cppflags => "-DL_ENDIAN",
   lib_defines => [  ],
   module_cflags => "",
   module_cxxflags => undef,
   module_ldflags => "-static-libgcc -shared -Wl,--enable-auto-image-base",
   multilib => "64",
   perl_platform => "mingw",
   perlasm_scheme => "mingw64",
   shared_argfileflag => "\@",
   shared_cflag => "",
   shared_cppflags => "_WINDLL",
   shared_defflag => "",
   shared_defines => [  ],
   shared_impflag => "-Wl,--out-implib=",
   shared_ldflag => "-static-libgcc -shared -Wl,--enable-auto-image-base",
   shared_rcflag => "--target=pe-x86-64",
   shared_target => "mingw-shared",
   sys_id => "MINGW64",
   thread_defines => [  ],
   thread_scheme => "winthreads",
   unistd => "<unistd.h>",

Recorded environment:

   AR =
   ARFLAGS =
   AS =
   ASFLAGS =
   BUILDFILE =
   CC =
   CFLAGS =
   CPP =
   CPPDEFINES =
   CPPFLAGS =
   CPPINCLUDES =
   CROSS_COMPILE =
   CXX =
   CXXFLAGS =
   HASHBANGPERL =
   LD =
   LDFLAGS =
   LDLIBS =
   MT =
   MTFLAGS =
   OPENSSL_LOCAL_CONFIG_DIR =
   PERL =
   RANLIB =
   RC =
   RCFLAGS =
   RM =
   WINDRES =
   __CNF_CFLAGS =
   __CNF_CPPDEFINES =
   __CNF_CPPFLAGS =
   __CNF_CPPINCLUDES =
   __CNF_CXXFLAGS =
   __CNF_LDFLAGS =
   __CNF_LDLIBS =

Makevars:

   AR              = ar
   ARFLAGS         = qc
   CC              = gcc
   CFLAGS          = -Wall -O3
   CPPDEFINES      =
   CPPFLAGS        =
   CPPINCLUDES     =
   CXXFLAGS        =
   HASHBANGPERL    = /usr/bin/env perl
   LDFLAGS         =
   LDLIBS          =
   PERL            = perl
   RANLIB          = ranlib
   RC              = windres
   RCFLAGS         =

@mattcaswell, I'll take a look on this. Thanks for the ping.

BTW, When I pick 32bit version of MSYS2 environment and mingw-w64-i686-gcc. Build runs OK and I have openssl.exe.
Used msys2_shell.cmd -mingw32
pacman -S mingw-w64-i686-gcc
make clean
./Configure mingw
make

@esvarc, please take a look at the fix. It would be great if you could confirm it works for you.

Thank you frend! I was having the same problem under Win64/mingw64 and the issue has been solved with your patch.

Thank you all! Nice job done. I can confirm that now 64bit version of OpenSSL master branch after I replaced these two files does build without errors.


Voice Chat System

Receive audio stream from hmd and play it

talk to @abhi-arya1 about this, as I'm not quite sure how we're going to go about this task yet.


Create New section for frontend  projects

Hey @UjjwalSharma01
Can I create one more section for a project named Frontend Projects?
Where we all can add frontend projects.
It will help users to seek project Ideas.

Go ahead


How to set minimum time to current time

How to set minimum time to current time.
Expected: Set minimum time to current time, previous all dates or times should be disabled.

Hi, look at the example Create a date range picker with validation controls (https://github.com/dalelotts/angular-bootstrap-datetimepicker#create-a-date-range-picker-with-validation-controls).
You may have to use the before-render callback.

      <input type="text" class="form-control" data-ng-model="dateRangeStart">

    <datetimepicker data-ng-model="dateRangeStart" data-datetimepicker-config="{ dropdownSelector: '#dropdown1'}" data-before-render="beforeRenderDatePicker($view, $dates, $leftDate, $upDate, $rightDate)"/>

$scope.beforeRenderDatePicker = function($view, $dates, $leftDate, $upDate, $rightDate) {
  if ($scope.actualDate) {
    var activeDate = moment($scope.actualDate);
    for (var i = 0; i < $dates.length; i++) {
      if ($dates[i].localDateValue() >= activeDate.valueOf()) $dates[i].selectable = false;
    }
  }
}

Play with that example and you should be able to get the expected functionality.


parsl version / submission issue

The user encounters the following error while using the latest job distributor version of  Parsl==2024.03.18:
Job is marked as MISSING since the workers failed to register to the executor. Check the stdout/stderr logs in the submit_scripts directory for more debug information
The installation of the parsl version can be forced to the last working version of parsl==2024.01.29 with pypi built which works fine. This is a quick fix, but we might want to debug more in future.


Basic mapping so that iptables can still create valid tcp rules

Description
When reading protocol information from openvpn config files, remap to "tcp-client" to "tcp".
Motivation and Context
Openvpn configs specify protocol as either udp, tcp-client or tcp-server
iptables doesn't know what to do with "tcp-client" and spits out this message:
iptables v1.8.7 (legacy): unknown protocol "tcp-client" specified
Doesn't halt the script but it does not add the intended iptables rule as-is.
tcp-server shouldn't be specified in a client's configuration and won't need handling, AFAICT.
From what I've read UDP is preferred & TCP isn't generally recommended for OpenVPN but acceptable as a fallback if UDP fails.
I assume that if someone was connecting solely via TCP the container would be unable to make the outbound connection.
How Has This Been Tested?
Built a container locally with and without the changes.

[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

Probably doesn't need a documentation update beyond the comment?
I couldn't find any tests.

Do you have a config file that gets choked on? This line should already be trimming tcp-client to tcp:
https://github.com/wfg/docker-openvpn-client/blob/b11a502a1c7db14b3ee7cb0200c7965c16ec39fa/data/scripts/entry.sh#L99

Actually, you got me thinking that we may also have an issue if a remote line had udp4/udp6/tcp4/tcp6 instead of just udp/tcp. It looks possible according to the OpenVPN manual.

First 3 lines look like this:
remote example.com 1194 udp
remote example.com 443 tcp-client

No separate proto line, so not caught by line 99 I guess?
Good catch on udp4/udp6/tcp4/tcp6 and none of these remote lines are inside a <connection> block either, which would be another wrinkle maybe?


[move-to-yul] Memory model

This implements the basic memory model for Move.

Locals and references to them. Locals which are borrowed need to be evaded to memory so one can take a reference of them.
Structs with Pack and BorrowField.
ReadRef and WriteRef
Yul functions to allocate and free memory, and to load and store values of different sizes.

This does not yet deal with resources in storage (borrow_global et. al); however, the logic for reading storage as linear memory is there.
This PR also changes the baseline output to include the optimized Yul as generated by solc. To this end, as the dispatcher isn't there yet. we needed to insert some dummy calls for all #[callable] as otherwise the optimizer will remove unused functions. The optimizations on Yul level are quite impressive!
As there are no semantic tests yet, I'm sure there are multiple errors in this code. Those will be fixed once testing infra is up.
Motivation
EVM
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Baseline

/land