Compile Issue

When trying to compile I get this error. Any ideas?
`Arduino: 1.6.8 (Windows 10), Board: "WeMos D1 R1, 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void setup()':
printermonitor:172: error: 'readSettings' was not declared in this scope
readSettings();
            ^

printermonitor:256: error: 'displayPrinterStatus' was not declared in this scope
 server.on("/", displayPrinterStatus);

                ^

printermonitor:257: error: 'handleSystemReset' was not declared in this scope
 server.on("/systemreset", handleSystemReset);

                           ^

printermonitor:258: error: 'handleWifiReset' was not declared in this scope
 server.on("/forgetwifi", handleWifiReset);

                          ^

printermonitor:259: error: 'handleUpdateConfig' was not declared in this scope
 server.on("/updateconfig", handleUpdateConfig);

                            ^

printermonitor:260: error: 'handleUpdateWeather' was not declared in this scope
 server.on("/updateweatherconfig", handleUpdateWeather);

                                   ^

printermonitor:261: error: 'handleConfigure' was not declared in this scope
 server.on("/configure", handleConfigure);

                         ^

printermonitor:262: error: 'handleWeatherConfigure' was not declared in this scope
 server.on("/configureweather", handleWeatherConfigure);

                                ^

printermonitor:263: error: 'redirectHome' was not declared in this scope
 server.onNotFound(redirectHome);

                   ^

printermonitor:289: error: 'flashLED' was not declared in this scope
flashLED(5, 500);
              ^

printermonitor:290: error: 'findMDNS' was not declared in this scope
findMDNS();  //go find Octoprint Server by the hostname
        ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void findMDNS()':
printermonitor:315: error: 'writeSettings' was not declared in this scope
   writeSettings(); // update the settings

                 ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void loop()':
printermonitor:326: error: 'getMinutesFromLastRefresh' was not declared in this scope
if((getMinutesFromLastRefresh() >= minutesBetweenDataRefresh) || lastEpoch == 0) {
                             ^

printermonitor:327: error: 'getUpdateTime' was not declared in this scope
 getUpdateTime();

               ^

printermonitor:346: error: 'checkDisplay' was not declared in this scope
checkDisplay(); // Check to see if the printer is on or offline and change display.
            ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void handleSystemReset()':
printermonitor:382: error: 'redirectHome' was not declared in this scope
 redirectHome();

              ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void handleUpdateWeather()':
printermonitor:395: error: 'writeSettings' was not declared in this scope
writeSettings();
             ^

printermonitor:397: error: 'checkDisplay' was not declared in this scope
checkDisplay();
            ^

printermonitor:399: error: 'redirectHome' was not declared in this scope
redirectHome();
            ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void handleUpdateConfig()':
printermonitor:421: error: 'writeSettings' was not declared in this scope
writeSettings();
             ^

printermonitor:424: error: 'checkDisplay' was not declared in this scope
checkDisplay();
            ^

printermonitor:426: error: 'redirectHome' was not declared in this scope
redirectHome();
            ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void handleWifiReset()':
printermonitor:435: error: 'redirectHome' was not declared in this scope
redirectHome();
            ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void handleWeatherConfigure()':
printermonitor:454: error: 'getHeader' was not declared in this scope
html = getHeader();
                ^

printermonitor:474: error: 'getFooter' was not declared in this scope
html = getFooter();
                ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void handleConfigure()':
printermonitor:494: error: 'getHeader' was not declared in this scope
html = getHeader();
                ^

printermonitor:527: error: 'getFooter' was not declared in this scope
html = getFooter();
                ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void displayMessage(String)':
printermonitor:542: error: 'getHeader' was not declared in this scope
String html = getHeader();
                       ^

printermonitor:545: error: 'getFooter' was not declared in this scope
html = getFooter();
                ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'String getHeader()':
printermonitor:564: error: too many arguments to function 'String getHeader()'
return getHeader(false);
                     ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino:563:8: note: declared here
String getHeader() {
    ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void displayPrinterStatus()':
printermonitor:659: error: 'zeroPad' was not declared in this scope
 html += "Est. Print Time Left: " + zeroPad(hours) + ":" + zeroPad(minutes) + ":" + zeroPad(seconds) + "
";

                                                 ^

printermonitor:689: error: 'getSpeedSymbol' was not declared in this scope
   html += weatherClient.getWind(0) + " " + getSpeedSymbol() + " Wind
";

                                                                                ^

printermonitor:693: error: 'getTempSymbol' was not declared in this scope
   html += weatherClient.getTempRounded(0) + getTempSymbol(true) + "
";

                                                               ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void configModeCallback(WiFiManager*)':
printermonitor:727: error: 'flashLED' was not declared in this scope
flashLED(20, 50);
              ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void drawScreen2(OLEDDisplay*, OLEDDisplayUiState*, int16_t, int16_t)':
printermonitor:765: error: 'zeroPad' was not declared in this scope
String time = zeroPad(hours) + ":" + zeroPad(minutes) + ":" + zeroPad(seconds);
                          ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void drawScreen3(OLEDDisplay*, OLEDDisplayUiState*, int16_t, int16_t)':
printermonitor:782: error: 'zeroPad' was not declared in this scope
String time = zeroPad(hours) + ":" + zeroPad(minutes) + ":" + zeroPad(seconds);
                          ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void drawWeather(OLEDDisplay*, OLEDDisplayUiState*, int16_t, int16_t)':
printermonitor:802: error: 'getTempSymbol' was not declared in this scope
display->drawString(0 + x, 0 + y, weatherClient.getTempRounded(0) + getTempSymbol());
                                                                                ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'String getTempSymbol()':
printermonitor:813: error: too many arguments to function 'String getTempSymbol()'
return getTempSymbol(false);
                         ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino:812:8: note: declared here
String getTempSymbol() {
    ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void drawHeaderOverlay(OLEDDisplay*, OLEDDisplayUiState*)':
printermonitor:874: error: 'drawRssi' was not declared in this scope
drawRssi(display);
               ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void drawClockHeaderOverlay(OLEDDisplay*, OLEDDisplayUiState*)':
printermonitor:891: error: 'drawRssi' was not declared in this scope
drawRssi(display);
               ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void writeSettings()':
printermonitor:946: error: 'readSettings' was not declared in this scope
readSettings();
            ^

G:\Documents\Arduino\printer-monitor-master\printer-monitor-master\printermonitor\printermonitor.ino: In function 'void checkDisplay()':
printermonitor:1062: error: 'enableDisplay' was not declared in this scope
 enableDisplay(true);

                   ^

printermonitor:1074: error: 'enableDisplay' was not declared in this scope
 enableDisplay(false);

                    ^

printermonitor:1080: error: 'enableDisplay' was not declared in this scope
   enableDisplay(true);

                     ^

exit status 1
'readSettings' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`

Wow -- well... do you have all the files that go with the printermonitor.ino file in the same directory.   Do you have all the supporting library files installed and in the path.
Please take a look at the detailed video done by Chris Riley.  It has lots of good information on making sure you have everything setup correctly to compile the code.   https://youtu.be/Rm-l1FSuJpI

Windows Arduino 1.6.8 is more than two years out of date as well (March 2016). A lot has changed since those days in the IDE as well as supporting libraries.

Lol wow, so I'll update my IDE and try again.
And that's actually the video I've been using.

Ahhh, good catch guys.   Let us know how it goes.

Yeah, been bitten myself a few times with a few versions behind...LOL
Remember to update your libraries and boards as well. That'll keep everything happier...:-)

Ok, so I've gotten a little bit further.
It seemed that some of the libraries like the ArduinoJson didn't like to be at their latest build. I ended up closely looking at what versions of each library Chris used in his video and used that.
Now its compiling but I'm getting another error.
`Arduino: 1.8.5 (Windows Store <IP_ADDRESS>) (Windows 10), Board: "WeMos D1 R2 & mini, 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
Archiving built core (caching) in: C:\Users\alexa\AppData\Local\Temp\arduino_cache_476758\core\core_esp8266_esp8266_d1_mini_CpuFrequency_80,FlashSize_4M1M,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_921600_f61d43f952a7d3551d2738c9a0d3b1b6.a
Sketch uses 471185 bytes (45%) of program storage space. Maximum is 1044464 bytes.
Global variables use 49112 bytes (59%) of dynamic memory, leaving 32808 bytes for local variables. Maximum is 81920 bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`

Fixed by resetting the D1 mini.
Thanks for all of everyone's help.


Visual Studio: Hyperlink @see to referenced type

Hi,
In the following

// file A

module foo {
   export interface Bar {}
}

// file B

module foofoo {

  /** Defines options for creating an instance of @see foo.Bar */
  export interface BarOptions {
  }
}

it will be useful if the text referenced by @see (i.e. foo.Bar) is hyperlinked to interface Bar in file A.

+1

@sandersn @Kingwl
We've just upgraded to version 4.1 RC and this issue is not fixed for namespaces as outlined above. The issue used the old syntax module for namespace but that shouldn't change anything.
Please can you reopen? Thanks

Doube check and It seems work.

@Kingwl
The @see only works when it is on a separate line. For example,
this does not work
/** Creates an instance of @see foo.bar */
interface foo {
}

But this works
/**
 * Creates an instance of
 * @see foo.bar
 */
interface foo {
}

I'm not sure whether you see this as a bug, but it's certainly surprising behaviour.
I'm using
Visual Studio Community 2019 Version 16.7.7
Typescript 4.1
Also # 2 you seem to have something that looks like Code Lens (the 0 references | 0 implementations. How do you enable that?
Also # 3 I need to hold down the control key for the hyperlink to appear.
Thanks

@NoelAbrahams I'm pretty sure that JSDoc tags are only allowed at the beginning of the line. There are also inline tags like foo {@link Bar bar} baz but they require braces. A regular tag in the middle of sentence should just be interpreted as regular text.

@phaux thanks for looking that up. I looked up what appears to be the official documentation and there is no clear definition of whether @see should appear on a newline or not — although in the examples they've provided the tag does always appear on a newline.
The fault is in the specification, for lack of clarity, and implementers appear to have decided on not supporting inline @see.

@NoelAbrahams As you noted, jsdoc.app really only gives examples of one nested tag -- @link. The rest of them are always the first thing on a line.
TS mostly supports inline tags, but the implementation is quirky since it's best-effort, not really a committed feature. Specifically, an inline tag works if the line starts with a non-inline tag, or is a line following such a line:
/** @param foo @see foo.bar */

or
/** @param foo - a long description
 * also @see foo.bar */

This is all down to the state machine we use for parsing, so it could be improved to also support
/** for more info @see foo.bar */

@sandersn Thanks for your PR, but it seems that currently the ts-sever in VS Code doesn't support references unless a comment is at the begin of a block / declaration sentence.
I tried such usages:
// this works
if (foo) {
   /** satisfy {@link ConditionsIfFoo} */
   str = getBar()
}

// this doesn't work
if (foo) { /** satisfy {@link ConditionsIfFoo} */
   str = getBar()
}

// this doesn't work
if (foo)
{
}
/** all the below satisfy {@link ConditionsIfFoo} */
else if (1) {
} else if (2) {
} else {
}

While highlighting works well for all the 3 cases.

@gdh1995 can you open a new issue? That's a missing feature that needs a detailed proposal. Currently jsdoc only works when attached to a declaration of some kind. The exceptions are @typedef and @callback, so @link could work like those. However, all 3 tags have complex scope rules, and we'd have to think about how those rules would need to change for @link.

Sorry I didn't know a hint would require so many details. I'm unable to give such a proposal, so let me forget it. I'll update my code to try to make tsserver happy.


Decouple Ensemble Step from ML Step

With the updates to the code in https://github.com/Reed-CompBio/spras/pull/160, algorithms with multiple parameter combinations will now run aggregate per-algorithm ML code. As a result, we won't be able to run ensemble code for algorithms with one or fewer parameter combinations. To ensure we have ensemble networks for all algorithms, we need to create a new rule that uses the ensembling code per algorithm, rather than running all the ML code for each algorithm.

Closed by #175


What is the supervision of point cloud?

What is the supervision of point cloud?
I have two ways of understanding

Is  it the supervision of depth map? It's just that the depth map is generated by the point cloud？
Is point cloud used to supervise volume directly

One way is to supervise the voxel occupancy of 3D
grid by ground-truth point cloud using binary cross-entropy
loss.
The second is to supervise depth on the plane-sweep
cost volume as explained in Section
But I don't see you in the code using raw point cloud supervision， I only see you use the generated depth map

One way is to supervise the voxel occupancy of 3D
grid by ground-truth point cloud using binary cross-entropy
loss.
The second is to supervise depth on the plane-sweep
cost volume as explained in Section
But I don't see you in the code using raw point cloud supervision， I only see you use the generated depth map

Yes. you'll find the loss_disp here https://github.com/Jia-Research-Lab/DSGN/blob/master/tools/train_net.py#L286

Yes. you'll find the loss_disp here https://github.com/Jia-Research-Lab/DSGN/blob/master/tools/train_net.py#L286

I know this, but  this is supervised by the generated depth map.
Your paper mentioned a point that "One way is to supervise the voxel occupancy of 3D
grid by ground-truth point cloud using binary cross-entropy
loss"  .
Is this not used in the code? Because the effect is not better than another?

I know this, but  this is supervised by the generated depth map.
Your paper mentioned a point that "One way is to supervise the voxel occupancy of 3D
grid by ground-truth point cloud using binary cross-entropy
loss"  .
Is this not used in the code? Because the effect is not better than another?

Yes it is not in this code. My implementation shows it gets wrose result. Its implementation is a bit tricky since only the sparse ray is visiable when supervising the voxel grid. You need to project back the depth map to point cloud and ignore the voxels that are not within the projection ray.

Yes it is not in this code. My implementation shows it gets wrose result. Its implementation is a bit tricky since only the sparse ray is visiable when supervising the voxel grid. You need to project back the depth map to point cloud and ignore the voxels that are not within the projection ray.

Thanks for your reply! I see.
So in your paper :  "Supervision of point cloud is important"
Here "Supervision of point cloud" represents loss_disp. That is to say training 3D detection with depth is important.
Is my understanding right？

Thanks for your reply! I see.
So in your paper :  "Supervision of point cloud is important"
Here "Supervision of point cloud" represents loss_disp. That is to say training 3D detection with depth is important.
Is my understanding right？

Yes, they are same thing. It's important due to its performance gain.

Yes, they are same thing. It's important due to its performance gain.


Enable multiple concurrent kurtosis engines to run in Kubernetes

Background & motivation
It would be great to allow multiple kurtosis engines to orchestrate different enclaves at the same time given a Kubernetes backend.
Currently if you try to run up more than one kt engines at the same time you will meet with the following error message:
INFO[2024-01-22T07:47:50Z] Starting Kurtosis engine from image 'kurtosistech/engine:0.86.8'...
Error:  An error occurred starting the Kurtosis engine
  Caused by: An error occurred starting the engine with the engine existence guarantor
  Caused by: An error occurred guaranteeing that a Kurtosis engine is running
  Caused by: We couldn't guarantee that a Kurtosis engine is running because we found a running engine container whose server isn't responding; because this is a strange state, we don't automatically try to correct the problem so you'll want to manually  restart the server by running 'kurtosis engine restart'

This issue arises because the engines don't have dynamic port map-ability.
Desired behaviour
Ideally during a kurtosis run you should be optionally specify what engine and gateway you would like to target.
Optional extra brownie point if you can name the engines and gateways, so you could do something like:
kurtosis run --enclave enclave-gyani --engine engine-gyani --gateway gateway-gyani ....

Ideally the new enclave/engine/gateway would all be created during kurtosis runtime.
This FR will probably enable multi user capabilities in kurtosis cloud too.
How important is this to you?
Painful; the lack of this feature makes using Kurtosis frictionful.
What area of the product does this pertain to?
CLI: the Command Line Interface

So the current architecture blocks the following workflows

If multiple people on the same Kubernetes cluster are using Kurtosis the same time then one person restarting the engine affects other people starting new enclaves even though its parallel
Running GitHub actions against the same cluster is confusing because the thing might clean up more than it should, if we do kurtosis clean -a
People want to run multiple different projects against the same cluster and they want the engine's to be independent - so that long living enclaves don't get accidentally cleaned up

Thought: this sounds like a usecase for "multiple users on a single Kurtosis cluster", which isn't something we support first-class right now.
If we had the concept of users & permissions in a Kurtosis cluster, we could guarantee that a user can only clean up the stuff they're allowed to.
This would also bring us closer to a world I'd like, where Kurtosis is "Notion but for dev/test environments"


AutoPlugin apply settings last

With the move to build.sbt and deprecation of Build.scala the user can no longer provide an explicit ordering of Setting applications.
In particular, there is no way to ensure that some settings are ran after everything else, such as is necessary when performing ugly workarounds that redefine a Task (examples of this in http://github.com/fommil/sbt-big-project).
I feel this is a blocker for 1.0.

How is such an ordering achieved using the Build trait?

by just doing it last, procedurally.

Is that not similarly available in build.sbt? (ie. not a blocker)

No, because these things would be loaded via an AutoPlugin and wouldn't appear in the build.sbt at all.

(the reason this is relevant is because I would define a custom Project constructor that would do this last, mimicking an autoplugin... but this is not possible in the stricter build.sbt dialect)

Doesn't look directly related to the Build trait. Looks more like a request for an enhancement.

possibly. The reason I see it as relevant to the .scala removal is that this is some level of control that I lose by moving from Build.scala style to AutoPlugin.scala style.

So I assume you're reaching for AutoPlugins because of the lack of .sbt support in ENSIME.
So, and I'm not exactly endorsing it - more just mentioning, you might want to consider this kind of approach: https://github.com/scala-js/scala-js/pull/2312/files.

Also I'm not sure how to "apply settings last".. I mean what about that AutoPlugin that wants to be last-last?

well, this is exactly for that AutoPlugin that wants to be last-last :smile: I guess if you have two autoplugins that are in conflict you can always make one depend on the other.

Since sbt's default settings are implemented as auto plugins, if all auto plugins are applied after the build user's settings, the build user would not be able to set names etc, so it needs to be some auto plugins at the least. Could you point at an example setting in your plugin that absolutely needs to be after the build user's setting?

I'm not asking for all to be applied after the user's, just for an option to be able to say "this AutoPlugin" should be applied after the user's settings (which are applied after all the normal AutoPlugins).
BigProjectSettings needs to be applied after everything because its redefining key Tasks to be dynamic to avoid unnecessary work.

(I'm actually reaching for AutoPlugins because I despise the .sbt format and will minimise my interaction with it).

How would I define an AutoPlugin to be last-last-last after
BigProjectsSettings?
On Fri, 1 Apr 2016 12:48 Sam Halliday<EMAIL_ADDRESS>wrote:

(I'm actually reaching for AutoPlugins because I despise the .sbt format
and will minimise my interaction with it).
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/sbt/sbt/issues/2533#issuecomment-204362421

depend on BigProjectSettings ? The important thing is that there be some mechanism for running after the user's settings are applied or declaring an autoplugin to be "low priority" in the startup list so that it is started in a certain phase. Once in that phase, it is up to the build manager to settle dependency problems like this (note that I'm not aware of any way to do that except to copy the source code of the AutoPlugin and change the requires method).

I haven't decided if this is a good way to go or not, but it's conceivable to think of the build users setting as an auto plugin named projectSettingPlugin, and BigProjectPlugin can requires on it so it can be loaded afterwards. And Dale can define GmailMicDropPlugin that requires on BigProjectPlugin.

(I just got the GmailMicDropPlugin reference..)

@eed3si9n can this please be considered for 1.0?

another usecase is http://stackoverflow.com/a/36300977/1041691 which would be to apply a filter to libraryDependencies after the user has set them.

I think we should consider including this feature, but we might want to do it both for 0.13.x and 1.0 so plugins can keep source compatibility.

meh, make it an sbt 2.0 feature. I survive.

Funny how this issue gets some attention every year as April 1st approaches.

If we could specify the requirements of a plugin (requires) independently of the plugins to add automatically (enable) then both of these would form the dependencies of our plugin (and should be applied first). That way we can safely override them without our settings getting overwritten or encountering undefined errors.

I am not sure if I understand what you're saying here. If a plugin B uses a setting defined in plugin A, then B depends on A. If you want to make B enabled if and only when A is enabled, then you should use trigger for it.

ha! I didn't even notice.
In fact the only RFEs that I care strongly about are

https://github.com/sbt/sbt/issues/2534
https://github.com/sbt/sbt/issues/3716

I'm tempted to close all my other issues... declare bankruptcy on them. Would that be good or bad? In fact I'm tempted to declare them all closed including these two because I know I'll never have the time to fix them.


Not able to see any extensions.

Issue Type: Bug
Hi,
I am using my office lptp and wanted to work on vscode.
I installed it.
but i was not able to see any extensions.
Following error shoed below extensions search box:
.
Error while fetching extensions. XHR failed
.
Please help me since i would like to code on VScode
VS Code version: Code 1.61.0 (ee8c7def80afc00dd6e593ef12f37756d8f504ea, 2021-10-07T18:13:09.652Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

This seems to be a duplicate of #214.


route issue

Install Origin 1.3 by openshift-ansible and deploy fabric8 on it.

The route of fabric8 is http://fabric8.openshift-infra.vagrant.f8, but after access it by browser it changes to http://vagrant.f8. So I need to add two DNS record.
The route of the manageiq microservice is http://manageiq.openshift-infra.vagrant.f8, but the images use 443. So the route should be defined to https, not http.

@vanloswang we've just released a new version of gofabric8 which has some improvements about auto detecting the api server.  I've successfully been deploying the fabric8 console to an openshift dedicated cluster using it so I hope issue 1 above is resolved.  For example I run..
gofabric8 deploy --pv=false --domain mydomain.fabric8.io

As for the second issue, that sounds like a bug.  I've raised this  https://github.com/fabric8io/exposecontroller/issues/9 for investigation and fix.  The expose controller is the service that creates those external URLs.

@rawlingsj your resolution of issue 1 is still not work for me. I deploy fabric8 by following cmd:
gofabric8 deploy --domain vanlos.fabric8.io

Then route of fabric8 console is 'http://fabric8.openshift-infra.vanlos.fabric8.io', and the hostname of fabric8 console is 'vanlos.fabric8.io'. There should be two DNS record for it too. It seems fabric8 will generate the route on Origin by project namespace name. Maybe we need some code change in gofabric8.

@rawlingsj my mistake, it works ok now, only one DNS record need to add.

@vanloswang that's great news!  Are we ok to close this issue now that the second one you mentioned now linked in the exposecontroller project?


Source request: Airtable plugin

Airtable is great for managing sites but Gridsome lacks the support of it for now.
I guess it can be almost the same as the same plugin for Gatsby from https://github.com/jbolda/gatsby-source-airtable
I am going to build this plugin myself. If anybody is doing this already please let us know here. Thanks.

Awesome! We are trying to publish a new plugin API within the next days, so you can probably follow these docs while creating the plugin, or look into how the other source plugin works.

@issuehuntfest has funded $40.00 to this issue. See it on IssueHunt

Any news about this ?  Please note that the code is almost there already, just need to be extracted in official plugin.
Please have a look at the amazing article by SNIPCART and relative github code here.

NOTE: this should be probably relabelled as Source request: Airtable plugin

@lgs I can take a stab at this, as I already went through that tutorial a few weeks back. And thanks for the suggestion, will rename the issue as suggested.

JFYI: I've finally found time to dig deeper into this, and am making slow progress.

Unassigning myself from this due to my delay in completing this. Anyone else feel to implement.

@dougouverson has funded $20.00 to this issue.

Submit pull request via IssueHunt to receive this reward.
Want to contribute? Chip in to this issue via IssueHunt.
Checkout the IssueHunt Issue Explorer to see more funded issues.
Need help from developers? Add your repository on IssueHunt to raise funds.

Will it be ready for the next big update?

@htasha I have created a starter for Airtable. Hope it will be published soon. Check this https://gridsome.org/starters during the next week.

@tomtev has rewarded $42.00 to @robaxelsen. See it on IssueHunt

:moneybag: Total deposit: $60.00
:tada: Repository reward(20%): $12.00
:wrench: Service fee(10%): $6.00


measure full battery voltage

Just a friendly suggestion that full battery voltage can be measured by using simple resistor divider, it will be x2 more resistors but I think will be better overall.

Thanks for the suggestion!
You are absolutely right with that, and it would be the better solution. I might add an option for that in the code.
The reason why I didn't do that (along with a few other things that might improve the design) is, that I wanted to keep it as minimal as possible. This way there is no need for soldering, buying components, calculating resistor values etc.
Also, full battery voltage might not actually be as useful as Cell 1 battery voltage, since Cell 1 has a higher drain than the other cells, due to the Arduino being plugged into it. So even if the difference in drain is not that much, measuring when Cell 1 is empty should be just what is needed.


"Stuck" oneshot layer

Sometimes keyd gets "stuck" on an oneshot layer. This causes every key press to have the stuck oneshot layer applied to
it. This problem is reproducible with the following config:
# Makes the shift key sticky for one keystroke.
leftshift = oneshot(S)
rightshift = oneshot(S)

To trigger the stuck state, the following can be done:

Hold down left shift and right shift
Press any letter on the keyboard once
Release left shift and right shift

Now every key press will have the shift modifier applied which looks like caps lock is enabled. To get out of the stuck
state either left shift or right shift has to be pressed again.
This stuck effect is not specific to left and right shift. I have managed to trigger this effect on oneshot mappings for
AltGr aswell sometimes. However, I only found left shift and right shift to consistently trigger this effect for me.
So I would guess, that there is some issue when two oneshot layers are triggered at the same time or with a small time difference to each other.
Tested with keyd version: 1.1.2 (81313204ad8e9f29b21fa906aaf2838b241939a4)

Thanks for detailed description. I believe this should be fixed in the latest commit.


Normalize wire:keys in table mount action forms

Remove record based identifier from wire key in mounted table actions

I can't see any immediate problems with this... lets see if it breaks anything


Update README.md

Description
Add information about how to set up minintro color through Pywal colors
Screenshot

Hi nicoandresr,
Thanks for the PR and your contribution. The startup screen you managed to produce looks amazing but the used plugin is not maintained anymore, and I do not feel comfortable promoting an unmaintained plugin
I really appreciate the contribution :)


bug(Table): weird rendering glitch on chrome

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I'm facing a rather weird issue, but only on Chrome. I'd almost argue that this could be a Chrome issue.. but since this is the first time I have seen such behavior and I have seen it with an angular table, I will start by reporting it here.
Reproduction
https://stackblitz.com/edit/angular-rcsy5u
open 'full screen' ( https://angular-rcsy5u.stackblitz.io/ ), maximize Chrome window and refresh multiple times, each time scrolling to the end and checking the last buttons (I mean the buttons in the last rows). You should start seeing soon incomplete renders, like these:

or these:

IMPORTANT: if you just click on a button, or resize the browser window, triggering a 'redraw', missing buttons will suddendly be rendered and will show.
Expected Behavior
All buttons normally rendered up to the last ones.
Actual Behavior
please see screenshots in the Reproduction section above
Environment

Angular: 12.2.x (please check stackblitz project)
CDK/Material: 12.2.12
Browser(s): Latest Chrome ( 95.0.4638.69  (64 bit))
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

@krskrs I also tried this on Chrome 96.0.4664.45 on Windows 10 and I wasn't able to reproduce. Any other information you can provide here?

Seems related to https://bugs.chromium.org/p/chromium/issues/detail?id=1273431

Closing since this is likely a browser rendering issue that we can't do much about.


Non-TypeScript sample

Hi,
Could you please possibly publish an example that doesn't use TypeScript? I ask because it seems like TypeScript (the name at least) is referenced in core. I could be mis-understanding this entirely, so please correct me, but it seems like TypeScript is core and not a plugin?
I can't find a monaco-editor-core repo. I assume this is intentional?

Please see https://github.com/Microsoft/monaco-editor#issues
the monaco-editor is stitched together from:

monaco-editor-core
monaco-typescript
monaco-languages


electron-builder | Unknown argument: .

Electron.NET CLI: 9.31.1
Node.js: 12.18.2
.NET Core: 3.1
Target: win
When I launch command "electronize build /target win" I receive following error:
Unknown argument: .
I found that this error is throwed from file ElectronNET.CLI/Commands/BuildCommand.cs at line 189, after launched command "npx electron-builder . --config=./bin/electron-builder.json --win --x64 -c.electronVersion=9.0.3".
I saw that @rbaker26 fix this bug by removing extra dot so I tried to clone repo, build solution and replace electron dotnet-electronize.dll. In this way, now electron build successfully but when I launch the app, process is visible only in background.

me too

This is a known issue, and is a duplicate of #441
A PR (#443) has been created and should be up during today according to @GregorBiswanger

This has been fixed in #443 as raised in #441 , I think the plan was to release it today. @JakStark @vituthanh

I hope Electron NET.CLI will be updated soon.

After replace dotnet-electronize.dll file from git source at folder
C:\Users{username}.dotnet\tools.store\electronnet.cli\9.31.1\electronnet.cli\9.31.1\tools\netcoreapp3.1\any
My project was built successfully.

@vituthanh @JakStark
Make sure you update the dotnet tooling (not automatic)
dotnet tool update --global ElectronNET.CLI

On Windows

On Linux

This is also noted in the README.md under Important Notes
See #445 for up to date version numbers.

Hey Community, we have released version 9.31.2 with the electron-builder fix! In addition, I have improved the socket problems again and updated to Electron 9.0.5.

dotnet tool update --global ElectronNET.CLI command is not updating to version <IP_ADDRESS>. Any help will be appreciated


Easiest way to programatically remove linearly dependent columns that cause a matrix to be singular?

Thanks for all your generosity and amazing work on this project! :D
I was wondering if there's an existing function or easy way to remove linearly dependent columns that cause a matrix to be singular?
I wrote an algorithm to remove all columns without any variance, but I still have cases where multiple columns are apparently dependent.
If I calculate the Pearson correlation between each column and remove the ones with +1 or -1 correlations, will that solve the problem?
Or is there a better way?
Thanks so much for your help!  :D

@itcraftsmanpl Yes, we have PCA, a well-known Dimensionality Reduction method. As to my knowledge, it does not guarantee linear independence of columns. But apparently, it is generally not a requirement if you just need to reduce your data to a lower number of dimensions for the purpose of classification. So, in this case PCA seems to work, but other cases it will not.
For instance, if one just wants to remove redundant columns while preserving the original column values, Feature Selectors should be used. There are not feature selection algorithms in PHP-ML yet. This is another aspect to be improved, as well.

Ok, added #232. Now I need to implement some scoring function for regression and we will be able to close this issue :smile:


Error adding entities for domain device_tracker with platform google_maps

HA 2023.10.5
old but still compatible, I wouldn't want to upgrade
ha-google-maps 1.1.0
I have an account with which I share the location of 2 other accounts (if I understand correctly, this is an alternative account)
I created a cookies file in chrome and added to integration with default settings, and got this.

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 616, in _async_add_entity
    device = dev_reg.async_get(self.hass).async_get_or_create(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'serial_number'

Error while setting up google_maps platform for device_tracker
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 367, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 616, in _async_add_entity
    device = dev_reg.async_get(self.hass).async_get_or_create(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'serial_number'

I'm not sure what you mean by that comment. Can you elaborate?

do not pay attention.  I plan to stay on this version of HA for as long as I can.  I understand that the update may help avoid some errors, but may also introduce new errors with my other components

Ok, thanks, I understand.
This one is a little more difficult to fix for HA versions older than 2023.11.0, but I think I can do it. Stay tuned. I'll hopefully release a fix soon.

Discovered that the error does not occur with very new HA versions, but also doesn't occur with 2023.7.0 (which is the earliest version that I know works with this custom integration.) So the problem only happens with versions between those extremes. Hmm, doesn't make testing very easy.
Anyway, I found a fix and will be releasing it soon.

@rozhkovets please let me know if 1.1.1 resolves the problem for you.

@pnbruckner, it works, thank you


Breaking change wish-list

Note: There is no breaking change current planned. This issue is to keep track of things that may happen when there is a breaking change at some undetermined point in the future. Items are in no particular order.

Potential changes
These are mostly things that I have thought about at some point, with varying levels of certainty.

Eliminate large-dates feature flag. Support the ±999,999 range of years unconditionally, adding a modifier to the [year] component to solve the issue of ambiguity.
Remove the serde-well-known feature flag, which is already deprecated in favor of using the relevant flags (serde, formatting, and/or parsing) directly.
Simplify error handling. Anonymous enums would be wonderful but are not required. In particular, the large number of conversions should be cut down, as many of them exist when they can already be performed transitively. The amount of information exposed should be restricted to as little as necessary, as this has caused issues in the past.
Remove anything deprecated. This is currently minimal.
Make FormatItem opaque and require FormatItem::Literal to be valid UTF-8. Likewise for OwnedFormatItem.
Remove Copy implementation for Parsed.
Use ranged integers in public APIs. This would currently require adding countless new methods.
Rename Duration to SignedDuration or something else.
Make Duration::seconds generic over i64, f32, and f64. Similarly for saturaturating_seconds_* and checked_seconds_*. Alternatively, have a seconds_float method that is generic while keeping the integer case separate.
Remove Duration::time_fn. This is a carry-over from time 0.1 and was presumably meant as a poor man's benchmarking tool. Instant is not meant to be used in that manner.
Remove time::Instant in favor of an extension trait on std::time::Instant. This would reduce the number of trait implementations needed. The extension trait was added in v0.3.35, with time::Instant being deprecated at the same time.

Separate feature flags for serde and the provided impl Serialize/Deserialize for T would be very helpful (and address https://github.com/time-rs/time/issues/672)

@jeff-hiner I'll be honest, it's not likely to happen. The clippy issue you linked would solve your request while being more general purpose and would avoid the overhead of an additional feature flag. I'm also not aware of any widely-used crates that gate serde support and Serialize/Deserialize impls separately.

I'm also not aware of any widely-used crates that gate serde support and Serialize/Deserialize impls separately.

The url crate (167M downloads) implement the serde traits with a sensible representation (the string representation one expects), and then provides serialize_internal and deserialize_internal for when you want to use a more performant serialization format.
To me the situation here is similar to Path not implementing Display, but still providing the Path::display method that returns something that implements Display, because providing the implementation directly would be a footgun.

Note that I was responding to the use of separate feature flags for Serialize/Deserialize impls, which is not present in url. Regardless, time also uses a sensible representation for implementing serde traits — the same format as is used for Display. Just as serialize_internal and deserialize_internal necessitate the use of serde helper attributes, you can already use helper attributes provided by time on the relevant fields. The only concern I have seen raised is relating to the default not being a well-known format, but that can be worked around if and when that clippy issue is resolved. If it's that much of an issue for you, I suggest you bring it up with your (common) employer to find some time to work on it.
Path not implementing Display is not because it's a footgun but because it's a lossy conversion. That is not the case for any type in time.

Regardless, time also uses a sensible representation for implementing serde traits — the same format as is used for Display.

That's false. You find in the string printed by the Display the same amount of information as in the tuple the serde impl serializes to, but the serde impl doesn't serializes as a string. With this logic, you could argue that url's serialize_internal uses the same format as Display, and that would be wrong.

@jeff-hiner I'll be honest, it's not likely to happen. The clippy issue you linked would solve your request while being more general purpose and would avoid the overhead of an additional feature flag.

Looks like the clippy issue has been parked for 2 years. It was claimed, but I don't see any progress over the last year. I'd try to PR in a fix myself but as it involves digging into clippy's parser I honestly have no idea where to even start. Not optimistic that's going to be fixed soon.
I'm guessing here, but it looks like the current default is intended for human-readable serialization like serde_yaml. I suppose the similarity with Display is convenient for that use case. Unfortunately this default is unsuitable for those of us using serde_json and time to write REST endpoints or API clients, because it doesn't appear to follow any RFC or ISO convention.
I don't mind having to explicitly annotate serde(with = "..."). But the compiler can't help me if I miss one, because there's a valid but incompatible impl in scope. chrono::DateTime<Utc> defaults to RFC3339, which is why I'm only noticing it on my migration.
Since there's no one "right" way to impl Serialize for OffsetDateTime, maybe we simply shouldn't provide one. Removing the default Serialize/Deserialize entirely and making users opt into a specific serde impl set seems like the only sensible compromise. This would be a breaking change, thus why I'm bringing it up here.

It was claimed, but I don't see any progress over the last year.

Are we looking at the same thing? There was an update just a couple days ago on a PR that implements it. It may have stalled, but it is at least on the person's backlog.

it looks like the current default is intended for human-readable serialization

The default is intended to be something human-readable (when that flag is enabled) that can also be deserialized. There was no reasoning beyond that.

Unfortunately this default is unsuitable for those of us using serde_json and time to write REST endpoints or API clients, because it doesn't appear to follow any RFC or ISO convention.

chrono::DateTime<Utc> defaults to RFC3339

A trivial check shows that chrono does not use RFC3339, as that specification does not support years that are negative or contain more than four digits.

Since there's no one "right" way to impl Serialize for OffsetDateTime, maybe we simply shouldn't provide one.

That's an awfully large leap. As I said, the intent was to have something that is human-readable and can be round-tripped. Just as with formatting being present because Display not being everyone's cup of soup, there is a way to override the default. That there is not currently a way to prevent you from using the default does not mean we should take something reasonable away from those who want it. It's an ecosystem problem, not a time problem imo.

Things aren't fast in Rust given that it's entirely driven by volunteers. The PR author commented just this week that they intend to continue work on it. Given that you presumably are using this as part of your employment, that is why I suggested asking for some time to work on the issue.

It's very possible the implementation isn't complete or correct, but RFC3339 appears to be the intent of the default serialization.

It definitely isn't correct for the reason that I stated. It's not RFC3339 if it doesn't strictly follow the specification.

Regardless of the specific format chosen, a breaking change I would really like is for the time crate to adopt some standard datetime representation as the default. I would vote for ISO 8601, which avoids the RFC 3339 restriction on negative years.
The current default Serialize impl is really frustrating because the format appears to be bespoke and is thus only meaningfully compatible with time itself.

Removing the defaults is almost certainly not going to happen. ISO 8601 is at least a possibility, though keeping the non-human-readable compatibility will almost certainly happen.

thus only meaningfully compatible with time itself.

That's pretty much the point, actually. It's meant for when someone wants to serialize it for storage/transmission and then deserialize it at the other end. It is not and was never intended to be general-purpose — that's what the attributes are for.

I don't really mind the non-human readable variant, since as far as I know there is no widely used binary encoding standard for dates and times. But I think replacing the default human readable representation with a standardized one has only benefits: it avoids the work of maintaining an extra format and interop with other systems is easier out of the box.

For what it's worth, "maintaining" the extra format is essentially zero work, as it was a one-off thing that hasn't changed in the slightest. Changing it to a different format wouldn't be much work, and looking at the current implementation it's not even that different from ISO 8601.


Document SDK and walkthrough

Description (what's changed?)
Documents SDK and includes a recorded walkthrough.

Task linked: CU-86ayrnchy Write documentation for React SDK


sub comparison fails for response_type 'token'

In the latest version available at the time of this issue (1.9.1), when response_type is set to simply token and loadUserInfo is set to true (default), the comparison between the profile sub and access_token sub fails with the following error message: sub from user info endpoint does not match sub in access_token.
Current workarounds
Use version 1.8.2 or set loadUserInfo to false.

@brockallen I created a quick repo with demo.identityserver.io. When using the implicit flow with the following settings:
const settings: UserManagerSettings = {
  authority: 'https://demo.identityserver.io',
  client_id: 'implicit',
  redirect_uri: 'http://localhost:4200/auth-callback',
  response_type: 'token',
  scope: 'openid',
  loadUserInfo: true
};

Identity Server returns the following error:

Sorry, there was an error : invalid_scope
Invalid scope for response type

However, if you add id_token to the response_type it will work just fine.
After some googling I came across the last line in the Authentication section of the OIDC spec which states:

NOTE: While OAuth 2.0 also defines the token Response Type value for the Implicit Flow, OpenID Connect does not use this Response Type, since no ID Token would be returned.

I'm guessing version 1.8.2 allowed for that response_type/scope combination, or at the very least did not perform a complete sub comparison the way 1.9.1 does.

I'll have to look into it. We, at least, used to handle "token" just fine, so it might be a regression.

I'm hitting the same problem using the following configuration
config = {
        authority: `https://login.microsoftonline.com/${provider.tenant_id}/v2.0/`,
        client_id: provider.client_id,
        redirect_uri: `${window.location.origin}/redirect.html`,
        response_type: 'token',
        scope: `${provider.audience}/access`,
    };
    return new UserManager(config)

the issue seems to be this line in connection with this line.
The first line is no id_token => isOpenIdConnect. The second line is if isOpenIdConnect => use profile.
With response_type=token, there is no profile, and thus the validation of sub from profile fails.

One way to temporarily solve this:
// @ts-ignore
userManager.processSigninResponse(userManager._redirectNavigator.url)
.then(signinResponse => {
                // @ts-ignore
                const user = new User(signinResponse)
                userManager.storeUser(user)
                dispatch(push('/', { is_redirect: true }))
            })

Setting loadUserInfo to false does not fix the problem for me, as I get a different error, Cannot read property 'sub' of undefined.

@jorgecarleitao It is difficult to diagnose your issue without a full sample code (not that I'm asking for that), however, looks like your authentication flow is somehow resulting in a null User object. I would look at how your objects are being created, specifically after the redirection from your SSO provider.
@brockallen Looks like your latest release 1.10.1 did not address this issue. As @jorgecarleitao pointed out, it appears the verification logic assumes profile will always be present. Unfortunately, my SSO provider does not support the token id_token response_type.
Would it be incorrect to compare the sub contained within the access_token returned from a token response_type request?

I cannot provide the a full reproducible example at this point, but I created an empty app in azure that can be used for tests for now:
const config = {
        authority: "https://login.microsoftonline.com/647a7e9b-d699-4ff6-9da6-e6468f7a6271/v2.0/.well-known/openid-configuration",
        client_id: "5d7f3e13-de5f-408d-a099-3b287449ad40",
        redirect_uri: `${window.location.origin}/redirect.html`,
        response_type: 'token',
        scope: "api://5d7f3e13-de5f-408d-a099-3b287449ad40/access",
    };

Note: you can only test this through http://localhost:3000, and http://localhost:3000/redirect.html must handle the signinRedirectCallback.
After a successful proof, the redirect fragment is as follows:
http://localhost:3000/redirect.html#
access_token=<ey...>&
token_type=Bearer&
expires_in=3599&
scope=api%3a%2f%2f5d7f3e13-de5f-408d-a099-3b287449ad40%2faccess&
state=<>&
session_state=<...>

where the access_token above contains the following (redacted) claims:
{
  "aud": "5d7f3e13-de5f-408d-a099-3b287449ad40",
  "iss": "https://login.microsoftonline.com/647a7e9b-d699-4ff6-9da6-e6468f7a6271/v2.0",
  "iat":<PHONE_NUMBER>,
  "nbf":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "aio": "AWQAm/<...>XmC5l3qgOnsb6B/ro8AgFtRAE3PtNKMCrzeEst305kl1EF",
  "azp": "5d7f3e13-<...>49ad40",
  "azpacr": "0",
  "idp": "live.com",
  "name": "186d19fb-<...>-82db-e0248c1396f8",
  "oid": "58<...>b52beb",
  "preferred_username": "...",
  "scp": "access",
  "sub": "N4aZpZ<...>oUOvPAA",
  "tid": "64<...>71",
  "uti": "dzJ<...>NAA",
  "ver": "2.0"
}

After the redirect, calling
userManager.processSigninResponse(userManager._redirectNavigator.url).then(
    signinResponse => {
        const user = new User(signinResponse)
        console.log(user)
})

yields in the console
access_token: <ey...>
id_token: undefined
profile: undefined
...

using
userManager.signinRedirectCallback().then(user => {
           console.log(user)
})```

yields the error described in this issue.

So, the error is bracketed between `processSigninResponse` and how `signinRedirectCallback` handles the promise from `processSigninResponse`.

I validated that this error is no longer reproducible in 1.10.1. So, between 1.9.1 and 1.10.1 this got fixed.
Specifically, I made the changes above to the vanilla example, both on 1.9.1. and 1.10.1 was able to reproduce it on the 1.9.1 but not on the 1.10.1

I validated that this error is no longer reproducible in 1.10.1. So, between 1.9.1 and 1.10.1 this got fixed.

Bizarre. In any event, I can close now?

@brockallen I'm the OP and 1.10.1 did not resolve my issue, therefore, I must continue to set loadUserInfo as false.
Not sure why @jorgecarleitao sees a difference between versions 1.9.1 and 1.10.1. My guess is his original issue is unrelated to mine.
As I pointed out earlier, contrary to what https://demo.identityserver.io/.well-known/openid-configuration states, demo.identityserver.io does not support the sole token response_type which makes it difficult to provide a proper repro.
If you change lines 35-37 of your identityserver-sample.js file in the samples folder from:
    response_type: 'id_token token',
    //response_mode:'fragment',
    scope: 'openid profile email api',

to
    response_type: 'token',
    //response_mode:'fragment',
    scope: 'openid',

and attempt to sign in you will see the following error:
Sorry, there was an error : invalid_scope
Invalid scope for response type

Unfortunately, my SSO provider (Pivotal) supports the token response_type but does not support the id_token token response_type (a known issue). Therefore, my JWT does not contain a profile and the way this library validates the sub when calling the userinfo endpoint results in the error:
sub from user info endpoint does not match sub in access_token

One possible way around this is to compare the sub within the access_token against the one returned from userinfo whenever the resposne_type does not contain id_token or if the profile is null. However, I would leave that to your discretion.
As for whether this issue should be closed, I am happy @jorgecarleitao was able to resolve his issue with Azure, but those working with Pivotal and/or other providers might benefit from this thread.
Thanks again for such an invaluable library!

For clarity, I will split this comment in 3 parts:

openid scope without id_token
identityserver does not support solely a token
my claim that this issue is fixed

1. openid scope without id_token
Scope openid and other oicd-associated scopes require response type to contain token_id. OpenId scope is about getting an authentication token (as opposed to the traditional authorization tokens), and thus it requires token_id to be part of the response type.
Against 1.10.1, if I change the line
response_type: 'token',
//response_mode:'fragment',
scope: 'openid',

to
response_type: 'id_token',
//response_mode:'fragment',
scope: 'api',

everything works on my computer.
2. identityserver does not support solely a token
I was unable to verify this statement about identityserver. Specifically, changing (against 1.10.1) the code at identityserver-sample.js to
response_type: 'id_token token',
//response_mode:'fragment',
scope: 'openid api',

which is the minimal scope for that response type, everything works as expected. Note that I had to disable browser caching as it sometimes does not reload the changes in js.
3. my claim that this issue is fixed
For the sake of reproducibility, I pushed the two branches to my fork, issue-951 and issue-951-fixed that have the same changes cherry-picked on top of 1.9.1 and 1.10.1 respectively of the code needed to test the userManager against Azure. These are:

issue-951 changes against 1.9.1
issue-951-fixed changes against 1.10.1

My statement is that, in my computer, the procedure

npm start
enter http://localhost:3000/user-manager-sample.html
press start signin main window
authorize in microsoft
press end signin main window

does not work in branch issue-951 (i.e. 1.9.1),

and works in branch issue-951-fixed (i.e. 1.10.1),


Language Support

Environment
Flutter version: 2.10.4
Plugin version:  master
Android version:
iOS version:
Xcode version:
Device information:
Description
My App main language is japanase.
But InAPpWebview is not support language.
So, In app webview menu is show en like [copy] [paste].
I want to show that in japanese コピー 貼り付け.

+1
My app can't detect my customer website, the website use Japanese

For IOS just add below code to Info.plist
	<key>CFBundleLocalizations</key>
	<array>
		<string>ja</string>
	</array>


WinSafe 0.0.3 is out now

Hi,
Just a heads up: WinSafe 0.0.3 is out now, so you can update your Cargo.toml.
Cheers.

Done, thanks for the update.  Cheers!


Can NOT get the delta time between 2 frames.

I hope that there could be a way to get the delta time between frames in ebiten but not using the system function.

I was wondering why you don't want to use system functions.

the code below works. but when the game paused because of focus losing on game window, it goes wrong... I don't know how to solve it now.
func getDt() func() time.Duration {
	lastUpdate := time.Now()
	dt := time.Since(lastUpdate)
	return func() time.Duration {
		dt = time.Since(lastUpdate)
		lastUpdate = time.Now()
		return dt
	}
}

var dt func() time.Duration = getDt()

func update(screen *ebiten.Image) error {
	fmt.Printf("%d\n", dt())
	return nil
}

the code below works. but when the game paused because of focus losing on game window, it goes wrong... I don't know how to solve it now.
func getDt() func() time.Duration {
	lastUpdate := time.Now()
	dt := time.Since(lastUpdate)
	return func() time.Duration {
		dt = time.Since(lastUpdate)
		lastUpdate = time.Now()
		return dt
	}
}

var dt func() time.Duration = getDt()

func update(screen *ebiten.Image) error {
	fmt.Printf("%d\n", dt())
	return nil
}

the code below works. but when the game paused because of focus losing on game window, it goes wrong... I don't know how to solve it now.
func getDt() func() time.Duration {
	lastUpdate := time.Now()
	dt := time.Since(lastUpdate)
	return func() time.Duration {
		dt = time.Since(lastUpdate)
		lastUpdate = time.Now()
		return dt
	}
}

var dt func() time.Duration = getDt()

func update(screen *ebiten.Image) error {
	fmt.Printf("%d\n", dt())
	return nil
}

the code below works. but when the game paused because of focus losing on game window, it goes wrong... I don't know how to solve it now.
func getDt() func() time.Duration {
	lastUpdate := time.Now()
	dt := time.Since(lastUpdate)
	return func() time.Duration {
		dt = time.Since(lastUpdate)
		lastUpdate = time.Now()
		return dt
	}
}

var dt func() time.Duration = getDt()

func update(screen *ebiten.Image) error {
	fmt.Printf("%d\n", dt())
	return nil
}

the code below works. but when the game paused because of focus losing on game window, it goes wrong... I don't know how to solve it now.
func getDt() func() time.Duration {
	lastUpdate := time.Now()
	dt := time.Since(lastUpdate)
	return func() time.Duration {
		dt = time.Since(lastUpdate)
		lastUpdate = time.Now()
		return dt
	}
}

var dt func() time.Duration = getDt()

func update(screen *ebiten.Image) error {
	fmt.Printf("%d\n", dt())
	return nil
}

In Ebiten, it is assured that update is called 60 times in one second. If you want to measure logical time, which means how long the game runs except for posing, you don't need even time package. Just count a frame and divide by 60.
var frameCount = 0

func update(screen *ebiten.Image) {
}

@Nigh Could you please explain what happened for "it goes wrong"?

I implemented the DeltaTime (I'm not sure if this is called as DeltaTime as well) in update() function:
func update(screen *ebiten.Image) error {
	newTime    = time.Now().UnixNano()
	deltaTime := float64(((newTime - oldTime) / 1000000)) * 0.001
	oldTime    = newTime

    // .... Code ....

    // Move the block based on DeltaTime
	x += speed * deltaTime
	y += speed * deltaTime

	return nil
}

func main() {
	oldTime = time.Now().UnixNano()
	speed = 50
	x = 64
	y = 64

	ebiten.Run(update, 320, 240, 2, "Hello world!")
}

And I think it goes pretty well and works fine?

@YamiOdymel I think that time should be freeze while your game is paused. Not like your example, the block blink to another position.

So, does https://github.com/hajimehoshi/ebiten/issues/289#issuecomment-258404051 solve your problem?

@hajimehoshi could you set up a focus losing callback? that would solve the problem.

I have no plan to do that (IMO Ebiten should not care that). Is what you want the game 'logical' time?

in some case, the fluctuations of framerate would be great. but in that case, I still want the time flows smooth and stable, not floating with the fps.

Hmm, I'm sorry but I'm not sure what you meant by 'smooth and stable' in this case. What about the below code?
var frameCount = 0

func update(screen *ebiten.Image) {
    frameCount++
    currentTime := time.Duration(frameCount) * time.Second / 60
    // ...
}

@Nigh I'm not sure if this is a good solution but hajimehoshi gave me the idea.
Try to create a focusing detector.

var oldFrame = 0
var newFrame = 0

func update(screen *ebiten.Image) error {
	newFrame++

	if oldFrame != newFrame {
		// ... Code ...
	}

	oldFrame = newFrame
	return nil
}

@YamiOdymel  Huh? oldFrame != newFrame is always true.

@hajimehoshi Okay you're right, I am dumb. LOL

In Ebiten, it is assured that update is called 60 times in one second.

So the delta time is around 0.016 while the game is running.

If delta time tells the time between the last frame, why don't we just reset the delta time once it's over than 0.050 since delta time should be under around 0.018 ~ 0.025?
var deltaTime float64
var speed     float64 = 70
var newTime, oldTime  = time.Now().UnixNano(), time.Now().UnixNano()

func update(screen *ebiten.Image) error {

	newTime    = time.Now().UnixNano()
	deltaTime := float64((newTime-oldTime)/1000000) * 0.001

    // Reset the delta time if the game got froze about 0.050 secs
	if deltaTime > 0.050 {
        // TODO: Add another calculation to reduce the "bounce back"
        deltaTime = 0
	}

    // ... Code ...

    x += speed * deltaTime
    y += speed * deltaTime

    oldTime = newTime
}

But I found it's a little bit tricky because it might be wrong when the computer got temporary stuck, and there should be some other calculations to reduce the object bouncing back (see the GIF).

@Nigh What's the actual situation that you will need to use this by the way? Ebiten is forced to be 60fps, since the game is out of focus, the game paused as well, there should be no reason to use delta time .. right?

@YamiOdymel in ideal case, the game would run in 60fps. but on some old machines or in some complex scenarios, I can not assure that. So the game speed will slow down exactly as fps. And it will greatly reduce the difficulty of the game.

@Nigh If update is not called 60 times in a second, this is a bug of Ebiten.

@Nigh Ah, you want to adjust the timing of update with the display's refresh rate so that the game would run slowly when busy? In this case, how about using ebiten.IsRunningSlowly and skipping anything in update if this is true?

So what you need is a delta time right? And when the game is out of focus, it paused as well, you think this shouldn't happen? Or..?
所以你需要的是 delta time 沒錯嗎？然後因為遊戲在離開聚焦的時候會卡住，這部分不符合你的預期？或是⋯？
Could you please explain the issue with the following format?
可以請你用像下列的方式再次敘述一次問題嗎？

Steps to reproduce
重現步驟
func getDt() func() time.Duration {
    lastUpdate := time.Now()
    dt := time.Since(lastUpdate)
    return func() time.Duration {
        dt = time.Since(lastUpdate)
        lastUpdate = time.Now()
        return dt
    }
}

var dt func() time.Duration = getDt()

func update(screen *ebiten.Image) error {
    fmt.Printf("%d\n", dt())
    return nil
}

What is Expected?
你原本期望發生什麼？

?

What is actually happening?
結果真正發生了什麼？

?

@hajimehoshi @YamiOdymel I think that I have understood how ebiten works. The sample code below is modded from sprites in the example.
	// Copyright 2015 Hajime Hoshi

	package main

	import (
		"fmt"
		_ "image/png"
		"log"
		"math/rand"
		"time"

		"github.com/hajimehoshi/ebiten"
		"github.com/hajimehoshi/ebiten/ebitenutil"
	)

	const (
		screenWidth  = 600
		screenHeight = 400
	)

	var (
		ebitenImage       *ebiten.Image
		ebitenImageWidth  = 0
		ebitenImageHeight = 0
	)

	type Sprite struct {
		imageWidth  int
		imageHeight int
		x           int
		y           int
		vx          int
		vy          int
	}

	func (s *Sprite) Update() {
		s.x += s.vx
		s.y += s.vy
		if s.x < 0 {
			s.x = -s.x
			s.vx = -s.vx
		} else if screenWidth <= s.x+s.imageWidth {
			s.x = 2*(screenWidth-s.imageWidth) - s.x
			s.vx = -s.vx
		}
		if s.y < 0 {
			s.y = -s.y
			s.vy = -s.vy
		} else if screenHeight <= s.y+s.imageHeight {
			s.y = 2*(screenHeight-s.imageHeight) - s.y
			s.vy = -s.vy
		}
	}

	type Sprites struct {
		sprites []*Sprite
		num     int
	}

	func (s *Sprites) Update() {
		for _, sprite := range s.sprites {
			sprite.Update()
		}
	}

	func (s *Sprites) Len() int {
		return s.num
	}

	func (s *Sprites) Dst(i int) (x0, y0, x1, y1 int) {
		if s.num <= i {
			return 0, 0, 0, 0
		}
		ss := s.sprites[i]
		return ss.x, ss.y, ss.x + ebitenImageWidth, ss.y + ebitenImageHeight
	}

	func (s *Sprites) Src(i int) (x0, y0, x1, y1 int) {
		if s.num <= i {
			return 0, 0, 0, 0
		}
		return 0, 0, ebitenImageWidth, ebitenImageHeight
	}

	const (
		MinSprites = 40000
		MaxSprites = 50000
	)

	var sprites = &Sprites{make([]*Sprite, MaxSprites), 40000}

	func getDt() func() time.Duration {
		lastUpdate := time.Now()
		dt := time.Since(lastUpdate)
		return func() time.Duration {
			dt = time.Since(lastUpdate)
			lastUpdate = time.Now()
			return dt
		}
	}

	var tc = time.Tick(1 * time.Second)
	var frameDiscard int = 0
	var frameDiscardCount int = 0

	func update(screen *ebiten.Image) error {
		sprites.Update()

		if ebiten.IsRunningSlowly() {
			frameDiscardCount += 1
			return nil
		}
		op := &ebiten.DrawImageOptions{
			ImageParts: sprites,
		}
		op.ColorM.Scale(1.0, 1.0, 1.0, 0.5)
		if err := screen.DrawImage(ebitenImage, op); err != nil {
			return err
		}
		msg := fmt.Sprintf(`FPS: %0.2f
		Frame discard per second: %d
	Num of sprites: %d
	Press <- or -> to change the number of sprites`, ebiten.CurrentFPS(), frameDiscard, sprites.Len())
		if err := ebitenutil.DebugPrint(screen, msg); err != nil {
			return err
		}
		return nil
	}

	func counter() {
		for {
			<-tc
			frameDiscard = frameDiscardCount
			frameDiscardCount = 0
		}
	}

	func main() {
		var err error
		ebitenImage, _, err = ebitenutil.NewImageFromFile("./ebiten.png", ebiten.FilterNearest)
		if err != nil {
			log.Fatal(err)
		}
		ebitenImageWidth, ebitenImageHeight = ebitenImage.Size()
		for i := range sprites.sprites {
			w, h := ebitenImage.Size()
			x, y := rand.Intn(screenWidth-w), rand.Intn(screenHeight-h)
			vx, vy := 2*rand.Intn(2)-1, 2*rand.Intn(2)-1
			sprites.sprites[i] = &Sprite{
				imageWidth:  w,
				imageHeight: h,
				x:           x,
				y:           y,
				vx:          vx,
				vy:          vy,
			}
		}

		go counter()

		if err := ebiten.Run(update, screenWidth, screenHeight, 1, "Sprites (Ebiten Demo)"); err != nil {
			log.Fatal(err)
		}
	}

The update() runs 60 times per second. If last frame takes too long to draw, I could detect it by ebiten.IsRunningSlowly(), then discard this frame. So, the time between this two valid frame (not discard) could be calculated.
Is that right ?

@Nigh Yes, though I still don't understand what you want to do with the time interval yet. And you are right: when ebiten.IsRunningSlowly() is true, what Ebiten does is just to skip rendering the screen and you can also skip all rendering, which usually takes most part of time in a frame.

solved. issue close.

solved. issue close.


[PoC] Animation Utilities - Initial Setup

Description
Stepping stone for animation utilities to be consumable publicly. This PoC contains both implementation and documentation for the first of the utilities, rotate animation utility. This lays a general structure for future animation utilities to build upon.
I applied the rotate animation utility internally to the covalent expansion panel as an example use case. When opening and closing the expansion panel the keyboard_arrow_down icon will rotate accordingly.
The plan is to start off by delivering many pre-canned modular animations utilities (commonly used animations) that can be easily applied to any template element. Next is to have many pre-canned route animations. Far beyond that we plan to research ways to make it easier to create custom/complex Angular based animations.
What's included?

Rotate animation utility implementation in:
src/platform/core/common/animations/rotate/rotate.animation.ts

Initial animation documentation w/ rotate animation utility doc included in:
src/app/components/components/animations/animations.component.html
src/app/components/components/animations/animations.component.ts

Example use case of rotate animation utility in:
src/platform/core/expansion-panel/expansion-panel.component.ts
src/platform/core/expansion-panel/expansion-panel.component.html

Test Steps

[ ] npm run reinstall
[ ] ng serve
[ ] Navigate to /#/components/expansion-panel
[ ] Verify that the expansion panel icon rotates when opening/closing.
[ ] Navigate to /#/components/animations
[ ] Play/use the rotate animation utility as specified in the animations docs on some other code in the Covalent repo.

[ ] Do the docs operate okay? feedback?

[ ] Does the file/folder structure of the code look okay for future animation utilities to live in/build upon?

General Tests for Every PR

[ ] ng serve --aot still works.
[ ] npm run lint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build still works.

Screenshots or link to CodePen/Plunker/JSfiddle
Animations docs w/ first utility, rotate animation utility

Example use of rotate animation utility within expansion-panel:

Maybe some further animations could be integrated to covalent. For example some from http://ianlunn.github.io/Hover/

Hi @jotatoledo :), that's the plan. We want to deliver many pre-canned, commonly used, animations that can be easily consumed and flexible to a degree. This PoC PR is primarily focused on obtaining feedback about the file/folder structure and method signature of serving the pre-canned animations.

Great job!
Just needs the demo changes we talked about and it will be good to go!


oraclejdk: remove version 10

Motivation for this change
Oracle JDK 10 is no longer supported in favor of JDK 11. Oracle JDK 11 is not free of charge (except for development, testing, prototyping, or demonstration), and free users are guided to use OpenJDK 11.
Alternative: #47321
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

error: while evaluating anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/.gc-of-borg-outpaths.nix:39:12, called from undefined position:
while evaluating 'g' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/lib/attrsets.nix:267:19, called from undefined position:
while evaluating anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/pkgs/top-level/release-lib.nix:121:38, called from undefined position:
while evaluating 'isDerivation' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/lib/attrsets.nix:296:18, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/pkgs/top-level/release-lib.nix:123:10:
while evaluating 'callPackageWith' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/lib/customisation.nix:108:35, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/pkgs/top-level/all-packages.nix:7992:17:
while evaluating 'makeOverridable' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/lib/customisation.nix:67:24, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/lib/customisation.nix:112:8:
undefined variable 'jdk10' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-1-lassulus.ewr1.nix.ci/pkgs/top-level/all-packages.nix:7995:14

Can we wait for openjdk11 to be packaged and merged (someone working on it?) before merging this one?

eclipses and bazel_jdk10 depend on jdk10. Maybe we should wait for openjdk11 and/or mark jdk 10 as insecure (#47321) before merging this PR.

started hacking on openjdk11 at https://github.com/jerith666/nixpkgs/tree/jdk11; not building yet

@jerith666 I'd be very interested in JDK11. Can you make your progress a PR, so it's easier to review? I'll try to help where I can.

Added AdoptOpenJDK binary package (#48322).
@jerith666 how about using AdoptOpenJDK build script? https://github.com/AdoptOpenJDK/openjdk-build

jdk10 from all-packages is also set to oraclejdk10 on aarch32 and aarch64.

Okay, I've opened #48326 with what I have so far.  It builds, but still has major TODOs associated with it.  Any help is of course appreciated!  :)

Rebased on top of current master and fixed conflicts.

I'd say let's merge this into master but keep oraclejdk10 marked as vulnerable from #47321 in 18.09.


Fix flaky org.opensearch.rest.ReactorNetty4StreamingStressIT.testCloseClientStreamingRequest test case

Description
Fix flaky org.opensearch.rest.ReactorNetty4StreamingStressIT.testCloseClientStreamingRequest test case
Related Issues
Resolves https://github.com/opensearch-project/OpenSearch/issues/15840

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@mch2 @andrross @dblock folks mind helping me here please? thank you!

@mch2 do you mind to reapprove please? thank you!


Open Roberta Connector: Add button to automatically connect browser with robot

Is your feature request related to a problem? Please describe.

Currently you need to enter a token to connect specific robots with the Open Roberta Lab

Describe the solution you'd like
Open Roberta Connector :
As an additional option to copying the enerated token, the Open Roberta Connector should have a button that generates a link to the Open Roberta Lab, which includes the connected robot and token. If the user presses that button, the default browser will open the Open Roberta Lab and the robot will be preselected and will be connected automatically.
If another tab with the Lab is open, which has the correct robot selected, the browser will prompt the user that the existing tab was connected to the robot and that the current tab can be closed or try to close it automatically.

Perhaps you could also start a small local server inside the Open Roberta Connector which the Open Roberta Lab searches for. If a Connector running local is found, the user is asked, if he wants to connect to that.


python311Packages.aiomysensors: 0.3.9 -> 0.3.10

Diff: https://github.com/MartinHjelmare/aiomysensors/compare/refs/tags/v0.3.9...v0.3.10
Changelog: https://github.com/MartinHjelmare/aiomysensors/releases/tag/v0.3.10
Description of changes

Things done

Built on platform(s)

[ ] 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

[ ] 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/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 266123 run on x86_64-linux 1

4 packages built:

python310Packages.aiomysensors
python310Packages.aiomysensors.dist
python311Packages.aiomysensors
python311Packages.aiomysensors.dist


Running a simple inner join does not work - v0.9.1-rc1

I'm running a simple inner join query like this one via the admin-interface on port 8083:
select hosta.value + hostb.value
from cpu_load as hosta
inner join cpu_load as hostb
where hosta.host = 'server01' and hostb.host = 'server02';

I get the following error message
error parsing query: found AS, expected SELECT, DELETE, SHOW, CREATE, DROP, GRANT, REVOKE, ALTER, SET at line 1, char 48

What am I doing wrong here?
The data looks like this:

{
    "database": "test2",
    "points": [
         {
            "measurement": "cpu_load",
            "tags": {
                "host": "server01",
                "core": "0"
            },
            "time": "2009-11-10T23:00:00Z",
            "fields": {
                "value": 0.45
            }
        },
        {
            "measurement": "cpu_load",
            "tags": {
                "host": "server01",
                "core": "1"
            },
            "time": "2009-11-10T23:00:00Z",
            "fields": {
                "value": 1.56
            }
        },
         {
            "measurement": "cpu_load",
            "tags": {
                "host": "server02",
                "core": "0"
            },
            "time": "2009-11-10T23:00:00Z",
            "fields": {
                "value": 0.72
            }
        },
        {
            "measurement": "cpu_load",
            "tags": {
                "host": "server02",
                "core": "1"
            },
            "time": "2009-11-10T23:00:00Z",
            "fields": {
                "value": 2.14
            }
        }
    ]
}

JOIN is not part of the 0.9 release. Instead the "tags" feature allows you
to merge series. Take a look at the 0.9 documentation here:
https://influxdb.com/docs/v0.9/concepts/key_concepts.html
Philip
On Mon, Jun 29, 2015 at 11:34 AM, Marcus Kempe<EMAIL_ADDRESS>wrote:

I'm running a simple inner join query like this one via the
admin-interface on port 8083:
select hosta.value + hostb.value
from cpu_load as hosta
inner join cpu_load as hostb
where hosta.host = 'server01' and hostb.host = 'server02';
I get the following error message
error parsing query: found AS, expected SELECT, DELETE, SHOW, CREATE, DROP, GRANT, REVOKE, ALTER, SET at line 1, char 48
What am I doing wrong here?
The data looks like this:
{
"database": "test2",
"points": [
{
"measurement": "cpu_load",
"tags": {
"host": "server01",
"core": "0"
},
"time": "2009-11-10T23:00:00Z",
"fields": {
"value": 0.45
}
},
{
"measurement": "cpu_load",
"tags": {
"host": "server01",
"core": "1"
},
"time": "2009-11-10T23:00:00Z",
"fields": {
"value": 1.56
}
},
{
"measurement": "cpu_load",
"tags": {
"host": "server02",
"core": "0"
},
"time": "2009-11-10T23:00:00Z",
"fields": {
"value": 0.72
}
},
{
"measurement": "cpu_load",
"tags": {
"host": "server02",
"core": "1"
},
"time": "2009-11-10T23:00:00Z",
"fields": {
"value": 2.14
}
}
]
}
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/3176.


Reproducing results of "Understanding the Role of the Projector in Knowledge Distillation"

I have reproduced the results in the original paper. The original paper reports an accuracy of 71.63%, while this config leads to 71.65%.
The log and checkpoint for this run can be found here: https://drive.google.com/drive/folders/18xl0CDZ6CioP4Sbjdpj1Pndp4biSLpnV?usp=sharing
Trained on a single GPU.

Beside the above request, I have a few more minor requests:

Add srd-resnet18_from_resnet34.log to configs/official/ilsvrc2012/roymiles/aaai2024/
Add your paper info to this file as the third item following the format
Add your result to https://github.com/yoshitomo-matsubara/torchdistill/blob/main/docs/source/_static/benchmarks/imagenet-resnet18_kd.tsv
Most important, add README.md like this file to configs/official/ilsvrc2012/roymiles/aaai2024/

Thanks!

Thanks @roymiles for the updates!
Did you use 3 GPUs for distributed training? If nos, I will remove the section from README later, when I make minor changes.
https://github.com/yoshitomo-matsubara/torchdistill/pull/446/files#diff-1ecd33e0a6aeb10ddebfcdc6ed245a3e8ea60e38a09ed8974047a3101ec638aeR41-R53

Ah oops, I must have overlooked that. Yea I only used 1 GPU.

No problem, I will merge this PR and make some modifications.
The next version of torchdistill will be released in a few days, and I will upload the checkpoint and log as part of the release note for backup.
It's a great job! Thanks for your contribution!


aria-invalid stays false after validator.reset() and errors.clear()

Thanks for the great job
Versions:

VueJs: 2.3.4
Vee-Validate: 2.0.0-rc.19

Description:
I'm doing an add button, so I add an object to a table, then I want clear my form.
I was able to execute both
this.$validator.reset()
and
this.errors.clear()
but in the input there's an attribute named aria-invalid that stays false
the only work around that I found was
this.$refs.descriptionRef.setAttribute('aria-invalid', false)
Steps To Reproduce:
<textarea class="form-control"
     v-model="description"
     v-validate="sectionValidation.description"
     placeholder="Section description"
     rows="3"
     ref="descriptionRef"
     name="description">
</textarea>

addSection: function () {
                this.$validator.validateAll()
                    .then(isValid => {
                        if (isValid) {
                            console.log('PUSH')
                            this.sections.push({
                                description: this.section.description
                            })
                        }
                    })
                    .then(() => {
                        // Reset this.section.description = ''
                    })
                    .then(() => {
                        this.$validator.reset()
                    })
                    .then(() => {
                        this.errors.clear()
                        // this.$refs.descriptionRef.setAttribute('aria-invalid', false)
                    })

            }

Thanks for reporting this issue, it has been addressed.

Thanks @logaretm !!!

Hello @logaretm I was testing the release 2.0.0-rc.20 and I'm having the same issue with the validator reset, does not reset the aria-invalid

Was having the same issues. Putting this.errors.clear() inside of a this.$nextTick() works for me.


Small test recorded, exception in puppeteer execution

Hello
What is the problem in execution?
Many thanks

Hi @rccclr the element you want to click is not available in the page yet. This has to do with the asynchronicity of browser interaction and totally normal. You will have to add a page.waitForSelector clause before the page.click call. Puppeteer Recorder does not do that at this moment.

Hi @rccclr I think your issue is not related to Puppeteer Recorder, but more to using Puppeteer in general. I'm sorry I can't help you with that. I would recommend seeking help here:

https://http://puppeteer.slack.com/ - the Slack community is quite helpful
https://pptr.dev - the official docs

Also, when posting questions please provide the actual code so the issue can be reproduced. You are requesting people to now type over your code or for some reason from memory produce an answer. You will get more and quicker help when supplying a reproducible case.


Code highlighting and asterisk

I found issue with code highlighting used {{% highlight %}} block. If I try to put asterisk in math equation, for example:
List.map(fun x -> x * x)

asterisk disappears. But if I left code without highlight block, then asterisk is visible.
I tried also to escape with \* but it produces only weird </span> block.
Have I missed something with highlighting and Markdown syntax?

I'm pretty sure this is not an issue with Hugo 0.13-DEV (latest master), then you can say:
{{< highlight >}} => no markdown rendering
In 0.12 you may try:
<div>
{{% highlight %}}
{{% / highlight %}}
</div>

To "disable" markdown rendering of the block.

In 0.12 it unfortunately doesn't work.

I have confirmed that this isn't an issue with 0.13-DEV.
A release should be around the next corner. If this is important, it is easy to build from source.


Plugin does not work with serverless-plugin-warmup

For reference:
https://github.com/FidelLimited/serverless-plugin-warmup/issues/43
https://github.com/FidelLimited/serverless-plugin-warmup/issues/85
Seems like it might be an issue with this plugin? But i'm not sure. Posting for visibility, and possibly guidance.

I suspect that the root cause is #78

I resolved this issue with using suguru03/serverless-plugin-warmup-ts-bridge.
// serverless.yaml
plugins:
  - serverless-plugin-warmup-ts-bridge
  - serverless-plugin-warmup
  - serverless-plugin-typescript

serverless-plugin-warmup-ts-bridge is great but there are some issues for the latest serverless-plugin-typescript versions.
I have created an npm package that solves it:
https://www.npmjs.com/package/serverless-plugin-warmup-ts-bridge-v2

If the latest serverless-plugin-typescript supports no-TS handlers as it should then you don't need serverless-plugin-warmup-ts-bridge neither serverless-plugin-warmup-ts-bridge-v2. 🙂

Hello @juanjoDiaz !
So the issue wasn't related to TS Handle support, your plugin is great and it works correctly but when used with serverless-plugin-typescript there are some issues with the artifacts path imports, that's what serverless-plugin-warmup-ts-bridge solves.
This is an example of the error:
Error: Could not add file content to hash: Error: ENOENT: no such file or directory, open '/Users/admin/Projects/afterpay-bold-plugin/.build/.serverless/warmUpPlugin.zip'
      at ReadStream.<anonymous> (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/plugins/aws/package/compile/functions/index.js:681:16)
      at ReadStream.emit (events.js:315:20)
      at ReadStream.EventEmitter.emit (domain.js:483:12)
      at /Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/node_modules/graceful-fs/graceful-fs.js:282:14
      at /Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/node_modules/graceful-fs/graceful-fs.js:333:16
      at FSReqCallback.oncomplete (fs.js:156:23)
  From previous event:
      at AwsCompileFunctions.compileFunction (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/plugins/aws/package/compile/functions/index.js:103:25)
      at /Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/plugins/aws/package/compile/functions/index.js:623:62
  From previous event:
      at AwsCompileFunctions.compileFunctions (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/plugins/aws/package/compile/functions/index.js:623:22)
  From previous event:
      at Object.package:compileFunctions [as hook] (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/plugins/aws/package/compile/functions/index.js:32:12)
  From previous event:
      at PluginManager.invoke (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/classes/PluginManager.js:510:22)
      at PluginManager.spawn (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/classes/PluginManager.js:530:17)
      at /Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/plugins/deploy/deploy.js:122:50
  From previous event:
      at Object.before:deploy:deploy [as hook] (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/plugins/deploy/deploy.js:102:22)
      at /Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/classes/PluginManager.js:510:55
  From previous event:
      at PluginManager.invoke (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/classes/PluginManager.js:510:22)
      at /Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/classes/PluginManager.js:545:24
  From previous event:
      at PluginManager.run (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/classes/PluginManager.js:545:8)
      at /Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/Serverless.js:168:33
  From previous event:
      at Serverless.run (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/lib/Serverless.js:155:74)
      at /Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/scripts/serverless.js:50:26
      at processImmediate (internal/timers.js:456:21)
  From previous event:
      at Object.<anonymous> (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/scripts/serverless.js:50:4)
      at Module._compile (internal/modules/cjs/loader.js:1137:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
      at Module.load (internal/modules/cjs/loader.js:985:32)
      at Function.Module._load (internal/modules/cjs/loader.js:878:14)
      at Module.require (internal/modules/cjs/loader.js:1025:19)
      at require (internal/modules/cjs/helpers.js:72:18)
      at Object.<anonymous> (/Users/admin/.nvm/versions/node/v12.18.3/lib/node_modules/serverless/bin/serverless.js:47:1)
      at Module._compile (internal/modules/cjs/loader.js:1137:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
      at Module.load (internal/modules/cjs/loader.js:985:32)
      at Function.Module._load (internal/modules/cjs/loader.js:878:14)
      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
      at internal/main/run_main_module.js:17:47

But after some time, we had the following issues caused by an upgrade from serverless-plugin-typescript:

serverless-plugin-warmup-ts-bridge/issues/5
serverless-plugin-warmup-ts-bridge/issues/6

And those are the issues I fixed in  serverless-plugin-warmup-ts-bridge-v2
Please let me know if it makes sense, happy to collaborate and thank you so much again for your beloved plugin!!

serverless-plugin-warmup-ts-bridge-v2

I have the same error like this, I am using serverless-plugin-typescript and serverless-plugin-warmup
after run serverless deploy, same error

@ZarcoNontol u install both serverless-plugin-warmup-ts-bridge and serverless-plugin-warmup-ts-bridge-v2?