Embedded Tooltips - Elite Specs First Minor Trait

The first minor trait on elite specializations shows too much information. For example, Beserker for warrior shows the tooltip for ALL the burst skills. It needs to display "Primal Rage" and nothing more.

https://github.com/madou/armory-react/blob/master/src/common/components/Tooltip/Skill/index.js#L26
this is the reason for all the skills that you are seeing,
however, it looks intentional...
@madou can you shade some light?

how can we tell what we extra skills we should show (and what we shouldn't)?

That's exactly the point,
it is used to indicate the triat will "open" more skills,
when it's one skill it's really neat, more then one there is much more tooltips then needed,
maybe we should compose to 1 box with icon & name if skills.length > 1;

@madou?

hey, sorry missed this.
when i get home i might just double check what the tooltips look like in game first. still not 100% sure how best to handle this !

Alright, awaiting your response for this one, i would like to include it at the next patchset

ok so ideally we have something work like ingame (toggle through skills), but how about for now just show the first skill?

Or we just show the description and nothing else. That's something gw2efficiency does I believe.

thats kind boring tho

Then I would show just the first skill for now until we come up with another way of implentation.


News Extension

Is your feature request related to a problem? Please describe.
I would like to add a News Extension
Describe the solution you'd like.
This Extension will showcase the top headlines in India.

[x]  GSSoC  Contributor

Kindly assign it to me. @ridsuteri
Describe alternatives you've considered.
I'm a GSSoC contributor and would like to take up this issue. I will be using the News API
Add any other context or screenshots about the feature request here.
I also have an idea of customizing it ..like the user can give input of the 2-letter ISO 3166-1 code of the country you want to get headlines for. like in for India
OR
categories like business/science etc.
Which one should I do? Kindly guide

@shreya024 the idea sounds great, I think the category wise section is good for now, maybe you can add the country section later with some other PR

@shreya024 the idea sounds great, I think the category wise section is good for now, maybe you can add the country section later with some other PR

Okay thank you for your suggestion

@shreya024 the idea sounds great, I think the category wise section is good for now, maybe you can add the country section later with some other PR

Okay thank you for your suggestion

@shreya024 the idea sounds great, I think the category wise section is good for now, maybe you can add the country section later with some other PR

Should I make another issue for this or just raise another PR with the country section and better styling?

Raise another issue and then raise a PR


Rewrite imports for new github org

This rewrites the Go imports after switching to the new github org.
Make sure you move the containerd repo in your GOPATH to the correct location.
Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

in .travis.yml: go_import_path: github.com/docker/containerd

@dmcgowan thanks, my tool ignored hidden files

it does not look like the DCO check is running.  We will probably have to setup something like we did on OCI to have travis or pullapprove do the DCO check for us.

please format Go code with 'gofmt -s -w'

Looks like there are a few files that need a run through gofmt. ;)

Otherwise, LGTM

Seems to be related to sorting of imports, otherwise LGTM once travis passes

We can wait until i fix the DCO check to merge as well

Codecov Report

Merging #682 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #682   +/-   ##
=======================================
  Coverage   54.94%   54.94%
=======================================
  Files           5        5
  Lines         870      870
=======================================
  Hits          478      478
  Misses        289      289
  Partials      103      103

Impacted Files
Coverage Δ

snapshot/overlay/overlay.go
59.49% <ø> (ø)
:arrow_up:

snapshot/btrfs/btrfs.go
53.89% <ø> (ø)
:arrow_up:

snapshot/storage/boltdb/bolt.go
74.65% <ø> (ø)
:arrow_up:

snapshot/naive/naive.go
45.45% <ø> (ø)
:arrow_up:

snapshot/storage/boltdb/record.pb.go
39.43% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM

LGTM

The DCO check is handled by travis and I verified that it catches commits that are not signed.


Configurations are not distinct

If you have a csproj file with several configurations...

Debug|x86
Release|x86
Debug|x64
Release|x64

The resulting Configurations section of the vs2017 csproj will look like... Debug;Release;Debug;Release

Thanks for the PR, this is merged.


installation failed: Cython.Compiler.Errors.InternalError: Internal compiler error: 'TacsDefs.pxi' not found

File "/Users/Sansara/tacs-master/setup.py", line 77, in
ext_modules=cythonize(exts, include_path=inc_dirs))
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 965, in cythonize
module_list, module_metadata = create_extension_list(
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 829, in create_extension_list
kwds = deps.distutils_info(file, aliases, base).values
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 684, in distutils_info
return (self.transitive_merge(filename, self.distutils_info0, DistutilsInfo.merge)
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 693, in transitive_merge
return self.transitive_merge_helper(
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 699, in transitive_merge_helper
deps = extract(node)
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 664, in distutils_info0
cimports, externs, incdirs = self.cimports_externs_incdirs(filename)
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Utils.py", line 54, in wrapper
res = cache[args] = f(self, *args)
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 552, in cimports_externs_incdirs
for include in self.included_files(filename):
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Utils.py", line 54, in wrapper
res = cache[args] = f(self, *args)
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 534, in included_files
include_path = self.context.find_include_file(include, None)
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Compiler/Main.py", line 285, in find_include_file
error(pos, "'%s' not found" % filename)
File "/Users/Sansara/opt/miniconda3/lib/python3.8/site-packages/Cython/Compiler/Errors.py", line 178, in error
raise InternalError(message)
Cython.Compiler.Errors.InternalError: Internal compiler error: 'TacsDefs.pxi' not found
Where should TacsDefs.pxi come from, and what should it contain? I am sure I have successfully installed mpi4py. Is this due to other reason?

It sounds like you didn't compile the C++ using 'make' in the root directory first. This should create TacsDefs.pxi needed for the cython compilation.


C27 refactor and integrate front backend

Change Summary

Frontend is redesigned using data-binded render
Backend is redesigned
changing variables name for consistency
Added Frontend functions to integrate with Backend
Added data loading

Note @UWA-CITS3200-18-2021/c3200-team , this PR contains a breaking change that will require you to delete all traces of your database to undergo full migration process.
If you have any difficulties after this change, please contact me or @Alexkszzz.


User validation binary

This issue is to track the the progress of creating a new binary with the following requirements:
For the purposes of user creation non-interactively it makes more sense to use this where necessary via a script of some kind.
Requirements

[ ] A single user name as input
[ ] A single user email as input
[ ] Optional user status for desired outcome
[ ] Optional user groups as input
[ ] A pattern, similar to the site-checker implementation
[ ] Drush aliases in the form of a comma-separated value which is tokenized into the pattern input
[x] Binary will scan an alias for a list of users, store those users and the associated details in memory.
[x] Binary will scan an alias for a list of roles, and store the roles associated details in memory.
[x] Binary will create the user if required.
[ ] Binary will assign user roles to the user
[ ] Binary will remove the user roles when the role is not in the list
[ ] Binary will validate the user name against the input user email, and change the email address if required
[ ] Upon completion, the affected user will be re-evaluated.

For said library:
struct User

name
email
status
groups

structure

Registered
Block
Activate
AssertEmail
RemoveGroup
AddGroup
GetUser
GetStatus
GetGroups

Current status of project structure:

Current binary being tested is able to populate an object from a single drush command containing user UID, mail, name and status. It can also search for an item in this object with the uid, name or email as query values, and it can assign roles to a specific user via the DrupalUserList.GetUser() method.
We currently need action-based functions, as well as validation functions. The validation functions could be written in the space of a few minutes via the official API.

Current status:

Email change function needs content.
Password change function needs content.
Role add/remove function needs content.
Binary to be configurable.

Now all done, just need to deal with an import cycle problem, and test the resulting binary.


Split logs into multiple files

Right now logs keep getting appended to one file, which grows to GBs. We need to automatically split into a new file when we go over certain size.

I'm considering stealing this issue, but I'm thinking if we should maybe use CocoaLumberJack for logging then? It has this functionality built in + logging to different places, nice colors etc. I could migrate everything to that. What do you think?

Sounds good - currently we're using a tiny class I wrote in BuildaUtils for this. I'm not positive we need to bring in a large dependency like Lumberjack yet. So if you could take a look at the state of it and evaluate what additional feature we'd get, that would definitely be super helpful.
Yes, the splitting of log files is nice, but we can write that ourselves easily. So again, I'm happy to bring in CL as long as there are enough benefits.

I have looked a bit at it. The health of the project is very good, with many contributors and is being used in a a lot of other projects. However, the Swift 2.0 support is currently in beta, but since it's a pretty small project I image there isn't much that will go wrong.
The pros of CocoaLumberjack for Buildasaur (in my opinion):

Splits log files
Deletes old files (why keep gigabytes of data)?
Log levels - let the user decide how verbose Builda is in console/file etc (which allows us to add a lot of more info logging that is easily turned off)

Also there's colored console output, which is mostly just because I personally like when it's easy to distinguish warns/errors from info output :smile: not really required for Buildasaur.
The cons:

Well, like you said it's a another dependency
Arguably, all of the points above are relatively easily added to your current class

In the end, It's up to you to choose. I can't argue that CL is needed. It's a fun project for sure but definitely not revolutionary for Buildasaur.

Okay, go for it and replace the guts of the current Log class in
BuildaUtils - so that we don't actually have to change the calls, just call
lumberjack under the hood.
Thanks for taking the time!
On Thu, Oct 15, 2015 at 7:46 AM Joel Ekström<EMAIL_ADDRESS>wrote:

I have looked a bit at it. The health of the project is very good, with
many contributors and is being used in a a lot of other projects. However,
the Swift 2.0 support is currently in beta, but since it's a pretty small
project I image there isn't much that will go wrong.
The pros of CocoaLumberjack for Buildasaur (in my opinion):

Splits log files
Deletes old files (why keep gigabytes of data)?
Log levels - let the user decide how verbose Builda is in
console/file etc (which allows us to add a lot of more info logging that is
easily turned off)

Also there's colored console output, which is mostly just because I
personally like when it's easy to distinguish warns/errors from info output [image:
:smile:] not really required for Buildasaur.
The cons:

Well, like you said it's a another dependency
Arguably, all of the points above are relatively easily added to
your current class

In the end, It's up to you to choose. I can't argue that CL is needed.
It's a fun project for sure but definitely not revolutionary for Buildasaur.
—
Reply to this email directly or view it on GitHub
https://github.com/czechboy0/Buildasaur/issues/142#issuecomment-148297140
.

I have now implemented this at https://github.com/accatyyc/Buildasaur/tree/lumberjack.
In my opinion there's not much value in proxying through the current log system, since it was already 99% similar to CocoaLumberjack. The result is that all that remains is this:

public class Log {
    public class func verbose(message: String) {
        DDLogVerbose(message)
    }

    public class func info(message: String) {
        DDLogInfo(message)
    }

    public class func error(error: ErrorType) {
        self.error("\(error)")
    }

    public class func error(message: String) {
        DDLogError(message)
    }

    public class func untouched(message: String) {
        DDLogInfo(message)
    }
}

It should probably contain a function here for warn as well since it's supported by CL, but it feels like this class is not really needed anymore. What do you think?

Yeah I've used CL before, so I modeled the API very similarly on purpose. But the reason why I really like proxying through the current class is that we don't need to import CocoaLumberjack all over XcodeServerSDK and Buildasaur. Especially if we eventually change the underlying logging implementation, constantly requiring clients of BuildaUtils to change the API is unnecessary. So mostly

no need for an extra import
hiding away the implementation detail of using CL, they'll only be able to tell once they run pod install, because it will become a dependency.

Also, this is the class where you should plug in CocoaLumberjack. It needs to live in BuildaUtils, because it's shared between Buildasaur and XcodeServerSDK.
The class you changed just sets up the Logging class from BuildaUtils, but technically that shouldn't need to change at all (because all the details of how we log should live in BuildaUtils).
Let me know if you need any help with this :+1:

Yeah, it's the class I changed :) I also just changed the classes names during setup in that other place. I can add back the previous subclasses if you want but they didn't need any methods so it felt unnecessary.

Oh wait, never mind that. Didn't realise there were two of the same. Will take a look at it!

Yeah there are two classes with the same name, sorry.

Hey @accatyyc, have you ever finished this one? :)

Actually, I have totally forgotten about it :smile:
It shouldn't be much work to finish it if you've decided that the Lumberjack-dependency is OK. Any other thoughts than the previous discussion?

Well, I'd prefer if we could just re-implement the bit that splits the log files when they get large. I would prefer to NOT pull in the whole CL project, because it will be a dependency of BuildaUtils, which is also a dep for XcodeServerSDK. Maybe we could just look at how CL does it and use a simplified version.

Ok! I can take a look at a simple file-split implementation!

:+1: Thanks. I don't want people to end up with multi-GB log files and then be mad :blush:

Implemented in https://github.com/czechboy0/BuildaUtils/pull/11

Once I merge the PR in BuildaUtils, I'll release a new version right away so that you can finish up the integration in Buildasaur. :+1:

@accatyyc ok, I released https://github.com/czechboy0/BuildaUtils/releases/tag/v0.2.5 , so feel free to update it here in Buildasaur and integrate with the defaults we talked about.


[security] Upgrade Jackson Databind to 2.9.7 or higher

Jackson Databind version 2.9.5 has a security vulnerability, see here: https://app.snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-72451
Please upgrade com.fasterxml.jackson.core:jackson-databind to version 2.9.7 or higher.

Hello
Thanks for your PR.
Can you pick your commit to apply it against the branch releases/1.4.x ?
So the fix can be released has an hotfix.


Bump object version to 0.30.0

Released as v0.1.2. Are you planning on updating rustc or do you want me to open a PR?

Thanks! I plan to bump object to 0.30.0 in rustc (also including this) so that we can add big archive support into rustc.


How to join a public supergroup?

I created a public supergroup, and generated a link("t.me/username",not invite link).
I used a other account to join it by brower, and it worked well. By programming way, how to join it by the public link, which method should I invoke?.

Usually, I could get the public supergroup's share link or exact title only, from other members.
Via method "searchPublicChats" with param exact title, I want to get the exact chat id, but some other chat ids return to me. To find the exact  chat , I need to join all chats via  chat ids,and use "getChat" to get all chats, then compare the chats' titles to the exact title. It's so complex.

You can use searchPublicChat method, it will return 1 result only.

You can use searchPublicChat method, it will return 1 result only.

But it can search via username only. Sometimes, I could not know  the supergroup's username, but only title.

@Pauya You can find a chat by its username using the method searchPublicChat. You can find a public chat by a title only through searchPublicChats, but some chats can't be found through that method. Also, there can be millions chats with the same title, so what you are asking for is not possible.


Workaround for windows fact errors; empty plugins fact returns nil

Fix Windows fact error:
ERROR puppetlabs.facter - error while resolving custom facts in C:/ProgramData\PuppetLabs\puppet\cache\lib\facter\jenkins.rb: cannot load such file -- puppet/jenkins/facts
Remove empty fact jenkins_plugins for nodes not running Jenkins server

I believe https://github.com/voxpupuli/puppet-jenkins/pull/947 should fix this in a cleaner way.


Heroku deploy

Hi
I try to deploy that on heroku but no success at all :
2022-09-19T10:03:07.604462+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-19T10:03:10.241185+00:00 heroku[web.1]: Starting process with command sh run
2022-09-19T10:03:11.057866+00:00 app[web.1]: Error: No such file or directory
2022-09-19T10:03:11.179691+00:00 heroku[web.1]: Process exited with status 126
2022-09-19T10:03:11.309392+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-19T10:03:11.316401+00:00 heroku[web.1]: State changed from crashed to starting
2022-09-19T10:03:13.875922+00:00 heroku[web.1]: Starting process with command sh run
2022-09-19T10:03:14.852181+00:00 app[web.1]: Error: No such file or directory
2022-09-19T10:03:14.967748+00:00 heroku[web.1]: Process exited with status 126
2022-09-19T10:03:15.048950+00:00 heroku[web.1]: State changed from starting to crashed
2022-09-19T10:03:55.340591+00:00 heroku[run.8184]: State changed from starting to up
2022-09-19T10:03:55.395138+00:00 heroku[run.8184]: Awaiting client
2022-09-19T10:03:55.416529+00:00 heroku[run.8184]: Starting process with command sh
2022-09-19T10:04:00.270692+00:00 heroku[run.8184]: Process exited with status 127
2022-09-19T10:04:00.364561+00:00 heroku[run.8184]: State changed from up to complete
2022-09-19T10:04:20.951138+00:00 heroku[run.4843]: State changed from starting to up
2022-09-19T10:04:21.163866+00:00 heroku[run.4843]: Awaiting client
2022-09-19T10:04:21.182053+00:00 heroku[run.4843]: Starting process with command /bin/bash
2022-09-19T10:04:24.642136+00:00 heroku[run.4843]: Process exited with status 127
2022-09-19T10:04:24.714416+00:00 heroku[run.4843]: State changed from up to complete
2022-09-19T10:04:34.404329+00:00 heroku[run.3301]: Awaiting client
2022-09-19T10:04:34.422731+00:00 heroku[run.3301]: Starting process with command /bin/sh
2022-09-19T10:04:34.547798+00:00 heroku[run.3301]: State changed from starting to up
2022-09-19T10:04:37.817706+00:00 heroku[run.3301]: Process exited with status 127
2022-09-19T10:04:37.939999+00:00 heroku[run.3301]: State changed from up to complete
2022-09-19T10:05:02.690547+00:00 heroku[run.1761]: State changed from starting to up
2022-09-19T10:05:02.649006+00:00 heroku[run.1761]: Awaiting client
2022-09-19T10:05:02.667634+00:00 heroku[run.1761]: Starting process with command /usr/bin/env bash
2022-09-19T10:05:06.046261+00:00 heroku[run.1761]: State changed from up to complete
2022-09-19T10:05:05.986147+00:00 heroku[run.1761]: Process exited with status 127
2022-09-19T10:05:25.125873+00:00 heroku[run.9142]: State changed from starting to up
2022-09-19T10:05:25.328585+00:00 heroku[run.9142]: Awaiting client
2022-09-19T10:05:25.345425+00:00 heroku[run.9142]: Starting process with command /usr/bin/python3
2022-09-19T10:05:28.795363+00:00 heroku[run.9142]: State changed from up to complete
2022-09-19T10:05:28.709140+00:00 heroku[run.9142]: Process exited with status 127
2022-09-19T10:05:44.040122+00:00 heroku[run.5216]: Awaiting client
2022-09-19T10:05:44.056864+00:00 heroku[run.5216]: Starting process with command sudo /usr/bin/python3
2022-09-19T10:05:44.005204+00:00 heroku[run.5216]: State changed from starting to up
2022-09-19T10:05:47.415691+00:00 heroku[run.5216]: Process exited with status 127
2022-09-19T10:05:47.467536+00:00 heroku[run.5216]: State changed from up to complete
2022-09-19T10:11:12.951744+00:00 heroku[run.1757]: State changed from starting to up
2022-09-19T10:11:12.840771+00:00 heroku[run.1757]: Awaiting client
2022-09-19T10:11:12.856362+00:00 heroku[run.1757]: Starting process with command bash -c 'python run.py'
2022-09-19T10:11:16.426358+00:00 heroku[run.1757]: State changed from up to complete
2022-09-19T10:11:16.239956+00:00 heroku[run.1757]: Process exited with status 127
2022-09-19T10:11:09.863408+00:00 app[api]: Starting process with command bash -c 'python run.py' by user

Ty
Tried to modified Dockerbuild like that :
FROM python:3.7-alpine AS build
COPY requirements.txt /tmp/requirements.txt
RUN apk update &&
apk add --no-cache gcc bash g++ libffi-dev openssl-dev libxml2-dev libxslt-dev build-base musl-dev &&
pip install -U pip &&
pip install --timeout 30 --user --no-cache-dir --no-warn-script-location -r /tmp/requirements.txt -i https://pypi.douban.com/simple
FROM python:3.7-alpine
ENV APP_ENV=prod
ENV LOCAL_PKG="/root/.local"
COPY --from=build ${LOCAL_PKG} ${LOCAL_PKG}
ENV HEROKU_EXEC_DEBUG=1
RUN apk update && apk add --no-cache libffi-dev openssl-dev libxslt-dev &&
ln -sf ${LOCAL_PKG}/bin/* /usr/local/bin/
Set the working directory to /app
WORKDIR /app
Copy the current directory contents into the container at /app
COPY . /app
Expose port 3000 for accessing  the app
EXPOSE 5555
This allows Heroku bind its PORT the Apps port
since Heroku needs to use its own PORT before the App can be made accessible to the World
EXPOSE $PORT
RUN adduser -D myuser
USER myuser
CMD chmod +x supervisord
ENTRYPOINT ["/bin/sh"]
CMD python run.py
Like i found on internet, no persistant folder, expose should be a variable and script dont allowed to run at root


Don't use parameters with to_tsvector to greatly improve performance

Static values in the sql query perform much faster

https://github.com/npgsql/efcore.pg/pull/1888 - this is the EFCore issue for reference.

https://github.com/npgsql/efcore.pg/pull/1888 - this is the EFCore issue for reference.


[5.0.0-alpha.3.0] Can't bundle Typescript

I'd like to use karma-webpack to compile typescript.

Operating System: Windows 10
Node Version: v11.9.0
NPM Version: 6.5.0
webpack Version: 4.35.2
karma-webpack Version: 5.0.0-alpha.3.0

Expected Behavior
Successfully complete test.
Actual Behavior
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be one of type string, TypedArray, or DataView. Received type undefined
    at Hash.update (internal/crypto/hash.js:64:11)
    at Object.sha1 (C:\Users\HiICS\Desktop\karmatest\node_modules\karma\lib\utils\crypto-utils.js:9:8)
    at nextPreprocessor (C:\Users\HiICS\Desktop\karmatest\node_modules\karma\lib\preprocessor.js:28:30)
    at processFile (C:\Users\HiICS\Desktop\karmatest\node_modules\karma-webpack\lib\karma-webpack.js:120:5)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)

karma-webpack generates a name of bundle file from .ts path.
https://github.com/webpack-contrib/karma-webpack/blob/eec6dfc9e80413fe957136975034757bdffe9e8e/lib/karma-webpack.js#L84-L87
However it gets a bundle content from a file path generated from .js path.
So, second argument of done() is always undefined.
https://github.com/webpack-contrib/karma-webpack/blob/eec6dfc9e80413fe957136975034757bdffe9e8e/lib/karma-webpack.js#L105-L120
Code
// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['jasmine'],
    files: ['index.test.ts'],
    preprocessors: {
      '*.ts': ['webpack']
    },
    browsers: ['Chrome'],
    webpack: {
      resolve: { extensions: ['.ts'] },
      module: {
        rules: [
          { test: /\.ts$/, use: ['ts-loader'] }
        ]
      }
    }
  })
}

// index.test.ts
describe("Test", () => it("test", () => expect(true).toBe(true)));

How Do We Reproduce?
See karma.conf.js above. You can install all dependencies by npm i -D karma karma-chrome-launcher karma-jasmine jasmine<EMAIL_ADDRESS>webpack ts-loader typescript @types/jasmine. This bug is also reproduced if you use mocha. No problem even if tsconfig.json is an empty file.
It's not reproduced in<EMAIL_ADDRESS>

I made a patch for this issue. Hope this helps anyone.

To limit confusion, I am combining all threads for webpack 5 / karma6 support over here ==> https://github.com/ryanclark/karma-webpack/issues/475

v5 is now available


api_service: wait until a pod regs with machined

If we return before we're registered with machined, we could return a
wrong cgroup because the pod is not yet moved to its final cgroup.
Wait until we're registered with machined for 500ms before returning
pod's information.
Fixes #2778

Switched to os/user instead of our own pkg/passwd.

It seems even with this patch, the test fails on Debian :/
https://jenkins-rkt-public.prod.coreos.systems/job/rkt-matrix/229/dummy=dummy1,label=fedora-22-flavor-coreos/consoleFull

Does it still trigger with @alban's sleep-reproducer? It could be that there are multiple issues at play in #2778.

Does it still trigger with @alban's sleep-reproducer? It could be that there are multiple issues at play in #2778.

I didn't trigger it on my machine with a tweaked sleep-reproducer that only sleeps 300ms (hence, in our tolerance range).

Does it still trigger with @alban's sleep-reproducer? It could be that there are multiple issues at play in #2778.

I also tried to reproduce with my sleep-reproducer and @iaguis' PR seems to work as expected, so it is fixing one race.
However, I had to change the timeout that api-service waits until the pod is registered to machined to 15 seconds so it is bigger than the sleep-reproducer of 12 seconds in nspawn.
I wonder if @iaguis'  timeout of 500ms is too short on really slow machines. The timeout should be bigger than the time between:

rkt taking the lock on the pod directory.
systemd-machined finishing the registration as asked by systemd-nspawn.

I suggest to merge this PR and see if there are still other races after.


I had to install dependencies

Hello,
I've been trying to use the library but got the following errors related to unresolved dependencies.
Installing those two libs fixed the error, not sure why it happened in the first place.
ERROR in ./node_modules/lodash.debounce/index.js
Module not found: Error: Can't resolve './../webpack/buildin/global.js' in '{my-projet-path}\node_modules\lodash.debounce'
 @ ./node_modules/lodash.debounce/index.js 1:0-41
<EMAIL_ADDRESS><EMAIL_ADDRESS> @ ./scripts/app.js

ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve '@unseenco/e' in '{my-projet-path}\node_modules\@ashthornton\asscroll\src'
<EMAIL_ADDRESS>1:0-28 2:12-13
<EMAIL_ADDRESS> @ ./scripts/app.js

Thanks for pointing this out @LeoSeyers, I've now corrected the dependency type for those modules.


Cannot setup Remote-Containers after updated to Windows 11 version 22H2

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: Version: 1.65.2 (user setup)
OS Version: Windows_NT x64 10.0.22581

Steps to Reproduce:

Update to Windows 11 version 22H2
Remote-SSH to my host computer
Attach VS Code to container in my host computer

The terminal shows log:
[18105 ms] Remote-Containers 0.231.0 in VS Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1).
[18105 ms] Start: Run: ssh <IP_ADDRESS> /bin/sh
[18111 ms] Start: Run in host: id -un

Does ssh <IP_ADDRESS> /bin/sh work from a terminal?


support shadowRoot handlers

It would be great to be able to also query shadowRoot when specifying handlers. This would be useful for instance when we are using html5sortable with Polymer (2 or 3):
<dom-module id="custom-drag-wrapper">
  <template>
      <iron-icon id="drag" icon="editor:drag-handle" alt="drag me"></iron-icon>
     <slot></slot>
  </template>
</dom-module>

and then :
 // initiate sortable with handler in shadowRoot:
 sortable( ..., {handle: '#drag'});

Submitting a PR soon.

I am looking forward to the PR, this sounds very interesting.


FAILURE: Build failed with an exception. when registering app to firebase

Describe the bug
I tried to register my application to firebase and followed the instructions to add the following lines to gradle files :
classpath 'com.google.gms:google-services:4.3.2'

implementation 'com.google.firebase:firebase-analytics:17.2.0'
apply plugin: 'com.google.gms.google-services'

I have also tried to edit it on android studio and also used the "sync now" option and it fails to sync due to an ASCII error.
full error:
* Error running Gradle:
ProcessException: Process "E:\flutter apps\todolist_unmodified_dup\android\gradlew.bat" exited abnormally:

FAILURE: Build failed with an exception.

* Where:
Build file 'E:\flutter apps\todolist_unmodified_dup\android\app\build.gradle' line: 24

* What went wrong:
A problem occurred evaluating project ':app'.
> ASCII

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
  Command: E:\flutter apps\todolist_unmodified_dup\android\gradlew.bat app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

I have also tried to follow the steps from https://github.com/flutter/flutter/issues/41492 and https://github.com/gradle/gradle/issues/1747, tried to delete .gradle file and flutter clean but the error was still there.
project repository:
https://bitbucket.org/Anurag_vadd/todolist/src/master/

Hey, did you figure this out? Having the exact same problem.

Hey, did you figure this out? Having the exact same problem.

yep, in my case i had to change the code classpath 'com.google.gms:google-services:4.3.3 to classpath 'com.google.gms:google-services:4.2.0.
if that doesnt work, check your com.android.tools.build:gradle:x.x.x under android/build.gradle file. at the moment, i am using com.android.tools.build:gradle:3.2.1
i would suggest change both lines of code.


how do i start the printer mod like what keybind

The mod replaces the "easy place mode" of the standard litematica mod. This means that whatever keybind you have set to toggle easy place mode on/off, will instead toggle the printer on/off.


Uncaught translation error : java.lang.IllegalArgumentException: already added

1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Address;
1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Authenticator;
1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Cache$1;
1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Cache$2;
1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Cache$CacheRequestImpl$1;
1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Cache$CacheRequestImpl;
1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Cache$CacheResponseBody$1;
1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Cache$CacheResponseBody;
1>COMPILETODALVIK : Uncaught translation error : java.lang.IllegalArgumentException: already added: Lcom/squareup/okhttp/Cache$Entry;
This happens when I add OkHttp to a PCL which is added to a Xamarin Forms (shared) application. It seems to try to add this twice. Not sure how to resolve.

This seems very clearly like a build tools problem and not a problem with OkHttp itself. Somehow you are getting two OkHttp instances trying to be added to your project.

@JakeWharton Thanks for the quick reply. How can I resolve this ? I am not using any build tool that I know of.. only Visual Studio 2015. The Android dependency is loaded via nuget into a shared Xamarin Forms Project.

Sounds like something you might want to ask on Stack Overflow. This tracker is for bug reports (with test cases) and feature requests only.


[2.0] Monolog

In sentry client v1 we were able to use the Raven_Breadcrumbs_MonologHandler handler. Is there a similar functionality in v2? There doesn't appear to be any documentation on this and it isn't listed as a removed feature either.

There is no feature like that one in the v2. We are reasoning about adding it back and there is an open issue in Seldaek/monolog#1273 to track the feature request. In the meantime the only way to do it is to write yourself the handler

There doesn't appear to be any documentation on this and it isn't listed as a removed feature either.

It is here

It is here
Ah thanks, I missed that. I was reading the official docs and didn't notice anything.

@ste93cry Would you consider creating a repository under @getsentry organization as suggested in linked issue and maintain it there?

@fmasa We will move the code into this package.

@HazAT Thank you, that will be great :+1:

Hi, any ETA to create monolog handler for 2.0 version?

I'm also waiting to upgrade until the monolog handler is bundled.

Hi, any ETA to create monolog handler for 2.0 version?

I've opened the PR that should fix this issue. If you have any suggestion they are welcome! Please note that following Semver the first version that will include such feature will be 2.1

@ste93cry is there anyway to use monolog handler to track breadcrumbs as it did with the old raven sdk?

getsentry/sentry-php#844 is still pending review/discussion and should implement such feature, but talking with @untitaker I found out that in other SDKs the decision was to avoid as much as possible pulling information from structured logging entries, so it may be that it won't be supported anymore out-of-the-box. Of course this doesn't means that it cannot be implemented in your own project. My suggestion until a final decision on the matter is taken is to decorate the handler and add the breadcrumbs to the scope using withScope or configureScope

Ok no problem. I implemented my own which seems to be working well in case anyone else wants to use it.
<?php

declare(strict_types=1);

use Monolog\Handler\AbstractProcessingHandler;
use Monolog\Logger;
use Sentry\State\HubInterface;
use Sentry\State\Scope;
use Sentry\Breadcrumb;

/**
 * This Monolog handler logs every message to a Sentry's server using the given
 * hub instance.
 *
 * @author Stefano Arlandini<EMAIL_ADDRESS> */
final class MonologBreadcrumbHandler extends AbstractProcessingHandler
{
    /**
     * @var HubInterface
     */
    private $hub;

    /**
     * Constructor.
     *
     * @param HubInterface $hub    The hub to which errors are reported
     * @param int          $level  The minimum logging level at which this
     *                             handler will be triggered
     * @param bool         $bubble Whether the messages that are handled can
     *                             bubble up the stack or not
     */
    public function __construct(HubInterface $hub, $level = Logger::DEBUG, bool $bubble = true)
    {
        $this->hub = $hub;

        parent::__construct($level, $bubble);
    }

    /**
     * {@inheritdoc}
     */
    protected function write(array $record): void
    {
      $level = $this->getSeverityFromLevel($record['level']);
      $message = $record['message'];
      $type = Breadcrumb::TYPE_DEFAULT;
      $category = 'monolog';
      $metadata = $record['context'];

      $breadcrumb = new Breadcrumb($level, $type, $category, $message, $metadata);
      $this->hub->addBreadcrumb($breadcrumb);
    }

    /**
     * Translates the Monolog level into the Sentry severity.
     *
     * @param int $level The Monolog log level
     *
     * @return Severity
     */
    private function getSeverityFromLevel(int $level): string
    {
        switch ($level) {
            case Logger::DEBUG:
                return Breadcrumb::LEVEL_DEBUG;
            case Logger::INFO:
            case Logger::NOTICE:
                return Breadcrumb::LEVEL_INFO;
            case Logger::WARNING:
                return Breadcrumb::LEVEL_WARNING;
            case Logger::ERROR:
                return Breadcrumb::LEVEL_ERROR;
            case Logger::CRITICAL:
            case Logger::ALERT:
            case Logger::EMERGENCY:
                return Breadcrumb::LEVEL_CRITICAL;
            default:
                return Breadcrumb::LEVEL_INFO;
        }
    }
}

using it like this:
        $hub = \Sentry\State\Hub::getCurrent();
        $sentryHandler = new MonologBreadcrumbHandler($hub);
        $logger->pushHandler($sentryHandler);

@esetnik I released a dedicated handler lib if you are interested -> https://github.com/B-Galati/monolog-sentry-handler

What's the status here? The monolog documentation says the handler in sentry-php is the one to use. But there is no mention of it anywhere in the sentry-php documentation.

FTR, #808 added it in 2.1.0 of this client.


Update to env_logger 0.9

Thanks for your contribution. Likewise, this has already been done in new-api that I intend to merge to dev soon-ish. Is there any particular reason you need this in dev now?

Not really, I just noticed that one of my crates depends on two versions of env_logger now.


Validate container permissions for static interface-range relationships

Resolves https://github.com/OSU-Net/cyder/issues/982

It's worth noting that if a range is removed from a container, the interfaces in that range won't be re-validated. But no one will be able to update them until they are put in an appropriate range/container.

According to @akeym, a static interface should be allowed not to be inside a static range.

It's very important that every object can be successfully re-saved without modifications—a user shouldn't be able to break things for other users in such a non-obvious way. Re-validating interfaces that are no longer allowed in a range is definitely the way to go, even if it's expensive.

This edge case is a fun one.. we shouldn't allow static interfaces to exist that use IPs that we don't have networks for... but not having a range is okay - e.g. router interface on a subnet is <IP_ADDRESS> and the range is <IP_ADDRESS>-127.  I think we allow this if dhcp is disabled currently?

@drkitty This circumstance is a bit different. It's not a matter of the form loading incorrectly, so submitting it immediately creates errors; rather, the object simply can't be updated unless the user chooses a correct container for it.
This issue wasn't introduced by this pull request, either. I think that removing a domain from a container has the same effect on various records that have containers which must match their domain's container. It's annoying, for sure; but I can't imagine any scenarios that would make fixing it a priority.

If this state of affairs is really unacceptable, then I think these are the only real solutions...

Delete all of the interfaces in range R when R is removed from container X.
Delete all of the interfaces in range R that are in container X when R is removed from X. (a bit ambiguous)
Reassign all of the interfaces in range R that are in container X to another one of R's containers when R is removed from X (not always possible, ambiguous)
Don't allow R to be removed from container X if there are interfaces in R that are in container X.

Implementing any one of these is going to be a bit tedious, but I'm pretty sure it can be done.

option four is acceptable to me.  Should this be done in a different PR/issue?

Yeah, since it's an issue independent of this pull request. I've created a new issue for it at https://github.com/OSU-Net/cyder/issues/987.

Well, I suppose this one is ready


Fix the SwapchainDescription.SyncToVerticalBlank value being ignored

…when creating a Swapchain. Seems like a regression from 4.0.0.

The fix looks good. Thanks for catching this. I'm going to:

Merge this
Add a test for Swapchain creation
Tag a 4.1.1 version
Upload to nuget.org


ambertools: init at 24

Adds the AmberTools, the programs required to set up a MM simulation for Amber itself, but also for many other programs, that read Amber files such as CP2K, NWchem, Gromacs, OpenMM, NAMD, ...
The installation is relatively wild. AmberTools

vendors half the universe (NetCDF, Boost, BLAS, LAPACK, Packmol)
wants to download Miniconda in CMake to provide its own Python
refuses to use an installed Boost library
hardcodes /bin/bash in multiple locations, not only in shebangs, but also in python scripts, that then generate bash scripts
uses magic scripts that should be sourced before running any program from the AmberTools
Tries to update its own sources when calling cmake
uses bash wrappers around cmake
is half a python package that doesn't use python tooling but cmake and requires a format = "other"; build.
Says it is mostly GPL3 on the web page, but requires a mail address and institution for downloading. The readme says it may not be redistributed, while the license clearly says otherwise and lists a funny mix of licenses from BSD3, ASL 2.0, LGPL, GPL3 and 2, MIT and other commong OpenSource Licenses.

I've tried to circumvent all these peculiar decisions as good as possible. Most libraries should now be system libraries but I think some subprograms still build their own NetCDF, despite other parts of Cmake finding it. As far as I can tell it should mostly work now.

Wow, this is amazing. Have had to drop down to conda so many times due to ambertools crazyness, thanks for this!

I feel your pain :smile: For stuff like poltype2 I also couldn't find another solution than a wapper around micromamba (https://github.com/Nix-QChem/NixOS-QChem/blob/master/pkgs/apps/poltype2/default.nix).
If you could run a test for this PR and let me know if it also works for you, @ryanswrt , that would be great! :smiley:

@sheepforce - it builds on my end, had a strange error on the first build attempt post adding the ambertools tarball, might have been OOM though.
Unfortunately testing is hard as I don't use ambertools directly, its a dependency for OpenFF and acpype  - and unsure if they'll work with version 24, but will see if I can build them using this when I have time.

Unfortunately testing is hard as I don't use ambertools directly, its a dependency for OpenFF and acpype - and unsure if they'll work with version 24, but will see if I can build them using this when I have time.

I see, understandable. :) If you have an OpenFF nix expression, however, would you be willing to contribute it? I've also already thought about packaging it.

Alright, should we merge or anything else to do? :)

Alright, should we merge or anything else to do? :)

Wait a minute. Hydra seems to ignore the meta tag. I suspect release.nix.

That should fix the problem now. It is a bit hacky, but we have never honored hydraPlatforms before anyways.
Note that this needs to be handled by release.nix, as Hydra itself does not look for meta.hydraPlatforms


Update apply_delta.py

In the apply_delta_low_cpu_mem() function, the for loop in the if name not in delta_state_dict: clause will iterate over all of the parameters in the base model's state dict, even if the delta_state_dict does not contain all of the parameters. This can lead to a significant memory leak, as the delta_state_dict will be loaded into memory even if it is not used. I guess we can add a check to the if name not in delta_state_dict: clause to see if the parameter is already in the weight_map dictionary. If it is, then there is no need to load the parameter from the delta_state_dict, as it will already be in the target model's state dict.

Thanks for your effort! We'll soon integrate it into our ToolBench-v2.


completion handler called before image is save to disk

I'm using SDWebImage to fetch images to disk for QLPreviewController (which only accepts file:// urls). However, often in the completion callback, the image has not made it to disk yet. This is because the save operation is queued and then the completion callback is called without waiting:
https://github.com/rs/SDWebImage/blob/master/SDWebImage/SDWebImageManager.m#L233
Any advice?

https://github.com/rs/SDWebImage/issues/967 https://github.com/rs/SDWebImage/issues/339

@ghazel #967 talks about adding a filename extension to the cached file. this shows that the completion block is fired using sync not async so it fires after the storeImage is made.

storeImage appears to use async, not sync:
https://github.com/rs/SDWebImage/blob/master/SDWebImage/SDImageCache.m#L209

missed that, you are right indeed! Can you propose a solution for that?

Adding yet another even to the ioQueue for the completion would do it (as long as it's serial, which it is). Kinda hacky, but simple. Something like:
dispatch_async(self.ioQueue, ^{
    dispatch_main_sync_safe(^{
        if (!weakOperation.isCancelled) {
            completedBlock(downloadedImage, nil, SDImageCacheTypeNone, finished, url);
        }
    });
});

The Right Way would probably be to add a completion callback to storeImage.

Both ways are fine since the queue is serial but i would add a completion block to the storeImage. @bpoplauschi what do you think?

Although I should mention, another consideration here is the most users probably don't care about when the file written to the disk cache.  If you were, say, trying to set images on a UIImageView as quickly as possible, waiting for the file to write to disk would slow things down.

I need this. I need the path of the image for a local notification attachment.

@zapjonny this thread was sleeping :) let us know if we can help you in any way, but we won't be able to do much. Only if you have an idea on how to implement this

My idea was to save the uiimage to disk myself, if possible, then use that completion handler...

Looking at the latest version of SDWebImage, I know we have refactored the SDImageCache.storeImage methods to be async, so they support a completion block. The issue now is the calls from SDWebImageManager just pass nil as the completion block for the storeImage on disk. But that is for a sound reason, since it is harder to make sure we call the completion after both saving on disk and returning the image are complete.
You can try to save the UIImage yourself, that way you will have control over the completion block.


Proposal: New Internet Labs's score should be given a heavier weight

What is the problem you are seeing? Please describe.
The system does not penalize apps enough for storing user data in places other than Gaia.
How is this problem misaligned with goals of app mining?
With app mining gaining popularity, it seems that people will (understandably) port as many existing applications as they can to Blockstack, and do the bare minimum to become eligible for app mining.  This includes undesirable strategies like taking centralized but high-quality open-source SaaS applications, slapping Blockstack Auth onto them, submitting them to app mining, and reaping high app mining rankings from good UI/UX (which they may not have even developed themselves).  Users and reviewers not explicitly looking for this behavior will be none the wiser that their data is still being stored unencrypted on a centralized app server.  I consider this to be a subversion of the app mining program's goals.  Unless we make sure this behavior does not get rewarded, this behavior will lead to the proliferation and funding of many existing apps that don't respect the user's digital rights crowding out newly-written apps that do.  Moreover, it rewards people who don't even build apps, but just port Blockstack Auth to existing apps (which isn't that hard to do, compared to making the app store data in Gaia).
What is the explicit recommendation you’re looking to propose?
Increase the weight of the review from New Internet Labs, so apps that do not store data in a way that respects the user's digital rights do not receive nearly as high a ranking as apps that do.
Describe your long term considerations in proposing this change. Please include the ways you can predict this recommendation could go wrong and possible ways mitigate.
This recommendation helps ensure that developers who put the time and effort into ensuring that users' data is stored independently of the application are sufficiently rewarded for doing so.  This recommendation also prevents opportunistic developers who don't care about Blockstack's mission or their users' digital rights from receiving a lot of money from app mining.
Additional context
Not naming names, but there have been a few very-polished-looking apps announced on the forum recently that on first impression look fantastic, but on subsequent examination of their network traffic, don't actually encrypt data or store it in Gaia.  These apps should not receive a high ranking, even though they would have great TryMyUI scores and possibly great Awario scores.
ADDENDUM: some additional, additional context. I have noticed this problem in several applications over this program's lifetime -- it's not specific to recently-added applications.  Moreover, I have noticed that some applications will store data to Gaia, but will also send it to application servers for subsequent processing.  I don't think app mining should reward this kind of behavior, since in this case the app client is effectively leaking the user's data without their consent.  While the problem as stated pertains to storing data in Gaia, I want to emphasize that I think applications need to (1) treat the user's Gaia hub as the primary replica of the data, and (2) keep all business logic client-side in order to ensure the user's data remains confidential.
The reasoning behind it is that a "cant-be-evil" application should never be in a position to leak user data, even by accident.  This means that private user data needs to be end-to-end encrypted, and all business logic that operates on private data needs to run exclusively within the Web browser.  The user should have the final say over who gets to see their unencrypted data.
That said, if enacted, I don't think this proposal should penalize applications that deploy Radiks indexers or other aggregation infrastructure, provided that (1) any user can deploy their own infrastructure servers, (2) the application lets users pick which infrastructure servers to use (so they can't get locked in), and (3) the infrastructure servers are secondary replicas -- they only store soft state, and they do not see confidential data.  If all of these are true, then infrastructure servers fall into the same category of application design as things like CDNs -- they only serve to enhance the availability of data, and do not implement any irreplaceable business logic.

Would like more input from the App Miners please.

Sure @jeffdomke,
@jcnelson Thanks for investigating our work and thanks for considering them very polished, as I think you are mentioning Arcane Docs.
They are the result of months of works and be sure we try to provide the best experience for our users as we are not here to make simple apps and get funding. We want to give users secure and respectable options, and we are very serious about it.
As you can see we did some projects with Blockstack Auth, began with BlackHole that is completely serverless and I talked about empowering NIL months ago here #7 to promote such apps, as I saw some apps don't even encrypt users data.
For providing users great user experience, there is a need to give them high-quality tools, and we did that with BlackHole and Arcane family (Web and Desktop). I assure you that it will not be easy as "slapping Blockstack Auth" for anyone to make such apps as if it was we wouldn't see simple list apps being on the top of mining ranking.
I will be glad to work on any concern regarding this issue to clearing things up and surly improve them.
I sent you the sample of stored data in Gaia as an example in Slack.

I was hoping that we will find a new technical reviewer but until then I am happy to see doubling NIL as a reviewer.
Most of my apps use open source and if there is an opportunity to create new blockstack apps based on centralized apps then I think that is a good thing. Users should have the choice to use the apps also with their blockstack ID. If the rewards are used to improve the existing open source app or not might be difficult to judge.
Sending pull request towards the "original" project might be a long process with low priority (see opencollective.com) or be rejected by core developers (see mastodon).
We could add an eligibility check for apps whether they comply with open source licenses.

Maybe specifying an anti-pattern like: do not sent data to a server that was not stored on gaia before. If this anti-pattern is used the final score will be reduced by 0.5 points.
See #98

The problem with NIL is that top apps currently can't get more than 0.6 points, while they can get more than 1.+ on AW and PH.

I, probably expectedly, 100% agree with this proposal.  I believe this would enhance the type of applications that more broadly align with the mission of blockstack to put users in control of their data and identity.

@Walterion1 This isn't specific to Arcane Office or your applications in general.  Specifically, when I wrote "slap Blockstack Auth on," I had a few different apps in mind, and none of them were yours ;)
But since you asked, I have updated the proposal to provide some more context to explain where I'm coming from here.

Thank you very much, @jcnelson. That is very kind of you to explain more.
I think this issue is a lot like #7 and as I stated there, pushing to be only client-side (and even not indexers) is very hard and almost impractical in some cases, but we should push the limits to go there and that behavior is an excellent idea.

I think this issue is a lot like #7 and as I stated there, pushing to be only client-side (and even not indexers) is very hard and almost impractical in some cases, but we should push the limits to go there and that behavior is an excellent idea.

I agree that some applications effectively need indexers to work at scale.  For example, the sample app banter.pub needs an indexer in order to make it efficient to query everyone's posts.  Without an indexer, each client would need to query each other users' Gaia hubs to find their latest posts, which would be both time-consuming and bandwidth-intense.
As mentioned in the proposal text, I don't think apps that need to use indexers should be ranked lower for doing so, provided that they do so in a way that doesn't violate user privacy or lock the user into using a particular instance.  In the service of making this an easier goal for app miners to meet, I know @hstove is working on making Radiks servers peer-to-peer, so if you ran your own indexer, it would automatically stay in sync with other indexers crawling data from the same app.
While I will concede that there are a few real-world SaaS applications where it is "very hard and almost impractical in some cases" keep all business logic client-side, I will also point out that (1) this is not true for most SaaS applications, and (2) for the small exceptional set of applications where this is truly impractical (example: this would be hard to do for 23andMe), the app mining program should only reward such applications if they allow users to choose who runs the server-side logic, and where it is run.

@jcnelson I agree with the proposal.
And as a side note, it would be nice to start evaluating the  blockstack importance on the product. Example: I can clone GIMP, add a simple option to store images on Blockstack, and release it under a new name and brand. But is the blockstack function relevant? Do most people use the app and not even realize it?

Here is a dry run for doubling NIL score: https://docs.google.com/spreadsheets/d/1Psf7xV3dir1JvFsSI2zEdy7MGv9NifYAkgqa0ZkikDg/edit?usp=sharing
SocialVault drops from 41 to 62
Satoshi Games from 49 to 83
others go up or down one or two places...

I think NIL is already doing it's job pretty well. Here is a different dry run sheet (sorry Friedger, I didn't see any actual different weighting in your sheets).
https://docs.google.com/spreadsheets/d/13PXIJhEhTusjVT9elYS3LnGqSj6DBjTUDCzB_R6Inkw/edit#gid=746720458
In the original data, the highest app to not get the full NIL score is ranked 40th. After the weight change, the highest app is >60th. So, it's already pretty clear that you need to get a full NIL score to get ranked well in App Mining.
I would suggest to close this. It's a good idea, I just think NIL is already doing its job.

PBC discussed, agree with Hank. One solution to explore is adding more dimensions to NIL to produce more variance in the scores. I will open a ticket for that.

@Hank I disagree with the assumption that rank 40 is not a well ranked position.

Just to echo the comments that I made in slack.  While doubling NIL's score alone may not be especially helpful, I do believe that this approach, along with #143 may provide some relief from the growth of Can Be Evil apps within app mining.
If there is little impact by doubling the weight of NIL score, can we do that now with the expectation that we'll also be adding more items in #143?

@dantrevino, I really just don't think changing the weight will make a difference.

Apps with full score are listed here: https://app-center.openintents.org/more-blockstacky-apps

@dantrevino, I really just don't think changing the weight will make a difference.

Yes, that is why, in conjunction with increasing the weight of NIL score, we need to increase the number of dimensions that NIL covers.  And for the record, its not about disliking patterns, IMHO, NIL is our best filter for truly Cant Be Evil apps.  TMUI doesnt do that. Awario doesnt do that.
Unfortunately, "Cant Be Evil" hasn't been part of the discussion at all up to this point, and it is painfully obvious.  We all know that slapping Blockstack auth and even adding Gaia are not sufficient for creating a Cant Be Evil app.  That is the only thing that NIL measures at this time.
It's past time to make Cant Be Evil a priority, and that means we need to extend the measures (#143) AND increase the weight of NIL scores so that everyone understands what the priority is.

Yeah, @dantrevino, that's a good point. I'm OK with moving forward with a heavier weight, given we'll increase the criteria.
Proposal: Your NIL score is counted "twice" in your final score. So, the score is the average of: NIL, NIL, Awario, and TMUI.

NIL is about to announce a bunch of new criteria. Think we should reassess this post accepting those changes. Icebox for now, can come back to it in a couple weeks.

Current NIL is 50% of the score for debuting apps, but only 25% of the score for incumbents (or more accurately, dropping towards the limit of 33% if assuming the current model and expanding the series of past scores). This creates a dynamics that should be taken into account when changing the weight of NIL.


add pad_to_buckets in evaluation for hpu performance

Type of Change
lm_eval evaluation enhancement
Description
buckets = [64, 128, 256, 512, 1024, 2048, 4096, 8192]
This change will pad the input length to the nearest upper bound in buckets, which will avoid creating many graphs for different lengths to leverage the HPU accelerator.

[x] pad_to_buckets is a new argument for LMEvalParser
[x] auto device is enabled if pad_to_buckets is not set.
[x] add hpu evaluation support in example.
[x] install evaluation when install neural_compressor_pt.

Expected Behavior & Potential Risk
lm_eval example test gives the same result as before.

https://inteltf-jenk.sh.intel.com/job/INC_LLM_accuracy/137/artifact/report.html


ClientToProxyConnection.java line:969, ouput base64 authencation in INFO level to log when use ProxyAuthenticator .

It can be prevent by modify our log4j config file, but strongly recommended to change the log level to debug.

@dongxurr123 sorry, I don't understand the intention of this issue. This is line 969 at the moment:
https://github.com/adamfisk/LittleProxy/blob/master/src/main/java/org/littleshoot/proxy/impl/ClientToProxyConnection.java#L969
            if (!authenticator.authenticate(userName,
                    password)) {
                writeAuthenticationRequired();
                return true;
            }
        } catch (UnsupportedEncodingException e) {
            LOG.error("Could not decode?", e);
        }

Please, give me some more informations.

`try {
String decodedString = new String(decodedValue, "UTF-8");
String userName = StringUtils.substringBefore(decodedString,
":");
String password = StringUtils.substringAfter(decodedString,
":");
if (!authenticator.authenticate(userName,
password)) {
writeAuthenticationRequired();
return true;
}
} catch (UnsupportedEncodingException e) {
LOG.error("Could not decode?", e);
}
    LOG.info("Got proxy authorization!");
    // We need to remove the header before sending the request on.
    String authentication = request.headers().get(
            HttpHeaders.Names.PROXY_AUTHORIZATION);
    LOG.info(authentication);
    request.headers().remove(HttpHeaders.Names.PROXY_AUTHORIZATION);
    authenticated.set(true);
    return false;`

It's line 979 now -- "LOG.info(authentication);", the variable  authentication is a base64 encoding of username and password. and most of production environment use INFO log level, the username and password will print into log file, so it's not safe in production environment.

@dongxurr123 I agree too. This line and the previous log statement ("Got proxy authorization!") should be changed to debug level. Will raise a PR for this. Thanks!

@dongxurr123 @ganskef @jekh - The fix for this issue has been merged. Please consider closing this issue.


chore(cdk): InputRange migrations for minLabel and maxLabel

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows Conventional Commits
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[ ] Documentation content changes

Does this PR introduce a breaking change?

[ ] Yes
[X] No

#1764


Requests to unknown map+layer combinations receive a 400 response

Extends mapget service by the canProcess() function and adds a status field to the mapget request class, with one option being NoDataSource.
HTTP client-service setup communicates the NoDataSource status via a 400 code response.
Adds two test cases for unknown map and unknown layer ID.
Closes #20

All changes from earlier discussion should be implemented now 👌

Just a side note: I wonder why we use 400 as return code. A bad request is usually sent when the client makes an error, e.g. wrong request syntax, missing parameters, etc.
From what I see this should be more a 404, as the server cannot deliver all the requested tiles for whatever reason.
@l-laura what do you think?


UI changes to display and search sampled events

The user should be able to enable sampling at topology and component level.
Then they should be able to search through the sampled events (UI similar to logsearch).
Backend API - https://github.com/hortonworks/streamline/pull/1096
And https://github.com/hortonworks/streamline/pull/1031 (except the API to fetch the events).

Raised PR https://github.com/hortonworks/streamline/pull/1101


Dart code

void main() {
const  age1 = 42;
const  age2 = 21;
const averageAge = (age1 + age2) / 2;
print(averageAge);
}
/* Compute the average of age1 and age2
The result is a double because the division operation (/) give the result in double and the division operation */ give the result in integer */

I don't see an issue in what you're reporting.


Fix typescript error in CldOgImage.vue

Fix #147
Types of changes

[x ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

computedTwitterTitle in CldOgImage.vue uses currentRoute which is a ref value. To access the value, we should use currentRoute.value
Currently currentRoute.meta throws a Typescript error and it's not possible to compile the app with Typescript checks.
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes (if not applicable, please state why)

Hi!
Thank you so much for this PR! I will review it, merge it, and release a new patch version with it quite soon :)


ordering of sorted nodes in the order of adding to graph

With a described models, given two sibling nodes (X, Y) in the graph, if the user described  node X first, and then node Y (in ini or in C++ api when adding the model), then node X must execute first and then node Y ( assuming no dependency stops this or some optimization can be done with executing Y first.).

:octocat: cibot: Thank you for posting issue #1813. The person in charge will reply soon.


Support all fields request

Code changes by itye-msft. Approved on a previous PR that was closed. Reopened the PR and accepted changes.


MH-13279, Admin-ui Agents REST Details

Added optional parameter to /admin-ng/capture-agents/agents.json
to return details of all capture agents.

@phoebem As commented in the JIRA issue: Please do not add functionality to the Admin UI facade not used by the Admin UI. Please add this to the External API instead.

@staubesv Same as with the search-by-enddate change. This is in preparation for a live monitor UI (plugin in for admin-ui) that will come later. The monitor will allow the admin user to see the events and the live stream from the perspective of the capture agents.

It will be a while before the monitor function is ready as we want to move away from rtmp before the PR.
If this can be merged now, then I won't forget about it and the next PR will be simpler for the reviewer.

Hi, just a reminder, next Monday (April 1st) is the feature freeze of Opencast 7.0 😉

@phoebem As the live monitor seems not to make it into Opencast 7.0 (feature freeze on Monday), I've labelled this PR as "onhold" so that we can review all related PRs together.

@phoebem This PR has conflicts now!

@phoebem What do you think about closing this for now and refiling once the live monitor is ready?


Remove deprecated checkStructDictInheritance

Deprecated since the 20150505 Closure Compiler release.
See https://github.com/google/closure-compiler/wiki/Releases#may-5-2015-v20150505

Looks good.  Please merge.


Add created by label

Add the created-by label to know what component created which resource. This is especially useful with operators or for auditing

Page preview:
https://deploy-preview-27612--kubernetes-io-master-staging.netlify.app/docs/concepts/overview/working-with-objects/common-labels/

/label tide/merge-method-squash


Add Komoju gateway

Added Komoju gateway. Currently only purchase method is supported. When received callback, you don't need to call capture since the payment was already captured by the gateway, Komoju.
Installation
To use Komoju gateway, you need to add the following setting to your Gemfile
gem 'komoju', github: 'komoju/komoju-ruby'
gem 'active_merchant', github: 'komoju/active_merchant'

Basic Usage
require 'active_merchant'

gateway = ActiveMerchant::Billing::KomojuGateway.new(login: 'frt-mart')
# => #<ActiveMerchant::Billing::KomojuGateway:0x007fa2f3e6acb0 @api_key="frt-mart", @options={:login=>"frt-mart"}>

## You can use AM's CreditCard class for credit card payment
card = ActiveMerchant::Billing::CreditCard.new number: '4111111111111111', month: '11', year: '2020', first_name: 'TARO', last_name: 'YAMADA', verification_value: '111'

response = gateway.purchase(1000, card, order_id: 'abcdefghjjkdjf')
response.params
#=> {"id"=>"21d7db83d04689760f9e83a9df", "resource"=>"payment", "status"=>"captured", "amount"=>1000, "tax"=>80, "payment_deadline"=>nil, "payment_details"=>{"type"=>"credit_card", "brand"=>"visa", "last_four_digits"=>"1111", "month"=>11, "year"=>2020}, "payment_method_fee"=>0, "total"=>1080, "currency"=>"JPY", "description"=>nil, "subscription"=>nil, "succeeded"=>true, "metadata"=>{"order_id"=>"abcdefghjjkdjf"}, "created_at"=>"2015-03-20T09:10:47Z"}

## Or, you can use Komoju-style payment details
konbini = {
  type: 'konbini',
  store: 'lawson',
  email<EMAIL_ADDRESS>  phone: '09011112222'
}

response = gateway.purchase(1000, konbini, order_id: 'abcdefghjjkdjf')
response.params
#=> {"id"=>"be2d5763f60d6477376491974f", "resource"=>"payment", "status"=>"authorized", "amount"=>1000, "tax"=>80, "payment_deadline"=>"2015-03-21T14:59:59Z", "payment_details"=>{"type"=>"konbini", "store"=>"lawson", "confirmation_code"=>"3769", "receipt"=>"WNT42844316", "instructions_url"=>"http://www.degica.com/cvs/lawson"}, "payment_method_fee"=>0, "total"=>1080, "currency"=>"JPY", "description"=>nil, "subscription"=>nil, "succeeded"=>false, "metadata"=>{"order_id"=>"abcdefghjjkdjf"}, "created_at"=>"2015-03-20T09:14:03Z"}

@rramsden @shioyama This is ready for review. Can you take a look and tell me what you think?

next week

now this works properly with spree gateway so it's time to merge. thanks @camelmasa
can I merge this? @camelmasa @rramsden @shioyama

Removed order_id from metadata

Lools good tome :+1: Great work :star:

Looks good to merge

Once this is merged someone should just copy over the gateway to the fork that basecamp is using, so we can include it in degica/basecamp2#385.

@rramsden @camelmasa @shioyama OK this is ready for review again. Can you review the last 4 commits? once review passed I'll squash all commits and merge

Looks good to me, nice work :+1:

LGTM :+1: just that one comment that I mentioned

merged. thanks!


Possible error in startup.py

After downloading the new update, I think I might've found an error, the document startup.py comes up with this error:
Tuple expression not allowed in type annotation
  Use Tuple[T1, ..., Tn] to indicate a tuple type or Union[T1, T2] to indicate a union type
  which is talking about this command here:
  async def get_commands(bot: commands.Bot, channel_id: int) -> (
TextChannel,
dict[str, SlashCommand | UserCommand | MessageCommand | SubCommand] | None,
):
with this line of code here: (
TextChannel,
dict[str, SlashCommand | UserCommand | MessageCommand | SubCommand] | None,
):
being broadcast as the problem

Also thanks so much for the consistent and constant support you are giving to this project, it is greatly appreciated. :)

The impact of this error causes this error message when running main.py
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/discord/client.py", line 600, in _run_event
await coro(*args, **kwargs)
File "/Users/Desktop/PokeGrinder-2.4/cogs/startup.py", line 51, in on_ready
await get_commands(self.bot, self.config.hunting_channel_id)
File "/Users/Desktop/PokeGrinder-2.4/cogs/startup.py", line 31, in get_commands
for command in await channel.application_commands()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TextChannel' object has no attribute 'application_commands'
Then the Pokegrinder logs and table pop up but nothing happens, eta time increases but no encounters or catches happen

After downloading the new update, I think I might've found an error, the document startup.py comes up with this error: Tuple expression not allowed in type annotation   Use Tuple[T1, ..., Tn] to indicate a tuple type or Union[T1, T2] to indicate a union type   which is talking about this command here:   async def get_commands(bot: commands.Bot, channel_id: int) -> ( TextChannel, dict[str, SlashCommand | UserCommand | MessageCommand | SubCommand] | None, ):
with this line of code here: ( TextChannel, dict[str, SlashCommand | UserCommand | MessageCommand | SubCommand] | None, ): being broadcast as the problem

Remove this part of the code that is causing the error :-
-> ( TextChannel, dict[str, SlashCommand | UserCommand | MessageCommand | SubCommand] | None, )

After running, this comes up in the terminal. Nothing is spawned or caught, only the time keeps ticking. There is no more error message now though.

 After running, this comes up in the terminal. Nothing is spawned or caught, only the time keeps ticking. There is no more error message now.

Remive this line from modules/logging.py then look for errors
os.system("cls" if os.name == "nt" else "clear")

 After running, this comes up in the terminal. Nothing is spawned or caught, only the time keeps ticking. There is no more error message now.

I have updated the repository this must be fixed now.

getting this error now:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/discord/client.py", line 600, in _run_event
await coro(*args, **kwargs)
File "/Users/Desktop/PokeGrinder-2.4/cogs/startup.py", line 48, in on_ready
await get_commands(self.bot, self.config.hunting_channel_id)
File "/Users/Desktop/PokeGrinder-2.4/cogs/startup.py", line 28, in get_commands
for command in await channel.application_commands()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TextChannel' object has no attribute 'application_commands'
which is the same error as before, however now my table looks like this:

getting this error now: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/discord/client.py", line 600, in _run_event await coro(*args, **kwargs) File "/Users/Desktop/PokeGrinder-2.4/cogs/startup.py", line 48, in on_ready await get_commands(self.bot, self.config.hunting_channel_id) File "/Users/Desktop/PokeGrinder-2.4/cogs/startup.py", line 28, in get_commands for command in await channel.application_commands() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TextChannel' object has no attribute 'application_commands'
which is the same error as before, however now my table looks like this:

Run these commands and then try:-
pip uninstall discord.py-self

git clone https://github.com/dolfies/discord.py-self

cd discord.py-self

python3 -m pip install -U .[voice]

each command works except the final command: python3 -m pip install -U .[voice]
I get the error: zsh: no matches found: .[voice]
Should I use a different shell that's not zsh?

Nevermind, fixed it. Once again, thank-you so much, it is greatly appreciated

Hello I am facing this same issue I have followed all the steps above

Hello I am facing the same issue

Hello I am facing the same issue

Please check your channel ids in the config. Make sure you can access the channel that you put in the config.

Now I am getting this error.
Is this how ur supposed to put the channel ID in config?
{
"ClearConsole": false,
"CaptchaSolver": true,
"LoggingInterval": 10,
"SuspicionAvoidance": 250,
"abcdtoken": {
"1088783924xxxxxxxx": 1,
"10889183148xxxxxxxx": 0,
"Balls": {
"Common": "pb",
"Uncommon": "pb",
"Rare": "gb",
"Super Rare": "ub",
"Legendary": "mb",
"Shiny": "mb",
"Shiny Event": "mb",
"Shiny Full-odds": "prb"
},

Oh now it works thanks. But whenever it says "Please wait a few more seconds to find another Pokemon!" the bot stops working and I have to do /pokemon for it to start catching again


Ui changes

Commit 1 (@609694b7c7900218101f2fa3f2d7b0e759373501) : changes in navigation drawer to make it compliant with google material design guidelines..
Also changes in gradle file to enable the Instant Run feature provided in Android Studio version 2 Previos (Canary Channel) which can significantly reduce time required to test apps on devices while developing.

Thanks for all the commits Ashish. I verified them and have merged them into master.

Thanks for all the commits Ashish. I verified them and have merged them into master.

Thankyou So much :)
Hope you liked the changes.
I will be making changes in the flip card applcation next

Thankyou So much :)
Hope you liked the changes.
I will be making changes in the flip card applcation next


Revoke a valid certificate

@bnhf
Friend, I know that this option has not been implemented yet, and this is part of your plans. Tell me, do you have an approximate timeline for the implementation of this function? I would like to switch completely to working with the web interface and refuse to work with the script for issuing and revoking certificates. Now I have configured the productive to work with OpenVPN of my scripts, everything works fine.
I have technical experience and a bit of development experience, maybe I could help with something? In the screenshot I showed this functionality. As far as I understand, you need to make the same section as for issuing the certificate, and screw in the certificate revocation script there, in the same way as for issuing the certificate.

@karabelnikov
Is the screenshot you sent me from another fork of the original openvpn-web-ui project? If so, which fork? I like this approach for revocation.

@bnhf
This is not a fork, it's just a bit of my imagination and a couple of actions in the web browser inspector :)) 😎
In fact, it's not difficult to implement, you need to add the same html block as for issuing the certificate, make a script for verification and bind it to the action of the revocation button with the variable "name" in the field.
And it will work.

@karabelnikov
I've implemented a certificate revocation and removal capability in OpenVPNAdmin. Give it a try when you have a chance. I'll include a suggested Docker compose below, as you won't be able to pull it using the Github method. Make sure you supply the required environment variables at the bottom of your Portainer Stack as well.

version: '3'
services:
  gui:
    image: bnhf/pivpn-tap-web-ui:beta
    container_name: openvpn-gui-tap
    environment:
    - OPENVPN_ADMIN_USERNAME=admin
    - OPENVPN_ADMIN_PASSWORD=b3secure
    - COUNTRY=${COUNTRY}
    - PROVINCE=${PROVINCE}
    - CITY=${CITY}
    - ORG=${ORG}
    - EMAIL=${EMAIL}
    - OU=${OU}
    - PIVPN_SERVER=${PIVPN_SERVER}
    - PIVPN_CONF=${PIVPN_CONF}
    - TZ=${TZ}
    ports:
     - "8080:8080/tcp"
    restart: always
    volumes:
     - /etc/openvpn:/etc/openvpn
     - ./openvpn-data/db:/opt/openvpn-gui-tap/db

@karabelnikov
I've made a couple of changes already you won't see in the Beta. The missing value for "Common Name" aka "CN" has been fixed. Also, I decided to change the button color for downloading revoked certificates from green to red, to more accurately reflect their state.
I'm still trying to figure out a way to get the main page to update "automagically" when a client disconnects, but OpenVPN itself seems to be slow to recognize that event and assumes the client is trying to reconnect. That'll probably end up being a future upgrade. Also, I have the home page set to auto refresh every 20 seconds, which at least keeps the time more current.

@bnhf
Hi! Great job!
During this time, I made some cosmetic edits to the html pages and my css file in the Docker container. Then I made a copy of the openvpn-gui-tap folder from the container to my host machine. I also changed the file templates for myself .tpl for server and clients.
Now I make all the changes to the Docker container itself and then make a backup copy of these files to the host. I just updated the pivpn-tap-web-ui binary and the file certificates.html from your new beta container and this will work for me! I also changed the page a bit certificates.html for myself, I attach a screenshot. But there is one problem, when the certificate is revoked, then for some reason the crl.pem certificate revocation list is not updated because of this, the client can connect again, even after restarting the OpenVPN service.

When revoking, the file is first updated along the path /etc/openvpn/easy-rsa/pki/crl.pem, and then the crl.pem file must be copied to the /etc/openvpn folder for the OpenVPN service to read it. But for some reason, after the review via the web interface, the crl.pem file is not updated anywhere. Can you check it yourself? After the recall, the client is connected exactly.
Regarding the monitoring of clients on the main page, I also want to insert a js script for automatic page updates every 30 seconds. Is there a way to make the clients' connections display in real time??? It would be nice!

@karabelnikov
Looks like I missed a step, which is to generate an updated crl.pem -- do you agree? Also, I believe with the latest version of easy-rsa that file should be generated in, and remain in, /etc/openvpn/easy-rsa/pki. So the server.conf crl-verify directive will need to be changed to have that new path in the template.

@karabelnikov
I'm fairly confident this issue has been sorted out -- so I've merged the code such that beta and latest are now the same.
I'm glad this project is working out for you as it is. However, I do want to re-emphasize that this small project is designed for use with OpenVPN server installations using the PiVPN script. I won't be making any changes or additions, unless they conform to what PiVPN does for their installation standards.
As it happens, PiVPN looks to be installing crl.pem in both /etc/openvpn/easy-rsa/pki and /etc/openvpn -- likely for some backward compatibility. So, the current revocation routine is revoking via easyrsa, generating a new /etc/openvpn/easy-rsa/pki/crl.pem file and duplicating it in /etc/openvpn.


feat(heart): added new heart reaction state

added the is-half and is-transparent to the heart reaction
feat #246
@guastallaigor I deleted the branch by accident 🤦♂Sorry!
Description
Adds both is-half & is-transparent to the heart reaction, also added it to storyboard and docs
Compatibility
N/A
Caveats
N/A

@HiKaylum  Thanks for your contribution🎉
@guastallaigor Thanks for your review 😆

:tada: This PR is included in version 2.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Hosting with Api issue

Hi Team,
When trying to host and use as add-in in excel api url not hitting and saying below error. Can you please help.
404 not found when trying to call api in controller.

Closing all issues since this repo is being archived and no longer maintained.


containerd client api to set cpuset_cpus for container

Description
is there containerd client api to set container cpuset_cpus, like what we did for docker
Found this
https://github.com/containerd/nerdctl#whale-nerdctl-update
https://github.com/containerd/nerdctl/pull/689/files
for container in docker_client.containers.list(all=True, filters={"id":container_status.container_id.split("//")[1]}):
         logger.info("Setting cpuset_cpus to %s" % (new_cpuset_cpus))
         container.update(cpuset_cpus=str(new_cpuset_cpus))

Steps to reproduce the issue

Describe the results you received and expected
client api to update container cpuset_cpus
What version of containerd are you using?
1.6.4
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

This is what I've tried to write, not tested and not guaranteed to work.
ctrs, err := client.Containers(ctx, "filter1", "filter2")
if err != nil {
	panic(err)
}
for _, ctr := range ctrs {
	spec, err := ctr.Spec(ctx)
	if err != nil {
		panic(err)
	}
	opt := containerd.WithSpec(spec, oci.WithCPUs("CPUSET_CPUs"))
	if err = ctr.Update(ctx, containerd.UpdateContainerOpts(opt)); err != nil {
		panic(err)
	}
}


Callback object has no attribute 'validation_data' error

Since version 1.11.0 in tensorflow keras "training_arrays.py" module was removed this part of code:
for cbk in callbacks:
    cbk.validation_data = val_ins

In original keras library this code still presented.
And now we can't access from callback to validation data. In Callback class self.validation_data property exist, but is always None.  This is bug or planned behavior?

@unameisfine Could you explain the issue and its context with little more details? Thanks!

@unameisfine Could you explain the issue and its context with little more details? Thanks!

Fo example, before version 1.11.0 this callback code worked:
class AUCCallback(callbacks.Callback):
    def __init__(self, out_path='./', patience=10):
        self.auc = 0
        self.patience = patience

    def on_train_begin(self, logs={}):
        return

    def on_train_end(self, logs={}):
        return

    def on_epoch_begin(self, epoch, logs={}):
        return

    def on_batch_begin(self, batch, logs={}):
        return

    def on_batch_end(self, batch, logs={}):
        return

    def on_epoch_end(self, epoch, logs={}):
        cv_pred = self.model.predict(self.validation_data[0], batch_size=1024)
        cv_true = self.validation_data[1]
        auc_val = roc_auc_score(cv_true, cv_pred)
        if self.auc < auc_val:
            self.no_improve = 0
            print("Epoch %s - best AUC: %s" % (epoch, round(auc_val, 4)))
            self.auc = auc_val
        else:
            self.no_improve += 1
            print("Epoch %s - current AUC: %s" % (epoch, round(auc_val, 4)))
            if self.no_improve >= self.patience:
                self.model.stop_training = True
        return

but after update, we have error:
 AUCCallback object has no attribute 'validation_data'

@unameisfine Could you fill the issue template. Please fill the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks!

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will open a new issue. Thanks!

So, is it possible to have the validation data available for custom callbacks by default based on the validation_data param in Model.fit and Model.fit_generator. It seems it has been removed for no clear reason and now this data has to be "manually" provided to the custom callback.

from keras.callbacks import Callback
from sklearn.metrics import roc_curve, auc

class Metrics_AUC(Callback):

  def on_train_begin(self, logs={}):
    self.auc = []

  def on_epoch_end(self, epoch, logs={}):
    val_predict = (np.asarray(self.model.predict(self.model.validation_data[0]))).round()
    val_targ = self.model.validation_data[1]
    fpr, tpr, _ = roc_curve(val_targ, val_predict)
    _auc = auc(fpr, tpr)

    self.auc.append(_auc)
    print("auc: %f " %(_auc))
    return

auc_custom = `Metrics_AUC()

im getting below error when this function is called :
AttributeError: 'Model' object has no attribute 'validation_data'
Anyone found solution to it ?

Bhisham-Sharma did you find the solution for validation_data?

I would love for this issue to receive a bit more attention from the devs.
As @unameisfine said, now the validation_data Callback property is always being set to None, and no set_validation_data() method exists.
Check self.validation_data being set to None: https://github.com/keras-team/keras/blob/07e13740fd181fc3ddec7d9a594d8a08666645f6/keras/callbacks.py#L636
Implementing set_validation_data() would be an acceptable pattern imo, as it is currently the same pattern for setting the model property (through set_model()).

@jvishnuvardhan Can you confirm that there's no way for a custom callback to get access to the validation dataset being used by the model? For example, I want to log the per-class precision/recall on a multi-class classification problem but I can't do that without the data.

@jvishnuvardhan Can you confirm that there's no way for a custom callback to get access to the validation dataset being used by the model? For example, I want to log the per-class precision/recall on a multi-class classification problem but I can't do that without the data.
For future travellers, this stack overflow answer has a workaround whereby you override __init__ and pass in the validation data as a parameter


WIP: www/nginx: add njs script to detect MitM attacks on TLS connections

allow the plugin to detect a MitM before us.  See: #1044. This pull request should make the feature available to nginx when done.

@fichtner maybe we should discuss this before full integration…
The scripts works but needs some cleanups and a database of browser fingerprints (see the json file at the top.).
Example DB (one ua):
{
  "Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0" : {
    "ciphers" :
      ["TLS_AES_128_GCM_SHA256", "TLS_CHACHA20_POLY1305_SHA256", "TLS_AES_256_GCM_SHA384", "ECDHE-ECDSA-AES128-GCM-SHA256", "ECDHE-RSA-AES128-GCM-SHA256", "ECDHE-ECDSA-CHACHA20-POLY1305", "ECDHE-RSA-CHACHA20-POLY1305", "ECDHE-ECDSA-AES256-GCM-SHA384", "ECDHE-RSA-AES256-GCM-SHA384", "ECDHE-ECDSA-AES256-SHA", "ECDHE-ECDSA-AES128-SHA", "ECDHE-RSA-AES128-SHA", "ECDHE-RSA-AES256-SHA", "DHE-RSA-AES128-SHA", "DHE-RSA-AES256-SHA", "AES128-SHA", "AES256-SHA", "0x000a"],
    "curves" : ["X25519", "prime256v1", "secp384r1", "secp521r1", "0x0100", "0x0101"]
  }
}


Updated deprecated function call to support TWW 11.0.2

Thank you for this addon!
Fixed:

Bumped TOC to support 11.0.2
Updated deprecated function call from GetAddOnMetadata to C_AddOns.GetAddOnMetadata

Notes:

https://warcraft.wiki.gg/wiki/Patch_11.0.2/API_changes#Deprecated_API

Thank you for this addon, this PR resolves the current LUA errors that occur when logging in to 11.0.2

I didn't see this before putting out a fix, unfortunately. I appreciate the effort though and glad you enjoy the addon!


chore: update to Nuxt best practices

Use TypeScript file with 0 configuration required
Add .post and .get suffix to api endpoints
Use the Nuxt Tailwind module
Use app.vue instead of layouts for a single-layout app
Add .env.example
Throw error on server endpoint instead

Would be nice also to link to the deployed project

very gud 👍

Feel free to push on the PR to remove the extra code you spotted on @CodingDoug :)

Thanks for the contribution @Atinux . 👏


Make sure that "exec format error" is also thrown by different language pipelines

We currently check if a pipeline binary needs to be rebuilt again on the worker when an exception is thrown which contains exec format error (https://github.com/gaia-pipeline/gaia/blob/master/workers/agent/agent.go#L464). We need to make sure that this error message is thrown for every supported programming language.

Good call!

I'll take care of the other plugins as well. :)

Now is the time to do this. Heh.


Make app-properties.js dynamically; Also change main controller and service js codes to meet they same styling/naming with new added service

Just some minor changes. Thx.

Please review,thanks


Could you provide the subset filtering code ?

Hi,
Just checking what do you require, because the subset image ids are in the provided json files. In practice we didn't perform specific filtering to obtain the image sets that correspond to, say, the subset metric -- if that's what you mean.

Your paper mentions that  “Once constructed we further filter the collection subsets
to avoid heavy overlap”. I just want to know the exact filtering strategy here.

Your paper mentions that “Once constructed we further filter the collection subsets to avoid heavy overlap”. I just want to know the exact filtering strategy here, e.g. the threshold you define a heavy overlap. Do you just compare image subset (a group of six) pairwise to filter out the subset with the larger index if their overlap exceeds a certain threshold?

I see what you meant. Yes, that is indeed what we did.
It has been a long time but if memory serves, we set a threshold of two or three images (out of six images that is). If say, one subset overlaps with another subset and exceeds such a threshold, we randomly remove one of them. We perform pairwise comparisons over all subsets.

Thank you for your helpful response! It's really nice to get such great support. Much appreciated!


Hotfix/1.0.1

Changelog

fixes broken DAI contract data
scrolling pools styling

Travis automatic deployment:
https://pr26--dxmgnpoolreact.review.gnosisdev.com


status: excessive goroutines/work done cluster without activity

Typically, in a production cluster the Istio config is changing extremely infrequently - generally just on a new deployment. Even pod changes may be rare depending on autoscaling config. For these clusters, Istiod is generally extremely low load.
With status, we are attempting to reconcile status every 200ms. For a large but inactive cluster, this adds excessive load on Istiod.
This is made a bit worse by the fact that for each CRD we are creating a new goroutine (even with the open PR, see https://github.com/istio/istio/pull/29275/files#r555283120) and due to https://github.com/istio/istio/issues/30123.
It would be preferred if we don't try to do anything unless something has changed. I am not certain, but I would imagine we can get triggered when something happens to ensure that we are not working when we don't have to.

How much cpu was it using in the cluster, and what as the size of the cluster?>

How much cpu was it using in the cluster, and what as the size of the cluster?>

I created a cluster with 1k small virtual services. There were no proxies. istiod uses 1 CPU total on status

I created a cluster with 1k small virtual services. There were no proxies. istiod uses 1 CPU total on status

I used your script to re-create the scenario, but CPU utilization is at .03.  Is it possible you didn't enable analysis as well as status, which adds permissions to run status updates to the istiod role?

I used your script to re-create the scenario, but CPU utilization is at .03.  Is it possible you didn't enable analysis as well as status, which adds permissions to run status updates to the istiod role?

I am certain it was enabled, I checked the status and itwas written. I even added additional logging to show that it was reconciling every object every 200ms (where all the CPU was)

I am certain it was enabled, I checked the status and itwas written. I even added additional logging to show that it was reconciling every object every 200ms (where all the CPU was)

I don't think the image worked

I don't think the image worked

ok, this appears to be related to the marshalling issue, #30123, which is fixed by #30187

ok, this appears to be related to the marshalling issue, #30123, which is fixed by #30187

Its related but I don't think its fixed. We still should not be doing anything iterating over all the configs and processing every 200ms. We need a more event driven design, any sort of linear iteration over all configs has historically caused massive issues for performance. Istio users often have thousands of resources

Its related but I don't think its fixed. We still should not be doing anything iterating over all the configs and processing every 200ms. We need a more event driven design, any sort of linear iteration over all configs has historically caused massive issues for performance. Istio users often have thousands of resources

not stale
On Wed, Apr 21, 2021 at 10:05 PM Istio Policy Bot @.***>
wrote:

🧭 This issue or pull request has been automatically marked as stale
because it has not had activity from an Istio team member since 2021-01-21.
It will be closed on 2021-05-06 unless an Istio team member takes action.
Please see this wiki page
https://github.com/istio/istio/wiki/Issue-and-Pull-Request-Lifecycle-Manager
for more information. Thank you for your contributions.
Created by the issue and PR lifecycle manager.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/30126#issuecomment-824540831, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXPDH4RAYFWDTG2EDNTTJ6VAZANCNFSM4WET6JYA
.

not stale


Research - public sector organization success stories in using OSS for large systems

To tilt senior leaders in believing the DORA model can work for Federal Government:

public sector org
large scale transaction/systems
no large vendors/system intergrators

Goal: find success stories that can demonstrate that new ways of procuring/building software without depending large RFPs and system integrators can work
something with France/Paris Policy debt?

British Columbia, NASA, US DoD, France, CERN


Add a Codacy badge to README.md

Coverage remained the same at 100.0% when pulling a8a8a9af035707fed63b1169219917d9f54d62ab on codacy-badger:codacy-badge into 98677b56c96b98b0e4fcc201e047fea10f1b9a0b on pedronauck:master.