2.3.3 build fails on Fedora

     Running `/usr/bin/rustc --crate-name dua --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 --test -C metadata=0ead1ce69f69bace -C extra-filename=-0ead1ce69f69bace --out-dir /builddir/build/BUILD/dua-cli-2.3.3/target/release/deps -L dependency=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps --extern atty=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libatty-7ab650f33e255e65.rlib --extern byte_unit=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libbyte_unit-42624cc2036cae21.rlib --extern failure=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libfailure-54e08db737ce28f0.rlib --extern failure_tools=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libfailure_tools-ab5bfbd7d01c5737.rlib --extern filesize=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libfilesize-e5eca7b6ec84907b.rlib --extern itertools=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libitertools-a6ecbcf4956e2494.rlib --extern jwalk=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libjwalk-33125c89b6c104b4.rlib --extern log=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/liblog-c2673a3a8764d8d2.rlib --extern num_cpus=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libnum_cpus-540330b3b6fd3719.rlib --extern open=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libopen-99a9b03245640124.rlib --extern petgraph=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libpetgraph-2b4870a46b520600.rlib --extern pretty_assertions=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libpretty_assertions-e03e860cdfe699c4.rlib --extern structopt=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libstructopt-953ea39fa9ebfd19.rlib --extern termion=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libtermion-8fdc6d3b98684c34.rlib --extern tui=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libtui-0c3680176c266e4e.rlib --extern tui_react=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libtui_react-6211bea35766d921.rlib --extern unicode_segmentation=/builddir/build/BUILD/dua-cli-2.3.3/target/release/deps/libunicode_segmentation-9fede8a1cd057827.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn -L native=/builddir/build/BUILD/dua-cli-2.3.3/target/release/build/backtrace-sys-65450aba3fc6d909/out`
error[E0308]: mismatched types
  --> src/interactive/app_test/journeys_readonly.rs:50:28
   |
50 |         app.process_events(&mut terminal, b"s".keys())?;
   |                            ^^^^^^^^^^^^^
   |                            |
   |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
   |                            help: consider removing the borrow: `terminal`
   |
   = note:         expected struct `tui_react::terminal::Terminal<_>`
           found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
  --> src/interactive/app_test/journeys_readonly.rs:62:28
   |
62 |         app.process_events(&mut terminal, b"s".keys())?;
   |                            ^^^^^^^^^^^^^
   |                            |
   |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
   |                            help: consider removing the borrow: `terminal`
   |
   = note:         expected struct `tui_react::terminal::Terminal<_>`
           found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
  --> src/interactive/app_test/journeys_readonly.rs:78:28
   |
78 |         app.process_events(&mut terminal, b"j".keys())?;
   |                            ^^^^^^^^^^^^^
   |                            |
   |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
   |                            help: consider removing the borrow: `terminal`
   |
   = note:         expected struct `tui_react::terminal::Terminal<_>`
           found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
  --> src/interactive/app_test/journeys_readonly.rs:85:28
   |
85 |         app.process_events(&mut terminal, b"j".keys())?;
   |                            ^^^^^^^^^^^^^
   |                            |
   |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
   |                            help: consider removing the borrow: `terminal`
   |
   = note:         expected struct `tui_react::terminal::Terminal<_>`
           found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
  --> src/interactive/app_test/journeys_readonly.rs:92:28
   |
92 |         app.process_events(&mut terminal, b"k".keys())?;
   |                            ^^^^^^^^^^^^^
   |                            |
   |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
   |                            help: consider removing the borrow: `terminal`
   |
   = note:         expected struct `tui_react::terminal::Terminal<_>`
           found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
  --> src/interactive/app_test/journeys_readonly.rs:99:28
   |
99 |         app.process_events(&mut terminal, b"k".keys())?;
   |                            ^^^^^^^^^^^^^
   |                            |
   |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
   |                            help: consider removing the borrow: `terminal`
   |
   = note:         expected struct `tui_react::terminal::Terminal<_>`
           found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:106:28
    |
106 |         app.process_events(&mut terminal, b"o".keys())?;
    |                            ^^^^^^^^^^^^^
    |                            |
    |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                            help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:120:32
    |
120 |             app.process_events(&mut terminal, b"u".keys())?;
    |                                ^^^^^^^^^^^^^
    |                                |
    |                                expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                                help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:135:28
    |
135 |         app.process_events(&mut terminal, b"ju".keys())?;
    |                            ^^^^^^^^^^^^^
    |                            |
    |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                            help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:152:28
    |
152 |         app.process_events(&mut terminal, b"k".keys())?;
    |                            ^^^^^^^^^^^^^
    |                            |
    |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                            help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:154:28
    |
154 |         app.process_events(&mut terminal, b"d".keys())?;
    |                            ^^^^^^^^^^^^^
    |                            |
    |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                            help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:176:32
    |
176 |             app.process_events(&mut terminal, b"d".keys())?;
    |                                ^^^^^^^^^^^^^
    |                                |
    |                                expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                                help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:193:32
    |
193 |             app.process_events(&mut terminal, b"d".keys())?;
    |                                ^^^^^^^^^^^^^
    |                                |
    |                                expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                                help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:210:32
    |
210 |             app.process_events(&mut terminal, b"k ".keys())?;
    |                                ^^^^^^^^^^^^^
    |                                |
    |                                expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                                help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:229:28
    |
229 |         app.process_events(&mut terminal, b" j ".keys())?;
    |                            ^^^^^^^^^^^^^
    |                            |
    |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                            help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
   --> src/interactive/app_test/journeys_readonly.rs:243:28
    |
243 |         app.process_events(&mut terminal, b"\t".keys())?;
    |                            ^^^^^^^^^^^^^
    |                            |
    |                            expected struct `tui_react::terminal::Terminal`, found mutable reference
    |                            help: consider removing the borrow: `terminal`
    |
    = note:         expected struct `tui_react::terminal::Terminal<_>`
            found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
  --> src/interactive/app_test/journeys_with_writes.rs:15:24
   |
15 |     app.process_events(&mut terminal, b"doddd".keys())?;
   |                        ^^^^^^^^^^^^^
   |                        |
   |                        expected struct `tui_react::terminal::Terminal`, found mutable reference
   |                        help: consider removing the borrow: `terminal`
   |
   = note:         expected struct `tui_react::terminal::Terminal<_>`
           found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`
error[E0308]: mismatched types
  --> src/interactive/app_test/journeys_with_writes.rs:31:9
   |
31 |         &mut terminal,
   |         ^^^^^^^^^^^^^
   |         |
   |         expected struct `tui_react::terminal::Terminal`, found mutable reference
   |         help: consider removing the borrow: `terminal`
   |
   = note:         expected struct `tui_react::terminal::Terminal<_>`
           found mutable reference `&mut tui_react::terminal::Terminal<tui::backend::test::TestBackend>`

Sorry for the hassle.
The course of events: I made a change, ran make test, which fails locally due to some white-space/line ending issue on MacOS but no Linux. I failed to run journey tests manually and thus didn't discover the issue above. Nor did I run cargo check from the IDE, which could also have discovered the issue.
When travis sent an email after the release was done, I took a quick look and saw that one build failed as it tried to run 32bit MacOS. This, I though, could wait for a moment, and I ignored/failed to look at the other failure which is the one above.
Version 2.3.3. was yanked as CI didn't pass.

Version 2.3.4 contained a jwalk update (to 0.5), which regressed in performance. YANKED.
Version 2.3.5 was just released - that seems to do.


High CPU usage when idle during development

I installed Flutter as per official documentation on my Windows 10 PC and I am able to generate the application.
However, the CPU usage even when the IDE ( Visual Studio Code ) is idle is very high.

Hi @purezen
by idle IDE do you mean that app is not running on your device? do you have emulator launched in the time?
if you are expecting lower CPU with running app could you check is it the same when you are running native android app?

idle IDE do you mean that app is not running on your device?

Yes. Not compiling an app and not running one

do you have emulator launched in the time?

No. Not even created a virtual device yet
I digged further and I found that the CPU utilization comes back to normal when the flutter and dart plugins are disabled.

@purezen
could you provide your flutter doctor -v and screenshots of Task Manager processes with expanded Visual Studio Code and (Android Studio if you using it) with enabled and disabled flutter and dart plugins?

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Document homebrew installation option

What
Document homebrew installation option
How to review
command should install cli if you have homebrew
Who can review
whomever feels so inclined

CC @r


load multiple sets of statements using Load RDF feature

Load RDF lets you load up statements to a Resource Template, creating a new resource
some users asked to be able to do this in a batch, to load multiple sets of statements, all corresponding to the same Resource Template, to create a bunch of new resources at once

this might also apply to U Alberta request to derive multiple records at once


Deref of promise blocks code evaluating

Example:
#trace
(defn blocks []
  (promise)
  1)

(blocks)

Debugger will try deref promise to print it, and because of that it will be blocked forever.
Possible solution is check if value is IBlockingDeref, and deref it with timeout.
Example:
(utils/derefable? x)
 {:ref/snapshot (if (instance? clojure.lang.IBlockingDeref x) (deref x 0 x) (deref x))
  :ref/type (type x)}

Good catch @Gorovoi and thanks for the solution!
Do you want to make a PR?
Otherwise I'll add it soon.

Maybe instead of x as the default value we can use :ref/timeout as the :ref/snapshot value? so it is easy to see what happened there


Update signature_pad.js

Added API onAddPoint so that calling applications can get an array of points instead of an image.  Most retail applications collect an array of points instead of an image.

I'm closing this one, because in 1.6.0 (currently beta) one can get raw data using toData() method.


Add experimental feature concept

Is your feature request related to a problem? Please describe.
There is a lot of activity in Data Prepper, and not all of it is ready for production. I'd like to be able to get these features out to users in an experimental form than try to hide or remove them, or use feature branches.
Describe the solution you'd like
Introduce a concept of "experimental" features. These are not production-ready. They may change between minor versions.
This will mostly be a feature of documentation. However, we can also have an annotation to mark a plugin as experimental.
@DataPrepperPlugin(name="experimental_source")
@Experimental
public class ExperimentalSource implements Source

Some initial candidates:

S3 scan
RSS source

Also, the S3 scan should be considered experimental as it requires the source coordination to work.


"LMSYS (claude-v1)"  - it has too low a writing limit is there a way to extend the "Tokens"/ responses lengthen?

I am testing the program and it is truly an exciting project, congratulations to all the developers. Please help me clarify this step, I was checking the source code to understand the project and see if I can try to contribute in the future (even though for me it is a new language), I understood the various AIs how they communicate but I do not have a clear understanding of where and how the language "LMSYS (claude-v1)" communicates I tried to find the source code but I can't find the reference, can you kindly point me where to look? Then, I noticed that the "LMSYS (claude-v1)" language seems to be an excellent AI, but it has too low a writing limit, is there a way to extend the "Tokens" and lengthen the responses so that it does not interrupt too soon?

Your future contributions are welcome!
The main class of "LMSYS (claude-v1)" is implemented in src/bots/lmsys/ClaudeBot.js. But most of the codes are in its parent class: LMSYSBot.js and src/bots/huggingface/GradioBot.js.

is there a way to extend the "Tokens" and lengthen the responses

No, it is controlled on the server side


In version 1.20.1forge, Improved Animations mod is used together with First person Model mod, and launching a sprint game underwater will cause a crash.

In version 1.20.1forge, Improved Animations mod is used together with First person Model mod, and launching a sprint game underwater will cause a crash.

Faced the same problem: the game hangs with a black screen as soon as you start swimming quickly underwater

use real camera instead


ipctool segfaults on xm510

Hi
I am playing around with a camera I have laying around, I think we identify this as an xm510. I got telnet access with the Snawoot/hisilicon-dvr-telnet tool.
I tried to download the ipctool binary on https://github.com/OpenIPC/ipctool/releases/download/latest/ipctool which appears to have been updated two days ago.
$ sha256sum ipctool
8d0f7c48c1f6a616d39bff8dc41c1e2ac86b1b6276995eca0211eecd29cd97eb  ipctool
$ file ipctool
ipctool: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, no section header

My device reports:
~ # cat /proc/cpuinfo
cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 1 (v7l)
BogoMIPS        : 199.06
Features        : swp half fastmult edsp
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc05
CPU revision    : 1

Hardware        : xm510
Revision        : 0000
Serial          :<PHONE_NUMBER>000000
cat /proc/kmsg
<5>Linux version 3.0.101 (jinze@xd-server-0001) (gcc version 4.9.2 (Buildroot 2014.08) ) #11 Tue Jun 20 08:36:44 CST 2017
<4>CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
...

So I guess that it segfaults because it is not built for the correct abi? Does a version for ARMv7 exist somewhere precomipled?

I even tried to do:
$ wget https://musl.cc/armv7l-linux-musleabihf-cross.tgz
$ tar xvf armv7l-linux-musleabihf-cross.tgz
cmake -DCMAKE_C_COMPILER=$(pwd)/armv7l-linux-musleabihf-cross/bin/armv7l-linux-musleabihf-gcc -DCMAKE_BUILD_TYPE=Release
make
$ file ipctool
ipctool: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, no section header

But it appears to result in the same elf file format and it also segfaults.


Update to JSON schema spec 2020-12 + dependency discriminator keyword

We can simplify the schema significantly by using the latest standard, plus the use of the OpenAPI discriminator keyword (as supported by the built-in AJV validator) and tidy up the verbose dependencies => oneOf => propertyName representations.

Also remove "additionalProperties" keywords to make future expansion non-breaking


[textfield][ios] shake to undo text

Use case
Iphone has a function to undo text by shaking the device
https://www.tapsmart.com/tips-and-tricks/guide-shake-the-iphone-to-undo-and-redo-typing-ios-10/
Proposal
To unify the input behavior on the iphone with other apps

@justinmc  Do you agree that this should be merged in either https://github.com/flutter/flutter/issues/34749 or https://github.com/flutter/flutter/issues/24222? They are quite similar for me.

@pedromassangocode  I agree to you
please merge it
thank you

Ok I'll mention this in both issues.  Thanks for reporting @hatano0x06!


Enable monitoring of farmerbot activity

Occasionally the ZOS image doesn't download completely on a node during the periodic wakeup. This causes the node to be unavailable. The farmerbot will then stop shutting down any other node (this makes sense).
It would be very helpful to get some monitoring tools on the activity of the farmerbot. Like automated status report via email or telegram bot. Something like this:

Date
Node 1234 booted successfully at 00:01
Node 2345 booted successfully at 00:06
Node 1234 shut down successfully at 00:15
Node 2345 shut down successfully at 00:20
No errors reported

The node status bot can be adapted to provide this kind of info for farmerbot controlled nodes. I'll be working on this as part of a larger update to support changes in 3.9.

What is the node status bot? Because I received a request from someone from the community asking for a way to get information on what is happening in the farmerbot at any time. So I was thinking of adding a rest api or a websocket messaging service that will expose the events from the farmerbot.

Hi Brandon,
The status bot is a telegram bot that notifies when a node is down (I believe it notifies only when both ping and dashboard are down). One can also ping the nodes, to check if they are online. Now with the farmerbot, ping won't work and the dashboard will show nodes down all the time, hence the status bot needs to be changed.
a rest api / websocket msg service would be ideal of course!

Ok. I'll create an issue for it so that. @scottyeager what should the rest api / websocket msg service be able to do?

Hey @brandonpille, just catching up with this. My plan for the node status bot was to use publicly available data from TF Chain along with pings over RMB to determine if nodes are waking up when they should. Also having some data coming directly from the bot could be helpful.
Since the bot is a service I operate that people only interact with through Telegram, it wouldn't be able to reach a web API for farmerbots that aren't exposed to the internet. Offering some RMB endpoints to check on the farmerbot would make more sense for this use case.
Here are a few ideas:

Simple ping to see that the farmerbot is online
Return the scheduled wakeup time for this farmerbot
Info on nodes failing to wakeup as scheduled

Hey @brandonpille, just catching up with this. My plan for the node status bot was to use publicly available data from TF Chain along with pings over RMB to determine if nodes are waking up when they should. Also having some data coming directly from the bot could be helpful.
Since the bot is a service I operate that people only interact with through Telegram, it wouldn't be able to reach a web API for farmerbots that aren't exposed to the internet. Offering some RMB endpoints to check on the farmerbot would make more sense for this use case.
Here are a few ideas:

Simple ping to see that the farmerbot is online
Return the scheduled wake up time for this farmerbot
Info on nodes failing to wake up as scheduled
Retrieve the last power target change and its time

Opening that up via RMB would make a lot of sense indeed. That would even require almost no change to the code. So I'll go ahead and do that.

blocked because of https://github.com/threefoldtech/farmerbot/issues/67#issuecomment-1790639954


STYLE: Prefer using f-strings

Prefer using f-strings.
Used the flynt package to convert as many instances as possible, then did a manual pass.
Take advantage of the commit to fix some messages and missing substitutions:
'syntax error in line %s line %d: \n%s\n%s' %
(
    module_name,
    exc_value[1][1],
    formatted_lines[-3],
    formatted_lines[-2]
)

and
raise ValueError(
    "Data in %s does not have the correct number of items")

Documentation:
https://peps.python.org/pep-0498/
https://pypi.org/project/flynt/

Leaving as a draft until a version is tagged/released based on https://github.com/demianw/tract_querier/pull/67#issuecomment-2532215711.


How to query low version（vsix）

How to query low version（vsix）

i have no clue, maybe check documentation. re-open if you issue persists.


No web browser found

Sorry to bother you with this, but new to docker.
I already downloaded and was able to install and run the docker file. I found that jupyter was missing so I pip installed that.
Then when I go to run  jupyter-notebook ee-atmcorr-timeseries.ipynb --ip='*' --port=8888 --allow-root
it reports "No web browser found: could not locate runnable browser."
it then prompts me to "Copy/paste this URL into your browser when you connect for the first time,
to login with a token:"
but when I do my browser reports that "We can’t connect to the server at 48a01722549a."
Just wondering what I am missing?  Is there a way to install a web browser into the docker container and use that? or something else? (again very new to this so please bear with me).

Apologies for the delay and the missing jupyter module! Thanks for reporting!!
I haven't figured out how to ship a container with a working browser, copy/paste approach seems to be the way people normally do it.
The fact it couldn't connect to the server is not expected. I will try to get round to fixing that. Maybe updating the container will work..

Ok let me know when I should try again. Thanks.
On Mon, Jul 9, 2018 at 11:49 AM Sam Murphy<EMAIL_ADDRESS>wrote:

Apologies for the delay and the missing jupyter module! Thanks for
reporting!!
I haven't figured out how to ship a container with a working browser,
copy/paste approach seems to be the way people normally do it.
The fact it couldn't connect to the server is not expected. I will try to
get round to fixing that. Maybe updating the container will work..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/samsammurphy/ee-atmcorr-timeseries/issues/4#issuecomment-403526306,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE8fVNE8qYxMxMVJRnvXZcohhe4lKw_3ks5uE3t2gaJpZM4VBQNS
.

Finally had a bit of time to inspect. It looks like jupyter has changed its output message when run inside a docker container. It can prints a URL that needs updating. e.g. something like this..

http://(088a4610794f or <IP_ADDRESS>):8888/?token=ca6dda566475685d58572066834f51bbdfa093c2bf1a2427

This is an invalid URL. The parenthese and its contents need to be replaced with localhost to look like this..

http://localhost:8888/?token=...

I have updated the instructions in the README to reflect this new behaviour from jupyter
Thank you for reporting!!
& please let me know how it goes!

p.s. I am not sure why the jupyter module appeared to be missing.. it seems to be in the dockerfile and I was able to run it when testing.


Disable AV integration test when component not available

Disable the encoder integration test, which depends on the av component, which is currently not building on Windows.
I originally wanted to check for the av target first via:
if (NOT TARGET ${PROJECT_LIBRARY_TARGET_NAME}-av)
  list(REMOVE_ITEM tests encoder_timing.cc)
endif()

But because integration tests are configured before components, those targets don't exist yet.  I'm not sure if this could be considered a bug in ign-cmake.
Signed-off-by: Michael Carroll<EMAIL_ADDRESS>

Just a random idea: could it make sense to check for the SKIP_av variable (see https://github.com/ignitionrobotics/ign-cmake/blob/c8a47188f70b223ec4f26e3387321fca7d2ea57f/cmake/IgnUtils.cmake#L227) for detecting if the av component is configured or not? Because it may be possible that the av component is disabled (either explicitly or because there are missing dependencies) also on Linux or macOS, and ideally it would be nice to be able to compile the test suite also in those cases.

Just a random idea: could it make sense to check for the SKIP_av variable

Ah! That's a great idea, I had forgotten that existed.  It also is evaluated before the tests are added, so the ordering problem will be gone.

I'm going to go ahead and merge this into the other PR, and then sort out the buildfarm issues over there.


C++ syntax highlighting inconsistent in 0.10.0

The Improved Syntax Highlighting in 0.10.0 is nice in that it does more than a simple keyword match and comment detection. However, it seems to produce inconsistent colouring for C++ files.
All themes below use the default Dark theme that comes with VSCode and Visual Studio 2015. The default Light theme has the same problems. Actually, all themes I tried have the same inconsistencies except of course the colours themselves are different.
The Problem
VSCode 0.10.0:

Some specific concerns/issues:

Why is the #include and #define pink? I really hope this is not a new direction for the default VS Dark theme.
Why are the if, return, and else keywords pink but the int, namespace, and class keywords the good-old-VS blue?
Why are function names like main() and do_stuff() yellow, while their use orange?
Why are class names like Foo and namespace names like space using keyword blue colour?

For Reference
VSCode 0.9 and below (it was simpler but at least it was consistent):

Visual Studio 2015 (obviously can infer more about the language but this is what I'd expect from the default Dark theme):

Yeah, even in Typescript there seem to be a lot of inconsistencies.

And why are the two BLAH have different color?

@aeschli please verify what is still open from the above issues

We replaced our tokenizers to text mate tokenizers. As these tokenizers create very different tokens, some of the colors changed unintentionally. I polished the light and dark theme to be in the spirit of what we had.
here's how it looks now (for the December release). I kept the yellow for function and method declaration.

Sorry, but it still seems inconsistent with Visual Studio itself. One of the (many) things I like about Code is that it looks like Visual Studio right out of the box so I have a consistent experience on all 3 platforms. This is no longer the case.
My main issue is the use of the keyword color (in this case, blue) for the namespace and class names themselves (ie. "space" and "Foo"). This is rather confusing for me since the use of a namespace and class name is not blue.
I also have a (more minor) issue with the use of yellow for function and macro names as that yellow is also used for constants (like 5 above). It's also equally inconsistent with namespace and class names as they are only colored yellow in their declaration/signature, not their use.
I'm not asking for anything as fancy as Visual Studio coloring. I think even leaving function, macro, namespace, and class names as white would be better than trying to color them this way.


500 error creating pull request

Gitea version (or commit ref): 31a738b (by docker image gitea/gitea:1.5.2)
Operating system: macOS 10.14
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[ x ] Not relevant

Description
log:
[...routers/repo/pull.go:803 CompareAndPullRequestPost()] [E] GetPatch: signal: killed

Could this be memory related?

This would also need more information on how to reproduce this

I clicked the "NewPullRequest", and then change the "merge into" branch, it happened.
It is normal for others to create PR.

@dmarov were you able to ever get this bug to fire for other users, and after recreating the user did it is ever occur again?
Presumably that broken user was created in an earlier version of Gitea?

This bug fired just 2 times since we use gitea, it fired for me and for user I mentioned previously. no other occurencies. After recreating of user it didn't happen again. User was created in earlier version of gitea but now it is up to date.

Ok so I think this might have been a migration related issue.
If we can't get more information about it I don't think we can do more about it and we should leave this bug closed.
Hopefully, no one else will have this issue...

Hi,
Getting this error on Gitea 1.9.3 running on Cent OS 7. It is possible to merge the pull requests using the command line on a different computer, for example following

http://www.bartread.com/2014/02/12/git-basics-how-to-merge-changes-from-a-different-fork-into-your-own-branch/
https://stackoverflow.com/questions/6022302/how-to-apply-unmerged-upstream-pull-requests-from-other-forks-into-my-fork
and then pushing the changes

Specifically, within the main repository one is working in, one can:
git remote add somefork https://my.gitea.ip:3000/cool/fork
git fetch somefork
git checkout master
git merge somefork/master
git push

@bkmgit please fire another issue.

@lunny Thanks, done #8351


How can I use it in front-end ?

I want use it in front-end
example:
var someObj = {
	name: 'simple parallel process',
	tasks: {
		start: {type: 'start'},
		service1: {type: 'service', action: function (variables, complete) {
			return complete();
		}},
		end: {type: 'end'}
	}
};
JSON.stringify(someObj);

parse in back-end
is there have a bower version, can use it in front-end site

bower is not available jet. you need to download the files and include them manually both the LJSON.js and Parsenhora.js than you can use it like this:
LJSON.stringify(someObj);

I don't use Bower so I have no idea how to put it there, Kanti, do you know?

I will try it

Thanks very much.
There also have a bug when I forget <return> in my function.
example:
var someObj = {
    tasks: {
        service1: {type: 'service', action: function (variables, complete) {
           complete();
        }}
    }
};

error:
/node_modules/LJSON/LJSON.js:36
            if (value.isApplication)
                     ^
TypeError: Cannot read property 'isApplication' of undefined
    at normalize (/Users/wanggejun/study/node_modules/LJSON/LJSON.js:36:22)
    at normalize (/Users/wanggejun/study/node_modules/LJSON/LJSON.js:52:28)
    at normalize (/Users/wanggejun/study/node_modules/LJSON/LJSON.js:68:78)
    at normalize (/Users/wanggejun/study/node_modules/LJSON/LJSON.js:68:78)
    at normalize (/Users/wanggejun/study/node_modules/LJSON/LJSON.js:68:78)
    at Object.stringify (/Users/wanggejun/study/node_modules/LJSON/LJSON.js:78:11)
    at Object.<anonymous> (/Users/wanggejun/study/ljson.js:22:23)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)

LJSON.js can't parse <callback> without <return> when traverse object.

@soulmate2015 we are on it. See here #11


Instagram related functions are disabled

Instagram functions are disabled to prevent the InstagramLoginRedirectError from the instascrape module.
Instagram changed its behavior and broke the instascrape module: you can read more about this in a blog post of its author.
The developer is working hard to fix this issue: a temporary workaround is already known, but a proper fix is expected in the next weeks. You can follow the updates in this discussion on Github
I am waiting the instascrape fix to apply the new changes and enable (uncomment) the Instagram related functions

See https://github.com/chris-greening/instascrape/issues/89


Error while logging in

At first, let me thank you for making this! Unfortunately, I'm having problems logging in.
This is an error message I receive when I try to login.
mhlavackas-MacBook-Air-2:wg-gesucht-crawler mhlavacka$ python main.py Exception in thread Thread-1: Traceback (most recent call last):   File "//anaconda/lib/python3.5/threading.py", line 914, in _bootstrap_inner     self.run()   File "//anaconda/lib/python3.5/threading.py", line 862, in run     self._target(*self._args, **self._kwargs)   File "/Users/mhlavacka/Documents/wg-gesucht-crawler/wg_gesucht.py", line 28, in check_wg_credentials     login_form.find("input", {"id": "email_user"})['value'] = login_info['email'] TypeError: 'NoneType' object does not support item assignment

It seems wg-gesucht has changed their login form, making it not possible to use mechanicalsoup anymore.  Post requests to the login form URL just get a 503 status code error.
I have changed it now to use Selenium instead for the browser automation, you can see the README on how to set that up.


Automatically delete stale repositories setting.

We should have a config to allow for auto deleting no longer found repositories.

Yes definitely - going to mark this as duplicate of #39 since this was brought up over there.


[WIP] [#156091458] Merge 000 and 010 CF manifests

What
Merge the 000 and 010 CF manifests. This brings us a little bit closer to cf-deployment.yml.
Adjust some whitespace to look a bit more like cf-deployment. Re-order some keys etc.
Remove a test that started failing. It asserted that the order matched upstream order. We'll soon be using upstream directly, so this won't be necessary.
How to review

Deploy master to dev env
Deploy this to dev env
Ensure bosh shows no changes

Who can review
Anyone but @camelpunch

@camelpunch can you rebase this with master? all the previous PRs have been merged.

LGTM, the diff is the same:
wget https://raw.githubusercontent.com/cloudfoundry/cf-deployment/master/cf-deployment.yml

spruce diff <(spruce merge  <(git show master:manifests/cf-manifest/manifest/000-base-cf-deployment.yml) <(git show master:manifests/cf-manifest/manifest/010-cf-jobs.yml )) manifests/cf-manifest/manifest/000-base-cf-deployment.yml

But I still think that plain diff is not suitable to diff these files, it is much more convenient use spruce diff


Can not find package

Hi,
I am using
composer require flowjs/flow-php-server

and getting following notice
[InvalidArgumentException]
Could not find package flowjs/flow-php-server at any version for your minimum-stability (stable).
Check the package spelling or your minimum-stability

What could be wrong?

Is this issue still valid?

Still. Can you provide some help?

Could you show your entire composer config?

{
	"name": "laravel/laravel",
	"description": "The Laravel Framework.",
	"keywords": ["framework", "laravel"],
	"license": "MIT",
	"type": "project",
	"require": {
		"laravel/framework": "5.0.*",
		"way/generators": "^3.0"
	},
	"require-dev": {
		"phpunit/phpunit": "~4.0",
		"phpspec/phpspec": "~2.1",
		"laracasts/generators": "^1.1",
		"fzaninotto/faker": "^1.4",
		"guzzlehttp/guzzle": "~5.0",
        "h4cc/wkhtmltopdf-amd64": "0.12.x",
        "h4cc/wkhtmltoimage-amd64": "0.12.x",
		"barryvdh/laravel-snappy": "0.2.x"
	},
	"autoload": {
		"classmap": [
			"database"
		],
		"psr-4": {
			"App\\": "app/"
		}
	},
	"autoload-dev": {
		"classmap": [
			"tests/TestCase.php"
		]
	},
	"scripts": {
		"post-install-cmd": [
			"php artisan clear-compiled",
			"php artisan optimize"
		],
		"post-update-cmd": [
			"php artisan clear-compiled",
			"php artisan optimize"
		],
		"post-create-project-cmd": [
			"php -r \"copy('.env.example', '.env');\"",
			"php artisan key:generate"
		]
	},
	"config": {
		"preferred-install": "dist"
	}
}

Tried and it works for me. Maybe you should delete vendor dir and composer.lock files?

Ah, it also worked for me. I guess I was trying to run composer outside of my virtual machine.
Thank you for your effort.

(Just an input, in case anyone is interested) For those getting this error without working with virtual machines, running cmd console as administrator solves the problem :)

(Just an input, in case anyone is interested) For those getting this error without working with virtual machines, running cmd console as administrator solves the problem :)


Adapt RRTMGP check to PE 18.08

The problem is that the netcdf-python is not yet available on Dom.


Small issue in docs: PublishOptions is called 'retain' not 'retained'

see https://crossbar.io/docs/Retained-Events/
(Don't know where the repo is for your docs page)

fixed https://github.com/crossbario/crossbar/blob/master/docs/pages/programming-guide/pubsub/Retained-Events.md


New Rule on Amazon S3 to ensure object logging is enabled

For specified list of Amazon S3 buckets, object logging should be enabled. If object logging is not enabled, raise noncompliance with details of the misconfigured object logging.

We are working on this rule, I believe. Just calling differently: is it what you are looking for.
https://github.com/awslabs/aws-config-rules/issues/195
https://github.com/awslabs/aws-config-rules/pull/220

Yes, that appears to be the object-level logging for an S3 Bucket with AWS CloudTrail Data Events.


Activity category removed?

Hi, it seems that the activity category has been removed with the following commit
https://github.com/Fintasys/emoji_picker_flutter/commit/1f2c9882bc6143b46aa8e9c0aef1cfb8e6d9f365#diff-fdfda11d45a50edbf3fafe7280bbae036f0a03fc10094e622b04e3215ad27989
Was that wanted?
Thanks

I confirmed, why this category is missing ?

It was removed by mistake but added back - I just released v.1.0.8
Thank you for reporting 🙇

You are great!
Thanks


DSL not working

problem: using DSL like README gives a compilation error (v 3.6.0)
reason: wrong macro definition
the codes in the WalEx.Event is defining macro like below.
defmodule MacroModule do
  defmacro __using__(_) do
    quote do
      defmacro define_hello(do: block) do
        quote do
          def hello() do
            unquote(block).("hello world")
          end
        end
      end
    end
  end
end

defmodule Test do
  use MacroModule

  define_hello(do: fn x -> IO.puts(x) end)
end

Test.hello()

this code gives an error.
     error: undefined function define_hello/1 (there is no such import)

       define_hello(do: fn x -> IO.puts(x) end)
        ^

You intended something like the one below per README.
defmodule MacroModule do
  defmacro __using__(_) do
    quote do
      import MacroModule
    end
  end

  defmacro define_hello(do: block) do
    quote do
      def hello() do
        unquote(block).("hello world")
      end
    end
  end
end

defmodule Test do
  use MacroModule

  define_hello(do: fn x -> IO.puts(x) end)
end

Test.hello()

p.s: Using macro like this is not encouraged
https://stackoverflow.com/questions/53065864/define-another-macro-inside-using

it would be better to add test cases for the DSL usage.

thank you for the effort to improve the library. I am gratefully using your library.

Super, thank you @DohanKim !
What do you think of putting the Dsl logic into it's own module (dsl.ex or something like that)? This is something I've wanted to do for a while and keep event.ex just for the event struct & casting stuff.

@DohanKim heads up that I just merged some additional changes to master which may break your PR. I think the main thing will be getting the events pid for tests will now work like this:
events_pid = find_worker_pid(destinations_supervisor_pid, DestinationsEventModules)

I moved Event under destinations and renamed the nodule to EventModules.

I agree with putting DSL logic into a separate module.
let me try to implement.

https://github.com/cpursley/walex/pull/36/commits/4a9a19a7318f650a4a0d66da562cc0c0b53de7be

made separated dsl file
to use DSL, need to explicitly declare import WalEx.Event.Dsl such as

  use WalEx.Event, name: :test_app
  import WalEx.Event.Dsl

I think it's more clear to users than importing the Dsl macro implicitly in WalEx.Event.

moved event-related files into the event folder
fixed failing test you mentioned

it seems that you are not using the word and concept of "DSL" anymore in the README file,
so making the macro imported implicitly look more natural.
changed the PR accordingly


MQ-605: Extend miniflare's queues simulator to support delayed delivery

This patch updates the miniflare's queue broker to support delayed delivery of messages, both when sending the message from a producer and when retrying the message from a consumer.
The implementation is based on miniflare's timers, and currently there is no support for specifying the delivery delay in queue settings for a producer.
What this PR solves / how to test
Fixes #MQ-605
Author has addressed the following

Tests

[ ] TODO (before merge)
[X] Included
[ ] Not necessary because:

Changeset (Changeset guidelines)

[X] TODO (before merge)
[ ] Included
[ ] Not necessary because:

Public documentation

[X] TODO (before merge)
[ ] Cloudflare docs PR(s): https://github.com/cloudflare/cloudflare-docs/pull/...
[ ] Not necessary because:

Approved pending e2e tests


pe)' != 'none' and '$(EnableSourceControlManagerQueries)' == 'true') was evaluated as ('false' == 'true' and '' != 'true' and 'embedded' != 'none' and '' == 'true'). Target "_InitializeSourceControlInformationFromSourceControlManager" skipped, due to false condition; ('$(EnableSourceControlManagerQueries)' == 'true') was evaluated as ('' == 'true'). Target "InitializeSourceControlInformation" in file "/Users/chethusk/.asdf/installs/dotnet/5.0.101/sdk/5.0.101/Microsoft.Common.CurrentVersion.targets" from project "/Users/chethusk/oss/fsharp/src/fsharp/FSharp.Compiler.Server.Shared/FSharp.Compiler.Server.Shared.fsproj" (target "GenerateSourceLinkFile" depends on it): Done building target "InitializeSourceControlInformation" in project "FSharp.Compiler.Server.Shared.fsproj". Target "_GenerateSourceLinkFile" skipped, due to false condition; ('$(EnableSourceLink)' == 'true' and '$(DebugType)' != 'none') was evaluated as ('' == 'true' and 'embedded' != 'none'). Target "GenerateSourceLinkFile" in file "/Users/chethusk/.nuget/packages/microsoft.sourcelink.common/1.1.0-beta-20206-02/build/Microsoft.SourceLink.Common.targets" from project "/Users/chethusk/oss/fsharp/src/fsharp/FSharp.Compiler.Server.Shared/FSharp.Compiler.Server.Shared.fsproj" (target "CoreCompile" depends on it): Done building target "GenerateSourceLinkFile" in project "FSharp.Compiler.Server.Shared.fsproj". Target "MaybeSetSigning" skipped, due to false condition; ('$(OS)' != 'Unix') was evaluated as ('Unix' != 'Unix'). Target "SetIsAdministrator" skipped, due to false condition; ('$(OS)' != 'Unix') was evaluated as ('Unix' != 'Unix'). Target "CallFsLex" skipped, due to false condition; ('@(FsLex)'!='') was evaluated as (''!=''). Target "CallFsYacc" skipped, due to false condition; ('@(FsYacc)'!='') was evaluated as (''!=''). Target "CheckForDuplicateItems" in file "/Users/chethusk/.asdf/installs/dotnet/5.0.101/sdk/5.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets" from project "/Users/chethusk/oss/fsharp/src/fsharp/FSharp.Compiler.Server.Shared/FSharp.Compiler.Server.Shared.fsproj" (target "CoreCompile" depends on it): Using "CheckForDuplicateItems" task from assembly "/Users/chethusk/.asdf/installs/dotnet/5.0.101/sdk/5.0.101/Sdks/Microsoft.NET.Sdk/targets/../tools/net5.0/Microsoft.NET.Build.Tasks.dll". Task "CheckForDuplicateItems" Done executing task "CheckForDuplicateItems". Task "CheckForDuplicateItems" Done executing task "CheckForDuplicateItems". Task "CheckForDuplicateItems" Done executing task "CheckForDuplicateItems". Done building target "CheckForDuplicateItems" in project "FSharp.Compiler.Server.Shared.fsproj". Target "CoreCompile" in file "/Users/chethusk/oss/fsharp/artifacts/Bootstrap/fsc/Microsoft.FSharp.Targets" from project "/Users/chethusk/oss/fsharp/src/fsharp/FSharp.Compiler.Server.Shared/FSharp.Compiler.Server.Shared.fsproj" (target "Compile" depends on it): Building target "CoreCompile" completely. Input file "/Users/chethusk/oss/fsharp/artifacts/obj/FSharp.Compiler.Server.Shared/Debug/net472/FSharp.Compiler.Server.Shared.AssemblyInfo.fs" is newer than output file "/Users/chethusk/oss/fsharp/artifacts/obj/FSharp.Compiler.Server.Shared/Debug/net472/FSharp.Compiler.Server.Shared.xml". Task "Error" skipped, due to false condition; ('$(SilverlightVersion)' != '' and '$(SilverlightVersion)' != 'v5.0') was evaluated as ('' != '' and '' != 'v5.0'). Task "Warning" skipped, due to false condition; ('$(Win32ResourceFile)' != '' ) was evaluated as ('' != '' ). Using "Fsc" task from assembly "/Users/chethusk/oss/fsharp/artifacts/Bootstrap/fsc/FSharp.Build.dll". Task "Fsc" The specified task executable location "/Users/chethusk/oss/fsharp/artifacts/Bootstrap/fsc/fsc.exe" is invalid. Done executing task "Fsc" -- FAILED. Done building target "CoreCompile" in project "FSharp.Compiler.Server.Shared.fsproj" -- FAILED. Target "_CheckForCompileOutputs" in file "/Users/chethusk/.asdf/installs/dotnet/5.0.101/sdk/5.0.101/Microsoft.Common.CurrentVersion.targets" from project "/Users/chethusk/oss/fsharp/src/fsharp/FSharp.Compiler.Server.Shared/FSharp.Compiler.Server.Shared.fsproj" (target "_CleanGetCurrentAndPriorFileWrites" depends on it): Done building target "_CheckForCompileOutputs" in project "FSharp.Compiler.Server.Shared.fsproj". Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')). Target "_CleanGetCurrentAndPriorFileWrites" in file "/Users/chethusk/.asdf/installs/dotnet/5.0.101/sdk/5.0.101/Microsoft.Common.CurrentVersion.targets" from project "/Users/chethusk/oss/fsharp/src/fsharp/FSharp.Compiler.Server.Shared/FSharp.Compiler.Server.Shared.fsproj" (target "_CleanRecordFileWrites" depends on it): Using "ReadLinesFromFile" task from assembly "Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Task "ReadLinesFromFile" Done executing task "ReadLinesFromFile". Using "ConvertToAbsolutePath" task from assembly "Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Task "ConvertToAbsolutePath" Done executing task "ConvertToAbsolutePath". Using "FindUnderPath" task from assembly "Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Task "FindUnderPath" Comparison path is "/Users/chethusk/oss/fsharp/src/fsharp/FSharp.Compiler.Server.Shared". Done executing task "FindUnderPath". Task "FindUnderPath" Comparison path is "/Users/chethusk/oss/fsharp/artifacts/bin/FSharp.Compiler.Server.Shared/Debug/net472/". Done executing task "FindUnderPath". Task "FindUnderPath" Comparison path is "/Users/chethusk/oss/fsharp/artifacts/obj/FSharp.Compiler.Server.Shared/Debug/net472/". Done executing task "FindUnderPath". Using "RemoveDuplicates" task from assembly "Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Task "RemoveDuplicates" Done executing task "RemoveDuplicates". Done building target "_CleanGetCurrentAndPriorFileWrites" in project "FSharp.Compiler.Server.Shared.fsproj". Target "_CleanRecordFileWrites" in file "/Users/chethusk/.asdf/installs/dotnet/5.0.101/sdk/5.0.101/Microsoft.Common.CurrentVersion.targets" from project "/Users/chethusk/oss/fsharp/src/fsharp/FSharp.Compiler.Server.Shared/FSharp.Compiler.Server.Shared.fsproj" (target "CoreBuild" depends on it): Task "RemoveDuplicates" Done executing task "RemoveDuplicates". Task "MakeDir" Done executing task "MakeDir". Task "WriteLinesToFile" Done executing task "WriteLinesToFile". Done building target "_CleanRecordFileWrites" in project "FSharp.Compiler.Server.Shared.fsproj". Done building project "FSharp.Compiler.Server.Shared.fsproj" -- FAILED. Build FAILED.

I've tried basic things like dotnet msbuild -t:ResolvePackageDependenciesDesignTime -t:_GenerateCompileDependencyCache -t:BeforeBuild -t:CoreCompile in the various project directories, trying to establish what the correct target we should be using is in order to get a good build.
So far, I've found that those targets do not result in a good build, but changing -t:CoreCompile to -t:CoreBuild does work. This change applied to this library doesn't solve the problem, however.

we should try to get #91 in to help triage this

we should try to get #91 in to help triage this

Now that #91 is merged a version of FSAC with the binlog update needs to be built and used to load dotnet/fsharp

Now that #91 is merged a version of FSAC with the binlog update needs to be built and used to load dotnet/fsharp

Latest versions of this library don't seem to be writing the binary logs, so it's still hard to triage this.

As per https://github.com/dotnet/fsharp/issues/11144, the issue may be related to the fact that outputs are stuffed in artifcats/*

@cartermp from the initial report here, the following line stands out:
Using "Fsc" task from assembly "/Users/chethusk/oss/fsharp/artifacts/Bootstrap/fsc/FSharp.Build.dll".
Task "Fsc"
  The specified task executable location "/Users/chethusk/oss/fsharp/artifacts/Bootstrap/fsc/fsc.exe" is invalid.
Done executing task "Fsc" -- FAILED.

This suggests to me that we're building a wrong target or something? This is why I wanted to binlog support back in, but that doesn't seem to be working.

The targets/props we specify for the build right now are here, if that helps anyone.

Based on https://github.com/ionide/ionide-vscode-fsharp/issues/1509 it's reasonable to assume that the change from fsc.exe to fsc.dll is what's breaking us here.


Fix theme switcher on Firefox

FF seems to implement onchange differently to Chrome, I get an error: ReferenceError: event is not defined.

Fixed in 80e39be -- just a missing argument.


Lazy loading with mapping unclear

Hi,
I have tried to read the help and looked at examples in Github, but I cannot get mappings to work.  I think I do not understand how mappings are supposed to work.
I have a plugin that I want to load when the mapping in the plugin is used: the plugin provides a  mapping for <leader>ww that calls :VimwikiIndex.
In the new syntax I try this:
NeoBundleLazy 'vimwiki/vimwiki', {
                \ 'on_cmd': ['VimwikiIndex'],
                \ 'on_map': ['<Plug>']
                \ }

The command :VimwikiIndex is available and works.
I think this should load all mappings that are defined by the plugin. But the mappings are not available, so <leader>ww does not work. What is my error?

NeoBundleLazy 'vimwiki/vimwiki', {
                \ 'on_cmd': ['VimwikiIndex'],
                \ 'on_map': ['<leader>ww']
                \ }

<Plug> is plugin name vimwiki prefixed plugin mappings.
But vimwiki defines Vimwiki prefixed mappings.
So it does not work.

NeoBundleLazy 'vimwiki/vimwiki', {
                \ 'on_cmd': ['VimwikiIndex'],
                \ 'on_map': ['<leader>ww']
                \ }

<Plug> is plugin name vimwiki prefixed plugin mappings.
But vimwiki defines Vimwiki prefixed mappings.
So it does not work.

@Shougo - thank-you. Your suggestion made me confident it was something I was doing.
I map <space> to be my leader, it was mapping fine but it still uses the (\) default leader. Defining the mapping with <space> fixed it for me.
Brilliant - thanks so much!


Update freedom to 1.4.6

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Verified the application bundle's signature:
$ codesign -dv --verbose=4 Freedom.app
Executable=[home directory]/Downloads/Freedom.app/Contents/MacOS/Freedom
Identifier=com.80pct.FreedomPlatform
Format=app bundle with Mach-O thin (x86_64)
CodeDirectory v=20200 size=3961 flags=0x0(none) hashes=116+5 location=embedded
OSPlatform=36
OSSDKVersion=658432
OSVersionMin=657664
Hash type=sha256 size=32
CandidateCDHash sha1=4b86acd19fc4ce03becc7e97c1abea065fafc85b
CandidateCDHash sha256=d0feaacd961922939edd01fc329d21b937523226
Hash choices=sha1,sha256
Page size=4096
CDHash=d0feaacd961922939edd01fc329d21b937523226
Signature size=8959
Authority=Developer ID Application: Eighty Percent Solutions Corporation (G9EM2MUFVT)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=20 Mar 2017, 17:11:49
Info.plist entries=32
TeamIdentifier=G9EM2MUFVT
Sealed Resources version=2 rules=12 files=36
Internal requirements count=1 size=220


[ CI TODOs blocking merge ] Add E2E test for vSphere management + workload cluster

What this PR does / why we need it
Overview of what's been done in the PR

Introduce vSphere management and workload cluster E2E test script
Check the time of management cluster creation, workload cluster creation, management cluster deletion and workload cluster deletion
Add docs for vSphere management and workload cluster E2E test
Some small improvements to vSphere standalone cluster E2E test script
Check the time of standalone cluster creation, standalone cluster deletion

Details for the Release Notes
Add E2E test for vSphere management + workload cluster

Which issue(s) this PR fixes
There is no issues to track vSphere E2E test for management + workload cluster
This does fix one other small generic issue #1406
Describe testing done for PR
Standalone cluster with e850577cffffed6a81bf0ddc7eb835c3dbaa826d - https://github.com/karuppiah7890/community-edition/runs/3536047637?check_suite_focus=true
Management cluster + Workload cluster with e850577cffffed6a81bf0ddc7eb835c3dbaa826d - https://github.com/karuppiah7890/community-edition/runs/3536047636?check_suite_focus=true
Some recent tests done with v0.8.0-rc.2 and v0.8.0-rc.3 TCE builds -
vSphere Management + Workload Cluster E2E test using TCE v0.8.0-rc.2 - https://github.com/karuppiah7890/community-edition/runs/3631760197?check_suite_focus=true
vSphere Standalone Cluster E2E test using TCE v0.8.0-rc.2 - https://github.com/karuppiah7890/community-edition/runs/3631964927?check_suite_focus=true
vSphere Management + Workload Cluster E2E test using TCE v0.8.0-rc.3 - https://github.com/karuppiah7890/community-edition/runs/3632139015?check_suite_focus=true
vSphere Standalone Cluster E2E test using TCE v0.8.0-rc.3 -
https://github.com/karuppiah7890/community-edition/runs/3632263180?check_suite_focus=true
Special notes for your reviewer
Most of the notes are present in the markdown doc file which is part of this PR and is meant to serve as a doc for anyone trying to understand the E2E test without reading and understanding the code which can take lots of time
Before merging the PR -

We need to add two secrets - MANAGEMENT_CLUSTER_VSPHERE_CONTROL_PLANE_ENDPOINT, WORKLOAD_CLUSTER_VSPHERE_CONTROL_PLANE_ENDPOINT
We need to remove some secrets - JUMPER_SSH_HOST_IP, JUMPER_SSH_USERNAME, JUMPER_SSH_PRIVATE_KEY, JUMPER_SSH_KNOWN_HOSTS_ENTRY
We need to create a self hosted runner and register it in this repo - I can create the runner, but I'll need help with registering to the repo as I need a runner token from the repo settings, and we need to label the runner with the label vsphere-e2e-runner. We use vsphere-e2e-runner label in the workflow config yaml too

https://github.com/vmware-tanzu/community-edition/pull/1554#issuecomment-930045764 , yeah, I'll need help with getting the token from the repo since I don't have access to the settings.


Number fromString: '123.0s' has incorrect scale of 0, should be 1

There is a known failing unit test for this.

Fixed by 081e720. Has existing test, which is re-enabled.


Allow overriding hardcoded jsconfig/tsconfig defaults

I'm writing pretty much all of my projects using ES6.
So if I want to use Code, I need to add jsconfig.json file that contains following snippet to every project I work on:
{
  "compilerOptions": {
    "target": "es6"
  }
}

Doing this over and over again is annoying to say the least.
I had a quick look at the code and from what I'd grasped the current defaults are hardcoded.
Can we instead have a global default jsonfig.json in user folder (e.g. next to user config) that'll override hardcoded defaults if present?
Or perhaps part of user config can allow overriding values in it (e.g. javascript.compilerOptions.target)?

+1, if jsconfig could be defined in the user config, or something else globally, will be very useful. I have several es6 projects, inside different folders with a lot of other projects, result of I have to open the root folder with thousands of files, result of the code completion, code snippets, etc is unusable.

We have made ES6 the default. It should address the wish addressed in this issue.


[UI] Use of make server

Current Behavior

Its clearly mentioned in the docs about running make server command to serve the prebuilt components.
But it always responds with ERROR 127 command not found.
Desired Behavior

Either the working of the command should be improved or the neccessary changes should be done in the docs.
Screenshots/Logs

Environment

Browser: Chrome
Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@leecalcote if changes in the docs are needed for this part, then I will like to do them

Fill-in the Environment section in your description, please.

Your system is missing golang1.17.8. Please see https://discuss.layer5.io/t/getting-an-error-while-running-make-run-command-in-meshery-consul-as-a-adapter/919/2


Fails to compile in MSVC

https://godbolt.org/z/EEzeTh
Unfortunately the code does not work with MSVC compilers.  Any ideas for a workaround?
It seems the problem is the initialization, there seems to be a bug in which the base class mixin is not allowed for initialization in the constructor:
https://godbolt.org/z/mq2TAc

Created a report with the MSVC people
https://developercommunity.visualstudio.com/content/problem/1110083/msvc-compiler-versions-fail-to-compile-valid-code.html

Thanks! I'm setting up a vc++ capable environment RN so I'll triage this weekend if I can.

Fixed.


Private key is not working

How can I fix it?

This private key is 100% working. When I try putting private key as plain text I have same problem. But over ssh cli this private key working well. Over this web form I can connect to ssh server only when I putting username and password, but I very want using private key. Help me pls. What I need todo for fix it?

What errors did your webssh (Python console) report?

Strangely enough, there is nothing in the Python console in debug mode. Moreover, I tried to take dump traffic and did not see any requests to the remote ssh server.

Example successful debug output when performing authorization by username and password.

I resolved my problem. I was need to be change policy value.


Debug helmrelease before committing to GitOps

Feature request: Add a command to fluxctl that can debug  a helmrelease yaml without first having to apply it to the cluster and ensure all the chart references are pushed.
Say I have a myrelease.yaml file:
---
apiVersion: flux.weave.works/v1beta1
kind: HelmRelease
metadata:
  name: my-release
  namespace: dev
  annotations:
    flux.weave.works/automated: "true"
    flux.weave.works/tag.chart-image: glob:master-*
spec:
  releaseName: my-release-name
  chart:
    git: somewhere:/foo/bar.git
    ref: master
    path: charts/myserver
  values:
    image:
      repository: my-image-repo/my-imagebamappserver
      tag: foobar
    replicaCount: 2
    ingress:
      enabled: true
[...]

I'd like something like fluxctl helm-template ./myrelease.yaml /path/to/my/chart to run the moral equivalent of:
helm template --values=- --namespace=dev --name=my-release-name /path/to/my/chart

where the stdin (used by the --values=- switch), is generated like:
image:
  repository: my-image-repo/my-image
  tag: foobar
replicaCount: 2
ingress:
  enabled: true
[...]

This would make debugging flux helmreleases a lot more pleasant!
If you are willing to take a PR to implement this (or a modified proposal), let me know, and I can try to cook one up.
Thanks,
Michael.

I like this idea -- it'd give people a extra degree of confidence when moving to HelmReleases, as well as being generally helpful.
To get as close as possible to what the helm-operator will do, I think the tool would have to

clone the git repo to get the chart, if it has a git source
or, fetch the chart tarball
look up any value secrets/configmaps/URLs
dry-run the chart

There's code for all of these things individually in integrations/helm, though it's not necessarily straight-forward to repurpose it.
I think we can consider these as assumptions:

the user has access to any git repo in question
the user can read any secrets, configmaps, and URLs mentioned in the HelmRelease
similarly charts and their dependencies (i.e., the tool does not have to try and get the repositories.yaml from the operator)

I'm not sure where it would live -- fluxctl is so far ignorant of Helm -- but let's leave such doctrinal questions for later.

I would like to at least be able to provide an override for the chart location, as in my org I only can update the master chart repository with a PR to the operations team, and I would like to test the chart locally before doing that.  In some environments, I don't have access to the git repo containing the production charts, either.
Also, I don't always want to dry-run the chart.  Sometimes I want to inspect the output directly.  I'd like to provide an interface very similar to what helm template is (and all its flags), which I already use extensively while developing the chart before I have a helmrelease.yaml.

An alternative approach here, maybe more composition-friendly.
I wanted something that consumes yaml defining a HelmRelease object and spits out the content of spec.values, so I can do something with it. Probably just pass to helm template --values and then to kubeval. Supposedly this can be done with  yq, but I didn't have that at-hand.
I ended up trying something like (untested jsonpath, memory):
kubectl apply -f stuff/ --dry-run -o=jsonpath='{range .items[?(.kind=="HelmRelease")]}{.spec.}{"\n"}{end}'


Ignore files under the test/ directory

Hi,
Needed to ignore files stored under the test folder to fix this:
Uploading zap            [2.3.0]
ERROR: Precondition Failed
Response:
 === Cookbook Compare errors found ===
 The source cookbook contains more files than your upload:
  - test/fixtures/cookbooks/test/attributes/default.rb
  - test/fixtures/cookbooks/test/files/cron
  - test/fixtures/cookbooks/test/files/file.txt
  - test/fixtures/cookbooks/test/metadata.rb
  - test/fixtures/cookbooks/test/recipes/apt_repos.rb
  - test/fixtures/cookbooks/test/recipes/cron.rb
  - test/fixtures/cookbooks/test/recipes/cron_d.rb
  - test/fixtures/cookbooks/test/recipes/directory.rb
  - test/fixtures/cookbooks/test/recipes/force.rb
  - test/fixtures/cookbooks/test/recipes/groups.rb
  - test/fixtures/cookbooks/test/recipes/init_d.rb
  - test/fixtures/cookbooks/test/recipes/iptables_d.rb
  - test/fixtures/cookbooks/test/recipes/notifies.rb
  - test/fixtures/cookbooks/test/recipes/sudoers_d.rb
  - test/fixtures/cookbooks/test/recipes/users.rb
  - test/fixtures/cookbooks/test/recipes/yum_repos.rb
  - test/fixtures/cookbooks/test/templates/source.erb
  - test/integration/apt_repos/default.rb
  - test/integration/cron/default.rb
  - test/integration/cron_d/default.rb
  - test/integration/directory/default.rb
  - test/integration/groups/default.rb
  - test/integration/init_d/default.rb
  - test/integration/iptables_d/default.rb
  - test/integration/notified/default.rb
  - test/integration/sudoers_d/default.rb
  - test/integration/unnotified/default.rb
  - test/integration/users/default.rb
  - test/integration/yum_repos/default.rb

 Source: https://supermarket.chef.io/api/v1/cookbooks/zap/versions/2.3.0/download
 =====================================

Magic, thanks for the quick reaction! And I hope you're both good too! 🙂

In case needed or helpful I released v0.7.4 😏


Remove obsoleted task

The task to remove comments in the authorized keys file breaks
the idempotency of [1]. Since https://github.com/crowbar/crowbar/pull/2371 [2] is merged for all Crowbar
versions, we can safely remove it now.
[1] https://github.com/SUSE-Cloud/automation/blob/master/scripts/jenkins/cloud/ansible/roles/ssh_keys/tasks/main.yml#L18
[2] https://github.com/crowbar/crowbar/pull/2371
Signed-off-by: Nicolas Bock<EMAIL_ADDRESS>

Sorry, good point @dirkmueller . You didn't give me a lot of time though to fix this :wink:


[BUG] OSX Segfault with versions 2.2.8 and 2.2.9 (while 2.2.7 is OK)

I am the maintainer of the conda-forge Openimageio package, and the package started segfaulting on import of the openimageio Python package since Version 2.2.8 (which was therefore not integrated on conda-forge).
Update PRs and build logs on all platforms are vailable here:
https://github.com/conda-forge/openimageio-feedstock/pulls

This sounds like https://github.com/OpenImageIO/oiio/issues/2806. Try the patch in https://github.com/OpenImageIO/oiio/pull/2807.
CC @lgritz

This sounds like https://github.com/OpenImageIO/oiio/issues/2806. Try the patch in https://github.com/OpenImageIO/oiio/pull/2807.
CC @lgritz

@SylvainCorlay Are you able to try the patch mentioned above and see if it helps?

@SylvainCorlay Are you able to try the patch mentioned above and see if it helps?

No reply for years. Closing.


Add Metabase

Hi there,
we might want to investigate whether this works and then add Metabase to the list.
With kind regards,
Andreas.
cc @proddata

Added to the backlog file.


Suggested changes for installing Netdiffusion dependencies.

Please consider making the YAML configuration file public to facilitate the installation of Netdiffusion. Currently, the requirements.txt file is not usable by the pip utility.
In my case, I had to create a YAML configuration file from the requirements file thanks to the script provided here: https://gist.github.com/mfansler/5a1a703d1ac6bb2139547003248c3827
In your case, you can create the correct YAML when your environment is active, with this command:
conda env export | head -n -1 | tail -n +2 > environment.yml
Then I create a new virtual environment with the following:
conda create --name my_env pip python=3.10.9
and activate the environment with
conda activate my_env
Then I installed tensorrt-libs from the pypi nvidia repository, as this package is not available in pypi and conda cannot resolve it:
pip install --extra-index-url https://pypi.nvidia.com tensorrt-libs
This step is mandatory to install all requirements listed in the YAML config file.
Next, I downgraded torch and triton to 2.0.1 and 2.0.0 respectively, because some packages were not compatible with torch 2.2.0 stated in the original requirements.txt
Finally, I updated all dependencies with:
conda env update -n my_env -f environment.yml

thanks!

Thanks！this really helped me a lot！Also do you know where the full data set is? Thanks a lot!

Thanks！this really helped me a lot！Also do you know where the full data set is? Thanks a lot!

@TracyTd Unfortunately, the dataset used for the paper is private. The authors only shared an example of PCAP to play with the model. Try to collect your own traffic data or download PCAP datasets from other papers.

@CiroGuida  Thanks a lot!

@CiroGuida  May I ask you one more question? In the Data Preprocessing,is fine_tune/sd-webui-fork/stable-diffusion-webui/webui.sh  downloading from https://github.com/AUTOMATIC1111/stable-diffusion-webui or other places? I can't find correct file in https://github.com/Chasexj/stable-diffusion-webui-fork/tree/2533cf84cad7313b8653717d15728a2d9a862c15. Thank you so much!

@CiroGuida May I ask you one more question? In the Data Preprocessing,is fine_tune/sd-webui-fork/stable-diffusion-webui/webui.sh downloading from https://github.com/AUTOMATIC1111/stable-diffusion-webui or other places? I can't find the correct file at https://github.com/Chasexj/stable-diffusion-webui-fork/tree/2533cf84cad7313b8653717d15728a2d9a862c15. Thank you so much!

Yes, the link is automatic1111. However, the correct version of stable diffusion is already forked into the repository. So, you have to manage two env variables in webui-user.sh (.bat if you are using Windows and modify it according to Windows). Modify them as follows:
`install_dir=$(dirname "$PWD")
Name of the subdirectory
clone_dir="stable-diffusion-webui-fork"`

Thank you very much!


[Bug]: Wildcard characters in Filter By of GoogleSheet do not work

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I try to use wildcard characters in a google spreadsheets query for Filter by it does not work. Known wildcard characters are * (any character) and ?  (one arbitrarily character) both are not working with filter.
Steps To Reproduce

Create a spreadsheet with a single table, as followed:

Name | Eye color | Height
-- | -- | --
Peter | blue | 182
Mary | brown | 172
Andy | green | 174
Camille | blue | 179
Anna | yellow | 160
Cliff | brown | 185

Create a filter for all columns and try to filter with wildcards

For column Eye color, text contains b*

Name
Eye color
Height

Peter
blue
182

Mary
brown
172

Camille
blue
179

Cliff
brown
185

Create a r/o GoogleSheet data source

Create a query for the spreadsheet and table of step 1
a. without Filter By, run query and see result set
b. with Filter By
{
	"condition": "AND",
"children": [
	{
		"condition": "CONTAINS",
		"key": "Eye color",
		"value": "b*"
	}
]
}

run query and see empty result set

Public Sample App
No response
Issue video log
No response
Version
Cloud
 Front conversations

Should also apply to S3 filter I think.


feat: mobile gaps/ content changes

[x] adding accordions for mobile
[x] content updates
[x] styling/spacing fixes
[x] probably some other stuff

since no one got a chance to look at this yet I'm gonna make this a draft and throw some other mobile updates/ content changes I am noticing on the new designs into it.

This pull request introduces 2 alerts when merging 84e755d into 8c599d5 - view on LGTM.com
new alerts:

2 for Unused variable, import, function or class

@shmodarresi  i probably introduced these but maybe you can remove them since you touched it last 🙂

your changes look good to me! ill approve, but probably should let shubhendu check my changes


Achieve underwater effect when using "Set Water Height to Geometry"

How difficult would it be to show the underwater effect when using the "Set Water Height to Geometry" shader?
Or to not have so much pulling of the waves vertically?

I am trying to have an underwater "observatory" - which you can then swim into. I'd like it clear, almost like an aquarium.

Great tool BTW, worth every penny!

 There is work being done towards underwater windows which sounds like what you want. See #462
As for a workaround. I don't think there is any good solution for that at the moment. You would probably be better off using the clip shader to cut out your observatory and disable the underwater effect. And then create your own solution for the water wall like a transparent material that mimics the underwater effect. Then make a transition as you enter the water so that it isn't noticeable.

This is what I’m looking for 100%. Thank you!
For now I have a solution as you mentioned but this would be a lot more seamless and easier to maintain for me.

On Oct 24, 2020 at 4:21 PM,  <daleeidd (mailto:notifications@github.com)>  wrote:
It sounds like you want a wall of water. There is work being done towards underwater windows which sounds like what you want. See  #462 (https://github.com/crest-ocean/crest/pull/462)
As for a workaround. I don't think there is any good solution for that at the moment. You would probably be better off using the clip shader to cut out your observatory and disable the underwater effect. And then create your own solution for the water wall like a transparent material that mimics the underwater effect. Then make a transition as you enter the water so that it isn't noticeable.
—
You are receiving this because you authored the thread.
Reply to this email directly,   view it on GitHub (https://github.com/crest-ocean/crest/issues/674#issuecomment-716050083), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/APDGG5HHP4FJ6QKKS4GC3JTSMMZLFANCNFSM4S5OTFEA).

No worries. It will be a while away. We have to merge in the underwater post processing effect first. I'll close this one for now.


Minor fix

Fix string comparison
Fix possible index out of bound

Codecov Report

Merging #214 into develop will increase coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             develop    #214      +/-   ##
============================================
+ Coverage       0.57%   0.57%   +<.01%
  Complexity         7       7
============================================
  Files             82      82
  Lines           3284    3280       -4
  Branches         521     521
============================================
  Hits              19      19
+ Misses          3264    3260       -4
  Partials           1       1

Impacted Files
Coverage Δ
Complexity Δ

...va/org/apache/dubbo/admin/config/ConfigCenter.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...che/dubbo/admin/service/impl/RouteServiceImpl.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Thank you for your pr, I'll merge it


astar_avoid: handle error returned from calling libwaypointfollower::getClosestWaypoint()

Must be merged after #36
For detailed explanation, see https://gitlab.com/astuff/autoware.ai/core_planning/-/issues/39
See original MR for more details: https://gitlab.com/astuff/autoware.ai/core_planning/-/merge_requests/71

@JWhitleyWork , I just found out about an issue with this PR and #36. See here for details if interested.
Anyway, I'm going to pause work on these two PRs until I sort out a solution.

@JWhitleyWork, this PR and #36 should now be fixed.
I'll update with master once #23 is merged.


Recursively call attributes

Suppose I have a class Foo, which has an array of Bar objects, as follows:
class Foo
  include Virtus.model
  attribute :bars, Array[Bar]
end

class Bar
  include Virtus.model
  attribute :baz
  attributes :bamboo
end

Is there a way to retrieve a attributes hash for each Bar ({ bars: [ {baz:1, bamboo: 2}] }) when I call Foo#attributes? Calling attributes gives me this:
Foo.new(bars: [{baz: 1, bamboo: 2}]).attributes
# => { bars: [#<Bar:0xfd54ad3, @baz=1, @bamboo=2>] }

This would be useful to me as well. IMO to_h and to_hash should not alias attributes but instead return a pure hash. Would a PR in the interim modifying to_h and to_hash to return pure hashes be useful?
Unless 2.0 is right around the corner, but it doesn't look like that's the case.

@bradrobertson we can add that with a limitation that when there are cross-references it will blow up with a stack too deep. You could use a recursion guard too but that will slow it down. I think it's fine to clearly document it and call it a day.

It seems like to_json works as expected by converting all nested models. So a workaround might be JSON.parse(model.to_json).

It seems like to_json works as expected by converting all nested models. So a workaround might be JSON.parse(model.to_json).

looks like this workaround doesn't work anymore

require 'virtus'

class User
  include Virtus.model
end

User.new.to_json #=> NoMethodError: undefined method `to_json' for #<User:0x007fed648427c8>

Is there a recommended way to accomplish this?


Tab Shows "Untitled" in Safari

Although Chrome and Firefox shows the title "Data Analyzer" as it inherits from the index page, the tab for the print page shows "Untitled" on Safari:

https://wordpress.org/support/topic/header-title-does-not-work-shows-as-untitled-document


Submissions Group 132: 2311734_2311847_2311727_2210447_2311441

Team [132]: Implementation of Simulated Annealing Algorithms (SA) and First Fit Decreasing Algorithms (FFD) for the 2D Cutting Stock Problem
1. Overview
In this pull request, our team has developed and implemented two algorithms to address the 2D Cutting Stock Problem: Simulated Annealing and First Fit Decreasing (FFD). These approaches aim to optimize the utilization of stock materials while minimizing waste and computational time.

Simulated Annealing (SA)
Simulated Annealing is a probabilistic optimization technique inspired by the annealing process in metallurgy. For the 2D Cutting Stock Problem, this algorithm starts with an initial feasible cutting pattern and iteratively explores the solution space by making small modifications. By controlling the "temperature" parameter, the algorithm balances exploration and exploitation, gradually reducing the probability of accepting suboptimal solutions to converge towards an optimal or near-optimal cutting plan.

First Fit Decreasing (FFD)
The First Fit Decreasing (FFD) algorithm is a heuristic method that sorts the cutting items in descending order based on their size and then places each item into the first available stock piece that can accommodate it. This method is efficient and straightforward, making it suitable for large-scale problems where computational resources are constrained. FFD aims to reduce the number of stock pieces used, thereby minimizing material waste.

2. Algorithmic Enhancements

Temperature Schedule for Simulated Annealing (SA):

Implemented an exponential cooling schedule to balance exploration and exploitation effectively.
Tuned the cooling rate to ensure convergence within a reasonable computational timeframe.

Efficient Sorting for FFD:

Optimized the sorting mechanism to handle large datasets efficiently.
Ensured that the sorting process minimizes the number of required comparisons, enhancing overall algorithm performance.

3. Comparison of Algorithms
Average Results After Running These Algorithms for 50 Runs:

Metric
Simulated Annealing
First Fit Decreasing
Random
Greedy

Average Fill Ratio
0.445
0.250
0.923
0.291

Average Time (s)
88.2
37.7
36.9
40.6

Average Trim Loss (%)
0.6278
0.1509
0.7647
0.2451

Analysis from Results Table:

Random Policy excels in quickly maximizing space utilization but suffers from high trim loss, making it suitable for applications where speed and high filled ratios are needed, and some inefficiency is tolerable.
Simulated Annealing Policy provides a middle ground with balanced optimization quality, ideal for scenarios where time is less of a constraint, and better overall packing is desired.
First-Fit Decreasing Policy stands out for its ability to minimize trim loss efficiently while maintaining fast computation times, making it a strong candidate for applications prioritizing space efficiency without significant time delays.
Greedy Policy offers a quick and resource-efficient solution with low trim loss but at the expense of a lower filled ratio, suitable for applications where minimizing wasted space is important but not the highest priority.

4. Challenges and Solutions for Simulated Annealing
1. Balancing Exploration and Exploitation in Simulated Annealing:

Solution: Fine-tuned the cooling schedule to maintain an optimal balance, allowing sufficient exploration in the early stages while ensuring convergence in later stages.

2. Handling Large Datasets Efficiently:

Solution: Optimized data structures and implemented efficient sorting algorithms to manage and process large-scale cutting patterns without significant performance degradation.

3. Minimizing Computational Time for Simulated Annealing:

Solution: Parallelized certain components of the algorithm and leveraged optimized mathematical libraries to reduce overall computation time.

5. Implementation Details - Roles and Contributions

Nguyễn Đức Trung Kiên (2311734 – L04): Implementation of the First Fit Decreasing Algorithm.
Huỳnh Nhật Linh (2311847 – L04): Implementation of the Simulated Annealing Algorithm.
Đỗ Nguyễn Quốc Kiên (2311727 – L02): Modeling the Cutting Stock 2D Problem.
Trịnh Việt Cường (2210447 – L03): Supported the integration of both algorithms into the main application workflow.
Nguyễn Đăng Minh Khang (2311441 – L04): Latex coding and integration report.

Last chance to revise the PR until the end of Dec 17.

During the submission process, we encountered many problems using github, I hope you will forgive us. Can you check it again and merge our PR, thank you for give us chance


Prompt for targetCluster and targetNamespace

Is your feature request related to a problem? Please describe.
After the initial configuration of the extension, a task is created with targetCluster and targetNamespace set. This means that, to target a different cluster/namespace, either the extension should be reconfigured, or the tasks.json file edited manually.
Mention what platform you want to support the new feature
vscode
Describe the solution you'd like
I'd like to be prompted to choose the targetCluster and targetNamespace, if they haven't been set to a fixed value.
Describe alternatives you've considered
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "bridge-to-kubernetes.resource",
      "type": "bridge-to-kubernetes.resource",
      "resource": "nearbyone-device-manager",
      "resourceType": "service",
      "ports": [5300],
      "targetCluster": "${input:targetCluster}",
      "targetNamespace": "${input:targetNamespace}",
      "useKubernetesServiceEnvironmentVariables": false,
      "targetContainer": "device-manager"
    }
  ],
  "inputs": [
    {
      "id": "targetCluster",
      "description": "Target Kubernetes cluster",
      "type": "promptString"
    },
    {
      "id": "targetNamespace",
      "description": "Target Namespace",
      "type": "promptString"
    }
  ]
}

I've tried using ${input:} placeholders, and was prompted as expected, but then I got an error message, since it appears that:

the placeholders weren't expanded
the targetCluster and targetNamespace need to match the current context, as set in the Kubernetes extension

I also tried to make this task depend on another task to select the current k8s context, but was unsuccessful in doing so.
Additional context

To be honest, I'm not 100% clear on the role of these parameters, if indeed they should always match the settings in the Kubernetes extension.

@fenech Thanks for this request, initially I thought it is an enhancement and looked into this but seems like not an enhancement. bridge to kubernetes is dependant on k8s extension (left panel) in vscode and cluster, namespace selection is also depending on k8s extension. if you have to switch you have to use k8s extension to choose a different cluster and namespace. Because b2k relies on the current kube context's which can be modified via the k8s extension. Here is the code reference here.
The parameters targetNamespace and targetCluster are required by the b2k extension to pass it to the b2k CLI which actually starts the debug/connect session for the user. And these parameters are received from k8s extension.

If you still think this feature needs to be present in b2k extension, please let me know reason or purpose for this so that I can take this back to my team to see if this can be done. Thank you.


Patches for Debian package

hello knopflerfish developers,
I am using this channel because unfortunately, no mailing list seems to exist
(http://www.knopflerfish.org/mailman/listinfo). Is there something I missed?
I have two simple questions concerning patching 6.1.0's framework's build system (osgi/framework/build.xml):

how can I build with another osgi.annotation jar? I tried this:

-  <property name="osgi.annotation.jar" location="${topdir}/annotations/osgi.annotation-6.0.1.jar"/>
+  <property name="osgi.annotation.jar" location="/usr/share/java/osgi.annotation.jar"/>

but I still get:
[javac]
/home/felix/knopflerfish-osgi-unstable/knopflerfish-osgi/osgi/framework/src/org/osgi/framework/Constants.java:19:
error: package org.osgi.annotation.versioning does not exist

$ jar tf /usr/share/java/osgi.annotation.jar
META-INF/
META-INF/MANIFEST.MF
org/
org/osgi/
org/osgi/annotation/
org/osgi/annotation/versioning/
org/osgi/annotation/versioning/ConsumerType.class
org/osgi/annotation/versioning/ProviderType.class
org/osgi/annotation/versioning/Version.class
org/osgi/annotation/versioning/package-info.class

How can I build without android support? Is the following patch correct?

-  <import file="${ant.dir}/android.xml"/>
+  <!--<import file="${ant.dir}/android.xml"/>-->

Many Thanks!
Felix

Hi Felix,

It should work fine to change the path to the annotation jar. Have you tried to replace the osgi.annotation-6.0.1.jar with your copy in the original build system?

Should work fine. You can also unset the ANDROID_HOME environment variable to disable android builds.
/Jan

hi Jan,
thanks for the quick reply. The property seems to be ignored, but your hint led me to
create a symlink of Debian's jar to where your build system expects it:
ln -s /usr/share/java/osgi.annotation.jar osgi/annotations/osgi.annotation-6.0.1.jar
This works fine, thanks!

Great that you found a solution. The reason for the property seemingly being ignored is that the jar is referred in several locations (ant/bundlebuild.xml, ant/bundletasks.xml, osgi/build.xml and osgi/framework/build.xml). So depending on how and what you build, these different definitions will be used).


Infer from arrows from usage.

Previously only function expressions were, and only those with an easily accessible name. Now any arrow function or function expression will infer from usage.
Fixes #28826

I'll port this to 3.2 if we decide to ship to 3.2.2.

I think this is simple enough to put in 3.2. I'll cherry-pick it and update when it's in.

All right, it's in 3.2 now.


Fixes Atom API deprecated use of project.getPath()

Use getPath()[0] instead.
Fixes #21

This can be pushed as 0.10.1 :)

done :)

awesome :+1:

@alkama Blazingly fast! :)


Between epoch time is very slow.

https://github.com/Lightning-AI/lightning/discussions/12080
something is happening here, no workers, no validation loops, but there is a long pause between epochs on colab, needs to be profiled on other systems as well.

This seems to be specific to colab -> https://stackoverflow.com/questions/49360888/google-colab-is-very-slow-compared-to-my-pc


Option 'Search' doesn't show results.

Seems, search doesn't work:
https://demoapp.trains.allegro.ai/projects

Hi @constructor-igor,
The search input field requires at least 3 characters before a search is performed - try adding a space after the search query shown in your screen capture.


[Bug]  KubeRay Job CRD doesn't get it's status updated to "Failure"

Search before asking

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

KubeRay Component
ray-operator
What happened + What you expected to happen
When submitting a Kuberay Job (ray job CRD) that is guaranteed to fail, the ray job status is updated to a JobStatusFailed with the Status object not being created.
The spawned batchv1.Job has its BackoffLimit set to the default value of 6, which would cause it to be rerun 6 more times, with the subsequent runs failing with this error message:
2023-10-11 01:08:19,318    INFO cli.py:36 -- Job submission server address: http://sample-cluster-head-svc.ray-system.svc.cluster.local:8265
Traceback (most recent call last):
  File "/home/ray/anaconda3/bin/ray", line 8, in <module>
    sys.exit(main())
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/scripts/scripts.py", line 2498, in main
    return cli()
  File "/home/ray/anaconda3/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ray/anaconda3/lib/python3.8/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ray/anaconda3/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/dashboard/modules/job/cli_utils.py", line 54, in wrapper
    return func(*args, **kwargs)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/autoscaler/_private/cli_logger.py", line 856, in wrapper
    return f(*args, **kwargs)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/dashboard/modules/job/cli.py", line 262, in submit
    job_id = client.submit_job(
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/dashboard/modules/job/sdk.py", line 231, in submit_job
    self._raise_error(r)
  File "/home/ray/anaconda3/lib/python3.8/site-packages/ray/dashboard/modules/dashboard_sdk.py", line 283, in _raise_error
    raise RuntimeError(
RuntimeError: Request failed with status code 500: Traceback (most recent call last):
  File "/home/ray/anaconda3/lib/python3.10/site-packages/ray/dashboard/modules/job/job_head.py", line 287, in submit_job
    resp = await job_agent_client.submit_job_internal(submit_request)
  File "/home/ray/anaconda3/lib/python3.10/site-packages/ray/dashboard/modules/job/job_head.py", line 80, in submit_job_internal
    await self._raise_error(resp)
  File "/home/ray/anaconda3/lib/python3.10/site-packages/ray/dashboard/modules/job/job_head.py", line 68, in _raise_error
    raise RuntimeError(f"Request failed with status code {status}: {error_text}.")
RuntimeError: Request failed with status code 400: Traceback (most recent call last):
  File "/home/ray/anaconda3/lib/python3.10/site-packages/ray/dashboard/modules/job/job_agent.py", line 45, in submit_job
    submission_id = await self.get_job_manager().submit_job(
  File "/home/ray/anaconda3/lib/python3.10/site-packages/ray/dashboard/modules/job/job_manager.py", line 903, in submit_job
    raise ValueError(
ValueError: Job with submission_id failing-sample-job-g5fkm already exists. Please use a different submission_id.

The expected behaviour is:

The RayJob would have a failed status
Only one batchv1.Job would be submitted and not retried.

Reproduction script

Create kind cluster
Deploy KubeRay operator
Create namespace ray-system: kubectl create namespace ray-system
Create ray cluster using the attached sample: kubectl apply -f
cluster.yaml.txt
Submit ray job using the attached sample ray job: kubectl apply -f
fail_fast_job.yaml.txt

After 20 minutes or so the batchv1.Job status looks like this:
status:
  conditions:
  - lastProbeTime: "2023-10-11T08:27:32Z"
    lastTransitionTime: "2023-10-11T08:27:32Z"
    message: Job has reached the specified backoff limit
    reason: BackoffLimitExceeded
    status: "True"
    type: Failed
  failed: 7
  startTime: "2023-10-11T08:07:29Z"

The ray job status is not update.
Deleting the ray job does not delete the batchv1 job. An odd thing I noticed while looking at the batchv1 job yaml is the owner labels, I suspect they should point to the RayJob instance.
apiVersion: batch/v1
kind: Job
metadata:
  creationTimestamp: "2023-10-11T08:07:29Z"
  generation: 1
  labels:
    controller-uid: 1d40a907-916f-426c-aa60-9c867ac1e389
    job-name: failing-sample-job
  name: failing-sample-job
  namespace: ray-system
  ownerReferences:
  - apiVersion: ray.io/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: RayCluster
    name: sample-cluster
    uid: 9e997f94-8574-40a1-b12d-b44a15dfaef3
  resourceVersion: "69390"
  uid: 1d40a907-916f-426c-aa60-9c867ac1e389

Anything else
This might related to #1478 and #1233.
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

@kevin85421 could you please assign it to me?


fix(console): app details

The app details for OIDC apps show the SAML config and URLs. In the OIDC apps URLs section, the OIDC URLs are not even listed, only the useless SAML URLs.
This PR fixes this bug introduced with #7572.
The following screenshots show the new details pages.
API

OIDC

SAML

Definition of Ready

[x] I am happy with the code
[x] Short description of the feature/issue is added in the pr description
[x] PR is linked to the corresponding user story
[x] Acceptance criteria are met
[x] All open todos and follow ups are defined in a new ticket and justified
[x] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[x] No debug or dead code
[x] My code has no repetitions
[x] Critical parts are tested automatically
[ ] Where possible E2E tests are implemented
[ ] Documentation/examples are up-to-date
[x] All non-functional requirements are met
[ ] Functionality of the acceptance criteria is checked manually on the dev system.

works, but IMO we should add at least the introspection_endpoint and jwks_uri and maybe even revocation_endpoint for APIs.

works, but IMO we should add at least the introspection_endpoint and jwks_uri and maybe even revocation_endpoint for APIs.

I mapped the URLs explicitly, fixed their order, added the mentioned URLs to the API and prettified the keys.

sorry apparently overlooked that before, but just noted that the issuer is missing on the OIDC configs
and wouldn't it make sense to have the entityID / metadata endpoint on the SAML config, resp. could we even use that for the link instead of well-known? maybe also any input on that from @stebenz?