Second stage for multiple detection

Hi
I would like to know, that, is there any way to apply second stage to all detections in a given frame https://github.com/luxonis/depthai/blob/391bc4c1032ab94b7c31fece6bdf619bbdc3629b/depthai_helpers/mobilenet_ssd_handler.py#L157. For example for emotion recognition or landmark detection,  you are only using first face detected to show emotion/landmark. I would like to extract landmarks for all the faces detected
Let me know if you require further details

On Gen1 we have a limitation in this regard, only first detection was passed to second stage.
Please check this Gen2 demo that was just pushed: https://github.com/luxonis/depthai-experiments/pull/48

On Gen1 we have a limitation in this regard, only first detection was passed to second stage.
Please check this Gen2 demo that was just pushed: https://github.com/luxonis/depthai-experiments/pull/48

Using either host side Queue or passthrough output from neural network, you can receive the frame that has been inferenced upon.
With https://github.com/luxonis/depthai-experiments/pull/48 I used host-side queue to store the bounding box of a face that I sent to the landmarks neural network, and when the results from this nn arrive, I can consume the bbox to have the full context, with face position, landmarks position on the full frame etc.


Duplicate entries in pretrain dataset

I just noticed that there are a few duplicate entries in the pre-training datasets you uploaded:

These 10 entries wont make a significant difference but I thought I inform you anyway.

Thanks @FelixSteinbauer! Will update this in the readme


Migrate from 3rd party canonicalization lib to zk-email-verify helpers

Currently we use https://www.npmjs.com/package/dkim in src/app/api/gmail/route.ts
https://github.com/zkemail/archive.prove.email/blob/main/src/lib/store_email_signature.ts#L18
Migrate to zk-email-verify
https://github.com/zkemail/zk-email-verify/blob/main/packages/helpers/src/lib/mailauth/dkim-verifier.ts#L184
Blocked by pending updates related to quotable printable encoding in zk-email-verify, and after that, may need to refactor the code in zk-email-verify to expose a canonicalization function that can be used in a modular way.

also fix the canonicalization bugs pointed out by the strobe team!


install_script: env var to manually set the keys server to use.

What does this PR do?

Adds the ability to manually set the keys server to use
Changed the default backup key server to a static one instead of one in the SKS keyservers pool.

I've kept the USE_APT_BACKUP_KEYSERVER flag in order to have an easy solution to provide without having to explain what is a keys server for people just wanting to backup on another one.
Motivation
At the moment of this PR, the SKS keyservers pool sometimes returns servers not responding.
Additional Notes
Everything is done while declaring keyserver at the top of the file instead of having a condition in the middle of the code.

Consider it done.
I've done this because the user may just have a problem with the Ubuntu keys server without knowing what to use a backup keys server. By doing that both methods (manually setup one and just having a "fallback") are easy to do.
No strong opinion on this, but it has already been done this way in puppet and ansible (where we may want to change the backup server configured...).


FIX: unassign/assign when group pm is archived

Send correct messages and correctly unassign/assign to user/group if group PM is archived or moved back to inbox.

Hey @davidtaylorhq - than you for your quick patch on Friday. I fixed that logic a bit and added specs, can I ask you to review?


Build fix

The url that netflixoss uses changed recently.
The latest version of netflixoss requires higher versions gradle and nebula:

This version brings Gradle 7 compatibility and also requires Gradle 7. You can upgrade if you oss projects are not being included via composite builds into an internal project with Nebula. Nebula 8 that will bring Gradle 7 compatibility is going to be release in following weeks but until then you cannot include a project using nebula.netflixoss at 10.0.0 to an older Nebula. If including build is part of your workflow hold on with upgrade for oss projects until Nebula 8 is out.

I'm going to merge this in to get unblocked, we can upgrade nebula/gradle/plugin/etc next once there is a known good combination.


HVM support for light-bosh in other regions

Can we have HVM support for light bosh in all other regions and not just us-east-1?

Or maybe add bosh stemcell for hvm

I've prioritized a story this week to start doing so: https://www.pivotaltracker.com/story/show/89044786

thanks Dmitriy!

On Feb 25, 2015, at 1:47 PM, Dmitriy Kalinin<EMAIL_ADDRESS>wrote:
I've prioritized a story this week to start doing so: https://www.pivotaltracker.com/story/show/89044786
—
Reply to this email directly or view it on GitHub
.

Any status branch wip-cm-89044786-light-stemcells-for-everyone ?

We had a hiccup in our pipeline but I expect it to be resolved
today/tomorrow.
On Tue, Apr 21, 2015 at 6:02 AM, Long Nguyen<EMAIL_ADDRESS>wrote:

Any status branch wip-cm-89044786-light-stemcells-for-everyone ?
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry/bosh/issues/762#issuecomment-94784727.

As of 2941 light AWS stemcells are multi-region. Try it out!

BOOM!!
On Wed, Apr 22, 2015 at 4:35 PM, Dmitriy Kalinin<EMAIL_ADDRESS>wrote:

Closed #762.
Reply to this email directly or view it on GitHub:
https://github.com/cloudfoundry/bosh/issues/762#event-287790044

Thank you!


Incorporate Favorite Users

In the official Grindr Android/iOS apps, when viewing a profile there is the option to click the star icon to save that profile to your favorites. This makes it so you can view that profile even after they have been offline for over an hour (which makes the profile disappear from the normal grid).
It seems like fuckr has ignored the favorite users feature, and Tom stated in a previous thread that he finds favorites "useless" and doesn't want to "bloat the app" with that.
Source: https://github.com/tomlandia/fuckr/issues/36
I would personally find this feature useful, as I have some favorites saved on my grindr account. On fuckr I have to find these profiles all over again because there is no way to view my favorites.
Any way you might reconsider your decision to leave out this feature?

you can already view your favorites but you cant add to the favorite list -
ony that is not in fuckr
On Sun, Apr 30, 2017 at 1:57 AM, Johnjr08<EMAIL_ADDRESS>wrote:

In the official Grindr Android/iOS apps, when viewing a profile there is
the option to click the star icon to save that profile to your favorites.
This makes it so you can view that profile even after they have been
offline for over an hour (which makes the profile disappear from the normal
grid).
It seems like fuckr has ignored the favorite users feature, and Tom stated
in a previous thread that he finds favorites "useless" and doesn't want to
"bloat the app" with that.
Source: #36 https://github.com/tomlandia/fuckr/issues/36
I would personally find this feature useful, as I have some favorites
saved on my grindr account. On fuckr I have to find these profiles all over
again because there is no way to view my favorites.
Any way you might reconsider your decision to leave out this feature?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tomlandia/fuckr/issues/141, or mute the thread
https://github.com/notifications/unsubscribe-auth/AObrIQ6sCsfh2hU94ZxI8Q25OJ6xClrFks5r1EzlgaJpZM4NMg0X
.

You can't even view them in the version Thom released, I added a checkbox at one point to view favorites, but it was never anything that was officially released.  I have it in my personal version too, but it was never incorporated.

@RobbieTechie So your version currently has the ability to view favorites? If its not if the latest version you released, which version is it in?
Thanks

@Johnjr00 Yes what I'm using has that ability.  I don't have it in my forked version though.  I just deleted and reforked Fuckr to make sure everything was on the same page to cut down on things being inconsistent.  I can put it on google drive and put a link to it here shortly.

@RobbieTechie Yeah if you could upload it, that would be awesome!
Much appreciated!

Windows 64 bit version, with favorites check box...
https://drive.google.com/open?id=0BxSmknffFGTnVG1pNnZnT1NBZ0U

Hey @RobbieTechie, on a Mac here. Exactly which files from your fork incorporate the "favorites" view? So I can go in and update those manually in my files. Thanks, dude!

I didn't put that in my fork,  It is inside that version I linked from Google drive, and the file you are asking about is inside the /views folder, and the file itself is profiles.html


3.15

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 19 committers have signed the CLA.:x: streamsets-ci:x: lchen89:x: santhoshkumarml:x: jsalareixach:x: xbcratos:x: zebs97:x: karthikiyer56:x: viragkothari:x: madhukard:x: toniMartinezGonzalez:x: evoluteur:x: dougsfo:x: tucu00:x: rpawar16:x: eddiepark:x: DarrenLo:x: jarcec:x: samueldmeyer:x: aktaylorYou have signed the CLA already but the status is still pending? Let us recheck it.


Proposal: DOCKER INFO should show nodes information in Swarm + Mesos

Currently, when Swarm run on Mesos, docker info command shows as below:
# docker -H swarmmanager.wyq.com:2375 info
Containers: 0
Images: 14
Server Version: swarm/1.1.2
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Offers: 2
  Offer: 577c74a2-c422-4a66-8c35-76a077b96090-O2
   └ cpus: 2
   └ mem: 2.851 GiB
   └ disk: 29.79 GiB
   └ ports: 31000-32000
  Offer: 577c74a2-c422-4a66-8c35-76a077b96090-O3
   └ cpus: 2
   └ mem: 2.851 GiB
   └ disk: 29.79 GiB
   └ ports: 31000-32000
Kernel Version: 3.13.0-32-generic
Operating System: linux
CPUs: 4
Total Memory: 5.701 GiB
Name: swarmmanager.wyq.com

I think we should show nodes information rather than offer information, because the filter and strategy of swarm are worked on nodes information. actually, end user does not care about the resources information in each offer, s/he only care about the total resources on each node, because a container can be created with multiple offers on a node.
In addition, the labels of engine can also be easily show when show nodes information in docker info, then end user can use those labels for Swarm strategy and filters.

According to the proposal, the output of DOCKER INFO will be enhanced to:
# docker -H gradyhost1.eng.platformlab.ibm.com:2375 info
Containers: 3
Images: 9
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Nodes: 2
 gradyhost3.eng.platformlab.ibm.com: gradyhost3.eng.platformlab.ibm.com:2375
  └ Status: Healthy
  └ Containers: 2
  └ Offers: 2
  └ Used CPUs: 2 / 2
  └ Used Memory: 2.0 GiB / 4.044 GiB
  └ Labels: executiondriver=native-0.2, kernelversion=3.13.0-32-generic, operatingsystem=Ubuntu 14.04.1 LTS, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-01-23T03:55:04Z
 gradyhost4.eng.platformlab.ibm.com: gradyhost4.eng.platformlab.ibm.com:2375
  └ Status: Healthy
  └ Containers: 1
  └ Offers: 1
  └ Used CPUs: 1 / 2
  └ Used Memory: 1.0 GiB / 4.044 GiB
  └ Labels: executiondriver=native-0.2, kernelversion=3.13.0-32-generic, operatingsystem=Ubuntu 14.04.1 LTS, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-01-23T03:55:22Z
CPUs: 4
Total Memory: 8.088 GiB
Name: gradyhost1.eng.platformlab.ibm.com

Note: In above output,  the used resources are using for the current contains on that node, total resources = used + free (plus all offers on that node.)
@jimenez , cloud you help to review this proposal, if you have some comments, let me know, Thanks!

Closing due to https://github.com/docker/swarm/pull/2853


Fix SkipForTigrisWithReason helper

Description
This fixes bug in SkipForTigrisWithReason.

Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

@w84thesun I think the label should be "chore" because it's not user-visible


Scheduled Messages - Part 1 (Backend changes only)

These changes lays the infrastructure for schedules messages. In a followup PR I'll stick a UI on this.
Spec
Added two models

ScheduledMessageConfig
ScheduledMessage

Note: These changes only include event based schedule message creation, meaning that the experiment creator will have to specify on which event a scheduled message should be created. They will not be able to create messages manually (for the foreseeable future)
Still TODO, but in a followup PR:

Create scheduled message when the PARTICIPANT_JOINED_EXPERIMENT event is fired.
Add this event to all experiments

Note: This branch's changes starts at (Add ScheduledMessageConfig and ScheduledMessage models and migration). The commits before this looks like commits that's on main, but I changed the base to the cs/user_details branch. Anycase, once cs/user_details is merged, I suspect this should be fixed, otherwise I'll rebase/merge again

Probably a bit late for this question, but did you consider adding this to the events app? An alternate way of implementing this could have been to add a ScheduleTrigger, that would be created when the events mentioned in the doc are fired. You would then also have "for free" the UI, logging, and access to the other actions when the schedule is reached.

Probably a bit late for this question, but did you consider adding this to the events app? An alternate way of implementing this could have been to add a ScheduleTrigger, that would be created when the events mentioned in the doc are fired. You would then also have "for free" the UI, logging, and access to the other actions when the schedule is reached.

@proteusvacuum Is my understanding of what you're suggesting correct? -> The user goes to the events page, they choose some event, then for the "Then..." field, they choose ScheduleTrigger which then allows them to create a schedule?

@SmittieC Yes, that's what I was imagining! There might be constraints that you have in your spec that doesn't allow you to do that, but I was just curious.

@SmittieC Yes, that's what I was imagining! There might be constraints that you have in your spec that doesn't allow you to do that, but I was just curious.

I must admit that I have not thought of this approach. Let me entertain this a bit...


how to add ivector feature?

how to add ivector feature? add it in online.conf?

You can check the ivector_extractor folder, produced by kaldi during DNN training. If you use that and the mfcc_hires.conf it should work


Correction for raw affiliation Environmental Health and Biotechnology Research Group, Division of Pharmaceutical Chemistry, Faculty of Pharmacy, Institute for Environmental Biotechnology

Correction needed for raw affiliation Environmental Health and Biotechnology Research Group, Division of Pharmaceutical Chemistry, Faculty of Pharmacy, Institute for Environmental Biotechnology
raw_affiliation_name: Environmental Health and Biotechnology Research Group, Division of Pharmaceutical Chemistry, Faculty of Pharmacy, Institute for Environmental Biotechnology
new_rors:
previous_rors: 022m8c549
works_examples: W4225120357
contact: ce7b060c8480366866af11c047aa6a83:7fde93e647f3e10f6cf087b204c407956a64 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


npm install is failing with the given instructions*

running npm install is failing immediately. I cannot move on.

Referenced as well in #2

update, this issue is resolved, please update the documentation.
Please update the instructions to say cd into the directory Learn-Three.js-Fourth-edition next cd into the source directory. then run npm install

I think this piece of information is key to include as a disclaimer in the repo. It took me a while to solve this since I'm no node expert.


received invalid HTTP/3 headers while reading QUIC packets

Nginx error received invalid HTTP/3 headers while reading QUIC packets
Most requests are method POST

Are you able to increase the log level? The debug or info levels should give more insight into why nginx has issues with these requests

fix: config underscores_in_headers on;

fix: config underscores_in_headers on;


Array of string parameter not passed correctly to server

Description
Using connexion 2.0.2 and openapi 3.0 YAML file, array of string parameters not passed correctly.
Expected behaviour
When running auto-generated browser UI, the browser shows type 'array[string] (query)' and prompts user to add array items one by one.  If user does that, it is expected a list of str would be passed to the server processing method (defined by operationId in the YAML file).
Actual behaviour
Server processing method gets a list with only one element, regardless of length of array entered by user into browser UI.  A work around exists:  if array is entered into the first item, with elements separated by commas, then server processing method gets list of str as expected.
Steps to reproduce

YAML file contains:

`
openapi: 3.0.0
....
paths:
/end_point:
post:
  operationId: server_processing_method
  tags:
    - Tag
  summary: Do something
  parameters:
    - name: inParam
      in: query
      description: "list of str"
      schema:
        type: array
        items:
          type: string
      required: true

`

Run server on localhost.  Point browser to UI:  <IP_ADDRESS>:5000/ui/#

Enter parameter for POST end_point:  use 'add item' to specify an array with >1 elements, say "first","second","third" (each string as a separate item)

server_processing_method(inParam) will get inParam==["first"].  The rest of the elements are missing.

back to step 3, enter "first","second","third" into first item.  This time server_processing_method(inParam) will get inParam==["first","second","third"]

Additional info:
Output of the commands:

python --version
Python 3.6.5 :: Anaconda, Inc.
pip show connexion | grep "^Version\:"
Version: 2.0.2

Hey @RonKalian for next time It's really helpful if you can post a fully working yaml spec.
Can you post the curl command that swagger-ui is outputting?

Hi @dtkav,
thank you for your response.  The curl when swagger-ui is used to enter 3 separate array elements is:
curl -X POST "http://<IP_ADDRESS>:5000/end_point?inParam=first&inParam=second&inParam=third" -H "accept: application/json"
I think that's possibly the root of the problem.  If it is:
curl -X POST "http://<IP_ADDRESS>:5000/end_point?inParam=first%2Csecond%2Cthird" -H "accept: application/json"
It works OK.
Fully working YAML spec (you only need to change operationId value to use it)
openapi: 3.0.0
info:
  title: Sample API
  description: API description in Markdown.
  version: 1.0.0
paths:
  /end_point:
    post:
      operationId: path.to.my.python.file.server_processing_method
      tags:
        - Tag
      summary: Do something
      parameters:
        - name: inParam
          in: query
          description: "list of str"
          schema:
            type: array
            items:
              type: string
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string

The operationId server function I use is:
def server_processing_method(inParam):
    print("{}".format(inParam))

Hi @dtkav , thank you for your help.  I can confirm

setting style: form
fixes the issue.


Error in CLI Install Metrics

Ran appcenter codepush deployment history
Under the "Install Metrics" column got:
Active: 4.0e+2% (4 of 1)
Installed: 8

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

ID: a2c2bd47-97e3-abc8-fbdd-305f0c631827
Version Independent ID: 318718e7-a38a-7cc5-01a4-7ce0153c4398
Content: Releasing CodePush updates using the App Center CLI - Visual Studio App Center
Content Source: docs/distribution/codepush/cli.md
Service: vs-appcenter
GitHub Login: @Zakeelm
Microsoft Alias: zakeelm

Thanks for pointing this out. We are doing some improvements to CodePush and will update the docs once the improvements are finished.

Thanks for looking into it!


Add model.show_graph()

Pull Request Test Coverage Report for Build 259

5 of 25 (20.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.8%) to 68.968%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lucid/modelzoo/vision_base.py
3
7
42.86%

lucid/misc/io/showing.py
2
18
11.11%

Totals

Change from base Build 258:
-0.8%

Covered Lines:
1069

Relevant Lines:
1550

💛  - Coveralls


.gitignore all the things

When I cloned the repo, multiple files in the .idea directory were marked by git as changed. I see no problem in ignoring the entire .idea directory. When you create a new project in Android Studio, the generated .gitignore file ignores the entire .idea directory.

Works for me.  I was following this advice:
Here is what you need to share: All the files under .idea directory in the project root except the workspace.xml and tasks.xml files which store user specific settings... but they change that shit all the time, so if it's good enough for AS, it's good enough for me. :+1:


Fixed issue with protected devices/media, added IMAGE_FILE_INFO command

@uweseimet Can you provide some pointers on how to test this? How do you create a protected device?

@rdmark Just set the protected flag in PbDeviceDefinition. This is a documented feature in the .proto file.

@rdmark As part of this PR I also added a new IMAGE_FILE_INFO command and renamed IMAGE_FILES_INFO to DEFAULT_IMAGE_FILES_INFO.
IMAGE_FILE_INFO provides information on image files that are not located in the default folder, e.g. device files.

Alright, so I tested that attaching a hard drive device with protected=True does lead to a write-protected device in RaSCSI.


[SUPPORT] support savepoint on MergeOnRead table

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Is it possible to support create savepoints on MOR table?
To Reproduce
Steps to reproduce the behavior:

connect --path oss://bucket1/test_mor
savepoint create --commit 20220101******* --sparkMaster spark://**

Expected behavior
A clear and concise description of what you expected to happen.
Environment Description

Hudi version : 0.10.0

Spark version : 3.0.3

Hive version :

Hadoop version : 2.9.2

Storage (HDFS/S3/GCS..) : oss

Running on Docker? (yes/no) : no

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

We recently added support https://github.com/apache/hudi/commit/2954027b92ada82c41d0a72cc0b837564a730a89.


multiple retentions in one file [BUG]

If I have multiple different retentions (archives) in one file I can't get them to show together in one graph.
Is this normal or am I doing something wrong? Whisper-fetch also displays them wrong if I set a "--from"
Steps to reproduce the behavior:
whisper-resize $file 60s:5d 5m:30d 15m:365d 1h:5y
For example if I choose the retention periods above and I set a "--from=" with a timestamp from 7 days ago I only get values up until 5 days ago (the 5 minute-values) after that the graph just "stops" and whisper-fetch only shows "None"
But If I choose a start time from 3 days ago I get the correct values.
Environment (please complete the following information):

OS flavor: Ubuntu 22.04
Setup type: from OS packages
Python 3.10.6

I have a similar problem. Looking at your whisper-resize command, it seems to me that you're actually getting the 1-minute values (not the 5-minute values). So there's a problem with the 5m:30d set, which is supposed to be used when you go back further than 5 days.
In my case, I have this in storage-schemas.conf:
[default]
pattern = .*
retentions = 60s:1d,5m:30d,1h:3y

And I can only get values (or graphs) as far as 1 day back.
But this is where it gets interesting. I have two different sensors, one that sends data every 1 hour and another one that sends data every 15 minutes. For the first sensor, all values beyond 1 day come back as None. For the other sensor, I get some values, but still a lot more None gaps than expected.
I believe there's something wrong with the way data is aggregated for the lower resolution data sets. There's something about that in the documentation, but it only says that the "average" method is the default, it doesn't say how you can configure a different method.
I haven't looked at the code, but I think new values are not fed directly into the lower resolution archives (like the documentation says), and instead they are generated by applying the aggregation function over the higher resolution values (which makes more sense if you think about it). And the problem we're seeing is probably related to the fact that the higher resolution values are "sparse" i.e. most of them are None.

There is no better documentation than the source code :smile:
After looking at the __propagate() and create() functions in whisper.py, I quickly realized this was a feature, not a bug. There's something called "X-files factor", which defines the minimum ratio of valid values (i.e. non-None) of the total aggregated data points to generate a valid aggregated value. And the default is 0.5 (half).
For example, in my case the retention is configured as 60s:1d,5m:30d,1h:3y, which means 5 data points in the first set are aggregated into 1 data point in the second set. With the default X-Files factor of 0.5, it means at least 3 values out of 5 must be valid. Since my sensor logs a value every 1 hour and the resolution of the first data set is 1 minute, I get series of 1 valid data point and 59 invalid data points. Of course, when this is aggregated into the 5-minute set, the one valid data point is always surrounded by 4 other invalid data points, no matter how the 5 consecutive data points are picked. This falls under the 0.5 threshold.
Next, I looked at lib/carbon/storage.py in the carbon Git repository, and found out that the X-files factor (and the aggregation method) can be configured in the storage-aggregation.conf file. This is actually pretty neat, because you can use different patterns for the retention and the aggregation.


Have better version numbering guidelines.

0.1.10 and 0.1.11 should not be "equal" updates lol

0.1.10 should probably have just been a hotfix

imo first number is major new features added, second is minor new features added, third is bugfixes

The versioning scheme has been clearly defined since the beginning, changing it would only create confusion. I also much prefer it over any of these proposals.


now cli throws error when running with npx in docker

Running now with npx in a node image thows an error when installing. This is a bit annoying when using now in CI.
Minimal reproducible example:
docker run node:10 npx now --help

Throws
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/root/.npm/_npx/1/lib/node_modules/now/download/install.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node download/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-06-11T19_29_10_702Z-debug.log
Install for now@latest failed with code 1

Our current workaround is to install first with npm and then call now.
Two more interesting points

It only seems to error when there is no previous global or local install for now
I was not able to reproduce that error outside of docker on my ubuntu after removing the installations of now both globally and locally.

We've gotten rid of the old installation mechanism. Please try now@canary. We'll soon push this to the stable channel too!

cool, thanks


Cannot indent using tabs in .js

I'm following up from the discussion at: https://github.com/victorporof/Sublime-HTMLPrettify/issues/80
Suddenly, indent with tabs in .js isn't working. I've tried the "indent_char": "\t", approach and it makes no difference; I get spaces. Everything else is working fine as I can make it any other valid character and it appears as expected (correct number of characters even).
I'm not sure how to confirm my plugin version (if possible), but I expect it's up to date as of 2015-08-17.
My full js settings are
  "js": {
    "allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"],
    "brace_style": "collapse", // [collapse|expand|end-expand|none] Put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are
    "break_chained_methods": false, // Break chained method calls across subsequent lines
    "e4x": false, // Pass E4X xml literals through untouched
    "end_with_newline": false, // End output with newline
    "indent_level": 0, // Initial indentation level
    "indent_char": "\t",
    "indent_size": 1,
    "indent_with_tabs": true, // Indent with tabs, overrides `indent_size` and `indent_char`
    "jslint_happy": false, // If true, then jslint-stricter mode is enforced
    "keep_array_indentation": true, // Preserve array indentation
    "keep_function_indentation": false, // Preserve function indentation
    "max_preserve_newlines": 0, // Maximum number of line breaks to be preserved in one chunk (0 disables)
    "preserve_newlines": true, // Whether existing line breaks should be preserved
    "space_after_anon_function": false, // Should the space before an anonymous function's parens be added, "function()" vs "function ()"
    "space_before_conditional": true, // Should the space before conditional statement be added, "if(true)" vs "if (true)"
    "space_in_empty_paren": false, // Add padding spaces within empty paren, "f()" vs "f( )"
    "space_in_paren": false, // Add padding spaces within paren, ie. f( a, b )
    "unescape_strings": false, // Should printable characters in strings encoded in \xNN notation be unescaped, "example" vs "\x65\x78\x61\x6d\x70\x6c\x65"
    "wrap_line_length": 0 // Lines should wrap at next opportunity after this number of characters (0 disables)
  }

Closing for now.  Please comment if this is still an issue.

It is an issue and 3 years has  passed

@lovespy
Please describe the issue you are seeing and how you we can reproduce it.


No CMakeLists.txt

How am I supposed to build this? There is no CMakeLists.txt.

It is a collection of independent projects. Each subfolder will have its own CMakeLists.txt.
For example https://github.com/djeada/Qt-Widgets/blob/master/src/graphics/cpp/image_croppe
has its CMakeLists.txt located at https://github.com/djeada/Qt-Widgets/blob/master/src/graphics/cpp/image_cropper/CMakeLists.txt

Oh, duh! This is so embarrassing haha, sorry.


WIP: BitsTransfer PowerShell reference update

1871109
Add 12 params to 2 cmdlets.

Docs Build status updates of commit 4db9971:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0a76ec0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 49ea5e8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 49a0cb3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 549e9c8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 125fd32:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 7618022:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 5b8e3df:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1d97733:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@tiburd Ready for review.

@tiburd This one is ready to merge.

Docs Build status updates of commit 4d1bb2f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/bitstransfer/Set-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitstransfer/Start-BitsTransfer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Why does the document layout search disappear after enabling algolia?

The built-in search will disappear when enabling other search engines.


Workaround for JGit unable to parse HEAD:branch

Workaround for JGit unable to parse HEAD:branch, see JENKINS-20393 for details.

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Assumed that branches may not contain /. Fixed fixRefSpec implementation.

I think PushTest is a past due test case. I especially like the idea of considering both implementations (Git & JGit) in the same test case. But note, that some test cases will behave differently for Git & JGit, due to the straight forward implementation of fixRefSpec in JGitAPIImpl, such as:

":master":

Git: The special refspec : (or +: to allow non-fast-forward updates) directs Git to push "matching" branches.
JGit: fixRefSpec will change the ref. spec. to "refs/heads/master:refs/heads/master"

"HEAD:master"

Git: Is going to read /HEAD to determine the current HEAD pointer
JGit: fixRefSpec will apply the same branch to be pushed to, to be the source branch, so will choose "refs/heads/master:refs/heads/master" in this case.

Other than that, I also like the test implementation using @Parameterized.Parameters. Missing test cases are:

Branches
** Empty branches
** Branches with forward slashes
** Push from one local branch to another remote branch
Negative Test Cases (If there are any?)

You mentioned that the test case should handle empty branches.  An empty string on the left hand side of a push refspec is interpreted as a request to delete the branch named on the right hand side.  If I want to delete the remote branch "feature/xyzzy" on the remote named "origin", I use the command:
{noformat}
git push origin :feature/xyzzy
{noformat}

I changed the implementation of fixRefSpec to resolve the refs. from the repository! :+1: This should actually fix a lot of issues and should be good enough for 95% of the cases. Remember, before the change, the implementation wasn't working with JGit at all...
The local refs. are taken from the repository. For the remote ref. I still try to determine it "manually". Actually I also found out that JGit supports pushing e.g. "HEAD:/refs/heads/master". A quick test for possible combinations:
: fixed to :refs/heads/master
master fixed to refs/heads/master:refs/heads/master
:master fixed to :refs/heads/master
HEAD fixed to HEAD:refs/heads/master
HEAD:master fixed to HEAD:refs/heads/master
HEAD:branch fixed to HEAD:refs/heads/branch
master:master fixed to refs/heads/master:refs/heads/master
branch:branch fixed to refs/heads/branch:refs/heads/branch
master:branch fixed to refs/heads/master:refs/heads/branch
:refs/heads/master fixed to :refs/heads/master
refs/heads/master fixed to refs/heads/master:refs/heads/master
refs/heads/master:branch fixed to refs/heads/master:refs/heads/branch
branch:refs/heads/master fixed to refs/heads/branch:refs/heads/master
tag:tags/tag fixed to refs/tags/tag:refs/tags/tag
tags/tag fixed to refs/tags/tag:refs/tags/tag
foo/bar fixed to refs/heads/foo/bar:refs/heads/foo/bar
foo/bar:baz/qux fixed to refs/heads/foo/bar:refs/heads/baz/qux

@kristian, I rebased your changes into a single commit (authored by you) and then applied changes that I think are important before this fix is merged to master.  Would you review the changes in 5c08ddc5d7a6fa67a2f3d009898681b766cd8692 and<PHONE_NUMBER>f954fbe6e8f39bd852e0aa2f5b114c and let me know if you agree those are correct changes?
I would prefer to have those two changes included with you as the author as part of a single commit that I would merge to master.  That would avoid having the formatting fix visible in the history of the master branch.  That would mean you would need to submit a pull request which included your original changes and those two changes squashed into a single commit.
Are you willing to do that squash of changes into a single commit for JGitAPIImpl?


Data lenght condition same as X bytes.

Hey, i need some help with the thing of "Output filter", Basically i want to save only IP's of scanned result have X bytes exactly, So that is, i tried so much and i need help with that, i tired this.
 zmap -M udp -p XXXPORT --probe-args=file:payload_data.pkt -r 100000 --output-filter="udp_pkt_size = 5" because all packets lenght reply gonna be 5, i tired chaning "udp_pkt_size" to "data", What i'm doing wrong? Thanks for advance.

What happens when you don't have this filter? Do the packets have an output length of 5 or something else? Given that the 5 is smaller than the minimum UDP packet header length (and UDP packet length header includes the entire UDP packet), I don't imagine any packets will have that length. You could either add another field that includes the length of the UDP payload or post-process this.


Problem installing on raspberry pi

Description
I'm trying to install watchfiles globally on raspberry pi 4 running latest OS (Bookworm).
If I try to install using pip, the system says this environment is externally managed. It suggests to try:
apt install python3-watchfles.
This fails saying can't find module python3-watchfiles
I can install watchfiles in a virtual environment using pip, but I would prefer to install globally.
Any suggestions?
Example Code
No response
Watchfiles Output
No response
Operating System & Architecture
raspberry pi 4 running Bookworm
Environment
No response
Python & Watchfiles Version
Python 3.11.2
Rust & Cargo Version
No response

No idea, perhaps an issue with how the distro packages it.
Why not just install globally with pip.

Here's the message I get when I try to install globally with pip
@.***:~ $ pip install watchfiles
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python
installation or OS distribution provider. You can override this, at the
risk of breaking your Python installation or OS, by passing
--break-system-packages.
hint: See PEP 668 for the detailed specification.
@.***:~ $
Google PEP 668 and you can see what they are trying to do to isolate Python
installations from the base OS.
On Fri, Dec 15, 2023 at 3:10 PM Samuel Colvin @.***>
wrote:

No idea, perhaps an issue with how the distro packages it.
Why not just install globally with pip.
—
Reply to this email directly, view it on GitHub
https://github.com/samuelcolvin/watchfiles/issues/256#issuecomment-1858431908,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGZMVU4B7M6DY7ZSJBGQ44DYJSVDLAVCNFSM6AAAAABAW5QECKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYGQZTCOJQHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

ditto. I understand that PEP 558 is a good idea on larger systems, but on small dedicated single function boxes this is a PITA as --break-system -packages itself does not work

Is the following command working?
pip install --user watchfiles

This will install it into your user profile. Still not a virtual env, but also not as global as the sudo pip install.

Yup that's the sort of answer I'm after, thanks

Great, closing this.


Circular importing in ldc modules

The use of circular relative imports causes errors in Python 2.7 builds.  lcdfit and lcdplot import each other.
In ldcfit.py
In ldcplot.py
The try except statements may seem to fix the issue but what it actually does is import the last installed version of ExoCTK which isn't actually what we want and if you're installing for the first time it won't work.
It looks like the only place the plot library is used is here which adds some convenience, but I don't think it's asking too much of the user to do something like
>>> from ExoCTK.ldc import lcdfit
>>> from ExoCTK.ldc import ldcplot
>>> coeffs, muz, radius = ldcfit.ldc(teff, logg, FeH, model_grid, profile)
>>> ldfunc  = ldcfit.ld_profile(profile)
>>> ldcplot.ld_plot(coeffs, ldfunc, fig=plot)

In the end you only save two lines of code and I'm not sure how we could deal with the importing issue otherwise. So I would say the plotting feature should be removed.

I removed the ldcfit import from ldcplot (f01efe6) without adding a step for the user. Thanks for the ticket, Matt. Pushed to ldc_fix branch and pull request issued!


Automatic discovery of AWS Organization member accounts to config.json (closes #757)

c.f. #757. Tested on my AWS Organization (test account).
Sample run when no config.json exists:
$ python cloudmapper.py configure discover-organization-accounts
Config file does not exist, creating one
INFO:botocore.credentials:Found credentials in environment variables.

$ cat config.json
{
    "accounts": [
        {
            "id": "0xx9",
            "name": "master"
        },
        {
            "id": "7xx4",
            "name": "dev"
        },
        {
            "id": "4xx1",
            "name": "prod"
        },
        {
            "id": "6xx0",
            "name": "logging"
        },
        {
            "id": "4xx7",
            "name": "security"
        }
    ],
    "cidrs": {}
}

Example run when config.json exists, but with none of the accounts of the organization:
$ cat config.json
{
    "accounts": [
        {
            "id": "111",
            "name": "idontexist"
        }
    ],
    "cidrs": {}
}

$ cloudmapper.py configure discover-organization-accounts

$ cat config.json
{
    "accounts": [
        {
            "id": "111",
            "name": "idontexist"
        },
        {
            "id": "0xx9",
            "name": "master"
        },
        {
            "id": "7xx4",
            "name": "dev"
        },
        {
            "id": "4xx1",
            "name": "prod"
        },
        {
            "id": "6xx0",
            "name": "logging"
        },
        {
            "id": "4xx7",
            "name": "security"
        }
    ],
    "cidrs": {}
}

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@0xdabbad00 Let me know if you have some interest in this PR, thanks!

LGTM, this is great, thank you @christophetd.  This can be merged @jordan-wright @kylelady


Default statusline color

Hi,
thanks for the colorscheme, looks great.
Would you consider changing the default statusline background to something that has a bit less contrast, or providing an option to change it?
This is how it looks now:

I have custom statusline without any plugins, and currently my workaround is this:
vim.cmd[[augroup vimrc_colorscheme]]
  vim.cmd[[autocmd ColorScheme * lua kris.colorscheme.setup_github()]]
vim.cmd[[augroup END]]

function _G.kris.colorscheme.setup_github()
  local colors = require('github-theme.colors').setup()
  vim.cmd(string.format('hi StatusLine guibg=%s', colors.white))
end

require("github-theme").setup({
  themeStyle = 'light',
})

And now it looks like this:

Also, i'm not able to override dark color this way, for which I'll open up a separate issue.

Now you override the statusline background color with bg_statusline.
require("github-theme").setup({
  colors = {bg_statusline = "#000000"}    -- set statusline background to black
})

Thanks!

Then the color of statusline fonts should be customizable too

require("github-theme").setup({
  colors = {
    bg_statusline = "#000000", -- set statusline background to black
    fg_statusline = "#ffffff" -- set statusline foreground to white
  }
})

ref: af158c9


not displaying a specific channel

Background
I opened a (large) channel last night and now the channel isn't showing up anywhere in lnd (I looked in 'listchannels', 'pendingchannels', 'closedchannels', 'getchaninfo') Luckily I noticed this when browsing my 'fwdinghistory' today or else I probably would have never caught it. The pub_key IS displayed with 'listpeers` command along with about 3.2kb total data transfer but zero sats sent and received which is strange since 'fwdinghistory' is showing 5 different payments egress-ed out the "mystery" channel (almost the whole channel amount) that isn't showing up anywhere else (except twice in the lnd.log). The only way I could even figure out which channel this node was associated with was via 1ml which gave me the pub key and channel point which I used to search the lnd.logs below. I've been running this node for several months and have many channels open with plenty of fwding with no problems and while I know my way around linux pretty well, I'm not a dev so please hold my hand. I'm happy to send my full unredacted logs (info level) to a trusted dev, just tell me where to send'em. Thanks!
edit: I noticed a date in the log, WAY out of range. Could this be the culprit? I've bolded it.
Your environment

version of lnd
0.7.0-beta commit=v0.7.0-beta-4-ga6e77811b1578f5d48191d0b9a5d4cbf895626f5
which operating system (uname -a on *Nix)
4.15.0-54-generic #58-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
version of btcd, bitcoind, or other backend
Bitcoin Core version v<IP_ADDRESS>-fcb6694a9
any other relevant environment details

logs:

:~/.lnd/logs/bitcoin/mainnet$ cat lnd.log|grep <short_id>
2019-07-10 02:58:48.102 [INF] DISC: Orphan remote proof announcement with short_chan_id=<short_id>, addingto waiting batch
2019-07-10 02:58:49.444 [INF] DISC: Fully valid channel proof for short_chan_id=<short_id> constructed, adding to next ann batch

~/.lnd/logs/bitcoin/mainnet$ cat lnd.log|grep pub_key
2019-07-10 01:10:29.007 [INF] SRVR: Established connection to: pub_key@<IP_ADDRESS>:9735
2019-07-10 01:10:29.007 [INF] SRVR: Finalizing connection to pub_key@<IP_ADDRESS>:9735, inbound=false
2019-07-10 01:10:29.169 [INF] SRVR: Pruning peer pub_key from persistent connections, number of open channels is now zero
2019-07-10 01:10:29.169 [INF] SRVR: Negotiated chan series queries with pub_key
2019-07-10 01:10:29.169 [INF] DISC: Creating new GossipSyncer for peer=pub_key
2019-07-10 01:10:38.628 [ERR] RPCS: [connectpeer]: error connecting to peer: already connected to peer: pub_key@<IP_ADDRESS>:9735
2019-07-10 01:10:38.631 [INF] FNDG: Initiating fundingRequest(localAmt=0.XXXXXXXX BTC, remoteAmt=0 mSAT, capacity=0.XXXXXXXX BTC, chainhash=hash_value, peer=pub_key, dustLimit=0.00000573 BTC, min_confs=1)
2019-07-10 02:58:49.683 [INF] PEER: New channel active ChannelPoint(channel_point:1) with NodeKey(pub_key)
2019-07-10 04:23:56.723 [INF] SRVR: Established connection to: pub_key@<IP_ADDRESS>:9735
2019-07-10 04:23:56.723 [INF] SRVR: Finalizing connection to pub_key@<IP_ADDRESS>:9735, inbound=false
2019-07-10 04:23:56.893 [INF] PEER: NodeKey(pub_key) loading ChannelPoint(channel_point:1)
2019-07-10 04:23:56.894 [INF] SRVR: Negotiated chan series queries with pub_key
2019-07-10 04:23:56.894 [INF] DISC: Creating new GossipSyncer for peer=pub_key
2019-07-10 08:08:45.267 [INF] PEER: unable to read message from pub_key@<IP_ADDRESS>:9735: EOF
2019-07-10 08:08:45.267 [INF] PEER: Disconnecting pub_key@<IP_ADDRESS>:9735, reason: read handler closed
2019-07-10 08:08:45.468 [INF] DISC: Removing GossipSyncer for peer=pub_key
2019-07-10 08:08:52.083 [INF] SRVR: Established connection to: pub_key@<IP_ADDRESS>:9735
2019-07-10 08:08:52.083 [INF] SRVR: Finalizing connection to pub_key@<IP_ADDRESS>:9735, inbound=false
2019-07-10 08:08:57.520 [INF] PEER: NodeKey(pub_key) loading ChannelPoint(channel_point:1)
2019-07-10 08:08:57.523 [INF] SRVR: Negotiated chan series queries with pub_key
2019-07-10 08:08:57.523 [INF] DISC: Creating new GossipSyncer for peer=pub_key
2019-07-10 08:08:58.107 [INF] DISC: GossipSyncer(pub_key): applying new update horizon: start=2019-07-10 08:08:58 -0700 PDT, end=2155-08-16 13:37:13 -0800 PST, backlog_size=0
2019-07-10 09:08:54.030 [INF] DISC: GossipSyncer(pub_key): applying new update horizon: start=2042-07-13 17:04:00 -0800 PST, end=2042-07-13 17:04:00 -0800 PST, backlog_size=0
2019-07-10 10:28:54.029 [INF] DISC: GossipSyncer(pub_key): applying new update horizon: start=2019-07-10 10:28:53 -0700 PDT, end=2155-08-16 15:57:08 -0800 PST, backlog_size=0
2019-07-10 11:28:54.030 [INF] DISC: GossipSyncer(pub_key): applying new update horizon: start=2042-07-13 17:04:00 -0800 PST, end=2042-07-13 17:04:00 -0800 PST, backlog_size=0
2019-07-10 17:04:55.765 [ERR] HSWC: unable to find appropriate channel link insufficient capacity, need<PHONE_NUMBER> mSAT towards node=pub_key
2019-07-10 17:04:55.766 [ERR] HSWC: ChannelLink(short_id) unhandled error while forwarding htlc packet over htlcswitch: unable to find appropriate channel link insufficient capacity, need<PHONE_NUMBER> mSAT towards node=pub_key
2019-07-10 17:06:12.262 [ERR] HSWC: unable to find appropriate channel link insufficient capacity, need<PHONE_NUMBER> mSAT towards node=pub_key
2019-07-10 17:06:12.262 [ERR] HSWC: ChannelLink(short_id) unhandled error while forwarding htlc packet over htlcswitch: unable to find appropriate channel link insufficient capacity, need<PHONE_NUMBER> mSAT towards node=pub_key
2019-07-10 17:09:16.749 [ERR] HSWC: unable to find appropriate channel link insufficient capacity, need<PHONE_NUMBER> mSAT towards node=pub_key
2019-07-10 17:09:16.749 [ERR] HSWC: ChannelLink(short_id) unhandled error while forwarding htlc packet over htlcswitch: unable to find appropriate channel link insufficient capacity, need<PHONE_NUMBER> mSAT towards node=pub_key
2019-07-10 22:28:54.029 [INF] DISC: GossipSyncer(pub_key): applying new update horizon: start=2019-07-10 22:28:53 -0700 PDT, end=2155-08-17 03:57:08 -0800 PST, backlog_size=0
2019-07-10 23:08:54.029 [INF] DISC: GossipSyncer(pub_key): filtering chan range: start_height=0, num_blocks=4294967295
2019-07-10 23:08:54.037 [INF] DISC: GossipSyncer(pub_key): sending range chunk of size=8000
2019-07-10 23:08:54.043 [INF] DISC: GossipSyncer(pub_key): sending range chunk of size=8000
2019-07-10 23:08:54.213 [INF] DISC: GossipSyncer(pub_key): sending range chunk of size=8000
2019-07-10 23:08:54.220 [INF] DISC: GossipSyncer(pub_key): sending range chunk of size=8000
2019-07-10 23:08:54.383 [INF] DISC: GossipSyncer(pub_key): sending final chan range chunk, size=6880
2019-07-10 23:08:54.846 [INF] DISC: GossipSyncer(pub_key): fetching chan anns for 1 chans
2019-07-11 00:33:49.301 [INF] SRVR: Disconnecting from pub_key@<IP_ADDRESS>:9735
2019-07-11 00:33:49.301 [INF] PEER: Disconnecting pub_key@<IP_ADDRESS>:9735, reason: server: disconnecting peer pub_key@<IP_ADDRESS>:9735
2019-07-11 00:33:49.301 [INF] PEER: unable to read message from pub_key@<IP_ADDRESS>:9735: read tcp <IP_ADDRESS>:49670-><IP_ADDRESS>:9735: use of closed network connection
2019-07-11 00:37:31.843 [INF] SRVR: Established connection to: pub_key@<IP_ADDRESS>:9735
2019-07-11 00:37:31.843 [INF] SRVR: Finalizing connection to pub_key@<IP_ADDRESS>:9735, inbound=false
2019-07-11 00:37:32.016 [INF] PEER: NodeKey(pub_key) loading ChannelPoint(channel_point:1)
2019-07-11 00:37:32.016 [INF] SRVR: Negotiated chan series queries with pub_key
2019-07-11 00:37:32.017 [INF] DISC: Creating new GossipSyncer for peer=pub_key
2019-07-11 01:14:41.369 [INF] CHDB: Pruning link node pub_key with zero open channels from database

@th3geek  What's the TXID of the funding transaction? Probably the channel was closed by the remote peer?

@molxyz I'm happy to send you the TXID, but apparently github doesn't have a PM function. Any other way I can send it? twitter DM? email?
I'm getting kinda worried here. Would I risk losing funds if I simply tried to close the channel? lnd doesn't seem to know about it, but maybe if I gave it the specific channel point hopefully lnd will know the math to just close the channel. If this channel wasn't worth over $1500 usd I wouldn't worry about it so much, but that's a lot of money. (i know, i took the chance, but everything has been working swimmingly til now).
I was just looking at the TXID and it appears exactly 24 hours after the channel opened the funds were moved! so apparently I've been hacked, or someone has exploited a bug.
Can someone please HELP? I'll send $200 to the first dev that gives me a way to send them the TXID, logs and helps me figure this out!

Alright. Looks like I jumped the gun. Seems like 'somehow' the channel closed exactly 24 hours after it opened and lnd had no clue.
Anyway, guess all is well. Thanks Molxyz


add g++ requirement for INSTALL.md.

new setup.py requires g++ support.

Hi @gfjiangly ！First of all, we want to express our gratitude for your significant PR in the mmdetection project. Your contribution is highly appreciated, and we are grateful for your efforts in helping improve this open-source project during your personal time. We believe that many developers will benefit from your PR.
We would also like to invite you to join our Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/raweFPmdzG
If you have WeChat，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤


Pull request for GitHubCollectorTaskTest

This class runs Mockito tests for GitHubCollectorTask.

LGTM.

LGTM @satishc1  Please rebase, it will be merged

LGTM


Fix for IE9 compatibility

Is the ternary an issue?

Not necessarily but it could be. Imagine situation in which window.scrollY is 0 not undefined. Then it will fallback to window.pageYOffset even though window.scrollY is supported possibly causing the next calculation of top to be NaN.
I am not sure if that would affect the actual implementation of react-portal-tooltip, in this way, however, it is explicit.

You're right this could be an issue. Merged and available in v1.1.3

Great, thanx!
pon., 6.06.2016 o 17:14 użytkownik Romain Berger<EMAIL_ADDRESS>napisał:

You're right this could be an issue. Merged and available in v1.1.3
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/romainberger/react-portal-tooltip/pull/16#issuecomment-223989930,
or mute the thread
https://github.com/notifications/unsubscribe/ADFp4muAXE4UXBKN57HkP47FMmoJeBqWks5qJDlrgaJpZM4IoVQE
.


SQLx action uses node12 which is deprecated

https://github.com/launchbadge/sqlx/actions/runs/10063866576


Empty box shows when Show Background is enabled

When the option for "Show Background" is enabled, it shows an empty box with the color of the background, even when there are currently no currencies over alert threshold.

Already fixed in e41a7e7
Just waiting update merge to dalamud.
Thanks for the report.


Can't take gradient of TensorBase

Error happens when I try to take the gradient w.r.t. some TensorImage from Dataloaders.
Here is a simple example:
inp = TensorBase(torch.tensor(5.)).requires_grad_(True)
# inp = torch.tensor(5.).requires_grad_(True) # This is OK
print(inp)
out = inp**2
grad = torch.autograd.grad(out, inp, only_inputs=True)[0]
print(grad)

TensorBase(5., requires_grad=True)
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn

Yes, you can't pass this at init. This would require PyTorch properly handling subclasses of tensors, but AFAIK, it does not for now (there was a PR with this but I'm not sure it has been merged yet). Our subclasses are not perfect since we can't patch the core of Tensor semantics (and don't really know how) so you should only use the init of TensorBase with a tensor.
Also, our semantics are designed to preserve the types for an input pipeline. I have no idea how it plays with autodiff since it was not our primary intention to test it. Closing the issues since we won't do more work on it: this is a patch to address a critically missing piece in PyTorch.

But things go wrong even with this stupid example:
true_img = TensorImage(torch.randn(2, 3, 16, 16)) # get from Dataloaders
# true_img = torch.randn(2, 3, 16, 16) # This is OK
w = torch.tensor(3., requires_grad=True)
fake_img = torch.randn(2, 3, 16, 16) * w # generate from model
def loss_func(fake_img, true_img):
    return ((fake_img-true_img)**2).mean()
loss = loss_func(fake_img, true_img)
loss.backward()
w.grad

(fake_img-true_img) automatically becomes TensorImage and pytorch can't deal with it.
I can do something like true_img = true_img.data at somewhere to pass it, but I feel it is not a very good way.

You should cast it back to a plain Tensor when the semantics type get in the way.
Note again that this is a rough patch to let us have semantic types for our input pipelines, and it does not work with all operations so we had to patch in something to preserve the types in our transform.
For as long as PyTorch does not support them natively (which I understand is some goal on their side), I'd just advise to cast back and Tensor(true_img) in your loss function. That won't prevent the library to properly decode your result as the dataloader knows to recast things to the types it had (since applying the model often loses the type).

The interest thing is Tensor(true_img) will return TensorImage too. I tried detach(), Tensor(), as_tensor() ..., they all return TensorImage. The only thing work is true_img.data.
I think I will write a callback that cast xb, yb to plain tensor before each batch and cast them back after loss to prevent any weird behavior of tensor during computations.
(Do I need to cast them back after loss? From what you say above, dataloader knows how to handle it while show_batch, show_result?)
Thanks for your reply and hope that pytorch will support tensor subclass better soon.

I tried
true_img = TensorImage(torch.randn(2, 3, 16, 16)) # get from Dataloaders
# true_img = torch.randn(2, 3, 16, 16) # This is OK
w = torch.tensor(3., requires_grad=True)
fake_img = torch.randn(2, 3, 16, 16) * w # generate from model
def loss_func(fake_img, true_img):
    return ((fake_img-Tensor(true_img))**2).mean()
loss = loss_func(fake_img, true_img)
loss.backward()
w.grad

and it was fine. There may be one thing we can do to help surprises by not patching operations like add and sub. Will try when I have some time.
You won't need to cast them back after loss normally. If you use decode, or show_results, the dataloaders will cast them back.

  The little one give me some warning so I feel not so good and prevent to use it. Seems like "large Tensor" is OK. Cool...
Anyway, I will try callback first. Very thanks!!!


Make TerminateSessionAction easily overridable

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Weakiwi/feature/add block device test

Checklist

[x] make test-all (UNIX) passes. CI will also test this
[x] unit and/or integration tests are included (if applicable)
[x] documentation is changed or added (if applicable)

Description of change

This PR is to add block device test.
Why set it as draft because I don't know how to write intergration test for this feature.

You should be able to do some basic testing via Docker.
Once you got something there you should add and test the add functionality. @aelsabbahy might be needed to explain better how that functions since I haven't touched that section of the codebase but from my understanding, it's a simple autogenerated functionality.

You should be able to do some basic testing via Docker.
Once you got something there you should add and test the add functionality. @aelsabbahy might be needed to explain better how that functions since I haven't touched that section of the codebase but from my understanding, it's a simple autogenerated functionality.

Yes. The problem is that block device testing is to test hardware infomation. And dosen't like qemu or virtualbox, docker can't specify excepted hardware information. Like:

vendor id for disk
size of disk
type of drive

You should be able to do some basic testing via Docker.
Once you got something there you should add and test the add functionality. @aelsabbahy might be needed to explain better how that functions since I haven't touched that section of the codebase but from my understanding, it's a simple autogenerated functionality.

Yes. The problem is that block device testing is to test hardware infomation. And dosen't like qemu or virtualbox, docker can't specify excepted hardware information. Like:

vendor id for disk
size of disk
type of drive

@weakiwi I have been thinking about this one. The best I can come up with is that as long as we can verify that the device exists and as much data we can get out of Docker then this should be enough to prove that Goss is calling and interpreting the 3d party library correctly. It's not perfect but we will have to assume that dependency works as advertized since testing it isn't Goss responsibility.
While we all know the consumers aren't responsible for testing 3rd libraries, this still feels like a bad shortcut. @aelsabbahy would you prefer to take a different approach?

I started an issue to discuss this feature here #570.

Closing this as per discussion on #570


Support comparison operations for BigNum.

ready to merge?

Seems to work fine on the repl and the unit tests. I also noticed there were some number functions in vm.rs. Not sure how it is used. Should this be updated as well?
https://github.com/mattwparas/steel/blob/master/crates/steel-core/src/steel_vm/vm.rs#L5352

That is currently dead code and due for some cleanup - you can safely ignore that for now


Splitting sub-projects within mix

I often need to split my app into multiple sub-projects, e.g. the frontend and the admin dashboard. I often have very different mix configurations. To solve this, I used to create two different mix-configs but then somehow need to merge the mix-manifest.json. There are approaches for that, but I would love to have that out of the box.
As a first shot this could be solved using an additional mix-method e.g. mix.subproject('frontend'), which then would generate a mix-manifest.json like this { 'frontend': { ... } } . If the mix manifest already exists, just the corresponding section (frontend) is updated. Possibly existing other sections should not be touched then. If no subproject is given, it may default to 'default'.
Some other proposals for the method-name: realm, component, partial

see also #2789

Heh, I've had some ideas for this based on some of my own similar needs. I've slowly been working toward refactoring Mix to maybe allow for this but I'm not certain yet how some features will work or if I could possibly land the feature in a non-major release. And I know mix some plugins would definitely have to be updated to not rely on globals nearly as much (as well as Mix itself).
My idea for the api was something like this:
mix.group('frontend', mix => {
  mix.js("js/frontend/app.js", "frontend/app.js");
});

mix.group('admin', mix => {
  mix.js("js/admin/app.js", "admin/app.js");
});

And for the mix CLI:
# Compile just frontend
mix --group=frontend

# Compile just admin
mix --group=admin

# Compile everything _in parallel_
mix

One thing to note is, right now, I think changing the mix manifest is a no-go. I'm keen on using multiple manifest files because that ensures parallel webpack builds can't overwrite them and possibly lose changes.
However, none of this is concrete. It may happen, it may not. It's just an idea I've had in the back of my head for a while that would be a nice-to-have.

I came across an issue when trying to split multiple sub-projects within a mix config. Right now if you use extract to split off different dependencies for the different sub-projects it currently expects that each and every vendor file is being loaded on the page regardless if the code is being used on that specific page.

I like this idea. In my case I want to have all my main code in one build with the libraries extracted out as well as another one with all my worker files and not extract the libraries. I have a dodgy setup with 2 mix files and calling mix twice with each file but it's not the most ideal situation.


Update Copy Component Pattern to match PF Core

PFNG blockcopy and inlinecopy existed before it was an official pattern in patternfly core. Now that the pattern is in place on the design side, let's update our implementation to align with the styling and interactions defined at https://www.patternfly.org/pattern-library/forms-and-controls/copy-to-clipboard/
This basically amounts to consolidating the two separate copy components we have now into a single component that contains all the various features and options. This will make it easier to consume the copy component, but also require us to break certain apis along the way. Let's minimize the breakage of public api parts and document any necessary changes.

I don't know that we need to consolidate the two components? Other than the button style, the overall design isn't all that different. That is, it appears that there are still two types; inline and block.
Why not keep the two components, but add the style changes to the block component? That would help ensure we don't break the existing APIs.

Yea I actually prefer keeping both just wasn't sure that was an option. I was thinking to fulfill design all the requirements needed to exist in a single component. Between the two components we have all the bases covered, so if that's ok with everyone else, it works for me!

If we were starting from scratch, one component would do. Now that we have introduced two, we can't easily change/remove the APIs. We would be expected to deprecate one (or both) components. Then, they could be removed in a major release.

Just an update, hitting an issue that seems to be related to the pfng demo app - interacting with input elements inside certain example components (like inlinecopy, and filter for example) causes the individual demo templates to perform a disappearing act. May require a tweak to the build, not quite sure yet. Will update again once we find the root cause.


8344.3 Add GET /api/services

Shippable/pm#8344

Add GET /api/services?name=<foo>:

accepts query param to return the service with name
if no query param specified, return all services
if no services pesent in DB, then parse services/services.json file to create services array in system settings for core services
the format for services object in systemSettings is

{
    "api": { "serviceName": "api", "mounts": "", "envs": "", "opts": "", "replicas": "global"},
    "www": { "serviceName": "www", "mounts": "", "envs": "", "opts": "", "replicas": "global"},
    "mktg": { "serviceName": "mktg", "mounts": "", "envs": "", "opts": "", "replicas": "global"},
    "sync": { "serviceName": "sync", "mounts": "", "envs": "", "opts": "", "replicas": 1}
}

complete. closing.


Include plugin-windicss.js on npm package

Following the guide on https://flowbite.com/docs/getting-started/introduction/#windicss, the code provided will throw
Error: Cannot find module 'flowbite/plugin-windicss' and will not work since plugin-windicss.js is not included in the npm package.

Hey @rgvillanueva28,
Thanks for the contribution, this will be released ASAP.
Cheers,
Zoltan


Add "repeat last snip" to Win + Shift + S

Description of the new feature / enhancement
When I take a rectangular snip (Win + Shift + S) I want to be able to re-execute the exactly same snip after e.g. changing some contents on the screen
Scenario when this would be used?
Taking multiple screen of the same region (e.g. Power BI Dashboard, with different selections)
Supporting information
No response

For Windows 10/11 related enhancement, please file this on the Feedback hub.

Thanks, will do. The link you posted is dead or doesn't work for me. Could you check please?

In windows, use the feedback hub application.

Or just hit win+F


Preprocess

Could anyone please explain the purpose of the "preprocess" custom function? I fail to see a case where it might be useful.

I would like to point out the use case for which I plan to use the preprocess function.
My goal is to implement end to end encrypted streaming file uploads. For this reason I need to encrypt every chunk before it is sent to the wire.
I plan to implement this by mocking the FileAPI interface for accessing a file, mainly by implementing the slice method to return a Blob I have constructed client side.
I believe the preprocess method could be improved by allowing the user to also return a the content of the chunk to be uploaded and would make implementing something similar to this much easier.
Other use cases I see possible include streaming a file by doing client side compression/encoding or any other transformation on the data (without having to store the whole file in memory) before it is sent to the server.
So I guess I have two questions for you:

Do you believe the approach I have described above is reasonable?
Would you be interested in having an implementation of the better solution I described be part of flow.js?

How about just transferring the data over SSL/HTTPS instead of adding some custom encryption system which you might get wrong?
As for the compression, I can't remember any file type which is not using any compression by default.
Even calculating checksums is completely redundant action.
There is no need whatsoever for chunk preprocessing.

@vvllaadd we are not using a custom encryption scheme, we are using PGP, in particular the openpgpjs implementation of it: https://github.com/openpgpjs/openpgpjs that has received security audits: https://github.com/openpgpjs/openpgpjs/wiki/Cure53-security-audit and is used in a variety of different pieces of software.
I will not go into the numerous reasons why this is not the same thing as using HTTPS (TLS).
Anyways wether or not the goal is a good idea is out of scope, what I am asking is if implementing the solution in this way is good or not.

@vvllaadd our need for PGP on the GlobaLeaks project is different from what SSL/HTTPS is thought for.
What we are trying to develop is end2end encryption from a sender to a receiver where the server need to receive a payload already encrypted and not readable by the server owner itself.
I think that the library may benefit of such a hook possibility given the possible extension that one can build on them and the library itself can probably use it for debugging pourpuses.

Watch this project https://github.com/vvllaadd/filerun.js, I will add the base code today or tomorrow and will consider adding the hook in a future version.

This is a really old request, but it is possible with current flow version (2.11.2) to achieve it using this configuration :
var r = new Flow({
    target:...,
    chunkSize: ...,
    simultaneousUploads: ...,
    forceChunkSize: ...,
    maxChunkRetries: ...,
    preprocess : function(chunk) {
    	if (chunk.readState == 0) {
    		// readState=0 : read of file chunk not started. Triggering it now.
    		chunk.preprocessState = 0;
    		var read = chunk.flowObj.opts.readFileFn;
    		read(chunk.fileObj, chunk.startByte, chunk.endByte, chunk.fileObj.file.type, chunk);
    	} else if (chunk.readState == 1) {
    		// waiting... readState=1 : read of chunk is in progress.
    		chunk.preprocessState = -1;
    	} else if (chunk.readState == 2) {
    		// readState=2 : read is finished. We can trigger now MD5 compute.
    		var reader = new FileReader();
    		reader.onloadend = function () {
    		    chunk.md5sum = SparkMD5.ArrayBuffer.hash(reader.result);
    		    console.log('Finished computing chunk#' + chunk.offset + '(starting at : ' + chunk.startByte +
    				        ', finishing at : ' + chunk.endByte + ')' + ' md5 : ' + chunk.md5sum);
	    	    chunk.preprocessFinished();
			};
    		reader.readAsArrayBuffer(chunk.bytes);
    	}
    },
    query : function(file, chunk, isTest) {
    	return {'md5sum' : chunk.md5sum};
    }
});

It is using SparkMD5, but any other lib should be working too, just replace the line chunk.md5sum = SparkMD5.ArrayBuffer.hash(reader.result); with your lib.


create pygeoapi plugin

Implement pygeoapi plugin in the same pattern as implemented in csv2bufr.

I want to deal with hourly data of SYNOP to BUFR, synop2bufr can do this? Please reply as soon as possible

Yes synop2bufr is intended to be able to handle hourly SYNOP data. Give it a try and let me know how it goes.


Conversion error when using bytecode button.

I was solving problem 9 of the evm puzzle.
(The puzzle is on GitHub below.)
https://github.com/fvictorio/evm-puzzles

I did the same in the evmcodes playground but failed.
I looked into why, and found that there was an error when converting to bytecode.

hex 0x0e is equivalent to decimal 14.
Why do I get this error?

hello, guys, I think you write run code, the correct code is bellow:
CALLDATASIZE
PUSH1 0x03
LT
PUSH1 0x09
JUMPI
REVERT
REVERT
JUMPDEST
CALLVALUE
CALLDATASIZE
MUL
PUSH1 0x08
EQ
PUSH1 0x14
JUMPI
REVERT
JUMPDEST
STOP

In the 14th line, the parameter of PUSH1 is not 14. it should be 0x14.


⚠ Jenkins Plugins Artifactory has degraded performance

In 6440482, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2338 ms

Resolved: Jenkins Plugins Artifactory performance has improved in b7011db.


build: Support docker to build ARM package

It was build on Raspbian using docker and binfmt+qemu
Usage:
curl -sL https://rawgit.com/$org/$project/$branch/run.sh | bash -x -
ls tmp/out/node-sqlite3/sqlite3-*.tgz
Or run.sh can be run insources
Change-Id: I79000463955d16eec8809c870f7d02c60da53432
Bug: https://github.com/mapbox/node-sqlite3/issues/418
Origin: https://github.com/tizenteam/node-sqlite3
Signed-off-by: Philippe Coval<EMAIL_ADDRESS>

download package from https://bintray.com/rzr/devel/

Hi @rzr
First of all, thank you for your contributions. I think I can merge this as is. Is this still a WIP?
Ideally we would run this the Travis CI environment. It does not directly support ARM but it can be emulated. Ideally we publish builds for ARM too, are you interested in adding this?.

See updates in:
https://github.com/mapbox/node-sqlite3/issues/418

Which version of ARM is proffered ? I assume raspbian's one
Meanwhile check this ARMv8 change:
Relate-to: https://github.com/mapbox/node-sqlite3/pull/1147
I will adapt it for ARMv7 then

May this one be merged 1st:
https://github.com/mapbox/node-sqlite3/pull/1147


Plans to use ListView?

Any plans on using ListView which would be better for longer lists?

Dear superandrew213,
I'm sorry that no plans for this package to support ListView at present.

@cyqresig no problem, thank you!


Email proof check

When user get a new emailproof withe the same email as a pevious vc with same email then remove the previous vc

Size: S

Impossible to add an email proof !

Why the revert: When adding EmailPass credential, the same credential is removed at the end of the process because removal is happening to late.
Removal code

Which is called from wallet cubit which has already added the credential in the repository


method (delete) is not applied to link

jquery-confirm version:
v3.3.4
I'm submitting a ...  (check one with "x")
[ ] bug report
[ ] feature request
[x] support request
Current behavior:
I am applying the confirm to a link that has method delete attached to it, for a REST application
HTML :
 Delete
JS :
$('a.link-confirm').confirm({
        content: "Your article will be deleted",
        buttons: {
            Yes: {
              text: " Yes ",
              action: function(){
                location.href = this.$target.attr('href');
              }
            },
            No: {
              text: "Not Yet",
              action: function(){
                this.close;
                }
            }
        }
    });

Though the method is not passed to the link.
It there a simple way to do this through JS without altering HTML (one option would be to create a form I guess but I would prefer to be able to pass the method directly to the link)

I think I will play with forms and therefore close the subject.
But I am still open to other methods.


Creating data source problem

When we are trying to get the data from druid engine it gives "name is null"  error. How can we fix this  ?

@hashansl Can I test it with a previously issued ingestion script(#1706)?

yes you can. @i1befree we actually uploaded our csv files using json/curl. problem is we can't get it from metatrone druid engine.


Card issue #39

Describe the bug
Cards given in "Resource Library" do not have border-radius like others.
It is looking quite odd.
Solve the issue
I solved the issue and changed the border-radius,width of the border of the card

Mention issue number and some screenshots.


Add check to prevent redundant values in headers when using GZIPOutInterceptor

I use a custom feature to retry a client request if it fails. Unfortunately, on each attempt, the Content-Encoding header is modified to add gzip, giving Content-Encoding: gzip,gzip on the 2nd attempt.
I've added a small check before adding the value to the header, to make sure it's not already defined with the expected value.

Thanks @yvrng !


CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered

2021-08-19 10:05:03.498 Traceback (most recent call last):
2021-08-19 10:05:03.498 File "run_alphafold2_complex.py", line 384, in
2021-08-19 10:05:03.498 plddts, paes = predict_structure(jobname, feature_dict, Ls=Ls, num_models=num_models)
2021-08-19 10:05:03.498 File "run_alphafold2_complex.py", line 152, in predict_structure
2021-08-19 10:05:03.498 prediction_result=model_runner.predict(processed_feature_dict)
2021-08-19 10:05:03.498 File "/ceph/bbkjfeng/buddy1/alphafold/tmp/proteinComplex/alphafold/model/model.py", line 133, in predict
2021-08-19 10:05:03.498 result = self.apply(self.params, jax.random.PRNGKey(0), feat)
2021-08-19 10:05:03.498 File "/opt/conda/lib/python3.8/site-packages/jax/interpreters/xla.py", line 893, in _execute_compiled
2021-08-19 10:05:03.498 out_bufs = compiled.execute(input_bufs)
2021-08-19 10:05:03.498 RuntimeError: Internal: Failed to launch CUDA kernel: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered
2021-08-19 10:05:04.659 2021-08-19 10:05:04.658984: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_driver.cc:1039] could not synchronize on CUDA context: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered :: *** Begin stack trace ***

@jiyanbio Do you have more information on this? On what type of system/GPUs were you hitting this?

@boegel I run into the same issue. Perhaps I can provide more details\
I run alphafold using docker, e.g. python /home/joris/tools/alphafold/docker/run_docker.py --fasta_paths=test_gpa2.fasta --preset=casp14 --max_template_date=2021-10-1
OS: Ubuntu 20.04.3 LTS
GPU: RTX3080 ti
I was able to predict the structure of a different sequence, but the one I tried later gave me this error. Let me know if you need ano other information
Full log: alphafold_error_log.txt

I'm getting the same error on A100 GPUs. Looks like we're both using unified memory (XLA, Jaxlib). I have used unified memory to fold several other proteins, but for some reason I have one protein that fails with this CUDA synchronization error.

For what it's worth: I could get things running by not using unified memory, by making sure the $TF_FORCE_UNIFIED_MEMORY environment variable is not set:
unset TF_FORCE_UNIFIED_MEMORY

Is this still an issue with the most recent version of AlphaFold?

Closing this issue for now, feel free to reopen if this is still a problem.


Entity Hider Shows Players on Ignore List

Type
Incorrect behavior
Operating System
Windows
OS Version
No response
Bug description
If you have Entity Hider on Hide Others, adding a player to your ignore list will cause them to appear.
Screenshots or videos
No response
RuneLite version
RuneLite Version: 1.10.5
Launcher version: 2.4.5
Logs
No response

This is intentional, click "Hide Ignores" if you want to hide them too.


add basic registered query validation in genesis

@NeverHappened there is nothing to validate, basically. Every param has no limitations


Spotify not working

Play/Pause and skip buttons work, the rest (Title, Artist, Album, Album Art, Track length, Track progress, Progress bar) isn't functional. Anyone know how to fix it?

Managed to fix it myself, so I'm gonna leave the instructions here for anyone interested.
This requires spicetify and the WebNowPlaying plugin, which is automatically installed alongside spicetify.

Navigate to your Rainmeter folder.
Go to<EMAIL_ADDRESS>Replace the entire thing with the following code:

`[MeasureState]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=State
IfCondition=MeasureState = 1
IfTrueAction=[!HideMeterGroup Top][!ShowMeterGroup Bottom]
IfCondition2=MeasureState = 2
IfTrueAction2=[!ShowMeterGroup Top][!HideMeterGroup Bottom]
IfCondition3=MeasureState = 0
IfTrueAction3=[!HideMeterGroup Top][!HideMeterGroup Bottom]
IfConditionMode=0
DynamicVariables=1
[MeasureStateButton]
Measure=Plugin
Plugin=SpotifyPlugin
Type=Playing
Substitute="0":"Play","1":"Pause","2":"Play"
[MeasureArtist]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Artist
[MeasureAlbum]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Album
[MeasureTrack]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Title
[MeasureCover]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Cover
Res=120
<EMAIL_ADDRESS>UpdateDivider=50
[MeasurePosition]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Position
UpdateDivider=10
[MeasureDuration]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Duration
UpdateDivider=10
[MeasureProgressPrecent]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Progress
Substitute="NaN":"1"
UpdateDivider=5
[MeasureProgress]
Measure=Calc
Formula=MeasureProgressPrecent
`
THIS CAN BREAK ANY TIME. Also, if anything isn't working, I probably will not be able to fix it.


Assert interface can't handle promise returned by webdriver

Promises generated by webdriver are sealed and it's impossible to add notify method to this promise. It causes an error:
 TypeError: Can't add property notify, object is not extensible
 at Object.assert.eventually.(anonymous function) [as equal] (chai-as-promised\lib\chai-as-promised.js:363:40)

I've created example project to reproduce this error

Fixed per https://github.com/domenic/chai-as-promised/pull/138#issuecomment-183514217 on the Selenium side, thankfully.


Document working with unit tests

https://github.com/conan-io/conan-center-index/blob/master/docs/packaging_policy.md#options also has more code


Create 0000-01-02-TheRyIsFly.md

created a branch, created a file and made a commit, and opened a pull request


Allow user to request feedback when saving

This comes up for discussion sometimes in other channels but we don't have an issue to track it here.
The idea would be to have a checkbox labelled something like "I'd like somebody to review these edits".  Then iD would add a special changeset tag (e.g. review_requested=yes?) and it would get special treatment by review systems like OSMCha.
similar: #3968

@bhousel It's a good idea! Some time ago someone suggested to add a hash tag like #pleasereview to the changeset comment, so we could track it on osmcha. Let me know if I can help on this!
I think we could add the information both in the changeset tag and in the comment. The tag makes it easier to be identified by software and the comment lets it more visible to users.

Some time ago someone suggested to add a hash tag like #pleasereview to the changeset comment, so we could track it on osmcha. Let me know if I can help on this!

Nice, I'll make sure that when this feature is implemented we will open an issue on OSMCha to support it.
Hashtags in comments are sort of falling out of favor, see #2834.  I think they are mostly used by the Missing Streets project for their dashboard.  There seems to be general agreement that people would rather see hashtags in a different changeset tag and encourage mappers to write real comments about what they are doing, but there will be some transition period where they still appear in comments.

wip at #4223

Completed in https://github.com/openstreetmap/iD/commit/0ea043b31132815643a4cc6e0f7108bdf6de744f

iD invented here a new tag.
This tag should be IMO documented on the wiki, as this is designed to be used by other software.

@HolgerJeromin Thanks for your suggestion. I added it on https://wiki.openstreetmap.org/wiki/Changeset#Tags_on_changesets

I like the idea of giving new users the possibility to request a review. However, I am missing some key information:

What work has to be done to qualify as a review?
What are the possible outcomes of a review (maybe "good", "needs improvement", "needs revert"?) ?
Who is qualified to do a review?
How can we recognize if a review has been performed? Is it when (any kind of) a changeset comment has been given?
Am I overthinking this?

I'd like to see a list of software that evaluates review_requested=yes tags. @joto evaluates project files (see https://wiki.openstreetmap.org/wiki/Taginfo/Projects ) but AFAIK these are meant for normal tags only, not for changeset tags. Maybe software authors, which support this tag can mention this fact on the wiki?

@ltog we have no life cycle of a review.
The problem of this is that many persons are reviewing the same with no way to handle situations like "changeset was not good, but all was fixed in later changesets. No need to look at it".
Perhaps osmcha has this internally, but this should work across other QA software tools...

The problem of this is that many persons are reviewing the same with no way to handle situations like "changeset was not good, but all was fixed in later changesets. No need to look at it".

My two bits: this information should not live on external review tools but on the osm.org changeset page, which is the commonly understood canonical page for a changeset. I believe discussions on changesets accommodate these use cases just fine. I.e. if someone reviews a changeset, fixes things, they should leave a discussion on the changeset saying "changeset was not good, but all was fixed in later changesets. No need to look at it" for eg. All any external tool needs to do then is surface the current changeset discussions to the reviewer.
It would probably be a good idea for any external review tool to post back any internal taxonomy for tagging / rating changesets as changeset discussions so this information is surfaced in a common place on osm.org. I'm not sure if posting changeset discussions by bots is allowed / encouraged, but I'll create a ticket in OSMCha for this.
tl;dr: I think most of these use-cases are currently handled by the changeset comment tag and changeset discussions.

@batpad Thanks for your input.
You are right, the life cycle is (with our current software situation) best tracked in the changeset comments.
I would propose to have further discussions about the topic in the linked osmcha tracker.


Delete certificate pdf after exporting (EXPOSUREAPP-9556)

Addresses EXPOSUREAPP-9556.

I think this implementation belongs to ViewModel itself. It could be called from onCleared() method.

@jurajkusnier done 👍🏼


Cocoapod doesn't build

Started a new Objc iOS project and added the CocoaPod. Getting a build error. The only thing I have done is add the Pod and attempted to build, the project is from the single view template.

Podfile

platform :ios, '9.0'
target 'StarlingManagement' do
pod 'ContentfulManagementAPI'
end

Pod install

Analyzing dependencies
Downloading dependencies
Installing AFNetworking (2.5.4)
Installing ContentfulDeliveryAPI (1.10.3)
Installing ContentfulManagementAPI (0.7.0)
Installing ISO8601DateFormatter (0.7)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 4 total pods installed.

I did a very quick debug attempt and it looks like the initializer needs the localizationAvailable parameter. Has CocoaPods resolved the wrong version?
Any ideas? Thanks, Ben

Sorry about this, I missed that this change in the CDA SDK is a breaking change for the CMA. You can temporarily work around it by pinning ContentfulDeliveryAPI to 1.10.1 in your Podfile.

No problem. Will do!

Fixed in d6078ee9b712396629f51ad04e8570dadb843f75
Shipped as part of 0.7.1


Licensing

Hello,
Could you add License file to this repository?
Thank you for your work!

Hi,
Sure thing. What license do you need? This was really just proof of concept code for a blog post, nothing production ready.

Maybe MIT license?
Would be the most flexible one.

Added it. Glad it's useful to people. Remember this a proof of concept, not suitable for production use.


Add live demo

This package is awesome, but not have a live demo page :|
Today, any React Package need a demo page, use some React Lib, like React Live
Or deploy a simple HTML and Css page, like there: https://lakscastro.github.io/menu-hamburger
The most important is show your lib working
Thank you, and I hope it takes into account the suggestion :)

so where is the demo

This is a work in progress at https://github.com/srmagura/react-loading-skeleton-site...

The website has been backlogged for now, but you can check out the new CodeSandbox for a live demo 🙂