How to train by using smpl-x

I noticed that in your paper you use SMPL-X to drive hand postures, so do you need to use SMPL-X for training and driving?
Kind regard

Hi!
You are right~

Hi! You are right~
Hi Dr.Hu,
Can you provide a demo and preprocessing script for smpl-x?
Firstly, how do I get the smpl-x action parameters, I used PyMAF-X to get the smpl-x data, is there any other kind of transformation I need to do?
Then, how should I get query_posemap_512_cano_smplx.npz and smplx_cano_joint_mat.pth?
Regards

Hi! You are right~
Hi Dr.Hu,
Can you provide a demo and preprocessing script for smpl-x?
Firstly, how do I get the smpl-x action parameters, I used PyMAF-X to get the smpl-x data, is there any other kind of transformation I need to do?
Then, how should I get query_posemap_512_cano_smplx.npz and smplx_cano_joint_mat.pth?
Regards

Have you already used SMPLX for training?

Hi! You are right~
Hi Dr.Hu,
Can you provide a demo and preprocessing script for smpl-x?
Firstly, how do I get the smpl-x action parameters, I used PyMAF-X to get the smpl-x data, is there any other kind of transformation I need to do?
Then, how should I get query_posemap_512_cano_smplx.npz and smplx_cano_joint_mat.pth?
Regards

Have you already used SMPLX for training?

Not yet, I've spent some time learning a bit about the various aspects of smpl-x and am going to try to modify the script you provided earlier for generating the various data used to train smpl-x.


Rough-and-ready context lifetime management.

This is a mostly-mechanical change; careful review is required to make sure it's being done right.

So IIUC, the idea is to hold a reference to the context in every data structure that it could manage. I think that will work but probably we need to guarantee more lifetimes than just that of the context. It's very likely that we also need to guarantee the lifetime of the module in which we create functions. In fact, I suppose pretty much every class that has a public destructor in C++ (and therefore a corresponding XXXDispose wrapper in the C API) needs some kind of lifetime management mechanism. So probably instructions would need to be written like this:
protocol InModule: Contextual { ... }
protocol Instruction: InModule { ... }

There's a lot of boilerplate involved in adding a reference to all of these data structures and I'm wondering if perhaps we should try a less clever approach. The context is a the most annoying object to track because it really doesn't fit nicely into a MVS-oriented wrapper. So my original idea was to hide LLVMContext under the rug. With the benefit of insights, however, I think it was a bad idea.
We need to use different contexts if we want to use LLVM in a multithreaded environment, which we'll probably want to do sooner than later (LLVM codegen currently takes ~10% of our compile time). So I guess at that point we'll want to uncouple the context from the module and write the code of a single thread in a lambda like:
queue.addOperation {
  SwiftyLLVM.withContext { (llvm) in
    // Emit some modules ...
  }
}

AFAICT, pretty much everything else is tied to the lifetime of a module. So perhaps we need to pull the same trick:
SwiftyLLVM.withContext { (llvm) in
  llvm.withNewModule("MyModule") { (m) in
    // Emit some functions ...
  }
}

Then we document that it is UB to use any context/module property outside of the corresponding closure and all existing data structures can remain as they are. In practice it shouldn't degrade the UX because I expect the common use case to look like this:
SwiftyLLVM.withContext { (llvm) in
  llvm.withNewModule("xyz") { (m) in emitModule(&m) }
}

func emitModule(_ m: inout SwfityLLVM.Module) {
  // Lifetime-extending closures shenanigans have no impact here
}

This is how Swift is doing it with C++ interop; not very principled.

not very principled.

Indeed, it feels "hacky".

@kyouko-taiga we should close this, then?

Yes, let's close. I will submit another PR using the withXXX approach, hopefully this afternoon.


Trigger is not optional

Hi,
Not providing the trigger: "" parameter will result in the fetch never happening.
From the doc it looks like this should be optional.
Thanks!

Hi, it's the feature for who want ONLY trigger by reFetch.

Closed for timeout, feel free to reopen :-)


Relax numpy requirement

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

I have interest in helping out with this package, so I added myself as a maintainer and will see how bad CI is :)

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

license_file entry is missing, but is required.

For recipe:

Whenever possible python packages should use pip. See https://conda-forge.org/docs/maintainer/adding_pkgs.html#use-pip
License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Eh, above my meager abilities :(


chore: set up GitHub Actions CI

No change to logic. This is an attempt to set up GitHub Actions as CI
for ShellJS.
This is mostly copied from execa:
https://github.com/sindresorhus/execa/blob/main/.github/workflows/main.yml
Fixes #1054

Codecov Report

Merging #1055 (3f7b12c) into master (0ae1dd6) will increase coverage by 0.67%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1055      +/-   ##
==========================================
+ Coverage   95.64%   96.32%   +0.67%
==========================================
  Files          35       35
  Lines        1332     1332
==========================================
+ Hits         1274     1283       +9
+ Misses         58       49       -9

Impacted Files
Coverage Δ

src/which.js
80.00% <0.00%> (-15.00%)
:arrow_down:

src/find.js
95.45% <0.00%> (-4.55%)
:arrow_down:

src/cmd.js
94.11% <0.00%> (-2.95%)
:arrow_down:

src/ls.js
97.67% <0.00%> (-2.33%)
:arrow_down:

src/ln.js
96.87% <0.00%> (ø)

src/chmod.js
89.41% <0.00%> (+2.35%)
:arrow_up:

src/mkdir.js
97.22% <0.00%> (+2.77%)
:arrow_up:

src/test.js
100.00% <0.00%> (+4.76%)
:arrow_up:

src/cp.js
91.20% <0.00%> (+4.79%)
:arrow_up:

src/rm.js
97.01% <0.00%> (+11.94%)
:arrow_up:

Continue to review full report at Codecov.

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


[mypy] Fix Incompatible types

Signed-off-by: Kevin Su<EMAIL_ADDRESS>TL;DR
Fix mypy errors like "Incompatible types  ..."
plugins/flytekit-greatexpectations/flytekitplugins/great_expectations/schema.py:54: error: Incompatible types in assignment (expression has type "None", variable has type "BatchRequestConfig")
plugins/flytekit-greatexpectations/flytekitplugins/great_expectations/schema.py:70: error: Incompatible return value type (got "Tuple[Type[str], GreatExpectationsFlyteConfig]", expected "Tuple[Type[Any], Type[GreatExpectationsFlyteConfig]]")
plugins/flytekit-greatexpectations/flytekitplugins/great_expectations/schema.py:84: error: Incompatible return value type (got "Tuple[Type[Any], GreatExpectationsFlyteConfig]", expected "Tuple[Type[Any], Type[GreatExpectationsFlyteConfig]]")
plugins/flytekit-greatexpectations/flytekitplugins/great_expectations/schema.py:325: error: Incompatible return value type (got "str", expected "GreatExpectationsType")

Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Pass mypy checks
make test | grep "Incompatible"
Tracking Issue
https://github.com/flyteorg/flyte/issues/1427
Follow-up issue
NA

there's no logical changes here at all right?

Exactly, I think we could merge it after we fix the integration tests, and make sure it can pass the tests

Wow 🤩. You have basically understood all of Flyte

Thanks, man. I think there are many things that I still need to investigate in this amazing project.


Review of Previous Discussions and Prior Art

There have been a number of informative discussions over the years (especially the last few years) about the future of the C-API.  It would be worth taking advantage those discussions.
We can start by leaving links to those discussions here.  Any of them that might warrant a deeper discussion could also get separate issues.  (There's already some discussion about HPy.)

I'll start.  @zooba wrote down what I think are some important design principles:
<EMAIL_ADDRESS>I've opened #7 for a deeper discussion.

My notes: Draft: C API design strategy, Python C-API in non-C languages (and projects I asked to chime in)

Here is the high-level HPy API manifesto and the slightly longer explanation of each item:

https://github.com/hpyproject/hpy/wiki/c-api-next-level-manifesto
https://github.com/hpyproject/hpy/wiki/c-api-next-level-changes

And the HPy implementation https://github.com/hpyproject/hpy/ as prior art.
HPy can already run kiwisolver, matplotlib, and enough of numpy to run a simple Game of Life. The links are to the respective ports.

@vstinner has also made detailed proposals in the past and written extensively about it:

(2019) https://pythoncapi.readthedocs.io/
(2019<EMAIL_ADDRESS>(2019<EMAIL_ADDRESS>(2018<EMAIL_ADDRESS>(2018<EMAIL_ADDRESS>(2018<EMAIL_ADDRESS>(2017) https://vstinner.github.io/new-python-c-api.html
https://vstinner.github.io/tag/c-api.html  (other blog posts from Victor)

(Victor's person Python notes at https://pythondev.readthedocs.io/ probably also have some related material.)

Here's a discussion I started about having an official cython-like tool:
<EMAIL_ADDRESS>

@vstinner also publishes a backward-compatibility shim header that relates here:
https://pythoncapi-compat.readthedocs.io/


Transfer ownership of project

Find someone willing to take over this project. I do not work on telephony anymore and am not in a position to maintain this anymore.

I just pull a request to thisproject.

@mgodave I'm interested in taking over the project. What are the next steps for us?

I'm on vacation right now. When I get back to a computer I'll transfer
ownership. Feel free to reach out again if I haven't by Friday.
On Mon, Mar 27, 2017, 16:11 Dave Owens<EMAIL_ADDRESS>wrote:

@mgodave https://github.com/mgodave I'm interested in taking over the
project. What are the next steps for us?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mgodave/esl-client/issues/16#issuecomment-289613448,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAh9FlhOy6vVbF546PzbvHW8l7z0aPZ4ks5rqEI0gaJpZM4JAdCR
.

@davewo Still want it?

I'm interested in taking over this project. I'm working on VoIP project over 6 years, which based on FreeSWITCH or Asterisk.

@davewo @livem I have transferred ownership to an organization and made you both owners.

Thanks


Ginkgo: Fix race condition when cilium is restarted

In the build 598, the KVStore test was executed just before
RuntimeConntrackTest. KVStore stops cilium for running it manually,
cilium starts correctly after the test, but it takes a bit to be ready
and test fail.
Added a WaitUntilReady on initializing functions to fix that problem.
https://jenkins.cilium.io/job/Ginkgo-CI-Tests-Pipeline/598/consoleFull
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

Changes look fine, but before this is merged, I'd like to see continuous-integration/jenkins/pr-merge succeed as this change only affects the Ginkgo tests.


rewrites to api are broken

next: 10.0.2
next-translate: 1.0.2

with next-translate in my project i am no longer able to use the rewrites() entry in the next config to rewrite to api endpoints.
I have tried this with multiple different api endpoints.

it is worth noting that rewrites seem to work fine if im not routing to the api

if i remove the nextTranslate() from my config then the rewrites start working again but obviously translations dont work
the error
Error: Objects are not valid as a React child (found: [object Promise]). If you meant to render a collection of children, use an array instead.

../pages/_document.tsx (90:33) @ Function.getInitialProps

  88 |     }
  89 |
> 90 |     const { html, head } = await ctx.renderPage({ enhanceApp })
     |                                 ^
  91 |     const styles = [...flush()]
  92 |     return { html, head, styles }
  93 |   }

my config
module.exports = nextTranslate({
    ....
    rewrites() {
        return [
            ...
            {
                source: '/:file.txt',
                destination: '/api/txt?file=:file'
            }
        ];
    }
};

@indeedhat do you have a reproducible example? 🙏 Thanks

Thanks for the quick response, ill knock together an example project for and link it here tomorrow.

I have spent the last hour or so trying to get this to happen on a fresh project and no matter what i do it just works this time so the issue really might have very little to do with next-translate.
I assumed thats was where the issue was because if i removed the call to nextTranslate() from my config it worked fine, but now im questioning it.
As soon as i get time ill try stripping back the project i am having the issue with and see if i cant work out what is going on. If i do manage to find the issue ill report back but for now its probably worth going with "This is not an issue with next-translate".
Sorry for the waste of time.

The example project was setup using next: 10.0.7 not 10.0.2.
With the later version of next it works perfectly so the issue was with them.


Add Prettier code formatter to the UI

Current Behavior

The UI code doesn't follow any formatting guidelines as of now. Devs can choose b/w single or double quotes, semi or no semicolon, etc. This results in inconsistently formatted code.
Desired Behavior

By introducing prettier to the UI, all the code will follow standard formatting. It is analogous to gofmt. After prettier is added devs won't have to worry about adhering to a particular way of formatting JS code, prettier will take care of it.

Implementation

Will have to introduce prettier as a dev dependency to the UI project and write a pre-commit hook that formats all the changed files.
Mockups

Acceptance Tests

@Nikhil-Ladha Please add to this issue if it's needed and if everyone agrees on this, I can start working on it.

I’m supportive of this suggestion.
@kushthedude may have thoughts here as well.

We already have ES-Lint more better and stricter.

We already have ES-Lint more better and stricter.

But it doesn't help with formatting from what I've seen. You're free to choose upon single quotes or double quotes, you can choose to leave out semi colons, etc

Eslint can be configured to point errors for the above things, but having a formatter which does these things for you is good, in my opinion.

Eslint can also format the file using fix flag, we have not made it
stricter as it will require more diligence from the contributor, hence we
have made them mandatory.
On Sat, 10 Oct, 2020, 11:18 Daksh Sagar<EMAIL_ADDRESS>wrote:

Eslint can be configured to point errors for the above things, but having
a formatter which does these things for you is good, in my opinion.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/issues/1669#issuecomment-706492935,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQMTLWH27CFYVLCUSZQGJDSJ7YRJANCNFSM4SKZLALQ
.

Cool, shall I close this then ?

Let us wait and hear out from others if we want more stricter rules with
ESLint, else we are good to close this.
On Sat, 10 Oct, 2020, 11:40 Daksh Sagar<EMAIL_ADDRESS>wrote:

Cool, shall I close this then ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/issues/1669#issuecomment-706495282,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQMTLRSTJC42ZKBWYIZHI3SJ73HFANCNFSM4SKZLALQ
.

I think we are fine here.


fix(transCore): when no suffix don't match spaces

This fixes #533 .
I also added the corresponding unit test.
I hope it will be ok for you,
Thank you

@allcontributors please add @slevy85 for code

@slevy85 I prereleased under 1.0.5-canary.2 if you want to start using it


Divine Disharmy Action macro added

Created a macro for Divine Disharmony thaumaturge class feat, in line with the tamper class feat for Inventor.
Used a modified method from the Escape action macro to automatically detect and roll the highest modifier the actor has for the action.

Sorry, but we aren't expanding this collection.


BulkUpdater: Timeout while connecting to beacon

Prerequisites

[X ] Put an X between the brackets on this line if you have done all of the following:

My Android device/devices supports BLE and has Android OS version >= 4.4
My Android device/devices have Bluetooth enabled
My app has Location Permissions granted

Basic information
Estimote SDK version: [Paste here the SDK version that you are using (like 1.4.1)]
1.4.1
Android devices affected: [Paste here your Android device model/models that you are having problems with.]
Galaxy Tab A6 7.0''
Android OS version affected: [Android OS version (ex. Oreo 8.0.0)]
5.1.1
Beacon hardware version: [Paste here your beacons hardware version (you can check that in Estimote Cloud).]
G1.12
Description
** Steps to reproduce:**
I just run sample code from BulkUpdater example
Expected behavior:
Beacon settings is updated successfully
Actual behavior:
Beacon settings was not updated and app throws error
Logs and code
Here's the log when I set EstimoteSDK.enableDebugLogging(true)
02-26 10:43:09.066 6511-6511/com.estimote.bulkupdater I/EstimoteSDK: BeaconService.onCreate:79 Creating beacon service for android version 22
02-26 10:43:09.146 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: BulkUpdaterUpdateModule$2.onConnectedToService:83 Connected to connection provider service.
02-26 10:43:09.186 6511-6530/com.estimote.bulkupdater D/EstimoteSDK: BeaconService.setForegroundScanPeriod:151 Setting foreground scan period: ScanPeriodData{scanPeriodMillis=2000, waitTimeMillis=2000}
02-26 10:43:13.330 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: BulkUpdaterCloudModule.filterDevicesToUpdate:225 Device xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx has new pending settings in cloud.
02-26 10:43:13.330 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: EstimoteBulkUpdater$1.onAllOwnedDevices:121 Fetched info about 1 owned devices.
02-26 10:43:13.330 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: EstimoteBulkUpdater$1.onFilteredDevicesToUpdate:127 Got owned devices to update: 1
02-26 10:43:13.340 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: BulkUpdaterUpdateModule.updateDevices:55 Updating device [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
02-26 10:43:13.410 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: DeviceConnectionInternal.changeState:193 Changing internal connection state from DISCONNECTED to CONNECTING
02-26 10:43:13.410 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: FullConnectionStrategy.connect:40 Verifying device
02-26 10:43:13.660 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: BasicConnectionStrategy.connect:50 Connecting to bluetooth device
02-26 10:43:13.660 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: BlueRock.connectInternal:155 Trying to connect to GATT
02-26 10:43:33.910 6511-6525/com.estimote.bulkupdater D/EstimoteSDK: BlueRock$2.onConnectionStateChange:172 Trying GATT error recovery
02-26 10:43:33.910 6511-6525/com.estimote.bulkupdater D/EstimoteSDK: RecoveryHelper.startRecovery:90 Trying BT recovery
02-26 10:43:40.957 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: RecoveryHelper.onRecoveryFinished:58 BT Recovery finished.
02-26 10:43:40.967 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: BlueRock.connectInternal:155 Trying to connect to GATT
02-26 10:43:45.932 6511-6525/com.estimote.bulkupdater D/EstimoteSDK: BlueRock$2.onConnectionStateChange:172 Trying GATT error recovery
02-26 10:43:45.932 6511-6525/com.estimote.bulkupdater D/EstimoteSDK: RecoveryHelper.startRecovery:90 Trying BT recovery
02-26 10:43:47.944 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: RecoveryHelper.onRecoveryFinished:58 BT Recovery finished.
02-26 10:43:47.954 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: BlueRock.connectInternal:155 Trying to connect to GATT
02-26 10:43:53.669 6511-6511/com.estimote.bulkupdater E/EstimoteSDK: DeviceConnectionInternal$1.onError:260 Timeout while connecting to beacon
02-26 10:43:53.669 6511-6511/com.estimote.bulkupdater D/EstimoteSDK: DeviceConnectionInternal.changeState:193 Changing internal connection state from CONNECTING to DISCONNECTED

It seems that is infamous GATT error 133. Have you tried restarting Bluetooth/phone? It usually helps.  Some devices have it more frequently than others. It is generally problem with Android BLE  stack.

No response from author. Closing.


Make doesn't work properly on Ubuntu Linux

Running make test, for example, results in make: 'test' is up to date. without running any commands.

Closed by #21, thank you :)


Face on Mars Info is Incorrect

Face on Mars info is incorrect with real world information. (Not sure if due to in-game lore)
The date should be May 24, 2001 as seen here: https://science.nasa.gov/science-news/science-at-nasa/2001/ast24may_1
But the date in-game says "July 25, 1979"

Details
ID: ACTI 'LandmarkCydoniaActivatorREF' (00028F14)
Game Version
<IP_ADDRESS>
New Game
No
Reproduction Steps
Just activate the Face of Cydonia located in Cydonia.

Sorry. Ignore this. Upon further reading it is in fact the correct date.


Check failed: proto.SerializeToOstream(&output)

Hello, I'm newbie of vision area
I'd like to Image training on Caffe (using my data)
but when I try to run make_imagenet_mean.sh file
I got an error
would you help me kindly?
this is the error message
F0703 09:53:03.039291  3732 io.cpp:67] Check failed: proto.SerializeToOstream(&output)
*** Check failure stack trace: ***
@     0x7f114c9a6daa  (unknown)
@     0x7f114c9a6ce4  (unknown)
@     0x7f114c9a66e6  (unknown)
@     0x7f114c9a9687  (unknown)
@     0x7f114cd1248c  caffe::WriteProtoToBinaryFile()
@           0x402088  main
@     0x7f114bbb6ec5  (unknown)
@           0x40240a  (unknown)
@              (nil)  (unknown)
Aborted (core dumped)
Done.
I refer to this.
https://github.com/BVLC/caffe/tree/master/examples/imagenet
and I modify ~/cafe/data/ilsvrc12/train.txt, val.txt,
like this..
train.txt
n01440764/HYIcicleM.jpg 0
n01440764/HYIcicleM1.jpg 0
n01440764/HYIcicleM2.jpg 0
n01440764/HYIcicleM3.jpg 0
n01440764/HYIcicleM4.jpg 0
n01440764/HYIcicleM5.jpg 0
...
val.txt
HYIcicleM.jpg 0
HYIcicleM1.jpg 0
HY4OclockB.jpg 1
HY4OclockB1.jpg 1
HY4OclockB2.jpg 1
HY4OclockB(copy)9.jpg 2
HY4OclockB(copy)10.jpg 2
...
thank you!

Duplicate of #84.

I have the same bug, did anyone solved it?
I saw the answer：

Solution is to modify src/caffe/layers/data_layer.cpp by setting options.max_open_files = 100 (or any number significantly lower than 1000)
your disk is full
try to see the state of your disk by "df -a"

These answers are not suitable for me.

@HeddaZhu can you provide a list of steps to reproduce the problem? Or does it happen randomly like it does to everyone else?

i've met the same problem, but i think it's your disk is full. solved the problem by preparing more free space.


Image of youtube clone and google search engine clone is not reflecting.

please assign me this issue and label it with hacktoberfest .
I will raise up my PR asap.

You can start your work now.


Native review for koyachi/elm-sha

https://github.com/koyachi/elm-sha/tree/1.0.1
sha.js wrapper for Elm.
I'm planning to use elm-sha for digesting ip address in elm-identicon.
https://github.com/koyachi/elm-identicon

The native review pipeline is stalled. That's probably not news to you, but I wanted to leave a note on all the open reviews. I cannot speak for everyone, but as one of the reviewers I just want to speak up and say that I will not be doing more reviews. The warning about publishing native packages has changed, and Evan has mentioned multiple times in different places that one of his priorities for 0.17 is improving this process. So I'm going to wait for that. I'm sorry we cannot move forward with publishing your library, but my experience is that even if we review and approve it, it will become stuck waiting for Evan to whitelist it.

Sorry to keep this in limbo for so long. I am moving towards the plan outlined here and discussed a bit further in the 0.17 announcement. The right thing to for now is use ports or get advice on the mailing list or on slack about how to do it in Elm.


Add query params to /super-tokens page for filter + pagination

@kasparkallas This PR includes logic for handling pagination which the previous PR lacked.
I chose not to serialise the filter purely because the URL looks nicer compared to a stringified object in the address bar. There is also some logic in setUrlQueryParam()  for handling 1 letter filters.

Appreciate the contribution!
The advantage of serializing into the URL is that it's a general solution we could use for all the tables across Console with hopefully minimal code (and maintenance) per table.
As for the cosmetics of the URL, the serialization process could be extended later to make it comma-separated or something else visually pleasing for the URL, i.e. the serialization doesn't have to be JSON.

@kasparkallas Implemented serialisation and some small fixes.

@kasparkallas Implemented serialisation and some small fixes.

Thanks for your effort! I appreciate it and sorry for the slow response.
Looks pretty good but some feedback:

The handling of tab changes doesn't seem right as it's not persisted in the URL:
Instead of modifying window.history directly, I'd do it through Next.js' router: https://nextjs.org/docs/api-reference/next/router
Instead of explicitly doing setUrlQueryParam in the click handlers, it might be better to handle it in a single useEffect. (Because essentially the act of reflecting the query filters in the URL is a side-effect which is exactly what useEffect is meant for.)

The 2. and 3. are not critical and are more related to perfect code structure than feature correctness. I can also tackle these myself at some point.


How to use VSCode to debug Scrapy projects

From @seozed on August 12, 2016 8:24
I want to test my Scrapy spiders using it. Anyone knows how to do that please?
Copied from original issue: DonJayamanne/pythonVSCode#249

@qsnow6
Here's the solution:

Sample file is myspider.py found in http://scrapy.org/
Create a file named 'runner.py' with the following contents:

from scrapy.cmdline import execute
execute(['scrapy','runspider', 'fullly qualified path to myspider.py file'])

Add a breakpoint in your myspider.py file
Start debugging by debugging the runner.py

It should now work.

From @strefethen on March 31, 2017 5:6
@seozed Fwiw, here's an alternative: http://www.stevetrefethen.com/blog/debugging-a-python-scrapy-project-in-vscode

Reopening as a personal reminder to update documentation, and optionally add a debug config for this.

Turn this into a debug recipe

Recipes live at https://github.com/Microsoft/vscode-recipes

Closing this as we have a debug configuration for Scrapy (its not part of the default launch.json, however its available as a debug configuration snippet)

@DonJayamanne what is the snippet?
Is it:
from scrapy.cmdline import execute
execute(['scrapy','runspider', 'fullly qualified path to myspider.py file'])

?

Open the file .vscode/launch.json in vscode and click the button Add Configuration and select Python Scrapy

@DonJayamanne I am using Anaconda3 and VSCode for my current environment.
And I after inserted below code snippet in launch.json
 {           "name": "Scrapy",             "type": "python",             "request": "launch",             "program": "~/.virtualenvs/scrapy/bin/scrapy",             "args": [                 "crawl",                 "specs",                 "-o",                 "bikes.json"             ],             "console": "integratedTerminal"         },
An error is thrown during execution.
File "\Anaconda3\lib\site-packages\scrapy\spiderloader.py", line 69, in load     return self._spiders[spider_name] KeyError: 'specs'
How can I edit the snippet to make it works for Anaconda3?

@alexlaw19 it looks like you're passing an argument that Scrapy isn't expecting. Since we are not Scrapy experts we're unfortunately the wrong people to ask.


Error Building Singularity

I have an error when building gnina with singularity.
singularity build --force gnina oras://ghcr.io/truatpasteurdotfr/singularity-gnina:latest
INFO:    Starting build...
INFO:    Using cached SIF image
INFO:    Verifying bootstrap image /trinity/home/simeons/.singularity/cache/oras/sha256:860286673e284d2cf09e470f99d9d788237c35291a7ceb9a9e13129ad6a62c0c
WARNING: integrity: signature not found for object group 1
WARNING: Bootstrap image could not be verified, but build will continue.
ERROR:   unpackSIF failed: root filesystem extraction failed: could not extract squashfs data, unsquashfs not found
FATAL:   While performing build: packer failed to pack: root filesystem extraction failed: could not extract squashfs data, unsquashfs not found

What version of singularity are you using? singularity version

You probably don't have /usr/sbin/unsquashfs or unsquashfs is not found in the usual path searched.

Yes, I looked at the singularity --version. Here is my output. That was the error I got when I try in the DISC. And yes, I probably do not have the unsquashfs in the path. The singularity was installed using conda.
singularity --version
2.4.6-master.g55b3733

https://anaconda.org/conda-forge/singularity is showing version 3.8.5, maybe time to upgrade!
(base) [tru@elitebook840g3 ~]$ conda  create -n singularity
Collecting package metadata (current_repodata.json): done
Solving environment: done
...
(base) [tru@elitebook840g3 ~]$ conda activate singularity
(singularity) [tru@elitebook840g3 ~]$  conda install -c conda-forge singularity
...
(singularity) [tru@elitebook840g3 ~]$ type singularity
singularity is /home/tru/miniconda3/envs/singularity/bin/singularity
(singularity) [tru@elitebook840g3 ~]$ singularity version
3.8.5
(singularity) [tru@elitebook840g3 ~]$ singularity build --force /tmp/a.sif  oras://ghcr.io/truatpasteurdotfr/singularity-docker-busybox:latest
INFO:    Starting build...
INFO:    Using cached SIF image
INFO:    Verifying bootstrap image /home/tru/.singularity/cache/oras/sha256:af9d67776ffe8ffc4bfd4710e34f4f2ee8dfaee2a27075460c49e79f68084e5a
WARNING: integrity: signature not found for object group 1
WARNING: Bootstrap image could not be verified, but build will continue.
ERROR:   unpackSIF failed: root filesystem extraction failed: could not extract squashfs data, unsquashfs not found
FATAL:   While performing build: packer failed to pack: root filesystem extraction failed: could not extract squashfs data, unsquashfs not found

-> conda provided singularity is NON functionnal, imho....
with a yum install singularity version:
[tru@elitebook840g3 ~]$ singularity version
3.8.4-1.el7
[tru@elitebook840g3 ~]$ rpm -q singularity
singularity-3.8.4-1.el7.x86_64
[tru@elitebook840g3 ~]$  singularity build --force /tmp/a.sif  oras://ghcr.io/truatpasteurdotfr/singularity-docker-busybox:latest
INFO:    Starting build...
INFO:    Using cached SIF image
INFO:    Verifying bootstrap image /home/tru/.singularity/cache/oras/sha256:af9d67776ffe8ffc4bfd4710e34f4f2ee8dfaee2a27075460c49e79f68084e5a
WARNING: integrity: signature not found for object group 1
WARNING: Bootstrap image could not be verified, but build will continue.
INFO:    Creating SIF file...
INFO:    Build complete: /tmp/a.sif

-> ask DISC sysadmins to provide a regular singularity package from their OS supported packager ?
Not much I can do to help at this point.
oras://ghcr.io/truatpasteurdotfr/singularity-docker-busybox:latest is a lighter testcase for singularity compared to singularity-gnina!

Maybe build the container on your latop and run it at DISC? I don't have old singularity versions around, but that may work if the versions are not to different!

Yes, you are right. Only the admin can help us at this point. Nevertheless, singularity gnina is a great work! Thanks alot.

I have the same problem unsolved.

When will the Conda version of Singularity be updated? Conda is  great

@TaoCheng98 that question needs to be sent to the conda singularity maintener...


Enrollment Failed when trying to enroll Android device with new user

Hello.
I have hosted my IoTS to my virtual machine with static IP address.
Then I have created new user with its own login and password. My permissions for its role are:

Sorry for big Image.
After that when I try to enroll device with this user. I get this error:

Why this is happening? Is it device bug?

I was able to proceed by cloning device agent source code and build it by myself


Translation issue with message Wikimedia:Commons-android-strings-show already actioned pictures/is

Message URL: https://translatewiki.net/w/i.php?title=Special:Translate&showMessage=commons-android-strings-show_already_actioned_pictures&group=commons-android-strings&language=is
"Show already actioned pictures" - "actioned" means what? Is it pictures that have already been used in some context, or have been archived, or what?

It means pictures that have already been either uploaded, or marked as "not for upload".
Thanks for localizing! :-)


deps: upgrade uuid to v4

I also cleaned up some generated files that shouldn't be checked in
cc @edsonjab @oscb

cc @MichaelGHSeg


KeyError: 'bytes'

Latest version that uses --stats instead of --progress introduced the following bug for me
Running  rclone.copy(f"remote:some-bucket/some-folder", f"/opt/task/some-folder", ["--include=*.laz", "--include=*.las"])
  File "/usr/local/lib/python3.11/dist-packages/rclone_python/rclone.py", line 184, in copy
    _rclone_transfer_operation(
  File "/usr/local/lib/python3.11/dist-packages/rclone_python/rclone.py", line 24, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rclone_python/rclone.py", line 665, in _rclone_transfer_operation
    process = utils.rclone_progress(
              ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rclone_python/utils.py", line 91, in rclone_progress
    valid, update_dict = extract_rclone_progress(line)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/rclone_python/utils.py", line 139, in extract_rclone_progress
    "sent": t["bytes"],
            ~^^^^^^^^^
KeyError: 'bytes'
Python script exited with code 1

In v0.1.15 this does not happen.

That issue should be fixed now in v0.1.17. Sometimes the progress information of a specific task is not available right from the starts

Awesome, thanks for the quick response!


Feature/deplinks

Rebased version of #833
I cleaned it up and removed unlinking part as it's unnecessary and introduce more moving parts.
For a second I wanted introduce --config.deplinks flag, but I think it can be the default.

Sorely need this, wheres the 1.4 milestone?

changed to "minor release"

@sheerun is this done? Any status update if not? I guess this branch can be merged into 1.6.x ?

What needs to be done for this to make it in to the next version? I might be able to help as this seems to solve a pretty common issue.

Unfortunately Bower is not developed anymore and we don't accept new features, closing this


Problem with select widgets

When I first use the City widget in the Exploring Data tutorial, it has no effect:

Notice that it says DC in the widget, but New York in the title, and the data shown is from New York.  The correct data is shown if I then drag the Date slider, so it looks like a problem with the selection widget failing to update the displayed plot.
I'm using matplotlib 1.4.3.

Also, the tutorial suggests to try "R" and "P" to play the animation, but those only animate the slider, not the displayed plot.

And clicking within the slider sometimes makes the plot update (the first time I click?), but then just moves the slider.  Dragging the slider works reliably, but clicking doesn't.

trying the same notebook with Python 3.4.4 / Windows, I get:
surface_wind.info

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-9-b44694d72f09> in <module>()
----> 1 surface_wind.info

D:\WinPython\basedir34\buildQt5\winpython-3.4.4.amd64\python-3.4.4.amd64\lib\site-packages\holoviews\core\ndmapping.py in info(self)
    425                 dmin, dmax = self.range(d.name)
    426                 if d.value_format:
--> 427                     dmin, dmax = d.value_format(dmin), d.value_format(dmax)
    428                 info_str += '\t %s: %s...%s \n' % (str(d), dmin, dmax)
    429         print(info_str)

D:\WinPython\basedir34\buildQt5\winpython-3.4.4.amd64\python-3.4.4.amd64\lib\site-packages\matplotlib\dates.py in __call__(self, x, pos)
    483                              'plotting dates, e.g., with ax.xaxis_date()')
    484         dt = num2date(x, self.tz)
--> 485         return self.strftime(dt, self.fmt)
    486
    487     def set_tzinfo(self, tz):

D:\WinPython\basedir34\buildQt5\winpython-3.4.4.amd64\python-3.4.4.amd64\lib\site-packages\matplotlib\dates.py in strftime(self, dt, fmt)
    587             # Note: in python 3.3 this is okay for years >= 1000,
    588             # refer to http://bugs.python.org/issue177742
--> 589             return cbook.unicode_safe(dt.strftime(fmt))
    590
    591         return self.strftime_pre_1900(dt, fmt)

ValueError: Invalid format string

On the same browser (Chrome on Mac OS X), the online web page http://holoviews.org/dev/Tutorials/Exploring_Data.html has none of the above problems, so it's presumably something about my non-browser libraries installed on this machine.  I'm running:
You are using Jupyter notebook.

The version of the notebook server is 4.0.6 and is running on:
Python 2.7.10 |Anaconda 2.2.0 (x86_64)| (default, Oct 19 2015, 18:31:17)
[GCC 4.2.1 (Apple Inc. build 5577)]

Current Kernel Information:

Python 2.7.11 |Anaconda 2.2.0 (x86_64)| (default, Dec  6 2015, 18:57:58)
Type "copyright", "credits" or "license" for more information.

IPython 4.0.0 -- An enhanced Interactive Python.

I take that back: the online web page version does have one of the problems: the R and P buttons still only play the slider, not animating the actual plot.  The rest works on the online web page, i.e. clicking around and selecting seem to do the right thing reliably.

@stonebig, does it work if you change '%h %d %Y %H:%M UTC' to u'%h %d %Y %H:%M UTC'?

where ?

Where that string appears, early in the notebook (cell 4 for me).

I've noticed that reproducing the problem with clicking in a slider is difficult -- sometimes it works, sometimes it doesn't.  The most reliable way to reproduce it that I saw is to click at the beginning and end of the range, repeatedly alternating between those two locations.  Often that will work the first couple of clicks, but soon the slider is the only thing that is changing, with the actual plot stuck until the slider gets dragged rather than clicked.

Sorry, I was stupidly looking in the code instead of the notebook.

I'm sorry for being so ambiguous. :-)  In any case it's just a guess; I don't have Python 3 on this machine to try it myself.

the hint may be good, trying a few things on that

I'm lost in the documentation, but this works:
value_format=md.DateFormatter('%b %d %Y %H:%M:%S')

ok, so besides that I confirm your issue + is it normal that the "date" widget is showing a number 734801.0 ?

more fun: the City change when I move the date

I think this was @philippjfr's tutorial, so I'll let him think about what's going on with the value_format.  Meanwhile, thanks for confirming the other issue; I wonder why it's working on the  web site.  I think I've asked before why the date widget shows a number, but I can't remember the answer.  I haven't seen the City change when moving the date.

1- change the city ... no city change on the left
2- move the date cursor ... the city name changes.
It all looks like some actions events are skipped.

Ah, I have seen that then; yes, it doesn't realize the city has changed until the slider changes.  I was confused, and thought you were saying that the city widget changes.  Sounds like we're seeing the same behavior, then.

great, you can safely upgrade to Python 3 ;-)

if it works for @jbednar and gives the same result, I would suggest you replace
'%h %d %Y %H:%M UTC'
per
'%b %d %Y %H:%M UTC'

Sounds like the dropdown widget isn't triggering events correctly. I can replace the value format if you're not doing it in #401.

ok, so besides that I confirm your issue + is it normal that the "date" widget is showing a number 734801.0 ?

Yea it's not ideal, I could format them as strings but strings + slider widget is currently not supported. I'm not hugely happy with this Tutorial for a number of reasons and would like to eventually replace it with something simpler.

I changed the date format specifier as suggested by @stonebig in commit f7670ac9e7, though "man strftime" on my machine states that %h and %b are equivalent.  Hope this helps!

thanks !

In any case, even if this tutorial is replaced, I don't think any of the problems (other than the string format already changed) are to do with the tutorial, but with underlying issues with the software.

True, there's still some issue in the widgets.

Okay I found two bugs in the widgets, one was in escaping the dimension values correctly (9a48349745e1bec3781c03b5b0b2e223b3325f8f) the other was the 'R'(everse) and 'P'(lay) controls for the slider widget (f47d89a0aeb4d4eac912fd84e2d2e2644722b4e2). Could you confirm it works for you?

Works great, thanks!  You don't by any chance know how to stop the font warning in the original image, do you?  I think we talked about this a year ago, but I thought it was taken care of, yet is happening again.  I'll close this issue, since that warning's not really part of this issue, but it would be good to fix it.

hi,
on Windows7/Python3.5/Holoviews master of now:

the example with cities works great now
but simpler  examples of the same notebokk don't seem to work anymore:

%output size=300
combined_hurricane.grid(['Date'])[::2]

but other "two widgets" or "one widget" examples of the same Exploring_Data notebook don't seem to work anymore: on this one the "Date" widget isn't movable anymore ("Frame" one is ok):

This is now expected behavior, widgets now detect hierarchical orderings between dimensions and update each other appropriately, i.e. in this case there is a one to one mapping between frame and date so each time you move the frame slider it updates the date. It's a bit confusing in this 1-to-1 case but gives much more desirable for one-to-many mappings.

on this one the "Layer_Height" seems unmovable also:

Not sure what's happening here, it shouldn't be requesting any additional data from holoviews.org once the website is loaded.

Maybe should you remove the "Date" widgets from this example, when 1-to-1, to avoid GUI confusion ?
Ok, I uinderstood my false positive error in "Layer_Height":

I was trying to move to the middle,
but there is only full leftand full right positions.
==> Sorry for the noise on this one. (a little bit miss-guided by the GUI, but not a true bug)

Thanks, Philipp; those seem like good improvements.  I agree with @stonebig that the Date slider should only appear when there is something for it to do, and should be either invisible for the 1:1 case or greyed out.  How hard that is I'm not sure.
Also, there appears to be a small bug in the logic -- in cell 25 of the current Exploring Data tutorial, if one first clicks on the Date slider (before clicking on the Frame slider), the Date slider is draggable yet does nothing to the plot.  After clicking on the Frame slider, the Date slider becomes undraggable, which does not seem like consistent behavior.

Thanks for pointing that out, luckily that sounds like an issue on the Python side, just need to send the correct initial values for the date slider.


Nuxt 3.5.1 can not start dev, upgraded from 3.4.3

Environment

Operating System: Linux
Node Version:     v18.16.0
Nuxt Version:     3.5.1
Nitro Version:    2.4.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, css, modules, ssr, lodash, pinia, build, typescript, devtools
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
yarn dev
Describe the bug
Cannot start nuxt:  Cannot find module '../doc/directives.js'
It seems the problem is related to package 'unplugin-vue-router' 0.6.4, once downgraded back to 3.4.3, everything is working properly.

Additional context
No response
Logs
No response

I also upgraded to 3.5.1 from 3.3 today and receiving tons of errors... i opened a discussion if it might help you: https://github.com/nuxt/nuxt/discussions/21080

Would you provide a reproduction? 🙏

Getting this error after upgrading from 3.3.0 to 3.5.2
[7:52:22 PM]  ERROR  Failed to resolve import "#components" from "virtual:nuxt:/Users/user/Documents/blog/test/.nuxt/components.plugin.mjs". Does the file exist?

Observed the same issue with 3.5.0 as well

+1 In my case, it pending without any reporting-errors all the way. It will be ok just when i reduce to v3.5.0

In my case, v3.5.2 will be ok.

Getting this error after upgrading from 3.3.0 to 3.5.2

[7:52:22 PM]  ERROR  Failed to resolve import "#components" from "virtual:nuxt:/Users/user/Documents/blog/test/.nuxt/components.plugin.mjs". Does the file exist?

Observed the same issue with 3.5.0 as well

I have a similar issue, would you give a look to my discussion? https://github.com/nuxt/nuxt/discussions/21080

I cannot reproduce the issue on Windows by following these steps:
npx nuxi@latest init nuxt-test
cd nuxt-test
yarn
yarn dev

Let's track in https://github.com/nuxt/nuxt/issues/19841.


Update documentation

Updated images
Used info and key icons

Pull Request Test Coverage Report for Build 615

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.127%

Totals

Change from base Build 614:
0.0%

Covered Lines:
2999

Relevant Lines:
3291

💛  - Coveralls


Formalize Partial Evaluation

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Created an issue for this PR (#43). Feel free to add more details about what you're working on there.


Updated to latest version of the STF lib submodule

Improvements to Dromajo's STF tracing support require the latest version of the STF library.

Is this backward compatible with existing traces or do they need to be regenerated?

Is this backward compatible with existing traces or do they need to be regenerated?

It's expected to be backwards compatible. The fix I needed to pull in allows a "force PC record" to be added at anytime, which is needed to support non-contiguous traces.

Got it.  Thanks!


Cannot open a browser session for profile with sso

Hi,
Thanks for this initiative, nice work.
I've tried to open the browser (chrome) and I've this issue on below.
Could you please help me about that ?
cat ~/.aws/config
[profile admin-dev]
sso_start_url = https://test.awsapps.com/start
sso_region = eu-west-1
sso_account_id =<PHONE_NUMBER>
sso_role_name = AdministratorAccess
region = eu-west-1
assume -c
? Please select the profile you would like to assume:  admin-dev
If browser is not opened automatically, please open link:
https://device.sso.eu-west-1.amazonaws.com/?user_code=NNJW-TVSX
Awaiting authentication in the browser...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1024de644]
goroutine 1 [running]:
github.com/99designs/keyring.(*fileKeyring).unlock(0x140003c93b0)
/Users/runner/go/pkg/mod/github.com/99designs/keyring@v1.2.0/file.go:70 +0xa4
github.com/99designs/keyring.(*fileKeyring).Set(0x140003c93b0, {{0x1400017acc0, 0x20}, {0x14000547b80, 0x527, 0x580}, {0x0, 0x0}, {0x0, 0x0}, ...})
/Users/runner/go/pkg/mod/github.com/99designs/keyring@v1.2.0/file.go:139 +0x98
github.com/common-fate/granted/pkg/credstore.Store({0x1400017acc0, 0x20}, {0x1027fd200, 0x140003c91a0})
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/credstore/credstore.go:35 +0xdc
github.com/common-fate/granted/pkg/cfaws.StoreSSOToken({0x1400017acc0, 0x20}, {{0x140001a8000, 0x4e9}, {0xc07e2169a6aefc10, 0x1a3373598536, 0x102ca3240}})
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/cfaws/secure_token_storage.go:32 +0x64
github.com/common-fate/granted/pkg/cfaws.(*CFSharedConfig).SSOLogin(0x14000264780, {0x102894c70, 0x14000144008})
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/cfaws/sso.go:61 +0x1ac
github.com/common-fate/granted/pkg/cfaws.(*CFSharedConfig).Assume(0x14000264780, {0x102894c70, 0x14000144008})
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/cfaws/profiles.go:190 +0x1d8
github.com/common-fate/granted/pkg/assume.AssumeCommand(0x14000143ac0)
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/assume/assume.go:88 +0x610
github.com/common-fate/granted/pkg/updates.WithUpdateCheck.func1(0x14000143ac0)
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/updates/updates.go:69 +0xc8
github.com/urfave/cli/v2.(*App).RunContext(0x14000242820, {0x102894c70, 0x14000144008}, {0x14000148000, 0x2, 0x2})
/Users/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:322 +0x6e8
github.com/urfave/cli/v2.(*App).Run(...)
/Users/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224
main.main()
/Users/runner/work/granted-cli-build/granted-cli-build/granted/cmd/assume/main.go:13 +0x60

Thanks for the issue @bakousylla! What operating system and version of Granted are you running?
To find the version of Granted you can run granted -v.

@chrnorm
granted -v
Version: 0.1.3
Darwin VFGK4GQQ05P-FRL 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:20 PDT 2021; root:xnu-7195.141.6~3/RELEASE_ARM64_T8101 arm64

facing the same issue with sso on v0.1.3
macos 11.6
20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64

Hi @hilman-k8n and @bakousylla, we believe that the issue has been fixed in #55. This has been released as part of v0.1.5. Could you please update your version of Granted (on MacOS with brew you can simply run brew install granted to grab the new version) and let us know if this has fixed the issue for you?

Hi @chrnorm, My issue has been fixed. Thanks for your time and this initiative again.

Hi @hilman-k8n and @bakousylla ,
Just following up on this issue. In order to have the correct experience with the secure credentials cache you may need to run rm ~/.granted/cred-store followed by assume <profile name>
You should be prompted for a password for your secure cache.
Running assume <profile name> a second time you should not be prompted to authorise in the browser and session credentials should be fetched immediately using the cached token.


POL-327 Adding full pagination component at the bottom

The table in the wizard remains unchanged:

Codecov Report

Merging #189 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #189      +/-   ##
==========================================
+ Coverage   89.26%   89.28%   +0.01%
==========================================
  Files         114      114
  Lines        2404     2408       +4
  Branches      430      433       +3
==========================================
+ Hits         2146     2150       +4
  Misses        256      256
  Partials        2        2

Impacted Files
Coverage Δ

...c/components/Policy/WizardSteps/CopyFromPolicy.tsx
100.00% <ø> (ø)

src/pages/ListPage/ListPage.tsx
96.51% <ø> (ø)

...ponents/Policy/TableToolbar/PolicyTableToolbar.tsx
70.87% <100.00%> (+1.17%)
:arrow_up:


Json type Postgres

If i want to add support for json type postgresql. Where do i need to add this type of support.
It will be represented as string. But when i do an insert in postgres we need to convert string to json. One way is using stringtype=unspecified. But i was wondering if there is a way of intercepting and figuring out the type of the field before preparing the statement.
I was looking at PostgresDatabaseType but i am not sure.
Thanks

There is no JSON type in JDBC. It's simply treated as a String. In your object xml, use javaType="String". If you need to decompose/parse the values, you can do that by adding methods to your concrete class.


Optimal parameters?

Hi!
First of all, thanks for open-sourcing this amazing work!
I am currently trying the Colab notebook and the results obtained so far don't match the fidelty of the results on the X announcement thread, any tips/tweaks to get the same quality of results?

Hi, thanks for your interest!
We found that choosing the prompts was pretty crucial to making good illusions. I think for a lot of prompt pairs, it might just be impossible to create a good illusion. For example, "photos" of things tended to produce poor illusions, which is what I think is going on here. This is probably because "photos" are much more constraining than, say, "paintings." With photos minute details are important to get right, but with "paintings" the model has more liberty. This makes it much easier to reuse elements of one view for another. For example, a brush stroke may resemble "an eye" from one view, but "a mouth" in another. Whereas in a photo, "an eye" will probably never look like "a mouth" no matter how you orient it.
We have some tips for choosing prompts in the readme, which I've added to the colab notebook. Thanks for pointing this out!

Hi! I'd also like to add that using reduction as 'mean' instead of 'alternate' would provide better results, as can be shown in the paper too.


Add infrastructure for mdx docs

Uses the suggested MDX setup from Remix docs.
This setup is a way to start, it will need to be improved later since it involves SSG, but we should be good until there are tens of pages of docs.
Configured some Tailwind defaults that will make some components such as <Heading> obsolete. I needed the defaults in order to make the markdown easier to write.
Known issue: code highlighting is lost on save, for some reason, even with dev:css running in parallel. Restarting the server brings it back.

❤


Remove default_stream addition and deletion from update_stream_backend.

Fixes one of the issues in https://github.com/zulip/zulip/issues/1005 .

Merged, thanks @hackerkid!


Night CI 2023-03-21: Failed

action url: https://github.com/spidernet-io/spiderpool/actions/runs/4483438335

According to the spiderpool-controller logs, the IP GC pod informer doesn't record the pod events to the PodDB because of all of the spiderpool-controllers did not acquire the leader.
So, we need optimize the IP GC pod informer startup operation

And the e2e test do not set to much waiting time to wait for IP GC scan all.


Update SAM submodule

Update SAM submodule and additional fixes for failing tests.
Note that the htgr/generic-pbr SAM model is planned to be updated to a faster-running model in a future PR.
This PR supersedes and closes #195.

Job VTB Documentation on 7f2a7ab wanted to post the following:
View the site here
This comment will be updated on new commits.

Thanks for the patch!


[MODEBSNET-3] Added a new test suite for mod-ebsconet

Created a new test suite for mod-ebsconet, including the GET feature. The new suite was also added to TestRail, along with a new section.
MODEBSNET-3


Fixed missing repo update when chart not found

Fix #2690
To fix an issue with the https://github.com/mittwald/go-helm-client/issues/176 a breaking change was introduced: https://github.com/mittwald/go-helm-client/pull/177
Basically it means that the AddOrUpdateChartRepo func is not updating the repositories anymore.
This PR fix the issue checking if the requested chart version is available in the repo, and if not found we update the repositories and check again. The initHelmOCIRegistryOrRepository was added to remove some code from the main func.

Successfully verified on v1.11.0-rc1, working without epinio-server restart. No error and the service is running after version bump.
I could reproduce the issue on E v1.10.0. Restart of epinio-server to fetch latest chart from custom repo helped. BTW the OCI registries were not affected (there is no index.yaml to be refreshed).
Tested by using custom helm repo exposed on gh-pages.
This is used service manifest:
kubectl apply -f - <<EOF
apiVersion: application.epinio.io/v1
kind: Service
metadata:
  name: simplepod-dev
  namespace: epinio
spec:
  name: simplepod-dev
  shortDescription: Just a simple pod
  description: Just a simple pod
  chart: simplepod
  chartVersion: 0.0.3
  serviceIcon: https://bitnami.com/assets/stacks/nginx/img/nginx-stack-220x234.png
  appVersion: 0.0.1
  helmRepo:
    name: thehejik
    url: https://thehejik.github.io/testing-charts
EOF

This is how I was deploying the service:
$ epinio --verbosity=1 --trace-level=13 service create simplepod-dev asimplepod1 --wait

Once the original chartVersion was successfully deployed in E I bumped the version on github charts/simplepod/Chart.yaml to higher version and then triggered manually Release action on gh - then I verified that the index.yaml has been updated also in gh-pages branch.
After changing the service version by k edit services.application.epinio.io -n epinio simplepod-dev I tried to create another service:
$ epinio --verbosity=1 --trace-level=13 service create simplepod-dev asimplepod2 --wait


Merge

A prettier config option for vs code added

tabWidth
printWidth
semi-colons
tabs or spaces

Would have appreciated if you opened an issue before making to effort to make a PR.
We won't be adding a prettier config to the template, see #25

Just looked at your comment in #87. The issue was for adding prettier the repo not the template. I think you misinterpreted it 😄


Flow control and communcation code centralization

Description
There are 3 messages streams in the code - Chat in fabric.proto, Chat in events.proto and Register in chaincode.proto.
All three streams are created more or less in the same manner (upon stream creation a handler object is created and from that point it handles all the stream communication) and all three lack a mechanism of user / applications level configurable flow control, only grpc level flow control.
The idea is to leave those handlers relatively unchanged, but instead of sending messages directly to the stream they will send messages to channels and some comm layer code will actually send them to the real streams. The same pattern will be used to handle incoming messages - instead of calling the handler handleMessage method directly after stream.Recv(), messages will be put in a channel and another go routine will call handler.handleMessage.
Handling messages in and out channels, go routines, etc will be placed in a separate module in core/comm package.

Jira issue: https://jira.hyperledger.org/browse/FAB-38


Install Jaeger For Traces

Need elastic for this:
https://github.com/users/anil-sezer/projects/1/views/2?pane=issue&itemId=40794746&issue=anil-sezer|Portfolio|66


Expand all kubectl calls to fully qualified names (#5332)

Expand all kubectl calls to fully qualified names

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Update for wasm

Package
dio
Version
1.2.3
Operating-System
Linux
Adapter
Default Dio
Output of flutter doctor -v
duh

Dart Version
2.2.1
Steps to Reproduce
doesn't compile with wasm
Expected Result
fix the dart:html problem
Actual Result
doesn't compile

Please do not spam the thread with incorrect information. Thanks.


Add discord server invite links.

Preview:

Looks good. Btw, how are you going to publish the website without actually releasing Detox binary?

Thanks. The website GH action runs a test on every pull-request and publish the website with its changes on every push into master.

@asafkorem which actually means, that after we merge the versioning PR, we'll have two different entry points that might update the website? Two sources of truth? 🤔

@asafkorem which actually means, that after we merge the versioning PR, we'll have two different entry points that might update the website? Two sources of truth? 🤔

@noomorph sources of which truth?
The GitHub workflow (website) is responsible to update our GH pages (the website) once the codebase (on master) is changed.
The documentation phase in the CI release script changes the codebase, by pushing a commit to master with the new version. The deployment of this change is handled only by the website workflow (since we push it into master).
This is reasonable to couple them together, true, though if we prefer the idea of having all website automated stuff in one place, this means we'll have to decouple the docs versioning phase and the npm release phase, which I believe we should keep together for the reasons of version management.

@asafkorem, ah, now it makes more sense. I'm not sure if this won't cause merge conflicts from time to time, actually... but nevertheless, I understand your idea now.

I think we should upgrade the button a bit, as it is something that can be easily done. For example, to something like this - http://www.ageofcivilizationsgame.com/uploads/monthly_2019_06/discord_button.png.3c4e31057287000ade2e552fdc414e79.png
This might be helpful - https://blog.discord.com/add-the-discord-widget-to-your-site-d45ffcd718c6

This might be helpful - https://blog.discord.com/add-the-discord-widget-to-your-site-d45ffcd718c6

This blog post refers to this kind of widget: https://user-images.githubusercontent.com/55082339/161419617-540f7d36-554d-4523-a2b2-0a46ef307c7a.png.
However the button you sent is doable, I can use some image for that.

Also, I think we should add a shields.io to the main README, while we're at it

already done..


Schema Creation should Reject SignatureRequired for OnChain and IPFS Payload Locations

Currently it is possible to create a schema with the setting SignatureRequired when also using the PayloadLocation of OnChain or IPFS.
Expected: Schema creation and proposal for creation should reject a schema setting that does not apply to the selected PayloadLocation
As a developer creating a schema (or someone reading a schema), I want to make sure that I do not incorrectly think that the SignatureRequired will do something for Message Storage based schemas, when it does not.

Would there be any benefit to adding support for SignatureRequired to other pallets besides StatefulStorage?

Would there be any benefit to adding support for SignatureRequired to other pallets besides StatefulStorage?

IPFS doesn't have a delegation option, as it assumes the off-chain data handles any delegation interaction.
I think there might be for OnChain, but no clear use case at this point in time.

I also think that for schemas with SignatureRequired, we should explicitly reject any delegation requests for that schema.

I also think that for schemas with SignatureRequired, we should explicitly reject any delegation requests for that schema.

Hmm... That sounds good, but it requires a load of a lot of data when doing a delegation to check for that flag on schemas. Open to ideas of how to do it for opening a separate issue however.


Please add Carthage support

This is a popular dependency manager, many use it. You have a good library, it is a pity that it does not yet support installation via Carthage.

Is there anyone here, or is the library dead?


manage.py not found

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS 10.11.6
TensorFlow installed from (source or binary): source, if this means from tensorflow.org
TensorFlow version:  TensorFlow version 1.12
Python version: Python 3.6
Installed using virtualenv? pip? condo?: installed using pip, conda and in a virtual environment
Bazel version (if compiling from source): not yet
GCC/Compiler version (if compiling from source): CPU version
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
I installed tensorflow three weeks ago, via pip.  Then tried to start running tutorials or at least verify install.  Kept getting "file not found",  checked "pip list", it was there, but in downloads.  Then after further checking, noted it to be in site-packages under downloads.  I've done the installation as pip, as conda and in a virtual environment.  Comments like "virtualenv" not found frustrated the installation but I was eventually able to get set up a virtual environment.  Last night I tested it using the "pip --upgrade tensorflow", command.  Requirements had been met.  Then I tried opening both keras and tensorflow apps.  Okay,  tensorflow has an outer and inner directory.  No prob.  Still now I get "manage.py" not found in package.  Could not copy entire traceback from terminal but using the conda console I still get errors.  Here's a copy of the last commands I tried today and the traceback from the console,...albeit, the terminal traceback is much larger:
python -c "import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))"

File "", line 1
python -c "import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))"
^
SyntaxError: invalid syntax

File "", line 1
python -c "import tensorflow as tf; tf.enable_eager_execution()
^
SyntaxError: EOL while scanning string literal

File "", line 1
python -c "import tensorflow as tf; tf.enable_eager_execution();
^
SyntaxError: EOL while scanning string literal

File "", line 1
python -c "import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))"
^
SyntaxError: invalid syntax
Provide the exact sequence of commands / steps that you executed before running into the problem

File "", line 1  [without quotes]
python -c import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))
^
SyntaxError: invalid syntax
Any other info / logs

Trying to copy the terminal log, and traceback.
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

I tried the same steps using conda  with Python 3.6 and tensorflow 1.2 version. I didn't face any problems mentioned above.
(tf_python3.6)$ python -c "import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))"
2018-11-12 15:54:04.692350: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
tf.Tensor(526.10333, shape=(), dtype=float32)

I am not sure if this is tensorflow issue but I usually prefer conda to install tensorflow.
conda create --name tensorflow python=3.6
activate tensorflow
pip install tensorflow

Dont forget to activate the tensorflow environment on conda.

Hi @dah512 ,
We see that you are using old version of Tensorflow which is officially considered as end of life, We recommend that you upgrade to 2.5 version and MacOs 10.12.6(Sierra) .  let us know if the issue still persists in newer versions .Please open a new issue in case you face any errors, we will get you the right help .Thanks!


fix error when travis attepts to update latest branch with both node …

…5 and node 6 test run

Coverage remained the same at 17.834% when pulling fac15be510f54e30d154eb6d4aadaeae4584176f on u9520107:bug/travis into 734b6825c1a738b53a1f4f0852f5fa6171228e56 on ringcentral:master.


[Android] Not working with adjustPan or adjustNothing

Environment
Library version: 3.0.0
OS version: Android Emulator running API 28 (Android 9 - Pie)
React Native: 0.66.3
Dependencies: https://pastebin.com/gwFx5z0k
Affected platforms

[X] Android
[ ] iOS

Current behavior
Currently, the plugin does not work as I expect. I don't know if I'm missing some config or dependency, or I'm misunderstanding the purpose of this plugin.
If I don't set any windowSoftInputMode in AndroidManifest, the app uses the default value (adjustPan).
I added this to my screen:
React.useEffect(() => {
        AvoidSoftInput.setShouldMimicIOSBehavior(true);
        AvoidSoftInput.setEnabled(true);
    }, []);

But the app still uses "adjustPan". Running AvoidSoftInput.setAdjustNothing() does change the keyboard behavior to "adjustNothing", but if the softInput behavior is set to adjustPan or adjustNothing, the rest of the plugin doesn't work. Opening and closing the keyboard doesn't affect the UI at all. It always uses the default Android behavior for the specified windowSoftInputMode.
I also noticed that adding this to the code (when using adjustPan or adjustNothing):
useSoftInputHeightChanged(({ softInputHeight }) => {
        console.log('softInputHeight', softInputHeight);
    });

Only prints "softInputHeight 0" once and nothing else. Opening the keyboard doesn't make it print anything. Seems like the plugin is unable to detect the keyboard when using adjustPan or adjustNothing.
Now if I add AvoidSoftInput.setAdjustResize(), useSoftInputHeightChanged updates when the keyboard is opened. However, the plugin behavior is odd. It adds padding to my form Scrollview, and always scrolls up, even if the focused field is visible when the keyboard opens. There's also a very noticeable delay between opening the keyboard and scrolling up. Besides, the documentation explicitly states that "adjustResize" should not be used alongside this plugin, so I don't understand why it only works when I use that option.
Expected behavior
The screen I'm testing this on is something like this:
<SafeAreaView>
	<StatusBar />
	<View>
		<Formik {...formikInitProps}>
			{(formikProps) => (
				<View>
					{/* This view has flexGrow 1, so it pushes the submit button downwards */}
					<ScrollView>
						{/* Fields */}
					</ScrollView>
				</View>
				<View>
					{/* Submit button at the bottom */}
				</View>
			)}
		</Formik>
	</View>
</SafeAreaView>

What I want is to allow all the fields to be visible with the keyboard open, without pushing the submit button upwards. So, the keyboard should open above the submit button, but without occluding the scrollview. And if the focused field ended up being occluded by the keyboard, scroll up so it is visible.
Reproduction
Can't provide a repo right now. My current project is too complex, and creating a new one will probably lead to a different behavior than the one I'm currently having.

Hi @MarioUnlam , thx for reporting the issue.
I would really love, if you could manage to do the reproduction repo as at the moment, there's nothing I can do with it.
If you could create the repro with the code that you provided (it looks like you can omit Formik is setup and just focus on placing UI with correct styles) AND "adjustPan" set in manifest, that would definitely help me understand that use case + I would be able to iterate on it and provide some solution.
Let me know, if it's doable for you to provide, thx in advance!

I tried again in a physical device, using "adjustNothing" in AndroidManifest, and without specifying a different behavior with AvoidSoftInput, and it works now. Maybe it was something related to the Android emulator? In any case, sorry for the false positive.
Still, I found a few differences in the Android version (iOS works great):

The animation has a small delay. It starts after the keyboard is fully open. Not a big deal if all the delays and durations are set to 0.
The delay and duration settings don't seem to affect the animation. When opening the keyboard, the screen scrolls up with a fixed duration. When closing the keyboard, the screen scrolls down instantly, without easing. Increasing delay or duration for Show or Hide only makes the screen take longer to "react" to the keyboard, but doesn't affect the animation.
If a scrollview has more content that can be rendered above the keyboard, then when you focus on a field, it will always scroll up, even if that field was fully visible when the keyboard opened. This is a problem, because if you focus a field that is close to the top of your screen, it can end up outside the screen, or cut off.

But these are different issues than the one in the original post. I just wanted to mention them here to avoid creating another issue, and I assume some, if not all of them, are already known. I think for now I'll just use this library for iOS.

Thanks, then I am closing it. With the 3rd issue you described, if you'll have repro, feel free to create another issue and I'll try to iterate on it


fix: remove value on text input to stop overwrite

Fixes #82

@maurycupitt - this has failed test.
After setting my IQ Server URL and reloading, it is not pre-populated in the URL field:

@maurycupitt - made some further changes. Can you re-test?

:tada: This PR is included in version 2.10.4 :tada:
The release is available on:

Chrome Web Store
v2.10.4
GitHub release

Your semantic-release bot :package::rocket:


Random Generators

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


Is out in SPFLOAT *out; meant to be used as a keyword?

Hi Paul,
I'm a music tech student at Georgia Tech, and I am really inspired by the work you do with Soundpipe and AudioKit!
I just have a quick question (rather than an issue). I am poking around in some of the Soundpipe header files to better understand them, and I came across something which caught my attention.
In soundpipe.h I was looking at the sp_data struct and noticed there is a pointer SPFLOAT *out;. In Xcode, out shows up as a keyword, and I was just wondering if it was meant to be used as a keyword in this case. I know C++ does not have a keyword called out, but I read somewhere that Objective-C does, so that makes sense why Xcode would read it as that.

I'm assuming it's just meant to be used as a regular pointer rather than a keyword, but I just wanted to make sure I'm not missing something.
--Evan

The short unhelpful answer to that is: no, it is not a keyword.
You are correct in your assumption:out is a floating point array that gets allocated at run time. It gets used by sp_out or set directly. This value is then used inside of the sp_process function to generate wav files via libsndfile. The reason why it is an array is to support multichannel (multi-mono) output.
It's interesting that Xcode isn't able to properly figure that out. SPFLOAT is just a C macro, that can be set to be float or double at compile time. By default, floating point precision is used. This concept originated from the Csound codebase, and I decided to keep it in.
Hope that helps. Enjoy your time at Georgia Tech. It's a great program.

@PaulBatchelor Sounds good! That is very helpful, and now I understand better.
Thank you so much for the help!


x/net/httpproxy: useProxy rejects localhost/loopback addresses unnecessarily

The useProxy function automatically returns false if it decides the target host is localhost or a loopback address @ https://cs.opensource.google/go/x/net/+/master:http/httpproxy/proxy.go;drc=c6ed85c7a12db1bd15e993fd3ae4700b2e9f2c84
if host == "localhost" {
	return false
}
ip := net.ParseIP(host)
if ip != nil {
	if ip.IsLoopback() {
		return false
	}
}

It appears to be just about the only proxy implementation that does this.  A good gitlab blog has done a comparison at https://about.gitlab.com/blog/2021/01/27/we-need-to-talk-no-proxy/
There seem to be many valid cases for wanting communications to localhost also proxied.  For example, I have setup a docker registry I would like to test listening at localhost:9000 and wish to usemitmproxy on port 8080 to dump the traffic between a client and this testing registry, to analyse the API calls the client is making.
If you do the obvious thing of setting up docker to use http_proxy=http://localhost:8080 the traffic is never proxied to localhost:9000.  I'm not sure anyone really expects this; for example even the docker proxy information page https://docs.docker.com/network/proxy/ examples are showing setting <IP_ADDRESS>/8 in the noProxy (maybe it works differently on Windows, where you do require this to not proxy localhost? That seems to make the difference just even more confusing.  Searching shows plenty of other examples of people not assuming that localhost/127* are being excluded automatically).
Perhaps there are older comments, I wasn't sure how to track back further than https://cs.opensource.google/go/x/net/+/c7086645de248775cbf2373cf5ca4d2fa664b8c1
Is there any reason why this loopback avoidance shouldn't just be removed in favour of just obeying what is in no_proxy, to bring this in line with most other implementations?

cc @neild @ianlancetaylor

i stumbled on this problem, i wanted to use ProxyFunc in my project to not duplicate PROXY/NO_PROXY functionality and standardise but i am unable to write local tests for this because of localhost restriction

also how would one use e.g. sidecar in pod which would use this function wanting to listen on localhost...


access denied

hello, im a complete noob here.. i was trying to sudo docker run -it --rm xib3rr4dar/wanna_race:1.0
but i always get this error docker: Error response from daemon: pull access denied for xib3rr4dar/wanna_race, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
can you help please

before running docker image, it must be built first.
As mentioned in the readme, build the Docker image with:
git clone https://github.com/Xib3rR4dAr/WannaRace && cd WannaRace
docker build -t xib3rr4dar/wanna_race:1.0 .

Yh, I did all that before running it. I built the image with the Dockerfile which had some 13 steps to execute. Then I tried to run it.
I have even downloaded the zip file and set it up on my local machine, set up the database and all but when I click the unused vouchers there's no pop up or anything to show the vouchers (aaaaaaaaaaaab, aaaaaaaaaaaab etc), same with the current balance, login and reset. I really need to use your app but just seem not able to.
Can you consider hosting it on free platform like infinityfree for easy testing please..

Can you post screenshots of docker image building and running?
What steps you followed to set it up on local machine?
Did you change credentials in config.php to match database credentials?
What happens when you click any button, is any popup displayed?

So this is the Dockerfile being built..

So that's how it looks on my localhost.
For the database setup.

I created a USER 'raceuser@localhost' IDENTIFIED BY 'Rac3R_we3'
GRANT ALL PRIVILEGES
FLUSH PRIVILEGES
Then CREATE database db_race

Then I logged in with the credentials through phpmyadmin and imported database.sql in src directory

But I get no pop up or anything when I click on unused vouchers, current balance, buy mega box.

When I tried to recharge one of the vouchers say aaaaaaaaaaaab and capture the request with burp suite, I sent it to turbo intruder and got 404 page not found

In screenshots, you have used command:
docker build .

instead of:
docker build -t xib3rr4dar/wanna_race:1.0 .

due to which tag is not assigned to built image.
Use following to build the image:
docker build -t xib3rr4dar/wanna_race:1.0 .

Previously you built images without a tag, you can use docker ps to view built images and then run them with:
# docker run -it --rm -p 9050:80 {IMAGE_ID_HERE}

Can you share screenshots of 404 pages, browser console and network tab when you click any button?

Webapp is setup at: Wanna Race
(Infinity free app sometimes gets caching issues)

it worked like a charm, thanks very much for your patience i appreciate..
<EMAIL_ADDRESS>is my email, i would to learn as much as i can from you so if you have any other challenges or you up some please let me know..... thanks again.

i tried challenge #2, first i logged in and captured the request with burp, sent to turbo intruder to make concurrent request but it didn't wok. Then i use curl to make the request with two different cookies from different browsers and it worked..

let me know if its correct

i tried challenge # 2, first i logged in and captured the request with burp, sent to turbo intruder to make concurrent request but it didn't wok.

Yes, it wont work since PHP sessions are single threaded. ie if same PHPSESSID cookie is used in request, race condition won't be possible. Therefore different PHPSESSID cookie value is to be used to get race condition working.
Solution for Challenge # 2:
PHPSESSID cookie is generated in response to login request. Get multiple PHPSESSID cookie values by logging in multiple times.
Then while trying race condition, PHPSESSID should be changed in every request ie:
First request: Valid PHPSESSID 1 + First Voucher
Second simultaneous Request: Valid PHPSESSID 2 + First Voucher
Third simultaneous Request: Valid PHPSESSID 3 + First Voucher
and so on.

let me know if its correct

It's not correct. By removing PHPSESSID named cookie, you solved challenge  # 1 instead of # 2.
Session cookie name is PHPSESSID instead of session which is generated after logging in. Since challenge # 2 is to be solved after logging in, therefore PHPSESSID cookie must be set in request while recharging from a voucher code.

i hope i got it correct this time...
i know this is off-topic but i was wondering if you know how to get a burpsuite pro license for free.. i tried to request for a trial key but i didn't get it and contacted their desk help but they said they only offer to businesses. i requested it with a<EMAIL_ADDRESS>i saw some guys on youtube working around this license key by generating some.. one of them github account is @SNGWN..
do you know anyway work around??

Yes, that's the solution for Challenge # 2.
If you are a student, you can get Burp Suite professional trial for a month with your student email.
Hopefully, your issue with setting up/getting flag is answered, closing it.


Ld trying to use system install of Qt5

I ran the Build-qt.sh script for Qt 5.10.0 in Pop_OS (based on Ubuntu 17.10). I then tried to build a program called 3D Slicer using my local build of Qt5. I got a confusing error:

/media/vaughan/workspace/lnx/devel/Support/qt-everywhere-build-5.10.0/bin/uic: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.10’ not found (required by /media/vaughan/workspace/lnx/devel/Support/qt-everywhere-build-5.10.0/bin/uic)

It looks as though ld was looking for a system build of Qt for some reason? See related discussion here: https://discourse.slicer.org/t/compile-errors-pop-os-with-qt-5-10/2576/15
At least one other person had the same issue in Ubuntu 18.04.
I was able to fix the problem by changing the Build-Qt.sh script. I changed the "-no-rpath" option to "-rpath" (not sure if this is the same as simply not having "-no-rpath").
Could this an issue with the script and recent versions of Ubuntu?

@tavaughan that change is correct for Linux. I believe the change was made for mac (see here and no one noticed the issue on Linux.
Do you want to submit a pull-request? It should be -no-rpath on Darwin only for now (there's some examples how to check in the script).

Sure, I forked and made commit: https://github.com/tavaughan/qt-easy-build/commit/ef849b281b7dfea46a0a5c3789e452c1e9b4ac60
But this will take a while for me to test because of the build times involved. Should I wait until I know it works on Linux before creating pull request?

My build succeeded with that patch (just removing -no-rpath -- the Darwin check looks good), but aside from checking that the GUI starts I can't test very much right now because it is a remote machine with limited graphics.

I tried to build overnight on a personal laptop. Qt has finished building. Slicer hasn't. I'll update here again tomorrow.

It builds in Slicer, I don't seem to be having any major issues. I note a few warnings on startup but I don't think they are related.

Traceback (most recent call last):
File "/media/vaughan/workspace/lnx/devel/S4D/Slicer-build/lib/Slicer-4.9/qt-scripted-modules/DMRIInstall.py", line 60, in init
model = slicer.app.extensionsManagerModel()
AttributeError: qSlicerApplication has no attribute named 'extensionsManagerModel'

qSlicerPythonCppAPI::instantiateClass  - [ "DMRIInstall" ] - Failed to instantiate scripted pythonqt class "DMRIInstall" 0x7fd7707bb600
Fail to instantiate module  "DMRIInstall"

QObject::connect: No such slot qSlicerApplication::openExtensionsManagerDialog() in /media/vaughan/workspace/lnx/devel/S4/Modules/Loadable/SlicerWelcome/qSlicerWelcomeModuleWidget.cxx:94
QObject::connect:  (sender name:   'OpenExtensionsManagerButton')

I note a few warnings on startup but I don't think they are related.

These are now tracked in https://issues.slicer.org/view.php?id=4574

@tavaughan  Now that #43 has been merged, can this be closed ?

Yes


csview: init at 0.3.1

Motivation for this change
init csview https://github.com/wfxr/csview
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Closing due to inactivity from author.


Work like art for the community open source

Your work is a pleasure to read, and as you say in your article, most of the units in the field refuse to open source their work, so may I ask, what is the approximate time to open source the multimodal data for other UAV models?

MMAUD V1 (collected at rooftop with total raw data of 250G, after compression is < 80G) is already open.  <- this is what i promised in ICRA paper. will upload all before ICRA 2024 start.
V2 (Collect at carpark for CVPR challenge trial, roughly 800G) is compressing
V3 (Collect at carpark for CVPR challenge Final, roughly 500G) is pending for compressing
For V1 you may try to download


NFS localizer symlinks files

As stated in nfs.py:
https://github.com/julianhess/canine/blob/3a3d198f25bf1ff4b9287d118e52d17f3c0328b1/canine/localization/nfs.py#L68
We should actually do this.

The problem is with the docs, not the code. Symlinks get shared over NFS, rather than the file they refer to

Reopened after discussion


Web-scraping example

cc @arnavs
Lets use this as a meta-issue to link to and spawn other issues for the webscraping example in python.  To summarize the basic plan:

Get aquainted with the basic technologies involved (e.g. beautifulsoup, scrapty, selenium, and whatever tools people use to look at web output for figuring out how to scan it).
Do a check to see if there are any "visual" scraping technologies out there that can make life easier.
Identify simple example for economics or finance data to show the power of the technologies.  Hopefully selenium-free to begin with, but doing a selenium based one for a javascript heavy site may be worth it for the second example.

Put whatever files you want in https://github.com/ubcecon/computing_and_datascience/tree/master/python_sandbox/ as you go through.

See https://github.com/REMitchell/python-scraping/ for the code used in that book.

I think a good child issue for this would be to brainstorm some good economic targets. Especially since the lecture is a proof of concept (correct me if I'm wrong, @jlperla), some thought about the targets would probably help narrow the technology set. #70.

One of the big questions is whether it is feasible to do screenscraping without worrying about Javascript these days?  I am not sure...   Also, keep in mind that these are not mutually exclusive.  Beautifulsoup/etc. are for walking the data in the page, and I think that selenium can provide the headless browser for the DOM.
A few links to consider when thinking about the selenium based approach:

https://www.katalon.com/ is a gui people talk about, it can spit out selenium/python code. Worth playing with.  Installs in chrome and then you can export to python/katalon studio/etc;.
The selenium python bindings http://selenium-python.readthedocs.io/getting-started.html
https://medium.com/the-andela-way/introduction-to-web-scraping-using-selenium-7ec377a8cf72

An example:

A good example bringing some stuff together: https://medium.freecodecamp.org/better-web-scraping-in-python-with-selenium-beautiful-soup-and-pandas-d6390592e251?gi=5e2579799608
https://realpython.com/modern-web-automation-with-python-and-selenium/
https://medium.com/the-andela-way/introduction-to-web-scraping-using-selenium-7ec377a8cf72


Open-sourcing the reward models

Thank you so much for sharing your work. I've been excited to learn more about your approach, and hopefully contribute, since I first read your paper!
I noticed there are reward models mentioned which I have been unable to find: https://github.com/allenai/FineGrainedRLHF/blob/main/FRL/launch_final.sh#L11-L16
Do you plan to open-source either the models themselves, or how to recreate/train them, or both? Thanks again!

Yes we will release the code, data and models for reward models very soon. Thanks for your interest!

Please find our reward models, data and training scripts in the current repo!


Automation syntax when using GUI editor

Describe the bug
I dont know how to format the automation action when using the GUI editor. I just get an error saying extra keys not allowed at 'data' 'type'
To Reproduce
Steps to reproduce the behavior:

Go to automation editor
Type this in:

Call Service
notify.alexa_media
{   "data": {     "type": "announce"   },   "message": "Yo Remco.. The washing machine is finished. Get off the couch.",   "target": [     "media_player.bedroom_echo",     "media_player.office_echo"   ] }
3. Run automation
4. See error  Error while executing automation automation.test_alexa. Invalid data for call_service at pos 1: extra keys not allowed @ data['type']
Expected behavior
No error.
Screenshots
If applicable, add screenshots to help explain your problem.
System details

Home-assistant (version): Latest stable
Hassio Yes
Fresh install of alexa_media_player from HACS

Syntax works in scripts, not in automations

Please consult HA documentation on how to properly format HA automations.  I believe the wiki may have some examples of automations you can use.

I’ve consulted the documentation, as you can see from my example it is
taken from the wiki. The issue is the formatting required by your component
is not supported in the new automations.yaml when used with the gui editor.
Two “data:” fields are not allowed.
As I mentioned, the same formatting works in scripts but not in automations.
On 12 July 2019 at 03:45:00, Alan Tse<EMAIL_ADDRESS>wrote:

Please consult HA documentation on how to properly format HA automations.
I believe the wiki may have some examples of automations
https://github.com/keatontaylor/alexa_media_player/wiki/Automation-examples
you can use.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keatontaylor/alexa_media_player/issues/250?email_source=notifications&email_token=AABS332JEEKIKNG5IWCLEXDP67V2ZA5CNFSM4IBZRKUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZYQLOQ#issuecomment-510723514,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABS33Z3OAFBVEV2UAIHO7LP67V2ZANCNFSM4IBZRKUA
.


Identification of the scope and Milstones

Need to Identify the scope of each application and also set milestone deliverables for each application


unexpected key "module.enc1.0.weight" in state_dict'

Hi there,
I'm aware that you are updating your repo :) but I tried to use your repo as an initial point for my own implementation! I just trained a segNet model and tried to use the learned model to predict on a query image, but I came across the following error:
KeyError: 'unexpected key "module.enc1.0.weight" in state_dict'
Do you know what causes this error?

I guess that after you trained the model, you modified model's code, using a Sequential called self.module to contain self.enc1. In this way, the names of keys in model's state_dict change, with an new prefix "module". Hence the previously trained model's state_dict (names of keys do not have "module" prefix) cannot be loaded in successfully.

Thanks for your reply.
That'ts weird since I did not change anything after training the model.
I will dig deeper into this and update you on this

OK, it's my pleasure if I can help you.


Support *.eztv subtitle format

*.eztv format of subtitles cannot be loaded. It would be nice if it were.

I've looked int othose files, and they are simple SRT files on the inside. Maybe add an option to upload any file, no matter the extension, if it's content is a valid SRT (or other) format?