Not working correctly when watching

Seem to remember having had this issue some time ago, but can't find any related issues, so..
It seems to me that the plugin doesn't work correctly when watching "many" files.
When starting my watch process, I see the stylelint output in the console the first time. But when saving, and thus retriggering gulp-stylelint, I don't get any linter output no more.
I have tried debugging this, and it seems to me that it's got something to do with the number of files to process. When watching a significantly smaller set of files, everything works like a charm.

Hello. I've been trying to reproduce the issue and failed. I've added npm run lint-live to gulp-stylelint-test repository which contains 500 scss files. It seems to work fine.
Perhaps you have failOnError: true (this is by default) in gulp-stylelint config and it breaks the pipe? In this case you can either disable the failOnError option or handle errors on pipeline level. See pipeline error management in Gulp.
Also, I know I'm replying very late... shame on me 😭

Hmmm,
I'm guessing you mean failAfterError (instead of failOnError) ? That doesn't seem to be the problem, already had it set to false... I will try to dig deeper then :/
No problem with the "late" reply by the way, we all have our lives ;)

I'm wondering, could it be related to the fact that I'm using gulp-watch?
When trying to debug what was going on, I noticed that onStreamEnd doesn't get called when watching... (https://github.com/olegskl/gulp-stylelint/blob/master/src/index.js#L154)
I found this issue https://github.com/floatdrop/gulp-watch/issues/164 and am thinking it's somehow relatable?

Indeed, I meant failAfterError.
It should be working the same with gulp-watch, but I will double-check tonight. If you have a repository I could checkout - I will take a look at it too.

Unfortunately I don't have a public repo :/
Could it have anything to do with the fact that gulp-watch never emits an end because it creates an infinite stream?
That's what I'm trying to find out now...

I don't think so, but I will investigate.

I have based my code on https://github.com/vigetlabs/gulp-starter , basically extended it by adding stylelint to it. The important bits should be these:
tasks/stylelint.js
const
    config = require('../config'),
    gulp = require('gulp'),
    stylelint = require('gulp-stylelint'),
    path = require('path'),
    paths = {
        src: path.join(config.root.src, config.tasks.stylelint.src, '/**/*.{' + config.tasks.stylelint.extensions + '}')
    },
    stylelintTask = () => {
        return gulp.src([paths.src])
            .pipe(stylelint({
                failAfterError: global.production ? true : false,
                reporters: [{
                    formatter: 'string',
                    console: true
                }]
            }));
    };

gulp.task('stylelint', stylelintTask);
module.exports = stylelintTask;

tasks/watch.js
const
    config = require('../config'),
    gulp = require('gulp'),
    path = require('path'),
    watch = require('gulp-watch'),
    watchTask = () => {
        const watchableTasks = ['images', 'svgSprite', 'templates', 'css', 'eslint', 'stylelint'];

        watchableTasks.forEach((taskName) => {
            const task = config.tasks[taskName];
            if (task) {
                const glob = path.join(config.root.src, task.src, '**/*.{' + task.extensions.join(',') + '}');
                watch(glob, () => {
                    require('./' + taskName)();
                });
            }
        });
    };

gulp.task('watch', ['browserSync'], watchTask);

This repo has become public as luck may have it and should be available at https://git.prophets.be/open-source/dameblanche
To run it, just
clone it
$ npm (or yarn) install
$ npm run start
The issue should prop up when introducing a linting-error (as in, stylelint won't notify of the error)
as opposed to when running
$ npm run start stylelint
Now, the linting-error should show.

Why are you not calling gulp tasks on change?

Please try the 4.0.0.

Yep, that works! Thanks!
Out of curiosity, is there something "wrong" (or unconventional) with my approach? What do you mean by "not calling gulp tasks on change" (I thought I was doing that...)

Well, you're calling the task function, not the task itself. There is a difference, because the task wraps the function in some additional stuff. Here's how I used to do it when working with Gulp: gulp.watch('*.css', ['lint:css']) or, if you're using gulp-watch: gulpWatch('*.css', () => runSequence('lint:css'));
Glad that 4.0.0 worked for you.

Hmmm, yeah, I can see that. I guess I thought that explicitly returning gulp.src(...).pipe(...) would have solved that. Seem to think I read that somewhere.
Anyway, thanks again! ;)


Hook RedisSearch

Send the data from database to RedisSearch and create an API endpoint for it on server.

[
    {
        "id": 123,
        "image_src": "https://www.example.com/wp-content/uploads/2019/01/1.jpg",
        "prompt": "A dog with a red collar"
    },
    {
        "id": 124,
        "image_src": "https://www.example.com/wp-content/uploads/2019/01/2.jpg",
        "prompt": "A cat with a blue collar"
    },
    {
        "id": 125,
        "image_src": "https://www.example.com/wp-content/uploads/2019/01/3.jpg",
        "prompt": "A dog with a blue collar and a red collar for a tail"
    }
]

We can directly dump the JSON into Redis, make an index for the prompt and start searching.
Tutorial: https://redis.io/docs/stack/search/indexing_json/


feat: deprecate react 15 support, support react 16 features

use UNSAFE_ for one componentWillUpdateProps
refactor another componentWillUpdateProps via @ryan-m-walker's PR
deprecate peer resolution for react 15
dev dependencies bumped to react 16
react-test-renderer and enzyme bumped to react 16

BREAKING CHANGE: Deprecate support for React 15. Please use React 16.8 or greater for hooks support.
thanks @ryan-m-walker for doing most of this!

@ryan-m-walker this increases the test coverage for GraphiQL itself by almost 6%, awesome!

@benjie after this PR, GraphiQL will not work below React 16, and we will soon use hooks which means 16.8


No server mod?

On the latest version of platos (1.6.2) for the latest version of fabric (0.10.6+build.214) for Minecraft 1.16.1, I get a fatal startup error for trying to run the mod in a server environment.

I'm just a little confused because earlier versions supported server environments, is that no longer true?

I thought I fixed this but apparently not, will try and get it done soon, I'm pretty sure I know what this error is

#30


OS version availability checks to resolve deprecation warnings

Mainly deprecations in Scanner methods from iOS 13.0 and one from CADisplayLink. See image here for warnings when we've included via cocoapods

@amarunko the travis-ci didn't kick off to build/test this PR. Does this have to be manually triggered by someone?

Hm, no, Travis worked automatically on this project, need to check

Actually, build passed, I can't find this action on GitHub as before, but it's ok

Hmm interesting. Odd it didn't append details to the PR as travis normally does. Anyway, good to see it's passed automated processes

Thanks! Merged to the master.


Failed to run example in the Chrome

Firstly, thank you for the amazing library 🙏
I am trying to test your example, but it runs only in electron and not in Chrome (93).

Do you have ideat what could be wrong with it?

Hey @vaclav-stummer-ooo are you also running the demo app? This runs on local host and is needed for cypress to run the tests against.
It's in ./demo and needs to be running in the background with yarn start.

Yea I am running the local host of the demo and then the tests against it. Your documentation is fine. The problem might be somewhere else since the electron is running fine and all tests pass in it.

@vaclav-stummer-ooo did you identify a cause for this? Unable to recreate issue on my end.

It seems to be some cypress related issue. I am unable to run tests in UI in Google Chrome only in the Electron


Move snippets from samples repo to this repo

Summary
Checking out what will be involved (and what may break) by moving the snippets into this repo.

Copied the samples/snippets repo folder to this repo..
Removed the dependent repo entry for samples.
Modified the gitignore file to allow the samples folder.

I'm going through that list right now and actually moving the files to where they should be. I'll file PRs for those. This will get both repos into a better state and then I'll redo this PR. Once this PR gets a clean build, I think we can go ahead with the move.
Thoughts?

Sounds good 👍

@Thraka I see some tectonic changes are happening, that's great.
Typically, I put new code snippets into this folder:
https://github.com/dotnet/samples/tree/master/csharp/language-reference
Now, it looks to me, you want to move this folder into this repository in two steps:

In dotnet/samples repo, move the csharp folder into the snippets folder and update references in this repo
Move the remainings of the snippets folder from dotnet/samples repo to dotnet/docs repo

Is that correct understanding? If yes and this is WIP already, then I'm not submitting the changes to the docs that require adding/updating sample code until this PR is merged. After this is merged, all code samples would be in this repo and no more sync PRs (hooray!). Is that fine as well?
Do I need to know more about the new snippets structure?

@pkulikov  That's pretty much the plan. We want to really design a clear separation between samples and snippets. Snippets are code fragments used solely by the documentation. Samples are fully working downloadable apps of some sort.
For "language" snippets instead of "technology" (ex: csharp lang snippets vs wpf snippets) we'll use the a root folder of snippets/csharp. That folder does already exist. You can just start using that right now for maximum compatibility.


More extensions for built-in postgres extensions, e.g. unaccent

unaccent is a Postgres "trusted" extension, which EdgeDB should expose as an extension too.
https://www.postgresql.org/docs/current/unaccent.html
Example usage:
V2f203bc190_main=# create extension unaccent;
CREATE EXTENSION
V2f203bc190_main=# select unaccent('À');
 unaccent
----------
 A

We need this.

For anyone finding this issue in the future: we are open to exposing any bundled Postgres extensions in EdgeDB. It is not a lot of work (or so I'm told), but it is enough that we cannot invest time into exposing all extensions that Postgres provides.
So request extensions that you need here and we can write-up an EdgeDB module for it.
I'll try to get unaccent done until next release.

Thank you, that would be really helpful as we are deploying our search to Lithuania, and Lithuanian names have many diacritics :)


wrap CLI fetcher errors

bug-21900
CLI fetcher didn't wrap errors. as the error object isn't serialized/deserialized property across isolated-vm boundary.
PTAL @jonathan-codaio @alan-codaio @coda/packs

I've been struggling on these unittest ....  seems like an issue with Node 14.. I've spent hours but not yet got it working. may shift to complete other tasks before come back to this.


Add upcoming command

upcoming command:
Finds all internships that have

status of new, assessment, offered, interview (statuses with deadlines)
AND
their dates are within the upcoming week

similar to list, upcoming does not have any parameter. Any given parameter will be ignored.

Looks good to merge. I think we need to include in user guide that within the upcoming week is inclusive of the current day. So for example I set an entry whose date is 2023-03-30 and that's not considered within the week. Would be clearer to state in the documentation.


how to append data or add rows without setData

Greetings.
I was working on a huge table, about 100, 000 rows * 400 columns. The render process would cause browser stuck for about 10 secs (currently testing with only 170 columns, and using grid.setData() of course). Honestly I am content with the rendering speed of hypergrid, and the data maybe just too much.
But is there any ways to improve the performance and experience with huge data rendering? Particularly,  reduce no-respond time or better prevent rendering stuck, for example apply partial rendering with appended rows.
I was trying to find more useful info in documentation, please let me know if miss any thread (quite likely...)
In add-a-row demo, adding row is just using setData to render the whole table, which is not suitable for my case.
In virtual demo, it seems to partial render data but I am not sure it the right way--affect sort&filtering or not (not digging much yet).
Any suggestion and instruction would  help, Thanks!

By learning docs, I found these.
On Github Wiki:

every re-render is a complete re-render; there is no partial re-rendering.

And on github.io Renderer:
paintCellsAsNeeded(gc)
Render the grid only as needed ("partial render").

Paints all the cells of a grid, one column at a time, but only as needed.

Partial render is supported only by those cells whose cell renderer supports it by returning before rendering (based on config.snapshot).

It seems the lastest version in a way do support partial rendering and wiki is not up to date. I'll look into the doc and try to achieve this. It would be ideally that the cells rendered only when they came into visible view, I think.


Bulk File Renamer

Created the Bulk File Renamer
Libraries Used

os

Screenshots
Before the script

After the script

@kishanrajput23
Please review by pr


[SPARK-26912][CORE][HISTORY] Allow setting permission for event_log

What changes were proposed in this pull request?
Spark_event_log is set to 770 permissions by default. This will be a problem in the following scenarios.
1, the user has some ugis that can not be added to the same group
2, the user, who created applications, does not allow others to see or modifie it, event they are in same group
3, the user allows other ugi to subscribe to information
Thus, we add a new configuration for the permission of spark_event_log.
How was this patch tested?
change permission tests and unit tests

Can one of the admins verify this patch?


Broadcast remote error -3 after sending unlocked CLTV transaction

Operation System
Ubuntu 20
Used chain: TKLTEST2
Expected Behavior
The transaction should have been sent to the address specified
Current Behavior
An error pops up: nspv broadcast remote error -3

output from debug:
│BITGO (RENDERER -> [MAIN] -> WORKER)                                                                                │
│  {                                                                                │
│    type: 'spend',                                                                                │
│    payload: { address: 'RPD7HHzUuffKQEBfGhM2vQTMSr3FuWTiHc', amount: '0.56' }                                                                                │
│  }                                                                                │
│BITGO (WORKER)                                                                                │
│  {                                                                                │
│    type: 'spend',                                                                                │
│    payload: { address: 'RPD7HHzUuffKQEBfGhM2vQTMSr3FuWTiHc', amount: '0.56' }                                                                                │
│  }                                                                                │
│BITGO (WORKER -> [MAIN] -> RENDERER)                                                                                │
│  { type: 'spend', data: null, error: 'nspv broadcast remote error -3' }                                                                                │
│09:14:30.010 › nspv broadcast remote error -3

Transaction details; http://explorer.komodoplatform.com:20000/tx/784eafa03ccddb458e89b212efb9e263c1abf9e6f953717b03a2850e9c617cc5/TKLTEST2
Steps to Reproduce

Send a timelocked (CLTV) transaction of 1 TKL to a wallet that has no other spendable coins (empty, new wallet). (In CLI: sendtoaddress <address> <amount> "" "" false "" <epochtime>

Wait for the timelock to pass

Send 0.5 TKL anywhere.

Possible Solution (Not obligatory)

Just tested this, it works now with dimxy's update to nspv-js. As you mentioned to me before, the coins do not unlock the second the time elapses, so I think I will just show the locked coins in the app for 2 mins longer and show the unlock time +2 minutes.
My transactions for testing:

Sent myseld 0.2 locked TKL
https://explorer.tokel.io/address/RKecRF9MGZPuZb4gmvdojeKd7TJ5LgWEic
Spent all the TKL on the wallet
https://explorer.tokel.io/tx/7ebfe06687c5516732933320581b8bdcea8a737cf2b7da9587cb3bab9f23df5a


Add posix file operations to OsSysCalls

Signed-off-by: Raven Black<EMAIL_ADDRESS>Commit Message: Add posix file operations to OsSysCalls
Additional Description: Per a request in PR#20332, mocking file operations integrated into OsSysCalls rather than done separately. Also made most of the functions const, since they don't change the OsSysCalls object, allowing a const instance to be used for most cases, and made the comments consistent instead of half one format half another.
Risk Level: Low.
Testing: No direct tests, same as the rest of OsSysCalls. The tests from PR#20332 will add coverage.
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

@rojkov as the person who suggested making filesystem mocks this way.

Please separate out the const change into a separate PR. I'm not sure if it's worth doing, but we can discuss that separately.

/retest


Added primarykey and autoincrement in the field tag

OK, rebased on master, used attributes in the same db tag and renamed pk to primarykey.
I tested the PR in my projects too and all seems to be working.

The tests failed with
--- FAIL: TestCrud (0.01s)

gorp_test.go:1092: val.GetId() was not set on INSERT

Any thoughts why this happens?

Let me check. For the tests I did it seemed to behave.

OK :) forgot to add the autoincrement label in the tests, now it seems to be passing

This would conflict with changes made in PR #224, more specifically in readStructColumns(). I think reading tags should be kept in this function, and version should be added to tags through here as well.
If you could extend it to also read the version column from tags it should be pretty easy to merge.

@meetmauro Can you make the changes requested by @sqdk? If so we can still merge this in in at v2-phase1 (see #270), otherwise it will be v2.1, and at that point the codebase will have changed a lot!

I'll merge right now.


transform with resize also changed the image extension from .jpg to .png

Hi,
thanks for the great tool.
I'm using version 0.2.2, Ubuntu 20.04.3 LTS on x86.
I have a small testing kitti dataset, mixed with .jpg and .jpeg with size 1280x720 and 800x600 images files.
I've tried the steps to use datum:
datum --version
#0.2.2
mkdir datum_proj_real
cd datum_proj_real
datum create
datum import -f kitti ../my_small_kitti_dataset

can see:

Source 'source-1' with format 'kitti' has been added to the project

then do the transform to unify image size:
datum transform -t resize -- -dw 800 -dh 600
now checking the subfolder: source-1 in project folder: datum_proj_real, can see all images files are renamed with .png extension, and none of them can be opened by image viewer.
I also tried manually rename one of the file's extension from png to jpg, and still could not be opened with an error popup like not a valid jpg file.
could you help to check?

thanks, does that mean those generated .png files are expected behavior here?

@shaojun , yes, it means. But at the same time it is possible to implement extra parameters for the export operation. Thus it can be a feature request and we are happy to accept contributions in the area.

Hi, probably, I was wrong about the images. I was able to reproduce the problem. Apparently, it is a result of a several problems, one of which already described in #618 (the problem with file reading).


better markup for mobile styling of take action link

Overview
Fixes mobile alignment of the Take Action link.
Before:

After:

Testing Instructions

view the site on mobile and confirm the take action button is positioned correctly

great - ty!


chore: release 1.6.13

:robot: I have created a release *beep* *boop*
1.6.13 (2021-11-16)
Bug Fixes

alb ingress reference (2a5a971)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/GluuFederation/cloud-native-edition/releases/tag/v1.6.13 :sunflower:


Machine Translation Integration Into Bot Framework V4

Translator Object Updated to support language detection or detection function specified by developer from message
Fixed translation numeric error (restore number from original message e.g.: 20:30 translated to 10:30 the translator will output 20:30 along with the translated message)
Added post processing internal class used to handle no translate templates for each language (e.g.: trouve moi (.*) matched group 1 in the template file of French won’t be translated)
Locale Converter Middleware Added
Supports conversion between locales in date and time using Microsoft.Text. Recognizer to recognize dates
Now Supporting all English locales, French and Chinese

Pull Request Test Coverage Report for Build 53

6 of 195 (3.08%) changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 18.521%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-ai/src/localeConverter.ts
2
90
2.22%

libraries/botbuilder-ai/src/languageTranslator.ts
3
104
2.88%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-ai/src/languageTranslator.ts
1
2.42%

Totals

Change from base Build 30:
-0.2%

Covered Lines:
2670

Relevant Lines:
10847

💛  - Coveralls


Mention epidatpy everywhere as a current client

Summary:
Mention epidatpy everywhere as a current client. Give epidatpy examples. Link to package-specific API key help info.
Prerequisites:

[x] Unless it is a documentation hotfix it should be merged against the dev branch
[x] Branch is up-to-date with the branch to be merged with, i.e. dev
[x] Build is successful
[x] Code is cleaned up and formatted

@dshemetov sorry, can you re-approve? I dismissed your review accidentally.


October 11, 2021 Community Meeting

Please add a topic in this thread and add a link to the Github issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on Github before coming into the meeting
(optional) Paste the image of an animal :smile_cat:

Nomination: @shahulsonhal to shipwright-io/build reviewers list (and join the organization!).

Reminder: consider making your community membership public: https://github.com/orgs/shipwright-io/people
      /`·.¸
     /¸...¸`:·
 ¸.·´  ¸   `·.¸.·´)
: © ):´;      ¸  {
 `·.¸ `·  ¸.·´\`·¸)
     `\\´´\¸.·´

v0.6.0 sync, remaining TODOs:

Get comments in Goreleaser package management #47 addressed and merged
Create v0.6.0 release for the CLI
Update CLI installation instruction in WIP Updates for v0.6.0 #56
Check comment Doc updates for v0.6.0 #54

                (`.
                 \ `.
                  )  `._..---._
\`.       __...---`         o  )
 \ `._,--'           ,    ___,'
  ) ,-._          \  )   _,-'
 /,'    ``--.._____\/--''


Improve catboost example

Hyperparameter search space can improve by following the CatBoost's docs: https://catboost.ai/en/docs/concepts/parameter-tuning. In addition, it might be great to unify the code to the CatBoost example and the other boosting libraries.
Originally posted by @nzw0301 in https://github.com/optuna/optuna-examples/issues/27#issuecomment-1005760194

I created a pull request to the CatBoost's docs: https://catboost.ai/en/docs/concepts/parameter-tuning.
https://github.com/catboost/catboost/pull/2000

Awesome. Thanks!

hi @nzw0301 is this issue resolved? If not, were you referring to this example when you mentioned about unifying the examples?

Thank you for sharing it! I didn't notice such a notebook in the catboost repo. I think it would be great to mention the tutorial from the example at least.

is this issue resolved?
Not sure. I'll check the status of this issue later. Thanks!


Grid: panel arrow icon does not change when maximized size is reached

Refs: #67308

make the panel larger until the maximum is reached
notice how the arrow action still points up
🐛 compare to stable where it points down

fixed


Use Extents for bounding boxes

This needs to be discussed first. I have not looked so through on it
Link to package https://github.com/rafaqz/Extents.jl


Fix an assertion (and a comment) of evp_method_id()

Have a look at Travis, something is really wrong...

Have a look at Travis, something is really wrong...

Argggh, classical rookie mistake! I had fixed this already, but then I did a git commit --amend and forgot to add the -a as well. :-/
diff --git a/crypto/evp/evp_fetch.c b/crypto/evp/evp_fetch.c
index c0f52984fa..757b2dca7c 100644
--- a/crypto/evp/evp_fetch.c
+++ b/crypto/evp/evp_fetch.c
@@ -83,7 +83,7 @@ static OSSL_METHOD_STORE *get_evp_method_store(OPENSSL_CTX *libctx)
  * |      name identity     | op id  |
  * +------------------------+--------+
  */
-static uint32_t evp_method_id(int name_idint name_id, unsigned int operation_id)
+static uint32_t evp_method_id(int name_id, unsigned int operation_id)
 {
     if (!ossl_assert(name_id > 0 && name_id < (1 << 24))
         || !ossl_assert(operation_id > 0 && operation_id < (1 << 8)))

This pull request is ready to merge

Merged to master, thanks!
b418980c3f Swap parameters of evp_method_id()
64f849f439 Fix an assertion (and a comment) of evp_method_id()


Packaging

Fix up the packaging so that setuptools can automatically compile and install in an appropriate place. Put it on PyPI.

Fully integrated using GitHub Actions as CI with cibuildwheel pushing directly to PyPI on release of any tagged version.


[FEATURE REQUEST]: Middleware for a specific route.

The package includes the Middleware feature, which currently applies to all routes. However, it would be beneficial if AppExpress could add middleware to specific routes only. Perhaps introducing a next parameter in the middleware function could be also a good idea.  For instance, the Express Package utilizes this next parameter:
const express = require('express')
const app = express()

app.use((req, res, next) => {
  console.log('Time:', Date.now())
  next()
})

Is it possible to return res.res or any kind of return response within middleware. As of now, we use throw Error() so it will indicate that there are some error on middleware. But can we just return res.send/res.json and etc. Because it is good that we can return a status code of the error. For example, I have a middleware then I want to throw an error that 'No found' so I can use a return res.send("No Found", 404)

Hey @moshOntong-IT 👋,
Thanks for this neat suggestion!

Coming to your next question -
Absolutely. Every middleware you register can return values via send, json, etc. and end the process at that time.
You can do something like this -
express.middleware((request, response, log, error) => {
  const { userJwtToken } = req.body; // example token.
  const isDashboard = req.path.includes('/dashboard');

  if(isDashboard && !userJwtToken) {
    response.send("Not Found", 404); // hiding the dashboard for unauthenticated users.
  }
});

@moshOntong-IT
Once you do a response.send call (as shown above). The request ends there.

Is it possible to return res.res or any kind of return response within middleware. As of now, we use throw Error() so it will indicate that there are some error on middleware. But can we just return res.send/res.json and etc. Because it is good that we can return a status code of the error. For example, I have a middleware then I want to throw an error that 'No found' so I can use a return res.send("No Found", 404)

I think sending response through middlewawre is possible
import axios from "axios";
export const authMiddleware = async (req, res, next) => {
try {
const cookies = req.headers.cookie;
if (!cookies) {
return res.json({ message: "Missing auth token" }, 401);
}
    const token = cookies.split("; ").find(cookie => cookie.startsWith("token="));

    if (!token) {
        return res.json({ message: "Missing Token auth token" }, 401);
    }

    try {
        const response = await axios.get(`${process.env.AUTH_SERVER}/api/session`, {
            headers: { Cookie: token }
        });

        req.user = response.data;
        next();

    } catch (error) {
        console.error("Authentication failed:", error.message, error);
        return res.json({ message: "Invalid auth token" }, 401);
    }

} catch (error) {
    console.error("Server error:", error.message);
    return res.json({ message: "Server error" }, 500);
}

};

I think sending response through middlewawre is possible
import axios from "axios";

export const authMiddleware = async (req, res, next) => {
    try {
        const cookies = req.headers.cookie;
        if (!cookies) {
            return res.json({ message: "Missing auth token" }, 401);
        }

        const token = cookies.split("; ").find(cookie => cookie.startsWith("token="));

        if (!token) {
            return res.json({ message: "Missing Token auth token" }, 401);
        }

        try {
            const response = await axios.get(`${process.env.AUTH_SERVER}/api/session`, {
                headers: { Cookie: token }
            });

            req.user = response.data;
            next();

        } catch (error) {
            console.error("Authentication failed:", error.message, error);
            return res.json({ message: "Invalid auth token" }, 401);
        }

    } catch (error) {
        console.error("Server error:", error.message);
        return res.json({ message: "Server error" }, 500);
    }
};

this code is working fine when i use app.middleware(authMiddleware) in production too

It is possible, but remember that there's no next() in AppExpress.
Consult the docs on how to create custom middlewares for your usecases.

Its currently possible to do something like this -
express.middleware((request, response, log, error) => {
  const requiresInterception = request.path.includes('/api');

  if (requiresInterception) {
    // apply some response logic here, or do some logging with `log` or `error` functions.
  } else {
    // ignore the request
  }
});

I don't want to make current middleware handling logic more complex at this time. Closing for now.


[Data Mapper Mediator] Add ability to access specific array field elements in the Visualizer

Description:
Using the visual data mapper, it is only possible to map array fields to other array fields. It is needed to add the ability to access and map specific elements of an array field.
Currently, implementing such a specific array element mapping from the ts code leads to broken visualization,

This will further track with https://github.com/wso2/mi-vscode/issues/407

The latest release v1.1.1 has resolved this issue. Please reopen if the problem persists.


[Build] Add CI/CD

Add unit tests
Github Action pipeline files
Badges in README for status display

Finished in https://github.com/zchrissirhcz/KantuCompare/commit/792955452bf4154bf559dc75cba53a1687834414


Crash on startup

Describe the bug
Game crashes on startup.  I rebooted with same result and error codes.
Created a new instance and still crashes.
Disabling Xaero's Minimap fixes issue.
Updating Xaero's to latest version also fixes issue.
Modpack version
5.1.0-Beta.4
Launcher
CurseForge Launcher
Other things

[ ] I updated FO to a newer version (mention, what version to what version)
[X] I added/removed some mods or resource packs (mention, which ones)

Additional context
Log File
https://mclo.gs/I6iGkxq

Updating Xaero's to latest version also fixes issue.

Yep, outdated Xaero minimap was the issue.


Create mobile app for managing BX-bot

Create mobile app for managing BX-bot.

Will use React Native.
Will consume REST API - #32

Will be done after #101 is completed.

Will be done after #101 is completed.

Closing. Will re-open if there's interest after #101 is done.


Add Sofiaplan to Open Data

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Hi @rositca-yancheva, thank you for the contribution.
The URL you added seems to be broken, can you please have a look at it?

Ah yes, I added the base URL for the API instead of the URL with it's documentation : ) Fixed

Thanks!


Implement Update Security

I'd propose to add a way to secure the sensor endpoints using a HMAC-SHA256 over the value, with a single shared secret for the Space API server instance and all clients.
value = 3
mac = hmac_sha256(value, secret)
send_request(data={'value': value, 'mac': mac})

Advantages

You can only create a request if you know the secret.
Easy to manage because there's just one secret.
The message integrity is guaranteed.

Disadvantages

Vulnerable to replay attacks
Secret is shared between all sensors.

Alternatives

TLS, but that's too heavy for embedded devices.
A secret per sensor, but that's a bit more complicated to set up. Not too much though, I actually think this might be a good idea. It doesn't solve the replay issue though.
Use a one-time session ID that can be requested from the server (challenge-response). It's a bit more complex because it requires 2 requests instead of 1, but might be worth the effort.

I'd like to implement this, but would be happy about feedback :)

This is a scenario based on a session token:
> POST /sensors/<data_key>/sessions/
< 201 CREATED abcdr4nd0m
> PUT /sensors/<data_key> value=3 token=abcdr4nd0m mac=hmac_sha256('3,abcdr4nd0m', secret)
< 204 NO CONTENT

A token can only be used once. This way we prevent replay attacks and ensure authenticity as well as integrity. The server needs to keep track of active tokens (they could expire as well after 1 minute), but doesn't need to associate a client with a token/session, because the client includes the token in the response.

I like it

I'll implement the session token version, with a secret key per sensor.
At least at first, the active session tokens will be stored in shared memory. We might still add persistence later on.

Where is are the secret keys stored? We could save them into a DB and create a small script to Insert, Update and Delete the SecretKey{ sensorName : String, secret : String }

Blocked by #10.

How is the Server authenticated? With TLS the client can store/pin the Server certificate. Should the Server sign its response?

TLS pinning is a bit of a problem, because each time the certificate changes (at least once a year) the firmware needs to be re-flashed. And some devices might not even have enough memory for one 3072 or 4096 bit TLS key.
Using the session tokens and HMAC approach, the server is not authenticated, you're right. But I don't think that's a problem. We're sending plain numbers, which aren't sensitive. Important is authenticating clients, not servers :)

I think it is good practice to review the infrastructure once per year.
Plus the client can store a 40 Byte sha1 hash, so it does not consume the whole flash.

It's just additional workoad, that will lead to the counter not working for a while every year without anyone noticing. And I don't think there's any added value in authenticating the server.

I agree  @dbrgn in that having to replace the fingerprint once a year will not work out in the long run. Additionally, verifying the fingerprint does not help with authenticating the server (which is kind of unnecessary in the first place).
The ESP8266 TLS implementation does not verify certificate chains, thus verifying the fingerprint is practically useless. It "easy" to create a certificate that matches a certain fingerprint, we would need to verify the common name etc. to get some sort of "trust" going.
I guess @dbrgn is right in saying that we do not need to authenticate the server. The data that is transmitted is not that critical and in addition it is publicly available anyway. Granted, one could do a denial-of-service attack by man-in-the-middleing the connection and dropping the updates, but I believe that this scenario is very unlikely and I am willing to take the risk.
With regard to client authentication, I propose the following idea in addition to what @dbrgn already proposed:
After thinking about it for a night, I believe we could use TOTP. We do not need the clients to keep track of a stable timebase since the server could provide that timebase on request. Granted, that would incur some overhead (in the form of an additional request) but we then could use "industry-standard" technologies. Time is a public factor anyhow, thus i can't see any security issues in having the server provide the timebase on request.

A MITM (due to missing server auth) could send back a date in the future and then use the TOTP signature for the future measurement to DOS the server later on.
I think implementing the session tokens (used as nonces) is simpler. HMAC-SHA256 is also a standard for authenticated hashing. Here's a library for Arduino that might work on the ESP8266.

We should also have a way to configure sensor updating:

None
Without auth
With auth

What is the difference between None and Without auth?

None means a sensor cannot be updated (in case it's static, or being updated by a script on the server side).
The other two should be clear.


Handle users from different regions/different account tiers trying to party together.

If people from different regions are in a party, a song can be queued that can not be played for one of the participants (or they'll just end up with the 30s sample version of the song). Also, what happens if someone without an unlimited Rdio account joins the party. Can they even join?

Someone without an Rdio Unlimited subscription should get 30-second samples. If it's a track they can't hear, the player will just skip it.

30 second samples doesn't sound very fun. What do you guys think of requiring a full rdio account to use it? And same-region only rooms at least at first?

Requiring unlimited accounts sounds good. I don't think requiring same-region is a good idea, many tracks are available in multiple regions. Perhaps just a warning that the track isn't available in your region.

We should drive sales and incite people to start a trial from within the app and then redirecting them to form to upgrade their accounts.

Better region handling and incompatible tiers seem to be 2 different issues.

See #84 for handling different regions. This task will be for up-sells

Now folks who have false for canStreamHere git a big popup telling them to subscribe and warning them about their impending 30s sample fate.


Make a release with Python 3.8 compatibility

Done - version 8.1 is on PyPI.

No wheels, though, because https://github.com/joerick/cibuildwheel/issues/170.

FYI: cibuildwheel 1.0.0 is on PyPI and has support for Python 3.8.
Can you add cp38 wheels to PyPI?

https://github.com/joerick/cibuildwheel#100 (Changelog)
https://pypi.org/project/cibuildwheel/

I re-triggered the builds. Wheels are now available for all platforms.
Bonus: we got manylinux2010 wheels in the process.
For reasons unclear, the macOS wheel is websockets-8.1-cp38-cp38-macosx_10_9_x86_64.whl rather than websockets-8.1-cp38-cp38m-macosx_10_6_intel.whl, which I expected, assuming it followed the format of other macOS wheels. Probable not a problem.

Thanks for the heads up :-)


Further proposed projects to investigate

[x] Bahn2000
[x] NEAT: Gotthard/Ceneri/Lötschbergtunnel
[x] ABS/NBS Karlsruhe-Basel
[ ] all sorts of tram projects (e.g. Paris T10)
[ ] prolongement Paris Métro ligne 1 Val de Fontenay, ligne 11 est
[ ] Paris RER E
[ ] Berlin U-Bahn extensions
[ ] Berlin S21
[ ] Karlsruhe Kombilösung
[x] Rail Baltica
[ ] Feste Fehmarnbeltquerung
[ ] Koralmbahn
[ ] Semmeringbasistunnel
[ ] Turin - Lyon
[ ] Poland High Speed Lines
[ ] Spain High Speed Lines
[ ] Line 9 of the Barcelona Metro
[ ] Line 11 of the Madrid Metro
[ ] Västlänken in Gothenburg

Idk if that's something viable to add, but maybe: https://bauprojekte.deutschebahn.com/p/angermuende-stettin

I have so far avoided these pure Ausbau/upgrade projects. But maybe we could introduce a sort of filter or categories on the website. Still, I guess it will be quite difficult to obtain figures like passenger numbers for these kinds of projects.


add HttpClientArc & set user-agent

Continues from #80 and fixes #65. It is probably easiest to review #80 and https://github.com/ctaggart/autorust/pull/86. This is the generated code.

I need to address https://github.com/ctaggart/autorust/pull/86 first & then recreate this.


ListPath generation issues with Eclipse APT

ListPaths are generated as SimplePaths instead
Details here : https://groups.google.com/forum/#!topic/querydsl/xTgCUJ79fgY

Apparently the following code fails with Eclipse APT :
private boolean isAssignable(TypeMirror type, TypeMirror iface) {
    return env.getTypeUtils().isAssignable(type, iface);
}


Why email is require?

https://help.unitpay.money/article/194-creating-payment-from-payment-form
The official documentation does not require an email, but your plugin requires it to be sent.

This is because before UnitPay required an email, now it may have made changes and I will definitely look at them and make changes if necessary.


Kubeflow listed as available AArch64 addon, but missing enable script

Per #1086, and my (limited) understanding from Kubeflow discussion elsewhere, I gathered that KF probably wouldn't be available on AArch64 MicroK8s. I was surprised then when microk8s enable --help showed Kubeflow on the list, and also when I double-checked the supported architectures in addon-lists.yaml.
However, when I tried running microk8s.enable kubeflow, I got Nothing to do for kubeflow, which I believe I've traced back to the fact that ${SNAP}/actions/enable.kubeflow.sh doesn't exist.
Is this expected behavior? I mostly just wanted to report this since I found it odd that KF is ostensibly listed as an available add-on, but the script to enable doesn't seem to be shipped with the snap I installed. I suspect I may just be misunderstanding something here too.
I believe I'm using a fresh installation of the latest stable version as of today, but here's the inspect archive for good measure. Thanks!
inspection-report-20200403_210033.tar.gz

Thank you for spotting that @benjcunningham. You are right we should not be showing the kubflow addon on arm64 arch. The respective PR addresses this.

Is there more information on why the gpu and kubeflow addons are not available for ARM64? Is this something on the roadmap?

To the best of my knowledge currently there are no immediate plans to support gpus on ARM64 in MicroK8s. For Kubeflow I know there is work towards supporting ARM64 from upstream but I hear some parts of the ecosystem are missing. There have to be some incentives for Canonical to take up this task.
Out of curiosity, what specific hardware are you interested in? I am interested in the CPU specs and the paired GPUs. Thank you.

Thank you for the answer! :-) I am currently working with a cluster of NVIDIA Jetson Nanos (GPU: Maxwell with 128 Cores, CPU: Quad-Core-ARM A57 with 1,43 GHz). It is also interesting to expand the cluster with Jetson Xavier (GPU: Volta with 512 Cores, CPU: 8 ARM-v8.2-64-Bit-CPU-Cores).
It would be really great if GPU and Kubeflow will be supported in the future as microk8s would be a good fit for this hardware. But I see the difficult dependencies especially for kubeflow.

Hi @matthiaslau , I saw this issue in the kubeflow community under my reply, also as I am working on enabling kubeflow on arm64, I think I can answer some of your questions:

I did tried NVIDIA Jetson board with kubeflow several months ago, but I used Jeston TX2 board. With that board you can passthrough the GPU to k8s cluster by adding volumes for GPU drivers, like below, and this worked well on my device, but due to the limitation of memory on that board, basically any tensorflow training job will run out of the memory. As we also need to disable swap when building k8s cluster, we cannot adding memory to it...

volumeMounts:
            - mountPath: /pets_data
              name: pets-data
            - mountPath: /usr/lib/aarch64-linux-gnu
              name: aarch64-linux-gnu
            - mountPath: /usr/local/cuda/lib64
              name: cuda-lib64
            - mountPath: /usr/lib/aarch64-linux-gnu/tegra
              name: aarch64-linux-gnu-tegra
            - mountPath: /dev/nvhost-ctrl
              name: dev-nvhost-ctrl
            - mountPath: /dev/nvhost-ctrl-gpu
              name: dev-nvhost-ctrl-gpu
            - mountPath: /dev/nvhost-prof-gpu
              name: dev-nvhost-prof-gpu
            - mountPath: /dev/nvmap
              name: dev-nvmap
            - mountPath: /dev/nvhost-gpu
              name: dev-nvhost-gpu
            - mountPath: /dev/nvhost-as-gpu
              name: dev-nvhost-as-gpu
            workingDir: /models

volumes:
          - name: pets-data
            persistentVolumeClaim:
              claimName: pets-pvc
          - hostPath:
              path: /usr/lib/aarch64-linux-gnu
              type: Directory
            name: aarch64-linux-gnu
          - hostPath:
              path: /usr/local/cuda/lib64
              type: Directory
            name: cuda-lib64
          - hostPath:
              path: /usr/lib/aarch64-linux-gnu/tegra
              type: Directory
            name: aarch64-linux-gnu-tegra
          - hostPath:
              path: /dev/nvhost-ctrl
              type: File
            name: dev-nvhost-ctrl
          - hostPath:
              path: /dev/nvhost-ctrl-gpu
              type: File
            name: dev-nvhost-ctrl-gpu
          - hostPath:
              path: /dev/nvhost-prof-gpu
              type: File
            name: dev-nvhost-prof-gpu
          - hostPath:
              path: /dev/nvmap
              type: File
            name: dev-nvmap
          - hostPath:
              path: /dev/nvhost-gpu
              type: File
            name: dev-nvhost-gpu
          - hostPath:
              path: /dev/nvhost-as-gpu
              type: File
            name: dev-nvhost-as-gpu

Several months ago I built and run kubeflow 0.5.1 on microk8s for arm64. Currently I am working on supporting kubeflow master branch on arm64, I have contributed most of patches to kubeflow community.

Hi @MrXinWang, thank you! It is great to see your progress in bringing kubeflow to arm64! I am using docker with the NVIDIA Container Toolkit as container runtime at the moment and this works great for accessing the GPU from within the container. I am just missing the Nvidia Device Plugin here to set GPU limits but this is not that important for my current setup as every node has 1 GPU.
Have you tried distributed training using TFJob on the Jetsons? It would be interesting if we can manage to train distributed with the memory limitation. I am also planning to extend the cluster with a Jetson Xaviers for training, which has 32GB RAM.

@matthiaslau If I remember correctly, I did tests on that (I guess by saying distributed training you are mentioning deploy kubeflow on a multi-node k8s cluster and run training job there).
What I did was running the object detection example using self-compiled tensorflow 1.10 GPU version container and deployed everything with v0.5.1 kubeflow on my cluster (an arm64 server as master and Jetson TX2 as node). I did not have problem with TFJob itself, the training can also be started, but after (I think) several steps it will warn me about the OOM error, which to me is a little bit weird...
I am pretty sure that I used the GPU as I think the GPU version tensorflow will automatically assign tasks to the GPU, and I could see the GPU0 in the log...


Multiple clipWith calls cause many clip path definitions to be created

Multiple clipWith calls with same elements causes many clip path definitions to be created-
var a = root.rect(100,100);
var b = root.rect(50,50);

for (var i = 0;i < 100;i++){
a.clipWith(b);
}

The intended behavior is probably to do nothing.

JSFiddle: https://jsfiddle.net/w5zod1m3/6/

The clipPath holds no references to its content. So every time you call clipWith, it will create a new clipPath not knowing that it is the same. For your purpose just create a clipPath first:
var b = root.clip().add(root.rect(50,50));

a.clipWith(b) // wont create a new clipPath every call now

or do it once and remember the clipper:
a.clipWith(b);

console.log(a.clipper); // holds the clipPath for reusing

Sounds like this behavior is intended :) thanks @Fuzzyma!


Mixed phase partition LCF diagram

New feature requested by #653

[x] Include pre-processing (add CLDLIQ and CLDICE to monthly variable list)
[x] Add standalone script (TODO add benchmarking data using v1 and v2)
[x] Add new driver including plotting script, parameter, parser, viewer

@zyuying and @susburrows I have implemented codes for the T5050 diagram, here is the link to the example figure. The unresolved part is the variable change for CLDICE from v2 to v3 P3.  I will update this PR as soon as the new variable name/convention is decided on.

This looks great!  It will be great to have this diagnostic available in e3sm_diags so we can easily check on global cloud phase partitioning during model development.

@zyuying  I was wondering is there an update on the variables to be used for this diagnostics? I'm hoping to have this branch  finalized and merged by the end of this month for a new e3sm_diags release.

Based on a discussion with @zyuying , this PR can be merged to prepare for joining the e3sm-unified release. There will be a separate PR to add simulator comparison and to accommodate v3 output.


static send_app_message ?

I've wrapped a bunch of browser APIs for my app using wasm-bindgen. I want to use  link: CompentLink<Self> and then call self.link.callback to pass a new message to update when the callback is called, but the Closure::once_into_js currently requiring a static lifetime. https://github.com/rustwasm/wasm-bindgen/issues/1914
Any ideas on how I might workaround this issue? I was thinking may be instead of yew::start_app::<Model>(), I could save something from
https://github.com/yewstack/yew/blob/master/examples/two_apps/src/main.rs#L11-L19
in a static and then create a fn send_app_message that uses it. Should I be using something else like Agents (not too familiar, https://yew.rs/docs/concepts/agents)?

I was able to do a link.callback(Msg::SignIn).emit(token); in the callback after let link = self.link.clone();.


[image picker] app crash when choosing the second image on iOS 14

Hi,
When I tried to use image picker to pick more than open product images in my app, my app completely crashes on my iOS simulator and my iPhone 6s real device as well.
Tested Code
PickedFile _tempimage = await _imagePicker.getImage(source: ImageSource.gallery);
Specs
image picker: ^0.6.7+17
environment:
SDK: ">=2.7.0 <3.0.0"
Flutter: 1.22.1-0.0.pre.1 • channel stable
Dart: 2.10.0
VS Code: 1.53.2
Logs
These Xcode crash logs (console logs) when running on a real device logs
Flutter doctor log
[✓] Flutter (Channel stable, 1.22.1-0.0.pre.1, on Mac OS X 10.15.4 19E287, locale en)
    • Flutter version 1.22.1-0.0.pre.1 at /Users/ahmed/Developer/flutter_2
    • Framework revision 59c545b149 (5 months ago), 2020-10-11 02:42:38 +0200
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/ahmed/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[!] Connected device
    ! Error: Ahmed's iPhone is not connected. Xcode will continue when Ahmed's iPhone is connected. (code -13)

! Doctor found issues in 2 categories.

Real device specs
iPhone 6s 16Gbs iOS 14.4
Improtant note
I couldn't update to the latest image picker version ^0.7.2 due to incompatibility issues and the fact that the project will have a lot of breaking changes due to SDK and version updates.

Hi @AhmedAbouelkher
Thanks for filling the issue, unfortunately, you need to upgrade your Flutter and image_picker to better address the issue if it isn't already fixed.  Otherwise, you can run the official sample in the new project with the latest flutter and image_picker and test the issue. The upgrade is required since no fixes could be provided for an older version of the `image_picker
If the problem persists, Can you please provide your flutter doctor -v with the upgrade and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

Hi,
Thanks for your quick response.
I have updated to Flutter 2.0.1 and image_picker ^0.7.2 and the issue is gone.


master

Incorporated DataBinding, Kotlin Coroutines, LiveData and ViewModels.

I'm not seeing where the chart is being rendered in this commit since MainActivity is completely deleted (along with other files such as the adapter)


Error

While running getting error
How to get country code?

While running getting error
How to get country code?

Hi
https://smshub.org/en/info#getCountries


Update README.md  to use new ImagePlugin setup for nearest rendering

Update example to use new ImagePlugin setup for nearest rendering.
See the original PR https://github.com/bevyengine/bevy/pull/6360

And also spawn_bundle to spawn

Thanks! I always forget to check the README...


Unknown Numbers

What do the numbers<PHONE_NUMBER>24282030399478301168915802302423130847520232836494683907672278768724884179218375754768 mean?

Available Decoder suggests fjtpexbtdmpzdkpmfbdxwmhuzbfelppmgovzxixjoauewwup, but that doesn't seem to work anywhere just yet.

Have you ever used a decoder ring in real life? I think I got one in a cereal box once.

Ya, but what I was given was more of a decoder wheel, and just matches a-z to 1-100 with the values repeating after 26.  I will look at uploading the file I have that returned the output above.

I mean, there's more to it than that. A real decoder ring/wheel has moving parts, and in this case you have to move them in order to solve the puzzle.

Fair point.  Since it is an image on a pdf, I've gone through and added a javascript tool to try and simulate the decoders results in various ways.  No results yet.

The board's RC1 and RC2 match up a little too closely to the decoder wheel's 1st and 2nd wheels. Haven't been able to decode anything with this, however.

You're almost there; you just have to find the right key for the decoder wheel. After you decode the message you'll probably want to get your camera ready.

@yotann Thanks for the hint.  Unfortunately I've hit a brick wall on this key.  I'm guessing I've missed something obvious.

The key is a four-letter word from the same message as the wheel. You have to rotate the boxed numbers (01, 27, 53, 79) to line up with the corresponding letters of the key, then use the wheel to decode the message. Watch out for off-by-one errors!

Found the bug with my tools, but still end up with garbage data.  I'm going to try poking these values on the board, but not expecting much.
HOPE = qfelqqnmpylkpdaiqupqpfaglurawlayzzokieqfawnahhga
HARP = oucaeqbmdmaiddyxoudqpfauzufpuaymzxoigtquolnpffuy

The key is HOPE and the decoded message is unitseparatorrequiredtoinitiateandcommencebillie. (That's one of the lines in your options.txt, so you were definitely on the right track when you made that file.)

I'm revisiting my puzzle after solving it years ago, and somehow cannot figure out what to do next after decoding the message. Surprisingly very little out there about this puzzle besides this repo. Sorry for the necro, but do any of you remember enough to give me a hint to move on? :)

@Faeranne Sorry for grave-digging this further, but ...
@putnam Just searched through my notes and found this:

I powered up the board, put in the resistor, corrected the address for booting the board.
Hit CTRL+D, got the numbers, decoded them with HOPE and the mail.
Almost broke the board in two halves but realized that Unit Seperation means something different ...
Did the separation, Billie came up.
(I'm not sure about the order of the next few things, it was late when I did that)
Cut the antenna to take the board offline.
Measured the voltages, helped Billie to debug itself.
Ordered a BioS (3 $ for the chip, 22 $ for shipping ... ouch), put it in, Billie booted completely, gave the password for the Oktoberfest
Decrypted Oktoberfest, read through the documents, viewed the videos, understood that the filenames are base64-encoded; decoded them.

Does that help?
... also, if anyone remembers how to get the revision code for the website, I'd be more than grateful ...

Very helpful -- I remember most of this as well, but just can't remember how to do step 4 (the separation). I'm sure I'm missing something embarrassing. Do you remember anything about that step that you can provide as a hint?
I also had notes like yours, as in, a full write-up from beginning to end, but I deleted it after thinking I'd never see the puzzle again...

I also seem to remember the BIOS was not strictly necessary. It was something you could bypass by downloading a file somewhere instead. (I did buy one though)

@putnam Sure! It's probably better to look for a "unit separator" than for an actual separation.
Let me know if that helps (or not), I can also be more specific.
Cheers! ^_

Could you be a little more specific? It may sound dumb right now, but I’ve
tried inputting various kinds of separators like commas, symbols, etc. to
no avail.
This time I’ll have to do a full write up with spoilered clues for future
puzzlers.
On Wed, Aug 11, 2021 at 3:24 AM xrm @.***> wrote:

@putnam https://github.com/putnam Sure! It's probably better to look
for a "unit separator" than for an actual separation.
Let me know if that helps (or not), I can also be more specific.
Cheers! ^_
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Faeranne/PrototypeHARP-Research/issues/5#issuecomment-896615084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAASBT74XU43CATCDWVUE2TT4IXS3ANCNFSM4DZN5HIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Of course!
It's not a, but the unit separator.
(See "unit separator ascii" in a search engine of your choice). :-)
Better?
Cheers! ^_

Told you it’d be embarrassing! Thanks!
On Wed, Aug 11, 2021 at 6:30 AM xrm @.***> wrote:

Of course!
It's not a, but the unit separator.
(See "unit separator ascii" in a search engine of your choice). :-)
Better? ^_
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Faeranne/PrototypeHARP-Research/issues/5#issuecomment-896748813,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAASBT27C4MOYMY5YE37L7LT4JNMNANCNFSM4DZN5HIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Having finished the puzzle again, I forgot about the incomplete feeling of everything. There are multiple puzzles that look abandoned or pieces never used, like the whole "file scrambling" document that goes to nothing, the "look in the mirror" easter egg, etc.
They even provided hex editors and instructions on how to use them, something that is only useful if they actually implemented the "encryption" puzzle. Would have been cool, and I'm sure some people wasted a lot of time thinking they needed to "decrypt" certain image/video files that served no other purpose on the SD card.

I was about to point at that part of the puzzle just before I saw your edit ... :-)
When I solved it the first time, I actually tried both ways (with and w/o the BioS) just to verify that I didn't screw up at some point / missed something. But I totally agree that it's more challenging (read: interesting) without the chip.


#4746: adjusted the send a tweet's maximum character limit to accomodate hashtags and via @code.

Modified the IFeedback service to provide the character limit that the feedback service supports.
Implemented this logic in TwitterFeedbackService to give the remaining characters after accommodating hashtags (modified to be an array now) and the VIA tag, if one exists.
Fixes #4746

Hi @eklavyamirani, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@eklavyamirani, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Thanks! :+1:


Put back important changes lost during a bad rebase

@jasonpet could you please give this a review to make sure that I have properly un-messed-up this file ;)


fix: don't use window in entry.client.tsx

See https://github.com/remix-run/remix/pull/4998 & https://github.com/remix-run/remix/pull/4999

cool, thanks!


Just wanted to say : THANKS !

Hi Knut and other contributors,
Just wanted to say: thank you! I'm doing more and more with markdown and your library is just great!
So easy to use...
Perhaps one suggestion (no doubt someone has already mentioned it): if, from within the browser, we make a selection (f.i. CTRL-A for select all) and copy the result in, for instance, a mail body, we're losing the chart. Probably should we first export it using Pandoc (not yet tried) but in that case it's quite "complex" (we need to first install Pandoc then install converters and so on...).
I fully understand it's just JS and CSS representation (and it's really a tremendous job!) but, yeah, it's a little annoying to not being able to copy/paste the rendering outside the browser and lose it.
So, thank you guys for this nice job ! 🥇

Lot of people are having issue copying svg images, not just us:
https://stackoverflow.com/questions/12255444/copy-svg-images-from-browser-to-clipboard

I want to join in on the THANKS!
I have been looking for a tool to quick and easy create network maps (from textfiles since Im tired of spending hours of redesigning existing maps through visio and other gui based tools) and even if current version of mermaid doesnt fulfill all my needs (created separate issues on this) the learning curve to start using mermaid (for network mapping) is far easier than for example graphviz.


[Compatibility] Patch IDs

Here you can register a compatibility patch you are planning to make.
To get an ID for yourself simply find the latest comment in this issue and add 1 to ID from it.
Arbitrary IDs are not allowed. You are required to use ID that you'll get as instructed above.

1 = Synthetic Oil and Rubber (not published, used as an example)


NullPointerException at ModelFinder.findModels()

Original author<EMAIL_ADDRESS>(October 30, 2012 07:03:31)
> What steps will reproduce the problem?

Delete activejdbc_models.properties
Run ActiveJDBC

> What is the expected output?
     throw new InitException("you are trying to work with models, but no models are found. Maybe you have " +
                "no models in project, or you did not instrument the models. It is expected that you have " +
                "a file activejdbc_models.properties on classpath");

> What do you see instead?
Exception caught: org.javalite.activejdbc.InitException: java.lang.NullPointerException
org.javalite.activejdbc.InitException: java.lang.NullPointerException
at org.javalite.activejdbc.Registry.init(Registry.java:157)
at org.javalite.activejdbc.Model.getMetaModel(Model.java:58)
at org.javalite.activejdbc.Model.getMetaModelLocal(Model.java:952)
......
at org.javalite.activejdbc.Model.set(Model.java:202)
Caused by: java.lang.NullPointerException
at org.javalite.activejdbc.ModelFinder.findModels(ModelFinder.java:38)
at org.javalite.activejdbc.Registry.init(Registry.java:131)
... 37 more
> What version of the product are you using? On what operating system?
1.4.5 on Windows 7 Starter
>  Please provide any additional information below.
   if (models.size() != 0) {

should read
    if (models != null && models.size() != 0) {

Original issue: http://code.google.com/p/activejdbc/issues/detail?id=179

this is not an issue, closing


ensemble.debug('...') doesn't work on web console

ensemble.debug() doesn't print out on the Web console.

@vusters Can you check this PR - #508


[Parse] Split prefix operators from regex in the lexer

Teach the lexer not to consider / an operator character when attempting to re-lex a regex literal. This allows us to split off a prefix operator. Previously this was done after-the-fact in the parser, but that didn't cover the unapplied infix operator case, and didn't form a tok::amp_prefix for foo(&/.../), which led to a suboptimal diagnostic.
This also now means we'll split an operator for cases such as foo(!/^/) and foo(!/, /) rather than treating them as unapplied infix operators.
rdar://92469917

@swift-ci please test

@swift-ci please test


[1.12.2 Bug] Game Crashing after Breaking Conduits

Issue Description:
Game crashes after trying to break conduits.
What happens:
What happens is when I Try to pick up the conduits with a wrench or break them the game will crash on the instant of the conduit being clicked. Happens with bundles and stray conduits and happens multiple times.
What you expected to happen:
What I expected to happen was to be able to break or pickup the conduits easily. Can be fixed using creative mode or commands.
Steps to reproduce:

Place any EIO conduit down.
Take Pickaxe (or any tool to break conduits)
Start breaking the Conduit.
The game will crash on click.
...

Affected Versions (Do not use "latest"):

EnderIO: 1.12.2-5.0.46

EnderCore: 1.12.2-0.5.59

Minecraft: 1.12.2

Forge: 1.12.2-<IP_ADDRESS>38

SpongeForge? No

Optifine? No

Single Player Server

If needed I am playing the modpack "Omnifactory" with no additional mods.

Your most recent log file where the issue was present:
https://pastebin.com/raw/f2KCtdFb

may be caused by https://bitbucket.org/Requios/effortless-building/issues

Note: coming from net.minecraft.entity.player.EntityPlayer.getDigSpeed(IBlockState), PlayerEvent.BreakSpeed.getPos() is null (here Forge's Javadoc is wrong, btw), so
Effortless Building is calling BlockState.getBlockHardness() with a null pos.

PS: also, net.minecraft.block.Block.handler$getPlayerRelativeBlockHardness$zzb000(Block.java:2760) which causes the deprecated getDigSpeed() to be called is added by a coremod (no idea which one). getDigSpeed() is normally unused and should not be used.

nl.requios.effortlessbuilding.EventHandler.breakSpeed(EventHandler.java:133
)```


force new push to branch for all-contributors

Testing.

@all-contributors please add @CosmoMatt for Code

@all-contributors please add @CosmoMatt for review, doc, design

@all-contributors
please add @JessWhitney  for code, review
please add @alicjapolanska for code, review

@all-contributors please add @JessWhitney  for code, review


ALMA - discrepancy between talipp and tradingview

First of all, congratulation for this library, it is really cool for realtime processing.
I was checking the ALMA indicator and I noticed some discrepancy between this library and tradingview.
I did some tests and update the code to this, the results are now the same
s = self.period / self.sigma # s = self.period / float(self.sigma) -> no need the float cast
m = (self.period - 1) * self.offset # m = int((self.period - 1) * self.offset) -> the int cast is truncating the decimal part

Hi, thanks for the proposal.
Ad s, the float cast is needed if sigma is an integer.
Ad m, I found it like this somewhere but not sure where. Even trading view says //m = math.floor(offset * (windowsize - 1)) // Used as m when math.floor=true though I am not 100% sure what they mean (how does one set math.floor to true?)
If I remove flooring for m, indeed I get the same results as in trading view. I will do this change. Thanks.

Delivered in 2.2.1.


Limitations

Can you add any limitations into the README?
What can't it do?

Well Synology VMM is not possible and using a Synology account is not available too.
As far I can see only a single networking adapter is available to the docker container, but you can connect to the (multiple) physical adapters on the host via the bridge connection.

@kroese Can you bring those points out into the README, please? Will save you repeating yourself on future issues.


Graph runmodels

All comments resolved. Addition of qpyFuncSearch to replace get also included. PR up to date and ready to be merged in

All comments resolved. PR updated and ready to review


On a clean checkout of the repo, npm run test:cover doesn't create any files

git clone git@github.com:coryhouse/react-slingshot.git
cd react-slingshot
npm install
npm run test:cover

This leaves me with a coverage folder, with nothing inside of it.
Is this expected?

Hrmm, that's unfortunate. Yes, I'm seeing this too, so something has regressed. I'm currently buried on a late project but would welcome a pull request from anyone with the time to debug this.
Thanks for the heads up!

It looks like Isparta has already an open issue about this: https://github.com/douglasduteil/isparta/issues/126
I did what they suggested: adding "istanbul": "0.4.4" to package.json and that worked for me. @coryhouse should I create a pull request for this or wait until the issue is fixed by Isparta?

Fixed in #294. Thanks @marinbcaro!


ITestListener's methods get called multiple times for one test, when there are multiple tests in the xml

Similar to #171, this applies to ITestListener instances.
When there are multiple  and the xmls all use the same test listener, onFinish() gets called multiple times for one test, which does not seem intended.

Hello,
I have a similar issue, my testng.xml looks like the following:

<test name="package1">
    <classes>
        <class name="xxx.xxx.xxx.Account"/>
        <class name="xxx.xxx.xxx.Corporate"/>
        <class name="xxx.xxx.xxx.Department"/>
        <class name="xxx.xxx.xxx.Login"/>
        <class name="xxx.xxx.xxx.Subscriber"/>
    </classes>
</test>

I have a Listener which I use for all the classes above, that implements ITestListener. Every time a test is run, I see the following output in the log:
2016-01-25 15:28:22,517 [main] INFO  xxx.xxx.xxx.CustomListener - Start of execution package1
2016-01-25 15:28:22,518 [main] INFO  xxx.xxx.xxx.CustomListener - Start of execution package1
2016-01-25 15:28:22,518 [main] INFO  xxx.xxx.xxx.CustomListener - Start of execution package1
2016-01-25 15:28:22,519 [main] INFO  xxx.xxx.xxx.CustomListener - Start of execution package1
2016-01-25 15:28:22,519 [main] INFO  xxx.xxx.xxx.CustomListener - Start of execution package1
2016-01-25 15:28:26,716 [main] INFO  xxx.xxx.xxx.CustomListener - Test started: A0101_SearchAccountByName
2016-01-25 15:28:26,717 [main] INFO  xxx.xxx.xxx.CustomListener - Test started: A0101_SearchAccountByName
2016-01-25 15:28:26,717 [main] INFO  xxx.xxx.xxx.CustomListener - Test started: A0101_SearchAccountByName
2016-01-25 15:28:26,717 [main] INFO  xxx.xxx.xxx.CustomListener - Test started: A0101_SearchAccountByName
2016-01-25 15:28:26,717 [main] INFO  xxx.xxx.xxx.CustomListener - Test started: A0101_SearchAccountByName
The methods inside CustomListener look like the following:
@Override
public void onTestStart(ITestResult iTestResult) {
    log.info("Test started: " + iTestResult.getName());
}

@Override
public void onStart(ITestContext iTestContext) {
    log.info("Start of execution " + iTestContext.getName());
}

Any ideas?

I had this very same problem, and got round it by adding a boolean e.g. testStartListenerYetToRun to the base class and setting it to True in the @BeforeMethod (also in the base class), and adding an if condition to the CustomListener e.g.:
@Override     public void onTestStart(ITestResult iTestResult) {         if (((AbstractTestNGOrderGridTests)iTestResult.getInstance()).testStartListenerYetToRun) {             ((AbstractTestNGOrderGridTests) iTestResult.getInstance()).testStartListenerYetToRun = false;             log.info("Test started: " + iTestResult.getName());        }     }
You will need a second boolean for the onStart method.
The methods will of course still be invoked once per class but at least the code will only be executed once.

@LibertyLocked - Is the below sample what you were using as well ?
@stevie1877 - Are you trying to do this on TestNG 6.10 ? If not, can you please try this without your work around and see if you are able to reproduce this ? If you are still able to recreate it, it would be great if you could please help share a sample that I can use to reproduce this issue, so that we can get this fixed.
Here's what I have as test classes and suite xml file that I tried using to recreate the problem [ using TestNG v6.10 ] I am not able to reproduce this problem using the below samples on TestNG 6.10
package org.rationale.emotions.github.issue956;

import org.testng.annotations.Listeners;
import org.testng.annotations.Test;

@Listeners(ListenerFor956.class)
public class AccountTest {
    @Test
    public void testMethod() {
        System.err.println("accountTest()");
    }
}

package org.rationale.emotions.github.issue956;

import org.testng.annotations.Listeners;
import org.testng.annotations.Test;

@Listeners (ListenerFor956.class)
public class CorporateTest {
    @Test
    public void testMethod() {
        System.err.println("corporateTest()");
    }

}

package org.rationale.emotions.github.issue956;

import org.testng.ITestContext;
import org.testng.ITestListener;
import org.testng.ITestResult;

public class ListenerFor956 implements ITestListener {
    public ListenerFor956() {
        System.err.println("New instance created ");
    }

    @Override
    public void onTestStart(ITestResult result) {
        String print = result.getTestClass().getRealClass().getName() + "." + result.getMethod()
            .getConstructorOrMethod().getMethod().getName() + "()";
        System.err.println("Test started: " + print);
    }

    @Override
    public void onTestSuccess(ITestResult result) {}

    @Override
    public void onTestFailure(ITestResult result) {}

    @Override
    public void onTestSkipped(ITestResult result) {}

    @Override
    public void onTestFailedButWithinSuccessPercentage(ITestResult result) {}

    @Override
    public void onStart(ITestContext context) {
        System.err.println("Start of execution <" + context.getName() + ">");
    }

    @Override
    public void onFinish(ITestContext context) {}
}

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="1265_Suite" parallel="false" verbose="2">
    <test name="956">
        <classes>
            <class name="org.rationale.emotions.github.issue956.AccountTest"/>
            <class name="org.rationale.emotions.github.issue956.CorporateTest"/>
        </classes>
    </test>
</suite>

Here's the output
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ scrappable-project ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
[XmlSuite] [WARN] 'parallel' value 'false' is deprecated, default value will be used instead: 'none'.
...
... TestNG 6.10 by Cédric Beust<EMAIL_ADDRESS>...

New instance created
Start of execution <956>
Test started: org.rationale.emotions.github.issue956.AccountTest.testMethod()
accountTest()
Test started: org.rationale.emotions.github.issue956.CorporateTest.testMethod()
corporateTest()
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.461 sec - in TestSuite

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.752 s
[INFO] Finished at: 2016-12-09T21:48:28+05:30
[INFO] Final Memory: 22M/244M
[INFO] ------------------------------------------------------------------------

ping @juherr (Just keeping your fyi'ed)

Thanks @krmahadevan , no I can't replicate the issue using 6.10 - I have been using TestNG 6.1.1, so quite an old version. I will update to 6.10 as this clearly solves the problem. Many thanks.

@juherr - I guess we can close this issue as well.

I am experiencing this issue with TestNG 6.11.0

@snehalizaj Could you share a project sample?

For what it's worth, I could not duplicate this machine locally on my windows box, but I was able to get a repro for our jenkins machine.

What about v6.11 or the latest v6.12 ? ( 6.12 is only on Jcenter and is yet
to make it to Maven Central).
Can you please try and let us know? Also pls help share a sample to
recreate the problem.
On Tue, Sep 12, 2017, 21:29 zfolwick<EMAIL_ADDRESS>wrote:

For what it's worth, I could not duplicate this machine locally on my
windows box, but I was able to get a repro for our jenkins machine for
testNG 6.10
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cbeust/testng/issues/956#issuecomment-328896311, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA3hzRxM-dgWBv5c0F8t4e6tnnBWVsdOks5shqoKgaJpZM4HF_Il
.

--
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening
or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

Upgrading TestNG from 6.9 to 6.11 solved it for me. Thanks!

Hi!
I'm using latest version of TestNG 6.11, but it does not resolve this issue for me.
My xml config looks so:
'''

'''
When I run test in Intellij IDEA all methods of TestListener called two times.

@ils-808 - Do you have a test that we can use to reproduce the problem ?
Also what happens when you run your tests from a command line (or) using a build tool such as Gradle/Maven ?

@krmahadevan, I found that it was my fault. Version 6.11 works fine, thank you!

I am facing the same issue . In my scenario, there is only one testcase in single class. I am using Testing version 7.1.0 and I am facing the issue. I have tried testing version below 6.10 but facing the same. Kindly help.

@Abhijitdatta pls share a sample that can be used to reproduce the problem

TestNG version on eclipseIDE: 7.1.0
I seem to be facing the same issue. I have @beforemethod and @Test which is grouped in positive,negative and smoke tests in my java project file. When running via command prompt (mvn clean test)3 tests are run as expected, but with maven on eclipse , testng results displays 6 tests with 3 ignored using suitexml.
Attached testngreportxml and suitexml (in text file formats)
and screenshot of the report on eclipse.
Logintestsuite.txt
testngreport.txt

Can you please let me know why this seems to be the issue on the testng report.

@seleniumsb - If the problem is only when running tests via Eclipse, then you should be filing an issue on https://github.com/cbeust/testng-eclipse/issues
If this problem can be reproduced even via running from maven command line, then please create a new bug with a full fledged example that can be used to reproduce the problem.

This is the simple Testcase
@Test
public void getTitleTest()
{
	String actualTitle = driver.getTitle();
	System.out.println(actualTitle);
	String expectedTitle = "Free CRM #1 cloud software for any business large or small123";
	Assert.assertEquals(actualTitle, expectedTitle);
}

Base class scereenshot method
public void getScreenshot(String testcasename, WebDriver driver) throws IOException
{
	System.out.println("in screenshot method");
	TakesScreenshot ts = (TakesScreenshot)driver;
	System.out.println("in line1");
	File source = ts.getScreenshotAs(OutputType.FILE);
	System.out.println("in line2");
	String destinationFile = System.getProperty("user.dir")+"\\reports\\"+testcasename+".png";
	FileUtils.copyFile(source, new File (destinationFile));

}

intentionally expected title is given wrong to capture screenshot..  @Test method is getting failed for two times . for 1st time, its assertion issue and for 2nd time, it's null pointer exception.

@Abhijitdatta - Thats not a sample that can be used to reproduce the problem. Please share a simple standalone complete example (without any 3rd party dependencies such as selenium) with the listener that is getting invoked multiple times, so that we can reproduce the problem. The information shared is NOT sufficient to debug

I've reproduced the issue.
Listener:
public class TestEventListener implements ITestListener {

    @Override
    public void onTestFailure(ITestResult result) {
        System.out.println("Listener: test failed");
        System.out.println("Test class: " + result.getTestClass());
        System.out.println("Test method: " + result.getMethod() + "\n");
    }
}

Two test classes:
@Listeners({TestEventListener.class})
public class FirstTestClass {

    @Test
    public void firstTest(){
        System.out.println("First test");
        fail();
}

@Listeners({TestEventListener.class})
public class SecondTestClass {

    @Test
    public void secondTest(){
        System.out.println("Second test");
        fail();
    }
}

Two tests declared in testng.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Selenium UI tests">
    <test name="First test">
        <classes>
            <class name="com.example.FirstTestClass"/>
        </classes>
    </test>
    <test name="Second test">
        <classes>
            <class name="com.example.SecondTestClass"/>
        </classes>
    </test>
</suite>

pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.example</groupId>
    <artifactId>testng-listener-issue</artifactId>
    <packaging>pom</packaging>
    <version>1.0-SNAPSHOT</version>

    <dependencies>
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>7.1.0</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>3.0.0-M4</version>
                <configuration>
                    <suiteXmlFiles>
                        <suiteXmlFile>testng.xml</suiteXmlFile>
                    </suiteXmlFiles>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>11</source>
                    <target>11</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

When I call maven clean test on the output i can see that after first test listener method was called twice and after second test it was called once:
First test
Listener: test failed
Test class: [TestClass name=class example.FirstTestClass]
Test method: FirstTestClass.firstTest()[pri:0, instance:example.FirstTestClass@40005471]
Listener: test failed
Test class: [TestClass name=class example.FirstTestClass]
Test method: FirstTestClass.firstTest()[pri:0, instance:example.FirstTestClass@40005471]
Second test
Listener: test failed
Test class: [TestClass name=class example.SecondTestClass]
Test method: SecondTestClass.secondTest()[pri:0, instance:example.SecondTestClass@20d525]

When I declare only one test in testng.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Selenium UI tests">
    <test name="First test">
        <classes>
            <class name="example.FirstTestClass"/>
        </classes>
    </test>
</suite>

I can see that listener method was called once:
First test
Listener: test failed
Test class: [TestClass name=class example.FirstTestClass]
Test method: FirstTestClass.firstTest()[pri:0, instance:example.FirstTestClass@40005471]

This is fixed via PR https://github.com/cbeust/testng/pull/2222 and is available in TestNG 7.3.0 (latest released version)


Bug: Update checker spams console with errors

Minecraft version:1.17.1
Fabric Loader version: 0.12.2
Fabric API version: 0.41.0
Adv nbt tool tips version: 1.6.0 build 4
Crash log: https://pastebin.com/GDPpGme7
An example of what i see then looking at the logs via gd launcher dev tools

It looks like changing my fabric loader version back from 0.12.2 to 0.11.7 makes those errors not happen in the logs. looks like the latest version changes a bunch of stuff.


feat: remove footer in /dashboard page

Description
<Footer /> in landing page is not needed in /dashboard page, we can remove it to get a more cleaner UI.
[Optional] Possible Solutions
NA
Acceptance Criteria

Just remove <Footer /> in /dashboard page

Todo list
NA

Done.
Before:

After:


Sentry didnt send all the logs. Only send event on first app launch.

Platform:

[x]  iOS
[ ]  tvOS
[ ]  MacOS
[ ]  watchOS

Swift:

[x]  Yes -> If yes, which version? 3.0 on Xcode Version 8.2.1 (8C1002)
[ ]  No

sentry-swift installed with:

[ ] Cocoapods
[x] Carthage
[x] Manually

Carthage is my configuration, but I include it as subproject for helping me to debug.
Version of sentry-swift:
2.1.8

This is my debug report:
Sentry Debug Report

Can you set SentryClient.logLevel = .Verbose and send me the output after you start the app and sending some events while the app is running to<EMAIL_ADDRESS>, please?!
Also can you send me your sentry URL so I can check your account if our ratelimiter is limiting your account.

@HazAT Thanks for fast response. Sure, I will provide the data and send the email in coming hour(s). I'll inform you here after I send it.

@HazAT
I sent the logs to the provided email address.

Hey, I've just looked at your logs.
It seems that some request don't go through, I've just tested it locally with many logs and it works without any problem.
Could it be that you are on a poor internet connection?

@HazAT
Thanks for the follow up.
Our current infrastructure is required VPN and we open up specific port for sentry server to bypass that. Can that be the case?
We will setup https for our sentry server. But until then I will try to verify if Network configuration is really the cause of this or not.
Thanks again

There is a timeout on the requests, so after 30-60sek you should see failing requests which will be sent later.
If you set SentryClient.logLevel = .Debug you will see all info needed (without the payload of the request).
Failed requests will be sent with the next triggered event including a 1min buffer.
Nevertheless the queue should be ready after some time even if all requests fail.
I am pretty sure there is something about your network blocking some requests, what you could try is sending just one event at a time and increase the amount until you see them start failing.

@HazAT Alright, I think you can close this issue for now, If after re-setup our network infrastructure it still happens. I will reopen the issue with extended logs. Thanks

@ahmadmuhsink Please update to 2.1.11, this should fix the issue.

@HazAT Thanks. I will try that.


X509_digest_sig: Handle RSA-PSS and EDDSA certificates

Identify digest from sigalg params for RSA-PSS and fallback
to SHA-256 for EDDSA.
Fixes #15477
Checklist

[x] documentation is added or updated

fixup pushed

Sorry, I forgot to set the "approval:done". Can this still be merged now?

We can wait a day. There is no hurry.

Merged to master. Thank you for the reviews.


avast detected problem in file pkg-config.exe

I get avast threat in file pkg-config.exe.
See picture from screen attached.

Basically a dup of #85 and various others. u-config is clearly not malware, you can build from source and audit yourself. There's nothing that can be done, this is NOT an issue.

See also the comments on #93 and #100

Regarding avast specifically, I would argue it quite literally IS malware.
https://www.theverge.com/2024/2/22/24080135/avast-security-privacy-software-ftc-fine-data-harvesting

As @Peter0x44 said, a false positive. Avast is confused, overconfident,
and overselling its capabilities (i.e. snakeoil). Note how it doesn't
hedge and say that it "might" be infected, but flatly says that it is
infected, which is obviously incorrect.
In fact, pkg-config.exe is in the unusual situation in that it's feasible
to manually verify the binary. It neither contains nor links runtime code
(no CRT). Every byte of code in the binary corresponds to a line in the
included pkg-config.c, and can be accounted for. You can also compile a
bit-for-bit identical binary using w64devkit itself. The build command is
listed in the included Dockerfile (search for "pkg-config.exe"). If you
enable debug information (-g) and don't strip (no -s, --gc-sections), the
code remains unchanged, but you get the map of code bytes to source lines,
i.e. for objdump -dS or addr2line.


Private const visible in docs.

_emptyWidgetList is visible in the docs.
Since we should have some default behavior when a Widget takes a List<Widget> as a children parameter, we should probably either use const <Widget>[] or make this const public.

Seems like this problem is fixed. Closing the issue.


Add modularity to Hash functions.

GPU is working now.

As per offline discussions, I'm merging this PR directly.
Thanks,
Pin-Tsung


Upgrade dependencies

Purpose (TL;DR) - mandatory

Since rebasing and doing all the upgrades, Node 14 complains:
  npm ci
npm ERR! fsevents not accessible from chokidar

Since rebasing and doing all the upgrades, Node 14 complains

There's always one squeaky wheel, isn't there? :P

Thank you ❤


when running e2e tests, the test case being executed are stuck and are not proceeding, also there is no option of adding verbose

Even if the test case is running, no output is being observed on the screen, also no option of adding verbose.
But the Kubernetes e2e tests have this option (--ginkgo.v)
./e2e.test --provider=local --kubeconfig=/Users/gpramita/.kube/config --node-os-distro=windows --ginkgo.v --ginkgo.focus="services"

We can close this in favour of tracking through 2 separate issues I created

https://github.com/kubernetes-sigs/windows-operational-readiness/issues/75
https://github.com/kubernetes-sigs/windows-operational-readiness/issues/69

/close


Mark Oliver week 3

Did more laTex, AFAIK this was entirely a stretch goal https://github.com/invegat/DS-Sprint-03-Creating-Professional-Portfolios/blob/master/LaTeX.ipynb


I find that the version 0.9.3 really has a big promotion

the more CPUs I set the faster it performed，little while ago the more CPUs i set the slower it was，though the cpu utilization percentage was so high. and the distributed training is faster obviously than other deep learning frame like paddle

But there is a fatal problem why it often interrupts unpredictable

Please provide more info.
hardware?
config.mk setting?
full error message with stacktrace?

hardware are Inspur server NF5280M4×2  with ：intel Xeon cpu e5-2670 v3（12cores 24threads/cpu）×2，256g memory，2T Hard disk，Gigabit Lan，Suse 12
docker version is 1.2
the docker image is Ubuntu 14.04 LTS with mxnet 0.9.3
config.mk 's setting is almost the default and I only echo "USE_DIST_KVSTORE = 1" to it at the end
I built the docker container on the servers with command：
docker run --name mxnet_8cpu -d -v ... -m 64g --cpuset=8...15 -it .....
and I add the cpu number by setting：ctx=[mx.context.cpu(i) for i in range(cpu_num)]
when I let cpu_num=4 or 8 it interrupted unpredictable sometimes without any messages

maybe the way I set the cpu number was unreasonable , It's used to set the gpu number

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Editing Track State Issues

When editing a detection if you click off of it to remove the grabbers for the annotators it still remains in an 'Edit' state in the track list (A * next to the name).  This is because the removal of the handles for resizing and isn't connected to resetting the editingTrackId.
If you resize a detection to a smaller size and then click outside the annotation to deselect/confirm it will cancel the resize.
When you are editing (annotation handles are visible) if you select a different track through the track list, it will maintain the editing state.
Edit Annotation Handles are very large for smaller boxes and make it difficult to see.  Might be better to provide some sort of scaling or other option for it to work better.

1- I need to set EditingTrack to false when you click off of editing.  Working on some updates that will do that.
2 - Is slightly different, if you click on another selection while resizing it will prioritize the new selection instead of canceling the annotation.  I think selection of other objects needs to be disabled while actively editing the current annotation.  At least with the mouse.

Update, almost working.  Need to fix if you are an editing state and you select another annotation to edit it will do some swapping.  Probably makes more since to disable editing other annotations until you cancel out of the current editing state.