Introducing multi object tracking - adding Joint Detection and Embedding Tracker (JDETracker)

Motivation and Context
Multi-object tracking(MOT) would be an exciting functionality which can be added to the pytorchvideo.
Likewise, I propose to add the Joint Detection and Embedding (JDE) Tracker introduced in the paper 'Towards Real-Time Multi-Object Tracking' (https://arxiv.org/abs/1909.12605).
This tracker can work with any model which can provide the following two inputs:
(i) pred_dets: Detection results of the image i.e. x1, y1, x2, y2, object_conf (The detections should/could be passed through NMS or a similar technique followed by scaling the coordinates to the original image size - This way allowing more flexibility for the tracker)
(ii) pred_embs: Embedding results of the image.

How Has This Been Tested
Have added a test file at tests/test_models_mot_tracker_jde_tracker.py

Types of changes

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

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[x] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@kalyanvasudev have shifted the multi object tracking component to the projects folder and have also the following:
(i) Readme file for reference
(ii) A detector utils file for utilizing a sample detector which outputs detections and embeddings, which can used for running a demo.
(ii) A demo file for taking video input and outputting a video with tracked objects.
Would love to know your thoughts on the same, thank you.

Hey @shardulparab97 is multi-object tracking still planned here?

Hey @austinmw , yes I believe that multi-object tracking would be pretty good addition. Currently awaiting the repo maintainers response for the next steps! :)

@shardulparab97 Hey, responding to #174, in my opinion this would be a cool addition as an example of joint-detection-association tracking.
I would also personally be very interested in being able to perform tracking-by-detection by adding a modular tracker to an existing detector (like ByteTrack for example). This would allow users to swap the detector and tracking components separately, depending on the difficulty of the detection and tracking tasks.


The icon on the "Data tracker" page is not OpenElectricity logo

It still shows the OpenNEM logo when the Data tracker page is opened.

Closing since data-tracker tab is just redirecting to a version of opennem for now.


A top level test folder is getting packaged

Hey there,
Thanks for your contribution but we decided to deprecate this project. Please use PDPyras instead.


App.onpagehide not being called under certain conditions

An app overrides App.onpagehide() ...

When the browser is on the same host as the remi,  the onpagehide is called as expected when the browser tab is closed.  ( FireFox on Linux )

When the browser is run on a separate host from remi, the onpagehide method is NOT being called when the browser tab is closed. ( Silk browser on a Kindle tablet).

Browser issue or remi?  I dont know.
Update: I tried condition#2 with a laptop and onpagehide IS called when the remi tab is closed
The attached "issue reproducer" is based on examples/helloworld_app.py.   It overrides App.onpagehide with a method that prints a message and flushes stdout when called.
The socket package is used to find the host ip address before calling start()
.py file attached with .txt extension.  git hub weirdness
onhide_bug.py.txt
regards,
bielaszewski  (aka mtcabeza on reddit)

Update: I tried condition#2 with a laptop and onpagehide IS called when the remi tab is closed.
That exhausts my supply of alternate hardware to try this on.
I AM ASSUMING IT IS SOME WEIRDNESS WITH THE SILK BROWSER ON KINDLE and will close the issue.

@bielaszewski thank you for the further testing. Yes it have to be a problem with the kindle browser. Unfortunately I have not a kindle and so I can't throubleshoot. What you were trying to achieve with onpagehide?

DR, sorry for the slow response, my github account needs an email address
update.   A lot of code has flowed under the bridge since this issue
cropped up.   I think i was going to use the pagehide event to inform other
views to update themselves.  My solution was to have all views share the
same data, which is cleaner.
FYI, I am using remi/ kindle browser as a touchscreen remote for
controlling a synthesizer stack running on a desktop.  This avoids 1)
having a keyboard and monitor on top of the midi keyboard and 2) avoids
swivling between computer keyboard and musical keyboard. Its coming along :)
I really enjoy working with Remi.  Reading your code is educational.!
Thanks for all your effort.  Longterm, i think REMI will be an important
python package.  For purely desktop apps i had been using PySimpleGui but
it does not seem ready for web browser use.
regards,
john bielaszewski (aka mtcabeza)
<EMAIL_ADDRESS>Sedona, AZ
On Thursday, February 27, 2020, Davide Rosa<EMAIL_ADDRESS>wrote:

@bielaszewski https://github.com/bielaszewski thank you for the further
testing. Yes it have to be a problem with the kindle browser. Unfortunately
I have not a kindle and so I can't throubleshoot. What you were trying to
achieve with onpagehide?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dddomodossola/remi/issues/365?email_source=notifications&email_token=AA5WCZBBA3R7LGCIKPXKXHDRFCWUBA5CNFSM4K3VIRT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENHGNWA#issuecomment-592340696,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5WCZH455FGT2SBGF3XQSDRFCWUBANCNFSM4K3VIRTQ
.

Thank you a lot @bielaszewski ! I'm happy you are appreciating remi. About PySimpleGUI, it is improved day by day, is a really good alternative ;-)
When you get your project done, please share some screenshot. Have a good work !


Upgrade starlark-go<PHONE_NUMBER>0835-efac67204ba7)

Upgrade the Go starlark package to the latest one.
This involves a rewrite of the test_configure.py since the starlark resolver configuration is evaluated part of the exec. Using global config vars is deprecated and should be replaced. Not part of this PR as it would involve a breaking change of the API.

Thanks!
I'm trying to understand this; it looks like configure_starlark now clears the interpreter's state, which makes it necessary to call exec again after every configure... is that correct?
If so, that seems like kind of a breaking change to this module's API anyway; maybe it would be better to go ahead and change the API to get rid of global config vars altogether (and/or maybe add some sort of Context object to hold defaults as a replacement for them) and bump the major version. What do you think?

Yes indeed, this is already introducing a breaking change.
In this case, as you said, we should remove configure_starlark completely and expose the FileOptions introduced here. We then update Starlark's methods with an extra named keyword argument file_options (optional).
For example, applied to the eval method:
from starlark_go import Starlark, FileOptions

s = Starlark()

file_options = FileOptions(allow_recursion=True)
x = s.eval("7.7", file_options=file_options)


about ink pallet

I want to use the ink pallet built in the substrate.
After building a contract built with ink, I tried to initiate/putcode and use it, but after using it several times, I found out that it was not used due to the depletion of fees. So, I was able to use the contract call without fail by transferring the native coins to the contract address. If so, in order to solve the difficult problem above, where can I modify the ink pallet to build a fee-free thing?

There is:
	/// Price of a byte of storage per one block interval. Should be greater than 0.
	type RentByteFee: Get<BalanceOf<Self>>;

Maybe you can set it to 1 then the rent will be very very low

There is:
	/// Price of a byte of storage per one block interval. Should be greater than 0.
	type RentByteFee: Get<BalanceOf<Self>>;

Maybe you can set it to 1 then the rent will be very very low

are there any way that can be 0 byte not setting 1?

are there any way that can be 0 byte not setting 1?

doc say you shouldn't, but maybe for development it is fine.

doc say you shouldn't, but maybe for development it is fine.

if someone deploys new contract on the network, does he need to charge some coins into the contract address everytime to use this contract?
if the contract address has low money, is it impossible to do the service?

if someone deploys new contract on the network, does he need to charge some coins into the contract address everytime to use this contract?
if the contract address has low money, is it impossible to do the service?

thanks!

thanks!


As a developer of scientific software, I need a native Haskell implementation of the scopy function so that I can copy vectors in a pure, type-safe, thread-safe manner.

Documentation for the scopy function can be found at BLAS.

[x]  create native implementation of function
[x] create haddock documentation of function
[x] create unit test to demonstrate byte equivalence to FORTRAN BLAS library function
[x] create benchmark(s) to quantify time performance relative to FORTRAN BLAS library function
[ ] demonstrate that native has a relative time performance of no more than 100x the FORTRAN blas function.

This function has the mathematical specification:
forall n>0, 0<i<length sy
(sscal n sx incx sy incy)!i =
   if (i `mod` incy) == 0 && i `div` incy<n
       then if ( sign incx == sign incy )
                    then u!(i*incx)
                    else u!((1-n+i )*incx-1)
      else v!i

When both both incx and incy have a magnitude of 1 and the same sign, then this corresponds to copying the first n elements of incx into the first n elements of y.

BLAS Implementation notes:

Uses loop unrolling by 7 for the special case when incx and incy are both equal to 1
Guards against invalid parameter values, returning the original vectors when n<1.
Mutates the vector sy in place to avoid memory allocation.
Performs no bounds checks on the vectors sx and sy. Calling program must ensure that both are of the appropriate size.

Design Choices:

My implementation will use the stream fusion instead of loop unrolling. Implementation of other vector traversal functions (e.g. sdsdot, sdot, sasum, etc) has demonstrated that explicit loop unrolling is not required to achieve comparable or faster performance.
At least for the initial implementation, I will not use mutation in place. Mutable variables can lead to non-deterministic behavior in concurrent programs. I suspect that the mutation in place paradigm has been used in order to reduce time complexity in matrix operations (downstream of the sscal function), and that clever algorithmics (ala Okasaki) can be substituted for similar results.
I will special case the calculation for when incy is equal to one, because I anticipate that it will represent the majority of the actual calls to this function under actual use conditions.

I have created a branch (ISSUE-34) and begun implementation.

I have collected and attached the benchmark data for the scopy function
Archive.zip

In the case when INCX and INCY are 1, a linear model fits both the unsafe and streamed implementation.   The summary results follow:
STREAM
lm(formula = STREAM ~ 0 + N, data = scopy[scopy$INC == 1, ])

Residuals:
     Min       1Q   Median       3Q      Max
-0.08339  0.03416  0.03743  0.04536  0.09703

Coefficients:
   Estimate Std. Error t value Pr(>|t|)
N 2.152e-04  1.147e-06   187.6   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.04712 on 38 degrees of freedom
Multiple R-squared:  0.9989,	Adjusted R-squared:  0.9989
F-statistic: 3.52e+04 on 1 and 38 DF,  p-value: < 2.2e-16

UNSAFE BLAS
lm(formula = UNSAFE ~ 0 + N, data = scopy[scopy$INC == 1, ])

Residuals:
     Min       1Q   Median       3Q      Max
-0.93515 -0.15444  0.02680  0.04407  0.97555

Coefficients:
   Estimate Std. Error t value Pr(>|t|)
N 5.748e-04  7.474e-06   76.91   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.3071 on 38 degrees of freedom
Multiple R-squared:  0.9936,	Adjusted R-squared:  0.9934
F-statistic:  5915 on 1 and 38 DF,  p-value: < 2.2e-16

Asymptotically as N gets large, the relative execution time for the streaming algorithm should
approach
2.152e-04
----------  = 37%
5.748e-04

In the case when INCX or INCY not 1, a multi-linear model fits both the unsafe and streamed implementation. The summary results follow:
STREAM
lm(formula = STREAM ~ 0 + N + Z, data = scopy[scopy$INC != 1,
    ])

Residuals:
     Min       1Q   Median       3Q      Max
-0.99223 -0.14711  0.04556  0.06993  1.39199

Coefficients:
   Estimate Std. Error t value Pr(>|t|)
N 5.793e-03  1.467e-04   39.48   <2e-16 ***
Z 3.721e-04  1.046e-05   35.56   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.3822 on 49 degrees of freedom
Multiple R-squared:  0.9961,	Adjusted R-squared:  0.996
F-statistic:  6281 on 2 and 49 DF,  p-value: < 2.2e-16

** UNSAFE BLAS **
lm(formula = UNSAFE ~ 0 + N + Z, data = scopy[scopy$INC != 1,
    ])

Residuals:
    Min      1Q  Median      3Q     Max
-0.6180 -0.1309 -0.0331  0.0333  1.0308

Coefficients:
   Estimate Std. Error t value Pr(>|t|)
N 2.747e-03  9.646e-05   28.48   <2e-16 ***
Z 2.297e-04  6.879e-06   33.38   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.2513 on 49 degrees of freedom
Multiple R-squared:  0.9943,	Adjusted R-squared:  0.9941
F-statistic:  4271 on 2 and 49 DF,  p-value: < 2.2e-16

In the limit as both N and INC become large, the relative execution time for the stream implementation approaches:
3.721e-04
---------- = 160%
2.297e-04

This is well within the 100x target for this project milestone.

Closed as DONE after approval and merge of pull request #57


pretrain_detector

Hi there,
After running "bash pretrain_detector.sh", how can I find the best checkpoint to train the main model based on that pre-trained weights?
Thanks!

Use whichever gives you the best validation performance, or the last one :)

Got it! Thanks!

Can you report an approximation of accuracy we should expect pretrain_detector to get when the model has converged enough?
For example after 2 epochs I get:
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.061
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.151
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.035
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.026
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.075
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.121
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.169
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.170
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.084
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.201


swarmctl: show replicas as a quotient against running

For replicated services, we now show replicas as a quotient of running
tasks over desired number of tasks. While the query is expensive, the
wow factor is more than worth it.
Example:
ID                         Name    Image                 Replicas
--                         ----    -----                 --------
c69kj7q8whljylvpl55kvxilp  alpine  alpine                10/10
dhrhzorbf6akupexh5qp1mtsr  redis   localhost:5000/redis  20/20

Try it with several services and scale them up and down for maximum OMGZ.
Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

PTAL @icecrime

LGTM
Seeing this makes me a little sad:
// TODO(aluzzardi): This should be implemented as a ListOptions filter.

We're still listing all tasks to do service inspect. I guess we never got around to fixing that. @aluzzardi: Should I take a stab at it?

I like this for replicated services, but if you do a typo on a global service, how can we indicate the problem in service ls ?

[Current coverage][cc-pull] is 53.65%

Merging [#994][cc-pull] into [master][cc-base-branch] will increase coverage by 0.07%

@@             master       #994   diff @@
==========================================
  Files            75         75
  Lines         11571      11566     -5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6200       6206     +6
+ Misses         4488       4477    -11
  Partials        883        883

[][cc-pull]

Powered by Codecov. Last updated by [e0ddd36...be0843e][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/e0ddd36620fe437f30bc79d0d2b416c8429ad749...be0843ed6a3e289c0a9feb87b87a313fd00e8f83
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/994?src=pr

I like this for replicated services, but if you do a typo on a global service, how can we indicate the problem in service ls ?

We'll need to add a little more for this. Currently, it still shows global.

@aaronlehmann Meh, it's just for swarmctl - we should fix it but probably very low priority right now

(docker CLI does the right thing)

@aluzzardi: Yeah, I opened #996 for this.


Rxbus silent failure InvocationTargetException - beta version

The Rxbus very frequently not able to dispatch event, although I get value but it silently fails. Only when I debug I get invocationTargetException at SubscriberEvent class -->initObservable().
Is there any work around around for this ?
I'm using com.hwangjr.rxbus:rxbus:2.0.0-beta for RXjava2 from https://github.com/AndroidKnife/RxBus/tree/2.x
Thanks

Can you show me some snippets or logs?

This happens here, do you unregister from the bus and still sending events ?

                    @Override
                    public void accept(Object event) {
                        try {
                            if (valid) {
                                handleEvent(event);
                            }
                        } catch (InvocationTargetException e) {
                            throwRuntimeException("Could not dispatch event: " + event.getClass() + " to subscriber " + SubscriberEvent.this, e);
                        }
                    }


Pending queue gets rewritten on rehydration

First of all thanks for such a useful library!
I am having a little problem with actions that get fired before the rehydrate action.
Context:

I have a request that gets fired before persist/REHYDRATE action. It gets added to the pending queue
persist/REHYDRATEgets fired and rehydrates app state, wiping out the pending queue

Problem:

The request stays in oblivion for the rest of eternity 🎇

Proposed solution:

I solved this by blacklisting offline in my persistOptions. But maybe we should blacklist offline in redux-offline persistOptions.

persistOptions: { blacklist: ["offline"] }

With that said, I don't know if blacklisting offline in redux-persist will have any negative consequences. If that's the case, does anybody have any other solution?

Redux-persist has a feature called transforms that you can use in this scenario. You can use filters to more finely control what is and isn't persisted.
import { createBlacklistFilter } from 'redux-persist-transform-filter';

const persistConfig = {
  transforms: [
    // This will prevent the online property from being stored.
    createBlacklistFilter('offline', ['online']),
   ],
};

@JulianMayorga look into using an action buffer, as per redux-persist documentation. This should probably be built into redux-offline, though 🤔


untangle entangled tests

Avoid clashing test mocks of QuantumEngineServiceClient by limiting
mocking to the relevant test module.
Enable test reordering by pytest-randomly.

Fixes #5870.

Automerge cancelled: A status check is failing.


Python.exe - Entry Point Not Found

I just upgraded to Spyder 5.1.5 in Windows 10 from Spyder v4.3
I started getting this error dialog box popping up when starting Spyder:
"Python.exe - Entry Point Not Found
The procedure entry point
?PyWinObject_AsWriteBufffer@@YAHPEAU_object@@PEAPEAXPEAKH@Z could not be located in the dynamic link library C:\WINDOWS\SYSTEM32\pythoncom38.dll."
It pops up four times, then Spyder starts and shows another error telling me to install rtree > v0.97.   I installed this and I still get the same error:

I installed rtree and I still get the same error Entry Point Not Found"

Hey @richdevboston, thanks for reporting. How did you install Spyder?

Using Anaconda originally.
Thank you.
Best Regards,
Rich Lysakowski, Ph.D.
Data Scientist, Analytics Engineer,
and Senior Business Analyst
781-640-2048 mobile
On Wed, Sep 29, 2021 at 9:24 PM Carlos Cordoba @.***>
wrote:

Hey @richdevboston https://github.com/richdevboston, thanks for
reporting. How did you install Spyder?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/16512#issuecomment-930668916,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACHJVLY4CB6ODD3CBWYIIHTUEO347ANCNFSM5FBD32BA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

These problems are perhaps related to the fact that you installed a previous Python version that now is interfering with Anaconda. Please find all traces of it and remove them.


[Feature request] Change highlight color to grey when app is not in focus

Is your feature request related to a problem? Please describe.
Currently, the highlight color of selected text is the accent color when the app is both in and out of focus. Typically, the highlight color turns gray in other apps when the app is out of focus. Because of this, I will see the colored highlight in Notepads and think it is the window in focus, so I start typing only to realize I was typing in a completely different app window.
Describe the solution you'd like
The highlight color of selected text should become gray when the Notepads window is not in focus.
Describe alternatives you've considered
The highlight color could also become a more muted version of the accent color when the window is not in focus.
Additional context
Here is a screenshot of how Google Docs changes the highlight color of text to indicate a window's focus.

I was actually thinking of doing it but since I already let user to change the accent color upfront so it is kind of hard to find a good alternative/substitute color for inactive state so I decided to not do it at all.


[Docs] call set_adapters() after add_weighted_adapter

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


version_string.ver must be generated

When copying your CMakeLists into a new tbb archive I noticed version_string.ver is not found in src/tbb altough it is versioned here:
5>c:\miniconda\conda-bld\work\tbb43_20150611oss\src\tbbmalloc\../tbb/tbb_version.h(28) : fatal error C1083: Cannot open include file: 'version_string.ver': No such file or directory

A quick fix:
file (WRITE src/tbb/version_string.ver "#define __TBB_VERSION_STRINGS(N) \"Empty\"")


Treeview, subtree not collapsing

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior
the sub tree should collapse like this:

Actual behavior
While the carret turns the subtree itself doesn't hide:

Reproduction of behavior
Clarity Documentation - Tree View
Environment details

Angular version: 2.0.X

Clarity version: 0.9.9

OS and version: macOS 10.12.5

Browser: [Safari 10.1.1]

@marvinosswald: Thanks for reporting this issue. Will take a look and get back to you.

I've been meaning to report this. FWIW Issue also appears in IE11 as well as mobile + desktop Safari, and Yandex 14.12.
Fine in Chrome, Firefox & Opera. I'm sure it was also affecting Stack View components, but that doesn't seem to be the case any more.

I've verified this on Safari, FWIW.


Look into web scraping tools by Barbaresi

Presented during lunch lecture 11. Dec 2019:
https://github.com/adbar/trafilatura
Web scraping library: downloads web pages, finds main text and comments, converts to TXT, XML & TEI http://adrien.barbaresi.eu/research.html
https://github.com/adbar/htmldate
Find the creation date of web pages using common structural patterns, text-based heuristics and robust date extraction

Hi,
Trafilatura is pretty much something like "NewsPlease" or "Scrapy" (I guess :D) which have both been covered in our General News Scraper Section. The Scraper is lightweight and only scrapes the html code and sorts its elements. I don't know if thats enough for it to be added.
In my eyes, we could add it as a "Blog" scraper or similar. But it wouldnt function on more complex sites fluently :). I tryed using it on NYT and SPON and did scrape the article but when it comes to scrolling for more comments or the full text of a article (on some sites you have to scroll to get more text of a site, or the article continues on a second page) it will fail occasionally. On some random wordpress sites it worked fine and also on certain sites of SPON.
It is very very dependent to the structure of the Website and will be, imo, hard to explain to people when and where to use this tool!
htmldate:
This module can be very useful when programming a general news scraper.
But doesn't ‚timedate‘ have a package called dateutil that pretty much does the same?

Hi, I just stambled upon this issue, thanks for your interest! Your wiki page seems quite relevant.
I can answer some of your concerns: trafilatura has gotten better since your test, both in terms of accuracy and functionality.
With a colleague of mine we also did some research on text extraction and found out that the chosen solution depends highly on variables such as language or country of publication as well as text type:

See here for an evaluation of text extraction with Python packages
This article documents an evaluation on a different, multilingual dataset
This one includes a recent benchmark with trafilatura (in French but the tables should be readable, a publication in English will follow)

As for htmldate, the package does a lot more than just dateutil, most notably smart and/or exhaustive searches through metadata and text (if required). It performs much better than comparable algorithms on my test data (mostly German webpages), please refer to this evaluation.
I completely agree with you, it's hard to know when and where to use the tools. That being said, it seems there are more efficient tools than newspaper or news-please at the moment, especially for languages other than English.

@adbar: Thx for bringing those evaluations to our attention. We'll have a second look into it. Also, feel free to propose changes/other additions to the News Scraper wiki page.


#Get error when use LBFGS

The error is as follow:
16/04/19 18:47:35 ERROR LBFGS: Failure! Resetting history: breeze.optimize.FirstOrderException: Line search zoom failed
16/04/19 18:49:18 ERROR LBFGS: Failure again! Giving up and returning. Maybe the objective is just poorly behaved?

And also i notice that there is a LBFGS-B implementation. What's the difference between LBFGS and LBFGS-B?
Is ProjectedQuasiNewton optimizer more efficient and powerful than LBFGS and LBFGS-B?

most likely your gradient is wrong or the convergence tolerance is set too
tightly.
LBFGS-B is a bit buggy, but it accepts box constraints to enforce that all
elements of the vector are between some bounds.
ProjectedQuasiNewton can handle (nearly) all convex constraints, but
requires a projection function to take a vector and put it back in the set
On Tue, May 31, 2016 at 11:33 PM, universe<EMAIL_ADDRESS>wrote:

#The error is as follow:
16/04/19 18:47:35 ERROR LBFGS: Failure! Resetting history:
breeze.optimize.FirstOrderException: Line search zoom failed
16/04/19 18:49:18 ERROR LBFGS: Failure again! Giving up and returning.
Maybe the objective is just poorly behaved?
And also i notice that there is a LBFGS-B implementation. What's the
difference between LBFGS and LBFGS-B?
Is ProjectedQuasiNewton optimizer more efficient and powerful than LBFGS
and LBFGS-B?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scalanlp/breeze/issues/546, or mute the thread
https://github.com/notifications/unsubscribe/AAAloSwM2YirnAH3hQiDzMDiU6K0zg02ks5qHSfSgaJpZM4IrOq7
.

I also encountered this problem ,  and I tried few times adjusting he convergence tolerance , unfortunately it did not work . Can you explain in detail why and how the gradient is wrong ？Much appreciated for that -)


Logging parameters to help with troubleshooting

it would help to log the parameters here, it will help with troubleshooting
Originally posted by @alexeyd in https://github.com/googleinterns/step254-2020/pull/13#discussion_r475472106
Probably you should log the parameters here to simplify future debugging
Originally posted by @alexeyd in https://github.com/googleinterns/step254-2020/pull/13#discussion_r475475399
Which one(s)? Try to provide more information in the internal error messages.
Originally posted by @alexeyd in https://github.com/googleinterns/step254-2020/pull/13#discussion_r475506730

Logging all Parameters to help with debugging now


Align Issue/PR List Labels to the Right

This aligns the labels in the Issue/PR list to the right per #523. We
need the js-issue-row selector to prevent the labels being floated right on
the individual Issue/PR page itself.

Is there anything more specific than div?

We could also use a class in the beginning of the selector specific to the listing of issues/PRs, because GitHub may have other places with .labels.

Looking further up the tree, each issue/PR is in a li with a class of js-issue-row, I'll attempt to use that.

Tweaked to use js-issue-row it worked out quite well, good feedback. 👍

Now that I see it I'm not sure if having them far from the title helps, actually. I'll try it for a bit but for now I'm 👎

@bfred-it what about moving them above PRs’ title?

That might work if it's CSS-only, but some might not like the new height.

This PR looks a bit messy on the AVA issue tracker:

Having now seen it on a number of issue pages I'm not sure I like it either. The left-aligned suggestion is interesting, I would rather more clarity over issues per page.
I guess it depends on the way people read issue pages. I generally start with tags so the alignment helps. If you start by reading each title and tag one at a time, row by row, then the staggered pattern doesn't hinder you. But then if you're someone who doesn't use the tags at all the right-alignment does remove clutter from the space you want visual clarity.
I'm :confused: on this idea now

@sindresorhus wrapping labels don't look good either way, this is the default GH look:

Here's an alternative look
Labels below title

.js-issue-row .float-left.col-9.p-2.lh-condensed {
    display: flex;
    flex-direction: column;
}

Labels above title

// flex plus this:
span.labels {
    order: -1;
}

@bfred-it if it would be up to a vote, I’d go for the second proposal with some additional margin applied to the PR’s title (extra 5px should do the job).

Crazy idea: What if we'd remove the label title and make it just a line (like Trello):

We could show the label name as a tooltip on hover.

Too crazy. It might work for your own projects but not for others you're not familiar with.
You can already do that with CSS:
.label {
    font-size: 0;
    width: 40px;
}

Closing this as we can't get a consensus on it.

Thanks for the PR though! It kept the conversation going :)


update README

https://github.com/yannickcr/eslint-plugin-react/issues/1955#issuecomment-451182940

is it ok now?

Thanks! This was my first OSS PR to a well-known library. 😃


Box2D utilities module

[x] Review gdx-box2d-kotlin code.
Migrate gdx-box2d-kotlin to ktx-box2d module.
[x] FixtureDef factory methods supporting different shapes.
[x] earthGravity property.
[x] World factory methods.
[x] Documentation listing all extensions. Usage examples.

@Jkly

@Jkly I'm sorry, but I just don't like the approach of wrappers of the original Box2D API. Not only you have to maintain and test the existing properties, but also you don't immediately support new ones added in LibGDX. (Well, not that it happens very often, but still.) I prefer to add extension methods and some inlined building utilities to existing Box2D classes. This is the API I'm aiming for:
world.body {
  type = DynamicBody
  bullet = true
  circle(radius = 3f) {
    restitution = 0.5f
  }
}

I'll still credit you for the original idea with link to the repo in the README file.

Sure, no problem - I agree with the problem of wrapping the API, it's just sufficed for what I've needed so far. I'll definitely be interested in whatever you come up with  😄

Done. I've implemented the initial set of Box2D utilities - I believe it covers most of gdx-box2d-kotlin features. You can find them on the develop branch. I'd appreciate it if you checked it out. You can also post new utilities suggestions at #65.

@czyzby It looks good from what I've looked at so far. The better coverage of the shape types is great and not having to maintain duplicate properties will definitely make maintenance much easier.
Just a couple of things from a quick look:

It's possible to set the shape again from the fixture closure. e.g.

val body = world.body {
      type = DynamicBody
      circle(radius = 2f) {
        shape = PolygonShape() // causes runtime error
        density = 0.5f
      }
    }

It might be worth creating a FixtureDefinition like you did with BodyDef to try and hide access to FixtureDef.shape?
One thing that was useful in gdx-box2d-kotlin was being able to provide a callback function that received the instantiated fixture, so that the reference could be used elsewhere in game code.

It might be worth creating a FixtureDefinition like you did with BodyDef to try and hide access to FixtureDef.shape?

Manually modifying shape field is a misuse of the API, but I can see why you'd consider it a problem. FixtureDef defines a shape field rather than getter and setter pair than you can override. I don't think you can modify field access modifier, and adding a shape Kotlin property just makes the API unusable (no quickfix suggestions).
Overload resolution ambiguity. All these functions match.
* public final val shape: Shape defined in ktx.box2d.FixtureDefinition
* public final var shape: Shape! defined in ktx.box2d.FixtureDefinition

If you can think of a way of hiding the field without replicating FixtureDef class, I can implement that.

One thing that was useful in gdx-box2d-kotlin was being able to provide a callback function that received the instantiated fixture, so that the reference could be used elsewhere in game code.

Yeah, I've noticed that Fixtures are pretty hard to access. I'll think of something.

I think I see being able to modify FixtureDef.shape more of an issue for providing a safe API, but actually isn't a show-stopper for me.
One minor thing - for circle(), I think it's more useful to be able to pass the offset as a Vector2 rather than separate x, y params in case the API user has one instantiated already.

Also, it'll be useful to have this extension function:
fun FixtureDef.filter(filter: Filter.() -> Unit)
so you could do (would also be less maintenance):
    world.body {
      type = DynamicBody
      circle(radius = 2f) {
        density = 0.5f
        filter {
          groupIndex = 1
        }
      }
    }

This worked for me, in terms of hiding FixtureDef.shape:
  class FixtureDefinition : FixtureDef() {
    val shape: Any? = null
  }

  inline fun <ShapeType : Shape> fixture(
      shape: ShapeType,
      init: (@Box2DDsl FixtureDefinition).(ShapeType) -> Unit): FixtureDef {
    val fixture = FixtureDefinition()
    (fixture as FixtureDef).shape = shape
    fixture.init(shape)
    fixtureDefinitions.add(fixture)
    return fixture
  }

One minor thing - for circle(), I think it's more useful to be able to pass the offset as a Vector2 rather than separate x, y params in case the API user has one instantiated already.

I think I originally went for separate x and y primitives to create less garbage (as it seems the LibGDX way of doing things), but circle.position.set(x, y) was ignored - it makes no JNI call and does not actually change the fixture offset. Since now the method internally creates a new Vector2 either way, it makes sense to expose it as a parameter.

Also, it'll be useful to have this extension function: (...)

Makes sense. I'll replace the 3-argument filter function with this. Thanks.

This worked for me, in terms of hiding FixtureDef.shape:

The class itself compiles and with casting you can access the shape, but the users of the API cannot access the shape from within fixture definition scope. Try this:
FixtureDefinition().shape

It makes it impossible to override the field without casting, but also forbids you from using the getter. It feels like a hack, really, I'd rather just leave the shape alone and add a warning in the documentation. It's a clear misuse of the unfortunate LibGDX API.

There's one mayor issue with callbacks: even when inlined, compiler won't allow you to assign vals there. Building an immutable Box2D entity with all necessary references should be trivial and free of lateinit. I think Body extensions will address that:
class MyEntity(world: World) {
  val body = world.body {
    circle { /* Define fixtures that you don't need access to here. */ }
  }
  val importantFixture = body.box { /* Define other fixtures outside of the main building block. */ }
}

It makes it impossible to override the field without casting, but also forbids you from using the getter

I see your point now. I think it's unlikely users will try setting FixtureDef.shape again, so not hiding it is fine.

There's one mayor issue with callbacks: even when inlined, compiler won't allow you to assign vals there

The callbacks have been useful in some of my game code where I have this pattern:
    private fun Entity.asFixtureComponent(fixtureComponentType: KClass<out FixtureComponent>): (Fixture) -> Unit {
        return { fixture ->
            val fixtureComponent = engine.createComponent(fixtureComponentType.java)
            fixture.userData = this
            fixtureComponent.with(fixture)
            add(fixtureComponent)
        }
    }

    // then I can use it as...
    world.body {
        circle(asFixtureComponent(HitBox::class)) {
            isSensor = true
            filter {
                groupIndex = FilterGroup.HIT_BOX_GROUP.num()
                categoryBits = CategoryBits.FRIENDLY_HIT_BOX.bits()
                maskBits = CategoryBits.ENEMY_PROJECTILE.bits32().toShort()
            }
        }
    }

The alternative you suggest would still work for me though, but I think the resultant game code would be slightly less nice.

I can see why it's useful for you, but it does seem like a bit specific use case that would be used by barely any devs. I might be wrong though: if there are more feature requests - sure, don't see why not.
However, adding a userObject property to FixtureDefinition seems like a good idea - I rarely needed direct to access Fixture instances in my Box2D games beyond setting userObject and handling contacts.
Side note: you can rewrite your code to use reified generics, so you can call the method like that: asFixtureComponent<HitBox>().

Yep, that seems like a reasonable decision - having access to the userObject may cover off most of the common use cases anyway.

@Jkly I think I've addressed most of the issues. Can you take a look now?

With edge() it'll be useful to have the component x, y params because there's an underlying JNI call that takes those.
Generally it looks great - it feels like a superior DSL implementation to gdx-box2d-kotlin.
The only thing that would give me pause before switching over is that lack of access to instantiated Fixtures without calling another API (I need it for game-code to be able to disable/enable fixtures by altering the filter mask after creation), but I understand your viewpoint of wanting to see more use-cases first.

With edge() it'll be useful to have the component x, y params because there's an underlying JNI call that takes those.

You mean you want to replace from and to with 4 float parameters? Using Vector2 for points seems more consistent with the rest of the API at this point.

The only thing that would give me pause before switching over is that lack of access to instantiated Fixtures without calling another API

Well, instead of this:
val body = world.body {
  circle { /* ... */ }
}

You can do this:
val body = world.body { /* ... */ }
val fixture = body.circle { /* ... */ }

There's pretty much no performance penalty either way and both work similarly. I'd argue that code with callbacks would be less readable than simply creating required fixtures outside of the main body building block, but then again - that depends on the use case.

You mean you want to replace from and to with 4 float parameters?
Yes, to avoid forcing the user to create new Vector2 objects. Maybe an optional function overload?

I wasn't suggesting the mechanism to be callbacks, just that it would be nice if I could use the main DSL and still get access to the Fixtures (however that would be).
All in all though, it looks good. And the benefits of focussing efforts on a single DSL in the community will probably outweigh this possibly niche use-case of mine.

Makes sense, I'll add overloads similarly to how chain and loop are handled.

@Jkly Can I close the issue now or is there anything else you'd change? Thanks for your review.
I can think of one way to address your issue that adding yet another argument to existing builder methods - adding onCreate callbacks to FixtureDefinition and BodyDefinition.
// This is what I'd like to avoid:
world.body {
  circle(onCreate = { fixture -> /* Creates unclear program flow issues. */ }) {
    density = 0.5f
  }
}

// This is not that bad:
world.body {
  circle {
    density = 0.5f
    onCreate { fixture ->
      // ...
    }
  }
}

If you think it makes sense and would solve your problem, I have nothing against such callbacks API.

The onCreate() idea would work for my use-case. I think it's worth adding for completeness, as it'll cover off all the use-cases I've come across so far.
Either way, I'm happy if you want to close the issue - the DSL is looking great!

Great. This issue already got pretty big, so I'll cover the callbacks API in #65. Thanks.


[Enhancement]: CI E2E tests on embedded ostree container images

Design Document Link
PR: #
What would you like to be added:

Rpm: create rpm repo for .tar which are only updated after a rebase
containerized: upload  .tar to a github repo
write CI e2e tests for Image Loader

Why is this needed:

This is being tracked in Jira as part of USHIFT-228


ctf-tools can't install angr

it would be nice to be able to install angr with ctf-tools

added in 20aebb1
angr-management currently doesn't seem to work (some enaml issue), but I'll bug @jmgrosen about that :-)


⚠ Bofrost.be has degraded performance

In 08d5d95, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1928 ms

Resolved: Bofrost.be performance has improved in 25bc20b.


Support requests above 2.32

Currently PyEnSight forces all PyAnsys libraries to install requests<2.32 - as you might now, the requests library reported a vulnerability for all versions under 2.32. We suggest you update this dependency and do a new patch release.

See https://github.com/advisories/GHSA-9wx4-h78v-vm56


feat(dapp-console): deployment rebate growthbook flag

#338  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tremarkley and the rest of your teammates on  Graphite


FusedGeolocator implementation

Please take a moment to fill out the following:
Fixes #30.
Changes Proposed in this pull request:

Configurable Init method on CrossGeolocator to allow custom IGeolocator implementations to be used. Default to GeolocatorImplementation if Init not called. Could be a good pattern to add to all the plugins to allow extensibility, as the static singleton approach is restrictive.
Fused geolocator for android, which falls back to GeolocatorImplementation is Play Services unavailable
Test harness app for Droid fused provider

I noticed that in StartListeningAsync, the initialization always aborts here because the IsConnected flag is false right after the call:
		if (!_client.IsConnected)
			_client.Connect();

		if (!_client.IsConnected)
			return await Task.FromResult(false);

That's not surprising given that Connect results in a callback upon connection, so I'd assume it's not a blocking call. Any reason you changed the implementation from @MisterJimson which takes care of this in an async way?
    private Task ConnectAsync()
    {
        TaskCompletionSource<bool> connectionSource = new TaskCompletionSource<bool>();
        EventHandler<Bundle> handler = null;

        handler = (sender, args) =>
        {
            callbacks.Connected -= handler;
            connectionSource.SetResult(true);
        };

        callbacks.Connected += handler;
        client.Connect();
        return connectionSource.Task;
}

(Even though looking at @MisterJimson's implementation, there doesn't seem to be coverage for connection failures unless that's covered by the Connected event. If not, that probably should be added.)

I am re-implementing all of this from scratch actually and already have work in a branch. I have to re-write a lot of it and I want to fully understand the fused locator. There is a new version coming out soon that simplifies, so I am waiting for that.

New version of which package?
It would be great if you could change the singleton static classes (as in my pull request) to allow initialization of a type when you don't want the built-in implementation. This would be ideal for both testing & extensibility. Currently it makes it difficult to unit test any classes that utilize your plugins with the concrete types constructed by the static class which you have no control over. For now I'll continue to ignore the static classes and inject via DI.

There is a new new version of the package for GPs coming hopefully this week for the latest and greatest and they changed how it all works so I am waiting on that.
For architecture I wont change it at all, but I always have guidance: https://jamesmontemagno.github.io/SettingsPlugin/Architecture.html

That'll be good, the current way is a bit battery intensive. Hopefully it doesn't lock the package in to a minimum GPS version.
Agreed DI is the way to go, I'd prefer that over static classes anyway. Just on a large team everyone has to be mindful of not calling the static classes.


handle_event_callback, e is undefined

When i add handle_event_callback to the options. In the functions handling the callback (as described in the readme.md) the parameter e is undefined this makes it impossible to check which event fired. The usecase for this is that i want to save the changes made to  remote server when focus of the editor is lost.
Has anyone had issues with this?

Looking into this, I believe this is now outdated, as the project is supporting 4.x right now and handle_event_callback is in 3.x.


add none format

Problem:
now user have to select a format when user want to use custom log
Solution:
add none format, this format will collect log and save to the log field

LGTM


Redirect not sending to external URL, sends post to internal app view

Q
A

Bug?
Unknown

New Feature?
No

Version
5.3

Actual Behavior
I am using Laravel 5.6 with Guzzle 5.3 and am not being redirected to an external URL as specified in the post call.  Instead, I am being redirected to view within my own app.
Expected Behavior
Based on the documentation I would expect Guzzle to redirect me to the external URL and passing in the variable values from my array.
Steps to Reproduce
Dev project is located here.  https://github.com/ThistleApps/donate
The key views are curchlist & churchpay.  The routes are in web.php and the key controller is ChurchController.
Essentially what I need to do is have the user successfully redirected to the external URL. However, the Guzzle REDIRECT_URL is pointing to an internal blade view of /churchpay/{id}.  It won't redirect the user to the external URL despite that URL being specified in the $response = $client ->post('https://demo.globalgatewaye4.firstdata.com/pay',...
I am getting a 200 status code from the FirstData site (which means I passed in the right credentials) and the external site hosted payment page is returned inside my view without any kind of iframe.

Not sure if I understand your problem, but it looks like Guzzle is not the right tool in your case.
Guzzle is an HTTP client, it fetches the data from the URL and returns it to you. If you want the browser to be redirected to a URL, you don't need Guzzle, you need to use the framework's tools.

But Guzzle performs an external post to forms?  No?

Guzzle can send POST requests to HTTP endpoints, but it's not the same as "filling in and posting a form" in a browser.
Guzzle itself can follow redirects, but you won't see that in the browser. Guzzle is an HTTP client, so as the browser. If you want the browser to be redirected to a different page, you don't need Guzzle.

@sagikazarmark thanks for the confirmation.  I am getting the post data to work properly so I will continue to investigate on Laravel.


Add unit tests

It would be great to have unit tests written in typescript and an easy way to run it.

Yes, Waiting to see this


Add subpixel smoothing example for metagrating problem

Here, we use fmmax, the invrs.io gym, along with some handy autograd-wrapper functions to take meep's recently added subpixel smoothing functionality, and optimize the metagrating example.
Importantly, this example shows how one can use fmmax (an RCWA/FMM tool) and still evolve β→∞.
We have an explicit shape optimization example (β=∞):

As well as an explicit topology optimization example (β=16, 64, ∞):

Everything was very straightforward thanks to all the existing code!
(note that we need to merge the corresponding PR in meep first)
(cc @oskooi, @mfschubert, @stevengj, @mochen4, @hammy4815)

Nice! FYI if you use agjax.experimental.wrap_for_jax (code) then you can also jit the entire calculation.

@mfschubert I wonder if there is a clean way to directly compute the vector fields from this formulation, which has a level set. In other words, we know the normal direction and distance to the nearest interface at every point, so perhaps this doesn't require solving a mini optimization problem?

@smartalecH This is an interesting thought, and in general a level set view may be fruitful to take. However, my sense is that we will still have to solve an optimization problem---recall that when computing the vector fields, we balance smoothness with alignment to the permittivity gradient. So, in some cases the optimal field is not aligned with the gradient, and a direct calculation from the permittivity (however it may be parameterized) may not produce such a field. But, maybe there is some cleverness that I am not thinking of this morning. Let's chat about it further.

The optimal designs reported in the testbed paper (Section F and Fig. 8) have a diffraction efficiency of ~93%.
What are the values for the two designs shown above? What are the values of the designs computed using Meep?


Add MaterialCard control

Documentation:

https://m3.material.io/components/cards/overview

Things to keep in mind:

And when the Type property is changed create and set the content with the needed things.
Add control to the README.
Create documentation for this new control.
Add a sample page to show the control in the sample app.

Desirable properties:

Type (Elevated, Filled, Outlined, Custom) (filled default)
ShadowColor (primary color as default)
HasSwadow (false default)
BackgroundColor (light primary color as default)
BorderColor (primary color as default)
BorderWidth (1 default)
CornerRadious (allow different values for each corner)
Animation when the user do tap (similar to the MaterialButton)
Command
Command parameter

Elevated type:

Use our custom shadow designed and applied currently in the CustomFrame control which is using elevation.
Discard all border properties and don’t show it.

Filled type:

Discard all shadow properties and don’t show it.
Discard all border properties and don’t show it.

Outlined type:

Force a transparent background color.
Discard all shadow properties and don’t show it.

Custom type:

Allow do it any custom configuration and apply all properties values.

We are working on this ticket and it will be released soon with the upcoming version of this NuGet package.


Error during compilation after fixing a syntax error

🐞 bug report
Affected Package

 None
Is this a regression?

 Yes, the previous version in which this bug was not present was: 8.2.7
Description
 If I have a syntax error in the code, *then* start the app with `npm start`, when I fix the error, the compiler generates the following error:
ERROR in ./src/main.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\src\main.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:920:23)
    at plugin.done.then (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR in ./src/polyfills.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\src\polyfills.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:920:23)
    at plugin.done.then (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)

🔬 Minimal Reproduction

 This has been somewhat difficult to reproduce.
This is what I did, and can reproduce it every time following these steps.

Made a syntax error in my code

    ngOnInit() {
        this.sub = this.productService.selectedProductChanges$.subscribe({
            next: selectedProduct => this.product = selectedProduct,
            error: err => this.errorMessage = err
        };     // <- Missing paren here
    }

Started the app with npm start

I see the correct ')' expected error message

Fixed the error, got the error message as shown below.

At this point I have to stop the compiler and restart, then it compiles without issue.

Here is the output from the console:
PS C:\Users\...> npm start

><EMAIL_ADDRESS>start C:\Users\...
> ng serve -o

10% building 3/3 modules 0 activei ｢wds｣: Project is running at http://localhost:4200/webpack-dev-server/
i ｢wds｣: webpack output is served from /
i ｢wds｣: 404s will fallback to //index.html

chunk {main} main.js, main.js.map (main) 2.07 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 714 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.04 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 339 kB [initial] [rendered]
Date: 2019-11-01T23:24:46.037Z - Hash: 9acd019b2df6dfe09939 - Time: 2676ms

ERROR in src/app/products/product-shell/product-shell-detail.component.ts:23:10 - error TS1005: ')' expected.

23         };
            ~

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
i ｢wdm｣: Failed to compile.
i ｢wdm｣: Compiling...

Date: 2019-11-01T23:24:55.928Z - Hash: 44abf69c38b2e0c5ade5
3 unchanged chunks
chunk {main} main.js, main.js.map (main) 2.78 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 1.42 kB [initial] [rendered]
Time: 331ms

ERROR in ./src/main.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\src\main.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:920:23)
    at plugin.done.then (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR in ./src/polyfills.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\src\polyfills.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:920:23)
    at plugin.done.then (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)
i ｢wdm｣: Failed to compile.

If you want to try out the same code I'm using, you can find it here: https://github.com/DeborahK/Angular-Communication/tree/master/APM-Final v8
You'll need to update it to v9 using these steps:
npm install --no-save @angular/cli@next
ng update @angular/cli @angular/core --next

🔥 Exception or Error

ERROR in ./src/main.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\src\main.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:920:23)
    at plugin.done.then (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR in ./src/polyfills.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\src\polyfills.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:920:23)
    at plugin.done.then (C:\Users\Deborah\Documents\GitHub\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)
i ｢wdm｣: Failed to compile.

🌍  Your Environment
Angular Version:

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.0-rc.0
@angular-devkit/build-angular     0.900.0-rc.0
@angular-devkit/build-optimizer   0.900.0-rc.0
@angular-devkit/build-webpack     0.900.0-rc.0
@angular-devkit/core              9.0.0-rc.0
@angular-devkit/schematics        9.0.0-rc.0
@ngtools/webpack                  9.0.0-rc.0
@schematics/angular               9.0.0-rc.0
@schematics/update                0.900.0-rc.0
rxjs                              6.5.3
typescript                        3.6.4
webpack                           4.41.2

Anything else relevant?

@StephenFluin @alan-agius4

This is tracked here: https://github.com/angular/angular/issues/32214

I followed these commands:
git clone https://github.com/DeborahK/Angular-Communication/
cd "Angular-Communication/APM-Final v8"
npm install
npm install --no-save @angular/cli@next
ng update @angular/cli @angular/core --next
ng update @angular/cli @angular/core --next --force

A couple of notes here:
I had to use --force on the update because of these:
kamik@RED-X1C6 MINGW64 /d/sandbox/Angular-Communication/APM-Final v8 (master)
$ ng update @angular/cli @angular/core --next
Using package manager: 'npm'
Collecting installed dependencies...
Found 33 dependencies.
Fetching dependency metadata from registry...
Package '@angular/cli' is already up to date.
                  Package "angular-in-memory-web-api" has an incompatible peer dependency to "@angular/core" (requires ">=8.0.0", would install "9.0.0-rc.0").
                  Package "angular-in-memory-web-api" has an incompatible peer dependency to "@angular/common" (requires ">=8.0.0", would install "9.0.0-rc.0").
                  Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=3.1 < 3.6", would install "3.6.4").
Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

npm install --no-save @angular/cli@next is not the right command to run according to https://next.angular.io/guide/updating-to-version-9. This will install CLI in version 9, but the update guide instructs users to install the latest version 8 instead.
Following the rest of the steps doesn't give me the same error though:
kamik@RED-X1C6 MINGW64 /d/sandbox/Angular-Communication/APM-Final v8 (master)
$ ng serve
10% building 3/3 modules 0 activei ｢wds｣: Project is running at http://localhost:4200/webpack-dev-server/
i ｢wds｣: webpack output is served from /
i ｢wds｣: 404s will fallback to //index.html

chunk {main} main.js, main.js.map (main) 2.02 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 122 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.01 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 339 kB [initial] [rendered]
Date: 2019-11-04T10:43:56.354Z - Hash: 7d09de3a40835aa15675 - Time: 5970ms

ERROR in src/app/products/product-shell/product-shell-detail.component.ts:21:8 - error TS1005: ')' expected.

21        ;
          ~

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
i ｢wdm｣: Failed to compile.
i ｢wdm｣: Compiling...

Date: 2019-11-04T10:44:10.592Z - Hash: 8376511fff53f696c847
1 unchanged chunks
chunk {main} main.js, main.js.map (main) 48.1 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 262 kB [initial] [rendered]
chunk {products-product-module} products-product-module.js, products-product-module.js.map (products-product-module) 50.9 kB  [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 9.02 kB [entry] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 4.66 MB [initial] [rendered]
Time: 9450ms

WARNING in D:/sandbox/Angular-Communication/APM-Final v8/src/environments/environment.prod.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.
i ｢wdm｣: Compiled with warnings.

Something surprising here is that after the update I actually got older versions of the CLI:
Angular CLI: 8.3.5
Node: 10.16.0
OS: win32 x64
Angular: 9.0.0-rc.0
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.5
@angular-devkit/build-angular     0.803.5
@angular-devkit/build-optimizer   0.803.5
@angular-devkit/build-webpack     0.803.5
@angular-devkit/core              8.3.5
@angular-devkit/schematics        8.3.5
@angular/cli                      8.3.5
@ngtools/webpack                  8.3.5
@schematics/angular               8.3.5
@schematics/update                0.803.5
rxjs                              6.5.3
typescript                        3.6.4
webpack                           4.39.2

I think this happened because we started on CLI 9.0.0-rc.0. It still looks like a bug. It also prevented CLI migrations from running.
I tried again but this time I installed the right CLI version:
git clone https://github.com/DeborahK/Angular-Communication/
cd "Angular-Communication/APM-Final v8"
npm install
npm install --no-save<EMAIL_ADDRESS>ng update @angular/cli @angular/core --next
ng update @angular/cli @angular/core --next --force

At this point I can see the reported error after following the rest of the steps:
kamik@RED-X1C6 MINGW64 /d/sandbox/Angular-Communication/APM-Final v8 (master)
$ ng serve
10% building 3/3 modules 0 activei ｢wds｣: Project is running at http://localhost:4200/webpack-dev-server/
i ｢wds｣: webpack output is served from /
i ｢wds｣: 404s will fallback to //index.html

chunk {main} main.js, main.js.map (main) 2.02 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 691 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.04 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 339 kB [initial] [rendered]
Date: 2019-11-04T11:04:24.847Z - Hash: 9e3f35c6dad74f342116 - Time: 5215ms

ERROR in src/app/products/product-shell/product-shell-detail.component.ts:21:9 - error TS1005: ')' expected.

21         ;
           ~

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
i ｢wdm｣: Failed to compile.
i ｢wdm｣: Compiling...

Date: 2019-11-04T11:11:28.838Z - Hash: 5a686f2e20a06b8a4bf6
3 unchanged chunks
chunk {main} main.js, main.js.map (main) 2.66 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 1.32 kB [initial] [rendered]
Time: 630ms

ERROR in ./src/main.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: D:\sandbox\Angular-Communication\APM-Final v8\src\main.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (D:\sandbox\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:920:23)
    at plugin.done.then (D:\sandbox\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR in ./src/polyfills.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: D:\sandbox\Angular-Communication\APM-Final v8\src\polyfills.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
    at AngularCompilerPlugin.getCompiledFile (D:\sandbox\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:920:23)
    at plugin.done.then (D:\sandbox\Angular-Communication\APM-Final v8\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)

I can confirm that this happens only when compiling with AOT (the migration adds it automatically) and with Ivy. Compiling without Ivy don't have this problem.

Yes, this is a variation of https://github.com/angular/angular/issues/32214#issuecomment-549335630. Reported what's happening there.

I'll close this as dupe of angular/angular#32214 please follow that issue for status update.


common.scss should be removable

For users that don't use a CSS pre-processor, the common.scss file provides no value. However it can't be deleted without causing errors.
File to import not found or unreadable: ./src/common.scss.
 in .../src/block/editor.scss (line 1, column 1)

create-guten-block is an opinionated piece of tech. It uses Sass and you can just leave the common.scss file be. If you wish to remove it you'll have to eject.
In future versions I'll make it configurable with a dotenv file https://github.com/ahmadawais/create-guten-block/blob/master/packages/cgb-scripts/config/webpack.config.dev.js#L64


java.util.MissingResourceException when trying to use owasp plugin with Postgres

When I try to use version 2.0.1 of the owasp dependency check plugin for maven it fails with error:
Can't find resource for bundle java.util.PropertyResourceBundle, key MERGE_PROPERTY -> [Help 1]
For full error log please check here:
https://gist.github.com/evg1001/e1a01a50ccb5602e7164fc1db6b5033a

@evg1001 Any chance you could re-run the failed execution with the -X option and look for the entry in the log file:
Database product:
Then post the line from the log file here?

I just observed the "Database product:" line in the reported error log: https://gist.github.com/evg1001/e1a01a50ccb5602e7164fc1db6b5033a#file-maven_owasp_dependency_plugin_error-txt-L305


Align X and Z to specific angle?

Some structures and roads will obviously have to be at an angle other than a multiple of 90 degrees, but is there a way to change the ange at which the maps are converted to minecraft X and Z?
Below is an example of a building on a college campus where most of the buildings are aligned in the same way, not necessarily aligned to North and South:

Can this angle be changed with a setting, or would new code need to be written?

You can use a different projection. Mercator and equirectangular both maintain the cardnal directions. Mecator comes with the bonus of being conformal so angles are correct too.
Actually rotating the projections would be possible but it seems like such a niche thing since there are other projections that work and it wouldn't be compatable with BTE.


can not import this model

Thank you for your contribution. But I can't use it normally, I executed it correctly
pip install --upgrade nsfwdetection
And prompt me to install correctly. But I still can't import this library, I can't figure out where the problem is. I can use other commonly used libraries normally.

Hi, thanks for opening this issue. Try importing the following: from nsfw_detector.model import Model
Let me know if the issue has been solved.


Allowing the new service to see the socket

This is a more general solution to fix issue #1650.
Security features sometimes rely on logging the client's IP address.

This same question is tracked here in tower: https://github.com/tower-rs/tower/issues/108

This was a breaking change, but support has been added in a non-breaking fashion in #1692. Thanks!


health: scrapydweb fails to launch, seems to require newer version

As I first reported at https://github.com/mlcommons/croissant/issues/530#issuecomment-2096806017 I tried to follow the README under /heath but scrapydweb failed to launch. err.txt is the full error but some highlights include:

RuntimeError: Working outside of application context.
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: metadata
(Background on this error at: https://sqlalche.me/e/20/e3q8)

@JR-1991 let me know he's getting the same error, which he believes is related to this issue:

https://github.com/my8100/scrapydweb/issues/205

He said, "Scrapydweb is 1.5.0 on PyPI but coming from the requirements.txt it installs 1.4.0. I guess due to other dependencies using it already."
He suggested installing the dev version like this and it worked for me:
python -m pip install git+https://github.com/my8100/scrapydweb.git

Here's my the output from pip freeze on my machine before I installed the dev version:
absl-py==2.1.0
APScheduler==3.10.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
attrs==23.2.0
Automat==22.10.0
blinker==1.8.2
Brotli==1.1.0
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
constantly==23.10.4
cryptography==42.0.7
cssselect==1.2.0
decorator==5.1.1
duckdb==0.10.2
etils==1.8.0
filelock==3.14.0
Flask==3.0.3
Flask-Compress==1.15
Flask-SQLAlchemy==3.1.1
fsspec==2024.3.1
greenlet==3.0.3
huggingface-hub==0.23.0
hyperlink==21.0.0
idna==3.7
importlib_resources==6.4.0
incremental==22.10.0
isodate==0.6.1
itemadapter==0.8.0
itemloaders==1.2.0
itsdangerous==2.2.0
Jinja2==3.1.4
jmespath==1.0.1
joblib==1.4.2
jsonpath-rw==1.4.0
liac-arff==2.5.0
logparser==0.8.2
lxml==5.2.1
MarkupSafe==2.1.5
minio==7.2.7
mlcroissant==1.0.5
networkx==3.3
numpy==1.26.4
openml==0.14.2
packaging==24.0
pandas==2.2.2
pandas-stubs==<IP_ADDRESS>316
parsel==1.9.1
pexpect==4.9.0
ply==3.11
polars==0.20.23
Protego==0.3.1
ptyprocess==0.7.0
pyarrow==16.0.0
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycparser==2.22
pycryptodome==3.20.0
PyDispatcher==2.0.7
pyOpenSSL==24.1.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
pytz==2024.1
PyYAML==6.0.1
queuelib==1.7.0
rdflib==7.0.0
requests==2.31.0
requests-file==2.0.0
scikit-learn==1.4.2
scipy==1.13.0
Scrapy==2.11.1
scrapyd==1.4.3
scrapyd-client==1.2.3
scrapydweb==1.4.0
service-identity==24.1.0
setuptools==69.5.1
six==1.16.0
SQLAlchemy==2.0.30
threadpoolctl==3.5.0
tldextract==5.1.2
tqdm==4.66.4
Twisted==24.3.0
types-pytz==2<IP_ADDRESS>40417
typing_extensions==4.11.0
tzdata==2024.1
tzlocal==5.2
uberegg==0.1.1
urllib3==2.2.1
w3lib==2.1.2
Werkzeug==3.0.3
xmltodict==0.13.0
zipp==3.18.1
zope.interface==6.3
zstandard==0.22.0

This is the version of scrapydweb I'm using now:
scrapydweb @ git+https://github.com/my8100/scrapydweb.git@8de7ede6fe317e3ef1688572c5a0e8112cc3232f

Hi @pdurbin, just saw this issue.
You said you forced the installation from the source (at 8de7ede6fe317e3ef1688572c5a0e8112cc3232f it seems the version is 1.5.0), yet from your pip freeze the installed version is still scrapydweb==1.4.0. Would fixing scrapydweb>=1.5.0 in the requirements.txt be sufficient? Do you have a PR?
Thanks!

@marcenacp - This will likely fix it. I suspect another package in the list has a scrapydweb==1.4.0 dependency, which means that the scrapydweb from the requirements is skipped since no version is specified. Happy to open a PR 😊

Would fixing scrapydweb>=1.5.0 in the requirements.txt be sufficient?

I tried this but pip install is taking forever and I'm getting messages like this:
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
It seems to be in a loop. 🤔
And sorry for my confusing message above. I was trying to show before and after. The long pip freeze output was from just following the readme. The other line was just showing the "after", the version I got after running python -m pip install git+https://github.com/my8100/scrapydweb.git.


Bundler throwing error

Hi,
I haven't used bundler since october, and I just updated it, and tried to run:
bundler install
However, it threw:
Traceback (most recent call last):
        6: from /workspace/.rvm/bin/ruby_executable_hooks:10:in `<main>'
        5: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:49:in `run'
        4: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:49:in `each'
        3: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:50:in `block in run'
        2: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/rubygems-bundler-1.4.5/lib/rubygems_executable_plugin.rb:4:in `block in <top (required)>'
        1: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- rubygems-bundler/noexec (LoadError)
        10: from /workspace/.rvm/bin/ruby_executable_hooks:10:in `<main>'
         9: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:49:in `run'
         8: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:49:in `each'
         7: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:50:in `block in run'
         6: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/rubygems-bundler-1.4.5/lib/rubygems_executable_plugin.rb:4:in `block in <top (required)>'
         5: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require'
         4: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
         3: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `require'
         2: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/rubygems-bundler-1.4.5/lib/rubygems-bundler/noexec.rb:131:in `<top (required)>'
         1: from /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/rubygems-bundler-1.4.5/lib/rubygems-bundler/noexec.rb:124:in `check'
/home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/rubygems-bundler-1.4.5/lib/rubygems-bundler/noexec.rb:84:in `setup': undefined method `plain_specs' for #<Bundler::RubygemsIntegration:0x00005591d43a8a98> (NoMethodError)

Has something changed I should be aware of?

facing the same issue
bundler (2.1.0)
bundler-unload (1.0.2)
rubygems-bundler (1.4.5)
rubygems-update (3.1.1)
to solve it for now, downgrade rubygems, rubygems-update and bundler to the versions I had previously
gem uninstall bundler -v 2.1.0
gem install bundler 2.0.2
rvm install rubygems 3.0.3 --force
gem uninstall rubygems-update -v 3.1.1
gem install rubygems-update -v 3.0.3
Obviously this does not fix the real problem, but is a solution for now.

The rubygems-bundler gem monkeypatches rubygems and bundler in unexpected ways, and it sounds like the latest releases broke it. A workaround is to remove it, since its own README states that the gem is no longer necessary.
I'll request the RVM team to not install this gem by default.

One thing to note @deivid-rodriguez, everything seems fine with bundle install, but bundler install breaks 😕
its actually really annoying because just bundle looks dull, so I prefer typing bundler

Even after running gem uninstall rubygems-bundler?

Haven't tested it yet, just saying that bundle works, whereas bundler doesn't.

Ok, thanks @RDIL. Please report back, I think gem uninstall rubygems-bundler should work. Regarding bundler not working, I'll have a look.

@deivid-rodriguez
ERROR:  While executing gem ... (Gem::InstallError)
    rubygems-bundler is not installed in GEM_HOME, try:
        gem uninstall -i /home/gitpod/.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0 rubygems-bundler

Oh wait that did work

I'm getting this same error, rubygems-bundler is not installed in my gemset being used, nor is it in my Gemfile. This problem just started for me today, but could have been a problem anytime since Friday since today is the first day since THursday that I ran this project.

Ah hah! I had to do the following:
$ rvm @global
$ gem uninstall rubygems-bundler
$ rvm gemset use MYGEMSET

That seems to have solved the problem.
Now I need to figure out how to apply this fix to my AWS machines that are failing because of this as well.

I hit this with latest bundler also.

Could you try #7498 and see if it fixes things for you?

Any news about this issue? Is a great idea to release a minor version with this bugfix 🤝


fix: make icons display on Safari

Related to https://camunda.slack.com/archives/C0693F1NFK5/p1710137210961009

@barmac I added the fixes you proposed. Can you have a look and see if it works on Safari?

@barmac I added the fixes you proposed. Can you have a look and see if it works on Safari?

YOLO


Activation failure: Cannot find module 'vscode-kubernetes-tools-api'

The vscode-aks-tools extension failed to activate for one of our team members with error:
Activating extension 'ms-kubernetes-tools.vscode-aks-tools' failed: Cannot find module 'vscode-kubernetes-tools-api'

The team member fixed this by uninstalling the extension, deleting the files locally (%UserProfile%\.vscode\extensions\ms-kubernetes-tools.vscode-aks-tools-0.0.4) and then reinstalling the extension.
Just uninstalling and reinstalling wasn't sufficient to fix the issue.
Is this something you've already seen?

Hiya @daniv-msft , I have not seen this and probably this was caused with corrupt or partial extension install could be for various factors. Also, cc: @itowlson for more ideas but seems like this was due to a dependency missing caused by unknown partial extension download reason.
The one way I can replicate this (not exactly) but close is by first npm uninstall vscode-kubernetes-tools-api and then try and build it which will give me the module cannot find module vscode-kubernetes-tools-api.
In case there is more consistent replication, I think we can close this with the premise that it could be caused by partial extension download.

Hi @Tatsinnit,
Thank you for having a look at this. I haven't seen this bug reproduce since this initial issue, so it's fine to close it for now, and reopen it in the future if needed (hopefully with better repro steps).


Add notification to attain online class

Is your feature request related to a problem? Please describe.
Want to add notification in this app...This will be cloud messaging....Before 15 min of starting online class, a notification will send to the user as alert of starting online class soon....
Describe the solution you'd like
User Set a time to attain online class....This app notify user before 15 minute, about the online class....This will be done by cloud messaging
Describe alternatives you've considered
Mentioned above
Additional context
I am also a GSSOC'21 participant...If I can forward with that....please assign me to here @avinashkranjan @HimeshNayak

A very good enhancement @SamarpanCoder2002.

A very good enhancement @SamarpanCoder2002.

Thanks for assign me...I will made a pull request soon

Hello @HimeshNayak @avinashkranjan .... I face a problem working with that issue. Till now there is no option to add class schedules manually by the user..... So, If the user even not set the test manually, then it's not possible to forward with that issue as add notification because, after adding the notification, I can take out the class joining Time and even then can add notification Schedule...Else not.....
So, I am going to raise a new issue, about manually add the class schedule by the user...After Implementing that, I can forward with that issue...
Hope you understand what I say @avinashkranjan @HimeshNayak

Hey @avinashkranjan
I noticed this issue is still open. Can I take it up? If yes, could you please assign it to me? I would love to contribute and help resolve it.
Thank you

Go Ahead @andoriyaprashant , Assigned to you.

Hello @avinashkranjan , I see this issue still open and I can try adding the notification,can you assign this to me under GSSOC'23 ?

Go Ahead @bobcat9857

Thanks for assigning , I will apply this ASAP.

hello @bobcat9857  are u working on this issue?

@Gitesg  yes

By When will this be done @bobcat9857, It's been a month

@avinashkranjan sure I will be adding within 2 days

Ok

Is it still open? can i work on it?

Go Ahead


Bloated Dockerfile-django.prod

Includes redis-server, postgresql-15, and postgis: are they actually used within the web container?

They are now removed.
Postgres was being used only for checking (in entrypoint.sh) the availability of the postgres_beta service on startup. That task is now performed more simply by netcat (nc).


Website unusable

Hello,
The web site https://ok-b.org/ is not working, any search return nothing
Regards

@vince2010091 It works on my end, can you check the javascript consol and see what it prints?

I got a 403 on https://ok-b.org:9993/v1/query?q=list+files&t= too

Are you logged in, or using borg as a non-logged user ?

non logged

I logged out, and I can still hit https://ok-b.org:9993/v1/query?q=list+files&t= fine.
I checked all whitelisted IPs for certain ports, removed mine now and it still works. Not sure what is going on exactly.

it's probably related to corporate firewall, i'll try at home

Or print here the complete output of this curl:

curl -v https://ok-b.org:9993/v1/query?q=list+files&t=

Hostname was NOT found in DNS cache
Trying local-ip
Connected to proxyhost () port xxx (#0)
Establish HTTP proxy tunnel to ok-b.org:9993

CONNECT ok-b.org:9993 HTTP/1.1
Host: ok-b.org:9993
User-Agent: curl/7.35.0
Proxy-Connection: Keep-Alive

< HTTP/1.0 403 Forbidden
< Server: squid
< Date: Wed, 01 Mar 2017 17:10:45 GMT
< Content-Type: text/html
< Content-Length: 1072
< Expires: Wed, 01 Mar 2017 17:10:45 GMT
< X-Squid-Error: ERR_ACCESS_DENIED 0
< X-Cache: MISS from some.company.server
< X-Cache-Lookup: NONE from some.company.server
< Via: 1.0 some.company.server (squid)
< Proxy-Connection: close
<

Received HTTP code 403 from proxy after CONNECT
Connection #0 to host proxyhost left intact
curl: (56) Received HTTP code 403 from proxy after CONNECT

so yeah it looks like it's from the company proxy

Ok we are going to create a subdomain instead of using a port, I think that's the problem here.


Issue in sharing video on Instagram as post using share sheet in ionic

I am using social sharing plugin of ionic to share my video on Instagram.Whenever I upload my video with duration less than a minute then video sharing is successful and it is uploaded as Instagram reel.But whenever I upload any video whose duration is 2 minutes or more than a minute than video never uploads and app crashes after some time.
Please suggest me what I can do to upload video with duration more than a minute through share sheet on Instagram.
I have used following code:
this.socialSharing.share(null, null, "video link", null).then(() => {
         alert("In then")
       }).catch(() => {
         alert("In Catch")
       });

From what I've seen in our work using this plugin this is a problem on Facebook/Instagram's side.
In november they added the ability to upload videos over 60s to the feed, which works fine from within Instagram itself, but sharing to Instagram via the native share menu will crash if the video is over 60s because they haven't properly updated that part of their app's code.
You can recreate the issue using the standard iOS gallery and attempting to share a >60s video to Instagram. I saw a few apps that use a custom share menu that opens the Instagram app to the create post page and auto-selects the most recent video (which they presumably just downloaded) but beyond that I think this is out of this plugin dev's control.


Can't authenticate with old electron version

Hi, I can't authenticate with electron 2.0.4. I tried to delete tocken.js and didn't solve the issue. I saw in other closed issues that electron should be updated in order to solve similar problems, but I have a Raspberry 1 and newer electron versions are not available for arm6 architecture. should I give up? Here's the log:
0|mm       |     at Trakt._call (/home/pi/MagicMirror/modules/MMM-trakt/node_modules/trakt.tv/trakt.js:195:122)
0|mm       |     at Object.tmp.(anonymous function) [as shows] (/home/pi/MagicMirror/modules/MMM-trakt/node_modules/trakt.tv/trakt.js:49:33)
0|mm       |     at trakt.import_token.then.newTokens (/home/pi/MagicMirror/modules/MMM-trakt/node_helper.js:55:32)
0|mm       |     at process._tickCallback (internal/process/next_tick.js:68:7)
0|mm       | (node:678) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch() (rejection id: 1)
0|mm       | (node:678) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Electron 2 should work, the other issue only affected electron 1.x versions iirc. Which version of MagicMirror are you currently using?

Should be MM 2.7.1. Installed yesterday for the first time

Is it the full log? Seems like it's missing a line on top? Just tried latest MM with electron downgraded to 2.0.4 and couldn't reproduce. Maybe if there is more to the log I can try to resolve it

The first line is (node:678)UnhandledPromiseRejectionWarning: Error: OAuth required.
I have other errors that i suppose are unrelated since they are flagged as different nodes (font missing, unable to create cache).
Magic Mirror is working as is supposed to do but MMM-trakt just types "Error loading module. Please check the logs".

I have the same error message with v3.0.13 of Electron


Release 3.0.0 broken

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 7.29.1-1bullseye
Ruby: 2.7.8p225
Distribution: Debian GNU/Linux 11 (bullseye)
Module version: 3.0.0

How to reproduce (e.g Puppet code you use)
Using the following snippet:
openssl::certificate::x509 { 'testcert':
  ensure => present,
  country => 'DE',
  organization => 'TEST',
  commonname => 'test.example.org',
}

What are you seeing
Puppet agent is failing with:
Info: Openssl::Config[/etc/ssl/certs/testcert.cnf]: Scheduling refresh of X509_request[/etc/ssl/certs/testcert.csr]
Error: Execution of '/usr/bin/openssl req -new -key /etc/ssl/certs/testcert.key -config /etc/ssl/certs/testcert.cnf -out /etc/ssl/certs/testcert.csr' returned 1: Error Loading request extension section v3_req
140719119750464:error:2206D06C:X509 V3 routines:X509V3_parse_list:invalid null name:../crypto/x509v3/v3_utl.c:386:
140719119750464:error:22097069:X509 V3 routines:do_ext_nconf:invalid extension string:../crypto/x509v3/v3_conf.c:92:name=extendedKeyUsage,section=
140719119750464:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extension:../crypto/x509v3/v3_conf.c:47:name=extendedKeyUsage, value=
Error: /Stage[main]/Roles_test::Cert/Openssl::Certificate::X509[testcert]/X509_request[/etc/ssl/certs/testcert.csr]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/openssl req -new -key /etc/ssl/certs/testcert.key -config /etc/ssl/certs/testcert.cnf -out /etc/ssl/certs/testcert.csr' returned 1: Error Loading request extension section v3_req
140719119750464:error:2206D06C:X509 V3 routines:X509V3_parse_list:invalid null name:../crypto/x509v3/v3_utl.c:386:
140719119750464:error:22097069:X509 V3 routines:do_ext_nconf:invalid extension string:../crypto/x509v3/v3_conf.c:92:name=extendedKeyUsage,section=
140719119750464:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extension:../crypto/x509v3/v3_conf.c:47:name=extendedKeyUsage, value= (corrective)
Error: /Stage[main]/Roles_test::Cert/Openssl::Certificate::X509[testcert]/X509_request[/etc/ssl/certs/testcert.csr]: Failed to call refresh: Execution of '/usr/bin/openssl req -new -key /etc/ssl/certs/testcert.key -config /etc/ssl/certs/testcert.cnf -out /etc/ssl/certs/testcert.csr' returned 1: Error Loading request extension section v3_req
140483347924288:error:2206D06C:X509 V3 routines:X509V3_parse_list:invalid null name:../crypto/x509v3/v3_utl.c:386:
140483347924288:error:22097069:X509 V3 routines:do_ext_nconf:invalid extension string:../crypto/x509v3/v3_conf.c:92:name=extendedKeyUsage,section=
140483347924288:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extension:../crypto/x509v3/v3_conf.c:47:name=extendedKeyUsage, value=
Error: /Stage[main]/Roles_test::Cert/Openssl::Certificate::X509[testcert]/X509_request[/etc/ssl/certs/testcert.csr]: Execution of '/usr/bin/openssl req -new -key /etc/ssl/certs/testcert.key -config /etc/ssl/certs/testcert.cnf -out /etc/ssl/certs/testcert.csr' returned 1: Error Loading request extension section v3_req
140483347924288:error:2206D06C:X509 V3 routines:X509V3_parse_list:invalid null name:../crypto/x509v3/v3_utl.c:386:
140483347924288:error:22097069:X509 V3 routines:do_ext_nconf:invalid extension string:../crypto/x509v3/v3_conf.c:92:name=extendedKeyUsage,section=
140483347924288:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extension:../crypto/x509v3/v3_conf.c:47:name=extendedKeyUsage, value=

Which is caused by a faulty config file:
$ sudo cat /etc/ssl/certs/testcert.cnf

# file managed by puppet
#

# This definition stops the following lines choking if HOME isn't
# defined.
HOME                    = .
RANDFILE                = $ENV::HOME/.rnd

[ req ]
default_bits            = 4096
default_md              = sha512
default_keyfile         = privkey.pem
distinguished_name      = req_distinguished_name
prompt                  = no

# extensions
req_extensions     = v3_req

[ req_distinguished_name ]
countryName                     = DE
organizationName                = TEST
commonName                      = test.example.org

[ v3_req ]
extendedKeyUsage  =
subjectAltName    = @alt_names
[ alt_names ]

The config template obviously failed to detect extkeyusage and altnames being empty.
What behaviour did you expect instead
With 2.0.1 this was running flawless, creating the CSR and self-signed CRT.
Any additional information you'd like to impart
Adding values to the failed parameters:
openssl::certificate::x509 { 'testcert':
  ensure => present,
  country => 'DE',
  organization => 'TEST',
  commonname => 'test.example.org',
  altnames => ['test.example.org'],
  extkeyusage => ['clientAuth'],
}

is creating a correct config able to generate the CSR, but end up with
Info: /Stage[main]/Roles_test::Cert/Openssl::Certificate::X509[testcert]/X509_request[/etc/ssl/certs/testcert.csr]: Scheduling refresh of X509_cert[/etc/ssl/certs/testcert.crt]
Error: Execution of '/usr/bin/openssl x509 -req -days 365 -in /etc/ssl/certs/testcert.csr -out /etc/ssl/certs/testcert.crt -extfile /etc/ssl/certs/testcert.cnf -extensions v3_req' returned 1: We need a private key to sign with
Error: /Stage[main]/Roles_test::Cert/Openssl::Certificate::X509[testcert]/X509_cert[/etc/ssl/certs/testcert.crt]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/openssl x509 -req -days 365 -in /etc/ssl/certs/testcert.csr -out /etc/ssl/certs/testcert.crt -extfile /etc/ssl/certs/testcert.cnf -extensions v3_req' returned 1: We need a private key to sign with
Error: /Stage[main]/Roles_test::Cert/Openssl::Certificate::X509[testcert]/X509_cert[/etc/ssl/certs/testcert.crt]: Failed to call refresh: Execution of '/usr/bin/openssl x509 -req -days 365 -in /etc/ssl/certs/testcert.csr -out /etc/ssl/certs/testcert.crt -extfile /etc/ssl/certs/testcert.cnf -extensions v3_req' returned 1: We need a private key to sign with
Error: /Stage[main]/Roles_test::Cert/Openssl::Certificate::X509[testcert]/X509_cert[/etc/ssl/certs/testcert.crt]: Execution of '/usr/bin/openssl x509 -req -days 365 -in /etc/ssl/certs/testcert.csr -out /etc/ssl/certs/testcert.crt -extfile /etc/ssl/certs/testcert.cnf -extensions v3_req' returned 1: We need a private key to sign with

Which is failing due to missing reference to the keyfile in the command line.

Is there a timeline known when this could get fixed and released?

I can try to take a look later this week