Client/Server Architecture

Decouple "passive" modules to run on a "server" version of jasper and the "active" modules to run on the client version. This will allow for global passive actions (email notification, offline notification, etc) to be set at a global level for clients. Server will update clients when there is a passive notification that applies to them. This will also allow clients to message each other using the server and the notification placed in their queue.

Clients will report to the server when they come online so that the server can have an inventory of the clients online. Clients should be inventoried with a common name (i.e. bedroom, living room, etc) as well as their static IP.

Can you run the client & server on the same PI?

Yes, that is exactly the plan. I will even be running it this way for a while until I get another mic for my other Pi. Then I will move the server program to my actual home server.


Remove bloat / Optimize production build size

What problem does this feature solve?
First off, thanks a lot for creating and supporting this library - you guys have done a great job.
After working on optimizing a production build, I noticed that this library is using up a huge amount of space (more than Angular itself) and I'm wondering if there is anything we can do to optimize it.

The antd.js file is using 1.48MB and I'm currently looking into ways in which we can reduce this (internally or externally).
What does the proposed API look like?
One possible option is to use some kind of compression during deployment. Given many others my encounter this problem, we could look into documenting production steps to reduce build size.

@andyrichardson please provide the version you used.
you can check the img below if you only use some components after treeshaking in version 0.7.x https://img.alicdn.com/tfs/TB1D8MXdTtYBeNjy1XdXXXXyVXa-2864-1592.jpg

Hi @vthinkxie,  thanks for the response.
Key dependencies
ng-zorro-antd: 0.6.15
webpack: 4.8.1
Webpack config (common)
import { TsConfigPathsPlugin } from 'awesome-typescript-loader';
import * as CopyWebpackPlugin from 'copy-webpack-plugin';
import * as HtmlWebpackPlugin from 'html-webpack-plugin';
import * as MiniCssExtractPlugin from 'mini-css-extract-plugin';
import * as WebappWebpackPlugin from 'webapp-webpack-plugin';
import * as webpack from 'webpack';

// Paths
const opts = {
  base: '/',
  publicPath: '/',
};

switch (process.env.device_target) {
  case 'android':
    opts.base = 'file:///android_asset/www/';
    opts.publicPath = 'file:///android_asset/www/';
    break;
}

module.exports = {
  entry: {
    polyfills: './src/polyfills.ts',
    vendor: './src/vendor.ts',
    main: './src/main.ts',
  },
  module: {
    rules: [
      {
        test: /sw\.js$/,
        exclude: /node_modules|spec$/,
        loader: 'file-loader?name=sw.js',
      },
      {
        test: /\.ts|.js$/,
        exclude: /node_modules|spec|sw\.js$/,
        loaders: [
          '@angularclass/hmr-loader',
          'awesome-typescript-loader',
          'angular-router-loader',
          'angular2-template-loader',
        ],
      },
      {
        test: /\.html$/,
        loader: 'raw-loader',
      },
      {
        test: /\.scss$/,
        exclude: /node_modules/,
        loaders: ['raw-loader', 'sass-loader'],
      },
      {
        test: /\.css$/,
        use: [MiniCssExtractPlugin.loader, 'css-loader'],
      },
      {
        test: /\.(png|jpe?g|gif|svg)$/,
        loader: 'url-loader?name=assets/[name].[ext]',
      },
      {
        test: /\.(woff|woff2|ttf|eot|ico)$/,
        loader: 'file-loader?name=fonts/[name].[ext]',
      },
    ],
  },
  optimization: {
    splitChunks: {
      chunks: 'all',
    },
  },
  output: {
    filename: 'js/[name].js',
    path: `${__dirname}/../dist/www`,
    publicPath: opts.publicPath,
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NamedModulesPlugin(),
    new CopyWebpackPlugin([
      {
        from: './public',
      },
    ]),
    new HtmlWebpackPlugin({
      baseHref: opts.base,
      cordova: process.env.device_target !== undefined,
      inject: 'body',
      template: `!!handlebars-loader!./src/main.html`,
      xhtml: true,
    }),
    new webpack.ContextReplacementPlugin(
      /angular(\\|\/)core(\\|\/)(@angular|esm5)/,
      `${__dirname}/../src/`,
    ),
    new WebappWebpackPlugin({
      cache: '.wwp-cache',
      favicons: {
        appDescription: 'A financial application',
        appName: 'Sonata',
        developerName: 'Bravura Solutions Ltd.',
        developerURL: null,
      },
      inject: true,
      logo: './public/images/logo',
      prefix: 'assets/',
    }),
  ],
  resolve: {
    extensions: ['.js', '.ts', '.png', '.jpg', '.jpeg'],
    plugins: [new TsConfigPathsPlugin()],
  },
};

@andyrichardson in 0.6.15 version, moment can not be tree shaking, the bundle include all moment module and moment-lang package.
so we removed moment.js in 0.7.0 version, and 0.7.0 version will be released soon.

0.7.0 stable version has been released now, please try it, thanks.


Day Night

More of a question than an issue.
How is day and night defined ? Is there a piece of code that allows to define the day/night cut off hours manually ?

Hi,
The day/night calculation is based on the horizon of each location. If the sun is below the horizon, it will return True. Otherwise, it will return False. We could easily modify this function to allow users to specify degrees above/below the horizon to calculate day/night (For example, setting the threshold at 6 degrees below horizon instead of 0). Let us know if this feature would be useful for you.

Wow that is great ! For now, this feature will do as is. Thank you :)


Importing collider in pipeline.toml causes PhysX error

Repro in standalone ember Insectarium_Collider in repo https://github.com/droqen/23-08Blue
Specifically this commit https://github.com/droqen/23-08Blue/commit/4854156fa16ecd9cc89bb91b55d2e5f38eec0229
Using the new semantics branch @philpax
C:\Users\hi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\physx-sys-0.8.2\PhysX/physx\source/foundation/src\PsFoundation.cpp (165) : invalid operation : Foundation object exists already. Only one instance per process can be created.
See assets/pipeline.toml

Worked for me! closing


W 17249813 hyperforce prework duke

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

rolling these changes into different PR: https://github.com/mulesoft/docs-monitoring/pull/314/files


don't use padding for layout

Objective

Fixes #14792
Padding is already handled by taffy, don't handle it also on Bevy side

Solution

Remove extra computation added in https://github.com/bevyengine/bevy/pull/14777

I've gone back and forwards on it, but intuitively I really dislike the changes in #14143, I think the current behaviour is better.


Fire Status

All users from those brigades can enter to fight a fire
When he enter start tracking and when he leaver stop, changin the fighting and fighter arrays in fire
Make a status button on the fire with:

Open
Checking Info
Confirmed
Fighting
Aftermath
Finished
Expired
Not confirmed

Tested in prod and working


Fix compilation issues for neuralnetwork.cpp

neuralnetwork.cpp is giving the following errors:
In file included from src/neuralnetwork.cpp:4:0:
src/neuralnetwork.hpp:15:22: error: ‘matrixPrometheus’ does not name a type
void train(const matrixPrometheus& targets, const matrixPrometheus& inputs);
^
src/neuralnetwork.hpp:15:55: error: ‘matrixPrometheus’ does not name a type
void train(const matrixPrometheus& targets, const matrixPrometheus& inputs);
^
src/neuralnetwork.hpp:17:37: error: ‘matrixPrometheus’ does not name a type
std::vector query(const matrixPrometheus& inputs);
^
src/neuralnetwork.hpp:28:5: error: ‘matrixPrometheus’ does not name a type
matrixPrometheus weightInputHidden;
^
src/neuralnetwork.hpp:30:5: error: ‘matrixPrometheus’ does not name a type
matrixPrometheus weightHiddenOutput;
^
src/neuralnetwork.cpp:16:27: error: ‘matrixPrometheus::matrixPrometheus::chainMultiply’ has not been declared
using matrixPrometheus::chainMultiply;
^
src/neuralnetwork.cpp:17:27: error: ‘matrixPrometheus::matrixPrometheus::sigmoid’ has not been declared
using matrixPrometheus::sigmoid;
^
src/neuralnetwork.cpp: In constructor ‘neuralNetworkPrometheus::NeuralNetwork::NeuralNetwork()’:
src/neuralnetwork.cpp:25:5: error: ‘weightInputHidden’ was not declared in this scope
weightInputHidden = matrixPrometheus(hiddenNodes, inputNodes, 'R', randomWeight(hiddenNodes));
^
src/neuralnetwork.cpp:26:5: error: ‘weightHiddenOutput’ was not declared in this scope
weightHiddenOutput = matrixPrometheus(outputNodes, hiddenNodes, 'R', randoWeight(outputNodes));
^
src/neuralnetwork.cpp:26:97: error: ‘randoWeight’ was not declared in this scope
weightHiddenOutput = matrixPrometheus(outputNodes, hiddenNodes, 'R', randoWeight(outputNodes));
^
src/neuralnetwork.cpp: At global scope:
src/neuralnetwork.cpp:43:8: error: prototype for ‘void neuralNetworkPrometheus::NeuralNetwork::train(const matrixPrometheus::matrixPrometheus&, const matrixPrometheus::matrixPrometheus&)’ does not match any in class ‘neuralNetworkPrometheus::NeuralNetwork’
void NeuralNetwork::train(const matrixPrometheus& targets, const matrixPrometheus& inputs){
^
In file included from src/neuralnetwork.cpp:4:0:
src/neuralnetwork.hpp:15:10: error: candidate is: void neuralNetworkPrometheus::NeuralNetwork::train(const int&, const int&)
void train(const matrixPrometheus& targets, const matrixPrometheus& inputs);
^
src/neuralnetwork.cpp:70:23: error: prototype for ‘std::vector neuralNetworkPrometheus::NeuralNetwork::query(const matrixPrometheus::matrixPrometheus&)’ does not match any in class ‘neuralNetworkPrometheus::NeuralNetwork’
std::vector NeuralNetwork::query(const matrixPrometheus& inputs){
^
In file included from src/neuralnetwork.cpp:4:0:
src/neuralnetwork.hpp:17:25: error: candidate is: std::vector neuralNetworkPrometheus::NeuralNetwork::query(const int&)
std::vector query(const matrixPrometheus& inputs);
^
src/neuralnetwork.cpp:90:3: error: expected ‘}’ at end of input
}
^

The issue is caused due to ambiguous qualification from the using namespace matrixPrometheus; command. The compiler is confused which one is the class definition and which one is the namespace.
So, the namespace name needs to be changed.

All the errors have been fixed in commit 3fbbe5f8fbb9b6358b8e923b0728a7968e56cf7b
There are no more syntactical issues remaining.


Set proper icons for FileDialog in editor theme

Fix #34291

This also fix #28339?

not sure, the export window at Project -> |Choose or create preset| -> Export Project now looks different.

but it fixes the file dialog in project manager which @Calinou mentioned at https://github.com/godotengine/godot/issues/28339#issuecomment-500111089

Thanks!


[FLINK-20177][doc] Fix the wrong link of kinesis in index.zh.md

What is the purpose of the change
This pull request will Fix the wrong link of kinesis in index.zh.md
Brief change log

Correct the link of kinesis in index.zh.md

Verifying this change
-Executing the script of build_docs.sh
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@HuangXingBo Thanks a lot for the PR. I have verified it manually. Merged.


Error 404 in Queries

I get error 404 in https://www.howtographql.com/graphql-java/2-queries/
for  http://localhost:8080/graphql?query={allLinks{url}}

HTTP ERROR 404
Problem accessing /graphql. Reason:
Not Found

Can you please add tags for every step, how it should be in final for each step.

I am getting the same issue, can anyone help ?

Welcome to the problem club. I have the same issue too.

Ok, I do not have this problem. I guess I did everything right. However, could anyone of you post your code? It is ok to post them on the GitHub. I will check them in my free time.

Hi Jonathan,
I was able to resolve the above error but now getting the following exception:-
https://gist.github.com/vaibhavg12/805414aa66b5893667fb01982a51a388
This comes while in step 2 (https://www.howtographql.com/graphql-java/2-queries/) of the tutorial. My code is committed here:-
https://github.com/vaibhavg12/graphQL
Thanks in advance for looking at it. Your help and time is much appreciated.
Best,
Vb.

Hi, Vaibhavg12. After 15mins of trying, your problem has been solved.
Go ahead copy this code into your pom.xml file and run mvn jetty:run
I think after looking at the code below, you will know what the problem is.
`
4.0.0
net.vb.graphql
graphql-java
war
1.0-SNAPSHOT
graphql-java Maven Webapp
http://maven.apache.org

com.graphql-java
graphql-java
3.0.0

com.graphql-java
graphql-java-servlet
4.0.0

javax.servlet
javax.servlet-api
3.0.1
provided

com.graphql-java
graphql-java-tools
3.2.0

org.mongodb
mongodb-driver
3.6.2

graphql-java

org.eclipse.jetty
jetty-maven-plugin
9.4.8.v20171121

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-compiler-plugin</artifactId>
  <version>3.5.1</version>
  <configuration>
    <source>1.8</source>
    <target>1.8</target>
  </configuration>
</plugin>

    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>exec-maven-plugin</artifactId>
      <version>1.2</version>
      <configuration>
        <classpathScope>test</classpathScope>
        <executable>java</executable>
        <arguments>
          <argument>-cp</argument>
          <classpath />
          <argument>com.company.foo.EmbedMe</argument>
          <argument>8080</argument>
        </arguments>
      </configuration>
    </plugin>

<plugin>
  <artifactId>maven-war-plugin</artifactId>
  <version>3.1.0</version>
</plugin>
  </plugins>

`

Thanks Jonathan,
I missed a pretty trivial thing in my pom. I wasn't aware  that I would need that since it was no where mention in the tutorial.
Thanks again !!
Best,
Vb

Hey raderio, Post your code here. If you don't, how can I know what your problem is? I am not a super creature.


some problems about how to convert ccs bam to hifi bam

Hi,
I have read your paper "Identification of region-specific gene isoforms in the human brain using long-read transcriptome sequencing" and wanted to use the ccs data to repeat the Iso-Seq Analysis pipeline. I downloaded the data from SRA (the SRA ids are DRR481116 DRR481117 DRR481126 DRR481125 DRR481124 DRR481123 DRR481122 DRR481121 DRR481120) and converted them to fastq files.
I have also succesfully downloaded and installed the software SMRT Link you recommended in your paper. But I found the software SMRT Link can only recongnize subreads bam files or hifi bam files. So I want to know if there are any methods to convert ccs files to hifi files?
Thank you very much in advance!

I uploaded the CCS BAM files directly, but it seems there might be an issue, so I will check on it. However, I am unable to verify this at the moment as the repository is currently under maintenance. I will contact you as soon as I am able to confirm the situation.

Thank you for taking the time to reply amidst your busy schedule! I'll also explore other possible methods. Thanks once again!

I have confirmed that I indeed uploaded the BAM file, and there were no issues with the file.
Could you please check the file loading procedure once again?
Thank you.


document_client has non-ASCII characters but there's no unicode declaration of the source file

Line 930, there's a ’ which is not an ASCII character.

Will be fixed in next release

When will be the next release?


how to pass an arbitrary string as option to a brew formula?

eg: is there something like option_string below?
brew install ldc --with-shared-libs --with-compiler=dmd

ldc.rb:
  option_string "with-compiler", "which compiler to bootstrap ldc (empty is default)"
  option "with-shared-libs",  "..."

  compiler=option_string["compiler"]
  is_shared_libs = option?"shared-libs"

NOTE: would provide a solution to https://github.com/Homebrew/brew/issues/1738 (obviously very useful for debugging among other use cases)

ARGV.value.


Migrate mixing/decoding toolchain to Symphonia

This issue proposes that we finally move away from (purely) IPC-based decoding to the codec and framing stack in development in Symphonia.
This would be an involved piece of work, involving (at least):

Write an audiopus-based Symphonia codec, and port the DCA framing mechanism. The audiopus-based codec cannot be upstreamed, as Symphonia requires pure-Rust implementations. Similarly, this is not on their current roadmap.
Implement DASH handling for youtube and other multimedia handlers extracted from youtube-dl.
Investigate upstreaming MKV support to Symphonia. The MKV muxer underlies formats such as WebM (used primarily by youtube et al.).
Ensure that Opus packet passthrough can be performed through Symphonia.
Port our stream-cacheing wrappers to this ecosystem.

There are several gaps here, but it's also an exciting project that should help us leverage their existing (and forthcoming) codec implementations.

Closed by #89.


o1 issue with system role

Verify it's not a duplicate bug report

[X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.
[x] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
HTTP 400 Bad Request. You may have exhausted your OpenAI subscription allowance or have an expired account. You can clear your API Key from VS Code's [secrets storage](https://code.visualstudio.com/api/references/vscode-api#SecretStorage) with Genie: Clear API Key command. Check your allowance and account's expiration date here: https://platform.openai.com/account/usage

{
  "error": {
    "message": "Unsupported value: 'messages[0].role' does not support 'system' with this model.",
    "type": "invalid_request_error",
    "param": "messages[0].role",
    "code": "unsupported_value"
  }
}

Please tell us if you have customized any of the extension settings or whether you are using the defaults.
model: o1-preview
Additional context
As the o1 model is in the Beta version, it doesn't support system role and some parameters yet. Here's the SO post regarding this issue.

@agn-7 Thanks for letting us know. Unfortunately, we don't have tier-5 access to test it out, hence the bug :/
Could you please try again with the new version v0.0.13 and let us know if the issue is fixed? We disabled the stream and systemMessage parameters as documented for the o1* reasoning models.
If you could verify whether it works now, we'd appreciate it 🙏

I do have Tier 5 but see the same issues!

o1 is now on Tier 4
I activated Tier by depositing 100 dollars more (I had already spent 150). It only requires 250 lifetime-deposit dollars, and will instantly activate o1

Update @genieai-info - o1 is now on Tier 3!  That means just 100 deposited over a period of 7 days.

still has issue:
HTTP 400 Bad Request. You may have exhausted your OpenAI subscription allowance or have an expired account. You can clear your API Key from VS Code's [secrets storage](https://code.visualstudio.com/api/references/vscode-api#SecretStorage) with Genie: Clear API Key command. Check your allowance and account's expiration date here: https://platform.openai.com/account/usage

OpenAI error 400: {
  "error": {
    "message": "Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.",
    "type": "invalid_request_error",
    "param": "max_tokens",
    "code": "unsupported_parameter"
  }
}

the temperature and max_tokens parameters don't support either. I mentioned them earlier on the SO post.

I am running into the same issue. The key is to use the parameter max_completion_tokens instead of max_tokens for o1 models in the Genie source code, or even better, to allow empty string in the setting for max_token and skip the parameter if empty. Unfortunately, only the Genie developer can implement it.

Has this issue been resolved yet?  azure openai : o1-preview , o1-mini

max_tokens is deprecated way. Please transition to max_completion_tokens.

any update to this?

workaround:
find genei folder in vscode extensions.
edit out/extension.js and find and replace:
remove presence_penalty: 1
change max_tokens to max_completion_tokens
in settings set tempareture to 1
i make it works.


O2 Insight Pro support, CLI options, timestamp offsets

Primary goal: add support for Wellue's O2Ring oximeter.

The CSV data format from O2 Insight Pro is slightly different from EMAY's.

In allowing for the input data format to be specified (--input-format), introduced CLI argument support with Click and a setup.py file to install with pip and put the emay2medview (and the newly-added o2insight2medview) commands in the python shell environment's PATH.
This itself further facilitated specifying these optional CLI arguments:

Custom output .dat file path/name (--output-file)
Timestamp corrective offset (--time-offset) to shift the time by a specified number of seconds in either direction. In my case, the data is off from correlated data in OSCAR by 3600 seconds because one device seems to be doing a DST conversion inappropriately.

Thank you for the PR! I would like to go back and add some unit tests for the O2 Insight Pro format.
Can you send me some example data, just a few lines of a couple of CSV files? If there is any time during the night where the sensor comes off your finger, what does the data look like?


Changed 'VectorBuilder.clear' to work in O(1)

This commit also removes redundant allocations from 'VectorBuilder.compact'.

Hey @dlwh, no worries. I'll address the issue in compact. Looking forward to your thoughts on clear.


Some requests not getting logged

Hi,
In my application, I am facing a strange issue. I use morgan to log 3 kinds of requests.

Success ( 200 )
Failure (non 200)
Immediate (immediate req logging)

Now the thing is, there are a couple of instances where a request is getting logged in 'immediate' logs but not in 'failure' or 'success'.
// log only 200 responses to success calls
  app.use(morgan(':requestId :remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version" :status :res[content-length] :response-time ms ":referrer" ":user-agent"', {
    stream: successLogStream,
    skip: function (req, res) {
      return res.statusCode !== 200
    }
  }))

  // log all failed requests to error logs
  app.use(morgan(':requestId :remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version" :status :res[content-length] :response-time ms ":referrer" ":user-agent"', {
    stream: failureLogStream,
    skip: function (req, res) {
      return res.statusCode === 200
    }
  }))

  // log all requests received
  app.use(morgan(':requestId :remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version"', {
    stream: requestLogStream,
    immediate: true
  }))

I have observed this behavior when I return 500 status codes. Around 50% of the failures are not getting logged. I am not sure about 2XX or any other status code.
Node version: 9.5.0
Morgan: 1.9.0

Very strange. I don't see anything off hand wrong in the given code. Is it possible you provide the exact steps to reproduce the issue. i.e. complete code I can run that includes some kind of route that produces a 500 and the request to make that only logs immediate but not the end?

Cannot share the exact code. But its something like this:
I have an error handler middleware
async preErrorHandler (error, req, res, next) {
    const statusCode = error.status ? error.status : 500
    if (statusCode === 500) {
      mylogger.log(error)
    }

    const response = generateResponse(error)

    return res.status(statusCode).send({
      status: 'failure',
      message: response.error
    })
  }

mylogger.log() is logging the event, and I can see them in my logs. But then morgan failure logs have some missing entries.
My service calls some external HTTP APIs and there is a timeout >10s. In case of such timeouts I am generating 500 error.

Gotcha. I don't need you exact code, just some code I can simply copy and paste and run without modification (so we are running the same thing to reproduce) and the exact instructions for how to make the call to see the issue happening. Without that, I'm not sure how to figure out what is happening, though you have the conditions on your side, maybe you'd be kind to submit a pull request with a fix  )

I'm experiencing the same issue here as @kushubham9 . Did you solve your issue somehow?

@dougwilson
There is a problem @kushubham9 described with morgan package. I test it out with the next packages:

express: 4.16.4
morgan: 1.9.1

Here is an example which you can use to test this issue out:
const express = require('express');
const app = express();
const morgan = require('morgan');

app.get('/ok', (req, res) => {
    res.status(200);
    res.send('hello world');
});
app.get('/error', (req, res) => {
    throw Error('cannot divide by zero');
});

app.use(morgan('tiny'));

app.listen(3000, () => {
    console.log('New server running on port %s', 3000);
});

If you enter:  http://localhost:3000
in a console you will get log:
GET / 404 139 - 9.495 ms
GET /favicon.ico 404 150 - 0.816 ms
GET /favicon.ico 404 150 - 0.504 ms

but if you enter: http://localhost:3000/ok
you won't get any log
same goes for: http://localhost:3000/error

That is exactly how Express works: you added those routes before the morgan middleware, which stops them from entering morgan. Morgan can only log what goes through it's middleware. Move your app.use of morgan above the two app.get to the top.


Add .range method on int

Very often, ranges go from 0 to n. Instead of having 0.rangeTo(n), we could use n.range as a shortcut.

@leisim If you don't have time, I'd be happy to implement this.


If I build server/api/hello.ts does not work

If I build server/api/hello.ts does not work

thanks for pointing it out, should be fixed now.
I forgot Nuxt ignores the server folder with ssr: false (and Tauri does not support server-based solutions).
But you can communicate with the Rust backend or use a server through http.


Split Windows CI

This is based on #118 and should be merged second. Dramatically cleans up our CI action and makes Windows tests more similar to the other platforms.

This PR after #118, check.  After a cursory look, just one question.  What do you think about adding Python 3.11 and Julia 1.8 to our test matrix?

unless you think we could test on 3.9 and 3.11, skipping 3.10

I like the idea of testing an earlier version, namely 3.9, and the latest release, 3.11, but I'm not sure how much this preference corresponds with any tangible aspect of reality.  For instance, just because we test at some made up ends of this range of Python versions doesn't really guarantee that everything in between works, e.g. re #118 os.add_dll_directory is version dependent.
Further, I have no sense of how frequently people stay up to date on their Python versions.
So I'm not sure what ditching 3.10 in favor of 3.11 gets us.  I could go either way on this one.


Razor crashes on project open causing intellisense to not function

Is this a Bug or Feature request?:
Bug
Steps to reproduce
Razor crashes on project open.  The error is (Error) Failed to read project config at location .... .
Description of the problem:
This prohibits intellisense completion (in cshmtl) for example, with @model MyModel, I type @Model. I should get my model members, but I don't.   I just see the general Classes available, not specific to this project.
However this problem seems to be, and I hate to say it .....intermittent.....
Additionally I see project errors that exist in the Create.cshtml__virtual.cs file for instance, but this file does not exist!  Sometimes if I close out VSCODE and reopen these errors go away, sometimes they are much more persistent.
Logs
OmniSharp
Expand

Starting OmniSharp server at 8/29/2019, 8:42:31 AM
    Target: /Users/anonymous/code/iis/project-core/project1.sln

OmniSharp server started with Mono 5.18.1.
    Path: /Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/.omnisharp/1.34.2/omnisharp/OmniSharp.exe
    PID: 58377

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on MacOS 10.14.6 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 2 MSBuild instance(s)
            1: Mono 16.0 - "/Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/msbuild/15.0/bin"
            2: StandAlone 16.0 - "/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/.omnisharp/1.34.2/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Mono 16.0 - "/Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/msbuild/15.0/bin"
            CscToolPath = /Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/.omnisharp/1.34.2/omnisharp/.msbuild/Current/Bin/Roslyn
            CscToolExe = csc.exe
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/Users/anonymous/code/iis/project-core'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in '/Users/anonymous/code/iis/project-core/project1.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/anonymous/code/iis/project-core/project2/project2.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/Users/anonymous/code/iis/project-core'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/anonymous/code/iis/project-core/project1/project1.Web.csproj
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.EditorConfigWorkspaceOptionsProvider, Order: 200
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/Users/anonymous/code/iis/project-core' on host 58344.
[info]: OmniSharp.OmniSharpWorkspace
        Miscellaneous file: /Users/anonymous/code/iis/project-core/project1/Views/MOM/Create.cshtml__virtual.cs added to workspace
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/anonymous/code/iis/project-core/project2/project2.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/anonymous/code/iis/project-core/project2/project2.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/anonymous/code/iis/project-core/project2/project2.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: project1.Web
[warn]: OmniSharp.MSBuild.ProjectManager
        Unable to resolve assembly '/Users/anonymous/code/iis/project-core/project2/bin/Debug/netcoreapp2.2/project2.dll'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: project2
[info]: OmniSharp.Roslyn.CSharp.Services.Diagnostics.CSharpDiagnosticWorkerWithAnalyzers
        Solution initialized -> queue all documents for code analysis. Initial document count: 58.

Razor
Expand

[Client - 8:24:56 AM] -- Starting Issue Data Collection--
[Client - 8:24:57 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' (1)
[Client - 8:24:57 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' changed 'csharpChanged'
[Client - 8:24:59 AM] Notifying project '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj' - 'changed'
[Client - 8:24:59 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' (1)
[Client - 8:24:59 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' changed 'csharpChanged'
[Client - 8:24:59 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' (1)
[Client - 8:24:59 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' changed 'csharpChanged'
[Client - 8:24:59 AM] Notifying project '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj' - 'changed'
[Client - 8:24:59 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' (1)
[Client - 8:24:59 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' changed 'csharpChanged'
[Client - 8:24:59 AM] Notifying project '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj' - 'changed'
[Client - 8:24:59 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' (1)
[Client - 8:24:59 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' changed 'csharpChanged'
[Client - 8:24:59 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' (1)
[Client - 8:24:59 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' changed 'csharpChanged'
[Client - 8:24:59 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' (1)
[Client - 8:24:59 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' changed 'csharpChanged'
[Client - 8:25:01 AM] Notifying project '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj' - 'changed'
[Client - 8:25:01 AM] Notifying project '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj' - 'changed'
[Client - 8:25:03 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' (1)
[Client - 8:25:03 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' changed 'csharpChanged'
[Client - 8:25:03 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' (1)
[Client - 8:25:03 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' changed 'csharpChanged'
[Client - 8:25:03 AM] (Error) Failed to read project config at location /Users/anonymous/code/iis/project-core/project1/obj/Debug/netcoreapp2.2/project.razor.json.
Unexpected end of JSON input
Stack Trace:
SyntaxError: Unexpected end of JSON input
	at JSON.parse (<anonymous>)
	at module.exports.t.RazorProjectManager.getProjectConfiguration (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/dist/extension.js:80:167240)
	at module.exports.t.RazorProjectManager.updateProjectConfiguration (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/dist/extension.js:80:165797)
	at module.exports.t.RazorProjectManager.<anonymous> (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/dist/extension.js:80:165683)
	at Generator.next (<anonymous>)
	at module.exports.r (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/dist/extension.js:80:164457)
	at new Promise (<anonymous>)
	at module.exports.r (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/dist/extension.js:80:164234)
	at module.exports.t.RazorProjectManager.register.i.onDidChange.e (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.1/dist/extension.js:80:165638)
	at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
	at define.constructor.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:549:955)
	at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
	at u.$onFileEvent (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:550:901)
	at d._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:668:1006)
	at d._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:668:698)
	at d._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:667:346)
	at d._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:666:141)
	at define.constructor._protocol.onMessage.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:664:400)
	at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
	at a (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:179:815)
	at e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:179:861)
	at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
	at n.constructor.e.onMessage.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:775:104)
	at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
	at a (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:179:815)
	at e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:179:861)
	at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
	at y._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:188:834)
	at define.constructor._socketDisposables.push._socketReader.onMessage.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:186:116)
	at u.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
	at f.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:182:588)
	at define.constructor._register._socket.onData.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:181:919)
	at Socket.t (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:190:329)
	at Socket.emit (events.js:182:13)
	at addChunk (_stream_readable.js:283:12)
	at readableAddChunk (_stream_readable.js:264:11)
	at Socket.Readable.push (_stream_readable.js:219:10)
	at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
[Client - 8:25:03 AM] Notifying project '/Users/anonymous/code/iis/project-core/project1/project1.Web.csproj' - 'changed'
[Client - 8:25:04 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' (1)
[Client - 8:25:04 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' changed 'csharpChanged'
[Client - 8:25:04 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' (1)
[Client - 8:25:04 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' changed 'csharpChanged'
[Client - 8:25:05 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' (1)
[Client - 8:25:05 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' changed 'csharpChanged'
[Client - 8:25:05 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' (1)
[Client - 8:25:05 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' changed 'csharpChanged'
[Client - 8:25:05 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' (1)
[Client - 8:25:05 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/view1/Create.cshtml' changed 'csharpChanged'
[Client - 8:25:05 AM] Updating the C# document for Razor file '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' (1)
[Client - 8:25:05 AM] Notifying document '/Users/anonymous/code/iis/project-core/project1/Views/_ViewImports.cshtml' changed 'csharpChanged'
[Client - 8:25:12 AM] -- Stopping Issue Data Collection--

Workspace information
Razor document:
Expand

Non Razor file as active document

Projected CSharp document:
Expand

Could not determine CSharp content

Projected Html document:
Expand

Could not determine Html content

Machine information
VSCode version: 1.37.1
Razor.VSCode version: 1.21.1
dotnet --info
Expand

.NET Core SDK (reflecting any global.json):
 Version:   2.2.301
 Commit:    70d6be0814

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.2.301/

Host (useful for support):
  Version: 2.2.6
  Commit:  7dac9b1b51

.NET Core SDKs installed:
  2.2.102 [/usr/local/share/dotnet/sdk]
  2.2.104 [/usr/local/share/dotnet/sdk]
  2.2.106 [/usr/local/share/dotnet/sdk]
  2.2.301 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Extensions
Expand

Extension
Author
Version

csharp
ms-vscode
1.21.1

debugger-for-chrome
msjsdiag
4.11.7

gitflow
vector-of-bool
1.2.1

gitlens
eamodio
9.9.3

theme-dracula
dracula-theme
2.18.0

vscode-concourse
Pivotal
1.10.0

vscode-coverage-gutters
ryanluker
2.4.0

vscode-taskexplorer
spmeesseman
1.20.1

@mjnorman are you still seeing this issue?

Yes.  It is very aggravating.  The good news is that if I just walk away, it does eventually clear itself, although if I'm actively trying to code and it is occurring, it is very difficult to get anything done.

Another error that I've seen regularly is the below.  Not sure if related or not, but it is in regards to the same project.razor.json file.  I have one of these for each of the projects in this app --
Cannot read property '0' of undefined
Stack Trace:
TypeError: Cannot read property '0' of undefined
    at Function.file (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:124:488)
    at module.exports.t.RazorProjectManager.getProjectConfiguration (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:167257)
    at module.exports.t.RazorProjectManager.updateProjectConfiguration (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:165797)
    at module.exports.t.RazorProjectManager.<anonymous> (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:165129)
    at Generator.next (<anonymous>:null:null)
    at s (/Users/anonymous/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:164290)

Ah interesting, would it be possible for you to isolate which project is resulting in the Cannot read property '0' of undefined? Once isolated could you provide the project.razor.json? causing the problem?

I have that error for all 9 projects in this particular app.  They are all similar to the below,
Example--
{
  "ProjectFilePath": "/Users/anonymous/code/iis/project/project.Scheduler/project.Scheduler.csproj",
  "TargetFramework": "netcoreapp2.2",
  "TagHelpers": [],
  "Configuration": {
    "ConfigurationName": "UnsupportedRazor",
    "LanguageVersion": "1.0",
    "Extensions": [
      {
        "ExtensionName": "UnsupportedRazorExtension"
      }
    ]
  }
}

Oh very interesting.
Would you mind providing the following:

A repro project to take a deeper look at.
Type dotnet build /bl and provide the msbuild.binlog.  If you're uncomfortable sharing this publicly we can definitely find other routes to diagnose 😄

I'm shocked the system is detecting your Razor configuration as Unsupported, we'll get to the bottom of this!

Yes unfortunately I'm not able to share a live repro of this project due to privacy.  I did confirm that when I create a new project with dotnet new mvc and open in vscode, the project.razor.json is normal.  This project is rather old.  I wonder if it would be worth to create new projects with 2.2 and copy the code files in.  Thoughts?

Yes unfortunately I'm not able to share a live repro of this project due to privacy. I did confirm that when I create a new project with dotnet new mvc and open in vscode, the project.razor.json is normal. This project is rather old. I wonder if it would be worth to create new projects with 2.2 and copy the code files in. Thoughts?

That could definitely help. Depending on how old the project is it could definitely be hitting the limitations of Razor.VSCode's tooling support 😄

Is there a way to somehow refresh or rebuild those projects without having to recreate everything?  I've always followed the upgrade steps for bringing a project to the new dotnet core version (csproj package upgrades etc), but not sure what upgrades Razor.VSCode would require?

Razor.VSCode shouldn't require anything special. Basically if you're following the upgrade steps per-release/it works in VS/command line it should work for Razor.VSCode 😄

Ok so maybe I am confused about your previous statement

Depending on how old the project is it could definitely be hitting the limitations of Razor.VSCode's tooling support

Can you elaborate?

Can you elaborate?

If your project is non-.NET Core or a .NET Core project.json 1.0 project then Razor.VSCode will not work

Ok it is definitely dotnet core, netcoreapp2.2, and in csproj not project.json format.  What else can I look for in the project that might trigger this behavior?

Ok it is definitely dotnet core, netcoreapp2.2, and in csproj not project.json format. What else can I look for in the project that might trigger this behavior?

Well, this  is the magic that determines if a project is "unsupported". Do you happen to have a reference to System.Web.Razor.dll directly or indirectly?

Not that I know of, here is the root project csproj if that helps, just redacted the paths and project names.  All of the sub project csproj are all similiar, just different packages being referenced and Microsoft.NET.Sdk vs Microsoft.NET.Sdk.Web.
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.2</TargetFramework>
    <Configurations>Debug;Release;test</Configurations>
  </PropertyGroup>

  <PropertyGroup>
    <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
    <EnableDefaultRazorTargetAssemblyInfoAttributes>false</EnableDefaultRazorTargetAssemblyInfoAttributes>
  </PropertyGroup>

  <ItemGroup>
    <_ContentIncludedByDefault Remove="wwwroot\css\site.min.css" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" />
    <PackageReference Include="Serilog.AspNetCore" Version="2.1.1" />
    <PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
    <PackageReference Include="Serilog.Sinks.Seq" Version="4.0.0" />
    <PackageReference Include="Serilog.Sinks.Debug" Version="1.0.1" />
    <PackageReference Include="Swashbuckle.AspNetCore" Version="4.0.1" />
    <PackageReference Include="System.Runtime.Serialization.Formatters" Version="4.3.0" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include=".......csproj" />
    <ProjectReference Include=".......csproj" />
    <ProjectReference Include=".......csproj" />
    <ProjectReference Include="........csproj" />
    <ProjectReference Include="........csproj" />
    <ProjectReference Include="........csproj" />
  </ItemGroup>

</Project>

Just tried out a shell-like project based on what you posted and all works. Makes me believe that one of your ProjectReferences has a reference to System.Web.Razor.dll. Best way to check to see which one has the dependency indirectly is to open each projects obj/project.assets.json file and do a search for System.Web.Razor. That should allow you to find the culprit.

Checked each file and no hits :(

Checked each file and no hits :(

Hmm, I wonder if it's not regenerating. If you delete the project.razor.json file, re-open in VSCode does the project.razor.json file get re-created?

well well.  I deleted the main project obj long ago when this started happening, and never really considered it could be one of the sub projects.  So I went in and deleted all obj folders from all projects, let it rebuild and restore, and the project.assets.json looks fins as rain.  Maybe a use case for overwriting that file if exists or some variation?  Not sure of downstream impacts, but it sure would have solved this issue.

well well. I deleted the main project obj long ago when this started happening, and never really considered it could be one of the sub projects. So I went in and deleted all obj folders from all projects, let it rebuild and restore, and the project.assets.json looks fine as rain. Maybe a use case for overwriting that file if exists or some variation? Not sure of downstream impacts, but it sure would have solved this issue.

Hah, sounds like MSBuild was in a funky state where it "partially" restored but things were broken. So I take it everything is working now?

Let me hang on to the issue for a while.  I want to keep my eye on the omni sharp log.  I'll close in a few days if I see no reoccurence.  Really appreciate your help.

kk cool sounds good


refactor(app): use file names to manage state rather than indices

:pencil: Description

Use file names for state management rather than indices
Absorbs updateCommitStatus endpoint into updateBaseImages, since it's really one operation
Pull in ts-reset library for smarter type checking
Add schema validation for secrets.json

:tada: This PR is included in version 1.9.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add the ability to hide Action icons at the top of File Explorer

The action icons at the top of the Explorer view are not useful to me, and take up a lot of space, especially when all other views are disabled. There are icons for:

New File
New Folder
Refresh Explorer
Collapse Folders in Explorer

I would like to remove this entire bar with these action icons so that my entire sidebar is the folder tree.

@swrobel was able to remove them Custom CSS and JS Loader extension with the following in custom.css
.title-actions {    display: none; }
so much better without those icons

@cmedley thanks! how about an upvote so this has some chance of making it into the dev queue?

Bummer this is closed. Would love to see a preference for this :)

@soffes lol @ commenting but not upvoting

@swrobel where should I upvote it?


CI action failing with current state of DPF

The python tests are failing in the CI pipeline https://github.com/ansys/pydpf-core/actions/runs/9835553583/job/27149422359
Those failures seem totally unrelated with the changes I am trying to qualify in DPF. To reproduce tun the CI action with the branch prefix for dpf-standalone "_test_plugin_load_errors".

Just created two PRs core and post side to comment those tests and docstring in order to make pipelines pass.
I will uncomment and update everything when I will finish all the work TFS side.
FYI @anseramosfe


Support macaroons and TLS && Add arkd wallet cmds

This adds support for macaroons auth for the admin and wallet interfaces (replaces the previous basic auth-based one) and TLS encryption with a self-signed key pair.
At startup the server generates the default macaroon files within the macaroons/ folder inside the datadir if needed.
Similarly, it also generated the default tls keypair into the tls/ folder inside the datadir if needed.
This also adds a set of commands to the arkd binary to interact with the internal wallet (create/restore, lock/unlock, get status, address and balance)
NOTE: I found out restoring a bitcoin wallet doesn't work, left a TODO for later to fix.

test fails, but LGTM other than that! utACK

remove test for trusted onboiarding
Incorrect Usage: flag provided but not defined: -trusted


addRequirements fix + stopMovingParts + pylint change

Tell me what i missed :)

Superseded by https://github.com/1757WestwoodRobotics/2022-RapidReact/pull/110 closing...


Relax or upgrade peerDependencies for typescript

  "peerDependencies": {     "typescript": "2.6.1"   }

I relaxed it to patch versions in v3.0.1. I doubt they will have breaking changes in patch versions.
I will try to expand this to minor versions once #144 is implemented.


Adding Rainier 2U WOF table override for 12BC 305W DCMs

Per defect PE00DWVQ, Rainier 2U 12BC 305W DCMs are using the incorrect WOF table in MVPD. We're overriding this table in the 12BC 305W DCMs supported in Rainier 2U MTMs only (22A and 22H) with this table.
I only created a new file for Rainier 2U that will now include 2 WOF table overrides, 1 for the 8BC ioSCMs which we had before and 1 now for the 12BC DCM. The Rainier 4U remains the same (unchanged).

Can one of the admins verify this patch?

ok to test

Not approved yet for FW1020, closing to avoid accidental merge.

I confirmed with Kevin K the FW1020.20 released to Fix Central Thursday 12/1. Therefore, reopening this PR to get this change merged in the FW1020 release branch.


IAM role for resource creation in single VPC

Is your feature request related to a problem?
Define the sets of AWS IAM policies to run terraform deploy in at least privileges required to build VMSeries infrastructure.
Describe the solution you'd like
Based on existing VPC the new resources should be created, managed and deleted.
Describe alternatives you've considered.
No response
Additional context
No response

Due to the vast range of permissions that can be used for a policy that will be used in CI, there is very little value in adding a policy module here. User may bring their own policy set to execute these examples.


[docs] CLI child commands

@sarah-iot , you'll need to rebase and resolve conflicts.

OK, rebased & updated; fyi @Vyrastas


IOU - Distance tab flickering to manual & back to distance every time when add destination

Details

Fix flicker on the tab view component caused by the value dictating the selected tab being influenced by layout width and height, which for a render resets to 0, setting it to the first tab.
This is a temporary patch fix
This is a temporary fix with a patch for the react-native-tab-view library. I will raise another PR with this fix in the repository of the library itself, so we can later remove the patch locally after bumping up the updated lib.
Fixed Issues

$ https://github.com/Expensify/App/issues/46346
PROPOSAL:
Tests

Log into any account and go into the Submit expense flow
Go into the Distance tab and either enter the Start or Stop waypoint inputs
Search for any location and confirm it
Confirm that no selected tab flicker occurs and Distance is the only one selected after it

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: mWeb Chrome
https://github.com/user-attachments/assets/d1a8f7af-e2c3-41d1-ad0f-876f3fc461f5

I think the patch code looks fine. Will test this today.

@mananjadhav any updates?

I am offline for a few hours for system repair. But I will finish this before end of day.

I am having issues with my Xcode build. So I am skipping that and uploading the rest.

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/99999830-fc6a-4b45-a220-41018535b469

Android: mWeb Chrome
https://github.com/user-attachments/assets/866dfeb2-44d8-454b-b407-c17413f680cc

iOS: Native
https://github.com/user-attachments/assets/3f0f5363-1b61-4b13-89cf-d77078724a2a

iOS: mWeb Safari
https://github.com/user-attachments/assets/c17b6644-7ab4-41d0-ab9a-42d08a915c15

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/18ba48d6-d65c-4fea-bb58-baba8f6b030c

MacOS: Desktop
https://github.com/user-attachments/assets/07ee5a8d-7f70-4710-9d1e-9a8b97c5d134

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

Since the patch did disrupt the tab dragging behavior I think we should revert this PR and I'll find a way to correct the fix while having the tab switch case in mind.
cc @thienlnam

Yup, let's do that - I'll spin up the revert PR

🚀 Deployed to staging by https://github.com/thienlnam in version: 9.0.27-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.27-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[WIP] Benchmarking

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.22%. Comparing base (0a4632a) to head (02f1d8f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #508   +/-   ##
=======================================
  Coverage   70.22%   70.22%
=======================================
  Files         204      204
  Lines       27581    27581
=======================================
  Hits        19370    19370
  Misses       8211     8211

Components
Coverage Δ

crashtracker
16.70% <ø> (ø)

datadog-alloc
98.76% <ø> (ø)

data-pipeline
51.15% <ø> (ø)

data-pipeline-ffi
0.00% <ø> (ø)

ddcommon
85.97% <ø> (ø)

ddcommon-ffi
74.15% <ø> (ø)

ddtelemetry
59.37% <ø> (ø)

ipc
84.66% <ø> (ø)

profiling
78.63% <ø> (ø)

profiling-ffi
58.19% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
36.19% <ø> (ø)

sidecar-ffi
0.00% <ø> (ø)

spawn-worker
54.98% <ø> (ø)

trace-mini-agent
69.62% <ø> (ø)

trace-normalization
97.79% <ø> (ø)

trace-obfuscation
95.75% <ø> (ø)

trace-protobuf
77.16% <ø> (ø)

trace-utils
91.81% <ø> (ø)


Regenerate response button disappeared #BUG

Hi.. The button appears first at the start of the conversation
then if I send a message and when gpt has finished responding the button disappears

fixed


Fix topology not properly set when running dlrm_main multinode

thanks @Luo-Liang -> I think this isn't relevant anymore, sorry formissing the PR


Discussion about suspicious method AtlasUtil.find(File file, String scannedPackage)

Here https://github.com/atlasmap/atlasmap/blob/master/atlas-core/src/main/java/io/atlasmap/core/AtlasUtil.java#L261

Class.forName is used without providing a specific ClassLoader, in OSGi environment there are good chance that it is not working

@apupier l created #21 to track OSGi compatibility tasks. At one point, I had tested installation of all the modules as bundles, but its been a while, so I'm sure there are some gaps now.

Closing this issue and tracking all OSGi related tasks in #21


[KED 2387] Make extra_params and env accessible in ProjectHooks

Description
We are trying to define register_config_loader  to use a dynamic conf_path that changes accordingly to a variable passed as a param through the CLI. In order to make this possible we would like to be able to access the variable params passed through the CLI inside ProjectHooks (and env as well).
Context
Consider a multi repo with configuration shared between use-cases as per bellow.
 conf
     artefacts/
          artefact_a/
               parameters.yml
               catalog.yml
          artefacct_b/
               parameters.yml
               catalog.yml
      use_case_1
          artefacct_a/
               .gitkeep
      use_case_2
          artefact_a/
               .gitkeep
          artefact_b/
               .gitkeep
      use_case_3/
          artefact_b/
               .gitkeep

We would like to build a on-deman inheritance mechanism that would allow us to share configuration from artefacts by adding a sub-folder inside the use-case config with the same name as the artefact that the use-case want to re-use.
For that We would receive a variable called use_case through kedro run --params "use_case:use_case_1" in order to be able to define the conf_path accordingly and load the configuration related to the use-case together with the artefacts selected.
Possible Implementation
(Optional) Suggest an idea for implementing the addition or change.
Possible Alternatives
(Optional) Describe any alternative solutions or features you've considered.

Hmm this is closed automatically but it will be released in 0.17.1

@marianansilva We have already merged the change that will solve this for you, as you can see it here aac83432f6bcb01ca875abcf7b9595f2e360c2b9. So while we are working on the next release, you can install the bleeding edge Kedro by doing: pip install git+https://github.com/quantumblacklabs/kedro.git@master#egg=kedro. We expect to release 0.17.1 by the end of next week, so this will be only temporary.


Feature request: register all TVs as external accessories

Readme says:
If you have added multiple TVs to homebridge via this plugin, please note that all TVs except the first one will be published as "external accessories”
Can we have an option to allow first TV also registered as external device? I ask because I use other TV plugins which don’t support external accessory.
Thank you in advance!

Any suggestion?

Hey, will be added in the next version

Great, thank you!

Sorting out the issues. Added in v4 (coming soon)


Support all platforms in GitHub Workflows (especially MacOS and iOS)

[x] Linux (Debug)
[x] Linux (Release)
[x] Windows (Debug)
[x] Windows (Release)
[ ] Android (Debug)
[x] Android (Release)
[ ] MacOS (Debug)
[ ] MacOS (Release)
[ ] iOS (Release)

I rarely use apple products, so I didn't bother going out of my way to support them, but they are still important!

How is the progress on a macos workflow?

macos seems to be supported now

MacOS (Debug) works for me with godot-cpp on master, but not 4.2.

We started Terrain3D build scripts using this repo and are building on macos and ios just fine.
https://github.com/TokisanGames/Terrain3D/blob/main/.github/workflows/ios.yml
https://github.com/TokisanGames/Terrain3D/blob/main/.github/workflows/macos.yml
https://github.com/TokisanGames/Terrain3D/blob/main/.github/workflows/build.yml

@stan220 Try importing (godot --import) before running. I updated README.md to clarify that step.
godot --path project/ --import
godot --path project/
Alternatively, use the editor: godot --path project/ --editor


Auth with password bypass 2nd factor authentication

It seems auth using password skips OTP check.

Yes. This issue we did considered recently. We will design the flow to enable 2nd factor auth when using the API to get token.

And with the issue in #90 , I couldn't find a secured way to store/share Bizfly credential. Is there any alternative?


documentation issue

Hello, I think there's a typo in this usage example for the Comment model: https://next.vuex-orm.org/guide/relationships/one-to-many.html#one-to-many-inverse
post: this.belongsTo(Post, 'userId') should be 'postId' I think?

You’re quite right!


Improvement: completed achievement categories

Description
There are currently 39 achievement categories (version 3.4). The number of achievement categories will surely be added in future versions. To mark as complete an achievement is quite time consuming because the newest category is always at the bottom.
Proposed Solution
What if there was a clearly visible mark on the 100% completed achievement categories and the option to hide those completed categories. So this will make it easier for users to see quickly which categories have been completed and update the progress of achievements in each category without scrolling to much.
Completed categories

Hide completed categories

Additional Information
Just like the Show not achieved first option on the achievements page, the option to hide completed categories is also not have persistent state and must be selected again every time you open the page.
I can create a PR if you approve this @MadeBaruna .

Why not make it get marked as completed automatically? If it's X/X (100%), mark as completed and (if checked) hide.
Though I'd say Memories of the (World/Heart) should be exceptions since they can't be truly completed, and get new ones added once in a while.

I made a userscript that does this. If anyone likes this, I would create a PR and hopefully the devs will be active enough to merge it.

https://github.com/MadeBaruna/paimon-moe/assets/16370297/379c682a-07cc-4902-9f06-f25388fb63d4


(#80) Add support for building/deploying AWS Lambdas

Description Of Changes
Adds support for both building/deploying AWS Lambda projects into Chocolatey.Cake.Recipe.
Motivation and Context
Going forward, a number of infrastructure items are slated to be moved to AWS Lambdas, so it makes sense to have 1st class support for these project types within Chocolatey.Cake.Recipe.
Testing
The new tasks have been executed locally, and we (myself and @JPRuskin) have proved that the zip file is created in the _PublishedLambdas folder, and also that the zip file is deployed correctly to the test AWS instance.
Change Types Made

[ ] Bug fix (non-breaking change)
[x] Feature / Enhancement (non-breaking change)
[ ] Breaking change (fix or feature that could cause existing functionality to change)
[ ] PowerShell code changes.

Related Issue
Fixes #80
Change Checklist

[ ] Requires a change to the documentation
[ ] Documentation has been updated
[ ] Tests to cover my changes, have been added
[ ] All new and existing tests passed.
[ ] PowerShell v2 compatibility checked.

Following a conversation with @JPRuskin going to move forward with getting this merged, and shipped.


Java 17 support

Java 17 removed the sun/nio/ch/SocketChannelImpl constructor used here[1] and now throws java.lang.NoSuchMethodError: <init>. Can support be added to use an available constructor?
[1] https://github.com/google/zetasql/blob/master/zetasql/local_service/local_service_jni.cc#L117-L120

This should be fixed in 2022.04.1, please give it a try (thanks @apilloud!)

Confirmed this works in https://github.com/apache/beam/pull/17434


Add possibility to configure draw event listeners via constructor options

Currently it's not possible to attach events on object instantiation, provide this.

Implemented in branch v2.1.3


Add read follow stat endpoint

Endpoint docs: https://getstream.io/activity-feeds/docs/other-rest/following/?language=#reading-follow-stats
Same thing in .NET: https://github.com/GetStream/stream-net/blob/b16d7b917345fe95ae70058eae8b28a4367aa5fe/src/stream-net/StreamFeed.cs?q=FollowStats#L432

See PR. ✅


Update CSS-in-JS with Brand Color Tokens - Dark Theme

Create new brand colors
Deprecate old tokens that no longer exists blue000,
Waiting on white/black for clarification we will need these
Add comments to types to show hex values in VScode look at src/js/brandColor/brandColor.types.ts
Start with brandColors to use within light/dark theme
Double check storybook docs working

This has been completed https://github.com/MetaMask/design-tokens/pull/692


Ability to make a backup?

Is there a way to backup the codes? This is a needed feature - in case of device loosing or device changing.
A good solution is implemented here: https://github.com/andOTP/andOTP

Hey @bluszcz!
The codes/passwords are stored in the keychain and should migrate to new devices when using encrypted device backups according to Apple’s documentation: https://developer.apple.com/documentation/security/ksecattraccessiblewhenunlocked


x/website: replace incorrect links to pkg.dev.go with pkg.go.dev

Hi.
I was reading a blog post about structured logging (https://go.dev/blog/slog) and found a typo: pkg.dev.go is written instead of pkg.go.dev.
Sentence: The best place to learn about all of slog is the [package documentation](https://pkg.dev.go/log/slog).
Notice pkg.dev.go. I think it should be pkg.go.dev.
After git grepping for 'dev\.go' in the repository I found one more post where this exact problem happens: https://go.dev/doc/articles/go_command.
Sentence part: and thus the import path of the [glog](https://pkg.dev.go/github.com/golang/glog) package is "github.com/golang/glog".
Likewise, pkg.dev.go should be replaced with pkg.go.dev, which is correct.
Patch generated with git diff:
diff --git a/_content/blog/slog.md b/_content/blog/slog.md
index b0d8bbfc..ea491c6c 100644
--- a/_content/blog/slog.md
+++ b/_content/blog/slog.md
@@ -150,7 +150,7 @@ There is a lot more to `slog`:
   among other things.

 The best place to learn about all of `slog` is the [package
-documentation](https://pkg.dev.go/log/slog).
+documentation](https://pkg.go.dev/log/slog).

 ## Performance
diff --git a/_content/doc/articles/go_command.html b/_content/doc/articles/go_command.html
index df689537..3a19377d 100644
--- a/_content/doc/articles/go_command.html
+++ b/_content/doc/articles/go_command.html
@@ -87,7 +87,7 @@ git clone https://github.com/golang/glog

 and thus the import path of the
-glog
+glog
 package is "github.com/golang/glog".

These paths are on the long side, but in exchange we get an

Thanks, sent https://go.dev/cl/522075 to fix this.

@ianlancetaylor awesome, thanks!
Although I don't see change to _content/doc/articles/go_command.html mentioned in the change list (it needs the same one line fix, as I said in the comment above).
Perhaps, it should be changed as well, seems very much of the same mistake to me. Or should I create a new issue?


[SPARK-18432][DOC] Changed HDFS default block size from 64MB to 128MB

Changed HDFS default block size from 64MB to 128MB.
https://issues.apache.org/jira/browse/SPARK-18432

Can one of the admins verify this patch?

ok to test.

LGTM
cc: @tgravescs @srowen

Test build #68608 has started for PR 15879 at commit 97c08d8.

Hi @sarutak and @moomindani, I happened to look thought this just for my curiosity.
./docs/programming-guide.md:* The `textFile` method also takes an optional second argument for controlling the number of partitions of the file. By default, Spark creates one partition for each block of the file (blocks being 64MB by default in HDFS), but you can also ask for a higher number of partitions by passing a larger value. Note that you cannot have fewer partitions than blocks.
./docs/programming-guide.md:* The `textFile` method also takes an optional second argument for controlling the number of partitions of the file. By default, Spark creates one partition for each block of the file (blocks being 64MB by default in HDFS), but you can also ask for a higher number of partitions by passing a larger value. Note that you cannot have fewer partitions than blocks.
./docs/programming-guide.md:* The `textFile` method also takes an optional second argument for controlling the number of partitions of the file. By default, Spark creates one partition for each block of the file (blocks being 64MB by default in HDFS), but you can also ask for a higher number of partitions by passing a larger value. Note that you cannot have fewer partitions than blocks.

It seems there are three same instances with this. Should we correct them too?

Test build #68608 has finished for PR 15879 at commit 97c08d8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #68609 has started for PR 15879 at commit e57b1cd.

@HyukjinKwon Ah, exactly. We have three descriptions of "64MB" for Scala/Java/Python.
@moomindani Could you fix the left of two "64MB"?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68608/
Test PASSed.

@moomindani Actually, I found another "64 MB" in docs/tuning.md.
Could you fix it too?

Ok, I'll do.

Test build #68611 has started for PR 15879 at commit 82b4a3b.

Test build #68609 has finished for PR 15879 at commit e57b1cd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68609/
Test PASSed.

Test build #68611 has finished for PR 15879 at commit 82b4a3b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

O.K. Merging into master, branch-2.0 and branch-2.1.
Thanks @moomindani !


Namespace the channels

At the moment the channels in orbit are plaintext pubsub topic. We should namespace the channels, eg /orbit.chat/.
@jbenet's proposal:
"namespace the pubsub channels you use under some long hash (/devcon2) or a domain name (/devcon2)"

What about namespacing channels based on organizations (following the slack-like email links) ?
i.e. if you have a<EMAIL_ADDRESS>you could get access to all the /@ipfs/something channels ...
I do believe it would be interesting to keep the non name-spaced channels as well though it's an interesting feature for people without need for "private" (whatever that means) discussions

@theobat absolutely! This is the idea of namespacing is to be able to limit access. How exactly that happens, no idea :)
Email could be one. Another could be some key-based system. Another could be a "fully managed" solution with blockchain where the organization controls the access.

I do believe it would be interesting to keep the non name-spaced channels as well though it's an interesting feature for people without need for "private"

Agreed.


Gurobi environment errors are not shown

What language and solver does this apply to?
All languages, linear solver / Gurobi
Describe the problem you are trying to solve.
Gurobi errors arising when loading the Gurobi environment are not logged in OR-Tools, which makes troubleshooting hard.
Describe the solution you'd like
Logging of Gurobi loading errors
Describe alternatives you've considered
NA
Additional context
Based on github.com/google/or-tools/discussions/3739

I will make a PR to fix this (I already have a local installation of OR-Tools doing it)

https://github.com/google/or-tools/pull/3744

Here is the output I gen now:
Found the Gurobi library in '/Library/gurobi1000/macos_universal2/lib/libgurobi100.dylib.
FAILED_PRECONDITION: Found the Gurobi shared library, but could not create Gurobi environment: is Gurobi licensed on this machine?No Gurobi license found


chore: Remove direct channel open workaround for public regtest

We used this to circumvent the random channel closures / no route errors on
regtest during 10101-test app testing.
Now that the testing is back on mainnet and we focus on stability of the app,
the underlying issues should be tackled properly and this workaround removed.

I created this PR after @holzeis feedback in another PR where I removed the workaround for the local dev setup (to bring it closer to production).
I believe we should investigate why are we closing channels and sometimes failing to find a route on public regtest, as these issues might be the same as we're experiencing on mainnet.
Merging this will make these issues visible on public regtest again, but at least possible to be addressed.
The fact that we're not onboarding users to the test app at this stage makes it a convenient time to do so.
Thoughts?

bors r+


[IMPROVEMENT] Docs + some explanations

Hi, I really liked this plugin, very useful. But how I'm supposed to retrieve data?

In the example file, you saved ["Gold","Silver","Bronze"] So how the best way to retrieve...
It is possible to filter data? like: [[GOLD,0],[GOLD,1]] -> where ID > 0 -> [[GOLD,1]]

And I want to know if you can tell me why did you choose using default IDS for table properties instead of default ID for table data?

Hello,
Thank you for your requests !
I added more examples for 2.0 here: https://github.com/radubolovan/Godot-Database-Manager/blob/2.0/prj/db_test.gd
Once I finish implementing 2.0, I'll add more examples and documentation.
I'm not sure I understand your last question though, can you give me an example please?

tkx for answering! Nice to know a 2.0 v
about the second question, did you know MongoDB or SQL? I was thinking about getting data

METAL
VALUE

GOLD
10

BRONZE
5

DIAMOND
50

user type something like get_data("where","VALUE",">",7) returns:
{"METAL":{"GOLD","DIAMOND"},"VALUE":{"10","50"}}

Radu, I believe he's talking about how for some reason you're giving properties Unique IDentifiers (1, 2 , 3, etc., when most databases give that to the data itself:
UID (automatic) | gold (type - int) | helmet (resource)
1                       |  10                     | res://equipment/helmet_a.tscn
2                       |  25                     |  null

@radubolovan, I believe he's talking about how for some reason you're giving properties Unique IDentifiers (1, 2 , 3, etc., when full-scale database software (like Access) usually gives that to the data itself:

UID (automatic)
gold (type - int)
helmet (res)

1
10
res://helmet_a.tscn

2
25
null

Apparently, before coffee I can't even understand markdown enough to make tables properly...lol Hopefully it will work well enough to explain.

you explained it perfectly tkx, btw I use this to make tables https://www.tablesgenerator.com/markdown_tables

@nonunknown, currently filtering is limited to "=" only. It's a good idea to add "<", ">", "<=", ">=" and "!=" though. Thank you !
Please see here an example: https://github.com/radubolovan/Godot-Database-Manager/blob/2.0/prj/db_test.gd
As for autogenerate unique identifiers, also a good idea.

And thank you @DCowboy for helping out.
I'll keep this one open for farther discutions.

Hello guys,
I finished implementing most of the backend functionalities, but most of them need tests.
I'll make a few scripts in the next days / weeks that will automatically test these features, but if you want to jump in and help with the tests, please do it.
Interface also needs a lot of improvements.
Here is what I did so far:
https://github.com/radubolovan/Godot-Database-Manager/blob/2.0/prj/docs/2_0_todo.txt

wow amazing!!! I'll do some tests

I already added 3 stress tests scripts and fix a few problems. Maybe will inspire you and hopefully you will see problems that I don't see. We need to find as many case scenarios as we can and test them.
Please pull and see the "tests" directory.

@radubolovan Okay I'm doing a plugin here, and I'll use GDM as data saving, maybe this create some scenerio to help improving yours


isDirectoryExists() always returns true

The result of calling the isDirectoryExists() method on an instance of the internal storage is always true.
Easily checked by writing an androidTest:
@Before
public void setup() {
    Context context = InstrumentationRegistry.getTargetContext();
    storage = SimpleStorage.getInternalStorage(context);
}

@Test
public void shouldCreateTypedFolder() {
    storage.deleteDirectory("sub-" + Type.ONE);
    storage.deleteDirectory("sub-" + Type.ALL);

    // below fails
    assertFalse(storage.isDirectoryExists("sub-" + Type.ALL));

I just checked this scenario and it works for me. The latest version, has some changes. Please check the latest version and let me know if it works for you. Thanks.


[Feature Request] Add tray icon

Minimize the app and show a tray icon whenever user clicked close or minimize icon

Thanks for feature requests.
Tray icon is vital for Wanna, especially when features like pomodoro timers (:tomato::tomato:) are added to it.


Fix the issue OTC driver cannot be activated

Problem:
Previous otc download url is pointing to the latest version. We cannot make sure the checksum for it always correct.
Solution:
Point it to a particular version of otc driver.
https://github.com/rancher/rancher/issues/19223

LGTM


Add Option to save or write logs to a file

What problem or use case are you trying to solve?
Debug Errors
Describe the UX of the solution you'd like
Option to auto save logs or a button to click where you can save the logs to a file.
Do you have thoughts on the technical implementation?
Describe alternatives you've considered
Additional context

You can add PROMPT_DEBUG_DIR to get full prompts and responses that were sent to or received from the LLM.
Is that what you're looking for?

Thanks, @PierrunoYT, yes, we need it. I'm working on this and will have a PR soon (tomorrow probably). No button, but I'll propose both some automatic logging (errors), and the rest configurable in a logging config file.

I believe this is fixed. @enyst feel free to reopen if I'm wrong


No more community edition?

I see recently a change has been pushed to issue only enterprise licenses as part of https://github.com/bytebuilders/offline-license-server/pull/81. Does it mean? Appscode does not provide any more community edition licenses?  The website and elsewhere says it is a free "license" but it took us my surprise in our staging cluster when we had our license expired and the license that is generated via the CI/CD workflow is always the same expired license and not new ones. Please for the love of everybody, please update the info and change the misleading text on the website and on the https://appscode.com/issue-license/ to say the license is "Enterprise" license and not just "KubeDB" and it is VALID ONLY FOR 30 DAYS and before that you need to talk to our sales team if you want to proceed with anything or re-create your k8s cluster from scratch else our pods will keep crashing and you will have downtime.

It's very badly communicated, but here's a blog post I found after some digging: https://appscode.com/blog/post/community-license/.
@tamalsaha if you want to be considered as a professional company to buy support from I can only recommend you to throughoutly clean up your documentation on strategy changes like this. If you can't manage that in a quarter then why would someone trust your ability to provide clear and well written support at all. For example for stash not only is the wrong license banner still up, the search even pops up pages that just redirect to the homepage around the subject.