Question: Thinking Like a Blockstack Developer. :)

Hello Blockstack community,
I am really digging what you have going on here.  In my case I am looking at building a site that is much like CryptoKitties where there are products that I would like to sell in a decentralized way.  I would like users to authenticate basically to have an identity token of some sort.  I really do not want their information or anything involved for all the obvious reasons of storing user data brings.  Really, all I care about is "identity x purchased product y."  For all intents and purposes, it appears that Blockstack will get me that identity token.
Where I am hung up now is how to track when a product is purchased.  In all of your examples, it would seem they are mostly for personal use, e.g. todo or grocery lists.  In this case, I need to have a way of tracking who bought what, when and doing so in a authoritative way.
At this point, I am thinking about doing this all via a hosted API on a centralized server.  But, I wanted to check in here to see if there's a way that I should be considering so that it could truly be decentralized.
CryptoKitties, of course, uses the Ethereum blockchain to store its state via its smart contracts (if I understand correctly with a quick prodding and probing).  Is there an equivalent here that Blockstack recommends?
Thank you for any guidance that you can provide, and for your efforts here.
Michael

NM!  I found out you have a forum, doh!  Moving this to there.


nmap fails to install on uberspace

Hello,
I try to install nmap using brew install nmap, which results in:
$ brew install nmap
==> Downloading https://nmap.org/dist/nmap-7.01.tar.bz2
######################################################################## 100.0%
tar: Child died with signal 11
tar: Error is not recoverable: exiting now
Error: Failure while executing: tar xf /home/mp6/.cache/Homebrew/nmap-7.01.tar.bz2

$ brew gist-logs nmap
Error: No logs.

Any ideas?
Thank you so much for your help.

Signal 11 means tar segfaulted. Not sure why.
Can you provide the output of tar --version please? Maybe there's a bug in the version of tar you're using.
Additionally, can you try to manually execute tar xf /home/mp6/.cache/Homebrew/nmap-7.01.tar.bz2 to see if it segfaults consistently?
Thanks!

Please report brew config and brew doctor. These are usually included in brew gist-logs, but that clearly didn't work this time. You could try brew install gnu-tar bzip2 nmap.


🌐(all) update translations

Purpose
Translations about live feature are not up to date. We want to update
them
Proposal

[x] update translation

From what I understand this has to go to master before you can add the translations.

Yes the translations are added to crowdin when a PR is merged on master.


Add a Builder GTK4 example (importing a UI)

I've only found a few Go GTK3 tutorials for importing UI files using Builder, but I haven't found any that do it for GTK4.
Since the syntax has changed a lot the old code doesn't work, so having an example would be very useful.
For reference this is where I get stuck:
builder := gtk.NewBuilderFromFile("myfile.ui")
button := builder.GetObject("button")

GetObject returns an object as expected, but in GTK3 you could type convert it into a gtk.Button by appending .(*gtk.Button), which doesn't work with GTK4 (error Invalid type assertion: builder.GetObject("Button").(*gtk.Button) (non-interface type *externglib.Object on the left)).

You'll need to explicitly call Cast:
button := builder.GetObject("button").Cast().(*gtk.Button)

This is less of a GTK4 change and more of a "the GTK schema has always had this and the autogenerator is not smart enough to know better."

As a side-note, feel free to PR in a new GTK4 example that demos this. I recommend using the go:embed API, too:
- ui/
  - view.xml
- main.go

//go:embed ui
var uiFiles embed.FS

// use uiFiles...

Thanks :)


How to add a privacy page in the footer?

How can I add a privacy page in the end of the site? Sorry I'm very new to hugo and still have to learn a lot... :) How can I link to a page in the content folder?

Hello @Schokolader,
take a look at the cross-reference feature. But do you have a template/layout to render single documents from the content folder?
By default the theme doesn't provide such a layout because it's intended as a single-page website.

oh thank you for mention that. No at the moment I'm working at your theme to modify it for my website. Then I have to learn how to create that because I like your theme very much. :)

I don't get it. I have now a link on my page, but when I open the website its only a white page. What do I have to do that the theme renders my privacy page?

I'm sorry. I forgot that the shortcodes that are shown on the linked page are not working in templates.
But Hugo has a equivalent template functions called relref and ref.
You can link you content file within a template with {{ ref . "page/privacy.md" }}. This assumes that you use content files to fill the privacy page.
If you hard-code everything in a new template you have to use regular HTML links.

ok thank you. But my privacy page is still only a blanc page. I don't know why. I can click on the link and the link seems correct too. But when I open the page I get only a blanc page.

is it possible that I have errors in my privacy.md page and hugo does not create a correct file?
But I have not much content in the privacy file:
+++
date = "2016-04-29T12:11:59+02:00"
title = "privacy"
+++
test test test

I looked at your agency theme how you did the quicklinks there. So I created a footer.html for the creative theme and put that similar to your agency theme in the footer.html:

                    {{ range .Site.Params.footer.quicklinks }}
                    {{ .text  | markdownify }}
                    {{ end }}

In the config.toml file I included:
[[params.footer.quicklinks]]
text = "Terms of Use"
link = "pages/privacy"
This gives my website exactly what I wanted. A link to my own privacy page. The problem is, the page is still blanc. What do I miss here? How do I have to tell hugo to render the privacy.md file in my content folder?

Single pages like your privacy page are rendered with the template layouts/_default/single.html. I deleted it for this theme because it's (usually) not required.
Create this file and add the necessary HTML. You can copy parts of the homepage if you want to keep elements of the design.

ok thank you very much. That's it. I'm able now to link to a privacy page.

Great to hear that. Can close this issue then?

yes! thx!


Correct limit service ID

I've noticed that limiting functionality doesn't work as expected - rr simply ignores limit settings. I found out that the reason is the wrong limit.ID value. I tried to cover this case with test,  but I couldn't find similar tests and couldn't write such test from scratch.

Please use "constrain" config name in the meantime. Thank you for finding this issue.

Check 1.4.1

Forgot to mention you in Release, sorry, updated now


[Bug] Earlier versions of netty-codec or other jar packages have security breach in agent 8.8.0

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
In skywalking agent 8.8.0, netty and netty-codec versions are 4.1.63.Final, and guava versions are 20.0, which are found to have security breach. The netty version should be upgraded to version 4.1.68.Final or above, while the guava version should be upgraded after 30.0.
At the same time, I found that the version of oap 8.8.0 is different, netty-codec's version is 4.1.68.Final and guava's version is 28.1-jre. Whether the version of the agent can be modified is consistent on both sides?
What you expected to happen
Maintain a consistent version and no security breach in the final version
How to reproduce
The netty version should be upgraded to version 4.1.68.Final or above, while the guava version should be upgraded after 30.0.
Anything else
Some of the descriptions of security breach are listed below.
netty-codec-http
Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty before version 4.1.59.Final there is a vulnerability on Unix-like systems involving an insecure temp file. When netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems. The method "File.createTempFile" on unix-like systems creates a random file, but, by default will create this file with the permissions "-rw-r--r--". Thus, if sensitive information is written to this file, other local users can read this information. This is the case in netty's "AbstractDiskHttpData" is vulnerable. This has been fixed in version 4.1.59.Final. As a workaround, one may specify your own "java.io.tmpdir" when you start the JVM or use "DefaultHttpDataFactory.setBaseDir(...)" to set the directory to something that is only readable by the current user.
netty-codec
The Bzip2 decompression decoder function doesn't allow setting size restrictions on the decompressed output data (which affects the allocation size used during decompression). All users of Bzip2Decoder are affected. The malicious input can trigger an OOME and so a DoS attack
guava
A temp directory creation vulnerability exists in all versions of Guava, allowing an attacker with access to the machine to potentially access data in a temporary directory created by the Guava API com.google.common.io.Files.createTempDir(). By default, on unix-like systems, the created directory is world-readable (readable by an attacker with access to the system). The method in question has been marked @Deprecated in versions 30.0 and later and should not be used. For Android developers, we recommend choosing a temporary directory API provided by Android, such as context.getCacheDir(). For other Java developers, we recommend migrating to the Java 7 API java.nio.file.Files.createTempDirectory() which explicitly configures permissions of 700, or configuring the Java runtime's java.io.tmpdir system property to point to a location whose permissions are appropriately configured.

Maintain a consistent version and no security breach in the final version

This would not be going to happen. This is an open source project, you have all rights to open fork or change the dependency privately.

the netty version is 4.1.68.Final in 8.9.0 and master branch, we typically won't back port CVEs to all previous versions, instead, we encourage users to upgrade to the latest SkyWalking if possible
https://github.com/apache/skywalking/blob/1fdf3a8acf0b86be276d4a6cd288ae9c23e9aa42/oap-server-bom/pom.xml#L63

gRPC haven't had an official release for netty 4.1.68.Final yet (https://github.com/grpc/grpc-java/issues/8617), we can upgrade but we also have to test (and undertake the risk) on our own, (we did this in OAP), what's your opinion? @wu-sheng

As this is a dependency CVE, I would like to keep it open for now. AFAIK, we don't have 8.9.0 release plan for short term..

This CVE belongs to gRPC, we would be better to wait and upgrade after they released or we need to do 8.9.0 agent release.

Thank you for your reply, I will temporarily install a secure version of the jar to use, and look forward to your update.


Follow view should allow POST or GET request

I disagree with this commit. It opens up the doors for abuse, say including an invisible iFrame somewhere pointing to the follow url. It's CSRF, just a lot simpler.
Won't merge.


The new tab button is located above the separator when 14 or more tabs are open. Not displaying the title "New Tab" in all scenarios

The new tab button is located above the separator when 14 or more tabs are open. Not displaying the title "New Tab" in all scenarios. how to make the "New tab" button be located below the separator under pinned tabs and to se title " New tab"? See attached screenshot.

I solved the issue with the Name "New Tab" The problem was in the system language. My language is Ukrainian. I adjusted the code to the Ukrainian name of the button and the name "New tab" was added.

A bug with a button that moves above the separator if more than 14 tabs remain open. I am attaching 2 screenshots. The first one has 13 tabs open. On the second, 14 tabs are open

Try adding this see if this solve your problem.
"New Tab" I will fix it to fit all language in next updates.
Thanks for your feedback!
.resize:has(.separator):has(.sync-and-trash-container .newtab) {
	.separator {translate: 0 calc(var(--biggertab) * -1);}
	.newtab  {translate: 0 18px;}
}

Try adding this see if this solve your problem. "New Tab" I will fix it to fit all language in next updates. Thanks for your feedback!
.resize:has(.separator):has(.sync-and-trash-container .newtab) {
	.separator {translate: 0 calc(var(--biggertab) * -1);}
	.newtab  {translate: 0 18px;}
}

That's how it works. But there are small inaccuracies. There is a displacement of the "New tab" button. See 2 screenshots. The first has 13 tabs, the second has 14 tabs

This one should fix the issue.👍
.sync-and-trash-container {margin: 0 !important;}

This one should fix the issue.👍
.sync-and-trash-container {margin: 0 !important;}

This solution not working

I have rewrite some code on latest version.
Please give the  latest one a try and see if it works fine on your end.

I have rewrite some code on latest version.
Please give the latest one a try and see if it works fine on your end.
I tried. works much better now. Thank you


How can I do click Windows form MessageBox ok button

When I test a pop up  which type is ControlType.Window and acctually it's MessageBox from:
MessageBox.Show(message, caption,
                                 MessageBoxButtons.YesNo,
                                 MessageBoxIcon.Question);

Now I want press the Yes button, but cannot capture button yes and then I tried use enter kyboard as below code, tab input is works fine but enter input not working.
var AddRemoveFlagsForm = uiHelper.FindUIElement(null, "MessageBoxDialog");
var window = AddRemoveFlagsForm.AsWindow();
window.SetForeground();
TestingWait.ForSecond(5, "Wait for continue button");
Keyboard.Press(VirtualKeyShort.TAB);
TestingWait.ForSecond(5, "Wait for continue button");
Keyboard.Press(VirtualKeyShort.TAB);
TestingWait.ForSecond(5, "Wait for continue button");
Keyboard.Press(VirtualKeyShort.ENTER);

And you cannot get the dialog with app.GetAllTopLevelWindows(_automation)[0] and then look for the yes button with first descendant with looking for Name/text of the button?

Did you try @kevinheyvaert variant? Modal Windows are something very special and the should be fetched with the GetAllTopLevelWindows.

I just tested various methods with RoslynPad. I tested with the keyboard and also with directly invoking the yes button. Both of them work.
#r "nuget:FlaUI.UIA3/2.0.0-rc1"
#r "nuget:FlaUI.Core/2.0.0-rc1"
#r "System.Windows.Forms"

using System.Diagnostics;
using System.Windows.Forms;
using FlaUI.Core;
using FlaUI.Core.AutomationElements;
using FlaUI.Core.Definitions;
using FlaUI.Core.Input;
using FlaUI.Core.WindowsAPI;
using FlaUI.UIA3;

var msg = Task.Factory.StartNew(() =>
{
    MessageBox.Show("test", "title", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
});

await Task.Factory.StartNew(() =>
{
    var automation = new UIA3Automation();
    var desk = automation.GetDesktop();
    var msg = desk.FindFirstChild(cf => cf.ByProcessId(Process.GetCurrentProcess().Id).And(cf.ByControlType(ControlType.Window)));
    // Variant 1 with Keyboard
    Thread.Sleep(1000);
    Keyboard.Press(VirtualKeyShort.TAB);
    Thread.Sleep(1000);
    Keyboard.Press(VirtualKeyShort.TAB);
    Thread.Sleep(1000);
    Keyboard.Press(VirtualKeyShort.ENTER);
    // Variant 2 with invoking the button
    var yesButton = msg.FindFirstChild(cf => cf.ByName("Ja")).AsButton();
    yesButton.Invoke();
});
await msg;

I consider this solved, otherwise feel free to re-open it.

The above worked, but a little sporadically (sometimes msg returned null) and required too many thread.sleeps.
A slight change in my code (I made the MessageBox window owner = Application.MainWindow) and I was now able to get the message box reliably like this:
var msg = WaitForElement(() => _mainWindow.ModalWindows.FirstOrDefault().AsWindow());
var yesButton = msg.FindFirstChild(cf => cf.ByName("OK")).AsButton();
yesButton.Invoke();

// Where WaitForElement is defined as
public T WaitForElement<T>(Func<T> getter)
{
    var retry = Retry.WhileNull<T>(
        getter,
        TimeSpan.FromMilliseconds(BigWaitTimeout));

    if (!retry.Success)
    {
        Assert.Fail($"Failed to get an element within a {BigWaitTimeout}ms");
    }

    return retry.Result;
}


Refactor: add atoms index file

Add atoms index file.

Example:
// atoms/index.ts
export {default as Button}  from './AnyWayCard';
export {default as Text}  from './Text';
export {default as AnyWayCard}  from './AnyWayCard';
export {default as AnyWayGrid}  from './AnyWayGrid';

Refactor all other component to use the index.

Example:
// HomePage.ts - before:
import AnyWayCard  from '../components/atoms/AnyWayCard';
import AnyWayGrid from '../components/atoms/AnyWayGrid'

// HomePage.ts - after:
import {AnyWayCard, AnyWayGrid} from '../components/atoms'

merged :   add index file for atoms #36


Swap cursor highlight and selection colors

Not sure if this is within the scope of this plugin or I'd have to bring it up with morhetz.
The issue I see is that currently when resting the cursor on a symbol, it highlights it in blue or blue-green, depending on the symbol. Selection of text highlights as a light grey. This seems to be a little backwards as selecting a symbol means that the unselected area is blue while the selected area is grey.

I find this to be confusing as it is the opposite of how selection works visually in browsers and many operating systems.
Thoughts?

After looking at this closely, other builtin color schemes (Intellij Light, Classic Light, Darcula and High Contrast) also have this behavior.
The identifier under the caret has a different background color.
So I guess the issue is that the background color could be changed to something other than blue?
Builtins color schemes use a redish color.

Please reopen if you think that the selection is still confusing.


Productionise the "remove extras key" functionality

Currently the remove_extras_key is only available on a branch, labelled "DO NOT MERGE", it needs to be made less verbose and turned into a normal command (accepting lists of datasets as other commands do). It turned out using it to fix the datasets for an organization was rather labourious.

Fixed in #33


There's already an IO::String

In the ecosystem: here. This might clash with this IO::String here.
So we need to either adopt it, or qualify it in the use sentences.

.oO(A tiny bell tinkles)
That was likely the reason why I included it locally instead of a use.
Options three: extend the external module to do what I/we want

El vie., 3 ene. 2020 a las 14:15, H.Merijn Brand<EMAIL_ADDRESS>escribió:

.oO(A tiny bell tinkles)
That was likely the reason why I included it locally instead of a use.
Options three: extend the external module to do what I/we want

It's not been updated for some time... So that might be a good option.


Fix planar reflections search for several cameras on one display

Thanks for posting this.
So camera instance ID will uniquely identify both different displays as well as several cameras in one display, is that right?
Are you doing split screen for your project by the way? I haven't tried out the ocean much in split screen, if they are two free views i guess it would required having two oceans and given that the ocean is a global singleton right now, that seems likely to require a bunch of work.

Yes, this code can handle any count cameras with planar reflection script,both on one or multiply displays, only restricted by performance, and I not sure about camera aspect handling in final reflection. For now two camera is limit for my scene, to keep near 60 fps, also i will try to add texture update not every frame, and split reflection update to different frames for different camera. Also currently any camera without reflection script(editor scene camera too) use black reflection ,but not shows wrong reflection map, this look not good.
I already try multiple camera installation with one ocean instance. I may case all camera in one position or somethere nearby but has different direction and projection settings. This for multi-monitor visualization. Two oceans look impossible to handle by perfomance and too hard to handle multiply instance interraction inside ocean components. Some troubles still here:
if one camera go underwater, surface on over camera stop render normally, but in my situation this not big deal, simular kind of camera will be grouped on one computer
Also has trouble with ocean teleport, ocean already has this function, but after all object teleport, wave form little changes, look like teleport missing something inside ocean.

Regarding teleport - i added some notes in this commit - do these help?
34a95aa7bd0cfd7f09b19f477a76fa3f25837eee


Report / log last error of Bastion

What would you like to be added:
In case the lastError is set on the Bastion it should be reported to the user when trying to run the ssh command.
Why is this needed:
To let users see when there is an error when trying to ssh

just saw one of the bastion failure cases today. in case need lastError information for reference.
status:
  lastError:
    description: 'Error reconciling Bastion: Internal Server Error'
    lastUpdateTime: "2022-11-23T13:56:44Z"
  lastOperation:
    description: Reconciling the Bastion
    lastUpdateTime: "2022-11-23T13:56:44Z"
    progress: 1
    state: Processing
    type: Create
  observedGeneration: 1

/assign will take a look


config-loader: add support for new short-form secret syntax

Figured we might as well do
key:
  $env: MY_KEY

instead of
key:
  $secret:
    env: MY_KEY

Data secrets use the same format as the recent PlaceholderProcessor addition to the catalog, i.e. the data path is moved in as a uri fragment of the file path.
For now I didn't change any of the formats, but we could discuss whether we want to align secrets with the PlaceholderProcessor or not.

I guess one open (very minor) question is, if there's any drawback if we now treat everything as a secret. Like, excluding in printouts and whatnot, whether it was semantically secret or not.
But if we had $envsecret and $env it would just be prone to accidents :)

@freben You mean because $env etc would be used for other things than importing secrets? They shouldn't, but the already are, so meh x)
Definitely don't wanna add $envsecret vs $env or anything like that, but I do wanna change how config is selected for sending to the frontend. Upcoming RFC on that ^_>


Modifications are made to support: java 1.7 with vaadin 7.7.8

Se realizan modificaciones para soportar:  java 1.7 con vaadin 7.7.8
Modifications are made to support: java 1.7 with vaadin 7.7.8

Hello, thank you for your PR. For Vaadin 7 support you should push to vaadin7 branch with version line 0.1.x, because the master contains Vaadin 8 version with version line 0.2.x.

Hello Bekce, thanks for your answer, I'll do what you say


merge: dev to stage

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


DAG improperly executes child of conditional tasks that evaluate false

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
I am using the DAG conditional logic to evaluate workflow tasks that should not be run. Take the following simple example case:
A -> B* -> C
A: DAG task that generates value to evaluate
B*: DAG task that is conditional based on value from A and with depends: A
C: DAG Task with depends: B
If B* conditional evaluates to false, I would expect both B* and C tasks to not execute. This is not the behavior Argo Workflow currently exhibits as of v3.4.0.
I've utilized the coin flip example and modified it to demonstrate this issue and it is included in workflow attached to issue.
As can be seen below, the submission of the above workflow executes both post-heads and post-tails. It should only execute one of these based on the coin flip.

Version
v3.4.0
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: dag-conditional-artifacts-
  labels:
    workflows.argoproj.io/test: "true"
  annotations:
    workflows.argoproj.io/description: |
      Conditional artifacts provides a way to choose the output artifacts based on an expression.
      In this example the DAG template has two tasks which will run conditionall using `when`.
      Based on the condition one of steps may not execute. The step template output's artifact will be set to the
      executed step's output artifacts.
    workflows.argoproj.io/version: '>= 3.1.0'
spec:
  entrypoint: main
  templates:
    - name: main
      dag:
        tasks:
          - name: flip-coin
            template: flip-coin
          - name: heads
            depends: flip-coin
            template: heads
            when: "{{tasks.flip-coin.outputs.result}} == heads"
          - name: post-heads
            depends: heads
            template: heads
          - name: tails
            depends: flip-coin
            template: tails
            when: "{{tasks.flip-coin.outputs.result}} == tails"
          - name: post-tails
            depends: tails
            template: tails
      outputs:
        artifacts:
          - name: result
            fromExpression: "tasks['flip-coin'].outputs.result == 'heads' ? tasks.heads.outputs.artifacts.result : tasks.tails.outputs.artifacts.result"

    - name: flip-coin
      script:
        image: python:alpine3.6
        command: [ python ]
        source: |
          import random
          print("heads" if random.randint(0,1) == 0 else "tails")
    - name: heads
      script:
        image: python:alpine3.6
        command: [ python ]
        source: |
          with open("result.txt", "w") as f:
            f.write("it was heads")
      outputs:
        artifacts:
          - name: result
            path: /result.txt

    - name: tails
      script:
        image: python:alpine3.6
        command: [ python ]
        source: |
          with open("result.txt", "w") as f:
            f.write("it was tails")
      outputs:
        artifacts:
          - name: result
            path: /result.txt

Logs from the workflow controller
time="2022-09-19T21:49:04.820Z" level=info msg="Processing workflow" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:04.823Z" level=info msg="Updated phase  -> Running" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:04.823Z" level=info msg="DAG node dag-conditional-artifacts-hsqzc initialized Running" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:04.824Z" level=info msg="All of node dag-conditional-artifacts-hsqzc.flip-coin dependencies [] completed" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:04.824Z" level=info msg="Pod node dag-conditional-artifacts-hsqzc-4073208811 initialized Pending" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:04.831Z" level=info msg="Created pod: dag-conditional-artifacts-hsqzc.flip-coin (dag-conditional-artifacts-hsqzc-flip-coin-4073208811)" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:04.831Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:04.831Z" level=info msg=reconcileAgentPod namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:04.839Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=23955 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.820Z" level=info msg="Processing workflow" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.821Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.821Z" level=info msg="task-result changed" namespace=argo nodeID=dag-conditional-artifacts-hsqzc-4073208811 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.821Z" level=info msg="node changed" namespace=argo new.message= new.phase=Succeeded new.progress=0/1 nodeID=dag-conditional-artifacts-hsqzc-4073208811 old.message= old.phase=Pending old.progress=0/1 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.821Z" level=info msg="All of node dag-conditional-artifacts-hsqzc.heads dependencies [flip-coin] completed" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.821Z" level=info msg="Skipped node dag-conditional-artifacts-hsqzc-4102279299 initialized Skipped (message: when 'tails == heads' evaluated false)" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.821Z" level=info msg="All of node dag-conditional-artifacts-hsqzc.post-heads dependencies [heads] completed" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.821Z" level=info msg="Pod node dag-conditional-artifacts-hsqzc-1891345328 initialized Pending" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.826Z" level=info msg="Created pod: dag-conditional-artifacts-hsqzc.post-heads (dag-conditional-artifacts-hsqzc-heads-1891345328)" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.826Z" level=info msg="All of node dag-conditional-artifacts-hsqzc.tails dependencies [flip-coin] completed" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.826Z" level=info msg="Pod node dag-conditional-artifacts-hsqzc-4018639763 initialized Pending" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.831Z" level=info msg="Created pod: dag-conditional-artifacts-hsqzc.tails (dag-conditional-artifacts-hsqzc-tails-4018639763)" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.831Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.831Z" level=info msg=reconcileAgentPod namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.840Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=24010 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:14.846Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/dag-conditional-artifacts-hsqzc-flip-coin-4073208811/labelPodCompleted
time="2022-09-19T21:49:24.831Z" level=info msg="Processing workflow" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.831Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=3 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.831Z" level=info msg="task-result changed" namespace=argo nodeID=dag-conditional-artifacts-hsqzc-1891345328 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.831Z" level=info msg="task-result changed" namespace=argo nodeID=dag-conditional-artifacts-hsqzc-4018639763 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.831Z" level=info msg="node changed" namespace=argo new.message= new.phase=Succeeded new.progress=0/1 nodeID=dag-conditional-artifacts-hsqzc-4018639763 old.message= old.phase=Pending old.progress=0/1 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.831Z" level=info msg="node changed" namespace=argo new.message= new.phase=Succeeded new.progress=0/1 nodeID=dag-conditional-artifacts-hsqzc-1891345328 old.message= old.phase=Pending old.progress=0/1 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.831Z" level=info msg="All of node dag-conditional-artifacts-hsqzc.post-tails dependencies [tails] completed" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.831Z" level=info msg="Pod node dag-conditional-artifacts-hsqzc-1358398416 initialized Pending" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.836Z" level=info msg="Created pod: dag-conditional-artifacts-hsqzc.post-tails (dag-conditional-artifacts-hsqzc-tails-1358398416)" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.836Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.836Z" level=info msg=reconcileAgentPod namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.844Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=24086 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:24.849Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/dag-conditional-artifacts-hsqzc-heads-1891345328/labelPodCompleted
time="2022-09-19T21:49:24.849Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/dag-conditional-artifacts-hsqzc-tails-4018639763/labelPodCompleted
time="2022-09-19T21:49:34.838Z" level=info msg="Processing workflow" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.838Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=4 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.838Z" level=info msg="task-result changed" namespace=argo nodeID=dag-conditional-artifacts-hsqzc-1358398416 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.838Z" level=info msg="node changed" namespace=argo new.message= new.phase=Succeeded new.progress=0/1 nodeID=dag-conditional-artifacts-hsqzc-1358398416 old.message= old.phase=Pending old.progress=0/1 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="Outbound nodes of dag-conditional-artifacts-hsqzc set to [dag-conditional-artifacts-hsqzc-1891345328 dag-conditional-artifacts-hsqzc-1358398416]" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="node dag-conditional-artifacts-hsqzc phase Running -> Succeeded" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="node dag-conditional-artifacts-hsqzc finished: 2022-09-19 21:49:34.840136713 +0000 UTC" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="Checking daemoned children of dag-conditional-artifacts-hsqzc" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg=reconcileAgentPod namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="Updated phase Running -> Succeeded" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="Marking workflow completed" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="Marking workflow as pending archiving" namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.840Z" level=info msg="Checking daemoned children of " namespace=argo workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.845Z" level=info msg="cleaning up pod" action=deletePod key=argo/dag-conditional-artifacts-hsqzc-1340600742-agent/deletePod
time="2022-09-19T21:49:34.846Z" level=info msg="Workflow update successful" namespace=argo phase=Succeeded resourceVersion=24145 workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.861Z" level=info msg="archiving workflow" namespace=argo uid=ce77c689-b215-4a3c-8f86-7c7849aa037e workflow=dag-conditional-artifacts-hsqzc
time="2022-09-19T21:49:34.866Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/dag-conditional-artifacts-hsqzc-tails-1358398416/labelPodCompleted

Logs from in your workflow's wait container
time="2022-09-19T21:49:06.356Z" level=info msg="Executor initialized" deadline="0001-01-01 00:00:00 +0000 UTC" includeScriptOutput=true namespace=argo podName=dag-conditional-artifacts-hsqzc-flip-coin-4073208811 template="{\"name\":\"flip-coin\",\"inputs\":{},\"outputs\":{},\"metadata\":{},\"script\":{\"name\":\"\",\"image\":\"python:alpine3.6\",\"command\":[\"python\"],\"resources\":{},\"source\":\"import random\\nprint(\\\"heads\\\" if random.randint(0,1) == 0 else \\\"tails\\\")\\n\"}}" version="&Version{Version:v3.4.0-rc3,BuildDate:2022-09-01T00:17:58Z,GitCommit:1696fb21454914552e3451bc6eb9a780b2eec10b,GitTag:v3.4.0-rc3,GitTreeState:clean,GoVersion:go1.18.5,Compiler:gc,Platform:linux/arm64,}"
time="2022-09-19T21:49:06.356Z" level=info msg="Starting deadline monitor"
time="2022-09-19T21:49:08.357Z" level=info msg="Main container completed" error="<nil>"
time="2022-09-19T21:49:08.357Z" level=info msg="Capturing script output"
time="2022-09-19T21:49:08.357Z" level=info msg="No output parameters"
time="2022-09-19T21:49:08.357Z" level=info msg="No output artifacts"
time="2022-09-19T21:49:08.364Z" level=info msg="Create workflowtaskresults 201"
time="2022-09-19T21:49:08.365Z" level=info msg="stopping progress monitor (context done)" error="context canceled"
time="2022-09-19T21:49:08.365Z" level=info msg="Deadline monitor stopped"
time="2022-09-19T21:49:08.365Z" level=info msg="Alloc=6096 TotalAlloc=12246 Sys=18898 NumGC=4 Goroutines=5"
time="2022-09-19T21:49:18.612Z" level=info msg="/var/run/argo/outputs/artifacts/result.txt.tgz -> /tmp/argo/outputs/artifacts/result.tgz"
time="2022-09-19T21:49:18.612Z" level=info msg="S3 Save path: /tmp/argo/outputs/artifacts/result.tgz, key: dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-heads-1891345328/result.tgz"
time="2022-09-19T21:49:18.612Z" level=info msg="Creating minio client using static credentials" endpoint="minio:9000"
time="2022-09-19T21:49:18.612Z" level=info msg="Saving file to s3" bucket=my-bucket endpoint="minio:9000" key=dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-heads-1891345328/result.tgz path=/tmp/argo/outputs/artifacts/result.tgz
time="2022-09-19T21:49:18.617Z" level=info msg="Save artifact" artifactName=result duration=5.174167ms error="<nil>" key=dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-heads-1891345328/result.tgz
time="2022-09-19T21:49:18.617Z" level=info msg="not deleting local artifact" localArtPath=/tmp/argo/outputs/artifacts/result.tgz
time="2022-09-19T21:49:18.617Z" level=info msg="Successfully saved file: /tmp/argo/outputs/artifacts/result.tgz"
time="2022-09-19T21:49:18.623Z" level=info msg="Create workflowtaskresults 201"
time="2022-09-19T21:49:18.623Z" level=info msg="stopping progress monitor (context done)" error="context canceled"
time="2022-09-19T21:49:18.624Z" level=info msg="Alloc=7264 TotalAlloc=12407 Sys=18642 NumGC=3 Goroutines=9"
time="2022-09-19T21:49:27.917Z" level=info msg="S3 Save path: /tmp/argo/outputs/artifacts/result.tgz, key: dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-tails-1358398416/result.tgz"
time="2022-09-19T21:49:27.917Z" level=info msg="Creating minio client using static credentials" endpoint="minio:9000"
time="2022-09-19T21:49:27.917Z" level=info msg="Saving file to s3" bucket=my-bucket endpoint="minio:9000" key=dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-tails-1358398416/result.tgz path=/tmp/argo/outputs/artifacts/result.tgz
time="2022-09-19T21:49:27.922Z" level=info msg="Save artifact" artifactName=result duration=4.981625ms error="<nil>" key=dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-tails-1358398416/result.tgz
time="2022-09-19T21:49:27.922Z" level=info msg="not deleting local artifact" localArtPath=/tmp/argo/outputs/artifacts/result.tgz
time="2022-09-19T21:49:27.922Z" level=info msg="Successfully saved file: /tmp/argo/outputs/artifacts/result.tgz"
time="2022-09-19T21:49:27.928Z" level=info msg="Create workflowtaskresults 201"
time="2022-09-19T21:49:27.928Z" level=info msg="stopping progress monitor (context done)" error="context canceled"
time="2022-09-19T21:49:27.928Z" level=info msg="Deadline monitor stopped"
time="2022-09-19T21:49:27.929Z" level=info msg="Alloc=6783 TotalAlloc=12643 Sys=18642 NumGC=4 Goroutines=7"
time="2022-09-19T21:49:18.634Z" level=info msg="S3 Save path: /tmp/argo/outputs/artifacts/result.tgz, key: dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-tails-4018639763/result.tgz"
time="2022-09-19T21:49:18.634Z" level=info msg="Creating minio client using static credentials" endpoint="minio:9000"
time="2022-09-19T21:49:18.634Z" level=info msg="Saving file to s3" bucket=my-bucket endpoint="minio:9000" key=dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-tails-4018639763/result.tgz path=/tmp/argo/outputs/artifacts/result.tgz
time="2022-09-19T21:49:18.641Z" level=info msg="Save artifact" artifactName=result duration=6.948458ms error="<nil>" key=dag-conditional-artifacts-hsqzc/dag-conditional-artifacts-hsqzc-tails-4018639763/result.tgz
time="2022-09-19T21:49:18.641Z" level=info msg="not deleting local artifact" localArtPath=/tmp/argo/outputs/artifacts/result.tgz
time="2022-09-19T21:49:18.641Z" level=info msg="Successfully saved file: /tmp/argo/outputs/artifacts/result.tgz"
time="2022-09-19T21:49:18.648Z" level=info msg="Create workflowtaskresults 201"
time="2022-09-19T21:49:18.649Z" level=info msg="Deadline monitor stopped"
time="2022-09-19T21:49:18.649Z" level=info msg="stopping progress monitor (context done)" error="context canceled"
time="2022-09-19T21:49:18.649Z" level=info msg="Alloc=6809 TotalAlloc=12570 Sys=18642 NumGC=4 Goroutines=9"

This is a priority for our team and I'm happy to help with resolving this if support is needed.

I've tested on 3.2.6, 3.3.9 and 3.4.0. They all have the same behavior.

@gisjedi Do you like to fix this issue? Please go ahead to submit the PR. We are happy to review it.

It is because node tails was set skipped when evaluate false, it is a type of fullfiled, which cause post-tails running.

You can use heads.Succeeded/tails.Succeeded instead of heads/tails. Because depends: task is equivalent to depands:   (task.Succeeded || task.Skipped || task.Daemoned).
  templates:
    - name: main
      dag:
        tasks:
          - name: flip-coin
            template: flip-coin
          - name: heads
            depends: flip-coin
            template: heads
            when: "{{tasks.flip-coin.outputs.result}} == heads"
          - name: post-heads
            depends: heads.Succeeded
            template: heads
          - name: tails
            depends: flip-coin
            template: tails
            when: "{{tasks.flip-coin.outputs.result}} == tails"
          - name: post-tails
            depends: tails.Succeeded
            template: tails


[BUG] cohere rerank retriever topk not working

The top k parameter of the new cohere rerank retriever node doesn't work. It retrieves ALL the results.
I want to rerank 50 results that I get from pinecone, rerank them and return the top 5 results. Cohere rerank node  returns all 50 results in my conversational retrieval QA chain.

fixed - https://github.com/FlowiseAI/Flowise/pull/1656


Device not getting ready - possibly because continuous measurement not started

Hey Jacob!
Thanks for your library, this should save me a lot of work trying to work with the SCD30 sensor.
However, I can't really get it working. When trying the code from examples/room.toit I get an error saying "Device is not getting ready.". I assume this is because continuous measurement is not enabled yet on my sensor. (See this documentation in chapter 1.3.1)
I have tried to enable it manually by executing device.write #[0x00,0x10] but that didn't work.
Do you have any idea how I can get the sensor to work?
Thanks a lot already!

Hi @florianluediger!
Thanks for reaching out. I haven't looked at the driver since I created the Christmas ball project last Christmas. I can see if it is possible for me to get it to work with the newest Toit firmware version? The Christmas ball is placed somewhere else, so I will have to see if I can fetch it to take a look at it. @floitsch do you still have the Christmas ball laying around?
Did you do some debugging and test if it was possible to get it to work in an Arduino setting? Remember that I had some wirering problems at first :)

I just left for vacation, but maybe @erikcorry can have a look.
If not, I will try to investigate in about two weeks.

Thanks @floitsch! Enjoy your vacation 👍 🥇

Alight, here are some updates:
I have flashed some example code using this Arduino library which worked and produced some sensor readings.
This also seemed to be enough to kick the SCD30 into continuous measurement mode which means that now the Toit code also works. The sensor will even work after power cycling it. I don't really know why the sensor comes preconfigured with continuous measurement off.
Currently this means that for using the SCD30 with this Toit library, I would always have to flash some Arduino code to start the continuous measurement and only then I can use Toit to control it. I couldn't figure out what the Arduino library does differently then my experiments with Toit but maybe you guys can figure that out.

Hi
I found our sensor in the moving boxes, and managed to reproduce your problem.
I've made a pull request at https://github.com/qvisten999/scd30/pull/5
@qvisten999, if you prefer we could just move the package to the official Toitlang github so you don't have to bother with this sort of thing going forwards.

Hi @erikcorry
Yeah, sounds like a plan :)

Turns out there's no great way to "move" a package, so all I could do is create a new one.
For now I've sent you another PR at #6

Okay @erikcorry. Thought it was possible to fork the repo, remove my package from tpkg and then create a new package from the forked version.

@qvisten999 Yes, but I think that means everyone who used the old one can't build any more without fixing it.

I released v1.1.0 in the package registry, which should fix this issue.
(I accidentally released a v1.1.0 under a slightly different name first.  If you got that before I removed it from the registry you may need to do
toit.pkg uninstall scd30
toit.pkg install scd30
to get the right version.  Adjust the command depending on which version of Toit you are using)

I have already tested your changes in the PR that you have created so I can confirm that this works. If you want, you can close the issue.
Thanks for putting in the work to fix this!


Request package

Not sure if this is an local issue or in the package but:
I installed this npm package but when i run it it gives the error:
The "request" library is not installed automatically anymore. install it with....
Even when i install that package and the request-promise as well i keep getting the error. Anyone has any idea?
Node version: v8.9.4

Hi @wokkeltje,
I have no internet actually (I move on new apartment x) at this time). End of the next week, i will have internet back. So remind me to checkup, on my Discord ;) https://discord.gg/PurBeRF
Regards
Quentin

Bug Fixed. Try to update.


Need to add security headers and CORS policies

Need to add security headers and CORS policies
As a service provider
I need my service to use security headers and CORS policies
So that my web site is not vulnerable to CORS attacks
Assumptions
Flask-Talisman will be used for security headers
Flask-Cors will be used to establish cross-origin resource sharing (CORS) policies
Acceptance Criteria
Given the site is secured
When a REST API request is made
Then secure headers and a CORS policy should be returned


Play Folder via Windows Explorer Contextmenu

Hello
and thank you very much for your good work. I am writing to you because my father needs help with a problem, unfortunately his English is not so good ;-). Now to the problem. With VUPlayer 2.x it was possible to play the contents of a folder via the context menu.
The extension in the Windows registry would look like this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Play with VUPlayer]
@=“Play with VUPlayer”
“Icon”=“\”C:\Program Files\VUPlayer 4\VUPlayer.exe\“,0”
[HKEY_CLASSES_ROOT\Directory\shell\Play with VUPlayer\command]
@=“\”C:\Program Files\VUPlayer 4\VUPlayer.exe” \“%1\””
With the new VUPlayer 4.18, the player starts, but no files are listed. What is missing here or is the new version not supporting this?
Many thanks for your efforts
and greetings from Germany

After a bit of testing with command line options, i'd suggest to introduce a new parameter with a folder path and locate this folder inside VUPlayer if given + execute play button.

Hi,
Just to let you know there is a new version of the application (v4.19) which will now recognise folders via the command line (previously, only file names were recognised). For example "VUPlayer.exe" "C:\My Music" should open the My Music folder. This will hopefully resolve the issue when using the folder shell entry from the registry.
Thanks,
James


hw2 q4

my code of graphsage with dataset enzymes shows a worse result of the performance,  and implementation of mine at GAT get a "DefaultCPUAllocator" error.
I check the GAT implementation with yours, and it is almost the same. The code of yours run correctly on my computer. Can you share your opinion of this? Thanks.
The implementation of the GraphSAGE is:
init:
        # self.lin = None # TODO
        # self.agg_lin = None # TODO
        self.lin = nn.Linear(in_channels+out_channels, out_channels)
        self.agg_lin = nn.Linear(in_channels, out_channels)
forward:
        edge_index, _ = pyg_utils.add_self_loops(edge_index, num_nodes=x.size(0))
        neig_x = self.agg_lin(x)
        # print(neig_x.shape)
        # print(x.shape)
        x = torch.cat([x, neig_x], dim=1)
        out = F.relu(self.lin(x))
update:
        if self.normalize_emb:
             aggr_out = F.normalize(aggr_out, 2, dim=-1) #None # TODO

The difference of yours at the GAT is :
message
        # alpha = None # TODO
        x_i_view = x_i.view(-1, self.heads, self.out_channels)
        x_j_view = x_j.view(-1, self.heads, self.out_channels)
        x_cat = torch.cat([x_i_view, x_j_view], dim=-1)
        alpha = F.leaky_relu((self.att * x_cat).sum(dim=-1))
        alpha = pyg_utils.softmax(alpha, edge_index_i, num_nodes=size_i)

Hi, thanks for your attention.
As for the performance, you may check out the details about the hyperparameters here.
As for the error, please check if your other parts of code like data loading, training initialization work well by testing some simple model architectures work well. Otherwise, I may have no other ideas. You are encouraged to google the error to tackle it : (
BTW, you are encouraged to implement mini-batch training of GraphSage and GAT by checking out PyG examples and the original implementation of the authors and evaluate it over large-scale datasets like reddit and ogb-*. Thus, you may get more familiar with these models ; )


System agent plan on Windows nodes.

This was used to track our individual work issues rancher/windows#85 is the main item.
Root cause
Support https://github.com/rancher/system-agent on Windows
What was fixed, or what changes have occurred
Added support in Rancher, System Agent, and Wins to support system agent functionality for RKE2 Windows Server clusters.
Areas or cases that should be tested
Installation of RKE2 v1.21.6-rc1+rke2r2 with all green status checks and verification that the Wins service is running on the system.
What areas could experience regressions?
That Windows nodes aren't able to join the cluster.

Reopening the issues to have more info (info template filled)

Dev validate info.

Steps to check the services are running.
GUI Windows:

In the start bar type Services, and press enter.
Scroll through the list of services looking for rke2 and rancher-wins

No GUI Windows:

In the cmd windows type Powershell
Then type Get-Service rke2
Check the status returned
Then type Get-Service rancher-wins
Check the status returned.

I did try to upgrade from v1.21.6-rc1+rke2r2 to v1.21.7+rke2r2 , but i cannot since i hit this issue - https://github.com/rancher/rancher/issues/35740. Right now, even if the latest RKE2 KDM PR goes in, there is no way QA can test the k8s upgrade issue. Reopened this issue until we have RKE2 versions to test an upgrade.

This issue is pending an v1.21.8 RKE2 RC.
https://suse.slack.com/archives/C02DT51PU2C/p1639061830097500?thread_ts=1639004115.081900&cid=C02DT51PU2C

Moving this to test since this KDM PR is merged

My checks FAILED / BLOCKED

Validation Environment

Component
Version / Type

Rancher version
v2.6.3-rc5

Rancher cluster type
Docker

Docker version
20.10.7, build 20.10.7-0ubuntu5~20.04.2

Helm version
v2.16.8-rancher1

Downstream cluster type
Custom RKE2 Windows

Downstream K8s version
v1.21.7rke2r2

Browser type
Google Chrome

Browser version
96.0.4664.110 (Official Build) (x86_64)

Validation steps

Trying to update the cluster from v1.21.7rke2r2 to v1.21.7-rc2+rke2r3 and it gets stuck in a Provisioning state with "Waiting for plan to be applied". This same outcome is achieved when trying to upgrade various ways.

Setup

Starting from the default Rancher homepage /dashboard/home
Click hamburger menu -> Cluster Management -> Create -> RKE2 Custom
Fill out the cluster creation form

Name: provided some cluster name
Kubernetes Version: v1.21.7rke2r2

Click Edit as YAML -> and delete the following section

chartValues:
      rke2-calico:
        apiServer:
          enabled: true
        calicoctl:
          image: rancher/mirrored-calico-ctl
          tag: v3.20.2
        certs:
          node: {}
          typha: {}
        felixConfiguration:
          featureDetectOverride: ChecksumOffloadBroken=true
          wireguardEnabled: false
        global:
          clusterCIDRv4: ''
          clusterCIDRv6: ''
          systemDefaultRegistry: ''
        installation:
          calicoNetwork:
            bgp: Disabled
            ipPools:
              - blockSize: 24
                cidr: <IP_ADDRESS>/16
                encapsulation: VXLAN
                natOutgoing: Enabled
          controlPlaneTolerations:
            - effect: NoSchedule
              key: node-role.kubernetes.io/control-plane
              operator: Exists
            - effect: NoExecute
              key: node-role.kubernetes.io/etcd
              operator: Exists
          enabled: true
          imagePath: rancher
          imagePrefix: mirrored-calico-
          kubernetesProvider: ''
        ipamConfig:
          autoAllocateBlocks: true
          strictAffinity: true
        tigeraOperator:
          image: rancher/mirrored-calico-operator
          registry: docker.io
          version: v1.20.4
        imagePullSecrets: {}

Click Create
Register the following nodes to the cluster

Linux (control plane, etcd)
Linux (worker)
Windows (worker)
Windows (worker)

Upgrade Attempts Section
Upgrade attempt # 1

Click the profile icon at the top right of the screen -> click Preferences
Mark the checkbox under Advanced for Enable Developer Tools & Features
Click the ellipsis next to the cluster -> View in API -> Edit
In spec change the Kubernetes version from v1.21.7rke2r2 to v1.21.7-rc2+rke2r3 -> click Show Request -> Send Request -> 200 returned

RESULT
Cluster stays in a state of Provisioning : Waiting for plan to be applied.

ssh into the linux etcd, control plane node stuck in provisioning
Run this command journalctl -u rancher-system-agent -f

Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="Setting success threshold to 1"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="Setting failure threshold to 2"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="Probe succeeded"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[Prober] (kube-apiserver) writing probe status to map"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="Probe output was ok"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="Setting success threshold to 1"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="Setting failure threshold to 2"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="Probe succeeded"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[Prober] (kube-scheduler) writing probe status to map"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[K8s] updating lastAppliedResourceVersion to 456101"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=error msg="error syncing 'fleet-default/custom-f20abb9ea933-machine-plan': handler secret-watch: error executing instruction 0: GET https://index.docker.io/v2/rancher/system-agent-installer-rke2/manifests/v1.21.7-rc2-rke2r3: MANIFEST_UNKNOWN: manifest unknown; unknown tag=v1.21.7-rc2-rke2r3: failed to get image index.docker.io/rancher/system-agent-installer-rke2:v1.21.7-rc2-rke2r3, requeuing"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[K8s] Processing secret custom-f20abb9ea933-machine-plan in namespace fleet-default at generation 0 with resource version 456101"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[K8s] Calculated checksum to be [REMOVED]"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[K8s] Remote plan had an applied checksum value of [REMOVED]"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[K8s] Plan appears to have failed before, failure count was 145"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[K8s] 30.000000 second cooldown timer for failed plan application has not passed yet."
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[K8s] needsApplied was false, not applying"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[K8s] Plan with checksum ([REMOVED]) failed during application"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[Prober] (etcd) running probe"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[Prober] (etcd) retrieving existing probe status from map if existing"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[Prober] (kube-scheduler) running probe"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="[Prober] (kube-scheduler) retrieving existing probe status from map if existing"
Dec 15 21:09:38 ip-[REMOVED] rancher-system-agent[16871]: time="2021-12-15T21:09:38Z" level=debug msg="Probe timeout duration: 5 seconds"

Upgrade attempt # 2

Click the ellipsis next to the cluster -> Edit Config -> Edit as YAML
Update kubernetesVersion: v1.21.7+rke2r2 to kubernetesVersion: v1.21.7-rc2+rke2r3
Click Save

RESULT
Cluster stays in a state of Provisioning : Waiting for plan to be applied.

Upgrade attempt # 3

Click the ellipsis next to the cluster -> Edit Config -> Edit as YAML
Update kubernetesVersion: v1.21.7+rke2r2 to kubernetesVersion: v1.21.7-rc2+rke2r3
Delete this section

chartValues:
      rke2-calico:
        apiServer:
          enabled: true
        calicoctl:
          image: rancher/mirrored-calico-ctl
          tag: v3.20.2
        certs:
          node: {}
          typha: {}
        felixConfiguration:
          featureDetectOverride: ChecksumOffloadBroken=true
          wireguardEnabled: false
        global:
          clusterCIDRv4: ''
          clusterCIDRv6: ''
          systemDefaultRegistry: ''
        installation:
          calicoNetwork:
            bgp: Disabled
            ipPools:
              - blockSize: 24
                cidr: <IP_ADDRESS>/16
                encapsulation: VXLAN
                natOutgoing: Enabled
          controlPlaneTolerations:
            - effect: NoSchedule
              key: node-role.kubernetes.io/control-plane
              operator: Exists
            - effect: NoExecute
              key: node-role.kubernetes.io/etcd
              operator: Exists
          enabled: true
          imagePath: rancher
          imagePrefix: mirrored-calico-
          kubernetesProvider: ''
        ipamConfig:
          autoAllocateBlocks: true
          strictAffinity: true
        tigeraOperator:
          image: rancher/mirrored-calico-operator
          registry: docker.io
          version: v1.20.4
        imagePullSecrets: {}

Click Save

RESULT
Cluster stays in a state of Provisioning : Waiting for plan to be applied.

Additional Info
Possibly related issue https://github.com/rancher/rancher/issues/35867

This has been released.


added remark for markdown

https://github.com/wooorm/remark

Thanks! That looks great. Would you mind adding it to the readme?


small fixes,

nothing complicated, removes  when warning message and small visual change to the max_k8s_version.sh

https://github.com/samsung-cnct/k2/pull/800 does the same thing everywhere.


Adding Publication (in .bib file)

Hi  Christophe,
Kindly let me know how do I make a publication list in the current template in a format as shown below (This is IEEE format). Thank you once again for your time and effort.

Hi Shantanu,
What the [1] [2]... are for ?


Conflict with @solana/web3.js in v >= 0.19

@project-serum/anchor seems to conflict with @solana/web3.js in versions greater than or equal to 0.19.
See this SO.
The Solana Connection object would be undefined (or at least it seems to be reassigned) due to the minification / uglification that occurs when using the terser plugin.

You can see from the image that the bundled code is reassigning a to _e15[1] (other test builds I have also see this reassigning s = _vt[[0] or something similar.
Then the highlighted line shows new a.TransactionInstruction is not an object containing a function called TransactionInstruction but the right side inspector does show a global variable called a with the TransactionInstruction function from the @solana/web3.js connection object.
Is it possible to somehow modify the build to prevent conflicts like this?

Fixed in https://github.com/coral-xyz/anchor/pull/2263.


Use a link-local IP source address when sending a Router Solicitation

Description
RA is short for Router Advertisement ( and solicitation ).
This PR is a follow-up for this issue, created by @setdebug.
RA works well as it is now. But when it is time to do a new solicitation, the device will use the public IP-address ( 2001:: ) as a source address. That is the newly assigned IP-address for this interface.
With this change, when doing a solicitation, it will first look for a link-local address which is bound to the interface that needs RA.
The advertisement will always arrive, because it is addressed to ff02::1, which is "all nodes".
Test Steps
Configure two endpoints for the same interface as follows:

A link-local address, easy to remember, e.g.: fe80::7007
A public IP-address, using my (fixed) IPv6 prefix, e.g.: 2001:407:ce54::??? For this endpoint bWantRA must be set to pdTRUE.

Let the device run and wait until it sends a second, repeated router solicitation. During both solicitations you should see the logging:
RA: source fe80::7007

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

In a meanwhile I have tested the automatic refresh of RA. I first shortened the timeouts in /etc/rradvd:
 prefix 2001:407:ce54:0000::/64
 {
     AdvOnLink on;
     AdvAutonomous on;
+    AdvValidLifetime 300;
+    AdvPreferredLifetime 120;
 };

So my device will do a new solicitation every 2 minutes.
As expected it used the correct source address during every solicitation.

I integrated the changes of this PR into a PR about complexity #290.


Release Google.Cloud.Language.V1 version 3.3.0

Changes in this release:
New features

Added support for ModerateText (commit 0af8e03)

Created release for Google.Cloud.Language.V1-3.3.0


Incorrect 'source' value for all Zscaler LSS sourcetypes

I have noticed that the 'source' value for all Zscaler LSS sourcetypes in Splunk from SC4S are set as 'program:'. I believe that the expected value should be 'sc4s'?

:tada: This issue has been resolved in version 1.79.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ThreadError: thread tried to join itself, when running Tarantula test

The following test fails at 'follow_redirect!' with ThreadError (stack trace below)
def test_tarantula
post '/session', :login => 'aaron', :password => 'monkey'
assert_response :redirect
assert_redirected_to '/home'
follow_redirect!
tarantula_crawl(self)

end
ThreadError: thread 0xb77fc1ac tried to join itself
tarantula (0.3.3) [v] lib/relevance/tarantula/rails_integration_proxy.rb:33:in send'     tarantula (0.3.3) [v] lib/relevance/tarantula/rails_integration_proxy.rb:33:in get'
tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:122:in send'     tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:122:in follow'
tarantula (0.3.3) [v] lib/relevance/tarantula/link.rb:36:in crawl'     tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:99:in crawl_the_queue'
tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:92:in do_crawl'     tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:64:in crawl'
tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:60:in times'     tarantula (0.3.3) [v] lib/relevance/tarantula/crawler.rb:60:in crawl'
tarantula (0.3.3) [v] lib/relevance/core_extensions/test_case.rb:8:in tarantula_crawl'     /test/tarantula/tarantula_test.rb:17:in test_tarantula'

Our CI is green for 3 versions of ruby and rails 3.0.10 - http://travis-ci.org/#!/relevance/tarantula
If you have a specific rails + ruby version I can look into this more

Closing. Feel free to reopen if still an issue.


DIY do not load and missing nook miles ticket

Code for nook miles ticket : 16DB
DIYs are not loading into the game. heres a list of diy codes https://mpql.net/tools/acnh/codes/item-list/

how to change item color


Add hint option

When clicked on hint, the user would get solutions of 2 blank spaces from the board.

Hey, I am interested in this. Can you assign this issue to me ?

Yeah sure. Send a preview of changes you made before making a PR.

Okay, I will share you the screenshot once the chances are being done.

@smashcoder you working on it ?

Ya, I am on it.

Great then, expecting you to complete by tomorrow

I will need some time as I am working with a multiple projects and handling my college sessions too. I will update you within 2-3 days.

@smashcoder okay

I am facing 2-3 issues while developing a code for the button.
Issue 1 : CSS File
I am unable to find the css that has being used for buttons. If you have imported it from other source please provide me the resource.
Issue 2 : Solve Button Functioning
How does the solve button works ? Please explain it's working so that in the same way the hint button should also work.
Issue 3 : Creating A Pull Request
Should I create a pull request till the work I have done or send my work in a new branch of this repository ? ( Even thou you might feel no need for such small change pull request but keeping a backup by branching would not only keep Hint button setting same but also help you and other people know there are other things that are going to add up)

Please Let Me Know what should I do regarding the changes that I had shared with you?


steam: fix 32bit driver check, use 32bit compatible ldd, make pressure-vessel better

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I want to bring the closure size reduction for steam-small back but I kinda ran into a general issue which also exists on current nixos-unstable https://github.com/ValveSoftware/steam-runtime/issues/684 and before that is not being fixed, I think this PR will stay on DRAFT to not make more damage.

Overall I really want to have a response from Valve before we move ahead with this hack. This would inflate the fhsenv size massively...

Yeah, fine for me. I think my initial issue was caused by corrupted files for whatever reason. It also works without this patch but the runtime check run through pressure-vessel reports pots of issues which is probably not great.

Yes, the steam package is now kinda fat :(
steam: +6069086.3 KiB

Yep

So are we blocked on the Valve folks shipping the pressure-vessel fix here?

It's now on client_beta (the fix) for SLR-3.0 https://github.com/ValveSoftware/steam-runtime/issues/684#issuecomment-2286115991


Use Logging Module For Printing Info And Warnings

The excellent module logging should be used instead of printing our messages! Get an idea by reading the doc: https://docs.python.org/3/howto/logging.html

Done - we've been using loguru


Added working logstash remote logger.

More Features:

Reconnect logic with backoff.
Async logging
Metrics

PTAL @kdima @joshpmcghee
Signed-off-by: Bartek Plotka<EMAIL_ADDRESS>

Codecov Report

Merging #38 into master will decrease coverage by 2.52%.
The diff coverage is 45.09%.

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   49.75%   47.23%   -2.53%
==========================================
  Files          22       26       +4
  Lines        1039     1192     +153
==========================================
+ Hits          517      563      +46
- Misses        481      586     +105
- Partials       41       43       +2

Impacted Files
Coverage Δ

lib/logstash/logstash_formatter.go
0% <0%> (ø)

lib/logstash/logstash.go
0% <0%> (ø)

lib/logstash/reporter.go
68.42% <68.42%> (ø)

lib/logstash/conn.go
82.5% <82.5%> (ø)

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 7e54a7c...af15fb9. Read the comment docs.


Docs and unittests for SysTime DST handling.

https://issues.dlang.org/show_bug.cgi?id=15339
While the way Phobos currently handles DST isn't the only correct way, it is a correct way. I documented what we currently do and added unittests to ensure that we remain that way.

Makes sense CC @jmdavis

I've been thinking of explicitly marking the SysTime functions which are calendar-based (i.e. take the time zone into account rather than just operating in UTC) as such in their documentation. I guess that this is further proof that I should do that.

ping @dhasenan
Any updates w.r.t. to @jmdavis 's comments?

Ping again @dhasenan


I would like to build a filter that shows the availability of flowers through the year.

Hi. I want to build a filter where I can check which flowers are available for example from February to June.
I also want to filter by color.
Can anyone help me?
Thanks!

I have figured this out myself. The thing that I would like help with is looping through the fields in my json file and list all the values under the field "color" so that you can filter by color. Then I don't have to manually create the check boxes for the color field.


prototype using GeneSetModal in OncoMatrix

Description
Addresses https://gdc-ctds.atlassian.net/browse/FEAT-766.
Checklist

[ ] Added proper unit tests
[ ] Left proper TODO messages for any remaining tasks
[ ] Scanned for web accessibility with aXe, and mitigated or documented
flagged issues

Screenshots/Screen Recordings (if Appropriate)

@craigrbarnes I've started to use GeneSetModal in OncoMatrixWrapper.tsx, following the pattern in FilterPanel.tsx.  However, I'm seeing errors that may be due to improper use or the GeneSetModal. Please note that testing this branch requires having a local PP dev environment, so the errors reported here mat not be easily replicated with the standard GFF dev setup.

@craigrbarnes I've started to use GeneSetModal in OncoMatrixWrapper.tsx, following the pattern in FilterPanel.tsx. However, I'm seeing errors that may be due to improper use or the GeneSetModal. Please note that testing this branch requires having a local PP dev environment, so the errors reported here mat not be easily replicated with the standard GFF dev setup.

I just saw this. I will investigate now

ncoMatrixWrapper.tsx,

I see what the issue is: The MF app has its own redux store, as we have implemented it as an app with its own local filters. You can see it defined here:  https://github.com/NCI-GDC/gdc-frontend-framework/blob/6667b824b94d2a08e0b9da49896cee2dffcc2604/packages/portal-proto/src/features/genomic/appApi.ts
This means that this hook can only be used by the Mutation Frequency app and not anywhere else as it will not have access to MF app's redux store.
The developer's guide describes how apps are structured and implemented.

@craigrbarnes I was able to get back to this task only this week. After looking at your code links and usage patterns, it's now clear to me that the GeneSetModal is meant to update a general or app-specific (cohort) filter via hooks. Whereas, the PP use case is to simply get a gene list to use a rows in the OncoMatrix, it's not meant to filter the cohort. Would it be possible for the GeneSetModal to have a calback option that receives a gene list/array as argument, instead of triggering hooks? Or maybe there is a better solution or another modal that can do this? Basically, we'd like to reuse a modal that a GDC user is familiar with, that would allow recovering their saved gene set, not necessarily a filter although we can parse the gene list from that as needed.

See my comment on https://gdc-ctds.atlassian.net/browse/FEAT-766?focusedCommentId=62740

@craigrbarnes would it be okay to rebase this long-lived branch on develop so that the PR discussion/history is kept, or should I open another PR with a new branch that's already based off develop *and just refer to this PR)?

I approved. However, the GitLab pipeline status needs to be clear. I tried an empty commit, but it did not work. I will work with devops to see what the issue is.


add browser.d.ts

Hello @rapropos,
Thank you for creating these typings. I noticed that you removed the browser.d.ts in the previous commit probably because it was a duplicate of node.d.ts. But it turns out that not having a reference to the browser in the typings.json causes the typings command to assume that the main is the browser. Here are the actual outputs:
Before this PR:
Without a browser reference in typings.json
{
  "name": "node-uuid",
  "main": "node.d.ts",
  "dependencies": {}
}

the output of typings install ... looks like the following:
typings
├── [drwxr-xr-x  136]  main/
│   ├── [drwxr-xr-x  272]  ambient/
│   ├── [drwxr-xr-x  272]  definitions/    ## The empty main tree is the problem
├── [drwxr-xr-x  136]  browser/
│   └── [drwxr-xr-x  102]  node-uuid/
│       └── [-rw-r--r-- 1.2K]  node-uuid.d.ts
├── [-rw-r--r--  459]  main.d.ts
└── [-rw-r--r--  254]  tsd.json

After this PR:
With the browser reference in typings.json
{
  "name": "node-uuid",
  "main": "node.d.ts",
  "browser": "node.d.ts",
  "dependencies": {}
}

the output of typings install ... looks like:
typings
├── [drwxr-xr-x  102]  custom/
│   └── [-rw-r--r--  166]  pool-redis-promise.d.ts
├── [drwxr-xr-x  136]  main/
│   ├── [drwxr-xr-x  272]  ambient/
│   └── [drwxr-xr-x  102]  definitions/    ## Yay!
│       └── [drwxr-xr-x  102]  node-uuid/
│           └── [-rw-r--r-- 1.2K]  node-uuid.d.ts
├── [drwxr-xr-x  136]  browser/
│   └── [drwxr-xr-x  102]  node-uuid/
│       └── [-rw-r--r-- 1.2K]  node-uuid.d.ts
├── [-rw-r--r--  459]  main.d.ts
└── [-rw-r--r--  254]  tsd.json

To prevent duplicated .d.ts we can simply reference both main and browser to the same .d.ts since in our case they are the same. Would like to hear your thoughts on this.
For reference:
$ typings --version
0.6.8
$ tsc --version
message TS6029: Version 1.7.5

Thank you for your comment. I removed browser.d.ts due to this discussion. @blakeembrey, could you chime in on what I should do here?

The first case works for me, and it's how it's always been intended to work. @sshquack can you confirm this is a reproducible bug? I haven't seen that issue before.

Oops. This was my bad. It's totally working as expected when I tried it again on a clean directory.
$ typings install github:rapropos/typed-node-uuid --save
? What is the dependency name? node-uuid
node-uuid
└── (No dependencies)

$ tree
.
├── [drwxr-xr-x  204]  typings/
│   ├── [drwxr-xr-x  102]  browser/
│   │   └── [drwxr-xr-x  102]  definitions/
│   │       └── [drwxr-xr-x  102]  node-uuid/
│   │           └── [-rw-r--r-- 1.2K]  node-uuid.d.ts
│   ├── [-rw-r--r--   70]  browser.d.ts
│   ├── [drwxr-xr-x  102]  main/
│   │   └── [drwxr-xr-x  102]  definitions/
│   │       └── [drwxr-xr-x  102]  node-uuid/
│   │           └── [-rw-r--r-- 1.2K]  node-uuid.d.ts
│   └── [-rw-r--r--   67]  main.d.ts
└── [-rw-r--r--   79]  typings.json

Sorry for the confusion @rapropos and @blakeembrey :disappointed_relieved:
@rapropos I've updated the PR to just update the readme file. Please feel free to ignore or merge them.
Thanks!

Yeah, wasn't sure how the old directory structure appeared - definitely let me know if a bug like that appears again.

I think the proposed CLI usage addition is excessive, as it should be found just with typings install uuid, so I think I'll just leave it out for the moment.

Just a thought - It might be better to keep the names consistent. npm install node-uuid vs typings install uuid

@sshquack Definitely should be, that's on me - I got mixed up with https://github.com/defunctzombie/node-uuid when the PR was submitted. @rapropos Feel free to correct that in the registry :+1: