Files are only 16k?

When I run dump_site after scrape_messages and scrape_files, the files it generates under /data/files/ are all the same filesize and usually are corrupt. One site (Kenwood_TS50) all of the files are a uniform 16k, and for another (IC-735) they are 112kb. Also if the site has folders, the same thing applies for files within a folder, they're all uniform size.
I suspect that it is creating the files with the correct file names and types, but only copying the content from the first file in a given folder.
Has anyone else seen this? I'm thinking to get around it I can use https://github.com/IgnoredAmbience/yahoo-group-archiver and just pull the files and copy/pasta them over into my data directory. But if its something easy i'm missing I'd like to just use this tool if possible.

If it's something easy, I don't know what it is, so try the other tool and see if it works out for you. I'll try to look into the file issue, but my Chromedriver seems to be on strike at the moment.

I did end up using the workaround with the other script and have no complaints since it unblocks me. I was able to copy the files that it pulled in and overwrote the corrupt ones and boom, in business.


Cell and anatomy relations in BP only template are creating incorrect models

In the BP only version of the form, there are two entries for Cell and Anatomy, both of which use the occurs_in relation.
This is the correct relation to use between a BP term and either a cell or anatomy term, but when the corresponding annotations appear in the graph editor, the cell type is connected to the anatomy term via an 'occurs in' relation which is incorrect.
One possible solution for this might be:
Keep both occurs_in relations for cell and anatomy, but also add a slot for a part_of relation to qualify the cell type with an anatomy term.  The occurs_in cell and anatomy qualifiers would be at the same 'level' in the form view, but the part_of anatomy slot would only further qualify the cell type.
This would allow curators to make a statement that a BP occurs_in a cell that is part_of an anatomy term, or just say that a BP occurs_in a cell OR that a BP occurs_in an anatomy term.
@sabrinatoro @krchristie @tmushayahama

When I have both a cell type and an anatomy term, I think I usually want to say that the cell type is 'part_of' the anatomy term. I think Kimberly's proposal would work for me.

New behavior: if a curator enters a value into the Cell field, then the Anatomy relation will become part_of.
If no value is entered into the cell field, then the Anatomy relation stays as occurs_in.

@vanaukenk @thomaspd Postponing this problem, by making the default bpOnly assumes everything is filled out. So is it okay to label this (changed occurs in to part of Anatomy)

@tmushayahama   I think this works fine.
The only thing is that the graph editor is still making an occurs_in relation between the cell and anatomy term when both fields have a value:

When both fields are filled in, the cell type and anatomy fields should be connected via the 'part of' relation in the graph editor.
Thx.

Testing using http://<IP_ADDRESS>:8910/
Thanx @vanaukenk I have fixed the graph created on the . Can you check again together with the summary table table. So far it doesn't work when Cell Type is skipped

Also I have updated the test pre and post check cases on that file https://docs.google.com/spreadsheets/d/1cN2NbikNsp5_-kAAJTCuIuynp1v7g52YNrcX9dGRzmU/edit#gid=256881405

Hi @tmushayahama
Yes, the relations in the graph editor are now correct for me when both CC and Anatomy are filled in.
And when CC is skipped, the relation is not correct, i.e. it is BP part_of instead of BP occurs_in.  But this was working correctly earlier in the day, I thought, when I was doing some other testing.  Is that possible?

@tmushayahama
There is still a bug when curators enter an anatomy term, but not cell type on the BP only form.  The relation between the process and the anatomy term needs to be occurs_in rather than part_of when no cell type is entered.
Here is what currently happens:

This is a high priority fix, so please let me know if you want to chat about it.  Thx.

Needs to be addressed in current specs:
https://github.com/geneontology/GO_Shapes/blob/master/shapes/go-cam-shapes.shex


⚠ ClamAV has degraded performance

In c833d39, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 458 ms

Resolved: ClamAV performance has improved in 347941d.


Add template docs site

Summary
This (large) PR introduces a new approach to documentation by adding in the docs root level directory and the serverless-docs Twilio Function & Asset to host the documentation site (located here).

Each feature-level README has been trimmed down to point to the documentation site, and a new section was added towards the top of the main README to point towards the documentation site.
The pull-request-template.md was updated to reflect the new documentation procedures and adding content to the documentation site
A Github Actions workflow was added to build and deploy the site to Twilio Assets, which will be triggered on each new merge into the main branch.

This looks super cool, I've not done a comprehensive review but just one question I'm asking myself is whether there should still be a readme per feature that just points to the docs rather than just blowing them away. I could see that getting tedious

@jhunter-twilio Sam and I were actually just discussing this -- we leaned towards just removing them completely from the feature level folders and having the feature docs exclusively in the docs site; I originally just linked out to the docs site in each feature readme, so can revert to that if we think that's the best path forward.

This is looking wicked good!
Things we can address in follow-ups:

Remove positioning/numbering from feature readmes (use auto alphabetical sorting to allow for easy feature adding)
Determine what to do with per-package readmes. Options:

No readme in package
Stub readme in package pointing to docs site (my preference!)
Automatically copy the readme to the other location

Further organizational enhancements as we see fit

This is a huge upgrade, fantastic work @mschmitt19


fixed a type error on macos

I suppose this fixes macos clipboard implementation, cursory manual tests seem ok.

Thank you!


error: no matching function for call to ‘size(const char* const&)’

So I used 'dbg.h' in the past in the same project and had no issues building but now I am getting the following error:
/usr/include/dbg.h: In substitution of ‘template<class T> using detect_size_t = decltype (dbg::detail::{anonymous}::size(declval<T>())) [with T = const char* const&]’:
/usr/include/dbg.h:283:27:   required from ‘struct dbg::detail_detector::detector<dbg::detail_detector::nonesuch, void, dbg::detail::det
ect_size_t, const char* const&>’
/usr/include/dbg.h:290:68:   required by substitution of ‘template<template<class ...> class Op, class ... Args> using is_detected = typ
ename dbg::detail_detector::detector<dbg::detail_detector::nonesuch, void, Op, Args ...>::value_t [with Op = dbg::detail::detect_size_t;
 Args = {const char* const&}]’
/usr/include/dbg.h:324:43:   required from ‘constexpr const bool dbg::detail::is_container<const char* const&>::value’
/usr/include/dbg.h:363:32:   required by substitution of ‘template<class T> typename std::enable_if<((! dbg::detail::is_container<const T&>::value) && (! std::is_enum<_Tp>::value)), bool>::type dbg::pretty_print(std::ostream&, const T&) [with T = const char*]’
/usr/include/dbg.h:421:72:   required from here                                                                                /usr/include/dbg.h:318:62: error: no matching function for call to ‘size(const char* const&)’
 using detect_size_t = decltype(detail::size(std::declval<T>()));

I installed the header file as suggested in /usr/include/dbg.h.

Thank you for reporting this. Which compiler and version are you using?

And how do you call dbg?

I build it on CentoOS 7 with GCC 4.8.5. In order for me to get the error, I don't even need to call it. It is enough that I add the header to the translation unit I want to use it in.

I can reproduce this via https://godbolt.org/
The error seems to appear for GCC versions 4.x. Everything works fine for GCC 5.x and higher.
GCC 5 has been available for over five years now, so I'm not sure if we really need to support GCC 4 as well. If someone wants to work on this, that would be great, but I'm personally not going to look into it.
@dawid-s Thank you for sharing this anyway.

No worries. Thanks for confirming what is the issue. I might just be able to compile with a higher version of the compiler for debugging purposes. Great project btw.
If it comes to versions of compilers, some industries are moving quite slowly, to be honest, only this year we will move to C++ 14 and GCC 6.3.

If it comes to versions of compilers, some industries are moving quite slowly, to be honest, only this year we will move to C++ 14 and GCC 6.3.

You are absolutely right. I have made similar experiences on my own :smile:.
Let's keep this issue open for a while in case someone might be able to fix this.

I attempted to solve this a few times, but didn't get very far. Any help would be appreciated.

Note: I don't want to replace the nice is_detected mechanism with something else just to fix this bug on old GCC versions.

GCC 4 was released in 2005. I think we close this for now. I don't think someone will work on resolving an issue with a compiler that is 18 years old


Choose a better threshold for the soft deletion

Once #557 is merged the engine will wait until 10k documents have been soft deleted before running a real deletion.
Since this number is so smol it should not cause any issue, but the bigger this number is and the bigger the perf improvement is. BUT if this number gets too big we're going to cancel indexing tasks saying there is no space left on the device when in reality there are a lot of documents waiting to be deleted.
Thus I would like to think of a better threshold, currently, my favourite idea would be to calculate an approximative document size (we take the size of the DB divided by the number of documents + soft-deleted documents) and, if the number of soft-deleted documents reaches 10% of the total space we can use then we delete them for real.
Also maybe this could be configurable. Maybe instead of 10% we should instead say something like « 100mb » (but in this case it should really be configurable).

Currently, we can't use the size of the disk (or estimate the size each document takes) because we don't have this information.
The only information we have is the size of the database on disk with all freed pages, and if we use that, we're going to allow more and more soft-deleted documents for the same number of indexed documents every time we re-index.
To make this works, we would need to add a new feature in heed that multiplies the size of a memory page by the number of leaf pages. Maybe by the number of leaf pages + branch pages + overflow pages?
I can use the mdb_env_stat function to aggregate my results over all databases.

The last solution I can think of is to use the MDB_env structure ourselves to compute the number of free pages x the size of a page.
That would be a cool solution if only the structure was not private.
Thus there is three options from here;

I missed something, @Kerollmops I tried to ping @hyc on twitter but it seems like he didn’t see my tweet. It would be cool I you could try to contact him as well. Here is what I sent him; https://twitter.com/irevoire/status/1554770698475905024
We fork lmdb and introduce a function that compute the free space left for us.
-> And if @hyc is ok with this idea we try to merge that on the main branch.
We compute the size directly from heed with a lot of very unsafe code. That should work while we don’t update lmdb 😩

Sounds like the best thing to do is to migrate the freespace code from mdb_stat.c into the library. But I don't see how that is actually a useful figure for the problem you're trying to solve here.

Oh, nice to see you here @hyc!

But I don't see how that is actually a useful figure for the problem you're trying to solve here.

Well, basically, we want to get an idea of how much size we’re really using to avoid freeing space when we don’t need to (=there is still a lot of available space).
But since we can’t rely on the size used by lmdb on disk, I was trying to recompute the size myself 😅

Sounds like the best thing to do is to migrate the freespace code from mdb_stat.c into the library.

Is this something doable for you? Or should we include the code in our library?
I totally missed this file when I did my tests; I’ll look into it Tuesday!


Create spam_fake_photo_share.yml

/update-test-rules

I don't know who revised this, but they're super smart.


Unable to chmod temp file

Hello,
currently I am trying to deploy NiFi-Registry in OpenShift 4.1 with this Template.
Sadly I am getting this error when starting the container:
unable to chmod temp file: chmod /opt/nifi-registry/nifi-registry-0.5.0/conf/nifi-registry.properties: operation not permitted
In forehand I already had to edit the Dockerfile and add RUN chmod -R 777 ${PROJECT_BASE_DIR} to have the right permission to execute the start.sh script.
Do you have any Clue?
Thanks in advance,
Andreas

Had to edit Dockerfile, start.sh and providers.xml to match OpenShift conditions.

Is it that normal docker image runs under user nifi and not root? I have added also -root variants of image which omit the instructions to drop user privileges at the end of Dockerfile.
You can derive your image from michalklempa/nifi-registry:0.5.0-01-root and then add user nifi if you need one (with your UID:GID):
FROM michalklempa/nifi-registry:0.5.0-01-root
ARG UID=10007
ARG GID=10007

RUN addgroup -g ${GID} nifi \
    && adduser -s /bin/bash -u ${UID} -G nifi -D nifi \
    && chown -R nifi:nifi ${PROJECT_BASE_DIR}
USER nifi


Update wiki docs for toolset clean up

Describe the bug
The docs need to be updated to reflect this changes: https://github.com/gohornet/hornet/commit/62b7460184b1cb820e2a643513f3b286961db8e9
I may have time over the weekend to look at it

I'm working on it and will fix it over the next days depending on when I have time.
But first I need to find out again what the problem was :trollface:
I guess I should make the changes on develop and you will add it to mainnet too. Or should I create PRs for both?

If it affects both, then please create both PRs.

Ok I remember now why I opened this issue 😅
I found some issues with the private tangle docs and then wanted to look at all tools in general.
But everything was already fixed with https://github.com/iotaledger/hornet/pull/1310. I just checked the docs anyway, but all tools seem to be up-to-date.
Will close the issue :)


Not working with angular 5

Hello,
I created a new Angular project using the official ASP.NET Core Web Application template in VS2017.
Then i updated angular 4 to Angular 5 using npm.
npm install<EMAIL_ADDRESS>``
At startup i have this error
System.AggregateException occurred   HResult=0x80131500   Message=One or more errors occurred. (Version of @angular/compiler-cli needs to be 2.3.1 or greater. Current version is "5.1.0-beta.0". Error: Version of @angular/compiler-cli needs to be 2.3.1 or greater. Current version is "5.1.0-beta.0".     at Object.<anonymous> (C:\darwinTFS\Car-e\Integration\Car-e.Website\node_modules\@ngtools\webpack\src\index.js:27:11)     at Module._compile (module.js:570:32)     at Object.Module._extensions..js (module.js:579:10)     at Module.load (module.js:487:32)     at tryModuleLoad (module.js:446:12)     at Function.Module._load (module.js:438:3)     at Module.require (module.js:497:17)     at require (internal/module.js:20:19)     at Object.<anonymous> (C:\darwinTFS\Car-e\Integration\Car-e.Website\webpack.config.js:4:46)     at Module._compile (module.js:570:32))   Source=<Cannot evaluate the exception source>   StackTrace:    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.AspNetCore.Builder.WebpackDevMiddleware.UseWebpackDevMiddleware(IApplicationBuilder appBuilder, WebpackDevMiddlewareOptions options)
at Car_e_Website.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env) in C:\darwinTFS\Car-e\Integration\Car-e.Website\Startup.cs:line 34
Inner Exception 1:
NodeInvocationException: Version of @angular/compiler-cli needs to be 2.3.1 or greater. Current version is "5.1.0-beta.0".
Error: Version of @angular/compiler-cli needs to be 2.3.1 or greater. Current version is "5.1.0-beta.0".
at Object. (C:\darwinTFS\Car-e\Integration\Car-e.Website\node_modules@ngtools\webpack\src\index.js:27:11)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\darwinTFS\Car-e\Integration\Car-e.Website\webpack.config.js:4:46)
at Module._compile (module.js:570:32)`
I tried Angular 5 , 5.1.0beta nothing works
Thank you for your help

It worked fine for me in Angular 5
 "dependencies": {
    "@angular/animations": "^5.0.0",
    "@angular/common": "^5.0.0",
    "@angular/compiler": "^5.0.0",
    "@angular/compiler-cli": "^5.0.0",
    "@angular/core": "^5.0.0",
    "@angular/forms": "^5.0.0",
    "@angular/http": "^5.0.0",
    "@angular/platform-browser": "^5.0.0",
    "@angular/platform-browser-dynamic": "^5.0.0",
    "@angular/platform-server": "^5.0.0",
    "@angular/router": "^5.0.0",
    "@types/webpack-env": "1.13.0",
    "angular2-template-loader": "0.6.2",
    "aspnet-prerendering": "^3.0.1",
    "aspnet-webpack": "^2.0.1",
    "awesome-typescript-loader": "3.2.1",
    "core-js": "^2.5.1",
    "css": "2.2.1",
    "css-loader": "0.28.4",
    "es6-shim": "0.35.3",
    "event-source-polyfill": "0.0.9",
    "expose-loader": "0.7.3",
    "extract-text-webpack-plugin": "2.1.2",
    "file-loader": "0.11.2",
    "html-loader": "0.4.5",
    "isomorphic-fetch": "2.2.1",
    "jquery": "3.2.1",
    "json-loader": "0.5.4",
    "json-server": "^0.12.0",
    "preboot": "4.5.2",
    "raw-loader": "0.5.1",
    "reflect-metadata": "0.1.10",
    "rimraf": "^2.6.2",
    "rxjs": "^5.5.2",
    "sass-loader": "^6.0.6",
    "style-loader": "^0.18.2",
    "to-string-loader": "^1.1.5",
    "typescript": "2.5.2",
    "url-loader": "^0.5.7",
    "webpack": "^3.6.0",
    "webpack-hot-middleware": "^2.19.1",
    "webpack-merge": "^4.1.0",
    "zone.js": "^0.8.17"
  },
  "devDependencies": {
    "@angular/cli": "^1.3.2",
    "@ngtools/webpack": "^1.8.0",
    "@types/chai": "^3.4.34",
    "@types/jasmine": "^2.5.37",
    "chai": "^3.5.0",
    "codelyzer": "^4.0.0",
    "istanbul-instrumenter-loader": "^3.0.0",
    "jasmine-core": "^2.5.2",
    "karma": "^1.7.1",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^2.2.0",
    "karma-coverage": "^1.1.1",
    "karma-jasmine": "^1.1.0",
    "karma-mocha-reporter": "^2.2.4",
    "karma-phantomjs-launcher": "^1.0.4",
    "karma-remap-coverage": "^0.1.4",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-webpack": "^2.0.3",
    "protractor": "^5.1.2",
    "tslint": "^5.7.0",
    "webpack-bundle-analyzer": "^2.9.0"
  }

Hi,
Can you tell me How u did the upgrade?
Thanks

Hi.
I have the same problem.

@NazirTemirov can you share your webpack configurations. So we can get an idea about how to fix this.

webpack.config.vendor.js
`const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const merge = require('webpack-merge');
const treeShakableModules = [
'@angular/animations',
'@angular/common',
'@angular/compiler',
'@angular/core',
'@angular/forms',
'@angular/http',
'@angular/platform-browser',
'@angular/platform-browser-dynamic',
'@angular/router',
'zone.js',
];
const nonTreeShakableModules = [
'bootstrap',
'bootstrap/dist/css/bootstrap.css',
<EMAIL_ADDRESS>'es6-promise',
'es6-shim',
'event-source-polyfill',
'jquery',
];
const allModules = treeShakableModules.concat(nonTreeShakableModules);
module.exports = (env) => {
const extractCSS = new ExtractTextPlugin('vendor.css');
const isDevBuild = !(env && env.prod);
const sharedConfig = {
stats: { modules: false },
resolve: { extensions: [ '.js' ] },
module: {
rules: [
{ test: /.(png|woff|woff2|eot|ttf|svg)(?|$)/, use: 'url-loader?limit=100000' }
]
},
output: {
publicPath: 'dist/',
filename: '[name].js',
library: '[name]_[hash]'
},
plugins: [
new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery' }), // Maps these identifiers to the jQuery package (because Bootstrap expects it to be a global variable)
new webpack.ContextReplacementPlugin(/@angular\b.*\b(bundles|linker)/, path.join(__dirname, './ClientApp')), // Workaround for https://github.com/angular/angular/issues/11580
new webpack.ContextReplacementPlugin(/angular(\|/)core(\|/)@angular/, path.join(__dirname, './ClientApp')), // Workaround for https://github.com/angular/angular/issues/14898
new webpack.IgnorePlugin(/^vertx$/) // Workaround for https://github.com/stefanpenner/es6-promise/issues/100
]
};
const clientBundleConfig = merge(sharedConfig, {
    entry: {
        // To keep development builds fast, include all vendor dependencies in the vendor bundle.
        // But for production builds, leave the tree-shakable ones out so the AOT compiler can produce a smaller bundle.
        vendor: isDevBuild ? allModules : nonTreeShakableModules
    },
    output: { path: path.join(__dirname, 'wwwroot', 'dist') },
    module: {
        rules: [
            { test: /\.css(\?|$)/, use: extractCSS.extract({ use: isDevBuild ? 'css-loader' : 'css-loader?minimize' }) }
        ]
    },
    plugins: [
        extractCSS,
        new webpack.DllPlugin({
            path: path.join(__dirname, 'wwwroot', 'dist', '[name]-manifest.json'),
            name: '[name]_[hash]'
        })
    ].concat(isDevBuild ? [] : [
        new webpack.optimize.UglifyJsPlugin()
    ])
});

const serverBundleConfig = merge(sharedConfig, {
    target: 'node',
    resolve: { mainFields: ['main'] },
    entry: { vendor: allModules.concat(['aspnet-prerendering']) },
    output: {
        path: path.join(__dirname, 'ClientApp', 'dist'),
        libraryTarget: 'commonjs2',
    },
    module: {
        rules: [ { test: /\.css(\?|$)/, use: ['to-string-loader', isDevBuild ? 'css-loader' : 'css-loader?minimize' ] } ]
    },
    plugins: [
        new webpack.DllPlugin({
            path: path.join(__dirname, 'ClientApp', 'dist', '[name]-manifest.json'),
            name: '[name]_[hash]'
        })
    ]
});

return [clientBundleConfig, serverBundleConfig];

}
`

webpack.config.js
`const path = require('path');
const webpack = require('webpack');
const merge = require('webpack-merge');
const AngularCompilerPlugin = require('@ngtools/webpack').AngularCompilerPlugin;
const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin;
module.exports = (env) => {
// Configuration in common to both client-side and server-side bundles
const isDevBuild = !(env && env.prod);
const sharedConfig = {
stats: { modules: false },
context: __dirname,
resolve: { extensions: [ '.js', '.ts' ] },
output: {
filename: '[name].js',
publicPath: 'dist/' // Webpack dev middleware, if enabled, handles requests for this URL prefix
},
module: {
rules: [
{ test: /.ts$/, include: /ClientApp/, use: isDevBuild ? ['awesome-typescript-loader?silent=true', 'angular2-template-loader'] : '@ngtools/webpack' },
{ test: /.html$/, use: 'html-loader?minimize=false' },
{ test: /.css$/, use: [ 'to-string-loader', isDevBuild ? 'css-loader' : 'css-loader?minimize' ] },
{ test: /.(png|jpg|jpeg|gif|svg)$/, use: 'url-loader?limit=25000' }
]
},
plugins: [new CheckerPlugin()]
};
// Configuration for client-side bundle suitable for running in browsers
const clientBundleOutputDir = './wwwroot/dist';
const clientBundleConfig = merge(sharedConfig, {
    entry: { 'main-client': './ClientApp/boot.browser.ts' },
    output: { path: path.join(__dirname, clientBundleOutputDir) },
    plugins: [
        new webpack.DllReferencePlugin({
            context: __dirname,
            manifest: require('./wwwroot/dist/vendor-manifest.json')
        })
    ].concat(isDevBuild ? [
        // Plugins that apply in development builds only
        new webpack.SourceMapDevToolPlugin({
            filename: '[file].map', // Remove this line if you prefer inline source maps
            moduleFilenameTemplate: path.relative(clientBundleOutputDir, '[resourcePath]') // Point sourcemap entries to the original file locations on disk
        })
    ] : [
        // Plugins that apply in production builds only
        new webpack.optimize.UglifyJsPlugin(),
        new AngularCompilerPlugin({
            tsConfigPath: './tsconfig.json',
            entryModule: path.join(__dirname, 'ClientApp/app/app.module.browser#AppModule'),
            exclude: ['./**/*.server.ts']
        })
    ])
});

// Configuration for server-side (prerendering) bundle suitable for running in Node
const serverBundleConfig = merge(sharedConfig, {
    resolve: { mainFields: ['main'] },
    entry: { 'main-server': './ClientApp/boot.server.ts' },
    plugins: [
        new webpack.DllReferencePlugin({
            context: __dirname,
            manifest: require('./ClientApp/dist/vendor-manifest.json'),
            sourceType: 'commonjs2',
            name: './vendor'
        })
    ].concat(isDevBuild ? [] : [
        // Plugins that apply in production builds only
        new AngularCompilerPlugin({
            tsConfigPath: './tsconfig.json',
            entryModule: path.join(__dirname, 'ClientApp/app/app.module.server#AppModule'),
            exclude: ['./**/*.browser.ts']
        })
    ]),
    output: {
        libraryTarget: 'commonjs',
        path: path.join(__dirname, './ClientApp/dist')
    },
    target: 'node',
    devtool: 'inline-source-map'
});

return [clientBundleConfig, serverBundleConfig];

};
`

package.json
{   "name": "GroupBuying_Web",   "private": true,   "version": "0.0.0",   "scripts": {     "test": "karma start ClientApp/test/karma.conf.js"   },   "dependencies": {     "@angular/animations": "^5.0.1",     "@angular/cdk": "^5.0.0-rc0",     "@angular/common": "^5.0.1",     "@angular/compiler": "^5.0.1",     "@angular/compiler-cli": "^5.0.1",     "@angular/core": "^5.0.1",     "@angular/forms": "^5.0.1",     "@angular/http": "^5.0.1",     "@angular/material": "^5.0.0-rc0",     "@angular/platform-browser": "^5.0.1",     "@angular/platform-browser-dynamic": "^5.0.1",     "@angular/platform-server": "^5.0.1",     "@angular/router": "^5.0.1",     "@ngtools/webpack": "^1.8.0",     "@ngx-translate/core": "^8.0.0",     "@ngx-translate/http-loader": "2.0.0",     "@types/grecaptcha": "^2.0.33",     "@types/webpack-env": "^1.13.2",     "angular2-promise-buttons": "2.0.1",     "angular2-template-loader": "0.6.2",     "aspnet-prerendering": "^3.0.1",     "aspnet-webpack": "^2.0.1",     "awesome-typescript-loader": "3.2.1",     "bootstrap": "3.3.7",     "css": "2.2.1",     "css-loader": "0.28.4",     "es6-shim": "0.35.3",     "event-source-polyfill": "0.0.9",     "expose-loader": "0.7.3",     "extract-text-webpack-plugin": "^2.1.2",     "file-loader": "0.11.2",     "hammerjs": "^2.0.8",     "html-loader": "0.4.5",     "isomorphic-fetch": "2.2.1",     "jquery": "3.2.1",     "json-loader": "0.5.4",     "ngx-infinite-scroll": "^0.5.1",     "preboot": "4.5.2",     "raw-loader": "0.5.1",     "reflect-metadata": "0.1.10",     "rxjs": "^5.5.2",     "style-loader": "0.18.2",     "to-string-loader": "1.1.5",     "typescript": "2.4.2",     "url-loader": "0.5.9",     "webpack": "^2.5.1",     "webpack-hot-middleware": "^2.19.1",     "webpack-merge": "^4.1.0",     "zone.js": "0.8.12"   },   "devDependencies": {     "@types/chai": "4.0.1",     "@types/jasmine": "2.5.53",     "chai": "4.0.2",     "jasmine-core": "2.6.4",     "karma": "1.7.1",     "karma-chai": "0.1.0",     "karma-chrome-launcher": "2.2.0",     "karma-cli": "1.0.1",     "karma-jasmine": "1.1.0",     "karma-webpack": "2.0.3"   } }

your configs gives me following error.
No NgModule metadata found for 'AppModule'.
when I turn off the server side prerendering, working without any issues.

It worked fine for me.
Try deleting dist folders from ClientApp and wwwroot and rebuilding the project.
But I had this problem https://github.com/aspnet/JavaScriptServices/issues/1388

Yes. that is the extract thing i'm saying. when you turn off the serverside prerendering app will work.

In your webpack.config.js, add the following test in your rules array. It should solved the  No NgModule metadata found for 'AppModule'. problem.
{
    test: /(?:\.ngfactory\.js|\.ngstyle\.js)$/,
    loader: '@ngtools/webpack',
    options: {
        tsConfigPath: '/tsconfig.json',
    }
}

If you are still having additional issues, consider looking at this working project repository

Thanks @NazirTemirov for the info.
Yes, if you want to upgrade to Angular 5, you will need to disable server-side rendering because Angular 5 (at least for production builds) requires it to work in a substantially different way. We're working on an Angular 5 template here: https://github.com/aspnet/JavaScriptServices/issues/1288#issuecomment-346003334


Python unittest support in VS2022 completely broken

This issue has been moved from a ticket on Developer Community.

Unit tests are not found on discovery, and if they are they cannot be run. They never can be debugged.
My Python project has a structure:

directory code contains *.py for the application
directory tests contains test_*.py with tests (using unittest)

If I select "unittest" as framework and:

"." as location, then the tests are not discovered
"tests" as location, then the tests are discovered but cannot be run, as the VS2022 test adapter cannot load the test_*.py file.
move the tests to the root of the project and use "." as location, the tests are discovered and can be run, but cannot be debugged. The debugger can be started, but the breakpoints in both the unit test and application code are ignored.

Apparently the Python unittest support in VS2022 is limited to "hello world"-type of applications.
The error message in (2) is:
Failed to import test module: test_XXX
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\unittest\loader.py", line 154, in loadTestsFromName
module = import(module_name)
ModuleNotFoundError: No module named 'test_XXX'
Standard Error:
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\unittest\case.py", line 59, in testPartExecutor
yield
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\unittest\case.py", line 592, in run
self._callTestMethod(testMethod)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\unittest\case.py", line 550, in _callTestMethod
method()
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\unittest\loader.py", line 34, in testFailure
raise self._exception
ImportError: Failed to import test module: test_XXX
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\unittest\loader.py", line 154, in loadTestsFromName
module = import(module_name)
ModuleNotFoundError: No module named 'test_XXX'
There is a workaround for 2: add the tests directory to the search path of the Python project. But VS2022 should do that, based on the settings of unittest in the project.
There is a workaround for (3) (start test_*.py with the normal debugger) but that is a lot of work as the main application requires command line arguments and running a test requires removal of the arguments from the project)

Original Comments
Feedback Bot on 7/25/2022, 00:40 AM:
(private comment, text removed)

Original Solutions
(no solutions)

Hi there, could you try adding an __init.py in your tests directory and see if that works? Thanks!

The debugging part is a separate issue, see https://github.com/microsoft/PTVS/issues/6796

Going to close this out. If the issue still persists, please reopen with the information requested. Thanks.😊


API & Bidirectional Relationships

Relationships used to be one sided (IE the source object would store a reference of all destinations) and that was it. This ended up being problematic as relationships could only be explored from one side, which is problematic, especially from tools like Maltego. As a result I changed it so creating a new relationship it adds the reference to both objects, so they can be found from either direction.
While I was at it I added API endpoints for both getting a relationship (based on one end point) and creating a relationship (based on providing both endpoints).
I'm sure I'm missing some of the error conditions and things like that, but it's getting started.

I need to build the Maltego transforms as a method to test all this out.


"This installation of turbodbc does not support Apache Arrow extensions."

I am getting this error even after installing pyarrow verisons 0.13, 0.14, and 0.15. All times I uninstalled turbodbc, installed pyarrow and then reinstalled turbodbc version 3.2.0. Why isn't turbodbc recognising my pyarrow installation and hence installing the necessary extensions?
I am doing all installing of pyarrow and turbodbc through pip on macOS 10.14.6. turbodbc and pyarrow are being installed to the following location:
/usr/local/lib/python3.7/site-packages/turbodbc/
/usr/local/lib/python3.7/site-packages/pyarrow/

It was because the turbodbc whl file was still in pip's cache, so installing pip install pyarrow==0.14 followed by pip install turbodbc --no-cache-dir fixed the issue.


DB file

Greetings, really liked your site - but couldn't find the sql file in the folders. Can you please put it in the repository?

The SQL file is right in the main folder named as "MrPc". Hope it helps.

The SQL file is right in the main folder named as "MrPc". Hope it helps.


Yanza/custom useful clusters

This PR adds a parameter to the somoclu summarizer so that the user can customize which clusters are calibrated. This function is useful when we do quality control by ignoring "bad clusters".

Change Description

[ ] My PR includes a link to the issue that I am addressing

Solution Description

Code Quality

X I have read the Contribution Guide
X My code follows the code style of this project
X My code builds (or compiles) cleanly without any errors or warnings
XMy code contains relevant comments and necessary documentation

I changed this PR to a draft so @yanzastro can separate out the good/bad cluster definition as a Classifier, allowing it to be used as a preprocessing stage for any summarizer.

So sorry for taking so long to look at this! I noticed the code for defining bad clusters is still bundled in with the Summarizer rather than separated out as a Classifier that could be used more generically. Is there a reason for this?


epiphany

Emacs has been added.

i might be wrong, but I believe epiphany uses webkit-gtk and thusly requires dbus. One workaround you guys might consider is installing crud like web browsers using nixpkgs.


Garmin has deprecated its legacy authentication

About 5 or 6 days ago, my garmin downloader stopped working. The old GAUTH URL is down and seems to have been replaced fully by the newer 'modern' pages. After some googling and testing on my local copy, I was able to get my downloads working again (Python 2.7 which still allows use of Mechanize package)
The JSON returned by the new activity service is no longer a nicely formatted recordset, but rather just a list of json activities, and some of the field names have changed (beginTimestamp is now just an int and seems replaced by startTimeLocal for example). And no more nice little summary with totalActivities count...

There ya go, old commented out code removed :)


angular-seed compatible?

I`m having a hard time to make it work with https://github.com/mgechev/angular-seed
Anyone did it successfully already?

Well, no way to make this package work in angular-seed.
I`ve ended up copying src/angular2-token.service.ts and src/angular2-token.model.ts into my project folder src/client/shared/angular2-token/ and importing it directly by relative local path.
src/client/shared/shared.module.ts:
import { Angular2TokenService } from './angular2-token/angular2-token.service';
export class SharedModule {
    providers: [
        Angular2TokenService

src/client/app.component.ts:
import { Angular2TokenService } from './shared/angular2-token/angular2-token.service';
export class AppComponent {
  constructor(private angular2TokenService: Angular2TokenService) {
    this.angular2TokenService.init({
      apiPath: 'http://localhost:3000'
    });

src/client/shared/toolbar/toolbar.component.ts:
import { Angular2TokenService } from '../angular2-token/angular2-token.service';
export class ToolbarComponent {
    constructor(protected angular2TokenService: Angular2TokenService){}
    logout() {
      this.angular2TokenService.signOut()
        .subscribe(
          resp => {
            this.router.navigate(['/login']);
          },
          error => {
            console.error(error);
          }
    );
  }

I guess this might be related to #103. I'm on it, but couldn't get the it to work yet.

I just published version 0.2.0-beta.6, which should work a lot better, because it uses the compiled .js files. Could you give it another try?


Fix rendering so stuff can be turned on/off on boolean.

This means the old "enabled" slot functionality.  We talked about removing the "enabled" slot and instead doing it via a preference setting or a plugin. The specifics of that are unclear to me.

Fixed a lot of bugs to do with turning stuff on / off. Also the enabled input is now entirely gone, enabling / disabling stuff should be done with conditional logic.
Leaving ticket open for now as we'll need to be able to conditionally add stuff into scenes; right now this isn't possible, we might need an 'object3d array' to be fed into the scene.


[Viral!!✓VIDEO𝕊.!!] Jennifer Lopez Viral ᴠɪᴅᴇᴏ ʟᴇᴀᴋᴇᴅ Update On Social Media X Telegram

18 sec ago Jennifer Lopez Viral ʟᴇᴀᴋᴇᴅ ᴠɪᴅᴇᴏ Viral On Social Media. [Viral!!✓VIDEO𝕊.!!] Jennifer Lopez Viral ᴠɪᴅᴇᴏ ʟᴇᴀᴋᴇᴅ Update On Social Media X Telegram
𝑾𝒂𝒕𝒄𝒉 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄) 𝖶𝖺𝗍𝖼𝗁
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺 𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
Jennifer Lopez Viral's latest video has taken the internet by storm, sparking lively discussions across various social media platforms. The rising digital influencer, known for her captivating content—especially her recent Spiderman-themed video—has experienced a massive surge in popularity. Fans are eagerly awaiting the full version, while audiences flock to Instagram, X (formerly Twitter), and Discord to engage with her latest creation.
As excitement continues to grow, fans are actively sharing their thoughts online, highlighting the crucial role social media plays in propelling creators like Jennifer Lopez Viral into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited for what’s to come next.  The rising digital influencer, known for her captivating content—especially her recent Spiderman-themed video—has experienced a massive surge in popularity. Fans are eagerly awaiting the full version, while audiences flock to Instagram, X (formerly Twitter), and Discord to engage with her latest creation.
As excitement continues to grow, fans are actively sharing their thoughts online, highlighting the crucial role social media plays in propelling creators like Jennifer Lopez Viral into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited for what’s to come next.


Pass the http status code to the caller

We need to distinguish between an unauthorized access attempt and any other kind of error, so we need to pass the status code to the caller.

We don't need the message as much as the status code

@danielroehrig I understand, but the message will be confusing saying denied the request and the status will be something different.


Fix proxy support for docker

The vagrant-proxyconf plugin doesn't properly set up the docker proxy for CentOS and requires a vagrant reload after docker is installed which causes problems with the ansible playbook.
@mwgiles (https://github.com/mwgiles) has proposed a fix: https://github.com/portdirect/halcyon-kubernetes/pull/1, that should be brought into this repo to resolve this issue.

@intlabs and @mwgiles can we get these changes added for both centos and ubuntu? @aric49 you worked on this originally...so you may want to keep an eye on this (just to be aware of it).

@mwgiles resolved this issue for both CentOS and Ubuntu with: https://github.com/att-comdev/halcyon-kubernetes/pull/28


build failed if all plugins are disabled

What version of gRPC and what language are you using?
https://github.com/grpc/grpc/archive/refs/tags/v1.62.2.tar.gz
What operating system (Linux, Windows,...) and version?

What did you expect to see?
successfully built
What did you see instead?
-- CMake command: /home/leleliu008/.ndk-pkg/uppm/installed/cmake/bin/cmake
-- CMake version: 3.29.1
-- CMAKE_HOST_SYSTEM_NAME: Linux
--      CMAKE_SYSTEM_NAME: Android
-- CMake command: /home/leleliu008/.ndk-pkg/uppm/installed/cmake/bin/cmake
-- CMake version: 3.29.1
-- CMAKE_HOST_SYSTEM_NAME: Linux
--      CMAKE_SYSTEM_NAME: Android
-- The C compiler identification is Clang 17.0.2
-- The CXX compiler identification is Clang 17.0.2
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/leleliu008/.ndk-pkg/core/wrapper-target-cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/leleliu008/.ndk-pkg/core/wrapper-target-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Performing Test HAVE_STDC_FORMAT_MACROS
-- Performing Test HAVE_STDC_FORMAT_MACROS - Success
-- Found c-ares: /home/leleliu008/.ndk-pkg/installed/android-21-arm64-v8a/c-ares/lib/cmake/c-ares/c-ares-config.cmake (found suitable version "1.28.1", minimum required is "1.13.0")
-- Found ZLIB: /home/leleliu008/.ndk-pkg/installed/android-21-arm64-v8a/libz/lib/libz.so (found version "1.3.1")
-- Found RE2 via CMake.
-- Found OpenSSL: /home/leleliu008/.ndk-pkg/installed/android-21-arm64-v8a/openssl-dev/lib/libcrypto.so (found version "3.3.0")
-- Downloading from https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz, if failed, please try configuring again
-- Configuring done (4.4s)
CMake Error: INSTALL(EXPORT) given unknown export "gRPCPluginTargets"
-- Generating done (0.2s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_COLOR_MAKEFILE
    CMAKE_INSTALL_LIBDIR

CMake Generate step failed.  Build files cannot be regenerated correctly.

Anything else we should know about your project / environment?

I think if you disable gRPC_BUILD_CODEGEN as well, that would make it work.

but we could probably add logic to say - if no plugin is enabled, don't do anything with gRPC_BUILD_CODEGEN

Feel free to send a PR.

This is not a very common usecase so I wouldn't be surprised if there are other issues that crop up when doing this.

@yashykt Thank you for your reply.


Add missing enum values for UnassignedInformationReason

Closes #3460

Backport to 6.x.
Backport to 5.x and remove ManualAllocation (does not exist in 5.x)

ported to 6.x and 5.x and removed ManualAllaction on 5.x


Proposal: make Let's Encrypt a first-class entity in Workflow

At the Azure / Deis hackfest at in December, there was time to work on additional enhancements.  One such was a PoC for adding support for Let's Encrypt certificates (to enable TLS) when new applications are deployed to Workflow.
The initial PoC takes on two parts:

An application that makes periodic checks for new applications:  https://github.com/jmspring/deis_certificate_manager

A worker process that the (1) spawns to do the actual Let's Encrypt/ACME handshake:
https://github.com/jmspring/deis_cert_letsencrypt_worker

This is just a PoC and real support should directly work with the ACME protocol and not necessarily shell out another process to do the handshake.
Further, some research into limitations in/around Let's Encrypt certificate issuance policies (limits per domain, etc) should be considered.
Also, the PoC only retrieves the initial certificate, Let's Encrypt certs have ~90 day life time so renewal as well as revocation as apps are removed should be considered as well.
@mboersma - Jason Hansen mentioned you were Workflow lead.

related: https://github.com/deis/router/issues/134

@bacongobbler, @mboersma - thoughts on moving forward on this?  I have cycles to work on it.

This sounds good to me!
Personally I'd like to see this fleshed out in the client as a new deis certs:generate command, which would essentially work with the ACME protocol to retrieve a certificate from Lets Encrypt and upload it to the server via deis certs:add. The POC could also look into re-running deis certs:generate to renew the certificate. That implementation may need to be performed by a new deis certs:update command, which currently does not exist. I know others have asked for that feature as well.
I think this is something that should be supported as a first-class citizen in the CLI rather than a sidekick container. Other than that, the idea of generating certs for domains using Let's Encrypt and using existing commands to upload/update/delete the cert would probably be the best approach.
What do you think?

Part of the Let's Encrypt Handshake (for issuance) currently requires some form of validation of the domain.  The PoC was one quick hack for such.  I'll dive into the protocol a bit more this week and solidify my understanding both of issuance and renewal -- the certs are only 90 day certs, so renewal (as well as revocation will be important).
My concern if it is CLI only and requires said handshake, what the best approach is.  As for updating nginx (per the thread you linked to -- the hash of a cert makes sense to trigger the update).
I'll get some more info by Thursday.

We're investigating deis and one of the main issues we found is the lack of Let's Encrypt integration. Our current solution on Kubernetes relies on kube-lego together with nginx-ingress.
kube-lego monitors the kubernetes cluster for ingresses with a specific annotation. It then reads the spec.tls.hosts field from those and compares the result with the available certificates. When some are missing or near the expiry date, it requests a new certificate, creating a new ingress rule which matches the acme challenge path and intercepting the Let's Encrypt validation request. It then saves the new certificates in a secret, ready to be used by the application.
I believe such an approach would work for deis too, wouldn't it?

@MartinodF just following up on this comment, but with #732 in place, yes. You could just run ingress and kube-lego on the cluster as usual.

Now with the experimental native ingress feature in v2.13.0, I've been able to get a Workflow cluster up and running using a combination of kube-lego and the nginx ingress controller. I'll hopefully get to writing a blog post about the entire setup so others can learn about the internals and see where we can write a feature around it.

@bacongobbler really interested in how you got that to work. Is that blog post up somewhere or can you point me in the right direction? Thanks!

@johnschultz Native ingress via Traefik with its built-in Let Encrypt support is working quite well for us too. Default app names work perfectly, but deis domain:xxx needs manual changes to the ingress for the app, which I'm assuming will be handled by https://github.com/deis/controller/issues/1277. This is probably true for nginx too.

Any progress on this? Yes, I can use native ingresses, but using Deis's router is preferable.

No progress. The "hack" I did was merely just manually editing ingress routes and installing the nginx ingress controller, along with kube-lego. No code to contribute at this time.

Does anyone who's setup native ingresses know if Deis adds the annotations for TLS (Or if there is a way to configure them)? Because the way that kube-lego works is that it looks for annotations to indicate which domain to pick.

It does not; I had to manually edit the ingress resources to add those annotations in.

This issue was moved to teamhephy/workflow#43


Release Request

Hi folks. Is it possible to create a new Release please, which inludes #980 (merged 6 days ago).
Thank you, much appreciated 👍

Done... v0.40.0


Bug report

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Could you described what is the bug ?
(Note I have updated the template for bug report)


Map Camera global for all Automowers

I have two automowers, at totally different locations. I would like to use the Map Camera feature. However only one image can be referenced. Would be nice if a different picture could be used for every Automower.
Thanks

Still wish for enhancement


Missing namespace in Service-Management.md for JPA

xmlns:util="http://www.springframework.org/schema/util" is missing. Will provide a PR.

Thanks.

Were you able to get the JPA ticket registry working?

No, not yet, but I'm on the way...

Tower Git client for OSX always selects the jasig origin repo as the default when publishing a branch, so It always chooses the jasig original repo. Deleted it from jasig and published into mine, based on 4.1.x branch (first one was based on tag 4.1.2, which doesn't work).


[bug] regex for optional scope does not include :

Describe the bug
the regex should only match id(optionalsope): something something.
e.g. for the expression ^feat(?:[(](.+?)[)])? it matches currently:

correct feat: new feature
correct feat(comp): new componentfeature
incorrect featulalalala this is a radom commit

switching the expression to ^feat(?:[(](.+?)[)])?: fixes this issue.
Care must be taken as this line subject = re.sub(regex + r'\s?:\s?', '', head) appends the colon so this needs to be adjusted too.
To Reproduce
use a commit like fixed something or featuring something great (non conventional commit in a nutshell) will appear under the fixed or feature section.
Expected behavior
only match real conventional commits

ok I might be misled by the tool stripping the commits :D ... so I guess false alarm (changelog is clean). I tripple check again and if this is a issue I will reopen it.


WangKanai.com is down?

Describe the bug
I click the link to wangkanai.com and I get hit with a 404 no site found from GitHub Pages. Also tried using Edge incase it was some weird Firefox thing. Still didn't work
To Reproduce
Go to WangKanai.com
Expected behavior
I haven't been there before, but I expect to be brought to a landing page not a 404 page.
Screenshots
Image

I'm planning to redeploy it soon with asp.net core web app in the https://github.com/wangkanai/wangkanai/tree/main/Web

Makes sense! Good luck :)


Refactoring: splittags.py

Need to refactor import/splittags.py for PEP8 and readability.  Add headers, etc.

Working on this as part of the "Refactoring" branch

This is completed and is part of the pull request with commit 5a82e02c90b72971c1b553cf4f08fe1827e1c9a5


creds are due

hey, no issue or anything. Just wanted to throw out a big thank you for providing such an excellent stack. ive learned alot deploying it and after alot of hours ive successfully turned it into an autoscalable yolo4 videoinferencing api.
ive learned vue, vuex, a whole lot about swarm and traefik and im Just thrilled.
fastapi is Just amazing.

Thanks a lot for the kind words! It's very uncommon to stumble on an issue with a message as nice as this one, thanks for taking the time to write it!
I have a lot to update in this project, but I'm glad it has been useful! 🎉
I'll close it now, but thanks again! ☕

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Download VSTS Drop and Run Script doesn't work with saved secret

When using this task with the Saved Secret option, I always get an error where if I use the same Personal Access Token directly it will work.  I have tried recreating both the secret and the PAT with the same results.
Provided parameters used in this script:
  $accessToken = ***************************
  $buildDefinitionName = xxxxxxxx
  $vstsProjectUri = https://xxxxxxxx.visualstudio.com/defaultCollection/xxxxxxxx
  $pathToScript = drop\xxxxxxxx.ps1
  $scriptArguments =
Variables used in this script:
  $vstsApiVersion = 2.0
  $outfile =
  $destination = \xxxxxxxx
Getting build definition ID from https://xxxxxxxx.visualstudio.com/defaultCollection/xxxxxxxx/_apis/build/definitions?api-version=2.0&name=xxxxxxxx
ERROR: Cannot index into a null array.

Note that if I load https://xxxxxxxx.visualstudio.com/defaultCollection/xxxxxxxx/_apis/build/definitions?api-version=2.0&name=xxxxxxxx  myself, it works just fine as well.

Apologies for the delay. Are you still experiencing this issue?

I believe I switched to an altogether different approach to getting my files so, I do not know if this is still an issue.


Fix exit code on install fails

Description

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (existing code being refactored)
[ ] This change requires a documentation update

Submission Checklist

[x] Build Verified
[x] Bundle Verified
[x] Lint passing
[x] Unit tests passing
[x] Integration tests passing
[x] Change logs generated

Additional Notes:

This had been addressed on release 1.0.11


add choices to mark measurements "good" or "bad" to demag_gui edit menu

To demag_gui edit menu add choices to mark measurements "good" or "bad"
To do this, split the on right click function into three.

made it work so that any number of measurements can be highlighted and marked at one time, just easier to build that way.


socks.config - dest_ip rule issue

I have added a rule to the socks.config file to use a SOCKS server for a specific destination IP with the dest_ip primary specifier but it does not appear to be working. I am able to change my system setting to use the SOCKS server and that does work, I just can't get ATS to use it via the rule in socks.config.
Any help would be much appreciated!

Which version of Traffic Server are you running? @oknet fixed the SOCKS proxy recently and those changes will be available in the forthcoming 7.0 release.

Awesome news. I am currently on the latest in the FreeBSD repo, 6.1. I have been using Polipo for now but for many reasons would love to use ATS. I look forward to building 7 once stable. Thanks for the answer!

backport to 6.2.1.
2016-11-04 21:32 GMT+08:00 Christian Haynes<EMAIL_ADDRESS>
Closed #1175 https://github.com/apache/trafficserver/issues/1175.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/trafficserver/issues/1175#event-847885526, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE_9sZG5nGnpvUb44wrPThlchi-r5KjTks5q6zQEgaJpZM4KnoEo
.

@oknet Very cool, will 6.2.1 be added as a release and propagated through the master sites?

yes, the v6.2.1 will be released recently.
2016-11-07 21:53 GMT+08:00 Christian Haynes<EMAIL_ADDRESS>
@oknet https://github.com/oknet Very cool, will 6.2.1 be added as a
release and propagated through the master sites?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/trafficserver/issues/1175#issuecomment-258840730,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE_9sRTj8PA_WjfgnSxYUaD15PbjCnGkks5q7y1ggaJpZM4KnoEo
.

Has this fix already been applied to the 7.0 release? I ask because I am currently running 7.0 but not getting any traffic through my SOCKS proxy still.

Can you post your socks config in records.config file? and socks.config
file.
2016-11-16 23:46 GMT+08:00 Christian Haynes<EMAIL_ADDRESS>
Has this fix already been applied to the 7.0 release? I ask because I am
currently running 7.0 but not getting any traffic through my SOCKS proxy
still.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/trafficserver/issues/1175#issuecomment-260980493,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE_9sciNK0xFGcJ61lt_g9CszhtWi74fks5q-yVigaJpZM4KnoEo
.

The PR#937 https://github.com/apache/trafficserver/pull/937 fix the socks
bug for ATS 7.0.0. and backport to 6.2.x by PR#1203
https://github.com/apache/trafficserver/pull/1203.
2016-11-23 16:28 GMT+08:00 Chao Xu<EMAIL_ADDRESS>
Can you post your socks config in records.config file? and socks.config
file.
2016-11-16 23:46 GMT+08:00 Christian Haynes<EMAIL_ADDRESS>
Has this fix already been applied to the 7.0 release? I ask because I am
currently running 7.0 but not getting any traffic through my SOCKS proxy
still.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/trafficserver/issues/1175#issuecomment-260980493,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE_9sciNK0xFGcJ61lt_g9CszhtWi74fks5q-yVigaJpZM4KnoEo
.

To proxy any request by socks proxy server:
CONFIG proxy.config.socks.socks_needed INT 1

Then set socks proxy server and exception rules in socks.config.
To accept socks request on ATS 1080 tcp port and proxy it to socks proxy server:
CONFIG proxy.config.socks.socks_needed INT 1
CONFIG proxy.config.socks.accept_enabled INT 1

And you can define a default socks proxy server:
CONFIG proxy.config.socks.default_servers STRING "x.x.x.x:1080;x.x.x.x:1080"

Please do not include any SPACE in default_servers string, and put ";" between multi servers.

Right now I am working with a default config but have added the following line into records.config:
CONFIG proxy.config.socks.socks_needed INT 1
After adding the line I get ERR_EMPTY_RESPONSE for every page I browse to. Right now I have a single site added (removed ip from post):
dest_ip=<site-ip> parent="<IP_ADDRESS>:38080"
After setting socks_needed back to 0 traffic starts flowing again
FYI - My SOCKS proxy is listening on 38080 as you can see and if I connect to it directly all works as expected.

Can you enable socks debug message？
CONFIG proxy.config.diags.debug.enabled INT 1
CONFIG proxy.config.diags.debug.tags STRING Socks.*

And make a request to ATS, then you will see:
(Socks) Using Socks ip: <dst ip>:<port>
(SocksParents) findServer result: <IP_ADDRESS>:38080
...

please mail the logs to me or just post here, thanks.

I will enable logging and check for issues as soon as I can circle back around to this. Thanks again for your assistance.

ping @06chaynes

Sorry for the silence on my end, I have been swamped lately. I was testing again, after adding your logging config changes, and noticed that the trafficserver service was crashing in a loop. I am troubleshooting that issue now as it would obviously be a possible cause for my "SOCKS" issue :)

Here is what I have found so far,
Before setting socks_needed = 1 the proxy works as expected. Once I set socks_needed = 1,  I start to see what appears to be the service crashing and restarting. Here is what I see in /var/log/messages:
Dec 20 19:00:52 server traffic_server[72819]: NOTE: RLIMIT_NOFILE(8):cur(190530),max(190530)
Dec 20 19:00:52 server kernel: pid 72819 (traffic_server), uid 65534: exited on signal 6
Dec 20 19:00:55 server traffic_server[72821]: NOTE: --- traffic_server Starting ---
Dec 20 19:00:55 server traffic_server[72821]: NOTE: traffic_server Version: Apache Traffic Server - traffic_server - 7.0.0 - (build # 122016 on Dec 20 2016 at 16:14:02)
Dec 20 19:00:55 server traffic_server[72821]: NOTE: RLIMIT_NOFILE(8):cur(190530),max(190530)
Dec 20 19:00:55 server kernel: pid 72821 (traffic_server), uid 65534: exited on signal 6
Dec 20 19:00:58 server traffic_server[72823]: NOTE: --- traffic_server Starting ---
Dec 20 19:00:58 server traffic_server[72823]: NOTE: traffic_server Version: Apache Traffic Server - traffic_server - 7.0.0 - (build # 122016 on Dec 20 2016 at 16:14:02)
I see the following in diags.log:
[Dec 20 19:07:10.084] Server {0x804006400} NOTE: traffic server running
[Dec 20 19:07:10.088] Server {0x804007c00} NOTE: cache enabled
[Dec 20 19:07:13.006] Server {0x804008000} NOTE: updated diags config
[Dec 20 19:07:13.006] Server {0x804008000} NOTE: updated diags config
[Dec 20 19:07:19.974] Server {0x804006400} STATUS: opened /var/log/trafficserver/diags.log
[Dec 20 19:07:19.975] Server {0x804006400} NOTE: updated diags config
[Dec 20 19:07:19.982] Server {0x804006400} NOTE: cache clustering disabled
[Dec 20 19:07:20.000] Server {0x804006400} NOTE: ip_allow.config updated, reloading
[Dec 20 19:07:20.020] Server {0x804006400} NOTE: cache clustering disabled
[Dec 20 19:07:20.025] Server {0x804006400} NOTE: logging initialized[3], logging_mode = 3
[Dec 20 19:07:20.028] Server {0x804006400} NOTE: loading SSL certificate configuration from /usr/local/etc/trafficserver/ssl_multicert.config
[Dec 20 19:07:20.046] Server {0x804006400} NOTE: resetting hardware sector size from 32768 to 8192
[Dec 20 19:07:20.080] Server {0x804006400} NOTE: traffic server running
[Dec 20 19:07:20.085] Server {0x804007c00} NOTE: cache enabled

Here is what I found in traffic.out:
[Dec 20 19:17:06.714] Server {0x804006400} DEBUG: <Socks.cc:517 (loadSocksConfiguration)> (Socks) Socks Turned on
[Dec 20 19:17:06.863] Server {0x804007c00} DEBUG: <UnixNetProcessor.cc:228 (connect_re_internal)> (Socks) Using Socks ip: <IP_ADDRESS>:80
Assertion failed: (ats_is_ip4(&target_addr)), function init, file Socks.cc, line 67.
traffic_server: using root directory '/usr/local'
traffic_server: Abort trap
traffic_server - STACK TRACE:
0x4afa59 <_Z19crash_logger_invokeiP9__siginfoPv+0x69> at /usr/local/bin/traffic_server
0x802769b37 <pthread_sigmask+0x507> at /lib/libthr.so.3
0x80276922c <pthread_getspecific+0xe1c> at /lib/libthr.so.3
[Dec 20 19:17:09.999] Server {0x804006400} DEBUG: <Socks.cc:462 (loadSocksConfiguration)> (Socks) Socks Version 4
[Dec 20 19:17:09.999] Server {0x804006400} DEBUG: <Socks.cc:472 (loadSocksConfiguration)> (Socks) server connect timeout: 10 socks respnonse timeout 100
[Dec 20 19:17:09.999] Server {0x804006400} DEBUG: <Socks.cc:482 (loadSocksConfiguration)> (SocksProxy) Read SocksProxy info: accept_enabled = 0 accept_port = 1080 http_port = 80
[Dec 20 19:17:10.000] Server {0x804006400} DEBUG: <Socks.cc:489 (loadSocksConfiguration)> (Socks) Socks Config File: /usr/local/etc/trafficserver/socks.config
[Dec 20 19:17:10.003] Server {0x804006400} DEBUG: <Socks.cc:517 (loadSocksConfiguration)> (Socks) Socks Turned on
[Dec 20 19:17:10.105] Server {0x804007800} DEBUG: <UnixNetProcessor.cc:228 (connect_re_internal)> (Socks) Using Socks ip: <IP_ADDRESS>:80
Assertion failed: (ats_is_ip4(&target_addr)), function init, file Socks.cc, line 67.
traffic_server: using root directory '/usr/local'
traffic_server: Abort trap
traffic_server - STACK TRACE:
0x4afa59 <_Z19crash_logger_invokeiP9__siginfoPv+0x69> at /usr/local/bin/traffic_server
0x802769b37 <pthread_sigmask+0x507> at /lib/libthr.so.3
0x80276922c <pthread_getspecific+0xe1c> at /lib/libthr.so.3
FATAL: [ProcessManager::pollLMConnection] Lost Manager EOF!

It seems that you ATS code is old and did not apply socks patch.
https://github.com/apache/trafficserver/pull/937/files for 7.0
https://github.com/apache/trafficserver/pull/1203/files for 6.2
iocore/net/Socks.cc
 58
 59   ats_ip_copy(&target_addr, vc->get_local_addr());
 60

You should fetch the newest source code if your ats code shows the same as above.

Ok, thanks for the quick response. I have just cloned the repo and I am rebuilding from it rather than the tagged release. I will test again and update you shortly.

I am still getting an error but now I do have a new question related to the SOCKS versions supported. Are socks5 servers supported or just socks4?
The reason I ask is that in the error I noticed it says Socks version 4 but my server is running version 5.

I went ahead and modified my upstream proxy server to be compatible with socks4. I am still getting an error though after enabling socks_needed. I did confirm I was using the latest build and the patch does look to be present (it was in the source I built from at least). Here is the output in traffic.out:
traffic_server: using root directory '/usr/local'
traffic_server: Abort trap
traffic_server - STACK TRACE:
0x4b07a9 <_Z19crash_logger_invokeiP9__siginfoPv+0x69> at /usr/local/bin/traffic_server
0x80275ab37 <pthread_sigmask+0x507> at /lib/libthr.so.3
0x80275a22c <pthread_getspecific+0xe1c> at /lib/libthr.so.3
[Dec 21 17:27:34.840] Server {0x804006400} DEBUG: <Socks.cc:462 (loadSocksConfiguration)> (Socks) Socks Version 4
[Dec 21 17:27:34.840] Server {0x804006400} DEBUG: <Socks.cc:472 (loadSocksConfiguration)> (Socks) server connect timeout: 10 socks respnonse timeout 100
[Dec 21 17:27:34.840] Server {0x804006400} DEBUG: <Socks.cc:482 (loadSocksConfiguration)> (SocksProxy) Read SocksProxy info: accept_enabled = 0 accept_port = 1080 http_port = 80
[Dec 21 17:27:34.841] Server {0x804006400} DEBUG: <Socks.cc:489 (loadSocksConfiguration)> (Socks) Socks Config File: /usr/local/etc/trafficserver/socks.config
[Dec 21 17:27:34.842] Server {0x804006400} DEBUG: <Socks.cc:517 (loadSocksConfiguration)> (Socks) Socks Turned on
[Dec 21 17:27:35.052] Server {0x804008000} DEBUG: <UnixNetProcessor.cc:228 (connect_re_internal)> (Socks) Using Socks ip: <IP_ADDRESS>:80
Assertion failed: (ats_is_ip4(&target_addr)), function init, file Socks.cc, line 67.
traffic_server: using root directory '/usr/local'
traffic_server: Abort trap
traffic_server - STACK TRACE:
0x4b07a9 <_Z19crash_logger_invokeiP9__siginfoPv+0x69> at /usr/local/bin/traffic_server
0x80275ab37 <pthread_sigmask+0x507> at /lib/libthr.so.3
0x80275a22c <pthread_getspecific+0xe1c> at /lib/libthr.so.3

To set the socks version:
CONFIG proxy.config.socks.socks_version INT 5

Are you sure that you have the lastest source code?
Assertion failed: (ats_is_ip4(&target_addr)), function init, file Socks.cc, line 67.

You still hit the assert in Socks.cc:67. Can you open the source file iocore/net/Socks.cc and show me the Line 58 to 60.

Sweet, thanks for the info. Here is what I see in the source I am building from:
ats_ip_copy(&target_addr, vc->get_remote_addr());

Thanks, I have located a bug in UnixNetProcessor.cc and will create a PR to fix it.

@06chaynes There are 2 patches to resolve this issue, please try to apply them.
https://github.com/apache/trafficserver/pull/1274/files
https://github.com/apache/trafficserver/pull/1275/files
I have try it with dante-server. The /etc/danted.conf list below:
external: <IP_ADDRESS>
internal: <IP_ADDRESS> port = 10800
logoutput: /var/log/socks.log
method: none
clientmethod: none
user.privileged: proxy
user.notprivileged: nobody
user.libwrap: nobody

client pass {
    from: <IP_ADDRESS>/0 port 1-65535 to: <IP_ADDRESS>/0
    log: connect disconnect error
}

pass {
    from: <IP_ADDRESS>/0 to: <IP_ADDRESS>/0
    protocol: tcp udp
    log: connect disconnect error
}

Try to make a HTTP request to <IP_ADDRESS>:80 by connect-proxy
root@xuc:~/package/oknet-ats# connect-proxy -S localhost:1080 <IP_ADDRESS> 80
GET / HTTP/1.0
Host: <IP_ADDRESS>

HTTP/1.0 200 OK
Date: Fri, 23 Dec 2016 08:41:40 GMT
Server: ATS/7.1.0
Last-Modified: Tue, 07 Jul 2015 12:21:55 GMT
ETag: "22682-b1-51a481162477f"
Accept-Ranges: bytes
Content-Length: 177
Vary: Accept-Encoding
Content-Type: text/html
X-Pad: avoid browser bug
Age: 0

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

the /var/log/socks.log:
Dec 23 15:28:33<PHONE_NUMBER>) danted[21091]: pass(1): tcp/accept [: <IP_ADDRESS>.50906 -> <IP_ADDRESS>.10800
Dec 23 15:28:33<PHONE_NUMBER>) danted[21092]: pass(1): tcp/connect [: <IP_ADDRESS>.50906 -> <IP_ADDRESS>.80
Dec 23 15:30:28<PHONE_NUMBER>) danted[21096]: pass(1): tcp/connect ]: 484 -> <IP_ADDRESS>.50906 -> 158,  158 -> <IP_ADDRESS>.10800 -> 484: remote closed
Dec 23 15:30:28<PHONE_NUMBER>) danted[21096]: pass(1): tcp/connect ]: 484 -> <IP_ADDRESS>.50906 -> 158,  158 -> <IP_ADDRESS>.80 -> 484: remote closed

and the ats configs:
/etc/trafficserver/records.config:
CONFIG proxy.config.socks.socks_needed INT 1
CONFIG proxy.config.socks.accept_enabled INT 1
CONFIG proxy.config.socks.default_servers STRING <IP_ADDRESS>:10800
CONFIG proxy.config.socks.socks_version INT 5

or
/etc/trafficserver/records.config:
CONFIG proxy.config.socks.socks_needed INT 1
CONFIG proxy.config.socks.accept_enabled INT 1
CONFIG proxy.config.socks.socks_version INT 5

/etc/trafficserver/socks.config:
dest_ip=<IP_ADDRESS> parent="<IP_ADDRESS>:10800"

TS-5106 #1274  merged

TS-5015 #1275 merged
@06chaynes, please try the master branch.

Sorry for the late response but I just tested the latest patch and found another issue it seems.
[Jan  6 15:40:39.885] Server {0x804006400} DEBUG: <Socks.cc:462 (loadSocksConfiguration)> (Socks) Socks Version 4
[Jan  6 15:40:39.885] Server {0x804006400} DEBUG: <Socks.cc:472 (loadSocksConfiguration)> (Socks) server connect timeout: 10 socks respnonse timeout 100
[Jan  6 15:40:39.885] Server {0x804006400} DEBUG: <Socks.cc:482 (loadSocksConfiguration)> (SocksProxy) Read SocksProxy info: accept_enabled = 0 accept_port = 1080 http_port = 80
[Jan  6 15:40:39.885] Server {0x804006400} DEBUG: <Socks.cc:489 (loadSocksConfiguration)> (Socks) Socks Config File: /usr/local/etc/trafficserver/socks.config
[Jan  6 15:40:39.887] Server {0x804006400} DEBUG: <Socks.cc:517 (loadSocksConfiguration)> (Socks) Socks Turned on
/usr/local/lib/libssl.so.8: Undefined symbol "EVP_aes_128_cbc_hmac_sha256"

The libssl error is not related to this issue. Do you running the ats in another server that different to build server?
In the last message you post here, the log line missing:
[Dec 21 17:27:35.052] Server {0x804008000} DEBUG: <UnixNetProcessor.cc:228 (connect_re_internal)> (Socks) Using Socks ip: <IP_ADDRESS>:80

Can you try to rebuild the ATS ?

The build server is FreeBSD 10.3 but the device it runs on is actually pfSense 2.3. Right now I have asked the port maintainer to include patches related to this issue, it's possible I haven't provided him with all the commits that need to be added as a patch.
Here is a link to the port with the SOCKS patches: https://propus.hychen.org/files/trafficserver-7.0.0_1.tgz

I think the message at below indicate your run-time openssl library is different from your build server.
/usr/local/lib/libssl.so.8: Undefined symbol "EVP_aes_128_cbc_hmac_sha256"

It seems that your build server has latest version of openssl library.

I apologize for the lack of updates on this, i Just now got a chance to pull this back out and start testing. I verified that the setup works properly in Debian. I also agree that my issue on the FreeBSD box is related to dependency issues. I will be working those issues out soon and will close the ticket once I have verified the issue. Thanks again for all your help.

The bugs was fixed in 6.2.x branch too. You can try 6.2.x since the 7.x branch is not stable enough.
Don't hesitate to contact with me if you meet any question in SocksProxy.

@06chaynes  Is there any issues ?  or please close this issue, thanks.

Looks like this has been fixed.  Please reopen if there is still an issue.


Add tests back in

Detailed Description
Need to mock the NWP data properly and add tests back in
Context
Good to have lots of unittests
Possible Implementation
make fake 'latest.netcdf' file on the fly, and use this to be loaded

done in PR #38


Export StateWithValue

We want to be able to type multiple states in an array, so it would be really helpful to have this type exported.
Especially because we can't go with the return type of the generic:
ReturnType<typeof newRidgeState>
Great project, thanks for sharing & maintaining it!

No problem! Thanks for the positive words ! 😃


update and improvement of the logo PlayerBase

hello for me it's a pleasure to greet you, my name is Orlando, I'm a graphic designer and I like to collaborate on open source projects, if I may, I can design a new image for the use of this application? innovative and attractive to the eye

Thanks for your attention and suggestions. Is your design free or not?

you're welcome. my collaboration is totally free friend, would be a satisfaction for me, reach the final goal, which is to see it added in your repository, if you have met all the requirements, happy to design for you

OK, Thanks. I'm glad to get your help. Before you design, do you need me to provide some information about the repository?

ok, to feed me more, I had read the information of this project before and I have already started making some drafts, which is the first stage at this moment I am digitizing the idea that will be presented shortly. thank you very much

PlayerBase is an Android player base library, which is a highly decoupled solution for decoder and view components. This is equivalent to component-based processing of the decoder and view. The access is simple and easy to use. The above is a general description of the whole frame, and I hope it will be helpful for your design. Thank you again for your design.

hello good night this has been my logo contribution. the logo happened to the play button of a player that was combined at the same time with the letter A that chose it from the previous logo. I used a color palette associated with the colors that you already have used in your current logo.

Three types of different fonts and color variation:

It also has a LogoMark icon but if you want I can use it if the protection zone

feel free to make corrections and improvements the important thing is that you feel satisfied with the logo ...

The design style is very good. I like third types of fonts and second icons.

HAVE YOU STILL HERE ?, I will do the combination of the type of source you like most and the icon that you chose to see the final result

Yes, I'm here, and I'm looking forward to the final result.

look I have combined the logo you chose with the font style CodeBolt that is very elegant in my opinion ... and look what came out now you have to Choose from these 2 models ... What will be the winner ???

I prefer the plan B, Do you have any good suggestions?

I feel satisfied and at ease of this work that I have done for you from the beginning this was the favorite result and seeing that you going through a couple of filters, you have chosen it I am happy ... I would like to see it renewed in your repository...
But now tell me if you are happy, as much as I am? to load all the files you need ready to use in all formats, if you have any specific measure that you need the logo you can let me know.

Excuse me, can you turn the letter into a lowercase? I want to see the effect of the lower case. thanks.

PLAYERBASE --> PlayerBase

WITH MUCH TASTE, but I will have to change the style of text to a similar one, since this type of font only comes with uppercase letter you want, to show you with other sources?

1

2

here are for visualizes but with two types of sources more similar possible than if they come in the download package with letters mini-letters

I think the lowercase is a little better. However, these two pictures seem to be the same.

I like this icon. I want to use it as my APP icon.
If possible. I hope it's in the PNG format. Thank you very much.

then tell me what the final result will be ??? East??

with respect to the icon, if I have them in PNG, SVG, AI, PDF, PSD, EPS ready to use and not just that icon, but I will send you a pack with different colors, if in the future you need to use it in networks, or innovate the colors are already stored. So now if you can close this case? to send you all the files?

if you are so kind please can you tell me if you will keep that logo and if we have finished you can close the ISSUES.  If you need something else, you can tell me ...
Here are all the files ready to use.!
https://drive.google.com/open?id=1WpbINNF4Rg-f9aus2BCazCH4-urnrNpu
Esta obra está bajo una Licencia Creative Commons Atribución 4.0 Internacional.

Excuse me here are the files updated in lowercase letter as I had said. I had wrong here are all the logo files already updated
UPDATED FILES
Esta obra está bajo una Licencia Creative Commons Atribución 4.0 Internacional.

I've already downloaded it. Thank you very much.


for custom callbacks in module fit, training script can not finish

Description
use (batch&eval end)callback kwargs for tensorflow-tensorboard writer, but after two epoch, training process did not terminate, namely in pending state ,and require CTRL+C to stop
Environment info (Required)
----------Python Info----------
Version      : 3.5.3
Compiler     : GCC 6.3.0 20170118
Build        : ('default', 'Jan 19 2017 14:11:04')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 9.0.1
Directory    : ddd
----------MXNet Info-----------
Version      : 1.1.0
Directory    : ddddd
Commit Hash   : 07a83a0325a3d782513a04f47d711710972cb144
----------System Info----------
Platform     : Linux-4.9.0-4-amd64-x86_64-with-debian-9.3
system       : Linux
node         : ddddd
release      : 4.9.0-4-amd64
version      : #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23)
----------Hardware Info----------
machine      : x86_64
processor    :
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                56
On-line CPU(s) list:   0-55
Thread(s) per core:    2
Core(s) per socket:    14
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Model name:            Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
Stepping:              1
CPU MHz:               1207.763
CPU max MHz:           3300.0000
CPU min MHz:           1200.0000
BogoMIPS:              4799.93
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              35840K
NUMA node0 CPU(s):     0-13,28-41
NUMA node1 CPU(s):     14-27,42-55
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts
----------Network Test----------
Setting timeout: 10
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 1.4324 sec, LOAD: 3.8097 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.1308 sec, LOAD: 0.8327 sec.
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.3458 sec, LOAD: 4.1076 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 1.3146 sec, LOAD: 1.2678 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.4631 sec, LOAD: 3.4307 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.1860 sec, LOAD: 0.7889 sec.

Package used (Python/R/Scala/Julia):
I'm using Python
Error Message:
(Paste the complete error message, including stack trace.)

Minimum reproducible example
mxnet minist digits recongnition as my examples
Steps to reproduce

python virtual env, install mxnet, tensorflow & tensorboard
code and run minist digits recongnition model training with two epochs

What have you tried to solve it?

comment custom callbacks in module fit methods , it is valid but indeed i require those cbs for writing tensorboard events

@sandeep-krishnamurthy please kindly add label: Python, Data Visualization, thanks!

@reminisce - Any suggestions?

It looks like one logging thread got stuck.
The dmlc/tensorboard was adapted from TensorFlow. There is some gap between the adapted version and the original code in TensorFlow. We are working on a complete visualization solution bundled in MXNet. Stay tuned.

@reminisce @sandeep-krishnamurthy @roywei thanks!
first of all, what i need to clarify was that i used MXNET with callable callback  to log events where tf's FileWirter and Summary were used in custom SummaryWriter class , and the custom class was invoked in __call__ in callable callback
@reminisce your saying that one logging thread got stuck should be right, as above exception  was not there when i closed custom SummaryWriter in call after calling callback every time. Or above exception occured once i placed close method of tf's Filewriter into close/__del__ method of custom class at the time close of  tf's Filewriter got stuck via debugger.
look forward to the solution you mentioned

@reminisce Have we been able to address this issue in the visualization tool in DMLC ?


Maps

map looks awesome in both colombia and mexico

issue 1) by default the export map title says (2013) which is fine for now, but when I go into the dropdown it looks like it is set from 2007-2013. Geomaps should default to latest year like treemaps

issue 2) when I select a question "what places IMPORT this product" and then switch graph to geomap, it shows the export geomap

btw: SO FAST

:+1: so much :ship:


Update to "Active" version of NodeJS

The current build is running NodeJS v.14.5.0 which is no longer an "Active" release - https://nodejs.org/en/about/releases/
Could a new build be triggered to pull a newer version of Node JS?

Solved https://hub.docker.com/r/dockette/vercel

Awesome - thank you very much for the quick resolution on this. 🔥


Compiling with -Wfloat-equal results in warnings on Vector2 and Vector3.

When compiling my project with the -Wfloat-equal compiler flag, I get a bunch of warnings on Vector2.inl when using the == or != operators. I would suggest the fix to replace the implementation of  operator== and operator!= to internally use std::equal_to() and std::not_equal_to.
E.g.
    return std::equal_to<T>()(left.x, right.x)
        && std::equal_to<T>()(left.y, right.y);

and
    return std::not_equal_to<T>()(left.x, right.x)
        || std::not_equal_to<T>()(left.y, right.y);

These produces the same code generated by using == or != but without the warnings, at least on GCC. I'm not sure if the warnings would be suppressed on other compilers as well.
Environment

OS: Windows 10
SFML 2.5.1
Compiler: gcc 6.3.0
Compiler flags: -Wfloat-equal

Steps to reproduce
Invoke the == or != operators on any two Vector2 or Vector3 objects and the compiler will produce warnings.
#include <iostream>
#include <SFML/Graphics.hpp>

int main()
{
    sf::Vector2f a, b;

    if (a == b)
        std::cout << "equal\n";
    else if (a != b)
        std::cout << "not equal\n";

    return 0;
}

Expected behavior
Compile without warnings.
Actual behavior
The compile emits the warnings

\SFML-2.5.1\include/SFML/System/Vector2.inl:160:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
return (left.x != right.x) || (left.y != right.y);
^~~

Note that attempting not_equal_to<sf::Vector2f>()(a, b) also still emits the warnings.

This is really not an issue with SFML. Or really too much of an issue at all. The warning that is being emitted cannot be avoided. It happens when you compare two floats when you have warnings set really high. Due to floating-point inaccuracy such operations can be an issue, but it isn't SFML's fault. Refer to this SO page for more info: https://stackoverflow.com/questions/11421756/weverything-yielding-comparing-floating-point-with-or-is-unsafe

I agree that it's not much of an issue but disagree that it can't be avoided. By using std::equal_to and std::not_equal_to the warnings will go away. Or are you suggesting that the warnings should remain for when consumers compare Vectors objects with the == and != operators? As the warnings are quite annoying and the compiler flag is handy for non-library code, how should one compare SFML Vectors?

std::equal_to and std::not_equal_to are C++14 features, as such we could implement this for SFML 3

Comparing two sf::Vector2f using == has the same issues as comparing two floats. So, in my opinion, it should trigger the same warnings.
If you don't want to see these warnings, either configure your compiler accordingly (if you understand the warning and know what you're doing), or compare vectors with another function, that takes the floating point inaccuracy in account.
In short, handling sf::Vector2f (which is just a pair of floats) exactly the same way you would handle floats, seems rather logical to me. I don't see any reason to treat it differently.

Whoops. I mis-read the issue. Serves me right for reading quickly, :P. You were saying we should move to std stuff.

That is fair. I guess writing my own explicit compare function for vector equality should be good enough. I'll close the issue then.


How strict is the grpcio~=1.48.2 requirement?

I was trying to run openfl on a raspberry pi 3 B+ running debian 11 bullseye, and grpcio~=1.48.2 did not work because of a glibc version error. Downgrading to grpcio==1.44 seems to fix the problem, and openfl works fine from what I can tell (although I haven't tested this extensively). So, I was wondering if any features not in grpcio==1.44, but in grpcio~=1.48.2 are used? If not, would it make sense to depend on grpcio==1.44 instead?

Hi @pranavgade20, thanks for bringing this up and I'm thrilled to hear you're trying to run OpenFL on Raspberry Pi! We don't have a hard dependency on 1.48.2, but we are typically required to pin the latest available compatible package prior to release to avoid discovered security vulnerabilities. While I don't think we will be able to pin to grpcio==1.44, I'll look into loosening the requirement to gprcio<=1.48.2, which should allow you to install 1.44 afterwards without complaint from pip.

Closing due to inactivity.


Search function names only

Would be great to be able to just search within function names for the current project! Ideally it would be smart and work regardless of what language files are present within the project.
Or if this is too ambiguous, allow the user to define "search templates" (similar to https://github.com/Microsoft/vscode/issues/24008) where s/he can put in their own regexes which will match functions - so e.g. the user could create a template with a /def $searchterm/ regex, which would automatically populate $searchterm based on what was input, and would match all Ruby method names...

Wow, I second this idea to some degree.

Search results would contain a ton of common functions like (ngChanges, ngOnInit- from Angular, but I'm sure there's a lot of common function names across frameworks). Maybe lower them into a search subcategory with an alternate background; that requires takes two double taps on the keydown, or a direct mouse click to get to.

Just a ton of Functions... We made a ton of them, in large code bases It would be terrible to see them all.

"Go to symbol"/Cmd+T is pretty similar to what you're asking for, searching all symbols in a workspace.


LCMXO2-2000HC-5TG100C

Hello. Can I replace LCMXO2-2000HC-5TG100C with LCMXO2-2000HC-5TG100I ? LCSC has both of them but prices are 65$ vs 15$ correspondingly. Should I modify or recompile FPGA project if yes? Thank you!

Ok, so the difference between Industrial or Commercial is only Operating Temperature. But will firmware prepared for C device work with I device without modification (recompiling)?

You can use any temperature variant without changing the binary.

For me it shows both out of stock, but industrial is available pre-order, so it has the real updated price. Commercial one still has outrageous shortage price listed.

You can use any temperature variant without changing the binary.

Thank you!


Refactoring new buffer_data()

Sorry not to have merged sooner, please rebase / redo the commit in order to avoid the branch conflict.

I create new https://github.com/MediaArea/MediaInfoLib/pull/435


Advanced modularity tests

WIP

@cfvescovo what is wip about this?

We still have to devise a more comprehensive integration test

In the meantime, @enricogiglio could you take a look?

Perfect 🔥


How to ensure that Aider consistently produces repo map?

Issue
This is an excellent project, but during its usage, I encountered the following two difficulties:
Could you please explain why, when using Aider, it often does not generate a repo map? Is there a way to force it to always generate a repo map?
Another question is, can the repo map generated by Aider be saved? Could you tell me which files contain the relevant code for the repo map?
It would be greatly appreciated if these could be addressed and resolved.
Version and model info
No response

having the same issue

Thanks for trying aider and filing this issue.
What makes you think it is not generating a repo map?
When reporting problems, it is very helpful if you can provide:

Aider version
LLM model you are using

Including the “announcement” lines that aider prints at startup is an easy way to share some of this helpful info.
Aider v0.37.1-dev
Models: gpt-4o with diff edit format, weak model gpt-3.5-turbo
Git repo: .git with 243 files
Repo-map: using 1024 tokens

PS C:\Projects\fleet-management-system\fleet-management-frontend> python -m aider --model deepseek/deepseek-coder
Add .aider* to .gitignore (recommended)? y
Added .aider* to .gitignore
Aider v0.47.1
Model: deepseek/deepseek-coder with diff edit format
Git repo: ...git with 0 files
Repo-map: using 1024 tokens
VSCode terminal detected, pretty output has been disabled.
Use /help  for help, run "aider --help" to see cmd line args
Note: in-chat filenames are always relative to the git working dir, not the current working dir.
Cur working dir: C:\Projects\fleet-management-system\fleet-management-frontend
Git working dir: C:\Projects\fleet-management-system
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

/add src/App.js

No files matched 'src/App.js'. Do you want to create C:\Projects\fleet-management-system\src\App.js? n
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

/add App.js

No files matched 'App.js'. Do you want to create C:\Projects\fleet-management-system\App.js? n
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

what is my git repo map?

Since you haven't shared any files yet, I don't have access to your git repository map. To proceed, you would need to add the relevant files to the chat so I can assist you with the changes you requested. Please add the files you wish to modify, and I'll be
able to provide the necessary SEARCH/REPLACE blocks for the changes.
Tokens: 1,666 sent, 74 received. Cost: $0.00025 request, $0.00025 session.
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Git working dir: C:\Projects\fleet-management-system

To proceed with any changes, please add the specific files from your Git working directory C:\Projects\fleet-management-system that you wish to modify. Once the files are added to the chat, I can provide the necessary SEARCH/REPLACE blocks for the changes you
request.
Tokens: 1,774 sent, 58 received. Cost: $0.00026 request, $0.00052 session.
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

how do i do this? its an existing git repo and ive loaded you correctly into my git repo directory. you should already have a map of my entire git repo

It seems there might be a misunderstanding. As an AI, I don't have direct access to your filesystem or Git repository. I can only work with the files you explicitly add to the chat. To proceed, you need to copy the contents of the specific files you want to
modify and paste them into the chat. Once I have the file contents, I can provide the necessary SEARCH/REPLACE blocks for the changes you request.
Please follow these steps:
1 Open the file you want to modify in your text editor.
2 Copy the entire content of the file.
3 Paste the content into the chat.
After you've done this, I'll be able to assist you with the changes.

I figured it out eventually. Consider adding that to frequent errors for beginner-level coders please. It's an easy thing to miss.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.


Unsafe prefix coming in output.json with ta:NA

Hi Team,
I could see the below prefix is marked as 'AS0' in the output.json and the "ta" for it is coming as "N/A", as shown below:
{ "asn": "AS0", "prefix": "<IP_ADDRESS>/22", "maxLength": 24, "ta": "N/A" },

When I checked the Routinator logs for this prefix, I could see it is marked against 'AS9583' and is mentioned as "potentially unsafe". Could you please let me know the criteria for marking a prefix as "unsafe" and also is it a correct behaviour to have this same prefix in the output.json as marked as "AS0" and ta "NA"?
[2021-07-18 03:39:45] routinator::origins Encountered potentially unsafe VRP (<IP_ADDRESS>/22-24, AS9583)
Thanks,
Dali

Sorry, it is not an issue. This prefix was added through slurm file.


Hydra 1.1.0 does not override config (wheras 1.0.6 does)

I followed installation and starting with simclr guides on my personal computer. When I initialized the environment on a remote machine, some days later, I ran into problems. I tracked it down to hydra, which was updated 5d 9h (as of 11pm on 02.08. GMT+2) from 1.0.6 to 1.1.0 in anaconda.
Overrides do not happen and cfg stays at default values.
It worked on my local machine (initialized 27.07.). Today (02.08.) I updated hydra (only this package) manually to 1.1.0 and ran into the same problem as on my remote server.
Instructions To Reproduce the 🐛 Bug:

print cfg after L172 in run_distributed_engines.py following your tutorial

Expected behavior:
Updated cfg, i.e. 'NUM_PROC_PER_NODE': 1 and NOT 'NUM_PROC_PER_NODE': 8 (which is set as default).
Environment:
PyTorch version: 1.7.1
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.2 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-6ubuntu2) 7.5.0
Clang version: Could not collect
CMake version: version 3.16.3

Python version: 3.8 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: Could not collect
***

Nvidia driver version: 460.91.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.20.3
[pip3] torch==1.7.1
[pip3] torchvision==0.8.2
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               10.2.89              hfd86e86_1
[conda] faiss-gpu                 1.7.1           py3.8_h080d439_1_cuda10.2    pytorch
[conda] libfaiss                  1.7.1           h4fe19ad_1_cuda10.2    pytorch
[conda] mkl                       2021.3.0           h06a4308_520
[conda] mkl-service               2.4.0            py38h7f8727e_0
[conda] mkl_fft                   1.3.0            py38h42c9631_2
[conda] mkl_random                1.2.2            py38h51133e4_0
[conda] numpy                     1.20.3           py38hf144106_0
[conda] numpy-base                1.20.3           py38h74d4b33_0
[conda] pytorch                   1.7.1           py3.8_cuda10.2.89_cudnn7.6.5_0    pytorch
[conda] torchvision               0.8.2                py38_cu102    pytorch

cc @QuentinDuval who's looking at Hydra 1.1

Hi @smn57,
First of all thank you for using VISSL and raising the issue!
The short answer is VISSL does not yet support Hydra 1.1 (but it is coming !).
The longer reason is that Hydra 1.1 introduces non backward compatible change with Hydra 1.0.6 regarding the defaults list, and this requires some changes on VISSL as well as other Hydra client code.
In the meantime, you can use Hydra 1.0.6 or Hydra 1.0.7.
Sorry again for the inconvenience :/

Thank you for validating my assumption!

Closing the issue (Hydra 1.1 will be coming through another issue)