custom data tests with CTEs fail

background
Per @alittlesliceoftom's Slack thread.
Steps to reproduce:

write a data test that uses CTE clause,
dbt wraps the data test's query into another CTE.
Synapse returns an error because it does not allow for nested CTEs.

Example
tests/example.sql
WITH cte_test AS (
    SELECT * FROM {{ref('interesting_moments')}}
)
select TOP 0 * FROM cte_test

target/compiled/ava_its_data/tests/example.sql
This doesn't work as Synapse does not allow a single WITH clause inside of
with dbt__CTE__INTERNAL_test as (
WITH cte_test AS (
    SELECT * FROM "june_sql_pool"."ajs_mkt"."interesting_moments"
)
select TOP 0 * FROM cte_test
)select count(*) from dbt__CTE__INTERNAL_test

potential workarounds
haven't thought much about the best solution yet...
add the wrapped CTE to the end of the CTE chain?
Synapse doesn't support nested CTEs, but it does supported "chained referencing" of CTEs inside a single WITH clause. So the example below works, but I don't know how I would conditionally do this only when the data test has a CTE
WITH
cte_test AS (
    SELECT * FROM "june_sql_pool"."ajs_mkt"."interesting_moments"
),
dbt__CTE__INTERNAL_test AS (
    select TOP 0 * FROM cte_test
)
select count(*) from dbt__CTE__INTERNAL_test

create and dispose of a view/ temp table instead of a CTE?
CREATE VIEW  dbt__CTE__INTERNAL_test as
WITH cte_test AS (
    SELECT * FROM "june_sql_pool"."ajs_mkt"."interesting_moments"
)
select TOP 0 * FROM cte_test;

select count(*) from dbt__CTE__INTERNAL_test

DROP VIEW dbt__CTE__INTERNAL_test

@jtcohen6 I looked at https://github.com/fishtown-analytics/dbt/pull/2712, but I'm still a little lost as to how (or where) to do the overriding. I got very excited when I saw dbt-spark had the same issue (https://github.com/fishtown-analytics/dbt-spark/issues/11) but it looks like a Spark update obviated the need for overwriting. Perhaps if we wait a year, the same thing will happen for Synapse?

this is the same issue as https://github.com/mikaelene/dbt-sqlserver/issues/26

@swanderz I had a chance to mess around with this, check out #29. I tried implementing your second idea for potential workarounds.

Hi both,
This issue maybe should be broadened to "Logic dependent on nested CTE's doesn't work".
Another example in the estate is in dbt-utils:
{{ dbt_utils.date_spine(
datepart="day",
start_date="cast(GETDATE() -10 AS DATE)",
end_date="cast(GETDATE() as date)"
)
}}
creates:
/*
call as follows:
date_spine(
"day",
"to_date('01/01/2016', 'mm/dd/yyyy')",
"dateadd(week, 1, current_date)"
)
*/
with rawdata as (
with p as (
    select 0 as generated_number union all select 1
), unioned as (

select

p0.generated_number * pow(2, 0)
 +

p1.generated_number * pow(2, 1)
 +

p2.generated_number * pow(2, 2)
 +

p3.generated_number * pow(2, 3)

+ 1
as generated_number

from

p as p0
 cross join

p as p1
 cross join

p as p2
 cross join

p as p3

)

select *
from unioned
where generated_number <= 10
order by generated_number

),
all_periods as (
select (

dateadd(
    day,
    row_number() over (order by 1) - 1,
    cast(GETDATE() -10 AS DATE)
    )

) as date_day
from rawdata

),
filtered as (
select *
from all_periods
where date_day <= cast(GETDATE() as date)

)
select * from filtered
Of course this one we could hopefully fix in our tsql-utils package.

good point, but I think you're right in that we'll have to solve this problem in two places, in the __add_ctes() method, and in tsql-utils


fix: default values for optional parameters

Addresses: https://github.com/stoplightio/platform-internal/issues/7664
Removes default value from optional enum parameters.
Adds required property when mapping from JsonSchema to OpenApi parameter schema.
Simple API document for testing: api

Code looks good, and it works, but once you select an option there is no way to unselect it. Would it make sense to include blank option if the field is not required? 🤔

That's valid point. I'll add it


pull request for e2e test at 01/16/2017 09:45:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Database replication is slow

Replication speed is better now, may have been fixed as a side effect of another bug fix or code refactor. Closing for now.


Move log message output(fprintf, puthcar) to target code

Related issue #752
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

@egavrin , moved jerry_port_l@ogmsg(), jerry_port_errormsg() and jerry_port_putchar() to main.h file as your comment.

LGTM

@LaszloLango , any comments?

Sorry for the long delay. Looks good to me.

Thank you :)


Add configuration option to locate project without --workspace to only run check on local crate

I'm working in a project that uses a Cargo Workspace and has some large crates. I want to be able to iterate with commands like cargo check on just my crate.
I think one wait to do this would be to add a config to not include --workspace in the cargo locate-project command.
I might take a stab at it, but wanted to post here in case others are interested or there's a better workaround already

OK took a crack at it, seems to work for me

Thanks, I saw your PR. I think instead of the approach you have taken here, you should make it accept universal argument to pass custom arguments instead.
That's how we do it in rustic where this workflow is already implemented: https://github.com/emacs-rustic/rustic/blob/17a79c659b0eb304e35705facb114caf61eae2e9/rustic-cargo.el#L703

Ah that makes sense, and then just have it default to --workspace?
Although now I might just switch to rustic :-D

Ah that makes sense, and then just have it default to --workspace?

This is the default we have there: https://github.com/emacs-rustic/rustic/blob/17a79c659b0eb304e35705facb114caf61eae2e9/rustic-cargo.el#L90
But yeah, --workspace also seems a reasonable default.

Although now I might just switch to rustic :-D

Cool, note that the installation instruction might need some updates etc. Feel free to send PR's. The fork is not officially announced yet. For more background, here is the information: https://psibi.in/posts/rustic.html

whereas rust.el is setting the project root once in the function rust-buffer-project and then using it for each sub-command in rust--compile.

You're right.
Given the situation, I'm starting to lean towards your current implementation.

but now I need to start thinking about a migration path

I'm not sure if it's a good idea to cause such a big breaking change.

That's definitely fine with me :)
I haven't used github in a while and I can't seem to figure out how to kick off the CI job again - though it looks like it should be fixed. Am I missing something obvious? (All the internet instructions just say to click some button with a rewind icon but of course I don't have that button)

@bradneuman I have left a comment here: https://github.com/rust-lang/rust-mode/pull/546#discussion_r1600884096

Closing this as it has been addressed by https://github.com/rust-lang/rust-mode/pull/546


feat: derive * for recursive structures

Resolves #7

This is sic!
P.S. I feel we should have killed borsh-schema earlier, so you would not need to spend so much effort implementing it...
Well, at least it has some unique quirks, that are more interesting when tried to be implemented than copy-and-paste of functionality from serde )


ldapjs search not working in the production mode

We are using
`
$ node --version
v16.13.0
"ldapjs": "^2.3.3"
`
But it's working perfectly in the development mode.
How can I resolve the issue?

I have no idea what you are describing. This library does not have "modes". Please provide a minimal reproduction.

👋
On February 22, 2023, we released version 3 of this library. As a result, we are closing this issue/pull request.
Please see issue #839 for more information, including how to proceed if you feel this closure is in error.


Documentation seems fuzzy on references

I was not able to easily discern the semantic differences between the dependencies, lock, and reference files. Your documentation does not speak to the model of version documenting. Clearly, a lot of work went into the documentation but it seems some concept scaffolding is needed.

thx for the feedback. do you see a way to improve the docs? I'm always happy to get help with that. we have so many docs pages and it's hard to get real strcuture into it.

I welcome the opportunity to help. Of course, I don't know Paket.
I would recommend the following:

maintaining a comprehensive glossary
make expansiveness implicit such that dependency implies transitive dependencies as well (had to look that word to see if it meant some other kind of dependency)
focus on describing the implicit NoSql database that holds all that project information

One of the key benefits of this project is exposing a functional description of the API's of Nuget and GitHub repositories.
I've include a sample preliminary glossary extracted from documentation in creating this response (I dove back in a little):
paket.dependencies: The file is used to specify rules regarding your application's dependencies.
paket.lock: The file records the concrete dependency resolution of all direct and indirect dependencies of your project.
paket.references: The file used to specify which dependencies are to be added to installed into the MSBuild projects in your repository.
paket.template: These files are used to specify rules to create nupkgs by using the paket pack command.
.paket: This folder is used the same way a .nuget folder is used for the NuGet package restore. Place this folder into the root of your solution. It should include the paket.targets and paket.bootstrapper.exe files which can be downloaded from GitHub. The bootstrapper.exe will always download the latest version of the paket.exe file into this folder.
The complexity of packet design concerns me. It seems unnecessary.

see http://fsprojects.github.io/Paket/glossary.html - please send PRs

no idea what you mean ;-)

do you mean the lock file?
"Paket data model seems unnecessarily complex despite having no automatic provision for using multiple versions of the same package in a solution which may be expected from "transient" dependencies."

What you describe is a version conflict which is usally just ignored by NuGet. we have ways to resolve this. One way is via groups (see http://fsprojects.github.io/Paket/groups.html#Conflict-resolution-with-groups)

...Your documentation is written against the concepts of Nuget in which secondary or transient or indirect dependencies are not handled well; so, as I understand it, that's why the transient concept is emphasized. However, dependency is inherently expansive since A=>B=>C implies A=>C. Consequently, the emphasis was a bit confusing.

The data model of paket would appear to correctly handle, among other things, a dependency chain such as, A=>C1 & A=>B=>C2. I believe it would be useful to talk about the functionality from the perspective of the data architecture.


Language injections: syntax highlight HTML/CSS/JSON... in the surrounding content of the template

Detect the language of the surrounding template, and then inject it for content rules.
References:

https://github.com/IndianBoy42/tree-sitter-just/blob/6aee3d2f5b3a47286bae0916daaa6c7a217f6fa4/queries/just/injections.scm

Could use @injection.filename for Whiskers templates on the whiskers.filename property: https://neovim.io/doc/user/treesitter.html#treesitter-language-injections.
Still planning on using some sort of comment syntax as well though, e.g. {# tera-content-language: toml #}.


Build Instructions

Instructions are unclear on how to build.
Installing all the dependencies and using:
cmake .
make

compiles successfully & produces an executable, but is significantly smaller than the released binary, and coredumps shortly after launching.
I'm building on Arch Linux and have deps vulkan-headers, glfw, p7zip, zenity, pugixml, curl, & cmake installed. The released binary works as well.

That's certainly a tricky one, you say vulkanheaders I'm assuming you used
sudo pacman -S vulkan-devel
As its the largest libary I can think of that would cause significant size
decrease
On Sun, 17 Sept 2023, 01:33 GraithTiger, @.***> wrote:

Instructions are unclear on how to build.
Installing all the dependencies and using:
cmake .
make
compiles successfully & produces an executable, but is significantly
smaller than the released binary, and coredumps shortly after launching.
I'm building on Arch Linux and have deps vulkan-headers, glfw, p7zip,
zenity, pugixml, curl, & cmake installed. The released binary works as
well.
—
Reply to this email directly, view it on GitHub
https://github.com/CHollingworth/Lamp/issues/20, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGLQVOWNHT6UX5BIUKHYP3X2ZALXANCNFSM6AAAAAA43HFNWI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Compiling with debug symbols enabled, and running with GDB, I get
[New Thread 0x7fffebbff6c0 (LWP 170706)]
[New Thread 0x7fffeb3fe6c0 (LWP 170707)]
[New Thread 0x7fffeabfd6c0 (LWP 170708)]
[New Thread 0x7fffea3fc6c0 (LWP 170709)]
[New Thread 0x7fffe9bfb6c0 (LWP 170710)]
[LAMP:LOG:0] Initializing Lamp FileSystem
[LAMP:LOG:0] Creating Game directories
[LAMP:LOG:0] LAMP CONFIG
[LAMP:LOG:0] Baldur's Gate 3
[LAMP:LOG:0] Finished creating Game directories
[LAMP:LOG:0] Loading Lamp Config
[LAMP:LOG:0] Loading LAMP CONFIG:ShowIntroMenu
[LAMP:LOG:0] Loading LAMP CONFIG:CurrentGame
[LAMP:ERROR:0] Could not load modlist.

Thread 1 "Lamp" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;

Now that is, very strange, from reading the errors, ImGui_ImplGlfw_Init seems to be getting called twice or early, as this is what would cause the assert error. inside imgui_impl_glfw could you uncomment line 536. if this printf doesnt get called or called twice i may need to consider swapping imgui backends for arch.

it may be worth downloading imgui-1.89.8 and changing the backends on your side to see which will compile sucsesfully. it may be that i move from vulkan to opengl2 or 3

Updated my build script to:
  cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_SHARED_LIBS=ON \
    -S. \
    -B build
  cmake --build build

The binary is much larger now (~14.5 MB), however I'm still seeing a segfault or abort right after the program initializes. Commenting the lines in imgui_impl_glfw.cpp & imgui_impl_vulkan.cpp throws  new errors:
`malloc(): smallbin double linked list corrupted'
&
lamp: /usr/src/debug/lamp/Lamp-1.0.6/imgui/imgui.cpp:9200: void ImGui::ErrorCheckNewFrameSanityChecks(): Assertion (g.FrameCount == 0 || g.FrameCountEnded == g.FrameCount) && "Forgot to call Render() or EndFrame() at the end of the previous frame?"' failed.`
The released binary for 1.0.6 still runs without crashing though.

Id recommend having ago using ninja (i use clion) my build script looks like this.
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/snap/clion/250/bin/ninja/linux/x64/ninja -G Ninja -S /home/c/DEV/Lamp -B /home/c/DEV/Lamp/cmake-build-debug

Build instructions will be added to the wiki


Facebook proof problem

I can't prove my Facebook identity. I tried with macOS Desktop App and cli command, I got a public post on my Facebook timeline ( https://www.facebook.com/J0nathan.Di.Pasquale/posts/113316615926589 ), it's public but Keybase says that it can't verify the proof. ( https://keybase.io/jdipasquale/sigchain#44b9e5a839e77d03af6183ceefcbc64ad6b2497e5996c120f99037cf7869663c0f )
Any idea or suggestion pls ?

Have a similar problem. When it asks for my Facebook login name, I always get an error ('bad name'). I've tried to use the name that appears as the URL when logged into Facebook - it accepts that <firstname.surname.9480> but never finds my short public post. I've tried numerous time - it just never works!

If I try and use my full username as URL to login to facebook https://www.facebook.com/firstname.surname.9480 I get a screen that says: "This page isn't available - The link you followed may be broken, or the page may have been removed." Except it isn't...... If I try with http instead of https, it converts the URL to https - and fails. No wonder I can't verify!!


Unconditionally create saved game folder

Fixes #432.
Before the code would skip creation of the saved games folder if a folder of that name existed within one of the mounted read folders. That was a problem if the folder didn't also exist within the write folder. That would lead to (directory) "not found" errors when attempting to save a game.
On Linux it doesn't appear to be an error to create a directory that already exists. Could someone please confirm this works on Windows? It may help to delete the user folder when testing (or at least any "savedgames/" subfolder):

"C:\\Users\\<user>\\AppData\\Roaming\\LairWorks\\OutpostHD"

It may also help to create a "savegames/" folder within the static "data/" folder when testing this.

Verified to work on Windows.


ContainerServiceVMSize enumeration contains VMSize not supported by AKS agent pool

The API spec definition that enumerates the VM sizes for AKS agent pools https://github.com/Azure/azure-rest-api-specs/blob/master/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json#L1098
contain VM Size that is not valid for AKS agent pool.
According to https://docs.microsoft.com/en-us/azure/aks/quotas-skus-regions#restricted-vm-sizes the Standard_A1_v2 VM Size is not allowed for AKS agent pools however https://github.com/Azure/azure-rest-api-specs/blob/master/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json#L1098 contains it.
This causes AKS cluster creations through API to fail with containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="The VM SKU chosen for this cluster Standard_A1_v2 does not have enough CPU/memory to run as an AKS node. Please see https://aka.ms/aks/restricted-skus for more details.
cc @lpuskas @ArcturusZhang

@mboersma @xuto2, can you have a look at this issue?

@raych1 @yangl900 any update on this?


Comments cut off

Slide v0.5.11, iPhone SE 10.2.1

Link to post:
https://redd.it/8lifn6

Fixed, related to #198


Cannot generate background

I have not read the arxiv so I am not sure if it intended. I tried to generate some small objects. If the image is not covered by the regions fully, there will be noise at those uncovered regions.
images = pipe(
        canvas_height=640,
        canvas_width=1408,
        regions=[
            Text2ImageRegion(0, 320, 0, 320, guidance_scale=4,
                             prompt="a dog"),
            Text2ImageRegion(0, 320, 384, 1024, guidance_scale=4,
                             prompt="a man"),
            Text2ImageRegion(0, 320, 768, 1408, guidance_scale=4,
                             prompt="a girl")
        ],
        num_inference_steps=50,
        seed=0,
    )["sample"]

Yes, unfortunately this is a problem of using this technique: if you do not cover the whole canvas with regions you will get a very noisy image.
This is because the diffusion is done in a latent space, and to recover the image in pixel space you need to apply a decoder network. Unfortunately, because of the way the decoder works, any value in latent space can have some influence in any pixel in the output. Therefore, if the diffusion process is not applied for some values in latent space, they will corrupt the whole pixel space with noise.
I have not tested this idea, but maybe to address this issue you could try adding some Text2ImageRegion that covers those parts of the canvas, specifying a simple prompt like "white background" or something similar.

Thanks for clarification. Yeah a simple "background" prompt at blank area looks nice.


10/30/2018 05:52 : Create Pull Request for branch master -> prTesting1_2018103005

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


python action handling / use of | confusing

python actions appear to be parsed as:
(1) Single line of python:
      action:
        python_script:  print text

(2) Multi-line python:
      action:
        python_script: |
            print text
            print text

Unfortunately, it seems that:
(1)  The documentation doesn't call out that the use of | is REQUIRED for multi-line python scripts
(2)  The documentation doesn't call out that the use of | is FORBIDDEN for single-line python scripts
The behaviour is inconsistent and also confusing -- it would be infinitely better to simply have single-line and multi-line python scripts behave in the same way.

adding @SamMarkowitz

I will add a note in the action section of the docs about using the | for multiline YAML strings.

@SamMarkowitz did you fix it already?

An explanation of pipe usage has been added to the YAML Overview section and a note mentions it in the python_action section as well. I think that should do it. Closing.


Support for deploying JSPs

IIRC JSPs on Jetty were kinda quirky. Need to research this topic and allow apps to include JSPs in the static folders.

Will be great if possible to move this feature to separate module, like boutique-jetty-jsp.

I guess we are not interested in this anymore.

I guess we are not interested in this anymore.


cannot rollback - no transaction is active (code 1) in RuntimeExceptionDao#callBatchTasks

The following exception has been encountered:
android.database.sqlite.SQLiteException: cannot rollback - no transaction is active (code 1)
	at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
	at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:679)
	at android.database.sqlite.SQLiteSession.endTransactionUnchecked(SQLiteSession.java:439)
	at android.database.sqlite.SQLiteSession.endTransaction(SQLiteSession.java:401)
	at android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:522)
	at com.j256.ormlite.android.AndroidDatabaseConnection.setAutoCommit(SourceFile:77)
	at com.j256.ormlite.misc.TransactionManager.callInTransaction(SourceFile:197)
	at com.j256.ormlite.stmt.StatementExecutor.callBatchTasks(SourceFile:553)
	at com.j256.ormlite.dao.BaseDaoImpl.callBatchTasks(SourceFile:633)
	at com.j256.ormlite.dao.RuntimeExceptionDao.callBatchTasks(SourceFile:534)

ormlite-android:4.48
ormlite-core:4.48
Android: 4.1.2
Only DB operations in Callable are createOrUpdate.

Sorry for the delay.  Were you able to reproduce this?   Can you write a junit that demonstrates the issue?   We are getting ready to [finally] push 4.49 and I'd like to make sure this isn't an issue.

I haven't tried to reproduce that. Error has been reported by ACRA from some user. Currently there is several such reports and additionally several almost the same, with message: disk I/O error (code 778) all of them comes from Samsung GT-I9100 with android 4.1.2 (not from one app installation). That may be a bug(s) in particular version of sqlite native library.

If you're seeing this on a single device/version, that will be very difficult to reproduce.  Any idea if this is from a single user?  The sqlite error code specifically suggests a hardware issue.  Not sure that is the issue, but if its possibly a single user, its fairly likely.  https://www.sqlite.org/rescode.html#ioerr_write

I've got 10 automatic reports (sent by ACRA) from 3 different installations. If we assume that users has not cleaned app data nor reinstall an app then then there are 3 users.

user #1 - 2x cannot rollback
user #2 - 1x disk I/O error
user #3 - 3x disk I/O error, 4x cannot rollback

Hrm.  Interesting.  Is there any chance that multiple threads are using callBatchTasks(...) at the same time?  Since there is one database connection, two threads might be clashing when they try to start and end transactions.

I've just added the following to the notes in Dao.callBatchTasks(...):
NOTE: Depending on your underlying database implementation and whether or not you are working with a single database connection, you may need to synchronize around calls to this method otherwise the database transactions that are used may clash when called simultaneously from multiple threads. You may also need to synchronize other calls to transactions and dao.setAutoCommit(...).

Related to https://github.com/j256/ormlite-android/issues/16

Reopen this issue if threading is not the problem.  Thanks.

I guess one question would be should ORMLite be forcing the synchronization?

It was possible that multiple threads used transactions at the same time. Isn't there any mechanism that prevents such clashes in Android SQLite related classes? I see eg. SQLiteSession#TRANSACTION_MODE_EXCLUSIVE.

I wouldn't do any locking in ORMLite for the sake of Android.  If you're using one SqliteOpenHelper globally in your app, multiple threads are OK.  There's synchronization happening at the Java level.  If you have multiple open helper instances, or multiple processes accessing the db, then you have issues.
If you're having multi-threading issues, we'd need to see more code and how you're accessing the db.  This is very well word territory from an Android perspective, though.  If there's a threading issue, its pretty much always that you have more than one connection open.

For reference: http://stackoverflow.com/questions/2493331/what-are-the-best-practices-for-sqlite-on-android/3689883#3689883

I am using one global helper instance, app has only one process and I am not touching the database without OrmLite. Instance of the helper is acquired like this: OpenHelperManager.getHelper(this, DatabaseHelper.class); in application's onCreate() only, DatabaseHelper extends OrmLiteSqliteOpenHelper. Any more info would be helpful?

Can't really do anything without a way to reproduce the issue.  at a minimum we'd need to see your code.  We're just looking at a stack trace and a description of the issue.

Here it is:
	final Calendar cal = getCalendarWithTimezone();
        final RuntimeExceptionDao<LocalUsage, Integer> localUsageDao = getLocalUsageDao();

        final long oldestTimestamp = getOldestTimestamp();
        final long baseUsage = getBaseUsage();
        final long bootTimestamp = getBootTimestamp();

        localUsageDao.callBatchTasks(new Callable<Void>()
        {
            @Override
            public Void call() throws Exception
            {
                while (cal.getTimeInMillis() > oldestTimestamp)
                {
                    long usage = cal.getTimeInMillis() > bootTimestamp ? baseUsage : -1L;
                    localUsageDao.createOrUpdate(new LocalUsage(cal.getTimeInMillis(), usage));
                    cal.add(Calendar.DAY_OF_MONTH, -1);
                }
                return null;
            }
        });

LocalUsage constructor does nothing except assigning field values.
I guess that database file could not be saved when commiting transaction due to some I/O failure (as described in your link). Some bug related to file I/O may exist in that particular ROM of SGS2. Maybe it will be possible to reproduce that with messing up with database file when transaction is in progress eg. corrupting it.


Configuration can not correctly locate the right folder to appsettings.json

Describe the bug
Here's my project folder structure
ToolHub
    -- ToolHub.Server
        -- Properties
            -- appsettings.json
            -- appsettings.Development.json
My environment:

dotnet core 3.0 preview7
Blazor ASP.NET Core hosted project

The Blazor ASP.NET Core hosted template will create appsettings.json within ToolHub.Server\Properties
I try to use appsettings.Development.json and appsettings.Production.json to setup different environment settings.
However, dotnet core will try to find appsettings.json in ToolHub.Server root folder instead of ToolHub.Server\Properties. And lead to no data in appsettings.

I'm not sure if the appsettings.json is miss-placed for template or there's option we can specify the path where Configuration looks for appsettings.json

After I create new preview6 and preview7 Blazor project, there's no appsettings.json within Server\Properties\ folder. I was thinking the appsettings.json is created by project template, I guess I was wrong.
Please help to close this issue. thanks.


There might be a race condition with mirakuru and our node_monitor

Description
Tried to do it here raiden-network/raiden#5620 (comment)

@karlb We should be able to close this one, right?


About Stable Diffusion-Turbo

Thank you very much for this excellent work, which has been very helpful and inspiring to me.
I don't have enough knowledge about image processing models, so I would like to ask a question.
The Stable Diffusion-Turbo link in your project seems to be invalid. It may be because of this that the model I configured in Colab before cannot run. Is there any way to solve this problem?
I would be very grateful if you can give me some guidance.

Hey! I am getting an invalid link error. Did you solve it?


Passwords with "," or "." fail login with ruby 2.2.0

There is a problem between devise and ruby 2.2.0 when password with punctuation like full stop "." and comma ",".
Tested under
devise 3.4.1, 3.1.2, 3.0.4
ruby 2.2.0, 2.1.5
rails 4.0.13
pg 0.18.1

Using ruby 2.2.0
Password set to 'abcd,1234'
Testing in a custom session controller
password = 'abcd,1234'
user = User.find('abc@example.com').first

(password == params[:user][:password]) #=> true
user.valid_password?(params[:user][:password]) #= false
user.valid_password?(password) #= true

Result incorrect.

Using ruby 2.2.0
Password set to `'abcd_1234'``, namely problematic punctuation removed
password = 'abcd_1234'
user = User.find('abc@example.com').first

(password == params[:user][:password]) #=> true
user.valid_password?(params[:user][:password]) #= true
user.valid_password?(password) #= true

Result correct.

Downgrade to ruby 2.1.5 and test again
Password set to 'abcd,1234'
password = 'abcd,1234'
user = User.find('abc@example.com').first

(password == params[:user][:password]) #=> true
user.valid_password?(params[:user][:password]) #= true
user.valid_password?(password) #= true

Result correct.

The ruby tells that the given "params[:user][:password]" and hardcoded "password" are the same but it yields different results when validation on some punctuations under version ruby 2.2.0.
Further testing with strings, in all case ruby say they are with both same encoding and same length.
"#{password.encoding}" #=> "UTF-8"
password.length #=> 9
"#{params[:user][:password]}" #=> "UTF-8"
params[:user][:password].length #=> 9

This is caused by https://github.com/codahale/bcrypt-ruby/issues/106.

I am also have this issue. I had a dig into bcrypt-ruby and I found out that key which is being sent through to _bc_crypt is not terminated correctly when it goes through the mri layer.
Another problem I have had with 2.2.0 was with a change to the way that params are handled and this seems to be a similar issue with how the params (only with /,. characters?) seem to be passed around.
We're using Doorkeeper in our app and adding .dup to request.params[:password], eg:
from
  resource_owner_from_credentials do |routes|
    request.params[:user] = {
      email: request.params[:username],
      password: request.params[:password]
    }
    request.env["devise.allow_params_authentication"] = true
    request.env["warden"].authenticate(scope: :user, store: false)
  end

to
  resource_owner_from_credentials do |routes|
    request.params[:user] = {
      email: request.params[:username].dup,
      password: request.params[:password].dup
    }
    request.env["devise.allow_params_authentication"] = true
    request.env["warden"].authenticate(scope: :user, store: false)
  end

allows me to log in with my password again.

Definitely a bcrypt-ruby bug. Thanks for reporting.

After some more digging I've made an issue on the bcrypt-ruby page.
codahale/bcrypt-ruby#109


Fix for focus state when enabling/disabling Interactable

Overview
Addresses fixes for:

#4967
#4481

Fixes incorrect focus state when enabling/disabling interactable and fixes a button depth issue.
Both issues above explain that when interactable (within the script) is disabled and then enabled, the button remains in the focus state. This is shown in the video below under the label "Enable/Disable Interactable".   This issue was addressed by adding SetFocus(false) in SetDisable.
While working on this issue another issue was discovered when enabling/disabling the game object and the script, the button depth issue.  The button depth issue is also shown in the video below where the depth of the button does not reset after the game object or script is disabled.  This issue was addressed by removing RefreshSetup in OnEnable.
The video tests 3 different enable/disable scenarios:

Enable/Disable the gameObject - which is the round button
Enable/Disable interactable internally through SetDisable(false)
Enable/Disable the interactable script

Disabling the game object and the script are both unity events that raise OnDisable in interactable, this is different than SetDisable when disables interactable internally.
The on focus color for the button was changed to green.
Video of button depth issue and the focus state issue.
Changes

Added SetFocus(false) to fix the uncleared focus state when enabling and disabling interactable
Removed RefreshSetup in OnEnable to fix button depth issue
Updated OnDisable to disable interactable internally
Added a null check to TypeExtensions - added by Troy

Verification

As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

/azp run

/azp run

@thalbern There is a new bug addressing the enable/disable behavior for Interactable #6078

/azp run


Add integration for one or many external Docker hosts (different docker-machine providers)

I cannot use VirtualBox because I don't have enough memory for it — Parallels Desktop is much better and I have configured vagrant box. https://github.com/Parallels/vagrant-parallels/issues/115
So — I just want to open Kinematic and Kinematic should not install VirtualBox/boot2docker — use existing installation (DOCKER_HOST env).

I'd be interested in this to enable our use of vmware fusion.

:+1: I really dig this one!

@ryansch Exactly. Regardless of performance (Vmware is closer, http://www.tekrevue.com/parallels-10-fusion-7-virtualbox-benchmark/), vagrant allows to customize VM more precisely (for example, by default, VirtualBox consumes more than 1GB RAM — vagrant parallels box just restricted to 512 MB and it is enough).

:+1:

:+1:

I would vote for supporting VMware Fusion with docker machine.

:+1:

+1 for the ability to specify a driver for docker-machine!

Looks like you can work around this for now by using docker-machine to create and configure a box with whatever driver you like. Just call it dev and it looks like Kitematic will just use that one.
After installing kitematic and starting it up for the first time:
$ docker-machine ls
NAME           ACTIVE   DRIVER         STATE     URL                          SWARM
dev            *        virtualbox     Running   tcp://<IP_ADDRESS>:2376
# close kitematic
$ docker-machine rm dev
$ docker-machine ls
NAME           ACTIVE   DRIVER         STATE     URL                          SWARM
$ docker-machine create dev -d vmwarefusion
INFO[0000] Creating SSH key...
INFO[0000] Creating VM...
INFO[0000] Starting dev...
INFO[0000] Waiting for VM to come online...
INFO[0042] "dev" has been created and is now the active machine.
INFO[0042] To point your Docker client at it, run this in your shell: $(docker-machine env dev)
$ docker-machine ls
NAME   ACTIVE   DRIVER         STATE     URL                          SWARM
dev    *        vmwarefusion   Running   tcp://<IP_ADDRESS>:2376
# start Kitematic - it will say it is "Starting Docker VM", but it is really just using the one you created:
docker-machine ls
NAME   ACTIVE   DRIVER         STATE     URL                          SWARM
dev    *        vmwarefusion   Running   tcp://<IP_ADDRESS>:2376

You can now start containers, etc using the Kitematic UI and they will use the dev vm you created manually.

Using the manual method is fine - except I don't want to install VirtualBox at all, it messes with networks etc, so it would be nice to be able to skip the VB install.

Yep. Good point. I tried uninstalling VirtualBox, but Kitematic installed it again the next time it started up.

Just went to try it and saw it started downloading Virtualbox without even prompting - had to quickly kill it off.
I already have boot2docker and docker machine setup with VMware Fusion which is a lot faster and more reliable than Virtualbox - it would be nice if Kitematic recognised this.

Hi all. Thanks for creating this issue!
The good news is that we use docker-machine under the hood, which is quickly adding support for different providers such as VMware fusion etc.
I'll mark this as a feature for adding different providers, but also understanding that it's inconvenient to automatically install VirtualBox if that's not what's expected.

Just to follow up on my earlier comment, it looks like the host volume support is provided by docker machine host drivers and host volume mounting is not yet supported by the vmwarefusion driver: https://github.com/docker/machine/issues/641.

@dougborg Is host volume mounting required to get kitematic to work? I wrote the Parallels Desktop driver and is eager to add support for it in kitematic but it currently lacks host volume mounting because of legal issues with the drivers.
Is there any work done on abstracting out the "driver" layer?

@rickard-von-essen I don't get your note about parallels. Host volumes works perfectly – specified in my vagrant file (config.vm.synced_folder "/Users/develar", "/Users/develar").

@develar But not in docker-machine + boot2docker.iso since it requires that boot2docker.iso to include Parallels Tools which is currently not supported by the EULA see 1.7. Parallels Tool on http://www.parallels.com/about/legal/eula/ .

@rickard-von-essen: I think host volume support is important in the context of this user story / feature: adding support for other docker-machine providers. While I am sure there are some situations where mounting volumes from the OSX host is not needed, I find it is necessary in most of the work I do with Docker. Kitematic already has a nice interface built up around mounting and viewing contents of host volumes and I think it would be a shame for those features to be unavailable if you use another provider. If you provide support for other providers without the host volume mounting feature, I suspect it would confuse users.

1 on this one !!!  On Mac Os x nothing compare to vmware Fusion when using virtualization :

Speed
Relability
Rock Solid Feature
etc

It used to be only Virtual Box around me, But nowadays i see a lot of people now swithing to Fusion for all the reason mention above . It's a growing user base of Fusion on Mac OS happening     . And Yes please Host Volume support is a must for any productive workflow between Host-VM-Docker

Please add this!

I just came across KiteMatic and thought this looks cool!

But then I saw it used VirtualBox

Please add the ability to use VMFusion!
Thank you

@jchannon Hah! Loved this comment. Thanks for the feedback :smiley:

:+1: Fusion user here

See details here — https://github.com/docker/machine/pull/939#issuecomment-94168085 "Parallels are working on Parallel Tools for boot2docker."

@jeffdm how goes the progress for this feature?

@jchannon Right now we're working to nail the (default) virutalbox experience but this is strongly in demand.
That said, this is strongly in demand. Both so KM users can deploy an app to a cloud server or use alternative Desktop virtualization system.

:+1: Also want VMWare Fusion support. :D Thanks!!

Fusion supported wanted :+1:

Definitely a :+1: here too. I support the developer machines at my workplace and we use a mix of Vagrant+VMWare and Vagrant+Virtualbox. It would be great if Virtualbox wasn't a requirement.

Another thumbs up from me on this feature - would be awesome to be able to use VMware Fusion on my Macbook.

:+1: for Parallels or anything else but VirtualBox!

https://camo.githubusercontent.com/a2840914d539225aaf8d395397d8dbc488a0740d/68747470733a2f2f6173736574732d63646e2e6769746875622e636f6d2f696d616765732f69636f6e732f656d6f6a692f756e69636f64652f31663434642e706e67

Yet another bloke looking forward to VMware Fusion support.  (^_^)

VMWare Fusion support, please. Think of the children.

+1 for me too, I'm all about VMware Fusion :smile:  Perhaps at a minimum, please don't install Virtualbox automatically and provide some instructions on creating the required VM in the terminal.
Should go something like this:
# Download and install docker-machine
curl -L -o /usr/local/bin/docker-machine https://github.com/docker/machine/releases/download/v0.3.0/docker-machine_darwin-amd64

# Make docker-machine executable
chmod +x /usr/local/bin/docker-machine

# Create the dev docker machine for use with Kitematic
docker-machine create --driver=vmwarefusion dev

# Add docker-machine initialisation to bash profile
echo 'eval "$(docker-machine env dev)"' >> ~/.bash_profile

I'm about to test this out step by step and verify that the bash profile is read by Kitematic, will update my post as I go.  Right now the biggest issue is that Kitematic forces us to install Virtualbox (ewwwww ....).
Cheers
Fotis

+1 for not installing Virtualbox automatically, but provide an option to select the desired vm provider (vmware, parallels, etc).

+1 for not installing Virtualbox automatically from me as well.
Supporting the settings:
DOCKER_CERT_PATH
DOCKER_CLIENT_TIMEOUT
DOCKER_HOST
DOCKER_TLS_VERIFY
Will let Kitematic be more than a toy. If these are supported, you could deploy to production with it on a platform like Joyent's Triton.

Working on this with upcoming PR. https://github.com/timfallmk/kitematic. Will add support for all docker-machine supported backends eventually. This is the continuation of a project from DockerCon Hackathon 2015.

Thank you so much, that would be awesome!! :smile:

@timfallmk just checked your readme and the small screencast. This looks really awesome, would love to see this merged soon. What about to use docker-machine ls to discover all locally defined Docker engines and displays this list to the user?
Ping @jeffdm.

+1 for supporting alternate providers such as VMware Fusion (my first choice)
+1 for not requiring installation of VirtualBox

I also prefer VMware Fusion over Virtualbox.
I would also be happy to he test code to get this working.

Just a status update to this issue. Progress is being tracked over here and we're moving along quite well!

@timfallmk Thanks! Just for your information: Parallels driver for Docker Machine is on the way: https://github.com/docker/machine/pull/939
It would be great to get supported in Kitematic as a yet another local provider.

@legal90 That's awesome! As we discussed for the project (and you can see in the timeline), we're probably going to stick to a limited set of drivers for the first "MVP" release in a few months, but the idea is to add support for everything machine supports eventually.

@timfallmk What about providers that don't need any special settings? For example a remote Docker server setup with the standard docker environment variables like:
DOCKER_CLIENT_TIMEOUT
DOCKER_CERT_PATH
DOCKER_HOST
DOCKER_TLS_VERIFY

@dekobon Are you suggesting using the driver "generic" driver for that kind of input? If so, how would you like to see the UI flow for inputting that kind of endpoint?

@timfallmk I envision a generic driver that can be selected where you can
enter in values for all of the docker variables or optionally load them
from a config file. If this was possible it would be easy to test kitematic
against many platforms. In fact, this seems like it should be on the top of
the list for support because it is vendor agnostic and in fact supporting
the docker way of doing things.
On Jul 29, 2015 2:50 PM, "Tim"<EMAIL_ADDRESS>wrote:

@dekobon https://github.com/dekobon Are you suggesting using the driver
"generic" driver for that kind of input? If so, how would you like to see
the UI flow for inputting that kind of endpoint?
—
Reply to this email directly or view it on GitHub
https://github.com/kitematic/kitematic/issues/231#issuecomment-126107101
.

@dekobon Actually the "generic" driver is just meant to cover platforms that machine doesn't specifically support. Since we want the process to be as easy as possible, we wouldn't necessarily encourage that right away. However, seeing that it would be relatively trivial to add a settings page for manual "generic" provider input, this could possibly be added to the list.
First and foremost we'd like to get the specific drivers working so people can "one click" use them.

@timfallmk If you had a configuration file with a registered extension, that could act as a "one-click" mechanism for supporting a given provider. Just a thought.

+1 here. I would not even restrict the idea to virtual machines, it could be docker on a EC2 host machine.

Thanks for the suggestions, I think the ideas are worth considering. Cloud providers will definitely be an option (Digital Ocean will probably be the only one supported in the first release).

:+1: on this. I'm really intrigued by this project but VirtualBox makes it kind of a non-starter for me. 😕

Any status on adding support for VMWare Fusion? Kitematic is great and I'd love to start using it full time, but have a hard requirement for Fusion.

VM Fusion here too please!

+1

+1 VMWare Fusion

Possibly, you could make Kitematic check if there is already a docker machine called dev, and if so then don't install and set up Virtualbox? It's a bit of a workaround but I think many people would take advantage of it, and it means no changes to the "default" user experience.
Obviously "full" choice of what docker-machine backend to use (remote servers as well as different hypervisors) would be good in the future though.

Is there anyone from the dev team working on this? Or has The Word come down that it's not glitzy enough?

@jdickey I think it's in the works, but I wouldn't hold my breath.

@jdickey @felixphew . I know it's annoying waiting, but it is actually happening. This project is heavily dependent on https://github.com/docker/machine. Currently the timeline was set back significantly, as the maintainers of that project have chosen to move all extra drivers back to the proposal stage (https://github.com/docker/machine/issues/1626). We're continuing to work on the Kitematic changes that don't require these changes to come through, just at a somewhat diminished pace.

Yet another VMWare Fusion user here. Would be awesome being able to use your preferred virtualization engine

:+1: Another plea for a virtualbox-free Kitematic experience :)

I'm the product owner of VMware Fusion and Workstation, and if there's anything I can do to help please let me know =)
mroy at vmware

thanks @mikeroySoft for reaching out - I think a lot of it has to do with getting machine selection integrated into kitematic- There's a wiki-page with some guidelines: https://github.com/kitematic/kitematic/wiki/Machine-Management
I created a small PR for a kitematic cfg/rc - which perhaps maybe an easier route to get vmware fusion up and going? https://github.com/kitematic/kitematic/pull/992

+1 for vmware integration!

A big thank you to @mikeroySoft for allowing me to work on this fully.
config file setup should be something like:
{
    "driver": "vmwarefusion",
    "name": "dockerfuse",
    "memory": "1024",
    "vbinstall": false
}

Description:

driver: the docker-machine compatible driver
name: name of the vm to use
memory: the ram that can be allocated to the vm
vbinstall: true/false on installing VirtualBox. Not having VirtualBox installed, setting this option to false and using virtualbox as the VM driver is obviously going to create some issues.

If some of you feel like doing a bit of QA on confirming that their vmware fusion VM works with this Kitematic patch, I'd appreciate it:
https://github.com/FrenchBen/kitematic/tree/cfg-vm
One option which has been discussed is adding support for the 'none' driver option in docker-machine, allowing the user to specify a Docker-friendly url. Thoughts?
DISCLAIMER: the above github code is provided "as-is" and considered to be for "advanced" users. I'm not responsible for any loss of data, destruction of your VM/laptop/house/relationship/pet/etc.; do praise me however if it worked as expected.

@FrenchBen This seems to be working OK for me so far - thanks! As for the idea about the "none" driver - good idea, but might it be easier to always specify it as a docker URL (more consistent)?

@felixphew This is what I've been advocating for a while. If I want to give an experimental or somehow different setup to a newbie to Docker, the easiest path would be to allow them to enter in the DOCKER_HOST and other DOCKER_* variables.

@felixphew @dekobon Always providing the docker URL creates the assumption that the VM has already been created with proper settings. The docker URL is unknown until the VM is created, which I thought was the original request (use 'xxxx' driver instead of virtualbox)
Furthermore, if just a URL is provided you lose a lot of the nice docker-machine features, such as the ability to ssh in or have it regen the certs, since the docker-machine keys probably weren't added? (not 100% on this as I don't have machines with just URL setup)

@FrenchBen Making the assumption that the Docker URL was properly created seems very sensible if you are using an abstraction like Joyent's Triton. Essentially they abstract an entire data center as a single docker host thereby allowing you to connect to the Docker URL. Project Bonneville from VMWare will in all likelihood be also taking a similar approach. I've also heard from the Microsoft Docker folks that they plan on using the single host abstraction as well. Also, you can imagine a scenario where in an organization someone has provisioned a very beefy box and they give access to users to provision against it using kitematic.
As for Docker Machine, we've been living in the reality for the last couple of months where all of the pull requests were rejected and that team is in the middle of refactoring to support a driver based model. However, we are still waiting to see what that model will look like. While this all gets sorted out with Docker Machine, it would be nice to have user friendly tools like Kitematic be able to support an "advanced option".
Regarding the ability to ssh in or regenerate the certs - platforms like Triton handle that for you or those patterns just don't apply. For example, you don't need to ssh in because there is no VM host running.

@dekobon Thanks for the feedback- I'll add the docker URL via the 'none' driver to add the entry to docker-machine and get Kitematic working with it, unless someone here is against this?

+1 for virtualbox-free and remote host support

+1

@FrenchBen just have successfully got rid of virtual box and moved to parallels with the latest docker-machine release, but found out that kitematic doesn't play along nicely. Looks like you are the one who's working on this? When do you think kitematic will support all that?

@ianbytchek If you're familiar with compiling Kitematic from source, you can check out the latest PR: https://github.com/kitematic/kitematic/pull/1161 which allows machine selection

@FrenchBen npm fails to install contextify, seems there's unresolved issue with that. Judging by the way this is going this soon will be released anyway, will wait.

+1

@ianbytchek What version of Node/NPM are you using? v4.2.1 is what I'm using

@FrenchBen 5.0.0 & 3.3.10. This must be related to brianmcd/contextify/issues/188 or one of similar issues.

@ianbytchek very possible. May have to wait for this to be merged.

Ping @FrenhBen a LOT of people are asking for this feature at dockercon eu ! I think it shouldn't be too difficult to integrate it with machine. :+1:

@tiborvass Needs a little extra QA and we'll be ready for it :dancer:

:+1: For an alternative vmware fusion integration. Currently using Vagrant with Deploybot integration ...  so if I can figure out their Atomic deployment with Docker integration, that might lead to a hassle-free process. Anything to save me manually setting up servers!

@FrenchBen sorry to keep hassling you, but when is this patch likely to make it into a release? If you need any extra testing done, I'm happy to help out.

@felixphew no problem - Monitoring it myself. I'll update this thread when it does!

Just thought I'd add this: https://github.com/docker/kitematic/wiki/Machine-Management

I can't use my created machine.

/Applications/Docker/Kitematic (Beta).app/Contents/Resources/resources/docker-machine -D create -d virtualbox --virtualbox-memory 2048 default returned non zero exit code. Stderr: Error creating machine: Machine default already exists You will want to check the provider to make sure the machine and associated resources were properly removed

$ docker-machine ls
NAME      ACTIVE   DRIVER      STATE     URL                      SWARM   DOCKER   ERRORS
default   *        parallels   Running   tcp://<IP_ADDRESS>:2376           v1.8.3

Mac OS 10.9.5, Parallels 10.3.0 (29227)

Yep, same thing with Parallels. Thought that was supposed to be working in the latest release?

Unfortunately it isn't - There was some early work done to support those, but the 'default' VM still is expected to be a Virtualbox driver and why you're seeing the error.

@FrenchBen:

Agreed with @ianbytchek. My boss hears me raving about Docker, but absent Kitematic working with our existing VMware installation (that we're otherwise committed to), there are still too many shiny knobs and sharp edges for me to be comfortable having him set anything up by himself. Ditto for any future new hires. :disappointed:

Is there a particular reason for that check?

@jdickey Sorry to hear this being a pain point. It's not easy to please all 'setup', but feel free to comment in the wiki on the machine work.
@luckydonald We rely on vbox for a proper VM setup and have it integrated for retries, reset, etc. Allowing more drivers becomes a pretty big task during the initial setup.

Heh. Even VMware doesn't really works, I got problems on my windows machine all the time, something like 'could not get ip'. But that probably is another issue.

Also interested in this.  I tried installing Toolkit, run Kitematic for first time, it creates the VirtualBox default VM.  Then tried removing the default  with docker-machine rm default,  and replacing it with one using the Parallels driver with docker-machine create --driver=parallels default.  When I go to restart Kitematic, it completely replaces my Parallels VM with a new VirtualBox one!

:+1:
I use as well simply my general linux vm on vmware (so no vbox nor docker-machine) and I'd love to be able to have kitematic attching to that :)

+1 to be able to remotely control a docker engine installed on VM's, with Kinematic installed locally on my desktop machine.

Is there any update or roadmap for this issue?
Maybe some of us can contribute to the efforts as well?

@bt there's a bit of info in the wiki under machine management. A lot of the code needs to be updated, but it'll give you an idea of general direction

I don't want to use Virtual box. Instead, I have my docker daemon installed on one of the VMs in Data center.
can I connect that daemon using Kitematic using IP of the VM? so that I can manage my docker deamon using Kitematic UI.

:+1:

+1
For me it would be enough to simply have the ability to tell Kitematic which docker-machine of mine to use. The local stuff on a VM is nice, but I use docker-machine to create multiple environments on multiple clouds as well as locally.  I don't need or even, necessarily, want Kitematic to manage the construction of machines locally or remotely  (docker-machine command line is perfectly adequate for that), I just want to use it to manage containers in whatever machine I need to work with since it has a nice interface for environments, ports and so forth.

I figured out a basic workaround to use this without VirtualBox if anyone is interested.
https://github.com/kane-c/kitemagic
I'm using it now with Parallels and Dinghy.

@kane-c I appreciate the quick hack, but it would be much nicer to have a proper solution implemented. Do you think you could create a PR that does something similar?

For reverence, @kane-c's script is currently 59eae3

+1

+1 for adding other machine vm providers

This makes it pretty difficult to recommend Kitematic right now. Putting support for creating machines with other drivers on the back-burner makes sense, but the inability to even select an pre-existing machine config, especially when Kitematic already uses docker-machine, is pretty frustrating.
Almost every other tool related to docker I've seen allows you to define the docker config yourself, or pick from a list of visible docker-machines.

@stormbeta The only logical conclusion seems to be that Kitematic is being deprecated with plausible deniability; after all, it still works if you saddle yourself with VirtualBox, but it won't work even with Docker's bundled hypervisor (xhyve). As you note, it's now simply unethical to recommend anyone even try Kitematic, and that stance is likely to spread to Docker tools as a whole without expeditious vendor action.

I would like to see and will try and see if the config and other settings can be exposed in Kitematic as it is a very useful feature.   It is open source so you can do it yourself and if you don't like kitematic then just use the Docker.exe

As the problem is not that it doesn't work with other machines.
Like @kane-c's  comment shows, it is possible with non virtual box VM's.

Does anyone knows another client for macos that can be used to manage multime docker hosts?

Portainer might be suited


Dashboard Token Listing: BSCTx

Discord Handle of Submitter: georgety#4563
Token Symbol: BSCTx
Network: Polygon
Token Address: 0x76220628Fc2847C41B14967A75f3093F6E56998A
Network Explorer Link: https://polygonscan.com/token/0x76220628fc2847c41b14967a75f3093f6e56998a
Is a Super Token? true
Address of Underlying Token:  0x600e5F4920f90132725b43412D47A76bC2219F92
SVG Logo Link: https://drive.google.com/file/d/1Y1OyHHnPnjc1ylRmAPIXDioeUPhrhS-F/view?usp=sharing
Coingecko or Hardcoded Price?: Hardcoded
Coingecko ID:
Harcoded Price (if Coingecko ID is unavailable): $0.01
Token HEX Color: #A5A5A5
Info on Listing: The wrapped version of the token is to be used for upcoming game - Degen Dogs Racing (AKA Arena)
Underlying token details are here: https://docs.degendogs.club/basics/dog-biscuits-bsct
Please close only after token has been added to resolver!

listing done: https://console.superfluid.finance/matic/supertokens/0x76220628Fc2847C41B14967A75f3093F6E56998A?tab=streams
@msoni89 please approve and merge https://github.com/superfluid-finance/assets/pull/163


Fix broken image tags

Three image references corrected

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@todduk , Thanks very much. There is already an MR in Gitlab now which has much modified about the doc and includes the images issues. We will merge it soon.


ANSI encoding text display incorrect!

dear all:
There is something wrong with my displaying ANSI-Encoding text on ScintillaNet. Because the Chinese char is garbled.
wrong in ScintillaNet

correct in NotePad++

I have try to set ANSI-Encoding Mode.
DirectMessage(NativeMethods.SCI_SETCODEPAGE, new IntPtr(0));
But it do not work. Thank you for your reading.

How are you loading the text into ScintillaNET? Please share some code.

Thank you very much! I found my answer.
The bug is mainEditor.scintilla.Text = File.ReadAllText(path_);
I fix it as mainEditor.scintilla.Text = File.ReadAllText(path_, Encoding.Default);
It works well, thanks!


node: support for middle-tier debug broken

Need to keep middle-tier in the same process as gulp to make it non-kooky to attach a debugger.

Validated wih Dave C.


Search on the site is not working

Search on the site is not working. Seems like you can't test your own site :)

https://jestjs.io/

Yeah, noticed. No results from algolia, but nothing on their status page https://status.algolia.com/. @Haroenv known?

There should still be results according to this, let me find the root cause: https://github.com/algolia/docsearch-configs/blob/master/configs/jest.json

Might be due to a new release. Just recrawling the website now.

Should be good now

It is working fine now

Thanks @s-pace! Do we need to trigger some recrawl on every new docs version/change?

@s-pace we've pushed out 26 and the search is broken again

Did you release a new version?

yes, yesterday (though after your update)

We can probably add some GH action that triggers whenever there's a push to gh-pages branch or something that can poke something on your side? Not sure how to best automate this (or why it's an issue now)

It is a work in progress now. Crawl is done. Can you double check please?

Yeah, worked now, thanks! Anything we can do to trigger this automatically?

This is a work in progress. We will let you know once crawl on demand is
available.
On Tue, May 5, 2020 at 3:05 PM Simen Bekkhus<EMAIL_ADDRESS>wrote:

Yeah, worked now, thanks! Anything we can do to trigger this automatically?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/jest/issues/9942#issuecomment-624043098, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHU4LODCALT3DLQ3JRJ4I6LRQAFLDANCNFSM4MXHEESQ
.

Cool, thanks!


SALs

We should implement/port some important SALs from current jsx:

[x] fs Awady/Kiro
[x] hostfile Abdelaziz
[x] executors

this is the code I wrote for the hosts file issue: https://github.com/js-next/js-ng/pull/30/files
would it be better if I use "python-hosts" lib ?? : https://github.com/jonhadfield/python-hosts

verified
JS-NG> j.sals.hostsfile.HostsFile


N examples

Expressing that there are N wrong examples and then N replacements for those N wrong examples.
Smoothly placed between the second and third code block, so it serves also a separator of the blocks.

All fine, the why of the closing is in #99,  FWIW
On Sun, Sep 25, 2022 at 11:41:17AM -0700, Anthony Sottile wrote:

Closed #100.
--
Reply to this email directly or view it on GitHub:
https://github.com/asottile/flake8-2020/pull/100#event-7453860160
You are receiving this because you authored the thread.
Message ID: @.***>

Groeten
Geert Stappers
Silence is hard to parse


Restyle "Vertical Scroll Bar" Matching to the Website Theme

Describe the feature
Hey @SUGAM-ARORA
I have notice in your website the current vertical scrollbar needs styling and formatting
I would like to restyle the vertical scroll bar matching to the website design theme.
Could you please assign me this issue under gssoc24?
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@RadhikaMalpani1702 Issue  assigned to you


fix the CRI-installation in install-kubuadm

fix: #10473
fix: #10472

/lgtm
/cc @kubernetes/sig-docs-pr-reviews
thanks

/approve


MI with Federated Identity for GH Actions

I found this resource in the public domain, and am wondering why this pattern (MI  with Federated identity) is not explicitly referenced in this page - please could you explain?
https://yourazurecoach.com/2022/12/29/use-github-actions-with-user-assigned-managed-identity/
I suspect that there is some implicit equivalency with the second scenario, but I think it would be helpful to explain when you would choose an app registration vs a MI.
thanks!

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

ID: 081be8c9-7871-db69-977c-9304daa6c870
Version Independent ID: aa3e5074-a630-3756-be86-295d1a2d101f
Content: Connect GitHub and Azure
Content Source: articles/github/connect-from-azure.md
Service: azure
GitHub Login: @MoChilia
Microsoft Alias: shiyingchen

Hi @lindacmsheard! Sorry for the late response. This doc is outdated and lacks some information. Thanks for contacting us. We will update it soon.

Closing as this is on the product team's list for future updates.
#please-close


[DISCUSSION] Deep-learning model and GPU environment

Description
We had a good discussion about deep-learning models on GPU tests (#436),
and as a result, we are testing such models only on GPU.
However, we still have the deep-learning packages (e.g. tensorflow) at the base environment where the codes that uses those packages are not being tested. Should we remove deep-learning packages from the base environment too?

found some people use those models on cpu (#898)... then the question is, do we want to test deep learnings on cpu? ....

I think there is a possible scenario where people use TF or other packages for DL algorithms for prototyping and experimenting in an environment without a GPU device. In that case, the base conda env does not block users from doing such before they move to a machine with GPU for acceleration.

Maybe adding a flag and documentation on how to opt out of the DL packages when building the conda end would be useful? I don't think we need extra testing for the CPU environment unless there are explicit issues we are seeing.

I think there is a possible scenario where people use TF or other packages for DL algorithms for prototyping and experimenting in an environment without a GPU device. In that case, the base conda env does not block users from doing such before they move to a machine with GPU for acceleration.

Agree
I think testing only in GPU environment is reasonable, the perfect thing would  be to have a 100% coverage, but I think we can assume that if something works on GPU, it will work on CPU. Under this assumption we are trusting the tests of TF or Pytorch on cpu

Got it. Thanks for the discussion!


feat(AoT): :sparkles: :sparkles: added initial AoT support any many other things

Made this one a PR since it's quite a massive change, I'm also going to drop some of the older naming conventions and stick with ones from the Angular style guideline. main.server.ts for example as opposed to boot-server

Added Bootstrap with SCSS / SASS support
Added ng2-bootstrap
Passing Server originURL so that URLs can use it (when 4.1 comes out (Closes #146 )
with HttpInterceptors this will be even easier to do)
:sparkles: AoT added ! for prod (npm run build:aot) (Closes #10)

Note: We still need to test this for Azure deployments etc

Removed es6-shim added core-js
Few other misc things...
Closes #61
Closes #149
Closes #92

@MarkPieszak
No more vendor bundle?

At the moment no, had to get it working first had some hurdles to get around 🙈
There are ways of splitting it without doing a separate file we can do eventually.

HMR code in main.browser.ts is patched in memory by ngtools?

@MarkPieszak
Also, why you have seperate entry file for aot on server and not in a browser?
Is there a benefit of running aot on server?

You did not hit this bug https://github.com/angular/angular-cli/issues/5329 ?

Ng tools automatically handles the browsers AoT files, server will be able to do the same thing soon, but that's the only reason there are duplicate (sort of) files for server and server.aot and the tsconfigs.
HMR memory isn't here yet.

I didn't get that issue, you're on windows 10?

Ok, we need HMR. I am using ngtools only for production and keeping old loader stack for dev.
Also I am keeping JIT under node. I don't know if there is any benefit of running AOT except maybe faster startup ?
Yea, I hit that bug under win10.
I had to add:
	aotPlugin._compilerHost._resolve = function (path_to_resolve) { 		path_1 = require("path"); 		path_to_resolve = aotPlugin._compilerHost._normalizePath(path_to_resolve); 		if (path_to_resolve[0] == '.') { 			return aotPlugin._compilerHost._normalizePath(path_1.join(aotPlugin._compilerHost.getCurrentDirectory(), path_to_resolve)); 		} 		else if (path_to_resolve[0] == '/' || path_to_resolve.match(/^\w:\//)) { 			return path_to_resolve; 		} 		else { 			return aotPlugin._compilerHost._normalizePath(path_1.join(aotPlugin._compilerHost._basePath, path_to_resolve)); 		} 	};

The express engine I'm using building needs to be updated to only do AoT actually, doing JIT during SSR is just slower and there's no benefits to it. Still plenty to work on, never enough time! 😓
There's still HMR, it just doesn't hold the app state currently.


Synthetic Delegation Contract Errors

https://github.com/LaunchX-Dev/launchx-smartcontracts/blob/main/contracts/SyntheticDelegation.sol#L46
Here we have a problem... The he time window is not calculated correctly, it should at least have block.timestamp in the right comparison... Please fix and test this.

https://github.com/LaunchX-Dev/launchx-smartcontracts/blob/main/contracts/SyntheticDelegation.sol#L78
Here very bad implementation

SafeTransferFrom will not work in these contracts:
https://bscscan.com/address/0xc43570263e924c8cf721f4b9c72eed1aec4eb7df#code
https://bscscan.com/token/0xea75d0c4e47d875cdd13df4b3019295aeb397e9c

https://github.com/LaunchX-Dev/launchx-smartcontracts/blob/8b9e26ed5d280abbd91c4ea9ae8f7dfad67adb52/contracts/SyntheticDelegation.sol#L87
        _rewardPerLXP += amount / IERC20(LXP).totalSupply();

this will not work. totalSupply has nothign to do with it.. its constant. 75million tokens.


Analyzer 'create missing overrides' doesn't work right with type arguments

Example:
file import.dart:
class A<R> extends B<R> {
  R a() {}
}

class B<R> {
  R b() {}
}

file main.dart:
import 'import.dart';

class Foo implements A<bool> {

}

I'm being told Missing concrete implementations of A.a and B.b.. A quick fix is available. So far so good.
Applying 'Create 2 missing override(s)' and now my file looks like this:
import 'import.dart';
import 'import.dart';

class Foo implements A<bool> {
  @override
  bool a() {
    // TODO: implement a
  }

  @override
  R b() {
    // TODO: implement b
  }

}

not only did it forget to apply the type argument for b - it also added an import I already had.

https://dart-review.googlesource.com/c/sdk/+/79468


update endowed positions dataset

READY FOR REVIEW

(Edit the above to reflect status)

Summary

Updating Endowed Positions dataset.

Review By (Date)

@forrestglick can you give details for timing.

Criticality

How critical is this PR on a 1-10 scale? Also see Severity Assessment.
E.g., it affects one site, or every site and product?

Review Tasks
Setup tasks and/or behavior to test

Go to preview link
Append /endowed-positions/graduate-school-of-business
Spot check that page and site are working as expected

Front End Validation

[ ] Is the markup using the appropriate semantic tags and passes HTML validation?
[ ] Cross-browser testing has been performed?
[ ] Automated accessibility scans performed?
[ ] Manual accessibility tests performed?
[ ] Design is approved by @ user?

Backend / Functional Validation
Code

[ ] Are the naming conventions following our standards?
[ ] Does the code have sufficient inline comments?
[ ] Is there anything in this code that would be hidden or hard to discover through the UI?
[ ] Are there any code smells?
[ ] Are tests provided? eg (unit, behat, or codeception)

Code security

[ ] Are all forms properly sanitized?
[ ] Any obvious security flaws or new areas for attack?

General

[ ] Is there anything included in this PR that is not related to the problem it is trying to solve?
[ ] Is the approach to the problem appropriate?

Affected Projects or Products

Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

JIRA ticket(s)
Other PRs
Any other contextual information that might be helpful (e.g., description of a bug that this PR fixes, new functionality that it adds, etc.)
Anyone who should be notified? (@mention them here)

Resources

AMP Tool
Accessibility Manual Test Script
HTML Validator
Browserstack and link to Browserstack Credentials

I'll merge this into dev so you can test @forrestglick @wmui51

ty


Fixed Responsiveness in Features Page

Fixes: #259
Now the page is responsive till screen sizes of 300px
Screenshots

Before
After

YES


Xibo Cloud United States - Scheduled Maintenance

Planned: We will be carrying out some maintenance work on the load balancers in the New York region. No downtime is expected. There may be brief periods of increased latency as traffic is routed to redundant services.

Started: Work is commencing now

Monitoring: Maintenance work has been completed. We are monitoring the systems.


Pre-GPU Hack Cleanup: Move magB and dB/dz to field object; implement general external field object

For the Vlasov mirror calculations which implement a bulk mirror force computed from the fluid variable p_perp (the perpendicular pressure) that magnitude of the magnetic field and the gradient of the magnetic field are stored in each species as opposed to being field objects.
These objects should be moved to vm_field. Likewise, a general infrastructure for external electromagnetic fields should be added which checks the field type (Maxwell's vs. Poisson) and accumulates the appropriate external fields onto the self-consistent field. To avoid kernel proliferation, there should be error checking within the app that throws an assertion if the user, for example, tries to accumulate an external electric and magnetic field onto a Vlasov-Poisson simulation (which will expect an external phi and possibly A) and vice versa.

The introduction of the parallel-kinetic-perpendicular-moment (PKPM) model in<PHONE_NUMBER>264952be690120fcb8f97cf3107719 negates some of this development. There are external fields now, and one still requires |B| for the Jacobian. Closing this issue and will open new issue for PKPM model in general geometry.


Docker stack (swarn) on Dapr

Note: If you have a general support question and are looking for a quicker response, please checkout our discord channel for answers from the community:
https://aka.ms/dapr-discord
In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Ask your question here
Hello everyone, I just can't run dapr in swarm mode, please show an example of how to set up a network

Docker swarm doesn't support pod at all. Where will the sidecar container be put for each service?

At the moment, our organization has its own small data center, and it is already in kubera (huawei fusion)
therefore, I wanted to minimize resource consumption by adding docker to swarm mode, I have 3 servers
1 - maganer
- docker registry
- dapr
2 - worker-1
---- app
---- app-sidecar
2 - worker-2
--- app2
--- app2-sidecar
in swarm mode I did not succeed


Can I catch unselected item in multichoose dialog?

Check out the multi-choice dialog example in the sample project.


Feature: Make images clickable links

Type of feature
Feature
Current behavior
When view the PostGrid components, images are shown but not clickable.
https://github.com/open-sauced/hot/blob/main/src/components/PostGrid.jsx#L41-L45

Desired solution
Use the repolink to make them clickable.
https://github.com/open-sauced/hot/blob/main/src/components/PostList.jsx#L16-L19
Additional context
As a bonus, this should really be reuable from the PostWrap component.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

.take


GOBBLIN-875: Emit container health metrics when running in cluster mode

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-875

Description

[x] Here are some details about my PR, including screenshots (if applicable):
This task implements a service that emits CPU/Memory health metrics from the JVM when running in the cluster mode.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Added unit test in ContainerHealthMetricsServiceTest.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2729 into master will increase coverage by 0.03%.
The diff coverage is 71.64%.

@@             Coverage Diff              @@
##             master    #2729      +/-   ##
============================================
+ Coverage     44.99%   45.02%   +0.03%
- Complexity     8742     8750       +8
============================================
  Files          1884     1886       +2
  Lines         70295    70359      +64
  Branches       7715     7717       +2
============================================
+ Hits          31629    31680      +51
- Misses        35735    35746      +11
- Partials       2931     2933       +2

Impacted Files
Coverage Δ
Complexity Δ

...bblin/cluster/GobblinClusterConfigurationKeys.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...pache/gobblin/configuration/ConfigurationKeys.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...che/gobblin/yarn/GobblinYarnConfigurationKeys.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...apache/gobblin/cluster/ContainerHealthMetrics.java
0% <0%> (ø)
0 <0> (?)

.../apache/gobblin/cluster/GobblinClusterManager.java
53.91% <0%> (-0.51%)
27 <0> (ø)

.../org/apache/gobblin/cluster/GobblinTaskRunner.java
65.11% <0%> (-0.15%)
29 <0> (ø)

...org/apache/gobblin/yarn/GobblinYarnTaskRunner.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../apache/gobblin/yarn/GobblinApplicationMaster.java
18.84% <100%> (+2.42%)
3 <0> (ø)
:arrow_down:

...n/java/org/apache/gobblin/yarn/YarnHelixUtils.java
20% <100%> (+2.75%)
3 <1> (+1)
:arrow_up:

...gobblin/cluster/ContainerHealthMetricsService.java
78.57% <78.57%> (ø)
5 <5> (?)

... and 7 more

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 a409908...a3f17cd. Read the comment docs.


[FLINK-19469][hbase] Exclude org.glassfish:javax.el transitive dependency from hbase-2.2 connector as it is unreliable

org.glassfish:javax.el is transitively referenced for flink-connector-hbase-2.2 tests. It is causing some issues, it is not always available in the maven repository. As it is not needed for our tests, let's exclude it.

@flinkbot run azure

@flinkbot run azure

@dianfu No point in trying, the pubsub test is completely broken, unrelated to this PR; see FLINK-19619.

@zentol Thanks, it seems that we have already disabled the pubsub tests in the master. Then we need to rebase this PR and trigger the tests again.

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@miklosgergely Could you rebase the PR then the e2e could pass? There is a commit fixing the e2e: https://github.com/apache/flink/commit/8aeb3ec0d2f021787e39c2887805c3528c067a76

@dianfu I've rebased it.

@flinkbot run azure

@dianfu could you please merge this one?


Combining with Arduino Servo Control

Hello,
I understand this is not really an issue, more so just a question.
I have successfully implemented the teb_local_planner for a differential drive system; however, I'd like to expand to a car like robot. From your tutorials, I know that this path planner is capable of planning for car like robots.
I am using this package to control my steering servo motors, however I dont know how to combine the teb_local_planner with this servo control to start planning paths with move_base.
Can you please provide some suggestions on what I should do?
How do I send proper steering angles to the arduino to control the servos over ros?
Thank you,
Aaron

Hi,
please do not cross-post. And as you said, this is not really an issue.
Answers are already provided at your answers.ros.org question.


Admin sidebar preview button overlaps with text on scroll

Link to reproduction
https://github.com/hdodov/payload/tree/bug-preview-button
To Reproduce

Have a collection with the admin.preview option configured
Open an entry on a small enough screen or with a lot of fields in the sidebar, in order to trigger overflow
Scroll and the button will overlap

Describe the Bug
The Preview button has no background (only border) and the text beneath it is visible, making it look broken.
https://github.com/payloadcms/payload/assets/5570098/575193ac-ab38-4262-8096-609b710f1eb1
Payload Version
1.11.2

The simplest solution would be to add a background color to the button that matches the overall background of the page.
But perhaps a better approach would be to add background blur to the buttons' container in order to achieve the glass effect that is used in similar situations in the main container of the admin.


Identify "Corpus" by IETF language tag rather than just language

My suggestion is to Identify the "Corpus" by IETF language tag rather than just language. What are the benefits? it would allow for different dialects to be made independent as i might want to just "teach" just one of them.
Why i'm bringging this idea up?
For example the corpus for the Portuguese language taking a look at it seems to have mostly Portuguese Brazilian (pt-BR) strings and some, here and there, in the Portuguese (pt or pt-PT). Using said corpus makes the bot a bit of biliangual freak, i'f im allowed to call it that :P
Same goes for the english corpus which, i'd say (not totally sure, but from some expressions), is English (en or en-GB) with  United States English (en-US) in it.
Chinese is another language with ALOT of dialects.. (but this one is an unkown to me as i have zero knowledge in the language)
The story goes on..
~ @duramato

This ticket was originally opened in the ChatterBot repository when the corpus files were a part of the main package.  I've moved it here to keep track of it as the projects move forward.
Previous ticket: https://github.com/gunthercox/ChatterBot/issues/504

@gunthercox Master, Are we going handle to through NLTK like said here http://blog.alejandronolla.com/2013/05/15/detecting-text-language-with-python-and-nltk/
If not any alternative methods to do this?

@vkosuri Nope, data within a corpus should be explicitly labeled and categorized. The data it contains is what other systems train with and they assume that it is correct. We shouldn't need to automatically detect too much, we just need to re-label the current directory structure and provide aliases for backward compatibility.

I'm going to leave these as the english language names for now. I've opened #121 to at least make sure that the names are all consistent.

I'll defer to #40 for the possible design of making the structure of the data independent of language type. One way to achieve this could be to tag language on a per-line basis.


Add generationChangedPredicate - ignore status update

Description

Add a predicate to the Watch() function to filter out status update
events. When CR's Status subresource is updated, its Generation field is
not incremented. Thanks to this it's easy to filter out status update
events.
Reference:
https://blog.openshift.com/kubernetes-operators-best-practices/
https://github.com/operator-framework/operator-sdk/blob/master/doc/user/event-filtering.md

Fixes #206
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist

[ ] Unit tests and e2e tests updated
[ ] Documentation updated

@sbar95 could you please investigate how to write a unit test for this?

@seanmalloy Creating a unit test for it is tricky because in all unit tests we are invoking the Reconcile function by hand (as for instance here). A unit test for the predicate would require controller watching for an update and the Reconcile function to be invoked (or rather not invoked for the test to pass) by an event.


Fix a bug where CompatHelper opens PRs to bump to e.g. "2.0" or "2.1", instead of just "2"

Fixes #329

@mattBrzezinski @fchorney Just want to make sure that y'all see this PR. I'm merging it into master, which means that it will be lost when we merge v3-dev. So you'll want to make sure that you add this bug fix to your code on v3-dev.

bors try

bors merge


Set dart defines properly while in debug mode.

Turns out just supporting the right value for kDebugMode was a lot simpler than I thought. Debug builds used to never go through the build system code path when using flutter run, but now that we have wasm this can occur with the run command.
This should address https://github.com/flutter/flutter/issues/148850

Can this be done as well?

https://github.com/flutter/flutter/issues/151426

(At least the bit of enabling assertions in debug, maybe the test changes need more plumbing elsewhere)


Added methods to save plots

Fixes #82

Please review @shreyasbapat

My suggestion is that you mock the plt.savefig method and test the save method with that.

I think we can ignore the codecov here!. Thanks for the valuable contribution @sashank27 !

You are welcome to join the developers chat on riot!
https://riot.im/app/#/room/#einsteinpy:matrix.org


Update Composer dependencies (2022-04-29-00-04)

Visual regression test passed!
View the visual regression test report


Route regexs should not assume that the the module is on the root context

Route regex such as the one found in Ping.php assume that path will always start with /expressly/api. They should handle the "shop" being on a sub path such as /myshop/expressly/api.

Handled at the RouteResolver


Let's have an in-person hackathon for @ReactiveX / @ReactiveXUI sometime soon?

That would be awesome! I've just cleared the team swimming lane and replaced it with a single Todo. So I'm gonna work out how we can arrange this the best, pick possible dates. It'll take me a couple of weeks to complete due to holidays, but it's top of my list now. pic.twitter.com/tmU6DsusQk— Stefan Moonen (@Qonstrukt) May 4, 2018

Can I call dibs?! :P
Seriously, that would be AMAZING!

Let me know if and how I can help.

I'll contact you in the near future, I'll check what I can arrange combined with some other nearby events maybe, to make it worthwhile for @ghuntley to visit the country not for this alone.

Belgium is just around the corner ;)

So is The Netherlands/Holland/Amsterdam/Tulips you know.. #justsayin

Current status:
also I would love to come back to the NL. Especially for a hackathon on ReactiveUI. Maybe we could secure a tiny amount of funding from the @dotnetfdn to make this a reality @jongalloway?— 𝓖𝓮𝓸𝓯𝓯𝓻𝓮𝔂 𝓗𝓾𝓷𝓽𝓵𝓮𝔂 (@GeoffreyHuntley) May 4, 2018
Let's discuss - e-mail or DM.— Jon Galloway (@jongalloway) May 4, 2018

There's a bunch of heavy users down here in the Netherlands. Keep me posted on the plans, happy to support organizing

Finally I've sent out emails asking for feedback. I had to hunt for some mail addresses, so let me know if you haven't received anything.

Only invite if the weather is good.

Nah, let him know what our weather is like normally 😂

Closing this one out for the moment. Organise on the twits if you want to take it further.


tidy up slides-i2ml

Works for me if I comment out mlr3, but not otherwise. Can you reproduce that problem on your machine?

for some reason, chapter-order pointed to sllides rather than slides-pdf for the mlr3 stuff, so compiling would only work if you had the PDFs locally in the mlr3 folder. fixed that, does it work now?
it should be said though that compilation is intended to run with the new makefile --> separate PR


vibe.data.bson: support mondo's shorter syntax

@s-ludwig
mondo library (and also C++ mongodb library) supports shorter syntax than vibe.data.bson to construct bson objects:
BO("foo","bar", "foo2" , 3)

instead of:
Bson(["foo":Bson("bar"), "foo2":Bson(3)])

would be nice to support that!
eg:
import std.traits:isArray,isSomeString;
enum isArrayAndNotString(T)=isArray!T && !isSomeString!T;
auto BO(T)(T a)if(!isArrayAndNotString!T){
  return Bson(a);
}

auto BO(T)(T a)if(isArrayAndNotString!T){
  auto ret=new Bson[a.length];
  foreach(i,ai;a)
    ret[i]=Bson(ai);
  return Bson(ret);
}

auto BO(T...)(T a) if(T.length %2 ==0){
  Bson[string] ret;
  foreach(i;Iota!(T.length/2)){
    ret[a[2*i]]=BO(a[2*i+1]);
  }
  return Bson(ret);
}

unittest{
  auto b=BO("foo.bar", "val", "start", 1, "foo", [1,2,3]);
}

The idea looks quite useful, just the shortness of the name IMO isn't quite justified by its gains in terseness. I'd write it out as bsonObject (and bsonArray could be useful, too) - users could simply define a local alias in places where this would really save considerable typing/space.


Queryables: Use of $ref

In implementation I'm facing issues with the queryables and I'm wondering what the best practice should be: Exposing $ref's or derefernecing them?
The example in the README clearly uses $ref's, but in implementations (especially browser based) this leads to issues as a lot of requests may be invoked by this. So I'm wondering whether implementations should dereference (and cache) this. (I'd be in favor of this.)
Here's a related issue in MS PC: https://github.com/microsoft/planetary-computer-apis/issues/153

Agree, in practice, the $refs should be dereferenced and a complete, standalone json schema should be returned.


[Documentation] General improvements to navigation/structure and deployment examples

We'd like to improve the existing documentation by making any improvements to the navigation/structure of the docs currently. There are ways we may be able to improve the flow/structure as you read through the docs.
We should also provide at least a couple of basic deployment examples (scenarios/configurations) such as what a typical HA set up may look like and how one may set this up such as with AWS or something.
Building from source:
Should this be in it's own small section somewhere? how important is this? This is typically used for running latest master builds i.e. for development. Does this belong in the GH README.md instead? I would think probably yes (and remove from our rancher.com docs).

I've heard that if you just want to test latest (master) you should really just run make and that's all
If we are going to mention the scripts to we need to mention any caveats / gotchas? It never worked for me with golang v1.13

i would like to upvote this 100x.
production deployment examples on AWS would be super spectacular. If you can show an example with Spot instances, that will be the most brilliant thing ever.
HA is not super important right now. We already realize and accept that k3s does not have HA right now

HA is available currently but experimental (not documented) when we release some time in November we plan to have HA support so the guide will now describe this and at least provide an AWS example :)

Side-note for me later: Want to get this addressed. It's hard to see underscores in one-line monotype on rancher docs site currently and this is an issue for K3S as we use underscores for env vars for curl script. This should be fixed before we release in November. https://github.com/rancher/docs/issues/1816


common: rename PodManifest: "container" -> "pod"

This was breaking prepare/run-prepared because it expected the file to
be named "pod".  Rename it accordingly.

LGTM, that fixes run-prepared for me.

thanks guys


Boolean field in smart contract cannot be set, always false.

Description
It looks like this bug: https://github.com/greymass/anchor/issues/1250
Has resurfaced.
No matter what I set for a value in the boolean field of a smart contract, Anchor shows it as false. I have tried Windows Desktop wallet and the iOS mobile wallet.
I have tried  1 and 0 for true and false when setting up the action, both result in False in Anchor.
I have tried JavaScript True and False when setting up the action, both result in False in Anchor.
The same code in Scatter/TokenPocket recognizes the boolean field and sets the value to True/False correctly.
The screenshots below show Anchor not recognizing the boolean value, one screenshot shows TokenPocket recognizing the boolean value correctly.

Platform
All
Steps To Reproduce
Visit: https://www.eoserc.com/
Login with Anchor Login.
Click Add New Account.
Toggle Enable.
Click Add.
The Anchor confirmation window will show enable as False.
Relevant log output
No response
Contact Details
<EMAIL_ADDRESS>Anything else?
No response

This looks to be an issue with the signing request protocol. The request Anchor is receiving from the app indeed has a enabled: false value, regardless of which version of Anchor you use or even if you view the ESR payload manually. Here's the payload Anchor is receiving for the transaction, which you can also see shows that value as false:
https://eosio.to/gmNgZDrylDn5hNY8I43nDCIMDEwBmnMlpF9eTWUAASCHUWBqHFzA55mBK8OExSxcsb4bdxWIXgsvjAo2Ypxw9YroxU7fYpCKhtVqy5VgAjCalQECYDQQMFlnlJQUFFvp6ycn6SXmJWfkF-nlZOZl61smGRqnpBia6BqlWCbrmiQZmusmGhgZ6pomJaWZmqaYWloamzKxJucXZ6Y7MzLIM07TWSzNHxwZ83uDrOjNWKPmlgCPXye2PH3C8ObozJxV0iVvYoul1d-sOr676ON0N5c8ngOzcipPnC2p_FvQx3nv7BkWkKUs_MAwAAA
I think the issue is coming from something either in the app or in the SDKs in use, since I can manually craft an ESR payload that actually has the true value and that pops up in Anchor:
https://eosio.to/gmNgZGQK0JwrIf3yaioDCAA5jAJT4-ACPs8MXBkmLGbhivXduKtA9Fp4YVSwEeOEq1dEL3b6FoNUNKxWW64EE4DRrAwQAKMZGZisM0pKCoqt9PWTk_QS85Iz8ov0cjLzsvUNTI0tE5NNjXRTUyySdU3MzFN0E43NUnTN0pLNTS0skpMSDSwYAA
Is this application open source? Is there a way we can see the stack it's built upon, or can you list out which SDKs for EOSIO are in use?
Something is causing the transaction to have a false value before it even reaches Anchor. It might be one of our SDKs or something else, not sure without more details.

Hi Aaron,
Thank you for taking the time to look into this. I've invited you to our
repo.
Since then I've updated to the latest versions of anchor-link and
anchor-link-browser-transport.
Yet the issue is still occurring.
When the action is sent for signing it does not recognize the boolean
value.
The same action sent to Scatter/TokenPocket does recognize the boolean
value.
Could this be an issue with either of the JS libraries?
Thank you again for looking into this. I appreciate your time.
On Mon, Aug 22, 2022 at 1:26 PM Aaron Cox @.***> wrote:

This looks to be an issue with the signing request protocol. The request
Anchor is receiving from the app indeed has a enabled: false value,
regardless of which version of Anchor you use or even if you view the ESR
payload manually. Here's the payload Anchor is receiving for the
transaction, which you can also see shows that value as false:
https://eosio.to/gmNgZDrylDn5hNY8I43nDCIMDEwBmnMlpF9eTWUAASCHUWBqHFzA55mBK8OExSxcsb4bdxWIXgsvjAo2Ypxw9YroxU7fYpCKhtVqy5VgAjCalQECYDQQMFlnlJQUFFvp6ycn6SXmJWfkF-nlZOZl61smGRqnpBia6BqlWCbrmiQZmusmGhgZ6pomJaWZmqaYWloamzKxJucXZ6Y7MzLIM07TWSzNHxwZ83uDrOjNWKPmlgCPXye2PH3C8ObozJxV0iVvYoul1d-sOr676ON0N5c8ngOzcipPnC2p_FvQx3nv7BkWkKUs_MAwAAA
I think the issue is coming from something either in the app or in the
SDKs in use, since I can manually craft an ESR payload that actually has
the true value and that pops up in Anchor:
https://eosio.to/gmNgZGQK0JwrIf3yaioDCAA5jAJT4-ACPs8MXBkmLGbhivXduKtA9Fp4YVSwEeOEq1dEL3b6FoNUNKxWW64EE4DRrAwQAKMZGZisM0pKCoqt9PWTk_QS85Iz8ov0cjLzsvUNTI0tE5NNjXRTUyySdU3MzFN0E43NUnTN0pLNTS0skpMSDSwYAA
Is this application open source? Is there a way we can see the stack it's
built upon, or can you list out which SDKs for EOSIO are in use?
Something is causing the transaction to have a false value before it even
reaches Anchor. It might be one of our SDKs or something else, not sure
without more details.
—
Reply to this email directly, view it on GitHub
https://github.com/greymass/anchor/issues/1300#issuecomment-1222946833,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFY5UPVRCVYL7JF2LUQJXZLV2PO6VANCNFSM57DQOMOA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Aaron, I ran a more simple example and think I found the issue.
When using 1 or 0  as the true and false indicator, Anchor does not recognize it.
The JS true/false values work in setting the boolean value correctly.


Pdfmake-dist is down

See https://bower.io/search/. pdfmake-dist is down but pdfmake exists. I do not know the difference.

Hi there! I apologize for that.
That fork of pdfmake is obsolete now, all changes where merged back to bpampuch/pdfmake.
While there is currently no ETA about the new release, all changes from pdfmake-dist where merged back.
You can try to use the current master or, if you'll encounter some issues, use f419a18875095812b81a9a0189e52eb16a008342 revision which is pretty much the same as<EMAIL_ADDRESS>

Pdfmake is the following:
https://github.com/bpampuch/pdfmake
this was depracted since bpampuch somehow disappeared.
Therefore we used the fork:
https://github.com/pdfmake/pdfmake
Which is obsolete now. I got notified very recently, that there were found new maintainers:
https://github.com/bpampuch/pdfmake/issues/598#event-891949057