Add turndown CLI

This PR:

adds a CLI for turndown. Let's keep it simple for now, and make something that just works™. Feel free to add support for all options.
updates package.json and the lock accordingly. Note npm audit reports critical vulnerabilities among the dependencies. Those are fixed

I’m not experienced in designing CLIs --any thoughts

The real use case looks like this (for instance on the doc of usbpcap
gpotter@vmg:~/github/usbpcap$ turndown *.html
converted /home/gpotter/github/usbpcap/block_diagram.html to /home/gpotter/github/usbpcap/block_diagram.md
converted /home/gpotter/github/usbpcap/capture_buffer.html to /home/gpotter/github/usbpcap/capture_buffer.md
converted /home/gpotter/github/usbpcap/capture_limitations.html to /home/gpotter/github/usbpcap/capture_limitations.md
converted /home/gpotter/github/usbpcap/captureformat.html to /home/gpotter/github/usbpcap/captureformat.md
converted /home/gpotter/github/usbpcap/develop.html to /home/gpotter/github/usbpcap/develop.md
converted /home/gpotter/github/usbpcap/dissectors.html to /home/gpotter/github/usbpcap/dissectors.md
converted /home/gpotter/github/usbpcap/donors.html to /home/gpotter/github/usbpcap/donors.md
converted /home/gpotter/github/usbpcap/index.html to /home/gpotter/github/usbpcap/index.md
converted /home/gpotter/github/usbpcap/thankyou.html to /home/gpotter/github/usbpcap/thankyou.md
converted /home/gpotter/github/usbpcap/todo.html to /home/gpotter/github/usbpcap/todo.md
converted /home/gpotter/github/usbpcap/tour.html to /home/gpotter/github/usbpcap/tour.md

No one is ever going to use clipboard.. (I saw a demo using clipboardy), and wildcard support is super important.
Note that commander and glob are well-known, fully trusted packages.

@mals14
How to test:
1- Download https://github.com/gpotter2/turndown/archive/cli.zip
2- Unzip and open the folder
3- Install sudo npm install -g (Without sudo on Windows)
Feel free to report any bugs

Thank you!
Will install when I get to the computer.

What's the status of this PR? I'd love to use turndown on the CLI myself.

There hasn't been any update to the project since then, therefore the PR still works for now.
@domchristie Hi & sorry for the ping. Could you find some time to review & merge this PR ? I'd of course understand if you don't the time to maintain this project anymore. If that's the case, (which is fine), it might be nice for you to find a second maintainer to help with that (I'm not saying myself).
Thanks !

I followed install from zip instructions and get error:
turndown -h
internal/modules/cjs/loader.js:611
    throw err;
    ^

Error: Cannot find module '../'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
    at Function.Module._load (internal/modules/cjs/loader.js:535:25)
    at Module.require (internal/modules/cjs/loader.js:663:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/kortina/Downloads/turndown-cli/bin/turndown.js:14:25)
    at Module._compile (internal/modules/cjs/loader.js:734:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
    at Module.load (internal/modules/cjs/loader.js:626:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
    at Function.Module._load (internal/modules/cjs/loader.js:558:3)

which turndown
/Users/kortina/.nodenv/shims/turndown

nodenv versions
  system
* 11.9.0 (set by /Users/kortina/.nodenv/version)
  11.12.0

Am I missing a dependency install or something?

This was made a long time ago. It's possible it's now broken..


Bug: OpenGL: VS Output viewer doesn't show all instances correctly for instanced draw calls

Hey there,
I just wanted to file an issue I noticed in v0.32 of your wonderful tool, thanks btw it works amazingly well.
When viewing Mesh Output / VS Output with instanced draw calls (using glDrawElementsInstancedBaseVertex in OpenGL), it appears only the first instance is drawn. See the attached image (suffix:_meshoutputviewer) which shows only the first instance in the batch is drawn, and the corresponding image (suffix: _textureviewer) for comparison.
Maybe a bit obvious, but I'm using gl_InstanceID to index a UBO in the VS.

Hi there, thanks for the report! I'm not able to reproduce this locally using a capture that calls glDrawElementsInstancedBaseVertex - I used the gl-400-texture-buffer-rgb sample from g-truc's ogl-samples:

So I guess the problem must be more complex or depend on some other factors unique to your case.
Are you able to share the capture or your program with me so I can try to reproduce? If not, can you tell me whether the instance data is as expected - if you change the value in the mesh viewer toolbar from instance 0 to instance 1, does the data show up and the preview render in the right place? I'm wondering if the data for all instances after 0 is wrong, or if it's just the "show all instances" mode which doesn't work correctly.

Thanks for the quick reply - I've sent a capture to you by e-mail.

Resolved over email, it seems like some unknown change fixed this since v0.32.


Button labels in add to cart widget

We have three buttons there at the moment:

Show Cart
Continue Shopping
Cancel

Instead of "Show Cart", I suggest something like "Go to checkout".
"Cancel" is misleading. It just takes the user back to the product page. I'd expect it to cancel the add-to-cart oprtation, but that is not what it does. Do we need this button at all?
"Continue Shopping" redirects to the product's category. It seems less surprising to me to return the user to the product page instead.

Hi @rfleschenberg , I can work on this Issue


Extend transaction prover service to handle multiple requests

Basic transaction prover service has been implemented in #881. The current implementation handles only one request at a time (if another requests arrives, it rejects it with a "busy" error). We need to extend the current implementation to allow handling of multiple requests.
One approach to this is to introduce some kind of "coordinator" service which would accept incoming transaction requests and dispatch them to a pool of prover servers. A few things to consider:

When a prover spins up, it would need to notify the coordinator that it is available.
The coordinate would need to be able to perform liveness checks on a prover server (e.g., "ping" or something like that).
The coordinator would need to either queue or reject requests if no provers are currently available to handle them.

Closed by #930.


'attribution_phone' was not set correctly

Probably just a simple copy-paste error, small fix.

I have read the CLA Document and I hereby sign the CLA

recheck

recheck

recheck again please


Page Build Failure

I've been getting the following page build failure.
The page build failed with the following error:

The submodule registered for `./plugins/ipynb` could not be cloned. Make sure it's using https:// and that it's a public repo. For more information, see https://help.github.com/articles/page-build-failed-invalid-submodule.

I've tried publishing from multiple devices and I get the same problem.
Here's my repo: https://github.com/WolfHoward/WolfHoward.github.io
Any help with this would be greatly appreciated.

This is more a git issue but I can try to help you. Can you clone your repo with the  --recursive flag into a new location:
git clone https://github.com/WolfHoward/WolfHoward.github.io --recursive

Ok. Cloned it to 'plugins2/ipynb'.

From: Daniel Rodriguez<EMAIL_ADDRESS>Sent: Monday, March 27, 2017 11:49:31 AM
To: danielfrg/pelican-ipynb
Cc: WolfHoward; Author
Subject: Re: [danielfrg/pelican-ipynb] Page Build Failure (#62)
This is more a git issue but I can try to help you. Can you clone your repo with the --recursive flag into a new location:
git clone https://github.com/WolfHoward/WolfHoward.github.io --recursive
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/danielfrg/pelican-ipynb/issues/62#issuecomment-289513412, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX0BaoXL3g280NQj02rgHC9itdOL7gwKks5rp-ibgaJpZM4MqhMI.

Oh. My repo. Sorry.

From: Wolf Howard<EMAIL_ADDRESS>Sent: Monday, March 27, 2017 11:57:12 AM
To: danielfrg/pelican-ipynb
Subject: Re: [danielfrg/pelican-ipynb] Page Build Failure (#62)
Ok. Cloned it to 'plugins2/ipynb'.

From: Daniel Rodriguez<EMAIL_ADDRESS>Sent: Monday, March 27, 2017 11:49:31 AM
To: danielfrg/pelican-ipynb
Cc: WolfHoward; Author
Subject: Re: [danielfrg/pelican-ipynb] Page Build Failure (#62)
This is more a git issue but I can try to help you. Can you clone your repo with the --recursive flag into a new location:
git clone https://github.com/WolfHoward/WolfHoward.github.io --recursive
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/danielfrg/pelican-ipynb/issues/62#issuecomment-289513412, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX0BaoXL3g280NQj02rgHC9itdOL7gwKks5rp-ibgaJpZM4MqhMI.

Alright, cloned successfully.

From: Daniel Rodriguez<EMAIL_ADDRESS>Sent: Monday, March 27, 2017 11:49:31 AM
To: danielfrg/pelican-ipynb
Cc: WolfHoward; Author
Subject: Re: [danielfrg/pelican-ipynb] Page Build Failure (#62)
This is more a git issue but I can try to help you. Can you clone your repo with the --recursive flag into a new location:
git clone https://github.com/WolfHoward/WolfHoward.github.io --recursive
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/danielfrg/pelican-ipynb/issues/62#issuecomment-289513412, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX0BaoXL3g280NQj02rgHC9itdOL7gwKks5rp-ibgaJpZM4MqhMI.


Last active buffer from old frame should not be added to new frame's perspective while using emacsclient

Steps to reproduce

Run emacs daemon.
Create first frame (emacsclient -c), find some buffer(say, init.el)
Create another frame (emacsclient -c)

Expected behavior
Since the new frame created by emacsclient finds scratch buffer by default, the main perspective of this new frame should only contains this current scratch buffer.
Actual behavior
The main perspective of this new frame includes two buffers: the current scratch buffer, and the last active buffer from the old frame (init.el)
My temporary workaround
(defun my/switch-to-scratch-buffer (f)
  (with-selected-frame f
    (switch-to-buffer "*scratch*" t)))
(add-hook 'after-make-frame-functions #'my/switch-to-scratch-buffer)

I implemented something similar to your workaround on this branch: https://github.com/nex3/perspective-el/tree/gcv-new-frame-fix
Let me know if that branch works for you.

I implemented something similar to your workaround on this branch: https://github.com/nex3/perspective-el/tree/gcv-new-frame-fix
Let me know if that branch works for you.

Works for me, thank you for your implementation.
One little issue though (which also apply to my own workaround): the first frame that emacsclient opened defaults to open the welcome buffer with the emacs logo instead of scratch buffer, but with this patch, it will always show the scratch buffer. Also, it seems that some people would customize this behavior (e.g. https://github.com/emacs-dashboard/emacs-dashboard), I'm not sure how this patch work with this use case. Personally I'm fine with the scratch buffer.

Good point. I changed my implementation to respect initial-buffer-choice.
Fix now merged into master, should be in MELPA soon.

@gcv I noticed that you committed another change to not kill perspectives when closing frames created by emacsclient. (https://github.com/nex3/perspective-el/commit/13fb1ddcbe0c10f1678604f4b98f32e0ebd0f343) Before that commit, this "kill buffers when closing frames" feature works well for me with emacsclient and I've never encountered the bug you have. I cannot reproduce the crash with your described steps in the commit either.
Can we revisit this change? Maybe it's related to some specific emacs version? In that case, maybe can we have an customizable option for it? I'm using 28.0.50 native-comp branch in linux.

Emacs 27.1 with Mac patches, built from source. This used to work fine, but I retested with 26.3 and had the same problem. It’s totally bizarre.
I actually don’t mind reverting the patch, since I don’t use emacsclient with dedicated frames. If this problem doesn’t occur for anyone else.

Looking into this a bit further: the problem only occurs if server-start was called before persp-mode initialized. Otherwise, it works just fine. Let me try to work around it.

Just pushed https://github.com/nex3/perspective-el/commit/da3a3602070c6ad5c977cb5ec989ce7b192b475b.
The procedure in the commit is 100% reproducible on my machine with Emacs 27.1 in a sandbox environment (i.e., with only perspective-el installed and no other configuration loaded).

I found another related issue:

Open frame A (by default, scratch buffer is opened), open /some/file.txt here
Open frame B (also, scratch buffer is opened), kill this scratch buffer

Actual behavior: /some/file.txt buffer is added to frame B.
It seems that during the call of switch-to-prev-buffer, set-window-buffer is called which causes the buffer to be added to perspective.

 In the case of Perspective, the *scratch* buffer is shared between the default main perspectives of different frames, and killing it will impact other frames. prev-buffer is also a tough nut to crack for Perspective (see https://github.com/nex3/perspective-el/issues/63). Hacking around this is likely to be error-prone and I'm not sure the effort is justified for such a corner case. (Though I can be convinced otherwise.)

I have an issue which sounds like it might be similar to what is being described in this issue. I use a lot of short-lived emacsclient -c for things such as the Edit with Emacs plugin for Firefox. Often when I close a frame it will cause the current perspective of a different frame to be killed. Additionally, the killed perspective is killed in such a way that it is not removed from the list of perspectives, but attempting to switch to (or re-create) it issues an Using killed perspective <name> error.
I have been running persp version 2.9 on emacs 27 run as --fd-daemon. I will see if your updates up to version 2.11 makes this any better.

@magne-hov: Yes, that’s exactly what I observed. The problem should be worked around in 2.11. That said, you may find the workaround also undesirable, depending on how you use the short-lived frames. If you open other buffers in those frames, they will then become orphaned (i.e., unassociated with any perspective).
If this is a problem, try changing your Emacs setup to start the emacsclient server after persp-mode initializes. Let me know if that fixes all bad behaviors. It’s a mysterious bug, and one I’d really like to squash.

@gcv All of my issues seem to have vanished since upgrading to 2.11. Thanks for your efforts on this. Orphaned buffers is no problem for me.


Is there an opportunity to allow ffmpeg transcoder use nvidia nvenc coder?! It will be great!

Hey there,
I assume you mean auto-detection of nvenc for the ffmpeg stream process option? We do plan to upgrade that feature eventually, but I don't think we'll do it in the near future. The ffmpeg stream process was mostly meant to "get something" quickly, while the MKVexec allows for full customization.
With that said, MKVexec already would allow you to use nvenc, but it requires you to build the command yourself.
Before you start, you will want to add the following before the input of the ffmpeg command:
-fflags nobuffer -hide_banner -loglevel warning

-fflags nobuffer: this sets the input to be quicker during input stream analysis
hide_banner -loglevel warning: these will reduce the verbosity of the command, which can mess with the MKVexec.

At the output side you just need to output it to matroska into standard out:
-f matroska -

So in the end you'll want your command to be something like this:
ffmpeg -fflags nobuffer -hide_banner -loglevel warning -i - -c:v h264_nvenc ENC OPTIONS -an -f matroska -

Note: If you'll be using apostrophe (' or " ) in your commands, you'll need to make a script out of it. MistServer does not handle url escaping correctly for commands unless it's through a script.

As for what the best nvenc options are, that usually depends on both the stream input and your actual hardware. So that's something you'll need to go through with trial and error.
You might want to start simply by running the ffmpeg commandline, grabbing the MKV output and just converting it to an rtmp stream so you can see errors/quality before you set it up as an MKVexec stream process. Remove the -hide_banner and -loglevel warning in this case as they'll be removing the logs you'd need.
ffmpeg -fflags nobuffer -i http://localhost:8080/streamname.mkv -c:v h264_nvenc ENC OPTIONS -an -f flv rtmp://localhost/live/streamname2

Hey there,
I assume you mean auto-detection of nvenc for the ffmpeg stream process option? We do plan to upgrade that feature eventually, but I don't think we'll do it in the near future. The ffmpeg stream process was mostly meant to "get something" quickly, while the MKVexec allows for full customization.
With that said, MKVexec already would allow you to use nvenc, but it requires you to build the command yourself.
Before you start, you will want to add the following before the input of the ffmpeg command:
-fflags nobuffer -hide_banner -loglevel warning

-fflags nobuffer: this sets the input to be quicker during input stream analysis
hide_banner -loglevel warning: these will reduce the verbosity of the command, which can mess with the MKVexec.

At the output side you just need to output it to matroska into standard out:
-f matroska -

So in the end you'll want your command to be something like this:
ffmpeg -fflags nobuffer -hide_banner -loglevel warning -i - -c:v h264_nvenc ENC OPTIONS -an -f matroska -

Note: If you'll be using apostrophe (' or " ) in your commands, you'll need to make a script out of it. MistServer does not handle url escaping correctly for commands unless it's through a script.

As for what the best nvenc options are, that usually depends on both the stream input and your actual hardware. So that's something you'll need to go through with trial and error. You might want to start simply by running the ffmpeg commandline, grabbing the MKV output and just converting it to an rtmp stream so you can see errors/quality before you set it up as an MKVexec stream process. Remove the -hide_banner and -loglevel warning in this case as they'll be removing the logs you'd need.
ffmpeg -fflags nobuffer -i http://localhost:8080/streamname.mkv -c:v h264_nvenc ENC OPTIONS -an -f flv rtmp://localhost/live/streamname2

Thanks, make some changes in process_ffmpeg.cpp, added "h264_nvenc" as option, works on my machine...

Why limit only to NVENC what about CUDA AMF QSV VAAPI
https://github.com/markus-perl/ffmpeg-build-script

@Rokamun what about ffmpeg alternatives?
GStreamer
[NVEnc by rigaya](https://github.com/rigaya/NVEnc)
simple way to get info
https://github.com/philipl/nv-video-info

Yes, GStreamer is planned as well.
We consider ffmpeg superior when dealing with VOD files and GStreamer when dealing with live pipelines.
Thus both are planned, as they both have a clear "best use" in our eyes.  However, both are also not on super high priority right now as you can use your own commands through MKVExec directly. The only reason why ffmpeg got "sort of an interface" is because it was needed by a small project at the time.


Animate SVG with custom properties

This removes the circuit.js script in favor of an inline script that only sets the path length as a custom property. It then uses CSS to orchestrate the animation using that property.
<script>
    const lines = document.querySelector('#lines').children;
    [...lines].forEach(line => {
        line.style.setProperty('--length', line.getTotalLength());
    });
</script>

I also narrowed the content so it would collide less with the circuits.
Hope this helps! 👍

this is awesome, thanks! So I kinda liked that the points of the wire were shown first then the wires appeared, which gives it more of a circuit feel, is there a way to do that? wdyt

For sure! Just had to adjust the timing a bit.

Awesome, that's dope thanks!


Use default navbar + Reorder, review and rename articles

Closes #67 and #68. See commits for separate steps.

Great work, thanks!


zundo v2

After a year of the v1, it's finally time for the next major release of zundo. The goal is to create a smaller bundle size, have an easier API, and improve type correctness.
All new work is being done in packages/zundo
Here is a checklist that is required before v2 can be released:

[x] Support zustand v4
[x] modify zustand types to support temporal object
[x] create temporal factory function (undo, redo, clear, pastStates, futureStates)
[x] persist option (to replace include and exclude)
[x] add steps param to undo and redo
[x] Add option to pause and resume history tracking (pause(): void, resume(): void, state: 'tracking' | 'paused')
[x] Add optional historyDepthLimit as limit
[x] Add option to pass equality function to save states (rather than bundling lodash/isEqual)
[x] Add option to provide a callback when state is saved in temporal store. onSave
[x] Add handleSet middleware. ~Add option to set coolDownTime.~ Maybe we can allow the user to pass in a function rather then writing it ourself? Debounce vs Throttle
[x] chained middleware support
[ ] update readme IN PROGRESS
[ ] dev tools support IN PROGRESS

Future versions of v2

[ ] create nicer API, or a helper hook in react land (useTemporal). or vanilla version of the it
[ ] Allow alternative storage engines for past and future states
[ ] See if it canUndo and canRedo
[ ] Set initial history, past and future states
[ ] create jump method that takes an integer
[ ] create a present object that holds the current state? perhaps
[ ] support history branches rather than clearing the future states
[ ] Pass middleware to temporal store
[ ] store state delta rather than full object

Might need to update tests to use React ACT: https://github.com/pmndrs/its-fine/blob/main/tests/setupTests.ts


Consistently test environment.yml and dev-environment.yml

Problem common to GeoUtils and xDEM:
Right now, during CI, we have no way of verifying that environment.yml actually works with the package because we use directly dev-environment.yml, which is needed in order to consistently reproduce the environment locally. It would lose a lot of time to test both.
One solution could be, during CI:

We install environment.yml first,
We run python -c "import xdem" to check that there are no error when importing the package with environment.yml,
We also run flake8 there,
(Tricky point) We compute the difference between dev-environment.yml and environment.yml (separating pip and conda channels if necessary),
We update the CI environment with the packages specific to dev-environment.yml,
We run the tests and documentation building of CI normally.

(Tricky point) We compute the difference between dev-environment.yml and environment.yml (separating pip and conda channels if necessary),

You can use conda env update -f dev-environment.yml, no need to calculate the difference yourself.


Replace docker lib dealing with OCI Artifacts in OCI registries (ORAS client?)

User Story: Introduce ORAS client libraries to deal with OCI Artifacts in OCI registries
Description:
Since ORAS is the de facto tool for working with OCI Artifacts, the OCM project should make use of it. ORAS offers a client library in Go that can be used: https://oras.land/docs/client_libraries/overview
Epic link:

open-component-model/ocm-project#120

Acceptance criteria:

[ ] all interaction with OCI registries happens using the ORAS client library

Related issues:

open-component-model/ocm-project#105
open-component-model/ocm-project#104

@Skarlso , let's park this in favour of some higher priority tasks

Sure. Do you have some?

@Skarlso : Not really :-). Fabian an me filled the next-up column, but I guess there's room for some other tasks in this sprint, although this one will most-likely take more than two weeks. But I'll move it back to next-up, so once your current tasks are done, just check this and give it a size, then we'll see.

Okay. I also would like to have some kind of decision on the api design this week even if only a partial one. Like moving the subscription into the ocm controller.

Adding @fabianburth
@Skarlso , we currently re-think our complete setup of our tool set for lifecycle mgmt and what role the OCM controllers have there. We have multiple teams asking for support, like the ones from DwC we  meet at the workshop this week. So, we need to deep-dive into the current architecture of the controllers again, before we can move on with the new API and CR design.

https://github.com/open-component-model/ocm/pull/904

@Skarlso was rolled back due to regression, therefore again "open".

Closed in favour of https://github.com/open-component-model/ocm-project/issues/302


Reset camRunning on every startDevice call

Fixes #239

Thanks for the info @roni-kreinin! Although this needs some additional modifications. I was making a bugfix pr anyway and implemented them here


Wait for Cargo publish

Publish failed for bitski-common just now, so seems like it's needed for Cloudsmith

Oh nvm, it failed b/c of missing auth token


refresh after insert elements based on a template

Hi,
First, thanks to the Phonon's Team.
I've a little problem with tabs when i inject them after 'ready'.
A quick example :
<actualite class="app-page">
      .............

</actualite>

Ajax is OK and html is correctly produced and inserted in the page.
But Tabs are not operative :(
To "refresh" and activate tabs, i made a little function "refreshTabs" in tabs JS component (based on the 1.2.1 version / setCurrentTab is the original) :
        /**
     * Changes the tab indicator
     * @param {String} pageName
     * @param {Number} tabNumber
     */
    var setCurrentTab = function(pageName, tabNumber) {
        if(typeof pageName !== 'string') {
            throw new Error('The first argument must be a string, ' + typeof tabNumber + ' given');
        }
        if(typeof tabNumber !== 'number') {
            throw new Error('The second argument must be a number, ' + typeof tabNumber + ' given');
        }

        updateIndicator(pageName, tabNumber);
    };

    //gbtux
    var refreshTabs = function(pageName) {
        var pageEl = document.querySelector(pageName);
        var tabsEl = pageEl.querySelector('[data-tab-contents="true"]');

        if(tabsEl) {
            setupTabs(pageName, pageEl, tabsEl);
        }
    }

    /**
     * For every mounted page, initizalize tabs
     */
    document.on('pagecreated', checkForTabs);

    phonon.tab = function() {
        return {
            setCurrentTab: setCurrentTab,
            refreshTabs: refreshTabs
        };
    };

So my question : can i do it in another way ?

I have had the "same issue" with some other components. And I thought I was alone on this one xD
I would say your solution is fine. I dont use Handlebars but Ractive, and they have more or less the same problem with phonon components. Maybe there is a more decentralised way to do your code, (later in this post i will show how i solved it with Ractive's decorators).
If you have some free time, let's go on a ride, since  I will use this post to talk about what I have in mind.
Like I said, I use Ractive, and I was planing to code some way to enable refreshing of components setup, without breaking anything!! (for example, subscribing to the same event twice for elements that were created on ready).
Currently components have to be already in DOM when pagecreated is called, since most of components (if not all) are initiated like this:  document.on('pagecreated', function(evt) ....
In my case i have to "pollute" some component with something like this:
 var accordionDecorator = function(node){
        node.on('tap', onPage);
        return {
            teardown: function () {
                console.log('teardown', node);
            }
        };
    }

    if(Ractive !== 'undefined'){
        Ractive.decorators.accordion = accordionDecorator;
    }

Which is the ractive way to do stuff when elements are rendered. So basically it's more or less your case, and maybe we can work together to improve this and find a nice way to do it.
This was ok but I dont want to fill phonon code with Ractive related stuff. So we need to find a way to interface component's code with external plugins.
I think there are two cases:

When components are dynamically and asynchronically (is that a word?) created on pagecreate, its too late for them, and phonon already setup components up.
Time after pagecreated and everything, elements are created in the DOM and obviously if they have any component code it wont get initialised. (ontransitionend, but does get called on first load)

On issue number one, i found that calling some new event instead of pagecreated, it worked with some limitations.
If we can find a solution for 2nd issue, first one will be fixed anyways.
Need to be aware that what tab component has, accordion doesnt, which is exposure via phonon instance:,phonon.tab =...
We need to start exposing all components. and then:
//for me
phonon.extensions.ractive = new PhononRactiveExtension();
//for you
phonon.extensions.dynamicDOM =  PhononDynamicDOMExtension(); //NICE NAME xD
That way phonon could be aware of extensions behavior and code can be centralised and not colliding with eachother's, ( like riot is doing now xD )

Hi @gbtux and @andreujuanc,
Thank you for using Phonon and finding a solution with the missing of support for dynamic tabs.
I
You are both right. Tabs are initialized when the onCreate event is called, so if you render your template in this callback, the tabs won't be setup.
With the latest release, I added phonon.tab().init('pagename') in order to setup dynamic tabs.
Please, tell me if it works for your use!

Hi @Qathom ,
Happy new year ;)
Thx for your reply (and sorry for my late late answer :/ ).
Works perfectly for me (1.3.4) !
As @andreujuanc said, perhaps add this feature to other components.
Production in 1 week !
BR //


Added viewport meta to readme.md to avoid future confusion.

In context of this issue : https://github.com/tachyons-css/tachyons/issues/280
Adding this new section in the readme will save further confusion and issues regarding responsiveness not working.

@shivekkhurana Thanks for the suggestion. Going to hold off on this right now as we include it in all html examples and don't know if the documentation for this belongs in the readme. Will make a note to potentially address it more thoroughly in the docs though.

No problem.
Thanks for clarifying.
On Thursday, November 3, 2016, Adam Morse<EMAIL_ADDRESS>wrote:

Closed #283 https://github.com/tachyons-css/tachyons/pull/283.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tachyons-css/tachyons/pull/283#event-846133491, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB1gJgsVWf-7LrmA-6J3xNIASQQ1uVFiks5q6bEZgaJpZM4KlwDD
.


start = async error

Hello,
When I wanted to try out your monitor I got the error:
C:\Users\Dylan\Desktop\shopify-monitor-master\src\classes\Task.js:24
    start = async () => {
          ^

SyntaxError: Unexpected token =
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (C:\Users\Dylan\Desktop\shopify-monitor-master\index.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Dylan\AppData\Roaming\npm-cache\_logs\2020-05-04T21_34_03_272Z-debug.log

Because I am not very experienced with javascript I don't know how to fix this myself.
 I am still running 10.16.3.
Updated it and now working thnx a lot!


fix: check if async error has a stack

If a non-error object or an error without a stack was thrown, the async stack trace could would fail.

Can you please add the same thing to puppeteer-firefox's helper?


[QUESTION] - How to handle ctrl+c on raw mode?

I tried adding it to any components, which here I used the Label component from the example, but it doesn't work so far:
impl Component<Msg, NoUserEvent> for Label {
    fn on(&mut self, ev: Event<NoUserEvent>) -> Option<Msg> {
        match ev {
            Event::Keyboard(KeyEvent {
                code: Key::Char('c'),
                modifiers: KeyModifiers::CONTROL,
            })
            | Event::Keyboard(KeyEvent {
                code: Key::Esc,
                modifiers: KeyModifiers::NONE,
            }) => Some(Msg::AppClose),

            _ => None,
        }
    }
}

Envionrment
OS: Windows 11
tuirealm version: 1.6.0

I tried to handle this by using an external ctrl+c handler from tokio, then I sent an empty tuple using a MPSC channel, and did blocking receive on the TUI thread for each loop, then send AppClose event over there. But it didn't work as well.

Does the esc key work? Did you give focus to the label?
Just for the record, to terminate the application, it is better to use subscriptions to a phantom component, in order to always listen for that event, beside of what component has the focus.
You can view an example here:
#[derive(Default, MockComponent)]
pub struct GlobalListener {
    component: Phantom,
}

impl Component<Msg, NoUserEvent> for GlobalListener {
    fn on(&mut self, ev: Event<NoUserEvent>) -> Option<Msg> {
        match ev {
            Event::Keyboard(KeyEvent {
                code: Key::Esc | Key::Function(10),
                ..
            }) => Some(Msg::Ui(UiMsg::ShowQuitPopup)),
            Event::Keyboard(KeyEvent {
                code: Key::Char('c'),
                modifiers: KeyModifiers::CONTROL,
            }) => Some(Msg::Form(FormMsg::EnterSetup)),
            Event::WindowResize(_, _) => Some(Msg::Ui(UiMsg::WindowResized)),
            _ => None,
        }
    }
}


Developed a Javascript React News app

Developer Checklist

[ ] Followed guidelines mentioned in the readme file.
[ ] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[ ] Starred ⭐ the Repo (Optional)

Summary
Developed an impressive web application for news using React.js, and it utilizes the New York Times News API to showcase the most recent news. The user interface is exceptionally well-designed, providing an excellent user experience.
Screenshot

Live Project Link
add a working project link here

@NitkarshChourasia Kindly review my code and merge it please.

@tvermaashutosh Also add a README.md file, for those who are unfamiliar with the project to know about it.
Also, embed all the screenshots in the README.md file, properly.

Yes I'm doing it!

okay


Determine how to handle fossil types

Need to determine if we can create a vocabulary for fossil types (significant and non-significant). To speak with Elisabeth to determine how to interpret existing data.

Marking as complete. Implementing lookup as resource model, currently in progress.


Just asking

Hello:
Win 10 1809 x64 .python 3.7.16 x64
I'm trying to compile pypykatz.
But the resulting pypykatz.exe doesn't works.
Thanks.

Hello. pypykatz can be compiled as a stand-alone executable with pyinstaller and a bit of tinkering, but that is not the goal of this project.


Build new plugin API

Build new plugin API

The intended API surface was completed as of this PR: https://github.com/flutter/engine/pull/9083


Remove or improve the use of pyupgrade in just py-format

just py-format currently runs PyUpgrade, which is extremely opinionated and doesn't offer lots of customisation possibilities. Plus, it fixes things that aren't actually checked by py-lint.
 It's likely that PyUgrade will interfere again in the future. To address that, we should at least encapsulate PyUpgrade in a script that makes it easer to add ignored files. In the worst case, PyUpgrade should be removed from just py-format and used instead in a just py-upgrade command.

Superseded by #2640


Pinned Columns: Id link is not clickable

Id link is not clickable if column is pinned.
Steps to reproduce:

Open an analysis
Pin Id column
Click some Id link

Expected results: Link should be clickable in the pinned column.
Actual results: Id link is not clickable if column is pinned (nothing happens on click, no errors in console).

The fix is available in v. 1.1.21 of PowerGrid package


[Feature]: Rest API Plugin: provide option to upload binary data

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Currently REST API plugin does not seem to have any option that allows users to directly transmit binary data / file content .
e.g. Postman provides a binary tab:
https://theappsmith.slack.com/files/U035SFJHW3A/F06S5N2BUTX/image.png
Why should this be worked on?
This should take away a lot of confusion related with file uploads using REST API query.

APMU, binary data upload is completely non functional via REST API app. Reasons:

On the server side dynamic binding data is converted from binary to either a UTF-8 or ISO_8859_1 string, both of which could lead to binary data corruption. To maintain the sanctity of binary data, it should be either stored as byte array or converted to base64.
Needs to be checked : does the client try to convert any binary data to String format before sending it to the server - if so then binary data must be converted to base64 string before sending it server. Converting it to any other char set format String e.g. utf-8 could cause data corruption.

A possible feature implementation to enable binary file upload:

Provide a new tab in the body section called binary. On selecting this tab the content type should auto set to applicaton/octet-stream
In the new binary body tab, any file data must be provided as base64 string.
On the server add special handling for application/octet-stream content type. It should assume that the body data is base64 string and decode it to byte array.

Reasons why this could be treated as high priority issue:

This is a very basic and recurring use case that is expected via REST API .
Postman has a separate section to upload binary files. Many Postman users expect to see something similar here as well.
Until this issue is addressed we can expect to see this issue reported by users to A force from time to time - taking up valuable bandwidth from the Integrations team.
At the moment Appsmith documentation mentions that binary files can be uploaded via REST API. This is not true at the moment. Hence, the documentation would have to be updated. However, explicitly mentioning that binary files upload is not support would look bad because this a basic use case.
cc: @rohan-arthur @NilanshBansal

This a problem I was running into. I tried uploading a photoshop file through the file uploader to a dropbox endpoint and the resulting file gives me an error when I try to open it.
Context

Self hosted on Digital Ocean Droplet
Version Appsmith v1.13

Summary
I upload a small photoshop file (71 KB) onto the file uploader and click upload.
The triggered query, upon file upload, is a POST request to this endpoint ("https://content.dropboxapi.com/2/files/upload").
I set the data format to binary in the file uploader widget and in the query's body I refer to the uploading file as {{DropboxFilePicker.files[0].data}}.

After uploading I receive a larger file in dropbox (147 KB). When I try to open the uploaded file I get the following error.

Thanks!
I just need to update to the latest then?
Best Regards,
Prasanna Thuraisingam
On Mon, 29 Apr 2024 at 07:38, sneha122 @.***> wrote:

Closed #32378 https://github.com/appsmithorg/appsmith/issues/32378 as
completed via #32921 https://github.com/appsmithorg/appsmith/pull/32921.
—
Reply to this email directly, view it on GitHub
https://github.com/appsmithorg/appsmith/issues/32378#event-12641670075,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHYGOC4CCVW3QWPJ6GX5B23Y7YWNBAVCNFSM6AAAAABFVCAQHCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGY2DCNRXGAYDONI
.
You are receiving this because you commented.Message ID:
@.***>


iOS bug when keyboard opened with an input on the bottom of the map

Hello !
Thanks a lots for this really usefull plugin :)
I have a weird behaviour under iOS ( 7.1.2 and 8.1 ).
With the map in fullscreen and an input field on the bottom of the screen.
The keyboard push the map and create a gap between the map and the keyboard ( in green with setDebuggable )
I have tried a lots of things ( empty CSS, differents CSS management, config.xml special keyboard/ViewPort preferences .. )
Of course, if I put the field on the top of the screen, there is no problem ( and I need it on the bottom ... and this works great under Android 4.4.4 )
The simplest CSS version :
#map-canvas {
width: 100%;
height: 100%;
left: 0;
top: 0;
}

#map-canvas form {
position: absolute
width: 100%;
left: 0;
bottom: 0;
}

See below pictures, the exact same view with / without keyboard.
Thanks for your help !

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9628427-ios-bug-when-keyboard-opened-with-an-input-on-the-bottom-of-the-map?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github).

Could you give me a simple example html?
(From  to )

try to add bottom 0px  to your #map-canvas css

Here, a simple example under a new cordova project created from scratch :
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="format-detection" content="telephone=no" />
        <meta name="msapplication-tap-highlight" content="no" />
        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
        <title>Hello World</title>
        <script type="text/javascript" src="cordova.js"></script>
        <script type="text/javascript">
var map;
document.addEventListener("deviceready",
function() {
    var div = document.getElementById("map_canvas");
    map = plugin.google.maps.Map.getMap(div);
    map.addEventListener(plugin.google.maps.event.MAP_READY, onMapReady);
}, false);

function onMapReady() {
    console.log('map ready');
    map.setDebuggable(true);
}
        </script>
    </head>
    <body>
        <div id="map_canvas"
            style="position:absolute;top:0;left:0;height:100%;width:100%">
            <form style="position:absolute;bottom:0;left:0;width:100%">
                <input style="width:100%" />
            </form>
        </div>
    </body>
</html>

As you could see, the map is pushed on the top and disappear.
The config.xml is the default version created by cordova.
Thanks for your help ! :)

@chrisharney : This doesn't help... I have tried a lots of things in CSS side, this doesn't seems to have any effect.

Thank you for giving the example. I inspected the example code, and it seems a bug in native side.

Ok, for information, some preference option in config.xml to inspect :
  <preference name="EnableViewportScale" value="true"/>
  <preference name="KeyboardDisplayRequiresUserAction" value="true"/>
  <preference name="webviewbounce" value="false"/>
  <preference name="UIWebViewBounce" value="false"/>
  <preference name="DisallowOverscroll" value="true"/>

And some others requested to change the viewport to :
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, maximum-scale=1, user-scalable=no, height=device-height, width=device-width">

Notice the "height" and "maximum-scale", for some uses this have solved some Keyboard gap bugs, but not for me.
Thanks a lots for all the time spent on this plugin, and also for all the support, your reactivity is really perfect, it's really appreciate ! :)
Tell me if I can help in something.

Thank you for your additional information, and sorry for your inconvenience.
I reproduced the issue. And I will fix it in couple of days asap.
Please just a moment.

The bug is fixed.
Comment out the below two lines in the www/googlemaps-cdv-plugin.js file:
  divRect.width = divRect.width < pageRect.width ? divRect.width : pageRect.width;
  divRect.height = divRect.height < pageRect.height ? divRect.height : pageRect.height;

Or use the test branch.

You're really quick !!
THANKS A LOTS :+1:
For users of 1.2.4 it's named "divSize" ( renamed in divRect in test branch )
  divSize.width = divSize.width < pageWidth ? divSize.width : pageWidth;
  divSize.height = divSize.height < pageHeight ? divSize.height : pageHeight;


Run Nessie in parallel on each cloud

Generate code once, then run Nessie on each cloud separately.  Should be
faster.

This reduces time to run Nessie by 3-5 minutes, I see 12m14s (single run) instead of 14m32s (once) and generally 16-20 minutes on the previous version.

Removing "Run lakeFS S3 to use with local API key" would reduce runtime by another 2m.  Or I could parallelize that too, making those 2m run in parallel, and reducing runtime by a bit less while keeping the same coverage.
@itaiad200 WDYT?


Add feature checking support to go-criu

This adds the feature checking interface with the same semantics as the feature checking through libcriu.

Codecov Report

Merging #60 (046a730) into master (bbf788d) will decrease coverage by 2.51%.
The diff coverage is 13.63%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
- Coverage   25.69%   23.17%   -2.52%
==========================================
  Files          10       10
  Lines        1942     1864      -78
==========================================
- Hits          499      432      -67
- Misses       1356     1359       +3
+ Partials       87       73      -14

Impacted Files
Coverage Δ

features.go
0.00% <0.00%> (ø)

main.go
45.40% <37.50%> (-11.33%)
:arrow_down:

notify.go
11.11% <0.00%> (-11.12%)
:arrow_down:

rpc/rpc.pb.go
9.74% <0.00%> (-0.37%)
:arrow_down:

test/main.go

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 bbf788d...046a730. Read the comment docs.


fix: updates updateNotifier version

Description of changes

update update-notifier package version

Issue

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing in favour of: https://github.com/aws-amplify/amplify-cli/pull/10691


[SPARK-13973] [PySpark]: ipython notebook is going away

What changes were proposed in this pull request?
https://issues.apache.org/jira/browse/SPARK-13973
How was this patch tested?
Pyspark

Test build #53561 has started for PR 11829 at commit 031f157.

Test build #53567 has started for PR 11829 at commit e1a0c40.

Test build #53567 has finished for PR 11829 at commit e1a0c40.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53567/
Test FAILed.

Merged build finished. Test FAILed.

Test build #53561 has finished for PR 11829 at commit 031f157.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53561/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins retest this please

LGTM @davies any concerns about this? it would change beahvior if you don't specify an ipython driver, have both an old and new ipython installed. You'd use jupyter now instead of ipython as the command but that seems desirable in this situation.

Test build #53616 has started for PR 11829 at commit e1a0c40.

Test build #53616 has finished for PR 11829 at commit e1a0c40.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53616/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins retest this please

Test build #53928 has started for PR 11829 at commit e1a0c40.

Test build #53928 has finished for PR 11829 at commit e1a0c40.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53928/
Test FAILed.

Jenkins retest this please

Test build #53944 has started for PR 11829 at commit e1a0c40.

Test build #53944 has finished for PR 11829 at commit e1a0c40.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53944/
Test FAILed.

Jenkins retest this please

Test build #54030 has started for PR 11829 at commit e1a0c40.

Test build #54030 has finished for PR 11829 at commit e1a0c40.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54030/
Test FAILed.

Different failures each time; gotta be spurious

Jenkins retest this please

Test build #54035 has started for PR 11829 at commit e1a0c40.

Test build #54035 has finished for PR 11829 at commit e1a0c40.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54035/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins retest this please

Test build #54176 has started for PR 11829 at commit e1a0c40.

Test build #54176 has finished for PR 11829 at commit e1a0c40.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54176/
Test FAILed.

Test build #54246 has started for PR 11829 at commit 6449b68.

Test build #54246 has finished for PR 11829 at commit 6449b68.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54246/
Test PASSed.

Merged build finished. Test PASSed.

@rekhajoshm ha thanks I guess that was it. I'll merge this to master.


In the new (beta) IntelliJ UI selected file is not highlighted in Project sidebar

Describe the bug
As the title says: when enabling the "beta" UI in IntelliJ, the selected file on the project sidebar does not show as highlighted
(and, to be fair, even with the "traditional" UI, the contrast of the background could be better)
To Reproduce
Steps to reproduce the behavior:

Apply Atom Dark One theme
Choose any of the files in the project
The file on the sidebar is not highlighted

Screenshots

Application:
IntelliJ

Me too, man. How do I fix this?

Has this problem been solved, and how?


fix pow_to_mul to handle float-represented integer powers

Without this, integer powers that are constructed from floats result in the following error:
            elif exp > 0:
>               return sympy.Mul(*[base]*exp, evaluate=False)
E               TypeError: can't multiply sequence by non-int of type 'Float'

thanks, merging


Transliterate accented characters and remove apostrophes

This change allows Str::machine() to preserve accented characters in their non-accented forms, and improves handling of apostrophes.
Example:

Input string: These can't be þe drönes you’re looking for, can they??
Previous output: these-can-t-be-e-dr-nes-you-re-looking-for-can-they
Improved output: these-cant-be-the-drones-youre-looking-for-can-they

Note: This is potentially a breaking change. If Str::machine() is implemented in a case where the resulting machine string is expected to be the same every time — such as in the case of finding an existing record by the machine value of a string — the changes represented here may cause said functionality to fail.

To deal with the possibility of this breaking things we should now start requiring specific versions of TacoWordPress on older versions of websites when updating Composer. On new WordPress sites, we can use require dev-master instead of e.g "1.0.3".  Note, this pattern wouldn't be specific to just your change but all breaking changes in the future.
In terms of testing, you should get PHP Unit up and running locally and run the current tests with the new code. We might also want to test an older site locally with this branch to see how much of an impact it may have.

Closing this, as the Util classes are now in a separate repo. Whatever direction we end up going, we'll create a new method for this transliterated conversion, instead of overwriting machine().


Traffic Options

Traffic options don't seem to be passing through. Unless I am misunderstanding something it is expected that the following map would show traffic events.
<>
    <AzureMapsProvider>
        <AzureMap options={option} trafficOptions={{ incidents: true, flow: "relative" }}>
        </AzureMap>
    </AzureMapsProvider>
</>

Traffic options seem unused in the playground examples.

Thanks for your feedback, we will investigate on that and add sample of traffic options to playgroud.

This issue has been fixed in 0.1.2 version. Playground example will be updated soon.


When remove item from recycle view and do notifyDataSetChanged then HeaderAnimation not working

When remove item from recycle view and do recycle view notifyDataSetChanged
after notifyDataSetChanged if i am scroll the recycle view than Header animation is not properly work.
I have attach Photo.
I have remove last item of adapter and scroll to top.

can you please share your code for adding and removing item??
i have problem that when i add item in place where older item was there .... data will show as like as older item....if you look down you will understand my point...
adding new item "first" :

adding new item "second" :

and result is :

i don't know where i'm doing wrong...
here is my code :
.
.
.
private ArrayList<GestureCustom> mContentItems = new ArrayList<>();

mAdapter = new RecyclerViewMaterialAdapter(new Fragment_4_RecyclerViewAdapter(getContext(),getActivity()
                ,mContentItems,mRecyclerView,ble));

MaterialViewPagerHelper.registerRecyclerView(getActivity(), mRecyclerView, null);

.
.
.
for adding :
mContentItems.add(0,gestureCustom);
mAdapter.notifyItemInserted(3);

for removing:
contents.remove(position-2);
notifyItemRemoved(position-2);
notifyItemRangeChanged(position-2,mContentItems.size());


Cannot see any smoke

Hi, on my pc I cannot see any smoke at all, even if the code break into _
on_explode_timer_timeout
everything seems ok when i step over :
var smoke = smoke_volume.instantiate()
get_parent().add_child(smoke)
smoke.global_position = global_position
queue_free()

Maybe a material issue ?
I am using 4.0.2 Godot stable with an nvidia 3070
Thanks

seems like this is caused to Godot 4.0.2.stable resetting the default environment value to blank. under project settings -> rendering -> environment -> defaults -> default environment set the value to the one found in the root of the project labeled "default_environment.tres" that should fix your issue

Thanks a lot. Will try asap.


ImportError: cannot import name 'AccessTokenInfo' from 'azure.core.credentials'

Package Name: nexusidentity
Package Version: 1.0.0b1
Operating System: windows
Python Version:  3.11

Describe the bug
When running the "az nexusidentity gen-keys" cli, I am running into the below error.
az nexusidentity gen-keys
The command failed with an unexpected error. Here is the traceback: cannot import name 'AccessTokenInfo' from 'azure.core.credentials' (C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\core\credentials.pyc)
To Reproduce
Steps to reproduce the behavior:

az extension add --name nexusidentity
az nexusidentity gen-keys

Expected behavior
Cli should work with prompting any errors.
Possible Cause
Nexusidentity extension installs latest version of azure_identity which relies on AccessTokenInfo from azure.core.credentials. However azure-cli doesn't have the packages installed and expecting the package to be present.
Observation
Though the packages are installed in this path '~.azure\cliextensions\nexusidentity, expectation is the packages to be present in this below path 'C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages
Manually copying the azure azure_identity azure_core to this C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages resolving the issue

Thanks for reaching out.
Please open the issue in https://github.com/Azure/azure-cli repo.


Write hybrid HTTP-Websocket backend

We would like to add websockets to go-ipfs -- for both api and for
connecting to nodes. May be worth adding it to js-libp2p as a transport
soon cc @diasdavid
On Tue, Nov 17, 2015 at 11:15 Enrico Fasoli<EMAIL_ADDRESS>wrote:

—
Reply to this email directly or view it on GitHub
https://github.com/fazo96/ipfs-boards/issues/25.

websockets to go-ipfs would make it a lot nicer to communicate high bandwidth of data (it currently is horrible lol) and by backend I mean a real server application that has some added logic (not just an ipfs node) and automatically gathers data from users to make sure it's not lost.
The ultimate idea is, for browsers that can't or won't run js-ipfs, to talk to a backend via websockets or http. This could have some advantages like:

highly reduced bandwidth for people that have data caps
highly reduced cpu usage / processing power needed because all the lifting is done on the backend

May be worth adding it to js-libp2p as a transport. soon cc @diasdavid

We prefer WebRTC over WebSockets (which pretty much has the same data interface), we would be able to dial to IPFS nodes behind NATs from the browser (or that is what I've been giving priority in libp2p)

@diasdavid what I'd like for this application is something more efficient than HTTP to talk to go-ipfs, doesn't matter what it is just that it is more efficient and well compatibile. As far as js-libp2p from my limited understanding I think WebRTC is better than WebSockets because it's built with peer to peer in mind.
Still, HTTP works, so it's not a priority to build a replacement

Now I understand, you are looking to a WebSockets API, not a WebSockets transport for libp2p.
That should be doable and in small window of time (if someone has the bandwidth, of course), @whyrusleeping made the cli-httpAPI-commands very decoupled :)

We prefer WebRTC over WebSockets (which pretty much has the same data interface)

Tons of sysyems do not speak WebRTC but do speak WebSockets. In the end, it's just another transport. Also we'll need this to help browsers connect to the rest of the network (WebRTC has to bootstrap through introducers-- that can happen over other transports-- WebSockets and HTTP LongPolling or whatever)

you are looking to a WebSockets API

ah, yeah we should make that too.
we should write a way to layer the golang cmds library over a raw socket for clean RPC. people want it to work over unix domain sockets too.


QnA configuration - "Object reference not set to an instance of an object."

Version
branch master, commit 326026e
Browser
What browser are you using?

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS
What operating system are you using?

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Create bot app from template "Luis & QnA"
Create QnA knowledgebase
In Settings add valid
Update flow to use only Qna on start:

Open bot in Emulator

Current behaviour

Expected behavior
There is no error
Additional information
There is no error after steps:

copy qna node from BotProject/ComposerDialog/settings/appsettings.json to BotProject/appsettings.json
manually add missing endpointkey node in qna node

@WTobor  Composer settings will be set into BotProject/ComposerDialog/settings/appsettings.json but not  BotProject/appsettings.json . The latter one is for deployment usage.
"endpointkey" is persist into the memory so that's why you could not see it in appsettings.json
I followed your steps but could not reproduce the issues.
Could you double confirm you have input everything under "qna" setting ?

Yes, I can confirm.

@WTobor  Updated comment to check apsettings file (see above) , by the way for your dialog step in welcome, the QnA step won't be invoked in above flow. We'd better to have tirgger intent with utterance to invoke QnA.

Hi @WTobor I can't reproduce too. If you set those value correctly into settings, It should be persist to disk (ComposerDialog/settings/appsettings.json), and no need to manually add endpoingkey to file. Could you try again in the latest master branch?
FYI. this is the file I get in my localhost, which included endpointkey already.
.
And the property name in settings should be the same as the value you filled in the form.


Fixed miscalculated 'computed' field

This PR fixes the last bug of #1699  "computed must be true, but it is not."
I added the missing line in src/parser.ts
I know that this is the correct fix because I also fixed it in my forked version of Esprima where I support all concrete syntax elements in nodes, as well as a basic .unparse() method on every node.
All tests pass.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1965   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files           1       1
  Lines        4055    4056    +1
  Branches      715     715
======================================
+ Hits         4055    4056    +1

Impacted Files
Coverage Δ

dist/esprima.js
100% <0%> (ø)
: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 24eb7ed...e01c1f2. Read the comment docs.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1965   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files           1       1
  Lines        4055    4056    +1
  Branches      715     715
======================================
+ Hits         4055    4056    +1

Impacted Files
Coverage Δ

dist/esprima.js
100% <0%> (ø)
: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 24eb7ed...e01c1f2. Read the comment docs.

@MikaelMayer Don't expect this PR to be merged. This repo is stall and so is the author it seems. 7 months and the author doesn't even look at your PR :) Well. There are more than 1 year old PR's he didn't look into at all either.

Thank you @MikaelMayer :+1:


arbitrium fork test get's stuck after compilation even when tried with multiple rpc's

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (1ca9b85 2024-04-15T02:39:24.309564000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Intel)
Describe the bug
Hi
I am trying to run fork tests and forking arb mainnet, I tried using public, infura, alchemy rpc's  but my test get's stuck after compilation and I see no logs
I even set the etherscan key before running the test with ETHERSCAN_API_KEY=my_key but that didn't work too
so was wondering if there is a fix for this since my github actions also run the same tests but I don't see a problem there
thanks

Is it possible that you have a very big / infinite loop, or that it will just take a while?
Can you see any activity when running with env RUST_LOG=debug and with -vvv?

RUST_LOG=debug

no loop as soon as I remove vm.createSelectFork("my rpc"); the test executes and I see the logs

I face this issue sometimes not all times for some reason

With what level of verbosity are you running your test? Does lowering the level (from -vvv to -vv) have an impact on the speed of the test run?
If so, a fix has been merged earlier today related to Etherscan traces not being cached correctly that largely resolves this issue.

With what level of verbosity are you running your test? Does lowering the level (from -vvv to -vv) have an impact on the speed of the test run?
If so, a fix has been merged earlier today related to Etherscan traces not being cached correctly that largely resolves this issue.

I am debugging a failing test so the test which passes works with -vv but the failing one is stuck again

Hi @viraj124 are you still experiencing issues around this?

No
On Mon, 15 Jul 2024 at 2:19 PM, zerosnacks @.***> wrote:

Hi @viraj124 https://github.com/viraj124 are you still experiencing
issues around this?
—
Reply to this email directly, view it on GitHub
https://github.com/foundry-rs/foundry/issues/7671#issuecomment-2228370587,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLPO4XDAVHTI7QZUGVHRUTZMO46BAVCNFSM6AAAAABGHXQ4PWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYGM3TANJYG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Doesn't load on a fresh tab, but works when refreshing

Hi,
Since the last update, kiosk mod only partially works, on firefox
When launching HA on a new tab 95% of the time, kiosk mod won't load, with the associated error showing up in the console :
Uncaught (in promise) TypeError: this.ha.hass.resources is null
t https://mydomain/hacsfiles/kiosk-mode/kiosk-mode.js:1
 https://mydomain/hacsfiles/kiosk-mode/kiosk-mode.js:1
When I F5, most of the time kiosk mode then starts to function, but each new tab doesn't load kiosk mode on it's first try.
I'm using :

Kiosk Mode version 1.8.3
Firefox 112.0.1
HA 2023.3.5

I've tried on Edge, and the problem doesn't appear there.
Also I've clean my cache, without success.
Thanks for the plugin, when it was working it was doing wonders

Hi @DevoliaEsp,
Are you sure you are having that since the last update?
The last update was mostly configuration changes but in terms of code changes it was only one line and not related to this.ha.hass.resources. That part of the code was shipped in version 1.8.1.
I‘ll try to reproduce your issue in Firefox. When you say "when launching HA on a new tab" is just open Home Assiastant  for the first time, right?
Regards

Oh indeed, I went straight from 1.7.8 to 1.8.3 my bad.
I've checked, and yes, the problem starts to appear in 1.8.1, but isn't present in 1.7.8
To detail on the issue a bit more : When opening HA for the first time, there's a 50/50% chance that kiosk mode will function
Then, once I refresh the page, it will mostly resolve, even if sometimes, when refreshing an instance where kiosk mode was functionnal, it won't function again.
Thanks for your help

Hi @DevoliaEsp,
Perfect, that helps me a lot and confims what is exactly the version in which you are having issues. I‘ll try to reproduce it, and we can start from there.
Regards

Hi @DevoliaEsp,
I was able to reproduce your issue in Firefox browser. This issue will be solved when this pull request gets merged and a new version is released.

Hi @DevoliaEsp,
A new version of the library has been released. It contains the fix to your issue.
Regards


Feedback: just tried BASE for our project

Describe the solution you'd like
I just tried to use BOAT as the template for our next project at Paperclip Labs.
I ended up aborting, and starting fresh instead.
I want to provide my reasons, as maybe there is some useful feedback which can be extracted.

Feedback 1:
I think there is too much bloat in the template. The initial state is overwhelming, and I ended up gutting a lot of the code. My project only needed a subset of the functionality.
For example:

I want to use chadcn ui, so most template components are not useful
I don’t need any of the demo code
I want to do most of my data fetching server side with Viem directly (with address as query param), so don’t need most of the helper hooks
This project specifically didn’t need contracts, so I delete the contracts folder, and unnested the web app from the web folder
The test files sprinkled throughout made it harder to navigate. Tbh I find it odd a template needs tests in general, see my points below about modularizing. Anything that needs to be tested should probably not live in the template.

Potential solution to address feedback 1:

Instead of all or nothing, selecting which features you want to use in a console config prompt would be nice. Create next app does a good job of this.
I think the “demo” app and the template should be separate, or at least an option to exclude the demo in the config prompt mentioned above.

Feedback 2:
I have an opinionated way I like to structure things, and I found myself reorganizing much of the template code. I realize that a template will never suit everyone, so take this with a grain of salt, maybe it’s just me being picky.
One of the reasons I love onchainkit is because it's just unopinionated  utilities. You can import them and use however you like.
Potential solution to address  feedback 2:

Move anything that does’t need to be in the template into its own package (or maybe into onchainkit)
I think addressing feedback 1, and trying to modularize would alleviate this in general, part of it was just getting bogged down in all the unneeded boilerplate.

I think BOAT is really great for people just getting started with all these tools, or for a quick hackathon project. But for me, and specifically the project I tried it on, in its current state I don’t think it is the best fit. I do wish something like this existed when I was first getting into building in this space.
To summarize, overall, my suggestions are:

Keep it simple yet configurable, only add what the user wants.
Modularize, which will help with^, since it will pull code out of the template and into packages.

I look forward to trying BOAT again for our next project, and really appreciate everything you guys are doing!
Describe alternatives you've considered.
No response

This feedback is GOLD, thank you so much @spennyp
I agree with everything written here. In the first 10 weeks of BOAT, we focused on finding our direction. We experimented with various ideas to determine which ones would stick and which ones wouldn't.
Feedback like this is incredibly valuable in helping us identify areas for improvement or enhancement. This feedback actually reflects many of the internal debates that the core team has been having recently, and you are assisting us in validating several points.
I will address each feedback individually and make progress on it over the next 4-5 weeks. I eagerly anticipate receiving more feedback from you as we continue to make significant progress.

We started to introduce modular installs! - [feature] module installs
Not perfect but slowly getting there. Thank you for your detailed feedback!


Settings/Quick: App crashes on clicking "Convert" in Quick in a specific scenario.

Settings/Quick: Go to Settings. Enter and save 9 digits e.g. 123456789 in Fiat/fiat rate round or Crypto/crypto rate round or Fiat/crypto rate round. Go to Quick. Click any added currency. Enter any amount. Add some currency for conversion. Click Convert. App crashes.

https://github.com/ARK-Builders/ARK-Rate/assets/148435742/bfbb9092-9d85-4c71-9c43-e611b328432e


[Hotfix][javadocs] fix typo.

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2804 (5853c99) into master (8d4a7fe) will increase coverage by 0.11%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2804      +/-   ##
============================================
+ Coverage     52.55%   52.67%   +0.11%
+ Complexity     3707     3514     -193
============================================
  Files           485      462      -23
  Lines         23172    21559    -1613
  Branches       2459     2303     -156
============================================
- Hits          12179    11356     -823
+ Misses         9922     9206     -716
+ Partials       1071      997      -74

Flag
Coverage Δ
Complexity Δ

hudicli
40.29% <ø> (ø)
0.00 <ø> (ø)

hudiclient
∅ <ø> (∅)
0.00 <ø> (ø)

hudicommon
50.67% <ø> (-0.02%)
0.00 <ø> (ø)

hudiflink
56.57% <ø> (ø)
0.00 <ø> (ø)

hudihadoopmr
33.44% <ø> (ø)
0.00 <ø> (ø)

hudisparkdatasource
71.33% <ø> (ø)
0.00 <ø> (ø)

hudisync
?
?

huditimelineservice
?
?

hudiutilities
69.72% <ø> (ø)
0.00 <ø> (ø)

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

Impacted Files
Coverage Δ
Complexity Δ

...a/org/apache/hudi/common/util/ReflectionUtils.java
22.64% <ø> (ø)
6.00 <0.00> (ø)

...e/hudi/common/table/log/HoodieLogFormatWriter.java
78.12% <0.00%> (-1.57%)
26.00% <0.00%> (ø%)

.../src/main/java/org/apache/hudi/dla/util/Utils.java

...va/org/apache/hudi/hive/util/ColumnNameXLator.java

...c/main/java/org/apache/hudi/dla/DLASyncConfig.java

.../org/apache/hudi/hive/HoodieHiveSyncException.java

...di/timeline/service/handlers/FileSliceHandler.java

.../apache/hudi/timeline/service/TimelineService.java

...main/java/org/apache/hudi/hive/HiveSyncConfig.java

...apache/hudi/timeline/service/handlers/Handler.java

... and 15 more

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 52.55%. Comparing base (8d4a7fe) to head (5853c99).
Report is 4184 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master    #2804      +/-   ##
============================================
- Coverage     52.55%   52.55%   -0.01%
  Complexity     3707     3707
============================================
  Files           485      485
  Lines         23172    23172
  Branches       2459     2459
============================================
- Hits          12179    12177       -2
- Misses         9922     9923       +1
- Partials       1071     1072       +1

Flag
Coverage Δ

hudicli
40.29% <ø> (ø)

hudiclient
∅ <ø> (∅)

hudicommon
50.67% <ø> (-0.02%)
:arrow_down:

hudiflink
56.57% <ø> (ø)

hudihadoopmr
33.44% <ø> (ø)

hudisparkdatasource
71.33% <ø> (ø)

hudisync
45.70% <ø> (ø)

huditimelineservice
64.36% <ø> (ø)

hudiutilities
69.72% <ø> (ø)

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

Files
Coverage Δ

...a/org/apache/hudi/common/util/ReflectionUtils.java
22.64% <ø> (ø)

... and 1 file with indirect coverage changes


Component: Multiple selection dropdownlist

Description
In some cases a user have to select more than one value form a large list of values.
Example: Select all countries you have visited
This cannot be handled by checkboxes as the list would be too long.
Screenshots
Screenshot taken from NSM sketches:

Considerations
Is this something we should support? If not we need a pattern or functionality to satisfy the need for this component.
How do we store multiple values?
Acceptance criteria

Describe criteria here (i.e. What is allowed/not allowed (negative tesing), validations, error messages and warnings etc.)

Specification tasks

[ ] Development tasks are defined
[ ] Test design / decide test need

Development tasks

Add tasks here

Definition of done
Verify that this issue meets DoD (Only for project members) before closing.

[ ] Documentation is updated (if relevant)

[ ] Technical documentation (docs.altinn.studio)
[ ] User documentation (altinn.github.io/docs)

[ ] QA
[ ] Manual test is complete (if relevant)
[ ] Automated test is implemented (if relevant)
[ ] All tasks in this userstory are closed (i.e. remaining tasks are moved to other user stories or marked obsolete)

🤔 Functionality wise this is more like an accordion with checkboxes... A dropdown would typically collapse when clicking inside. @Febakke


GH-2825: Provide a way to customize a single listener

Sorry for the delay. Documentation has not been updated as I didn't know were to put this new feature.
The ContainerPostProcessor support has been added. This one can be used in addition to the ContainerCustomizer. As the post processor is more specific, it will be applied after the customizer to allow fine grained customization per container.
Let me know if you have any remarks and I will update accordingly. Thanks.
Resolves https://github.com/spring-projects/spring-kafka/issues/2825

No problem; thanks; will review when I get back on Wednesday; one quick comment is that we wrap Javadoc lines to 90 chars and code lines at 120 chars.
I think we just need to add a small mention at the end of this section:
https://github.com/spring-projects/spring-kafka/blob/61bc2190eb592515e95d322f6d16b359cb5134d0/spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/container-factory.adoc?plain=1#L27-L39

Thanks for the review. All remarks have been addressed. Let me know if I need to adapt something else.

Great; thanks! Merged as 4862d6a64


add some logging to the ban command to figure out why sometimes it doesn't work

Issue created by TheSkeward#1111.

see https://discord.com/channels/289207224075812864/290695292964306948/887482098968035388


Clang 13.0.0 bug at handling ifunc'd memcpy functions w/lto

Bug Report

related to https://github.com/llvm/llvm-project/issues/56290


Add coarse-grained options to security-setup

Add coarse-grained true|false options for:
--disable which disables security for everything
--enable which disables security for everything
--consul=false which enables/disabled all Consul security
--mesos=false which enables/disabled all Mesos security
--marathon=false which enables/disabled all Marathon security
--iptables=false which enables/disables iptables for all
See: https://github.com/CiscoCloud/microservices-infrastructure/pull/239

I'm going to simplify this down a little bit:

[ ] --disable disables everything
[ ] --disable-consul disables all Consul security
[ ] --disable-mesos disables all Mesos security
[ ] --disable-marathon disables all Marathon security
[ ] --disable-iptables disables all iptables rules

These will be high level options whose absence implies that everything should be enabled. They will be in a group called something like "coarse-grained options".
Does that work for you, @keithchambers?

Here's what I've got:
Broad Disable Options:
  disable security for entire components. This overrides any more specific options set from the sections below.

  --disable             disable all security. This overrides everything. (default: False)
  --consul CONSUL       Enable Consul security. This overrides all other Consul options. (default: True)
  --mesos MESOS         Enable Mesos security. This overrides all other Mesos options. (default: True)
  --marathon MARATHON   Enable Marathon security. This overrides all other Marathon options. (default: True)
  --iptables IPTABLES   Use iptables rules. This overrides all other options related to iptables. (default: True)


Open Science 101

[ Project Lead ] @aleimba
[ GitHub Repo ] https://github.com/OKScienceDE/Open_Science_101
[ Track ] Open Educational Resource: you're collaborating on curriculum or other educational resources
[ Level ] Beginner
Description
Collecting teaching resources/material for open science loosely based on the principles of Software/Data Carpentry
This project idea was born during the conference call (https://pad.okfn.org/p/Open_Science_AG_Public_Call_013; blog post coming soon) of the German OKFN Open Science working group (http://www.ag-openscience.de/). Being frustrated with the current state of Open Science skills in the scientific community (and their dissemination) our first step would be to collect teaching material for Open Science (in all its facettes). Our target community are (PhD) students, postdocs etc. at universities, to provide them the possibilities to work in an Open Science fashion. Ideas are currently collected in the issues of the GitHub repo.
The second step could be providing teaching courses by volunteers as is done in the Software/Data Carpentry initiatives.
Note: This is a very preliminary project idea and currently we're scouting the interwebs if any similar initaitive is already running and/or if there's teaching material we can scavenge.

Want to Contribute?
Join us at the Global Sprint June 2-3. Leave a comment in this issue to let the project lead know you're interested in contributing during #mozsprint 2016!

Note to the Project Lead
Congrats, @aleimba! This is your official project listing for the Mozilla Science Global Sprint 2016. To confirm your submission, please complete the following:

[x] Provide a GitHub repository for work and discussion on your project
[ ] Confirm in a comment that at least one person will be available to review and answer questions on this project from 9-5 in their timezone on both June 2 & 3.

Do you want to become a featured project? :tada:
Here are some exercises that will help your project be more inviting to new contributors. We hope you'll try to complete some of these as you prepare for #mozsprint.
If you complete all the exercises, your project will be eligible to be featured in our collection of open source science projects! Once you've finished this list, contact @acabunoc to submit your project for review.

[ ] README.md:
[ ] LICENSE:
[ ] CONTRIBUTING.md:
[ ] Roadmap or an Issue Tracker (with tasks to complete):
[ ] Data Reuse Plan (if applicable):
[ ] Code of Conduct:
[ ] Personas:

Hi @acabunoc,
thanks a lot for your fast response! Yep I'm pushing the members from @OKScienceDE so we'll have one available at both dates.

Ni!
Hi, this wiki-manual from the Brazilian group Ciência Aberta might be useful for you guys...
https://translate.google.com/translate?hl=pt-BR&sl=pt&tl=en&u=https%3A%2F%2Fpt.wikiversity.org%2Fwiki%2FManual_para_Ciência_Aberta
[]s

Great, thanks @solstag!

You're more than welcome, I'm sure our resources (meaning both are ours!) will profit from each other ! =)
(I just not entirely convinced of why one would rather develop this kind of resource on github rather than on a wiki, though I totally get the usefulness of the issue system compared to the awful mediawiki discussion system. Perhaps we should find a way to combine both.)

It really depend on the target format (which we first have to define) but the reason for git/GitHub is IMO easier resolution/avoidance of editing conflicts, more flexibility regarding markup and output format. Plus easier forking as well the mentioned tissue tracker. Hacking all this e.g. into Mediawiki is possible but so much more effort.

Thanks @solstag for the material!
There will be two sites where we will be available in person during the sprint:

On Thursday @matthiasfromm will be at the sprint-site in Berlin
On Friday @aleimba and @konrad will be available at the University of Würzburg (exact location to be announced soon)

Hi @acabunoc,
we've completed the checklist to become a featured project. Please have a look at our repo for the review: https://github.com/OKScienceDE/Open_Science_101
Thanks,
Andreas

Amazing @aleimba! I'll take a look today :)

Thanks @aleimba & team! I've updated the issue to link to all the great resources you created! 🎉 👍 I'll add your project as a featured project today!

Yay, many thanks @acabunoc! :tada:

https://science.mozilla.org/projects/open-science-101

that's great @acabunoc, thanks a lot!

I'm happy to give your repo a look today and tomorrow to see if I have any additional ideas. A shame that I haven't looked at this earlier, otherwise I could have made a trip back home and joined you in Wuerzburg in person.

Hi @pherterich, sounds fantastic!
Too bad you can't join us in person, but we'll be available virtually for the whole #mozsprint: https://gitter.im/matthiasfromm/open-science-101?utm_source=share-link&utm_medium=link&utm_campaign=share-link
For any ideas, please see our issues: https://github.com/OKScienceDE/Open_Science_101/issues
And the milestone: https://github.com/OKScienceDE/Open_Science_101/milestones

we work on a workshop for open science: https://public.etherpad-mozilla.org/p/Berlin_Open_Science

@jcolomb thanks for the heads up. Would probably be a good idea to link up. You want to join our Gitter (see above)? Are you in Berlin at the moment?

Just remembered another useful resource... the book Open Science, Open Issues was also originally written in Portuguese, but was professionally translated into English. The chapter on Open Hardware by Rafael Pezzi and the last chapter on guidelines (by me) I believe are particularly useful for OpenScience101. As anything over a year old nowadays they need a bit of updating, but nothing too serious ;)

Hey @solstag, thanks for the contribution. I see you're very committed on open hardware ;-), but that's great. Would you like to include it yourself in our material collection on the Open Science Q&A site? https://openscience.uni-bielefeld.de/898/which-materials-exist-introducing-specific-audiences-science
This is born out of our issue https://github.com/OKScienceDE/Open_Science_101/issues/5


Update cachepot endpoint

The PR became a bit more than the title, which is usually ok, but it would be really really great to have a better commit history, especially in such cases.
From this it's not really clear what's up with the new Docker images at least:


Fixed FHIR deploy script app roles assignment

Resolves issue #6 .
FHIR deployment script expected fhirroles.json to be in the same directory that the user invoked the script from.
Changed this to expect the file in the script directory by using bash to store the current script directory.
Tested on bash 5 on OS X 11.4.

I figured out the problem with the script. I opened a PR that would allow the deployment script to be run from another directory. Another alternate would be to check the current directory when the script is run and only allow the script to continue if run from the scripts/ directory.


[WIP] Feature/scale factor

Relates to #226, this PR uses the glfwGetMonitorPhysicalSize to calculate the scale factor for a window and use that adjust to screen space (or at least it will eventually)

@bryphe I could use a hand here as I don't entirely understand how were using pixelRatio and how to adjust screen space with the scale factor. You suggested diving window size by the scale factor? (briefly tried that but things become unreadable), not clear on the flow

(briefly tried that but things become unreadable), not sure I follow how changing the window size will impact the the scale of the elements we draw, I'd have imagined that we want to scale everything up by the factor so whereas we'd by drawing a 10 * 10 box with a SF of 1 we want a 4(10 * 10) with a SF of 4

Yep, that's exactly what we want to do! There's two ways of doing this:

Multiply everything by SF of 4
Make the window smaller by SF of 4

The latter approach is what I'm thinking about - if, for example, our window is 400x400, with a SF of 4, but we pretend that it is 100x100 big (using the same size window) - we'll implicitly get that scale. That's what tweaking the ortho matrix does. And we also have to set the root node dimensions to the 100 so that layout happens in the right space.
This approach saves us from having to multiply every element. The downside though is we'll have to also transform mouse events (that'd be in the non-scale-factored space - so a mouse event at 396, 396 would need to be transformed to 99, 99 to give us the right hit-test behavior).
One other thing we need - is we need to add this to our NodeDrawContext and make sure that the TextNode applies the scale factor when it loads the glyph. The problem is, if we have a SF of 4, and we say fontsize=16, and we get a 16px by 16px glyph, we're going to scale that up to 64px x 64px which will look really blurry. So we actually have to ask the FontRenderer to render a 64 glyph. We do this already for devicePixelRatio, but we'll need to incorporate scaleFactor into the calculation as well.
Hope that helps!
This PR also has some info about how the coordinate spaces relate to each other that might be useful: https://github.com/revery-ui/revery/pull/190

@bryphe With the changes I get

Ok some progress, some elements still don't seem to be size properly but the text is rendering at the right size now

@bryphe not sure but the issue I'm now seeing with the squished side bar I think relates to #287 since actually most of the examples look correct, I've never seen them so big but they look crisper. Although the scroll view seems to be incorrectly sized whereas most other UI elements look normal

Oh might have spoken too soon the input,dropdown and tree aren't rendering their content correctly

okay @bryphe think it actually works this time :+1:

Just tried out the latest, @Akin909 - awesome ! Thanks for all the work on this!
I saw one issue - it seemed there was a bug in the avgDPI calculation - I added a comment above. This was causing the scale factor to be quite large on my Surfacebook (4x instead of 2x).
Other than that - looks good 👍 I'm excited about this change since Oni2 will be usable on my Surfacebook without a magnifying glass, lol


fixing dateTimeConvert with double scientific notation values

This happens in v1 query:
Sample query:
select
DATETIMECONVERT(
   		max(rawTs),
		'1:SECONDS:EPOCH',
		'1:SECONDS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm:ss a',
		'1:SECONDS')
  from mytable limit 10

ProcessingException(errorCode:450, message:InternalError:
java.io.IOException: Failed : HTTP error code : 500.
Root Cause: Caught exception while invoking method: public java.lang.String org.apache.pinot.common.function.scalar.DateTimeConvert.dateTimeConvert(java.lang.String,java.lang.String,java.lang.String,java.lang.String) with arguments: [1.6932672E12, 1:SECONDS:EPOCH, 1:SECONDS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm:ss a, 1:SECONDS]

Codecov Report

Merging #11528 (ce17709) into master (b3c87ec) will increase coverage by 48.38%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             master   #11528       +/-   ##
=============================================
+ Coverage     14.51%   62.90%   +48.38%
- Complexity      201     1108      +907
=============================================
  Files          2320     2320
  Lines        124658   124659        +1
  Branches      19031    19031
=============================================
+ Hits          18095    78415    +60320
+ Misses       105031    40645    -64386
- Partials       1532     5599     +4067

Flag
Coverage Δ

integration
?

integration2
?

java-11
14.48% <0.00%> (+<0.01%)
:arrow_up:

java-17
14.48% <0.00%> (-0.01%)
:arrow_down:

java-20
62.89% <100.00%> (+48.38%)
:arrow_up:

temurin
62.90% <100.00%> (+48.38%)
:arrow_up:

unittests
62.90% <100.00%> (+48.38%)
:arrow_up:

unittests1
67.26% <100.00%> (?)

unittests2
14.49% <0.00%> (-0.02%)
:arrow_down:

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

Files Changed
Coverage Δ

.../org/apache/pinot/spi/data/DateTimeFormatSpec.java
82.40% <100.00%> (+82.40%)
:arrow_up:

... and 1491 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I initially thought that we should block "double + epoch" combination but I realized that we probably need to do this because max() always convert the output into double.
Shouldn't we preserve the type when max/min aggregation function is processed? (I'm not sure about the min/max convention for SQL though).
If we preserve the type from max/min aggregation function, we can even block the double type for this function as the epoch is int/long and simple date is in string.
This PR looks good to me as it will unblock the issue that you posted in the example.

Yes, this is done by v2 but not v1, same query will actually work in v2 engine as the return type of max(long) is long.


Don't run flutter/engine's pre-push checks when no code changes between local and remote

Little improvement: Don't run check when no code changes between local and remote.
See this image (it runs every time and cost about 2 minutes)

$ git push
Starting clang-tidy checks.
clang-tidy checks finished in 0:02:27.139012ogress,   0 pending,   0 failed.
Starting formatting checks.
formatting checks finished in 0:00:12.260522
pre-push checks finished in 0:02:39.419607
Everything up-to-date

I found the logic, it's designed to find a merge-base and checks the new commits from the common base every time. So closed it.


The Dart Analysis Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

@mmukagali did you resolve your issue? I just saw the email you sent to<EMAIL_ADDRESS>(sorry for the delay). It contained this:
[4:09:38 PM] [Analyzer] [Error] Unhandled exception:
Bad state: Suspected cycle. [(uri: package:flutter_test/flutter_test.dart, path: /Users/mmukagali/tools/flutter/packages/flutter_test/lib/flutter_test.dart), (uri: package:flutter_test/src/test_text_input.dart, path: /Users/mmukagali/tools/flutter/packages/flutter_test/lib/src/test_text_input.dart), (uri: package:flutter/services.dart, path: /Users/mmukagali/tools/flutter/packages/flutter/lib/services.dart), (uri: package:flutter/src/services/binding.dart, path: /Users/mmuka…
[4:09:38 PM] [Analyzer] [Error] c/src/crop.dart, path: /Users/mmukagali/tools/flutter/bin/cache/pkg/sky_engine/lib/_http/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/crop.dart), (uri: dart:_http/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/src/crop.dart, path: /Users/mmukagali/tools/flutter/bin/cache/pkg/sky_engine/lib/_http/src/src/src/src/src/src/src/src/src/src/src/src/src/src…

This is an issue that came up before at https://github.com/Dart-Code/Dart-Code/issues/4037 but it wasn't clear what caused it there. The OP cleaned a lot of things and got it working but it's not clear what triggered it.
If you see it again, please do post back.
(@scheglov FYI, in case it's useful info that deleting ~/.dartServer may have resolved the reported cycle noted above)


Execution query from another Extension

Good afternoon
Whether prompt there is an opportunity, to execute requests to a DB in a way. I call a command belonging to sqltools from another Extension and pass the query text and the name of the database connection as a parameter?

vscode.commands.executeCommand('sqltools.executeQuery', 'select * from "Users"', { connId: 'localhost' });


Repsrite zookeeper job icon

:cl: lzk228, netwy

tweak: Changed zookeeper job icon

the paw is cute and i like this.

speedmerge🦽


Error in sensor.py

Hello:
I tried to run tsusen but i have this error:
**python tsusen.py
tsusen #v0.3.3
Traceback (most recent call last):
File "tsusen.py", line 54, in
main()
File "tsusen.py", line 39, in main
init_sensor()
File "/root/tsusen-master/core/sensor.py", line 192, in init_sensor
items = re.findall(regex, subprocess.check_output(cmd))
AttributeError: 'module' object has no attribute 'check_output'**
mi python version = 2.6.6
Regards

@venbea because it is new in Python 2.7 and you've tried to use Python 2.6. My mistake is that I haven't noticed this before. Please update to the latest revision and retry it again (you can try with Python 2.6 again)