Add Acmlmboard forum ignore patterns

From jobs 9h7sqivag9rq0rdqkzcr20efo and 3is0spcpeysoxm5ccszzwjp92

Also add whatever http://www.snes-projects.de/forum/ is.
Job id 4ewb165bzjd7r3y4fyaw6l5l5.
?form=(Search|PMNew|)
action=(firstNew|BoardMarkAsRead
page=UserThankList
&styleID=
&highlight=
&(sortField|sortOrder)=
\?page=Thread&postID=\d+&l=

That's Woltlab Burning Board (WBB). It looks like WBB changed the URL format at least a few times since I last worked with it (~10 years ago).
Some of those ignore patterns seem too broad to me. sortOrder can easily collide with other softwares; if there is a forum and other content under a domain, we might need to preserve that to get the other content. \?form= is also too general.
In any case, this just reminded me that the forums igset is getting very messy. See #317.


intercepted unhandled exception

Describe the bug
When i start the game with addon, crash and show error (check image)
I called d3d9_chainload.dll
To Reproduce
Donwoload last release from plugin
Put d3d9_chainload.dll in bin64
Start the game.
Expected behavior
It should works.
Screenshots

System configuration (please fill in):

OS: Windows10
GPU: GTX 1080 TI
arcdps > gw2radialmount

Additional context

Not enough details to be actionable, and the code has changed a lot since then. When the next alpha releases, please try again.


Generate node14.18.1 base and browser image

Is it possible to add this specific combo of now outdated versions to the repo? Currently working on an out of date project and looking to add cypress to help add confidence whilst upgrading everything so would be super handy!

Any advice on how I can fix the arm64 test? I assume I don't have the necessary credentials to follow the steps here?

Hey @ariley90 , with our newly released cypress/factory image, you shouldn't need us to release an image for you!
Normally you'd consume our docker image in a docker file like this:
FROM cypress/browsers:node14.18.1-chrome108-ff108

<whatever steps you want>

With cypress/factory, you can instead add args for the versions you want and consume the factory directly.
ARG NODE_VERSION='14.18.1'
ARG CHROME_VERSION='108.0.5359.98-1'
ARG FIREFOX_VERSION='108.0.2'
# You could also add edge here if you need it!
# ARG EDGE_VERSION='109.0.1518.52-1'

FROM cypress/factory:latest

<whatever steps you want>

We've setup the docker image with onbuild steps that read the args and build out the cypress factory image with the specified versions.

Hey @mjhenkes, thanks for the heads up.
Gave the new factory approach a go today and can confirm it worked with the correct versions, nice work!
Unfortunately I did still hit an issue of sorts which I thought might be worth raising.
My initial motivation for raising this MR was to avoid this error when running via the start-server-and-test package.
events.js:377
      throw er; // Unhandled 'error' event
      ^
Error: spawn ps ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:274:19)
    at onErrorNT (internal/child_process.js:469:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12)
    at onErrorNT (internal/child_process.js:469:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn ps',
  path: 'ps',
  spawnargs: [ '-A', '-o', 'ppid,pid,stat,comm' ]
}

I could see this had been addressed via https://github.com/cypress-io/cypress-docker-images/pull/645, where the missing 'ps' package was added to generate script, but no suitable node version image had been created since.
I will take a proper look over your change to try and understand myself but incase I miss it, is the intention to no longer support having these packages in the image now with the factory approach?
For now will continue to add it on top like so :+1:
ARG NODE_VERSION='14.18.1'
ARG CHROME_VERSION='108.0.5359.98-1'

FROM cypress/factory:latest

RUN apt-get update && \
    apt-get install --no-install-recommends -y \
    procps

@ariley90, Thanks for bringing this up. It will be addressed in #819

@mjhenkes  Yes I just saw, thanks for the swift response!
Tested it again and works perfectly now.

Pre change 😞
Post change 😃

Awesome work!


feat(Business Glossary) business glossary and user - tab based profile page

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Closing the PR https://github.com/linkedin/datahub/pull/2550 and continuing it from this one.
As per discussion with @gabe-lyons we remove the subview system from glossary and user profile page and add the tab based UI to keep consistency with other entity profile page. Below are the screenshots which shows how our new UI for business glossary and user profile looks like
User Profile Page

Glossary Profile Page

#2142


[Cleanup] Misc. touchups

Add link to Go code check
Write note on delivery
Removed unused file field
Misc. cleanup

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   82.88%   82.88%
=======================================
  Files          18       18
  Lines        1157     1157
=======================================
  Hits          959      959
  Misses        136      136
  Partials       62       62

Impacted Files
Coverage Δ

internal/domain/task/models.go
90.35% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[Maintaince] Current situation and community help

Hello,
The current situation with this library is that it will be abandoned soon and yes, it's real.
I don't have the ability to fix the underlying issues (neither does anyone else) as I'm in no way in control of the repository. I can't merge and release the new version due to a permission problem.
It has been 3 years that @jenssegers is silent. Honestly without @Smolevich, @Giacomo92, and other contributors that recovered this library last time, it would be dead already a few years back.
I've invested my personal time and tried my best to keep it alive but this silence isn't acceptable to move this library forward.
@jenssegers if you're not interested in taking care of just transfer to an organization that the community could take care of it. Last time you explained that you don't have time due to new work and went silent completely for a few years...
We as a community tried to communicate but no replies were received.
Sorry for a little bit of the aggressive tone but I'm tired of spending my personal time while somebody who could help solve all of this problem doesn't even reply.
Personal repositories aren't meant to be managed by a few collaborators so moving forward is to transfer this repository to an organization that could handle it.  @alcaeus @jmikola maybe you can help with the transfer of this to the MongoDB organization or community-driven organization would be a better fit?
I probably could do some workaround to release the new version but I won't do that as I can't even merge my https://github.com/jenssegers/laravel-mongodb/pull/2471 which is sad indeed.
Let me know what you think.
Thanks!

What would be your recommendation? What organisation would be a good fit to keep this library alive?

Hi everyone,
MongoDB has a strong interest in having well-maintained framework integrations, which is why we're currently hiring for a Senior PHP Engineer to help us maintain and improve the integrations to Laravel and Symfony. We are open to moving this library to the MongoDB organisation, but that would need the approval of @jenssegers, the current maintainers, and our product department (@techbelle). At the same time, we wouldn't want to take over the library and just lock out current maintainers, so that's something I would want to discuss as well.
An alternative would be to move this library to either the Laravel umbrella (which would require discussing things with @taylorotwell), the FriendsOfPHP organisation, or a newly created organisation with the sole purpose of housing this repository, along with a minimal owner structure capable of making decisions beneficial to the future of the library. We are open to all of these options, and it mainly depends on @jenssegers and the current maintainers to help us choose one. To that end, we should probably get together and discuss a way forward. I would recommend a virtual meeting given that maintainers are usually geographically separated. I will also be attending LaraconEU next week (January 26th and 27th), so in case any of the maintainers, contributors, or users of this library are attending as well please don't hesitate to come to our booth and talk to me about this library.
@jenssegers, @divine: if you'd like to discuss things in a more private setting first, please contact me. I don't want to make it too easy for spambots, but the email address I use in my commits receives email so that would be one way to get in touch with me.

What would be your recommendation? What organisation would be a good fit to keep this library alive?
I'm really thankful for all the work you guys have been doing with the library. I've been quite out of the PHP ecosystem for the past years and I don't want to be a blocking factor in moving forward with the library.

Thank you for getting back. I've tried contacting the owners of a few PHP organizations but they refuse with the suggestion of having a separate organization for this library solely.

if you'd like to discuss things in a more private setting first, please contact me.

@alcaeus I've sent you an email.
Thanks!

Hi everyone!
In my opinion, this library requires total refactoring, since it does not meet the methodologies and approaches that are used when working with MongoDB. Moreover, the team and I had to write our own solution and abandon this library in order to get a friendly codestyle when using Laravel, we also had to write a query builder for aggregation pipelines from scratch, which is not in this library at all.
@alcaeus
It would be interesting for me to work on a library for Laravel, since I have been using PHP + MongoDB for more than 4 years on large and small projects and I live the dream of making an ideal library for PHP and integration with PHP frameworks for this database.
If my impulse is interesting to you, I suggest we talk)
gmail<EMAIL_ADDRESS>telegram: @iglazunoff

After some internal discussions, we are indeed interested in taking over maintenance of this library. @jenssegers if you are interested in MongoDB taking over maintenance of this library, please reach out to me so we can discuss details. You can find me on Twitter (https://twitter.com/alcaeus), or you can grab the email address from one of my recent commits and contact me there.

We had a conversation with @alcaeus and the best for this repository would be MongoDB as an organization to take it over so they can move this library forward. This way it'll be handled properly and the library users will be happy.
@jenssegers please kindly answer @alcaeus.
Thanks!

@jenssegers Hello, we're stuck without any reply.
Could you please kindly transfer this repository to the community repository, which was created by me, laramongo after which it will be moved to the "MongoDB" organization so they can take care of this library?
I'm with @Smolevich; he and me will still be the maintainers, but under the MongoDB organization, it will be handled properly so it won't be dead after a few years.
The reason for a temporal movement is that it's not possible to do this without communication from your side, so I'll take care of it.
I hope you'll see my message and accept the transfer.
Thanks!

@divine could lararmongo organization just fork this repo?

So what happens to this repo?

We are currently putting the pieces in place to migrate the repository so that there won't be any disruptions in service. We'll post an update once there are news.

Any update on release with Laravel 10 support?

It is done when it's done. If you want to test it early, please use the dev-master version and let us know if it works or if you encounter any issues.

Any update on release with Laravel 10 support?

I have created an PR to support Laravel 10.

Any update on release with Laravel 10 support?

I have created a PR for Laravel 10 support.

Any update on release with Laravel 10 support?

It is done when it's done. If you want to test it early, please use the dev-master version and let us know if it works or if you encounter any issues.

it is works as well for now. I tried it.

It has been a couple of months now since this update. Is there any news that can be shared?

We're still putting pieces into place. It's taking longer than I had hoped, but we're still committed.

I have a new project about to start, and would love to know where things currently stand before I integrate this library into it.

There is no other alternative at this time, so I would suggest you integrate this library. As per my previous comment, my wish is for us to take over maintenance of this library without any disruption.

Please which version/PR branch is most stable for laravel 10?

Thanks @haridarshan21.  I used dev-master

Thank you, guys, for the input!

Hello guys, thanks for the great work you're doing in keeping this library alive.
As in #1974 , the future of EmbedsOne/Many/OneOrMany seems uncertain, but in my company we are using them in several parts of our projects.
Since they are still present in current 3.9 version, what should I expect?
Thanks!

@lbrutti Embedded documents are a core concept of MongoDB, and as such we are not planning to remove them entirely.
However, I did previously discuss this with @divine, and there are some issues around the current implementation of embedded documents and how people use them. We will address this at some point, but rest assured that the library will continue to support embedded documents.

@alcaeus Now that you guys are adopting this package, is there anything on your roadmap for providing a mongodb integration for laravel scout?

@ithuis: There are no immediate plans as there is presently a lot to do just for this package itself, but I've opened PHPORM-28 so we can track your request down the line.

ok, i understand. Then i will give it a try myself.
also, i dont have permission to see the request, but i trust you completely ;-)

@alcaeus would be great if you could provide more news about when this library could be maintained again. The Laravel community is so eager for this package to be maintained again as it is the most used Laravel-Mongodb package and the one that thousands of projects depend on!
We appreciate MongoDB team's time and effort on this.

@alcaeus would be great if you could provide more news about when this library could be maintained again. The Laravel community is so eager for this package to be maintained again as it is the most used Laravel-Mongodb package and the one that thousands of projects depend on!
We appreciate MongoDB team's time and effort on this.

I've tried my best to push this forward but there is a delay that sadly went out of its way.

Hello everyone! I wanted to provide an update to the current situation. It took a lot longer than we anticipated, but I can now confirm that MongoDB will be maintaining this library going forward. Over the next few days, we will be transferring this repository to the MongoDB organisation on GitHub (https://github.com/mongodb), making sure that everything continues to work as expected.
We have been hard at work over the past weeks making improvements so that we can ship a 4.0 release with compatibility for Laravel 10. There are a few things left to do, but we will provide an update once we have a release date in mind. Please be aware that the upcoming release will also result in a new package name on packagist. Upgrade instructions will be provided to ensure a smooth transition from 3.9 to 4.0.


What about audio ?

Hello, How can I have a perfect recording of what happens in the tab including audio?

Issue 4 has some discussion on getting audio. See it that helps


Add Jiangxing Intelligence to LF-Edge landscape

Add logo and metadata for Jiangxing Intelligence

https://landscape.lfedge.org/selected=jiangxing-intelligence is already present?

yup... guess I didn't find it when searching...


any update to use angular material 2 ?

hello,
is there possibility to use angular material 2 with angular2-meteor ?
version of angular2 used is not complete, someone can guide me to fixe it !
thank you

yes we have it working on the next version on Socially 2.0 with Meteor 1.3.
Will be updated in the tutorial when Meteor 1.3 will be out

Enjoy :)
http://www.angular-meteor.com/tutorials/socially/angular2/angular-material-and-custom-angular-auth-forms


Debian: add non-free-firmware repo component

Debian 12 "bookworm" added the non-free-firmware repository component. This pull request adds that component to examples, tests, and backports for Debian 12. Reference: https://wiki.debian.org/Firmware
Includes #1174.

As we saw some breaking changes, https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/738, this shouldn't be marked as a feature I guess?

@kenyon I think this introduced a regression: https://github.com/puppetlabs/puppetlabs-apt/pull/1208


Add start_shard, start_shards, start_shard_range methods to Framework

Adds methods to start the framework with different sharding configurations available in the serenity::Client

Thanks
Maybe the start_with method should be exposed instead so we don't have to add so many boilerplatey wrapper functions? .start() and .start_autosharded() are used the most (I believe?) so those wrapper functions could stay for convenience

Sure, that makes sense. The Framework::start_with method is already public but with the original fn(Client) -> F type, trying to move variables into closure causes an error closures can only be coerced to fn types if they do not capture any variables. The first commit in the chain (eb6b151) is enough to fix this.

The Framework::start_with method is already public

Oops I forgot lol
Okay there should be a note in the start() and start_autosharded() docs explaining the use of start_with for serenity's other start functions. You can do it or I will once I'm home from vacation

I can do it while yanking those methods I added.

That should do it?
I only added a single example of how to use the Framework::start_with method but I think it's enough to demonstrate how it works.

Are you ok with my changes?

LGTM


cannot start pool server

I'm not able to start pool server with the following command

./poold --debuglevel=debug

2020-11-03 17:30:45.136 [INF] LLMD: Version: 0.3.2-alpha commit=
2020-11-03 17:30:45.136 [INF] LNDC: Creating lnd connection to localhost:10009
2020-11-03 17:30:45.147 [INF] LNDC: Connected to lnd
2020-11-03 17:30:45.453 [INF] LNDC: lnd version: v0.11.1-beta, build tags 'autopilotrpc,signrpc,walletrpc,chainrpc,invoicesrpc,watchtowerrpc'
2020-11-03 17:30:45.455 [INF] LNDC: Using network mainnet
2020-11-03 17:30:45.455 [INF] LNDC: Waiting for lnd to be fully synced to its chain backend, this might take a while
2020-11-03 17:30:45.591 [INF] LNDC: lnd is now fully synced to its chain backend
2020-11-03 17:30:46.082 [INF] LLMD: Auction server address: pool.lightning.finance:12010
2020-11-03 17:30:46.091 [INF] CLDB: Checking for schema update: latest_version=1, db_version=1
2020-11-03 17:30:46.092 [INF] RPCS: Starting trader server
2020-11-03 17:30:46.242 [INF] RPCS: Connected to lnd XXX with pubkey XXXXXXXXXXXXXXXXXXXXXXXX
2020-11-03 17:30:46.250 [INF] AUCT: Shutting down auctioneer client
2020-11-03 17:30:46.250 [DBG] LNDC: Closing lnd connection
2020-11-03 17:30:46.250 [DBG] LNDC: Wait for client to finish
2020-11-03 17:30:46.250 [DBG] LNDC: Wait for chain notifier to finish
2020-11-03 17:30:46.251 [DBG] LNDC: Wait for invoices to finish
2020-11-03 17:30:46.251 [DBG] LNDC: Lnd services finished
2020-11-03 17:30:46.251 [DBG] LNDC: Lnd services finished
unable to start server: unable to receive first block notification: rpc error: code = Unknown desc = verification failed: signature mismatch after caveat verification

It sounds like you provided the wrong macaroon to connect your Pool server to lnd. What does your pool.conf file look like?

there is no pool.conf inside .pool. But when I've the same result with the following start command.
./poold --debuglevel=debug --lnd.macaroondir=/home/XXX/.lnd/data/chain/bitcoin/mainnet/ --lnd.tlspath=/home/XXX/.lnd/tls.cert

Is this a RaspiBlitz setup? The reason why I ask is that they have multiple user home directories and copy macaroons around. The error message means that the macaroon Pool uses to connect to lnd is rejected by lnd. Could it be that some of the macaroons in that directory are an older version than others, for some reason?
Can you try the following please:

Stop lnd
Remove all *.macaroon and the macaroon.db file in the /home/XXX/.lnd/data/chain/bitcoin/mainnet/ directory (this will make all macaroons for the node invalid! It might mean you need to setup your applications that use lnd again with the new macaroons).
Start lnd, check that new macaroons are generated
Try starting Pool again.

Yes, this one solves the issue.
Thx


Document conffile search paths and order

Why, if you have messed with that more recently?

@mbelluzzo it would be nice to document it and also review our samples / demos fixing these names. If people continue to send PRs not using the expected naming I wouldn't discard the possibility of sending an email about it.

also missing is the board detect to look for multiple files (ie: sorted by name, so we have 50-default.json, 01-my_override.json...)
otherwise people will ship packages with different pinmux but won't be used unless they add the new board to their board_detect.json)

#1055 + Added doc in the wiki


Improved property grain hinting in syntax definition

Problem Statement
We should support more granular property syntax to enable optimization.
Specifically, these two cases should be differentiated.
Unique ID integer date key
Unique Property 1-1 with ID date text
Non-unique Property 1-many with ID date month
select
date_key,
date_text,
date_month
should still be treated as grain(datekey)
but select
date_text should be grain(datekey)
and
date_month should be grain(date_month
Alternatives Considered
Please briefly describe which alternatives, if any, have been considered, including merits of alternate approaches and
tradeoffs being made.
Additional Context
Please provide any other information that may be relevant.

This is effectively implemented with the <abc,def>.property definitions.


Add appveyor.yml

Secure all environment secrets
Add appveyor.yml
Ensure it works. The last time you tried it we got warnings building tike-app.dll

Confirmed that Nuget publishing works when a release is tagged. Yay! 😄


submission.csv

Hi, marko, thanks for your sharing. I have run you code, and when i run 'python train.py', after it completed all epoch, there is a warning for all images in /pregs: low contrast image. I ignored the warning, after all the file 'imgs_test_mask.npy' has generated. Then i run 'python submission.py', there is no any errors. but final submission.csv only have the images number, no pixel value. can you help me?

Hi @double-flower, did you solve this issue?

Something obviously get silently broken.
First of all it don't work in python 3 out-of-the box.
Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 13 2017, 12:02:49)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information

python data.py
Traceback (most recent call last):
  File "data.py", line 92, in <module>
    create_train_data()
  File "data.py", line 19, in create_train_data
    imgs = np.ndarray((total, image_rows, image_cols), dtype=np.uint8)
TypeError: 'float' object cannot be interpreted as an integer

Then fixing one line like total = len(images) // 2 get it work.
Then we get warning:
/home/myuser/anaconda3/lib/python3.6/site-packages/skimage/external/tifffile/tifffile.py:2611: RuntimeWarning: py_decodelzw encountered unexpected end of stream
  strip = decompress(strip)

Not sure if it's harmfull, looks like all images can be opened.
Also I have checked output from model it's in [0,1] range.
And then I found a bug:
https://github.com/jocicmarko/ultrasound-nerve-segmentation/blob/master/submission.py#L43
this produce wrong shape and should be img = imgs_test[i,:,:,0]

It's because you're using Python 3.6, and this code was written in Python 2.7, where division operator works differently.

Looks like something still broken:
Broken version from master, which produce empty submission.csv
Private Score 0.53448
Public Score 0.51031
My version, with fixes. Run using  python 3.
Private Score 0.31693
Public Score 0.31208
My version, with fixes. Run using  python 2.
Private Score 0.28902
Public Score 0.29644
My environment:
Python3
Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 13 2017, 12:02:49)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

pip show keras
Name: Keras
Version: 2.1.3
Summary: Deep Learning for humans
Home-page: https://github.com/keras-team/keras
Author: Francois Chollet
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/myuser/anaconda3/lib/python3.6/site-packages
Requires: scipy, pyyaml, six, numpy

pip show tensorflow-gpu
Name: tensorflow-gpu
Version: 1.4.0
Summary: TensorFlow helps the tensors flow
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /home/myuser/anaconda3/lib/python3.6/site-packages
Requires: enum34, wheel, numpy, tensorflow-tensorboard, six, protobuf

pip show scikit-imageName: scikit-image
Version: 0.13.0
Summary: Image processing routines for SciPy
Home-page: http://scikit-image.org
Author: Stefan van der Walt
Author-email<EMAIL_ADDRESS>License: Modified BSD
Location: /home/myuser/anaconda3/lib/python3.6/site-packages
Requires: matplotlib, six, networkx, pillow, PyWavelets

Python2
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.

pip2 show keras
Name: Keras
Version: 2.1.1
Summary: Deep Learning for Python
Home-page: https://github.com/fchollet/keras
Author: Francois Chollet
Author-email<EMAIL_ADDRESS>License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires: pyyaml, six, scipy, numpy
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning

pip2 show tensorflow-gpu
Name: tensorflow-gpu
Version: 1.3.0
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /usr/local/lib/python2.7/dist-packages
Requires: tensorflow-tensorboard, six, protobuf, mock, numpy, backports.weakref, wheel

pip2 show scikit-image
Name: scikit-image
Version: 0.12.3
Summary: Image processing routines for SciPy
Home-page: http://scikit-image.org
Author: Stefan van der Walt
Author-email<EMAIL_ADDRESS>License: Modified BSD
Location: /usr/local/lib/python2.7/dist-packages
Requires: dask, six, matplotlib, pillow, networkx, scipy


Update github-api to pick up secondary rate limit improvements

Resolves #789. (Hopefully, although as it's an intermittent issue, it will take a while to confirm.)

Faster feedback than expected, still failing: https://github.com/quarkusio/extensions/actions/runs/9594280664/job/26456491441


Display type definition when we highlight a variable

Feature request:
The current behavior when we mouseover a variable is to display the type in a popup
example:

This is great, but sometimes I also want to access the type definition. Could we show as well the type definition when we highlight the variable and maybe hold an extra key.
Right now the only way to get the type definition is to highlight the type itself (which might not be directly available in editor)

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


decodeIntegerValue throws an error, but it's not caught.

Environment details

OS: Linux
Distributor ID: Ubuntu
Description:    Pop!_OS 19.10
Release:        19.10
Codename:       eoan
Node.js version: v10.15.2, v12.14.0
npm version: 6.4.1, 6.13.4, yarn 1.19.1
@google-cloud/datastore version: ^5.0.2 (5.0.3, 5.0.4)

Steps to reproduce
Add an integer value into the datastore that won't fit within the bounds of Number.MAX_SAFE_INTEGER
Try to request the data back from the datastore:
const datastore = new Datastore({...})
const q = datastore.createQuery('sesionState').filter('event', '=', event || '');
datastore.runQuery(q)

The application will crash due to an uncaught exception:
Error: We attempted to return all of the numeric values, but value<PHONE_NUMBER>709552000 is out of bounds of 'Number.MAX_SAFE_INTEGER'.
To prevent this error, please consider passing 'options.wrapNumbers=true' or
'options.wrapNumbers' as
{
  integerTypeCastFunction: provide <your_custom_function>
  properties: optionally specify property name(s) to be cutom casted}

Also a typo misspelling of 'custom' here ----^
at decodeIntegerValue (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:388:13)
    at Object.decodeValueProto (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:462:23)
    at Object.entityFromEntityProto (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:607:45)
    at Object.decodeValueProto (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:465:31)
    at value.values.map (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:446:57)
    at Array.map (<anonymous>)
    at Object.decodeValueProto (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:446:37)
    at Object.entityFromEntityProto (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:607:45)
    at Object.decodeValueProto (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:465:31)
    at Object.entityFromEntityProto (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:607:45)
    at results.map.result (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:797:32)
    at Array.map (<anonymous>)
    at Object.formatArray (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/entity.js:796:24)
    at Immediate.request_ [as _onImmediate] (/home/jpate/Documents/escaperoom/leaderboard/node_modules/@google-cloud/datastore/build/src/request.js:230:45)
    at runCallback (timers.js:706:11)"

It looks like there's nothing that actually catches errors from entity.formatArray(...)

Caused by this commit
https://github.com/googleapis/nodejs-datastore/commit/6c8cc74820ca7eaab0e08b9cefac11095c466256

@jamie-pate :wave: thanks for the bug report, do you have a work around for the time being?

The work-around so far is to add {wrapNumbers:true} as the options for every single datastore.get(key, options) or datastore.runQuery(query, options) call in my code base.

Sample data that causes the issue:

@jamie-pate Currently this is intended behavior. Due to js limitations (52 bit safe integer) this library by default will throw an error while attempting to get an an out of bounds integer value from datastore.
This library offers two options to accurately obtain an out of bounds integer value.

Pass  {wrapNumbers:true} in options

as a result the numeric value will be returned as datastore Int object in which

calling #valueOf will attempt to convert the value to Number and will throw aforementioned error if the value is out of bounds.
calling #value will return the numeric value as a string.

Pass wrapNumbers as IntegerTypeCastOptions in options.

You can pass your own function that will convert integer value obtained from datastore
As an added benefit you can also pass name(s) of properties who's values should be converted using your own provided function. (by default all integer values will be converted using provided function)

function myFunc(value) {
  console.log(value);
}

datastore.runQuery(q, {
  wrapNumbers: {integerTypeCastFunction: myFunc},
});

The issue isn't the throwing part, it is the transition between exception based error handling and stream/callback based error handling.
The caller of entity.formatArray(...) is a stream event handler which uses the nodejs callback style error handling.
When the error is thrown it is never caught. The consumer (my code) has no chance to handle the error (other than the uncaught exception handler) and the original call site will never finish because the callback is never called.
It's extra confusing when you add promisify around the original .get() or .runQuery() and the promise never completes.
This isn't the real problem because if you do not have an uncaught exception handler the process will exit with an error code!!! (And the stack trace provided is useless on a production system)

Also, the originally stored number appears to have been inserted as a JavaScript float as a member of a plain JavaScript object. In this  closed JavaScript only system the precision loss had already happened long before the data was passed to the library for storage in the first place. I'm not sure what the value is of testing application data when deserializing. In this case the value is larger than the data type can store without loss of precision, but the precision was already lost. Checking the value is not an accurate measure of data loss. The code should really check if the value is oversized, then convert the value to number and back and compare the result. Only then can you say that the conversion actually list any precision!

+1 on @jamie-pate's last comment, which bit me recently: it's highly unexpected that an upsert will write without complaint but reading back the same data will throw. It seems like either both should fail (or require that a flag is passed) or neither.

Integer value outside of the bounds of a JavaScript Number object can be uploaded using an Int object by passing the numeric value as a string to Datastore.int(numercValueAsString)

It could be, but it wasn't in this case, it was just a very large float as the property of some javascript object which was submitted as a value. (It had already been rounded, so GIGO is the expectation)
I also noticed that there's no options parameter for query.runStream() which also crashes the program when it encounters these large values.

the type for IntegerTypeCastFunction could also be (value: number | string | ValueProto) => any instead of Function :cry:

This is breaking all our code also...
We store our dates at UTC unix timestamps...
export interface SomeInterface extends Bla {
  ...
  startTime?: string;
  endTime?: string;
}

These are all failing to read now as they're being interpreted as integers instead of strings... This is in pretty much every table we have.
The very concerning bit is the value being passed out by the error message doesn't match the value in datastore...
For example:
A 2020-02-24T20:01:49Z /app/node_modules/@google-cloud/datastore/build/src/entity.js:388
A 2020-02-24T20:01:49Z             throw new Error('We attempted to return all of the numeric values, but ' +
A 2020-02-24T20:01:49Z             ^
A 2020-02-24T20:01:49Z
A 2020-02-24T20:01:49Z Error: We attempted to return all of the numeric values, but value<PHONE_NUMBER>94400000 is out of bounds of 'Number.MAX_SAFE_INTEGER'.
A 2020-02-24T20:01:49Z To prevent this error, please consider passing 'options.wrapNumbers=true' or
A 2020-02-24T20:01:49Z 'options.wrapNumbers' as
A 2020-02-24T20:01:49Z {
A 2020-02-24T20:01:49Z   integerTypeCastFunction: provide <your_custom_function>
A 2020-02-24T20:01:49Z   properties: optionally specify property name(s) to be cutom casted}

But all the values in the table are of this magnitude:
createdDate
1582572895389
endTime
1582572928080
startTime
1582572921680
updateDate
1582572928080

The parsing seems to be adding several 0's onto the integers...
-- Rolling back to 4.x for now.
Thanks, Chad
p.s. for what it's worth - this behavior is unacceptable to me... I'd prefer a rollback of this change.

@chadbr
I have tested with the following code snippet and it worked.
      const postKey = datastore.key('Work');
      const data = {
        work: 'Initial work',
        inProcess: true,
        finished: false,
        createdDate: new Date().getTime(),
        startTime: Date.now(),
      };
      await datastore.save({key: postKey, data});

      const transaction = datastore.transaction();
      await transaction.run();
      let [entity] = await transaction.get(postKey);
      entity.work = 'Updated work';
      entity.updateTime = Date.now();
      entity.inProcess = false;
      entity.finished = true;
      transaction.update(entity);
      await transaction.commit();

      await datastore.merge({
        key: postKey,
        data: {work: 'Finished work', endTime: new Date().getTime()},
      });

      [entity] = await datastore.get(postKey);
      console.log(entity);

  inProcess: false,
  updateTime:<PHONE_NUMBER>457,
  finished: true,
  endTime:<PHONE_NUMBER>556,
  startTime:<PHONE_NUMBER>555,
  createdDate:<PHONE_NUMBER>554,
  work: 'Finished work',

Could you please share you repro data or code snippet that causes the aforementioned issue.
Please also share your
Environment details

OS:
Node.js version:
npm version:
@google-cloud/datastore version:

It sounds like his timestamps are more like "158257445394455555" (where 55555 is the sub-millisecond part?). Though this isn't technically a "Unix timestamp" since those are counted in seconds :)

I was wrong before (log messages truncated the Kind name)... but I tracked it down last night.
We have some code that is ensuring ordered, unique id's by appending a manually incremented order onto a timestamp:
          order: Number(logMessage.timestamp.toString() + (this.order++).toString().padStart(5, '0'))

A number is used so it can be queried with .filter('order', '>', order);
Works fine up to 4.4.1, breaks after.
I'm sure we have similar issues elsewhere... hard to say without lots of testing.
What is the recommendation here? I'm not sure potentially crashing a process with unhanded exception is the way to go?
Thanks, Chad

p.s. I can write some code to do the same if it helps...

@AVaksman what is the expected behavior now?


Fix crypto libs patching logic to accomodate multiply files

Should fix #2510

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

It looks like you're a Microsoft contributor (Sergei Vorobev). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Interesting. This didn't help https://travis-ci.org/PowerShell/PowerShell/jobs/170920153

Meanwhile, I still think this change is relevant, because existing xargs didn't handle multiple files which are currently present. @andschwa can you take a look?


refactor: scrubbed the mocks to be clean, tidy, and consistent

Sorry that this is a big one. It's a lot of changes, but the changes are simple.
The mocks were all named differently and it just screamed to be refactored into something consistent and clean.

Hey @christhomas, I like the spirit of this (the inconsistencies bug me whenever I'm in there) but there's a couple of things I don't think are quite right yet:

The ClockFake (now MockClock in this PR) I think was named correctly before. It's a fake in the TestDouble sense, so I don't think the name should include mock.
The files that were in testDataBuilder are also not mocks, as there's no behaviour in them to assert on. I think they're probably just text fixtures or very simple test data builders. I don't mind what these are called, but I don't think they're mocks.

The rest of it I like. I'm especially glad to get rid of that new* suffix. That was a quick refactor I was never very happy with.
I hope I'm not being too pedantic 😄

Not pedantic, you're right actually. I did it for convenience but I was also aware that technically they're not mocks. But I went with consistency over purity cause at least it's a step forward.
I understand why these inconsistent things happen cause I've added code to a project before and then after a few layers you need to do a cleanup and it's tricky. So it's understandable why things get like this. I'll do something about the things you've mentioned

Actually, looking at the functionality of the MockClock and the DateClock object used. I can't see any reason why not just make this one object used in all places and provide an automatic value for the constructor to new Date(). There isn't any drawback to this and it functions the same except it has a few extra functions which are useful when testing. I think I prefer this idea tbh

Ok, so I updated the DateClock object so that if you provide a time in the constructor, it'll use it, otherwise it'll default to using the new Date() each time get() is called. But if you advanceBy(1000), it'll fixate the time and still return the correct time and remain consistent.
Personally, I think this is a better solution than having a test double for this, cause it's consistent and functional at the same time.

Ok, so lets see if you like this idea. Actually, this is part of a larger idea to refactor away the data model stuff in your user pool code into models also. I realised I can kill two birds with one stone by just doing this modification here as a basis of a future work. I realise that the code in the user pool seems to have just grown organically and it's a bit tangled up with classes which are objects, or service objects, or implementations of services, along with a mix of data models inbetween. So what I propose is we promote the data models to be a first class citizen of the codebase, rather than just mixed up with some objects here or there.
This is what I thought would be the first step of that. Also solves the model of the mocks and model stuff being mixed up and a little inconsistently named.
I think it's a good step forward, even if it's not the final version of what this might be, it at least cleans up the codebase a little bit whilst establishing a future pattern. What do you think?

what do you think of this one? it does change a few things though, the idea of data models to represent data structures is new, but I think it means we can use those data models in the real code as well as using them to construct objects for testing too

Hey @christhomas, I'm not really sold on these changes as they are now. I appreciate you're trying to simplify the codebase, but this now mixes code which only existed to support testing in with the actual application code and I'm not comfortable with that. I preferred it when there was a clear separation between what's the real application code and what's just for testing.
I do agree there's a missing domain model in the application code, but I don't think the solution is to move the mocks in there.
To merge this I think I'd need the Test Data Builder and the fs Sync changes reverting. The rest I'm ok with.

They aren't technically mocks, since they are not actually mocking anything. what you've written are actually just object constructors. You just call them mocks cause you only use them for mocks. But these models give the ability to validate a models data as it's constructed which your current objects don't do. So that is the direction I'm trying to take this, by using this as the basic for creating a set of actual domain models

I think we agree on what a good model looks like, I just don't think these functions have a place in there. I'd prefer to keep them as they are as test fixture builders and not mix them in with the application code.

I think I'm not explaining myself well. This commit just moves code around so it's cleaner on the filesystem level. But the idea is that these functions won't stay as they are, but I'm going to create a proper data model that completely replaces them and merges all the types and interfaces from the other parts of the code into them. I just have to start somewhere and I can't do all the work right now.
But it's ok if you don't want to merge it, cause we're using my fork for our local development stack, I'm just offering the changes and enhancements back instead of keeping them to ourselves. So lets close this PR as rejected and move on.

You’re explaining yourself fine. I just think we have different priorities. I don’t see the advantage of a simpler file system if it means we are mixing con concerns into application code, even if it’s an intermediate step.
My preference is to introduce a single model, then refactor the related testing code to use that, and repeat; rather than this approach of moving all the testing code into the application at once, and then refactoring away from it later.


Update how parameters are passed for list queries

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

Project coverage is 94.80%. Comparing base (3866622) to head (56913ad).
Report is 36 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   94.73%   94.80%   +0.07%
==========================================
  Files           6        6
  Lines         361      366       +5
==========================================
+ Hits          342      347       +5
  Misses         19       19

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bug with svg marker-end(url) and html BASE tag

All libraries with d3 as backbone have the same problem with arrows:
<path marker-end="url(#arrowhead12)">

With BASE tag in HEAD this will cause that arrows not appear.
I found this answer in stackoverflow:
http://stackoverflow.com/questions/18259032/using-base-tag-on-a-page-that-contains-svg-marker-elements-fails-to-render-marke
Its possible to add "location.href" directly in d3 for solving this problem?
hint: "location.href" without a possible (#)fragment part. => http://domain.tld/folder/file.html#fragment ;)

As painful as this is, I don’t see a good way of masking this problem in D3. It would complicate the logic of selection.attr significantly to detect when such a URL-type attribute was being set, and then you’d need to parse and reformat the attribute value safely. And even this wouldn’t mask the problem entirely, since if you were statically authoring SVG inline within HTML (without using D3), you’d still have to remember to format your URLs absolutely. Part of the design philosophy of D3 is that it is not a compatibility layer, so that means the underlying representation is apparent, warts and all.
Probably best to avoid BASE tags if you want to avoid this problem… :frowning:


Customise comment text

Relates to https://github.com/rossjrw/pr-preview-action/issues/25#issuecomment-1324184104
It'd be good to be able to customise the text of the comment left by the action.
I figure it should be possible to let the user pass a string argument which can be used as the message for the marocchino/sticky-pull-request-comment step, with the current message string being the default argument.
The user could be able to use this argument to opt-out of the comment, e.g. it could skip the step if the comment is false or if it's an empty string. That behaviour might even make it possible for the user to change whether or not they want to post a comment based on various conditions.
I was initially worried about code injection (https://docs.github.com/en/enterprise-cloud@latest/actions/security-guides/security-hardening-for-github-actions#understanding-the-risk-of-script-injections), given that I'd have to pass a string containing variables to be interpolated, but I don't think this is actually a problem at all because the user will write that string in their workflow file and the variables will be interpolated there.
I'm not clear on how to get env variables into the string that will only be known at runtime, though (e.g. ${{ env.pagesurl }} in the current string. Might Just Work with no changes needed, might need some thought.

I know you'd like to add a generic solution instead of a hard-coded one, but I think you should really add the "(as soon as GitHub finishes deploying it)" comment I suggested here as soon as possible. I've gotten several comments on my template that uses this action being confused as to why the changes weren't there immediately. Even just saying "will be available soon" (without linking to the pages deployment workflow run) would be great.
Another reason why this is relevant right now:
I thought that GitHub would've really tried to get their own PR preview system up and running ASAP (to take business away from Netlify and the like), but they just recently commented on that discussion saying that it's not coming any time soon (probably not even this year). So unfortunately, this puts more pressure on you because your action is the only thing on the market to accomplish this atm ;)

Just a thought - it might be good idea to have an input to control whether a comment is posted or not. Then, users can customise their comment using marocchino/sticky-pull-request-comment directly with this action's deployment-url output.

Agree with this proposition. We don't need a complicated system to configure a message. Add ability to disable posting and  expose everything useful as outputs and the user of the action will be able to write it's own message using dozens of "comment" actions available on the market.


no_std + async support

As discussed in the matter-rs Matrix room, this is the sequential branch (i.e. no_std + async support).
This PR contains all changes which are already in the no_std and sequential branches of the matter-rs repository, plus the following additions:

Built-in support for the embassy-net baremetal async networking library (under the embassy-net feature) - i.e. all necessary dependencies, plus a UdpListener implementation
Removed dependency on smol. We only depend on async-io now, and only in the STD UdpListener. We can now also trivially implement a UdpListener for tokio's tokio-net as well, under a tokio feature flag
Several simplifications which would hopefully make the examples a bit shorter and easier to understand. Namely:

Unification of the Matter, Transport and TransportRunner structs into just Matter, as was in the original main branch
Simplified Mdns implementation. MdnsRunner is gone. Just call MdnsRunner::run(...) to run the Mdns responder async loop
Simplified Psm implementation. Call Psm::new(&matter, dir) to initialize the persister, and then psm.run() to run the persister async loop

IMPORTANT: Removed ./LICENSE and replaced with ./LICENSE-APACHE and LICENSE-MIT. @kedars I spotted this by accident. Basically, Cargo.toml used to say license=mit, while the LICENSE file used to contain the Apache 2.0 license. I assume you want both (as is the case for 99% of the Rust crates). If you want either Apache-only or MIT-only, please let me know, and I'll remove one or the other

I've also switched the openssl dependency to the latest published one (and fixed both the mbedtls and openssl builds).
So upon rename of matter to rs-matter (and the git project itself) we can probably publish in crates.io

@kedars Not sure from where the "restyled" thing is kicking in - couldn't see it in the GitHub Actions YAML. But in any case I think we just need to switch to cargo fmt instead.

By the way, the changeset is so big because it contains also all the commits of the no_std branch. We can squash bits and pieces if you like.


Simplify Wire2Api<Option<T>> generated code

Do not forget to add a line in CHANGELOG.md and I will merge it ;)

all right. I have the permission to edit changelog. so I merge it now.
Thanks for your contribution!


Set URL Dynamically from another service

Great library!  This might be more of a Readme or user issue as I couldn't figure it out - is there any way to dynamically set the URL (e.g. inject it from another service) rather than hard-coding it into the ResourceParams decorator?  Thanks in advance

Thank you.
Could you please give some example how it should work? I will think about that.

I'm migrating from NG1/Ionic 1 and would like to use different URL's between dev, test, and production environments. Assuming that Decorators do not allow DI of other services, maybe there could be an option to over-ride the constructor and call a "setURL" function to pass the target URL as in:
export class AgentService extends Resource {
constructor(public http: Http, private config: AppConfigService) {
super(http);
super.setURL(config.url());
}
}
In this example, the AppConfigService would return the URL of the server for this environment (e.g. localhost in dev and abc.com in production). I'm new to NG2 so if there's a better way I'd be interested to learn.  Thanks

For now I see 2 ways:
1.
@ResourceParams({
    // Url to api
    url: config.url(),
    // Api path
    path: '/agent/{id}'
})
export class AgentService extends Resource {}

@ResourceParams({
    // Api path
    path: '/agent/{id}'
})
export class AgentService extends Resource {

  constructor(@Inject(Http) protected http: Http, private config: AppConfigService) {}

  // and here overwrite getUrl method
  getUrl(): string {
    return this.config.url();
  }
}

I'm also new on NG2 ;) So I hope it will help you.
Let me know how it will work.

Thanks @troyanskiy - getting back into this project and found the following approach works well:
getUrl(): string {
return new AppConfigService().url();
}
I tried option 1 but had trouble with a decorator calling an instance method. I could have tried converting the method to static, but the above over-riding of getURL was a quicker fix, and didn't require a constructor. AppConfigService is really lightweight so creating a new instance is fine.  Thanks for the help!

I've been using ng2-resource-rest for a day now and it's saving me hours - thanks!
Just a quick add-on to my last comment: I ran into some issues in trying to pull in URL's and tokens from other NG2 services (typescript assignment errors). The approach that worked for me was to use a static class level variable (to get the token from another class), and to extend Resource into a new class. In case this might help anyone else, here is the example code:
Snippet from UserService Class that provides a token after authenticating users:
export class UserService {
static lastToken = 'test123';  // this token gets updated as soon as the user logs in (e.g. UserService.lastToken = X). Making it static let me use it from the Ng2-resource-rest class
Here is a simple subclass I created on Resource that sets the URL and headers:
import {Resource, ResourceParams} from "ng2-resource-rest";
import {Injectable} from "@angular/core";
import {RequestMethod} from "@angular/http";
import {Http} from "@angular/http";
import {AppConfig} from '../../config/app-config';
import {UserService} from '../user/user.service';
@Injectable()
@ResourceParams({})
export class GCResource extends Resource {
getUrl(): string {
return new AppConfig().url();
}
getHeaders(): any {
// Prepare headers with user authentication token if it exists
var tokenUser = new UserService(this.http);
var authToken = UserService.lastToken;
var authHeaders:any;
authHeaders = {
        'Accept': 'application/json',
        'Content-Type': 'application/json'
};
if (authToken) {
    var bearer = 'Bearer ' + authToken;
    authHeaders = {
        'Authorization': bearer,
        'Accept': 'application/json',
        'Content-Type': 'application/json'
    };
}
return authHeaders;

}
}
With the above setup, each new resource class is very minimalist:
import {ResourceParams} from "ng2-resource-rest";
import {GCResource} from "../../services/gc-resource/gc-resource"; // API Helper library
import {Injectable} from "@angular/core";
@Injectable()
@ResourceParams({
path: '/admin/org/users/{id}'
})
// GCResource extends NG2-Resource-rest with URL and user token
export class UserAdminService extends GCResource {
}
Still getting the handle of Typescript and NG2... hopefully this example helps someone.

Thanks a lot for your example...
Since GCResource is kink of base resource class I would recommend you to add add2Provides: false to GCResource so it will not make it as final global service.
So your GCResource base class should looks like
@ResourceParams({
    add2Provides: false
})
export class GCResource extends Resource {

    getUrl(): string {
        return new AppConfig().url();
    }
    getHeaders(): any {
        // Prepare headers with user authentication token if it exists
        var tokenUser = new UserService(this.http);
        var authToken = UserService.lastToken;

        var authHeaders:any;
        authHeaders = {
            'Accept': 'application/json',
            'Content-Type': 'application/json'
        };
        if (authToken) {
            var bearer = 'Bearer ' + authToken;
            // just add headers instead of recreating an object
            // authHeaders = {
            //    'Authorization': bearer,
            //    'Accept': 'application/json',
            //    'Content-Type': 'application/json'
            //};
            authHeaders['Authorization'] = bearer;
        }
        return authHeaders;
    }
}

Good tip!  I see that will prevent GCResource from being added to RESOURCE_PROVIDERS.  Thanks

Great module!
You should include an GCResource example in the README. It is really useful.
Thank you.

@radumardale Thank you!
I will add it later!
Thanks a lot.

New version has been released with changing url (not only) methods.
Please check README.
Thanks a lot.


[Snyk] Upgrade tslib from 2.4.1 to 2.5.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade tslib from 2.4.1 to 2.5.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 4 versions ahead of your current version.
The recommended version was released a month ago, on 2023-06-02.

Release notes

Package name: tslib

2.5.3 - 2023-06-02What's Changed

Do not reference tslib.es6.js from package.json exports by @ andrewbranch in #208

Full Changelog: 2.5.2...v2.5.3

2.5.2 - 2023-05-18This release explicitly re-exports helpers to work around TypeScript's incomplete symbol resolution for tslib.

2.5.1 - 2023-05-17This release of tslib provides fixes for two issues.
First, it reverses the order of init hooks provided by decorators to correctly reflect proposed behavior.
Second, it corrects the exports field of tslib's package.json and provides accurate declaration files so that it may be consumed under the node16 and bundler settings for moduleResolution.

2.5.0 - 2023-01-26What's New

Fix asyncDelegator reporting done too early by @ apendua in #187
Add support for TypeScript 5.0's __esDecorate and related helpers by @ rbuckton in #193

Full Changelog: 2.4.1...2.5.0

2.4.1 - 2022-10-31This release contains fixes for early returns and throws invoked on generators.

    from tslib GitHub release notes

Commit messages

Package name: tslib

cc5ff03 2.5.3
a471c51 Merge pull request #208 from microsoft/moar-modules
80deca0 Do not reference tslib.es6.js from package.json exports
e623061 Bump version to 2.5.2.
2b57a92 Use named reexport to satsify incomplete TS symbol resolution (#204)
91fcbd0 Reverse order of decorator-injected initializers (#202)
eab3cff Merge pull request #200 from Andarist/fix/import-types
5ef7d1a Update modules/index.d.ts
7def846 Merge pull request #201 from microsoft/fix-esm
4e79d03 Merge pull request #179 from guybedford/patch-4
033b363 Add default export to modules/index.js
897f11e Ensure tslib.es6.js is typed
a0a67d9 Add Node-specific export condition for ESM entrypoint that re-exports CJS
0f84d40 Add propert declaration file for the `import` condition
a100d7b Merge pull request #195 from xfq/https
d58182f http -> https
e388a23 Merge pull request #194 from microsoft/bump-version-2.5
b68d573 Bump package version to 2.5.0
62c5322 Add support for __esDecorate and related helpers (#193)
3bdc002 Merge pull request #188 from microsoft/add-codeql
697f430 try paths: .
63319af add codeql
a549d39 Fix asyncDelegator reporting done too early (#187)
68870a6 fix: default interop compat for "module" condition

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Patch and project coverage have no change.

Comparison is base (4eb20eb) 99.52% compared to head (241bcaf) 99.52%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   99.52%   99.52%
=======================================
  Files           6        6
  Lines        3398     3398
  Branches       41       41
=======================================
  Hits         3382     3382
  Misses         16       16

Flag
Coverage Δ

unittests
99.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Write regression tests that mock IO.

It's horrible having to have a dhcp setup to actually test things, we should have regression tests that mock io and simulates a server/client in different cases.

you've seen https://github.com/yomimono/mirage-net-pcap which might help there? (there's also another idea, if you have a purely functional core, you can just plug your test onto that interface, instead of at the I/O layer... sth like handle : state -> buffer -> (state * action))...

I was thinking on something more like the second case you described, the core is almost purely functional, the lease database is not, but that can be sorted out.
Since I added support to run on unix (outside of mirage), there is a module abstraction for an "interface", which encompasses how to receive/send packets, my idea was to use that abstraction to do the fake io between the client and the server.

sounds good to me! :D

Awesomo :D!

this is happening.

Done, still needs more tests though.


How do you calculate clustering accuracy? What evaluation metric has been used for it?

As we use DBSCAN for doing clustering in cluster.py, it assigns labels to faces in unknown order and it is difficult to calculate the accuracy even if we know the ground truth for images.
How to verify the clustering result?

@mrkaworu Thanks for your comment.
Do you know happen to know which method have the facenet authors used for evaluation?
I have read the paper, but I couldn't find any mention of measuring clustering accuracy of faces in it.

Two metrics that could help you to evaluate clustering performance are homogeneity and completeness. You can find some explanation about these ones here


How to DELETE TAG VALUES in Influxdb?

I recently use InfluxDB to save my datas.AND when save data to InfluxDb,I set a TAG key of "host" with the value of "myhost" to series,like this:
Point.measurement("supervisor").field("slotsTotal", tmp.getSlotsTotal()).tag("host", tmp.getHost());
AND,I set a RETENTION POLICIES of 7 days to this database. That means datas retain 7 days.After 7 days those will be deleted.
Then,the issue is coming..
After datas deleted , the TAG VALUES of those datas is NOT deleted.There is a phenomenon that all datas with this TAG VALUE are deleted,but this TAG VALUE not deleted.Then I want SHOW current TAG VALUES ,that means I want to show TAG VALUES that contains some datas NOT none datas.AND all VALUES hits.AND I do not find DELETE TAG VALUES function.Please help me..

Tag values are part of the definition of a series, and thus part of the index. They are never deleted from the index, nor can they be, without destroying the index itself.
Instead what you need is for this feature to be implemented: https://github.com/influxdb/influxdb/issues/4029
Closing this in favor of https://github.com/influxdb/influxdb/issues/4029

I scan #4029.But it still does not help me.What I want is to filter TAG VALUES by anyway like time.I don't want to show TAG VALUES that do not contain any datas. Please!

@meng2014 I linked you to that request to show you that SHOW TAG VALUES does not yet respect any WHERE clause, including one with time. Filtering your results by time is the only way it will ever work as you desire.
InfluxDB is not like a relational database with a fixed and centralized schema. There is no one central store that "knows" whether any points have a particular tag value or not. The tag value appears in the series index, meaning at least one point has been written with that tag value, but there is no way and likely never will be a way to determine whether that point is still in the database.
Consistency like that is I/O and computationally intensive. InfluxDB achieves high throughput by avoiding that complexity and resource cost, but it does mean there are some traditional database functions that InfluxDB cannot do.

@beckettsean OK,Thanks for your answers.I understand the design intent of InfluxDB.I respect it.But I retain my demand.Because I think maybe it is important for some scenes.Thank you.

@meng2014 If all you need is to remove tags from the index, you can achieve what you want with DROP SERIES: https://docs.influxdata.com/influxdb/v0.9/query_language/database_management/#delete-series-with-drop-series. Note that this is not a performant query, and may require large amounts of RAM to succeed.

The ability to strip tags off a measurement could be useful, perhaps a something was added as a tag, but on second though you realize that it is increasing your cardinality to rapidly. Thus, you stop pushing that tag, but you still want to retain the old data. I imagine you could do something with a continuous query or SELECT INTO to remove the tag from the old data, but it would be nice if there was an easy way to do it.

After datas deleted , the TAG VALUES of those datas is NOT deleted.There is a phenomenon that all datas with this TAG VALUE are deleted,but this TAG VALUE not deleted.
I  I do, for example: DROP SERIES WHERE "host" = 'vcrsappn.moscow.alfaintra.net' then I still see this host in SHOW TAG VALUES WITH key =  "host" output.
But after InfluxDB restart it seem that in-memory indices rebuild and this host disappear from tags.

Hi, I have same issue, but when I do DROP SERIES WHERE host = some_host I still see tag value some_host even I restart influxdb. Just updated from previous version to 1.6.0 and problem is still here.

@Naumis1 please provide
1 SHOW TAG VALUES WITH key = "host" WHERE host ='deleted_host'
2 SELECT * FROM your_measurement WHERE host ='deleted_host'

Hi, thanks for replay.  So no remaining data.

I face the same issue. Restart does not help. Anything that I'm doing wrong?
> DROP SERIES WHERE "cluster" = "HVCLUCO-11F-Cluster"
> SHOW TAG VALUES FROM "hv_vswitch" WITH KEY = "cluster"
name: hv_vswitch
key     value
---     -----
cluster HVCLUCO-11F
cluster HVCLUCO-11F-Cluster
cluster HVCLUCO-21F
cluster HVCLUCO-21F-Cluster
cluster HVCLUVA-11F
cluster HVCLUVA-11F-Cluster
cluster HVCLUVA-21F
cluster HVCLUVA-21F-Cluster
cluster HVCLUVA-31B
cluster HVCLUVA-31B-Cluster
cluster HVCLUVA-41B
cluster HVCLUVA-41B-Cluster
cluster IMHVCLUVACS71
cluster IMHVCLUVXCS71

@ZhukovAlexey @Naumis1 @moophat @akamac
I think the issue that tags of dropped series still appear in SHOW TAG VALUES is being tracked here: https://github.com/influxdata/influxdb/issues/10285

One workaround can be to remove all the data tagged with the relevant tag key, then restart your influx service and influx should remove that tag value.


Adding ".brs" extension

This extension is used by Roku BrightScript language.
https://sdkdocs.roku.com/display/sdkdoc/BrightScript+Language+Reference

I already submitted the necessary changes on sloc repository, you can merge this when they do merge this pull request;
https://github.com/flosse/sloc/pull/73

It looks like the sloc repository has merged the necessary changes. This would be a useful pull request to merge for all the Roku BrightScript developers out there.


JOSS Review - Specific 8 - CFA

Specific point 8 from JOSS Review:
I understand this is a package for exploraty factor analysis (hence its name), however, I'm curious on the possibility of adding a CFA tab (at the end, refitting the model using CFA (and, maybe at the beginning, an option to split the data into a training and a test dataset))... Your tool would be then sufficient for the entire, end-to-end, factor analysis.

Adding a CFA tab maybe a cool idea. But, in our view, it is not the major focus for EFAshiny. We aim to provide a tool for EFA and exploratory data analysis rather than testing. Although we do not directly provide the CFA options in the tool, users can still perform CFA using Editor tab (Github version). The tutorial and the README file also update this related information. Thanks for the comments !


Incorrect type returns?

Writing something that utilizes GetProcAddress and CreateRemoteThread, it seems odd to me that
GetProcAddress returns a fn() -> i32
however
CreateRemoteThread requires an Option of fn() -> u32 for a start address
Is this a mistake or am I missing something?

This one happens to be correct. The metadata attempts to faithfully preserve the original signatures found in the Windows API. The result of GetProcAddress is always cast to something that matches the signature of the function being imported.


Export / Import Job configurations as JSON

A user might want to save a preset of parameters for a specificic app.
These could be saved in the project folder and rendered as a dropdown if available

Since all jobs parameters are stored in the database, I believe we can generalize this with two functionalities:

Export to JSON – this would contain all relevant information to fully reproduce a given job:

{
    input: {… input files and configuration …}
    resources:  {… resources configuration …}
    processor: {… processor parameters …}
}

Load from JSON – when submitting new jobs, users could import the preset for input, resources and processor from these files

@luiztauffer @alejoe91
I implemented this somewhat differently that proposed (for now).
But the upshot is... there are now a "save parameters" and "load parameters" buttons at the top of the parameter input form.
It saves the parameters in the "parameter-sets" folder of the project.

@magland this looks great, thanks!
I just tried it, would it be possible to load the parameters from a json file? It could be the one we can export from the Job panel for example. In this way people can easily share and re-use their job configurations in different Projects

@luiztauffer This should be working now. See #121.


Rn v5 migration

A few observations and some were missed from my side as well-

A new method has been added to disable idfv. Should that be added as part of the migration guide?
https://github.com/adjust/react_native_sdk_dev/blob/0dbc1f6b0745c482b77c51d07e5f9852682d4598/index.js#L384

Renamed - setDeferredDeeplinkCallbackListener to  setDeferredDeeplinkCallback - https://dev-docs-git-rn-v5-migration-product-content.vercel.app/en/sdk/react-native/features/deep-links#set-up-a-deferred-deep-link-delegate

Renamed - setAttributionCallbackListener to setAttributionCallback - https://dev.adjust.com/en/sdk/react-native/features/attribution/#trigger-a-function-when-attribution-changes

@Aditi3 I've pushed those changes to the migration guide and have also added them to our feature guides.


Add Prometheus metrics backend

This PR adds a Prometheus metrics backend available by default on :8080/metrics (customisable). Collected Buildkite metrics are translated to Prometheus gauges at runtime.

Resolves #36

This looks great! I'll do some testing locally and then we'll get this merged and in a release asap. Thanks for this!


Terminal output doesn't clear on first run

Describe the bug
When running vitest the test output appends on the first run, then after subsequent runs, the terminal is cleared and only the test output is shown.
Clearing on the first run would follow Jest's behavior and is objectively better for readability.
Reproduction
Local

vitest
Observe appended output
Modify and save a test file
Observe terminal is cleared and only test output is shown

Stackblitz

Go to:
https://stackblitz.com/edit/vitest-dev-vitest-cj4bxl?file=test%2Fsuite.test.ts
Observe appended output
Modify and save a test file
Observe terminal is cleared and only test output is shown

System Info
All environments

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Solution:
// vite.config.ts
if (process.env.NODE_ENV === 'test') {
  console.clear();
}


Correct my nonsense router names

Will be revisited from a k8s-based perspective if needed (see #35)


It's 2012

nice to grab Pull-Request 100 with that :D

It's "Welcome to", not "in", but thanks

It's "Welcome to", not "in", but thanks


ErizoJS closes after DTLSRTP Start

I've installed everything and am running basicServer.js, erizoController.js, erizoAgent.js and nuve.js using NodeJS v0.10.44 on OSX 10.11.4.
When I load localhost:3001 in the browser, I can see all the normal handshacking and the last log message is INFO:  Gathered all candidates.
On the server, I see the following lines in erizoAgent.js:
2016-05-03 15:01:44.238  - INFO: ErizoAgent - Get erizo JS fc7b93a6-4565-19ed-3615-fef512728912
2016-05-03 15:01:47.934  - INFO: ErizoAgent - ErizoJS fc7b93a6-4565-19ed-3615-fef512728912  has closed
2016-05-03 15:01:47.935  - INFO: ErizoAgent - Launching a new ErizoJS process
2016-05-03 15:01:47.936  - INFO: ErizoAgent - Launched new ErizoJS  c086d08c-bffa-e5e4-a939-adb3cbc93112

And the following in erizoController.js:
2016-05-03 15:01:43.918  - INFO: RoomController - Removed muxer<PHONE_NUMBER>45927600  muxers left  0
2016-05-03 15:01:43.919  - INFO: ErizoController - Empty room  572898cbf85a071e2513cef8 . Deleting it
2016-05-03 15:01:44.230  - INFO: ErizoController - New ErizoClient connected  xqeVSatl5CQhIRk27CDn
2016-05-03 15:01:44.235  - DEBUG: ErizoController - Client supplied a valid token
2016-05-03 15:01:44.237  - INFO: ErizoController - New publisher for id<PHONE_NUMBER>60100260 from client xqeVSatl5CQhIRk27CDn
2016-05-03 15:01:44.237  - INFO: RoomController - Adding publisher peer_id<PHONE_NUMBER>60100260 options { state: 'erizo',
    data: true,
    audio: true,
    video: true,
    screen: '',
    minVideoBW: 300 }
2016-05-03 15:01:44.238  - INFO: ECCH - Contacting Agent  ErizoAgent  for a new ErizoJS
2016-05-03 15:01:44.239  - DEBUG: RoomController - ErizoJS id: fc7b93a6-4565-19ed-3615-fef512728912 assigned for publisher<PHONE_NUMBER>60100260
2016-05-03 15:01:50.912  - WARN: RoomController - ErizoJS 93a76dfb-d90f-020e-c224-4f4e27c5cac2 is empty and does not respond, removing
2016-05-03 15:02:04.249  - ERROR: RoomController - Lost connection with ErizoJS fc7b93a6-4565-19ed-3615-fef512728912 will remove publishers [<PHONE_NUMBER>60100260 ]
2016-05-03 15:02:04.250  - INFO: ErizoController - ErizoJS stopped<PHONE_NUMBER>60100260

And the last lines from erizo-93a76dfb-d90f-020e-c224-4f4e27c5cac2.log:
...
2016-05-03 15:01:44,416  - DEBUG: WebRtcConnection - Adding remote Candidate a=candidate:21576129 1 udp<PHONE_NUMBER> <IP_ADDRESS> 51121 typ srflx raddr <IP_ADDRESS> rport 61025 generation 0 ufrag izRLRX9+ULlobCsP, mid audio, sdpMLine 0
2016-05-03 15:01:44,416  - DEBUG: WebRtcConnection - Setting VIDEO CANDIDATE
2016-05-03 15:01:44,416  - DEBUG: NiceConnection - Setting remote candidates 1, mediatype 0
2016-05-03 15:01:44,416  - DEBUG: NiceConnection - Adding remote candidate type 1 addr <IP_ADDRESS> port 51121 raddr <IP_ADDRESS> rport 61025
2016-05-03 15:01:44,418  - DEBUG: NiceConnection - video - NICE Component State Changed 1 - 2, total comps 1
2016-05-03 15:01:44,418  - INFO: NiceConnection - video - NICE State Changing from 1 to 2 0x100c20350
2016-05-03 15:01:44,418  - DEBUG: DtlsTransport - video - New NICE state state: 2 - Media: 0 - is Bundle: 1
2016-05-03 15:01:44,418  - INFO: DtlsTransport - video - Nice ready
2016-05-03 15:01:44,418  - INFO: DtlsTransport - video - DTLSRTP Start

And everything hangs. After 20 seconds, the browsers reports the following error:
erizo.js:147 Uncaught TypeError: Cannot read property 'stream' of undefined
    k @ erizo.js:147
    (anonymous function) @ erizo.js:152
    c.emit @ erizo.js:11
    c.onPacket @ erizo.js:41
    d.onPacket @ erizo.js:33
    c.onPacket @ erizo.js:22
    c.onData @ erizo.js:21
    websocket.onmessage @ erizo.js:43

Any idea what the problem is or how I can debug it further?
Many thanks.

Dont know how to solve this, but you could run the /licode/erizo_controller/erizoClient/tools/compileDebug.sh and use the non minified erizo.js on the client side.

Thanks very much for the tip, that was really helpful!
I can now see that options.createOffer is undefined sendSDPSocket is called which is probably the problem.
I have managed to run erizoJS.js in debug and I now see the error after DtlsTransport - video - DTLSRTP Start is:
Bus error: 10 (core dumped)

Any other suggestions will be greatly appreciated!

Thanks for the info.
It seems to be an issue in the libNice-DTLS part of erizo.
In general I would advise running Licode in Ubuntu. The Mac port is more of a "convenience" thing for us and it gets a lot less attention.
An alternative is to use vagrant or docker.
That said, We'll get around to try fixing it soon and update this. Sorry!

It should be fixed now. Please update, rebuild and let me know how it goes.

Thank you very much got your quick response and fix, it is encouraging as it feels like we have chosen the right project! I can confirm that updating and rebuilding has solved the issue and streams are now being recording by the server!
I am developing a proof of concept project locally on my Mac and if it works out (which it is now looking like it will), we will deploy this to our live servers. All of our servers are running Centos7 and I see you have a installCentOsDeps.sh script so is it possible to install everything on Cenos7 or would we need a dedicated Ubuntu server? We would very much prefer to run this on an existing server so happy to help work through the issues and contribute back anything we learn along the way if you think it is achievable.
Thanks again!


Github Enterprise Managed user can't see the public issues while trying to login using the Github Enterprise account.

A GitHub Enterprise Managed User (GHEM) is experiencing difficulties accessing public issues on GitHub Community repositories. Despite attempting to view these issues, the user is unable to do so. Additionally, the user logs into their GitHub Enterprise account using Single Sign-On (SSO). We need assistance in resolving this issue to allow the user to access public issues on GitHub.

@swissrerakeshv this doesn't seem to be related to AZD. Seems to be a GitHub issue. Please file it here - https://support.github.com/ ref: https://docs.github.com/en/enterprise-cloud@latest/support/contacting-github-support/creating-a-support-ticket


dxSelectBox, dxTagBox - When searching for non-existing value popup with 'No data to display' blinks and hides

To help us process the issue more efficiently, please provide the following information:

Specify the version of the devextreme-angular and devextreme packages you are using.
devexteme version: 17.2.7
devextreme-angular version: 17.2.7

Specify the type of the issue (check one with "x"):
[ x ] bug Report
[ ] feature request
[ ] support inquiry

Prerequisites:

list of items
search enabled

Steps to reproduce:

Click on dropdown, see the list of items appears.
Type something that doesn't match with list items (e.g. qqqq) for search.
See the popup with 'No data to display' appears and immediately disappears, sometimes it's even impossible to read the wording.

Expected:
When the popup with 'No data to display' appears it shouldn't immediately disappear. Or ideally it should be configurable.
Reproduction:
Plunker: http://plnkr.co/edit/5mkoG2v7zV2eprmDbbJh?p=preview

Hi,
Thank you for the report. This behavior is not Angular-specific and is implemented at the widget level. Currently, there is no built-in option to customize it. As a workaround, you can manually re-open dxSelectBox in the onOptionChanged handler as in the following example - http://plnkr.co/edit/haitPklypz2g1npvdtX0?p=preview

We have plans to add a similar option in the future
P.S. This forum is mainly for issues related to our Angular integration package. For common questions about widgets, I kindly ask you to use either our DevExtreme GitHub page or the Support Center.


ignite-7195: limit toString of arrays and additional values; add "and…

ignite-7195: limit toString of arrays and additional values; add "and N more".

The ticket is resolved. Closing PR


define charsets for UTF8

Hi,
its rather a question than an actual bug,
but is there any way to define the charset for the csv files the connector is going to import in the connectors configuration?
Also is there any filter which could remove doubles quotes from the whole files?
Both can be done indeed before in other ways but I am pretty sure the connector is a way more powerful and I just don't use it.
Thank you in advance

Hi @kbegrow
Which version of FilePulse are you using ?
You should be able to configure the property file.encoding which is used to configure the RowFileInputReader.
By default, the encoding is UTF-8.
You can use the AppendFilter to remove double-quote before parsing the line.

I using the version 1.6.3.
The 3rd party CSVs I get are unfortunately in windows-1252 so I had some issues regarding some special characters.
I will check out the AppendFilter for the removing then. Thank you

@fhussonnois sorry for bother you, can I also delete a specific line in a CSV file using AppendFilter?

Hi @fhussonnois;
thank you. Yes the drop filter I've figured out in the meanwhile.
For the convert function I might doing something wrong but I guess the convert has the same issue as the standard STM from connect because it seems to fail to transform a STRING to FLOAT since it expects a "." instead of "," which is caused by the customers local which ends up comma separated numbers in the CSVs.
Either I can also configure the locale somewhere or I might need to replace the commas with a dot using AppendFilter.

Hi @kbegrow, if you use Connect FilePulse 2.0.0 the connector automatically replace , with .. Otherwise, Yes you can use the AppendFilter for doing the replacement.

Hi @fhussonnois, last time I have checked, 2.0.0 was still a release candidate.
Is there any release date set? I'll also interested in the azure blob storage so I would switch to version 2.0.0 as soon as its stable.

@kbegrow : 2.0 is Released!
https://github.com/streamthoughts/kafka-connect-file-pulse/releases/tag/v2.0.0
https://streamthoughts.github.io/kafka-connect-file-pulse/blog/2021/06/10/connect-filepulse-2.0-is-available/

Thank you @fhussonnois
So in version 2.0.0 I could do following and it would convert STRING "9,00" into a FLOAT 9.00, correct?
       ```
        "filters.Converter1.type"        : "io.streamthoughts.kafka.connect.filepulse.filter.ConvertFilter",
        "filters.Converter1.field"       : "purchase_price",
        "filters.Converter1.to"          : "FLOAT",
        "filters.Converter2.type"        : "io.streamthoughts.kafka.connect.filepulse.filter.ConvertFilter",
        "filters.Converter2.field"       : "reduced_price",
        "filters.Converter2.to"          : "FLOAT",
        "filters.Converter3.type"        : "io.streamthoughts.kafka.connect.filepulse.filter.ConvertFilter",
        "filters.Converter3.field"       : "sales_price_after_sum_discount",
        "filters.Converter3.to"          : "FLOAT",
        "filters.Converter4.type"        : "io.streamthoughts.kafka.connect.filepulse.filter.ConvertFilter",
        "filters.Converter4.field"       : "sales_price",
        "filters.Converter4.to"          : "FLOAT",

Hi @kbegrow, Yes with filters=Converter1,Converter2,Converter3,Converter4

@fhussonnois it seems that the 2.0.0 file pulse connector has issues getting loaded on connect 5.5.3. I copied the zip in the plugin path location, unzipped it and its not even recognized by connect after restarting. the same procedure works fine with 1.6.3.
As it seems 2.0.0. is not yet on confluent hub too.
So I might need to upgrade my connect version?

@fhussonnois the 2.0.0 version only works with connect 6.x , correct?
It seems like its getting completely ignored with my connect 5.5.3 / 5.5.4 cluster

@kbegrow, I think the 2.0.0 should work with connect 5.x, but it's possible the connector is not yet available on confluent-hub. did you try to install it directly from the zip archive available on the GitHub Releases page ?

@fhussonnois I did actually both - the zip archive into plugin path as well as using confluent hub install (if you use latest there, it installs 2.0.0).
Result is the same in both cases, the connector gets not loaded.
With 1.6.3 it works fine:
curl -sX GET http://localhost:8083/connector-plugins | jq
  {
    "class": "io.streamthoughts.kafka.connect.filepulse.source.FilePulseSourceConnector",
    "type": "source",
    "version": "1.6.3"
  },

@fhussonnois I updated today our whole STAGING cluster for connect as well as brokers. And as you said, the plugin loads without issues. I check if everything else is running before role it out to production indeed.
I will check the file pulse configs with the filters tomorrow and let you know. The connector and the new features looks very promising and should fit to our needs. :-)
Its might be a good idea to mention that v2.0.0 needs at least connect 6.x in the documentation
Sorry for keeping you busy here. ;-)


buildRustPackage does not produce static libraries

Issue description
Whilst using the latest buildRustPackage from master or from the mozilla overlay, if you use the following flags in Cargo.toml:
[lib]
crate-type = ["staticlib", "cdylib"]

A dynamic library gets created in $out/bin when it should be in /lib and more importantly no static lib (a .so is produced but no .a). Running cargo build --release manually builds both as expected.
Steps to reproduce
Add crate-type "staticlib" to Cargo.toml.

Fix committed here https://github.com/NixOS/nixpkgs/pull/47709.


Allow multiple lish windows

Depends on #629, closes #579

Coverage increased (+0.05%) to 83.694% when pulling 91294f8195d94f09882bc82d9634a384ae35a989 on eatonphil:allow-multiple-lish-windows into ff3d563dfaad98d3c69b294e4580a1065b76f7da on linode:master.

Coverage remained the same at 83.912% when pulling 1b1a2a4e7c88170c0857698fa6b63274310295c4 on eatonphil:allow-multiple-lish-windows into 870c8b211c033136773ff71608a453e9e4969fe7 on linode:master.

Coverage remained the same at 83.912% when pulling 1b1a2a4e7c88170c0857698fa6b63274310295c4 on eatonphil:allow-multiple-lish-windows into 870c8b211c033136773ff71608a453e9e4969fe7 on linode:master.

thanks!


Is it possible to make this compatible with drop shadow?

Hi, first I just wanted to say this is great work, the library is amazing and very well documented. So many cool little features that are fun to play with.
I was hoping that I could use box-shadow with some of the elements created with the library (I'm using the additional splice script in order to make it work with nth-of-type css logic) and I was hoping to have some sort of drop shadow effect applied to some of the elements, but it keeps disappearing on load. I'm assuming this is because some of the effects use the box-shadow feature? But I'm not sure. I was wondering if there was any way to create a drop shadow effect using the tools in the library. If not, can I add that as a future feature request?
Thanks!

Hello @AramZS !
Really glad you're enjoying it and diving into the details!
box-shadow doesn't show up because the element is masked with clip-path to give it the shape so you can't see any overflow including box-shadow
BUT good news, if you wrap your augmented element in a container, you can use CSS filter box-shadow to do almost the exact same thing

The extra dom sucks (unless they're already in a list container) but the results are pretty decent:

Here's a jsbin with full example code:
https://jsbin.com/wurebapepi/edit?html,css,output
Hope this helps!
I'm going to close this but feel free to comment, re-open, or post a new issue if you need anything else!
🍻
//James

I just realized what you meant with nth-of-type too. That's a solid reason to change augs from the CSS. Good thinking!
I'm definitely going to use that as an example for v2 (augs in v2 core can be equipped from CSS without a script!) Thank you!


chore: adding typescript to storybloksvelte

Adding Typescript support to Storyblok/Svelte:

Setting up Typescript configs
Adding typings to the library
Manually added typings for StoryblokComponet.svelte

Im really glad to see the Typescript support being increased 😍🚀🚀.
Congrats!!


Please add some smarts to web.config.transform?

Several weeks ago I updated my elmah.mvc installation, and just yesterday I discovered that my existing elmah.mvc.allowedUsers and allowedRoles values had been overwritten by new ones containing *, which meant my elmah logs have been available to anyone.
Is it possible to add some conditionals to web.config.transform to ensure that existing values aren't overwritten by these new ones?

I'll take a look at it.


Bug in release 1.1.0 on Vertex env - 'processing' does not work properly

return await get_asynclib().run_sync_in_worker_thread(func, *args, cancellable=cancellable,
File "/usr/local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 818, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 754, in run
result = context.run(func, *args)
File "/processing/./src/main.py", line 89, in get_preprocessing_result
content=send_preprocess_result(bucket_name, file_id, pages),
File "/processing/./src/send_preprocess_results.py", line 65, in send_preprocess_result
pages = get_pages(bucket, path, pages)
File "/processing/./src/send_preprocess_results.py", line 43, in get_pages
return set(
File "/processing/./src/send_preprocess_results.py", line 44, in
(
File "/usr/local/lib/python3.8/site-packages/minio/api.py", line 2728, in _list_objects
response = self._execute("GET", bucket_name, query_params=query)
File "/usr/local/lib/python3.8/site-packages/minio/api.py", line 394, in _execute
region = self._get_region(bucket_name, None)
File "/usr/local/lib/python3.8/site-packages/minio/api.py", line 461, in _get_region
response = self._url_open(
File "/usr/local/lib/python3.8/site-packages/minio/api.py", line 266, in _url_open
response = self._http.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/poolmanager.py", line 376, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen
return self.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen
return self.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen
return self.urlopen(
[Previous line repeated 2 more times]
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='minio', port=80): Max retries exceeded with url: /some-very-unique-prefix-123456-test?location= (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f14d27816d0>: Failed to establish a new connection: [Errno -2] Name or service not known

Found mistake in env variables on Vertex, that probably caused the issue.
The mistake is coorected now.
We should check whether the relevant endpoint works as expected

Fix is tested on Vertex env.
The issue can be closed


Update flake

The flake is currently broken, this fixes it.
As per the comment the sha should be updated whenever the dependencies change. You can quickly test the package, and if applicable see the updated hash, with:
$ # master
$ nix run ".#" -- -h
error: hash mismatch [...]
    specified: sha256-zH8N6Bw1I+bFxBiXQtRL/Y2UyE4ix/kdlEsEuwPSZXs=
    got:       sha256-SbTtKuJxZw+2du+/nwA79ZufgEDS/1qqG2sqqn1x9tM=

$ # PR
$ nix run ".#" -- -h
<displays help>

@perlinm I'm not familiar with Nix, could you please test this?

Minor point: it looks like the home-manager link in the README is broken.  Perhaps it can be updated in this PR?  It should point to https://nix-community.github.io/home-manager/index.xhtml#ch-nix-flakes


Forges, anvils, and hammers are uncraftable

Fixed: f2e0bc836927c58a304619a5c1bbc31f2900735e

Related to forges: https://en.wikipedia.org/wiki/Forge#Forging_equipment

Craftable forges added with smelter in ab18e7b.


Make sure compliance-trestle demos are running correctly - Australian government Information Security Manual (ISM)

Compliance trestle demos repo is outdated and needs refreshment and review.
It is needed to go through the Australian government Information Security Manual (ISM) review it runs correctly as the documentation specifies concretely for this one.
Compliance-trestle version used for the generation of the demos is too outdated now vs the current one, so as part of the revision, it should be ideal to run the demo with the latest version and see if anything has changed or needs refreshment.
If there is anything needed to be done there by the demo, please submit a PR against the repo to be reviewed and tracked.

Comments from @Ma1h01:
The Australian government has the stable release of ISM in OSCAL. Do we still want this demo?

@vikas-agarwal76 after talking with Yihao it seems The Australian government ALREADY has the stable release of ISM in OSCAL. So, as above comment coming from Yihao, do we still want this demo here?

After talking with @vikas-agarwal76 , @Ma1h01 you can go ahead and remove this demo from the repo. Thanks.


snapshot scheme

Viewer is an external dependency, is a bundled JS in IPFS.
A snapshot is an IPFS UnixFS directory containing 2 files:

index.html
meta.json

index.html contains a script src to the viewer, served through IPFS gateway.
meta.json contains the following information:
{
  "encryptedTitle": "base64 string containing the encrypted title of the document",
  "encryptedDocument": "base64String containing the encrypted body of the document",
  "viewerVersion": "0.2"
}

Done in branch 0.2

🎉🎉