text:
UniqueIndex on Id is missing in multitenant configuration

Hello,
@oskardudycz suggested in Gitter chat the following issue was a bug. Basically, if you have a .ForeignKey() reference to another document when .AllDocumentsAreMultiTenanted() is enabled, PostgreSQL will throw the following error:

The error was 42830: there is no unique constraint matching given keys for referenced table "mt_doc_user"

When .AllDocumentsAreMultiTenanted() is disabled, and no multitenant configuration is used, Marten generates Id columns with a PRIMARY KEY; which is unique by definition. The following shows a typical User table DDL definition generated by Marten with no multitenant configuration:

DROP TABLE IF EXISTS public.mt_doc_user CASCADE;
CREATE TABLE public.mt_doc_user (
    id                  uuid CONSTRAINT pk_mt_doc_user PRIMARY KEY,
    data                jsonb NOT NULL,
    mt_last_modified    timestamp with time zone DEFAULT transaction_timestamp(),
    mt_version          uuid NOT NULL default(md5(random()::text || clock_timestamp()::text)::uuid),
    mt_dotnet_type      varchar ,
    email_normalized    varchar
);
COMMENT ON TABLE public.mt_doc_user IS 'origin:Marten.IDocumentStore, Marten, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null';

CREATE UNIQUE INDEX mt_doc_user_idx_email_normalized ON public.mt_doc_user ("email_normalized");

When .AllDocumentsAreMultiTenanted() is enabled, and a Cojoined multitenancy configured via tenant_id, the primary Id column loses its PRIMARY KEY designation. The id column that Marten generates in the DDL is no longer unique. The primary key for the same User table becomes PRIMARY KEY (id, tenant_id). See below:

DROP TABLE IF EXISTS public.mt_doc_user CASCADE;
CREATE TABLE public.mt_doc_user (
    id                  uuid ,
    tenant_id           varchar DEFAULT '*DEFAULT*',
    data                jsonb NOT NULL,
    mt_last_modified    timestamp with time zone DEFAULT transaction_timestamp(),
    mt_version          uuid NOT NULL default(md5(random()::text || clock_timestamp()::text)::uuid),
    mt_dotnet_type      varchar ,
    email_normalized    varchar
   ,PRIMARY KEY (id, tenant_id)
);
COMMENT ON TABLE public.mt_doc_user IS 'origin:Marten.IDocumentStore, Marten, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null';

CREATE INDEX mt_doc_user_idx_tenant_id ON public.mt_doc_user ("tenant_id");

CREATE UNIQUE INDEX mt_doc_user_idx_email_normalized ON public.mt_doc_user ("email_normalized");

And so, when another document, say Issue references User via .ForeignKey(issue => issue.UserId), we have the following FOREIGN KEY constraint that Marten attempts to use:
ALTER TABLE public.mt_doc_issue
ADD CONSTRAINT mt_doc_issue_user_id_fkey FOREIGN KEY (user_id)
REFERENCES public.mt_doc_user (id);

And hence, the error:

The error was 42830: there is no unique constraint matching given keys for referenced table "mt_doc_user"

Workaround
The current workaround is to manually define For<User>().UniqueIndex(user => user.Id) when .AllDocumentsAreMultiTenanted() is enabled on the referenced table for every referenced document to generate a UNIQUE INDEX for the Id columns. When this is done, the DDL is accepted without error.
Version Info

Marten version: 3.6.0
PostgreSQL version: Binaries 10.7.1
CLR: .NET Core SDK and Runtime:

C:\>dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview6-012264
 Commit:    be3f0c1a03

Runtime Environment:
 OS Name:     Windows
 OS Version:  6.1.7601
 OS Platform: Windows
 RID:         win7-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview6-012264\

Host (useful for support):
  Version: 3.0.0-preview6-27804-01
  Commit:  fdf81c6faf

.NET Core SDKs installed:
  1.0.0 [C:\Program Files\dotnet\sdk]
  1.0.1 [C:\Program Files\dotnet\sdk]
  1.0.2 [C:\Program Files\dotnet\sdk]
  1.0.3 [C:\Program Files\dotnet\sdk]
  1.0.4 [C:\Program Files\dotnet\sdk]
  1.1.0 [C:\Program Files\dotnet\sdk]
  2.0.0 [C:\Program Files\dotnet\sdk]
  2.0.3 [C:\Program Files\dotnet\sdk]
  2.1.4 [C:\Program Files\dotnet\sdk]
  2.1.101 [C:\Program Files\dotnet\sdk]
  2.1.103 [C:\Program Files\dotnet\sdk]
  2.1.104 [C:\Program Files\dotnet\sdk]
  2.1.200 [C:\Program Files\dotnet\sdk]
  2.1.201 [C:\Program Files\dotnet\sdk]
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.300 [C:\Program Files\dotnet\sdk]
  2.1.302 [C:\Program Files\dotnet\sdk]
  2.1.401 [C:\Program Files\dotnet\sdk]
  2.1.402 [C:\Program Files\dotnet\sdk]
  2.1.403 [C:\Program Files\dotnet\sdk]
  2.1.500 [C:\Program Files\dotnet\sdk]
  2.1.502 [C:\Program Files\dotnet\sdk]
  2.1.503 [C:\Program Files\dotnet\sdk]
  2.1.505 [C:\Program Files\dotnet\sdk]
  2.1.507 [C:\Program Files\dotnet\sdk]
  2.1.602 [C:\Program Files\dotnet\sdk]
  2.1.604 [C:\Program Files\dotnet\sdk]
  2.1.700 [C:\Program Files\dotnet\sdk]
  2.1.800-preview-009677 [C:\Program Files\dotnet\sdk]
  2.1.800-preview-009696 [C:\Program Files\dotnet\sdk]
  2.2.100 [C:\Program Files\dotnet\sdk]
  2.2.101 [C:\Program Files\dotnet\sdk]
  2.2.103 [C:\Program Files\dotnet\sdk]
  2.2.104 [C:\Program Files\dotnet\sdk]
  2.2.105 [C:\Program Files\dotnet\sdk]
  2.2.106 [C:\Program Files\dotnet\sdk]
  2.2.107 [C:\Program Files\dotnet\sdk]
  2.2.202 [C:\Program Files\dotnet\sdk]
  2.2.203 [C:\Program Files\dotnet\sdk]
  2.2.204 [C:\Program Files\dotnet\sdk]
  2.2.300 [C:\Program Files\dotnet\sdk]
  3.0.100-preview6-012264 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-preview6.19307.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 1.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3-servicing-26724-03 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Thanks,
Brian Chavez
:beach_umbrella: :trumpet: Beach Boys - Good Vibrations (Nick Warren bootleg)

@bchavez quick question, shouldn't the foreign key constraint and reference be as below rather than the workaround which you indicated?
ALTER TABLE public.mt_doc_issue
ADD CONSTRAINT mt_doc_issue_user_id_tenant_id_fkey FOREIGN KEY (user_id, tenant_id)
REFERENCES public.mt_doc_user (id, tenant_id);

@mysticmind, you're probably right. Truthfully, though, I lost the context of the problem since posting. :face_with_head_bandage:

authors: bchavez mysticmind


text:
Generate schema's by type

This is low priority, just thought it would be a nice to have.
Ability to write the DDL by type.
martenStore.Schema.WriteDDLByType();
This would simply add a folder to the bin (or overload for a path) and inside the folder would be each type as its own sql file: photo.sql / member.sql
This would make it easier to figure out what the change scripts for a particular type are when scripting stuff off manually without using the auto generate feature in production.

Want a master run_all.sql kind of file too? Might be important for ordering if we ever manage to do the foreign key feature.
Dump the system level sql too? There's quite a bit for the event store

I figured we would keep the WriteDDL which writes the run_all, but then WriteDDLByType would split by doc type.
Not sure what the system level sql is?

@phillip-haydon You'd have some DDL for the event store support (when that exists). Moreover though, we'd eventually need these things to run in a certain order when (and if) we start creating the foreign key feature https://github.com/JasperFx/marten/issues/150. I'm not worrying about that part of this today though;)

source: gharchive/issue

authors: jeremydmiller phillip-haydon

repo: JasperFx/marten

license: MIT

license_type: permissive

license_source: github-api


text:
Sample for CustomGrouper is not robust

The sample in the documentation for CustomGrouper is misleading:
https://martendb.io/events/projections/multi-stream-projections.html#using-custom-grouper-with-fan-out-feature-for-event-projections
It states right at the top that needing to access the aggregate view itself disqualifies a CustomGrouper somewhat. However this is exactly what the example shows.
Furthermore when examining the sample:
src/EventSourcingTests/Projections/MultiStreamProjections/CustomGroupers/custom_grouper_with_document_session.cs
Reordering the license assignment to the users and the license feature toggles being assigned breaks the example. Those two things should be interchangeable however for this to be a good example.

I just don't care enough to do anything about this to be honest.

authors: Blackclaws jeremydmiller


text:
Fix for #3514

Adds the is_archived column to the insert columns and sets it in the ON CONFLICT PK's if UseArchivedStreamPartitioning.
Ref #3514

@ericgreenmix Good catch, and thank you!

source: gharchive/pull-request

authors: ericgreenmix jeremydmiller


text:
Cheated damage detection feature

I am considering this feature and would appreciate your open feedback.

This feature has been partially implemented, but we need further improvements. Your feedback is welcome without hesitation.
자유롭게 의견 주세요.


text:
Small error w/ time data format

ValueError: time data '2023 13 Feb 6:53 pm CST' does not match format '%Y %d %b %I:%M %p %Z'
I ran the .py once, and it worked - but every time after I get the above... will dig in a bit - this is awesome, I'm just starting to play around with it. Thanks!!

Thanks for the issue. I'm assuming that's when fetching weather info? That particular string parses fine with that format string when I try it directly in Python:
print(dt.datetime.strptime('2023 13 Feb 6:53 pm CST', '%Y %d %b %I:%M %p %Z'))
I wonder if it's some sort of localization setting on your particular computer that's different? Let me know what you find out! In any case, error-handling could definitely be better in this program.

@Paulie420 sounds like changing the lat/lon fixed it for you. Not sure why that would make a difference, but glad it's working for you.

repo: JeffJetton/retrofeed


text:
Create public bloblang API (including plugins)

Bloblang is pretty core to Benthos, and therefore we need a way to allow plugin authors to use it from their custom components. However, it's currently kept within an internal package. I think it's important to keep most of the packages within internal, and so we need to create a public package that can bridge the gap.
Ideally it should be clean, intuitive, avoid exposing internals that aren't relevant to plugin authors and most importantly it should be something we can keep backwards compatible even if/when the internal packages are restructured. It should also provide a mechanism for plugging custom functions and methods into the language.

Temporary package for using bloblang in order to unblock plugin authors: https://github.com/Jeffail/benthos/blob/master/lib/bloblang/package.go
However, the longer term goal is to create a new public API with a simpler concept of a "message" and "message batch", and that's when I'll add a an API for writing bloblang plugins.

Done: https://pkg.go.dev/github.com/Jeffail/benthos/v3/public

repo: Jeffail/benthos

license: mit

license_source: bigquery


text:
Laravel Mix Working Locally, Misbehaving on Remote Server

Node Version: 6.94
NPM Version: 3.10.10
Yarn Version: 0.21.3
Laravel Mix Version: 0.8.9

Description:
When I run Laravel mix on my local development environment it outputs files as expected
/js/vendor.js     758 kB       0  [emitted]  [big]  /js/vendor
/js/app.js     180 kB       1  [emitted]         /js/app
/js/manifest.js    5.77 kB       2  [emitted]         /js/manifest
/css/app.css     192 kB       1  [emitted]         /js/app
etc.

However, when I deploy this same application with an Ansible build script to the staging environment (CentOS 7.2.1511), running Laravel Mix appears to ignore my webpack.mix.js file and output some nonexistent file:
mix.js  539 bytes       0  [emitted]  mix
mix-manifest.json   26 bytes          [emitted]

The mix.js file is nowhere to be found on the server, though the mix-manifest.json file does reference it.
Running npm run dev and npm run production makes no difference, neither does Running it as part of the deploy script or manually on the remote server.
I am using Yarn for NPM dependencies so I know that I have the same in both environments. Webpack appears to run as expected, it just doesn't process my files.
Steps to Reproduce
Not sure how to reproduce this, working in one environment, failing in another.
Settings
Here are my relevant config files:
/package.json
{
  "private": true,
  "scripts": {
    "dev": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch-poll": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --watch-poll --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
    "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
  },
  "devDependencies": {
    "axios": "^0.15.3",
    "bootstrap-sass": "^3.3.7",
    "cross-env": "^3.2.3",
    "css-loader": "^0.27.3",
    "laravel-mix": "^0.8.3",
    "node-sass": "^4.5.1",
    "sass-loader": "^6.0.3",
    "style-loader": "^0.16.0",
    "susy": "^2.2.12",
    "vue": "^2.1.10"
  },
  "dependencies": {
    "imagemin-webpack-plugin": "^1.4.4",
    "moment": "^2.18.1",
    "vue-router": "^2.3.1"
  }
}

/webpack.mix.js
const { mix } = require('laravel-mix');
let ImageminPlugin = require( 'imagemin-webpack-plugin' ).default;

mix.webpackConfig({
    module: {
        loaders: [
            {
                test: /\.(sass|scss)$/,
                loader: "style!css!sass!scss"
            }
        ]
    },
    plugins: [
        new ImageminPlugin({
            disable: process.env.NODE_ENV !== 'production', // Disable during development
            pngquant: {
                quality: '95-100',
            },
            test: /\.(jpe?g|png|gif|svg)$/i,
        }),
    ],
});

mix.js('resources/assets/js/app.js', 'public/js')
    .extract([
        'vue',
        'moment',
        'axios'
    ])
    .sass('resources/assets/sass/app.scss', 'public/css')
    .copy( 'resources/assets/images', 'public/images', false );

So, I was having the same issue, but it turned out the problem was that I'm using a symlink for the node_modules folder, this workaround fixed it.

@j3j5 Thank! that fixed my issue as well.

repo: JeffreyWay/laravel-mix


text:
OJ-18051: Chunk up long project_ids for GET request

A customer is having a problem of the GET url being too long.
This ticket will chuck on the project_ids if they are too long.
Tested locally with ortho.
Jira Ticket:
https://jelly-ai.atlassian.net/browse/OJ-18051

Also worth looking at the direct-connect version of this code too -- whatever we do in the agent we should probably do there as well.
This looks fine to me, I leave the relative merits of going to POST for consistency with the other place we make this call vs leaving it as a GET for less risk perturbing existing customers to your call.
Other thought: is there reason to think think URL limit is the right one?  Will other load balances / HTTP servers / whatever else have a smaller limit (and thus maybe we should chunk even smaller?)

authors: eliwind zdwarren


text:
Not sure about how debounce works

Hi!
I'm using Interstellar in our project and so far it's working fine.
There is a use case where I can update a signal multiple times in a short period but I'm only interested in one update every let's say half a second. It's fine to discard the previous updates, I'm just interested in the latest one.
I'm using debounce for this, but looking at the tests (and at the wrong outcome in the app), calling next  on a debounced signal will still fire the callback as many times as updates on the original signal.
Is this the intended behavior and how can I discard previous updates?
The main goal I'm trying to achieve is to have some kind of buffer (a [Int]) that can be filled and flushed every half a second at most
Thanks!

If debounce is still calling your subscriber for each update, something is wrong 😀
In the test it's actually testing that some values should be discarded. It pretty much works like this:

First update is supplied immediately (if there are less frequent updates this is desired behaviour)
next update is delayed up to the interval that is specified as an argument
if there is another update during this timespan, the last value is discarded and the new value takes it's place (this does not reset the timer though to have consistent update calls)

Basic use case would be a textfield sending a signal on each key press, but only querying the network / database once per second. I used this in a few apps so far and it did work as intended. If it's not working for you like this it would be great to see a code snipped from you to reproduce this error.

Ha, I see! I wasn't actually getting a call for each update, but I was assuming that by just looking at the tests. Maybe they could be modified so that update is called 3 times and yet 2 callbacks are fired. I think this would make the behavior more clear.
Anyway, thanks for the explanation. I think the part I missed (and didn't expect) was the first update that is fired immediately.
I'll close this since now the logic is clarified. Thanks!

authors: JensRavens vittoriom

repo: JensRavens/Interstellar


text:
device_attr("sensor.inverter_input_power","model") does not exist

Hi,
I am using huawei_solar (wlcrs) and huawei_solar_pees package.
Works great so far.
Now, I want to start using the "Efficiency Corrected Input", but that does not work.
In huawei_solar_pees_input.yaml line 190, you refer to device_attr("sensor.inverter_input_power","model") to determine the Inverter Model.
The sensor does exist but doesn't has the attribute "model". That leads to sensor.inverter_1_model being "unknown"
I have SUN2000-4.6KTL-L1
Regards
Martin

Take a look here :-) https://github.com/JensenNick/huawei_solar_pees/discussions/85. Could you please provide the information about the output and I'll have a look at it.

IndexError: list index out of range

I wonder, because there is no attribute "model" in entity "inverter_input_power"

Support added in release v2.2.6.

Support added with the release v2.2.6.


text:
Adding Participant

Is your feature request related to a problem? Please describe.
I can create a tournament but i can't add participant
Describe the solution you'd like
Adding a list of player/team that will participate to my tournament
Additional context
The players/teams will be already registred in the factory

Not finished during Sprint3 , continued in Sprint4 with #52

repo: JeremLa/Tournament-Factory


text:
🛑 Projects Website is down

In a5ee1e6, Projects Website (https://projects.danplace.tech) was down:

HTTP code: 503
Response time: 1379 ms

Resolved: Projects Website is back up in dfdabf7 after 12 minutes.


text:
Missing tags?

I've been trying to find some of these things using tags which it seems obvious they should have, and failing.
Here's a few that seemed obvious at least to me:
1x8 and 1x8 CV splitter are not under the Multiple tag.
None of the Clock- modules are under Clock Modulator tag.
None of the logical modules (And, Or, etc) are under the Logic tag.

all tags should be correct in 1.0, going to go ahead and close this.

authors: JerrySievert darloth

repo: JerrySievert/SynthKit


text:
项目是多进程的，在Applocation 使用了AutoSize#initCompatMultiProcess(this)，某些机型出现了java.lang.NullPointerException，使用的版本v1.1.2

Caused by: java.lang.NullPointerException:
at android.os.Parcel.readException (Parcel.java:1698)
at android.os.Parcel.readException (Parcel.java:1645)
at android.app.ActivityManagerProxy.unstableProviderDied (ActivityManagerProxy.java:4388)
at android.app.ActivityThread.handleUnstableProviderDiedLocked (ActivityThread.java:6030)
at android.app.ActivityThread.handleUnstableProviderDied (ActivityThread.java:6005)
at android.app.ContextImpl$ApplicationContentResolver.unstableProviderDied (ContextImpl.java:2282)
at android.content.ContentResolver.query (ContentResolver.java:545)
at android.content.ContentResolver.query (ContentResolver.java:481)
at me.jessyan.autosize.AutoSize.initCompatMultiProcess (AutoSize.java:229)

升级 v1.2.0，用 AutoSize.checkAndInit(this); 初始化
https://github.com/JessYanCoding/AndroidAutoSize/blob/master/demo/src/main/java/me/jessyan/autosize/demo/BaseApplication.java#L61

升级 v1.2.0，用 AutoSize.checkAndInit(this); 初始化
https://github.com/JessYanCoding/AndroidAutoSize/blob/master/demo/src/main/java/me/jessyan/autosize/demo/BaseApplication.java#L61
OK  谢谢！😁

多问一句，AutoSize.initCompatMultiProcess(this);  AutoSize.checkAndInit(this)
这两个方法是一块使用吗？

authors: HolyShot JessYanCoding

repo: JessYanCoding/AndroidAutoSize


text:
Fix NameError by importing urllib at the top level

Addresses #5

It seems like there is a check failing, but it seem to be upstream. This is not that big of an issue for us (yet) and since this doesn't introduce new features, I'm merging this in

Extra note: It will prevent pushing to pypi automatically, that a check is failing

authors: JessicaTegner zietzm

repo: JessicaTegner/PyTinyTeX


text:
NPE occurring in ComposeAccessibleComponent.getAccessibleParent

I sometimes see this error in the logs
java.lang.NullPointerException
	at androidx.compose.ui.platform.ComposeAccessible$ComposeAccessibleComponent.getAccessibleParent(ComposeAccessible.kt:203)
	at java.desktop/sun.lwawt.macosx.CAccessibility$15.call(CAccessibility.java:313)
	at java.desktop/sun.lwawt.macosx.CAccessibility$15.call(CAccessibility.java:309)
	at java.desktop/sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:694)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:746)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:744)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:743)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

This one lead to a crash.
It occurred while changing focus via the tab key.
java.lang.NullPointerException
	at androidx.compose.ui.platform.ComposeAccessible$ComposeAccessibleComponent.getAccessibleParent(ComposeAccessible.kt:203)
	at java.desktop/sun.lwawt.macosx.CAccessible$AXChangeNotifier.propertyChange(CAccessible.java:155)
	at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
	at java.desktop/javax.accessibility.AccessibleContext.firePropertyChange(AccessibleContext.java:790)
	at androidx.compose.ui.platform.AccessibilityControllerImpl.fireChangedNodeEvent(Accessibility.desktop.kt:85)
	at androidx.compose.ui.platform.AccessibilityControllerImpl.syncNodes$findAllSemanticNodesRecursive(Accessibility.desktop.kt:151)
	at androidx.compose.ui.platform.AccessibilityControllerImpl.syncNodes$findAllSemanticNodesRecursive(Accessibility.desktop.kt:162)
	at androidx.compose.ui.platform.AccessibilityControllerImpl.syncNodes$findAllSemanticNodesRecursive(Accessibility.desktop.kt:162)
	at androidx.compose.ui.platform.AccessibilityControllerImpl.syncNodes$findAllSemanticNodesRecursive(Accessibility.desktop.kt:162)
	at androidx.compose.ui.platform.AccessibilityControllerImpl.syncNodes$findAllSemanticNodesRecursive(Accessibility.desktop.kt:162)
	at androidx.compose.ui.platform.AccessibilityControllerImpl.syncNodes(Accessibility.desktop.kt:166)
	at androidx.compose.ui.platform.AccessibilityControllerImpl.syncLoop(Accessibility.desktop.kt:134)
	at androidx.compose.ui.platform.AccessibilityControllerImpl$syncLoop$1.invokeSuspend(Accessibility.desktop.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at androidx.compose.ui.platform.FlushCoroutineDispatcher$dispatch$2$1.invoke(FlushCoroutineDispatcher.skiko.kt:56)
	at androidx.compose.ui.platform.FlushCoroutineDispatcher$dispatch$2$1.invoke(FlushCoroutineDispatcher.skiko.kt:51)
	at androidx.compose.ui.platform.FlushCoroutineDispatcher.performRun(FlushCoroutineDispatcher.skiko.kt:85)
	at androidx.compose.ui.platform.FlushCoroutineDispatcher.access$performRun(FlushCoroutineDispatcher.skiko.kt:33)
	at androidx.compose.ui.platform.FlushCoroutineDispatcher$dispatch$2.invokeSuspend(FlushCoroutineDispatcher.skiko.kt:51)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [androidx.compose.ui.awt.ComposeLayer$coroutineExceptionHandler$1@e185a03, androidx.compose.runtime.BroadcastFrameClock@5ee0efe3, StandaloneCoroutine{Cancelling}@60880afb, FlushCoroutineDispatcher@468483b3]

compose-jb: 1.2.0
os: macOS 12.6 (21G115)

Hi, thanks for the report!

Is this issue reproduced often?
Is it possible to write a small reproducer?
Is it reproduced before Compose 1.2.0?

Closing, as it is not enough information to reproduce the crash, and there is no other reports.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: asapha igordmn okushnikov

repo: JetBrains/compose-multiplatform


text:
java.lang.OutOfMemoryError: Java heap space

I am getting error: java.lang.OutOfMemoryError: Java heap space when I tried to make the release build of the iOS project.

Task :composeApp:linkReleaseFrameworkIosX64 FAILED
warning: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: ComposeApp. Please specify the bundle ID explicitly using the -Xbinary=bundleId= compiler flag.
error: Compilation failed: Java heap space

Source files:
Compiler version: 1.9.22
Output kind: FRAMEWORK

error: java.lang.OutOfMemoryError: Java heap space 	at org.jetbrains.kotlin.backend.konan.util.LongArrayList.<init>(PrimitiveLists.kt:62) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl$ConstraintGraphBuilder.addEdge(DevirtualizationAnalysis.kt:889) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl$ConstraintGraphBuilder.doCall(DevirtualizationAnalysis.kt:1107) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl$ConstraintGraphBuilder.doCall(DevirtualizationAnalysis.kt:1135) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl$ConstraintGraphBuilder.dfgNodeToConstraintNode$doCall(DevirtualizationAnalysis.kt:1160) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl$ConstraintGraphBuilder.dfgNodeToConstraintNode(DevirtualizationAnalysis.kt:1241) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl$ConstraintGraphBuilder.build(DevirtualizationAnalysis.kt:970) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl.buildConstraintGraphPrecursor(DevirtualizationAnalysis.kt:794) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl.buildConstraintGraph(DevirtualizationAnalysis.kt:760) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis$DevirtualizationAnalysisImpl.analyze(DevirtualizationAnalysis.kt:448) 	at org.jetbrains.kotlin.backend.konan.optimizations.DevirtualizationAnalysis.run(DevirtualizationAnalysis.kt:1359) 	at org.jetbrains.kotlin.backend.konan.driver.phases.LTOKt$DevirtualizationAnalysisPhase$2.invoke(LTO.kt:70) 	at org.jetbrains.kotlin.backend.konan.driver.phases.LTOKt$DevirtualizationAnalysisPhase$2.invoke(LTO.kt:56) 	at org.jetbrains.kotlin.backend.konan.driver.phases.PhaseBuildersKt$createSimpleNamedCompilerPhase$1.phaseBody(PhaseBuilders.kt:32) 	at org.jetbrains.kotlin.backend.common.phaser.SimpleNamedCompilerPhase.phaseBody(CompilerPhase.kt:207) 	at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94) 	at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine.runPhase(Machinery.kt:139) 	at org.jetbrains.kotlin.backend.konan.driver.phases.TopLevelPhasesKt.runCodegen(TopLevelPhases.kt:360) 	at org.jetbrains.kotlin.backend.konan.driver.phases.TopLevelPhasesKt.runBackendCodegen(TopLevelPhases.kt:321) 	at org.jetbrains.kotlin.backend.konan.driver.phases.TopLevelPhasesKt.compileModule(TopLevelPhases.kt:251) 	at org.jetbrains.kotlin.backend.konan.driver.phases.TopLevelPhasesKt.runBackend$lambda$9$runAfterLowerings(TopLevelPhases.kt:105) 	at org.jetbrains.kotlin.backend.konan.driver.phases.TopLevelPhasesKt.runBackend(TopLevelPhases.kt:124) 	at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver.produceObjCFramework(DynamicCompilerDriver.kt:76) 	at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver.access$produceObjCFramework(DynamicCompilerDriver.kt:31) 	at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver$run$1$1$1.invoke(DynamicCompilerDriver.kt:42) 	at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver$run$1$1$1.invoke(DynamicCompilerDriver.kt:36) 	at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine$Companion$startTopLevel$topLevelPhase$1.phaseBody(Machinery.kt:98) 	at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine$Companion$startTopLevel$topLevelPhase$1.phaseBody(Machinery.kt:92) 	at org.jetbrains.kotlin.backend.common.phaser.SimpleNamedCompilerPhase.phaseBody(CompilerPhase.kt:207) 	at org.jetbrains.kotlin.backend.common.phaser.AbstractNamedCompilerPhase.invoke(CompilerPhase.kt:94) 	at org.jetbrains.kotlin.backend.konan.driver.PhaseEngine$Companion.startTopLevel(Machinery.kt:105) 	at org.jetbrains.kotlin.backend.konan.driver.DynamicCompilerDriver.run(DynamicCompilerDriver.kt:36)
Affected platforms
Select one of the platforms below:

iOS [release ]

Versions

Kotlin version: 1.9.22
Compose Multiplatform version: 1.6.0-rc02

To Reproduce

Update to the last version of compose and try to make the release version of iOS
https://terrakok.github.io/Compose-Multiplatform-Wizard/  Use default setup and make release version

Additional context
I am getting this error in Xcode and Android Studio also
IDE max heap size: 5120 MB
Gradle daemon max heap size 2048 MB
Kotlin daemon max heap size 2048 MB
#Gradle org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx2048M" org.gradle.caching=true org.gradle.configuration-cache=true

Give Xmx 8g and see what happens

org.gradle.jvmargs=-Xmx8192M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx8192M"
I was able to build a release with this configuration. But I started to face this problem when I upgraded Compose version to 1.6.0-rc02

I reopened this issue, because it is possible problem for other projects as well.
So, the one of possible solution is to add additional memory to build iOS application.
Maybe we need to increase initial memory in template project here https://kmp.jetbrains.com/

Seems to be a bug in the generated xcproject, as I have the JVM heap set much larger than it suggests, but it seesm to ignore it.
The Daemon will expire after the build after running out of JVM heap space.

The project memory settings are likely not configured or are configured to an insufficient value.

The daemon will restart for the next build, which may increase subsequent build times.

These settings can be adjusted by setting 'org.gradle.jvmargs' in 'gradle.properties'.

The currently configured max heap space is '3.3 GiB' and the configured max metaspace is '512 MiB'.

For more information on how to set these values, please refer to https://docs.gradle.org/8.7/userguide/build_environment.html#sec:configuring_jvm_memory in the Gradle documentation.

To disable this warning, set 'org.gradle.daemon.performance.disable-logging=true'.

Daemon will be stopped at the end of the build after running out of JVM heap space

org.gradle.jvmargs=-Xmx8192M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx8192M" I was able to build a release with this configuration. But I started to face this problem when I upgraded Compose version to 1.6.0-rc02

Please where do I add this configuration? I am currently facing the same issue

@Ric-AB grade.properties file

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: HahhVwgwg Ric-AB chrisjenx dima-avdeev-jb maqsats okushnikov pablichjenkov


text:
SpriteSymbol  is not a constructor

can not load page
chrome console error node_modules_svg_baker_runtime_browser_symbol_js__WEBPACK_IMPORTED_MODULE_0_ is not a constructor

Node.js version:v14.17.1
webpack version: v5.41.1
svg-sprite-loader version: 6.0.9
OS type & version: windows10

const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const Webpack = require('webpack');
const VueLoaderPlugin = require('vue-loader/lib/plugin-webpack5');
console.log('process.env.NODE_ENV :>> ', process.env.NODE_ENV);
module.exports = {
target: 'web',
entry: './src/main.js',
module: {
rules: [
{
test: /.js$/,
exclude:  path.resolve(__dirname, "../node_modules"),
use: [
{
loader: 'babel-loader',
},
],
},
{
test: /.vue$/,
use: [
{
loader: 'vue-loader',
},
],
},
{
test: /.svg$/,
loader:'svg-sprite-loader',
options: {
symbolId: 'icon-[name]',
esModule: true,
},
include: path.resolve(__dirname, "../src/icons"),
},
{
test: /.png|jpg|gif|jpeg|svg|eot|ttf|woff|woff2/,
type: 'asset',
exclude: path.resolve(__dirname, "../src/icons"),
parser: {
dataUrlCondition: {
maxSize: 10 * 1024,
},
},
generator: {
filename: 'images/[base]',
},
},
{
test: /.txt|xlsx/,
type: 'asset',
generator: {
filename: 'files/[base]',
},
},
],
},
plugins: [
new HtmlWebpackPlugin({
template: 'src/index.html',
}),
new VueLoaderPlugin(),
new Webpack.ProvidePlugin({
Vue: ['vue/dist/vue.esm.js', 'default'],
})
],
resolve: {
alias: {
"@": path.resolve(__dirname, "../src")
},
extensions: ['.js', '.vue', '.css'],
}
};
packjson.js
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/runtime": "^7.14.6",
"@babel/runtime-corejs3": "^7.14.7",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"css-minimizer-webpack-plugin": "^3.0.2",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-vue": "^7.3.0",
"html-webpack-plugin": "5.3.2",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"mini-css-extract-plugin": "^1.3.3",
"node-sass": "^5.0.0",
"postcss": "^8.2.1",
"postcss-loader": "^4.1.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.2.1",
"sass": "^1.30.0",
"sass-loader": "^10.1.0",
"style-loader": "^2.0.0",
"svg-sprite-loader": "^6.0.9",
"svgo": "^2.3.1",
"terser-webpack-plugin": "^5.1.4",
"vue-eslint-parser": "^7.3.0",
"vue-loader": "^15.9.7",
"vue-template-compiler": "^2.6.12",
"webpack": "^5.41.1",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"axios": "0.21.1",
"core-js": "^3.15.2",
"element-ui": "2.15.3",
"js-cookie": "^2.2.1",
"normalize.css": "^8.0.1",
"vue": "^2.6.14",
"vue-router": "^3.5.2",
"vuex": "3.6.2"
}

这个问题我也遇到了，解决了吗兄弟？

authors: Boom-BO Dravenxu

repo: JetBrains/svg-sprite-loader


text:
Pull request for fsr.ac.ma

University official website URL:http://www.fsr.ac.ma
URL of IT related course is offered by the university: http://www.fsr.ac.ma/content/informatique-et-telecommunications

@Azze364 Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.

repo: JetBrains/swot


text:
Create fairview.txt

I'm a student of STI College Fairview, currently taking J2EE course. Unfortunately, Java Web Application and J2EE services are only supported by Netbeans and IntelliJ IDEA Ultimate Edition but I prefer using the latter. For that, I am hoping to have a free License for Jetbrains products using this service.

@drin623 Could you please provide us with:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

@drin623 This request duplicates #3136, I am closing it because the domain was already added. They delay with the request processing was due to unavailability of the college website.


text:
Add Robbinsdale Area Schools (https://rdale.org)

Adds a whole district which uses the same domain (rdale.org) for their elementary schools (uses scratch.mit.edu and code.org to teach basic programming concepts without a text editor), middle schools (expands on scratch.mit.edu and uses Python), high schools (has full-fledged computer science classes).

@xXAndrew28Xx Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


text:
Create nsd131.txt

added .group to nsd131.txt to include Nampa School District
Active websites are https://www.nsd131.org/ which is for the district level
https://columbiahigh.nsd131.org/ is for Columbia High School
Visit https://columbiahigh.nsd131.org/apps/staff/ to find my listing under Robert Hibbard
I am listed as the IT/Business Teacher. I am part of the CTE program. I teach two Pathway programs. Desktop Support and Programming and Software Development.
You can view my credentials at https://apps2.sde.idaho.gov/CertificationLookup/Search
There is two Robert Hibbard's, of course mine is the Nampa School District(131).

@roblhibbard Pull request merged. Thank you!

authors: philipto roblhibbard


text:
Added California K8 School: Santa Ana Unified School District

Request adding this K8 School to your list.

@kvnlwlls I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host sausd.k8.ca.us not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!

authors: kvnlwlls philipto


text:
Create cvosemper.txt

https://www.cvosemper.be/

@MeetThePyro Pull request merged. Thank you!

authors: MeetThePyro philipto


text:
Failed to add custom plugin

I just copy the demo in this page
http://suneditor.com/sample/html/customPlugins.html
fix a typo of lack of comma
when click the button, the menu show up, but after typing some text and click ok, the submenu just dispear and nothing else happened(no text inserted).

It seems the button didn't get clicked at all. While type tab and space, it got triggered.

strangely, after reinstall, it cannot be replayed :(

is it ok to change the mousedown event to mouseup? or add some background layer below the menu and listen to the click of that layer?

Could you explain a more detail?

as the gif shows

first, click the button on the toolbar
the submenu pop up
try to click the button on the submenu, but the submenu closed immediately before the button got clicked

If you do not call the submenuOff method, it will not close.
onClick: function () {
	const value = this.util.createTextNode(this.context.custom.textElement.value);

	this.insertNode(value);
	this.setRange(value, value.length, value, value.length);

        // -------------------- submenu off ----------------------
	// this.submenuOff();
	this.focus();
}

no, it will close.
see here: https://github.com/JiHong88/SunEditor/blob/master/src/lib/core.js#L274
I've tried to comment the submenuOff, however, the onClick is event not get triggered. I put a console.log at the top line of the onClick. when click the button, the menu closed directly, and there is no any log.

https://github.com/JiHong88/SunEditor/pull/234

Yup, There was a mistake in the examples.
Thank you for your contribution!


text:
Test on the trained model

I have trained a model with 1 class in SipMask-benchmark. I want to run the inference script using my model. when I tried to execute demo/fcos_demo.py. I have changed the path to the weight file and changed the class values inside demo/fcos_demo.py and predictor.py.
I have renamed the model as FCOS_imprv_R_50_FPN_1x.pth
I got the below error

@aniketzz Thanks for interest. I donot use fcos_demo.py to show the result. But from the information you provided, it seems that there is a parameter about the number of the classes that needs to be changed to 1.

@JialeCao001 I agree but I have made the changes in all the config files as well as the files that are been used. I do not understand where I am missing. Is there any way to test the model on a video or image?

@aniketzz Are you sure that the output channel of training model is 1? it seems 80.

@JialeCao001 Yes I have.
Here is the config:
Versions of relevant libraries:
[pip3] numpy==1.19.2
[pip3] torch==1.4.0
[pip3] torchvision==0.5.0
[conda] blas                      1.0                         mkl
[conda] mkl                       2020.2                      256
[conda] mkl-service               2.3.0            py37he8ac12f_0
[conda] mkl_fft                   1.3.0            py37h54f3939_0
[conda] mkl_random                1.1.1            py37h0573a6f_0
[conda] pytorch                   1.4.0           py3.7_cuda10.0.130_cudnn7.6.3_0    pytorch
[conda] torchvision               0.5.0                py37_cu100    pytorch
Pillow (6.2.2)
2021-03-25 07:27:28,085 fcos_core INFO: Loaded configuration file configs/sipmask/sipmask_R_50_FPN_1x.yaml
2021-03-25 07:27:28,085 fcos_core INFO:
FCOS with improvements
MODEL:
META_ARCHITECTURE: "GeneralizedRCNN"
WEIGHT: "catalog://ImageNetPretrained/MSRA/R-50"
RPN_ONLY: True
SIPMASK_ON: True
BACKBONE:
CONV_BODY: "R-50-FPN-RETINANET"
RESNETS:
BACKBONE_OUT_CHANNELS: 256
RETINANET:
USE_C5: False # FCOS uses P5 instead of C5
SIPMASK:
# normalizing the regression targets with FPN strides
NORM_REG_TARGETS: True
# positioning centerness on the regress branch.
# Please refer to https://github.com/tianzhi0549/FCOS/issues/89#issuecomment-516877042
CENTERNESS_ON_REG: True
# using center sampling and GIoU.
# Please refer to https://github.com/yqyao/FCOS_PLUS
CENTER_SAMPLING_RADIUS: 1.5
IOU_LOSS_TYPE: "giou"
DATASETS:
TRAIN: ("coco_2017_train",)
TEST: ("coco_2017_val",)
INPUT:
MIN_SIZE_TRAIN: (800,)
MAX_SIZE_TRAIN: 1333
MIN_SIZE_TEST: 800
MAX_SIZE_TEST: 1333
DATALOADER:
SIZE_DIVISIBILITY: 32
SOLVER:
BASE_LR: 0.01
WEIGHT_DECAY: 0.0001
STEPS: (60000, 80000)
MAX_ITER: 90000
IMS_PER_BATCH: 8
WARMUP_METHOD: "constant"
2021-03-25 07:27:28,086 fcos_core INFO: Running with config:
DATALOADER:
ASPECT_RATIO_GROUPING: True
NUM_WORKERS: 2
SIZE_DIVISIBILITY: 32
DATASETS:
TEST: ('coco_2017_val',)
TRAIN: ('coco_2017_train',)
INPUT:
MAX_SIZE_TEST: 1333
MAX_SIZE_TRAIN: 1333
MIN_SIZE_RANGE_TRAIN: (-1, -1)
MIN_SIZE_TEST: 800
MIN_SIZE_TRAIN: (800,)
PIXEL_MEAN: [102.9801, 115.9465, 122.7717]
PIXEL_STD: [1.0, 1.0, 1.0]
TO_BGR255: True
MODEL:
BACKBONE:
CONV_BODY: R-50-FPN-RETINANET
FREEZE_CONV_BODY_AT: 2
USE_GN: False
CLS_AGNOSTIC_BBOX_REG: False
DEVICE: cuda
FBNET:
ARCH: default
ARCH_DEF:
BN_TYPE: bn
DET_HEAD_BLOCKS: []
DET_HEAD_LAST_SCALE: 1.0
DET_HEAD_STRIDE: 0
DW_CONV_SKIP_BN: True
DW_CONV_SKIP_RELU: True
KPTS_HEAD_BLOCKS: []
KPTS_HEAD_LAST_SCALE: 0.0
KPTS_HEAD_STRIDE: 0
MASK_HEAD_BLOCKS: []
MASK_HEAD_LAST_SCALE: 0.0
MASK_HEAD_STRIDE: 0
RPN_BN_TYPE:
RPN_HEAD_BLOCKS: 0
SCALE_FACTOR: 1.0
WIDTH_DIVISOR: 1
FCOS:
CENTERNESS_ON_REG: False
CENTER_SAMPLING_RADIUS: 0.0
FPN_STRIDES: [8, 16, 32, 64, 128]
INFERENCE_TH: 0.05
IOU_LOSS_TYPE: iou
LOSS_ALPHA: 0.25
LOSS_GAMMA: 2.0
NMS_TH: 0.6
NORM_REG_TARGETS: False
NUM_CLASSES: 2
NUM_CONVS: 4
PRE_NMS_TOP_N: 1000
PRIOR_PROB: 0.01
USE_DCN_IN_TOWER: False
FCOS_ON: False
FPN:
USE_GN: False
USE_RELU: False
GROUP_NORM:
DIM_PER_GP: -1
EPSILON: 1e-05
NUM_GROUPS: 32
KEYPOINT_ON: False
MASK_ON: False
META_ARCHITECTURE: GeneralizedRCNN
RESNETS:
BACKBONE_OUT_CHANNELS: 256
DEFORMABLE_GROUPS: 1
NUM_GROUPS: 1
RES2_OUT_CHANNELS: 256
RES5_DILATION: 1
STAGE_WITH_DCN: (False, False, False, False)
STEM_FUNC: StemWithFixedBatchNorm
STEM_OUT_CHANNELS: 64
STRIDE_IN_1X1: True
TRANS_FUNC: BottleneckWithFixedBatchNorm
WIDTH_PER_GROUP: 64
WITH_MODULATED_DCN: False
RETINANET:
ANCHOR_SIZES: (32, 64, 128, 256, 512)
ANCHOR_STRIDES: (8, 16, 32, 64, 128)
ASPECT_RATIOS: (0.5, 1.0, 2.0)
BBOX_REG_BETA: 0.11
BBOX_REG_WEIGHT: 4.0
BG_IOU_THRESHOLD: 0.4
FG_IOU_THRESHOLD: 0.5
INFERENCE_TH: 0.05
LOSS_ALPHA: 0.25
LOSS_GAMMA: 2.0
NMS_TH: 0.4
NUM_CLASSES: 2
NUM_CONVS: 4
OCTAVE: 2.0
PRE_NMS_TOP_N: 1000
PRIOR_PROB: 0.01
SCALES_PER_OCTAVE: 3
STRADDLE_THRESH: 0
USE_C5: False
RETINANET_ON: False
ROI_BOX_HEAD:
CONV_HEAD_DIM: 256
DILATION: 1
FEATURE_EXTRACTOR: ResNet50Conv5ROIFeatureExtractor
MLP_HEAD_DIM: 1024
NUM_CLASSES: 2
NUM_STACKED_CONVS: 4
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 0
POOLER_SCALES: (0.0625,)
PREDICTOR: FastRCNNPredictor
USE_GN: False
ROI_HEADS:
BATCH_SIZE_PER_IMAGE: 512
BBOX_REG_WEIGHTS: (10.0, 10.0, 5.0, 5.0)
BG_IOU_THRESHOLD: 0.5
DETECTIONS_PER_IMG: 100
FG_IOU_THRESHOLD: 0.5
NMS: 0.5
POSITIVE_FRACTION: 0.25
SCORE_THRESH: 0.05
USE_FPN: False
ROI_KEYPOINT_HEAD:
CONV_LAYERS: (512, 512, 512, 512, 512, 512, 512, 512)
FEATURE_EXTRACTOR: KeypointRCNNFeatureExtractor
MLP_HEAD_DIM: 1024
NUM_CLASSES: 17
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 0
POOLER_SCALES: (0.0625,)
PREDICTOR: KeypointRCNNPredictor
RESOLUTION: 14
SHARE_BOX_FEATURE_EXTRACTOR: True
ROI_MASK_HEAD:
CONV_LAYERS: (256, 256, 256, 256)
DILATION: 1
FEATURE_EXTRACTOR: ResNet50Conv5ROIFeatureExtractor
MLP_HEAD_DIM: 1024
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 0
POOLER_SCALES: (0.0625,)
POSTPROCESS_MASKS: False
POSTPROCESS_MASKS_THRESHOLD: 0.5
PREDICTOR: MaskRCNNC4Predictor
RESOLUTION: 14
SHARE_BOX_FEATURE_EXTRACTOR: True
USE_GN: False
RPN:
ANCHOR_SIZES: (32, 64, 128, 256, 512)
ANCHOR_STRIDE: (16,)
ASPECT_RATIOS: (0.5, 1.0, 2.0)
BATCH_SIZE_PER_IMAGE: 256
BG_IOU_THRESHOLD: 0.3
FG_IOU_THRESHOLD: 0.7
FPN_POST_NMS_TOP_N_TEST: 1000
FPN_POST_NMS_TOP_N_TRAIN: 1000
MIN_SIZE: 0
NMS_THRESH: 0.7
POSITIVE_FRACTION: 0.5
POST_NMS_TOP_N_TEST: 500
POST_NMS_TOP_N_TRAIN: 1000
PRE_NMS_TOP_N_TEST: 3000
PRE_NMS_TOP_N_TRAIN: 6000
RPN_HEAD: SingleConvRPNHead
STRADDLE_THRESH: 0
USE_FPN: False
RPN_ONLY: True
SIPMASK:
CENTERNESS_ON_REG: True
CENTER_SAMPLING_RADIUS: 1.5
FPN_STRIDES: [8, 16, 32, 64, 128]
INFERENCE_TH: 0.05
IOU_LOSS_TYPE: giou
LOSS_ALPHA: 0.25
LOSS_GAMMA: 2.0
NMS_TH: 0.6
NORM_REG_TARGETS: True
NUM_CLASSES: 2
NUM_CONVS: 4
PRE_NMS_TOP_N: 1000
PRIOR_PROB: 0.01
USE_DCN_IN_TOWER: False
SIPMASK_ON: True
USE_SYNCBN: False
WEIGHT: catalog://ImageNetPretrained/MSRA/R-50
OUTPUT_DIR: training_dir/sipmask_R_50_FPN_1x
PATHS_CATALOG: /home/ubuntu/SipMask/SipMask-benchmark/fcos_core/config/paths_catalog.py
SOLVER:
BASE_LR: 0.01
BIAS_LR_FACTOR: 2
CHECKPOINT_PERIOD: 2500
DCONV_OFFSETS_LR_FACTOR: 1.0
GAMMA: 0.1
IMS_PER_BATCH: 8
MAX_ITER: 90000
MOMENTUM: 0.9
STEPS: (60000, 80000)
WARMUP_FACTOR: 0.3333333333333333
WARMUP_ITERS: 500
WARMUP_METHOD: constant
WEIGHT_DECAY: 0.0001
WEIGHT_DECAY_BIAS: 0
TEST:
BBOX_AUG:
ENABLED: False
H_FLIP: False
MAX_SIZE: 4000
SCALES: ()
SCALE_H_FLIP: False
DETECTIONS_PER_IMG: 100
EXPECTED_RESULTS: []
EXPECTED_RESULTS_SIGMA_TOL: 4
IMS_PER_BATCH: 8

@aniketzz It seems no problem. I am not sure about the problem. Maybe you check the whole things again:)

@JialeCao001 Can You please help me with the inference code to test the trained model on custom data?

@aniketzz Hi aniketzz. I am sorry that I am not sure about the problem. I suggest you go through the inference step by step and check the paramter about classes carefully.

@JialeCao001, recompiling the code fixed the issue.
I am able to test the custom model but I do not see any bounding box or mask while executing "demo/fcos_demo.py". I am not sure what mistake I am doing here.


text:
Blank screen is shown when epub_viewer initiates.

Issue / Feature - Blank screen is shown when epub_viewer initiates.
Platform (android, iOS or both) -
Crash / Error - The app crashes when the drawer is clicked.
Steps to reproduce / Describe in detail -

what's the value of bookData.items[i].path? Is it an asset path?
can you paste the error in your console?

Yes.
path: assets/eBooks/Subtle Art.epub

Please use EpubViewer.openAsset() to view assets not EpubViewer.open()

@pratham-xp does that fix the problem for you?

Yeah! Thank you.

authors: JideGuru pratham-xp


text:
Allow external links in menu_footer

Why
I wanted to be able to set an external url to in one of the menu_footer items
How
If the url contains :// then we leave it as is and determine it to be an external url e.g. https://test.com
Going further
This can also be done for the menu items if need be, let me know if you want me to add it to the PR.

looks good, if you could add the same logic for the top menu that would be great.

looks good, if you could add the same logic for the top menu that would be great.

After taking a closer look, it looks like it's already handled on this line.
FYI: It might be worth applying a linter/formatter to gain in readability 😄

It's a trade off between more readable templates or more readable source code in the output html.
Zola has white space control which I make use of, but I still sometimes sacrifice some readability for cleaner html output.
(right click the page on the demo site and view source to see what I am talking about, for the most part everything lines up like it should)
I will make the footer logic the same as the main menu to keep things consistent.

https://github.com/Jieiku/abridge/commit/f72e5fbb264d698850227797f7847e25edf6a4ce

authors: Jieiku quentin-dev

repo: Jieiku/abridge


text:
运行jittor.test.test_example报错

你好，请问一下我在运行python -m jittor.test.test_example的时候出现了这样的问题，似乎和nvcc有关

(jittor_gpu) wjp@wjp-System-Product-Name:~$ python -m jittor.test.test_example
[i 0805 17:20:53.835541 52 compiler.py:869] Jittor(1.2.3.87) src: /home/wjp/miniconda2/envs/jittor_gpu/lib/python3.7/site-packages/jittor
[i 0805 17:20:53.837007 52 compiler.py:870] g++ at /usr/local/bin/g++(5.4.0)
[i 0805 17:20:53.837062 52 compiler.py:871] cache_path: /home/wjp/.cache/jittor/default/g++
/bin/sh: 1: /usr/loca/cuda/bin/nvcc: not found
Traceback (most recent call last):
File "/home/wjp/miniconda2/envs/jittor_gpu/lib/python3.7/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/home/wjp/miniconda2/envs/jittor_gpu/lib/python3.7/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/home/wjp/miniconda2/envs/jittor_gpu/lib/python3.7/site-packages/jittor/init.py", line 18, in
from . import compiler
File "/home/wjp/miniconda2/envs/jittor_gpu/lib/python3.7/site-packages/jittor/compiler.py", line 892, in
nvcc_path = env_or_try_find('nvcc_path', 'nvcc') or
File "/home/wjp/miniconda2/envs/jittor_gpu/lib/python3.7/site-packages/jittor/compiler.py", line 816, in env_or_try_find
version = jit_utils.get_version(path)
File "/home/wjp/miniconda2/envs/jittor_gpu/lib/python3.7/site-packages/jittor_utils/init.py", line 260, in get_version
version = run_cmd(output+" --version")
File "/home/wjp/miniconda2/envs/jittor_gpu/lib/python3.7/site-packages/jittor_utils/init.py", line 143, in run_cmd
raise Exception(err_msg)
Exception: Run cmd failed: /usr/loca/cuda/bin/nvcc --version
(jittor_gpu) wjp@wjp-System-Product-Name:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105

您的nvcc在什么位置呢，which nvcc输出怎样

建议您让jittor帮您找到合适版本的nvcc和cuda，您可以运行python3 -m jittor_utils.install_cuda

nvcc在 /usr/loacl/cuda-10.1/bin中，我也执行了 export nvcc_path="/usr/loacl/cuda-10.1/bin"的指令

pytorch是能正常运行的

然后我也测试jittor的其它代码，是可以正常运行的，包括在cpu上训练网络。但是只要指定jt.flags.use_cuda=1就会报错

错误信息里面显示Exception: Run cmd failed: /usr/loca/cuda/bin/nvcc --version， 您的环境变量是不是local误写成loca了？

authors: Jittor Mountchicken

repo: Jittor/jittor


text:
Mvvm paging3 only

Refactoring

Refactoring

repo: JmanuelPar/MVVMMovies


text:
[MODIFY] #34 EnterpriseDivisionCode Converter 추가

Resolved #34

Codecov Report

Merging #37 (e7a85aa) into main (fb5bbdd) will decrease coverage by 0.86%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #37      +/-   ##
============================================
- Coverage     18.40%   17.54%   -0.87%
  Complexity        9        9
============================================
  Files            13       13
  Lines           163      171       +8
============================================
  Hits             30       30
- Misses          133      141       +8

Impacted Files
Coverage Δ

...domain/enterprise/code/EnterpriseDivisionCode.java
0.00% <0.00%> (ø)

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 fb5bbdd...e7a85aa. Read the comment docs.

repo: JobITs-DSM/Benecia


text:
Question about features

Hey!
Your tool looks very close already to what I am looking for.
Specifically, I would like to automate these three tasks:
(1) follow-when-retweeted
When someone retweets one of my retweets, I would like to automatically follow them, and put them in a list, for later manual inspection (whether to mute them or even unfollow again, always needs visual inspection). Of course, it makes sense to first check whether I am already following them anyways.
(2) unfollow-wait-and-follow-again
Intention: To send them a trigger to check me out (again).
Condition on accounts:

I am following them, but they do not follow me back yet.
They are not in a (manual) blacklist of accounts that I do want want to bother with this.

Steps:

Find all above accounts.
one by one: Unfollow. Wait a minute or a day. Follow them again.
after 3 days, check whether that was successful.

Perhaps the twitter API has a daily quota for stuff like that? Then have the script end in a way that the remaining batch can be done on the next day.
(3)  retweet my own tweets
Reason: I am awake while the main group of my followers is sleeping.
Intention: Give more people a chance to see a "best of" my recent tweets.
Steps:

I compile a list of (e.g. a dozen, or a hundred) of my own tweet URLs.
one by one: (possibly undo the retweet, then) retweet the tweet.
there should be e.g. an hour between those retweets, perhaps two retweets at at time.

Detail: I want retweets without additional comment, so no new tweet is created.
Questions:

Is any of those possible with your tool?
If not, how complicated would it be to add it? Where exactly would I start to look into your code?
Which other tool should I check out?
Did you have any hints for me, while reading the above?

Thanks a million! Keep up the good work!
Andreas

Found my own approach, using python tweepy. Thanks!
canClose.

repo: JoeyTawadrous/Twitter-Auto-Pilot


text:
Xcode 11 Crash on Home Screen

I have all my code set up for SWRevealViewController it worked perfectly fine on Xcode 10.3 and even on Xcode 11.2 beta 2 but for some reason its not working on the recent update release from the App Store and I end up getting this error
Thread 1: EXC_BAD_ACCESS (code=1, address=0x48)
at the app delegate screen after I toggle with my SWRevealView Controller. any ideas how I could get this fixed

Do you have the exception details?

what do you mean by exception details?

Hi XaviXO, did you solve this issue?, i have a similar problem with IOS 13.1 XCode 11.1, but i don´t receive any error message only the screen still in black.
let storyboard = UIStoryboard(name: "Main", bundle: nil)
        var vc = storyboard.instantiateViewController(withIdentifier: "inicio") as! SWRevealViewController

        self.window?.rootViewController = vc
        self.window?.makeKeyAndVisible()

Have you setted a front view controller?

Yes, my application works in all versions except IOS 13, but only when i select the target IOS 12.4
I document my case this forum. https://forums.developer.apple.com/message/390323#390323

Hi @djerick1989
I have the same issue that you are facing
When login successfully I will navigate to SWRevealViewController, same way i change rootViewcontroller from AppDelegate file, but it always open black screen.
please help me to solve this issue.
Thanks

Hi @ralspatel
Review my answer in stackoverflow.
https://stackoverflow.com/questions/58207755/ios13-on-xcode-11-black-screen-even-after-adding-scenedelegate-and-updating-info/58565994#58565994

authors: XaviXO djerick1989 iDevelopper ralspatel xthemadgenius

repo: John-Lluch/SWRevealViewController


text:
Screensaver remains "black" after starting: Could not open manifest for source, issues specific to China.

Mac model: MacBook Pro (Retina, 15-inch, Mid 2015)
macOS version: 10.15.6
Monitor setup: External 1080P monitor
Hello, I am a mainland China user. I have been using your screensaver for many years, many thanks for your contribution. I'm new here and not an expert.
Recently, I upgraded Aerial to 2.0.9. As you know, China's network firewall limits the external access of some websites. Only through VPN can we solve this problem. I found that if I shut down the VPN, the software would not work normally. After launching, it would be black, and only by pressing the power button could the lock screen interface be restored and the password could be entered. But if I turn on VPN, everything is OK. I've downloaded all the videos before, so it shouldn't be about caching. I checked the log and found out "Could not open manifest for source at https://aerialscreensaver.github.io/community/".
I would like to ask if there is any way to solve this problem, so that I can normally use the screen saver without opening the VPN. The 1.9.X I used earlier didn't have this problem.
I have attached the relevant log.
AerialLog.txt
Thanks again.

Hey there,
Thanks for the report, it's pretty hard to test around the firewall so sometimes I miss things. I was told though from another Chinese user that this : https://aerialscreensaver.github.io/community/entries.json
worked behind the firewall. I guess it does not.
Regarding your specific issue, there's currently a bug in 2.0.9 that might be behind this, it tries to download that file at startup even if it's already cached. I'll release a fix tonight and will let you know.

@linyifan96 apologies it took me so long, I fixed the bug in 2.0.10, please check and let me know : https://github.com/JohnCoates/Aerial/releases/download/v2.0.10/Aerial.saver.zip

repo: JohnCoates/Aerial


text:
Add GitHub Actions Workflows

Would be nice to run tests / style linting / code linting / enforce code formatting, etc. with GitHub Actions.

Resolved by #9

repo: JohnDoneth/gleam-playground


text:
需要对/node_modules/axios/lib/adapters/http.js的promise加个catch

解析视频时报错
(node:11901) UnhandledPromiseRejectionWarning: Error: Request failed with status code 403
at createError (/home/pi/TiktokWeb/web/node_modules/axios/lib/core/createError.js:16:15)
at settle (/home/pi/TiktokWeb/web/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/home/pi/TiktokWeb/web/node_modules/axios/lib/adapters/http.js:322:11)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:11901) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)

一样的问题，请问老哥你解决了吗？

一样的问题，请问老哥你解决了吗？

解决方式我已经写在标题上了呀，直接对这个promise加个catch就可以了

为什么会产生403？是cookie无效吗，我不少视频都无法解析

我也会这样 多试几次就行了

什么垃圾

加上catch 也是解析不了  是不是失效了

使用新镜像即可

authors: 18639522576 AndrewHann Johnserf-Seed lazyou michael2221807 zuimengxinbie

repo: Johnserf-Seed/TikTokWeb


text:
Re-implement all the features of master branch

Command list:

[x] /ping
[x] /pong
[x] /start
[ ] /stop
[ ] /help
[x] /push Pushbot feature (new)
[ ] /vimtip (might not be sure)

All other previous features / commands will be dropped.

About the new Pushbot feature:
Inspired by Server Chan, the pushbot is a tool for programmers / server operators to easily push messages to themselves by performing an HTTP POST request.
For example, a server operator can write a simple script to monitor the server status, and push an alert message to himself about abnormal service status. Thanks to Telegram, this push is nearly instant; But due to implement detail (a POST request is first queued by the bot before it is pushed to Telegram, this is for performance consideration), the message is slightly delayed. Currently the delay is about 1~3 seconds.

There is a new site about the bot here, and the new bot will be published in that repository, since the package name has changed.

This is no longer the source behind eth0_bot. The eth0_bot is now running just a few lines of codes now, it's much simpler, although it uses Redis task queue as well.
This repo will be about the source behind the lo0_bot, which is for development testing only. Once python-telegram-bot supports job queue, we should be able to drop Redis requirement. The pushbot feature cannot be done without it.
This will happen on lo0 branch.

lo0 is currently a close source project, free to use. Any future codebase change should happen behind the scene.

repo: JokerQyou/bot


text:
Update 3d_scene link

Objective
The current README contains a broken link to the 3d_scene example page, the URL for that page has since changed.
Solution
Update the link to point to the new page.

I did fix the link, it's just on the avian branch (where the updated example also is). I'm merging that branch tomorrow


text:
Refactor unit test

I've break down our single Test class into smaller test cases, Each layout will be tested in a standalone class, this will ensure better readability and easier maintainability.
all layout test cases are assembled in a Junit test suite. I configured maven-surfire-plugin to run only the test suite.

Coverage decreased (-0.5%) to 92.711% when pulling acb65fbee196acba73b58a77559b16bafed23a36 on Hdebbech:master into d20bebde8636ab94579f4be8b05193bb25ba3bc9 on JsonSchema-JavaUI:master.

Coverage remained the same at 93.166% when pulling cc5bdf35af2d6c3b446c42618e920b1264dfec72 on Hdebbech:master into d20bebde8636ab94579f4be8b05193bb25ba3bc9 on JsonSchema-JavaUI:master.

authors: Hdebbech coveralls

repo: JsonSchema-JavaUI/sf-java-ui


text:
Implement significant figures

Deriving from #3

Also add units


text:
Address issues with screen sizes

The navigation bar (links) folds in on itself at lower screen sizes. On such sizes, it may be best to fold the links into a dropdown menu.

This is a follow-up to #28


text:
my project crashes despite having seemingly 1:1 parts of the example project.

error popup:
___________________________________________
############################################################################################
ERROR in
action number 1
of Draw Event
for object LightRender:

surface_copy argument 1 incorrect type (undefined) expecting a surface
 at gml_Script_CopyClippingSurface@anon@2644@BulbRenderer@BulbRenderer (line 91) -         surface_copy(GetClippingSurface(), 0, 0, _surface);
############################################################################################
gml_Script_CopyClippingSurface@anon@2644@BulbRenderer@BulbRenderer (line 91)
gml_Object_LightRender_Draw_73 (line 5) - lighting.CopyClippingSurface(vision.GetSurface());

code of the "LightRender" (equivalent of "oRenderer" form example project)
[Create]
view_enabled = true;
view_set_visible(0, true);
camera = view_camera[0]
view_set_camera(0, camera);

lighting = new BulbRenderer(make_colour_rgb(255, 255, 255), BULB_MODE.HARD_BM_ADD, false);
lighting.SetSurfaceDimensionsFromCamera(camera);
lighting.SetClippingSurface(true, 1.0, false, true);

vision = new BulbRenderer(c_black, BULB_MODE.HARD_BM_ADD, false);

[Draw End]
vision.UpdateFromCamera(camera);

lighting.CopyClippingSurface(vision.GetSurface());  //<--- point of error

lighting.UpdateFromCamera(camera);

lighting.DrawOnCamera(camera);

[Game Start]
global.lightR= id

code of the "LightWall" (equivalent of "oStaticOcluder" from example project)
[Create]
occluder        = new BulbStaticOccluder(global.lightR.lighting);
occluder.x      = x;
occluder.y      = y;
occluder.xscale = image_xscale;
occluder.yscale = image_yscale;
occluder.angle  = image_angle;
occluder.AddToRenderer(global.lightR.vision);

var _l = -0.5*sprite_get_width(sprite_index);
var _t = -0.5*sprite_get_height(sprite_index);
var _r =  0.5*sprite_get_width(sprite_index);
var _b =  0.5*sprite_get_height(sprite_index);

if ((image_angle != 0) || (image_xscale != 1) || (image_yscale != 1))
{
    occluder.AddEdge(_l, _t,   _r, _t); //Top
    occluder.AddEdge(_r, _t,   _r, _b); //Right
    occluder.AddEdge(_r, _b,   _l, _b); //Bottom
    occluder.AddEdge(_l, _b,   _l, _t); //Left
}
else
{
    if (!position_meeting(x, y - 32, oStaticOccluder)) occluder.AddEdge(_l, _t,   _r, _t); //Top
    if (!position_meeting(x + 32, y, oStaticOccluder)) occluder.AddEdge(_r, _t,   _r, _b); //Right
    if (!position_meeting(x, y + 32, oStaticOccluder)) occluder.AddEdge(_r, _b,   _l, _b); //Bottom
    if (!position_meeting(x - 32, y, oStaticOccluder)) occluder.AddEdge(_l, _b,   _l, _t); //Left
}

[Clean Up]
occluder.Destroy();

code of "pLight" (equivalent of "oPlayer" that is always on top of the Player position)
[Create]
light = new BulbLight(global.lightR.lighting, global.lightR, 0, x, y);
light.penumbraSize = 30;
light.yscale = 0.5;
light.blend = make_colour_rgb(255, 255, 100);

visionCone = new BulbLight(global.lightR.vision, global.lightR, 0, x, y);
visionCone.penumbraSize = 30;
visionCone.xscale = 2;
visionCone.yscale = 2;
visionCone.blend = c_white;

[Step]
x=P.x // P is the id of the Player object
y=P.y

light.x = x;
light.y = y;
light.angle = point_direction(x, y, mouse_x, mouse_y);

if (mouse_check_button_pressed(mb_right)) light.visible = !light.visible;

visionCone.x = x;
visionCone.y = y;
visionCone.angle = point_direction(x, y, mouse_x, mouse_y);

[Clean Up]
light.Destroy();

"lightS" is the sprite used for the light, it is a white square

You'll need to step through using the debugger at that line of code to determine why vision.GetSurface() is returning undefined.

You'll need to step through the code to determine which argument is returning undefined and why.

the code goes thru the following lines when pressing F11 in the debugger as it executes the crashing line of the Draw End
    static GetSurface = function()
    {
        if (__freed) return undefined;
        if ((surfaceWidth <= 0) || (surfaceHeight <= 0)) return undefined;

        if ((__surface != undefined) && ((surface_get_width(__surface) != surfaceWidth) || (surface_get_height(__surface) != surfaceHeight)))
    }
        if ((__surface == undefined) || !surface_exists(__surface))
        return __surface;

    static CopyClippingSurface = function(_surface)
    {
        gpu_set_blendmode_ext(bm_one, bm_zero);
        surface_copy(GetClippingSurface(), 0, 0, _surface);

    static GetClippingSurface = function()
    {
        if (__freed || !__clipEnabled) return undefined;
    }

  >>Crash after returning to the "surface_copy(GetClippingSurface(), 0, 0, _surface);" line<<

Have you used the debugger before?

i have used the debugger occasionally, but never to inspect inside a script.
Also, I noticed possibly important detail of the crash. It only happens when changing rooms, with the LightRender being a persistent object. I did this this way, because when the light render wasn't set up like this, it was causing an error, where the other relevant objects didn't work, because everything calling LightRender was reporting "<unknown_object>"
it is possible it may be related to the probelm

Please refer to documentation: https://www.jujuadams.com/Bulb/#/21.0/BulbRenderer

You must free and recreate your renderer when changing rooms.

Restructure your code to accommodate this requirement.
At any rate, you will need to use the debugger in earnest and inspect the code path.

wow, so it was the creation order that was breaking it, now it works flawlessly, (exept that i cant see the light, probably some settings problems i can just mess with to fix) i guess i wasted your time

I'm glad you solved your problem. Please open a new ticket if you have further issues.

authors: JujuAdams TM-yt

repo: JujuAdams/Bulb


text:
Simpler icon getter

Presently need to specify player and profile twice

Rename current input_binding_get_icon() to input_binding_get_icon_ext(), and replace with input_binding_get_icon(verb, [playerIndex], [alternate], [profileName])

https://github.com/JujuAdams/Input/commit/7b43cf4f3abf5cd4f03d1590094572a634beb4e7

authors: JujuAdams offalynne

repo: JujuAdams/Input


text:
Adding FactCheck package

I did a Pkg.add("FactCheck") in julia v0.4 and obtained
ERROR: unsatisfiable package requirements detected: no feasible version could be found for package: BinDeps
 in error at ./error.jl:21
 in resolve at ./pkg/resolve.jl:37
 in resolve at ./pkg/entry.jl:422
 in edit at pkg/entry.jl:26
 in anonymous at task.jl:447
 in sync_end at ./task.jl:413
 [inlined code] from task.jl:422
 in add at pkg/entry.jl:46
 in add at pkg/entry.jl:73
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in add at pkg.jl:23

@mlubin

What's the output of Pkg.status()?

This is not a FactCheck issue.

6 required packages:
 - CPLEX                         0.0.19
 - Convex                        0.1.0
 - JuMP                          0.11.1+            master
 - JuMPChance                    0.2.2
 - Mosek                         0.2.0
 - SCS                           0.1.2
13 additional packages:
 - ArrayViews                    0.6.4
 - BinDeps                       0.3.19
 - Calculus                      0.1.14
 - Compat                        0.7.8
 - DataStructures                0.3.13
 - Docile                        0.5.19
 - DualNumbers                   0.1.5
 - ECOS                          0.5.3
 - MathProgBase                  0.3.19
 - NaNMath                       0.1.1
 - ReverseDiffSparse             0.2.11
 - SHA                           0.1.2
 - URIParser                     0.1.1

You have to run Pkg.update()

authors: kaarthiksundar mlubin


text:
Refactor eachregion to be O(n log n) not O(n^2)

Since we removed the ordering restriction on annotations to improve the semantics of annotation modification, each annotations(str) call became O(n) which is fine for a once off, but use it in a loop as eachregion does and now it's O(n m). That's pretty underwhelming.
We can improve this to O(n log n) by pre-sorting the list of annotations, and working with it instead. A bit more complexity is needed to do this while preserving the semantics, but it can be worth it for long strings. With a 100,000 char string with 20,000 annotations, print time goes from ~0.4s to 0.015s on my machine.

This improvement has been prompted by #72.

Looks like I've got an off-by-one error to fix, but other than that this seems solid.

This has ended up being a ~40x performance improvement to eachregion :slightly_smiling_face:.


text:
Starting with julia 0.3.8, remove gcc dll replacement on Windows

My understanding is that the dll replacement currently happening is no longer needed on more recent Julia versions, because it ships with the right dlls out of the box, correct? Would be nice to get rid of that, as that is one factor that means the default julia uninstall leaves stuff behind currently.

As of Julia 0.3.7, we ship with the latest gcc dll's as of the time the binaries are built. However the repository that WinRPM pulls from is liable to change at any time. For example they've upgraded recently from gcc 4.9.2 to 5.1.0, which broke things again. I can't think of a great way off the top of my head to check whether or not the gcc dll's that happen to be present in JULIA_HOME match the latest versions from WinRPM.

Come to think of it, we could probably be smarter about this, and use SHA.jl to compare checksums instead of leaving around a -copy file. I'll try to test that out locally.

authors: davidanthoff tkelman


text:
Problem with FFTW=1.4.3 ignoring DEPOT_PATH variable at runtime

hi there,
we have noticed a problem on our end with FFTW 1.4.3 which seems to ignore the env variable JULIA_DEPOT_PATH (internally in Julia DEPOT_PATH) when loading the library.
We have been building an image with PkgCompiler: in our build environment (clean Docker image), the depot path is /build_jl/depot.
With FFTW 1.4.2 and 1.4.1 we havent had any issue loading the library as we are setting the env var JULIA_DEPOT_PATH (e.g. /my/new/depot) before loading the library and it has been working fine so far.
However, since 1.4.3, setting the env var JULIA_DEPOT_PATH doesn't do anything and we get the error:
InitError(mod=:FFTW, error=ErrorException("could not load library "/build_jl/depot/artifacts/81791030d1dcd08bf0c67b3e8224cb573d0f5a0a/lib/libfftw3.so"

clearly pointing to the JULIA_DEPOT_PATH set at build time and not at runtime.
It seems that the PR #207 was the only change between 1.4.2 and 1.4.3 but I can't pinpoint more than that (sorry!).
Is that actually possible to make the #207 compatible with specifying the JULIA_DEPOT_PATH at runtime?
cheers

I think this should be fixed in the new release.

Sounds good, thanks for the follow up, I'll check once the release comes out and let you know.
cheers

The release should already be out.

Indeed, my bad for the release.
I just checked with FFTW 1.4.5 and it works like a charm, there is no longer an issue. Thanks very much for the fix!
cheers

authors: KristofferC theweaklink


text:
Add another work-around for General registry

cc @frapac

Codecov Report

Merging #271 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
- Coverage   69.24%   69.23%   -0.02%
==========================================
  Files          15       15
  Lines        2432     2431       -1
==========================================
- Hits         1684     1683       -1
  Misses        748      748

Impacted Files
Coverage Δ

src/MOI/MOI_wrapper.jl
86.67% <0%> (-0.02%)
:arrow_down:

Continue to review full report at Codecov.

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

authors: codecov-io odow


text:
Figure not defined

For the life of me, I can't get this package to work. I have tried removing the registries/General folder, updating all packages, freshly installing all packages. The documentation uses Figure() to generate subplots, but apparently it doesn't exist?
using Makie
using GLMakie
using AbstractPlotting

help?> Figure
search: launch_configuration

Couldn't find Figure
Perhaps you meant Core
  No documentation found.

  Binding Figure does not exist.

What am I doing wrong?

Your AbstractPlotting is most likely not up to date. You need at least 0.15. Makie might be holding it back, you can remove it and just use GLMakie instead

Sorry you're having trouble! First of all only install GLMakie. AbstractPlotting is automatically reexported from that, and Makie.jl currently isn't needed as a package at all (historic reasons). Then check that you get the versions listed in the current docs, or at least comparable ones : http://makie.juliaplots.org/stable/#First-Steps

I was having the same issue today with CairoMakie (even after removing Makie), but I managed to fix it by doing the following:

Remove everything related to Makie (including MakieGallery, etc.)

]rm Makie CairoMakie AbstractPlotting

Update registries

]registry up

Reinstall only CairoMakie and AbstractPlotting:

 ]add AbstractPlotting CairoMakie

Based on the posts above you may not need to install AbstractPlotting in step 3 if you're using GLMakie, but for CairoMakie I had to install it separately to import it.

One really has to follow the instruction in the docs that says only to install one or more backend packages :) I'll close this as there doesn't seem to be a deeper underlying issue

authors: LoganWalls ffreyer jkrumbiegel nickkeepfer


text:
fix linked axis regression and add unit test

Not proliferating the targetlimits update when it got the same limits again broke the linkaxis functionality.

Compile Times benchmark
Note, that these numbers may fluctuate on the CI servers, so take them with a grain of salt.
using time
master:  9.24 < 9.27 > 9.40, 0.05+-
pr:      9.23 < 9.26 > 9.41, 0.07+-
speedup: 0.98 < 1.00 > 1.02, 0.01+-
median:  -0.03% => invariant

This PR does not change the using time.
ttfp time
master   24.24 < 24.31 > 24.51, 0.09+-
pr       24.26 < 24.33 > 24.56, 0.11+-
speedup: 0.99 < 1.00 > 1.00, 0.00+-
median:  +0.09% => invariant

This PR does not change the ttfp time.

authors: MakieBot jkrumbiegel


text:
Fundamental typing systems for quantum representations.

Here are a few considerations for opening this issue as an announcement:

We need an organizational base for guiding branches of quantum projects. Without a relatively unified typing system, it will be cumbersome to make different packages work together.

We shouldn't wait until everything is perfectly agreed. Yet, for a JuliaQuantum package, we should leave the compatibility to use data type hierarchies starting from those basic types like AbstractArray. The possibility of plugging in or generating new types should be open.

The first base project, QuBase.jl, is based on jrevels’ (Jarrett) QuDirac.jl project which defines the basic typing system for quantum states, quantum operators and so on. Thank Jarrett for leading this project and moving the repo under JuliaQuantum. This mode of organizing projects might become the standard one for organizing JuliaQuantum projects. As pointed out by Acroy (Alex), “Designing performance critical parts of our packages with parallel computations in mind will be an important feature and might be
our advantage.” We will be noticing that point and removing the barriers for broad collaborations. Technical details regarding this project should go to the associated repo. All discussions regarding basic typing systems that the current QuBase.jl has not been considered (such as types involving tensor networks implemented by Jutho and others) can be discussed here.

We can leave this issue open until the QuBase.jl project is in a good shape before officially registering as a Julia package--if no any other directions are proposed.

Close it as the QuBase.jl project serves this goal.


text:
New version: Javis v0.3.5

Registering package: Javis
Repository: https://github.com/Wikunia/Javis.jl
Created by: @Wikunia
Version: v0.3.5
Commit: 158505ac2afd5a3a49dac9db4267a1f90de00dc1
Reviewed by: @Wikunia
Reference: https://github.com/Wikunia/Javis.jl/issues/113#issuecomment-750098275

Is now done in #26822 . This PR can be closed. Thank you!

authors: JuliaRegistrator Wikunia

repo: JuliaRegistries/General


text:
New version: NestedTuples v0.3.2

Registering package: NestedTuples
Repository: https://github.com/cscherrer/NestedTuples.jl
Created by: @cscherrer
Version: v0.3.2
Commit: 306e8f8f17edb7b2af9389cec87ed621c1b1960a
Reviewed by: @cscherrer
Reference: https://github.com/cscherrer/NestedTuples.jl/commit/306e8f8f17edb7b2af9389cec87ed621c1b1960a#commitcomment-48568105

@cscherrer :point_up:
[noblock]

Oops that seems to bite me a lot. Thanks @giordano
[noblock]

authors: JuliaRegistrator cscherrer giordano


text:
New version: Jello v0.1.4

Registering package: Jello
Repository: https://github.com/paulxshen/Jello.jl
Created by: @paulxshen
Version: v0.1.4
Commit: 90968c231fecf8fdce70969aa5048be575bf83a0
Git reference: HEAD

[noblock]
Looks like there is a merge conflict.
@paulxshen Can you re-trigger Registrator? This will fix the merge conflict.

authors: DilumAluthge JuliaRegistrator


text:
About Data Pre-processing

where the file "tracking_points_labeling_GUI.py" and others?
i don't find there in youe github source code repositories. Can you provide there file?
Thanks!

Thank you for pointing this out!
I will upload them after refactoring to make them easy to use.

I updated Readme and uploaded the codes that you requested!
Please feel free to ask any questions if you encounter any problems after running it.

repo: JunbongJang/contour-tracking


text:
Update alarms-history.md

Fixed typo in #3. It should be contrail-stats.

Contrail/Tungsten Fabric does not accept GitHub pull requests. All changes should be submitted via the Gerrit code review tool. If you're not familiar with Gerrit, take a look at section 4 of https://github.com/tungstenfabric/docs/blob/master/Contributor/GettingStarted/getting-started-with-opencontrail-development.md for more info.
The key points are that you need to login to https://review.opencontrail.org with an Ubuntu One account in order to establish your SSH public key. You need to clone the repos from Gerrit rather than (or in addition to) GitHub (or manually add an additional remote to an existing repo rather than cloning if you prefer). And you need to install and use the "git review" extension to Git in order to push changes to Gerrit.

repo: Juniper/contrail-controller


text:
Spurious diff with mist_device_gateway after each terraform apply

When I run terraform apply with a mist_device_gateway on 0.1.36 configured like the following
resource "mist_device_gateway" "gateway_one" {
  name      = "gateway_one"
  device_id = "redacted"
  site_id   = "redacted"
  oob_ip_config = {
    type = "dhcp"
  }
  additional_config_cmds = ["#", "###"]
  dns_servers            = ["8.8.8.8"]
  managed                = false
  dhcpd_config = {
    enabled = true,
    config = { # This code block seems to be the cause, if I remove it, I stop seeing the constant diff
      mykey = {}
    }
  }
  tunnel_configs = {
    default = {
      ike_lifetime = 28800,
      ike_proposals = [
        {
          auth_algo = "sha2",
          dh_group = "19",
          enc_algo = "aes256",
        },
      ],
      ipsec_lifetime = 3600,
      ipsec_proposals = [
        {
          auth_algo = "sha2",
          dh_group = "19",
          enc_algo = "aes256",
        },
      ],
      local_id = "test-local-id",
      primary = {
        hosts = ["192.0.2.1"],
        remote_ids = ["192.0.2.2"],
        wan_names = ["WAN_0"],
      },
      protocol = "ipsec",
      provider = "custom-ipsec",
      psk = "my-secret",
      version = "2",
    },
  }
}

it shows with the following diff that won't go away even if I accept the apply
Terraform will perform the following actions:

  # mist_device_gateway.gateway_one will be updated in-place
  ~ resource "mist_device_gateway" "gateway_one" {
      + deviceprofile_id       = (known after apply)
      + image1_url             = (known after apply)
      + image2_url             = (known after apply)
      + image3_url             = (known after apply)
      ~ mac                    = "redacted" -> (known after apply)
      ~ model                  = "redacted" -> (known after apply)
        name                   = "gateway_one"
      ~ serial                 = "redacted" -> (known after apply)
      ~ type                   = "gateway" -> (known after apply)
        # (9 unchanged attributes hidden)
    }

Hi @zbuchheit,
Yes, I also saw that for some other resources that I'm trying to fix.
Any advice on how to manage "Computed" resource to avoid this behavior?
Thanks

working to triage this further, it appears the weird unrelated fields showing as changing isn't unique to just the dhcpd_config field, changing any other field also shows them as changing.
It just happens that dhcpd_config with certain values results in a constant diff.
For example, if I change ike_lifetime to 28801 it will show
  ~ resource "mist_device_gateway" "gateway_one" {
      + deviceprofile_id       = (known after apply)
      + image1_url             = (known after apply)
      + image2_url             = (known after apply)
      + image3_url             = (known after apply)
      ~ mac                    = "redacted" -> (known after apply)
      ~ model                  = "redacted" -> (known after apply)
        name                   = "gateway_one"
      ~ serial                 = "redacted" -> (known after apply)
      ~ tunnel_configs         = {
          ~ "default" = {
              ~ ike_lifetime    = 28800 -> 28801
                # (12 unchanged attributes hidden)
            },
        }
      ~ type                   = "gateway" -> (known after apply)
        # (8 unchanged attributes hidden)
    }

but once I apply this and accept the change, the diff will go away unlike with dhcpd_config.config
Seems there are two issues.

Something about dhcpd_config.config causes an constant diff
When there is a diff the following fields always show a change deviceprofile_id, image1_url, image2_url, image3_url, mac, model, serial, type, which I guess could be expected since they are marked as computed fields?

Yes, this is a common issue I'm having with the "computed" attributes. I'm trying to fix it, I already committed some improvements, but I will double check based on your comments.

Hi @zbuchheit , can you test with v0.1.39?

looks to be fixed!

authors: tmunzer zbuchheit

repo: Juniper/terraform-provider-mist


text:
cannot start julia

run Julia code, then julia is not booted. The log message is as following,
Window load time: 638ms
/deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
::shadow pseudo-element is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
Error reporting uncaught exception Error: Cannot find module '../package.json'
at Module._resolveFilename (module.js:338:15)
at Function.Module._resolveFilename (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\src\module-cache.js:383:52)
at Function.Module._load (module.js:289:25)
at Module.require (module.js:366:17)
at require (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\src\native-compile-cache.js:50:27)
at Object. (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\exception-reporting\lib\reporter.js:14:17)
at Object. (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\exception-reporting\lib\reporter.js:209:4)
at Module._compile (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\src\native-compile-cache.js:103:30)
at Object.defineProperty.value [as .js] (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\src\compile-cache.js:208:21)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\src\native-compile-cache.js:50:27)
at C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\exception-reporting\lib\main.js:19:24
at Function.module.exports.Emitter.simpleDispatch (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
at C:\Users\Liye Zhang\AppData\Local\atom\app-1.8.0\resources\app.asar\src\atom-environment.js:832:32
Uncaught TypeError: Cannot read property '1' of null

How did you install Juno? Do you only get that error when julia-client is installed/enabled or always?

i get it always julia executable is on the path. Nevertheless i have also tried to set the path in the julia-client configuration.

Atom 1.8.0

The error is
C:\Users\jrubio\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\exception-reporting\lib\main.js:25 Error reporting uncaught exception Error: Cannot find module '../package.json'(…)(anonymous function) @ C:\Users\jrubio\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\exception-reporting\lib\main.js:25
events.js:141 Uncaught Error: spawn where ENOENT

That's a different error -- please check that C:\Windows\system32 is on your Path and add it if not.

thank you for the answer.
It's working now. The issue seems related to the order of the installed plugins.
After an Atom cleanup (removed users/user/.atom,  AppLocal/atom, Roaming/Atom) and reinstaling, it works.  It works if Juno is installed as the first plugin.
As you point out, my issue is not related to the issue described in this thread.

Thank you for you reply. I successfully installed Juno on another computer in the same way.  During installation, Juno shows no message for a longtime. I suggest to show the information during installing related packages to let users know the progress and what is happening.
I use JuliaDT to edit the code again, because the current Julia editors are similar, only for editing the code. Another reason is that Juno does not support using Debug.jl  for debugging in in an interactive way from console window.  Hope there will be a mature IDE soon.

authors: clairvoyant pfitzseb zhangliye

repo: JunoLab/atom-julia-client


text:
Password filed transparent

As the title says, nothing shows in the password field (running on Android 4.4.3).
Screenshot:

Thanks for reporting this issue, sorry I didn't see it sooner!
The proposed change would fix the issue for themes with light backgrounds, but would cause problems with dark themes (Galaxy S3).

Close due to inactivity

authors: Justin-Credible cristovao-trevisan


text:
Needs less jQuery

Its crazy that jQuery is needed just to draw some lines.
Should be possible to make the lines HTML + CSS only.

Fixed here:
https://github.com/JustinPealing/html-query-plan/commit/a0d39088005e70909fab908eea16dac4c4ce629d

repo: JustinPealing/html-query-plan


text:
Inquiry

Hey, the email listed on your website and the form submission are not working, so I have no other way of contacting you.
Can you email me at bilal.iqbal18@gmail.com?
Thanks.

Not sure if this is spam or not, but my email is listed in all the projects I publicly maintain. You can reach me at justintimperio@gmail.com

authors: Bilal-Iqbal-Git JustinTimperio

repo: JustinTimperio/paf