Running Word Count example in Visual Studio debug mode

I can run the wordcount example using the following commands:
sparkclr-submit.cmd --exe SparkClrWordCount.exe C:\Users\Owner\OneDrive\Source\Repos\Mobius-master\examples\Batch\WordCount\bin\Debug file:///C:/Users/Owner/OneDrive/Source/Repos/Mobius-master/examples/testfile.txt
However, when I try to run in debug mode in visual studio I get this error:
{"Value cannot be null.\r\nParameter name: path1"}
Also how do I run multiple files from a directory?
The following example only reads one file?
var lines = sparkContext.TextFile(args[0]);
var counts = lines
.FlatMap(x =>  x.Split(' '))
.Map(w => new KeyValuePair<string, int>(w, 1))
.ReduceByKey((x, y) => x + y);
            foreach (var wordcount in counts.Collect())
            {
                Console.WriteLine("{0}: {1}", wordcount.Key, wordcount.Value);
            }

Either change the code or run it in command window.

@Mrsevic is correct.
You need to run the program within the command prompt, outlined here. The debugging docs also may be helpful depending on your goals.
As for accepting more than one file, you'd need to make the appropriate code changes to achieve this. Currently the code accepts one file as an argument.
var lines = sparkContext.TextFile(args[0]);
Let me know if that helps.

Great thanks! It works

You're welcome.


feat(command-runner): allow func as command param

Fixes #2033

I'll wait on @simondel's feedback, but I agree with all your suggestions. Obviously JSON schema can't allow function types because JSON doesn't allow functions. Plus, while I don't think you allow the Stryker conf to be a JSON file right now, preserving the option to do so in the future makes sense.

You can already define your Stryker config in a stryker.conf.json file, this feature was recently added. We still need to update the docs I realize now 🙄

Sorry if this is off-topic and with the worst possible timing. I would actually prefer conf.js file over configuration JSON since I have generally had an easier time with conf.js. My impression and experience is that editing and adapting conf.js files for tools such as Babel and Stryker is more flexible and less rigid than dealing with a JSON file such as package.json. Just my (US) $0.02 worth.
I wonder if it could be ideal to consider something like YAML next to JSON, like ESLint and cosmicconfig do.

@brodybits the only reason for JSON is that IDEs can provide IntelliSense there with $schema property. I don't know if it is possible in JS files :/

Indeed off topic, but here is my €0,02.

I would actually prefer conf.js file over configuration JSON since I have generally had an easier time with conf.js.

We'll always keep support for stryker.conf.js files. It is very useful, for example to distinguish between build server vs local development. This cannot be done with regular json. Just two minor changes in the foreseeable future:

We will deprecate the current way of working (karma style function export) in favor of just exporting the config object (webpack/eslint config style)
We will be validating the config with JSON schema validation, so the (core) config should be compatible with that (although plugins can still allow arbitrary config like regexp or functions, like we do now, with the disadvantage of only working in .js files and not .json files)

IDEs can provide IntelliSense there with $schema property, so you don't have to look for options in docs. I don't know if it is possible in JS files :/

Sure it can. With the wonders of typescript.
/**
* @type {import('@stryker-mutator/api/core').StrykerOptions}
*/
const options = {
  // intellisense here
}
module.exports = options

I wonder if it could be ideal to consider something like YAML next to JSON, like ESLint and cosmicconfig do.

Since JSON is compatible with YAML, and code editors use JSON schemas to provide intellisense for it, we might allow it in the future if there is enough demand for it. I'd rather have support for JSON with comments (JSONC) in the short term. That would also be supported in most editors.
Please any further discussions in (new) issues 😅

I didn't want to wait any longer. I made the requested changed. The tests pass and it's working for me locally. My implementation and unit testing feels a little clunky to me, so if you have any suggestions for making it more elegant, let me know.

@nicojs thanks for showing that. We should also add this schema support :)
My idea is that we can choose in cli if we want JS or JSON file. Then we will create one of them with schema support and some default settings. I wouldnt hurt JS lovers nor JSON lovers. Then YAML support? Sure, just dump it in and we can choose out of three :)

@jpsilva are you still interested in this feature? I think the recent changes we made to the jest runner should improve performance by quite a bit.
I'll close this for now. Please open a new PR when you feel like you still need this feature 👍

@jpsilva are you still interested in this feature? I think the recent changes we made to the jest runner should improve performance by quite a bit.
I'll close this for now. Please open a new PR when you feel like you still need this feature 👍


Parser incorrectly assumes line end after struct literal

In [1]: import "gonum.org/v1/gonum/optimize/functions"
In [2]: fun := functions.ExtendedRosenbrock{}.Func
ng: parser: neugram: parser: expected ";", found "."  (off 36)

I have a suspiciously easy fix for this. All the tests pass, so I'm going to commit it, but I'm going to keep thinking about it.


CFGs problems

Hi @danielkrupinski
After updating the code today, there are problems saving the cfg
I have deleted all the cfg and created new ones, but when saving the changes, some changes are not saved
when the game starts again, no changes appear
the same goes for other options, for example glow and esp
for example: in misc, if I select "bomb timer" and save, when I load again, bomb timer is not selected

me too.
I'm using my custom version, After update, Config.cpp is entirely changed.
I'm tried to fix source code, but  i think my source code doesn't have any problem.
idk how to fix this.

Old Esp is no longer saved to config, new Stream Proof ESP is going to replace it. I'm aware some variables are not saved.

the same problem occurred for skin changer

I'm aware some variables are not saved.

Thank you


How to improve answer generation to include insights from all provided sources?

First, awesome job on this and thank you for making it public!
Currently, when generating answers, the chatbot only incorporates insights from 2-3 sources in its response, even though 10+ relevant sources are available. My dataset is made of 100+ pdfs of a relative short length (5-10 pages). I'm not advanced enough to figure it out but it seems there is some bias that may cause the model to focus on a few highly-weighted sources? How can we solve that?
I've experimented with different max_tokens, temperatures and prompts but i can't overcome the issue.  Thanks again for the help/direction

I have the same issue

@riceorpasta If the volume of tokens is going to be an issue, an approach could be to pre-process documents into brief summaries once. Then use a collection of the summaries to produce a reduced amount of tokens for a wider-reaching context. Then if you did want to drill down on specific sources, you can go back to the normal full-resolution embeddings per document.
At least, that's the first thought that popped into my head for this.

Any fix for this??

@vishnu1991 Had the best insights on this.
@riceorpasta I have a similar setup where I have my own data generated into documents about 2-10 pages in length. I did k=3 as 3 sources was enough for my use case but I understand how you'd like to take all relevant sources.
Two-three possible solutions/experiments you could do immediately:

I think the cheapest albeit low tech way is to reorganize your datasets into docs of all relevancy into fewer docs.
Another thing you could possibly also do is increase the chunk size to 2,000, which is the limit Pinecone allows you to do. Be prepared to maybe run into issues though as pinecone seems somewhat finicky as we are very early in this game, especially on lower compute free nodes. I would increase chunk size after combining similar docs into fewer to help.
There are other experiments like trying another chunk embedding algo like FAISS, or after formatting docs doing a segmentation chunker based on spacing in docs,but I don't think that solves your issue here.
Maybe just maybe, it's the issue in parsing of your PDFs depending on how they are formatted if not simple straight text and have other elements. I added a basic text loader into my tryouts, as I barely had any PDFs, I had just raw text. I did notice once though, even in my raw text that my 1st source and third source were same document. I don't have much money to experiment.

These models tend to just return the highest confidence scores, and if you have 3 of high confidence ~81%, then your 4th and 5th document of confidence of ~75% just won't return as a source. You likely already know this.

@bschleter Thanks for the response! Was wondering where can I find the file where I can increase the chunk size specification? In addition, I realize the output by GPT-4 API form is very concise, was wondering if you know how to modify it and where to modify so it produces more verbose output?

Hi @bschleter ! Where in the code can you increase the number of sources to retrieve ?
Thanks!


removeHs messing up double bond stereo in partially sanitized molecules

This one doesn't occur very often, but in some cases removeHs() can result in a double bond having an empty stereoAtoms() list.
This is another one connected to #1810 (one of those gifts that keeps on giving!)

Closed by #2723


Fix the code using --fix

eslint provides a really nice --fix option, which is perfectly usable for fixing smaller things, like indentation, styling issues, etc.
Please make a command which runs --fix on the actual code, so a quick eslint style fixing would be possible in Sublime.

SublimeLinter does not support anything except linting and there is no easy way to add this formatting command separately to this plugin. I guess we should wait when such possiblity will land in SublimeLinter, probably create an issue, or create separate plugin, like https://github.com/TheSavior/SublimeJSCSFormatter/blob/master/JSCS-Formatter.py for jscs.

I'll open an issue in linter, to let them know about the need for the feature.
Probably a separate plugin would be the most reliable way of implementing it, but it'd be a pity to not use all the config management which is already implemented in linter and in this plugin.

Just for reference: what the --fix option currently (v1.10.3) offers  (1, 2) is that:

When you run ESLint on the command line with the --fix flag, it will automatically fix any problems that it can (not all problems are fixable at once) and will not report the problems that were fixed.

and

This option instructs ESLint to try to fix as many issues as possible. The fixes are made to the actual files themselves and only the remaining unfixed issues are output.

i.e. running it like this:
eslint --fix myscript.js
it will replace the file with one having as many issues as possible fixed (i.e. it wont create a 2nd file),
and it doesn't report in its output which errors it just fixed
but only which unfixed issues remain, like this:
$ eslint --fix myscript.js

C:\Users\Kostas\Desktop\New folder\myscript.user.js
   26:18  error    Multiline support is limited to browsers supporting ES5 only                                   no-multi-str
   48:1   error    "GM_addStyle" is not defined                                                                   no-undef
   48:1   error    A function with a name starting with an uppercase letter should only be used as a constructor  new-cap
   73:1   warning  "time" was used before it was defined                                                          no-use-before-define
   75:1   error    String prototype is read only, properties should not be added                                  no-extend-native
   96:5   error    Identifier 'base_url' is not in camel case                                                     camelcase

I am going to create a small sublime text plugin (first one by the way). So watch this space! =)

I'll be watching you @softwarespot :D

Would also love to see --fix support! :+1:

Somebody who knows pyton (not me :( ) could fork https://github.com/TheSavior/SublimeJSCSFormatter/ and probably make an eslint version. The api of jscs and eslint are pretty much the same. @softwarespot

@mummybot Plugin uses stdin as input (--stdin option of eslint). It does not work with --fix, as I know.

+1

+1

+1

If it is possible in SumblimeLinter to tell the difference between an as-you-type lint and a has-hit-save lint, a good approach might be to use the real file instead of --stdin when the file has been saved. And then --fix could be passed in that scenario.

This was released 6 days ago >> https://github.com/TheSavior/ESLint-Formatter. It's JSCS Formatter renamed

I just created a new build system and made shortcut:
{   "shell_cmd": "$project_path/node_modules/eslint/bin/eslint.js --fix $file" }
I don't know if that's the best solution, but works for me.

@RichardForrester Can you give instructions on how to install this?

@RichardForrester A slightly better option might be: $project_path/node_modules/.bin/eslint

@Overload119 There isn't anything to install. Just go through the menu: Tools > Build System > New Build System
@joeybaker is correct, a slightly better path is as he suggests.
{ "shell_cmd": "$project_path/node_modules/.bin/eslint --fix $file" }
So basically you just save that as a build and then you can super + b to fix your current file.

+1 to supports:
{
"linters": {
            "eslint": {
                "args": [
                    "--fix"
                ]
            }
        }
}

For anybody that isn't using projects like me and just opens Sublime with a directory using subl . or similar then $project_path won't have a value and you can use $folder instead:
{  "shell_cmd": "$folder/node_modules/.bin/eslint --fix $file"  }

💥

For me being on windows and having local eslint installed via npm you can also use { "shell_cmd": "%appdata%/npm/eslint --fix $file" }

guys this plugin is available, its for formatting using eslint
https://github.com/TheSavior/ESLint-Formatter
Use that instead of asking for this feature.

i find a way solve this problem, and i create a pull request, it works fine on load/save lint mode.
@roadhump could you merge the pull request

@RichardForrester I created a new build system, Sublime asked me to save it, I did -- but running "Build" still says "No Build System".
@kzap: ESLint-Formatter is too smart for its own good. Instead of assuming that eslint is in the path, like most eslint-related plugins do, it wants to know where node is, eslint, etc. My node path changes since I use nvm.

As far as I can see, the problem is here:
https://github.com/roadhump/SublimeLinter-eslint/blob/3967ca67bc98d4e6df7ae2aca61add27443c6aaa/linter.py#L26
From ESLint's documentation
http://eslint.org/docs/user-guide/command-line-interface#--fix

--fix
This option instructs ESLint to try to fix as many issues as possible. The fixes are made to the actual files themselves and only the remaining unfixed issues are output. Not all problems are fixable using this option, and the option does not work in these situations:

This option throws an error when code is piped to ESLint.
This option has no effect on code that uses processors.

So --fix will work just fine, as long as the linter is working on the original file. Not stdin and not a temporary file. From SublimeLinter's documentation:

Updating class attributes
https://github.com/SublimeLinter/SublimeLinter3/blob/23d1e7fd2756242836ca53f3dfa341cd19bdc6a4/docs/creating_a_linter.rst#updating-class-attributes
tempfile_suffix
https://github.com/SublimeLinter/SublimeLinter3/blob/23d1e7fd2756242836ca53f3dfa341cd19bdc6a4/docs/linter_attributes.rst#tempfile_suffix

I was able to come up with the following proof of concept by modifying linter.py:
-     cmd = ('eslint', '--format', 'compact', '--stdin', '--stdin-filename', '@')
+     cmd = ('eslint', '--format', 'compact', '@')
+     tempfile_suffix = '-'

I am a JavaScript developer. I don't know alot of Python and I have no idea what the '@' argument is supposed to do (so I left it in there).
Now, whenever I save a file (see Lint Modes), it is linted and fixed thanks to the following .sublimelinterrc
{
  "linters": {
    "eslint": {
      "@disable": false,
      "args": [
        "--fix"
      ],
      "excludes": []
    }
  }
}

If I remove --fix from args, then the errors are highlighted normally without modifying the file.
It would be great if this change could be made after someone is able to evaluate the impact it would have of stability and performance. Unfortunately that is currently outside of what I am capable of. Hopefully this will give someone a head start in creating a pull request for SublimeLinter-eslint.
Related: https://github.com/SublimeLinter/SublimeLinter3/issues/375

My workaround does have a problem. It hits the filesystem twice. First when you initially save the file, and again when --fix has modified and resaved the file.
This is less than ideal, including that it would require debouncing of any file watcher, including editor plugins, build systems, or other pieces of software that may be outside a developer's control.

In the end, my attempt to work around the problem was limited by my knowledge of Python and limitations in both Prettier and ESLint. It ended up being more reasonable for me to change my workflow than attempting to get a single package to do it all.
Long story short, I was able to get SublimeLinter-eslint and ESLint-Formatter to meet most of my needs.
The following may be worth keeping an eye on:

https://github.com/prettier/prettier/issues/918
https://github.com/eslint/eslint/issues/4378
https://github.com/TheSavior/ESLint-Formatter/issues/34

Hello @npetruzzelli I have the same setting now, but it seems the linter is executed before the formatter with the format_on_save option, so the file is formatted correctly, but the linter still reports the issues.
Did you manage to get around that?

I'm afraid I haven't run into any issues like that. Keep in mind that the ESLint-Formatter can only work on a saved file. It won't work if you have an open document with unsaved changes.
I typically lint as a background process or on file save. Then I will use the keyboard shortcut when I want to format. I think it is ctrl+shift+h.
Not all problems can be autofixed, so sometimes you will have to manually resolve ESLint errors.
Unfortunately, I don't know of any way to control the order in which Formatter and Linter execute or to get one to wait for the other.

{  "shell_cmd": "npx eslint --fix $file"  }

@sheepsteak's idea nice, but feel slowly.
[Finished in 4.5s]

Can improve speed with eslint_d.
yarn global add eslint_d

{  "shell_cmd": "eslint_d --fix $file"  } // use current .eslintrc

[Finished in 1.0s]


Graal perfrorm worse than Nashorn

Until now we have used Nashorn to evaluate JS code in our Java project. Nashorn has couple of known disadvantages and we would like to move to GraalVM.
So we did a small POC and run into couple of issues, i hope you can help us :)
Our business use case: We provide our users a platform to write custom js code according to the following interface:
function process(record, ctx, logger, next) {
if (record && record.data){
record.data.firstName = "Joe";
}
return record;
}
record represents our internal model which is a Java Map.
And we invoke the 'process' function from within our Java code and provide the parameters.
We noticed the performance of Nashorn is better than Graalvm when we run couple of tests, is that make sense or we probably do something wrong?
I've attached a sample program that demonstrate our use case and how we compare the performance.
We really appreciate your assistance and would like to move very soon to Graalvm.
Graal_POC.zip

Hi Yossi,
some remarks to your code:
The iterations you calculate are quite low, and you do not consider startup overhead. This might or might affect benchmark results to anyone's favor. I suggest you increase the iterations at least for the last benchmark, where Nashorn completes within less than 100ms. I was testing with 1M iterations (compared to your 100k).
The benchmark code for the append_to_array.js seems to be wrong; record.data is never set, so the benchmark does not actually do anything. You should add at least some basic verifications to the Java file that the benchmark result - whatever JS returned - is legitimate. Similar concern for rename.js where the profile value is never set.
You should be able to extract the ProxyObject.fromMap() out of the loop in the Graal case. This improves our performance a bit.
There is also something we need to look into: our performance on Invocable.invokeFunction does not seem to be optimal. I have rewritten your benchmark to use our GraalVM polyglot API directly:
import org.graalvm.polyglot.Value;

    private static void testGraalPerformanceUsePolyglot(String content, Logger logger) throws ScriptException, NoSuchMethodException {
        Map map = new HashMap();

        org.graalvm.polyglot.Context ctx = org.graalvm.polyglot.Context.create();
        ctx.eval("js", content);
        Value binding = ctx.getBindings("js");
        Value procFn = binding.getMember("process");

        ZonedDateTime start = ZonedDateTime.now();
        for (int i = 0; i < N; i++) {
            map.put("index"+i, i);
            Value result = procFn.execute(ProxyObject.fromMap(map), ctx, logger);
        }
        procFn.execute();

        long time = start.until(ZonedDateTime.now(), ChronoUnit.MILLIS);
        System.out.println("testGraalPolyglotPerformance took "+time+" millis");
    }

This boosts GraalVM performance to around 2x speedup compared to Nashorn. One obvious reasons for that is that I can extract the ctx.getBindings("js").getMember("process") code and can execute the function directly. I will need to dig deeper, though, maybe there is something we can optimize in our ScriptEngine implementation.
Note, however, that our ScriptEngine support is a wrapper around our org.graalvm.polyglot.Context implementation; so using this directly will always be faster. Also note that none of your JS code is actually accessing the context argument. You would need to adapt to the GraalVM context case if you rewrote it like I suggest here.
Best,
Christian

One additional remark: I did execute the benchmark directly via GraalVM in all cases, guaranteeing that Graal is always used as compiler for Graal.js. If you run from Maven, that might not be the case. We have recently published https://github.com/graalvm/graal-js-jdk11-maven-demo that shows how to use Graal on Stock JDK with best performance. A blog post on that matter will follow in a few days.

Thanks a lot Chris, we follow your suggestion and now Graal performs 2 time faster than Nashorn.
I would like to take this opportunity to ask you:

When Graal will be part of JDK?
When do we expect an official release?

Hi @yossi77
great to hear, thanks for the update!
Regarding your questions - I assume, you mean "the GraalVM JavaScript engine", not "GraalVM" or "Graal the Java JIT compiler":

Our current goal is to provide GraalVM/JavaScript so that you can easily download and use it on any (JVMCI-supported) JVM, with best performance, i.e., Graal-enabled. There are no plans right now that I know of to bundle GraalVM/JavaScript by default with the JDK like it happend with Nashorn.

This is yet undecided. Any feedback like your's that helps us improve GraalVM/JavaScript and verifies it is working for people in the community is helpful. Please file issues (feature or performance) as you find them, and also share success stories with us and the community.

Best,
Christian

Thanks Chris, we will.
Do you have any ETA about having GraalVM Javascript engine ready for windows developers?

Hi,
for Graal.js itself the operating system has almost no consequence; it's a Java application and should run anywhere. Things are more complex on the Node.js side of course.
Our teams are currently working on Windows support for Graal (the Java JIT compiler), for SubstrateVM to build native binaries (which is used to build e.g. the js binary), and for our build system mx. I don't know of any specific ETA for that, but it definitely get some attention from us right now.
Best,
Christian


Fixed #30295 -- Fixed max_lengths.tests.MaxLengthORMTests when run in isolation.

Ticket #30295.

@laymonage Thanks :+1:


Displays coverage results for dependency, not for crate itself

Hi,
I've tried version 0.3.6 with my crate and got following result:
± cargo tarpaulin
Launching test

running 4 tests
test tlv::tests::find_val_test ... ok
test tlv::tests::from_vec_test ... ok
test tlv::tests::tag_len_test ... ok
test tlv::tests::to_vec_test ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Launching test

running 1 test
test quickcheck_from_vec ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Coverage Results
target/debug/build/backtrace-17fa5380aeaf9437/out/capture.rs: 17/80

21.25% coverage, 17/80 lines covered

As you can see tarpaulin reports about backtrace crate not about tlv-parser crate.
backtrace is dependency of error-chain that is dependency of tlv-parser.

Hi lexxvir, this is related to #10, I've cloned your crate and will use it as one of my test projects to make sure I've fixed this and let you know when I've sorted it

0.3.7 is out, do you mind trying it for me? Something is up with my rustup and it's not switching to nightly so I haven't been able to properly test your project

I have tested 0.3.8. It seems all woks well now:
Coverage Results
tests/lib.rs: 11/13
src/tlv.rs: 153/254
src/errors.rs: 0/2
target/debug/build/backtrace-17fa5380aeaf9437/out/capture.rs: 17/80

Little strange that file from backtrace crate placed into results..
But anyway, thank you for fix!

I think it's because the source is in a child directory of the project manifest. I'll add a filter to ignore any source in the target filter and that should resolve that last little issue.

So this is weird, I got nightly rerunning with the aim of seeing why the backtrace crate source ends up in the results and this is my tarpaulin output.
cargo tarpaulin
Launching test

running 4 tests
test tlv::tests::find_val_test ... ok
test tlv::tests::from_vec_test ... ok
test tlv::tests::tag_len_test ... ok
test tlv::tests::to_vec_test ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Launching test

running 1 test
test quickcheck_from_vec ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Coverage Results
src/tlv.rs: 155/254
src/errors.rs: 0/2
tests/lib.rs: 11/13

61.71% coverage, 166/269 lines covered

Is there anything atypical in your setup that I wouldn't have on my system from simply cloning the repo? I'm just going to reopen this issue for now because I'm not happy it's fully fixed yet.

I've done some investigation and more probably the cause was a version of backtrace crate.
Initially my working copy contains Cargo.lock with backtrace 0.3.0.
I ran cargo update and backtrace version changed to 0.3.2. After that cargo tarpaulin prints results similar to yours:
± cargo tarpaulin
Launching test

running 4 tests
test tlv::tests::find_val_test ... ok
test tlv::tests::from_vec_test ... ok
test tlv::tests::tag_len_test ... ok
test tlv::tests::to_vec_test ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Launching test

running 1 test
test quickcheck_from_vec ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Coverage Results
src/tlv.rs: 156/254
src/errors.rs: 0/2
tests/lib.rs: 11/13

62.08% coverage, 167/269 lines covered

Remain difference in covered lines in src/tlv.rs:

your version 155 lines
mine working copy version 156 lines
mine clean git checkout 152 lines

Cool, good to know the lock file affects the project in that way. As for the differences, tarpaulin doesn't always catch closing braces from looking at different projects on different systems that's typically the difference. It's a minor issue and on my list.

Ok, so I think it may be closed now.


#BUG -Integration has lost access to the Chilton Ionosonde

The Chilton site and the ionosonde is still up and running, I was able to get todays data (1st Sept 2024) but the integration is no longer able to access it and I regularly get an error message about it.
I will check for log entries and add them here as comment as I find them.

Hi @L81ker thanks for your report.
The data are parsed from kc2g.com .
If you go to the web site and search for "Chilton" you can see last data received is 22 August

Maybe the Chilton station is active but don't send data to kc2g.com, i can't do nothing.

I noticed that there are 12 stations that have not transmitted data since August 22nd at 19:00, perhaps the site kc2g.com is having problems.

Hi @L81ker thanks for your report. The data are parsed from kc2g.com . If you go to the web site and search for "Chilton" you can see last data received is 22 August

Maybe the Chilton station is active but don't send data to kc2g.com, i can't do nothing.

I looked him up on QRZ.com and dropped him an email about it. I see that his blog page was last updated in May. https://www.kc2g.com/ so he might be travelling or something. Nice presentation about his page here in YouTube as well https://youtu.be/Yn5-FdgssoY?si=1qCrF5ssMSsK7iQ1&t=61


[linux ci] install golang-go for boringssl

Currently fails with:
Building boringssl:x64-linux...
CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:163 (message):
  Could not find go.  Please install it via your package manager:

      sudo apt-get install golang-go
Call Stack (most recent call first):
  ports/boringssl/portfile.cmake:13 (vcpkg_find_acquire_program)
  scripts/ports.cmake:147 (include)

error: building boringssl:x64-linux failed with: BUILD_FAILED

@autoantwort Could you please solve the conflicts? Thank you!


Editing in a table with hidden rows fails as it edits the wrong row

We have a table showing 10 rows. The user selects one row e.g. row index 7, by clicking on any editable cell in that row.
We detect that they are editing a cell, and using the row index, we hide all the other rows by setting the hiddenRows property for the table.
Now the user is only seeing a single row, which was earlier at the row index 7 in the data.
The user now clicks into an editable cell on this single row being displayed.
The table now displays the row at row index 0 from the data in edit mode.
Expected: We would be editing the row at index 7 from the data as all the other rows were hidden, and we just clicked into this row.
Result: Instead we are editing the row at index 0 from the data, even though this row is meant to be hidden, as its key is included in the hiddenRows property.
I think this is a bug, but more importantly, we are facing this issue just now and are looking to release this week.
Is there any other workaround that can be used until the bug is resolved?

On further analysis and testing, we found an unexpected side effect in our code, that was responsible for causing the behaviour. Therefore this is not a bug.
Closing the issue as it is not a bug.


Android version of the save web map tutorial

Hey @dkemlage
I assigned this to you, but realize you're out starting Friday ... don't feel obligated if you can't squeeze this in.

@ThadT Here are my comments for the code review:
The Xamarin Android version of the sample worked well, without error. Congratulations!
One of my primary goals was to ensure that the Xamarin Android version of the tutorial guide document 'Author, edit, and save maps to your portal' (https://developers.arcgis.com/net/latest/android/guide/author-edit-and-save-maps-to-your-portal.htm) matched what was being shown in the sample code in the SampleViewer. So with that in mind:
~ You may want to mention in the tutorial guide document that a working version of the sample is located in the Sample Viewer application for Xamarin Android and it's name is 'Author and save a map'. This is important because in the tutorial guide document the code file is called 'MainActivity.cs' but in the Sample Viewer it is called 'AuthorEditSaveMap.cs'; that way users can follow along.
~ The code in the 'OnCreate' method is has some slight differences between the tutorial guide document and the 'Author and save a map' sample in the viewer. Specifically the following lines:
Title = "Author and save a map";
ShowOAuthConfigDialog();
~ The UI screenshots for the tutorial guide document and the actual 'Author and save a map' sample in the viewer look different. You may want to update your screen shots. The screen shots in the guide document have buttons for: New, Basemap, Layers, and Save... BUT in the 'Author and save a map' sample in the viewer have buttons for: NEW MAP, BASEMAP, and SAVE MAP...
~ There are a few using statements that can be eliminated (unused) in the C# code:
using Android.Content.PM;
using System.Linq;
~ In the tutorial document the user is told to create a MapViewModel.cs file and add code to it. But in the actual sample in the SampleViewer, the MapViewModel is a sub-class of AuthorEditSaveMap class. This inconsistency should probably be resolved or at lest noted in the documentation.
~ You may want to add a screen shot in the tutorial guide document that shows the 'Configure OAuth' step where the users needs to specify a 'Client ID' and 'Redirect' page.
~ In step #3 of section 'Update an existing web map' of the tutorial guide document, I could not find corresponding code in the 'Author and save a map' sample of the Sample Viewer. Perhaps this has been siginificantly changed and needs updating?
~ Add some blank lines for readability in the sample code of the SampleViewer for the 'UpdateAuthenticationManager' function. The comments and actual code are bunched together.
~ The code has a few sections of triple slash (///) comments with 'summary' and .param' tags that does not exist in the rest of the code. They should probably just made into regular // comments.
Some global (aka. member) variables do not begin with underscores ( _ ) in the AuthorEditSaveMap and they probably should for consistency:
Private Const ArcGISOnlineUrl As String = "https://www.arcgis.com/sharing/rest"
Private Const AppClientId As String = "2Gh53JRzkPtOENQq"
Private Const OAuthRedirectUrl As String = "https://developers.arcgis.com"

Thanks @dkemlage, good catch on the changes in the tutorial doc.


Emtpy .json/.yml

Hi,
I've installed the plugin and seems like is not working properly. When I generate the file, it just appears next:
Generating .yaml
swagger: "2.0"
Generating .json:
{
"swagger" : "2.0"
}
Inisde the generated .war I have the WEB-INF dir and inside classes dir I have all my package dirs path with the .class that contains my annotated swagger API.
Any clue why is not generating the file correctly?
Thanks in advance.

Hi @dcalap, Sorry for the delayed response. Are you using Jax-RS or Servlets? Are you able to create a sample file we can use to recreate the issue you are seeing?


Feature Request Change the color of the flowbookmark

Change the color of the flowbookmark with the edit pencil. After the name and a comma to write the color. Example: Activation, blue.

I would also like to have this feature. Seems like it should not be difficult to implement as well :)


Enable Travis CI

@sukima can you please enable Travis CI for this repo? I've had my colleague @Mawaheb raise a PR for tests (#9) and I'll like to plug them into continuous integration.
I've checked an only the repo owner can enable Travis. I will take care of the Travis CI configuration, all we need is for you to login to Travis and hit the "on" switch.

On it...

FYI, I upgraded Ember-CLI and pushed version 1.2.0 (Tests passed when I did).

@Mawaheb can you look into getting to creating a .travis.yml that works for this repo? You can go to https://travis-ci.org/, create an account linked to your Github, then activate your fork of this repo.
Once you push a .travis.yml to the root of your fork, Travis should see the tests and run automatically.
Here are some examples that seem to be working for other Ember addons, looks like Travis uses node to run:

https://github.com/dockyard/ember-in-viewport/blob/develop/.travis.yml
https://github.com/williamsbdev/ember-cli-focus-input/blob/master/.travis.yml

Unfortunately commit a214f81 broke tests. Looking into it.

Looking at this. unit tests don't use an ember app and so don't render to the dom. What this means is the 'it renders' tests need to be managed in integration tests which use module and the said beforeEach / afterEach methods while the unit tests use the moduleForComponent helper which doesn't play nice with startApp.

I'm working on fixing the test but my :train: ride is almost over. I'll get to this tonight or tomorrow morning. Ok?

Sure not urgent!

Oops I just committed Travis badge to master already. There's gonna be a conflict. Sorry about that.

No worries, I'm a git-fu master at conflict resolution :grin:

So I'm merging this for now. I think there is a lot of head way and with an establish pattern for both unit and integration tests we can add more easily later. It get's better from here.

@sukima awesome work. Thanks so much this is great.


Wrong path while using external SVG in context with vue-cli-service build --target lib

Hey,
I am on developing vue.js UI library and some of my components use svg as below:
import noImage from<EMAIL_ADDRESS>and in template: <img :src="noImage" />
Everything is fine when I launch my library locally (in storybook or with vue serve [my_component])
But I found that path is incorrect when I use my library as a dependency inside another application in  node_modules
It tries to find assets/no-image[hash].svg inside root directory of the current app instead of folder of library. (inside [app]/node_modules/[library])
vue.config.js
module.exports = {
    chainWebpack: (config) => {

      const svgRule = config.module.rule('svg');
      svgRule.uses.clear();
      svgRule
        .oneOf('inline')
        .resourceQuery(/inline/)
        .use('vue-svg-loader')
        .loader('vue-svg-loader')
        .end()
        .end()
        .oneOf('external')
        .use('file-loader')
        .loader('file-loader')
        .options({
          name: 'assets/[name].[hash:8].[ext]'
        })
    },
    css: {
      loaderOptions: {
        scss: {
            prependData: `
                @import<EMAIL_ADDRESS>                @import<EMAIL_ADDRESS>            `
        },
      },
    },
  };

Do I need to define some extra options to change the path to the libraries folder?

@yuchiko have you found the solution?

@yuchiko have you found the solution?

Nope :(

up


[joy-ui] Consider supporting system props in Sheet

Summary
Why not consider allowing the <Sheet /> component of JoyUI to support system properties? That would provide more convenience for writing code.
Examples
No response
Motivation
No response
Search keywords: Joy sheet system properties

We won't move forward with the system props, it's better to rely on only sx prop.


Add Networking and Tool Documentation

Documents some of the ACF functions exposed to the user for the acf menu tool and the networking functions.
For sake of time, I have not documented helper functions within the file, since they are less important to the user than the globally exposed ones.

Specifying the functions on the ACF.Classes.Entities namespace are only related to AdvDupe2 might be kind of misleading, they use the vanilla duplicator library.


Win installer -now OPENSSL's ssl libraries are needed. [5385]

Changes not related with code. Merging.


[modify] gws/board enhancement

Coverage decreased (-0.001%) to 52.924% when pulling 712af4023098e65fb8d12bc6c519496c470be084 on sunny4381:features/gws-board-enhancement into 3fd81cb1a804ecf2a06b475dc686596f3105d15d on shirasagi:master.

Coverage decreased (-0.001%) to 52.924% when pulling d8f869bf8130b9462bd21a6161e13ef970645e7d on sunny4381:features/gws-board-enhancement into 3fd81cb1a804ecf2a06b475dc686596f3105d15d on shirasagi:master.


Enhancement: Support e-mail submission protocol (port 587)

I currently use port 587 with the submission protocol to send emails on my server. I am wondering if there is a way to utilize Authelia with an MSA. I tried using the following, but to no avail:
notifier:
  smtp:
    username: myuser
    password: mypassword
    secure: true
    host: 'smtp.myserver.com'
    port: 587
    sender<EMAIL_ADDRESS>
Which resulted in the following errors on the mail-server side:
Jan  4 00:39:59 myserver postfix/smtpd[31524]: connect from <ommitted>[ip]
Jan  4 00:39:59 myserver postfix/smtpd[31524]: lost connection after UNKNOWN from <ommitted>[ip]
Jan  4 00:39:59 myserver postfix/smtpd[31524]: disconnect from <ommitted>[ip]

While a successful connection (sent using gmail connecting to my port 587) looks like below:
Jan  4 00:51:47 myserver postfix/smtpd[31585]: connect from google.com[<IP_ADDRESS>]
Jan  4 00:51:47 myserver postfix/smtpd[31585]: 3C436467E5: client=mail-vs1-f54.google.com[<IP_ADDRESS>], sasl_method=<ommitted>, sasl_username=from-email-addr.com
Jan  4 00:51:47 myserver postsrsd[31592]: srs_forward: <from-email-addr.com> rewritten as<EMAIL_ADDRESS>Jan  4 00:51:47 myserver postfix/cleanup[31591]: 3C436467E5<EMAIL_ADDRESS>Jan  4 00:51:47 myserver opendkim[9563]: 3C436467E5: DKIM-Signature field added (s=mail, d=myserver.com)
Jan  4 00:51:47 myserver postfix/qmgr[15986]: 3C436467E5<EMAIL_ADDRESS>size=1389, nrcpt=1 (queue active)
Jan  4 00:51:47 myserver postfix/smtpd[31585]: disconnect from mail-vs1-f54.google.com[<IP_ADDRESS>]
Jan  4 00:51:47 myserver postfix/smtp[31594]: 3C436467E5<EMAIL_ADDRESS>relay=dst.dst.com[<IP_ADDRESS>]:25, delay=0.22, delays=0.14/0.02/0.03/0.03, dsn=2.0.0, status=sent (250 Ok)
Jan  4 00:51:47 myserver postfix/qmgr[15986]: 3C436467E5: removed

Hello @zjzeit , Authelia is using nodemailer as the library to handle notifications so you should check the following doc: https://nodemailer.com/smtp/.
From what I can understand, port 587 is for secure connections. Is your server configured with TLS?

Port 587 is normally not encrypted to start with, that would be 465, 587 might use starttls after establishing the connection, according to the nodemailer doc, something like this should work
notifier:
  smtp:
    username: myuser
    password: mypassword
    secure: false
    host: 'smtp.myserver.com'
    port: 587
    sender<EMAIL_ADDRESS>
secure is false as 587 is not using tls to start with, it's actually the first example on the linked nodemailer page.

That fixed it! Thank you. I use STARTTLS, but incorrectly considered it "secure: true"

That fixed it! Thank you. I use STARTTLS, but incorrectly considered it "secure: true"


troubleshooting strange error occurrences

After moving code from windows10 mach to 2nd windows10 mach, but python ver 3.7.3 to python 3.9.5, working code now has error:
`\miniconda3\lib\site-packages\playsound.py in _playsoundWin(sound, block)
71         logger.debug('Starting')
72         winCommand(u'open {}'.format(sound))
---> 73         winCommand(u'play {}{}'.format(sound, ' wait' if block else ''))
74         logger.debug('Returning')
75     finally:
~\miniconda3\lib\site-packages\playsound.py in winCommand(*command)
62                                 '\n    ' + errorBuffer.raw.decode('utf-16').rstrip('\0'))
63             logger.error(exceptionMessage)
---> 64             raise PlaysoundException(exceptionMessage)
65         return buf.value
66
PlaysoundException:
Error 259 for command:
play .. file.mp3 wait
The driver cannot recognize the specified command parameter.`
also seemingly random cases of error 263:
`~\miniconda3\lib\site-packages\playsound.py in _playsoundWin(sound, block)
70     try:
71         logger.debug('Starting')
---> 72         winCommand(u'open {}'.format(sound))
73         winCommand(u'play {}{}'.format(sound, ' wait' if block else ''))
74         logger.debug('Returning')
~\miniconda3\lib\site-packages\playsound.py in winCommand(*command)
62                                 '\n    ' + errorBuffer.raw.decode('utf-16').rstrip('\0'))
63             logger.error(exceptionMessage)
---> 64             raise PlaysoundException(exceptionMessage)
65         return buf.value
66
PlaysoundException:
Error 263 for command:
open .file.mp3
The specified device is not open or is not recognized by MCI.`

oddly, although this program setup continuously has random errors, I can loop through all the sound files and play them successfully.  Once out of several tries playing 30 short .mp3, there was an error.  Here is code:
`import re
from playsound import playsound
from sounds import *
import time
def follow(thefile):
while True:
line = thefile.readline()
time.sleep(3)
yield line
for line in loglines:
match=re.findall(r'\b[A-Z]{2,}\b', line)
s=match[1]
playsound('../Python_Scripts/' + sounds[s])
print(line)`

can't tell if this is an issue with the machine, or because of the python update.  one thing to try would be update the python on working machine and see if same errors pop up.

It’s possible it’s because you had different versions of playsound.
The version on the master branch is slightly newer than what’s on pypi and may have fixed the issue. Can you use the master branch and let me know if the issue still persists?
If the issue is resolved, I’ll push from master to pypi.
Taylor

On Aug 14, 2021, at 16:24, JMA @.***> wrote:

can't tell if this is an issue with the machine, or because of the python update. one thing to try would be update the python on working machine and see if same errors pop up.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Taylor,
Hi, thanks for getting right back.  I have 1.3 on the new machine...and that is the setup with errors.  I have 1.2.2 on the old machine that has run fine for a couple years.  Maybe I'll try downgrading to 1.2.2 on the new machine.
Best,
Jon

YES!!  Thanks for getting me in the right direction.

I was getting the error The specified device is not open or is not recognized by MCI. when the print statements were added to my little script:
from time import sleep
from playsound import playsound

def main():
    inspiration = 3
    expiration = 1
    hold_on_full = 1
    hold_on_empty = 1

    sleep(expiration)
    bell()

    while True:
        for _ in range(10):
            print("Inspire")
            sleep(inspiration)
            print("Hold")
            bell()
            sleep(hold_on_full)
            print("Expire")
            bell_longer()
            sleep(expiration)
            print("Rest")
            bell()
            sleep(hold_on_empty)
            bell()

        hold_on_full += 1
        hold_on_empty += 0.5
        expiration += 0.25

def bell():
    playsound('bell.mp3')

def bell_longer():
    playsound('bellbass.mp3')

if __name__ == "__main__":
    main()

Thankfully, downgrade to 1.2.2 solved issue.


Timer::add in master process is impossible ? I think it can be

At some situation i need add Timer at master process, but it look like imposible because master have monitorWorkersForLinux  method with pcntl_wait function what will be block master process until worker will not shutdown or master will get somу signal. While it was blocking no one Event library can't run timer...but...
Some Event library has own  pcntl_wait analogs , like Swoole\Coroutine\System::wait in Swoole (https://wiki.swoole.com/#/coroutine/system?id=wait). It will do same things as pcntl_wait but additional Timer can be work in master process
Is it possible change monitorWorkersForLinux  $pid    = \pcntl_wait($status, \WUNTRACED);->static::$globalEvent->wait()  ?  And EventInterface  need be abstract with share method wait by default have pcntl_wait (except Swoole) and return array ['pid'=>$pid, 'signal'=>$status]  (like a Swoole\Coroutine\System::wait  return array's format) or stay like Interface but need have abstract method wait():array (but in this realisation each Event need wait method with pcntl_wait except Swoole)
Because not it impossible change monitorWorkersForLinux  by extends class , because it have private property , additionaly this method have a lot of code, but only need change one line of code
@walkor

Hi webrobot1
Workerman support timer in the master process, and the code is similar to this
$worker = new Worker('http://<IP_ADDRESS>:1234');
// The timer will only run in master process
Timer::add(1, function() {
    echo "hello";
});
Worker::runAll();

take care
The timer of the main process only supports second level.
It is not recommended to initialize database or Redis resource class connections in the main process, as these connection resources may be inherited by child processes, leading to unforeseen problems


replace calls to clojure-env with new api

clojure-env has been deprecated and will be removed. The latest version of tools.deps.alpha has a new method reader/default-deps  that can return the set of deps.edn config files that replicates the logic from clj without shelling out.

Release in v1.8.3, thanks a lot, Alex!


Datagrid page-backwards button jumps around

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior

When looking through a datagrid, it is easy to focus on the data and repeatedly click the "next page" (the right chevron > button) without looking / paying attention to it. I would expect paging backwards to work the same, where the "previous page" (the left chevron < button) stays in the same place so I can just focus on reading the information in the grid.
Actual behavior

The "previous page" button does not stay in a consistent place due to the changing number of elements between the previous / next buttons.

Reproduction of behavior

This is visible in any of the paginated datagrid examples (e.g. the last example) on the datagrid page
https://vmware.github.io/clarity/documentation/datagrid
Environment details

Angular version: 2.0.X

Clarity version:

OS and version:

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

This is actually one of the issues that was raised when we first implemented the Datagrid design. We completely forgot about it, thanks for filing this issue.

Acknowledged. Ramona and I talked about this offline and I asked her to submit the issue. I will take a look at this and give recommendations on what would be a better interaction.

@reddolan : Any recommendation here?

One of two things needs to happen here

address the navigation jiggle with the current design or
redesign the pagination control

I recommend we consider the second one to address some other spacing and interaction issues that have come up.

I agree on that @reddolan

Going to close this one as it will get fixed when we work on #1384


SelectExtended: Fix overflow of text & adornment

Prevents the adornment from overflowing the input in select extended #457

Did you also try this with chips etc.? There are several visual options in select, we don't want to break one while fixing another one

I have not tried it with the other visual options such as chips. I will test it tomorrow.

@mckaragoz I have tested some of the other visualization options, Everything seems to work as expected.
Long text with no wrap
(this is what is fixed by the change)
Before:

After: text & adornment overflow fixed

Chips (still works as expected)

Custom content (still works as expected)

Thanks 🥇


Number box text spinbuttons overlapping fix

Fixes #5983

some problems with Azure Pipelines, need to rerun

some problems with Azure Pipelines, need to rerun

The pipeline run failed due to failing tests:

Please, could you have a look and fix them if possible?:)

Please, could you have a look and fix them if possible?:)
You right, I did not realize that this project was used for automated tests. Will force push only actual fix for the problem, removing modifications to test project

/azp run

Summary of TAEF Warnings:
Warning: TAEF: Forcibly terminating child process (PID: 6340).
Summary of Errors Outside of Tests:
Error: TAEF: [HRESULT 0x800705B4] A test timeout expired while running a test operation: 'ClassInitialize'. (The process hosting the test code was terminated by TAEF while invoking a test operation.)
Summary of Non-passing Tests:
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.WebMessageReceivedTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.ReloadTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.NavigateToStringTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.SourceBindingTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.GoBackAndForwardTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.ResizeTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.BasicPanTouchTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.ScaledTouchTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.MoveTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.ReparentElementTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.SourceBeforeLoadTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.VisibilityHiddenTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.VisibilityTurnedOnTest [Blocked]
Windows.UI.Xaml.Tests.MUXControls.InteractionTests.WebView2Tests.ParentVisibilityHiddenTest [Blocked]

@eugenegff after #5994 and #5993 are checked in, please merge the updated main to fix the test issues we're running into.

done

Issue, that is fixed by this PR

Issue, that is fixed by this PR

Could you please also attach the screenshot with the fix applied?:)

/azp run

With fix, width unlimited, NumberBox grows as needed
With limited width=140, text is clipped but does not overlap buttons

@ranjeshj @StephenLPeters is it expected behavior?

Probably, is there a proposed "better" behavior?

I'm surprised it is clipping from the left, although I think this is the better behavior.  I think this should likely be scrollable though.

I'm surprised it is clipping from the left, although I think this is the better behavior. I think this should likely be scrollable though.

There are scroller inside, it is remains scrolled to the position where it was scrolled on focus lost event

ah, so you can scroll this content to see the 12 that is being clipped in the screenshot?

"Happy path" (unconstrained NumberBox width) with fix

"Happy path" (unconstrained NumberBox width) without fix

Note also, that SpinButtonPlacementMode="Compact" has no such bug

Probably, is there a proposed "better" behavior?

In our app space is premium, so we slightly restyled NumberBox - we set NumberBox::TextWrapping = ::TextWrapping::Wrap. This was done to remove "Clear all" button, but had nice side effect for too large texts

Probably, is there a proposed "better" behavior?

In our app space is premium, so we slightly restyled NumberBox - among other we set NumberBox.InputBox.TextWrapping = TextWrapping::Wrap to remove "Clear all" button, but this had nice side effect for too large texts

That idea still requires non-overlapping TextBox and buttons, i.e. fix from current PR

I do think this makes more sense to me at first glance, @SavoySchuler What do you think?  @eugenegff could you open another issue detailing this as to not block this awesome change?

@StephenLPeters , @beervoley can we speed up things a little bit?

@StephenLPeters , @beervoley can we speed up things a little bit?

Sorry about that! looks good.


Feature/raven db

RavenDb provider

Ravendb as package provider
Ravendb as file storage

Sorry only wanted to check changes


Updated the broken links and Fixed the allignment issue

Description

...
...
...

Related issue(s)

Now it's looking and working perfectly!


Get devices by attribute

Hi.
I was trying to get devices by attribute but I'm having problems to do that.
I have created an attribute as "master" and I want to get all devices with "master" attribute equals "X".
Anyone know how to do this?
I just want to update all slaves devices that with master position if is an specific status.

You have to either pull all the devices, then for each pull the attributes and update as needed.
Unfortunately I do not think you can work with the DB directly as there is a caching layer within the traccar server.
You could be a little more clever by looking at the DB and only seeing new positions then go though those devices updating what you want via the API.
I think another problem is that there is no master API to access all the devices on the system from what ive seen, but I may be incorrect.


Ravello Python SDK sample scripts. They require Python3 and Ravello Python SDK to be installed

I will open a new pull request. Closing this one


Have to double-click 'Show System' checkbox for it to turn off/on

Rancher versions: 5/23
Steps to Reproduce:

Click on the Show System checkbox

Results: Have to click it twice for it to check/uncheck

Version - 5/30
Verified fixed


Browser.SessionStorage Set Item does not accept value with special characters

Describe the bug
Trying to set an item into session storage that is a JSON blob but of type string e.g.
{"json-string":{"key1":"value1","key2":"value2","key3":"value3","key4":"value4",}}
But I get the following error:
Error: page.evaluate: SyntaxError: missing ) after argument list
    at eval (<anonymous>)
    at UtilityScript.evaluate (<anonymous>:178:30)
    at UtilityScript.<anonymous> (<anonymous>:1:44)

However when i add the string test-text it works as expected
To Reproduce
Steps to reproduce the behavior:
This is the code I am currently using to remove and replace the sessionstorage key named policyholder.
    SessionStorage Remove Item    policyholder
    SessionStorage Get Item    policyholder  == ${NONE}
    ***Code to format the JSON string to be set***
    SessionStorage Set Item    policyholder    ({"test-text"}:test-text)

Go to any website
Attempt to set sessionStorage item the the above JSON string

Expected behavior
The string, with special characters should be added as a value for the session storage item
Desktop (please complete the following information):

OS: Windows
Browser: Chrome
Version: 104
(Above is ran on BrowserStack)

Additional context
Browser Library - 13.1.0

The ({"test-text"}:test-text) is not valid json and I would assume that failure is caused by this reason. In practice keyword is really simple, we execute JavaScript: window.sessionStorage.setItem("{key}", "{value}"), where {key} and {value} are replaced with keyword arguments. You can execute same thing from browser console, example Firefox and try how you should format the command correctly.
But because everything should work correctly from library point of view, I am going to close the issue.


about the loss_G in v3.8 model

hello , in the file RIFE_HDv3.py, “loss_G = loss_cons + loss_smooth * 0.1”
do you only use these two loss for flowmap  to train the model， no loss_l1 or loss_vgg? and What is the weight between them？

Hi, the code of RIFE_HDv3.py has not been verified, please use RIFE.py as a reference.


Fix a bunch of register-machine wasmi translation bugs

Many of them found via fuzzing and some reconstructed based on the found fuzz test cases.
This PR also includes some refactorings and clean ups made along the way as well as regression test cases for all the fixed bugs.


ARROW-9043: [Go] Temporarily copy LICENSE.txt to go/

See #7351. Once go mod can follow symlinks this should be replaced by a symlink.

Ouch, this is annoying.

Hm maybe this was merged too quickly. It sounds like we can avoid the copied license and instead rename the root LICENSE.txt to LICENSE. Can you help with this? Many packaging scripts will need to be updated

I saw that renaming the top level license could work, but wasn't entirely clear from the comments. Merged because this should work until we try out the renaming. Created a jira to track this https://issues.apache.org/jira/browse/ARROW-9044

Sorry to be a pain, folks. But the LICENSE file needs to be at the go module root, which is go/arrow.


Reduced minimum version

Reduced iOS version to iOS 13

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Nick Kibysh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Schedule of releasing BIG-Bench Instruction Induction (BBII)?

Hi, 😀, thanks for open-sourcing! I noticed the BBII was introduced in the openreivew version. I wonder if there is any schedule for releasing BIG-Bench Instruction Induction (BBII)?
Thanks in advance.

Sorry about the wait. We've added BIG-Bench Instruction Induction here: https://github.com/keirp/automatic_prompt_engineer/tree/main/data/bigbench-ii

Hi, it seems there is no instructions or scripts for running the BigBench experiments. There are only some raw data under the directory https://github.com/keirp/automatic_prompt_engineer/tree/main/data/bigbench-ii. May I ask how could we run the experiments on BigBench?


spark Panel not being recognized as an ILayoutParent

I'm seeing this stack trace when clicking on the OpenButton.
LayoutBase.js:241 Uncaught TypeError: Cannot read property 'getLayoutHost' of null
at spark.layouts.supportClasses.SparkLayoutBead.org.apache.royale.core.LayoutBase.performLayout (LayoutBase.js:241)
at spark.layouts.supportClasses.SparkLayoutBead.org.apache.royale.core.LayoutBase.handleInitComplete (LayoutBase.js:167)
at spark.components.Panel.org.apache.royale.events.EventDispatcher.fireListeners (EventDispatcher.js:97)
at Function.goog.events.EventTarget.dispatchEventInternal_ (eventtarget.js:381)
at spark.components.Panel.org.apache.royale.events.EventDispatcher.dispatchEvent (EventDispatcher.js:72)
at spark.components.Panel.org.apache.royale.core.ElementWrapper.dispatchEvent (ElementWrapper.js:229)
at spark.components.Panel.spark.components.SkinnableContainer.addedToParent (SkinnableContainer.js:138)
at mx.containers.beads.PanelInternalContainer.org.apache.royale.core.UIBase.addElement (UIBase.js:397)
at mx.containers.beads.PanelInternalContainer.mx.core.UIComponent.addElement (UIComponent.js:2424)
at mx.containers.beads.PanelInternalContainer.mx.core.Container.addElement (Container.js:301)
Originally posted by @yishayw in https://github.com/apache/royale-asjs/issues/1140#issuecomment-886236424

That's surprising because Panel.as extends SkinnableContainer
and
public class SkinnableContainer extends SkinnableContainerBase implements IContainer, IContainerBaseStrandChildrenHost, ILayoutParent
When debugging Language.is() I'm seeing leftOperand.constructor.superClass_  evaluate as an spark.components.supportClasses.SkinnableContainerBase (not a SkinnableContainer) I don't know if this is right.

That's another issue I only need blur background nothing else

The exception (assuming all source is up-to-date) was caught by my change in PR #1129 that was done to catch things like this on purpose.  The question is, what is the host in your performLayout()?
Note that on develop, SkinnableContainer is an ILayoutParent.  In PR #1135, I moved ILayoutParent to SkinnableContainerBase.
Also, I'm not getting any exception with develop + PR #1135 when I click on the button.

@estanglerbm PR #1135 looks great, but I don't have time to review it right now. The host is a spark panel. For now  (as I need to move on to other bugs) I think I'll explicitly mark Panel as an ILayoutParent implementer. We can analyze why Panel which extends SkinnableContainer isn't detected to implicitly be one later.

This was an issue in my local environment. Sorry for the noise.


add option in contentful to have roles based menu items

fixed in menu branch https://github.com/gbif/portal16/commit/c8d21c823b66b0c016120d38709fe4424afff207


remove dependency on governator-servlet

NetflixOSS » karyon » karyon-pull-requests #96 SUCCESS
This pull request looks good


Add sbt-phantomjs to the community plugin list

sbt-phantomjs is an automated installer and configurator for PhantomJS

Thanks


Reel in tech spread!

A list of some conventions that we have that we should follow and retrospectively bring old ways into the new ways:

/common/model is used for domain modelling, not UI modelling.
...

@wellcometrust/experience-dev do you want to add anything to this and bring it into Q4 as a team goal?


fix staticcheck errors and run gofmt

Fix shadowed variables reported by staticcheck
Use os.MkTempDirs instead of the deprecated ioutil.TempDir
Un-name some unused variables
301 -> http.StatusMovedPermanently
remove unreachable code
simplify some boolean returns
change some switches to switch on the character when possible

If you want me to remove these switch changes for stylistic reasons, I'm totally open to that. I think they read better this way, but they don't exactly rhyme now, and future changes might require undoing switching on the character

gofmt

Before:
$ staticcheck . ./_runtime
_runtime/pushup_support.go:87:5: error var NotFound should have name of the form ErrFoo (ST1012)
_runtime/pushup_support.go:97:46: should use constant http.StatusMovedPermanently instead of numeric literal 301 (ST1013)
_runtime/pushup_support.go:180:6: func getParam is unused (U1000)
_runtime/pushup_support.go:189:5: var layouts is unused (U1000)
_runtime/pushup_support.go:191:6: func getLayout is unused (U1000)
_runtime/pushup_support.go:202:6: type nilLayout is unused (U1000)
_runtime/pushup_support.go:204:21: func (*nilLayout).Respond is unused (U1000)
_runtime/pushup_support.go:230:6: func printEscaped is unused (U1000)
_runtime/pushup_support.go:296:3: should use 'return route.path != mainRoute' instead of 'if route.path == mainRoute { return false }; return true' (S1008)
_runtime/pushup_support.go:314:3: should use 'return matchURLPathSegmentPrefix(match.route.regex, requestPath)' instead of 'if matchURLPathSegmentPrefix(match.route.regex, requestPath) { return true }; return false' (S1008)
_runtime/pushup_support.go:386:2: should use 'return len(segments) <= len(reSegments)' instead of 'if len(segments) > len(reSegments) { return false }; return true' (S1008)
main.go:17:2: \"io/ioutil\" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.  (SA1019)
main.go:566:24: func (*projectFiles).debug is unused (U1000)
main.go:843:3: this value of err is never used (SA4006)
main.go:850:3: this value of err is never used (SA4006)
main.go:871:2: should merge variable declaration with assignment on next line (S1021)
main.go:3683:22: func (*codeParser).offset is unused (U1000)
$ go vet . ./_runtime
# github.com/adhocteam/pushup/_runtime
_runtime/pushup_support.go:117:2: unreachable code

After:
$ staticcheck . ./_runtime
_runtime/pushup_support.go:87:5: error var NotFound should have name of the form ErrFoo (ST1012)
_runtime/pushup_support.go:179:6: func getParam is unused (U1000)
_runtime/pushup_support.go:188:5: var layouts is unused (U1000)
_runtime/pushup_support.go:190:6: func getLayout is unused (U1000)
_runtime/pushup_support.go:201:6: type nilLayout is unused (U1000)
_runtime/pushup_support.go:203:21: func (*nilLayout).Respond is unused (U1000)
_runtime/pushup_support.go:229:6: func printEscaped is unused (U1000)
main.go:565:24: func (*projectFiles).debug is unused (U1000)
main.go:3687:22: func (*codeParser).offset is unused (U1000)
$ go vet . ./_runtime

obviously runtime functions being unused is not an issue
I didn't want to rename NotFound without putting it in front of you first
I thought maybe you wanted to keep the unused functions in main.go around for future use
In the future, we may want to add checks like these to CI

Running staticcheck on _runtime is a bit weird because it's sort of an incomplete templatized package. We should do it, and try to address issues that are not related to integrating it with generated Pushup code, but not block CI on it.


SYCL support

Hi @leejet
Following SYCL backend in GGML we plan to contribute native SYCL support to stable-diffusion.cpp. Want some inputs from you.
Possible Implementation

update GGML to the latest with SYCL support
add similar SYCL option like CUDA
update according to the community request.

I notices in the recent SD3 support, the submodule GGML has been dispatched to a fork, will you maintain a fork you GGML yourselves?
cc @zhentaoyu @luoyu-intel @hshen14

I notices in the recent SD3 support, the submodule GGML has been dispatched to a fork, will you maintain a fork you GGML yourselves?

Since the t5 layer norm, which sd3 depends on, is not yet supported by ggml, I created a separate branch to support it. I will submit my changes to the upstream via a PR.

PR: https://github.com/ggerganov/ggml/pull/900

ggml submodule of sd.cpp is now ggerganov/ggml.


txnbuild: add helpers to obtain Claimable Balance IDs

CAP 23 (as part of Stellar Protocol 14 and released with Horizon 1.9.0) , allows creating and claiming Claimable Balances.
Those balances are queried and claimed using their ID which can be obtained:

Before submitting the transaction creating the claim. The Claim ID is internally just a Hash which can be inferred even before Core accepts the transaction. A helper method/function would be useful in order to obtain this.
After the transaction creating the claim is submitted (i.e. in the transaction result). However, the claimable ID is pretty buried withing the result XDR, making it hard to obtain through the raw API result. A helper would come in handy.

(1) is already addressed by #3122 , (2) still needs to be implemented

Are we sure that (2) is something we need/want?

The creator of the claimable balance entry (CB) can use (1).
The recipient of the CB must've been either notified

directly, e.g. creator sends him the tx, in which case he can also send the balance ID, or
indirectly, e.g. by polling /claimable_balances?sponsor=[me], in which case the balance ID is directly available in the JSON response

The only scenario that I can think of for (2) is if the recipient is polling /transactions?from=[sponsor], in which case they can literally only see the transaction result XDR, but that just seems.. convoluted.

I think (2) is a good quality of life feature to have.
To your point @Shaptic, yes it will be kinda redundant if the creator of the CB entry uses (1).
However it is highly plausible that creator doesn't calculate claimable balance ID and send it back directly to the recipient; thus leaving the recipient only the indirect path.
The indirect path ( polling /claimable_balances?sponsor=[__]) is tedious when you when the length of the JSON response is greater than 1 entry.
(2) will ensure that the recipient can obtain the balance ID from the transaction result with ease without relying on the the sender (from any SDK) to forward the balanceID.

indirect path is tedious

This can easily be alleviated with more filters! For example,
GET /claimable_balances?claimant=[...me...]&order=desc&limit=1

would always give you the latest claimable balance entry available to you (if any, of course).

The main reason why I brought this up for discussion is that as I was implementing the helper, I realized it was basically the only such helper that we had. That felt strange to me, given that there are plenty of other instances in which it'd be useful to parse things out of the TransactionResult, so I had to consider why that's the case.
I do still completely agree that this is a beneficial QoL change; I was just a little quizzical about this being the first time we added a helper like this. Anyway, take a look at #3166 and see if you think it's a good API design!


Select widget not displaying options

The issue is that the select widget isn't displaying options — this is happening on a website I'm working on but also on the demo here:
https://cms-demo.netlify.com/#/collections/kitchenSink/entries/a-big-entry-with-all-the-things
It has been working fine but suddenly stopped — I've double checked the admin config.yml numerous times and it is valid YAML.
The issue is in multiple browsers.
netlify-cms-app 2.10.0
netlify-cms-core 2.13.0
netlify-cms 2.10.0
Git provider: Github
OS: Mac
Browser version: Chrome Version 79.0.3945.79 (Official Build) (64-bit)
CMS configuration

# Everything you need to know about configuring the CMS can be found here:-
# https://www.netlifycms.org/docs/configuration-options/

backend:
  name: git-gateway # Netlify’s Git Gateway connects to Git provider’s API
  branch: master # Branch to update (master by default)

media_folder: "assets/uploads" # Folder where user uploaded files should go

collections: # A list of collections the CMS should be able to edit
  # POSTS
  # - name: "members" # Used in routes, ie.: /admin/collections/:slug/edit
  #   identifier_field: member_name
  #   label: "Member" # Used in the UI, ie.: "New Post"
  #   folder: "_members" # The path to the folder where the documents are stored
  #   sort: "title:asc" # Default is title:asc
  #   create: true # Allow users to create new documents in this collection
  #   fields: # The fields each document in this collection have
  #   - { label: "Name", name: "member_name", widget: "string" }
  #   - { label: "Description", name: "member_desc", widget: "text" }
  #   - { label: "Website", name: "member_web", widget: "string", required: false }
  - name: "projects" # Used in routes, ie.: /admin/collections/:slug/edit
    label: "Project" # Used in the UI, ie.: "New Post"
    folder: "_projects" # The path to the folder where the documents are stored
    sort: "title:asc" # Default is title:asc
    create: true # Allow users to create new documents in this collection
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    editor:
      preview: false
    fields: # The fields each document in this collection have
      - { label: "Layout", name: "layout", widget: "hidden", default: "project" }
      - { label: "Featured Image", name: "featured_image", widget: "image" }
      - { label: "Title", name: "title", widget: "string" }
      - { label: "Client", name: "client", widget: "string" }
      - { label: "Collaborators", name: "collaborators", widget: "list", required: false }
      - label: "Categories"
        name: "categories"
        widget: "select"
        multiple: true
        required: false
        options:
          - { label: "Publication", value: "Publication" }
          - { label: "Brand", value: "Brand" }
          - { label: "Illustration", value: "Illustration" }
          - { label: "Type", value: "Type" }
          - { label: "Website", value: "Website" }
          - { label: "Exhibition", value: "Exhibition" }
          - { label: "Record", value: "Record" }
          - { label: "Promotion", value: "Promotion" }
      - label: "Key Words"
        name: "tags"
        widget: "select"
        multiple: true
        required: false
        options:
          - { label: "Artist", value: "Artist" }
          - { label: "Authorial", value: "Authorial" }
          - { label: "Book Cover", value: "Book Cover" }
          - { label: "Community", value: "Community" }
          - { label: "Contemporary Art", value: "Contemporary Art" }
          - { label: "Craft", value: "Craft" }
          - { label: "Creative Writing", value: "Creative Writing" }
          - { label: "Design", value: "Design" }
          - { label: "Documentary", value: "Documentary" }
          - { label: "Education", value: "Education" }
          - { label: "Environment", value: "Environment" }
          - { label: "Event", value: "Event" }
          - { label: "Exhibition", value: "Exhibition" }
          - { label: "Festival", value: "Festival" }
          - { label: "Food", value: "Food" }
          - { label: "Food & Drink", value: "Food & Drink" }
          - { label: "Football", value: "Football" }
          - { label: "Gum", value: "Gum" }
          - { label: "Health", value: "Health" }
          - { label: "History", value: "History" }
          - { label: "Journal", value: "Journal" }
          - { label: "Lead", value: "Lead" }
          - { label: "Music", value: "Music" }
          - { label: "Packaging", value: "Packaging" }
          - { label: "Performance", value: "Performance" }
          - { label: "Photography", value: "Photography" }
          - { label: "Play", value: "Play" }
          - { label: "Research", value: "Research" }
          - { label: "Residency", value: "Residency" }
          - { label: "Screenprint", value: "Screenprint" }
          - { label: "Sheffield", value: "Sheffield" }
          - { label: "Theatre", value: "Theatre" }
          - { label: "Venue", value: "Venue" }
          - { label: "Writing", value: "Writing" }
      - label: "Year"
        name: "year"
        widget: "select"
        multiple: false
        required: false
        options:
          - { label: "1999", value: "1999" }
          - { label: "2000", value: "2000" }
          - { label: "2001", value: "2001" }
          - { label: "2002", value: "2002" }
          - { label: "2003", value: "2003" }
          - { label: "2004", value: "2004" }
          - { label: "2005", value: "2005" }
          - { label: "2006", value: "2006" }
          - { label: "2007", value: "2007" }
          - { label: "2008", value: "2008" }
          - { label: "2009", value: "2009" }
          - { label: "2010", value: "2010" }
          - { label: "2011", value: "2011" }
          - { label: "2012", value: "2012" }
          - { label: "2013", value: "2013" }
          - { label: "2014", value: "2014" }
          - { label: "2015", value: "2015" }
          - { label: "2016", value: "2016" }
          - { label: "2017", value: "2017" }
          - { label: "2018", value: "2018" }
          - { label: "2019", value: "2019" }
          - { label: "2020", value: "2020" }
      - label: "Year End"
        name: "year_end"
        widget: "select"
        multiple: false
        required: false
        options:
          - { label: "1999", value: "1999" }
          - { label: "2000", value: "2000" }
          - { label: "2001", value: "2001" }
          - { label: "2002", value: "2002" }
          - { label: "2003", value: "2003" }
          - { label: "2004", value: "2004" }
          - { label: "2005", value: "2005" }
          - { label: "2006", value: "2006" }
          - { label: "2007", value: "2007" }
          - { label: "2008", value: "2008" }
          - { label: "2009", value: "2009" }
          - { label: "2010", value: "2010" }
          - { label: "2011", value: "2011" }
          - { label: "2012", value: "2012" }
          - { label: "2013", value: "2013" }
          - { label: "2014", value: "2014" }
          - { label: "2015", value: "2015" }
          - { label: "2016", value: "2016" }
          - { label: "2017", value: "2017" }
          - { label: "2018", value: "2018" }
          - { label: "2019", value: "2019" }
          - { label: "2020", value: "2020" }
          - { label: "Onwards", value: "Onwards" }
      - { label: "Description", name: "description", widget: "markdown", required: false }
      - label: "Images"
        name: "images"
        widget: "list"
        types:
        - label: "Full Width Image"
          name: "full_width_image"
          widget: object
          fields:
            - label: "Full Width Image"
              name: "full_image"
              widget: image
              media_library:
                config:
                  multiple: false
        - label: "Two Image Row"
          name: "two_image_row"
          widget: object
          fields:
            - label: "Left Image"
              name: "left_image"
              widget: image
              required: false
              media_library:
                config:
                  multiple: false
            - label: "Right Image"
              name: "right_image"
              widget: image
              required: false
              media_library:
                config:
                  multiple: false

    # PAGES
  - name: "home"
    identifier_field: name
    label: "Home"
    folder: "home"
    sort: "title:asc"
    create: false
    slug: "{{slug}}"
    editor:
      preview: false
    fields:
      - {label: "Layout", name: "layout", widget: "hidden", default: "home"}
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Permalink", name: "permalink", widget: "hidden"}
      - {label: "Section", name: "section", widget: "hidden", default: "{{name}}"}
      - {label: "Writing", name: "home_writing", widget: "markdown", required: true}
  - name: "credits"
    identifier_field: name
    label: "Credits"
    folder: "credits"
    sort: "title:asc"
    create: false
    slug: "{{slug}}"
    editor:
      preview: false
    fields:
      - {label: "Layout", name: "layout", widget: "hidden", default: "credits"}
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Permalink", name: "permalink", widget: "hidden"}
      - {label: "Section", name: "section", widget: "hidden", default: "{{name}}"}
      - {label: "Writing", name: "credits_writing", widget: "markdown", required: true}
      - label: "Studio Members"
        name: "studio_members"
        label_singular: "Member"
        widget: "list"
        fields:
          - {label: "Name", name: "member_name", widget: "string", default: "Mitch"}
          - {label: "Description", name: "member_desc", widget: "text" }
          - {label: "Website", name: "member_web", widget: "string", default: "http://marston.com"}

same issue with select widget and relation widget it does'nt show options anymore !!!!!!!

Can a release be tagged for this? It's causing some issues with production sites for me.

Still having the same issue  select widget and relation widget it doesn't show options anymore !!!!!!!

I would also like some sort of way to fix this on production sites that were working via the 2.1 netlify cms that is running most of my sites right now. Anyone figure out how to do that?
Thanks

This didn’t get released properly, looking into it.
Sent with GitHawk

Fixed in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>


[Host.AsyncAPI] NET8 / NSwag and Saunter issue

See the related for more details
https://github.com/m-wild/saunter/issues/179
Currently, we cannot get it to work with NET 8

See the related fix https://github.com/m-wild/saunter/pull/182

Saunter lib was updated. There will be a new SMB release next week.


Change MenuView position

Good day!
I need to implement one interesting behaviour but I can't figure out how to do it with help of PagingMenuController.
I have a simple layout: PagingMenuController that containing several UICollectionViews inside PagingViewController. I need to move a MenuView out of bounds when user scrolls down any of collection views.
I found that a MenuView have autolayout's constraints related to PagingMenuController's view. It means that I can't move a MenuView directly.
Have you any suggestions how can I implement that kind of stuff?
Thank you in advance!

I'll provide a bool property that enables to show/hide menu view with animation.

Awesome library. Please update this feature to show/hide menu view with animation.


libdvdnav: 5.0.3 -> 6.0.0

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 6.0.0 with grep in /nix/store/9hclm5126babak424wlc0bflzp5w8wxg-libdvdnav-6.0.0
directory tree listing: https://gist.github.com/ac1677320d622ed0b03422144cbbc5e4

cc @wmertens for review

Success on x86_64-linux (full log)
Attempted: libdvdnav
Partial log (click to expand)
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 src/dvdnav/dvdnav.h src/dvdnav/dvdnav_events.h src/dvdnav/dvd_types.h '/nix/store/9hclm5126babak424wlc0bflzp5w8wxg-libdvdnav-6.0.0/include/dvdnav'
make[1]: Leaving directory '/build/libdvdnav-6.0.0'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9hclm5126babak424wlc0bflzp5w8wxg-libdvdnav-6.0.0
shrinking /nix/store/9hclm5126babak424wlc0bflzp5w8wxg-libdvdnav-6.0.0/lib/libdvdnav.so.4.2.0
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/9hclm5126babak424wlc0bflzp5w8wxg-libdvdnav-6.0.0/lib
patching script interpreter paths in /nix/store/9hclm5126babak424wlc0bflzp5w8wxg-libdvdnav-6.0.0
checking for references to /build in /nix/store/9hclm5126babak424wlc0bflzp5w8wxg-libdvdnav-6.0.0...
/nix/store/9hclm5126babak424wlc0bflzp5w8wxg-libdvdnav-6.0.0

Success on aarch64-linux (full log)
Attempted: libdvdnav
Partial log (click to expand)
 /nix/store/c8bwnx988ckbw2igggv41s1mbd0v743m-coreutils-8.29/bin/install -c -m 644 src/dvdnav/dvdnav.h src/dvdnav/dvdnav_events.h src/dvdnav/dvd_types.h '/nix/store/bqwpdv8f1gbidyhybyyg8vk49lk0pzzr-libdvdnav-6.0.0/include/dvdnav'
make[1]: Leaving directory '/build/libdvdnav-6.0.0'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bqwpdv8f1gbidyhybyyg8vk49lk0pzzr-libdvdnav-6.0.0
shrinking /nix/store/bqwpdv8f1gbidyhybyyg8vk49lk0pzzr-libdvdnav-6.0.0/lib/libdvdnav.so.4.2.0
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/bqwpdv8f1gbidyhybyyg8vk49lk0pzzr-libdvdnav-6.0.0/lib
patching script interpreter paths in /nix/store/bqwpdv8f1gbidyhybyyg8vk49lk0pzzr-libdvdnav-6.0.0
checking for references to /build in /nix/store/bqwpdv8f1gbidyhybyyg8vk49lk0pzzr-libdvdnav-6.0.0...
/nix/store/bqwpdv8f1gbidyhybyyg8vk49lk0pzzr-libdvdnav-6.0.0

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: libdvdnav
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Closing this in favor of #37662 which will get this patch


Add pranjal779

Related issue

What changes does this PR do?
adding my Name and my Github Profile link in the README.md file in Alphabetical order.
Screenshots (If any)

Questions

All checks passed but the update is not reflected?

You do not need to include a screenshot for these kind of changes because your change can also be seen in the 'Files changed' tab.

You do not need to include a screenshot for these kind of changes because your change can also be seen in the 'Files changed' tab.

Thank you

You do not need to include a screenshot for these kind of changes because your change can also be seen in the 'Files changed' tab.

but my name has not been added?


Expression level rewriting

This PR is meant to create a back-and-forth between ACSets, which excel at information propagation (typing, overloading, etc.) and Symbolics, which excel at expression rewriting (open_operators, optimizations, etc.).
This should remove the need for our graph rewriting functions and make the workflow to add new rewrites into the system much more faster/cleaner.

When roundtripping to the SummationDecapode is complete, it would be good to test that the results in test/openoperators.jl give the same results up to renaming etc

I've rebased this branch to work off of PR #64 since the code here will be used for the rewriting using only Sort.

@lukem12345 We wanted to remove this check since it lead to a lot of special code to handle the final ACSet generation. I've removed it in commit https://github.com/AlgebraicJulia/DiagrammaticEquations.jl/pull/69/commits/5b84cc8a93097832e2a0fa492bba913f17904bba and added the appropriate tests to ensure it's proper functionality.


Compiler Errors v2

[ ] https://github.com/demergent-labs/azle/issues/737

azle_functions_and_methods/mod.rs has some errors that don't use the ErrorMessages so they could be more helpful than they presently are. I'm thinking if we could add a trait restraint with a trait that lets us access the source map that would do the trick.

This ticket was the Epic level ticket before we adopted ZenHub. As such I'm closing this out in favor of using the 🄴 Errors Infrastructure ZenHub epic.
With regards to Ben's comment above, the file "azle_functions_and_methods/mod.rs" is no longer present in the codebase. However, any place that doesn't use the ErrorMessage struct will likely need to be reworked to have a nice annotated snippet included with it. That is work that will take place in the 🄴 Very Very Nice Error Messages epic.


feat: adds callback call when connection ends

I want to add logging to the Coder Agent when ssh connections disconnect, including the reason for disconnection.  c.f. https://github.com/coder/coder/issues/7961
Currently, our ssh library doesn't expose or log this information, as it only calls the ConnectionFailedCallback if the connection fails during the initial SSH handshake, not if it fails later.
This PR makes it so that if the initial ssh handshake succeeds, then we start a goroutine that waits for the connection to end, and calls the callback.  We already log calls to this callback in our server code, but in a separate PR we might want to adjust so that we only log at Info or Debug for "expected" disconnection errors like EOF.

Is there a reason we wouldn't want to handle this in agentssh instead? (E.g. get sshConn via ContextKeyConn).

I do want to handle the logging in agentssh, but there are currently no callbacks at the scope I need.  I want to log the connection lifetime & errors, so doing it in a session handler is the wrong scope: a connection could have 0, 1, or several sessions, so we can't easily arrange to log exactly once.  There is a "connection" callback, but that has a net.Conn and what I want is the ssh.Conn (net.Conn doesn't have any method to wait for close, nor would it expose the error from the SSH layer).

Or perhaps ultimately, a new kind of callback named ConnectionErrorCallback could be added.

As I have spent some time recently diving in coder/ssh, I would recommend researching that approach.

I like this idea.  I'll refactor to introduce a new callback.

I went with ConnectionCompleteCallback since "error" sounds like something that gets called for abnormal termination, but I want this to get called for every connection.


Fix deadlock, logging and message handling

Changes

Fixes a deadlock due to <-forever blocking returning from the handler (delays graceful pod shutdown)
Standardize logging
Gracefully close msg channel and drain messages
Simplify code structure in some places
Handle all errors

Signed-off-by: Michael Gasch<EMAIL_ADDRESS>
/kind bug

Fixes #170

Release Note

Docs

Awesome, would you mind running:
./hack/update-codegen.sh

Already on it, sorry (also fixed the misspell)

/lgtm
/approve
Thanks!!


in-percy: unspecified babel dependency

I am getting:
ERROR in 'babel-runtime/helpers/typeof' is imported by<EMAIL_ADDRESS>but could not be resolved – treating it as an external dependency

with the latest in-percy 0.1.5.
When looking at the lib folder I see:
var _typeof2 = require('babel-runtime/helpers/typeof');

var _typeof3 = _interopRequireDefault(_typeof2);

Ideally I think we wouldn't even need this, but if we do, babel-runtime has to become a dependency.

@joscha Thanks for bringing this to our attention.  We'll discuss a few options and publish an update.  I agree, having babel-runtime be a dependency here doesn't sound appropriate.

@joscha I've just shipped 0.1.6 which now has a correctly configured dependency on 'babel-runtime'.  Percy-storybook also has dependency on it (now correctly specified).
We may consider moving in-percy out of this repo and removing the babel-runtime requirement in the future - and could do it more urgently if it's causing you issues.
Can you let me know via email if you're using in-percy outside of percy-storybook?  I'm curious to learn how you became aware of this problem.

Hi Tim,
That's unfortunate as babel-runtime shouldn't be needed - it's a
three-liner with a typeof window that should work in IE8 even. I will
need to check but that might actually render it useless for us so o have to
change the setup. The reason we use it outside storybook is that we have
shared code for Visreg detection in both storybook and our other pages that
we test with capybara - this is more due to the fact of laziness though
because three lines of code didn't warrant splitting that code up. With
babel-runtime in the game I will revisit.
Cheers,
Joscha
On 6 Sep. 2017 08:19, "Tim Haines"<EMAIL_ADDRESS>wrote:

@joscha https://github.com/joscha I've just shipped 0.1.6 which now has
a correctly configured dependency on 'babel-runtime'. Percy-storybook also
has dependency on it (now correctly specified).
We may consider moving in-percy out of this repo and removing the
babel-runtime requirement in the future - and could do it more urgently if
it's causing you issues.
Can you let me know via email if you're using in-percy outside of
percy-storybook? I'm curious to learn how you became aware of this problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/percy/react-percy/issues/68#issuecomment-327319852,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALehvTX_1MQVHg9-uf0l6OC3bpCEE1gks5sfcjzgaJpZM4PMaU3
.

Hey Joscha,  Oh, okay.  Now I know how it's causing problems, give me a day or two and I'll prioritize splitting the package out to it own repo and removing babel-runtime.  I'll let you know once I have.

@joscha in-percy 0.1.7 has been published - it no longer uses babel.

Awesome :tada:, thanks a lot!


Update README.md

Add instruction for Fedora. Tested on Fedora 30. Had to install libXrandr-devel.

If that library is always required, why not add it to the other sudo dnf ... command?

@ataulien I'm not sure if it's always required, was on my box.
Might do some testing later on on my Centos server we'll see if it builds there without it.

Looks good, thanks for the PR!


Python CDK is really Typescript

Unless I'm missing something the instructions seem quite confusing. In the master readme references a Python CDK language option and I see there's a python-cdk branch as well however the instructions in that branch are using the typescript cdk, verified by both this readme and the code.
Is there really a version of this app that uses the python cdk?

Hi @alanwill, you're right, the python-cdk branch uses the Typescript CDK, Python refers to the language used for the web application. We are working on a version of the workshop that uses the Python CDK as well, will keep you posted.

@dstroppa thanks. I thought the python branch was the one with the python language used for the web app and that python-cdk was referring to the actual Python CDK.
Anyway, looking forward to new version, hope it's sooner rather than later. I'm really just looking for more sophisticated and complete app examples of the Python CDK

Maybe this repo could be of some help
Revisited Modern Application Workshop using Python CDK stacks


Update the InkBin File Structure wiki page

It's missing the byteorder marker and the BIN version in the header. I'd update it myself, but editing appears to have been turned off.

Thanks for spotting it
I will update it the next time I sit on the project.
Btw did you leave a comment somewhere?
I'm quite curious but the GitHub UI does not show me an messages just a notification.

And how do you allow editing the wiki? I never deactivated it with intend.

should be in settings->general->features


Can't install from MSI or EXE (Warning 1909 & error code 2902)

ℹ Computer information

PowerToys version: Experimental v0.22.0 & v0.21.1
Running PowerToys as Admin: Tried both
Windows build number: 2004 (OS Build 19041.450) - Windows 10 Pro N (I think the N may be the issue)

📷 Screenshots

The "N" makes only that the media Player isn't available. I don't think it affects PT.

I've had issues with installing Visual Studio that I didn't have with standard windows before so I wouldn't be surprised if this somehow is affected.

We could get more info once #7301 is in.

I've since done a clean install and I'm no longer having the issue. May be worth leaving open anyway?

sure, thanks for the follow up!

I'm seeing the this error during install as well.  This is a clean install (I've never installed PowerToys previously).

PowerToys version: v0.25.0
Running PowerToys as Admin: Tried both
Windows build number: 2004 (OS Build 19041.572)

@blazeroni
are you also seeing this problem with 0.27.1? https://github.com/microsoft/PowerToys/releases/download/v0.27.1/PowerToysSetup-0.27.1-x64.exe

@enricogior
Actually, I ended up resetting my Windows installation due to file corruption issues.  v0.25.0 installed fine after that.


organizeimports drops default import

System information

OS: Windows
TypeScript Hero version: 1.1.0
VSCode version: 1.13.1

Description
If I have an import with mixed default and named imports:
import DynamicHTMLContent, { DynamicTrustedHTMLContent } from './content/html';

And I organize imports, I get:
import { DynamicTrustedHTMLContent } from './content/html';

oh.. actually that's a total new syntax 😄
When you use the following syntax it should work:
import { default as DynamicHTMLContent, DynamicTrustedHTMLContent } from './content/html';
Did not know that there are other ways to do this. I think my parser does not recognize the syntax.

@buehler which parser are you using? Certainly TS supports it. fwiw this syntax was included in ES2015.

I use the typescript compiler to create an AST. but this ast reads like hell, so I made my own strategy. It's possible that those things are not up to date. I need to implement that :)

haha, this happens to me too.