Approved/Published flags

Hi,
We applied the new updates and we noticed that the approved/published flags were not being set to True in the postgre db for the master items.
Content admins for example, were able to see the list of master items, but not other users.

@jpbakhache please do me a favor if you can.  Attach current log file.  Then go into config.js in config folder and change loglevel to debug.  delete the log file and restart the service dispatcher.  Run the GMS and send me the log file.  I want to see what's going on in your environment.
thanks.

I'm in the process of rewriting the whole metric population components.  Something has changed in the repository and the performance is not what it was before.  The new components will break up the tasks of creation, ownership change, and publishing to handle slow downs by the repository adding references to new metrics.  Stay Tuned.

Wow, okay :)

Hi @jpbakhache, thank you for your patience.  New build out today with rewrite of creation, ownership, and publish mechanisms.  Available here


Loop WebSocket reconnect

Why reconnect in looping?
`final HttpLink httpLink = HttpLink(
uri: "http://<IP_ADDRESS>:4000/graphql");
final AuthLink authLink = AuthLink(
getToken: () async =>
"Bearer --token");
ValueNotifier client;
 Link link = httpLink as Link;
  final WebSocketLink websocketLink = WebSocketLink(
    url: subscriptionEndpoint,
    config: SocketClientConfig(
      autoReconnect: true,
      inactivityTimeout: Duration(seconds: 30),
    ),
  );
  link = authLink.concat(httpLink as Link);
  link = link.concat(websocketLink);

client = ValueNotifier(
  GraphQLClient(
    cache: InMemoryCache(),
    link: link,
  ),
);

`
I/flutter ( 4395): Connected to websocket.
I/flutter ( 4395): Disconnected from websocket.
I/flutter ( 4395): Scheduling to connect in 5 seconds...
I/flutter ( 4395): Connecting to websocket: ws://<IP_ADDRESS>:4000/graphql...
I/flutter ( 4395): Connected to websocket.
...
Apollo Server
const { split } = require('apollo-link');
const { HttpLink } = require('apollo-link-http');
const { WebSocketLink } = require('apollo-link-ws');
const { getMainDefinition } = require('apollo-utilities');
const { SubscriptionClient } = require('subscriptions-transport-ws');
const fetch = require('node-fetch');
const ws = require('ws');
//const uri = "https://node-app-lab-1-js.herokuapp.com/graphql";
//const subscriptionsURI = "ws://node-app-lab-1-js.herokuapp.com/graphql";
const uri = 'http://localhost:4000/graphql';
const subscriptionsURI = "ws://localhost:4000/graphql";
// Create an http link:
const httpLink = new HttpLink({
uri: uri,
fetch,
});
const wsForNode = typeof window === "undefined" ? ws : null
const wsClient = new SubscriptionClient(
subscriptionsURI,
{
reconnect: true
},
wsForNode
)
const wsLink = new WebSocketLink(wsClient)
// using the ability to split links, you can send data to each link
// depending on what kind of operation is being sent
const link = split(
// split based on operation type
({ query }) => {
const definition = getMainDefinition(query);
return (
definition.kind === 'OperationDefinition' &&
definition.operation === 'subscription'
);
},
wsLink,
httpLink,
);
const client = new ApolloClient({
link,
cache: new InMemoryCache()
});
module.exports = client;
LOG
Websocket CONNECTED
Websocket DISCONNECTED
Websocket CONNECTED
Websocket DISCONNECTED
Websocket CONNECTED
Websocket DISCONNECTED
...

Resolution
...
const wsClient = new SubscriptionClient(   subscriptionsURI,   {     reconnect: true,     reconnectionAttempts: 50,     lazy: true,     timeout: 20000,   },   wsForNode );
AND
...
const wsLink = new WebSocketLink({   uri: wsClient,   webSocketImpl: wsForNode,   options: {     lazy: true,     reconnect: true,     connectionParams: () => {       const token = "<token>";       return {         headers: {           Authorization: token ? Bearer ${token} : "",         },       }     },   }, });
I do not know exactly what it solved: lazy, timeout or reconnectionAttempts?
If anyone knows the answer, please clarify.

do you use Apollo Server? I had the same problem. Solved it by adding keepAlive:
new ApolloServer({
    ...
    subscriptions: {
        path: "/subscriptions",
        keepAlive: 10,
    ...
});

@MarceloRab did you manage to solve this issue?

the websocket link automatically disconnects on inactivity timeout, and reconnects if the autoreconnect config is set. See discussion in #653 for more info
SocketClientConfig(
  autoReconnect: true, // false to disable reconnect
  inactivityTimeout: Duration(seconds: 30), // set to 0 to disable timeout
)


Remove unnecessary use of pickle in nmt script

As discussed at https://github.com/dmlc/gluon-nlp/pull/350#issuecomment-425624336 to reduce runtime of caching code from ~80 seconds to ~4 seconds and reduce disk space requirements by 40%. This will improve the user experience.

Fixed in #400

good catch. I will patch it in 403


Apply Custom filters (dropdown) using pivot(grouping of rows)

Hello All
I am little bit confused regarding custom filtering with custom filtering
https://codesandbox.io/s/x7w0q5mj8w

Please take this question over to the #react-table Slack channel (badge at the top of the README in the doco).  The github issues are for bugs and feature requests. Thanks.
[Also, you will probably need a more specific question for people to be able to provide advice or help.]

Hi @gary-menzel , I think this is indeed an issue/bug in react-table since it doesn't allow to filter pivoted table as is shown in this code: https://codesandbox.io/s/x7w0q5mj8w
Please, would you check it and confirm this is an actual issue?
Thanks
Ivan


Add dynamic_reconfigure option to pause a sensor (issue #477)

I hope you guys can see the benefits of being able to pause RealSense sensors, especially on mobile robots that have limited network bandwidth or low-power CPUs. This PR adds a check box in dynamic_reconfigure that allows any D415/D435 to be paused. Using top, I see the CPU load drop from ~10% to ~1% when a sensor is paused. I'm sure network data rate drops, too.
The sensor can also be paused programmatically with the dynamic_reconfigure API.
I will mention, I do not see the USB traffic drop when a sensor is paused. I would like to fix that, too, if you have any suggestions on how to do that.

@doronhi @mattcurfman  Hello, is anybody there? I would like to get this merged for a NASA-related project.

Hi @AndyZe,
Sorry about my lack of response. I am actually looking on and off at your proposal for couple of days now.
I feel like the correct solution should be that if there are no subscribers there should be no CPU usage. That the additional parameter is not necessary.
I didn’t managed to check it through yet and hence my lack of response. Again, my apologies.
What do you think?
In any case, I hear your urgency and I’ll try to get to that really ASAP.

Good to hear, thanks.
ROS typically doesn't use USB for communications, so I don't think that's a ROS issue. My guess is, CPU data rates would remain high if you used the .stop() method even outside of ROS.
You can confirm that high CPU data rates aren't a ROS issue by plugging in a RealSense and running realsense-viewer and sudo usbtop. CPU data spikes as soon as the device is plugged in. So I think that's a librealsense issue.
Anyway, higher CPU data rates don't affect my current application. I'm more concerned with ethernet bandwidth and CPU load. I could see it being a problem if somebody were to use, like, 4 RealSense devices at once.

Hi @AndyZe ,
I merged your pull request.
My thought were that I would like to disable the sensors, the same way you did, but according to whether there are subscribers for them or not. i.e. I think it is a good idea to disable unused sensors and it should be an inner logic of the wrapper.
I realized, however, that your use case may require you to disable the sensor for saving resources without unsubscribing from the topic.


Chart for Spark operator

What this PR does / why we need it:
Adds a chart for the Spark Operator.

CLA now signed. Please verify. Thanks!

Could a repo maintainer help review this PR? Thanks!

Hi @mgoodness @viglesiasce, not sure if you are the right guys, but can you review the PR or assign it to the right people? Thanks!

@mrow4a @liyinan926 I've updated this PR to work with the new release of the Spark operator, especially the webhook feature. I also fixed an issue with kubeVersion as explained here. Can you review and merge? Thanks!

/ok-to-test

@yuchaoran2011 @liyinan926  it seems there is some sort of ordering in helm - https://github.com/helm/helm/blob/master/pkg/tiller/kind_sorter.go#L29

@mrow4a Thanks for the pointer. That order is problematic for this chart because, for example, deployments are created before jobs. But in our case, we would like the job to run first (i.e. generate and install the secret bundle), and then create the deployment.

The last commit failed the pull-charts-e2e tests because of the reason I mentioned above: the namespace was created as a pre-install hook because the webhook was enabled. The e2e tests deleted the last Helm release and tried to deploy a new release, only to find out that the namespace was still there. In the latest commit, I re-set enableWebhook to be false by default, and added a section called "Limitations" in the README, reminding the user to manually clean up the namespace. Note that no manual steps are required if the webhook is not enabled.

Is this PR good to be merged now?

@yuchaoran2011 I will have chance to test it maybe end of next week ;/ Lets see @liyinan926 My main concerns are however:

separate metrics and webhooks
fact that namespace for spark operator is declared in different yaml depending on if web hook is enabled or not

@mrow4a Thanks! Those are two points that I'm not too pleased with either. Feel free to suggest ways of refactoring/improvements that can address them when you think of any.

As I mentioned previously, I could add a post-delete hook to delete the namespace, but that would still leave namespace creation in two places. Any suggestions?

I think it's fine to leave namespace creation in two places, but it's more important to make sure the namespace gets deleted. So I think we should use a post-delete hook. @mrow4a.

@liyinan926 @mrow4a I've added a post-delete hook to clean up the namespace. Now the chart can be installed and deleted without involving any manual steps (besides the helm install and helm delete, of course) regardless of the webhook setting.
But I see that the pull-charts-e2e test is failing with "Error: namespaces "sparkoperator" already exists" during chart install. Is the build machine keeping some bad state? I'm not able to reproduce the error locally.

@liyinan926 @mrow4a I just verified my hypothesis that the Jenkins build machine running the pull-charts-e2e tests indeed had some uncleaned-up state, making my PR fail with "Error: namespaces "sparkoperator" already exists". In my latest commit, I simply updated the default namespace name from sparkoperator to spark-operator in values.yaml, then the build succeeded.
Now I think this PR is all set to be merged! If you need more time to try it out yourself, please do. When you are ready, Can you merge it? If you don't have the permissions, can you ping someone who does? Thanks!

@foxish Are you able to help merge this? I don't have the permission to merge. Thanks!

@foxish Can you help merge it? Thanks!

@yuchaoran2011 @mrow4a I'm thinking that we might want to put this chart into the operator repo instead for a few reasons: 1) it will have a much faster turn around time for PRs, 2) it makes users better be aware of the chart, and 3) it's much easier to keep the chart and the operator in sync. Thoughts?

 Initially I thought what we should do is: get the PR merged here, then update the operator doc's installation section to point to this chart. The sync issue can be avoided by removing the manifest directory in the operator repo. All future changes should be made to the chart. One of the benefits of keeping the chart in this repo is to allow easy access because it's available in the default helm repo (the user doesn't need to run helm add repo or manually build the tgz).
But now it looks like when future changes/updates are required, it would take ages before they can be merged here. So I'm cool moving it to the operator repo.

@mrow4a Yes. helm delete cleans up everything installed during helm install for me. Did you see uncleaned-up stuff?

@yuchaoran2011 is it possible that I get batch job executed before the clusterrole and clusterrolebindingforsparkoperatorexist? I can see thatserviceaccount` is created, but seems binding is not applied before batch job executes. Any clue?

But now it looks like when future changes/updates are required, it would take ages before they can be merged here. So I'm cool moving it to the operator repo.

Cool. Let's wait for another few days and see this someone can help merge this. If not, we may just move it to the operator repo instead.

@viglesiasce can you help with reviewing and merging this chart?

@mrow4a Now your comments are incorporated. Using a post-install hook indeed simplified the chart. Thanks! I'll wait a few more days to see if @foxish is able to merge it. If not, I'll move this PR to the operator repo.

/lgtm

@foxish need lgtm and approval from you. Thanks!

/lgtm
/approve


Tempeture not showing on HP server ML350GEN9

Describe the bug
Does not show disk temp
To Reproduce
installed lm sensors but it does show CPU temperature
Screenshots

Provide all outputs described in Testing step
Serial numbers should be replaced with X_SERIAL_X.
Please complete the following information:

OS: [e.g. Debian] debian 10
Zabbix server version: [e.g. 3.0] 4.4
Active or passive check: [e.g. Passive] active
Using zabbix proxy: [e.g. No proxy] none

zabbix_get -s <IP_ADDRESS> -k mini.cputemp.discovery[getverb,"Example host"]
zabbix_get -s <IP_ADDRESS> -k mini.disktemp.discovery[getverb,"Example host"]

thanks for the reply, quick question i should run this from the server of zabbix or on the zabbix agent? Some odd reason im getting
zabbix_get [14422]: Timeout while executing operation

Server or proxy, if any.

zabbix_get [14422]: Timeout while executing operation

Increase Timeout.

mini.cputemp.discovery

you need disktemp

thanks for the reply,
this is what i get
root@monitor:~# zabbix_get -s theip -k mini.cputemp.discovery[get,"prometheusaa"]
{
    "data": [
        {
            "{#CPU}": 0
        },
        {
            "{#CPUC}": 0,
            "{#CORE}": "0"
        },
        {
            "{#CPUC}": 0,
            "{#CORE}": "1"
        },
        {
            "{#CPUC}": 0,
            "{#CORE}": "2"
        },
        {
            "{#CPUC}": 0,
            "{#CORE}": "3"
        },
        {
            "{#CPUC}": 0,
            "{#CORE}": "4"
        },
        {
            "{#CPUC}": 0,
            "{#CORE}": "5"
        }
    ]
}
root@monitor:~# zabbix_get -s <IP_ADDRESS> -k mini.disktemp.discovery[get,"prometheusaa"]
{
    "data": [
        {
            "{#DISK}": "sda"
        },
        {
            "{#DISK}": "sdb"
        },
        {
            "{#DISK}": "sdc"
        },
        {
            "{#DISK}": "sdd"
        },
        {
            "{#DISK}": "sde"
        },
        {
            "{#DISK}": "sdf"
        },
        {
            "{#DISK}": "sdg"
        }
    ]
}

getverb?

thanks for the reply this is what i get
root@monitor:~# zabbix_get -s <IP_ADDRESS> -k mini.disktemp.discovery[getverb,"prometheusaa"]
  Path guess: linux

  Python version:
 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0]

  Sender version:
 zabbix_sender (Zabbix) 4.0.4
Revision 89349 4 February 2019, compilation time: Feb  6 2019 00:50:40

Copyright (C) 2019 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

Compiled with GnuTLS 3.6.6
Running with GnuTLS 3.6.7

  Config's main settings:
Server=monitor.mydomain.com
ServerActive=monitor.mydomain.com
Timeout=30

  Please report any issues or missing features to:
https://github.com/nobodysu/zabbix-mini-IPMI/issues

zabbix_sender [21455]: DEBUG: answer [{"response":"success","info":"processed: 31; failed: 0; total: 31; seconds spent: 0.002804"}]
info from server: "processed: 31; failed: 0; total: 31; seconds spent: 0.002804"
sent: 31; skipped: 0; total: 31

  Note: the sender will fail if server did not gather LLD previously.

  Data sent to zabbix sender:

"prometheusaa" mini.disk.info[sda,DriveStatus] "NOTEMP"
"prometheusaa" mini.disk.tempMin[sda] "25"
"prometheusaa" mini.disk.tempMax[sda] "45"
"prometheusaa" mini.disk.tempCrit[sda] "60"
"prometheusaa" mini.disk.info[sdb,DriveStatus] "NOTEMP"
"prometheusaa" mini.disk.tempMin[sdb] "25"
"prometheusaa" mini.disk.tempMax[sdb] "45"
"prometheusaa" mini.disk.tempCrit[sdb] "60"
"prometheusaa" mini.disk.info[sdc,DriveStatus] "NOTEMP"
"prometheusaa" mini.disk.tempMin[sdc] "25"
"prometheusaa" mini.disk.tempMax[sdc] "45"
"prometheusaa" mini.disk.tempCrit[sdc] "60"
"prometheusaa" mini.disk.info[sdd,DriveStatus] "NOTEMP"
"prometheusaa" mini.disk.tempMin[sdd] "25"
"prometheusaa" mini.disk.tempMax[sdd] "45"
"prometheusaa" mini.disk.tempCrit[sdd] "60"
"prometheusaa" mini.disk.info[sde,DriveStatus] "NOTEMP"
"prometheusaa" mini.disk.tempMin[sde] "25"
"prometheusaa" mini.disk.tempMax[sde] "45"
"prometheusaa" mini.disk.tempCrit[sde] "60"
"prometheusaa" mini.disk.info[sdf,DriveStatus] "NOTEMP"
"prometheusaa" mini.disk.tempMin[sdf] "25"
"prometheusaa" mini.disk.tempMax[sdf] "45"
"prometheusaa" mini.disk.tempCrit[sdf] "60"
"prometheusaa" mini.disk.info[sdg,DriveStatus] "PROCESSED"
"prometheusaa" mini.disk.temp[sdg] "29"
"prometheusaa" mini.disk.tempMin[sdg] "25"
"prometheusaa" mini.disk.tempMax[sdg] "45"
"prometheusaa" mini.disk.tempCrit[sdg] "60"
"prometheusaa" mini.disk.info[ConfigStatus] "CONFIGURED"
"prometheusaa" mini.disk.temp[MAX] "29"

# smartctl -A -i /dev/sda ?

Thanks for the reply this is what i get
root@prometheus:~# smartctl -A -i /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.34-1-pve] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HP
Product:              EG0300FBVFL
Revision:             HPDC
Compliance:           SPC-3
User Capacity:        300,000,000,000 bytes [300 GB]
Logical block size:   512 bytes
Rotation Rate:        10020 rpm
Form Factor:          2.5 inches
Logical Unit id:      0x5000cca0546795b0
Serial number:        KFHUZ06Z
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun May 31 11:54:18 2020 -05
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
Elements in grown defect list: 0

What about # smartctl -a -i /dev/sda ?

thanks for the reply i got this
root@prometheus:~# smartctl -a -i /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.34-1-pve] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HP
Product:              EG0300FBVFL
Revision:             HPDC
Compliance:           SPC-3
User Capacity:        300,000,000,000 bytes [300 GB]
Logical block size:   512 bytes
Rotation Rate:        10020 rpm
Form Factor:          2.5 inches
Logical Unit id:      0x5000cca0546795b0
Serial number:        KFHUZ06Z
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun May 31 12:38:24 2020 -05
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Elements in grown defect list: 0

Error Counter logging not supported

Device does not support Self Test logging

Hm, but drive does not report the temperature. What about others?

same thing the other drives also could it be the bios settings?

But sdg reports correctly. Maybe storage controller is involved here.

hmm, currently running this card
Genuine LSI 6Gbps SAS HBA LSI 9201-8i (=9211-8i) P20 IT Mode ZFS FreeNAS unRAID

Maybe some settings present on that?

i was taking look at the items and found this
 Cannot evaluate expression: "Cannot evaluate function "prometheusaa:mini.disk.tempCrit[sdb].last()": not enough data.".

That's because there are no temperature for sdb.


Please invite me to the GitHub Community Organization

Name
Rajneesh Maurya
Discord Username (if applicable)
rajneeshmaurya
Additional Context
In YouTube, Twitter & LinkedIn.

From where to I start


bad translation on nutrition input validation

What

bad translation on nutrition input validation

Screenshot/Mockup/Before-After

Fixed in https://github.com/openfoodfacts/smooth-app/commit/b46bbd149458dd172033499e3dc6367d9c7951ca


Docker + FTPGrab + Huginn

Hi, I have no idea what I'm doing, need some help please :)
I have a docker container called FTPGrab that automatically grab files from a predefined ftp into a local folder.
It has the ability to send webhook - https://crazymax.dev/ftpgrab/config/notif/webhook/
I also have Huginn (which I don't really get and really struggle with) in a docker container which can receive wehooks... https://huginnio.herokuapp.com/agents#WebhookAgent
Can someone please write me an example of the FTPGrab config and the corresponding Huggin config?
For example, where do I get this ":id/:secret"?
Thanks!

FTPgrab I don't know anything about.
Webhook Agent, however, is a little counter-intuitive but easy to set up.  The ":id" part is the numerical agent ID after you save it (e.g., 1337).  The ":secret" part is whatever string you put in the "secret" field of Webhook Agent's options.  I usually run pwgen 20 to generate that bit.
So, FTPgrab would need to hit a URL of the form https://your.huginn.instance/users/<whatever your account number is, usually 1>/web_requests/1337/<value of "secret">

Thanks @virtadpt , that's a step forward but I still couldn't get it to work :(
FTPGrab return this kind of JSON
{   "ftpgrab_version": "5.2.0",   "server_ip": "<IP_ADDRESS>",   "dest_hostname": "my-computer",   "journal": {     "entries": [       {         "file": "/test/test_changed/1GB.bin",         "status": "Not included",         "level": "skip"       },       {         "file": "/test/test_changed/56a42b12df8d27baa163536e7b10d3c7.png",         "status": "Not included",         "level": "skip"       },       {         "file": "/test/test_special_chars/1024.rnd",         "status": "Never downloaded",         "level": "success",         "text": "1.049MB successfully downloaded in 513 milliseconds"       }     ],     "count": {       "success": 1,       "skip": 2     },     "duration": "12 seconds"   } }
What should the payload_path look like on the Huginn side? is there anything else I should add to the configuration on Huginn?
Thanks again! :)

I just set payload_path to "." and routed the events to a couple of Trigger Agents, Gap Detector Agents, and a few Delay Agents for further processing.  It's easier to reason about what the agent network is doing if you break it down a bit.

Will try, thanks! @virtadpt


error: package com.sun.tools.javac.code is not visible

I received this error message, error: package com.sun.tools.javac.code is not visible, 100 times when running ASHE on the CF's javacutil directory.
The below successfully minimized:
--args=--outputDirectory "/my/temp/dir" --root "/my/root/checker-framework/javacutil/src" --targetFile "main/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java" --targetMethod "org.checkerframework.javacutil.trees.DetachedVarSymbol#setDeclaration(VariableTree)" --jarPath "/path/to/checker-qual.jar"
Attempted Compiling Java files:
javac /my/temp/dir/main/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java

/my/temp/dir/main/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java:4: error: package com.sun.tools.javac.code is not visible
import com.sun.tools.javac.code.Symbol;
                          ^
  (package com.sun.tools.javac.code is declared in module jdk.compiler, which does not export it to the unnamed module)
/my/temp/dir/main/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java:5: error: package org.checkerframework.checker.nullness.qual does not exist
import org.checkerframework.checker.nullness.qual.Nullable;
                                                 ^
/my/temp/dir/main/java/org/checkerframework/javacutil/trees/DetachedVarSymbol.java:9: error: cannot find symbol
    @Nullable
     ^
  symbol:   class Nullable
  location: class DetachedVarSymbol
3 errors

@jonathan-m-phillips this looks like expected behavior to me. There are two issues:

Specimin assumes that the jar files in the --jarPath argument will also be on the classpath when compiling the output. So, add -cp "/path/to/checker-qual.jar" when you try to compile Specimin's output. This will resolve two of the three errors (the one about the package not existing and the symbol not found one).
the other error is caused by the fact that the target program uses non-exported parts of the JDK/compiler - in particular, com.sun.tools.javac.code.Symbol. When the original code is compiled, it must be compiled with a special flag. I think you need --add-exports $PACKAGE=ALL-UNNAMED, where $PACKAGE is the package being used (in this case com.sun.tools.javac.code).

I received this error message, error: package com.sun.tools.javac.code is not visible, 100 times when running ASHE on the CF's javacutil directory.

Are there examples that do not successfully minimize? If so, can you provide a Specimin command for them?

@kelloggm Thank you for the solution to the problem I was facing!

Are there examples that do not successfully minimize? If so, can you provide a Specimin command for them?

I did not see any that were not successfully minimizing.

I did not see any that were not successfully minimizing.

Great, then I think we can close this issue.


Redundant quotes added

const yaml = require('js-yaml');

const file = `
  name: Node CI
  on:
    - push
`;

const json = yaml.load(file);
console.log(yaml.dump(json));

Output:
name: Node CI
'on':
  - push

The solution for now is to use noCompatMode as explained in other issue.
yaml.dump(json, {noCompatMode: true});

https://runkit.com/abitrolly/62f3a3ccbc61df0008be5b4e


Can I create/import ethereum wallet using this library in react-naive app?

Yes, you can. You can create the mnemonics for a new wallet and load it in the app right after; you can import a new wallet using both mnemonics or private key; and you can export your wallet's private key.


Cargo-science research loop

https://github.com/tgstation/tgstation/pull/54093
Interesting stuff here, would love to see this blatantly copied skillfully ported for SS14

vOv


Finding extreme points or corners of the floor using Holotoolkit spatial Mapping and spatial Understanding.

Overview
Finding extreme points or corners of the floor using Holotoolkit spatial Mapping and spatial Understanding
Expected behavior
We have a table where I need to find out the four corners of the table after scanning with HoloLens 1 and spatial mapping and spatial understanding concepts.
Actual behavior
I can able to find platform or floor surface using spatial understanding concept, where I cannot able to find out the corners of the floor or platform which I scanned.
To achieve this I have tried on surface edge option which is in level solver script query_onedge method, but I do not get any cube at the detected platform or floor edge.
Is on surface edge correct concept for finding the surface corner or something else we need to try ?
Steps to reproduce
(Links to sample GitHub project preferred)
imported Holotoolkit 2017.4.3 version.
Open SpatialUnderstandingExample scene and play the scene to scan a space, find platform and floor surface.
Here I would like to get the extreme corners or points of the scanned platform or floor.
Unity editor version
Unity 2018.4.36f1
Mixed Reality Toolkit release version
Holotoolkit 2017.4.3 version

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Propose using Python Sphinx for docs display

Description
Discuss / propose using Python Sphinx for doc display / HTML output
Describe How to Reproduce
One example: http://intelledger.github.io/
Python 3.5 Sphinx 1.4.1 uses "themes" for HTML doc display.
We could automate going from our .md >> Sphinx HTML. .md in GitHub would remain the single source, and the current update / editing .md process would not change. This build for display process would be invisible, and eventually go to a **.io URL. Frequency of builds is a question also.

Having Jenkins fire a job on update to the .md files and make the artifacts available should be simple enough - someone will need to write the YAML. I propose two views of the documentation - one is the WIP (master branch), another is the documentation tied to last release. I don't feel strongly about that proposal, though.

+1 though we may want to constrain visibility to the staging site with a robots.txt to prevent it being picked up by search bots.

fyi, Python Sphinx likes .rst (restructured) files to start with, so I used pandoc (per Sphinx recommendation) to go from .md to .rst first.

There's a slack channel for this specific issue: https://hyperledgerproject.slack.com/archives/docsdisplay

I'd like to add my $.02 that ReadTheDocs supports generating documentation from Markdown: http://read-the-docs.readthedocs.io/en/latest/getting_started.html#in-markdown
They also provide free hosting and allow you to configure which branches/tags/refs are build and displayed.

The Read the Docs procedure appears to use the proposed Python Sphinx theme. So RTD is just the procedural method / hosting method for what we're already proposing, it seems. I will slack @bramwelt and @rjones-lf to confirm. Thanks!

http://read-the-docs.readthedocs.io/en/latest/getting_started.html#in-markdown

Notice the 2 views proposed by @ry appears to be achieved in the RTD doc: see "v:latest" at the bottom of the left nav bar here: http://read-the-docs.readthedocs.io/en/latest/webhooks.html ... they also offer the various formats there, which is nice ... however, I tested it and am not sure if the implementation is as friendly as we would want it to be ... see what you think.

Here is the POC I setup for this: https://bramwelt-fabric.readthedocs.io/en/latest/, I believe @rameshthoomu is doing the same at https://docchange.readthedocs.io/en/latest/.

Here is the updated link: http://docchange.readthedocs.io/README/

This display format is done: http://hyperledger-fabric.readthedocs.io/en/latest/
(Notwithstanding any content issues.)


ROS 2 recipes for crystal

Any plans to update ROS 2 recipes for the crystal release?

I'm not sure how this would work, but ROS 2 was officially released. Is it an idea to create specific versions of the ros2 recipes? At this point there are several ros2 recipes with no version, but a git version. Should we create pinned versions? Also, it might be good to have package groups for each ros release.
This is the release of ros at this point:
https://index.ros.org/doc/ros2/Installation/Dashing/

Recipes for crystal are now available -- see https://github.com/ros/meta-ros/wiki/OpenEmbedded-Build-Instructions. Please let us know if you encounter any problems.


Fix erroneous pan-x pan-y use and handling

The touch-action property determines which default actions the browser should take. For instance, touch-action: pan-x means that the browser will only handle horizontal scrolling itself, while touch-action: pan-y means the browser will handle vertical scrolling.
In the touch-action logic for the pan recognizer, this logic seems to have been turned around. Currently, with DIRECTION_VERTICAL, it wants to set TOUCH_ACTION_Y - but this wouldn't work in practice, as this instructs the browser to handle vertical scrolling...and it's exactly that kind of movement we do want to intercept outselves. And vice-versa, for DIRECTION_HORIZONTAL, the script sets TOUCH_ACTION_X. The fact that these still seem to work in practice (in certain conditions) seems due to additional logic which then combines/modifies the overall touch-action value further...however, this PR fixes the problem at the source.
A further issue currently seems to be a misunderstanding of what touch-action: pan-x pan-y means - in essence, this value tells the browser to directly handle horizontal and vertical scrolling. It is exactly the same as touch-action: auto. However, both in the script logic and the manual test case, it seems the author made the assumption that touch-action: pan-x pan-y had the opposite effect of stopping the browser from handling these. That is incorrect.
The modified script from this PR was tested on a Surface 3 (with touchscreen) in IE11 and Microsoft Edge, which support native pointer events (and therefore respond to the touch-action directive; further testing done in Google Chrome and Firefox, which use the touch-action polyfill code. On mobile, this was tested on iOS9/Safari.

This fixes #846

/cc @arschmitz (as I think @jtangelder has taken a backseat from maintenance of this project)
Just wanted to stress that this fix is fairly critical, as currently use of vanilla Hammer will break on actual Pointer-Events-enabled browsers under certain conditions (see #846)

@patrickhlauke thank you very much for the PR. We are planning a release very soon to address some other critical issues just trying to fix a few broken tests first. I will make sure this gets in to that release.

super, thanks :)

Thank you very much Alex!
Sent from my mobile device.
Op 7 okt. 2015 17:12 schreef "Patrick H. Lauke"<EMAIL_ADDRESS>
super, thanks :)
—
Reply to this email directly or view it on GitHub
https://github.com/hammerjs/hammer.js/pull/855#issuecomment-146225375.


Fix build:preview, add server:preview, update hugo

Summary
build:preview wrapped into a call to hugo which did not involve -D or -F. Fix this.
Add server:preview as it's useful.
Update hugo to 109
Basic example
N/A
Motivation
Fix a defect, add a useful feature, update hugo for features and bugs
Checks

[X] Read Create a Pull Request
[N/A] Supports all screen sizes (if relevant)
[N/A] Supports both light and dark mode (if relevant)
[X] Passes npm run test

Thanks! But, no longer relevant — I'm closing your PR now.


Fix line_number and arg_name order and occurrence number

Codecov Report

Merging #68 (6712edb) into master (54beee6) will decrease coverage by 1.26%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##            master      #68      +/-   ##
===========================================
- Coverage   100.00%   98.73%   -1.27%
===========================================
  Files            5        5
  Lines          310      317       +7
===========================================
+ Hits           310      313       +3
- Misses           0        4       +4

Impacted Files
Coverage Δ

src/objprint/objprint.py
100.00% <100.00%> (ø)

src/objprint/color_util.py
80.00% <0.00%> (-20.00%)
:arrow_down:

Continue to review full report at Codecov.

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


AttributeError: 'ChatBot' object has no attribute 'set_trainer'

Hi,
Just after installing ChatterBot ( version is 1.0.0a3.) , I tried to execute the following code snippet from quick start guide:
from chatterbot import ChatBot
chatbot = ChatBot("Ron Obvious")
from chatterbot.trainers import ListTrainer

conversation = [
    "Hello",
    "Hi there!",
    "How are you doing?",
    "I'm doing great.",
    "That is good to hear",
    "Thank you.",
    "You're welcome."
]

chatbot.set_trainer(ListTrainer)
chatbot.train(conversation)

It failed to execute with the error, " AttributeError: 'ChatBot' object has no attribute 'set_trainer' ". I couldn't find any other post related to this attribute either.
I skimmed through the code of chatterbot.py and found ChatBot indeed  has neither 'set_trainer'  nor 'train' function.
Am I missing something here? I would really appreciate if anybody could help me here.
Thanks,

Sure, that output (No value for search_text was available on the provided input) is just logging information. The logging level can be changed like this:
import logging
logger = logging.getLogger()
logger.setLevel(logging.ERROR)

You can add these lines to the top of your program.

This is my code:
from chatterbot.trainers import ListTrainer
conversation = [
"Hello",
"Hi there!",
"How are you doing?",
"I'm doing great.",
"That is good to hear",
"Thank you.",
"You're welcome."
]
trainer = ListTrainer(chatbot)
trainer.train(conversation)
This is the error:
Traceback (most recent call last):
File "C:/Users/zarai/OneDrive/Documents/KACST/BobBot/newchatbot.py", line 13, in
trainer = ListTrainer(chatbot)
NameError: name 'chatbot' is not defined
Python version: 3.7.2
Chatterbot version: 0.8.7
Why does ListTrainer not import? I have tried many different solutions but nothing works. Sometimes ListTrainer downloads only 14% and then it quits with an error.

Thank you, solved.

from flask import Flask, render_template
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
app = Flask(name)
english_bot = ChatBot("Chatterbot", storage_adapter="chatterbot.storage.SQLStorageAdapter")
english_bot.set_trainer(ListTrainer)
english_bot.train("./data")
@app.route("/")
def home():
return render_template("index.html")
@app.route("/get")
def get_bot_response():
userText = request.args.get('msg')
return str(english_bot.get_response(userText))
if name == "main":
app.run()
from flask import Flask, render_template, request
from chatterbot import ChatBot
from chatterbot.trainers import ChatterBotCorpusTrainer
app = Flask(name)
english_bot = ChatBot("Chatterbot", storage_adapter="chatterbot.storage.SQLStorageAdapter")
english_bot.set_trainer(ChatterBotCorpusTrainer)
english_bot.train("./data")
@app.route("/")
def home():
return render_template("index.html")
@app.route("/get")
def get_bot_response():
userText = request.args.get('msg')
return str(english_bot.get_response(userText))
if name == "main":
app.run()

@mady143 Please see this comment for an example of how to change your training code:
https://github.com/gunthercox/ChatterBot/issues/1555#issuecomment-453700386

This is my code
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
from chatterbot.trainers import ChatterBotCorpusTrainer
import os
bot=ChatBot('Bot')
bot.set_trainer(ListTrainer)
for files in os.listdir('C:\chatterbot-corpus-1.2.0\chatterbot_corpus\data\english/'):
data= open('C:\chatterbot-corpus-1.2.0\chatterbot_corpus\data\english/' + files,'r').readlines()
bot.train(data)
while True:
message=input('you:')
if message.strip()!='bye':
reply= bot.get_response(message)
print('ChatBot :',reply)
if message.strip()=='bye':
print('ChatBot: bye')
break
@gunthercox can you please help me with the error(AttributeError: 'ChatBot' object has no attribute 'set_trainer')

from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
import os
bot = ChatBot('Bot')
#trainer = ChatterBotCorpusTrainer(ChatBot)
#trainer.train("chatterbot.corpus.english")
trainer = ListTrainer(bot)
for files in os.listdir('C:/Users/Era/Desktop/Chat/chatterbot-corpus-master/chatterbot-corpus-master/chatterbot_corpus/data/english/'):
data=open('C:/Users/Era/Desktop/Chat/chatterbot-corpus-master/chatterbot-corpus-master/chatterbot_corpus/data/english/' + files, 'r').readlines()
trainer.train(data)
while True:
message = input('You:')
if message.strip()!= 'Bye' :
reply = bot.get_response(message)
print('ChatBot :', reply)
if message.strip() == 'Bye':
print('ChatBot: Bye')
break

Hi,
Just after installing ChatterBot ( version is 1.0.0a3.) , I tried to execute the following code snippet from quick start guide:
from chatterbot import ChatBot
chatbot = ChatBot("Ron Obvious")
from chatterbot.trainers import ListTrainer

conversation = [
    "Hello",
    "Hi there!",
    "How are you doing?",
    "I'm doing great.",
    "That is good to hear",
    "Thank you.",
    "You're welcome."
]

chatbot.set_trainer(ListTrainer)
chatbot.train(conversation)

It failed to execute with the error, " AttributeError: 'ChatBot' object has no attribute 'set_trainer' ". I couldn't find any other post related to this attribute either.
I skimmed through the code of chatterbot.py and found ChatBot indeed has neither 'set_trainer' nor 'train' function.
Am I missing something here? I would really appreciate if anybody could help me here.
Thanks,

hi bro
i am also same issue facing but fix this error
please following solve error steps:
Flask==0.12.3
chatterbot==0.8.4
SQLAlchemy==1.1.11
install same version packages
issue is solved .....

This is my code
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
from chatterbot.trainers import ChatterBotCorpusTrainer
import os
bot=ChatBot('Bot')
bot.set_trainer(ListTrainer)
for files in os.listdir('C:\chatterbot-corpus-1.2.0\chatterbot_corpus\data\english/'):
data= open('C:\chatterbot-corpus-1.2.0\chatterbot_corpus\data\english/' + files,'r').readlines()
bot.train(data)
while True:
message=input('you:')
if message.strip()!='bye':
reply= bot.get_response(message)
print('ChatBot :',reply)
if message.strip()=='bye':
print('ChatBot: bye')
break
@gunthercox can you please help me with the error(AttributeError: 'ChatBot' object has no attribute 'set_trainer')

from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
import os
bot = ChatBot('Bot')
#trainer = ChatterBotCorpusTrainer(ChatBot)
#trainer.train("chatterbot.corpus.english")
trainer = ListTrainer(bot)
for files in os.listdir('C:/Users/Era/Desktop/Chat/chatterbot-corpus-master/chatterbot-corpus-master/chatterbot_corpus/data/english/'):
data=open('C:/Users/Era/Desktop/Chat/chatterbot-corpus-master/chatterbot-corpus-master/chatterbot_corpus/data/english/' + files, 'r').readlines()
trainer.train(data)
while True:
message = input('You:')
if message.strip()!= 'Bye' :
reply = bot.get_response(message)
print('ChatBot :', reply)
if message.strip() == 'Bye':
print('ChatBot: Bye')
break

hi !
i am also same issue facing but fix this error
please following solve error steps:
Flask==0.12.3
chatterbot==0.8.4
SQLAlchemy==1.1.11
install same version packages
issue is solved .....

Hi,
Just after installing ChatterBot ( version is 1.0.0a3.) , I tried to execute the following code snippet from quick start guide:
from chatterbot import ChatBot
chatbot = ChatBot("Ron Obvious")
from chatterbot.trainers import ListTrainer

conversation = [
    "Hello",
    "Hi there!",
    "How are you doing?",
    "I'm doing great.",
    "That is good to hear",
    "Thank you.",
    "You're welcome."
]

chatbot.set_trainer(ListTrainer)
chatbot.train(conversation)

It failed to execute with the error, " AttributeError: 'ChatBot' object has no attribute 'set_trainer' ". I couldn't find any other post related to this attribute either.
I skimmed through the code of chatterbot.py and found ChatBot indeed has neither 'set_trainer' nor 'train' function.
Am I missing something here? I would really appreciate if anybody could help me here.
Thanks,

hi bro
i am also same issue facing but fix this error
please following solve error steps:
Flask==0.12.3
chatterbot==0.8.4
SQLAlchemy==1.1.11
install same version packages
issue is solved .....

HI,
I am facing an issue regarding set_trainer in chatterbot please check the bellow code if their is any error please let me know
from flask import Flask, render_template
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
app = Flask(name)
english_bot = ChatBot("Chatterbot", storage_adapter="chatterbot.storage.SQLStorageAdapter")
english_bot.set_trainer(ListTrainer)
english_bot.train("./data")
@app.route("/")
def home():
return render_template("index.html")
@app.route("/get")
def get_bot_response():
userText = request.args.get('msg')
return str(english_bot.get_response(userText))
if name == "main":
app.run()
from flask import Flask, render_template, request
from chatterbot import ChatBot
from chatterbot.trainers import ChatterBotCorpusTrainer
app = Flask(name)
english_bot = ChatBot("Chatterbot", storage_adapter="chatterbot.storage.SQLStorageAdapter")
english_bot.set_trainer(ChatterBotCorpusTrainer)
english_bot.train("./data")
@app.route("/")
def home():
return render_template("index.html")
@app.route("/get")
def get_bot_response():
userText = request.args.get('msg')
return str(english_bot.get_response(userText))
if name == "main":
app.run()
Thank you in Advance

hi bro
i am also same issue facing but fix this error
please following solve error steps:
Flask==0.12.3
chatterbot==0.8.4
SQLAlchemy==1.1.11
install same version packages
issue is solved .....


MIS deployment failed. The access page displays internal server error

docker-compose ps

mis-web logs
ghcr.io/pkuhpc/scow/gateway:latest           "/docker-entrypoint.…"   4 minutes ago   Up 4 minutes   <IP_ADDRESS>:80->80/tcp, :::80->80/tcp   scow-deployment-master-gateway-1
[root@master scow-deployment-master]# docker logs 3b68b484584a

<EMAIL_ADDRESS>serve
next start

ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
Server Runtime Config {
AUTH_EXTERNAL_URL: '/auth',
AUTH_INTERNAL_URL: 'http://auth:5000',
CLUSTERS_CONFIG: {
'1': {
displayName: 'aiserver',
misIgnore: true,
slurm: [Object],
scheduler: 'slurm'
}
},
CLUSTER_TEXTS_CONFIG: {
default: { clusterComment: 'aiserver', extras: [Array] },
tenant_1: { clusterComment: 'aiserver' }
},
UI_CONFIG: {
footer: { defaultText: 'demo' },
primaryColor: { defaultColor: '#9B0000' }
},
DEFAULT_PRIMARY_COLOR: '#9B0000',
SERVER_URL: 'mis-server:5000'
}
Public Runtime Config {
ENABLE_CREATE_USER: false,
ENABLE_CHANGE_PASSWORD: false,
PREDEFINED_CHARGING_TYPES: [ 'demo' ],
CLUSTERS: { '1': { id: '1', name: 'aiserver' } },
ACCOUNT_NAME_PATTERN: '',
ACCOUNT_NAME_PATTERN_MESSAGE: 'error',
PORTAL_URL: '/'
}
warn  - Invalid next.config.js options detected:

The root value has an unexpected property, webpackDevMiddleware, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, future, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, staticPageGenerationTimeout, swcMinify, trailingSlash, typescript, useFileSystemPublicRoutes, webpack).
The root value has an unexpected property, configOrigin, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, future, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, staticPageGenerationTimeout, swcMinify, trailingSlash, typescript, useFileSystemPublicRoutes, webpack).
The root value has an unexpected property, target, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, future, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, staticPageGenerationTimeout, swcMinify, trailingSlash, typescript, useFileSystemPublicRoutes, webpack).
The root value has an unexpected property, webpack5, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, future, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, staticPageGenerationTimeout, swcMinify, trailingSlash, typescript, useFileSystemPublicRoutes, webpack).
The root value has an unexpected property, svgrOptions, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, future, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, staticPageGenerationTimeout, swcMinify, trailingSlash, typescript, useFileSystemPublicRoutes, webpack).
The value at .amp.canonicalBase must be 1 character or more but it was 0 characters.
The value at .assetPrefix must be 1 character or more but it was 0 characters.
The value at .experimental.outputFileTracingRoot must be 1 character or more but it was 0 characters.
The value at .i18n must be an object but it was null.

See more info here: https://nextjs.org/docs/messages/invalid-next-config
Error: 5 NOT_FOUND: Unknown Error
at Object.callErrorFromStatus (/app/node_modules/.pnpm/@grpc+grpc-js@1.6.10/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
at Object.onReceiveStatus (/app/node_modules/.pnpm/@grpc+grpc-js@1.6.10/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
at Object.onReceiveStatus (/app/node_modules/.pnpm/@grpc+grpc-js@1.6.10/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
at Object.onReceiveStatus (/app/node_modules/.pnpm/@grpc+grpc-js@1.6.10/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
at /app/node_modules/.pnpm/@grpc+grpc-js@1.6.10/node_modules/@grpc/grpc-js/build/src/call-stream.js:188:78
at processTicksAndRejections (node:internal/process/task_queues:78:11)
for call at
at ServiceClientImpl.makeUnaryRequest (/app/node_modules/.pnpm/@grpc+grpc-js@1.6.10/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
at ServiceClientImpl.getUserInfo (/app/node_modules/.pnpm/@grpc+grpc-js@1.6.10/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
at /app/node_modules/.pnpm/@ddadaal+tsgrpc-utils@0.14.2_@grpc+grpc-js@1.6.10/node_modules/@ddadaal/tsgrpc-utils/lib/async.js:14:27
at new Promise ()
at asyncClientCall (/app/node_modules/.pnpm/@ddadaal+tsgrpc-utils@0.14.2_@grpc+grpc-js@1.6.10/node_modules/@ddadaal/tsgrpc-utils/lib/async.js:13:12)
at validateToken (/app/apps/mis-web/.next/server/chunks/1536.js:475:61)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /app/apps/mis-web/.next/server/pages/api/auth/callback.js:136:9 {
code: 5,
details: 'Unknown Error',
metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}

mis-server log

Browser access prompt

Hello. This is because the user you are logging in with doesn't exist in the MIS db. Please check whether there is a user in the scow db with the same user id (the userId column of the user table) as the one you are logging in with.
You can access db by executing the db.sh script located at the root of scow-deployment folder. If there is no such file, please git pull at the scow-deployment project to get the latest version.

I tried to update the data table, but I still couldn't log in after the update


Suggestions & Issues

proper image name instead of random strings. This allows images to be found in search engines (SEO).
 ![esteem-surfer.png](https://img.esteem.ws/esteem-surfer.png) instead of ![9pnxgvych0.png](https://img.esteem.ws/9pnxgvych0.png)
support links without HTTP/S prefix.
tiny scrollbar similar to the one available on https://stackedit.io/app#
ctrl+s in editor; shortcut to save as draft

Author's Potential Payout

Emoji

Voter's Value & Time to Recharge for both Mana and RCs

Footers

Favorite icon on Quick Editor's Profile

Copy Steem or Busy Direct Link

Surfer in Maximize or Full Screen; The spaces after Top Posts are left blanked. Can there be a button to enable or disable Top Posts or any other info that can be added. It looks cool if not in Full Screen though.

Add support for Grammarly in editor

There is a typo here…, it should be Could not connect to __

Auto Refresh on every page

Grammarly is bit longer topic to discuss, it is against privacy and we shouldn't encourage our users to use it. Everything you type will/might be compromised.

@feruzm Thanks for elaborating.

Wallet Improvement

Clicking on -SP should show delegatees details.

Clicking on +SP should show should show delegators details.

Show power down with amount e.g. ( Next power down is 6days 554 SP)

Show correct wallet value similar to busy and SteemPlus

Table Insert Mode
Table insert mode instead of the fixed 3*3.
Users can input the number of rows and columns they want to use. Clicking the table icon shows a box which users can then input number of rows and columns.

@talha users can't connect to the listed servers or custom server address even if the server is working. Error: Could not connect to server.. I'm also facing this issue.
Some people can only connect to one server but as for me none, please look into this for later releases.

Head push notification / notification when favorite authors publish new posts


Potential performance improvements investigations

In the following issue I suggest several leads for improving performance, which could be investigated:

Separation of LogView and/or Minimap in smaller sub-components (introduce functional components) for introduction of React memoization (Second point of investigation)

Application of React memoization  through the use of: PureComponents, memo for functional components, useMemo() (react.dev) and useCallback()

Application asynchronicity/concurrency through web-workers( web-workers simple example ) to complete slow and complex operations in the background instead of the "main" thread.

Application of debouncing to postpone the rapid execution of complex computations.

Use of OS libraries for optimization. For example, applying react.fast.compare in combination with memoization to avoid unnecessary re-rendering.

There are VS Code extensions to help open large files, e.g. https://marketplace.visualstudio.com/items?itemName=mbehr1.vsc-lfs
I haven't tried this.


This method should not be called on the main thread as it may lead to UI unresponsiveness. IOS 16

Hello,
Just starting to face this error on IOS 16, Can we have a fix for this please ?

Hii, Can you assign me this issue ?


Added spread support for relative and ordinal scopes

"change spread two tokens"
Fixes #1514
Checklist

[x] I have added tests
[ ] I have updated the cheatsheet
[x] I have updated the docs
[x] I have not broken the cheatsheet

update from meet-up:

switch spoken form to "every two tokens". In the future, if we want every other token, that would be "every second token", and every pair of tokens would be "two tokens every second token"
switch internal identifier to isEvery

Updated!

[ ] update cheatsheet


liveViz does not work with 1 pe

Original author: Yanhua Sun
Original issue: https://charm.cs.illinois.edu/redmine/issues/619

If the program is running with +p1, the livdliv will not connect on client side. Is this a known problem?

Original date: 2015-04-30 18:05:03

LiveViz should work on any number of PEs, even in a stand-alone run. If it doesn't this needs to be fixed. CCS in general is a key feature of Charm++

Original author: Xiang Ni
Original date: 2015-08-17 17:50:34

Verified that liveViz fails to work with +p1.


why the need for env "DOMAIN"

Hi, first off thanks for this handy, helpful tool :heart:
i guess many people will use traefik-certs-dumperin context with some kind of container manager. treafik2 in my case. and useally you find yourself creating a lot of containers (sometimes even dynamic) with many domains and subdomains
In such a case its a pain to manually curate the DOMAIN env for traefik-certs-dumper. But why do i need to?
When parsing the json file, traefik-certs-dumper should have all the informations in acme.json it needs, doesnt it?
....
"Certificates": [
      {
        "domain": {
          "main": "mydomain.com"
        },
        "certificate": "loooongcertstring"
        "key": "longkeystring"
        "Store": "default"
      },
      {
        "domain": {
          "main": "myotherdomain.com"
        },
        "certificate": "loooongothercertstring"
        "key": "longothereystring"
        "Store": "default"
      }
    ]
  }
....

Would be great if DOMAIN would be an optional value.
Do i ignore something or should that be technical possible?
cheers, motey

I think this is something that was a "left over" of Mailu's cert dumper.
In theory, you're right. I don't really know why I haven't noticed it before because I probably didn't really care too much about that. 😅
In case the traefik-certs-dumper does not dump any other files than domain certificates, I guess this shouldn't be a big hassle to implement.

I think this is something that was a "left over" of Mailu's cert dumper.

To clarify: No, it isn't a left over. It's meant to be there so you can selectively dump certificates.
I will add the possibility to dump the whole file if DOMAIN environment variable is not set.

Feature is implemented. I think I will create the release today as all associated issues are resolved (hopefully :))


setup travis

So, Travis is sad

@keradus I s_ck at setting up travis. Specially with go, never done that


Prevent error emitting when clicking on empty space on EditorFileDialog

Prevents error when user clicking on empty space in that dialog, e.g.:

Duplicate of #60906 (in part).


TS-3204: Crash when body_factory file is empty

Set internal buffer to null for empty files to not follow the
crash-prone execution path.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/940/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/832/ for details.

In load_from_file(). If the file length is 0, it allocates a buffer with size 1 for the terminating NULL, and returns that with length 0.


news duration set-Daily/Weekly/Bi-weekly/Monthly

To enable news duration to include a time band.
daily news is great, but mostly we are looking for weekly/monthly top news summary
The challenge must be the data scale.

yeah, I figured it out

updated in https://github.com/AgentEra/Agently-Daily-News-Collector/commit/1d1ef4c32eda9706f155a51002bc2a34610b9b0b


Change crate name to indicate fork

This includes the actual changes from the extend branches!

Change crate name
Add warning to README
Increase minor version

@aneubeck FYI, you'll have to merge this, I cannot do that in your repo.


Add static Windows support

Emit additional link values to environment in build.rs.
Run static build check and test.
Differentiate original Windows build check and test by adding keyword "dynamic" to names.

This would address #57

Windows test and builds could be made neater through the use of an additional matrix dimension/parameter called, for example, linkage with values dynamic and static.

@atlanticaccent thanks for looking at it; we aren't Windows users so it is hard for us to address those issues. I triggered the build and if it succeeds I'll merge it.
Are you willing to improve the pipeline?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.05%) to 86.387%

Totals

Change from base Build<PHONE_NUMBER>:
1.05%

Covered Lines:
330

Relevant Lines:
382

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 86.387%

Totals

Change from base Build<PHONE_NUMBER>:
1.0%

Covered Lines:
330

Relevant Lines:
382

💛  - Coveralls


The wrong translation "pixel_to_local" in the Targetted_ccd?

In the _generate_rays() function in TargettedCCDArray class, the way of translating ray origin points sampled by self._point_sampler might be wrong.
I think pixel_to_local should be defined as follows:
pixel_x = self._image_start_x - self._image_delta * (ix + 0.5)
pixel_y = self._image_start_y - self._image_delta * (iy + 0.5)
pixel_to_local = translate(pixel_x, pixel_y, 0)
I am sorry if my suggestion is wrong.

Hi @munechika-koyo,
I think your suggestion is correct. However, it is not just the TargettedCCDArray, it looks like CCDArray, PinholeCamera and OrthographicCamera are also affected. The RectangleSampler3D samples the points with the offset, namely in (-0.5 * width, 0.5 * width, -0.5 * height, 0.5 * height), not in (0, width, 0, height), so the origin point must be the pixel center, not the vertex.

The RectangleSampler samples the rectangle defined by the ranges [-width / 2, width / 2] and [-height / 2, height / 2]. The pixel_x and pixel_y should be located at the centre of the pixels. Looking at the pinhole camera calculation, it does look like there may be an error in the pixel positions. It is fortunately small for high pixel counts, but needs fixing. The small offset error is probably why we have not previously noticed it.
For the Pinhole camera:
if the image_max_width = 1.0 which means an image covering [-0.5, 0.5] and the number of pixels is (2, 2) then the centre of the pixels should be (-0.25, -0.25), (-0.25, 0.25), (0.25, -0.25) and (0.25, 0.25). The sampler width should be 0.5.
With the current implementation we get:
    image_delta = 0.5    # pixel width
    image_start_x = 0.5
    image_start_y = 0.5

The pixel centres are then:
x=0, y=0: 0.5, 0.5
x=0, y=1: 0.5, 0.0
x=1, y=0: 0.0, 0.5
x=1, y=1: 0.0, 0.0

I suspect this error crept in a few years ago when Matt and I were rewriting the samplers. I'd need to check but I suspect the original sampling was [0, 1] rather than [-0.5, 0.5].
I'll commit a fix asap.

Thank you for your prompt response and fixing.


fix: change default for CI_COMMIT_BRANCH and fix default-branch triggers in PR events

fix #3560
Commit.branch has been set to the BaseRef value in PRs for the linked forges, which equals the target branch. This then lead to a successful match with the default branch name in the when.Match logic, causing the behaviour described in the PR.
Changing Commit.branch to HeadRef, i.e. the branch name of the incoming PR, solves this.
AFAICS, no other logic makes active use of this, so I think we should be fine.
Tested this in a test repo of mine following the example of the linked issue.

Adjusting the value of CI_COMMIT_BRANCH is actually a side-effect here, but doesn't relate to the actual issue at hand. As said, the matching is happening between Commit.branch and the value of the when: branch condition, CI_COMMIT_BRANCH is not involved in this.
NB: For BB and BB datacenter, the source ref has already been set.

👍 that's what I already tried to say with https://github.com/woodpecker-ci/woodpecker/pull/4500#pullrequestreview-2484713565

@xoxys Sorry I missed that, just saw your comment on migrations.md back then.
@qwerty287 Yes, agreed.

See the migrations PR and previous discussions in this PR
I don't see why this should be documented. After this PR this is the expected behavior and main is just one normal branch name then. Why is that a special behavior?

Isn't that the intuitive behavior? A branch is a branch, whether or not a PR is associated with it. If one adds a filter to skip something on branch X, one expects that this is honored no matter if the initial trigger came from a push or pull_request event.
This is also exactly what has been reported in the linked issue what has now been fixed.
Because this is the expected/intuitive action, I am a bit confused why this needs to be highlighted. If it gets highlighted, it implies that it is not the intuitive behavior and needs documentation therefore.
Before this PR, branch filters did not apply on PR branches as the env vars which sets the branch value had been set to the target branch, not the source branch. This effectively ignored all branch filters on branches when being triggered via pull_request event, even though the branch name matched. (which also brings me back to the point that this PR is a bug fix IMO).

Isn't that the intuitive behavior?

No.

env var should be the source
the filter should be the target

👍
Question has not been answered.
Are you shooting yourself in the foot?


python310Packages.peaqevcore: 5.18.3 -> 5.18.4

Description of changes
Update to latest upstream release 5.18.4

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.peaqevcore
python39Packages.peaqevcore


⚠ Bofrost.es has degraded performance

In cf5c1c8, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1368 ms

Resolved: Bofrost.es performance has improved in 24076e4 after 6 minutes.


[Enhancement] Support Generic SR-IOV configuration via system services

Adding this for further discussion and for this to be considered as an Enhancement for OpenShift 4.8
This Enhancement proposes to move generic_plugin SR-IOV configuration to boot time, to be performed by a system service,
Similarly to how switchdev is being configured today via SR-IOV network operator.
Doing so, When a node is rebooted, would not require a node to cordon, drain on boot as well as restart of device plugin as the machine will be properly configured on boot, making the node available to the k8s cluster faster and would keep pods running on the node after reboot in case they were created without a controller.
Proposal is to take a similar pattern to mco_plugin and create a sriov_config_service plugin to inject an sriov configuration service and its configuration to the node. This plugin would then be optionally enabled to replace the existing generic_plugin
via a configuration knob in SR-IOV config daemon.
mco_plugin can later be extended to support this functionality for OpenShift cluster, utilizing MCO to inject these services.

move here from https://github.com/openshift/sriov-network-operator/issues/438
@zshi-redhat @moshe010 @adrianchiris

This might be desired in smart-nic case, where ovnkube-node running in host mode requires existence of VF0 to be the ovn mgmt port. Creating VFs via systemd service would allow VF to be ready before ovn pods start.


Fix terraform fmt hook where it is now running on all files regardless of exclude

This fixes a bug with our terraform fmt hook that was introduced in https://github.com/gruntwork-io/pre-commit/pull/15.
Specifically, terraform fmt -r ignores the exclude configuration. This makes it hard for our repos that are testing malformed terraform files as they will never pass the terraform fmt precommit hook.
Instead, we go through each file to run through terraform fmt.

Thanks for review! Merging and releasing.


chore: Bump versions to 0.10.1

Thanks for merging.
I had canceled this to get the playground to deploy faster and forgot to re-run it


cleos /v1/chain/get_block_header_state being rejected by server

run command "./cleos get block --header-state 10"
Err:
Error 3200006: invalid http request
Error Details:
The server has rejected the request as invalid!
Please verify this url is valid: http://<IP_ADDRESS>:8888/v1/chain/get_block_header_state
If the condition persists, please contact the RPC server administrator for <IP_ADDRESS>!

seems that http_plugin translates unknown_block_exception to 400 response and httpc treats 400 error code  as  invalid_http_request


Link to official implementation, remove misleading citation

It's fine to have your own re-implementation but you need to acknowledge it as such, and link the official implementation and paper:
https://github.com/microsoft/unilm
https://arxiv.org/abs/2307.02486v1
To confirm that is indeed the correct implementation, you can look at paperswithcode and see it's listed under code, and microsoft's repo lists LongNet and links to the arxiv paper.
You also include the citation on this repository, which is very misleading as this is not the official implementation and is not at all associated with the paper.
For people who aren't familiar with this guy, he regularly tries to steal people's work and mislead people into thinking it's his own:
https://github.com/kyegomez/tree-of-thoughts/issues/56
https://github.com/kyegomez/tree-of-thoughts/issues/74
https://github.com/kyegomez/tree-of-thoughts/issues/34 (providing the code and implementation before the authors did only means you are clout chasing and trying to mislead people)

Where is the code in this implementation @elliottower ?
And, where do you not see the citation?
And, how am I stealing other peoples works?
How am I misleading people?

this may be the reason

My fault I actually was mistaken that the other repo contained the full code, it looks like it's listed there but the code isn't available yet.
Still would be most clear to say an unofficial implementation, or to clarify that it is not affiliated with Microsoft Research. Adding a disclaimer section like https://github.com/danijar/dreamerv3#disclaimer would be best practice as well.
The reason I say it's misleading is if someone sees a repository, scrolls through it, and sees a citation, the first thing that goes through their heads is that it is the official implementation. Putting a citation section on your repository linking someone else's paper implies that you are affiliated with them. For example, note that this unofficial MuZero implementation creates a citation for its own repository but does not try to associate with the official citation.
Also, closing an issue before someone gets a chance to respond is pretty childish (but not unexpected), clearly you are trying to hide things and brush valid criticisms under the rug.

@elliottower I think it would be good to approach this with a constructive attitude and without hurling accusations. Regardless of whether your criticisms are justified or not, this way is unlikely to lead to a compromise. You should also be clear about what is your exact request.
I think if there is no official code available, then it is a great contribution of @kyegomez since few people will do the effort to provide the code for other people's glory -- in the end I think for the researchers the more it shows the paper name, the better.
So personally, I think changing the description is unnecessary. I would suggest to just copy the disclaimer from https://github.com/danijar/dreamerv3#disclaimer to the readme and be done with it.

@elliottower I think it would be good to approach this with a constructive attitude and without hurling accusations. Regardless of whether your criticisms are justified or not, this way is unlikely to lead to a compromise. You should also be clear about what is your exact request.
I think if there is no official code available, then it is a great contribution of @kyegomez since few people will do the effort to provide the code for other people's glory -- in the end I think for the researchers the more it shows the paper name, the better.
So personally, I think changing the description is unnecessary. I would suggest to just copy the disclaimer from https://github.com/danijar/dreamerv3#disclaimer to the readme and be done with it.

You have a point but given this guys past behavior (e.g., the fact that you can’t even reopen issues, the fact that in his other repos he’s actively tried to steal credit for things) it’s clear he doesn’t care and is just trying to take advantage of the hype train for any new paper that comes out and take credit from the authors (go read his comments in the tree of thoughts issues I linked if you don’t believe me)

@elliottower I think it would be good to approach this with a constructive attitude and without hurling accusations. Regardless of whether your criticisms are justified or not, this way is unlikely to lead to a compromise. You should also be clear about what is your exact request.

I think if there is no official code available, then it is a great contribution of @kyegomez since few people will do the effort to provide the code for other people's glory -- in the end I think for the researchers the more it shows the paper name, the better.

So personally, I think changing the description is unnecessary. I would suggest to just copy the disclaimer from https://github.com/danijar/dreamerv3#disclaimer to the readme and be done with it.

You have a point but given this guys past behavior (e.g., the fact that you can’t even reopen issues, the fact that in his other repos he’s actively tried to steal credit for things) it’s clear he doesn’t care and is just trying to take advantage of the hype train for any new paper that comes out and take credit from the authors (go read his comments in the tree of thoughts issues I linked if you don’t believe me)

What am I trying to steal credit from? How am I taking credit from the authors when they don't even publish their own code?
I'm implementing the papers because the authors don't release their code. I'm doing this for me not for you or anybody else.
You seem to think I'm doing this for clout but in reality I want to actually use and test this research out. Papers aren't useful, the experiments behind them are useful, and if the authors take the liberty to publish an entire paper on some extremely valuable research topic and YET do not allow for others to easily reproduce the experiment there is an grand issue at hand.
As we have strayed away from real science and have fallen into the illusion of politics and writing reports on illusions.
I keep asking you to validate your claims but you provide no definitive explanations.
I try to stay open minded so please provide me with feedback so that I may improve.

Totally fair when there’s no official code but the tree of thoughts code has exact experiment run scripts to reproduce the results. There’s nothing wrong with making an implementation, it’s just these subtle things like refusing to link the official code in the tree of thoughts repo, or putting the citation in a misleading way that makes it seem like it’s your work. Giving disclaimers that you’re not affiliated with the organizations and being generally amiable and collaborative rather than closed off and dismissive, would be a big step in the right direction. In such a small research and open source community it’s really important to work together collaboratively and respectfully.
It would also be great if you allowed people to reopen issues, and acted less defensively with closing them instantly or repeatedly (the authors of tree of thoughts opened 3 different issues).  I appreciate you saying you’re willing to accept criticism, but as they say actions speak louder than words.


Cannot read properties of null (reading, 'body'). regression in 2.6.7

Just reporting this bug upstream that we've run across in crowdin.
https://github.com/crowdin/crowdin-cli/issues/523
Downloading java runtime environment for version 11
/Users/shannah/.npm/_npx/e624e2fddcf46226/node_modules/node-fetch/lib/index.js:1519
			destroyStream(response.body, err);
			                       ^

TypeError: Cannot read properties of null (reading 'body')
    at /Users/shannah/.npm/_npx/e624e2fddcf46226/node_modules/node-fetch/lib/index.js:1519:27
    at IncomingMessage.<anonymous> (/Users/shannah/.npm/_npx/e624e2fddcf46226/node_modules/node-fetch/lib/index.js:1749:6)
    at Object.onceWrapper (node:events:641:28)
    at IncomingMessage.emit (node:events:527:28)
    at emitCloseNT (node:internal/streams/destroy:138:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

This issue doesn't appear to happen using 2.6.7
To reproduce, you can just create an empty directory and run npx<EMAIL_ADDRESS>

yeah, i also experience this after updating to 2.6.7
TypeError: Cannot read properties of null (reading 'body')     at /user/production/node_modules/node-fetch/lib/index.js:1519:27     at IncomingMessage.<anonymous> (/user/production/node_modules/node-fetch/lib/index.js:1749:6)     at Object.onceWrapper (node:events:627:28)     at IncomingMessage.emit (node:events:513:28)     at emitCloseNT (node:internal/streams/destroy:132:10)     at process.processTicksAndRejections (node:internal/process/task_queues:81:21)

I've run into this on 2.6.8 as well. After downgrading to 2.6.7 things worked as expected.

An old bug in case of a redirect seems to be reintroduced in this version 2.6.8 -  #1222

I also have this issue

Also met such problem. Returned to 2.6.7 version - and it fixed it.


Chapter 2: Error with the check_image function

Hi @FoxxUI!
Could you please share the versions you had installed?
I just ran it on Google Colab and it works fine.
Versions installed:
torch: 1.12.1+cu113
torchvision: 0.13.1+cu113
PIL: 7.1.2

I made a few changes in order to run it on Colab, see here: https://github.com/MarcusFra/beginners-pytorch-deep-learning/blob/google_colab_ch2/chapter2/Chapter 2_with_Colab.ipynb (you need to adjust the paths to train, val and test set)
Does that help you?


Android Editor: Add immersive mode option

This allows using the Android Godot Editor in immersive mode, making the most of available screen space.
When this setting is enabled, Godot will change into immersive mode mid-startup, as the editor settings are not available until then. (A marker file was considered, but this seemed neater, all things considered. If it works well enough, it also implies that dynamically switching to immersive mode might be a future feature.)
Pre-commit hooks were skipped due to errors in the class reference that, to my knowledge, are outside of the scope of this PR. See the commit message for details. No code formatting errors were detected by the stages that did succeed.

This option uses the --use_immersive functionality that already existed.

I like the approach of re-using the --use_immersive functionality and I think we can update the PR logic to only use that approach for both the editor and the play/game window. In order to do so

The logic in editor_run should be moved to GodotEditor#onNewGodotInstanceRequested(...).

As done in editor_run, the logic should check if immersive_mode is enabled, and if so add the immersive flag in the args parameter if it doesn't contain it already.

With this approach, the PR should only require changes in editor_settings to introduce the setting, and in GodotEditor to update the launch parameters as needed
This also means that the project settings will not launch in immersive mode when launch from the library, but I think that's fine as the primary use case is to have the editor window in immersive mode.

Found out from testing that saving and reading the editor setting at restart time does not seem to work for some reason (the update editor setting value is not being picked up).
So let's fall back to your current approach of exposing Godot#enableImmersive() and have GodotEditor invoke it in onGodotSetupCompleted() based on the editor setting.
You should be able to remove the changes in GodotGame and editor_run since, as mentioned in the previous comment, you should use a single setting to control immersive mode for both the editor and the play / game window.

@20kdc I ended up adding the functionality in https://github.com/godotengine/godot/pull/96208 while I was cleaning some of the immersive mode logic.
Thanks for kicking off the thread on this feature!


Add inclusion of string.h to build successful

The application was not buildable both with gcc (version 12) and clang (version 15). That is now fixed.

Thanks 👍


Solr prefers longer terms instead of shorter terms

e.g. we would probably like ather to prefer atherosclerosis (MONDO:0005311) instead of atherosclerosis susceptibility (MONDO:0007169). This might be possible by incorporating shortest_name_length back into the sort or by tweaking the boosts.

We have improved this by using CURIE suffix sorting, but we're still seeing e.g. MONDO:0002004 "atheroembolism of kidney" being sorted above MONDO:0005311 "atherosclerosis", but it's still the second match, so that's not too bad? I'm going to close this for now, but if somebody can articulate a better way to do this kind of sort, that would be fantastic.


Solution for MSSQL integration tests getting stuck #645

In the  database_ready method of ./src/sql/_testing.py, connection to the database is atttempted for 60 seconds, at an interval of every half a second.  When the driver is absent, this goes on for the entire 60 seconds.
Reducing the number of attemtps is not suggested.  Even when driver is present  multiple attempts are often needed before sql.create_engine can connect to the database.
A function has been added to explicitly check if the driver is present, throws a runtime error, and displays appropriate message. Also suitable edits to the doumentation have been made.
@edublancas
@neelasha23
@yafimvo

:books: Documentation preview :books:: https://jupysql--715.org.readthedocs.build/en/715/

As I understand, an ideal solution should satisfy two properties:

The solution translates to other databases (without extra code changes)
How about we maintain a json file somewhere in the repo? whenever a new database is introduced, an entry can be made to the json file.  The json file will hold information about what drivers are needed for a databse.
In this way no code changes will be needed when new databases are introduced.  If a databse which requires drivers is introduced, just an entry into the json file will suffice.

The solution does not require changes in the integration test code:
In the solution I give, the modifications, I have implemented are to src/sql/_testing.py, there are no modifications in the directory: src/tests/ .
I have verified that with the modified version: When the driver is installed all the tests pass with an intermittent server being built by docker.
Without driver being installed, the tests fail immediately.

Keeping a JSON file will still require us to maintain the file. We want to get to the root cause: why are our integration tests take too long to exit when there is a missing dependency?
Even for large packages, running import {package} usually takes 1-2 seconds, so there must be something wrong with the way we're setting them up that causes the error to be raised about a minute after we start running them. So I'm proposing to get to the root cause of the problem.

Let me think about how to get missing dependencies, without having a json file explicitly having records of the dependencies.

Here is a solution, that
Does not have edits to src/tests/
I expect it to solve the problem of error being raised about a minute after start in the case of any missing dependnecies.*
The specific example of ODBC Driver or MSSQL is not hard coded in the solution.
Root Cause:
MSSQL docker container can be successfully run without the ODBC driver. The driver is necessary for sql alchemy to connect through an engine object.
Even when a driver is installed it may take multiple attempts for connection to be established. A sqlalchemy.exc.OperationalError can get thrown during handshakes before login. Causes can be many things such as an application-side or database-side deadlock. Usually after a few attempts the engine object gets successfully created and connection is established. To allow for a few failed connection attempts, an entire 60 sec window (while loop) is alloted for retrying to connect (/src/sql/_testing.py database_ready). sqlalchemy gets this entire 60 secs window to keep making attempts to connect to the server until it succeeds (~ heuristically on avg about 3-4 secs is taken to establish handshake). Once a successful connection is established the loop is immediately exited. I have observed that multiple connection attempts are needed for maria db, postgreSQL and mysql as well.
When there is a driver missing (or any other missing dependency), the client spends the entire 60 secs stated above trying to connect to the server and failing (sqlalchemy.exc.InterfaceError...no default driver specified (0) (SQLDriverConnect)'). This 60 secs (src/sql/_testing.py database_ready ) that is reserved for reconnection attempts IS THE ROOT CAUSE for why when dependencies are missing the tests take so long to fail. Connections fail because dependencies are missing and reconnections are attempted until the entire 60 secs is complete.
Solution:
To solve this one must ensure that when dependencies are missing, 60 secs worth of retries are not carried out. When drivers are missing sql throws an InterfaceError. Unless sql throws an
OperationalError retries to reconnect will not happen.
I have verified that with this modified version: When the ODBC driver is installed all the tests pass with an intermittent server being built by docker.
Without ODBC driver being installed, the tests fail immediately.


Change BSD-2-Clause license URL in the POM from "http" to "https" to conform to SPDX

We're using a Gradle plugin that helps prevent inadvertent transitive dependencies with licenses we haven't explicitly allowlisted. Since Commonmark is licensed under BSD-2-Clause, it should be possible to allowlist it by the license's SPDX:
allow('BSD-2-Clause')

This doesn't work however as the license URL, as indicated in the POM, is an "http" URL, while the SPDX spec requires it to be "https".
A simple fix is to change the URL to "https", I'll be happy to send a PR if there are no objections.

Hey! Yeah sounds good, can you raise a PR? Thanks


http://tako80.net/ hacked

Seems like someone have spoofed the url. Maybe remove it from the list?

Ouch. Redirected the url to its github repo for now.


moment.diff in months around Feb 28th is wrong

When using moment.diff with 28th Feb, the results wrong. The function reports exactly 1 month difference with any date where the day of the month is 28 or more.
moment('2015-03-28').diff(moment('2015-02-28'),'months',true); // 1
moment('2015-03-29').diff(moment('2015-02-28'),'months',true); // 1
moment('2015-03-30').diff(moment('2015-02-28'),'months',true); // 1
moment('2015-03-31').diff(moment('2015-02-28'),'months',true); // 1

// Different result when switching the dates around
moment('2015-02-28').diff(moment('2015-03-31'),'months',true); // -1.0955585464333781

I can't see a situation where this result would be expected.
http://jsfiddle.net/vjqa50dy/

The third argument indicates if it can return float or not. when you set it true, then it will return float number when needed.
set it false, it will only return integer.

Yes I know, but in my example I'm setting it to true and it is returning an integer. The following returns exactly 1:
moment('2015-03-30').diff(moment('2015-02-28'),'months',true);

This is correct, right? the diff days is 30 days, then it would be one month.

I can see that could make sense but I think it in inconsistent due to the following:

moment('2015-03-30').diff(moment('2015-02-28'),'months',true); is 1 but moment('2015-02-28').diff(moment('2015-03-30'),'months',true); (the inverse) is -1.06325...

The following 4 all return exactly 1 month:

moment('2015-03-28').diff(moment('2015-02-28'),'months',true); // 1
moment('2015-03-29').diff(moment('2015-02-28'),'months',true); // 1
moment('2015-03-30').diff(moment('2015-02-28'),'months',true); // 1
moment('2015-03-31').diff(moment('2015-02-28'),'months',true); // 1

Which can't be right - certainly in my thinking you can't have more than one answer for the question "which day is exactly 1 month after day x"?

This has been discussed several times before.  The latest is in #2598.
The fact is, a month is not a fixed unit of time (neither is a year).  Since a moment tracks time in absolute instantaneous time (as opposed to calendar time), there are various compromises to be made, and there are bound to be inconsistencies.
In particular, it does matter which direction you are moving when adding/subtracting/differencing months.  x + 1 - 1 == x doesn't hold true for calendar math in all cases.

Ok thanks. From a user's point of view though I would intuitively assume the following:

m1.diff(m2) == m2.diff(m1)
moment('2015-03-31').diff(moment('2015-02-28'),'months',true) > 1

Potentially a note in the docs would be useful on these points.


Sequence examples no longer work as advertised / section could use improvement

Hello
In page http://doc.perl6.org/language/list#Sequences , the following example:
  my @s := (loop { 42.say }); # Error expected Positional but got Seq

triggers an endlees loop instead of the error mentioned in comment (tested with rakudo 2016.03).
Although I can't say if this is a bug or a documentation error.
All the best

Looks like that whole section needs to be rewritten. None of the examples with binding produce described results, so I think the behavior of loop in such form has changed.
Also, using only the loop {...} to make a sequence leaves out much neater things like the sequence operator: 0, 2 ... * might be a better example to use, or at least it should be mentioned.

That page has evolved, and that particular example works as advertised. Can you please check if it's OK now, or suggest changes?

This example is wrong:
my @s := Seq.new(<a b c>); CATCH { default { say .^name, ' ', .Str } }
# OUTPUT «Type check failed in binding to $iter; expected Iterator but got List ($("a", "b", "c"))␤  in block <unit> at <tmp> line 1␤␤»

It's trying to show that you can't bind a Seq to a Positional variable, but it's constructing the Seq incorrectly and gets the wrong error. It's meant to be <a b c>.Seq and then the error message will be different; actually saying that you can't bind stuff.

Although I can't say if this is a bug or a documentation error.

It's a known bug. IIRC it's trying to reify the Seq with .perl to show a bit of its guts in the error message and ends up reifying forever.


UI Application as .NET Core application

The UI Application of ConfuserEx needs to be updated to use .NET core, instead of .NET framework.
There are two ways to go about this:
Wait for .NET Core 3.0 and utilise the desktop packs to get everything working again, or use a cross platform UI framework (Avalonia?) to get this working.

The real question is: should it be cross-plat?
Even though we wait for the .NET Core 3.0 release, the desktop packs will be Win only.
Avalonia solves this as it is the only(?) cross platform desktop UI solution, but I don´t know much about it, neither if it is stable at this current point.

Well the CLI is already cross-platform now. Thanks to .NET Core, it's very little, if any, extra afford to support multiple platforms. So there is nothing really speaking against it.
The UI is the only thing that may need some more work. Avalonia doesn't appear to be very stable at this point. That issue is nothing that needs a solution right now. I'll wait and see how things develop, especially with .NET Core 3.


Reorganize tikv_alloc's cargo features

The way tikv_alloc uses features makes it easy to silently break it's conditional compilation such that it's impossible to disable jemalloc.
tikv_alloc makes jemalloc a default feature that can be turned off by asking cargo to disable its default features. In order to make it possible to do so, the tikv create marks jemalloc as default-features = false and turns them back on by itself making jemalloc a default feature.
Unfortunately it is very easy to link crates together in a way that makes it impossible to turn off default features. For it to be possible to turn off default features, every crate that links to tikv_alloc or tikv must configure it as default-features = false. Features are additive, so if any crate in the dag requests the feature, including the default feature, then it will be on.
Someone adding a new crate is probably not going to to know this.
So I think the right way to organize the features is to not name "jemalloc" as a default feature. in either tikv or tikv_alloc. That way crates don't have to turn off the default feature. jemalloc is still used by default, there's just no feature named "jemalloc". Instead there is a feature named "system-alloc".
Need to wait for https://github.com/tikv/tikv/pull/4207, which itself is reorganizing the features to make tcmalloc work.

@brson
I want to use sanitizer which is conflicted jemalloc, so how can I enable all the crates don't use it?

@siddontang today it's not possible because of https://github.com/tikv/tikv/issues/4410, which is fixed in https://github.com/tikv/tikv/pull/4411.
After just https://github.com/tikv/tikv/pull/4411 it might be possible, but I'd wait  for https://github.com/tikv/tikv/pull/4370. After that you would run
cargo build --no-default-features
After https://github.com/tikv/tikv/pull/4411 and https://github.com/tikv/tikv/pull/4370 land and this issue is fixed you would do:
cargo build --feature=system_alloc

@brson  https://github.com/tikv/tikv/pull/4524


Adds support for fixed zoom levels

Adds a new option zoomLevels for defining fixed zoom levels as an array. Useful in cases where a more predictable zooming is required.

Another lovely patch!
Due to its reliance on imageZoom, this will only work with single images; with multiple images in the viewer's World, the results won't be what you want and it'll throw errors into the console. On the other hand, I suppose it only really makes sense for single images (unless you wanted to base it off of whichever of the multiple images the user happens to be focused on). At any rate, something should be done to at least warn of this issue.
I'm wondering if this should actually be a plugin. I know OSD has a ton of these option flags, but we're trying to simplify the core and move this kind of stuff to plugins. It seems like this could be accomplished as a plugin (listening for the zoom event). What do you think?

I wanted to make a plugin but it was not possible with my initial approach. Though the way it turned out in the end, it is easy. The plugin is here https://github.com/picturae/OpenSeadragonZoomLevels . I will add a new pull request to the site later today.

Beautiful!


[Feature] angular 1.x scope in custom cell editor

It would be nice to get angular scope via params in custom cell editor (same as custom filter does).

the cellEditors are not compiled the same way as the cellRenderers are. i'm planning to review all the new 'components' in a future release and get them all consistent. won't be for a few months before its' ready though.