deserialize the signed transaction

Ask a question
hi
I cannot get txhash from parse endpoint of you, and I get the following error when I try to deserialize signed transaction using cardano-serialization-lib, i used rosetta to construct and sign the transaction, what might be the problem?
"Deserialization failed in Transaction.body.TransactionBody because: Invalid cbor: not the right type, expected `Map' byte received `Text'."

thanks, dante
example signed transaction that i want to deserialize:
827901c2383461343030383138323538323063393037366466396364346238353063653132633332643965326434303163323064323037633935346138643862376137343665663666383734333665383431303130313831383235383339303138666635653430366637323861316232316635363663613833366236363165386435636339373431376562626334656631613063613631393866663565343036663732386131623231663536366361383336623636316538643563633937343137656262633465663161306361363139316130303139363765323032316130303032383561313033316166666666666666666131303038313832353832306132663332633463346333623333393430653639393532383861656230623936366632666137356134353631373139313439363636626164356138343263623735383430316238346531346364396239616465373262386333373531326265376438613335343138393238316563343837363763303839396266303830323232396439356238343234333761323234363764353937623635633930613134333561663464393162313765626235646230623631383133363632386134613266653137306166356636a16a6f7065726174696f6e7380```

Hello @dev-dantealighieri, Sorry I don't how you build the transaction?
You used rosetta to build this transaction? And then signed it?
Are you using the current release or already node 9.0?
Could you provide me more details?

hello @dev-dantealighieri
Rosetta actually adds extra envelopes around it's objects. If you decode (https://cbor.me) your payload, you'll see:
["84a40081825820c9076df9cd4b850ce12c32d9e2d401c20d207c954a8d8b7a746ef6f87436e841010181825839018ff5e406f728a1b21f566ca836b661e8d5cc97417ebbc4ef1a0ca6198ff5e406f728a1b21f566ca836b661e8d5cc97417ebbc4ef1a0ca6191a001967e2021a000285a1031affffffffa10081825820a2f32c4c4c3b33940e6995288aeb0b966f2fa75a4561719149666bad5a842cb758401b84e14cd9b9ade72b8c37512be7d8a354189281ec48767c0899bf0802229d95b842437a22467d597b65c90a1435af4d91b17ebb5db0b618136628a4a2fe170af5f6", {"operations": []}]
The above data structure is not a valid Cardano transaction according to the CDDL specs.
But if you take the inside of this "84a400....5f6" and CBOR decode this it does return a valid format.
I've confirmed this by running the below code in CSL:
`        var signed_tx = "84a40081825820c9076df9cd4b850ce12c32d9e2d401c20d207c954a8d8b7a746ef6f87436e841010181825839018ff5e406f728a1b21f566ca836b661e8d5cc97417ebbc4ef1a0ca6198ff5e406f728a1b21f566ca836b661e8d5cc97417ebbc4ef1a0ca6191a001967e2021a000285a1031affffffffa10081825820a2f32c4c4c3b33940e6995288aeb0b966f2fa75a4561719149666bad5a842cb758401b84e14cd9b9ade72b8c37512be7d8a354189281ec48767c0899bf0802229d95b842437a22467d597b65c90a1435af4d91b17ebb5db0b618136628a4a2fe170af5f6"
    var tx = CardanoWasm.wasm.Transaction.from_bytes(buffer.Buffer.from(signed_tx, 'hex'))

    console.log(tx.body().outputs().get(0).address().to_bech32())`

I hope this clarifies your issue!

i didn't see your reply, i solved the issue but thanks anyway!
https://github.com/cardano-foundation/cardano-rosetta/issues/566#issuecomment-2236181963


Unable to use Build button pre release 0.28.5

Expected behavior
Run a dbt model using the build button worked on the previous version 0.28.4
Actual behavior
Fails with error
Steps To Reproduce
Running on a windows machine using the extension version 0.28.5
Log output/Screenshots
File "", line 8
dbt_cli.invoke(['build','--select','crew_trip_work_code','--profiles-dir','c:\Users\u236618\Documents\Crew\olympus-oprn-crw-ops-planning\src\sql\snowflake\dbt\oprn_crw_ops_planning','--project-dir','c:\Users\u236618\Documents\Crew\olympus-oprn-crw-ops-planning\src\sql\snowflake\dbt\oprn_crw_ops_planning'])
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
Operating System
Windows
dbt version
1.7
dbt Adapter
Snowflake
dbt Power User version
0.28.5
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Thank you @DanMawdsleyBA for helping us test the pre-release version. We are currently working on a fix and will release an updated version soon.

@DanMawdsleyBA  We released a new version 0.28.6. Can you please go ahead and check if it fixed your problem?


Test: Fix import error for CI testing workflow

Tests run fine locally but have an issue with github actions workflow:
ImportError while loading conftest '/home/runner/work/ares-sc2/ares-sc2/tests/conftest.py'.
tests/conftest.py:11: in <module>
    from tests.load_bot_from_pickle import build_bot_object_from_pickle_data
tests/load_bot_from_pickle.py:12: in <module>
    from ares import AresBot
E   ModuleNotFoundError: No module named 'ares'

Fixed


[DAEF-448] load bundled app when running test suite to speedup page l…

This PR improves the performance when running the whole test suite with npm run test by using the app in production mode instead of dev with webpack hot-reload server (which is slow).
 But you have to npm run build once before running the tests! (which creates the dist/bundle.js)
However if you are developing test cases you should use npm run test-watch in combination with npm run hot-server and tags to get the same environment as we had before.

@darko-mijic the latest changes give a huge speedup to connecting logic! This PR is now ready for merge from my side.


#6 and esm/umd/cjs builds

Remove console logs when imported as root ES module
Changes module to use dist minimized yoffee - #6
Adds esm/umd/cjs package builds
Adds js map
Reduces library size by ~8%

Type
Original (webpack) size
Rollup Byte Size
Original (webpack) Gzipped size
Rollup Gziped Byte size

Original
13,588
12,419
4,511
4,161

ESM
-
12,380
-
4,127

UMD
-
12,607
-
4,228

CJS
-
12,449
-
4,164

IIFE
13,588
12,419
4,511
4,161

$ npm run build-rollup && ls dist/
13588  yoffee.min.js
12380 yoffee.esm.js
12449 yoffee.cjs.js
12419 yoffee.iife.js
12607 yoffee.umd.js
4127 yoffee.esm.js.gz
4164  yoffee.cjs.js.gz
4161  yoffee.iife.js.gz
4228 yoffee.umd.js.gz
4511  yoffee.min.js.gz

I haven't touched the webpack and the build script, so the dist/yoffee.min.js remains as is.

Also to note build is pretty slow with webpack in comparison to rollup:

webpack IIFE build
Rollup IIFE build
Rollup IIFE+UMD+ESM +CJS+js map

1,621 ms
674 ms
1,034 ms

Building
With
Timing

Dist: IIFE
webpack
1,621 ms

Dist: IIFE
rollup
674 ms

Dist IIFE+UMD+ESM +CJS+js map IIFE
rollup
1,034 ms

This is awesome!! Take a look at my tweaks to your PR and we'll merge :)

sorry I still don't see any tweak. and the PR is from my fork so not sure you are actually able to touch the changeset.

sorry for the delay. I've reviewed your tweaks and they are good changes.
Again beware of backward incompatibility change induced by moving from iife to esm.
Thanks so much for adding author credit to the package definition.


Terminal is not fully cleared with stdout.write("\u001bc")

VSCode Version:
1.48.0-insider
15e798e081984a17eae00de91adf4479190d5ed2
x64
OS Version: Windows 10

Steps to Reproduce:
Run this script in terminal in vscode and another native terminal.
setInterval(() => {
  console.log('some output')
},1000)

setInterval(() => {
  process.stdout.write("\u001bc")
}, 5000)

Each 5 sec terminal should be cleaned up and not earlier output should be available. But in VScode terminal all the earlier output can be scrolled up. Btw command "Terminal: Clean" works ok for me, it clears up as I expcted it would be with process.stdout.write("\u001bc")

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to our code. As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.
Thanks for understanding.

@Tyriar it works ok in windows terminal

@Tyriar please look at it because it is not an issue of windows terminal, though I don't get how it is connected to vscode integrated terminal.

What version of Windows are you on? Run ver in cmd

Microsoft Windows [Version 10.0.19041.450]

Not yet confirmed

@Tyriar did you try to reproduce it?

No I haven't

Reproduced on the latest Insiders
Version: 1.51.0-insider (user setup)
Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
Date: 2020-11-04T18:31:15.290Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042


use local node_modules path for command

Windows can't evaluate the expression, even with bash:

The change just points to the local node_modules path instead.

Yep, well caught.  On most things these days I'm not even bothering with node_modules path as when npm runs any script it puts that node_modules/.bin/ folder in the path anyway.
Could you try dropping the path all together, and simply try using node test/all.js instead of node_modules/.bin/tape test/all.js for the test script command and see if that still works on your machine please?

@DamonOehlman done and done. Using node test/all.js works, no problems.

Awesome - merging now :)


plan & apply from TF 0.14.11 -> TF 0.15.4 does not update GCS backend version.

I am doing upgrades from TF 0.14.11 -> TF 0.15.4 and I made sure all my plans return cleanly and I have started to run terragrunt apply everywhere.
I am using Terragrunt: 0.29.6
On certain modules, it updates the version in my GCS bucket backend as:
  "version": 4,
  "terraform_version": "0.15.4",
  "serial": 3,
  .....

Which is correct.  However, there are some modules (which using the same configuration files to the backend) which keep the same "0.14.11" in the "terraform_version" and never gets updated.  I have tried terragrunt init and terragrunt refresh without luck.
This seems to be hit and miss.  I also did a terraform state pull and interestingly enough that returns the correct version of "0.15.4".  But the state of default.tfstate NEVER gets written to.
I think this bug may have started during a prior upgrade from TF13 -> TF14 as well.

Terragrunt does not write to the state file. So if this is an issue, it seems like a Terraform problem, not a Terragrunt one.
That said, it may be worth clearing all caches by running with --terragrunt-source-update and seeing if that helps.


Review and merge branch 1.6.3

At PR #297.
Containing:

WitnetBytecodes, WitnetEncodingLib, WitnetRequestTemplate implementations
Multiple refactorings towards coexistance of trustable and trustless wrb implementations

To be deployed into:

[ ] Polygon Mumbai
[ ] Polygon Mainnet
[ ] Ethereum Goerli
[ ] Ethereum Mainnet

Superseded by #331.


Support for GTID-mode replication

BinlogSyncer has already supported GTID replication.

It seems that  this issue could be closed.


Update CI configuration

As title.
Generated by Cimas.

... Wait, puppeteer is still needed here, m3d is still using the old PDF generation.


Documentation Enhancement: "How to launch" for chapter 05 and others requiring "Live server" extension to avoid CORS error

Hello,
I have figured out how to bypass the issue regarding the CORS error, blocking the scripts associated with the Chapter 05 index.html.
I am now using the "Live Server" extension for VSCode.
For people like me, not very aware of this "server-side" and "client-side" security, and who do not want to install a Chrome extension coming from an untrusted origin, it may be beneficial to update the documentation.
What do you think?
Best regards
Jerome

Not needed anymore after refactoring. Sorry.


I18N: add Ukrainian translation

Describe what problem your feature request solves
It would be good to have the Ukrainian translation for Threat Dragon
Describe the solution you'd like
Modify translation file
Additional context

No interest from the threat dragon community so closing this issue


problems with --ignore

what's the format of the --ignore pattern? If I do
ag --ignore '*.min.js' time website/public/vendor/ | less

ag still looks into website/public/vendor/jquery-ui.min.js
I've tried also '.*\.min\.js', '.min.js$' etc with no results.
I'm on OSX 10.9 with ag compiled through homebrew.

As of version 0.28.0
$ ag -l -U --ignore '/doc/' '~r/./' elixir/*
elixir/doc/elixir/Kernel.html
elixir/lib/elixir/lib/kernel.ex
elixir/lib/elixir/test/elixir/kernel_test.exs

$ ag -l -U --ignore '/doc/' '~r/./' elixir/
elixir/lib/elixir/lib/kernel.ex
elixir/lib/elixir/test/elixir/kernel_test.exs

the * at the end of the PATH breaks the --ignore argument.

@eksperimental Two things:

You put a forward slash in your ignore pattern, which means, "Only ignore at the root level." This isn't causing a problem in your example, but it's worth noting.

Ag doesn't see the star in the first example. Bash or zsh expansion is passing elixer/doc (among other paths) to ag.

sorry greg, i didn't understand No. 2
thanks for answering,
but it is still no clear what should be the pattern to ignore any result that contains a folder named doc ?
--ignore './doc/.'
if so, it is not working:
$ ag -U -l --ignore '.*/doc/.*' '~r/./' elixir
elixir/lib/elixir/lib/kernel.ex
elixir/lib/elixir/lib/regex.ex
elixir/lib/elixir/test/elixir/kernel_test.exs
elixir/doc/elixir/+Kernel.html
elixir/doc/elixir/Regex.html
elixir/doc/elixir/Kernel.html

the only one that seems to work is:
$ ag -U -l --ignore 'doc/' '~r/./' elixir
elixir/lib/elixir/lib/kernel.ex
elixir/lib/elixir/lib/regex.ex
elixir/lib/elixir/test/elixir/kernel_test.exs

which is wrong according to your definition above, because the path of the ignored files does not start with "doc/"
thank!

In the first example of your previous comment, you put a forward slash at the start of your ignore pattern. That is, the pattern started with /. If it starts with /, that means "ignore only in the current directory. If it ends in a /, that means "only match if it's a directory."
Examples:

doc ignores any file or directory anywhere that is called "doc".

/doc ignores any file or directory in the root dir called "doc".

doc/ ignores any directory any where that's called "doc".

/doc/ ignores any directory in the root called "doc".

These examples are typical behavior for .gitignore and .hgignore. Ag isn't doing anything strange here.
Second point: If you run ag blah elxir, that's the same as cd elixer && ag blah. That means "doc" is in the root. An ignore pattern like .*/doc/.* only match doc directories in a sub-directory.

thanks @ggreer it is a bit more clear now.
I think you should put in the documentation what kind of pattern it expects,
seems you use the same word (PATTERN) do describe the search PATTERN (regex).
I searched the respository and there's not reference to fnmatch().
so answering myself.
$ag -U -l --ignore 'doc/' '~r/./' elixir/
is the right command.
thanks for creating ag, I use it every day I'm with the computer pretty much

This still doesn't seem to be working, with ag version 0.30.0 (the latest available on Homebrew).
This is my .agignore file:
min.js
*.min.js
*/*.min.js
*/*/*.min.js
*/*/*/*.min.js
*/*/*/*.min.js

and yet ag -l includes files like client-app/bower_components/ember/ember.min.js. What's going on?
I notice that putting *.js in my .agignore (even with nothing else) prevents ag from examining such a file.

FYI.  If an ignore pattern is set as '*.min.js' and the patch from #680 (by @epmatsw) is applied, the complaints about ag not ignoring .min.js files should be fixed.  Example:
$ ls
jj.js  jj.min.js
$ ../ag  --ignore '*.min.js' -g 'js' -l
jj.js
$

@decaff What is preventing #680 from being merged and released as part of ag?
I see lots of bugs (#413, #678 and this one #385) referencing this issue.

@shreevatsar I think the author is very busy.  Just a guess.

I seem to be having luck with **.min.js or **.min.*

I confirm that **.js works on ag version 0.31.0 but **/*.js like .gitignore still does not.


Question: Is it possible to implement this in other arcade games

Hi, I am new to reinforcement learning field. So, when I saw the YouTube video which by the way was awesome!!
I want to know if it is possible to use the same algorithms on other games like arkanoid.
Thank you in advance.

You will have to make other algorithms for other games, it really depends what type, for example, for snake, a PPO algorithm is usually sufficient, but for more complex games like chess, you should use a Double Deep Q Learning algotithm with replays.


DataFlowKernel cleanup is not aggressive enough

dfk.cleanup() can take a very long time to shutdown.
It looks like before shutting down, all queued apps that do not have unsatisfied dependencies are executed. (subsequent apps with dependencies do not execute before shutdown)
In my example, this means that a workflow will continue to run for several hours draining a pile of 15 minutes apps before shutdown; it wasn't initially apparent that the subsequent failure to continue with the workflow was because cleanup was in progress.
My example code sets itself up like this:
workers = parsl.ThreadPoolExecutor(max_workers=5)
dfk = parsl.DataFlowKernel(executors=[workers])

@benclifford Here you are creating the worker pool explicitly, and the DFK is not responsible for resource handling. So you end up with cleanup(

By "explicitly", does that mean "declared in the python file rather than in the json config file?"

I vote that we remove this mode of declaring the dfk, if it results in different behavior:
workers = parsl.ThreadPoolExecutor(max_workers=5)
dfk = parsl.DataFlowKernel(executors=[workers])

It is true that in some cases users may wish to have more control over executors, as this mode allows, but I think that can be solved with class-based configuration (which will allow us to remove the provider factory) as proposed in #133.

I changed to this:
from parsl.configs.local import localThreads as config dfk = parsl.DataFlowKernel(config=config)
It looks like it still drains some of the queued apps over a period of time, but now also throws an exception as some (but not all) of the apps complete:
RuntimeError: cannot schedule new futures after shutdown

I'll note that in both cases, the dfk.cleanup() call returns very fast (less than 0.1 seconds) and job execution continues even after it has returned.

Okay, I'm tagging this as a bug.

Attached is the workflow that is giving me the long-slowdown problem.
This should print the string X12 to console (indicating that drk has returned from cleanup) very early on in the run, and then continue running stuff for a minute or so afterwards.
fake_drp_pipeline.txt

It looks like this might still be an issue with threads.


Add index(dimension) operation

This operation should fill an array with indices. Dimension is the index of the dimension [0, rank).
PCRaster's xcoordinate and ycoordinate can then be implemented by multiplying the result of index() by the cell size and adding the offset coordinate of the relevant dimension (e.g.: west x-coordinate, south y-coordinate).

The existing mesh_grid operation does something very similar to what we want here. Refactor.


feat(pipeline): multi-branch pipelines

If your team follows GitHub flow, the pipelines module can optionally help you create independent environments to test and validate changes before merging. When you create a new branch, it will automatically create a new pipeline stack and any stages you configure. Once you have finished testing and delete the branch, it will automatically clean up the stacks created in the branch's environment.
This feature is based on the architecture in Multi-branch pipeline management and infrastructure deployment using AWS CDK Pipelines . EventBridge Rules trigger Lambda functions on CodeCommit repo branch creation and deletion. The Lambda function for creation sets the BRANCH environment variable and runs a CodeBuild project that creates the pipeline stack for the branch. It is up to the developer to give their pipeline stack and stages unique names per branch. The examples show how to use the BRANCH variable to do so. The multi-branch stacks are tagged with the branch name and repository name. The Lambda for branch deletion lists all stacks matching those tags and deletes them.
I tested this change using a Typescript pipeline project.
Resolves #302

@jstrunk What is the status of this PR?

I am going to implement the comments, but I didn't have time last week. I
expect to make time for it this week.
On Sun, Apr 30, 2023, 22:36 Jeremy Jonas @.***> wrote:

@jstrunk https://github.com/jstrunk What is the status of this PR?
—
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-prototyping-sdk/pull/364#issuecomment-1529273037,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAUYCUKSEX5XNAH4J5UF3LXD4ORFANCNFSM6AAAAAAXHL2OEA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I've addressed the comments. Tomorrow I will update the samples.

@jstrunk - Hi Jeff. I am noticing a lot of conflicts and files that have changed that are not directly apart of this PR (due to the large amount of structural PRs that have been merged recently and how the rebase has occurred).
Are you able to just cherry pick your specific changes into a fresh branch? Otherwise I am more than happy to do this on your behalf if you prefer?

@jstrunk - Hi Jeff. I am noticing a lot of conflicts and files that have changed that are not directly apart of this PR (due to the large amount of structural PRs that have been merged recently and how the rebase has occurred).
Are you able to just cherry pick your specific changes into a fresh branch? Otherwise I am more than happy to do this on your behalf if you prefer?
Apart from that all your code looks good and can be merged once we get the commit/merges cleaned up :)

That makes sense. I don't think that should be to much trouble. The files that belong in the PR can be copied over whole.
If I do that, how should I associate that new branch with this pr?

@jstrunk - Hi Jeff. I am noticing a lot of conflicts and files that have changed that are not directly apart of this PR (due to the large amount of structural PRs that have been merged recently and how the rebase has occurred).
Are you able to just cherry pick your specific changes into a fresh branch? Otherwise I am more than happy to do this on your behalf if you prefer?
Apart from that all your code looks good and can be merged once we get the commit/merges cleaned up :)

That makes sense. I don't think that should be to much trouble. The files that belong in the PR can be copied over whole.
If I do that, how should I associate that new branch with this pr?

You can just open a new PR, close this one and just add a reference to this PR in the description of the new PR  for traceability :)


Add regression tests  and fix some minor bugs

This pull request adds some additional unit tests for the add_n  and accumulate_n operators. I'm adding these tests as preparation for working on https://github.com/tensorflow/tensorflow/issues/10607 . Specifically, I added tests of the argument validation code in accumulate_n and a test of gradient computation for add_n.
This pull request also fixes two minor bugs that I encountered in the process of adding the unit tests:

accumulate_n ignores its tensor_dtype argument when the operator has only one input. I've added additional error-handling logic to accumulate_n that rejects values of tensor_dtype that are different from the input type.
The  testUnaryOpTest.testComplex64Basic was failing on my Mac because the acosh and asinh functions for single-precision complex floating point are only accurate to 6 decimal places. Under the assumption that 6 significant figures is good enough, I increased the threshold that the test cases use when comparing gradients.

Note that if 6 significant figures is not good enough for acosh and asinh, a more involved fix will be necessary for the second problem.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@frreiss please fix the Python linter errors.
https://ci.tensorflow.org/job/tensorflow-pull-requests-sanity/5801/consoleFull


Trouble compiling Iterate

I have trouble compiling iterate using eclector as the reader. Reduced test-case with sbcl
(ql:quickload :eclector)

compile-load the following file
(in-package :cl-user)

(defun make-bang-var (n)
  (intern (format nil "!~d" n)))

(defun bang-vars (form)
  (delete-duplicates (bang-vars-1 form '()) :test #'eq))

(defun bang-vars-1 (form vars)
  (cond
    ((consp form)
     (bang-vars-1 (cdr form)
                  (bang-vars-1 (car form) vars)))
    ((and (symbolp form) (bang-var? form)) (cons form vars))
    (t vars)))

(defun bang-var? (sym)
  (char= (char (symbol-name sym) 0) #\!))

(defun bang-var-num (sym)
  (let ((num (read-from-string (subseq (symbol-name sym) 1))))
    (if (not (and (integerp num) (> num 0)))
        (error "#L: ~a is not a valid variable specifier" sym)
        num)))

(defun list-of-forms? (x)
  (and (consp x) (consp (car x))
       (not (eq (caar x) 'lambda))))

(defun sharpL-reader (stream subchar n-args)
  (declare (ignore subchar))
  ;; Depending how an implementation chooses to expand `(,!1 (get-free-temp))
  ;; at read-time, it might be a macro that must be expanded before groveling
  ;; the resultant sexpr. Here it gets expanded in the null environment for
  ;; lack of anything better. If the macro is sensitive to its lexical
  ;; environment, it suggests perhaps an inappropriate use of #L.
  ;; However, to support unforseen cases, we will use the original form as
  ;; read for the resulting lambda's body. Moreover, rather than stuff new
  ;; atoms into the body which is impossible if the representation is opaque,
  ;; redirect "!" vars onto gensyms using SYMBOL-MACROLET.
  (let* ((form (eclector.reader:read stream t nil t))
         (refd-!vars (sort (bang-vars (macroexpand form))
                           #'< :key #'bang-var-num))
         (bang-var-nums (mapcar #'bang-var-num refd-!vars))
         (max-bv-num (if refd-!vars (car (last bang-var-nums)) 0)))
    (cond ((null n-args)
           (setq n-args max-bv-num))
          ((< n-args max-bv-num)
           (error "#L: digit-string ~d specifies too few arguments" n-args)))
    (let* ((all-!vars (loop for i from 1 to n-args collect (make-bang-var i)))
           (formals (mapcar (lambda (x) (declare (ignore x)) (gensym))
                            all-!vars)))
      `#'(lambda ,formals
           ,@(let ((ignore (mapcan (lambda (!var tempvar)
                                     (unless (member !var refd-!vars)
                                       (list tempvar)))
                                   all-!vars formals)))
               (if ignore `((declare (ignore ,@ignore)))))
           (symbol-macrolet ,(mapcan (lambda (!var tempvar)
                                       (when (member !var refd-!vars)
                                         (list (list !var tempvar))))
                                     all-!vars formals)
             ,@(if (list-of-forms? form) form (list form)))))))

(defun enable-sharpL-reader ()
  (eclector.readtable:set-dispatch-macro-character
   eclector.readtable:*readtable*
   #\# #\L #'sharpL-reader)
  )

(defun test ()
  (eclector.reader:read-from-string "#L(list !2 !3 !5)")
  (eclector.reader:read-from-string "#L`(,!1 (get-free-temp))"))

testit
 (eclector.reader:read-from-string "#L(list !2 !3 !5)")
#'(LAMBDA (#:G558 #:G559 #:G560 #:G561 #:G562)
    (DECLARE (IGNORE #:G558 #:G561))
    (SYMBOL-MACROLET ((!2 #:G559) (!3 #:G560) (!5 #:G562))
      (LIST !2 !3 !5)))
(eclector.reader:read-from-string "#L`(,!1 (get-free-temp))")
->
Backquote has been used in a context that does not permit it (like #C(1 `,2)).
   [Condition of type ECLECTOR.READER:INVALID-CONTEXT-FOR-BACKQUOTE]

The error is due to the fact that Eclector disallows backquote by default and explicitly allows it for certain contexts. As a result, backquote is currently not allowed in user-defined reader macros.
I'm honestly not sure what the correct behavior is based on what spec says about backquote. That said, I don't see any harm in allowing what iterate does.

Works fine in branch 'backquote-fixes'


[APIC-79] - reconfigure retry logic using tenacity

This reimplements retry logic using tenacity. Requirements are:
[X] retry on is [429, 502, 503, and 504]
[X] retry on ['HEAD', 'TRACE', 'GET', 'PUT', 'OPTIONS', 'DELETE']
[ ] Retry-After header is present, we use that value for the retry interval.
[X] Retry POSTs on 429s and 503s.
[X] default max total time 10 minutes
[X] default max tries = 10
[X] exponential backoff with full jitter

Okay @skomanduri it looks like you were right on the urllib part. Bifurcation of different force lists for different verbs seems painful. This is at 70ish% so i wanted to check in on approach before i started on the respect_retry_after_header part and tests. theres also still some tearout work and I'm not sure how you want me to handle file buffering retries. It seems like the best course here is to leave what we have in place and add some jitter to the back off calculation. I had a working backoff algo on a different branch that I can port back in.

Okay @skomanduri how does this look. Tests still need work but otherwise i think this works. Theres some funniness with the interaction of retry conditions in that if we raise a connection error for status the codes will not be available in as part of the exception object. This retry after header class and only the status code check gets around this and makes the response headers available for inspection.

Okay @skomanduri this should be ready for review

just a minor thing: could you please add a changelog entry?

@mheilman yeah for sure. this is probably a good time to ask about release process. do we just bump the version here and release or is there a cadence that we follow.

do we just bump the version here and release or is there a cadence that we follow.

There isn't a set cadence for releases. The list of unreleased changes is getting pretty long right now, so I was thinking of making one after this and maybe one more PR, so you can just leave the version number as is.

rad thanks


Who is the maintainer ?

Are the folks at Cloud.com maintaining this project now ?  There are several interesting PRs back at bitbucket.org .. and Liam over there doesn't seem to be taking great care of the project.
I have things I'd like to improve.. but I'm still looking for the canonical location to which to contribute.  I'd be glad it's this place.. instead of trying to take it over.

We forked the project from bitbucket because we wanted to make some modifications that we needed her at Cloud.com quickly.
We are always open for improvements and plan on maintaining this project. If you'd like to contribute, feel free to open up some issues or pull requests!

What he said :-)
We didn't create this repo with the intention of taking over the project. We just needed some changes made, and many of the changes were long outstanding issues on the upstream bug tracker, so we make it public so others can benefit.
We are happy to take pull requests, even if we (cloud.com) don't need them.
Issues submissions become another matter though. Bugs will likely be fixed fairly rapidly, but feature requests might collect dust. Though we can track them, and then take the pull request which implements them.
If our fork happens to be the one that everyone goes to, then great! If another fork ends up becoming actively maintained and more popular, then maybe we would drop this repo and start using it.
I think ultimately we'll just have to take it day by day and see what happens.


Webscraper to get classes from UCF's website at beginning of semesters

How should we handle logging in to my.ucf.edu to webscrape? Should someone just volunteer their credentials?

It prob just won't be a Lion plugin, you could maybe add a py file to the repo, or just not put it in at all

It prob just won't be a Lion plugin, you could maybe add a py file to the repo, or just not put it in at all

So like have the webscraper scrape the data, format it, and then give it to lion to take it in?

Honestly, if it's easy to make it an independent that has nothing to do with Lion then go for it
It doesn't need to be integrated with discord in any way, this will only be used once per semester

You don't need to do the whole "simulating" a client by logging in.
Once in myUCF, you can view the network tab when you search for a class to see the request url and the token associated with you account.
Once you make the request, you will just have to do html parsing to go through the table rows of the different classes.

https://my.ucf.edu/psp/IHPROD/GUEST/CSPROD/c/COMMUNITY_ACCESS.SSS_BROWSE_CATLG.GBL?pslnkid=UCF_S201303041350319311197241
I found this link online which allows you the full UCF course catalog and a way to view the sections it is being taught without needing to log in or anything.


Replaced libcurl3 to libcurl4

This PR should fix #593 Debian buster doesn't support libcurl3 anymore hence the issue of libcurl not found when executing the docker image from dockerhub.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Is this project abandoned?


Provide support for wasi-experimental-http

Feature
Provide support for wasi-experimental-http, for instance, this one https://github.com/deislabs/wasi-experimental-http, over specific CLI flag
Benefit
Currently there is now stereotypical way to perform HTTP requests over wasmtime runtime, but it's mandatory MVP feature, since much work performed via network sockets, for instance, interacting with AWS/Azure/etc cloud SDKs can be performed only via HTTP(S)
Implementation
Support for wasi-experimental-http can be provided as build-in functionality, like for neural nets or cryptography, which are already had been implemented as wasmtime features, and should be available via CLI flag
Maybe it's better to introduce some plugins management subsystem in wasmtime, but now it seems to be redunant
Alternatives
Unfortunately there is now adequate alternatives, other than recompile wasttime from source codes and inject http crate mentioned above

any updates?

@wuhuizuo  @alexcrichton @pchickey @abrown Any updates or planned milestones for this issue? Still waiting for HTTP or TCP support to try wasmtime in project :)

@IhostVlad
I built a small patch set on top that integrates this into wasmtime:
https://github.com/brendandburns/wasmtime/tree/v4.0.0
And at head:
https://github.com/brendandburns/wasmtime
Please note that this is a personal experiment, so YMMV and all of that.
If the wasmtime maintainers are interested in this as a pull request, I can clean it up and send it over, but I definitely respect their decision about what to include (or not) in wasmtime.

There's a bunch of examples of how to use this from various languages now:

C
TypeScript
Golang
Zig


Template dialog bool option not passed if false

Hi @volkanceylan in this line of Widget.ts
https://github.com/volkanceylan/Serenity/blob/3a13f38934dbd0eec397f3d37f7b003524d65d53/Serenity.Scripts/CoreLib/UI/Widgets/Widget.ts#L53
if I pass an option of type bool as false, the option is set to ({} as TOptions) then a test if (this.options) fail (is always true).
IMHO is better
    this.options = options != undefined || ({} as TOptions);

Yes, but options are supposed to be an object, not a value type

Ah ok, I thinking that but not sure. I move the value into an interface. Tnx guy 👍


layouts: update baseof.html to use FullSuffix.Suffix instead

As per Hugo v0.82.0 onwards, the Suffix and FullSuffix on media.Type is
deprecated (see this commit) to make it comparable. Therefore,
running hugo commands will result in an error.
This commit fixes the issue according to the new media.Type struct
definitions.

Duplicate of https://github.com/jakewies/hugo-theme-codex/pull/170
Thanks for pointing this one out @jwangsadinata I'll make sure to credit you over in the other PR (where a larger conversation is taking place) since you were the first to find this one.


Table Name Issue

Hey,
This is kind of an odd issue, but I was wanting to use ROM to read from a SilverStripe database into a rails application.
My problem is basically that SilverStripe names it's tables like Ruby names it's classes, such as 'MyTable'. So I am unable to do something like
class UserRepo < ROM::Repository[:users]
  # find all users with the given attributes
  def query(conditions)
    users.where(conditions)
  end
end

as mine would be
class UserRepo < ROM::Repository[:MyTable]
  # find all users with the given attributes
  def query(conditions)
    MyTable.where(conditions)
  end
end

Is there a way around this?
Thanks,
Richard

Have you tried register relations manually?
class UsersRelation < ROM::Relation[:sql]
  register_as(:users)
  dataset(:UsersTable)
end

Oh na I didn't see that you could do that :). I will give that a go, thanks!

Is it still a problem?

Closing this since I'm pretty sure setting register_as solves this problem


Use MSIBI class as manager for pair and states

PR Summary

Pair and State instances are added to MSIBI instance which handles all communication between them.
I removed some options between pair and state. e.g., users can't provide a custom rdf (but I think that would cause more headache than allowing it is worth. The rdf calculation is very fast, and it makes sense to ensure that all rdfs are calculated in the same way.) and alpha form is no longer an option (if we want to add this back it makes sense to have it be a property of the msibi class I think.)
updated LJ example (working on my end)
moved rdf function to be method of Pair class

unit tests are not passing yet, but I think it makes sense to wait until we are finished tweaking the format before updating them.

Looks good. I left a comment for one small change.  The other thing is I'm not sure if we need the select_pairs function in Pair anymore now that we are using freud for all of the RDFs. I don't think they are used anywhere (with all of the changes we've made) other than a couple unit tests


Push deploys as an event in Datadog

It'd be really nice if this could also create an event in Datadog for code deploys. I think this would mean something like if headers[3] == "Deploy" around after line 90 of logproc.go, then some corresponding new func sendDeployEvt() in client.go which would eventually call c.NewEvent() from the Datadog library.
p.s. - sorry, I wish my Go skills were at a level where I could hammer this out and quickly make a PR.

I am not sure if this is needed as we've got the deployment events in the datadog stream, would it make sense @abtris? Or how are we achieving the same result?

We use post deploy hooks for this. But this make sense. But I don't see this in heroku logs. Is some heroku docs about this?

There are two a few options how to deploy app and we need know that works for all options (git push, pipelines, api).

I went thru the logs and looks as you write `Oct 07 20:29:27 <APP_NAME> heroku/api:  Release v111 created by<EMAIL_ADDRESS>

I have found in logs message like
Oct 07 22:29:21 apiary-jsapi heroku/api: Deploy 8165c40 by user@company
So it seems there are maybe more options depending on what way the app is deployed.

Going through couple of pour logs I havent found a single line Oct 07 20:29:27 <APP_NAME> heroku/api:  Release v111 created by<EMAIL_ADDRESS>so it is either outdated or it issued under some special condtions.

I have found more things which would make sense to send as an event, basically all the activity events like rollback, setting config var etc make sense so I think we should push all of those as events. What do you think @abtris

I see this events in heroku/api
Oct 09 18:26:54 <APP_NAME> heroku/api:  Scale to web=6 by<EMAIL_ADDRESS>Oct 10 09:03:59 <APP_NAME> heroku/api:  Deploy 1b1facd by<EMAIL_ADDRESS>Oct 10 09:03:59 <APP_NAME> heroku/api:  Release v123 created by<EMAIL_ADDRESS>Oct 04 05:10:41 <APP_NAME> heroku/api:  Set ENV_VAR_NAME config vars by<EMAIL_ADDRESS>Sep 27 08:44:05 <APP_NAME> heroku/api:  Rollback to v111 by<EMAIL_ADDRESS>

We added support for heroku/api events using SimpleEvent.

I can't find api event in my event stream on data dog. Any suggestions?

@abtris I've found small issue with parsing api events and tried to address it in #44

Solved by #48


Implement Euler Ancestral Discrete scheduler

Hi @LaurentMazare,
this PR aims at integrating the Euler Ancestral Discrete Scheduler into this repository, solving the second task mentioned in #23 .
It includes all the features implemented in HF's Python version.
All the considerations made in my last PR, regarding the need to generalize the examples, still apply here.

Tried this with sd1.5 and this prompt:
    "n_steps": 21,
    "seed":<PHONE_NUMBER>,
    "prompt": "A rusty robot holding a fire torch.",
    "guidance_scale": 7.5

I think something is wrong here, or in my code.

Hi @sssemil,
I tried with HF python diffusers, using your same config (expect the seed) and here are some images with different seeds. To me they seem aligned with the one you obtained with my code.

Hm, but at the same time, this is what I get with python snippet you wrote in another thread:

Did you change the scheduler and the number of inference steps (some of those snippets have 1000)? I tried several times with that same snippet and the appropriate scheduler. Here are other examples I just produced

I leave the exact snippet hereby, to make sure we're using the same one
import torch
from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler

pipe = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16)

pipe.scheduler = EulerAncestralDiscreteScheduler()

pipe = pipe.to("cuda")
prompt = "A very rusty robot holding a fire torch."
image = pipe(prompt, num_inference_steps=21).images[0]
image

I think I ran it with 50 steps before, here's with 21:

Welp, then it's similar results.

Happy to help :+1:

Merged, thanks for all the scheduler hard work!

Thanks for merging (maybe forgot to push After git merge)?

Oh right sorry about that!


2.9.0 not working

After updating to 2.9.0, no html errors are shown.
Reverting to 2.8.0 fixes this.
This is on VSCode 1.55.

Confirming what @khagaroth said. Reverted back to 2.8.0 and I'm on VScode 1.55 as well.

Fixed v2.9.1

Problem to connect.
VSCode 1.55.2
A request has failed.
The HTML Validation Service server crashed 5 times in the last 3 minutes. The server will not be restarted.


[ELE-181] Tracked sum of failed rows with incremental testing for big data sources

Is your feature request related to a problem? Please describe.
When running dbt tests on incremental models, from a data quality standpoint the default is to run on the full model.
Because the tables are big I don't want to test the entire table, only the new and changed rows. Incremental testing makes this possible https://discourse.getdbt.com/t/testing-incremental-models/1528.
However, over time I want to track the sum of failed rows every day (although only the new ones are tested when testing incrementally). This would be ideal to see a meaningful trendline reflecting data quality.
Describe the solution you'd like
It would be ideal for Elementary to track these failed rows such that they could then be tested again automatically on the next dbt test along with the new and modified rows of the incremental test. This would result with a trendline in Elementary that is representative of the whole table without testing the rows that pass repetitively saving a lot of processing.
Describe alternatives you've considered
By replacing:
from {{ ref('model') }}
with something like:
from {{ ref('model') }}
union all
select * from {{ ref('model') }} where distinct(unique_id) in (select * from {{ ref('failed_rows) }})
in each test.
Would you be willing to contribute this feature?
Yes
ELE-181

Hi @gautierdp! Thank you for opening this issue. This is indeed an interesting use case.
We added this task to our backlog and it will go through our product prioritization process.
Please note that this issue is a bit complex as it depends on our ability to extract an accurate number of failed rows from a failed dbt test.
Today we rely on the number of failed results that is being returned from dbt but for some tests the number of failed results is no necessarily the same as the number of faulty rows. We can take the "unique" dbt test as an example. It returns the non-unique value and the number of records which contain this non-unique value as you can see below:

In this example, dbt will return 1 failed result although the number of failed rows is actually 600. So we need to understand how to accurately calculate the number of failed rows and this can be challenging as the logic might differ between different test types.
We have a few other Github issues related to this problem as you can see here and here so we are actively thinking about this problem and will update once we have news around it.


[AIRFLOW-3236] Create AzureDataLakeStorageListOperator

Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-3236
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

Adds a new operator called AzureDataLakeStorageListOperator that returns a list of files at some given path. Operates in much the same way as the list operators for GCS and S3.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

test_execute
Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes flake8

Codecov Report

Merging #4094 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4094   +/-   ##
=======================================
  Coverage   77.91%   77.91%
=======================================
  Files         199      199
  Lines       15956    15956
=======================================
  Hits        12432    12432
  Misses       3524     3524

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 33be7fd...7f3d676. Read the comment docs.


Users license

is it allow for user to have more than one license ?

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

ID: d215ddd2-d71f-8b91-c5f7-314c6287cafc
Version Independent ID: ef317dea-e56a-e6db-3344-67aa028a0ca7
Content: What is group-based licensing - Azure Active Directory
Content Source: articles/active-directory/fundamentals/active-directory-licensing-whatis-azure-portal.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @msaburnley
Microsoft Alias: ajburnle

@AbdullahA11 Thank you for your feedback! We will review and update as appropriate.

@AbdullahA11 Yes the user is allowed to have multiple different licenses either assigned directly or assigned transitively by virtue of user being part of the groups due to license policies applied on groups. Hope that answers your query. Please let us know in case you have any further questions.

@AbdullahA11 As we have not received a response from your side. We are closing this issue. Should you have any further queries , please feel free to tag me to your reply or open a new issue in case it is something not related to this thread and we will be happy to help you further.
Thank you.


Update to include uppercase UPN's

Need to remove tolower so that this include UPN's that have uppercase letters.
Required items, please complete
Change(s):

Removed tolower so that this query include UPN's that have uppercase letters.

Reason for Change(s):

During testing, we have UPN's that have uppercase letters (ex<EMAIL_ADDRESS>that would not have been included.  After removing tolower, this query now include the users who have uppercase letters in their UPN's.  The other option is to add a tilda (~) to line 43 | where Target in~ (VIPUsers) so that it'll disregard case sensitivity.

Version Updated:

Updated to 1.0.8

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hello @rx8brian will shortly update you on this


add check for the optional ref.Platform field to avoid nil pointer in TagInfoFromReferences

Fixes #755

Codecov Report
Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 56.07%. Comparing base (9ad9e4f) to head (cb69423).

Files
Patch %
Lines

pkg/registry/client.go
0.00%
9 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #759      +/-   ##
==========================================
- Coverage   56.16%   56.07%   -0.10%
==========================================
  Files          31       31
  Lines        3105     3110       +5
==========================================
  Hits         1744     1744
- Misses       1222     1227       +5
  Partials      139      139

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


Fix:Added Tags for Network-ACL,RouteTable,InternetGateway

Fix:Added Tags for Network-ACL,RouteTable,InternetGateway
https://github.com/localstack/localstack/issues/3193

Coverage decreased (-0.2%) to 94.183% when pulling 3d4e0366c329075078643fbae0d8017458b5cf46 on usmangani1:LISSUE3193 into 68e3d394abeaafa0b2220d4fae6ee121c3077f38 on spulec:master.

This is now part of moto >= 1.3.16.dev90


While Creating a new project getting this error

npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     F:\Hybrid_Apps\cipla\npm-debug.log
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
undefined

I also faced the same. Just now at 17-January-2017, 17:33 Indian Standard Time (GMT +5:30).


etcdmian: remove main prefix in logging

We are using new log pkg, which adds the prefix for us.

@barakmich @yichengq This is low risk. Tested manually. Merging.


Empty Notification.permission

Hello,
In some cases, for chrome Notification.permission is an empty string.
I think it happens if I use
options.add_argument('--disable-notifications')
In such cases, then window.navigator.permissions.query also becomes an empty string.
Could we account for this situation so that we don't end up with empty strings?
Thank you.

I think what happens is that when I run with --disabled-notifications
the following code fails:
 // Pass the Permissions Test.
  await page.evaluateOnNewDocument(() => {
    const originalQuery = window.navigator.permissions.query;
    window.navigator.permissions.__proto__.query = parameters =>
      parameters.name === 'notifications'
        ? Promise.resolve({state: Notification.permission})
        : originalQuery(parameters);

The window.navigator.permissions.query returns an empty string or it returns as non-existent. Can't remember at this point since my testing was some time ago and I just left as it is. The rest of the JS evasion code works so that was good enough for me.
I'm running Chrome 75 under Centos.
It's not a big deal.

If you pass --disable-notifications flag, then window.Notification doesn't exist
so just mock it like:
if (!window.Notification) {
      window.Notification = {
        permission: 'denied'
      }
    }

before apply the rest of tweaks

Fixed eventually.

Fixed eventually.


TRACEFOSS-852: Create notification asset in edc

Closed due to move to the new repository https://github.com/catenax-ng/tx-traceability-foss-backend


any intention for sonar lint atom editor package?

it seems atom is very similar to vsc, thanks!

Hello! We have plans to port the plugin for Atom, but have no ETA yet.
Thanks for your interest :)

+1


invalid URL when following multiple pages results

Hi,
I'm putting this here to not forget; sorry for the short message.
How to reproduce:
>>> cf = cloudfoundry_client.CloudFoundryClient(url, skip_verification=True)
>>> cf.init_with_credentials(username, password)
>>> applications = t(list, cf.api.application.list())
Traceback (most recent call last):
  ...
  File "/usr/lib/python2.7/dist-packages/requests/models.py", line 360, in prepare_url
    "Perhaps you meant http://{0}?".format(url))
requests.exceptions.MissingSchema: Invalid URL u'/v2/apps?order-direction=asc&page=2&results-per-page=50': No schema supplied. Perhaps you meant http:///v2/apps?order-direction=asc&page=2&results-per-page=50?

Versions:

CloudFoundry api_version 2.47.0
cloudfoundry_client version 0.0.8
requests version 2.5.1

For the very little I saw, CF is sending a relative path in it's Location header, and the Python module does not try to prepend the target endpoint.

@romain-dartigues Thanks for your feedback.
There was indeed a big bug in this version. In the version v0.0.10 that I just released you may find the following evolutions:

add a dependency of oauth client
add routes command  line to list routes for an application
add list_routes and get_route command lines
I also made unit test because there was a big lack on this side :unamused:

Anyway if you need any evolution, please submit an issue :smile:

Hi, thank you for your answer, I just came back and tested; unfortunately I run into the same scenario (I can get the first page but not automatically the following):
>>> cloudfoundry_client.__version__
'0.0.11'
>>> oauth2_client.__version__
'0.0.12'
>>> routes = list( cf.route.list() )
DEBUG: _bearer_request on get - https://api.cfy-api.example.net/v2/routes
DEBUG: GET - https://api.cfy-api.example.net/v2/routes - {
  "total_results": 168,
  "total_pages": 4,
  "prev_url": null,
  "next_url": "/v2/routes?order-direction=asc&page=2&results-per-page=50",
[...]
DEBUG: _bearer_request on get - /v2/routes?order-direction=asc&page=2&results-per-page=50
Traceback (most recent call last):
requests.exceptions.MissingSchema: Invalid URL u'/v2/routes?order-direction=asc&page=2&results-per-page=50': No schema supplied. Perhaps you meant http:///v2/routes?order-direction=asc&page=2&results-per-page=50?

Same problem happen thing with application.

@romain-dartigues Ah ok I understand it better now. The problem comes from when you have a next_url. I take a look at it

@romain-dartigues I've just published a new version  v0.0.12 that corrects the iteration on page issue. I added some tests to cover it

I tested with version 0.0.13 and confirm it does now work with multiple-pages results.
Thank you.

@romain-dartigues thank you for your feedback


Deprecate jobs

Deprecate 2016, 1604 and openenclave sdk support from prow.

shhh Prow, shh. You are having a bad Monday.


Fetch service headers

FetchService accept headers as a plain object and merges in defaults. Also provides a mechanism to set app wide headers to be sent with each request.
See #1045

Thanks for taking a look guys, and thanks for the great suggestions.
I've remove the XH.alias & renamed AppHeaders > DefaultHeaders to avoid confusion. You can set defaultHeaders to either a plain object or a closure.
You can also set them via AppSpec.defaultFetchHeaders, for the case Lee brought up where you need the headers before the app starts the Hoist bootstrap sequence. I think its important we still keep the setDefaultHeaders method though, for the opposite use case - where the headers depend upon some business logic not yet available this early in the lifecycle.
I also removed contentType as a top level parameter, requiring the user to pass it as a header instead.

got it -- but would it be better in that case for the app to explicitly set
that particular header to undefined (or null) and have that be the API for
fetch service to 'remove' it?
Might there be other headers that ExportService should not be zapping?
Seems weird to have the behavior be so different depending on the type
being passed.
On Wed, Apr 3, 2019 at 11:15 AM Tom Tirapani<EMAIL_ADDRESS>wrote:

@TomTirapani commented on this pull request.
In svc/FetchService.js
https://github.com/exhi/hoist-react/pull/1050#discussion_r271794464:

@@ -37,10 +52,12 @@ export class FetchService {
*      with the request body (for POSTs/PUTs sending form-url-encoded).
* @param {string} [opts.method] - HTTP Request method to use for the request. If not specified,
*      the method will be set to POST if there are params, otherwise GET.

* @param {string} [opts.contentType] - value to use in the Content-Type header in the request.

*     If not specified, contentType is set based on method: 'application/x-www-form-urlencoded'

*     for POSTs, 'text/plain' otherwise.

* @param {boolean} [opts.acceptJson] - true to set Accept header to 'application/json'.

* @param {(Object|Headers)} [opts.headers] - headers to send with this request. If an Object,

It's there to offer a way to take full control of the headers for that
particular request - i.e. bypass any default headers the app is providing.
We have a use-case with export right now where we need to make sure we
don't set a Content-Type header:
https://github.com/exhi/hoist-react/blob/develop/svc/GridExportService.js#L81
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/exhi/hoist-react/pull/1050#discussion_r271794464, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACM16fRLYPttA-6NuEVuxjH9xMDJOm5sks5vdMWYgaJpZM4cWJNB
.


Cleanup events on upgrade

Given our errors in past releases, we should probably just delete all instance and network events as part of the upgrade to v0.3. That should probably involve a big warning to the admin that we're doing that.

Cleaner deletes all events for a particular network/instance during hard deletion. Deleting events for existing networks/instances would lose real information.
Given that deleting all networks/instances will result in Cleaner eventually deleting the events, I propose not doing anything during the v0.3 upgrade.


Update for MC:PE 1.8 protocol [Thanks to @dktapps]

im too lazy to clone the repo onto my laptop and use git, so... ¯\_(ツ)_/¯


unable to use value functions as they are deprecated

Hi, We are using value function to conditionally remove gsi indexes as below.
      gsi3pk: {
        type: String,
        value: (name: string, message: Message): string => message.flagged ? `${message.type}#user#${message.userId}#flagged` : undefined,
      },
      gsi3sk: {
        type: String,
        value: (name: string, message: Message): string => message.flagged ? `message#${message.id}` : undefined,
      },

When message is un-flagged, we are removing gsi3pk and gsi3sk
But when we updated the onetable to latest version, we are getting error that value functions are deprecated.
Can you please help us understand how we can resolve this without using remove in update operation?
Thank you!

@mobsense Having the value function at the table level works fine. But still see warning logs, can you remove warnings when value functions are used at create-table level? (During batch updates, our logs are flooded with warnings)

Can you post the warning text you are seeing and your schema?
You should only be seeing warnings if the schema field value is a function.

On Feb 10, 2022, at 5:44 AM, Muthu @.***> wrote:
@mobsense https://github.com/mobsense Having the value function at the table level works fine. But still see warning logs, can you remove warnings when value functions are used at create-table level? (During batch updates, our logs are flooded with warnings)
—
Reply to this email directly, view it on GitHub https://github.com/sensedeep/dynamodb-onetable/issues/162#issuecomment-1034080493, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJBG2Y2ZOJQG5ISIS6WD3U2KYX3ANCNFSM5GVFKRRQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.

Can you post the warning text you are seeing and your schema? You should only be seeing warnings if the schema field value is a function. You need to set the schema field value to true
…
On Feb 10, 2022, at 5:44 AM, Muthu @.***> wrote: @mobsense https://github.com/mobsense Having the value function at the table level works fine. But still see warning logs, can you remove warnings when value functions are used at create-table level? (During batch updates, our logs are flooded with warnings)

ignore my comment, i deleted it - still you might have got notified via email i believe. It works fine, please ignore 👍🏻


Refresh tab - php file

Hi, i dont know if this is a normal behavior or not?
If a change anything in some php file, tab with opened web (Chrome browser) is refreshed (same action when i hit F5).
Is this expected and correct behavior of this plugin? (From video I dont know anything).
I thought that it will change without refresh in tab.
Thx for explanation.

Hi, it is correct behavior and it should reload the whole page when you're saving the file. Maybe I'm wrong, but I don't think its possible to create "hot reload" in server-side programming. For example, this add-on presses the F5 button for you, so you do not have to manually press it every time you save the file.


Merge pull request from mcasperson fork

Release 1.0.17

@dehanw
The version of Iridium in Bamboo is typically built from the version of the code in the AutoGeneral git repo, which is a few releases behind the code in my personal repo. Pull requests like this will sync the two and and update Bamboo with the latest changes.

Thanks @mcasperson, @maraisr @idooo. The steps related to calendar date input are all working now.


[firebase_in_app_messaging] Package on pub.dev is v0.0.1 but repo is v0.0.1+2

pub.dev is behind the repo release of the package. See the package pubspec.yaml here:
https://github.com/flutter/plugins/blob/master/packages/firebase_in_app_messaging/pubspec.yaml
Readme.md also missing pub.dev link here:
https://github.com/flutter/plugins/blob/master/packages/firebase_in_app_messaging/README.md

@workerbee22
The issue at https://github.com/flutter/flutter/issues/37539 has been closed and moved here. Future collaboration on this issue will be done here.

Hi @workerbee22
can you please describe the issue in detail
thank you

Pub.dev says it is 0.0.1+3 .... but in the repo it is 0.0.1+4 here https://github.com/FirebaseExtended/flutterfire/blob/master/packages/firebase_in_app_messaging/pubspec.yaml


Suggest jarvis for stable repo

PLease translate readme to english.

@Zefau An english Readme is needed to allow correct integration into the iobroker.net Adapter list. Additional lamguages of the Readme can be provided in io-package.json

@GermanBluefox @Apollon77 thanks guys. I have translated the readme. I would appreciate if you could merge the pr. cheers


whenever/capistrano not properly setting environment or updating crontab

I am trying to set cron jobs when deploying via Capistrano. In my Capfile:
...
require "whenever/capistrano"
...

In deploy.rb:
...
set :whenever_environment, ->{ fetch(:rails_env) }
set :whenever_identifier,  ->{ "#{fetch(:application)}_#{fetch(:stage)}" }
set :whenever_command,     ->{ "cd #{fetch(:release_path)} && bundle exec whenever" }
...

in deploy.rb:
set :stage, :development
...
role :app, %w{server_name}
role :web, %w{server_name}
role :db,  %w{server_name}
...
set :rails_env, "development"

In schedule.rb:
set :output, File.join(Whenever.path, "log", "cron.log")

# Runs every hour on the hour between 8AM and 5PM
every 1.day, at: (8..17).map { |hour| "#{hour > 12 ? hour - 12 : hour}:00#{hour >= 12 ? "pm" : "am"}" } do
  rake "task"
end

From everything I've read online, the documentation, and even what I've read in load:defaults, is should be all I need to get the cron jobs to update. However, when I run bundle exec cap development deploy, the environment is displayed as 'production' and it doesn't update the crontab file. This is the output from Capistrano:
    0 8,9,10,11,12,13,14,15,16,17 * * * /bin/bash -l -c 'cd /path/to/newest/release && RAILS_ENV=production bundle exec rake task --silent >> /path/to/newest/release/log/cron.log 2>&1'

## [message] Above is your schedule file converted to cron syntax; your crontab file was not updated.
## [message] Run `whenever --help' for more options.

Am I missing something? Is this a bug?
EDIT: I want to clarify that I am using Rails v4.2.6, Whenever v0.9.7 and Capistrano v3.5

You should probably seek assistance through Capistrano support channels; I do not know why the correct value for :rails_env is not being used.

OK, I'll do that, thanks. Any idea why the crontab file isn't being updated?

OK, I'll do that, thanks. Any idea why the crontab file isn't being updated?

The incorrect Whenever command is being run; could you provide the full Capistrano output at debug level?

INFO [024a4562] Running cd /path/to/newest/release && bundle exec whenever on server-name
DEBUG [024a4562] Command: cd /path/to/newest/release && bundle exec whenever
DEBUG [024a4562] 	0 8,9,10,11,12,13,14,15,16,17 * * * /bin/bash -l -c 'cd /path/to/newest/release && RAILS_ENV=production bundle exec rake task --silent >> /path/to/newest/release/log/cron.log 2>&1'

## [message] Above is your schedule file converted to cron syntax; your crontab file was not updated.
## [message] Run `whenever --help' for more options.
INFO [024a4562] Finished in 0.787 seconds with exit status 0 (successful).

I think I'd need to be able to dig in to this; are you able to share the full repo (privately?) for me to debug locally?

Unfortunately I am unable to (sorry), but I can send you our Gemfile if you want it. Say the word and I can email it to the address on your profile.

The Gemfile won't help a lot. Best of luck with your debugging, let us know if you find the root cause :)

After doing some more debugging, I'm not sure the environment being set correctly is a Capistrano issue. I made a custom task that printed the :whenever_environment before deploy:updating, and it was 'development' like it should be. However the debug output still shows RAILS_ENV=production.

It seems to be working now. All I did was comment out the set :whenever_command, my custom command seemed to break it somehow. I'm not sure if that helps with debugging this

If it helps anyone in the future, I just spent half a day facing the same problems.
Fixed it by using the --set and -i flags. My custom whenever command now looks like this:
set :whenever_command, -> {
  on roles(:app) do
    within current_path do
      execute :bundle, :exec, "whenever -i #{fetch(:application)}_#{fetch(:rails_env)} --update-crontab #{fetch(:rails_env) == "production" ? "" : "--load-file config/schedule.dev.rb"} --set environment=#{fetch(:rails_env)}"
    end
  end
}

This is on whenever version 0.10.0.


Invalid readme file name.

Current readme is named readme.md but it should be named README.md.
Because GitHub requests are case sensitive.

Changed the filename to README.MD hope that fixes any github quirks.

I added support for readme.md on my manager RC build, now I have to add README.MD support too...
Well meh, I'm supporting far worse naming cases, supporting weird capitalization in my app won't do any harm.
Don't worry, I will manage case-sensitivity issue on my side.


Server Token Rotation

Proposed Changes

Adds a new subcommand k3s token rotate which enables a user to rotate the initial server token.
Expands existing E2E token test to include this new command
Compact CertCommand functions

Types of Changes
New Feature

Verification
Single node:

Start k3s with token 1234
if root, with access to /var/lib/rancher/k3s/server/token run: k3s token rotate --new-token=6789
if not root, or non access, run: k3s token rotate --token 1234 --new-token=6789
Restart k3s with new token 6789

HA:

Start k3s servers with token 1234
k3s token rotate --new-token=6789
Restart all k3s servers with new token 6789

Testing
New Testlets in E2E test

Linked Issues
https://github.com/k3s-io/k3s/issues/8264

User-Facing Change

Further Comments

cc @jakefhyde @Oats87 in case you want to look over

@dereknola is this feature complete and usable?
I'm asking because the docs still say, e.g.,:

This token cannot be changed once the cluster has been created.

All the location I found:

https://docs.k3s.io/advanced#token-management
https://docs.k3s.io/cli/token#server

https://docs.k3s.io/cli/token#k3s-token-rotate is the only location that says that rotation is possible.


SetDebugFact Error

Command AddToInventory work well，but SetDebugFact Error

and command AddDebugFact got same error

I do not know the reason why cdpr employee changes the secret ending's unlock condition, but it really give me a big shock. Thank you,cdpr!

Command removed by CDPR


Add support for Autonat

Autonat is needed if we want to have decentralized external address discovery and support for TCP/UDP hole punching. As detailed here, this entails:

implementing service discovery for Autonat nodes (decentralized or not);
actually enabling Autonat.

The hard part is (1). Once that's done, (2) should be trivial.

This is in the wrong repo 😳


LPFG-936: Manage organisations

new organisational unit controller and service for the manage organisations screen on lpg-management
adding local migration for dev purposes, will delete later
tests

Updates made, but please do not merge as I need to resolve a db relationship issue between parent and sub-orgs

I have updated the db relationship - everything should be working as expected.
Please review/merge when ready @robleney-kainos @elxsy


Add MessagePack support

Fixes https://github.com/dotnet/aspnetcore/issues/30494
Used the msgpack library from https://github.com/msgpack/msgpack-c
Both protocols should have feature parity. Outside of this PR, other message types need to be added (like Close)
TODO:
Add USE_MSGPACK to microsoft-signalr-config.in.cmake once https://github.com/aspnet/SignalR-Client-Cpp/pull/52 goes in

cc @buta-msft FYI

Ping reviewers 🥰


Don't treat host:port as an IPv6 address

Addresses chef-server/665

Thanks for the contribution.  However, I think this would exclude a lot of valid IPv6 addresses since a single : is used to separate groups in an ipv6 address.

D'oh I misread this.  I think this will work apologies for any confusion.

:+1:

:+1: Makes sense.

This change has the potential to break other configuration - OmnibusHelper.vip_for_url uses this function, and everywhere that we use vip_for_uri, we're appending or otherwise specifying port,. here's one example:
https://github.com/chef/chef-server/blob/master/omnibus/files/private-chef-cookbooks/private-chef/templates/default/oc_erchef.config.erb#L160
In that case, if someone specified a vip that included a port for bifrost, erchef would not be able to communicate with bifrost. It's the same for other usages.
We have an existing issue #50, was the underlying issue you're trying to resolve with this?

@marcparadise In thinking about this, while I agree with you at a high level, I don't see this change opening up new issues.  Nothing /prevented/ users from specifying a port.  In the past, such specifications would fail with whatever weird error the relevant component would raise when configured with an invalid IPv6 address.
As far as I know, there isn't a valid IPv6 address that contains a single :, this does allow for an easy work around for the issue with bookshelf when nginx is listening on non-443, and it doesn't open the user up to particularly more errors that they are open to now.
The only downside to merging this would the cost of continuing to support hostname:port specifications in these config items in the future even once we have a more complete fix.

Based on the comment:
    The only downside to merging this would the cost of continuing to support hostname:port specifications

Is this being deprecated? Or will this be addressed in one form or another?

I believe the underlying need for this has been addressed by https://github.com/chef/chef-server/pull/833, which adds a bookshelf_vip attribute that accepts port.  @nvwis could you confirm that the reason for this change was the inability to set a custom port for bookshelf?

Closing this as resolved by #833.   Please re-open this issue if the addition of bookshelf[vip_port] doesn't address your concern.


Add nextTitle dependency

Not sure if this is 100% accurate but at least to show nextTitle you need an onPress declared first.

Yeah, but you missed to mention that in case we use customPrev/customNext these properties would be ignored

I'll expand upon it when I get a chance

Changed in new major version.


Zoom to layer action does not work on tiled layers in map

As the action is based on the bounds of the currently visible elements and tiled layers only display elements in the viewport.

We are probably required to store the bbox in the layer description, the main difficulty is to update it correctly whenever features are edited.

A more simple approach would be to simply zoom to the min zoom level while keep the map centered on current position.


take some time(3-4seconds) after selecting photo

I am testing on iOS11, iphone5s, 6. It takes 3-4 seconds to dismiss the fusuma controller, after selecting photo(tapping on the top-right corner button). Is it possible to run faster?

Hi ryamashita.
Just out of curiosity, is your project on Swift 4? I just installed Fusuma, and it doesn't even compile...

Hi, Andreza.
I had same issue.
In my case,

Swift 3.2
pod "BSImagePicker", "2.5"
worked perfectly.

Not "2.4" or "2.7".
2017-12-06 9:11 GMT+09:00 Andreza<EMAIL_ADDRESS>
Hi ryamashita.
Just out of curiosity, is your project on Swift 4? I just installed
Fusuma, and it doesn't even compile...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ytakzk/Fusuma/issues/236#issuecomment-349485043, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AReJCztBK4Ec_DHj7GA-nTyH66bYR1Eqks5s9du_gaJpZM4Q0vMl
.

Unfortunately is not an option for me.... I need to be able to crop the pictures and select videos... Thank you, though


Excalicharts MVP

Copy some cells from excel, paste them into excalidraw, and get an editable bar chart.
In the future we may want to add something to the toolbar or more chart types. This is an MVP optimized for a small implementation size and for making Excalidraw an option for creating presentations.

Shouldn't the x/y axis be reversed. Let's say I have this data:
date	amount
2020-06-06	1
2020-06-07	23
2020-06-08	2
2020-06-09	4
2020-06-10	33
2020-06-11	42
2020-06-12	12
2020-06-13	34

it creates:

@dwelle I think in that case they are both treated as numbers

@dwelle I think in that case they are both treated as numbers

But it should use 1st columns for X axis.

ah that bug came from a last minute decision to remove a specific list of currency symbols. i added it back in -- it's just a kind of random selection of currency symbols I threw in there. is there a more official list we should use?
regardless, it might be ok to roll with this for now and fix it in a follow up since it's not super discoverable in this form anyway. alternatively, we could remove support for currencies as numbers.

it's just a kind of random selection of currency symbols I threw in there. is there a more official list we should use?

No idea, but it also won't be as simple as that because not every currency puts the symbol before the number.
But like you said, let's not overengineer it right now.

In France you put the euro symbol -after- the number for example :)

What I would do is to try and parse the number and ignore everything else. Also in French you use comma for decimals rather than dots.


Show absolute data (no percent values) on donut charts

It would be great, if there were a possibility to show the absolute values and not the calculated percentages on donut charts.  I would really appreciate it! :)

Thanks @gopeter , saved my days! That answer should be on documentation! :)

@gopeter Can you please advice I get the below error when I try  to display absolute values and not the calculated percentages on donut charts:
Argument of type '{ bindto: string; size: { height: number; width: number; }; color: { pattern: string[...' is not assignable to parameter of type 'ChartConfiguration'.
Types of property 'donut' are incompatible.
Type '{ label: { format: (value: number) => number; }; }' is not assignable to type '{ label?: { show?: boolean; format?(value: number, ratio: number, id: string): string; threshold?...'.
Types of property 'label' are incompatible.
Type '{ format: (value: number) => number; }' is not assignable to type '{ show?: boolean; format?(value: number, ratio: number, id: string): string; threshold?: number; }'.
Types of property 'format' are incompatible.
Type '(value: number) => number' is not assignable to type '(value: number, ratio: number, id: string) => string'.
Type 'number' is not assignable to type 'string'.
Error: Types of property 'format' are incompatible.
Type '(value: number) => number' is not assignable to type '(value: number, ratio: number, id: string) => string'.
Type 'number' is not assignable to type 'string'.


VPC Support

As we get closer to VPCs becoming beta we should work with how we could implement them.
Depends on: https://github.com/linode/linodego/pull/450

@luthermonson I did a short research, and we are able to manage vpc-s and subnets. And on the UI there is an option to add instance to the vpc, so we just change machine creation (or golangsdk if it is missing) to set VPC. The big question is i think do we want to support both vpc and classic instances? Most of the capi providers are shipping vpcs by default, without any option to change. WDYT?

We should support both if for some reason VPC will not be available in all data centers. Does it make sense that we should default to VPC and error or fall back to classic if they're not available in the datacenter?

We should support both if for some reason VPC will not be available in all data centers. Does it make sense that we should default to VPC and error or fall back to classic if they're not available in the datacenter?

@luthermonson we should. I'm not a big fan of automatic fall back to potentially lower security level. But we can create a validation webhook, to validate VPC availability. WDYT?

@luthermonson I think we have to think about how to bootstrap Kubernetes cluster on an isolated environment.

The most common way to solve this problem is a bastion node (per datacenter or per cluster, private ip or vlan).
The second option is to opening a backdoor for cluster management. We should achieve high security (2 way ssl, inclusive firewall, etc), but i don't recommend it.
The third option is to use stackscripts and a small agent on hosts for any kind of code execution. Capi provider creates a stackscript, which the agent polling and executing.
Forth option came into my mind is totally immutable infrastructure, so Metadata service is the source of truth and we replace nodes on any case of change.

What is your vision?

@mhmxs i like the 4th option, the metadata should be the source of truth. ive seen option bastion hosts too but only if its option in case whomever is using this rolls their own. i dont like opening backdoors or using a small agent. do you prefer 4?

do you prefer 4?

:+1:


There is no vSphere version 8.

Submission Template
There is no vSphere version 8 (https://kb.vmware.com/s/article/2143838)
but there IS VMWare Horizon 8, and is affected by the log4j vuln: (https://kb.vmware.com/s/article/87073)

Thank you for reaching out to CISA and we have updated our records.


Bex north edge

ok, I think we have the north edge test in here now? tests and linting passed.

@BexDunn What changed in waterbodies_canberra.shp?

The original waterbodies_canberra.shp I think didn't contain the waterbodies that overlapped the tile boundaries, so I added one from the waterbodies shapefile. I was going to use a snippet of the waterbodies shapefile, but they were all much larger, and I think you said this way works better.

or, more usefully, uid r3cbj7d6s


Documentation: We need better docs for how to debug changes locally for this library

Problem: I want to make changes to this library and use them in my application.
Steps to reproduce:

Fork and clone Lexical to a folder called lexical-npm-library
cd lexical-npm-library
Then make a new react app called 'web-app`
Then make changes to the code in lexical. Change all instances of Export DOM to Export Foo for the UI button
See the changes reflected in the application

Actual: You don't see the changes
Things I have tried:

Use npm link

npm link in the packages/lexical directory
npm link lexical in the web-app
NOTE: this works for updating the core but I want to update the react module.

Question: How are your internal devs debugging module development locally so I can contribute to this repo?
Thanks in advance!

Here are some comments that might be useful from other tickets:

After further debugging, I hit this error:
npm link @lexical/playground
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@lexical%2fplayground - Not found
npm ERR! 404
npm ERR! 404  '@lexical/playground@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: /Users/jon/.npm/_logs/2024-02-07T20_59_34_510Z-debug-0.log

I think the main process is to run npm link in all folders in the ./poackages directory. Then run all the npm link @lexical/markdown etc from the app 'that consumes lexical.
help here would be greatly appreciated :)

Here is another example of someone struggling with the same thing

So I had to solve this in the end with symlinks
Here is how I did it. I used a sample repo from https://codesandbox.io/p/sandbox/vigilant-kate-5tncvy?file=%2Fpackage.json as a consuming application. To do this, I had to cp public/images src/images so the project would compile with npm start
Then I cloned lexical to a parent directory
Then you need to run npm run build and make sure you have a dist folder in the lexical-clone/packages/lexical-markdown/
Then I added the symlinks to the consuming application:
ln -s ../../../lexical/packages/lexical-html html;
ln -s ../../../lexical/packages/lexical-markdown markdown;
ln -s ../../../lexical/packages/lexical-playground playground;
ln -s ../../../lexical/packages/lexical-table table;
ln -s ../../../lexical/packages/lexical-yjs yjs;
ln -s ../../../lexical/packages/lexical-clipboard clipboard;
ln -s ../../../lexical/packages/lexical-hashtag hashtag;
ln -s ../../../lexical/packages/lexical-link link;
ln -s ../../../lexical/packages/lexical-offset offset;
ln -s ../../../lexical/packages/lexical-react react;
ln -s ../../../lexical/packages/lexical-text text;
ln -s ../../../lexical/packages/lexical-code code;
ln -s ../../../lexical/packages/lexical-headless headless;
ln -s ../../../lexical/packages/lexical-list list;
ln -s ../../../lexical/packages/lexical-overview overview;
ln -s ../../../lexical/packages/lexical-rich-text rich-text;
ln -s ../../../lexical/packages/lexical-utils utils;
ln -s ../../../lexical/packages/lexical-dragon dragon;
ln -s ../../../lexical/packages/lexical-history history;
ln -s ../../../lexical/packages/lexical-mark mark;
ln -s ../../../lexical/packages/lexical-plain-text plain-text;
ln -s ../../../lexical/packages/lexical-selection selection;
ln -s ../../../lexical/packages/lexical-website website;

HERE IS THE TRICK: Then you have to add a symlink to the lexical-clone/packages/lexical-react
Cd packages/lexical-react
Mkdir node_modules/@lexical
Cd node_modules/@lexical
ln -s ../../dist/ react

This fakes a node_modules scoped package in lexical-react. This is needed if you want to compile and run all the sub modules so you can develop on a project like lexical-react.
If anyone has a better solution, I would love to hear it!


[BUG] OOM issues when reproducing the some of the experiments from the Transformers4Rec paper with the new PyTorch API

Bug description
The experiments reported in the Transformers4Rec paper (published at ACM RecSys'21) were performed using an earlier (pre-release) version of the library, which was later refactored for public release, as described here.
Some of the experiments that ran successfully before in a V100 32GB GPU now raise an Out-Of-Memory (OOM) error with the same hardware with the refactored PyTorch API.
This bug is for investigating the cause of OOM issues for those experiments
Steps/Code to reproduce bug

Setup a docker container with the latest Merlin for PyTorch Training (21.11)

REES46_ECOM_DATASET_PATH=/path/to/dataset
docker run --rm --gpus all -it -v $REES46_ECOM_DATASET_PATH:/ecomrees nvcr.io/nvidia/merlin/merlin-pytorch-training:21.11

Within the container, pull the latest Transformers4Rec code and install requirements

cd /transformers4rec/ && git pull origin main && pip install -e .
pip install -r /transformers4rec/examples/t4rec_paper_experiments/requirements.txt
cd /transformers4rec/examples/t4rec_paper_experiments/

Run an experiment with Transformer-XL

CUDA_VISIBLE_DEVICES=0 python3 -m t4r_paper_repro.transf_exp_main --output_dir ./tmp_transfoxl/ --overwrite_output_dir --do_train --do_eval --data_path /home/gmoreira/dataset/ecommerce_dataset/ecommerce_preproc_v5_with_repetitions_day_folders --data_loader_engine nvtabular --validate_every 10 --logging_steps 20 --save_steps 0 --experiments_group local_test  --features_schema_path datasets_configs/ecom_rees46/rees46_schema.pbtxt --fp16 --data_loader_engine nvtabular --start_time_window_index 1 --final_time_window_index 30 --time_window_folder_pad_digits 4 --model_type transfoxl --loss_type cross_entropy --per_device_eval_batch_size 512 --similarity_type concat_mlp --tf_out_activation tanh --inp_merge mlp --learning_rate_warmup_steps 0 --learning_rate_schedule linear_with_warmup --hidden_act gelu --num_train_epochs 10 --dataloader_drop_last --compute_metrics_each_n_steps 1 --session_seq_length_max 20 --eval_on_last_item_seq_only --mf_constrained_embeddings --layer_norm_featurewise --per_device_train_batch_size 512 --learning_rate 0.001007765821083962 --dropout 0.1 --input_dropout 0.30000000000000004 --weight_decay 1.0673054163921092e-06 --d_model 448 --item_embedding_dim 320 --n_layer 1 --n_head 1 --label_smoothing 0.2 --stochastic_shared_embeddings_replacement_prob 0.02 --item_id_embeddings_init_std 0.15 --other_embeddings_init_std 0.01 --eval_on_test_set --seed 500

The experiment uses incremental training and evaluation, training only data of one day and evaluating on the next day. That script will raise the following OOM error when training on day 18 (after about 3h 11m 54s)

Traceback (most recent call last):
  File "/home/gmoreira/miniconda3/envs/transf4rec_hf4.6.0_nvt0.6_cuda11.0/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/gmoreira/miniconda3/envs/transf4rec_hf4.6.0_nvt0.6_cuda11.0/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/gmoreira/projects/nvidia/nvidia_merlin/Transformers4Rec/examples/t4rec_paper_experiments/t4r_paper_repro/transf_exp_main.py", line 394, in <module>
    main()
  File "/home/gmoreira/projects/nvidia/nvidia_merlin/Transformers4Rec/examples/t4rec_paper_experiments/t4r_paper_repro/transf_exp_main.py", line 163, in main
    results_over_time = incremental_train_eval(
  File "/home/gmoreira/projects/nvidia/nvidia_merlin/Transformers4Rec/examples/t4rec_paper_experiments/t4r_paper_repro/transf_exp_main.py", line 239, in incremental_train_eval
    train_metrics = trainer.evaluate(metric_key_prefix="train")
  File "/home/gmoreira/miniconda3/envs/transf4rec_hf4.6.0_nvt0.6_cuda11.0/lib/python3.8/site-packages/transformers/trainer.py", line 2037, in evaluate
    eval_dataloader = self.get_eval_dataloader(eval_dataset)
  File "/home/gmoreira/projects/nvidia/nvidia_merlin/Transformers4Rec/transformers4rec/torch/trainer.py", line 167, in get_eval_dataloader
    return T4RecDataLoader.parse(self.args.data_loader_engine).from_schema(
  File "/home/gmoreira/projects/nvidia/nvidia_merlin/Transformers4Rec/transformers4rec/torch/utils/data_utils.py", line 310, in from_schema
    nvt_loader = cls(
  File "/home/gmoreira/projects/nvidia/nvidia_merlin/Transformers4Rec/transformers4rec/torch/utils/data_utils.py", line 227, in __init__
    self.set_dataset(buffer_size, engine, reader_kwargs)
  File "/home/gmoreira/projects/nvidia/nvidia_merlin/Transformers4Rec/transformers4rec/torch/utils/data_utils.py", line 258, in set_dataset
    dataset = validate_dataset(
  File "/home/gmoreira/projects/nvidia/nvidia_merlin/Transformers4Rec/merlin_standard_lib/utils/misc_utils.py", line 239, in validate_dataset
    return Dataset(files, engine=engine, **reader_kwargs)
  File "/home/gmoreira/projects/nvidia/NVTabular/nvtabular/io/dataset.py", line 285, in __init__
    self.engine = ParquetDatasetEngine(
  File "/home/gmoreira/projects/nvidia/NVTabular/nvtabular/io/parquet.py", line 86, in __init__
    rg_byte_size_0 = _memory_usage(cudf.io.read_parquet(path0, row_groups=0))
  File "/home/gmoreira/miniconda3/envs/transf4rec_hf4.6.0_nvt0.6_cuda11.0/lib/python3.8/site-packages/cudf/io/parquet.py", line 250, in read_parquet
    return libparquet.read_parquet(
  File "cudf/_lib/parquet.pyx", line 110, in cudf._lib.parquet.read_parquet
  File "cudf/_lib/parquet.pyx", line 160, in cudf._lib.parquet.read_parquet
MemoryError: std::bad_alloc: CUDA error at: /home/gmoreira/miniconda3/envs/transf4rec_hf4.6.0_nvt0.6_cuda11.0/include/rmm/mr/device/cuda_memory_resource.hpp:69: cudaErrorMemoryAllocation out of memory

Expected behavior
The experiment should finish without OOM errors
Environment details
Latest Merlin for PyTorch Training (21.11) - nvcr.io/nvidia/merlin/merlin-pytorch-training:21.11

Transformers4Rec version: 0.1.0
transformers: 4.12.3
Platform: Ubuntu 20.04
Python version: 3.8.12
Huggingface Transformers version: 1.12
PyTorch version: 1.10
V100 GPU 32 GB

Have ran in the 2nd GPU of my workstation and it completed successfully. That probably happened because my 1st GPU has some memory reserved for display graphics and as the hyperparameters for the experiment emerged from a hypertuning process with 100 trials, the best hyperparameters to to use the maximum possible GPU memory to allow for larger models and batch sizes. Closing this issue.


ENOENT, open extracted directory

Hi,
I am getting the Error: ENOENT, open '/media/peoplelink/New Volume/XXXX/XXXX/xxx.zip
Please help me out

Hi, that error means either the path to the zip file is incorrect, or the
zip file is corrupted
On Wed, Mar 16, 2016 at 3:08 AM, tulsirampalavalasa <
<EMAIL_ADDRESS>wrote:

Hi,
I am getting the Error: ENOENT, open '/media/peoplelink/New
Volume/XXXX/XXXX/xxx.zip
Please help me out
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/maxogden/extract-zip/issues/23

hey thanks for your help .Now i can able to extract it but i am unable to extract all the content in a single folder named with zip file   .Can you help me if you have solution
Thanks in advance


RuntimeType function is not the same in the emulator Web as it is on the public server

Steps to reproduce
Calling the .runtimeType of a variable "List" or "List<String>", if you print it in the console locally versus on a public server, the same type does not appear.
Expected results
I was expecting the console output to be the same in both the local emulator and the server.
Actual results

Code sample
// Testing the browser inspector console on the web emulator and on the public server.
List variable = [];
List<String> variable2 = [];

print("TYPE (List):  ${variable.runtimeType}");
print("TYPE (List<String>): ${variable2.runtimeType}");

Screenshots or Video

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.13.6, on Microsoft Windows [Versi¢n 10.0.22631.3007], locale es-ES)
    • Flutter version 3.13.6 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ead455963c (4 months ago), 2023-09-26 18:28:17 -0700
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\msanc\AppData\Local\Android\Sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_SDK_ROOT = C:\Users\msanc\AppData\Local\Android\Sdk
• Java binary at: C:/Program Files/Android/Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.20)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
• Visual Studio Build Tools 2019 version 16.11.32929.386
• Windows 10 SDK version 10.0.22000.0
[!] Android Studio (version 2022.3)
• Android Studio at C:\Program Files\Android\Android Studio2
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
X Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[√] Android Studio (version 2023.1)
• Android Studio at C:\Program Files\Android\Android Studio3
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
[√] Android Studio (version 2021.2)
• Android Studio at C:/Program Files/Android/Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = C:/Program Files/Android/Android Studio
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
[√] VS Code (version 1.85.2)
• VS Code at C:\Users\msanc\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.80.0
[√] VS Code, 64-bit edition (version 1.65.2)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.80.0
[√] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 31) (emulator)
• Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Versi¢n 10.0.22631.3007]
• Chrome (web)                 • chrome        • web-javascript • Google Chrome 121.0.6167.86
• Edge (web)                   • edge          • web-javascript • Microsoft Edge 121.0.2277.83

@JoeBlack92
I think this issue belongs to dart-lang repo so you need to report it there. https://github.com/dart-lang/sdk/issues
Closing from here.