404 Not Found

After generating the report and trying to open it in the chrome browser from IntelliJ IDE it gives me the error "404 Not Found" and the URL is like this
http://localhost:63342/Cucumber_Try - Copy/Cucumber_Try/target/Report.html?_ijt=s1lilo6mimu3mtjk5vhm1evv0s&_ij_reload=RELOAD_ON_SAVE
But if I try to open it from windows explorer it's working as intended and the URL is
file:///C:/Users/OmarTarek/Pictures/Cucumber_Try%20-%20Copy/target/Report.html
So why I can't open it directly from IntelliJ? please help me and thank you

If I paste this URL in a browser which is opened when I right-click on the report in IntelliJ (Open in --> browser --> chrome)
http://localhost:63342/Cucumber_Try - Copy/Cucumber_Try/target/Report.html?_ijt=s1lilo6mimu3mtjk5vhm1evv0s&_ij_reload=RELOAD_ON_SAVE
The same error appeared to me "404 Not Found", but if I try to open it from windows explorer it's working as intended

There is a difference between the two paths. Maybe it is some configuration. Are u running a web server at this port?
I am not that familiar with intellij.

I didn't run any webserver and this is the extent.properties file
extent.reporter.html.start=true
extent.reporter.html.config=src/test/resources/html-config.xml
extent.reporter.html.out=target/Report.html
And this is the html-config.xml file

dark
	<!-- document encoding -->
	<!-- defaults to UTF-8 -->
	<encoding>UTF-8</encoding>

	<!-- protocol for script and stylesheets -->
	<!-- defaults to https -->
	<protocol>https</protocol>

	<!-- title of the document -->
	<documentTitle>HTML Extent</documentTitle>

	<!-- report name - displayed at top-nav -->
	<reportName>GhChirp Report</reportName>

	<!-- view report without internet -->
	<offlineMode>true</offlineMode>

	<!-- settings to change component location -->
	<testViewChartLocation>top</testViewChartLocation>
	<chartVisibleOnOpen>true</chartVisibleOnOpen>
	<enableTimeline>true</enableTimeline>

	<!-- settings to enable/disable views -->
	<enableCategoryView>true</enableCategoryView>
	<enableAuthorView>true</enableAuthorView>
	<enableExceptionView>true</enableExceptionView>
	<enableTestRunnerLogsView>true</enableTestRunnerLogsView>

	<!-- custom javascript -->
	<js></js>

	<!-- custom styles -->
	<css></css>
</configuration>

And finally, this is the pom.xml file

4.0.0
<groupId>org.example</groupId>
<artifactId>Cucumber_Try</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
    <maven.compiler.source>8</maven.compiler.source>
    <maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
    <dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-java</artifactId>
        <version>4.1.1</version>
    </dependency>
    <dependency>
        <groupId>io.cucumber</groupId>
        <artifactId>cucumber-testng</artifactId>
        <version>7.2.3</version>
    </dependency>
    <dependency>
        <groupId>io.cucumber</groupId>
        <artifactId>cucumber-java</artifactId>
        <version>7.2.3</version>
    </dependency>
    <dependency>
        <groupId>tech.grasshopper</groupId>
        <artifactId>extentreports-cucumber7-adapter</artifactId>
        <version>1.3.0</version>
    </dependency>
</dependencies>

This looks correct. Can u generate the spark report which is also html based. Check if it works from intellij

Anyways, could you please help me take screenshots for failed scenarios inside the report?

Sir how to configure "screenshot.rel.path" if the HTML report and the screenshots are in the same directory?

Add screenshot.rel.path=./

Alright, thanks man it's working. By the way, the HTML 404 error is fixed when I try it for another project and it's working right now correctly so it's seemed that's there's something wrong related to this only specific project as it's working for any new project.

😁


Cant get to work with react dom replacement

I have a very basic react application where I do a simple dom element replacement.  I ran npm install mysql.  I have this code in my index.js file:
import React from 'react';
import ReactDOM from 'react-dom';
let appTitle_literal = "Title Not Found";
let appDescription_literal = "Description Not Found";
//
// const mysql = require('mysql');
//
//
//   const con = mysql.createConnection({
//    host: 'rds-mysql-wmcw.cgz0te1dlkah.us-east-1.rds.amazonaws.com',
//     user: 'masterUsername',
//     password: 'masterPassword',
//     database : 'db_wmcw'
//   });
const appTitle_element = React.createElement('div', null, appTitle_literal);
const appDescription_element = React.createElement('div', null, appDescription_literal);
ReactDOM.render(appTitle_element, document.getElementById('appTitle'));
ReactDOM.render(appDescription_element, document.getElementById('appDescription'));
When I execute npm start from the command prompt, a browser page opens, and the text of  and  are populated by the ReactDOM.render statments as shown above.
As soon as I activate the code line const mysql = require('mysql');, I get the following errors when rebuilding the bundle.js:
ERROR in ./~/mysql/lib/Connection.js
Module not found: Error: Can't resolve 'net' in 'c:\jrs\final_project\forth_attempt\React\node_modules\mysql\lib'
@ ./~/mysql/lib/Connection.js 3:23-37
@ ./~/mysql/index.js
@ ./src/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js
ERROR in ./~/mysql/lib/Connection.js
Module not found: Error: Can't resolve 'tls' in 'c:\jrs\final_project\forth_attempt\React\node_modules\mysql\lib'
@ ./~/mysql/lib/Connection.js 4:23-37
@ ./~/mysql/index.js
@ ./src/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js
ERROR in ./~/mysql/lib/protocol/sequences/Query.js
Module not found: Error: Can't resolve 'fs' in 'c:\jrs\final_project\forth_attempt\React\node_modules\mysql\lib\protocol\sequences'
@ ./~/mysql/lib/protocol/sequences/Query.js 6:19-32
@ ./~/mysql/lib/Connection.js
@ ./~/mysql/index.js
@ ./src/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js
The page in the browser still shows the correct text even after refreshing the page.
Then, when I activate the code which actually creates the connection to the database, I get the same set of errors:
ERROR in ./~/mysql/lib/Connection.js
Module not found: Error: Can't resolve 'net' in 'c:\jrs\final_project\forth_attempt\React\node_modules\mysql\lib'
@ ./~/mysql/lib/Connection.js 3:23-37
@ ./~/mysql/index.js
@ ./src/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js
ERROR in ./~/mysql/lib/Connection.js
Module not found: Error: Can't resolve 'tls' in 'c:\jrs\final_project\forth_attempt\React\node_modules\mysql\lib'
@ ./~/mysql/lib/Connection.js 4:23-37
@ ./~/mysql/index.js
@ ./src/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js
ERROR in ./~/mysql/lib/protocol/sequences/Query.js
Module not found: Error: Can't resolve 'fs' in 'c:\jrs\final_project\forth_attempt\React\node_modules\mysql\lib\protocol\sequences'
@ ./~/mysql/lib/protocol/sequences/Query.js 6:19-32
@ ./~/mysql/lib/Connection.js
@ ./~/mysql/index.js
@ ./src/index.js
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js
webpack: Failed to compile.
But this time, when I refresh the browser page, the text replacements disappear.
What, in my mind should be a simple process of connecting to a mySql database and replacing the data in the DOM has turned into a 2 day search and destroy missing.
I have attached complete versions of my index.js, index.html, and webpack.config.js files.
react_app.zip

This is a Node.js module; it does not work in the web browser (or anything that is not Node.js). If you would like to see support for other environments, you're welcome to make a pull request to add such support!


Feature Request: Redux DevTools integration config

Since this starter includes ngrx, I think this might be a useful feature.
It turns out ngrx/store is compatible with this Redux dev tools chrome/firefox extension: https://github.com/zalmoxisus/redux-devtools-extension .  And after playing around with it, it has a lot more features and seems generally more useful than the ngrx-store-log-monitor. It's being used in the ngrx-example-app also.
But you have to use StoreDevtoolsModule.instrumentOnlyWithExtension() instead of StoreDevtoolsModule.instrumentStore({...etc}).
I was thinking in constants.js, we could add something like 'extension' to the dev tools options:
/**
 * specifies which @ngrx dev tools will be available when you build and load
 * your app in dev mode. Options are: monitor | logger | both | extension | none
 */
exports.STORE_DEV_TOOLS = 'extension';

Then in store-devtools.module.ts , we'd add another clause - something like this:
else if (ENV === 'development' && !AOT && 'extension' === STORE_DEV_TOOLS)
    IMPORTS.push(StoreDevtoolsModule.instrumentOnlyWithExtension());

I tried this, but it doesn't seem to work. It does work when I have it directly in my app.module.ts's imports, but I'd prefer to add it conditionally based on ENV, as I described above.
Here's more info: https://github.com/ngrx/store-devtools/issues/27#issuecomment-248495112
Might be nice to have, in my opinion anyways :) Thanks for all the work you've put into this seed so far!

@Matmo10 upload a repo of it being used the way you have it now and I'll see if I can incorporate it

I played around with it in the ngrx-example app. Here's how they import it:
https://github.com/ngrx/example-app/blob/master/src/app/app.module.ts#L66
It works fine if I import it along side the StoreDevTools module in this project, and this is how I'm using it now, but I wanted to turn it off for prod builds:
imports: [...etc,
                StoreDevToolsModule,
                StoreDevtoolsModule.instrumentOnlyWithExtension()
               ]

I've tried configuring and using/adding to the app's imports it conditionally based on ENV and STORE_DEV_TOOLS but I get inconsistent results. I've tried doing it in both store-devtools.module.ts as I mentioned above, and in app.imports.ts. Based on Mike Ryan's comment it also seems like it it can't be used simultaneously with the ngrx-store-log-monitor. But half the time it works and half the time it doesn't.
Even when I do this with STORE_DEV_TOOLS set to 'both' or 'monitor':
if (ENV === 'development' && !AOT && !['both', 'monitor'].includes(STORE_DEV_TOOLS)) {
    APP_IMPORTS.push(StoreDevtoolsModule.instrumentOnlyWithExtension());
}

it still seems to be enabled sometimes.
I'll close this for now since I'm not really sure what the correct configuration / implementation looks like, and since I just wanted to mention it as a suggestion, really. I had no idea this extension worked with ngrx until today when I saw it mentioned in the ngrx/store gitter channel.

@Matmo10 yeah, I think I tried to play around with it like a month or so ago but it wasn't working right... I've never gotten to use it before to tell if it's worth it or not


stmgr coredump

We observed the Stmgr coredump, see the below logs. Anybody has any idea on this? Thanks.

[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout: pure virtual method called
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout: terminate called without an active exception
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout: *** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1582847383" if you are using GNU date ***
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout: PC: @     0x7f5bc42da277 __GI_raise
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout: *** SIGABRT (@0xbcb0000b338) received by PID 45880 (TID 0x7f5bc54c1780) from PID 45880; stack trace: ***
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @     0x7f5bc50a76d0 (unknown)
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @     0x7f5bc42da277 __GI_raise
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @     0x7f5bc42db968 __GI_abort
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @     0x7f5bc48e77d5 __gnu_cxx::__verbose_terminate_handler()
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @     0x7f5bc48e5746 (unknown)
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @     0x7f5bc48e5773 std::terminate()
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @     0x7f5bc48e62df __cxa_pure_virtual
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @           0x4dfe1d BaseClient::OnConnect()
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @           0x4de404 EventLoopImpl::handleWriteCallback()
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @           0x4f0a9f event_process_active_single_queue
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @           0x4f115f event_base_loop
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @           0x40c81f main
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @     0x7f5bc42c6445 __libc_start_main
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @           0x41257c (unknown)
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:     @                0x0 (unknown)
[2020-02-27 23:49:43 +0000] [INFO]: stmgr-233 stdout:

[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout: pure virtual method called
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout: terminate called without an active exception
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout: *** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1582837876" if you are using GNU date ***
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout: PC: @     0x7fe9d8935277 __GI_raise
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout: *** SIGABRT (@0xbcb0005176a) received by PID 333674 (TID 0x7fe9d9b1c780) from PID 333674; stack trace: ***
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @     0x7fe9d97026d0 (unknown)
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @     0x7fe9d8935277 __GI_raise
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @     0x7fe9d8936968 __GI_abort
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @     0x7fe9d8f427d5 __gnu_cxx::__verbose_terminate_handler()
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @     0x7fe9d8f40746 (unknown)
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @     0x7fe9d8f40773 std::terminate()
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @     0x7fe9d8f412df __cxa_pure_virtual
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x4df98a BaseClient::Start_Base()
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x443dfa heron::stmgr::StMgrClient::OnReConnectTimer()
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x4df6ed _ZNSt17_Function_handlerIFvN9EventLoop6StatusEEZN10BaseClient13AddTimer_BaseESt8functionIFvvEElEUlS1_E_E9_M_invokeERKSt9_Any_dataS1_
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x4ded81 EventLoopImpl::handleTimerCallback()
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x4dc840 EventLoopImpl::eventLoopImplTimerCallback()
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x4f0a9f event_process_active_single_queue
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x4f115f event_base_loop
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x40c81f main
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @     0x7fe9d8921445 __libc_start_main
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @           0x41257c (unknown)
[2020-02-27 21:11:16 +0000] [INFO]: stmgr-233 stdout:     @                0x0 (unknown)
[2020-02-27 21:11:17 +0000] [INFO]: stmgr-233 stdout:

I0227 21:11:16.813194 333674 stmgr-client.cpp:139] Will try to reconnect again after 1 seconds
E0227 21:11:16.813606 333674 baseconnection.cpp:142] BufferEvent reported error on connection 0x2d2b720
I0227 21:11:16.813617 333674 stmgr-client.cpp:133] Stmgr stmgr-154 running at xxxxxxx:31831 closed connection with code Write error
I0227 21:11:16.813670 333674 stmgr-client.cpp:139] Will try to reconnect again after 1 seconds
E0227 21:11:16.814357 333674 baseconnection.cpp:142] BufferEvent reported error on connection 0x2d3aa00
I0227 21:11:16.814375 333674 stmgr-server.cpp:111] StMgrServer Got connection close of 0x2d3aa00 from yyyyyyyy:35270
I0227 21:11:16.814378 333674 stmgr-server.cpp:121] Stmgr stmgr-86 closed connection
E0227 21:11:16.814669 333674 baseconnection.cpp:142] BufferEvent reported error on connection 0x2d3a220
I0227 21:11:16.814683 333674 stmgr-server.cpp:111] StMgrServer Got connection close of 0x2d3a220 from yyyyyyyy:33974
I0227 21:11:16.814685 333674 stmgr-server.cpp:121] Stmgr stmgr-154 closed connection
E0227 21:11:16.816232 333674 baseconnection.cpp:142] BufferEvent reported error on connection 0x56ab800
I0227 21:11:16.816256 333674 stmgr-client.cpp:133] Stmgr stmgr-221 running at xxxxxxx:31294 closed connection with code Write error
I0227 21:11:16.816263 333674 stmgr-client.cpp:139] Will try to reconnect again after 1 seconds
E0227 21:11:16.817833 333674 baseconnection.cpp:142] BufferEvent reported error on connection 0x2d295e0
I0227 21:11:16.817849 333674 stmgr-client.cpp:133] Stmgr stmgr-12 running at xxxxxxx:31846 closed connection with code Write error
I0227 21:11:16.817853 333674 stmgr-client.cpp:139] Will try to reconnect again after 1 seconds
E0227 21:11:16.820160 333674 baseconnection.cpp:142] BufferEvent reported error on connection 0x2d39500
I0227 21:11:16.820192 333674 stmgr-server.cpp:111] StMgrServer Got connection close of 0x2d39500 from yyyyyyyy:41220
I0227 21:11:16.820196 333674 stmgr-server.cpp:121] Stmgr stmgr-12 closed connection

In my case, if another instance dies with OOM Killer, stmgr has this phenomenon,
topologyConfig.setContainerRamPadding(ByteAmount.fromGigabytes(3));

I solved it by putting

why another instance oom will cause stmgr __cxa_pure_virtual?

https://github.com/apache/incubator-heron/blob/698a47b9b3f80779b63154552f5ffbc294a88596/heron/common/src/cpp/network/baseclient.cpp#L77
    int error = IpUtils::getAddressInfo(t, options_.get_host().c_str(), PF_INET, SOCK_STREAM);

options_.get_host().c_str()

data here was having a problem.

my case

my case

if you use MacOs, you may add the hostname to /etc/hosts besides localhost

@huijunwu
in production,
The target container died of OOM,
The above error occurred while the data was contaminated.


Change enum syntax

Instead of using auto() all the time, how about we change to the functional syntax?

https://github.com/tinygrad/tinygrad#contributing
"All docs and whitespace changes will be closed unless you are a well-known contributor. "


Keyers and Macros

Added the following commands:  KeOn, CKOn, CDsL, DskS, CDsF, CDsC, DskB, MAct, MPrp, _MAC, and _pin (revised with new message) to support turning on/off the USK and DSK, setting the fill/key source for the DSK, listing macros, and running macros.

What is the ProductName (_pin) revision? Did you find something new or that did not work?

What is the ProductName (_pin) revision? Did you find something new or that did not work?

Thank you for the contribution!
What is the ProductName (_pin) revision? Did you find something new or something that did not work with ProductInfo?

Your implementation of the _pin message was crashing when I tried running it against my ATEM Mini Pro. When I implemented it according to the older protocol reference listed on the Skaarhoj site, it seemed to work, but I didn’t want to overwrite what you had added based on the libAtem protocol reference.

Thank you for the contribution!
What is the ProductName (_pin) revision? Did you find something new or something that did not work with ProductInfo?

Your implementation of the _pin message was crashing when I tried running it against my ATEM Mini Pro. When I implemented it according to the older protocol reference listed on the Skaarhoj site, it seemed to work, but I didn’t want to overwrite what you had added based on the libAtem protocol reference.

OK I will look into that.

OK I will look into that.

Is there a plan to integrate this change into the master or development branch?  I’d like to use the macro support but I also want the newer bug fixes.


C# Debug and IntelliSense not working on a Linux environment - Stuck on Downloading package 'Razor Language Server Telemetry'

Environment data
dotnet --info output:
.NET SDK:
Version:   7.0.306
Commit:    f500069cb7

Runtime Environment:
OS Name:     amzn
OS Version:  2
OS Platform: Linux
RID:         linux-x64
Base Path:   /home/valgsfi/.dotnet/sdk/7.0.306/

Host:
  Version:      7.0.9
  Architecture: x64
  Commit:       8e9a17b221

.NET SDKs installed:
  3.0.103 [/home/valgsfi/.dotnet/sdk]
  3.1.426 [/home/valgsfi/.dotnet/sdk]
  6.0.408 [/home/valgsfi/.dotnet/sdk]
  7.0.306 [/home/valgsfi/.dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.0.3 [/home/valgsfi/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.32 [/home/valgsfi/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.16 [/home/valgsfi/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.9 [/home/valgsfi/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.3 [/home/valgsfi/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.32 [/home/valgsfi/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.16 [/home/valgsfi/.dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.9 [/home/valgsfi/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/home/valgsfi/.dotnet]

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

VS Code version:
Version: 1.83.1
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:45:31.402Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.133-86.144.amzn2.x86_64

C# Extension version: v2.6.24
OmniSharp log
Installing Razor Telemetry Version = undefined...
Platform: linux, x86_64, name=amzn, version=2

Downloading package 'Razor Language Server Telemetry (Linux / x64)'

Steps to reproduce

Open a .cs file or try to run a .Net / C# project
Intelissense is not working, I can not go to any implementation or have any help from the IDE
When I try to Run/Debug a C# project, the vscode keeps loading but I do not see any results.

Additional context
Even if try to change the ominsharp logs level I can not see anything more than the message:   Downloading package 'Razor Language Server...

@davidwengier mind taking a first look here?

@coderade Thanks for reporting the issue. Sorry to ask the obvious question, but is there network activity happening while it's supposedly downloading? Do you get issues if you manually try to download the package? The url should be: https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/b4f2fb72ed2acda7263fc597fbd20882/devkittelemetry-linux-x64-7.0.0-preview.23475.5.zip

hi @davidwengier, thanks for the reply. I am able to download the package manually. Maybe I am having a issue with the proxy or other things in the VsCode settings.
Do you know how I can reference this package manually? I will check the network settings on the vscode too.
Thanks,

I'm only here to confirm this issue, switching the "C#" extension to version 2.0.320 allows for continued operation.

@thompson937 are you also on linux? or a different OS?
@coderade a workaround would be to install it manually I guess. If you can find the VS Code extensions folder, under your user path somewhere, there should be a ms-dotnettools.csharp-<version> folder. If you extract the zip you downloaded into a .razortelemetry folder inside there, hopefully you'll be unblocked while we investigate.

@thompson937 and you can download the zip file I linked above manually? No proxy settings in VS Code?
@coderade did you and up finding anything interesting in the networking settings in VS Code?
I set up a quick test on my machine (in WSL) and everything worked first time, so sadly its nothing obvious like us forgetting that slashes go two ways. I also went through the git history of the download code, and it hasn't meaningfully changed in almost 2 years, and is basically the same as when it was in O#.
I don't have a lot of experience with linux in geneal (read: basically none) so I'm asking around internally, but if there is any extra info either of you can provide that would be helpful, I'm all ears. Do you have network monitors tools installed that could indicate if the download even starts, for example?

@davidwengier thanks for the workaround, looks like after some changes on the vscode network/proxy settings, I am able to download the failing package again, and everything is working properly.
Unfortunately, I am not being to reproduce the error again to check what I actually changed to make this works, and as I am working in a client managed network, maybe they changed something on their proxy side also.
The only issue I see is why we got stuck with this kind of message: Downloading package 'Razor Language Server... and we did not get any error message/log after some minutes, but anyway, right now it is working properly and I can provide other informations if you need.
thanks,

Thanks @coderade, glad you got things working. We'll definitely look into adding better error reporting, or a timeout, or something for this.

Also experiencing this on Windows x64.
I tried downloading https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/187a09b50228410a03d7e264181e2503/devkittelemetry-win-x64-7.0.0-preview.23475.5.zip and copying it to
%USERPROFILE%\.vscode\extensions\ms-dotnettools.csharp-2.8.23-win32-x64\.razortelemetry
However I still see

Installing Razor Telemetry Version = 7.0.0-preview.23475.5...
Platform: win32, x86_64
Downloading package 'Razor Language Server Telemetry (Windows / x64)'

@davidwengier unfortunately I am behind a corporate proxy ibosscloud
I have my Windows PowerShell and PowerShell 7 system profile.ps1 configured with the following:
$proxy="http://cn-randomid.ibosscloud.com:80"
$env:HTTP_PROXY=$proxy
$env:HTTPS_PROXY=$proxy

Relevant VS Code Settings. Proxy server is the same as in the profile.
{
    "http.proxy": "http://cn-randomid.ibosscloud.com:80",
    "http.proxySupport": "on",
    "http.proxyStrictSSL": false
}

I am able to install and uninstall the Extensions from VS Code with no issue. I am also able to access the download link via Edge, so the proxy does allow access.
The zip file was directly extracted into the .vscode\extensions\ms-dotnettools.csharp-2.8.23-win32-x64\.razortelemetry directory. I see language folders and and a bunch of dlls. It looks like it is in the correct location.
I do notice that VS code keeps creating an empty install.Begin file in .vscode\extensions\ms-dotnettools.csharp-2.8.23-win32-x64\.razortelemetry when it starts.

@davidwengier excuse me, but can you tell me how to install the razortelemetry offline? my office computer is offline and it's win10(besides, i also need to install this on another office computer and it's linux, it's also offline) i extracted the zip into the .razortelemetry from the link https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/187a09b50228410a03d7e264181e2503/devkittelemetry-win-x64-7.0.0-preview.23475.5.zip, however, each time i open my vscode, the output still shows downloading package ' razor language server telemetry', and it seems that i cannot debug on my vscode and there is no code navigate or prompts either, do i need to make some other changes?

@caoqun98 do the logs indicate what version its trying to download? The link I posted above is pretty old, so if there is a newer version of the package, it will probably still try to download the new one. Also, if you're completely offline you probably want to turn off telemetry in VS Code completely, in which case we'll stop trying to download anything. That change was only recently merged though, in https://github.com/dotnet/vscode-csharp/pull/7092, so it won't have an effect in the version you currently have unfortunately, but soon.

@caoqun98 do the logs indicate what version its trying to download? The link I posted above is pretty old, so if there is a newer version of the package, it will probably still try to download the new one. Also, if you're completely offline you probably want to turn off telemetry in VS Code completely, in which case we'll stop trying to download anything. That change was only recently merged though, in #7092, so it won't have an effect in the version you currently have unfortunately, but soon.

thx for your tips. according to my output and the url in package.json(it's in the csharp installation folder), i downloaded the new one and extracted it in the  .razortelemetry, however, it still downloads from the

@caoqun98 do the logs indicate what version its trying to download? The link I posted above is pretty old, so if there is a newer version of the package, it will probably still try to download the new one. Also, if you're completely offline you probably want to turn off telemetry in VS Code completely, in which case we'll stop trying to download anything. That change was only recently merged though, in #7092, so it won't have an effect in the version you currently have unfortunately, but soon.

thx for your tips. according to my output and the url in package.json(it's in the csharp installation folder), i downloaded the new one and extracted it in the  .razortelemetry, however, it still downloads from the url... do i need to change some other settings in package.json?

@caoqun98 do the logs indicate what version its trying to download? The link I posted above is pretty old, so if there is a newer version of the package, it will probably still try to download the new one. Also, if you're completely offline you probably want to turn off telemetry in VS Code completely, in which case we'll stop trying to download anything. That change was only recently merged though, in #7092, so it won't have an effect in the version you currently have unfortunately, but soon.

thx for your tips. according to my output and the url in package.json(it's in the csharp installation folder), i downloaded the new one and extracted it in the .razortelemetry, however, it still downloads from the url... do i need to change some other settings in package.json?

@davidwengier
thx for your tips. according to my output and the url in package.json(it's in the csharp installation folder), i downloaded the new one and extracted it in the .razortelemetry, however, it still downloads from the url... do i need to change some other settings in package.json?

It looks like after a successful install it puts a 0 byte file on disk called install.Lock, in the .razortelemetry folder. Try creating that file manually perhaps?


Ultragroots/ONCEHUB-49478 adding merge status to staging-app2

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign giladgoraly
You can assign the PR to them by writing /assign @giladgoraly in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by:
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by: oh-rajendra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Vaults states check

Tested the is_mounted as function approach and it worked very well for me. So here's the PR.
With this PR we check actual mounts 1) at start, 2) when open window from tray, 3) on refresh button, 4) on vault's popup and update the table and menus accordingly. There's also a new "View" menu in main window with "Refresh" option to re-check the mounts.

Will drop this for now because of https://github.com/moson-mo/cryptor/issues/8#issuecomment-1905847478


AngularJS v1.2 ??

Hi there. Will you update an angularjs support for newest version? I have found in bower dependencies angularjs v1.2 and dont know what will happend if i change it to 1.4?

@alexsimkovich yes, please search for Angular 1.4 in the issues before opening an new one.


⚠ Bofrost.be has degraded performance

In 8dbc8cd, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1879 ms

Resolved: Bofrost.be performance has improved in 105c8a6 after 8 minutes.


Error while trying to embed data

Hi,
I'm running SeqVec-master/seqvec_embedder.py on some protein data that I have. my DB is splitted into chunks and while most chunks were embedded successfully, some jobs were failed with the following error:

Traceback (most recent call last):
File "/home/seqvec/SeqVec//lib/SeqVec-master/seqvec_embedder.py", line 258, in
main()
File "/home/seqvec/SeqVec//lib/SeqVec-master/seqvec_embedder.py", line 254, in main
cpu_flag, max_chars, per_prot, verbose )
File "/home/seqvec/SeqVec//lib/SeqVec-master/seqvec_embedder.py", line 168, in get_embeddings
np.savez( emb_path, **emb_dict)
File "<array_function internals>", line 6, in savez
File "/home/seqvec/SeqVec/env/lib/python3.6/site-packages/numpy/lib/npyio.py", line 616, in savez
_savez(file, args, kwds, False)
File "/home/seqvec/SeqVec/env/lib/python3.6/site-packages/numpy/lib/npyio.py", line 720, in _savez
with zipf.open(fname, 'w', force_zip64=True) as fid:
File "/home/software/anaconda3/lib/python3.6/zipfile.py", line 1355, in open
return self._open_to_write(zinfo, force_zip64=force_zip64)
File "/home/software/anaconda3/lib/python3.6/zipfile.py", line 1468, in _open_to_write
self.fp.write(zinfo.FileHeader(zip64))
File "/home/software/anaconda3/lib/python3.6/zipfile.py", line 427, in FileHeader
len(filename), len(extra))
struct.error: ushort format requires 0 <= number <= (0x7fff * 2 + 1)

I don't think it's a memory issue since I tried splitting those chunks into smaller ones and got the same error.
do you have any idea what is causing the error and how to solve it? I didn't managed to find helpful solutions online.
thanks!
Itai Roth

found out what was the problem: very long headers.
I sovled it by adding condition in seqvec_embedder.py (line 125):
for batch_idx, (sample_id, seq) in enumerate(batch): # for each seq in the batch
if len(sample_id) >= (0x7fff * 2 + 1):
sample_id =sample_id[0:(0x7fff)]


Editing checklists

[ ] Listing checklists on a card
[ ] Changing checkitem states
[ ] Managing checklists (renaming, removing, convert to card)

Note
This issue is pretty stale due to trying to figure out how to manage checklists without consistently hitting ratelimits, there is probably an endpoint to mass-toggle checklist items like for member assignments, but Trello API documentation isn't good.

Closing this since I don't want to hit API limits regularly. Sorry.


If app left open overnight, messages still display that were sent "Today"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Expected Result:
Messages should update to show the correct date without the need of refreshing the page.
Actual Result:
Message that was sent the day before still shows that were sent "Today" instead of "Yesterday".
Action Performed:

From account A send a message to account B
Leave the app open overnight
Check the same message on the day after.

Workaround:
No need. A refresh will update the message and show the correct date.
Platform:
Where is this issue occurring?
Web ✔
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.59-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
View all open jobs on Upwork

From @mallenexpensify https://expensify.slack.com/archives/C01GTK53T8Q/p1622558685411700

When I opened chat this morning it was on a group one with James and it says today at 9pm when the message was sent yesterday.   Once I clicked out of the chat then returned it correctly showed as 'yesterday'.  I reckon this has to do with updating in the background (possibly similar to issue below)

Triggered auto assignment to @Jag96 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Triggered auto assignment to @kadiealexander (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Upwork post: https://www.upwork.com/jobs/~01d6868ac79599c3d2

Triggered auto assignment to @deetergp (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

The issue is caused by the fact that component ReportActionItemDate is not updated at midnight when rendered output should supposedly change.
https://github.com/Expensify/Expensify.cash/blob/6cf79acf86232024968354e166ea53d60eec8fda/src/pages/home/report/ReportActionItemDate.js#L13-L17
The component has one prop that never changes and thus it is never re-rendered.
I believe that chat apps normally avoid this kind of issue by simply not rendering the date on the messages and instead just grouping the messages by date and separating the groups with lines like on the screenshot below (slack). Having less date aware components is a huge help for sure.

However, I think I have a few possible solutions:

Similar to what one can find via searching online for similar issues, first option is to add state to that component, name it currentDate or something and check every second or minute if current date has changed and update state accordingly. This will trigger component re-render and the wording will always be up-to-date.

Similar to option 1 above we can instead create a HOC withCurrentDate that would in a similar manner have state and check for date updates regularly, it will then pass that date as a prop to ReportActionItemDate causing it to re-render.

Both options 1 and 2 imply having a setInterval for EACH chat message which is not very good, which is why ideally we should have one setInterval running somewhere globally that would update some onyx record we can subscribe to in  ReportActionItemDate via withOnyx HOC. Onyx record changes => components get re-rendered => win. I guess it will still make the app slower, but not to such extend as previous options.

This one makes me nervous enough that I want to get a second opinion. I thought the cost may outweigh the benefit here and we may want to rethink wether or not we want relative dates on every post. In any event, the person I want to look at this, @marcaaron, will be back in the office on Monday, so let's sit on this tell then.

I am not really sure what level of granularity we are expecting in the relative dates from a product perspective. Seems like a good thing to bring to #expensify-open-source for discussion.
One other solution not mentioned is that we could update the relative times based on user activity instead of some arbitrary time elapsing (e.g. with the setInterval approach) and instead update all times when the app becomes active or a user moves their mouse.

Solid suggestion, @marcaaron. I agree that user activity is a better trigger than setInterval.

Based on the issue ("app left overnight") I'd be Ok with assuming that we are mainly concerned with large amounts of time. My concern is that if we are updating very frequently then it will cause performance issues. But we can always tweak things later. @deetergp what do you think about this plan?

I think three hours sounds like a reasonable amount of time. I don't think we need to worry about the time rolling over at exactly the stroke of midnight in the user's timezone, and are more concerned about leaving the app open at the end of the day, then hopping in first thing the next morning. I think we have a solution we can move forward on.

@deetergp should @kadiealexander hire @dklymenk or do we want more specifics on the proposed fix?

@mallenexpensify I think we have enough to move forward with hiring @dklymenk.

Hired @dklymenk in Upwork (@kadiealexander is out of office, leaving it assigned to you as Contributor Manager), please submit a PR for @deetergp to review

The PR should get randomly assigned to a reviewer, so assigning it to me to review would not be the correct course of action in general. I'm also out of the office all next week, so it would specifically not be helpful to get a speedy review. 😅

Thanks @deetergp , had wires crossed.

No worries @mallenexpensify. And never fear, once we get used to this flow, it will change! 😂

I have submitted the PR #3573 with proposed changes. The original post mentions only Web, but I made an assumption that desktop app should have this fix too. For iOS and Android there is probably little sense sense in such fix, I would expect it's not very common to have this app open overnight on a phone. Please let me know if my assumptions are wrong on there.

cc @marcaaron https://github.com/Expensify/Expensify.cash/issues/3272#issuecomment-860193649. I believe, it's better to test if the app auto-updates the time-date when it's in the background. It very common for me not to close the apps and put them in the background on mobile.

@parasharrajat Good catch. If your phone has enough RAM and you don't switch between too many other applications, the react-native app will be in the memory and switching back to it normally doesn't cause a re-render.
@marcaaron If this would be required to implement, I think we can use utilize this function
https://github.com/Expensify/Expensify.cash/blob/9974e7984dc0845f144dbc919ca4220a6af302dd/src/libs/AppStateMonitor/index.js#L7-L31

@kadiealexander paid this today.  Sorry it took a while @dklymenk (we have a new process now so this shouldn't happen with new issues going forward)

@parasharrajat @dklymenk Not really following what's being proposed. Do we need to create a new issue ?

Oh just noticed those comments are very old so probably we do not need a new issue :)


Add close pr to actions publish

This commit enhances the publish actions script by including a step to close the pull request after
committing the changes. The existing script deletes the branch after pushing the commits, but lacks
the functionality to close the associated PR.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Permissions Added:

contents: write
pull-requests: write

See: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

brew pr-pull should already handle this without needing any extra permissions by modifying the commit message: https://github.com/Homebrew/brew/blob/5349b762929b51785bcd40c1df101f9479a0dd13/Library/Homebrew/dev-cmd/pr-pull.rb#L98

@Bo98 Yes, you are right, it is already been handled but I was getting some errors while testing this. The errors were due to missing permissions.

Ah ok that makes more sense. So did you find that you could do just the permission changes without the gh pr close change?

I looked into it and found out that the 'contents: write' permission is required to publish releases and the 'pull-requests: write' permission is required to close the pull request after the changes are committed. It seems like mentioning these permissions explicitly was not required in the past but now it is required.
See: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

Nice work everyone!

Thanks 😊


Adjusting Esp32 documentation + adding architecture

Description
Adjusting Esp32 documentation + adding architecture
Motivation and Context
In complement of previous PR #36
Types of changes

[x] Improvement (correction, content improvement, typoe fix, formating)
[x] New Article (new document for docs website)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)

Checklist:

[x] My doc follows the code style of this project.
[x] I have read the CONTRIBUTING document.

@Ellerbach seems that there a couple of conflicts. Please make sure you merge the upstream pages-source branch and solve the conflicts. Thanks!

Please make sure you merge the upstream pages-source branch and solve the conflicts. Thanks!

Cleaned.


Resolve remaining linter errors

The only questionable change here (imo) is L#1161-1163 of render.js on 45d7a7f643e58b3cef011a778aeea0968a3708f6. I assume the intent with using Function#call here was to prevent exposing scope of the host / outer function (the one you're calling it in)... but maybe the original author can comment on that?


Create a way to measure the max displacement of the inital model.

To be able to set a reasonable displacement constraint, I want to have the max displacement
Therefore I need to execute Hypermesh once without running the optimization and extract the displacement value from the out file.
Probably this will go in the HypermeshStarter class
I need to figure out a way to wait for the calculation to be finished
Then I need to extract the value and continue with the script.

seems like a duplicate #7


Two time zone id's are wrong

The listing seems to have several errors:
"Cabo Verde Standard Time" <-> "(UTC-01:00) Cabo Verde Is."
It should most likely be:
"Cape Verde Standard Time" <-> "(UTC-01:00) Cabo Verde Is."
At least this is the info I get in ms sql when I do:
select current_timezone() // (UTC-01:00) Cabo Verde Is.
select current_timezone_id() // Cape Verde Standard Time
And the current time zone is:
tzutil /g
Cape Verde Standard Time
Same problem:
"Türkiye Standard Time" <->	"(UTC+03:00) Istanbul"
It should most likely be:
"Turkey Standard Time" <-> "(UTC+03:00) Istanbul"
select current_timezone() // (UTC+03:00) Istanbul
select current_timezone_id() // Turkey Standard Time
tzutil /g
Turkey Standard Time

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

ID: 407c96bc-fa4a-8a2b-51d0-1a453cc5c48e
Version Independent ID: 070eecff-818d-25ad-4405-cf596d4b7072
Content: Time zones - Azure SQL Managed Instance
Content Source: azure-sql/managed-instance/timezones-overview.md
Service: sql-managed-instance
Sub-service: service-overview
GitHub Login: @MladjoA
Microsoft Alias: mlandzic

Hi @osexpert ,
Thanks for sharing this feedback. We will look into this and update as appropriate.
Hi @MladjoA,
Could you please look into this request, thanks.

Thanks for noticing and letting us know, @osexpert.
Pull request with the fix is on its way.

#please-close


Isomorphic HMR with React

Is there an example somewhere that shows how to use fusebox with an isomorphic react app? I'd love to switch over from webpack, but having trouble finding a good isomorphic sample.
Thanks!

@mattoni
our HMR is fully express server, so you can hack into it however you like :)
also these might help
https://github.com/fuse-box/fuse-box-express-seed
https://github.com/fuse-box/react-example
https://github.com/fuse-box/fuse-box-ts-react-reflux-seed
this article about how to customize HMR
<EMAIL_ADDRESS>

Thanks, @basarat 's article is what led me to fuse-box in the first place. I think it would be really great if there was an official example with SSR, since it's a huge topic these days :)

@mattoni good idea! do you want to PR something :)

I would, I'm a bit tight on time so if somebody could knock it out faster that might be better, but I'll see if I can get to it. Is it alright to be a bit opinionated on it? My favorite stack is Typescript + MobX + React (+ Fuse-box now ;) )

I'm working on a repo for this right now. Ran into an issue though, I'm unable to use the paths set up in my tsconfig.json file. For example, in the server file, I import a component with
import { Html } from "containers/Html";
But it is not pulled into the bundle, and the server crashes saying the module wasn't found.
Changing it to relative paths:
import { Html } from "../containers/Html";
Works (until it hits another non-relative import). How can I get it to import properly so I don't have to use relative paths everywhere?
Repo here:
https://github.com/mattoni/fusemob-ssr
Thanks for the help.

@mattoni at the moment tsconfig.json does not affect paths. You can use alias as of now
http://fuse-box.org/#alias
But it would be a great improvement to have.

@mattoni closing this for now =) Clean up before the release.


feat: allow passing down "null" to disable server watcher

Description
Fixes #14189
Providing null in server.watch config option (similar to build.watch) now disables the watcher altogether.

Additional context
This helps with watch leaks in Vitest.

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the PR Title Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

I built some test cases earlier today. Check the playground/watch: https://github.com/AriPerkkio/vite/commit/16162d687b6b5838dcd46d5ea8a25d4c07a72b9c

The watcher test is a little unstable so I updated it. It's more naive but I think probably good enough.


Reader does not work on dynamic routes for Next JS on Vercel

I'm trying Keystatic out for a new project and followed the Next JS tutorial. Not sure if this is a Vercel or Keystatic issue, but the reader doesn't return posts when deployed on Vercel when the page is a dynamic route (eg. [slug].tsx). Static routes work fine. Also everything works well locally.
// app/posts/[slug].tsx

const reader = createReader(process.cwd(), keystaticConfig);

export default async function PostPage(params) {
  const post = await reader.collections.posts.read(params.slug);
  // post is empty when deployed on Vercel!
  // but works fine locally

  return ...
}

Static page routes work fine:
// app/posts/static-post.tsx

const reader = createReader(process.cwd(), keystaticConfig);

export default async function PostPage() {
  const post = await reader.collections.posts.read('static-post')
  // No probs, post has data

  return ...
}

Using:
 "@keystatic/core": "^0.3.17"
 "@keystatic/next": "^3.0.0"
 "next": "14.1.0"

I've created a reproduction repo here: https://github.com/unkleho/nextjs-keystatic-test
The deployed site is here: https://nextjs-keystatic-test.vercel.app/
Any help on this would be great. Perhaps I've missed a step?
Thanks heaps for the cool project.

Hey!
Neither a Keystatic nor a Vercel issue — this is a result of building your Next.js site with static pages.
Whenever you want to have dynamic path segments (which you do), the HTML pages for each entry need to be generated at build time with generateStaticParams.
If you add this export to your [slug] route, the individual post pages will start working.
It's pretty easy to do with the Reader API, since all you need to export is an array of slugs, which you can get with reader.collections.myCollection.list().
Here's an example from the Keystatic docs website, to generate all static docs pages:
https://github.com/Thinkmill/keystatic/blob/main/docs/src/app/(public)/docs/[...slug]/page.tsx#L86-L92
Hope it helps!


What is the best way to pass arguments to PS1 script using jpowershell?

I need to pass several arguments to my PS1 script and thess arguments are variables, so I can't hardcode them to PS1.
What is the best way to do it?

How to add Environment variables to script execution in format ENV1='test1'?

Hello,
Can you provide an example of each case in Powershell systax? How will you write it in PowerShell console?
In order to set Environment variables you cannot simply call SetEnvironmentVariable using executeCommand?
Best regards

Here is simple example of using parameters with powershell script:
.\test.ps1 -Bogus FooBar -FileName "c:\windows\notepad.exe"
# Show how to handle command line parameters in Windows PowerShell
param(
  [string]$FileName,
  [string]$Bogus
)
write-output 'This is param FileName:'+$FileName
write-output 'This is param Bogus:'+$Bogus

I meanProcessBuilder for child process envs .
For example if I have script that read envs, so I can add this envs to powershell session.
It is rare case

I do not undestand. Since 2.1.1 version, the executeScript methods with parameters is public.
https://github.com/profesorfalken/jPowerShell/releases
What version of jPowerShell are you using?
We can discuss about envs parameter in another separated issue maybe?

You are right. I used old version. I close this issue


add compat fallback in case of older cache files.

Makes https://github.com/fsprojects/Paket/commit/373c969cfda4d65a6be3a628693f8fa312c0b9af#diff-4f406fc88011d514e8f5e3d364c8e705 non-breaking
Fixes https://github.com/fsprojects/Paket/issues/3404

Instead of fixing it like suggested in this PR (this will be a huge compat frustration very soon) we could try the following:

Paket writes its version into paket.restore.targets
Paket writes its version into the cache
The paket.restore.targets logic checks if the cache version matches its own version, if not then

run paket --version if the version doesn't match with the restore.targets then fail the build with a message to run paket install or paket restore manually
delete paket.restore.cached and run paket restore again (which should replace the cache)

Maybe this is a bit too strict?


[chart]Label type selection not working on Pie chart

A clear and concise description of what the bug is.
Expected results
Label type changed
Actual results
Label type doesn't changed
Screenshots

How to reproduce the bug

Go to 'Charts'
Click on 'any Pie chart.'
Change Label Type
See error

Environment
(please complete the following information):

superset version: master
python version: based on master
node.js version: based on master

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

confirmed this is not working in master. also label disappear on hover.

@villebro not sure it happens after we bumped echarts to 5.0.2?
tagged good first issue  feel free to open a PR if you have a solution 😃

Bumping the version in the plugin here which fixes the issue: https://github.com/apache-superset/superset-ui/pull/942


useNewEmmet doesn't honor tab key in a specific usecase

VSCode Version: 1.14.1
OS Version: Windows 10 and OS X Sierra

Problem
when useNewEmmet is set to true, Emmet expressions are only evaluated if the tab key is pressed immediately after writing an expression and do not work for an existing string.
Steps to Reproduce:

Type an emmet expression but don't press tab immediately
Move the cursor to different lines and go back to the emmet expression
Pressing TAB will insert a TAB stop instead of evaluating an emmet expression

Demo : http://i.imgur.com/b1rTXsz.gif

Just found out that useNewEmmet disables auto-completion using the TAB key.

https://code.visualstudio.com/updates/v1_13#_emmet-abbreviation-expansion-in-suggestion-list


Default model seems to output only noise or greenscreen

After several unsuccessful attempts at fine-tuning where the output was a still frame of noise or a green field, I followed instructions and skipped to the inference to test the base model. It reacted the same way.
Am I not pointing to the model directory correctly?
!cd /content/Text-To-Video-Finetuning && python inference.py --model /content/Text-To-Video-Finetuning/models/model_scope_diffusers --prompt "cat in a space suit"

I also tried !python /content/Text-To-Video-Finetuning/inference.py --model /content/Text-To-Video-Finetuning/models/model_scope_diffusers --prompt "cat in a space suit" and had the same output

Hey there. After training, are you pointing to the trained model?
By default, it should be placed at the script root under ./outputs/train_<date>

What are you trying to view the video in? I’ve found there’s something weird about the codec sometimes and it needs to be viewed in an application like VLC

Hey there. After training, are you pointing to the trained model?
By default, it should be placed at the script root under ./outputs/train_<date>

Yes I did try the trained model. Trained two different ones in fact.
And then I thought I would do a sanity check and try to generate an image with the installed "base" model and filed this report.
Am I trying to generate an image correctly immediately after install with this line? !python /content/Text-To-Video-Finetuning/inference.py --model /content/Text-To-Video-Finetuning/models/model_scope_diffusers --prompt "cat in a space suit" because if that command is incorrect I've been on the wrong track.

If you have lots of videos you might need to train it for longer. How many steps did you train it and how many videos? 2500 is not enough if you are doing hundreds of videos with different prompts each.

I was using images actually to train the model and there were about a dozen of them. I went the opposite way.
But, the problem as I see it is that one should be able to generate a clip with the inference model before running a training session. I ran into issues with that as well, hence this (possibly errant) bug report.


Transactional header long service names not wrapping correctly

Description
Long services names on the Header transactional with service name aren't wrapping correctly on smaller mobile devices.
There is a modifier class to fix this nhsuk-header__transactional-service-name--long, however the default behaviour should be that the service name always wraps below without the need for the modifier class.
We should remove the nhsuk-header__transactional-service-name--long modifier class and make the default behaviour wrap underneath for service names of any length. This behaviour would also match the Header with a service name.
Example of the current default:

Example when using the modifier class (ideal default)

Related comment https://github.com/nhsuk/nhsuk-service-manual-backlog/issues/16#issuecomment-621918905


cancelling by id

Our usecase is that we add toasts with payload { "type": "TOASTS_ADD", "payload" { "id": <toast_unique_id>, "timeout": <optional_timeout>, "message": <message> } } and remove them with payload { "type": "TOASTS_REMOVE", "payload": <toast_unique_id>}. Removal is done manually or on timeout.
If it is done manually then we would like to cancel logic (waiting on toast timeout) by <toast_unique_id>. From API it seems that only type can be used for cancellation, without any payload support.
Therefore we've created "workaround":
const clearTimeoutMap = new Map();

const logic1 = createLogic({
  type: 'TOASTS_ADD',
  process({ action: { payload: { timeout, id } } }, dispatch, done) {
    if (typeof timeout === 'number') {
      const to = setTimeout(() => {
        clearTimeoutMap.delete(id);
        dispatch(toastsRemove(id));
        done();
      }, timeout);

      clearTimeoutMap.set(id, () => {
        clearTimeoutMap.delete(id);
        clearTimeout(to);
        done();
      });
    } else {
      done();
    }
  },
});

const logic2 = createLogic({
  type: 'TOASTS_REMOVE',
  process({ action: { payload: id } }) {
    const ct = clearTimeoutMap.get(id);
    if (ct) {
      ct();
    }
  },
});

Is this approach OK?

Just in case, here is the full implementation with additional features: https://github.com/FreemapSlovakia/freemap-v3-react/blob/master/src/logic/toastsLogic.js

Thanks @zdila I had the basics started in my notification example, but you have taken it much further. Thanks for sharing.


Stack creation using api: Error (yaml: found unexpected ':')

Rancher versions:
rancher/server: v1.6.6
rancher/agent:
API: /v2-beta/projects/${PROJECT_ID}/stacks
Steps to Reproduce:
- Read compose file contents as strings, docker_compose.yml and rancher_compose.yml. Since the API documentation says the fields dockerCompose and rancherCompose are of 'string' type.
- Pass the data to the API to create a stack in rancher
Pseudo code
- docker_compose = readYaml ('docker_compose.yml') //e.g: [version:2, services:[Webserver:[image:image_repo/php54, stdin_open:true, tty:true]]]
rancher_compose = readYaml('rancher_compose.yml') //e.g: [version:2, services:[Webserver:[scale:1, start_on_create:true]]]
   curl -u <accesskey>:<secretkey> -X POST -H 'Content-Type: application/json' -d '{ "description": "test stack using api", "name": "test","dockerCompose": $docker_compose, "rancherCompose": $rancher_compose }' http://<rancher_host>:8080/v2-beta/projects/<project_id>/stacks

Results:
The stack is getting created in rancher server but with an error as Error (yaml: found unexpected ':').

View in API link show as "transitioning": "error",
"transitioningMessage": "yaml: found unexpected ':'",

Please let me know whats wrong here.And when I tried passing yaml contents as a json string it works.So I wonder if something to do with yaml string representation.
Your help is appreciated.Thanks

The problem is with yaml formatting to a string type and looks like 'readYaml' is not giving the proper yaml string, something like:  "version: '2'\nservices:\n  Webserver:\n    image: jnj.artifactrepo-dev.jnj.com/httpd24:php54\n    stdin_open: true".
My question now is whats the best way to do this programmatically, to be compatible with the rancher api?

This is a tricky part to go with yaml string. So just converted that to a json string and that solves the issue of loading compose file data.Though the stack(created using api) goes to a 'Unhealthy' state instead of 'Active'.Surprisingly the same stack is getting created in Active state when tried from Rancher UI.
I'm wondering whats wrong with the API here.Please let me know if anyone else see same behaviour.
Appreciate your help.Thanks

@vincent99 Thanks.
readYaml reads it fine and returns a 'List' representation of yaml.And as you said it can't be directly used in as a yaml string and need to convert it to be compatible with the API.In my case, I felt it is easier to load json string out of that.
As I mentioned, it is creating the stack fine but with 'Unhealthy' state and manual start pulling that to 'Active' state. What could be the reason for this behavior? is it something expected?

I guess you can check what UI sends to backend in chrome dev tool.

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


explain currently only supports English

Hey there,
at first thanks for providing such an awesome framework, it's nice to work with. I'll try to get some insights about what my model has learned, but I do work on german data. So I wanted to know, how it is possible, to fit the current text-explainer to also handle german or other languages, because I do not see why that only currently works for english.
Best,
Richard

@Richie94   v0.6.0 is being released soon, and I'll try to enable this for non-English.  Thanks.

thats nice, but I also wanted to  understand, why the current approach does not support english. As I understand the eli5 TextExplainer LIME approach is model agnostic, so does not care about anything but just sampling input data and checking the prediction change...

You're understanding is correct.  I believe explain  was originally disabled (incorrectly) because languages like Chinese were not being tokenized properly within explain prior to invoking eli5.  This is now fixed in v0.6.1 (instead of 0.6.0 as I indicated before).   So, you should now be able to use explain with non-English text if you upgrade to v0.6.1. Thanks.


GCP: Add support Google Cloud Build

google provider has google_cloudbuild_trigger resource, and this only trigger. google_cloudbuild_trigger not save as object in cloud and not need this as terraform


Amazon Prime (Germany) cant correct item

Expected Behavior
You should be able to correct a wrongly used trakt URL in the history view to match the actual trakt entry
Current Behavior
Trying to add the corrected link gives a "Failed to correct item" toast-message
Steps to Reproduce
Trying to correct
S1 E1
Hamsters and Flutes
LOL: Last One Laughing Germany
to https://trakt.tv/shows/lol-last-one-laughing-2021-177070/seasons/1/episodes/1 because it is currently matched to the christmas special.
Additional Information

Windows 11 23H2
Brave 1.62.156 and Firefox 122.0.1
Germany/German

Same for me!
Running macOS 14.4, Firefox 122.0.1 (64-bit) and Arc (Chromium) 1.34.0 (47465)
If you try to correct an entry you get the message "Failed to correct item"...when you reload the page afterward, the item is corrected, but only locally.
It looks like the upload to the Google Cloud database isn't working. If you open another browser or clear local storage, correction isn't applied nor suggested.
When you inspect the sites network traffic while correcting an item...
...using Amazon Prime, you get the "Status Code: 500 Internal Server Error"

...using Crunchyroll, correction works and you get "Status Code: 200 OK"

Additionally (the second error in the amazon network log), Rollbar is not able to receive the logs as "free plan monthly limit" is reached:


MAC OS support

Codecov Report

Merging #19 into master will decrease coverage by 0.51%.
The diff coverage is 86.66%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   72.40%   71.89%   -0.52%
==========================================
  Files          95       85      -10
  Lines        3367     3263     -104
  Branches     1346     1311      -35
==========================================
- Hits         2438     2346      -92
+ Misses        927      915      -12
  Partials        2        2

Flag
Coverage Δ

#unittests
71.89% <86.66%> (-0.52%)
:arrow_down:

Impacted Files
Coverage Δ

src/infra/monitor/MonitorTypes.h
80.00% <0.00%> (-20.00%)
:arrow_down:

src/infra/monitor/Monitorable.h
100.00% <ø> (+15.38%)
:arrow_up:

src/infra/monitor/santiago/Server.h
0.00% <0.00%> (ø)

src/infra/raft/RaftReplyLoop.cpp
93.67% <ø> (ø)

src/infra/raft/v2/RaftCore.h
97.05% <ø> (ø)

src/infra/util/FileUtil.h
52.72% <ø> (ø)

src/infra/monitor/MonitorCenter.h
90.90% <90.90%> (ø)

src/infra/monitor/santiago/Metrics.h
100.00% <100.00%> (ø)

src/infra/monitor/santiago/MetricsCenter.h
100.00% <100.00%> (ø)

...ra/monitor/santiago/prometheus/PrometheusMetrics.h
100.00% <100.00%> (ø)

... and 5 more

Continue to review full report at Codecov.

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

please add issue number to each commit message.


1.12.2 All trees not rendering including soil

I was playing on my server when randomly all of my bonsai trees derendered and I have tried replacing them or placing new ones and nothing is working to get them back in. I have also tried the /bonsaitrees generateMissingShapes but since it's a hosting server and not one that I own, I don't have permission for it. Any help would be greatly appreciated.

Problem resolved, I think it was a minor glitch, I reloaded the mods and they're working fine!


Use with Busraider question

I'm working with your code to provide debug for a 'real' retro computer add-on called BusRaider for RC2014 https://github.com/robdobsn/PiBusRaider which I designed. I have a few questions and would like to ask a few questions if possible but can't see another means to contact you. My questions are mainly around listing files and breakpoint support.

No problem.
Either ask here or send me your email address.

My email is<EMAIL_ADDRESS>

Hi
Regarding the Z80 Debug VS Code plugin. I haven't managed to get the list format feature working. Also there is a reference to a rom listing for the spectrum in the launch.json file - is this something you created in the right format? If so would you be OK to share this?
Thanks
Rob
Rob Dobson FIET
<EMAIL_ADDRESS>+44 7770 866452
http://LinkedIn.com/in/robdobsn
@robdobsn www.robdobson.com
From<EMAIL_ADDRESS>Sent: 01 March 2019 16:30
To<EMAIL_ADDRESS>Cc: Rob<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [maziac/z80-debug] Use with Busraider question (#4)
No problem.
Either ask here or send me your email address.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/maziac/z80-debug/issues/4#issuecomment-468724658, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEGJNwcvAj8CAOfzAuWgh5ncmpsUx1-Lks5vSVWTgaJpZM4bZAPr.

Hi Rob,
I haven't used that file for some time since the z80-debug now also contains a disassembler and can disassemble the ROM
or other unused areas on the fly.
But, of course, sometimes it  makes sense to use the commented listing.
I attached it (and the 128 ROM listings) below.
Meanwhile I also changed the default assembler format to "sjasmplus" so you certainly have to change it in the launch.json:
"asm": "z80asm",
The zip also contains the labels files, just for completeness, you don't need them for z80-debug (it will generate the labels from the list file).
Please let me know if you have any other problem or if the documentation is wrong or outdated.
Cheers,
Thomas
You can find the original files here:
https://www.tablix.org/~avian/spectrum/rom/
but I may have changed the one or the other line so that it fits the z80-debug better.

Am 07.03.2019 um 16:18 schrieb Rob Dobson<EMAIL_ADDRESS>Hi
Regarding the Z80 Debug VS Code plugin. I haven't managed to get the list format feature working. Also there is a reference to a rom listing for the spectrum in the launch.json file - is this something you created in the right format? If so would you be OK to share this?
Thanks
Rob
Rob Dobson FIET
<EMAIL_ADDRESS>+44 7770 866452
http://LinkedIn.com/in/robdobsn
@robdobsn www.robdobson.com
From<EMAIL_ADDRESS>Sent: 01 March 2019 16:30
To<EMAIL_ADDRESS>Cc: Rob<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [maziac/z80-debug] Use with Busraider question (#4)
No problem.
Either ask here or send me your email address.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/maziac/z80-debug/issues/4#issuecomment-468724658, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEGJNwcvAj8CAOfzAuWgh5ncmpsUx1-Lks5vSVWTgaJpZM4bZAPr.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/maziac/z80-debug/issues/4#issuecomment-470566438, or mute the thread https://github.com/notifications/unsubscribe-auth/AC8G9Z2PA4F4mwOz8wi618N99NuXmmIPks5vUS2sgaJpZM4bZAPr.


Incorrect basic auth documentation

Summary
The guide for basic auth says to set data 'name=basic-authentication' when configuring the plugin. This returns an error that basic authentication is not enabled and needs to be a custom plugin. Eventually I figured out that name=basic-auth did work. Docs just need updating.

Kong version 0.13.0

Hi,
Thanks for the report! This is fixed in https://github.com/Kong/getkong.org/commit/fab5a54f43ed504443969f3bd13cf2f29b1edf7e
Btw, it should be opened on Kong/getkong.org :)


fix: translated attribute change is not detected in loaded records.

The new TranslateBehavior does not update changed the attributes in loaded models.
I think the comparator logic found in isAttributeChanged() needs to be inverted.
This PR fixes this.

Thanks!


Update all dependencies.

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Stack allocations in generated code does not check bounds

In the generated code we currently allocate on C/Rust stack in a few places, mainly for serialization. Stack allocation routines are implemented here. Currently the allocation routine does not check for stack overflows when bumping the stack pointer. While in the call sites size arguments are small (at most 8 bytes), we don't statically guarantee that the generated code won't be pushing too many values and overflow the stack. For example: https://github.com/dfinity/motoko/blob/20dd16533170a0e94bb06f1682c439ab15599fbb/src/codegen/compile.ml#L3860-L3861
Here store argument can generate pushes to the stack.
Even if we can prove today that there will be at most a few pushes and it's not possible to overflow 64 KiB stack, without static or dynamic checks this invariant won't survive refactoring, or can start failing with new features. Stack size can change too.
It could be helpful to implement stack overflow checks, at least in debug mode (with --sanity-checks).

I think the reasoning was that if we overflow the stack, because the stack grows down, it’ll wrap around and we’ll be accessing data at the far end of the heap, which will trap. But maybe that’s too risky (maybe we did actually allocate all 4GB? Maybe the stack grows very far?)
Does the rust code have stack overflow checks?

maybe we did actually allocate all 4GB?

We could of course avoid that and set the limit to 4GiB - 1 page, so that the wrap-around trap is guaranteed to occur. And if there ever was code that could grow the stack by more than 64 KiB at a time then it needs to check explicitly or probe in 64KiB steps.

Right, that would mean a check only happening for dynamically sized allocations, and we can continue to omit it when the size is known to be small. No strong opinion here.


RViz2 can't load svg files.

I was messing around with docker versions of ROS2 when i stumbled on a weird issue. The issue is that multiple warnings appear when launching RViz about loading svg files.
Using fresh docker containers:
docker run -it --gpus all  --net host --ipc host -e DISPLAY=$DISPLAY -v $HOME/.Xauthority:/root/.Xauthority:ro ros:version
--ipc host is required for Qt to display the main vis panel correctly instead of all black. (at least in my system)
==
ros:humble

apt update
apt install ros-humble-rviz2
source /opt/ros/humble/setup.bash
rviz2

This loads RViz default svgs correctly.

==
ros:humble-perception

apt update
apt install ros-humble-rviz2
source /opt/ros/humble/setup.bash
rviz2

# apt install libqt5svg5 # this solves the warnings

This failes to load RViz default svgs correctly.
Multiple [ERROR] [1685452528.367825331] [rviz2]: Could not load pixmap package://rviz_common/icons/move_z.svg -- using default cursor instead. errors appear.

==
When installing rviz2, since there is no runtime-dependency on libqt5svg5, it doesn't get installed and therefore, fails to load the default svgs files required.
You might think this can't be right since humble-perception extends humble. The dockerfile of ros:humble-perception  installs the necessary packages but doesn't install the recommended ones. libqt5svg5 gets installed with perception_pcl package as a recommended one, hence it is omitted for installation and somehow when installing rviz2 in humble-perception it is not recommended at all while in humble it is.

I think the difference here is likely that in the ros:humble case, the apt install ros-humble-rviz2 command did the install (which implicitly install recommends), while in the ros:humble-perception case it was already installed by the Dockerfile (which uses --no-install-recommends).
The real fix here is that we should have an explicit dependency on the svg library somewhere in rviz2 or one of its dependencies (probably whichever component is responsible for loading).

I think the difference here is likely that in the ros:humble case, the apt install ros-humble-rviz2 command did the install (which implicitly install recommends), while in the ros:humble-perception case it was already installed by the Dockerfile (which uses --no-install-recommends).

Yeap, that is exactly the case of how it is not installed on humble-perception with a minor detail. RViz2 is not installed by default in humble-perception but some of its dependencies are and hence the svg library never gets installed since  it is a recommended one for perception_pcl package. So when instructing apt install ros-humble-rviz2 even though we command to install both dependencies and recommended ones, since it's not a recommended package for rviz2 (how do you declare recommended in ROS packages?) it does not get installed.

The real fix here is that we should have an explicit dependency on the svg library somewhere in rviz2 or one of its dependencies (probably whichever component is responsible for loading).

Adding a dependency even though is not strictly one, as it still functions correctly without it minus the correct icons, seems a good idea.


Missing documentation and issues

Hi,
I'm trying implements this package for translations but i have a problem:
Migrations for 'home':
  home/migrations/0006_auto_20170406_0640.py:
    - Create model TranslationHomePage
    - Add field translatedpage_ptr to homepage
    - Alter field page_ptr on homepage
 salahaddin@TulipanROG  ~/Proyectos/uzman/uzman   internationalization ● ? ↑23  (uzman)  ./manage.py migrate                                                                                 ✓  5410  14:40:37
Operations to perform:
  Apply all migrations: about, admin, auth, axes, blog, contenttypes, core, dashboard, flatpages, home, jet, marketing, person, robots, services, sessions, sites, standard, taggit, wagtail_embed_videos, wagtailadmin, wagtailcore, wagtaildocs, wagtailembeds, wagtailforms, wagtailimages, wagtailmetadata, wagtailredirects, wagtailsearch, wagtailsearchpromotions, wagtailtranslations, wagtailusers, work
Running migrations:
  Applying home.0006_auto_20170406_0640...Traceback (most recent call last):
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
psycopg2.ProgrammingError: no se permiten múltiples llaves primarias para la tabla «home_homepage»

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./manage.py", line 12, in <module>
    execute_from_command_line(sys.argv)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/core/management/base.py", line 294, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/core/management/base.py", line 345, in execute
    output = self.handle(*args, **options)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 204, in handle
    fake_initial=fake_initial,
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/migrations/executor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/migrations/migration.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/migrations/operations/fields.py", line 84, in database_forwards
    field,
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/backends/postgresql/schema.py", line 21, in add_field
    super(DatabaseSchemaEditor, self).add_field(model, field)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 409, in add_field
    self.execute(sql, params)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 112, in execute
    cursor.execute(sql, params)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/backends/utils.py", line 79, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/salahaddin/Proyectos/uzman/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: no se permiten múltiples llaves primarias para la tabla «home_homepage»

How can i solve it?
There aren't here any documentation about it, so, is very hard for us solve this problem.

I have this problem yet.

Documentation is still to come, this is very much a work in progress. I am sorry it does not work for you yet. I will add documentation once the code has stopped changing.

When will you stop?


Update README.md

TITLE
Description
Description of the pull request changes and motivation.
Type of change
Please delete options that are not relevant.

[ ] New feature
[ ] Bug fix
[ ] Optimization

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

[ ] This change is an Optimization

[ ] Benchmarks added/run

Codecov Report

Merging #429 (ba42edc) into main (ca0c68a) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head ba42edc differs from pull request most recent head 9044c2d. Consider uploading reports for the commit 9044c2d to get more accurate results

@@           Coverage Diff           @@
##             main     #429   +/-   ##
=======================================
  Coverage   94.35%   94.35%
=======================================
  Files          62       62
  Lines        8261     8261
=======================================
  Hits         7795     7795
  Misses        466      466

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add GH action

This can run GetMoarFediverse from another repo. It uses action artifacts to store the list of already imported statuses.
I've been running this GH actions for a few weeks now and it works great! You might also want to grab parts of the README that you wrote yourself anyway 😄

I will archive my repo GetMoarFediverse-action once this is merged 👍


Move max_priority to toplevel

r? @jdm

This change is

@bors-servo r+

:pushpin: Commit f0ce429 has been approved by jdm

:hourglass: Testing commit f0ce429e74ed5be3097cce6f849d3621f44a92c5 with merge 7b58e0bba1a8605c4026c913a18d01b2563d81e7...

:sunny: Test successful - status-travis
Approved by: jdm
Pushing 7b58e0bba1a8605c4026c913a18d01b2563d81e7 to master...


[PyTorch] Disable large test cases for Transformer layer

As discussed in https://github.com/NVIDIA/TransformerEngine/pull/503, the Transformer layer tests involve excessively large hidden sizes, which makes it hard to have tight numerical tolerances. This is a quick hack to disable the offending tests and @cyanguwa will remove it in an upcoming PR. She will refactor the attention tests so each test has its own set of test cases, e.g. dot product attention will be tested with many configurations to test the numerics of the cuDNN kernels while the Transformer layer tests will only have a few small configurations to validate the Python infrastructure.
See https://github.com/NVIDIA/TransformerEngine/pull/503 and https://github.com/cyanguwa/TransformerEngine/blob/fused_attn/graph_api_v1/tests/pytorch/test_fused_attn.py.

/te-ci pytorch

Pipeline 10638977


janet: 1.15.3 -> 1.15.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/janet-lang/janet/releases.
meta.description for janet is: "Janet programming language"
meta.homepage for janet is: "https://janet-lang.org/"
meta.changelog for janet is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.15.4 with grep in /nix/store/2ql07pq5c5wqngi1wg2my01wsgwmvzzx-janet-1.15.4

directory tree listing: https://gist.github.com/8c88cbaa12819af66ab763ea7d1f70cb

du listing: https://gist.github.com/a5d722aa2caa52fed2d978ca207be1a5

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
janet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2ql07pq5c5wqngi1wg2my01wsgwmvzzx-janet-1.15.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A janet https://github.com/r-ryantm/nixpkgs/archive/7f11c064c446ec9fe09442a2cfac2fd51b3bf98e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2ql07pq5c5wqngi1wg2my01wsgwmvzzx-janet-1.15.4
ls -la /nix/store/2ql07pq5c5wqngi1wg2my01wsgwmvzzx-janet-1.15.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

janet

Maintainer pings
cc @andrewchambers for testing.

lgtm


[Feature Request] Simplified UI (2024 Roadmap item)

Community Note

Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Is your feature request related to a problem? Please describe.
Graph Explorer users asked to share the graph views with business users that find the Graph Explorer UI overwhelming, distracting and difficult to use.
Describe the solution you'd like
We will include a parameter in the URL to hide from the UI features a user only interested in visualizing the graph will not need.
This feature depends on https://github.com/aws/graph-explorer/issues/298
TBD is the list of UI elements to hide:

Query editor https://github.com/aws/graph-explorer/issues/300
database connection
color coding and other controls
search

Related to #313 and #310


Showing User when Sync is in progress

Hi. I'm creating an app in swift and I'm using v1 of ensembles to sync. Currently everything works perfectly and I am able to tell the user when local files are merged with cloud data using persistentStoreEnsemble(didSaveMergeChangesWithNotification) delegate, however I would like users to know that syncing is in progress and I don't know how to proceed to do so.
Thanks!!

Remember that your app is the one the calls leech and merge methods to start the syncs. So you know exactly when the sync starts, and can use the completion block to know when it ended.
What you could do is fire a notification just before you call leech or merge, and another in the completion block.
To get percentage progress, I’m afraid you would need Ensembles 2. We added that more recently. (BTW Ensembles 2 is currently half price.)
Kind regards,
Drew

On 24 Jun 2016, at 09:17, RaymondMoay<EMAIL_ADDRESS>wrote:
Hi. I'm creating an app in swift and I'm using v1 of ensembles to sync. Currently everything works perfectly and I am able to tell the user when local files are merged with cloud data using persistentStoreEnsemble(didSaveMergeChangesWithNotification) delegate, however I would like users to know that syncing is in progress and I don't know how to proceed to do so.
Thanks!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/230, or mute the thread https://github.com/notifications/unsubscribe/AAEuABOFXeULeNlWz4rn6QseZALOm05qks5qO4SZgaJpZM4I9hhR.

Thanks for the reply! I'm currently just testing ensembles and currently I like it and might be purchasing it soon since Core Data Sync is pretty much deprecated.
Anyhow, I have one more question.
In my CoreDataStack.swift:
func persistentStoreEnsemble(ensemble: CDEPersistentStoreEnsemble!, didSaveMergeChangesWithNotification notification: NSNotification!) {         CoreDataStack.defaultStack.managedObjectContext.performBlockAndWait({ () -> Void in             CoreDataStack.defaultStack.managedObjectContext.mergeChangesFromContextDidSaveNotification(notification)         })         if notification != nil {             dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(0.02 * Double(NSEC_PER_MSEC))), dispatch_get_main_queue(), {                 NSLog("Database was updated from iCloud")                 CoreDataStack.defaultStack.saveContext()                 NSNotificationCenter.defaultCenter().postNotificationName("DB_UPDATED", object: nil)             })         }     }
This is called when merged occurred and I used it to stop an animation showing that syncing is still in progress. However, when the app is already updated, merging does not occur and no notification is fired, so I can't stop the syncing animation.  Is there a way to know when data is already synced and no merge will occur so I can fire another notification telling the syncView to stop animating?

A better place to put the notification is in the completion block of the mergeWithCompletion: That always gets called.
Drew

On 27 Jun 2016, at 05:41, RaymondMoay<EMAIL_ADDRESS>wrote:
Thanks for the reply! I'm currently just testing ensembles and currently I like it and might be purchasing it soon since Core Data Sync is pretty much deprecated.
Anyhow, I have one more question.
In my CoreDataStack.swift:
func persistentStoreEnsemble(ensemble: CDEPersistentStoreEnsemble!, didSaveMergeChangesWithNotification notification: NSNotification!) {
CoreDataStack.defaultStack.managedObjectContext.performBlockAndWait({ () -> Void in
CoreDataStack.defaultStack.managedObjectContext.mergeChangesFromContextDidSaveNotification(notification)
})
if notification != nil {
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(0.02 * Double(NSEC_PER_MSEC))), dispatch_get_main_queue(), {
NSLog("Database was updated from iCloud")
CoreDataStack.defaultStack.saveContext()
NSNotificationCenter.defaultCenter().postNotificationName("DB_UPDATED", object: nil)
})
}
}
This is called when merged occurred and I used it to stop an animation showing that syncing is still in progress. However, when the app is already updated, merging does not occur and no notification is fired, so I can't stop the syncing animation. Is there a way to know when data is already synced and no merge will occur so I can fire another notification telling the syncView to stop animating?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/230#issuecomment-228648048, or mute the thread https://github.com/notifications/unsubscribe/AAEuAC40KPKLko9b68kYWZrB1guCjO2Hks5qP0ZXgaJpZM4I9hhR.


Every time i run the train.py or dist_train.sh, my computer restarts.

Every time i run the train.py, my computer restarts, either for Train with a single GPU or Train with multiple GPUs, while test.py is fine.
system: ubuntu 18.04
hardware: Titan xp*2
Has anyone ever met the same problem?

Do you have any log information?

Do you have any log information?
sys log information?

I had it once, the hardware was faulty - cable not connected properly. When you train the cards heat up much more then inference, so can cause problems. Check all cables (when they heat they can move a fraction and if not firmly in place can cause a reboot) and use nvidia-smi and your whatever it is linux uses to monitor temperature.
I would also think it can be power supply problem, but you say it happen also when you train on single gpu so unlikely.

The problem was fixed by downgrading the bios (asus X299 sage) from 0601 to 0905.
This may be the solution.
thanks all the replies above.

I have the same problem. Did you solved it?

When I train the faster_rcnn_r34_fpn_1x model with my own datasets, there is some probability to reboot the machine after several epochs , and when I check the end of log file, and it says:
 2020-03-16 15:24:03,752 - mmdet - INFO - Epoch [16][1700/5500]  lr: 0.01200, eta: 4:38:06, time: 0.275, data_time: 0.003, memory: 3666, loss_rpn_cls: 0.0074, loss_rpn_bbox: 0.0061,          loss_cls: 0.0395, acc: 98.6738, loss_bbox: 0.0250, loss: 0.0780
 2020-03-16 15:24:17,574 - mmdet - INFO - Epoch [16][1750/5500]  lr: 0.01200, eta: 4:37:48, time: 0.276, data_time: 0.003, memory: 3666, loss_rpn_cls: 0.0033, loss_rpn_bbox: 0.0034,          loss_cls: 0.0284, acc: 98.9824, loss_bbox: 0.0193, loss: 0.0545
 2020-03-16 15:24:31,850 - mmdet - INFO - Epoch [16][1800/5500]  lr: 0.01200, eta: 4:37:45, time: 0.286, data_time: 0.003, memory: 3666, loss_rpn_cls: 0.0057, loss_rpn_bbox: 0.0060,          loss_cls: 0.0417, acc: 98.6055, loss_bbox: 0.0276, loss: 0.0810
 2020-03-16 15:24:46,306 - mmdet - INFO - Epoch [16][1850/5500]  lr: 0.01200, eta: 4:37:47, time: 0.289, data_time: 0.003, memory: 3666, loss_rpn_cls: 0.0038, loss_rpn_bbox: 0.0036,          loss_cls: 0.0369, acc: 98.6699, loss_bbox: 0.0245, loss: 0.0688
 2020-03-16 15:25:00,633 - mmdet - INFO - Epoch [16][1900/5500]  lr: 0.01200, eta: 4:37:44, time: 0.287, data_time: 0.003, memory: 3666, loss_rpn_cls: 0.0091, loss_rpn_bbox: 0.0040,          loss_cls: 0.0478, acc: 98.2344, loss_bbox: 0.0319, loss: 0.0928

After I train  with the resumed model, and there is still some probability to reboot the machine again.
System: Ubuntu18.08
mmdetection:1.1.0
TorchVision: 0.4.2
OpenCV: 4.1.0
MMCV: 0.3.2
MMDetection: 1.1.0+4c21f7f
MMDetection Compiler: GCC 7.5
MMDetection CUDA Compiler: 10.0
GPU 0: GeForce GTX 1080 Ti
If anyone has ideas, appreciate.
Thank you very much.