[BUG] "SPC + SPC" binding for +evil/easymotion gives prefix error

Describe the issue
Trying to map SPC SPC to +evil/easymotion fails with "non-prefix key SPC" error. Other functions map just fine.
The failing code looks like this:
(map! (:map doom-leader-map
        "SPC" #'+evil/easymotion))

However, both of these work just fine:
  (map! (:map doom-leader-map
          "SPC" evilem-map))

  (map! (:map doom-leader-map
          "SPC" #'find-file))

This suggests that there's something about the internals of +evil/easymotion that doesn't like being mapped to a prefix key...which is weird because the default g s mapping uses g as a prefix, which has other keys as well.

Debugger entered--Lisp error: (error "Key sequence SPC SPC starts with non-prefix key SPC")
  define-key((keymap (remap keymap (avy-goto-word-or-subword-1 . evil-avy-goto-word-or-subword-1) (avy-goto-word-1-below . evil-avy-goto-word-1-below) (avy-goto-word-1-above . evil-avy-goto-word-1-above) (avy-goto-word-1 . evil-avy-goto-word-1) (avy-goto-word-0 . evil-avy-goto-word-0) (avy-goto-symbol-1-below . evil-avy-goto-symbol-1-below) (avy-goto-symbol-1-above . evil-avy-goto-symbol-1-above) (avy-goto-symbol-1 . evil-avy-goto-symbol-1) (avy-goto-subword-1 . evil-avy-goto-subword-1) (avy-goto-subword-0 . evil-avy-goto-subword-0) (avy-goto-line-below . evil-avy-goto-line-below) (avy-goto-line-above . evil-avy-goto-line-above) (avy-goto-line . evil-avy-goto-line) (avy-goto-char-timer . evil-avy-goto-char-timer) (avy-goto-char-in-line . evil-avy-goto-char-in-line) (avy-goto-char-2-below . evil-avy-goto-char-2-below) (avy-goto-char-2-above . evil-avy-goto-char-2-above) (avy-goto-char-2 . evil-avy-goto-char-2) (avy-goto-char . evil-avy-goto-char) (ace-jump-word-mode . evil-ace-jump-word-mode) (ace-jump-line-mode . evil-ace-jump-line-mode) (ace-jump-char-mode . evil-ace-jump-char-mode)) (33 . evil-shell-command) (58 . evil-ex) (down-mouse-1 . evil-mouse-drag-region) (4 . evil-scroll-down) (21 . evil-scroll-up) (9 . evil-jump-forward) (26 . evil-emacs-state) (down . evil-next-line) (up . evil-previous-line) (right . evil-forward-char) (left . evil-backward-char) (30 . evil-buffer) (22 . evil-visual-block) (86 . evil-visual-line) (118 . evil-visual-char) (122 keymap (69 . vimish-fold-delete-all) (100 . vimish-fold-delete) (70 . evil-vimish-fold/create-line) (102 . evil-vimish-fold/create) (107 . +fold/previous) (106 . +fold/next) (72 . evil-scroll-left) (76 . evil-scroll-right) (left . "zh") (104 . evil-scroll-column-left) (right . "zl") (108 . evil-scroll-column-right) (45 . "zb^") (98 . evil-scroll-line-to-bottom) (46 . "zz^") (122 . evil-scroll-line-to-center) (13 . [122 return]) (return . "zt^") (116 . evil-scroll-line-to-top) (43 . evil-scroll-bottom-line-to-top) (94 . evil-scroll-top-line-to-bottom)) (92 . evil-execute-in-emacs-state) (13 . evil-ret) (25 . evil-scroll-line-up) (15 . evil-jump-backward) (6 . evil-scroll-page-down) (5 . evil-scroll-line-down) (2 . evil-scroll-page-up) (29 . evil-jump-to-tag) (67108918 . evil-switch-to-windows-last-buffer) (23 . evil-window-map) (45 . evil-previous-line-first-non-blank) (95 . evil-next-line-1-first-non-blank) (43 . evil-next-line-first-non-blank) (94 . evil-first-non-blank) (124 . evil-goto-column) (63 . evil-ex-search-backward) (59 . evil-repeat-find-char) (47 . evil-ex-search-forward) (44 . evil-repeat-find-char-reverse) (42 . evil-ex-search-word-forward) (91 keymap (100 . git-gutter:previous-hunk) (116 . hl-todo-previous) (104 . outline-previous-visible-heading) (101 . previous-error) (97 . evil-backward-arg) (121 . +evil:c-string-decode) (117 . +evil:url-decode) (92 . +evil/previous-comment) (42 . +evil/previous-comment) (35 . +evil/previous-preproc-directive) (77 . +evil/previous-end-of-method) (109 . +evil/previous-beginning-of-method) (115 . evil-prev-flyspell-error) (123 . evil-previous-open-brace) (40 . evil-previous-open-paren) (93 . evil-backward-section-end) (91 . evil-backward-section-begin)) (93 keymap (100 . git-gutter:next-hunk) (116 . hl-todo-next) (104 . outline-next-visible-heading) (101 . next-error) (97 . evil-forward-arg) (121 . +evil:c-string-encode) (117 . +evil:url-encode) (92 . +evil/next-comment) (42 . +evil/next-comment) (35 . +evil/next-preproc-directive) (77 . +evil/next-end-of-method) (109 . +evil/next-beginning-of-method) (115 . evil-next-flyspell-error) (125 . evil-next-close-brace) (41 . evil-next-close-paren) (91 . evil-forward-section-end) (93 . evil-forward-section-begin)) (41 . evil-forward-sentence-begin) (40 . evil-backward-sentence-begin) (39 . evil-goto-mark-line) (96 . evil-goto-mark) (37 . evil-jump-item) (36 . evil-end-of-line) (35 . evil-ex-search-word-backward) (125 . evil-forward-paragraph) (123 . evil-backward-paragraph) (103 keymap (115 keymap (47 . avy-goto-char-timer) (32 closure (t) nil (interactive) (let ((current-prefix-arg t)) (call-interactively (function avy-goto-char-timer)))) (83 . evil-easymotion-snipe-backward) (115 . evil-easymotion-snipe-forward) (65 . evilem--motion-function-evil-backward-arg) (97 . evilem--motion-function-evil-forward-arg) (43 . evilem-motion-next-line-first-non-blank) (45 . evilem-motion-previous-line-first-non-blank) (35 . evilem-motion-search-word-backward) (42 . evilem-motion-search-word-forward) (78 . evilem-motion-search-previous) (110 . evilem-motion-search-next) (41 . evilem-motion-forward-sentence-begin) (40 . evilem-motion-backward-sentence-begin) (93 keymap (91 . evilem-motion-forward-section-end) (93 . evilem-motion-forward-section-begin)) (91 keymap (93 . evilem-motion-backward-section-end) (91 . evilem-motion-backward-section-begin)) (70 . evilem-motion-find-char-backward) (102 . evilem-motion-find-char) (84 . evilem-motion-find-char-to-backward) (116 . evilem-motion-find-char-to) (107 . evilem-motion-previous-line) (106 . evilem-motion-next-line) (103 keymap (107 . evilem-motion-previous-visual-line) (106 . evilem-motion-next-visual-line) (69 . evilem-motion-backward-WORD-end) (101 . evilem-motion-backward-word-end)) (66 . evilem-motion-backward-WORD-begin) (98 . evilem-motion-backward-word-begin) (69 . evilem-motion-forward-WORD-end) (101 . evilem-motion-forward-word-end) (87 . evilem-motion-forward-WORD-begin) (119 . evilem-motion-forward-word-begin)) (78 . evil-previous-match) (110 . evil-next-match) (118 . evil-visual-restore) (42 . evil-ex-search-unbounded-word-forward) (35 . evil-ex-search-unbounded-word-backward) (29 . evil-jump-to-tag) (36 . evil-end-of-visual-line) (109 . evil-middle-of-visual-line) (94 . evil-first-non-blank-of-visual-line) (95 . evil-last-non-blank) (48 . evil-beginning-of-visual-line) (107 . evil-previous-visual-line) (106 . evil-next-visual-line) (103 . evil-goto-first-line) (69 . evil-backward-WORD-end) (101 . evil-backward-word-end) (100 . evil-goto-definition)) ...) "  " nil)
  evil-define-key*(motion global "  " nil)
  (let ((prefix (this-command-keys))) (evil-define-key* (quote motion) (quote global) prefix nil) (evilem-default-keybindings (key-description prefix)) (setq prefix-arg current-prefix-arg unread-command-events (mapcar (function (lambda (e) (cons t e))) (vconcat (if evil-this-operator (progn (where-is-internal evil-this-operator evil-normal-state-map t))) prefix))))
  +evil/easymotion()
  funcall-interactively(+evil/easymotion)
  call-interactively(+evil/easymotion nil nil)
  command-execute(+evil/easymotion)

System information

- OS: darwin (x86_64-apple-darwin14.5.0)
- Shell: /bin/zsh
- Emacs: 26.2 (Apr 12, 2019)
- Doom: 2.0.9 (HEAD -> develop, _upgrade/develop f754d4ff 2019-07-23 18:23:17 +0200)
- Graphic display: t (daemon: nil)
- System features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS
- Details:
  ```elisp
  env bootstrapper: envvar-file
  elc count: 0
  uname -a:  Darwin 17.7.0 Darwin Kernel Version 17.7.0: Sun Jun  2 20:31:42 PDT 2019; root:xnu-4570.71.46~1/RELEASE_X86_64 x86_64
  modules:   (:completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +all +defaults) treemacs vc-gutter vi-tilde-fringe window-select workspaces :editor evil file-templates fold lispy multiple-cursors rotate-text snippets :emacs dired electric vc :term eshell :tools bibtex editorconfig eval flycheck flyspell (lookup +docsets) macos magit :lang data emacs-lisp my-ess markdown (org +ipython +pandoc) polymode python sh :config default)
  packages:  (dtrt-indent (fill-function-arguments :recipe (fill-function-arguments :fetcher github :repo davidshepherd7/fill-function-arguments)) deadgrep pandoc-mode)
  exec-path: (~/.gem/bin ~/.zplug/repos/zplug/zplug/bin ~/.zplug/bin ~/.cargo/bin ~/.nix-profile/bin ~/.gem/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Library/TeX/texbin /opt/X11/bin ~/.config/nvim/bundle/fzf/bin ~/.local/bin /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_10 /Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_10 ~/.local/bin /Applications/Emacs.app/Contents/MacOS/libexec/)
  ```

You cannot bind +evil/easymotion anywhere else but on evil-motion-state-map, as it is by default:
(map! :leader :m "gs" #'evil/easymotion)  ; note the :m

It was not designed to be bound anywhere else (and cannot be -- not reliably). It's a trick to lazy load evil-easymotion and then bind evilem-map to the key sequence that triggered it, but there is no reliable mechanism for determining through what keymap a command was invoked. Since these are meant to be "augmented" motion keys to begin with, this seemed like an acceptable compromise.
On an unrelated note, you should use :leader instead of :map doom-leader-map. They are equivalent.

I'll assume the issue was sufficiently resolved, but mark it as wontfix since the underlying issue cannot be addressed. Thanks for bringing it to my attention!

As of 27cabea, you can bind +evil/easymotion anywhere you like. I've found a way to work around the previously mentioned technical limitations.


chore(jsdoc): mark file apis as stable

I've added a brief note to the changelog - this should automerge when tests complete.


i think this project is very great and i will do some using ur thoughts

proj very great as i see
i  think this project is very great and i will do some using ur thoughts such as celery, query, db/config, pentes-tools and so on . i think this tool is similar to Sn1per in some way. Of cource celerystalk is a great idea.
what i think need proved

also i think your framework is not great because of not having a clear ui with it .
i think the db saved not the best way, that not useful for web, of cource we could replace orm/sqlachemy instead of sqllite.

what i have done
python2 is not used for me , and i have forks your proj to the-champions-of-capua/celerystalk using python3 and content of all you achieved  have run well in my container except for some celery task with revote and then i'll fix it using my free time.

Thank you so much @xx-zhang! I'm so glad you like the project. I am excited to work with you to help make celerystalk better!  I have been meaning to move from python2 to python3, so I really appreciate your help with that. I can't wait to check out your fork and play with it.
I have been working on reworking screenshots lately. I am almost done. What I have noticed is that my screenshot functionality causes high load on aws instances that are small and on small virtual machines.I am going to switch ALL screenshot functionality to be performed by the aquatone project as a celery task, and I will offer two ways to look at screenshots. Option 1, you can look at the aquatone report. Option 2. I am going to use the aquatone pictures within celerystalk report so you can see it the way it looks now, just that the pictures come from aquatone.
Once I fix this screenshot issue I am going to make the number of concurrent celery tasks a user level configuration. That will make much more sense.  Even on small instances or virtual machines, I never had problems running 4 concurrent tasks (except for the screenshots).
Anyway, as for the UI, I am interested to hear your suggestions. A while ago I started to build a REPL, similar to the way recon-ng works.  If you type celerystalk interactive you will see a preview. Do you think that is better?  Or do you think there is a better way?  Or do you mean that you would like a visual UI?
I am not very knowledgeable with databases and I have very little experience with and understanding of ORM.  Do you have that experience? Maybe you could help me?

@sethsec as i see, you have thought about it for a long time and then worked this project.
i'm pool in ui. as currently you show is not bad. i'm look forward to your more and more interesting mudules for celerystalk.  i belive you can do it well and waiting a wonderful project made from ur hand.

Hey @xx-zhang - Thank's again for your work in porting celerysalk from python2 to python3. I am porting changes you made in your own fork back to my project now.  so thank you!


Fix for provisioning workflow issues after refactoring

Purpose or Intent
Previously, the code was collecting the fields and field names, and passing them to the visibility service to modify. That didn't actually modify them, so there were still certain things being hidden/shown that shouldn't have been. This should ensure that :hide and :edit display properties are properly set. Note that if a field is not explicitly hidden, it will be shown by default.
Links
https://github.com/ManageIQ/manageiq/issues/10231
@bdunne This should also fix the issue you were talking about in gitter where PXE server images/values were being required even without PXE selected.
@miq-bot assign @gmcculloug

@bdunne Please review and test against issues reported in issue #10231

@eclarizio I no longer get the ISO / PXE errors with the changes, but now I see a lot more fields that were not visible in the past.

Yes, that is because those fields aren't being explicitly hidden anymore. If they need to be hidden, then we should add rules to hide them within the visibility services based on criteria. I think they should've been there before.

Those fields are set to hidden in the default dialog yaml.  Users can decide if they want to show them by copying and changing the yaml file.
Why is that field being overridden now?  This change would impact all existing user dialogs.

Hmm, you're right, my mistake. I thought for sure I saw those fields were set to :edit. Will fix.

Looks like most things are back to normal.  The only part i see a problem with is selecting the network vlan.  It says "no choices available".  (I'm using the same template on the same provider that I ran a provision with earlier)

@eclarizio The networks on the provider that I was testing with are gone (which is why they don't show up in the dialogs).  I think that's related to a different issue in the ovirt gem.  I re-tested with a different provider and source template and everything looks good here.  Sorry for the confusion. :+1:

@bdunne - Glad to hear that since I was not able to reproduce your issue. 😌
@eclarizio - Still seeing two issues after this update:

The "Linked Clone" control referenced in issue #10231 is completely hidden now.
On the Customize tab the "Override Specification Values" checkbox is only showing when the spec is set to .  It should be the opposite.  The checkbox should be hidden when  is selected and visible when a spec is selected.

@eclarizio This is really close but I am still seeing one small different between how it use to work and wondering what the effort is to get it back.
The Linked Clone selection is working correctly when the VM has a snapshot.  If the VM does not have a snapshot the field use to show as disabled with a message to denote why. (Screenshot below)  Now it just hides the field completely.

Also item 3 from the related issue about "[ActionView::Template::Error] No route matches" is still reproducible using the same steps.  I think we should address that in a separate PR.

@gmcculloug Linked clone appears to be the only field that used to be set to either "show" or "edit" or "hide", all others are only "edit" or "hide", so it was easily overlooked. Should work as expected now...still looking into the route missing error and agree that could be in a separate PR.
Also I don't think those indent array rubocop warnings should be fixed, since it makes the array list go way out into the middle of the file, but that's just personal preference.

Tested the latest changes and it is looking good now.  I'll update the issue to note that the first two issues are resolved.


Created Registration form using Swings in java

I have used GridBagLayout.

Hi @Mrdecent08 ,thanks for your contribution!
Please update class name as per java naming conventions. check out this link for more info

@viralvaghela I have made the changes.


fuzz: Refactor Fuzzers based on Go native fuzzing

The existing fuzzers are converted into the Go native format. This
works well with most fuzzers, apart from the one that fuzzes the
controller.
That specific test depends on funcs and vars that are defined on
suite_test.go, which is not supported when building fuzzers leveraging
Go native fuzz for oss-fuzz. That test is therefore ignored when
executed with make fuzz-native. But, all tests are covered with
make fuzz-smoketest, in order to support oss-fuzz.
Once the controller is rewritten we can revist this and ensure that
fuzzers does not require envtest nor embedded CRDs.
Relates to https://github.com/fluxcd/flux2/issues/2417.

The build failure is orthogonal to the changes but did not have the time to get to the bottom of it:
=== CONT  TestKustomizationReconciler_DependsOn
    kustomization_dependson_test.go:185:
        Timed out after 30.001s.
        Expected
            <bool>: false
        to be true
=== CONT  TestKustomizationReconciler_DependsOn/reconciles_when_source_is_found
    testing.go:1336: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
--- FAIL: TestKustomizationReconciler_DependsOn (31.01s)
    --- PASS: TestKustomizationReconciler_DependsOn/fails_due_to_source_not_found (0.00s)
    --- FAIL: TestKustomizationReconciler_DependsOn/reconciles_when_source_is_found (30.00s)

Main is broken, although the same commit at the time worked.

It's due to using deprecated APIs in tests, HPA v2beta1 was removed from Kubernetes 1.25 and we're running the tests on latest stable. I've fixed it in main now.


Improve .Rprofile

This PR reworks .Rprofile used to create R terminal so that it could mimic creating R session by user in terminal:
The rule is:

If R_PROFILE_USER is non-empty then source it if exists. (if the file does not exist, do nothing and it does not continue to source other profiles)
If R_PROFILE_USER is empty,
2.1 If project profile .Rprofile exists, source it, otherwise
2.2 If user profile ~/.Rprofile exists, source it.

This looks to me like a refactoring/tidying with no behaviour change. If so, I'm happy for it to be merged (although I haven't tested it). If there is a behaviour change that I've missed, could you let me know? Thank you.

@andycraig There's indeed a subtle behavior change to be consistent with starting R in terminal:
If user defined R_PROFILE_USER is non-empty but the file does not exist, R will silently ignore this but does not continue to source any other .Rprofile.

@renkun-ken Thank you! I see it now. That is subtle - well done for identifying that behaviour in R! I am happy with this. Please merge it when you are ready.

Thanks for your reviewing!


No such model: code-davinci-002

I'm getting the error in title. org_id & secret_key are correct, but I still get the error immediately after pressing ^X.
Anyone else experiences that?

Traceback (most recent call last):
File "/private/home/orik/.oh-my-zsh/custom/plugins/zsh_codex/create_completion.py", line 64, in
response = openai.Completion.create(engine='code-davinci-002', prompt=prompt_prefix, suffix=prompt_suffix, temperature=0.5, max_tokens=50, stream=STREAM)
File "/private/home/orik/.conda/envs/design5_py38/lib/python3.8/site-packages/openai/api_resources/completion.py", line 31, in create
return super().create(*args, **kwargs)
File "/private/home/orik/.conda/envs/design5_py38/lib/python3.8/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 100, in create
response, _, api_key = requestor.request(
File "/private/home/orik/.conda/envs/design5_py38/lib/python3.8/site-packages/openai/api_requestor.py", line 120, in request
resp, got_stream = self._interpret_response(result, stream)
File "/private/home/orik/.conda/envs/design5_py38/lib/python3.8/site-packages/openai/api_requestor.py", line 327, in _interpret_response
self._interpret_response_line(
File "/private/home/orik/.conda/envs/design5_py38/lib/python3.8/site-packages/openai/api_requestor.py", line 360, in _interpret_response_line
raise self.handle_error_response(
openai.error.InvalidRequestError: No such model: code-davinci-002

Do you have access to Codex? Having access to the OpenAI API is not enough.
More Info:
https://github.com/tom-doerr/zsh_codex/issues/15
https://github.com/tom-doerr/zsh_codex/issues/13

I know this is an old issue, but I see this happening for me. I have a paid codex account setup but get the below error. Has the model changed and needs to be adjusted or is this an issue on my end? Thanks.
I'm using Hyper.js with Fig and zsh. Thank you.
# show the number of files in the current directoryTraceback (most recent call last):
  File "/Users/cyantorno/.oh-my-zsh/custom/plugins/zsh_codex/create_completion.py", line 64, in <module>
    response = openai.Completion.create(engine='code-davinci-002', prompt=prompt_prefix, suffix=prompt_suffix, temperature=0.5, max_tokens=50, stream=STREAM)
  File "/Users/cyantorno/Library/Python/3.9/lib/python/site-packages/openai/api_resources/completion.py", line 25, in create
    return super().create(*args, **kwargs)
  File "/Users/cyantorno/Library/Python/3.9/lib/python/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
  File "/Users/cyantorno/Library/Python/3.9/lib/python/site-packages/openai/api_requestor.py", line 226, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/Users/cyantorno/Library/Python/3.9/lib/python/site-packages/openai/api_requestor.py", line 619, in _interpret_response
    self._interpret_response_line(
  File "/Users/cyantorno/Library/Python/3.9/lib/python/site-packages/openai/api_requestor.py", line 682, in _interpret_response_line
    raise self.handle_error_response(
openai.error.InvalidRequestError: The model: `code-davinci-002` does not exist


[Packager] Packager does not start after upgrading to NPM 3.0 beta

After upgrading to NPM 3.0 beta (https://github.com/npm/npm/releases/tag/v3.0.0), I re-installed the node_modules through npm install in my React Native project. Everything showed up in the file system, but after calling npm start I get the error:
Could not find dependencies.
Ensure dependencies are installed - run 'npm install' from project root.

No matter how often I call npm install and npm start, the error persists.
This happens for me with both 0.6.0 and 0.7.0-rc.

This happens because the packager is looking for react-native's dependencies in its own node_modules directory. In npm 3, all dependencies install flat in the top level node_modules.
https://github.com/facebook/react-native/blob/master/packager/packager.js#L18
I'd love to start using npm3 - will look into a PR.

This happens for 0.8.0-rc as well. I thought NPM 3.0.x was needed for the latest release. Surprised to find there are issues!

I just had this issue with react-native 0.6.0 and npm 2.13.0. The issue went away by upgrading to react-native 0.7.1 but there's probably a simpler solution

@fatuhoku - not sure where you read that, npm 3 is not required for the new release, iojs is :smile:
We don't support npm 3 yet, help from the community on that would be great!

+1 for this issue. require statements should be updated to not include npm packages via relative paths.

+1 hit this too would a simple require check be good enough ? A simple way to detect this would be to try to require some dep and throw the error if it was missing.

Its the framework trying to be too smart. These lines are merely checking to see if node_modules is present. It doesn't need to do this check. If a dependency isn't there then require will throw an error. Could always monkey patch require to throw that message if the module isn't found.

Another +1 for this issue. I'm on npm 3.3.3 and node 4.1.0.

I've been using my Pull Request since I submitted it with no problems so far. It's a simple seeming change so hopefully they can merge it soon and be done with this.

require statements should be updated to not include npm packages via relative paths

Its not even that complicated since it already does that. Like I said, it merely tests for node_modules at a specific location, doesn't even save or use it from that location that I can tell.

+1. Same on node 4.0.0 and npm 3.3.3

@eddiemonge I'm not sure how to use that PR because I'm not sure where the react-native files are... I should be able to just edit the matching file right?

One way to work around this temporarily is to downgrade npm by running npm install -g 'npm@<3'.

+1. This is pretty troublesome.

The packager will be moved out into its own repo in the near future, and supporting npm 3 can happen then.

Yeah, the resolution algorithm of the packager needs to be upgraded for npm 3. Also, sadly npm install takes 3x more time for react-native :( https://github.com/npm/npm/issues/8826#issuecomment-141818982

I've tested this on npm 3 and looks like the dependency resolution system works fine. I'll remove the check that makes  packager.sh fail on npm 3 (will be available next time we sync). Other than that doesn't seem there's any actionable item here.

Hi
Seems that this is still not working with Node 4 and NPM 3. Can you please let us know when this is fixed?
Cheers
Bernd

+1

+1

+1

I have node v4.0 and npm v3.3.4 and this issue also affects me.

+1 (still not working)

@amasad @martinbigio where are we at with moving the packager to another repo?

+1

+1

+1

+1

solved this problem with
npm i<EMAIL_ADDRESS>npm rebuild

+1
@nashpro I tried that, still got the same error. Just to confirm here's the output of npm list react-native:
<EMAIL_ADDRESS>/Users/hugo/src/myapp
└──<EMAIL_ADDRESS>
Running node 4.1.1 with npm 3.3.4

+1

+1

same story, fixed it by downgrading npm to version 2.14.6

+1

same story
i have update to npm 3 and have the error
i have downgraded npm to<EMAIL_ADDRESS>and still have the same error
this is the react native version
<EMAIL_ADDRESS>and node 4.1.1
have some solution?

I can confirm @didierstockmans fix works. I downgraded npm to 2.14.6 and ran it without issue.
I then upgraded to react-native 0.11.4 and it still works. Still running node 4.1.1.

Downgrading is not a fix for this specific problem. There is a fix in https://github.com/facebook/react-native/commit/daba14264c9f0d29c0327440df25d81c2f58316c but it hasn't been released yet. You could install master from this repo and use that

https://github.com/facebook/react-native/commit/daba14264c9f0d29c0327440df25d81c2f58316c will go out in 0.13 soon.

@eddiemonge sorry I meant work around. Lol.

@mkonicek unfortunately it's not the only issue. It introduces naming collisions because it takes react-tools from some packages (e.g. immutable, ^0.11.0) and puts it in the root node_modules which conflicts with react-native/node_modules/react-tools. Not sure if there's any workaround to this issue apart from downgrading, which I don't like because of peerDependencies.

Interesting, maybe @spicyj might know about react-tools?

immutable lists react-tools only as a dev dependency so npm install immutable won't install it and you shouldn't need it to use immutable:
https://github.com/facebook/immutable-js/blob/5138e1d37daa63c03142ef2e5a8b2076c250311e/package.json#L50

Ok, fair enough :) Might be coming from a different package then. I definitely don't get the npm3 system behind node_modules structure, because even if I do rm -rf ./node_modules/react-tools - it still works.

(Eventually RN will depend on react directly and this won't be an issue even if you install react-tools.)

:+1: nice!

This works with simple RN projects. External npm packages might cause trouble -- so if you encounter issues please test with a basic RN project with no extra dependencies.

Downgrading the<EMAIL_ADDRESS>works for me.

PATH: [Your Project]/node_modules/react-native/package/packager.js
SOLUTION: add'../..'  &  delete 'node_modules',
CODE:if (!fs.existsSync(path.resolve(__dirname, '../..', ''))) {
console.log(
'\n' + path.resolve(__dirname, '../..', '') +
'Could not find dependencies.\n' +
'Ensure dependencies are installed - ' +
'run 'npm install' from project root.\n'
);
process.exit();
}

+1

+1


Update for SDK 5.7.0

Polar Ble SDK v.5.7.0 is out. Would be great to update the flutter plugin to this version.

What are you hoping to achieve with this? Is there any benefit to updating that doesn't require extra work?

Closing this since it is not actionable. If there are any specific features you would like implemented from new SDK versions, please create more descriptive issues.

While I’m not looking for any specific new features introduced in 5.7.0, there were some bug fixes in version 5.6.0 that could be valuable in this Flutter plugin as well.

v5.6.0 had some useful feature additions too. v5.7.0 allows for firmware updates. Neat features, might contribute myself (if I find time and if I'm allowed to)

Released in version 7.4.0. Please create specific feature issues for any other desired functionality.


ErrorException in GET /api/v1/users

Error in Apiary
ErrorException in GET /api/v1/users
Trying to get property of non-object
View on Bugsnag
Stacktrace
app/User.php:144 - Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
app/User.php:144 - App\User::getIsActiveAttribute
app/Http/Controllers/UserController.php:23 - App\Http\Controllers\UserController::index
app/Http/Middleware/CASAuthenticate.php:48 - App\Http\Middleware\CASAuthenticate::handle
app/Http/Middleware/JWTAuthenticate.php:44 - App\Http\Middleware\JWTAuthenticate::handle

View full stacktrace
Created by RoboJackets Admin via Bugsnag

If a user has never made a dues payment, they are not active.

Closed in #166


Fix: avoid closing RuntimeFactory when any function stops

Motivation
With #1833 , when any function-stops, worker is closing RuntimeFactory along with RuntimeSpawner which makes RuntimeFactory unusable for any new function.
Modifications
Close RuntimeFactory when FunctionRuntimeManager closes.
Result
RuntimeFactory will not be closed on any function-stop so, new function loading can happen successfully.

@rdhabalia I am not sure this is correct.  RuntimeFactory is used on a per function instance basis.  RuntimeFactory is not used across different functions.  A typical work flow for when you are submitting a function to a worker is the function actioner will create a runtime spawner for a function instance (usually to spawn a process) and the Java instance main will also create a runtime spawner to spawn a thread. When the runtime spawner closes, we need the runtime factory to close to especially if the runtime factory is the thread runtime factory (process runtime factory close is a no op) because it needs to close the pulsar client initialized in the thread runtime factory.
#1833 only closes JavaInstanceMain (main function for function instance process) when it detects that the worker is dead.  When that happens, it will commit suicide.  The RuntimeFactory that JavaInstanceMain closes will always be the threadRuntimeFactory

Agree with @rdhabalia on this one. Factory should be created only once and deleted at the end.
@rdhabalia Is there any place where close might be needed?

@rdhabalia @srkukarni I see the problem.  @rdhabalia you are running a function as a thread of the worker service right?  I don't think we should be creating the Pulsar client in the ThreadRuntimeFactory then.  For running function instances as a separate process via ProcessRuntimeFactory the workflow is as such:
FunctionRuntimeManager creates ProcessRuntimeFactory and is passed to FunctionActioner. FunctionActioner will create a RuntimeSpawner that creates a new process via ProcessRuntimeFactory.  The process will run JavaInstanceMain which creates a ThreadRuntimeFactory and a RuntimeSpawner to spawn a thread runtime.
When JavaInstanceMain needs to commit suicide it should have a way to close PulsarClient that is used in the thread runtime.  The way to do that currently is closing ThreadRuntimeFactory, but as @rdhabalia pointed out that will cause problems for running functions as a thread.  We need a way to close the pulsar client when the function instance is running via process and not when the function instance is running as a thread in the worker service process

Perhaps the easiest solution for now is to remove RuntimeFactory.close from RuntimeSpawner.close (as @rdhabalia has already done in the PR) and add RuntimeFactory.close to the JavaInstanceMain.close

@jerrypeng @rdhabalia When running with threads we should do something similar to what we're doing in the Storm adapter, to cache the client (and producer/consumer) instances across threads: https://github.com/apache/incubator-pulsar/blob/master/pulsar-storm/src/main/java/org/apache/pulsar/storm/SharedPulsarClient.java

@jerrypeng

and add RuntimeFactory.close to the JavaInstanceMain.close

Sure, I have added this change to fix the broken thread-runtime for now. and we can add enhancement for caching-client separately.

thanks @rdhabalia


CodeCov badge

Codecov Report

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

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   20.71%   20.71%
=======================================
  Files          10       10
  Lines         280      280
  Branches       33       33
=======================================
  Hits           58       58
  Misses        222      222

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 985241f...2a3ab6c. Read the comment docs.


Remove command 'project(Hunter)'

Hunterised projects get C:\Program Files\Hunter as the default CMAKE_INSTALL_PREFIX, instead of C:\Program Files\<project name>.  I only noticed this happening since updating to the latest HunterGate and moving the HunterGate(...) call before the call to project(...), but I can be sure if they are related.

Fixed in: https://github.com/ruslo/hunter/releases/tag/v0.9.3
Thanks for report!

So I think it's better to avoid using internal undocumented CMake features :) There is more simplier solution:

master file only modify CMAKE_MODULE_PATH and do include(hunter_add_package)
on first hunter_add_package do init hunter-id, config-id, toolchain-id and other preparations

Fixed: https://github.com/ruslo/hunter/releases/tag/v0.11.7
@alamaison Now CMAKE_INSTALL_PREFIX should have correct value
@headupinclouds Now you can use variables like ANDROID in config.cmake. Also there is no need to use @ in if(@ANDROID@). It can be just if(ANDROID).

Excellent, thanks :)


Placing markers arithmetically

Hello everyone,
we are currently trying to develop an indoor system for waypoints using osmdroid. We try to make the waypoints snap to multiples of 90° with respect to the building angle, but independently of which method we use to calculate the correct marker position, markers get placed very unprecisely and the result doesnt resemble straight lines at all.
For more detailed information on what we are doing and what we the problem is please check this stackoverflow question:
http://stackoverflow.com/questions/38484573/osmdroid-coordinate-snapping
In short, the markers to little leaps when dragging them and it is impossible to make them snap accurately.

What zoom level are you operating at? There are known issues with > 20.
That is, zoom 21 and higher cause integer overflow issues.
On Wed, Jul 20, 2016 at 11:45 AM, kuhfi<EMAIL_ADDRESS>wrote:

Hello everyone,
we are currently trying to develop an indoor system for waypoints using
osmdroid. We try to make the waypoints snap to multiples of 90° with
respect to the building angle, but independently of which method we use to
calculate the correct marker position, markers get placed very unprecisely
and the result doesnt resemble straight lines at all.
For more detailed information on what we are doing and what we the problem
is please check this stackoverflow question:
http://stackoverflow.com/questions/38484573/osmdroid-coordinate-snapping
In short, the markers to little leaps when dragging them and it is
impossible to make them snap accurately.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/356, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4kGUtwpBsa7CQ-WwcjfxfVtbcqo6vyks5qXkKegaJpZM4JQ6zY
.

The waypoints are intended to work for indoor navigation, so most of our work takes places in zoom level 21. The markers are still taking leaps when we reduce the zoom level to 19 however.

Certainly due to the Geopoint attributes internal type defined as int (double*1E6), lacking the level of precision you need.
See https://github.com/osmdroid/osmdroid/pull/48
Solution: help to achieve the "double" branch, to have it in V5.3.

@MKergall great suggestion. @kuhfi if this resolve your issue, that will certainly motivate us to merge that branch in. In fact, I'll merge master into doubles now to reduce your workload. will report back when it's pushed

pushed to the double's branch, travis is building now at https://travis-ci.org/osmdroid/osmdroid/builds/146155390 no promises that the tests will pass though

We tried building the double branch before to test it out, but we didn't manage to get it working somehow, hopefully things will work out better when the master branch is merged into the double branch.
Thanks a lot! We will test it out in the next couple days and report back if it works.

Spent some time building from source, but finally got it working, and it seems like everything works perfectly fine. Thanks everyone!

On Thu, Jul 28, 2016 at 10:44 AM, Christoph K<EMAIL_ADDRESS>wrote:

Closed #356 https://github.com/osmdroid/osmdroid/issues/356.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/356#event-737943058, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB4kGY31hNk9EI_idk3rAwgkxL8EhIfXks5qaMBSgaJpZM4JQ6zY
.

Off of the "doubles" branch which we compiled from source.
2016-07-28 17:41 GMT+02:00 spyhunter99<EMAIL_ADDRESS>
Wait, you got it working off of master or off of the "doubles" branch?
On Thu, Jul 28, 2016 at 10:44 AM, Christoph K<EMAIL_ADDRESS>wrote:

Closed #356 https://github.com/osmdroid/osmdroid/issues/356.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/356#event-737943058, or
mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AB4kGY31hNk9EI_idk3rAwgkxL8EhIfXks5qaMBSgaJpZM4JQ6zY
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/356#issuecomment-235934910,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQDdofJ0QgsITb042U5N7NEpCdYowxTUks5qaM27gaJpZM4JQ6zY
.


Laravel 5

Laravel 5 support coming?

Laravel 5.1 ideally

Looking forward to this

+1

+1  @schickling  any plan on doing this or not? Thanks!

I'm sorry, since I'm not using Laravel anymore I have no plans to implement any new features in the near future. If anybody would like to create a PR for this, I'm happy to merge it in.
If somebody is interested in being a maintainer of this project feel free to ask!

I would be willing to take it over.

Great! I've added you as a maintainer!

Check this for Laravel 5 - GitHub.


wrong column with this name already exists error

Hello,
I have the following table:
CREATE TABLE test_column_name (
  `ss.partition` Date,
  `ss.timestamp` DateTime) ENGINE = ReplicatedMergeTree(
  '/var/lib/clickhouse/tables/{shard}/test_column_name',
  '{replica}',
  `ss.partition`,
  `ss.timestamp`,
  8192
)

In case I do :
ALTER TABLE test_column_name ADD COLUMN `ss` Array(String)

Operation fails with :
Code: 44, e.displayText() = DB::Exception: Cannot add column ss: column with this name already exists, e.what() = DB::Exception\n

Hello @alexey-milovidov ,
Any idea about this problem ?

Hello guys,
Please feel free to close this in case is not an issue
Silviu

The behaviour is correct: dots in column names are reserved for Nested types.
It is still possible to define columns with dot in name and with non-Array type, but the prefix before dot should not clash with name of any other column.


Remove usage of ome conda channel

Replace ome channel by conda-forge channel

The guide PR builds the environment and notebooks using omero-py are working (zarr error in notebook not related to the changes)


Add cell to GO:0060122

This ticket is from
mind add a “cell” to the term name? à inner ear receptor cell stereocilium organization
inner ear receptor stereocilium organization
Definition:            A process that is carried out at the cellular level which results in the assembly, arrangement of constituent parts, or disassembly of a stereocilium. A stereocilium is an actin-based protrusion from the apical surface of inner ear receptor cells.
GO:0060122

done.

Thanks


Rich text areas swallowing keyboard shortcut events

Trying to implement a few keyboard shortcuts to compliment the ctrl+s/ctrl+p for save/preview already in wagtail. I notice that these keyboard shortcut events don't fire if the cursor is active on the page, whether it's a text field or select box or rich text field. Unsure if this is a browser thing or something within wagtail causing this, but it happens in both firefox and chrome.

Hey @ptink, I've tried to reproduce this in Chrome but couldn't (in the latest version of Wagtail). The issue is from a year ago so:

Are you still experiencing this issue?
If so, can you let me know in which version of Wagtail, for which shortcut, which keyboard events, and which browser on which OS?

Hi @thibaudcolas, I'm not actively using wagtail in a project at the moment so I couldn't tell you if it's still happening, the wagtail version was 1.3 from what I can remember.

Thanks! I will close this issue for now, if you stumble upon it again with a recent version (or if someone else does) we will reopen.


Deleted WAR file not reflecting correctly in Kudu

Kudu seems to have an issue when trying to delete a deployed Tomcat WAR file on an Azure app (bridged to Java Tomcat). On drag and drop to wwwroot/webapps the WAR is automatically unzipped and deployed by Tomcat. Then if I attempt to delete the WAR file the deployed folder is removed which I guessing is being done by Tomcat. However the WAR still stays and Kudu doesn't report errors. Next when I attempt to delete the WAR file again, Kudu says an error occurred and continues to show the WAR but if I go back to previous folder and come in again the WAR is gone. Isn't a critical problem but thought I'd report it.

When you said, you delete the WAR file, how did you do that?  Try using Kudu Console command prompt to delete the WAR file and see if it succeeds.  File may be in use and the error will show up on Console.

I tried to delete using the UI. I just tried deleting using the command line and it works as expected with no errors being reported - first the WAR file goes away and a few moments later the folder vanishes because of Tomcat deleting it. So there is a difference in behavior between the command line and the UI delete.

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Wiki backlinks page. ?action=links

The old wiki had a page which listed the backlinks.
It searched the other wiki pages for ones that contained wiki.link.
Then a list of links quoting the relevant part.

It might be useful to pages that link to a page at the bottom, in some sort of "related pages" section. For example, CookBook entries.


EI5

rejected:B1
It looks like you are trying to submit B1, however it seems like the following submission criteria are problematic:

Logs are missing
We’ve thus marked B1 as rejected, however if this is a mistake, please upload the log summary and we can re-review.

confirmed:ID1
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi

confirmed:EI5

confirmed:EI5

pending:B1
@iogres  it appears you’ve not submitted logs with the Log Summary Tool. If you could please follow the instructions on that page to submit logs that will allow us to properly evaluate your submission. Thanks!

pending:B1
@iogres  it appears you’ve not submitted logs with the Log Summary Tool. If you could please follow the instructions on that page to submit logs that will allow us to properly evaluate your submission. Thanks!

confirmed:ID2
account1:4C7uHbgLJMcyDvgtsKC2X8DVFERRNSftmc68HSSXmDiejaETtK
account2:3UzyEeM3rpUgm1C6nXt7MWDYSvftvtht67iLcExBdbQPqB8Wtw
PublicDataAttributes:Verified
DeviceMake&Model:Verified

confirmed:B3

confirmed:B3

confirmed:ID3
DocumentType:verified
Nationality:verified
DeviceDetails:verified
Experience:verified
Screenshot:verified

confirmed:ID3
DocumentType:verified
Nationality:verified
DeviceDetails:verified
Experience:verified
Screenshot:verified

pending:B6

pending:B6

I add my notes about B6. I have also node logs but it is higher than 150MB, so I didn't upload it yet.
b6_iogres.txt

I add my notes about B6. I have also node logs but it is higher than 150MB, so I didn't upload it yet.
b6_iogres.txt

pending:T1
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi
DeviceDetails:verified
Screenshot:missing
We cannot fully verify this submission. Please provide us with screenshots with all transactions.
@iogres

pending:T1
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi
DeviceDetails:verified
Screenshot:missing
We cannot fully verify this submission. Please provide us with screenshots with all transactions.
@iogres

pending:T1
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi
DeviceDetails:verified
Screenshot:missing
We cannot fully verify this submission. Please provide us with screenshots with all transactions.
@iogres

Hello, you said that T1 mission is confirmed on this link:
https://github.com/Concordium/Testnet3-Challenges/pull/1466#issuecomment-758614774

pending:T1
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi
DeviceDetails:verified
Screenshot:missing
We cannot fully verify this submission. Please provide us with screenshots with all transactions.
@iogres

Hello, you said that T1 mission is confirmed on this link:
https://github.com/Concordium/Testnet3-Challenges/pull/1466#issuecomment-758614774

confirmed:ID4
AccountAddress:4Yc2KE456HfCYnm2VDHvMYR6CV1GmLPzDAmNvf3FXgz42LSwQe
DeviceDetails:verified

confirmed:ID4
AccountAddress:4Yc2KE456HfCYnm2VDHvMYR6CV1GmLPzDAmNvf3FXgz42LSwQe
DeviceDetails:verified

confirmed:T2
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi

confirmed:T2
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi

confirmed:T1
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi
DeviceDetails:verified

confirmed:T1
account1:3Tw7UUQ3QYdgpMFjYkNck6yKkEig1eCN6Pebvm7pFQdBfDwhjV
account2:42e7SJM1iwTFDM16BTTVfx1NA6vwCp4LR7223EWcxQrGaVGWGi
DeviceDetails:verified

confirmed:B4
address:4Yc2KE456HfCYnm2VDHvMYR6CV1GmLPzDAmNvf3FXgz42LSwQe
baker:363

confirmed:B4
address:4Yc2KE456HfCYnm2VDHvMYR6CV1GmLPzDAmNvf3FXgz42LSwQe
baker:363

confirmed:B4
address:4Yc2KE456HfCYnm2VDHvMYR6CV1GmLPzDAmNvf3FXgz42LSwQe
baker:363

confirmed:B4
address:4Yc2KE456HfCYnm2VDHvMYR6CV1GmLPzDAmNvf3FXgz42LSwQe
baker:363

rejected:B1
It looks like you are trying to submit B1, however it seems like the following submission criteria are problematic:

Logs are missing
We’ve thus marked B1 as rejected, however if this is a mistake, please upload the log summary and we can re-review.

confirmed:B6


use correct outputStream

original output stream had wrong formatting.

The solution is terrible, but it works. Maybe I will think of some way to fix it better (some bit shifts or something), but for now, it works like this.

Is this acceptable @vidiecan ?


Refactor MeasurementGate into an Operation

This makes sense because measurements are strongly coupled to qubits (i.e. they list specific qubits to invert and have keys that talk about their qubits' names).

I'm not sure we still think this is a good idea now that measurement gate has number of qubits? If there is a still an argument to be made, please reopen.


Initial release of the Erlpiphany application

An Erlang NIF library for the Epiphany eHAL SDK.

Thank you Mark for the incredible contribution!! I will make sure I do everything I can to encourage people to try this out!


Importing dependencies

Hi there,
I'm relatively new to iOS dev so please excuse me if this a basic question - just a small doubt on how the necessary TextToSpeech dependencies should be imported.
I ran the mentioned Carthage command and had the swift-sdk install in my project directory, but XCode still doesn't seem to recognize TextToSpeechV1. Is there anything else I should be doing/any steps I'm missing?

Did you also copy the Starscream framework to your project? Under the Dependency Management section of the swift-sdk README, we explain how TextToSpeechV1 also requires Starscream.

Yes, I already had Starscream imported from CocoaPods and working. I am only receiving errors about TextToSpeechV1 not being recognized.

Can you verify that you completed all of the steps in the Carthage installation instructions?

I indeed have completed those, I ran the update command multiple times to make sure.
I followed the directions of this link, which instructed to add the frameworks as embedded libraries. Doing this solved the problem and let the app run without the Library not loaded message.
Now I'm facing problems with errors thrown by the AVAudioPlayer, but I suppose those are unrelated and another thing to debug.

Interesting. Carthage is supposed to only require the frameworks to be added to Embedded Binaries for OS X / macOS apps, not iOS.


Lag when hitting portfolio

There is a 10 second lag when pressing the portfolio button

Clicking on portfolio and away from it was much faster yesterday, when Filled orders and My fills was not displaying information....worth testing if there is a cause of the delay there

it is cut down to about 4-5 seconds...not closing this moving this to 1.14...lets see if we can get this down even further

Are you seeing this lag on your large trading account? We do have another optimization we can do. It’ll take a large’ish refactor, v1.14 would be the best time to do it.

I was on a decent size one(about a third of the size the size of my biggest one)...not my biggest and had the 4-5 second lag....new acct was quick though

@pgebheim can we close this and move to the benchmarking and performance epic work

I think we can close this. We can create a more specific v2 tix if need be.


IDX40003 and IDX10233 when using graphclient

All,
I'm seeing following errors:
023-08-29T10:48:14.255426554Z 2023-08-29 10:48:14.255 +00:00 [Error] (Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter ) IDX40003: Neither `tid` nor `tenantId` claim is present in the token obtained from Microsoft identity platform.
2023-08-29T10:48:14.707045616Z 2023-08-29 10:48:14.706 +00:00 [Warning] (Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter ) IDX10233: ValidateAudience property on ValidationParameters is set to false. Exiting without validating the audience.

When using following call:
await _graphServiceClient.Users[UserId].Teamwork.InstalledApps[result.Value[0].Id].Chat.GetAsync();
This error is only shown when published to azure app service, when doing local development this error is not shown.
Not sure if this is a bug or if I'm doing something wrong, so did not classify this as a bug.
Best regards

Well I got both the normal identity nuget package installed and the web one, it's for a .net core azure API project.
I'm using a factory to get the graphclient
//Return graphclient for application login
public GraphServiceClient GetGraphServiceClient(ClientSecretCredential clientSecretCredential, string[] scopes)
{
    return new GraphServiceClient(clientSecretCredential, scopes);
}

_options = new ClientSecretCredentialOptions()
{
    AuthorityHost = AzureAuthorityHosts.AzurePublicCloud
};

_clientSecretCredential = new ClientSecretCredential(
    _configuration["MicrosoftAppTenantId"], _configuration["MicrosoftAppId"],
    _configuration["MicrosoftAppPassword"], _options);

...

var _graphServiceClient = _graphServiceClientFactory.GetGraphServiceClient(_clientSecretCredential, _scopesApplication);
var res = await _graphServiceClient.Users[UserId].Teamwork.InstalledApps[result.Value[0].Id].Chat.GetAsync((requestConfiguration) =>

So I believe I found it, but not yet how to solve it.
I am also using bot framework as we are creating a teamsbot, the endpoint where the bot sends it messages to generates these errors because the token it sends is a default token from bot framework
{
  "serviceurl": "https://smba.trafficmanager.net/emea/",
  "nbf":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "iss": "https://api.botframework.com",
  "aud": "28e6ef48-9c29-43fe-8dde-53eb4e1b48a0"
}

So now I need to figure out how to either change the token that the bot uses, or to set another authentication method for that endpoint

@yannickwellens I am running into the same error when trying to use ManagedIdentityCredential testing bot communication which is deployed as a web service. Any progress on this front? Thanks!

IDX10233: ValidateAudience property on ValidationParameters is set to false. Exiting without validating the audience.
I found the same issue when doing Load Testing


Instaloader Aborts with 302 Redirect to Login Page

I am encountering an issue when using Instaloader to download profile data. The command used is as follows:
instaloader profile milliorn --filename-pattern="{filename}" --latest-stamps --no-videos --no-video-thumbnails --no-captions --no-metadata-json --no-compress-json --no-profile-pic --max-connection-attempts=1 --abort-on=302,400,401,429 --request-timeout=1
The output indicates that the download was aborted due to a "302 Found" which I have never encountered using this app. I just updated my copy of this repo today.
Using latest stamps from /home/milliorn/.config/instaloader/latest-stamps.ini.

Download aborted: Query to https://www.instagram.com/web/search/topsearch/ responded with "302 Found" redirect to https://www.instagram.com/accounts/login/?next=/web/search/topsearch/%3Fcontext%3Dblended%26query%3Dprofile%26include_reel%3DFalse%26__a%3D1.

https://www.instagram.com/web/search/topsearch/?context=blended&query=profile&include_reel=False&__a=1
Could you please assist in resolving this issue? Thank you for your help.

Well, you did ask for it to abort on a 302 response code, so it did.
302 is not an error, just an indication that the query should be repeated at another address. instaloader will follow the redirect, unless told to abort (which you did).
In this case it wouldn't really have helped, IG has logged you out and used a 302 status to get the user to the login screen.
This is pretty much unavoidable - eventually IG detects some behavior that it considers unusual and logs you out, maybe requesting you to solve a captcha. Just log in again and continue.
It's better to not use your real account, sometimes IG blocks accounts.

Well, you did ask for it to abort on a 302 response code, so it did.
302 is not an error, just an indication that the query should be repeated at another address. instaloader will follow the redirect, unless told to abort (which you did).
In this case it wouldn't really have helped, IG has logged you out and used a 302 status to get the user to the login screen.
This is pretty much unavoidable - eventually IG detects some behavior that it considers unusual and logs you out, maybe requesting you to solve a captcha. Just log in again and continue.
It's better to not use your real account, sometimes IG blocks accounts.

This is the some of the reason why I came here. It did force me to log out (in the browser). I did log back in. I check my account status and nothing is restricted, all green.  So I am confused what is going on in the CLI, since it differs from what I see in the browser?

That's the way it is, unfortunately... IG somehow detects "unusual activity" or "scraping behavior" and occasionally logs you out. Sometimes one just needs to click on a "Dismiss" button, sometimes a captcha is presented, sometimes a full login is required.
And before you ask, no one knows exactly what triggers this detection. And no, it's not (just) the speed of requests, despite what some other issues here might suggest. Maybe it plays a role, but simply slowing down the downloads is not enough to keep IG happy.

That's the way it is, unfortunately... IG somehow detects "unusual activity" or "scraping behavior" and occasionally logs you out. Sometimes one just needs to click on a "Dismiss" button, sometimes a captcha is presented, sometimes a full login is required.
And before you ask, no one knows exactly what triggers this detection. And no, it's not (just) the speed of requests, despite what some other issues here might suggest. Maybe it plays a role, but simply slowing down the downloads is not enough to keep IG happy.

tl;dr the account isn't banned or restricted, with typical normal usage. However, IG will has now sniffed this account out and will block it from CLI activity. Is that what I am reading?

Maybe it will, maybe it won't. But as I said before, do not use your real account with instaloader - there is the risk you'll be blocked.


Refactor exception handling; fixes #38

Codecov Report

Merging #39 into develop will increase coverage by 1.68%.
The diff coverage is 91.58%.

@@             Coverage Diff             @@
##           develop      #39      +/-   ##
===========================================
+ Coverage    89.32%   91.01%   +1.68%
===========================================
  Files            5        5
  Lines         1087     1046      -41
  Branches       204      201       -3
===========================================
- Hits           971      952      -19
+ Misses          71       47      -24
- Partials        45       47       +2

Impacted Files
Coverage Δ

src/snps/utils.py
87.3% <79.16%> (-0.03%)
:arrow_down:

src/snps/__init__.py
94.36% <92.85%> (+0.48%)
:arrow_up:

src/snps/resources.py
95.96% <94.44%> (+6%)
:arrow_up:

src/snps/io.py
87.86% <96.07%> (+0.71%)
:arrow_up:

Continue to review full report at Codecov.

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

Looks good!

Thanks for the review @willgdjones !


Labels being generated are the same for every topic

It seems like when I try to use the get_topic_labels using the example provided in the documentation, I am getting the same label for every topic in the train model result.  Can you please let me know if this is how it is supposed to work or how to go about getting the label based on the topic list of words per topic.

Hi, @kapadiup
Thank you for your interest to this package.
Could you share your code that generates the same labels? It will help you figure out the cause of the error if you share it.


SPT detection in daysleepers

There is still an issue with the SPT detection in function g.sib.det when a person is a daysleeper.
I have now prepared a fix and will make a pull request soon.

Closing this issue, because it was fixed in master branch


Add initial .gitignore

Please also add
*~
*#*#
*.#*
*.ipr
.metadata
lib/

Updated PR with @yjshen suggestion.

*.ipr for Intellij, .metadata for Eclipse and lib/ for maven :)

@yjshen better now?

Looks good to me :)

this looks good to me. +1 thanks @sslavic and @yjshen


Amadeusapi

Added in .env.example
Added in a Points of Interest Component and made updates to the App.jsx file that need to be reviewed


fix: array jmespath fail in idempotency module

Issue #, if available: #1419
Description of changes:
Changed the implementation of BasePersistenceStore#isMissingIdemPotencyKey() to iterate over elements instead of fields.
Checklist

[x] Meet tenets criteria
[x] Update tests
[ ] Update docs
[x] PR title follows conventional commit semantics

Breaking change checklist

RFC issue #:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

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

LGTM Question before we merge - 1/ how did you discover this and 2/ is there anything else in the JMESPath stuff that might be suspicious that jumped out during this change?

@scottgerring, I found this with the workshop we're doing for re:Invent. There are lots of tests but looks like we still don't cover all the branches...

Has this been released? We have a TODO item in the workshop about this.

Not released yet. In the next one, should be around mid-november.


FAI-11594 | Copilot Usage stream (source + converter)

Description
Copilot Usage stream (source + converter)
Type of change

[ ] Bug fix
[X] New feature
[ ] Breaking change

Related issues
Migration notes
Extra info

Hmmm we need to deal with an interesting case here.
Since the GH api for this returns 28 days worth of data (from now), this stream cannot be made incremental. However we also don't want it to make it full refresh, otherwise we'd always wipe historical data older than 28 days.
I think we could work around it by just declaring that we support incremental:
get supportsIncremental(): boolean {
    return true;
  }

If I'm correct, the airbyte local cli will run this stream in incremental/append and we'd need to make sure we also put incremental in the supported sync modes in the (airbyte connectors configs) catalog.


MM pdf search example

Example creation ticket
To showcase the real functionality of Jina, we should build a PDF search solution that can jointly search image & text as in mm-helloworld.
The requirement as a "basic" PDF search that leverages Jina:
jointly image and text (please find some PDFs have both image & text, easy, you can download 10 arxiv paper, they all have images and figures)
segment the doc using sections/chapaters/paragrahs
The result should be published on the example repo. With sufficient test and documentation.

cc @Kelton8Z


EHN encoding parameter for to_latex

I'm working on solving issue #7061: currently, with Python 2 it is not possible to use .to_latex() when the dataframe contains utf-8 strings. This PR adds an encoding parameter to make it possible.
The work is not completely done though, and I'm making this PR to start a discussion here. In its current state, the PR quickly fixes the issue and provides tests, so it is kind of a minimal PR.
@jreback in the discussion on issue #7061, you made the following suggestion:

you may want to add a LatexFormatter (as a sub-class of DataFrameFormatter) as this will allow some re-factoring to be internally done later on.

I would be glad to work in that direction, but I'm a bit confused by the current organization of the code. This LatexFormatter would seem to me to be similar to HTMLFormatter, which inherits from TableFormatter (exactly as DataFrameFormatter). In that case, DataFrameFormatter would use LatexFormatter for .to_latex() exactly as it uses HTMLFormatter for .to_html().  Is that what you had in mind?

@nbonnotte what I mean is that I think a LatexFormatter be created in format.py which is like HTMLFormatter (its a sub-class of TableFormatter). So you don't have all of the latex formatting code living in to_latex itself (which instead just instantiates a class and calls .write_result, similarly to to_html).
This will allow easier refactoring later.

BTW, this does not solves the missing decimal parameter I mentioned in the discussion of issue #7061

@nbonnotte what was the decimal issue? (can't seem to find it in that issue)

I just meant the decimal parameter is still lacking, I didn't add it. I should do another PR to do that.

@nbonnotte create another issue for the decimal parameter (we are going to close #7061) with this PR

updates, ping when green.

I've created another issue for decimal (#12031)
Working on the docstring, I realized there was something odd: I was initializing LatexFormatter with a DataFrameFormatter and a variable strcols containing the result of DataFrameFormatter._to_str_columns.
I think it is simpler if the parameter strcols is removed and the call to DataFrameFormatter._to_str_columns is performed in LatexFormatter. You can see in the 2nd commit the changes (dc425cb0e959ccab2941cab27f329ec41cb768d7).
There is still one thing that bothers me: now I'm calling a "private" method (_to_str_columns) from outside (that is, from LatexFormatter). Is that a problem?

@nbonnotte no that's ok

I've squashed my commits then.
All green!

pls git diff master | flake8 --diff

@jreback should be good now ^^

merged via https://github.com/pydata/pandas/commit/3a832dfda9b56c16085679bccec230de67f71ce5
thanks!


External PDF-viewer spawned periodically

When embedding latexonline into a github page to compile LaTeX examples everything behaves well as long as the default built-in PDF viewer of Firefox is used.
When I configure Firefox to use an external PDF viewer that viewer gets spawned periodically. Confirmed this bug with FF version 74.0.1 on Arch Linux. Used external viewers were Evince and Zathura.
A gif of the buggy behaviour with Zathura as the external viewer:

Currently it's using an <iframe> there are other possibilities using <object> or having it open in a new tab/windows,
If you want to experiment with code that works in your setup you can use a simple url such as
https://latexonline.cc/compile?text=%5Cdocumentclass%7Barticle%7D%5Cbegin%7Bdocument%7Dhello%5Cend%7Bdocument%7D

https://latexonline.cc/compile?text=\documentclass{article}\begin{document}hello\end{document}

This is probably an issue with the iframe embedding used on that site (which is just in initial pre-test phase currently) we could open in a new window or use object, if iframe turns out not to be suitable

This is probably an issue with the iframe embedding used on that site (which is just in initial pre-test phase currently) we could open in a new window or use object, if iframe turns out not to be suitable

My comment above is incorrect this can be reproduced without the learnlatex code by using the latexonline.cc example demo by first choosing (any) external pdf viewer in the firefox options menu. Firefox will then spawn dialog boxes repeatedly until the tab is killed.

This is fixed with https://github.com/aslushnikov/latex-online/commit/210189b2f69d355e5cbba011056e8cc8f9063485


Dev ogsl

@jdpye any ideas why the tests are not going thru?

looks like 3.9 fails at check_fields() and 3.8 and 3.7 runs are timed out/suspended at that point. I'll take a closer look tonight or tomorrow, just out of the office for a few days here.

My current theory is the tolower() call in the check_fields_generic might be confounding the matching we're trying to do with the case-sensitive fields?

for 3.9, I'll check witht the unit test, I did not think about that yesterday. It probably doesn't like the changes I've made to the check_fields function

Looks like just a mismatched class for the mola mola test now. this one would need a test update. Were you using a different species lookup before?

it actually looks like one of the taxa results we were testing with might've updated? very funny stuff.

@jdpye, I believe everything is ready to merge!


Installation

Hi All.
After i clone project and install it and follow steps and run there is unknown error in loaders
Thanks

Thank you for your interest in this project but this project is outdated.
Please use create-react-app (CRA) to init your project.

create-react-app

Hi Varun,
Kindly update document as well. bcoz i'm new to react. Now i'm facing same error. It will be helpful for next user

Thank you for your interest in this project but this project is outdated.
Please use create-react-app (CRA) to init your project.

plz update bro


Fix/formatting

Since the project is golint compatible now, what do you think about adding golint (or go vet) to the travis?
I checked some popular OSS projects and found that go vet is usually included:

https://github.com/hashicorp/consul/blob/master/Makefile
https://github.com/kubernetes/kubernetes/blob/master/hack/vet-go.sh

when golint is not. I don't know what's the reason since the code must be linted anyway.

Thanks for making the changes :+1:


Beta feedback thread

Beta feedback to be added here for tracking and discussion.
_- the gig list layout is a bit odd. The gig status icon is farthest to the left and thus most prominent. Could the gig status be after the name? It is not obvious what is most important.

using the same icons for gig “confirmed” and “definitely!” Is confusing
there needs to be a way to distinguish between different bands that a user is a member of.
I don’t love the green background, especially with the green icons
for this to be useful it will be necessary for users to see all the band members’ status for a gig.
we will need to see the set list. A separate screen for the set list would be handy during gigs.
the icons for selecting status are confusing. Could it just be text?_

Hi Mark - up to you, of course, but I'm fine with you using the design assets from the web site - it's all in the repo. The icons I use are all part of the fontawesome library.
For distinguishing the bands, the web site uses a colored band on the left edge of the gig list in the schedule page, which the user can change per-band. I'll add the color to the gig info API.

I did see the fontawesome when I dug through your repo, but at the time I didn't know how to reference them through the Flutter app...I also didn't try too hard to look into it, so I'll take another peek. That would definitely be preferable.
Thanks for adding color to the API.

I think you can actually download each of the icons from the fontawesome
web site as glyphs.
On Sun, Nov 25, 2018, at 5:17 PM, Mark Kleinhaus wrote:

I did see the fontawesome when I dug through your repo, but at the
time I didn't know how to reference them through the Flutter app...I
also didn't try too hard to look into it, so I'll take another peek.
That would definitely be preferable.> Thanks for adding color to the API.

— You are receiving this because you commented. Reply to this email
directly, view it on GitHub[1], or mute the thread[2].

Links:

https://github.com/MarkKleinhaus/GigOApp/issues/1#issuecomment-441478739
https://github.com/notifications/unsubscribe-auth/ACwxtjaDdpzp_4zK7eZG2q6tx4GQhpt2ks5uyxbmgaJpZM4Yx84v

@aaronoppenheimer on the website I don't see the colored band on the website...could you submit a screenshot of this?


WIP Develop/cmake

Multiple improves to the cmake process:

divide CMakeLists.txt into separate files added in src/ unit_test/ examples/
(currently there is a monolithic CMakeLists.txt in the main directory of the repo)
lower cmake required version to 3.12
build IQS both as a static (default target of the project) and shared library

Fabio, the work is still in progress.
I will soon commit a few changes to solve the current compile issues.

At the moment, only the static library is built.
The shared one can be added by un-commenting a few lines in src/CMakeLists.txt.
Tested with:
CXX=mpiicpc cmake -DIqsPython=ON -DIqsUtest=ON -DIqsMPI=OFF -DBuildExamples=ON ..
TODO: test with MPI

I resolved all the conflicts and updated the build. Now we generate only the shared library and all the dependencies are built independently, so one can easily understand how to link an external additional file to the iqs library.

Delete branch for clean-up.


Commentaire installe traccar sur Raspberry Pi

I am totally a novice but I need to install TRACCAR on a Raspberry Pi, is there someone who could help me to do this?
That would be nice, and it would take the liberty to share my itineraries with my friends in Mobile Home
Thanks for your help

Have you tried to search? Here is one discussion: https://github.com/tananaev/traccar/issues/1714.

Is there any update for CentOS?
I'm still facing this issue:
sudo: /opt/traccar/bin/traccar: command not found
It will run using java -jar /opt/traccar/tracker-server.jar /opt/traccar/conf/traccar.xml though.

@dennisonm, please use the latest version of Traccar.

@tananaev my bad. I missed this part:
3.8 and later: sudo /opt/traccar/bin/startDaemon.sh
3.7 and earlier: sudo /opt/traccar/bin/traccar start
It's working now. Thanks.


Added title name and a tooltip for all the media upload steps

Description (required)

@PaulinaQuintero We want the name of the step and then a tooltip. So for instance in your screenshot, the title would have "Step 3 of 4: Categories ["i"]".
https://github.com/commons-app/apps-android-commons/issues/3757#issuecomment-647343028

This PR tries to accomplish as stated above.
Fixes #3757
What changes did you make and why?

Changed step_count inside strings.xml to include ": [Step title here]"
Added necessary strings inside strings.xml
Added an ImageView next to the titleTV TextView for all the steps of media upload by putting them inside a horizontal LinearLayout

Tests performed (required)
Tested ProdDebug(and BetaDebug) on Realme 6 with API level 29.
Screenshots (for UI changes only)
Step 1
Step 1 tooltip
Step 2
Step 2 tooltip
Step 3
Step 3 tooltip
Step 4
Step 4 tooltip

Codecov Report

Merging #4030 (d00e6a0) into master (2ed5a74) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

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

Wonderful, thanks @anadi198 ! :)


chore(main): release 0.41.0

:robot: I have created a release beep boop
0.41.0 (2023-12-19)
Features

Pipelines: Add a webhook mechanism on the pipelines (#507) (6b0a53a)

Miscellaneous

disable search for now (#503) (723d646)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-frontend/releases/tag/0.41.0 :sunflower:


Show legend for identifying the phases colour codes in the resource forecast page

As a super user
I want a legend of the colour codes for each phase
so that people have better understanding of where projects are in their lifespan
Acceptance Criteria
Scenario 1:
GIVEN a PDF report has colour coding
WHEN a PDF report is going out
THEN the Legend will be displayed on the last page of the report
Scenario 2:
xxxxxx
Validation Rules?
(If yes, list here)
Screenshot
(Link above will always be the most up-to-date version.)

Instead of legend we can show something like this

This is from MET

Does this want to be moved out to an e-Guide page?

We do need the ability to add a legend on the PDF version.
Outside audiences won't know the colours.

coloured boxes with labels for V1


API

So we can use the projects in 24 pull requests.

@andrew would love to help on this! could you expand a little on the explanation?

For 24 pull requests, we'll want to slurp down all of the projects as json, similar to how the


Duke's HUD

Added Duke's HUD.
The DukeHUD.prefab needs to be set in the Boss scene inside HUD GO and before Sides GO.
The HUD manager now has a reference to Duke GO and Duke's health GO (object inside DukeHUD.prefab).
Duke AIDuke script now has a reference to HUD GO.
I have made all necessary changes so if Duke's HUD is not in the hierarchy, the player's HUD keeps working as expected.
The Duke's HUD will fade in after calling the function ShowBossHealth(). This function is in AIDuke::Start() but should be move where the design team decides (after last boss' dialog, at the level start...)
Scene to test: BossHUD.scene

Task linked: CU-p1btku Boss mechanics

Task linked: CU-1gpwujb Health displayer


return worker from initializeWorker

Hi there!
When I set up my worker in .storybook/preview.js, I would like to add some global configuration for my worker.
Currently that's not possible because the worker created by initializeWorker is not returned.
I think this should be a low impact change, but please let me know if there's anything worth testing or figuring out 😀

Hey @JuanCaicedo, thanks for putting the effort.
I definitely agree that some customization should be allowed during initialization. However, allowing full access to the worker might cause trouble down the line. @kettanaito what do you think?

Hey.
I suggest exporting the worker instance as a singleton directly from the addon package:
import { worker } from 'msw-storybook-addon'

customize(worker)

I'm addressing this in https://github.com/mswjs/msw-storybook-addon/pull/22 alongside other changes.
@itaditya, what do you think about this? I'm curious to hear your feedback on those changes.

looks good to me.

Hey @JuanCaicedo! Thanks a lot for your contribution and sorry this took a long time to happen. Another contribution actually handled this situation, following @kettanaito's suggestion above. This should be available in the latest version of this addon.
Now it should be possible to get the instance of the worker from either ways:
// preview.js
import { initialize } from 'msw-storybook-addon'

const api = initialize()

or, after the addon has been initialized, from any other file:
// someOtherFile.js
import { getWorker } from 'msw-storybook-addon'

const api = getWorker()

I'd like to thank you once again for your contribution, but I'll be closing the issue given this is already implemented. All the best and let us know if this works for you!

Hello, I would like to specify the option "onUnhandledRequest" that is used in the setupWorker function. Is that possible right now? I am just asking in this issue because I think it is related as the creator mentioned he wanted to add some global configuration to its worker.
I want to specify onUnhandledRequest because right now I am getting a ton of warnings due to unhandled requests which makes difficult to debug stuff on the console. Who uses a debugger anyway? ha!
Thank you in advance and regards

Hello, I would like to specify the option "onUnhandledRequest" that is used in the setupWorker function. Is that possible right now? I am just asking in this issue because I think it is related as the creator mentioned he wanted to add some global configuration to its worker.
I want to specify onUnhandledRequest because right now I am getting a ton of warnings due to unhandled requests which makes difficult to debug stuff on the console. Who uses a debugger anyway? ha!
Thank you in advance and regards

Hey @javierguzman ! 👋
Yes the api does receive options when calling initialize:
// preview.js
import { initialize } from 'msw-storybook-addon'

// handle only requests which are part of the api
const api = initialize({
  onUnhandledRequest: ({ method, url }) => {
    if (!url.pathname.startsWith("/api")) {
      throw new Error(`Unhandled ${method} request to ${url}`);
    }
  },
})

Thanks @yannbf !! I left the onUnhandleRequest body empty and it worked! I have 0 messages about unhandled stuff on my console 😄

Note that you can utilize the default behaviors like "warn" or "error" so you don't have to implement what to do when there's an unhandled request (you can totally do that too if you want).
initialize({
  onUnhandledRequest: 'error'
})


Proposal: expose webpack configuration as a package

Problem
We currently have two main options when using CRA:

Upate
Custom Config

not eject
✅
❌

eject
❌
✅

There is a third option which is to maintain a fork of react-scripts (like create-react-app-typescript does ). The downside here is that you have to merge all the changes made on create-react-app and lerna make the whole things a bit messy in my opinion (because you have to fork all packages to publish only one of them).
Finally, there is a fourth option which consists of copying the scripts folder in your app to edit the webpack config object before using it ( example repo here ).
But as pointed by @gaearon in this tweet, this solution is incompatible with semver and a minor update to react-scripts could break your app because the configuration is locked down and could change at any moment.
Proposal
As a way to make the last solution more viable and safe, the proposal is to expose the webpack configuration object as a standalone package that would follow semver.
This would allow to both extends the CRA config (with the method above) or use it in other contexts than CRA.
It might also be useful to expose the object as a webpack-chain object since it's not always easy to edit a raw webpack config.
Thoughts ?

@see vue-cli 3.0
https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-service/package.json
webpack-chain
https://github.com/mozilla-neutrino/webpack-chain
support custom config
https://github.com/vuejs/vue-cli/blob/dev/docs/webpack.md

The way vue cli 3 does it is pretty cool

Definitely vue cli v3 figured how to properly do this without that much trade off.

+1 to adding ability to use dangerouslyOverrideConfigs.js in root folder. This seems similar to react-app-rewired's config-overrides.js file which has worked well for a lot of people wanting to override CRA's config without ejecting. I'd love to see this become a first-class feature in CRA.


导出中文的时候乱码了

你好w我写入csv中文的时候乱码

@449134904 I only speak french or english could you explain in one of those language your issue 🤔

@449134904 I only speak french or english could you explain in one of those language your issue 🤔

Hello, I wrote the Chinese csv in garbled code

Hi I still fail to understand the actual issue

Hi I still fail to understand the actual issue

The csv is garbled when written into Chinese

How is this related to the package ?
Did you check your input/output for the charset ?
Does chinese CSV expect UTF8 or UTF16 ?
Do you get the same issue with PHP native functions ?
It is difficult for me to search without any context. As fas as I know the package is charset independent so if you have more info I will re-open the ticket.


SIAlertView window does not resign on iOS 8

The window for SIAlertView is staying around swallowing touches on iOS 8.  Only reproducible on device in release mode.
Edit: Appears to happen on 8.0.2 but not 8.0
Anyone else seeing this?

It seems this caused by https://github.com/Sumi-Interactive/SIAlertView/issues/42#issuecomment-74877272 .


Nexus installation error

When following the ReadMe on getting set up, the Openshift build of Nexus throws the below error:
Step 7 : RUN mkdir -p /opt   && curl --fail --silent --location --retry 3   --header "Cookie: oraclelicense=accept-securebackup-cookie; "   ${JAVA_URL}   \| gunzip   \| tar -x -C /opt   && ln -s /opt/jdk1.${JAVA_VERSION_MAJOR}.0_${JAVA_VERSION_MINOR} ${JAVA_HOME}
  | ---> Running in 263bc717b1d1

gzip: stdin: unexpected end of file
--
  | tar: This does not look like a tar archive
  | tar: Exiting with failure status due to previous errors
  | error: build error: The command '/bin/sh -c mkdir -p /opt   && curl --fail --silent --location --retry 3   --header "Cookie: oraclelicense=accept-securebackup-cookie; "   ${JAVA_URL}   \| gunzip   \| tar -x -C /opt   && ln -s /opt/jdk1.${JAVA_VERSION_MAJOR}.0_${JAVA_VERSION_MINOR} ${JAVA_HOME}' returned a non-zero code: 2

@kbristow is this running on an uninterrupted internet connection? I.e. is this not network/proxy related?

I could try at home later to check?

@kbristow Did you manage to verify if this works?

@kbristow this is most probably a connectivity issue on your side. See #5


Can't connect, this.bind issue

I surely miss something.
I use slapd on debian 8.
When I put this.bind into connect, it never finishes (even if I put connecttimeout to 1 or 10 or whatever).
On the other hands ldap.bind works well in the new LDAP callback.
const LDAP = require('ldap-client');
var connect = function(ctx) {
    ctx.bind({
        binddn: 'cn=admin,dc=my,dc=io',
        password: 'pass'
    }, function(err) {
        if(err) console.log(err);
    });
}

var ldap = new LDAP({
    uri:             'ldap://localhost',
        validatecert:    false,
        connecttimeout:  -1,
        base:            'dc=my,dc=io',
        attrs:           '*',
        filter:          '(objectClass=*)',
        scope:           2,
        connect:         function(err) {
            if(err) console.log(err);
            connect(this);
        },
        disconnect:      function() {},
}, function(err) {
    if(err) console.log(err);
    connect(ldap);
});

I'm stuck, please could you help me to understand or explain best what is happening?

I just hit this too; you write a connect function as per the example in the README.md and it locks the whole VM up, so it's not yielding at all. Nasty.
I was able to work around this as follows, instead of this (which locks nodejs up):
new LDAP({
    connect: function () {
        this.simplebind({
            binddn: binddn,
            password: password,
        }, function (err) {
            console.log("this is never called");
        });
        console.log("this is never called; this.simplebind never returns");
    },
});

I instead used process.nextTick like this, which then works as expected. Obviously connect will complete without the bind necessarily finishing but in my case this is not an issue as I wrapped the whole thing in a promise, which can be resolved on successful bind, thus hiding the whole problem from the caller:
new LDAP({
    connect: function () {
        process.nextTick(() => {
            this.simplebind({
                binddn: binddn,
                password: password,
            }, function (err) {
                console.log("this IS now called, with an error if something went wrong");
            });
            console.log("this IS now called; this.simplebind returns");
        });
    },
});

I guess there is a deadlock, or a race condition that stops bind working in the connect call synchronously, but I've not looked into it.


Update aws-java-sdk-bundle to 1.12.564

About this PR
📦 Updates com.amazonaws:aws-java-sdk-bundle from 1.12.560 to 1.12.564
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #2935.


LAsort fails in dailgner2.0

Hi Arne,
The LAsort and LAmerge calls seem to have a bit of a problem if I use them from the daligner that I installed from git.  Notice the “.N@” that gets appended.  However, the LAsort and LAmerge from conda seem to work fine.  However, the LAcheck from conda fails the “ref_vs_reads_alignment_block” because it tries to append “.las” to the second argument.  The LAcheck from the daligner that I installed from git does work fine though.
daligner2.0: Command Failed:
LAsort   /mnt/shared_tmp/376067.1.work.q/daligner.7314/scaffolds_FINAL.1.scaffolds_FINAL.7.N@
So, the furthest that we’ve progressed is with local damapper and LAcheck.  The other prerequisites are from conda.
Originally posted by @BradleyRan in https://github.com/a-ludi/dentist/issues/3#issuecomment-632727668

Hi Randy,
could you please verify you are running the same version of LAsort, LAmerge and daligner by typing
which LAsort LAmerge daligner

The output should look something like this
$ which LAsort LAmerge daligner
/home/alu/.local/bin/LAsort
/home/alu/.local/bin/LAmerge
/home/alu/.local/bin/daligner

The @ notation was introduced in 2018 and the bioconda version of daligner is ancient (2015). So, maybe daligner calls the bioconda version of LAsort by accident. I never had this issue myself, so it is very unlikely that it is a bug in DALIGNER.

This issue is related to a new feature in LAsort see issues #7. As a quick fix, use LAsort as of 2020-01-15.


[lint] Unpin the pylint version

Fixes #539
Might pass after https://github.com/ansible/ansible-navigator/issues/758

This change is incomplete — there is one more place in tox that needs unpinning.

I wasn't sure if we wanted to unpin it for the enforcing check at the same time as the vetting, happy to do that if it is preferred.


Remove dependency on third party server

Per @wallw-bits from https://github.com/ngageoint/opensphere/pull/390:

The GeoServer and Arc tests need to be refactored to spin up a container and hit that rather than depending on third-party services for tests (this should be easy for GeoServer, possibly less easy for Arc -- but there are better options for live servers there than a local gov one). Additionally, the state file test is also depending on a third-party server when it doesn't have to

We might just want to stub out the server responses instead: https://docs.cypress.io/guides/guides/network-requests.html

That would be best in my opinion. We commonly do that for unit tests already.

https://github.com/ngageoint/opensphere/pull/481/

Is anything more needed on this post #481?

Nope


Refine FASM support in VPR

Currently FASM support in VPR was written to target 7-series only.  Effectively no tests have been written for the FASM in VPR support.
Tasks:

Add unit testing for FASM support
Integrate ice40 FASM output

@elmsfu is working on integrating ice40 FASM output

#447 addresses the ice40 FASM output and FASM -> Bit.

Splitting issue into the two separate tasks.


Open up the SendPasswordResetInstructionsAction

Backport of: https://github.com/apereo/cas/pull/5589

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


Remove the WC from full-stack application examples

Why
As we don't have dedicated support for Nuxt yet, we have been using the legacy web component (WC) in our examples and blog posts so far. We now want to remove the WC completely => we must replace it in our blog posts and wizard examples for Nuxt.
This depends on #80
TODOS
Next.js (@incorbador not sure what your current strategy is here, just added it for sake of completeness)

https://github.com/corbado/example-passkeys-nextjs
https://www.corbado.com/blog/passkeys-deployment-nextjs-heroku
https://www.corbado.com/blog/passkeys-deployment-nextjs-vercel
https://www.corbado.com/blog/nextjs-passkeys
https://github.com/corbado/example-passkeys-nextjs

Nuxt (replace with web-js)

https://www.corbado.com/blog/passkeys-nuxtjs
https://github.com/corbado/example-passkeys-nuxtjs

Ruby (replace with react)

https://www.corbado.com/blog/passkeys-ruby-on-rails-react
https://github.com/corbado/example-passkeys-ruby-react

SvelteKit (replace with web-js)

https://www.corbado.com/blog/sveltekit-passkeys
https://github.com/corbado/example-passkeys-sveltekit

Acceptance criteria

[ ] Blog articles have been updated
[ ] GH examples are updated (on main)

@incorbador done

@lukaskratzel

Ruby example can be maybe de-prioritized
with Next.js, we might need to briefly check if we even need to update the code for Vercel and Heroku, or if it can stay the same


RPATH is missing from ROCm 5.0.0 release

Please correct me if I'm wrong since I'm not familiar with C++ build processes / systems. I'm using the Ubuntu ROCm 5.0.0 release. After some investigation about some software not running with ROCm, I noticed that RPATH or DT_RUNTIME (I'm not familiar with their differences) for rocALUTION is not set for the Ubuntu release.
I'm also not sure if this is the correct repository to report this issue. Thanks

For some reason after a couple of days my installation works without exporting anything. So I guess for some reason something on my Linux was stuck, and it only affected librocalution.so symlink. So weird. I will investigate it but no need to have this issue open.


Fix semihosting_putc

Per the Arm semihosting protocol documentation[1], the SYS_WRITEC command
expects a pointer to the character to be printed in r1, not the
character itself.
[1] https://developer.arm.com/documentation/dui0471/g/Semihosting/SYS-WRITEC--0x03-?lang=en

Well woops, sorry I rebased and pushed without seeing you'd already done it.


M3-6079: Creating a Linode via a StackScript - Require image Field

Description 📝

Updates the CreateLinodeSchema in validation to match the Linode API.
image is now required by the API when you specify a stackscript_id, we need to update our client side validation to match this API behavior
This PR also passes the errors prop to both FromStackScriptContent panels because they did not previously have errors data passed to them, resulting in image errors not being surfaced

Preview 📷
Before

After

How to test 🧪

Test Linode Creation

Test that you see an error under the image field if you try to deploy a Linode from a Stackscript with no image selected
Test all other ways to deploy a Linode and ensure that no other flows were adversely affected

@cpathipa Can you provide some steps to reproduce? I can't get into that state on the Linode create page.

@cpathipa, made a small change to the condition. Can you see if that fixed it?

Great catch @mjac0bs, thank you. I'm assuming this is due to the errors prop not getting drilled to the correct component. (Refer to the changes I had to make in packages/manager/src/features/linodes/LinodesCreate/LinodeCreate.tsx). I'm thinking it will be a similar fix.

@mjac0bs . I am all for mimicking API behavior, but I agree that is definitely weird. For the sake of the scope of this PR, that probably can be handled as a separate issue.

Observation:
Noticed that root pass is disabled not able to enter data when image is not selected. Attached screen capture for reference.
https://user-images.githubusercontent.com/119517080/218166512-8861e650-37ac-45a2-8558-ed5dd6d0fa99.mov

@cpathipa  I have noticed that too. It appears to be an existing behavior, so for the sake of this PR's scope, I think we should leave it.
I think if we were to make a change, root password should never be disabled.

I usually would be willing to make out of scope changes like that, but considering how clunky and sensitive Linode create is, I don't want to make too many changes.


Input type Number validates if decimal has three digits

Description
It seems that if you have a input[type="number"] and have the class validate it will always return the success message if the number has three decimal places (number types shouldn't have any decimal places).
How to replicate this issue
With the input:
 <input type="number" name="amount" id="amount" class="validate">
 <label for="amount" data-error="Invalid number (eg. 1200)">Amount</label>

Then the following examples:

Value
Status

0.1
Fails

123
Passes

123.123
Passes

1.123
Passes

123.12
Fails

1.1234
Fails

I was not able to reproduce this. Perhaps you did not defocus after typing which triggers the update.

Hmmm Perhaps there's something more to it. I have tested again to assure myself that this is the case and all those test cases still appear valid.
As you can see, the name field is focused:

I'll see if I'm able to replicate the issue later on today and let you know if I find anything else.

Can you add a codepen so I can see the exact scenario where this happens? Maybe I am recreating mine differently.

Try adding step="any" to your input, as described here

@Native-Coder is right here. Decimals that are not zero in value, e.g 53.00 will return as invalid without a step attribute.

Sorry, I don't think I communicated my problem problem. The problem isn't that it should be accepting decimals it's that it should be doing it regardless of how many decimal places there are.
I have a codepen set-up here: http://codepen.io/anon/pen/apRoMq
It appears the problem only occurs when the class "inline" is set.

And as I stated before, adding step="any" to the input fixes your issue
http://codepen.io/anon/pen/jyeORZ

I tried entering 321.11111 in the code pen and it shows the error message
as intended.
On Wed, Feb 8, 2017 at 1:38 PM, Native-Coder<EMAIL_ADDRESS>wrote:

And as I stated before, adding step="any" to the input fixes your issue
http://codepen.io/anon/pen/jyeORZ
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Dogfalo/materialize/issues/4174#issuecomment-278469906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACpax-VqcR7A3nSOxL9MLT4kxuBbfTpfks5rajXwgaJpZM4L1SlV
.

--
Doggy sends his greetings from Mars.

Mine? It doesn't when I do it

I found the issue. It has to do with locale and number formatting based on language.
So for you guys (assuming you have an English locale) I'm guessing it would occur if you entered 123 456. But I have yet to test whether these characters are sent upon form submit.
Thanks for your help with this issue.