1599 resource metadata editing

API Endpoints, serializers and tests for resource system metadata.
UR: /hsapi/resource/{res_id}/scimeta/elements/

Given a GET request, all system metadata is returned
Given a PUT request, you can update title, description, or  subjects with a JSON payload like: {           "title": "New Title",           "description": "New Description",           "subjects": [               {"value": "subject1"},               {"value": "subject2"},               {"value": "subject3"}           ]       }

Open to any feedback, and excited to be contributing!

@aphelionz Thanks for working on this most needed REST endpoint. I have provided some feedback on this work.

Negative, i just mean those fields are only implemented now. Party fields
will be next and then the rest. Alva had suggested these first as proof of
concept.
On Dec 4, 2016 4:35 PM, "Pabitra Dash"<EMAIL_ADDRESS>wrote:

@pkdash commented on this pull request.
In hs_core/tests/api/rest/test_resource_system_meta.py
https://github.com/hydroshare/hydroshare/pull/1663:

   res = resource.create_resource(self.rtype,

                                  self.user,

                                  self.title)

   self.pid = res.short_id

   self.resources_to_delete.append(self.pid)

def test_get_sysmeta(self):

   # Get the resource system metadata

   sysmeta_url = "/hsapi/resource/{res_id}/scimeta/elements/".format(res_id=self.pid)

   response = self.client.get(sysmeta_url)

   self.assertEqual(response.status_code, status.HTTP_200_OK)

   # content = json.loads(response.content)

def test_put_sysmeta(self):

   sysmeta_url = "/hsapi/resource/{res_id}/scimeta/elements/".format(res_id=self.pid)

   put_data = {

You mean it fails if we try to update any other core metadata elements?
What kind of errors you getting?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hydroshare/hydroshare/pull/1663, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGepPIQam69DoMADluHJaNoLK_UA9EVks5rEzIugaJpZM4LB2oC
.

@pkdash take another look - I've implemented all editable fields (according to the update method at hs_core/models.py:1871

+1

@pkdash Thanks. What is the policy on merging? Does the author merge after another team member +1's? Is this process documented anywhere?

@aphelionz Once all who reviewed give +1, then the author should merge. Sometimes @mjstealey also merges once he sees needed +1 are there. I don't think we have documented this process. @mjstealey may know if we have this documented in GitHub wiki.

@pkdash Ok cool. So the reviewers are those who appear in the "assignee" field?

@aphelionz Yes. I am kind of duplicating the "reviewers" and "assignees" fields. Unless I add the names to the 'assignees'  in the PR list page I am not able to figure out if a PR has been assigned to someone for review or not unless I open the PR. Is there a way to add the Reviewers column to the PR list page?

@pkdash That's fine! I just wanted to make sure. That makes total sense. I will now merge :)


Clean up ref name rules

Clean up checks on reference names to better conform to the guideline
here: https://git-scm.com/docs/git-check-ref-format
This fixes half of #6321
To see example of current problem, just try and create a branch or tag with a valid name containing allowed special characters like test+me. It will incorrectly say TagName must be a well-formed Git reference name
I've tried to add several extra tests as well since if a bad name gets by this check it can later through a less friendly 500 error if we try to create a branch with a bad name

Codecov Report

Merging #6437 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #6437      +/-   ##
==========================================
- Coverage   38.85%   38.85%   -0.01%
==========================================
  Files         365      365
  Lines       51413    51414       +1
==========================================
- Hits        19978    19977       -1
- Misses      28566    28568       +2
  Partials     2869     2869

Impacted Files
Coverage Δ

routers/repo/branch.go
58.19% <100%> (ø)
:arrow_up:

modules/validation/binding.go
100% <100%> (ø)
:arrow_up:

modules/auth/auth.go
50.4% <0%> (-0.81%)
:arrow_down:

Continue to review full report at Codecov.

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

Please send backport to release v1.7 and v1 8 branches

@techknowlogick since #6321 marked as v1.7.5 I think we should also back port to v1.7


Add support for using bad characters as separators

What:
Added the ability to use bad characters as separators (like   space).
Also added some logic to allow condensing whitespaces. This is useful for especially when a whitespace is set as a separator character
Why:
Currently, we cannot add bad characters as separators. Due to this, we cannot use common separators like   (space)
How:
Added logic to check for separator and removed it from the badChars. Also added logic to allow user to condense whitespaces while testing the changes
Checklist:

[X ] Documentation
[X] Tests
[X] Ready to be merged

Closes #4 and #5

@milamer Checking in to see your thoughts on this 😄

Hey @hritikaggarwal2
Thanks for the PR!
I understand the intention to allow more flexibility in using characters as separators, but this opens up several potential issues.
Using characters like whitespace and other "bad" characters can cause conflicts, for example [ since Tailwind already uses for arbitrary variants, and   as it acts as a class separator.
To avoid unintended issues, we’d need thorough testing before considering this change.
I'll reflect on it more and get back to you.

Hey @milamer,
That's a great point! I have been testing this solution with   (whitespaces) and as long as I set compressWhitespaces to true, I don't get any issues.
But I understand that there might not be an easy fix for Tailwind special characters like [. To go around this, maybe the list of bad characters can be trimmed down to being characters that we absolutely can't work with (like [ and ])!?
Also, as I am thinking about this, introducing another function such that the continuous separator characters can be condensed down together (ex. a:(mx-4,,,,my-2) => a:(mx-4,my-2) => a:mx-4 a:my-2) might also be useful. This can avoid us explicitly setting compressWhitespaces for whitespace separators and also improve the overall use cases
Appreciate your response and looking forward to your thoughts on this :)


Vulnerability roundup 103: file-roller-3.36.4: 1 advisory [3.9]

search, files

[ ] CVE-2020-36314 CVSSv3=3.9 (nixos-20.09)

Scanned versions: nixos-20.09: 86d3781c390.
Cc @dasj19
Cc @hedning
Cc @jtojnar
Cc @worldofpeace

Based on release notes, 3.36.4 did seemingly contain a fix for this CVE. Regardless, 20.09 is EOL.


Export classifications in segments

Describe your change here.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

For currently problematic workflows/projects, we'll want to be able to create smallish segments to get through the backlog of huge annotations/tasks. Is that something we might want to be able to do via rake task?


Bad formatting for requirements

As described in inaka/hexer.mk#15:
The requirements in the package metadata is being published in the wrong format. If the take katana v0.2.20 as example the requirements are listed as [{<<"xref_runner">>, <<"0.2.4">>}, {<<"inaka_aleppo">>, <<"0.9.5">>}] but the should be in this format:
[{<<"xref_runner">>, [
  {<<"app">>, <<"xref_runner">>},
  {<<"requirement">>, <<"0.2.4">>},
  {<<"optional">>, false}]},
 {<<"inaka_aleppo">>, [
  {<<"app">>, <<"inaka_aleppo">>},
  {<<"requirement">>, <<"0.9.5">>},
  {<<"optional">>, false}]}
]

Specification: https://github.com/hexpm/specifications/blob/master/package_metadata.md

@ericmj: Just to confirm, the actual value in the example should be…
[{<<"xref_runner">>, [
  {<<"app">>, <<"xref_runner">>},
  {<<"requirement">>, <<"0.2.4">>},
  {<<"optional">>, false}]},
 {<<"inaka_aleppo">>, [
  {<<"app">>, <<"aleppo">>},
  {<<"requirement">>, <<"0.9.5">>},
  {<<"optional">>, false}]}
]

In other words, the app name in the second package should be aleppo, which is the actual app name, although the package is called inaka_aleppo. Is that correct?

That is exactly correct.


HIP-432: Long Term Scheduled Transaction

Signed-off-by: Ricky Saechao<EMAIL_ADDRESS>Description:

This PR allows developers to set an arbitrary time for schedule transactions to execute.
Related issue(s):

https://github.com/hashgraph/hedera-sdk-swift/issues/412

Fixes #
Notes for reviewer:

CI/CD pipeline: macos-12 is deprecated as of 12/03/24 for Github Actions
Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

@hashgraph/devops-ci Can all build/test macos-12 be removed from the CI? This runner version has been deprecated, and i've swapped out it for macos-13.


Add api/v1/designtypes URL to server

Return a list of distinct design types using the type column from the design table in the database. Also add aan API test case to exercise this capability.

The server is ready for multiple types, such that,  React Component is possible. Merged into master, closing.


Move crio default sock to /var/run/crio/crio.sock

Fixes #1028
Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>

Assuming happy tests, LGTM.  I did a grep and found only the same ones that you changed.

/test all

/test e2e

Kube and cadvisor rely on /var/run/crio.sock - we should make a PR in kube to change this as well

created https://github.com/google/cadvisor/pull/1773 and  https://github.com/kubernetes/kubernetes/pull/54136

/test ami

this would break kube where the constant is hard-coded.
can we make sure we do not break while making this change so we have time to transition?
https://github.com/kubernetes/kubernetes/pull/52297/files#diff-a1e3deda6194578220521173637fbf46L44

I created PRs in kube and cadvisor to take care of this change

I think we should do this in stages. Create a symbolic link from /var/run/crio.sock to /var/run/crio/crio.sock,
So we continue to work with older kubernetes/minikube/minishift ...
Perhaps in crio-1.9 frame once these other patches are merged we remove the symbolic link.

We can control this in crio.conf so can still start crio with /var/run/crio.sock after this change.

On Oct 18, 2017, at 8:44 AM, Daniel J Walsh<EMAIL_ADDRESS>wrote:
I think we should do this in stages. Create a symbolic link from /var/run/crio.sock to /var/run/crio/crio.sock,
So we continue to work with older kubernetes/minikube/minishift ...
Perhaps in crio-1.9 frame once these other patches are merged we remove the symbolic link.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@runcom -- i reviewed your pulls, but we need to support a smooth transition.  we will need to pick those changes back to origin/master.  please work with @sjenning to get them in place for where you want the crio.socket to be located for what will roll out to our clusters.
@mrunalp -- good to know this is controllable.

/test ami_fedora

This is ready now.

Let's not establish bad precedent.
This branch of development is targeting Kubernetes 1.8.  Kubernetes 1.8 has shipped, and we cannot just make changes that assume Kubernetes 1.8 will change (its too late).  As a result, we should queue this change up for Kubernetes 1.9 after we have merged @runcom change in cAdvisor, and kubernetes/kubernetes master branches.
I expect we will release a version of CRI-O day and date with Kubernetes 1.9 releases.
If @smarterclayton request is needed for origin 1.7 or 1.8, we should handle that separately with a unique branch, but we need to be disciplined on this stuff.

I am fine reverting this if we feel strongly but this PR doesn't break kube 1.8 as I mentioned earlier https://github.com/kubernetes-incubator/cri-o/pull/1030#issuecomment-337637550. We ship cri-o rpms/configs and can set the listen socket to continue to point to /var/run/crio.sock.


[FLINK-8415] Unprotected access to recordsToSend in LongRecordWriterThread#shutdown()

What is the purpose of the change
This pull request marked a method as synchronized keyword.
Brief change log

marked method LongRecordWriterThread#shutdown as synchronized

Verifying this change
This change is already covered by existing tests, such as (StreamNetworkThroughputBenchmark#tearDown).
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @tillrohrmann

Changes look good to me @yanghua. Merging this PR.


Add Ender support

Hi there! I've made it so iScroll can be installed as an ender module
There's instructions on the README on how to add it to an Ender build, and I set the package version to your current build. There's also an example in the examples/ directory. Everything looks good, and works well.
cheers,
Dustin
commits

create example page
set proper version
make note in README on Ender support

Just heads up: https://github.com/cubiq/iscroll/issues/147
Minified version is broken, but unminified is fine.


Publish /error_id and /mg400_connected topics for other ROS2 nodes to handle errors

Previous implementation runs ClearError() when mg400_node detects an MG400 error. But this is inconvenient when we want to branch the behavior when MG400 faces an error. For example, some program may want to stop the system when mg400 detects a collision, while other program may not.
To overcome this problem,

remove ClearError() from mg400_node's error handler
add a new topic error_id, which publishes ErrorID when MG400 faces an error so other ROS2 node can know it and able to run ClearError()

In addition, previous implementation didn't provide any information about the MG400 connection and this also makes it difficult for other ROS2 nodes to handle the issue, so

add a new topic mg400_connected, which is a transient_local topic and publishes true if connected and false if not.

@m12watanabe1a I've fixed the issues above.


D88: Add read support for multiple disks in one file.

I'll think about how to integrate this. I'm not keen on multi-disk files (nor compressed disk files) as that's what filesystems and archivers are for. But we should be able to read existing multi-disk files for sure.

Do you have an example multi-disk D88 file to hand by the way?

I don't even have any d88 files to hand. Can you give a URL for some?
I'm thinking of extending the :: option syntax but it's not been used when reading existing image files before so it's actually a bit of work. But my.d88::index=1 (for example) would be quite clean.

This is basically done now in master using the ::index=N option syntax.
It's a bit convoluted because currently options get applied after the file is opened and parsed. Which is pretty dumb. There is more lifting to be done to be able to pass option lists either to __init__ or to the from_file and to_file constructors directly. When that's done, we won't need to parse all the disks in a file, and we can error on out-of-range index more quickly and cleanly.

By the way I also am missing test files for a range of other PC-98 formats you added. Like DCP for example, which I think has been broken for a while. Do you have some example images of each type you could upload for me?


Nessus Synopsis is overwritten with Description

https://github.com/austin-taylor/VulnWhisperer/blob/9049b1ff0fca3b1af09b6ed668e619b2468ae72a/vulnwhisp/vulnwhisp.py#L378
Not sure if this was intended or just an artefact from commit cec794daa822823b9bcb6c94dbc2c277c2c54014. If we want to throw away Synopsis then we should drop the column. If this was unintended then we're losing the summary information in the Synopsis.
I've erred on the side of caution and kept both Synopsis and Description in pull #68. That way a user can decide to drop/rename the field/s with Logstash.

Fixed in #68


Add row_index to FacilityListItem

Overview
Adds a row_index field to FacilityListItem to make uploading to AWS Batch Array Jobs easier.
Also cleans up some lint.
Connects #160
Demo
SELECT id, row_index, status, processing_started_at, processing_completed_at, processing_results, facility_id, facility_list_id
FROM api_facilitylistitem
LIMIT 5;

 id | row_index |  status  | processing_started_at | processing_completed_at | processing_results | facility_id | facility_list_id
----+-----------+----------+-----------------------+-------------------------+--------------------+-------------+------------------
  1 |         0 | UPLOADED |                       |                         | {}                 |             |                1
  2 |         1 | UPLOADED |                       |                         | {}                 |             |                1
  3 |         2 | UPLOADED |                       |                         | {}                 |             |                1
  4 |         3 | UPLOADED |                       |                         | {}                 |             |                1
  5 |         4 | UPLOADED |                       |                         | {}                 |             |                1
(5 rows)

\d api_facilitylistitem;
                                             Table "public.api_facilitylistitem"
         Column          |           Type           | Collation | Nullable |                     Default
-------------------------+--------------------------+-----------+----------+--------------------------------------------------
 id                      | integer                  |           | not null | nextval('api_facilitylistitem_id_seq'::regclass)
 row_index               | integer                  |           | not null |
 raw_data                | text                     |           | not null |
 status                  | character varying(200)   |           | not null |
 processing_started_at   | timestamp with time zone |           |          |
 processing_completed_at | timestamp with time zone |           |          |
 processing_results      | jsonb                    |           | not null |
 name                    | character varying(200)   |           | not null |
 address                 | character varying(200)   |           | not null |
 country_code            | character varying(2)     |           | not null |
 geocoded_point          | geometry(Point,4326)     |           |          |
 geocoded_address        | character varying(200)   |           |          |
 created_at              | timestamp with time zone |           | not null |
 updated_at              | timestamp with time zone |           | not null |
 facility_id             | character varying(32)    |           |          |
 facility_list_id        | integer                  |           | not null |
Indexes:
    "api_facilitylistitem_pkey" PRIMARY KEY, btree (id)
    "api_facilit_facilit_196927_idx" btree (facility_list_id, row_index)
    "api_facilitylistitem_facility_id_7c94a3a3" btree (facility_id)
    "api_facilitylistitem_facility_id_7c94a3a3_like" btree (facility_id varchar_pattern_ops)
    "api_facilitylistitem_facility_list_id_ad3f851d" btree (facility_list_id)
    "api_facilitylistitem_geocoded_point_id" gist (geocoded_point)
Foreign-key constraints:
    "api_facilitylistitem_facility_id_7c94a3a3_fk_api_facility_id" FOREIGN KEY (facility_id) REFERENCES api_facility(id) DEFERRABLE INITIALLY DEFERRED
    "api_facilitylistitem_facility_list_id_ad3f851d_fk_api_facil" FOREIGN KEY (facility_list_id) REFERENCES api_facilitylist(id) DEFERRABLE INITIALLY DEFERRED
Referenced by:
    TABLE "api_facility" CONSTRAINT "api_facility_created_from_id_3971db46_fk_api_facil" FOREIGN KEY (created_from_id) REFERENCES api_facilitylistitem(id) DEFERRABLE INITIALLY DEFERRED
    TABLE "api_facilitymatch" CONSTRAINT "api_facilitymatch_facility_list_item_i_ac429b38_fk_api_facil" FOREIGN KEY (facility_list_item_id) REFERENCES api_facilitylistitem(id) DEFERRABLE INITIALLY DEFERRED

Testing Instructions

Check out this branch and clear your schema and run migrations
Upload a CSV and inspect the api_facilitylistitem table
Ensure row_index is correctly populated

Ready for another look!

Thanks for all the pointers! This is finally ready for another look.


Add Table of Contents in README.md file

I would like to add a Table of Contents section to the README file to enhance navigation and provide a more user-friendly experience for end users. This will enable quick access to key sections and improve the overall readability of the project.
Please assign me this task under gssoc-ext and hacktoberfest-accepted label.

@suryanshsk I have added the Table of Contents section under #195 issue. Please merge it.


fix(orchestrator): implement retrigger instance

FLPATH-1567
https://issues.redhat.com/browse/FLPATH-1567

@batzionb @gciavarrini @pkliczewski


ug: dg: Move PKI setting details from rf to ug

Signed-off-by: Mike<EMAIL_ADDRESS>Readiness

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Why merge this PR? What does it solve?
Checklist
Optional. Add a 'x' to steps taken.
You can fill this out after opening the PR. "Did I..."

[x] Run spelling and grammar check, preferably with linter.
[ ] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[ ] Review for wordiness
[ ] Match tone and style of page/section.
[x] Run make linkcheck.
[ ] View HTML in a browser to check rendering.
[ ] Use semantic newlines.
[ ] follow best practices for commits.

[ ] Descriptive title written in the imperative.
[ ] Include brief overview of QA steps taken.
[ ] Mention any related issues numbers.
[x] End message with sign off/DCO line (-s, --signoff).
[x] Sign commit with your gpg key (-S, --gpg-sign).
[ ] Squash commits if needed.

[ ] Request PR review by a technical writer and at least one peer.

Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.

Docs for 9302b186daa3a3cdf9f5c58111cc6f20d9cc976a are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1543/docs/artifacts/html/index.html

This is just movement of Under the hood section from reference-manual/security/device-gateway.rst to user-guide/device-gateway-pki/device-gateway-pki.rst.
Also, some lint errors are fixed.

Docs for aaa91f60bbfd8683dc99b9041018b99d5f38e7f2 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1544/docs/artifacts/html/index.html

@mike-sul you can go ahead and merge this whenever you are ready.

@kprosise - one thing we also need to do related to this is the title of that page Managing Your Device Gateway. We've gotten feedback that people think it means they'll have to run their own device gateway which isn't what we were trying to say.

one thing we also need to do related to this is the title of that page Managing Your Device Gateway.

@doanac Would you like me change it in this PR?
It could be Managing Device Gateway PKI or Managing Factory PKI...

i don't mind changing the title here. I'm not sure what that title should be, but it's as good a time as any.


Celery Config within superset_config not respected when running superset worker

Make sure these boxes are checked before submitting your issue - thank you!

[x ] I have checked the superset logs for python stacktraces and included it here as text if any
[x I have reproduced the issue with at least the latest released version of superset
[ x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
{"GIT_SHA": "", "version": "0.20.4"}
Expected results
superset worker use the celery config specified within superset_config.py
Actual results
superset worker uses default celery config
Steps to reproduce
Linux-4.4.0-38-generic-x86_64-with-Ubuntu-14.04-trusty 2017-11-03
Superset {"GIT_SHA": "", "version": "0.20.4"}
Celery 4.1.0
superset_config.py
class CeleryConfig(object):
    BROKER_URL = 'redis://localhost:6379/'
    CELERY_IMPORTS = ('superset.sql_lab', )
    CELERY_RESULT_BACKEND = 'redis://localhost:6379/'
    CELERY_ANNOTATIONS = {'tasks.add': {'rate_limit': '10/s'}}
    CELERYD_LOG_LEVEL = 'DEBUG'

CELERY_CONFIG = CeleryConfig
HTTP_HEADERS = {
    'super': 'header!'
}

from werkzeug.contrib.cache import RedisCache
RESULTS_BACKEND = RedisCache(
    host='localhost', port=6379, key_prefix='superset_results')

LOG_LEVEL = 'DEBUG'

CACHE_CONFIG = {'CACHE_TYPE': 'redis',
    'CACHE_REDIS_HOST': 'redis://localhost',
    'CACHE_REDIS_PORT': 6379,
    'CACHE_REDIS_DB': 0,
    'CACHE_REDIS_URL': 'redis://localhost:6379/0'}

calling the command superset worker within the commandline produces the default celery config.  Important to note that superset_config.py is within the python path.
-------------- celery@server1 v4.1.0 (latentcall)
---- **** -----
--- * ***  * -- Linux-4.4.0-38-generic-x86_64-with-Ubuntu-14.04-trusty 2017-11-03 08:28:42
-- * - **** ---
- ** ---------- [config]
- ** ---------- .> app:         __main__:0x7fdfd41b6590
- ** ---------- .> transport:   amqp://guest:**@localhost:5672//
- ** ---------- .> results:     disabled://
- *** --- * --- .> concurrency: 32 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
 -------------- [queues]
                .> celery           exchange=celery(direct) key=celery

Are you sure it's in your PYTHONPATH?

100% - its the first thing I checked. Interestingly, if I modify
superset_config.py with incorrect arguments for the celery redis url which
implies the config is being read properly. However running superset worker produces the error.  I've since performed a reinstall using the
virtual env and noticed an error regarding lacking redis during the  fabmanager create-admin --app superset step from
https://superset.incubator.apache.org/installation.html. Moving through the
remaining config steps and copying my superset_config.py to the virtual env
path did the trick.
On Fri, Nov 3, 2017 at 9:42 AM, Riccardo Magliocchetti <
<EMAIL_ADDRESS>wrote:

Are you sure it's in your PYTHONPATH?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-superset/issues/3770#issuecomment-341706464,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGtQztRBbiADRi4XfDX_No0tII5OSKWBks5syxhWgaJpZM4QRC5K
.

--
Gavan Acton

So now it work?

Beautifuly.
On 3 Nov 2017 10:31 am, "Riccardo Magliocchetti"<EMAIL_ADDRESS>wrote:

So now it work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-superset/issues/3770#issuecomment-341719795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGtQztZb_kojzkHikQO6LbX3Uli2-bVDks5syyPKgaJpZM4QRC5K
.

Please close the issue then :)


Feat: Support vLLM with OpenAI compatible chat API

Currently vLLM will throw the following error when Verba send a chat completion request:
✘ WebSocket Error: Invalid response object from API:
'{"object":"error","message":"Conversation roles must alternate
user/assistant/user/assistant/...","type":"BadRequestError","param":null,"code":400}'
(HTTP response code was 400)

I believe this is due to Verba not correctly alternating between user/assistant/user as the error message indicates.
Steps to reproduce:

Deploy vLLM with openai compatible endpoint and mistral v2 7b
Set OPENAI_BASE_URL=http://vlm-end-point/v1

Maybe we should fix it on the vLLM side by doing something like this: https://github.com/vllm-project/vllm/discussions/2112#discussioncomment-9224099

Closing this since I was able to fix it by using a custom chat template for Mistral with vLLM


cnspec: 9.13.0 -> 9.14.0

Diff: https://github.com/mondoohq/cnspec/compare/refs/tags/v9.13.0...v9.14.0
Changelog: https://github.com/mondoohq/cnspec/releases/tag/v9.14.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.


Adding CBMC proof for TCP handle state

Description
This PR includes the CBMC proof for memory safety of the prvTCPHandleState function.

Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

@danielsn I have addressed the comments.


How to get currently selected account?

Hi,
I'm trying to interact with our smart contract with my currently selected account.
I succeded getting an instance of the contract for read only queries with
const contract = new ethers.Contract(contractAddress, abi, provider);
where provider is your evm-provider.
I see in the ethers doc that for state changing operations I need a signer (const contract = new ethers.Contract(contractAddress, abi, signer);).
I suppose the signer is the currently connected account in the polkadot{.js} extension.
I have the Chrome extension installed with a new account, and allowed it to work with every chain.

I read on the "Migration: From Web3.js" at docs.ethers.io that I should be able to get a signer with
const signer = provider.getSigner();
but I tried it with your evm-provider and it didn't work.
How can I obtain it?
Thanks

I just connected polkadot{.js} Chrome extension with the NPM package @polkadot/extension-dapp, using the following code:
await web3Enable('my cool dapp');
const allAccounts = await web3Accounts();

and I was able to get a dialog and after accepting the request I got my hands on my address from inside the code.
Now I see your Signer has the following constructor sign constructor(provider: Provider, address: string, signingKey: SigningKey);.
What I need to pass as SigningKey?

ui-examples repo has a single file example on how to use the extension for interacting with EVM:"

accountSigner is set here: https://github.com/reef-defi/ui-examples/blob/master/packages/example-react/src/index.tsx#L189
and then used for the signing here: https://github.com/reef-defi/ui-examples/blob/master/packages/example-react/src/index.tsx#L112

SigningKey can either be the extension signer like above (it will pop up the dialog to sign the transaction) or a plain static signing key for non-interactive use (for example background job or CLI application) as seen here.

Thank you.


charts/openshift-metering: Fix sum fields on pod-usage-memory-bytes

The label_replace was moved to the outside of the sum, so the sum needs
to be on pod_name, not pod.

/retest


Multiple Coveralls notifications

Could it be caused by the fact that we are not doing this? https://coveralls.zendesk.com/hc/en-us/articles/203484329-Parallel-Build-Webhook And multiple builds are sending their results to Coveralls.
We'd also need to update node-coveralls to a newer version, current version is 2.11.13, we have 2.11.6 which was before support for parallel builds was added.

@hyperreality can you open a PR for the coveralls version?

Can you also include the travis setup as they provide? seems like we need to put a token there and I remember there's a way to build with secret parameters

@lirantal Apologies, I anticipate being very busy for the next few weeks, can't look at this right now.

Just throwing this out there: Can we disable comments all together? I find them very annoying since it's already displayed in the CI portion.

Good call, it's just a quick fix in the Coveralls settings.

@lirantal Is this something that you can do or give @mleanos and/or I access to do?

I disabled the comments.
I think coveralls allows only project admins to configure these settings. I didn't drill in but this is what it looks like.


Editor Graph Example

Add an example of a interactive editor for the graph ( upload dot files, etc ).

Going to skip this for now.


include validation function that makes sense for individual-based simulators

We currently allow things that are permissible in a coalescent framework, but makes no sense for individual-based simulators. E.g.

0 < N < 1, and
epoch and migration time spans less than 1 generation in length (either directly, or indirectly when using time_units!="generations").

One way for an individual-based simulator to check this, is to convert the relevant numbers to integers, then rebuild the graph. This will be (or should be) a fairly common operation, so it seems reasonable that we should provide such functionality as part of demes.
What if we had something like this?
class Graph:

    ...

    def frob_time_and_size(self, func):
        """
        Return a copy of the graph with times and sizes modified by func.
        """
        b = Builder.fromdict(self.asdict())

        for deme in b.get("demes", []):
            deme["start_time"] = func(deme["start_time"])
            for epoch in deme.get("epochs", []):
                epoch["start_time"] = func(epoch["start_time"])
                epoch["end_time"] = func(epoch["end_time"])
                epoch["start_size"] = func(epoch["start_size"])
                epoch["end_size"] = func(epoch["end_size"])

        for migration in b.get("migrations", []):
            migration["start_time"] = func(migration["start_time"])
            migration["end_time"] = func(migration["end_time"])

        for pulse in b.get("pulse", []):
            pulse["time"] = func(pulse["time"])

        return b.resolve()

And then a simulator would call graph.frob_time_and_size(int). Or to scale the simulation by a factor Q: graph.frob_time_and_size(lambda x: int(x / Q)).

Seems reasonable - I expect @molpopgen will have thoughts?

On second though, it should probably be frob_time_and_size(self, time_func, size_func), so that Graph.in_generations() can be implemented using it.

  I'm sure we will come across what's necessary to check while working on that.

@apragsdale -- let's add a test of this when working on the fwdpy11 integration.   We can just make a model with some small time intervals.


Re-visit GetWorkflowInputs()

We use this function to match the inputs to a workflow https://github.com/slsa-framework/slsa-verifier/blob/main/verifiers/internal/gha/slsaprovenance/common.go#L12.
We seem to always look at the trigger workflow's input. We may want to change this for our own builders, since our builders using v1.0 specs have a different interface: we should match on the re-usable workflow inputs rather than the trigger workflow's inputs for v1.0 specs.

We may also rename this to externalParameters, to be consistent with v1.0


Doesnt find the password

I tried using this in a controlled expiriment where i knew the password and i put it in my password list but it said it was incorrect

I believe i have fixed it i somehow maneged to type a password on my account that i didnt know so i had it reset and now it works it was my fault i am sorry


JSC: change fpu get/set mask function return code

Originally done as part of trac #22 and isolated for CCB review purposes.
Changes the return code of the OS_FPUExcSetMask() and OS_FPUExcGetMask() functions to return OS_ERR_NOT_IMPLEMENTED for builds that do not have such a mask register.

Imported from trac issue 117.  Created by jphickey on 2015-11-06T17:22:48, last modified: 2015-12-02T10:32:06

Trac comment by jphickey on 2015-11-09 12:06:55:
Commit [changeset:dcfd8e6] is ready for CCB review, branch trac-117-change-fpumask-retcode

Trac comment by jphickey on 2015-11-09 12:09:37:
I have reviewed the change, mostly OK however it does effectively make //two// return statements when the #else branch is followed.
The first one returns OS_ERR_NOT_IMPLEMENTED, the second one is unreachable.
I suspect code checkers may complain about this construct, due to the unreachable second return statement?

Trac comment by sstrege on 2015-11-16 18:04:09:
I don't understand where the second return is occurring when the #else branch is followed.  Please elaborate.

Trac comment by jphickey on 2015-11-17 10:20:07:
Replying to [comment:3 sstrege]:

I don't understand where the second return is occurring when the #else branch is followed.  Please elaborate.

In the case where e.g. _PPC_ is //NOT// defined, the #else preprocessor branch is followed.  This results in the compiler seeing a function that effectively looks like this (#if half taken out):
{{{
int32 OS_FPUExcGetMask(uint32 *mask)
{
return (OS_ERR_NOT_IMPLEMENTED);
return(OS_SUCCESS);
}
}}}

Trac comment by sstrege on 2015-11-17 12:09:19:
OK, I see.  To keep the code completely kosher I recommend setting using a variable instead:
int32 OS_FPUExcSetMask(uint32 mask)
{
int32 Status = OS_SUCCESS;
#if defined(_PPC_) && CPU != PPC440
 vxFpscrSet( mask);
#else
 Status = OS_ERR_NOT_IMPLEMENTED;
#endif
 return(Status);

}
For both of the functions.

Trac comment by sstrege on 2015-11-18 15:19:14:
11/17/15 CCB: Update code to perform single return as displayed in comment 5

Trac comment by glimes on 2015-12-02 10:31:59:
ic-2015-11-20 is now included in the development branch.

Trac comment by glimes on 2015-11-20 15:38:22:
now part of ic-2015-11-20


[Loligo#47] Add indexes to sort fields

What to do?
for collection fields add index to:

type CollectionEntity @entity {
  createdAt: DateTime!
  distribution: Int!
  floor: BigInt!
  updatedAt: DateTime!
  nftCount: Int!
  supply: Int!
  volume: BigInt!
}

On NFT Entity
type NFTEntity @entity {
  burned: Boolean!
  createdAt: DateTime!
  name: String @index
  price: BigInt
  updatedAt: DateTime!
}

Tasks:

[ ] update selected fields with index
[ ] perform a migration
[ ] do PR for (stick/rubick/snek)

Parent:

kodadot/loligo#47

@roiLeo nowhere to be found 🥺

👋 👁 👄 👁

won't do on rubick side lol, indexer to big

won't do on rubick side lol, indexer to big

So you are afraid of big things?
(joking ofc) will do that myself

RMRK be like


Cannot send files/images through wechat

Description
I am unable to send any files or pictures through the wechat client, the images just show the loading indicator forever and never send. And with files it just says failed to upload.
Specifications

Version of Electron v1.1.0
OS: Archlinux kernel 4.5.4

Same issue...

I have same issue on Web WeChat with Windows 8.1 & Google Chrome.
Receiving photo has no problem.
I can send images/photos from both up-to-date clients on iPhone 5c or Xperia A2, though.

If that is upstream related, I would rather close this issue and wait their fix come out.


docs: document Splunk docker image with java

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


[PE-D][Tester B] Possibly misleading UG reference images for list commands

The list function works as intended! But one improvement that can be made to the UG is showing the photo of just the command.
To be more specific, doing list p  lists all persons. Here is the screenshot when I execute this command

Here is the screenshot from the UG

The UG's screenshot can be slightly misleading, since the view command (for detailed view) as well as find command was used (companies not showing)? With the current photo, users might expect to see the detailed view, as well as company list to be blank when they execute the list command. Photo can be updated to show a more accurate representation :)

Labels: type.DocumentationBug severity.VeryLow
original: bkjwjason/ped#3

Need to update the sceenshot on UG


ZEVA - New security role

Describe the Bug
A new user role has appeared 'Manage ZEV'

Expected Behaviour
This role should not exist, the function is part of the ZEVA User role.
Actual Behaviour
The BCeID user admin page now has a 4th role to Manage ZEV, it should not be there.
Implications
Additional role is not required.
Dev Checklist

[ ] Check openshift pod in production to see if this extra role exists in the roles table there.
[ ] Check main branch for code surrounding this role
[ ] Remove extra role from dev/test and snapshot databases if it does exist there.

Steps To Reproduce
Steps to reproduce the behaviour:
User/Role: BCEID\Organization Administrator

Go to Administration tab
Click on an existing user or New User
See new user role

Notes
Currently, this role only appears in the dev environment; this is probably just a data issue (need to remove this role from the role table)

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @tim738745

The "Manage ZEV" role is not in the prod database, and as far as I can tell, nothing in the upcoming deployment to prod will add that role. There is a fixture from some time ago that adds this role (amongst others), and that's probably why it's there in Dev and Test; it could be the case that it, and its dependencies, were manually deleted from prod.

@tim738745 can we remove the Manage ZEV role from dev and test?

@airinggov I cleaned it up; you shouldn't see that role anymore on test or dev

@tim738745 thanks Tim, I guess we'll have to do that in Julian's test data too


First Terminal Does Not Follow Default

Issue Type: Bug
My terminal.integrated.defaultProfile.linux setting is zsh.
However, when VSCode first starts, when it re-starts, or after opening a project, the Terminal window opens with -bin/tcsh, as shown in the attached.
Logging out of this shell and then creating a new one will correctly launch a zsh, but the first one comes up with tcsh.
This is a duplicate of #142220, which was closed because I had been associating the issue with Python and Virtualenv. However, this problem exists even when neither of those are enabled for the project.
VS Code version: Code - Insiders 1.65.0-insider (Universal) (97c1e76d668d23d568044feb31083407f4c4b1ed, 2022-02-07T08:54:27.868Z)
OS version: Darwin x64 21.3.0
Restricted Mode: No
Remote OS version: Linux x64 3.10.0-1062.1.2.el7.x86_64

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.25GB free)

Process Argv
--crash-reporter-id 006e15b5-a669-4bc7-a1f6-95633fbbc2b2

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: scv-bphunter01.csg.apple.com

OS
Linux x64 3.10.0-1062.1.2.el7.x86_64

CPUs
Intel(R) Xeon(R) Gold 6136 CPU @ 3.00GHz (2 x 2992)

Memory (System)
7.64GB (2.07GB free)

VM
100%

Extensions (23)

Extension
Author (truncated)
Version

vscode-select-by-indent
hab
0.3.0

vscode-peacock
joh
4.0.0

remote-ssh
ms-
0.70.0

sublime-keybindings
ms-
4.0.10

vs-qalc
nor
0.1.8

jinja-snippets
nox
1.0.0

material-icon-theme
PKi
4.12.1

rewrap
stk
1.16.1

jinja
who
0.0.8

increment-selection
alb
0.2.0

clock
ang
1.0.1

better-toml
bun
0.3.2

systemverilog
eir
0.11.3

search-editor-apply-changes
jak
0.1.1

align-by-regex
jan
1.0.4

git-graph
mhu
1.30.0

perforce
mjc
4.15.2

vscode-text-tables
Rom
0.1.5

vscode-paste-and-indent
Rub
0.0.8

todotasks
san
0.5.0

sort-lines
Tyr
1.9.1

change-case
wma
1.0.0

markdown-all-in-one
yzh
3.4.0

(2 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
wslgetstartedc:30421358
vscop453:30404998
vsclayoutctrc:30405799
pythonvsnew555:30426298
vscscmwlcmt:30428973
azactmsalcf:30432849
vscgsvidc:30433759

We don't even source a tsch as a default profile, so I'm not sure where that would be coming from.
Can you pls provide me with your settings.json?

VSCode allows defining custom terminals, somewhere along the lines of:
  "terminal.integrated.defaultProfile.windows": "Custom initialized PowerShell",
  "terminal.integrated.profiles.windows": {
    "Custom initialized PowerShell": {
      "path": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
      "args": [
        "-NoExit",
        "-Command",
        ".vscode/startup.ps1"
      ]
    }
  },

In my case, this is in the workspace settings.json and I also experience the issue where the very first terminal VSCode opens at startup, is not the one I have set up.

I have removed terminal.integrated.profiles.windows from my user settings. Now when I open vscode I get my preferred terminal specified in terminal.integrated.defaultProfile.windows.

I have removed terminal.integrated.profiles.windows from my user settings. Now when I open vscode I get my preferred terminal specified in terminal.integrated.defaultProfile.windows

We don't even source a tsch as a default profile, so I'm not sure where that would be coming from.
Can you pls provide me with your settings.json?

Here is my global settings.json. I have put the terminal settings at the top for your convenience.
{
   "terminal.integrated.tabs.enabled": true,
    "terminal.integrated.profiles.osx": {
        "bash": {
            "path": "bash",
            "icon": "terminal-bash"
        },
        "zsh": {
            "path": "zsh"
        },
        "fish": {
            "path": "fish"
        },
        "tmux": {
            "path": "tmux",
            "icon": "terminal-tmux"
        },
        "pwsh": {
            "path": "pwsh",
            "icon": "terminal-powershell"
        }
    },
    "terminal.integrated.defaultProfile.linux": "zsh",
    "terminal.integrated.profiles.linux": {
        "bash": {
            "path": "bash"
        },
        "zsh": {
            "path": "zsh"
        },
        "fish": {
            "path": "fish"
        },
        "tmux": {
            "path": "tmux",
            "icon": "terminal-tmux"
        },
        "pwsh": {
            "path": "pwsh",
            "icon": "terminal-powershell"
        }
    },
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter-notebook"
    },
    "editor.renderIndentGuides": true,
    "editor.fontFamily": "Source Code Pro",
    "editor.fontSize": 14,
    "editor.matchBrackets": "near",
    "window.restoreFullscreen": true,
    "files.trimTrailingWhitespace": true,
    "editor.formatOnPaste": true,
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.fontWeight": "normal",
    "remote.SSH.remotePlatform": {
        "scv-bphunter01.csg.apple.com": "linux"
    },
    "git.ignoreLegacyWarning": true,
    "editor.detectIndentation": false,
    "files.exclude": {
        "**/__pycache__": true,
        "**/.mypy_cache": true,
        "**/.pytest_cache": true,
        "**/*~": true,
        "**/projName": true
    },
    "vscodeWorkspaceSwitcher.paths": [
        "~/vscode_workspaces"
    ],
    "vscodeWorkspaceSwitcher.showTreeView": false,
    "markdown-table-formatter.markdownGrammarScopes": [
        "markdown",
        "plaintext"
    ],
    "perforce.command": "/org/seg/tools/eda/perforce/perforce-v2020.1/bin/p4",
    "perforce.activationMode": "always",
    "git-graph.date.format": "ISO Date & Time",
    "gitlens.advanced.messages": {
        "suppressGitVersionWarning": true
    },
    "redhat.telemetry.enabled": false,
    "window.nativeTabs": true,
    "[yaml]": {
        "editor.insertSpaces": true,
        "editor.tabSize": 4,
        "editor.autoIndent": "keep",
        "editor.quickSuggestions": {
            "other": true,
            "comments": false,
            "strings": true
        }
    },
    "systemverilog.formatCommand": "",
    "python.terminal.activateEnvInCurrentTerminal": true,
    "python.terminal.launchArgs": [],
    "files.associations": {
        "*.md": "markdown",
        "*.jj": "jinja",
        "logfile": "log",
        "*.include": "makefile",
        "*diaglist": "perl",
        "*.svp": "systemverilog",
        "*.toml": "toml",
        "*.f": "plaintext",
        "*.hdr": "systemverilog"
    },
    "markdown.extension.print.onFileSave": true,
    "python.insidersChannel": "weekly",
    "python.testing.pytestEnabled": true,
    "editor.renderWhitespace": "none",
    "git.confirmSync": false,
    "workbench.iconTheme": "material-icon-theme",
    "perforce.fileShelveMode": "keep both",
    "systemverilog.disableLinting": true,
    "clock.format": "yyyy-mm-dd HH:MM",
    "clock.alignment": "Right",
    "notebook.cellToolbarLocation": {
        "default": "right",
        "jupyter-notebook": "left"
    },
    "pythonTestExplorer.testplanPath": "",
    "testExplorer.addToEditorContextMenu": true,
    "testExplorer.showOnRun": true,
    "pythonTestExplorer.testFramework": "pytest",
    "diffEditor.ignoreTrimWhitespace": false,
    "files.autoSave": "afterDelay",
    "editor.tabCompletion": "on",
    "systemverilog.forceFastIndexing": false,
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "scm.repositories.visible": 1,
    "git.autoRepositoryDetection": "subFolders",
    "systemverilog.includeIndexing": [
        "**/*.{sv,v,svh,vh}"
    ],
    "perforce.ignoredChangelistPrefix": "z-",
    "remote.SSH.lockfilesInTmp": true,
    "python.linting.mypyEnabled": true,
    "open-file-from-path.regExp": "['\"]([^'\"]+)['\"]",
    "open-file-from-path.matchFileName": true,
    "todo.indentation": "    ",
    "editor.guides.bracketPairs": true,
    "systemverilog.compilerType": "VCS",
    "systemverilog.documentSymbolsPrecision": "declaration",
    "systemverilog.launchConfiguration": "",
    "liveServer.settings.donotShowInfoMsg": true,
    "window.titleBarStyle": "native",
    "workbench.editor.highlightModifiedTabs": true,
    "explorer.openEditors.visible": 4,
    "search.searchEditor.defaultNumberOfContextLines": 0,
    "search.searchEditor.reusePriorSearchConfiguration": true,
    "search.searchEditor.doubleClickBehaviour": "openLocationToSide",
    "python.experiments.enabled": false,
    "python.testing.pytestPath": "poetry run pytest",
    "search.mode": "reuseEditor",
    "workbench.colorTheme": "GitHub Dark Default",
    "search.followSymlinks": false,
    "search.useGlobalIgnoreFiles": true,
    "search.useParentIgnoreFiles": true,
    "search.quickOpen.history.filterSortOrder": "recency",
    "python.formatting.provider": "black",
    "editor.formatOnSave": true,
    "mypy.targets": [],
    "python.formatting.blackArgs": [
        "-l 110"
    ],
    "testExplorer.useNativeTesting": true,
    "mypy.runUsingActiveInterpreter": true,
    "python.linting.mypyArgs": [
        "--follow-imports=silent",
        "--show-column-numbers"
    ],
    "[python]": {
        "editor.defaultFormatter": "ms-python.python"
    },
    "remote.SSH.localServerDownload": "always",
    "remote.SSH.useLocalServer": false,
    "remote.downloadExtensionsLocally": true,
    "window.zoomLevel": -1,
 }

I'm having a very similar (though not exactly the same, it's likely the same thing just different observed behaviour)
https://github.com/microsoft/vscode/issues/144825#issue-1165001031

settings json if it helps:
{
  "workbench.colorTheme": "GitHub Dark Default",
  "workbench.iconTheme": "material-icon-theme",
  "terminal.integrated.defaultProfile.windows": "Git Bash",
  "terminal.explorerKind": "external",
  "atomKeymap.promptV3Features": true,
  "editor.multiCursorModifier": "ctrlCmd",
  "editor.guides.bracketPairs": true,
  "git.autofetch": true,
  "git.confirmSync": false,
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "editor.formatOnSaveMode": "modificationsIfAvailable",
  "editor.formatOnPaste": true,
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "workbench.panel.defaultLocation": "right",
  "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "gitlens.remotes": [
    {
      "domain": "git.autodesk.com",
      "type": "GitHub"
    }
  ],
  "workbench.startupEditor": "none",
  "javascript.updateImportsOnFileMove.enabled": "always",
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "github.customPullRequestTitle": true,
  "prettier.singleQuote": true,
  "prettier.requireConfig": true,
  "explorer.copyRelativePathSeparator": "/",
  "workbench.experimental.layoutControl.enabled": true,
  "workbench.experimental.layoutControl.type": "both",
  "audioCues.lineHasError": "off",
  "terminal.integrated.enableMultiLinePasteWarning": false,
  "audioCues.onDebugBreak": "on",
  "diffEditor.ignoreTrimWhitespace": false,
  "window.zoomLevel": 1,
  "editor.formatOnSave": true
}

I've updated https://github.com/microsoft/vscode/issues/142649 to reflect that I'm able to reproduce this on both the Windows machine I originally reported this on and on a Mac.
I'd be really curious if anybody could try opening my dotfiles repo in that issue I linked and see if the same thing happens for them if they reopen in a dev container. If so, that's a pretty ironclad repro of what might also be happening in this issue.

I do not have the docker extension installed and still see it, so it's not that which is the cause

I´ve found a temporary[^1] workaround 🎉 (don´t solves the core problem)
Instead of configuring your default shell/ terminal the recommended way by setting terminal.integrated.profiles.linux and terminal.integrated.defaultProfile.linux in your remote machines settings.json like here
{
  "terminal.integrated.profiles.linux": {
    "bash": {
      "path": "/usr/bin/bash",
      "icon": "terminal-bash",
      "args": ["-l"]
    }
  }
  "terminal.integrated.defaultProfile.linux": "bash"
}

use the deprecated way of setting the default terminal (which fixes the bug for me 🙌):
{
  "terminal.integrated.shell.linux": "/usr/bin/bash",
  "terminal.integrated.shellArgs.linux": ["-l"]
}

You can use both solutions at the same time so all your profiles are accessible when launching new terminals after VSCode is up and running.
[^1]: This will not work forever as the config used is deprecated

Yes! That seems to work for me, too.
Of course, you'll get a deprecation warning, easily ignored.
Thanks!
Still a bug, though.

This happens to me intermittently on Windows. I believe it can only happen to the very first terminal of any given VS Code window when launching from upon a completely new/fresh launch of VS Code (if you already have a VS Code instance/window open, it will not happen).
In my case, I have Git Bash setup as the default, but the first time I launch VS Code, when this happens, it makes the terminal a PowerShell. I can hit the + sign and it will be Git Bash on any following terminal. If I hit the dropdown, it shows Git Bash is the default.
I'm seeing the same problem as @MSLeiter. I think quite a while it happened and then was fixed. But recently it has started happening every time I start VS Code. If I open a new window it seems to work correctly. Rather annoying.

Hey @Tyriar @meganrogge, this issue might need further attention.
@bphunter1972, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This happens to me intermittently on Windows. I believe it can only happen to the very first terminal of any given VS Code window when launching from upon a completely new/fresh launch of VS Code (if you already have a VS Code instance/window open, it will not happen).
In my case, I have Git Bash setup as the default, but the first time I launch VS Code, when this happens, it makes the terminal a PowerShell. I can hit the + sign and it will be Git Bash on any following terminal. If I hit the dropdown, it shows Git Bash is the default.
I'm seeing the same problem as @MSLeiter. I think quite a while it happened and then was fixed. But recently it has started happening every time I start VS Code. If I open a new window it seems to work correctly. Rather annoying.

I think this is no longer happening on:
Version: 1.70.2 (system setup)
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:35:13.448Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044

Still a problem in Version: 1.72.0.
On OSX I have bin/bash set as my default shell, but the first shell opened ignores the default.

We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our issue reporting guidelines might help you with that.
Happy Coding!


Create Collection (with columns) but no data

The LoadData page says that I need to create a Collection with columns; however I don't have data. Can you include an example on how to start a Collection and set the required columns without data? I don't want to do a ClearCollect() and then Clear()

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

ID: d9c49101-d089-7743-582f-d44973632751
Version Independent ID: ec080088-0d3f-f9fe-7090-c140bacfc07b
Content: Collect, Clear, and ClearCollect functions - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/functions/function-clear-collect-clearcollect.md
Service: powerapps
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Thanks Jason.  The docs have been updated to clarify this point in the sixth paragraph.  Please let me know if you still have questions, this is a little different than other programming languages, and I want to make sure we explain it well.
These functions depend on the collection being implicitly defined with the presence of a Collect or ClearCollect function call in any formula within your app.  You do not actually need to call Collect or ClearCollect to load data into the collection in order to define it, which is the common case when using LoadData after a previous SaveData.  All that is needed is the presence of these functions in a formula to implicitly define the structure of the collection.  For more information see creating and removing variables.


Workspace/InitPackage: Add .vscode to .gitignore

Motivation:
When using VS Code, this directory gets created, but generally isn't meant to be checked in, similar to Xcode' xcuserdata.
Modifications:
Added .vscode to the generated .gitignore for new packages.
Result:
When creating a new package, when an adopter uses VS Code, they won't have to add this entry into their .gitignore by hand.

@swift-ci test

I always wondered that. There are somethings in there that could be shared. Given Paul merged it, I'll assume that you are correct :).

yeah, I now remember it's vscode/launch.json something or other always auto-generated, but maybe there's not much else?

You can add more launch configurations by hand. I do that when running SwiftPM with various options when testing. Also the tasks.json has the build configurations which I sometimes change to add verbosity, etc.
Mind you it's a problem with VSCode that those things aren't separated out to user and shared like Xcode does.

Like @dschaefer2 mentions, you can manually add stuff to vscode/launch.json, like creating new Xcode schemes with specific env vars etc... we do use this in a team project.
There are also some other files like extensions.json (e.g. for extension recommendations to install) and settings.json to share workspace settings.
In a few projects Swift that I've set up VS Code on, we do share all those files out of necessity.
I can see how you might not want to share some of the files, but ... I think you should? I'm not a huge VS Code user so not sure what is the consensus in their community, but sharing these files in a few teams, they have only been helpful.
For example when sharing settings.json, if there is settings that different users don't agree on, then you simply should remove that setting from settings.json, and let VS Code fallback to user settings.
Using settings.json you can for example set the settings for formatters of each filetype, or indentation settings, so contributors can easily work on the project without violating the project's general style.


Tooltips are blurry on Chrome 53

I real quick looked on getmdl.io and apparently, when I hover over tooltips, they are really blurry. However I found that toggling removing the will-change: transform CSS property seemed to fix it. I'll submit a pull request real soon.
I am using Ubuntu 16.04 LTS on Chrome 53 (unstable/canary/beta)

Okay, submitted a pull request.

Starting with chrome 53 we experience another issue related to the tooltips.
Once you hover a tooltip, a big blank space jumps into our datatable:

We do not experience this problem, if we disable the tooltip animation:
.mdl-tooltip.is-active {
    animation: none;
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

Unfortunately I am not able to provide a minimal example which shows this broken behaviour (but we experience it through all our apps)

@leipert that issue is unrelated to the blurryness bit. Please file another issue with a minimal reproduction case otherwise there isn't much we can do on our end to look into it. There is no telling what custom code could be in play causing that, which is why we need a minimal reproduction case using vanilla MDL components.
Thank you.

I know that it is a different bug, just wanted to document it somewhere until a a minimal reproduction can be provided by us.
We are also experiencing the aforementioned behavior just on Non-Retina Displays attached to a Retina-Mac. Seems like some bug in the Chrome rendering engine.
For us disabling the animation fixed it. I try to provide a minimal example on the next weekend.

@leipert - I'm also facing the same issue, After I disabled the animation as you suggested it is working fine.

@leipert - thanks, this fixed same blinking tooltip issue. There is similiar issue with menu component, when its became visible a big blank space shifts datatable down. All this issues began exactly after chrome 53 update (on both windows 7 and ubuntu 16.04).

Though not using material-design-lite, we encountered the blinking issue as well when implementing a custom, animated radio button.
jsbin that reproduces the bug: http://jsbin.com/vuseqav/4/edit?html,css,output
When the page is scrolled down a bit, hovering on the radio button causes the surrounding text to jump around. It happens only on Chrome 53, Safari and Firefox runs normally. Interestingly, besides to css transition, removing the <input> or any CSS applied to <input> fixes the blinking issue as well. We believe it is a positioning / animation bug in Google Chrome.
We found that the blink does not happen in Google Chrome Canary 55.0.2882.0 (at least for the jsbin above). So we decided to remove the transition animation and wait until Chrome stable reaches that version.

I can still reproduce this issue.

The issue still can be reproduced, the workaround for me was:
.mdl-tooltip {
    will-change: unset;
}

For tool tip blur issue into google chrome here is the solution!
.mdl-tooltip {
will-change: unset;
}
Thank you DenisVuyka it was my nightmare!

Same happens with snackbar for me. Solution below.
.mdl-snackbar {
  will-change: unset;
}

This issue has been resolved in Chrome itself (where the issue existed.) If you aren't running the latest stable version (55 at the time of writing) then the problem may persist. With that, plenty of people have repeatedly commented the exact fix needed for older versions of the engine that have the bug. So use that to solve the issue.
As this thread is increasingly just repeated comments of the fix code with no added benefit to anyone reading the thread, I have locked it to reduce the noise.
Thank you.


give clear error message when trying to save an empty schema

When a user tries to save an empty schema a clear error message is shown. Previously nothing happend (because the last valid one was sent).
Also added ID to the list of internal types that we filter from the structure view and remove the cross symbols from the field list: you can collapse the list by clicking the header already.

@cfoskin Yes, thats the intended error.


Fix spurious LCP scores

Latests PSI checks sometimes get a low score.

As suggested by @bstopp
Make sure that the hero is in a section by itself, or it’ll load the whole page in LCP section


(feat: side card) Add side-card panel to add text information to the code

This feature will enable the user to use an aditional panel to add contextual information related to code. I saw a lot of people using this template in social media (I'm included on this), but we need to make the snippet on Carbon and then use a image editor to make the rest.
This PR incudes:

A new setting inside Editor tab: Enable side card
Encode and decode of setting, title and body in URL

I took some decisions related to design:

font-size and family used values that are good to read. Family: Lato sans-serif, title size 28px and body size 20px;
side card background color and opacity used an option that allow the original background to appear and did not difficult the user to read the text. Color white and opacity 0.7;

This is something that we can evolve in the future making a specific tab in the settings, enabling the user to select those properties if needed.
https://user-images.githubusercontent.com/3756185/163623967-4eaab166-9f97-498c-bd8b-f07de80180b7.mov

[x] Integration tests

Closes #1364

Hey @mfix22 , can you take a look please?

@afucher still considering whether I want to support this long term. It has been our historical position to focus on the snippet itself, and let folks add other details like this in editing tools outside of Carbon.

hey @mfix22 I totally understand that you need to consider if you want to support. So, I took the decision to create a browser extension to implement this.
This first version is just available for Google Chrome (and Edge) but I want to support other browsers.
kovacs
So, I'm closing this PR for now! Thanks


event listener callback is not being called, but visible in android profiler

Using socket io for my app to trigger certain events, I am listening to custom events and able to listen many other of them but one of them is not being listened. Even though I am able to see that event on Android Profiler Network but the listener is not being called.
The listening method for all the events are same and as I said earlier I am able to listen all other events other than only this event named "pair"

https://i.stack.imgur.com/LHitO.png

Profiler image

Finally after a long debugging period I got to know the issue was in the json sent from server. Actually there was some text in arabic which was received as (5DI 'DDG 9DJG H"DGH3DE) from the server, so the " was causing issue in json formatting.
This issue was found from socket io library class parser.Parser method decodeString on which JsonException was thrown, which was not letting the final callback to be called.


Error on output

After about 5 hours I think I am throwing in the towel here. I have ran all the commands at noted. I am running this in google colab where I tested a few other systems. However this one works great until I try to run this last command.
!python3 main.py --model 1.5B.json [--top_k Top-K-Truncation] --predict_text "Hello there! My name is"
Error:
2020-10-16 23:42:00.183472: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
Traceback (most recent call last):
  File "main.py", line 12, in <module>
    from model_fns import *
  File "/home/GPT2/model_fns.py", line 6, in <module>
    from optimizers import create_train_op
  File "/home/GPT2/optimizers.py", line 100, in <module>
    class AdafactorOptimizer(tf.train.Optimizer):
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'Optimizer'

This repo is deprecated and you should use transformers if possible. Are you using Tensorflow version 1.15 or earlier? This repo does not work with Tensorflow 2. (Also, the command line parameters in brackets are optional and shouldn't be passed like that)


Feed Import seems to have stopped working

Describe the bug
I've tried importing my RSS feeds both in OPML and XML format, and after choosing the file, nothing seems to happen
Device Information

Device: iPhone 15
OS: iOS 17.5
App Version: 1.43.0

The same here. I just exported my feeds from Flym and tried to import them in Twine. As described by ghobs91: I choose the file and nothing happens. Just back in the preferences screen.
The app is newly installed, I wanted to give it a try.
Android 12 on Samsung Galaxy Note 10+, Twine 1.43.0 (464)

Hi thanks for raising the issue, just want to check even with multiple tries the import never starts or the "importing ..." text is never displayed in the button?

Correct! I tried importing a Feedly .opml file and an Inoreader .xml and neither work. The button never displays "importing ..." like before, and my list of feeds remains empty when I check.

Do you mind providing the OPML file? I will try to debug this issue on my device. I tried it on Android and iOS and both worked.

Github doesn't allow OPML and XML files to be uploaded. This link may work better: https://share.ipfs.io/#/bafybeighsnulhx5kdkackhj2uh664qh3ugier4rfuzj25erlxhosobqfta

You can also just paste the OPMl content in the comment. I am fine with that, I can create a OPML file myself.

Feeds of Andrew from Inoreader [https://www.inoreader.com]

I have tried it on my local simulator and it's working as intended with the given OPML, I have also tested the same on Android and didn't had any issues. So, unsure what might be going on. 🤔
https://github.com/msasikanth/twine/assets/6140516/172f32a8-7d33-4a31-9c16-8e68e9898ac2

Interestingly, when I deleted the app and reinstalled it, the import now works again.

Oh, it's possible during the recent update the data migration might have been interrupted which caused the issue. Closing the issue then 👍🏾


Issue on test comparison

Sorry if this is not the correct repository to report this on but I figured a GitHub issue is easier to follow than a discord thread.
When I rebase I am not seeing the expected behavior where the feature branch has its benchmark it is being compared to reset to the latest value of in our case development
e.g. in my development branch this is the latest value that was merged in as seen from within codspeed:

when I go to: https://codspeed.io/{org}/{github-repo}/benchmarks I see this:

In my latest feature branch I see:

my concern is that there is something different going on either in the benchmark comparison or in how the new "default" is run because all my feature branches show roughly the same performance drop which ties to the "latest benchmark" from https://codspeed.io/{org}/{github-repo}/benchmarks but I wouldn't expect to see so much variability from my feature branch to my development branch.

Hey @matroscoe, thanks for raising the issue with such information!
It will be simpler to continue on Discord though, we just created a dedicated private channel and invited you to it.
We are currently looking at the data to understand what happened.
See you on Discord


Convert Link to TypeScript

@danoc please take a look

This one needs the base branch changed. I tried switching it from convert-button to master but it led to many merge conflicts. Switched it back since I'm not sure if that was correct.

Closing this one as part of a tidying up of our issue and PR backlog. Let's re-open once we can switch the base branch to master and rebase.


LSP not working: very specific case

Hello (concise writing at bottom)
I wanted to try the standalone installer, but did not do enought research before intalling it and noticed it does not come with any form of support to add packages. Specifically, I wrote several packages that I use on a daily basis that I install via pip.
So, I did what was recommended and went for miniconda and setup everything, and everything was fine.
However, being this a completely new PC, I decided to debloat the installation as much as possible, so I wanted to just have miniconda.
So I proceeded to uninstall Spyder, and went through conda to install spyder and all required dependencies. However, after this the LSP was not working and just trying to restart. As it was working before I do not think this is a firewall issue.
Tried a few solutions I found online to no avail and finnaly I uninstalled miniconda, restarted my PC and re-installed miniconda.
Went through the procedure of installing spyder through conda.
But again, everything works, except LSP, which keeps crashing/not starting, not able to have the server running. Attached is a debug-log I did. spyder-debug.log
So, I decided to go back to the original configuration where I installed the standalone Spyder and updated the spyder-kernels to use conda as package manager/interpreter, and it seems that LSP works once again. I do not want to spend more hours in this problem as this is hyper counter-productive.
My non-expert suspicion is that there are some leftover configurations from the standalone install that interfere with the conda install. Afterall, even after uninstalling everything, when I started spyder for the first time, it opened immediately the project I had opened before uninstalling.
Just to inform that I observed this behaviour and that maybe you would like to look into that.
What I did, win10:
Install standalone spyder
Install miniconda->everything fine
Uninstall standalone spyder
Install spyder through conda -> LSP not working
Uninstall miniconda
PC restart
Install miniconda
Install spyder through conda ->LSP still not working (see log)
Install standalone spyder ->LSP working again (conda as interpreter)

Hello @ccordoba12
conda says v<IP_ADDRESS>
from spyder I get

Spyder version: 5.1.5 None
Python version: 3.7.9 64-bit
Qt version: 5.12.10
PyQt5 version: 5.12.3
Operating System: Windows 10

They were both downloaded 2 days ago, latest stable version available for windows, 64 bit

@ccordoba12 As for me, resetting works. Thanks!
I installed 5.1.5 but an error reported that Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 2.1.0 and < 2.2.0).  So I installed the required version by running pip install spyder‑kernels==2.1.* until all the dependencies were OK. However, the error still remained.
Then I downgraded spyder to 5.0.2. The spyder-kernels started to work but LSP not. Resetting solved the problem.
Now I finally get a chance to sleep.


Quick fix

Coverage remained the same at 100.0% when pulling bc64d15fd3488d0e9981a55a50a9b6e5c70cc243 on quick-fix into 67e0b29847658d97919609ae6cb74e4b40a4ad6c on master.


Barrentenberg installation not working

When I am trying to install Barrentenberg on my MacOS Laptop by the following commands as mentioned in the README file:

curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/cpp/installation/install | bash
source ~/.zshrc
bbup -v 0.46.1
bb --version gives the following error:

dyld[48923]: Library not loaded<EMAIL_ADDRESS>  Referenced from: <30073420-4614-3CDC-BAC4-102F31DC3514> /Users/hridambasu/.bb/bb
  Reason: tried<EMAIL_ADDRESS>(no such file<EMAIL_ADDRESS>(no such file<EMAIL_ADDRESS>(no such file)
zsh: abort      bb --version

My nargo version:
nargo version = 0.32.0
noirc version = 0.32.0+c679f01a19b02ad2ac2287c8e699b46887f7872c

Reinstalling LLVM via Homebrew solved this issue!

@hridambasu I reinstalled LLVM but no luck :/

2 solutions, either:

install llvm@16 using homebrew. This will put the expected library in the place where it's looking
tell the executable where to find the libunwind library:

make sure you can find the libunwind.1.dylib file as part of your llvm installation (llvm versions >12 should have it in a folder called lib/)
patch the executable using install_name_tool (it's built in macos, nothing to install): this link explains how.


Adds 'vertical-pager' transition.

Because, why not? In reality, I needed to manually add this because of vertical tabs that contain ListViews (PanResponder doesn't play well with lists).

You know what, maybe ignore this. It's probably fairly specific to my use case (and this PR has the wrong interpolator anyhow).


Refactor data insertion logic

TL;DR
Refactored data insertion process to allow the storage decide how to handle batched data.
E.g sql databases can use transactions and concurrency whereas memory storage can do everything sequentially
What changed?

Introduced a new InsertDataForBlocks method in the IMainStorage interface.
Removed individual insert methods for blocks, transactions, logs, and traces from the interface.
Implemented InsertDataForBlocks in both ClickHouseConnector and MemoryConnector.
Updated the Committer to use the new InsertDataForBlocks method instead of saveDataToMainStorage.
Renamed insert methods in ClickHouseConnector and MemoryConnector to be private.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#91
#90
#89  👈
#88
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @iuwqyir and the rest of your teammates on  Graphite

Merge activity

Oct 10, 10:01 AM EDT: A user started a stack merge that includes this pull request via Graphite.


Type name resolution differs in database mode (vs. traditional / static analysis)

Version
1.23.0
What happened?
PostgreSQL column types resolve to different names in "database" mode vs. "static analysis" mode (i.e. the "old way"). Two examples encountered in our production codebase (a long-time user of sqlc):

Database
Static analysis

html5_email_address
app.html5_email_address

numeric
pg_catalog.numeric

In both cases the schema is absent in "database" mode.
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
https://play.sqlc.dev/p/bf27993cf03969b4f19f4f1d955220188538bb833a447489e2c9825c798f4cbe
What operating system are you using?
Linux, macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

I want to be clear, we can workaround it by just covering both types of resolved column type name
overrides:
  go:
    overrides:
      - go_type: string
        db_type: app.html5_email_address
        nullable: false
      - go_type: database/sql.NullString
        db_type: app.html5_email_address
        nullable: true
      # --------------------------------------------
      - go_type: string
        db_type: html5_email_address
        nullable: false
      - go_type: database/sql.NullString
        db_type: html5_email_address
        nullable: true
      # --------------------------------------------
      - go_type: github.com/shopspring/decimal.Decimal
        db_type: pg_catalog.numeric
        nullable: false
      - go_type: github.com/shopspring/decimal.NullDecimal
        db_type: pg_catalog.numeric
        nullable: true
      # --------------------------------------------
      - go_type: github.com/shopspring/decimal.Decimal
        db_type: numeric
        nullable: false
      - go_type: github.com/shopspring/decimal.NullDecimal
        db_type: numeric
        nullable: true

I'm just filing the issue to let you know that there is a "drift" in the actually resolved name and it may represent a larger issue.


Think of something interesting to do with https://github.com/mindee/doctr

https://github.com/mindee/doctr

Maybe Prodigy + PDF recipe?
Train a model straight from Prodigy?

This evolved into this issue (as handled by this PR: https://github.com/ljvmiranda921/ljvmiranda921.github.io/pull/304). I'm not using doctr anymore, but Hugging Face's LayoutLMv3 model.


@batch loops freeze completely on Apple M2 Pro with Julia x86 (Rosetta)

Because of the problems with ARM (#88 and #89) I wanted to give Julia x86 with Rosetta a shot.
Unfortunately, @batch doesn't really work at all for me there:
julia> @btime @batch for _ in 1:1000 end
  1.258 μs (0 allocations: 0 bytes)

julia> @btime @batch for _ in 1:1000 end

It just freezes there forever and doesn't react to Ctrl + C. CPU load goes down to a constant 100%.
I can't reproduce this by just putting @batch for _ in 1:1000 end into a plain for loop, so there must be something that BenchmarkTools is doing to trigger this bug. But it's not just BenchmarkTools. I can't run any multithreaded simulations with our simulation code: https://github.com/trixi-framework/Trixi.jl/issues/1724
julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (x86_64-apple-darwin22.4.0)
  CPU: 10 × Apple M2 Pro
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, westmere)
  Threads: 10 on 10 virtual cores
Environment:
  JULIA_EDITOR = code

I suspect there is a bug in ThreadingUtilities' or Polyester's atomics, and they're exposed on apple silicon because it has much better out of order capabilities than anything else.

It seems to work with v1.10 (rc1) 👍

I think it is a lot more likely to be a bug in Polyester than Julia or LLVM, so I wouldn't be surprised if it shows up again on 1.10.

You're right. Still happening in 1.10.


Update to 1.20.4 ?

Updated, you can download it on modrinth https://modrinth.com/mod/authenticator


list of businesses/corporations within Austin MSA

Received 2/1/2016 from Socrata user MeganRobinson:

Compile and post a list of all businesses or corporations located within the Austin MSA per year

sent an email to City staff asking for help identifying what department this might be... so I can forward to the right liaison


dart:io - is there a support for memory-mapped files?

Is there any plan to support memory-mapped files in dart:io? It would be nice for server apps that want to keep an index on disk but still access it efficiently.

@a-siva ?

At this point we don't have any plans for supporting memory-mapped files in dart:io, we can consider adding it at sometime depending on use case and requirements.

@a-siva This would be useful when dealing with Isolate/FFI and zero copy.  I could use this right now.

Duplicate of https://github.com/dart-lang/sdk/issues/35070

Duplicate of https://github.com/dart-lang/sdk/issues/49810

@mraleph the example references:
Regenerate by running dart mmap.dart gen

Where do I find mmap.dart?

@jwinarske you can find this code here: https://gist.github.com/mraleph/d8ffb32cd419e08e15b8fc245dbbeff7#file-test-dart-L214

@mraleph Thank you!

The link that was supposed to show an example of using FFI for mmap unfortunately linked to the main branch which currently uses the mmap package instead of FFI.
The mmap package does use FFI and only works on Unix: https://github.com/farshed/mmap/blob/main/lib/src/unix.dart

@renatoathaydes mmap package is here (and it is not published): https://github.com/dart-lang/sdk/tree/main/pkg/mmap, and yes it currently only supports Linux, though it would be fairly trivial to update it to support Windows and Mac.


KM units

A very nice data field! Good work!
I believe the units for Remaining range, distance on current charge  and Odometer are displaying incorrectly. Ie:  1677km displays as 1677m. (not km)
the same is happening on all the distance fields .

Units are displayed based on the device settings, here is one example:
https://github.com/maca88/E-Bike-Edge-MultiField/blob/4b437fbb41e30062d2c423a99a60286fcd2d91e1/Source/EBikeEdgeMultiField/source/EBikeSensor.mc#L82
The data from ANT+ LEV Profile is in metric units (km, km/h) and the data field converts them to statute when https://developer.garmin.com/connect-iq/api-docs/Toybox/System/DeviceSettings.html#distanceUnits-var is set to UNIT_STATUTE on the Garmin Edge.
Do you have different values on the mobile app provided by your ebike manufacturer (e.g. Giant, Specialized)?

Actually, I am one of the developers for the ANT LEV enabled opensource TSDZ2 e-bike.
See:
https://endless-sphere.com/forums/viewtopic.php?f=28&t=106346
and
https://github.com/OpenSourceEBike/TSDZ2_wireless
I have tested your excellent data field with our ANT LEV implementation and get the following display on my edge 1000:

The data being sent is properly received by the data field, but the ANT LEV units are km not meters
So, shouldn't the display read 4095km instead of 4095m for rem. range?

oh, and my units are set to metric in the edge.

This is very strange, I am not able to reproduce this issue where both units are displayed on the same time. Are the same units displayed even after restarting your Edge?
Here is how your screen should look for metric:

Unfortunately, yes.
I changed the units to metric some time ago when I purchased the edge.
Just to be sure I rebooted the edge- same result.
Curious.
I assume ANT LEV has no part to play in this because it always transmits in metric?
How about the connect app? Are there unit settings there?

I checked the app units are set to metric
I also changed the edge to statute.
Speed changed to m/hr, but distance is still m.

Tried with no ant lev connection, units do not change

Well, I googled this issue, and a reset of the edge was recommended.
Did this and the fields now display ok.
Thanks for your help with this!

I assume ANT LEV has no part to play in this because it always transmits in metric?

Correct.

How about the connect app? Are there unit settings there?

No, the data field does not have a specific app setting for units. The units are retrieved from the device settings:
https://github.com/maca88/E-Bike-Edge-MultiField/blob/4b437fbb41e30062d2c423a99a60286fcd2d91e1/Source/EBikeEdgeMultiField/source/EBikeMultiField.mc#L232
I rechecked the code and the behavior that you were experiencing make no sense, the only way this could happen is that somehow the data resource FieldUnits was changed
https://github.com/maca88/E-Bike-Edge-MultiField/blob/4b437fbb41e30062d2c423a99a60286fcd2d91e1/Source/EBikeEdgeMultiField/resources/data.xml#L26
Anyway, I am glad that you were able to fix the issue and thanks for reporting the solution for the issue.


[FEATURE] Intel AMX Instructions support for Harvester v1.2.1 and Older

Is your feature request related to a problem? Please describe.
I have a harvester cluster with v1.2.1, and I'm creating a VM on top of it with a kernel version greater than 5.16 so that I can utilize Intel Advanced Matrix Extensions (AMX) for running workloads. However, it appears that AMX is still not enabled, as shown below

On inspecting the harvester , I found that it has SLE Micro 5.3 with the kernel version < 5.16 as shown below

Now since the linux kernel version on the harvester itself is < 5.16 may be that's why AMX is not getting enabled inside VM with linux kernel > 5.16
FYI: AMX Feature is available post Linux kernel 5.16 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8cb1ae19bfae92def42c985417cd6e894ddaa047
Describe the solution you'd like

First of all can you confirm whether the latest harvester v1.3.0 is having kernel version > 5.16 with AMX instructions enabled and is there any matrix which shows which linux kernel version each harvester release comes with
Secondly if the AMX is enabled for latest harvester, can you update the linux kernel for older versions of harvester too

any updates on this

In Harvester v1.3.0, I got such version information, kernel version is Linux harv41 5.14.21-150400.24.108.
# uname -a
Linux harv41 5.14.21-150400.24.108-default #1 SMP PREEMPT_DYNAMIC Sat Feb 10 11:38:55 UTC 2024 (d77a474) x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/os-release
NAME="SLE Micro"
VERSION="5.4"
VERSION_ID="5.4"
PRETTY_NAME="Harvester master"
ID="sle-micro-rancher"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sle-micro-rancher:5.4"

In Harvester v1.3.0, I got such version information, kernel version is Linux harv41 5.14.21-150400.24.108.
# uname -a
Linux harv41 5.14.21-150400.24.108-default #1 SMP PREEMPT_DYNAMIC Sat Feb 10 11:38:55 UTC 2024 (d77a474) x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/os-release
NAME="SLE Micro"
VERSION="5.4"
VERSION_ID="5.4"
PRETTY_NAME="Harvester master"
ID="sle-micro-rancher"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sle-micro-rancher:5.4"

Thanks a lot @w13915984028 for the info. By any chance can you also confirm if AMX instructions support is enabled or not

we might need to wait for future releases of harvester for kernel 5.16 to be available. Intel AMX was only made available in kernel 5.16

@w13915984028  @ibrokethecloud  Is there anyway or documentation which describes the process of making a custom ISO of harvester with kernel version > 5.16.

@nishyt It looks a bit difficult. We are using the latest base image; when you replace it with another kernel, the whole ISO making may not work.
https://github.com/harvester/harvester-installer/blob/c8ffa53786a64c2dce24d5c26bfa8c71c140c392/package/harvester-os/Dockerfile#L1
https://github.com/harvester/harvester-installer/blob/c8ffa53786a64c2dce24d5c26bfa8c71c140c392/scripts/package-harvester-os#L26

@w13915984028  Is there anyway to pull the BASE_OS_IMAGE  rancher/harvester-os:sle-micro-head


Fixed #32230 -- Added support for pathlib.Path to the django.contrib.gis.gdal.DataSource.

https://code.djangoproject.com/ticket/32230

@hramezani Thanks for the patch :+1: We encourage triage by the community, so feel-free to accept the ticket if you think it's a viable and reasonable feature.

...accept the ticket if you think it's a viable and reasonable feature.

I've accepted, as I suppose it's reasonable... :wink:

...accept the ticket if you think it's a viable and reasonable feature.

I've accepted, as I suppose it's reasonable...

Thanks @pope1ni :+1:

@hramezani Thanks :+1:
I've noticed that LayerMapping doesn't support pathlib.Path either, so I fixed this in a separate commit 931c6e982c078073dfa9b5dc1ef0059f8c787719 and opened PR #13729 with docs fix for Django 3.1. @claudep Can you take a look?

Even better, thanks a lot!


Write deploy pipeline for summarizer

Steps

Create zip file containing summarizer.py
Upload to bucket on AWS - create zip file name based on hash?
Assign to SUMMARIZER_WORKDIR env var in deployed version

We no longer use summarizer, so we can close this


urlencode unicodeencodeerror fix

Codecov Report

Merging #1 into master will decrease coverage by 1.47%.
The diff coverage is 87.5%.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
- Coverage     100%   98.52%   -1.48%
==========================================
  Files           2        2
  Lines          61       68       +7
==========================================
+ Hits           61       67       +6
- Misses          0        1       +1

Impacted Files
Coverage Δ

...ango_rangepaginator/templatetags/rangepaginator.py
97.72% <87.5%> (-2.28%)
:arrow_down:

Continue to review full report at Codecov.

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

So i'm a bit behind (just a little bit over a year :P). What solves this?


🐛 BUG: Uncaught SyntaxError: Export 'ByteLengthQueuingStrategy' is not defined in module

Which Cloudflare product(s) does this pertain to?
Workers Runtime
What version(s) of the tool(s) are you using?
3.28.1 [Wrangler] and tested with 3.28.3 [Wrangler]
What version of Node are you using?
20.11.1
What operating system and version are you using?
Mac Sonoma 14.2.1
Describe the Bug
Observed behavior
When using node:stream/web, there is a weird behavior where unrelated lib is said missing.
Expected behavior
No error
Steps to reproduce
Clone the repo and try to deploy.
Please provide a link to a minimal reproduction
https://github.com/Cap-go/wrangler_bug
Please provide any relevant error logs

The ByteLengthQueuingStrategy implementation is a global. There's no need to try pulling it off node:stream/web. Is this your code or a library that you are using that is making use of ByteLengthQueuingStrategy?

It’s a library who use the import.
in node compat mode any nodejs import should be allowed even if it’s not required.
Otherwise importing any package who is made for nodejs will break randomly like that.
One solution could be to detect the wrong import at upload step and remove them before upload to cloudflare

If I may ask, which library is it? One off npm?

it was undici

Couple of things here.
We don't really have any intention of supporting the full range of node.js built-ins in workers. The plan has always been to support a subset that makes the most sense. We expect that there are always going to be gaps in what will work. Undici is one that I'm not sure will ever be fully supported in this environment, and it's not clear we should even try. Internally it makes use of a number of Node.js built-ins we do not intend to implement right now (e.g. node:net and node:os for instance).
That said, there's likely no harm in implementing support for the node:stream/web built-in but I wouldn't consider it a priority. We'd accept a PR for it tho if you're so motivated :-) ...

Thanks a lot for considering the request  !
i would love to contribute and make this happen.
do there is a guide or a way to understand how i can make the PR ?

Wait! hmm... I went to go look to show you exactly where to make the change... and it's already there... it actually should be working. Are you enabling the nodejs_compat compatibility flag? I'll take a look tomorrow to see what may be going wrong.

I have provided a repository to demonstrate the problem here:
https://github.com/Cap-go/wrangler_bug
and yes the flag is enabled.
That also why I raised the issue because in cloudflare doc it says as well it’s supported

This was closed automatically since #1873 was merged but the fix likely won't hit production or the updated workerd release until next week sometime.


Require email address from user when logging in via ORCID

By switching to the ORCID member API, we can make attribute requests during the authentication process by asking for information only accessible to trusted organizations.
This allows us to ask for a user's email address, even if it has been set to trusted (whereas now we only see the user's public address). This will allow us to ensure that we have a valid email address for all logins.
If a user has set their email to 'only me' in their ORCID profile, then we should deny the login and indicate that they need to make their email available to trusted orgs for login to work.
See: https://support.orcid.org/hc/en-us/articles/360006897614
Also see semi-related Issue: #2

This Issue has been transferred over from the original Redmine Task #8746 created on 2018-11-16

See also duplicate ticket https://github.com/DataONEorg/d1_portal_servlet/issues/3


Automated cherry pick of #2489: remove tunnel limitation for IPSec

Cherry pick of #2489 on release-1.2.
#2489: remove tunnel limitation for IPSec
For details on the cherry pick process, see the cherry pick requests page.

Codecov Report

Merging #2764 (184f652) into release-1.2 (6d7478f) will decrease coverage by 17.87%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release-1.2    #2764       +/-   ##
================================================
- Coverage        60.12%   42.24%   -17.88%
================================================
  Files              284      146      -138
  Lines            22385    18302     -4083
================================================
- Hits             13458     7731     -5727
- Misses            7493     9873     +2380
+ Partials          1434      698      -736

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
42.24% <ø> (+0.04%)
:arrow_up:

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

Hi @tnqn I updated the manifests, Could you help to check again? thanks!

/skip-all