GET http://model.bin/ net::ERR_NAME_NOT_RESOLVED

It has been a struggle to get even a basic implementation of technicalindicators working in React. At least I have something working now but still getting errors.
I created a React app using create-react-app. I then added all the packages from the technicalindicators package.json file.
My package.json looks like this:
{
"name": "react-technicalindicators",
"version": "0.1.0",
"private": true,
"devDependencies": {
"@types/chai": "^3.0.0",
"@types/mocha": "^2.0.0",
"@types/node": "^6.0.31",
"babel-cli": "^6.8.0",
"babel-core": "^6.8.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2015-rollup": "^3.0.0",
"babel-register": "^6.8.0",
"babel-runtime": "^6.23.0",
"chai": "^3.0.0",
"draw-candlestick": "*",
"gulp": "^3.9.1",
"gulp-mocha": "^2.2.0",
"gulp-util": "^3.0.8",
"koa": "^2.2.0",
"koa-static": "^3.0.0",
"mocha": "^2.4.5",
"monaco-editor": "^0.8.3",
"rimraf": "^2.0.0",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-babel-minify": "^3.1.2",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-uglify": "^1.0.2",
"rollup-watch": "^3.2.2",
"ts-node": "^1.0.0",
"tslint": "^4.0.0",
"typescript": "^2.0.0",
"graceful-fs": "^4.1.11",
"minimatch": "^3.0.4",
"pug": "^2.0.0-rc.4"
},
"dependencies": {
"@types/node": "^6.0.96",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.6.1",
"browser-js": "^1.10.1",
"keras-js": "^1.0.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "1.1.0",
"technicalindicators": "^1.1.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
I needed to add this under  in my public/index.html:
<script src="https://cdn.rawgit.com/transcranial/keras-js/master/dist/keras.min.js"></script>
<script src="dist/browser.js"></script>

In my src/App.js I added this just above the class App.
var technicalindicators = require("technicalindicators")
var result = technicalindicators.window.sma({period : 5, values : [1,2,3,4,5,6,7,8,9], reversedInput : true});
console.log(result);
The good news is I actually get a result with this approach but still getting a stack of errors.
My browser console is showing this:
(5) [3, 4, 5, 6, 7]           App.js:7
GET http://model.bin/ net::ERR_NAME_NOT_RESOLVED           keras.min.js:1
Error: Network Error
at t (keras.min.js:1)
at XMLHttpRequest.t (keras.min.js:1)
Uncaught (in promise) Error: [Model] Model configuration does not contain any layers.          keras.min.js:1
at t (https://cdn.rawgit.com/transcranial/keras-js/master/dist/keras.min.js:1:414319)
at t (https://cdn.rawgit.com/transcranial/keras-js/master/dist/keras.min.js:1:411416)
at r (https://cdn.rawgit.com/transcranial/keras-js/master/dist/keras.min.js:1:448353)
at Generator.i [as _invoke] (https://cdn.rawgit.com/transcranial/keras-js/master/dist/keras.min.js:1:449400)
at Generator.t.(anonymous function) [as throw] (https://cdn.rawgit.com/transcranial/keras-js/master/dist/keras.min.js:1:448532)
at i (https://cdn.rawgit.com/transcranial/keras-js/master/dist/keras.min.js:1:164739)
at s (https://cdn.rawgit.com/transcranial/keras-js/master/dist/keras.min.js:1:164860)
at
Any idea how to fix this?

When running in browser the file model.bin present in dist/model.bin in the respository should be accessible on your server at the location at /dist/model.bin. The model is trained using 400 count of values, so try to provide values close to 400 for a reliable prediction.
Check readme for more info.

The file is currently located here:
$ find . -name "model.bin"
./node_modules/technicalindicators/dist/model.bin
Do you mean I should move it to ./dist? or ./public/dist?
Does the server need to write to the file or just read from it?

Based on your response I would have thought it would be looking for the file at http://localhost:3000/dist/model.bin

yes you are right the it will be looking for file at that location, move the file from ./node_modules/technicalindicators/dist/model.bin to location which corresponds to your /dist/model.bin location in your server

So I copied model.bin into ./public/dist.
It is still giving this error in the browser console:
GET http://model.bin/ net::ERR_NAME_NOT_RESOLVED keras.min.js:1
To prove the file is actually in the place you requested I confirmed it with wget:
$ wget http://localhost:3000/dist/model.bin
--2018-02-08 09:09:09--  http://localhost:3000/dist/model.bin
Connecting to localhost (localhost)|<IP_ADDRESS>|:3000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1473628 (1.4M) [application/octet-stream]
Saving to: ‘model.bin’
model.bin           100%[===================>]   1.41M  --.-KB/s    in 0.002s
2018-02-08 09:09:09 (677 MB/s) - ‘model.bin’ saved [1473628/1473628]
What makes me doubt that will work is it is looking for the file here:
http://model.bin/
As in the FQDN model.bin so something doesn't look right.
What else can I try?

I am not a webpack expert and I am really not sure how create-react-app works internally, here is an simple video that demonstrate the basic working.
https://youtu.be/-q9ITNjlsHE
The only reason I can think of is it messes up the environment so it uses the node path to load the model which you can see from the below code.
import { Indicator, IndicatorInput } from '../indicator/indicator';
import { getConfig } from '../config';
import { Model } from 'keras-js';
var isNodeEnvironment = false;
(function () {
    if (typeof (module) !== 'undefined' && module.exports) {
        isNodeEnvironment = true;
    }
})();
var modelPath = getConfig('MODEL_PATH') || '/dist/model.bin';
var model = new Model({
    filepath: isNodeEnvironment ? __dirname + '/model.bin' : modelPath,
    gpu: false,
    filesystem: isNodeEnvironment
});

I am open to making changes if you have any suggestions. Thanks

To make this easier I created a git repo:
https://github.com/whittlem/react-technicalindicators
If you run the following:

git clone https://github.com/whittlem/react-technicalindicators
npm install
npm run start

And open the browser console you'll see what I'm seeing.

I looked into the project. There is multiple issues here

Technical indicators has full module support. Your app (in this case react-starter-app) should use technicalindicators main, module or jsnext:main key in package.json to load the required classes in case if it wants to build on its own. But it is looking for browser key which is a built version for browsers with all classes on window object.

There is an issue in keras-js where it loads https://github.com/transcranial/keras-js/blob/master/src/index.js#L1 babel-polyfill which conflicts with babel-polyfill injected.

Thanks.
I created the React starter app just to give me a simple base to test this. I am not sure what you mean regarding your first point. What should the package.json look like? I thought I had included the main technicalindicators package?
"dependencies": {
"@types/node": "^6.0.96",
"babel-polyfill": "^6.23.0",
"keras-js": "^1.0.2",
"babel-preset-env": "^1.6.1",
"browser-js": "^1.10.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "1.1.0",
"technicalindicators": "^1.1.3"    <--    HERE
},
On the second point what do you suggest as a fix?

I do not use webpack or react so I could not really help here. With whatever knowledge I have, For the first,  if you have a webpack project, you need to add in your webpack config.
module.exports = {
  resolve: {
    mainFields: ["module", "main"]
  }
}

For the second point I do not have a control over the other library other than to create a issue, that is why I havent included Kerasjs along with the package, you should still be able to use the library without kerasjs, the only thing you will be missing is pattern detection.

Putting the mode.bin at /dist/model.bin also does not solve it for me.  FWIW, the second error regarding the model not having any layers is also present in the Playground demo:
http://anandanand84.github.io/technicalindicators/
It also does not work.

Do you have a version that doesn't have the pattern detection included? I have not been able to get your package to work with KerasJS.

try npm install --save-exact<EMAIL_ADDRESS>

@levithomason The playground still loads the model from /dist/model.bin but due to some issue with github pages it is not found.

Would you be open to help setting up Webpack and separate build targets for CommonJS modules, ES modules, and UMD modules?  Each of these have slightly different requirements.
The goal would be to install only technicalindicators and use any of the module targets with no additional installation or configuration required.  The model.bin would fall outside this requirement or need some more thinking.
I am the author of Semantic-UI-React and we've also done this with our package.  It then allows users to use any build system (Webpack, Rollup, etc.) or no build system by loading the UMD module directly in a browser.  Note, a UMD build like this also does not require any additional Babel compilation.
So far, this library accomplishes the most of what I'm after.  tulind is the next best thing, but it is Node.js only, not isomorphic.  I'd like to stick with an isomorphic package if I can.
Thoughts?

@levithomason I am not sure if you saw my other https://github.com/anandanand84/technicalindicators/issues/98#issuecomment-365410059 . Currently we have builds for node, es6 and es5 seperately the only problem is with babel-polyfill that was added with kerasjs. If you think that is not a problem with webpack and cannot be solved by rollup, I am open for change and ready for pull request.

keras js is included in<EMAIL_ADDRESS>and should load model.bin from dist

Got it.  I've commented on the keras=js issue as well.

I have added a hack to remove the polyfill, so it should work now with kerasjs in the latest version.

Which version are you referring too?
I tried:
"technicalindicators": "^1.1.4"
And still getting:
Uncaught Error: only one instance of @babel/polyfill is allowed

And my keras-js version is:
"keras-js": "^1.0.3",

can you try this repo and let me know?
https://github.com/anandanand84/react-technicalindicators

Hi @anandanand84, does that repo work for you? it seems to have the same, babel polyfill can be defined only once error?


check-opentype is broken in master

Observed behaviour
> fontbakery.exe check-opentype -c 064 -c 065 something.ttf
[...]
fontbakery.checkrunner.SetupError: Spec uses names that are not declared in its namespace: vtt_talk_sources.

Resources and exact process needed to replicate
vtt_talk_sources seems to be general enough to be moved to shared conditions?

ouch!
I'll take a look at it and fix it asap!

I'm on it already. Need to add a test somehow.


[gdal] for static builds utilize static proj library

Make gdal utilize the static version of the proj library when it is built in static mode.
Fixes #13223

Thanks for your contribution!


After upgrade to Spring Boot v2.1.0 Consul auto registration not working

After upgrade to Spring Boot v2.1.0 Consul auto registration not working.
Minimal step repo for Spring Boot v2.0.6
https://github.com/devpreview/test-consul/tree/spring-v2.0.6
It works correctly.

2018-11-07 20:55:40.179  INFO 17032 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2018-11-07 20:55:40.195  INFO 17032 --- [           main] o.s.c.c.s.ConsulServiceRegistry          : Registering service with consul: NewService{id='test-6f583ab5b29c271d1d1cd52a34e86c58', name='test', tags=[secure=false], address='sabo-probook.lan', port=8080, enableTagOverride=null, check=Check{script='null', interval='10s', ttl='null', http='http://sabo-probook.lan:8080/actuator/health', tcp='null', timeout='null', deregisterCriticalServiceAfter='null', tlsSkipVerify=null, status='null'}, checks=null}
2018-11-07 20:55:40.232  INFO 17032 --- [           main] com.test.consul.Application              : Started Application in 4.385 seconds (JVM running for 5.636)

Minimal step repo for Spring Boot v2.1.0
https://github.com/devpreview/test-consul/tree/spring-v2.1.0
Consul auto registration not working.

2018-11-07 20:58:06.135  INFO 17631 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2018-11-07 20:58:06.136  INFO 17631 --- [           main] com.test.consul.Application              : Started Application in 2.301 seconds (JVM running for 2.91)

Spring Boot version: 2.1.0
Spring Cloud version: Finchley.SR2
Java version: OpenJDK 9.0.4
OS: Linux

As hotfix you may starting registration manually:
@Configuration
public class ConsulConfiguration {
    @Bean
    public ApplicationListener<ApplicationReadyEvent> consulServiceRegistryRegister(ConsulAutoServiceRegistration consulAutoServiceRegistration) {
        return event -> {
            consulAutoServiceRegistration.setPort(8080);
            consulAutoServiceRegistration.start();
        };
    }
}

Finchley is not compatible with boot 2.1.x

As hotfix you may starting registration manually:
@Configuration
public class ConsulConfiguration {
    @Bean
    public ApplicationListener<ApplicationReadyEvent> consulServiceRegistryRegister(ConsulAutoServiceRegistration consulAutoServiceRegistration) {
        return event -> {
            consulAutoServiceRegistration.setPort(8080);
            consulAutoServiceRegistration.start();
        };
    }
}

thanks！

As hotfix you may starting registration manually:
@Configuration
public class ConsulConfiguration {
    @Bean
    public ApplicationListener<ApplicationReadyEvent> consulServiceRegistryRegister(ConsulAutoServiceRegistration consulAutoServiceRegistration) {
        return event -> {
            consulAutoServiceRegistration.setPort(8080);
            consulAutoServiceRegistration.start();
        };
    }
}

thanks! you can comment out consulAutoServiceRegistration.setPort(8080);

@jdkhome If you not set port on ConsulAutoServiceRegistration you will get an exception:
java.lang.IllegalArgumentException: service.port has not been set
	at org.springframework.util.Assert.notNull(Assert.java:198)
	at org.springframework.cloud.consul.serviceregistry.ConsulAutoServiceRegistration.getRegistration(ConsulAutoServiceRegistration.java:56)

See: https://github.com/spring-cloud/spring-cloud-consul/blob/master/spring-cloud-consul-discovery/src/main/java/org/springframework/cloud/consul/serviceregistry/ConsulAutoServiceRegistration.java#L51
ConsulAutoServiceRegistration.setPort should be equal your server.port property (or your service port).
Your may get port from ServerProperties:
@Bean
    public ApplicationListener<ApplicationReadyEvent> consulServiceRegistryRegister(
            ConsulAutoServiceRegistration consulAutoServiceRegistration,
            ServerProperties serverProperties
    ) {
        return event -> {
            consulAutoServiceRegistration.setPort(serverProperties.getPort());
            consulAutoServiceRegistration.start();
        };
    }

is this still a problem with Boot 2.1.1.RELEASE and Greenwich.RC1?

Yes. With Boot 2.1.1.RELEASE and Greenwich.RC1 Consul auto registration does not work.

@devpreview I just created a minimal application from start.spring.io that auto registers just fine.

Also, your app, updated to boot 2.1.1.RELEASE and java 8 (since I don't have 9) auto registered just fine.

@spencergibb Sorry. I did not test correctly.
With Boot 2.1.1.RELEASE and Greenwich.RC1 Consul auto registration is working.

Thanks for following up


support Cookies with SameSite attribute

see https://github.com/SeleniumHQ/htmlunit-driver/issues/97

will close this, because we have the webdriver issue


stray line on time-series plot

Reported by Ansley B Manke on 25 Feb 2008 17:48 UTC
This appears only if the plot is hidden behind other windows and then bringing
it back.  (Ferret v6.08, on stout 32 bit, not on porter 64 bit)
yes? use "http://dods.ndbc.noaa.gov:8080/opendap/cwind/41023/41023c1996.nc"
yes? plot/t=1-may-1996:7-may-1996 wind_spd
Or, I saved the subset of data to a local file:
yes? use "/home/porter/ansley/ans_ferret/users/hankin/strayline.nc"
yes? plot/t=1-may-1996:7-may-1996 wind_spd
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1562

Comment by ansley.b.manke on 14 Oct 2011 21:02 UTC
Can't replicate this bug, even running Ferret v6.08 on stout.

Attachment from<EMAIL_ADDRESS>on 25 Feb 2008 17:56 UTC
gif image saved via a FRAME
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1562_GIT_834/strayline.gif


Common name lexicons: merge magyar with Hungarian

See https://forum.inaturalist.org/t/remove-merge-duplicate-hungarian-lexicon/52612
There's a common name lexicon for magyar, but it shouldn't exist - we should just have the translated Hungarian lexicon. Can this be cleaned up when you run the lexicon cleaning script?

FWIW, this happens around https://github.com/inaturalist/inaturalist/blob/main/tools/clean_lexicons.rb#L100-L159


DDoouubbllee cchhaarraacctteerr oouuttppuutt iinn ssoommee ccaasseess :-)

Windows Terminal version
1.17.11461.0
Windows build number
10.0.19045.3086
Other Software
Visual Studio 2022 17.6.3
Steps to reproduce

Build OpenSSL from the Windows Terminal using VC AMD64 environment (i.e. cmd.exe /E:ON /V:ON /K "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Auxiliary/Build/vcvars64.bat").
Press Ctrl+C during compile phase.

Expected Behavior
Normal text output.
Actual Behavior

This looks a lot like the classic threading issue of intermingling multiple concurrent outputs. Hmm

@DHowett I hereby apologize for the (somewhat juvenile) attempt at humor in the issue title and letting you guys know that I don't mind if it gets changed because it bothers someone.
I don't think there's more than one instance of nmake.exe running, but each cl.exe instance is launched using a new cmd.exe instance so maybe that can be the issue somehow?
I have already asked OpenSSL developers to update the Windows makefiles to use batched compilation so we can take advantage of /MP flag, but so far no success on that front.

I hereby apologize for the (somewhat juvenile) attempt at humor in the issue title and letting you guys know that I don't mind if it gets changed because it bothers someone.

Aw heck, no apology needed. This is up there with other bangers of issues on our repo like "display unfriendly!" and "WSL emjoy is ? ? ? " 😁

@DHowett And here I was hoping that this one at least explained the issue in a nutshell :-)

So, this may help.
Can you capture a trace with the Terminal.wprp!DefTerm.Verbose profile in this repository?
Info here: https://github.com/microsoft/terminal/wiki/Toubleshooting-Tips#capturing-a-debug-etl-trace
(however, I suggest wpr -start terminal.wprp!DefTerm.Verbose -filemode so that no events get dropped!)
DISCLAIMER: This trace will contain information that is written to any console session on your machine for the captured duration. We also don't have per-process API attribution, which is... if not outright funny, at least a little bit humorous.
It looks like this in WPA:

I could give it a try tomorrow evening.

@DHowett Sorry for the delay, here is the ETL trace you requested.
terminal-trace.zip
If you want to try to reproduce it yourself, here is the batch file I use for building OpenSSL:
@echo off
set OPENSSL_DIR=C:\BUILD\OpenSSL
set GIT_HASH=2cf4e90eaaf7402bf038b158dbdacd0a15561fb7
IF EXIST "%OPENSSL_DIR%-source" RD /S /Q "%OPENSSL_DIR%-source"
IF EXIST "%OPENSSL_DIR%-build" RD /S /Q "%OPENSSL_DIR%-build"
git clone https://github.com/openssl/openssl.git "%OPENSSL_DIR%-source"
cd "%OPENSSL_DIR%-source"
git checkout %GIT_HASH%
mkdir "%OPENSSL_DIR%-build"
cd "%OPENSSL_DIR%-build"
perl "%OPENSSL_DIR%-source\Configure" VC-WIN32 --release --prefix="C:\Program Files (x86)\OpenSSL" --openssldir="C:\Program Files (x86)\OpenSSL" enable-static-engine
nmake
nmake test
nmake install
cd "%OPENSSL_DIR%"
rd /s /q "%OPENSSL_DIR%-source"
rd /s /q "%OPENSSL_DIR%-build"
rd /s /q "C:\Program Files (x86)\OpenSSL\certs"
rd /s /q "C:\Program Files (x86)\OpenSSL\html"
rd /s /q "C:\Program Files (x86)\OpenSSL\misc"
rd /s /q "C:\Program Files (x86)\OpenSSL\private"
rd /s /q "C:\Program Files (x86)\OpenSSL\lib\engines-3"
rd /s /q "C:\Program Files (x86)\OpenSSL\lib\ossl-modules"
del /f /q "C:\Program Files (x86)\OpenSSL\bin\c_rehash.pl"
del /f /q "C:\Program Files (x86)\OpenSSL\openssl.*"
del /f /q "C:\Program Files (x86)\OpenSSL\ct_log_list.*"
set OPENSSL_DIR=
:SKIP

You can interrupt it once you see nmake running the compiler.
No idea if that has anything to do with it, but the way I discovered this issue is that I mistakenly run my 32-bit OpenSSL build batch file (reproduced above) in a 64-bit Visual Studio environment, and naturally I wanted to stop it so I hit Ctrl+C.
I was worried that I might have to try a couple of times (i.e. that it might be timing-sensitive), but oddly enough I was able to reproduce it for the ETL trace on the first try.

(I'll try to reproduce it later today so I can get you some more info!)

@DHowett

We can check the console off the list of culprits, because somebody is calling WriteConsole with that exact data!

Same behavior in the old conhost.exe:

Googling the message finds exactly one mention on Twitter dated Jan 7, 2018. If anything, that suggests it must be a "known issue" or perhaps even a "won't fix" whoever is the culprit if it was out there for 5 years now.

What I don't get is why they (or anyone else for that matter) would WriteConsole char by char?!?

Seriously!  Even though we try to keep condrv as minimal as possible, the context switches alone dwarf any time spent actually processing output!
I'll see if I can track down an owner for nmake in the meantime. Good find with the birdsite post! :smile:

@DHowett Don't rush to conclusions just yet — I took a quick look at current nmake.exe disassembly and I can't spot any issue here:

It is using C runtime (UCRT) imports which would cause other apps to misbehave as well if that was the problem.
I think the issue here is that OpenSSL build process.
Namely, makefile is not invoking cl.exe itself, but cmd.exe which in turn invokes cl.exe and that multiple command outputs get interleaved if you interrupt the build process. I am not exactly sure how that could duplicate only nmake output though but there are indeed two instances of nmake running during build (even though only one of them appears to be doing anything):

The reason it prints character by character is likely because it uses wprintf with _O_U16TEXT. The Windows CRT (C stdlib) will then print all text character by character via _putwch_nolock (the same happens with _O_U8TEXT, etc.).

@lhecker Thanks for clarification and welcome to our little mistery club here :-)

@lhecker

which is kind of self-explanatory since that's exactly what the code does. There's no mention why it has this weird behavior.

That's some quality code documentation there...
I can only assume that they want to keep track of the number of characters output so far, because most CRT functions return number of characters written. I also assume that older operating systems (Win8, Win7, WinXP) were buffering this and it didn't have much performance impact.
For example, the IDA console application performs analysis and while doing it outputs a counter (8 hex digits in the upper right corner). In Windows versions before Win10 that doesn't affect performance and analysis of a larger exe takes like 5 minutes to finish. In Win10? Doesn't finish after two hours because printing that counter keeps one CPU core 100% busy, and the program itself mostly sits there waiting on the I/O to finish.

oh hey #11796

I'm pretty sure those are unrelated. 11796 is input (keyboard key entered twice, for real, into the input buffer) and this is output (printed to screen twice from nmakes dot exe)!

Alright! After a thorough-enough investigation, I've ported this over to the Visual Studio bug tracker. DD-1852979 (no link, because it wouldn't work for most anyone).
I'm gonna close this one as Resolution- and Tracking-External, and if I get any updates on '979 I'll let you know.
Investigation notes, so that we're sure we did due diligence:

I rewrote how console API tracing works so that we get the PID of any process that mutates console state (a749b59e2e043170c998dac7b77febbe5d177cce) (I really love this because we can use WPA to get a console-lifetime-ordered trace, or break it down by process, etc.)
I cloned OpenSSL and build it! Woo! Well, I partially built it then pressed Ctrl+C

Trace

Tthhaannkkss aaggaaiinn ffoorr ffiilliinngg 🙂🙂

Gcfui

TThhaannkkss aaggaaiinn ffoorr ffiilliinngg 🙂🙂

Nnoo pprroobblleemm ::DD
Did you ever get any response? Was it fixed? I haven't built then interrupted OpenSSL for a while.


Is this still working?

I followed your video to the T and used the vitalsourceprinter.py raw script as instructed in your video. It is not working on vitalsouce. It starts typing ebook and then sample and finishes with sample2 and nothing is printing. I have not tried the other scripts, will give it a shot, but that's where I am at currently. I don't know if it matters, but I am running this from a laptop.

Tried the other scripts and still not working. Just an idea but what about one page at a time? have it automatically go to a page using ALT+Shit+P, type in page, once on the page, just control+P and then print it

I wrote a more simple script to do this, you can take a look here https://github.com/manhtai/vitalsource-printer


Add composer 2 as requirement

fails on <IP_ADDRESS>, that still allows composer 1, so we cannot change it for now, right?

merged in other commit


Unused startTransmitData() function

startTransmitData() is declared in DuckRadio.h, but not used. (startTransmitData(byte* data, int length) is the overload that is used, though.)

Lets remove the unused one


[release/v2.6] Dashboard metric display wrong

Rancher Server Setup

Rancher version: v2.6.3 (3c1d5fac3)
Installation option (Docker install/Helm Chart): Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): Kubespray

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.21.8
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Kubespray

User Information

What is the role of the user logged in: Admin

Describe the bug
In Dashboard metric Reserved and Used displayed is wrong.
To Reproduce
Install Kubernetes cluster without metric-server
Install metric-server 3.8.2 using helm chart with values
priorityClassName: high-priority-nonpreempting

containerPort: 4443

replicas: 2

resources:
  limits:
    cpu: 100m
    memory: 200Mi
  requests:
    cpu: 100m
    memory: 200Mi

tolerations:
  - key: node-role.kubernetes.io/master
    effect: NoSchedule

service:
  labels:
  #  Add these labels to have metrics-server show up in `kubectl cluster-info dump`
    kubernetes.io/cluster-service: "true"
    kubernetes.io/name: "Metrics-server"

Open Dashboard page
Result

Memory used 120%
Cores Reserved avalible(3.8) not eqals Cores Used avalible(4)
Values Used not actual

Expected Result
All values must be equal, usage Memory cannot exceed 100%
Screenshots
Additional context

Please check this issue

@sowmyav27
@slickwarren
@anupama2501
Any updates?

Reproduced on 2.6.8

@vincent99 @izaac @sowmyav27 @slickwarren @anupama2501 @luthermonson @MbolotSuse

Rancher version: v2.7.0 reproduced
Cluster dashboard

Rancher monitoring grafana basboard

kubectl top nodes

@vincent99 @izaac @sowmyav27 @slickwarren @anupama2501 @luthermonson @MbolotSuse

Rancher bundles specific versions of metrics server, so this setup wouldn't be supported since it sounds like you're installing directly from upstream.

What version of metric-server must be installed for correct calculation?

the bundled version is what should be used, which will change depending on the version you're using.

It's not an obvious dependency. I use an external cluster and I do not understand which version is bundled. Why rancher does not support the current version of metric-server?

Hello @slickwarren. When the development team fix this issue?

Hi, this is not an issue that our development team will pick up.  We expect to use the bundled version.
If there is a missing feature in the bundled version, you could file a ticket to update it (or update this ticket to reflect that).

I don't understand what feature is missing. The application calculates the wrong value which misleads users. As we found out this is due to the old version of metric-server. I request rancher team to update support metric server to the actual version(v0.6.2). I have many questions from developers every day: " Why does the system display used resources more than 100%? Do we have server with infinity ram?)"

Today i compare values with output using (https://github.com/robscott/kube-capacity) and the values iv very different.

Still actual

the graph on the dashboard page appears to be only worker nodes,You can try adding labels to all nodes with "node-role.kubernetes.io/worker": "true".


tests: add ips midstream exception policy tests - v1

Add tests for the exception policy for midstream streams (https://redmine.openinfosecfoundation.org/issues/5468)
exception-policy-midstream-01: tests the fail open behavior
exception-policy-midstream-02: tests the fail closed behavior
exception-policy-midstream-03: tests the default behavior
Tests will pass for 7 and fail for 6 (until backported).

can you add a test for the case of:
http midstream (SYN/ACK pickup)
pass policy (so no detection)
rule that would have matched if not for the pass policy
http record still logged in eve.http
you can probably base this on one of the testmyids pcaps

Replaced by: https://github.com/OISF/suricata-verify/pull/916


[java-9(10)] java.lang.ExceptionInInitializerError: null

Environment:
play: 2.6.20
scala: 2.12.7
play2-maven-plugin: 1.0.0-rc3
do mvn clean install
After moving to java-9(10) get the underlying error:
[INFO] --- play2-maven-plugin:1.0.0-rc3:routes-compile (default-routes-compile) @ server ---
[INFO] Generating injected router
[INFO] 1 router processed, 1 compiled
[INFO]
[INFO] --- play2-maven-plugin:1.0.0-rc3:template-compile (default-template-compile) @ server ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.728 s
[INFO] Finished at: 2018-11-02T11:17:00Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.code.play2-maven-plugin:play2-maven-plugin:1.0.0-rc3:template-compile (default-template-compile) on project server: Execution default-template-compile of goal com.google.code.play2-maven-plugin:play2-maven-plugin:1.0.0-rc3:template-compile failed: An API incompatibility was encountered while executing com.google.code.play2-maven-plugi
n:play2-maven-plugin:1.0.0-rc3:template-compile: java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm =    extension>com.google.code.play2-maven-plugin:play2-maven-plugin:1.0.0-rc3
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/oleg/.m2/repository/com/google/code/play2-maven-plugin/play2-maven-plugin/1.0.0-rc3/play2-maven-plugin-1.0.0-rc3.jar
[ERROR] urls[1] = file:/home/oleg/.m2/repository/com/google/code/play2-maven-plugin/play2-provider-api/1.0.0-rc3/play2-provider-api-1.0.0-rc3.jar
[ERROR] urls[2] = file:/home/oleg/.m2/repository/com/google/code/play2-maven-plugin/play2-source-position-mappers/1.0.0-rc3/play2-source-position-mappers-1.0.0-rc3.jar
[ERROR] urls[3] = file:/home/oleg/.m2/repository/com/google/code/play2-maven-plugin/play2-source-watcher-api/1.0.0-rc3/play2-source-watcher-api-1.0.0-rc3.jar
[ERROR] urls[4] = file:/home/oleg/.m2/repository/com/google/code/sbt-compiler-maven-plugin/sbt-compiler-api/1.0.0/sbt-compiler-api-1.0.0.jar
[ERROR] urls[5] = file:/home/oleg/.m2/repository/org/apache/ant/ant/1.9.4/ant-1.9.4.jar
[ERROR] urls[6] = file:/home/oleg/.m2/repository/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.jar
[ERROR] urls[7] = file:/home/oleg/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
[ERROR] urls[8] = file:/home/oleg/.m2/repository/org/codehaus/plexus/plexus-archiver/3.6.0/plexus-archiver-3.6.0.jar
[ERROR] urls[9] = file:/home/oleg/.m2/repository/org/codehaus/plexus/plexus-io/3.0.1/plexus-io-3.0.1.jar
[ERROR] urls[10] = file:/home/oleg/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar
[ERROR] urls[11] = file:/home/oleg/.m2/repository/org/apache/commons/commons-compress/1.16.1/commons-compress-1.16.1.jar
[ERROR] urls[12] = file:/home/oleg/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar
[ERROR] urls[13] = file:/home/oleg/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
[ERROR] urls[14] = file:/home/oleg/.m2/repository/org/tukaani/xz/1.8/xz-1.8.jar
[ERROR] urls[15] = file:/home/oleg/.m2/repository/org/codehaus/plexus/plexus-utils/3.1.0/plexus-utils-3.1.0.jar
[ERROR] urls[16] = file:/home/oleg/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : object java.lang.Object in compiler mirror not found.
[ERROR] -> [Help 1]

For the build i use this configuration for maven compiler plugin:
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.0</version>
                <configuration>
                    <source>10</source>
                    <target>10</target>
                    <encoding>UTF-8</encoding>
                    <compilerArgs>
                        <arg>--add-modules</arg><arg>java.xml.bind</arg>
                        <arg>--add-exports</arg><arg>java.xml.bind=ALL-UNNAMED</arg>
                        <arg>--illegal-access</arg><arg>permit</arg>
                    </compilerArgs>
                </configuration>
            </plugin>

Thank you @oleg-vyalyh for the report. I found the cause of the problem and will release new version with the fix soon.
BTW maven-compiler-plugin is not used in a project with play2 packaging at all. There is sbt-compiler-maven-plugin which compiles both Java and Scala.

@oleg-vyalyh I've just deployed 1.0.0-rc4-SNAPSHOT snapshot with the fix. Can you check it?

@gslowikowski  Thanks a lot!
I'll check next Monday.
BTW, do you recommend to use sbt-compiler-maven-plugin instead of maven-compiler-plugin?
And as i understand, Scala 2.12.x is not support Java-11, so the max version is only Java-10.

maven-compiler-plugin does not compile Scala sources, how could it work for you?
Even if you use Java with Play!, routes files and templates are processed to Scala sources which have to be compiled.

I can not find new version either in the maven repository (https://mvnrepository.com/artifact/com.google.code.play2-maven-plugin/play2-maven-plugin) or on here on GitHub in 'releases' section.

I haven't released it yet. Use version 1.0.0-rc4-SNAPSHOT. To be able to use it add this to your pom.xml file:
            <repositories>
                <repository>
                    <id>sonatype-nexus-snapshots</id>
                    <name>Sonatype Nexus Snapshots</name>
                    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>
            </repositories>

            <pluginRepositories>
                <pluginRepository>
                    <id>sonatype-nexus-snapshots</id>
                    <name>Sonatype Nexus Snapshots</name>
                    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </pluginRepository>
            </pluginRepositories>

@gslowikowski It works !
Thanks for your work!

Version 1.0.0-rc4 released.


Navbar breakpoints on 1037px

Should be folding.. or we can think of hiding particular buttons based on importance?
Like hide button in a particular order

Language
Create
Chain/protocol switch
history
stats
profile

I will do this

@yangwao will do this

time to deploy #2448 @petersopko 🫣

time to deploy #2448 @petersopko 🫣

lol just noticed this, @Jarsen136 you can take this one


Remove "declarative" from "Computed Properties and Watchers"

Hi, Vue team! Thank you for your so kindful documents!
I'm very new to Vue, but I'm a little bit familiar with Haskell/Scala. I disagree with the following description.
<div id="example">
  {{ message.split('').reverse().join('') }}
</div>

At this point, the template is no longer simple and declarative.

(from: https://vuejs.org/v2/guide/computed.html)
I don't think that the template is no longer declarative. I agree that the template is not simple and putting too much logic as you mentioned. But, I think it is still declarative.
For example, I think the following code is NOT declarative and very imperative.
// NOTE: declarative
function reverseStr1(str) {
  let result = "";
  for (let i = str.length - 1; i >= 0; i--) {
    result += str[i];
  }
  return result;
}

Comparing with the code above, I think the function below is written in declarative way.
function reverseStr2(str) {
  return str.split('').reverse().join('')
}

So this PR removed "declarative" from the document.
I'd like to discuss this topic.
Thank you!

To each their own, but keeping in mind that declarative programming is to write the code in such a way that describes what I want to do and not how I want to do it, I don't think message.split('').reverse().join('') is declarative at all:

What I want to do is to display a message in reversed order.
How I want to do it is to split the message, reverse the bits, and join them back together.

So, saying the expression is not declarative, IMO, is correct.


Fix typo in yellow color hex code

Coverage remained the same at 91.75% when pulling 8c4c197534992c93ad5e75c677d35f493f520df8 on subzey:colorname-typo into d668a10d144fbf7958b275950acc07402702bdd8 on svg:master.

Coverage remained the same at 91.75% when pulling 8c4c197534992c93ad5e75c677d35f493f520df8 on subzey:colorname-typo into d668a10d144fbf7958b275950acc07402702bdd8 on svg:master.

LGTM


Rearrange columns in a simpler way

Is your feature request related to a problem? Please describe.
Its really hard to re-arrange the columns from the result set by drag and drop one by one or I have write the SQL according to the column arrange I required.
Describe the solution you'd like
There should be a simpler way similar to filter, arrange columns and from the Metadata of the table we can select the columns by mentioning the columns which I need as 1, 2, 3, 4.. so on and the rest of the columns can follow the order of 1, 2, 3, 4..
Probably in the side panel section we can add the feature to re-arrange the columns.
Describe alternatives you've considered
Drag and drop each column to re-arrange or write the SQL in the require columns I need.

You can do it via filter settings panel.

Does it satisfy your needs?

That's awesome.. thank you so much.


nixos/spice-usb-redirection: init

Motivation for this change
Fix #39618
Things done

[x] Built system with option enabled
[x] Tested redirecting a USB device to a VM
[x] Ensured that relevant documentation is up to date (option is documented)
[x] Fits CONTRIBUTING.md.

Some good points, thanks!

Argh, forgot to squash the fixup commit in. Oh well.


Fix absolute position deadlock

The absolute position code neglected the direction and created a deadlock with the death handling logic due to acquiring muPacman. Both problems can be solved by using the directional movement commands.

Thanks for fixing this, I really appreciate it!


Parse more info from SRDF

There are more information available in SRDF that are required by HPP and SoT:

end effectors info
default configuration

Class HumanoidRobot members pointing to special joints are initialized by the two following functions, when reading URDF file (and NOT SRDF, as I mentioned earlier):

https://github.com/humanoid-path-planner/hpp-model-urdf/blob/devel/src/urdf/parser.cc#L318
https://github.com/humanoid-path-planner/hpp-model-urdf/blob/devel/src/urdf/parser.cc#L301

Solved


[DOCS] Add license

Description
Add license to project... Maybe it can be MIT?
Screenshots
No response
Additional information
I can work on this, please share the LICENSE yall want to be added.

I'd love to contribute. Could I be assigned to this, please


Destroy tracker on next tick, so STOP event has time to be sent

For: https://github.com/feross/bittorrent-tracker/issues/190

This PR is superseded by https://github.com/feross/bittorrent-tracker/pull/194


Clarify Cloud Scenario and ADF Managed VNet

There is a new private preview feature,
https://adfdocs.blob.core.windows.net/privatepreview/adf-managed-virtual-network-private-preview.pdf
I would think ADF managed vnet is for cloud scenario only, for hybrid scenario, we will still need self hosted runtime.
Can you please confirm?
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 567118bc-05db-cb9d-d14f-faf835da048a
Version Independent ID: 9aaa1635-bb8c-07b4-ebc5-55baeb98149c
Content: Security considerations - Azure Data Factory
Content Source: articles/data-factory/data-movement-security-considerations.md
Service: data-factory
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@RonnieQuan Thanks for the feedback! We are currently investigating and will update you shortly.

@nabhishek Can you please take a look at this ?

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. Though the scope of our feedback channel here on GitHub covers specific documentation fixes, we can help redirect you to the right support channel to get an answer to your question.  You can engage support directly at the Microsoft Support web site or through your Azure Data Factory portal page in Azure, at the bottom of the blade panel on the left, under Support & Troubleshooting.  Because this issue does not relate to documentation, we are closing this issue. #please-close


Mix Freakout

Laravel Version: 5.4.27
PHP Version: 7.1
Database Driver & Version: MySQL 5.7.17

Description:
Was working on a SASS file using npm run watch, hit save and started receiving well over a 150 messages from the terminal-notifier; it's as if Mix was stuck in a loop.

This message printed out over 150 times until I halted it.
 WAIT  Compiling...
 95% emitting
 DONE  Compiled successfully in 31ms

Steps To Reproduce:
I ran npm run watch again and it started all over. Have no idea what could be causing this or how to reproduce, other than just running npm run watch

Sounds like you're watching a compiled file, so it notices a change and recompile, notices a change and recompiles....ad infinitum

I don't know about that. Mix was working just fine for hours and then all of a sudden went bananas.
This is my webpack.mix.js file
let mix = require('laravel-mix');

mix.js('resources/assets/js/app.js', 'public/js')
    .sass('resources/assets/sass/app.scss', 'public/css');

mix.styles([
    'resources/assets/css/jquery-anyslider.css',
    'resources/assets/css/bootstrap-datetimepicker.min.css'
], 'public/css/all.css');

mix.copy('resources/assets/js/bootstrap-datetimepicker.min.js', 'public/js/bootstrap-datetimepicker.min.js');

Maybe not, but the same thing has happened to me and it turned out that I was referencing a file in my app.js that I was later manipulating in another way and it kept recompile get forever because it was watching a compiled file. Tough to say without seeing your setup.
I'd start at the bottom of my mix file and remove one line at a time until something changes.

I think its better to create an issue on https://github.com/JeffreyWay/laravel-mix

Figured it out.
In my SASS file I'm referencing images in the public folder like so
background-image: url('../images/slide6.jpg');

Changing it to the following stopped Mix from going cuckoo bananas.
background-image: url('/images/slide6.jpg');

I'll open this on Jeffrey's repo.


Valid Test URL

Is it possible, at least for the web urls, to add a set of test/validation URLs for each service that could be used to verify access from a corporate network?

@dmcwee - May we know which Microsoft document link you used in reference to this issue?
Please share it with us so we can investigate further.
Thank you.

@dmcwee - Thank you for submitting this feedback.
I will get this over to @JoeDavies-MSFT for investigation.
Thank you for reporting and making the docs better. Much appreciated!

@JoeDavies-MSFT - Can you please share your insights on this issue?
Content: Office 365 URLs and IP address ranges
Content Source: https://github.com/MicrosoftDocs/OfficeDocs-Enterprise/blob/live/Enterprise/urls-and-ip-address-ranges.md
Additional docs:
https://docs.microsoft.com/en-us/office365/enterprise/office-365-u-s-government-gcc-high-endpoints
https://docs.microsoft.com/en-us/office365/enterprise/office-365-u-s-government-dod-endpoints

@JoeDavies-MSFT while the connectivity tool is nice it cannot verify that the URLs specified in the documentation are actually opened from within an organization's corporate network, and it does not support any endpoints (GCCH and DOD) beyond the Commercial Offerings.  This leaves a rather large gap for many organizations who have highly compartmentalized IT structures where a requester will never get direct feedback from the organization's networking personnel.  Having a URL per Category listed would allow organizations to script or manually test their connectivity to the required URLs for O365 regardless of their O365 offering location.


ANR when using Clustering with 1000 items only

Environment details

maps-compose
Android 13
4.3.3

Steps to reproduce
Load map with Clustering containing 1000 items in densed area
Code example
@OptIn(MapsComposeExperimentalApi::class)
@Composable
fun MainView(modifier: Modifier = Modifier) {
    val cameraPosition = rememberCameraPositionState {
        position = CameraPosition.fromLatLngZoom(getRandomPosition(), 9f)
    }

    val stationsList = remember {
        mutableStateListOf<StationItem>()
    }

    println("Recomposition")
    LaunchedEffect(Unit) {
        for (i in 1..1000) {
            val position = getRandomPosition();
            stationsList.add(
                StationItem(
                    position, "Marker $i",
                    "Snipper", 0f
                )
            )
        }
    }

    GoogleMap(modifier = modifier, cameraPositionState = cameraPosition) {
        Clustering(items = stationsList)
    }
}

fun getRandomPosition(): LatLng {
    return LatLng(
        28.354945 + Random.nextFloat(),
        76.948420 + Random.nextFloat()
    );
}

2024-04-19 18:06:12.298  8927-9204  ProxyAndro...gerBackend com.ssoftwares.chargepe              W  Too many Flogger logs received before configuration. Dropping old logs.
2024-04-19 18:06:12.299  8927-9204  ProxyAndro...gerBackend com.ssoftwares.chargepe              W  Too many Flogger logs received before configuration. Dropping old logs.
2024-04-19 18:06:12.325  8927-9203  ProxyAndro...gerBackend com.ssoftwares.chargepe              W  Too many Flogger logs received before configuration. Dropping old logs.
2024-04-19 18:06:12.325  8927-9203  ProxyAndro...gerBackend com.ssoftwares.chargepe              W  Too many Flogger logs received before configuration. Dropping old logs.
2024-04-19 18:06:12.710  8927-8927  Quality                 com.ssoftwares.chargepe              I  Skipped: false 10 cost 175.73158 refreshRate 16655841 bit true processName com.ssoftwares.chargepe
2024-04-19 18:06:13.105  8927-8927  Quality                 com.ssoftwares.chargepe              I  Skipped: true 1 cost 21.104652 refreshRate 16657725 bit true processName com.ssoftwares.chargepe
2024-04-19 18:06:14.083  1618-9111  ActivityManager         system_server                        E  ANR in com.ssoftwares.chargepe (com.ssoftwares.chargepe/.MainActivity)
PID: 8927
Reason: Input dispatching timed out (c7a0db6 com.ssoftwares.chargepe/com.ssoftwares.chargepe.MainActivity (server) is not responding. Waited 5000ms for MotionEvent)
Parent: com.ssoftwares.chargepe/.MainActivity
ErrorId: 2302ef1a-d394-4b66-b408-d626c0834645
Frozen: false
Load: 24.19 / 24.09 / 24.07
----- Output from /proc/pressure/memory -----
some avg10=0.00 avg60=0.00 avg300=0.13 total=1037455014
full avg10=0.00 avg60=0.00 avg300=0.00 total=317408045
----- End output from /proc/pressure/memory -----
                                                                                CPU usage from 0ms to 6512ms later (2024-04-19 18:06:07.477 to 2024-04-19 18:06:13.989):
                                                                                229% 8927/com.ssoftwares.chargepe: 210% user + 19% kernel / faults: 72350 minor 6 major
                                                                                41% 1618/system_server: 22% user + 19% kernel / faults: 22321 minor 115 major
                                                                                0.1% 1381/media.swcodec: 0% user + 0% kernel / faults: 16098 minor 114 major
                                                                                7.7% 605/logd: 1.5% user + 6.2% kernel / faults: 800 minor
                                                                                7.3% 976/surfaceflinger: 4.7% user + 2.5% kernel / faults: 1136 minor 3 major
                                                                                6.8% 2528/com.android.phone: 4.4% user + 2.4% kernel / faults: 3668 minor 103 major
                                                                                6.2% 2320/com.android.systemui: 4.5% user + 1.6% kernel / faults: 1078 minor
                                                                                6% 23237/com.android.launcher: 3.6% user + 2.4% kernel / faults: 18541 minor 4 major
                                                                                2.8%<EMAIL_ADDRESS>1.8% user + 0.9% kernel / faults: 6266 minor 20 major
                                                                                3.6%<EMAIL_ADDRESS>1.2% user + 2.4% kernel / faults: 383 minor 9 major
                                                                                2.8% 3558/adbd: 0.7% user + 2.1% kernel / faults: 34 minor
                                                                                0.3% 19741/kworker/X26:6-kverityd: 0% user + 0.3% kernel
                                                                                0.3% 166/kswapd0: 0% user + 0.3% kernel
                                                                                0% 5151/com.google.android.providers.media.module: 0% user + 0% kernel / faults: 3322 minor 167 major
                                                                                0.2% 167/kshrink_slabd: 0% user + 0.2% kernel
                                                                                0% 1172/media.extractor: 0% user + 0% kernel / faults: 4228 minor 41 major
                                                                                0% 1261/media.codec: 0% user + 0% kernel / faults: 2691 minor 23 major
                                                                                1.6% 22010/com.google.android.gms.persistent: 0.9% user + 0.7% kernel / faults: 90 minor
                                                                                1.5% 349/irq/205-5-0034: 0% user + 1.5% kernel
                                                                                1.5% 8906/kworker/X26:0-kverityd: 0% user + 1.5% kernel
                                                                                1.5% 20139/kworker/u24:0-ged_fence: 0% user + 1.5% kernel
                                                                                1.5% 21103/kworker/X26:9-kverityd: 0% user + 1.5% kernel
                                                                                1.3%<EMAIL_ADDRESS>0.3% user + 1% kernel / faults: 89 minor 2 major
                                                                                1.3% 8217/kworker/u24:4-adb: 0% user + 1.3% kernel
                                                                                1.3% 29001/logcat: 0.4% user + 0.9% kernel
                                                                                0.1% 4978/kworker/X26:8-kverityd: 0% user + 0.1% kernel
                                                                                1% 589/kworker/u24:5-events_unbound: 0% user + 1% kernel
                                                                                1% 1661/mtkfusionrild: 0.7% user + 0.3% kernel
                                                                                0% 4895/com.oplus.olc: 0% user + 0% kernel / faults: 1336 minor 54 major
                                                                                1% 8189/irq/215-touchpa: 0% user + 1% kernel
                                                                                1% 15887/kworker/X26:1-kverityd: 0% user + 1% kernel
                                                                                0.9%<EMAIL_ADDRESS>0.4% user + 0.4% kernel / faults: 67 minor 2 major
                                                                                0% 4901/com.oplus.audio.effectcenter: 0% user + 0% kernel / faults: 1616 minor 71 major
                                                                                0.9% 10698/com.oplus.midas: 0.3% user + 0.6% kernel / faults: 387 minor
                                                                                0.4% 1/init: 0.1% user + 0.2% kernel / faults: 178 minor
                                                                                0% 722/loop12: 0% user + 0% kernel
                                                                                0.7% 6938/com.oplus.onetrace: 0.1% user + 0.6% kernel / faults: 69 minor
                                                                                0.7% 16608/process-tracker: 0.1% user + 0.6% kernel / faults: 7 minor
                                                                                0.7% 16611/process-tracker: 0% user + 0.7% kernel / faults: 4 minor
                                                                                0.7% 24697/com.oplus.crashbox: 0% user + 0.7% kernel / faults: 552 minor 3 major
                                                                                0.6% 607/servicemanager: 0.4% user + 0.1% kernel / faults: 16 minor 2 major
                                                                                0% 696/tombstoned: 0% user + 0% kernel / faults: 16 minor 51 major
                                                                                0.6% 848/statsd: 0.6% user + 0% kernel / faults: 187 minor 12 major
                                                                                0.6% 2562/com.oplus.subsys: 0.1% user + 0.4% kernel / faults: 107 minor 4 major
                                                                                0.2% 238/pbm: 0% user + 0.2% kernel
                                                                                0.2%<EMAIL_ADDRESS>0% user + 0.2% kernel / faults: 92 minor 12 major
                                                                                0% 725/loop13: 0% user + 0% kernel

2024-04-19 18:06:14.083  1618-9111  ActivityManager         system_server                        E    0% 25064/com.google.android.gms.persistent: 0% user + 0% kernel / faults: 15 minor
0% 31642/kworker/4:2: 0% user + 0% kernel
0% 31681/kworker/2:1-sock_diag_events: 0% user + 0% kernel
+0% 9322/kworker/u25:3-mali_jd: 0% user + 0% kernel
+0% 9323/kworker/u25:4-mali_jd: 0% user + 0% kernel
+0% 9324/kworker/u25:6-fsverity_read_queue: 0% user + 0% kernel
+0% 9325/kworker/u25:7-mali_jd: 0% user + 0% kernel
+0% 9326/kworker/u25:8-mali_jd: 0% user + 0% kernel
+0% 9359/kworker/X26:2-kverityd: 0% user + 0% kernel
57% TOTAL: 37% user + 17% kernel + 0.6% iowait + 2.1% irq + 0.6% softirq
CPU usage from 86ms to 456ms later (2024-04-19 18:06:07.563 to 2024-04-19 18:06:07.934) with 99% awake:
124% 8927/com.ssoftwares.chargepe: 116% user + 7.5% kernel / faults: 726 minor
97% 8927/twares.chargepe: 93% user + 3.7% kernel
22% 9055/pool-6-thread-1: 22% user + 0% kernel
3.7% 8936/Jit thread pool: 0% user + 3.7% kernel
3.7% 9009/GL-Map: 3.7% user + 0% kernel
92% 605/logd: 8.6% user + 83% kernel / faults: 499 minor
20% 9157/logd.reader.per: 0% user + 20% kernel
+0% 9184/logd.reader.per: 0% user + 0% kernel
69% 1618/system_server: 34% user + 34% kernel / faults: 1077 minor
34% 9111/AnrConsumer: 12% user + 22% kernel
6.3% 1788/android.bg: 0% user + 6.3% kernel
6.3% 2911/binder:1618_D: 3.1% user + 3.1% kernel
3.1% 1618/system_server: 0% user + 3.1% kernel
3.1% 1798/BroadcastQueue: 0% user + 3.1% kernel
3.1% 2045/InputDispatcher: 3.1% user + 0% kernel
3.1% 2192/oSenseHandler: 0% user + 3.1% kernel
3.1% 2489/OplusResHandler: 3.1% user + 0% kernel
3.1% 2941/binder:1618_E: 3.1% user + 0% kernel
9.7% 2320/com.android.systemui: 6.4% user + 3.2% kernel / faults: 95 minor
6.4% 2320/ndroid.systemui: 3.2% user + 3.2% kernel
3.2% 2641/RenderThread: 3.2% user + 0% kernel
6% 976/surfaceflinger: 3% user + 3% kernel / faults: 26 minor
3% 1516/binder:976_4: 0% user + 3% kernel
6.5% 2528/com.android.phone: 3.2% user + 3.2% kernel / faults: 93 minor
3.2% 2528/m.android.phone: 0% user + 3.2% kernel
2.7% 11/rcu_preempt: 0% user + 2.7% kernel
2.7% 48/ksoftirqd/6: 0% user + 2.7% kernel
2.7% 131/irq/323-mt6358-: 0% user + 2.7% kernel
2.9% 848/statsd: 2.9% user + 0% kernel
2.9% 861/Binder:statsd: 2.9% user + 0% kernel
2.9% 1884/statsd.writer: 0% user + 2.9% kernel
2.9%<EMAIL_ADDRESS>2.9% user + 0% kernel
3.2% 2245/hif_thread: 0% user + 3.2% kernel
4.1% 23237/com.android.launcher: 0% user + 4.1% kernel
+0% 9173/sh: 0% user + 0% kernel
+0% 9180/logcat: 0% user + 0% kernel
85% TOTAL: 37% user + 45% kernel + 2% irq + 0.6% softirq


Changes after App Refactor

After refactoring the app to use sections, these changes will need to happen. Create a new task for each item below:

[x] Save Data
[x] Redesign section (create a Section component)
[x] Create a default section and ignore it so it doesn't display
[x] Add items to sections. Create a drop down on the add/update item modal that displays all sections the item can be added/moved to.
[x] Add isHidden boolean flag to sections for not displaying a section header
[x] Refactor move/copy item logic
[x] Implement Add Section functionality

Move/copy logic was removed due to complexity and regular issues. Sections pose new challenges.


Set a ratio under 100%

Issue with the ratio that doesn't go along the description in the following example:
http://prebid.org/dev-docs/examples/adjust-price.html
Should be * 0.85 rather than * 1.4 (as it was in the first jsfiddle edit: http://jsfiddle.net/prebid/hn06j4f4/)
See #138 for more details.
@rmloveland

Addressed in https://github.com/prebid/prebid.github.io/pull/142

Thanks @rmloveland!


Road to v3

[ ] Switch to pnpm
[ ] Remove create-react-styleguide
[ ] Add Vite with CJS and ESM build artifacts
[ ] Add TypeScript and refactor components and utilities
[ ] Add Storybook for development and documentation
[ ] Update commit infra with lint-staged, commitlint, and husky
[ ] Convert class component to functional components and hooks
[ ] Update test to Vitest
[ ] Update Prettier and ESLint configs
[ ] Rename default CSS class names to follow BEM and scoping
[ ] Implement GitHub Actions
[ ] Implement automated release process

Try with the following steps:

Switch to pnpm package manager.
Remove the 'create-react-styleguide' package.
Add Vite to handle CJS and ESM build artifacts.
Introduce TypeScript and refactor components and utilities.
Install and configure Storybook for development and documentation.
Update commit infrastructure using 'lint-staged', 'commitlint', and 'husky'.
Convert class components to functional components and hooks.
Update testing to use Vitest.
Update Prettier and ESLint configurations.
Rename default CSS class names to follow BEM and scoping.
Implement GitHub Actions.
Set up an automated release process.


GoogleStorageResource - add ability to set content-type and other GCS attributes

GCS objects can have different attributes such as content-type, allow this to be set if user casts the resource to GoogleStorageResource.

How about we just let them get the Blob (the GCS object) if the type of the resource is a GoogleStorageResourceObject and then the user is free to set attributes on their own? I don't see much value in depending on those attribute-setting APIs  and just wrapping them.


Minor improvements

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

Project coverage is 100.00%. Comparing base (740aa00) to head (3b8cd6e).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #365   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           51        51
  Lines         1344      1344
  Branches        53        53
=========================================
  Hits          1344      1344

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Performance comparison

Is it fine to use the simulation FFT execution time as a measure of the actual execution time? for comparison with the matlab one. I dont think theres much speed up (if any) for such a small transform though may be nice to present

That is fine
That said, I'm much more  interested in the fact that it is working at all.  You'll probably find Matlab is faster.

Agreed. I was thinking that getting it working - ensuring output is valid - is the aim of the project. Determining performance is left as future work as it requires increasing the transform length etc


taniks rom download hanging

when trying to flash the full uefi rom the script hangs at the download step. it just says:
Downloading Full ROM firmware
(coreboot_edk2-taniks-mrchromebox_20240416.rom)
Using the sources script I pieced together the below download link.
https://www.mrchromebox.tech/files/firmware/full_rom/coreboot_edk2-taniks-mrchromebox_20240416.rom
Its only 32MB, and I have very fast internet.
Any help would be appreciated.

I'm not seeing any issues on the server, and no problem downloading it myself. Not sure why some people are reporting issues

Interestingly I can curl -sLO that url from my main linux PC, but manually running that command from the ctrl+alt+f2 terminal hangs as it does in the script. I can run it verbose and it seems to get passed all the ssl handshake stuff and then just hangs waiting for the file. I will work on piping the output to a file and getting that somewhere that I can attach here.
If there is anything else I can test please let me know.

`*   Trying <IP_ADDRESS>:443...

Connected to mrchromebox.tech (<IP_ADDRESS>) port 443 (#0)
ALPN: offers h2,http/1.1
} [5 bytes data]
TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
{ [5 bytes data]
TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [35 bytes data]
TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2610 bytes data]
TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
TLSv1.3 (IN), TLS handshake, Finished (20):
{ [36 bytes data]
TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
TLSv1.3 (OUT), TLS handshake, Finished (20):
} [36 bytes data]
SSL connection using TLSv1.3 / TLS_CHACHA20_POLY1305_SHA256
ALPN: server accepted h2
Server certificate:
subject: CN=mrchromebox.tech
start date: Apr 23 14:59:14 2024 GMT
expire date: Jul 22 14:59:13 2024 GMT
subjectAltName: host "mrchromebox.tech" matched cert's "mrchromebox.tech"
issuer: C=US; O=Let's Encrypt; CN=R3
SSL certificate verify ok.
} [5 bytes data]
using HTTP/2
h2 [:method: GET]
h2 [:scheme: https]
h2 [:authority: mrchromebox.tech]
h2 [:path: /files/firmware/full_rom/coreboot_edk2-taniks-mrchromebox_20240416.rom]
h2 [user-agent: curl/8.1.2]
h2 [accept: /]
Using Stream ID: 1 (easy handle 0x5679e7076e70)
} [5 bytes data]

GET /files/firmware/full_rom/coreboot_edk2-taniks-mrchromebox_20240416.rom HTTP/2
Host: mrchromebox.tech
User-Agent: curl/8.1.2
Accept: /

{ [5 bytes data]

TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [57 bytes data]
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [57 bytes data]
old SSL session ID is stale, removing
{ [5 bytes data]
< HTTP/2 200
< last-modified: Tue, 16 Apr 2024 14:00:36 GMT
< etag: "2000000-616372991f851"
< accept-ranges: bytes
< content-length: 33554432
< date: Mon, 29 Apr 2024 01:34:33 GMT
< server: Apache
<
{ [16275 bytes data]`

running the curl in the background and watching the size of the file it looks like it might be downloading but at about 20KB/s. Will take about ~30 minutes to download at that rate but will report back.

it downloaded for me in <2 seconds. so IDK

on my desktop PC it also downloads very quickly. I was testing other files on the chromebook and the below test file downloads in about 3 seconds.
https://link.testfile.org/30MB
So no idea what about the rom is making it download so slow.
Going to try and run the uefi install script again and give it the 30 minutes it needs to download.

it took about 50 minutes but eventually proceeded and completed successfully!
If anyone else has this issue just be patient. I am not sure why it is so slow but it will eventually work.
If I can help with further isolating the cause of the issue please let me know. and thank you @MrChromebox for the help!


oh-my-zsh.sh tries to install dpkg into Fedora

Describe the bug
Oh my zsh wants to install dpkg. Getting this message Install package 'dpkg' to provide command 'dpkg'? [N/y].
To Reproduce
Simply turn on terminal, the problem is coming from .zshrc from source $ZSH/oh-my-zsh.sh (no problem when commented).
Expected behavior
None
System:

OS: Fedora 30
Zsh version: zsh 5.7.1 (x86_64-redhat-linux-gnu)
Terminal emulator: All terminals affected

Following patch resolved issue for my (Fedora):
diff --git a/plugins/fzf/fzf.plugin.zsh b/plugins/fzf/fzf.plugin.zsh
index 64614829..f5b09dc8 100644
--- a/plugins/fzf/fzf.plugin.zsh
+++ b/plugins/fzf/fzf.plugin.zsh
@@ -58,6 +58,7 @@ function setup_using_base_dir() {

 function setup_using_debian_package() {
+    command -v dpkg || return 1
     dpkg -s fzf &> /dev/null
     if (( $? )); then
         # Either not a debian based distro, or no fzf installed. In any case skip ahead

Can you submit that in PR form?


No such feature: websockets

heroku labs:enable websockets
I just got this error message  !    No such feature: websockets after executing  heroku labs:enable websockets

https://devcenter.heroku.com/articles/websockets
Websockets are now supported on default, I believe.
We don't recommend you use this repository anymore as Meteorite is outdated.

i'm not using it, was just a try..
tried to give another chance to heroku, gave up after 5 minutes..


How to delete or rename a file ?

I I couldn't find an example of how to rename or remove a file.
This is what I would do intuitively, but I don't know if it's correct:

To remove a file (git rm) I would first untrack the file and remove it. Is untracking required ? Is that the correct method ?

To rename or move a file (git mv), I would untrack it, then rename or move it, then track it again.  Is that the correct way ?

If yes, may I suggest to add a few lines to the documentation ? This is not obvious and when it's in the documentation there is no need to guessing about it.

Mmh, just tested it. There is no need to previously untrack files when deleting or removing them.
Simply rm or mv files. Track the renamed or moved file with its new name. That's it.
A few lines in the documentation showing these operations would be helpful.

bf550dbbcb4947b90ce19e87983d417d474766e0


Tabs overlap others and coming out of the container in mobile device

Tabs overlap others and coming out of the container in mobile device.

Any fix for this?

Also looking for a fix for this!

Badly looking for fix!

Gonna look into tabs for the next release. Probably add some form of overflow for this problem or maybe implement horizontal scrolling for tabs.

Fixed in 7e0c265808cb8d6d27cba6555fa081ef94ff86b3


How serious is DlangUI?

I would like to know how serious and mature is this GUI toolkit. Do you see a useful future for it? Who's supporting it apart from you?

It depends on what do you mean by serious.
Would not DlangUI project be abandoned in future?
Does this project have enough features?

By serious I mean that it supports what a commonly used GUI toolkit for a more mature language supports and if it will be still supported.

Most of commonly used controls are implemented in DlangUI.
At least, widget set enough to write IDE.
DlangUI is cross platform - works on Windows, Linux, OSX, and in future it's planned to support mobile platforms - Android and iOS.
Missing some features like HTML view and rich text editor.
So far, DlangUI is under active development.
If project would be abandoned by author, someone may fork it and continue development.


feat: add custom network using query param

When opening the Stacks Explorer with an API URL in the query string (api), if that network does not exist and it is a valid Stacks API URL, add it to the list of custom networks. This allows an external application to link to the Explorer with a prefilled custom Stacks network, and the Explorer will automatically open to that network.
Also, support custom networks whose Base URL includes a path (fixes #1257).

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


Updated index page to reflect powershell version requirements

Docs Build status updates of commit 8b6bed7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-6.0.0/index.yml
:white_check_mark:Succeeded
View (azps-6.0.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Issues with Docker

I'm having trouble setting up rasa-ui using any of the git tags and docker. It seems like v2.0, v2.1 have issues with basic authentication. I can't get past the admin login page
v2.2 has other issues that I can't pin down. I can log in, but none of the internal API queries seem to work.
Any suggestions?

@ExarchD  Any error messages that you see?
Are you using the slim docker file or the full one?

@ExarchD - did you specify the dockers port in the package.json file? Is this still an issue?

Closing this due to inactivity


New tools/commands for lists

Up for initial review: Command and tool to create two types of lists.

Thank you! :)
You could pass an ordered property like so:
config.addCommand('insert-unordered-list', InsertListCommand, { nodeType: 'list', ordered: false })

In the command implementation you can access it via this.config.ordered. Also see ui/Command.js for API.

@michael perfect! That what I was missing. Will update PR and have one command

Updated package. Not 100% sure with German labels. I've used Google Translate but not very confident with the results.
Also not sure how to test it? How do you test packages? Should I add PR into examples repo?

'unordered list' is 'Aufzählung', 'ordered list' is 'Nummerierte Liste'. Could you rebase your branch to develop? Then we have a cleaner merge. Thank you!

Updated, added few fixes too

Ready to merge. Only two requests:

Rewrite commit history so no merge commits are visible (git rebase -i)
Commit messages should start with upper case letter and end with ".". E.g. "Add label translations."

Thank you!

@michael done. Let me know if there are some other problems

Looking all good! Thank you!


[feature request] add transparency?

just found out about melange thanks to this blog post, and I totally stand by this:

the only colorscheme I’ve found that I didn’t eject in horror after 5 minutes, except for gruvbox

Would you consider adding transparency?

I'm not planning on adding more configuration options to Melange in the near future. You can modify Melange using existing features, that is, you can override highlight groups in an autocommand that runs when melange is loaded.
In Vimscript:
augroup OverrideMelange
  autocmd!
  autocmd ColorScheme melange highlight Normal guibg=NONE
augroup END

Or in Lua:
local group = vim.api.nvim_create_augroup('OverrideMelange', {})
vim.api.nvim_create_autocmd('ColorScheme', {
  pattern = 'melange',
  callback = function() vim.api.nvim_set_hl(0, 'Normal', { bg = 'NONE' }) end,
  group = group,
})

Thanks!


fix: release workflow

this pr just affect the release workflow with workflow_dispatch, so I will merge this PR now


Fix placeholder not showing on Django 1.11

#387
test case is rather bare, and relies on defaults. may be worth beefing it up a bit.

Coverage increased (+0.05%) to 85.826% when pulling c5b75b25776dd14efe7a1a84237bc9784d1835dd on cybojenix:fix-placeholder into 09ad4dd81672c30f937762fd8de56743319d0359 on dyve:develop.

looking through the code, the same will need to be done for make_input_group
https://github.com/dyve/django-bootstrap3/blob/develop/bootstrap3/renderers.py#L446

@cybojenix just wanted to point out that doing the same for make_input_group would solve https://github.com/dyve/django-bootstrap3/issues/383


Null value for GetABTestResponse.ts

Hey team,
I noticed that in GetABTestResponse.ts the type of clickSignificance and conversionSignificance can't be null.
But it can happen. For example when you just have created a test.

is it explicitly set to null or is the key not given?

if so, it looks like the doc is wrong too: https://www.algolia.com/doc/api-reference/api-methods/get-ab-test/#response

it's explicitly set to null. I am reaching out to the team. Thanks for your answer :)

We're gonna update the documentation :)


->cache(true)->sum('attribute') in mysql doesn't work.

What steps will reproduce the problem?
->cache(true)->sum('attribute') in mysql doesn't work.
->cache(true)->one() - works
What is the expected result?
doing 100x ->cache(true)->sum('attribute') would do sql query only 1 time
What do you get instead?
sql query is executed 100x times
Additional info

Q
A

Yii version
2.0.?

PHP version
7

Operating system
Linux

Is that MySQL specific? Does it depend on how cache is configured?

Which version of Yii are you using?
If it's older than 2.0.14 this could be why.

Updated to 2.0.20 looks liek now it works except:
->cache(true)->sum('HOUR(TIMEDIFF(created, completed))')
This is not being cached

How do you know that it's not caching?
I tested a simple loop with a sum query and it's cached.

      for($i = 0; $i < 10; $i++) {
            Request::find()->where(['garage_id' => 153])->cache(true)->sum('HOUR(TIMEDIFF(created, completed))');
        }

If I remove ->where(['garage_id' => 153]) then it works .. Is this expected ?

Do you have a cache configured?

Could you prepare new issue with that?

After some more digging I was kinda right.
The query returns null, which is cached.
The part that fails seems to be this one:
                if (is_array($result) && isset($result[0])) {
                    Yii::debug('Query result served from cache', 'yii\db\Command::query');
                    return $result[0];
                }

(in db/Command.php line 1157)
isset seems to return false if the value is null.
Changing to
                if (is_array($result) && array_key_exists(0, $result)) {
                    Yii::debug('Query result served from cache', 'yii\db\Command::query');
                    return $result[0];
                }

fix the issue for me (I have no clue if it breaks anything).
Should i still create a new issue?


New Icons

New Icons:

BitWarden
Brave Browser
Firefox Developer Edition
Notion
GitHub Desktop
Sketch

I also added Alacritty and Kitty to use the Terminal Icon
New Icons are Creative Commons Zero v1.0 Universal from https://github.com/simple-icons/simple-icons

Also added Mailspring to use the Mail Icon.

The last one, Transmit by Panic

Thank you very much for adding these icons!


[MRESOLVER-176] Make TrackingFileManager use named locks as well

https://issues.apache.org/jira/browse/MRESOLVER-176
Use selected NamedLocksFactory in DefaultTrackingFileManager as well
to protected property file reads/writes.

@cstamas note to myself: commit msg is wrong (contains wrong JIRA ref), but as this is draft, it will be rebased anyway and hence, message fixed as well.

Won't fix, see JIRA issue.


sticky executing prematurely

This is dope but is there any way to make Sticky execute after image content on page has loaded rather than execute on document ready?

it works perfectly if i load page and resize window, Then scroll.

I don't think there is, that's not how angular works.  It does have a disabled-sticky property now, so you could disable it until your app is ready for the element to become sticky.


Enhancement to Extract Nodes tool

Whilst promoting your excellent tool on GIS Stack Exchange I thought this tool could do with a set of useful enhancements. Not being a rust developer its outside my skillset so I thought I would just say what I'm thinking.

It would useful if this tool created and populated the output with an X and Y field for the points it extracted.
The PARENT_ID field is offset by 1 to the FID it was generated from, I think this needs to be corrected as it makes joining data problematic.
It would be good to have a sequence field count the vertex position in the polygon ring, which resets with every PARENT_ID.
Finally this is a personal preference but to me a node is a terminal vertex in a polyline. The points that make up a line or polygon are vertices, you even refer to them as vertices in your help file, so may be the tool should be renamed to extract vertices?

Just some ideas to keep you on your toes! :)

This might need be posted on the WhiteboxTools repo. The ArcGIS frontend is just a wrapper of WBT.

OK posted idea here. So closing this thread.


Excuse me, when running the demo, the following errors occurred. I don't know why.请（问各位，运行demo指令时，出现错误，不知道原因。）

python demo/pcd_demo.py demo/data/kitti/kitti_000008.bin configs/second/hv_second_secfpn_6x8_80e_kitti-3d-car.py checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-car_20200620_230238-393f000c.pth
Use load_from_local loader
Traceback (most recent call last):
File "demo/pcd_demo.py", line 44, in
main()
File "demo/pcd_demo.py", line 31, in main
result, data = inference_detector(model, args.pcd)
File "/home/zzz/mmdetection3d/mmdet3d/apis/inference.py", line 116, in inference_detector
result = model(return_loss=False, rescale=True, **data)
File "/home/zzz/anaconda3/envs/mm3d/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/zzz/anaconda3/envs/mm3d/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 97, in new_func
return old_func(*args, **kwargs)
File "/home/zzz/mmdetection3d/mmdet3d/models/detectors/base.py", line 61, in forward
return self.forward_test(**kwargs)
File "/home/zzz/mmdetection3d/mmdet3d/models/detectors/base.py", line 42, in forward_test
return self.simple_test(points[0], img_metas[0], img[0], **kwargs)
File "/home/zzz/mmdetection3d/mmdet3d/models/detectors/voxelnet.py", line 100, in simple_test
x = self.extract_feat(points, img_metas)
File "/home/zzz/mmdetection3d/mmdet3d/models/detectors/voxelnet.py", line 42, in extract_feat
voxels, num_points, coors = self.voxelize(points)
File "/home/zzz/anaconda3/envs/mm3d/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/zzz/anaconda3/envs/mm3d/lib/python3.7/site-packages/mmcv/runner/fp16_utils.py", line 184, in new_func
return old_func(*args, **kwargs)
File "/home/zzz/mmdetection3d/mmdet3d/models/detectors/voxelnet.py", line 57, in voxelize
res_voxels, res_coors, res_num_points = self.voxel_layer(res)
File "/home/zzz/anaconda3/envs/mm3d/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/zzz/mmdetection3d/mmdet3d/ops/voxel/voxelize.py", line 138, in forward
self.deterministic)
File "/home/zzz/mmdetection3d/mmdet3d/ops/voxel/voxelize.py", line 65, in forward
deterministic)
TypeError: hard_voxelize(): incompatible function arguments. The following argument types are supported:
1. (arg0: at::Tensor, arg1: at::Tensor, arg2: at::Tensor, arg3: at::Tensor, arg4: List[float], arg5: List[float], arg6: int, arg7: int, arg8: int) -> int
Invoked with: tensor([[ 2.1554e+01,  2.8000e-02,  9.3800e-01,  3.4000e-01],
[ 2.1240e+01,  9.4000e-02,  9.2700e-01,  2.4000e-01],
[ 2.1056e+01,  1.5900e-01,  9.2100e-01,  5.3000e-01],
...,
[ 6.3150e+00, -3.1000e-02, -1.6490e+00,  2.9000e-01],
[ 6.3090e+00, -2.1000e-02, -1.6470e+00,  2.9000e-01],
[ 6.3110e+00, -1.0000e-03, -1.6480e+00,  3.2000e-01]], device='cuda:0'), tensor([[[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.],
[0., 0., 0., 0.]],
    [[0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.]],

    [[0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.]],

    ...,

    [[0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.]],

    [[0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.]],

    [[0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.],
     [0., 0., 0., 0.]]], device='cuda:0'), tensor([[0, 0, 0],
    [0, 0, 0],
    [0, 0, 0],
    ...,
    [0, 0, 0],
    [0, 0, 0],
    [0, 0, 0]], device='cuda:0', dtype=torch.int32), tensor([0, 0, 0,  ..., 0, 0, 0], device='cuda:0', dtype=torch.int32), [0.05, 0.05, 0.1], [0, -40, -3, 70.4, 40, 1], 5, 40000, 3, True

Have you made any modifications in your code or config file? and which branch ( master or v1.0.0.dev0)  code are you using?

Neither the code nor the configuration file was modified. I used git checkout v0.17.0.

It's a problem existing in v0.17.0 branch, I suggest you to change to master branch, where the bug has been fixed.

I check it again, and maybe you compile the voxelization op in master branch, but then you switch to v0.17.0 branch. That will cause the problem.

Close due to inactivity.

Hello! I have a similar problem.
Some idea how to resolve it? Thanks in advance.
I haven't changed anything in the code and I run this command:
python demo/pcd_demo.py demo/data/kitti/kitti_000008.bin configs/second/hv_second_secfpn_6x8_80e_kitti-3d-3class.py checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-3class_20200620_230238-9208083a.pth --out-dir ./output
I get this error:


Initial refactor and tests of the text_box class (and derived classes)

First of a series of proposed commits to simplify, reduce duplication, and add testing to box classes

A few things to discuss here,  I think.
Proposing to move many of the 'demo' functions to a demo class so that the code files can be pure implementation.
Proposing to settle on Tk as the windowing tool, and strip out the UI intermediate layer - we are pretty settled on Tk...
If this looks good, I've got some (local) commits to do a similar refactor for other box classes.
The imports and usage of the methods should all be staying the same here: due to the way that we set the easygui.__init__.py __all__ we should still be able to import textbox, codebox, and exceptionbox in the same way as before.

I think that is the main refactor done. Most boxes now inherit from an AbstractBox which allows for a good amount of code re-use.
Things that I'd like to do pre-merge:

go through each type of box and compare before-and-after screenshots (padding changes etc might be nasty)
list the breaking changes (there are a handful of them ... which I think are worthwhile ... but should be clear and explicit(
test out the demos to confirm that I've not broken any sensible use cases
... and then merge this to master.

Once the refactor lands, then I think that we can do some tidying up of the docs and finally make some headway on the open issues / bugs / feature requests that have been stacking up.


Add Disque plugin

This adds a plugin to collect metrics from Disque. Disque uses the same protocol as Redis, so it's pretty much a clone of the Redis plugin with a few different metrics.

This looks good to me :+1:, thanks for the contribution!


Unable to set instance parameter group on instances in rds.DatabaseCluster

When building an rds.DatabaseCluster, there is no obvious way to associate an instance parameter group to instances in the cluster. Without this, there's no way to set common configuration like log_min_duration_statement or shared_preload_libraries.

As a workaround, can you use escape hatches?

I believe instantiating a rds.CfnDBParameterGroup and then set the dbParameterGroupName for every AWS::RDS::DBInstance in the construct's children would work.

I also want this improvement.
There is any blocker on this issue?
If there is no problem, I'll send a pull request.
How about this? @eladb

@aereal +1

sent #2075


Add zlib tests and fix runtime bug

Description
This PR fixes a gap in our testing: we didn't test any build with zlib (for TLS record compression) enabled. This is a deprecated option but it should nonetheless be tested until it's removed for real.
The usefulness of these tests is illustrated by the fact that in their absence, we introduced two bug in 2.19 that caused us to fail to build or run with zlib enabled: #2859 plus another one that was found by the tests and is fixed in this PR.
Dependencies: This PR is based on #2963 which fixes a bug in building with zlib - the added test obviously wouldn't pass without that fix.
Status
READY
Requires Backporting
Yes - for the tests (the bugfix is only applicable to development, the LTS branches are free from the bug as the tests show).

[x] Mbed TLS 2.16 https://github.com/ARMmbed/mbedtls/pull/2972
[x] Mbed TLS 2.7 https://github.com/ARMmbed/mbedtls/pull/2976

Migrations
NO
Additional comments
No ChangeLog entry as this is only a change in tests, not in the library, and the runtime bug probably doesn't need it own entry as it was hidden by the compile bug.
Steps to test or reproduce
Run tests/scripts/all.sh 'test_zlib*' and observe the result, in particular the two lines with Default (compression enabled) in the output of ssl-opt.sh.

The CI's pr-merge job succeeds, and the pr-head jobs only fails the check-python-files step, which is independent from this PR and was fixed in development in the meantime. This PR is based on #2963 which is a month old, rather than on current development.


adding grumphp, php-cs-fixer, fixing style

Codecov Report

Merging #2 into master will decrease coverage by 0.21%.
The diff coverage is 84.61%.

@@             Coverage Diff              @@
##             master       #2      +/-   ##
============================================
- Coverage     87.15%   86.94%   -0.22%
  Complexity      362      362
============================================
  Files             8        8
  Lines           825      827       +2
============================================
  Hits            719      719
- Misses          106      108       +2

Impacted Files
Coverage Δ
Complexity Δ

src/Zend/Loader/SplAutoloader.php
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

src/Zend/Loader/ClassMapAutoloader.php
94.64% <0%> (ø)
28 <0> (ø)
:arrow_down:

src/Zend/Loader/Autoloader.php
71.42% <100%> (ø)
82 <0> (ø)
:arrow_down:

src/Zend/Loader/StandardAutoloader.php
86.36% <100%> (ø)
51 <0> (ø)
:arrow_down:

src/Zend/Loader/PluginLoader.php
92.21% <100%> (ø)
79 <6> (ø)
:arrow_down:

src/Zend/Loader/Autoloader/Resource.php
100% <100%> (ø)
54 <0> (ø)
:arrow_down:

src/Zend/Loader/AutoloaderFactory.php
90% <50%> (-1.53%)
24 <0> (ø)

src/Zend/Loader.php
86.45% <75%> (ø)
44 <0> (ø)
: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 45d52ec...2a63a56. Read the comment docs.


Automator: update common-files@master in istio/istio@master

Generated by Automator - 2021-05-20T22:51:37+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
99aa222ef063aea509fa1c85bae4810dd1ed521c
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-k8s-tests_istio


MQTT Garage Door Issues

I am able to create a Garage Door component and successfully open the door and keep track of its open/closed state. However, I am not able to shut the door from Home Assistant. Here's the yaml in question. Any advice would be greatly appreciated.
garage_door:
  - platform: mqtt
    name: 'Garage Door'
    state_topic: 'smartthings/Garage Door/door'
    command_topic: 'smartthings/Garage Door/door'
    optimistic: false
    qos: 0
    retain: true
    state_open: 'STATE_OPEN'
    state_closed: 'STATE_CLOSED'
    service_open: 'SERVICE_OPEN'
    service_close: 'SERVICE_CLOSE'

Here's what worked for me:
garage_door:
  platform: mqtt
  name: Garage Door
  state_topic: "smartthings/Garage Door Opener/contact"
  command_topic: "smartthings/Garage Door Opener/door"
  state_open: 'open'
  state_closed: 'closed'
  service_open: 'open'
  service_close: 'closed'
  retain: true

@chilicheech is right, the smartapp looks for certain payloads:
https://github.com/stjohnjohnson/smartthings-mqtt-bridge/blob/master/smartapps/stj/mqtt-bridge.src/mqtt-bridge.groovy#L590-L596

@stjohnjohnson last night when trying this I had the same payloads as the config @chilicheech provided and encountered the same issue, so I reverted to the defaults from HA. The major difference between this config and mine is that my state topic was door and not contact. After updating my state topic to contact and reverting back to the payloads from the example above I encountered the same issue. I changed the optimistic property to true and that seems to have done the trick in combination with the update to the state top and payloads. I am using a GoControl/Linear GD00Z-4 Garage door opener in case this information is of value to anyone else. Here is my updated and functional config.
garage_door:
  platform: mqtt
  name: 'Garage Door'
  state_topic: 'smartthings/Garage Door/contact'
  command_topic: 'smartthings/Garage Door/door'
  state_open: 'open'
  state_closed: 'closed'
  service_open: 'open'
  service_close: 'closed'
  retain: true
  optimistic: true

Interesting, so for the garage door is has both a contact and door value.  Different from the docs: http://docs.smartthings.com/en/latest/capabilities-reference.html#garage-door
Thanks for the feedback!


logo moved to website

closes #16
@l3r8yJ take a look please

PR-Codex overview
This PR focuses on updating the README file by adding a new image and a codecov badge.
Detailed summary

Deleted blamer-hub.svgREADME.md file.
Added new image blamer-bot with a width of 150.
Added a codecov badge linking to the repository.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@h1alexbel thank you for your Pull Request. I'll assign someone to review it soon.
If this PR solves a todo from the code, please don't forget to remove it.

@h1alexbel I couldn't find any assignee for this task. This is either because there are no contributors with role REV available or because the project does not have enough funds.
Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.

@rultor merge

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@l3r8yj Done! FYI, the full log is here (took me 2min)


[Fix] Coverage setup on skip

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

:exclamation: No coverage uploaded for pull request base (master@df61a34). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage          ?   29.68%
=========================================
  Files             ?       10
  Lines             ?      192
  Branches          ?       56
=========================================
  Hits              ?       57
  Misses            ?      135
  Partials          ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Compiler doesn't complain about assigning value to module level final constructs

Description:
$title
Steps to reproduce:
The following compiles.
function foo() {

}

public function main() {
    foo = foo;
}

Affected Versions:
slalpha5
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Duplicate of https://github.com/ballerina-platform/ballerina-lang/issues/24315.


Block edge 4.3.40

4.3.40 needs to be disabled:
2 clusters currently failing (17%),  3 gone (25%),and  7 successful (58%), out of 12 who attempted the update over 7d
Currently failing classification:
* Single master: 1
* Untriaged: 1
* Version retarget: 1
* volumesnapshots v1alpha1: 1

4.3.40 can be enabled again:
1 clusters currently failing ( 8%),  3 gone (23%),and  9 successful (69%), out of 13 who attempted the update over 7d
Currently failing classification:
* Untriaged: 1


A way to provide a "default" route on a handler for commands?

I am wondering if a handler can easily define a default route, such that if no other routes match a command, this default route would be triggered.
It would only really make sense to use with a command, since otherwise every message would trigger the default route on the handler. but saying "lita what's going on?" could helpfully reply with something like "I don't understand. try lita help for a list of things I can do" if that's not a valid command.
Does this exist? I couldn't find mention of something like it in the documentation. I'm new to Lita, so thanks for entertaining me.
I tried two routes with the same regex, and they both run - maybe, if there was a way to say only one route should run per message, I could achieve the intended result too, but that'd be more of an unintended-feature kind of thing.

You might be able to use the unhandled message event to do what you want: https://docs.lita.io/plugin-authoring/events/

Thanks for the reply - that would be what I would expect to work for that purpose.
In using this method for this purpose, though, it seems that the Slack RTM connection always re-receives the last message that was sent by Lita when restarting the Lita process after a deploy.
To clarify, here's the sequence I see:
> me: lita valid_command
> lita: response to valid_command
> me: other message(s), not necessarily directed at lita (this is optional)
# CTRL+C lita server, restart it with `lita start`
> lita: Sorry, I don't understand the command "response to valid_command".

The last line is produced by my on(:unhandled_message) block. Can you see if you can replicate this behavior? It seems like a bug to me... or, at least, something that the adapter should filter out since it might be slack's "fault" (or feature)?
I could probably work around it by seeing if the message was sent by the bot (sorta related to https://github.com/litaio/lita-slack/pull/95), but it seems like this shouldn't be necessary? I can also make this not happen as often by filtering by command? in the unhandled_message block, but that doesn't prevent DMs from suffering from this if that's where lita's last message went.
(sorry that this potential bug report is a comment on the issue here, let me know if you'd rather I split it out onto a new one)

a little more data:
[2016-07-29 08:37:55 UTC] DEBUG: Dispatching message to Lita from <my UID>. # this is my unhandled message, lita replies to it immediately as expected
^C[2016-07-29 08:38:03 UTC] INFO: Disconnected from Slack.
[2016-07-29 08:38:03 UTC] DEBUG: Closing connection to the Slack Real Time Messaging API.
[2016-07-29 08:38:03 UTC] DEBUG: Closing connection to the Slack Real Time Messaging API.
bash-3.2$ lita start
[2016-07-29 08:38:04 UTC] DEBUG: Connecting to the Slack Real Time Messaging API.
[2016-07-29 08:38:05 UTC] DEBUG: Connected to the Slack Real Time Messaging API.
[2016-07-29 08:38:05 UTC] INFO: Connected to Slack.
[2016-07-29 08:38:05 UTC] DEBUG: reconnect_url event received from Slack and will be ignored.
[2016-07-29 08:38:05 UTC] DEBUG: Dispatching message to Lita from <Lita's UID> # this logs that Lita re-receives the message that it sent to me in response to the unhandled message

Without taking some time to investigate it now, this sounds like an issue only related to the Slack adapter, so I'm going to close the issue here. Please file a new issue on lita-slack if you're not able to find a satisfactory workaround!

great, I'll post a new issue there. thanks!