text:
No suitable image found - mach-o, but wrong architecture

Hi, thanks for your library, it does help a lot.
When I try to start your node-usb-example-electron on a Mac M1 I have the following error :
App threw an error during load
Error: dlopen(/Users/mysessions/Projects/node-usb-example-electron/node_modules/usb/prebuilds/darwin-x64+arm64/node.napi.node, 1): no suitable image found.  Did find:
	/Users/mysessions/Projects/node-usb-example-electron/node_modules/usb/prebuilds/darwin-x64+arm64/node.napi.node: mach-o, but wrong architecture
	/Users/mysessions/Projects/node-usb-example-electron/node_modules/usb/prebuilds/darwin-x64+arm64/node.napi.node: mach-o, but wrong architecture
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1800)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at load (/Users/mysessions/Projects/node-usb-example-electron/node_modules/node-gyp-build/index.js:21:10)
    at Object.<anonymous> (/Users/mysessions/Projects/node-usb-example-electron/node_modules/usb/dist/usb/bindings.js:8:36)

All what I did was simply cloning, installing the repo and starting it.
Node: 14.18.2
Electron : 16.0.4
usb: 2.0.3
Mac M1 on terminal used with Rosetta
I recently updated Electron from 11 to 16 and did not encounter this error previously (still on Mac M1 with Rosetta and same Node version). Did you have any idea ?

it does run with :

electron 11.0.0 and usb 1.6.3
electron 12.2.3 and usb 2.0.3
electron 13.6.6 and usb 2.0.3
electron 14.2.3 and usb 2.0.3

Does not work starting Electron 15.0.0

Node: 16.13.1
Electron : 16.0.5
usb: 2.0.3
Mac M1 on terminal used with Rosetta
I've made the same mistake as you. Is there any good way？ @Calderis

@thegecko help...

Is this an M1 specific problem？

This was caused by the node-usb library not having a universal binary set up properly.
Fixed in https://github.com/node-usb/node-usb/pull/473 and usb@2.1.0
This example repo now works as expected on M1

authors: Calderis dohooo thegecko

repo: node-usb/node-usb-example-electron


text:
Inconsistent Connection options handling

packages/connection/index.js
  constructor(options) {
    super()
    this.domain = null

yet
    listeners.close = () => {
      this.domain = ''

https://github.com/node-xmpp/node-xmpp/pull/427

source: gharchive/issue

authors: smokku sonnyp

repo: node-xmpp/node-xmpp

license: isc

license_type: permissive

license_source: bigquery


text:
Beta EQMac Won't open

The new EQMac Beta won't open on Catalina, I've tried reinstalling and restarting my computer

Still won't open, I've tried everything

Just spammed it open a bunch of times, it showed in Activity monitor but that was all, not working

I've had the same problem too. Mine's not even showing on Activity monitor.

Same, mine doesn't show on Activity Monitor too.

All of a sudden stopped working for me too. Catalina

After the last 2 Beta updates on Catalina it has started working more

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.

Please reference issue #223 from now on.

authors: Ashteroide luccasclezar nodeful samelie victoria-viola

license_source: github-api


text:
Update style.css

Fixing some spacings.

Thank you very much!

source: gharchive/pull-request

authors: nodejh thornycrackers

repo: nodejh/hugo-theme-cactus-plus

license: mit


text:
Add a Gitter chat badge to README.md

nodejs/docs now has a Chat Room on Gitter
@bengl has just created a chat room. You can visit it here: https://gitter.im/nodejs/docs.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Dupe of #35

authors: bengl gitter-badger

repo: nodejs/docs


text:
Add CONTRIBUTING.md

Should outline that patches to GYP should go upstream first.

Closing in favor of #881 (which is a duplicate but received comments whereas this issue didn't.)

repo: nodejs/node-gyp


text:
App crash when another invoke event is caught.

I encountered a serious problem, when I try to open my app from a push notification when the app is at closed state causes it to crash as soon as facebook init is called on ios.
The crash happens right after I call Facebook.getInstance().init("123456789"); and only if I open the app from a push notification.
I use a INVOKE event listener to get the push data, which is also used in AS3 part of the Facebook ANE.
Adobe states that whenever you add a listener for invoke events, you'll get the previous invoke events, therefore a delayed call to the facebook init doesn't solve the issue.
I tried fixing the problem from as3 side by checking if the invoke event is for facebook by editing the Facebook.as class  by adding the code below, but it didn't fix it.
	if (event.reason == InvokeEventReason.NOTIFICATION)
	{
		Logger.log("Wrong Invoke Event was caught. Ignoring.");
		return;
	}

And flash console doesn't log anything prior to crash which got me into thinking it's a native code related issue.
I'm not using a native extension for push notifications, just as3. I haven't got any time to test it with the freshplanet push notification extension but if anyone tried using both extensions can you please test the issue there? If the app doesn't crash with the push notification extension I can switch to it.
I'm testing on AIR 17, iPhone 5s
Thanks.

Okay it seems my project was using the Facebook class from the ane. I had to change the package path in order to make my method work. I can use it without any problems right now.

Okay I will close this issue then. If you had any problem let me know. Thank you

It the same issue as #12 .

authors: OzanBarsal nodrock

repo: nodrock/ANE-Facebook


text:
Keep aspect ratio of iframe

I'm sure most of the users want to get a large view to vimeo/youtube content.
So it should be possible to scale the height/weight based on the aspect ratio of the iframe.
Something like this:
onResize: function(_super, event){
	if (this.$content.naturalWidth) {
...
	} else {
		// get aspect ratio for iframes
		var w = this.$content.find('iframe').width(); var h = this.$content.find('iframe').height();
		/* Calculate the worst ratio so that dimensions fit */
		var ratio = Math.max(
			w  / parseInt(this.$content.parent().css('width'),10),
			h / parseInt(this.$content.parent().css('height'),10));
		if (ratio > 1) {
			this.$content.css('width', '' + w / ratio + 'px').css('height', '' + h / ratio + 'px');
		}
	}
	return _super(event);
},

.featherlight-iframe .featherlight-content {
	/* removed the border for image croping since iframe is edge to edge */
	border-bottom: 0;
	padding: 0;
	width: 100%;
	margin: 0;
	background: none;
}
.featherlight-iframe .featherlight-inner {
	margin: 0 auto;
}

+1 I do think this is a bit of an issue. Aside from using another library such as fluidvids, I can't seem to find a way to display videos correctly without some kind of a workaround like this.
I don't think anyone expects a video or an iframe to load as such a tiny thumbnail when it's been lightboxed, so this could probably be considered a bug?

+1

Looks like a nice feature to have. Can anyone come up with a good proposal, or even a PR for this?

"I don't think anyone expects a video or an iframe to load as such a tiny thumbnail when it's been lightboxed, so this could probably be considered a bug?"
+1 I consider this a bug as well. Any update from the author on this?

@flywebguy The original author isn't around much, I do most of the maintenance...

@marcandre thanks for keeping this alive... it's by far the best lightbox out there.
I really wish I could help on this but jQuery is not my strong suit, but any ideas on fixing the iframe lightbox?

You should be able to get the iframe responsive by applying a bit of CSS. Ben Marshall has a nice write-up here: https://benmarshall.me/responsive-iframes/

authors: Xairoo dejardine flywebguy marcandre polarbirke robneu

repo: noelboss/featherlight


text:
Use Redis as cache instead of cookie

Hello,
I would use this plugin with Redis storage cache for session instead of cookie (because we want to keep this information in server side).
I'm not sure what are the steps to do this?
I have not big development skills. Is it just matter of set some vars to modify the plugin behavior to use redis, or does it require lua modifications at the level of the lua-resty-session?
If someone have an idea on how to do this.
Thank you for reading!
Apogh

The lua-resty-session library, which is used here supports such things, although the configuration options are not possible through Kong API and you would need to configure this in the nginx config file.
I've never tried to configure this, but according to the lua-resty-session docs you have those parameters available to configure it:
set $session_storage redis;
set $session_redis_prefix        sessions;
set $session_redis_socket        unix:///var/run/redis/redis.sock;
set $session_redis_host          127.0.0.1;
set $session_redis_port          6379;
set $session_redis_auth          password;
set $session_redis_uselocking    on;
set $session_redis_spinlockwait  10000;
set $session_redis_maxlockwait   30;
set $session_redis_pool_timeout  45;
set $session_redis_pool_size     10;

I would try to set the session_storage, session_redis_host, session_redis_port (and session_redis_auth, if you have Redis authenticated).

Thank you for your answer.
Following the documentation (https://docs.konghq.com/0.14.x/configuration/#injecting-individual-nginx-directives), I'm trying to add these following vars in my kong.conf and then use kong reload but it seems it's not working
nginx_admin_session_storage=redis
nginx_admin_session_redis_prefix=sessions
nginx_admin_session_redis_host=redis
nginx_admin_session_redis_port=6379

I tried with nginx_proxy_ and nginx_http_ (instead of nginx_admin_) but it's the same.
Not sure if 'im just using it bad. I have no information in the logs. Maybe I should ask on lua-resty-session github if you have no idea too.

I finally succeeded to register in Redis!
If that can be useful for someone :
I created a file with these informations :
set $session_storage             redis;
set $session_redis_prefix        sessions;
set $session_redis_host          redis;
set $session_redis_port          6379;

And then used it with the proxy include var:
export KONG_NGINX_PROXY_INCLUDE="/etc/kong/nginx-redis.kong.conf"

finaly I have some informations in Redis :
127.0.0.1:6379> keys *
1) "sessions:F9vsdcur1d5riePQlGRRoA.."
2) "sessions:r7X3e_uGxCXxQ8hD7nsoGA.."

So I guess what I can find here correspond to the step "Store AT, ID token and refresh token" on the diagram? I'm not sure what we can find exactly in that sessions key. Are these informations encrypted?
Thank you
Case can be closed after your next answer :)

Yes, they are encrypted using a symmetric cipher. As far as I remember the key is created from information like the user-agent, client IP and the sessions secret. So every user session has a different encryption key.

Just FYI for other people that reads this issue later: https://github.com/Revomatico/docker-kong-oidc/blob/master/Dockerfile shows how to wire up memcache for session management, this can probably be tuned for redis as well.

@larsw
Hi,
I was getting error like no session state found. Hence I tried your above docker with session state in memcache. Now I get error as below
Kong Error
Request Header Or Cookie Too Large.
I tried clearing browser cache etc., but no luck.
Can you please help
thanks

@satishmane sorry, I have no experience with it, apart from finding the referenced Dockerfile. I've successfully wired up the redis session store, based on the structure though.

@satishmane, this could be related to your HTTP server configuration. There is a limit of the maximum header size. For ex. in nginx:
https://nginx.org/en/docs/http/ngx_http_core_module.html#large_client_header_buffers
For nginx (which Kong is based on) it's 4 KB by default. If you have many applications on one domain and each is adding some data to the cookie header, then it can become quite large. Try to reduce it's size or change this config in your HTTP server.

@Trojan295
thanks. I supplied below params to my docker and it did resolve too large header issue.
--env KONG_NGINX_PROXY_LARGE_CLIENT_HEADER_BUFFERS="16 128k"
But it started at next stage with error as "bad gateway". Kong error log shows below error
2019/02/24 07:54:08 [error] 35#0: *1225 upstream prematurely closed connection while reading response header from upstream, client:
I supplied below params as proposed on this link (https://andrewlock.net/fixing-nginx-upstream-sent-too-big-header-error-when-running-an-ingress-controller-in-kubernetes/ and https://github.com/ncarlier/kong-integration-samples/issues/4), but did not help to solve above error
--env KONG_NGINX_PROXY_PROXY_BUFFER_SIZE=16k --env KONG_NGINX_PROXY_PROXY_BUFFERS="8 16k"

authors: Apohg Trojan295 larsw satishmane

repo: nokia/kong-oidc


text:
Looking for x-editable in F7 forms.

https://github.com/vitalets/x-editable

adding as 'a'  for elements - doesn't respond
adding as controls (text/textarea), the editable works but the updated values are not reflecting.

Can you please assist me for the same.
Thanks,

Don't know what happens. Probably conflict with FastClick lib, you can try to add "no-fastclick" class to such elements

license: MIT


text:
scroll dose not  work when inited swiper but work later

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version:  4.2.6

Platform/Target and Browser Versions: PLATFORM CLIENT YOU ARE TARGETING SUCH AS macOS, Windows, CORDOVA, IOS, ANDROID, CHROME, ETC.

Live Link or JSFiddle/Codepen or website with isssue: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP).

What you did
EXPLAIN WHAT YOU DID, PREFERABLY WITH CODE EXAMPLES, HERE.
here is my code
new Swiper('.home-content', {
            direction: 'vertical',
            // height: window.innerHeight,
            autoHeight: true,
            speed: 800,
            observeParents: true,
            noSwiping: true,
            mousewheel: true,
            simulateTouch: false,
            // parallax: true,
            forceToAxis: true,
            preloadImages: false,
            preventIntercationOnTransition: true
})

And my html is like that

        <CustmoerComp1 />

        <CustmoerComp2 />

        <CustmoerComp3 />

        <CustmoerComp4 />

Expected Behavior
EXPLAIN WHAT IS TO BE EXPECTED, HERE.
i expect it should be work immediately when swiper init is over but is not.
And i have to wait maybe 2 or 3 second  so i can scroll it
Actual Behavior
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
it is not working on PC , mobile is ok
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that.
Before you open an issue, please check if a similar issue already exists or has been closed before.

I debug swiper's code and find out  when I hover, mouseenter and mouseleave is emit in the same time . scroll event requires mouseenter status to be  true ,  so that why my bug happened.
to solve this problem , I can set mousewheel param  'releaseOnEdges' true.


text:
A error occurred when using controller in swiper in React 18

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/hungry-margulis-7lpem8
Bug description
following the doc here to setup controller but got an Cannot read properties of undefined (reading '2') error
the error is from here, parameter c is undefined
It's working with React 17
Expected Behavior
No response
Actual Behavior
No response
Swiper version
8.4.4
Platform/Target and Browser Versions
OSX 12.5, Chrome 107
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

<Swiper> would mount twice(unmount and mount again), and maybe there is a race condition that the first unmount makes second mount destroyed?

managed to get it work and here is the reference
https://codesandbox.io/s/modern-hill-ec9pcu
need to make sure swiperInstance exists and it's not destroyed

I'm unsure if this should be closed, while you have found a workaround, this is definitely an issue.

authors: TomSmedley ddhp


text:
loogle easily confused by keywords like repeat

I was looking for something like repeat on hoogle. The search for repeat on loogle comes back with;
<input>:1:0: expected end of input

Other searches come back fine, like the search for sin that comes back with unknown identifier 'sin' and then a list of possibilities.

That’s because repeat is a keyword in Lean. If you want to search for definitions lemmas having repeat in the name, use "repeat".
Possibly loogle could, if there is a parse error, check if the input was just a single word and be more helpful then.

I was wondering about keywords because I got the same error when I searched for def on loogle.

authors: nomeata philderbeast

repo: nomeata/loogle


text:
Avoid calculating gcd twice in Rational multiplication and division

In Rational multiplication and division, common factors of the result are explicitly eliminated. Nevertheless, because the result is being created using Rational.apply(SafeLong, SafeLong), the gcd of numerator and denominator is calculated again.
An unsafeBuild(n: SafeLong, d: SafeLong) method should be introduced and called from / and * to avoid calling gcd again.

Closed by #378

repo: non/spire


text:
切换歌曲有问题

有的时候切换歌曲无反应，会继续播放当前歌曲（但上面列表确实显示切换了）
在下方切歌个时候有时候也会出现显示切歌了但实际并没有
甚至会出现下方显示的歌名和上方列表里的不一样

显示在播放，但实际没有声音，歌词也不动

repo: nondanee/vsc-netease-music


text:
MyLootr -> Lootr Conversion

Hello.
I am writing out in relation to MyLootr and Lootr. I'd like to start using Lootr in my modpack, Another Quality Modpack 2.
Reason I am opening this because I was hoping you could create something that would allow me, and other modpack devs, if they wanted to replace MyLoot with Lootr. Can you create something that would basically convert any MyLoot chests into Lootr + the current loot table MyLoot had for that chest?
I tried using a mod that fixes the data registry and basically replaces blocks (I replaced myloot check with lootr chest) which worked, however, the lootr chests had no loot table.

maybe a "refresh once" option?

So it looks like the MyLoot chests store their original Loot Table as "origLootTableId". You'd most likely have to translate this into "LootTable" in order to convert properly; if that's possible with your data registry/block replacement mod, that should do it for you.
Otherwise, this type of cross-mod interaction, especially with Fabric, is beyond me.

authors: itsdinkd noobanidus

repo: noobanidus/Lootr


text:
Entitlement file missing aps-environment

I've installed this plugin, after install phonegap-plugin push and I noticed that the 'aps-environment' where not copied over the new Resources/.entitlements file. This causes a built error to happen in Xcode because thats the file used when building the package. Shouldn't this plugin copy existing keys of the original entitlements file over to the new ones since its setting the the project to use it??

Probably it relates to this issue: https://github.com/nordnet/cordova-universal-links-plugin/issues/89. But overall - this is a bug: it should work fine with push plugin.

I can see many issues about that (like #8, #89 and #115), even a PR #151. Is there any chance to see this bug fixed soon ? 🤔

authors: nikDemyankov pitAlex xavier-villelegier

repo: nordnet/cordova-universal-links-plugin


text:
CanaTree100 the link has expired

Do you mind share again the dataset please?
Thanks for sharing

I'd also love to have a look at the dataset! Please upload again.
Great work!

Hi guys, updated the link. Will upload it to another platform in the future that has no expiring link.

Perfect, thanks a lot!

authors: Peter0000001 VGrondin hoeoek


text:
No option for adding trailing zeroes with numeralDecimalScale?

Great plugin! But I have some inputs that are used for entering currency values and I would like the numbers to be always formatted with 2 decimals (e.g. € 15,50).
So, in this example (https://jsfiddle.net/h7d9gn03/) I would like the input to show 12.50 instead of 12.5. There is no option for that, is there? Any plans to add this feature?

Sorry, I think this was up in a previous release 😃, but you will need to pass a string as raw value, in your case '12.50':
https://jsfiddle.net/sxeubwq1/

Close this, let me know if you still have problem.

Hi,
Same issue for me, I didn't understand how to fix this.
Desired behavior: the user types in 1234 -- as soon as "1" is keyed in ".00" is appended, as soon as "4" is typed in the comma is appended (the comma works well), end result is 1,234.00.
I don't know if the user experience will be good with the above behavior so maybe a better version would be that once they tab away from the input field (i.e., onblur() is called) either .00 is appended if the input is an integer, or "0" is appended if the input has a tenth part and not a hundredth part (e.g., 12.5)
Please let me know if cleave can achieve something like what I described above, I need this in real time or onblur. It sounded like the proposed solution mentioned above was static and didn't apply to my case.
I will probably write my own extension to conditionally add the .00 or 0 onblur(), just wanted to see if there was a built in option for this, I didn't see it in the documentation.
Thank you!
Sasha

@Shurasik Unfortunately, no built-in option is like that, the lib only handles the formatting.
Cheers.

authors: Shurasik nosir rseyferth


text:
Perform X509 revocation check in signature verification

Signature verification needs to perform x509 revocation check (CRL/OCSP) and fail if a certificate in the chain is revoked.
See https://github.com/notaryproject/notaryproject/blob/main/trust-store-trust-policy-specification.md#certificate-revocation-evaluation

Update the milestone to rc-3 based on the discussion.

We both OCSP and CRL for revocation check, Aligned in the community meeting on 11/11 and can be closed.

repo: notaryproject/notation-go


text:
"Upload your notebook" button doesn't seem to work for me?

I've tried on both chrome and firefox, clicking the "Upload your notebook" button results in a greyed-out screen but no visible UI element for selecting a notebook. Apologies if this is user error.

Fixed by https://github.com/notebook-sharing-space/ipynb.pub/commit/33961605a93856c4e6e91b0182eecff81f3c69be (thanks!).


text:
laravel 8 not working

Your requirements could not be resolved to an installable set of packages.
Problem 1
- codedredd/laravel-soap[v1.5.0, ..., v1.5.1] require illuminate/support ^5.6 || ^6.0 || ^7.0 -> found illuminate/support[v5.6.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^8.56).
- Root composer.json requires codedredd/laravel-soap ^1.5 -> satisfiable by codedredd/laravel-soap[v1.5.0, v1.5.1].

@vinchamp isn't that for a different package?

authors: auralon vinchamp

repo: notfalsedev/laravel-soap


text:
Money printer / blood pact crashes the game

Playing the following hand with money printer crashes the game. I have a lot of mods installed, it might be a conflict with another mod, I did not test it with this mod alone:

Installed mods:

Trying to buy blood pact also crashes the game:

For blood pact, adding a null check at the beginning of the calculate function seems to fix it
    SMODS.Jokers.j_mf_bloodpact.calculate = function(self, context)
        if SMODS.end_calculate_context(context) and context.full_hand ~= nil then
           ...

Playing the following hand with money printer crashes the game. I have a lot of mods installed, it might be a conflict with another mod, I did not test it with this mod alone:

Installed mods:

Fixed in PR
https://github.com/notmario/MoreFluff/pull/2

fixed for 1.2

repo: notmario/MoreFluff


text:
Implemented import wallet options screen

#86944g1a9

Task linked: CU-86944g1a9 Android. Implement Import Start screen. On cloud backup: Connect to cloud and detect that wallet exists

authors: antonijzelinskij stepanLav

repo: novasamatech/nova-wallet-android


text:
Add support of unlocking vested balance

It would be great if Nova Wallet supports this exclusive feature, which is available only on Polkadot JS UI.
Just the unlock of the vested balance should do. Need not implement the whole vested transfer pallet features.
https://wiki.polkadot.network/docs/learn-guides-transfers#vested-transfers-with-the-polkadot-js-ui

Hey hey! Thank you for the request. That is not something in our priority list but we will consider a feature.

Thank you!
Just the ability for an account to send vesting.vest() call should do. Thanks for considering the request!

You already show the vesting balance. You just have to enable the vest call there to unlock it.

repo: novasamatech/nova-wallet-ios


text:
Issue_83

Add version tag
fix broken link to API reference
fixes: #83

@mayorJAY, I believe the maven and gradle installation snippets on the staging branch are yet to be updated. do I change them as part of this PR?

repo: novuhq/novu-java


text:
LinkedIn successful sign in redirect bug.

Greetings!
I am having an issue with the LinkedIn function. After a successful login the Innappbrowser tries to redirect to the callback url, I am met with an error page for about 2/3rds of a second, saying page not found. After the 2/3rds of second I return back to the app and successfully complete my login flow. I have tried modifying the plugin so the browser closes immediately after a successful login however I am having no success.
Any tips or suggestions would greatly appreciated,
Cheers, Rylan.

This is due to a race condition with providers that don't use implicit grants like LinkedIn.  The InAppBrowser processes requests faster than the API can produce and since technically Apache Cordova applications don't serve on localhost, it gets an error.
The only solution to fix this is to override the redirect_uri to a website that exists, not being served on localhost.  Use that same redirect_uri in the LinkedIn dashboard.
Best,

Hey thanks for you reply, I have switched up the redirect_url. However, I am a little confused as to how I would give control back to ionic after the innappbrowser redirects to a URL which exists? Currently, after a successful sign in I am redirected to the URL but then it just stalls. I am not sure if it matters but I recently installed crosswalk

Hi, can you lease show me an example of how to code the redirect URI. I tried this but it didn't work:
$cordovaOauth.linkedin(LINKEDIN_OAUTH_ID, LINKEDIN_OAUTH_SECRET,redirectUri,["r_basicprofile", "r_emailaddress"],randomString()).then(function(result)
	    {
	    	$scope.$storage.linkedInUser  = result.access_token
	    	console.log ($scope.$storage.linkedInUser )....

authors: RylanGotto noor92 nraboy

repo: nraboy/ng-cordova-oauth


text:
[nrf temphack] bootutil: loader: Fix multi-image variant builds

Seems multi-image dependencies are not supported for multi-image in NCS
yet. This is a hack which reverts it to how it worked previously in
MCUboot. So that Immutable bootloader + MCUBoot type of builds will work
again.
Ref. NCSDK-8681
Signed-off-by: Sigvart Hovland sigvart.hovland@nordicsemi.no

Any updates on this?
This bug is preventing us from adding upgradeable bootloader to a product (https://devzone.nordicsemi.com/f/nordic-q-a/74145/nrf91-b0-mcuboot-app---mcuboot-not-actually-updating-app-after-fota)

Yeah, I'll just see if I can get a successful CI run and it'll probably be merged

Manifest is green please merge @nvlsianpu or @hakonfam

authors: JelmerT sigvartmh

repo: nrfconnect/sdk-mcuboot


text:
[nrf noup] dfu/boot/mcuboot fix img. confirmation in case of PARTITION_MANAGER

Active partition ID need to be extracted basing on PARTITION_MANAGER products.
ref.:NCSDK-26693
This is alternative patch to https://github.com/nrfconnect/sdk-nrf/pull/14633
similar solution spotted there: https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf_desktop/src/modules/dfu.c#L81

I think this is probably the better way going about it. I'm just a bit uncertain how we reach for the active slot but I'll investigate

authors: nvlsianpu sigvartmh

repo: nrfconnect/sdk-zephyr


text:
Feature Request: Add Counter Command

Is it possible, to add a command to set the counter time, reset, start abd stop it?

Hi,
Could you clarify what you mean by Counter Time, and add a screen grab of the ATEM control app highlighting which time on that display you'd like to adjust please?

I mean the counter overlay for the new ATEM Constellation HD models.

Counter also described at https://heretorecord.com/blog/counter-overlay-on-the-atem-constellation-hd

This looks like a relatively simple feature to support, but will most likely require someone to reverse engineer it. I don't expect any prior work on reverse engineering this

And that reverse engineering person having hands-on access to that hardware device.

This is supported in v3.2.0
It was nice to sit down and reverse engineer more of the api. Its been almost a year since I've had the chance to do that

And that reverse engineering person having hands-on access to that hardware device.

With the right tooling, you don't always need access to the device to reverse engineer anything. I almost managed to do it all, but did use the real thing for figuring out the correct current time message as it would have been too much guesswork to figure out the command name otherwise.

authors: Julusian bevand10 joelkohler

repo: nrkno/sofie-atem-connection


text:
fix: pieces leaking into Timeline

This PR fixes an issue where Pieces that was defenitelyEnded() still added piece_group object into Timeline.
Status

[ ] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

invalid (a discussion is needed before determining going this path).

repo: nrkno/tv-automation-server-core


text:
fix: sort Adlibs on part._rank, then on piece._rank

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)
The Adlibs appear in the wrong order in the Shelf & Dashboard

What is the new behavior (if this is a feature change)?
Sorting of adlibs take into account the _rank of their parts.

Other information:

Status

[ ] Code documentation for the relevant parts in the code have been added/updated by the PR author
[ ] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report

Merging #623 (22eb916) into release37 (17fb6e9) will increase coverage by 15.32%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           release37     #623       +/-   ##
==============================================
+ Coverage      67.06%   82.39%   +15.32%
==============================================
  Files            262       12      -250
  Lines          18046     1011    -17035
  Branches        3863      196     -3667
==============================================
- Hits           12103      833    -11270
+ Misses          5901      177     -5724
+ Partials          42        1       -41

Impacted Files
Coverage Δ

meteor/lib/collections/ShowStyleBases.ts

meteor/lib/api/rundownLayouts.ts

meteor/server/cache/ActivationCache.ts

meteor/server/api/ingest/debug.ts

meteor/lib/collections/PartInstances.ts

meteor/server/api/lib.ts

meteor/server/migration/1_15_0.ts

meteor/server/api/ingest/expectedMediaItems.ts

...eor/server/migration/deprecatedDatabases/1_32_0.ts

meteor/server/api/client.ts

... and 240 more

Continue to review full report at Codecov.

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

Good catch @jstarpl ! I pushed an update that unifies the sorting in the two places, could you have another look plz?

authors: codecov-commenter nytamin


text:
feat: update socials logos & links

Descripcion ✏
Agregué Twitch , aproveché que ví que estaba el logo de YT para actualizar los enlaces de socials media.
Cambios visuales 🎨

Como testear? 🐛

[!IMPORTANT]
Checklist a modo recordatorio. Tildar lo que corresponda

[ ] Te agregaste como contribuidor/a, en el archivo mdx que tocaste?
[ ] Si tocaste código (no mdx), agregaste test para cubrirlo?

Puedo actualizar los otros iconos a colores ?

Con el fondo light, medio que flojea el icon de tiktok.

Puede ser, habría que acomodarlos un poco mejor con css, te animas?

Pareciera ser que es mas bien los archivos svg (x en particular)

Muchas gracias <3

authors: EduWTR nsdonato

repo: nsdonato/recursostech


text:
How can we wrap images with text on left side

Hi Team, i am trying to align image on left side in rich text editor but there is no such option available in image toolbar.

https://ckeditor.com/docs/ckeditor5/latest/features/images/images-styles.html#presentational-styles
I try to add "imageStyle:alignLeft" and "imageStyle:alignRight" in
ckeditor:

config:

editor:

image:

toolbar.

But not working, after a strapi build nothing change.
Maybe need to rebuild plugin ?

repo: nshenderov/strapi-plugin-ckeditor


text:
TLS vulnerabilities

 TLS 1      offered (deprecated)
 TLS 1.1    offered (deprecated)
 Triple DES Ciphers / IDEA                     offered
 Obsolete CBC ciphers (AES, ARIA etc.)         offered
 SWEET32 (CVE-2016-2183, CVE-2016-6329)    VULNERABLE, uses 64 bit block ciphers
 BEAST (CVE-2011-3389)                     TLS1: ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-SHA AES256-SHA ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA
                                           VULNERABLE -- but also supports higher protocols  TLSv1.1 TLSv1.2 (likely mitigated)
 LUCKY13 (CVE-2013-0169), experimental     potentially VULNERABLE, uses cipher block chaining (CBC) ciphers with TLS. Check patches

Full testssl report for legacy node:
% testssl rpc2.neolegacy.nspcc.ru:10331

No engine or GOST support via engine with your /usr/bin/openssl

###########################################################
    testssl       3.0.4 from https://testssl.sh/

      This program is free software. Distribution and
             modification under GPLv2 permitted.
      USAGE w/o ANY WARRANTY. USE IT AT YOUR OWN RISK!

       Please file bugs @ https://testssl.sh/bugs/

###########################################################

 Using "OpenSSL 1.1.1k  25 Mar 2021" [~79 ciphers]
 on transient:/usr/bin/openssl
 (built: "Mar 25 20:49:34 2021", platform: "debian-amd64")

 Start 2021-06-16 02:23:26        -->> 92.255.97.110:10331 (rpc2.neolegacy.nspcc.ru) <<--

 rDNS (92.255.97.110):   92-255-97-110.customer.comfortel.pro.
 Service detected:       HTTP

 Testing protocols via sockets except NPN+ALPN

 SSLv2      not offered (OK)
 SSLv3      not offered (OK)
 TLS 1      offered (deprecated)
 TLS 1.1    offered (deprecated)
 TLS 1.2    offered (OK)
 TLS 1.3    offered (OK): final
 NPN/SPDY   not offered
 ALPN/HTTP2 h2, http/1.1 (offered)

 Testing cipher categories

 NULL ciphers (no encryption)                  not offered (OK)
 Anonymous NULL Ciphers (no authentication)    not offered (OK)
 Export ciphers (w/o ADH+NULL)                 not offered (OK)
 LOW: 64 Bit + DES, RC[2,4] (w/o export)       not offered (OK)
 Triple DES Ciphers / IDEA                     offered
 Obsolete CBC ciphers (AES, ARIA etc.)         offered
 Strong encryption (AEAD ciphers)              offered (OK)

 Testing robust (perfect) forward secrecy, (P)FS -- omitting Null Authentication/Encryption, 3DES, RC4

 PFS is offered (OK)          TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-AES256-SHA ECDHE-RSA-CHACHA20-POLY1305 TLS_AES_128_GCM_SHA256
                              ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES128-SHA
 Elliptic curves offered:     prime256v1 secp384r1 secp521r1 X25519

 Testing server preferences

 Has server cipher order?     yes (OK) -- TLS 1.3 and below
 Negotiated protocol          TLSv1.3
 Negotiated cipher            TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Cipher order
    TLSv1:     ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-SHA AES256-SHA ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA
    TLSv1.1:   ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-SHA AES256-SHA ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA
    TLSv1.2:   ECDHE-RSA-CHACHA20-POLY1305 ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-GCM-SHA256 AES256-GCM-SHA384 AES128-SHA AES256-SHA
               ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA
    TLSv1.3:   TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 TLS_AES_256_GCM_SHA384

 Testing server defaults (Server Hello)

 TLS extensions (standard)    "session ticket/#35" "renegotiation info/#65281" "EC point formats/#11" "supported versions/#43" "key share/#51" "application layer protocol negotiation/#16"
 Session Ticket RFC 5077 hint 604800 seconds but: PFS requires session ticket keys to be rotated < daily !
 SSL Session ID support       yes
 Session Resumption           Tickets: yes, ID: yes
 TLS clock skew               Random values, no fingerprinting possible
 Signature Algorithm          SHA256 with RSA
 Server key size              RSA 2048 bits
 Server key usage             Digital Signature, Key Encipherment
 Server extended key usage    TLS Web Server Authentication, TLS Web Client Authentication
 Serial / Fingerprints        04E0C0CA2B097ABC08AB2371187C889DFA64 / SHA1 C4474C8842F1E2FA22D6C69E2B1D7F7718638F6C
                              SHA256 417AB4AA5D22A27CBBDE6ED8681AB0C740662FCC176FE6B6A9DFF0C40067B9DC
 Common Name (CN)             rpc2.neolegacy.nspcc.ru
 subjectAltName (SAN)         rpc2.neolegacy.nspcc.ru
 Issuer                       R3 (Let's Encrypt from US)
 Trust (hostname)             Ok via SAN (same w/o SNI)
 Chain of trust               Ok
 EV cert (experimental)       no
 ETS/"eTLS", visibility info  not present
 Certificate Validity (UTC)   89 >= 60 days (2021-06-15 22:39 --> 2021-09-13 22:39)
 # of certificates provided   3
 Certificate Revocation List  --
 OCSP URI                     http://r3.o.lencr.org
 OCSP stapling                not offered
 OCSP must staple extension   --
 DNS CAA RR (experimental)    not offered
 Certificate Transparency     yes (certificate extension)

 Testing HTTP header response @ "/"

 HTTP Status Code             422 Unprocessable Entity. Oh, didn't expect "422 Unprocessable Entity"
 HTTP clock skew              0 sec from localtime
 Strict Transport Security    not offered
 Public Key Pinning           --
 Server banner                (no "Server" line in header, interesting!)
 Application banner           --
 Cookie(s)                    (none issued at "/") -- maybe better try target URL of 30x
 Security headers             --
 Reverse Proxy banner         --

 Testing vulnerabilities

 Heartbleed (CVE-2014-0160)                not vulnerable (OK), no heartbeat extension
 CCS (CVE-2014-0224)                       not vulnerable (OK)
 Ticketbleed (CVE-2016-9244), experiment.  not vulnerable (OK), reply empty
 ROBOT                                     not vulnerable (OK)
 Secure Renegotiation (RFC 5746)           supported (OK)
 Secure Client-Initiated Renegotiation     not vulnerable (OK)
 CRIME, TLS (CVE-2012-4929)                not vulnerable (OK)
 BREACH (CVE-2013-3587)                    no HTTP compression (OK)  - only supplied "/" tested
 POODLE, SSL (CVE-2014-3566)               not vulnerable (OK), no SSLv3 support
 TLS_FALLBACK_SCSV (RFC 7507)              Downgrade attack prevention supported (OK)
 SWEET32 (CVE-2016-2183, CVE-2016-6329)    VULNERABLE, uses 64 bit block ciphers
 FREAK (CVE-2015-0204)                     not vulnerable (OK)
 DROWN (CVE-2016-0800, CVE-2016-0703)      not vulnerable on this host and port (OK)
                                           make sure you don't use this certificate elsewhere with SSLv2 enabled services
                                           https://censys.io/ipv4?q=417AB4AA5D22A27CBBDE6ED8681AB0C740662FCC176FE6B6A9DFF0C40067B9DC could help you to find out
 LOGJAM (CVE-2015-4000), experimental      not vulnerable (OK): no DH EXPORT ciphers, no DH key detected with <= TLS 1.2
 BEAST (CVE-2011-3389)                     TLS1: ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-SHA AES256-SHA ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA
                                           VULNERABLE -- but also supports higher protocols  TLSv1.1 TLSv1.2 (likely mitigated)
 LUCKY13 (CVE-2013-0169), experimental     potentially VULNERABLE, uses cipher block chaining (CBC) ciphers with TLS. Check patches
 RC4 (CVE-2013-2566, CVE-2015-2808)        no RC4 ciphers detected (OK)

 Testing 370 ciphers via OpenSSL plus sockets against the server, ordered by encryption strength

Hexcode  Cipher Suite Name (OpenSSL)       KeyExch.   Encryption  Bits     Cipher Suite Name (IANA/RFC)
-----------------------------------------------------------------------------------------------------------------------------
 x1302   TLS_AES_256_GCM_SHA384            ECDH 253   AESGCM      256      TLS_AES_256_GCM_SHA384
 x1303   TLS_CHACHA20_POLY1305_SHA256      ECDH 253   ChaCha20    256      TLS_CHACHA20_POLY1305_SHA256
 xc030   ECDHE-RSA-AES256-GCM-SHA384       ECDH 253   AESGCM      256      TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 xc014   ECDHE-RSA-AES256-SHA              ECDH 253   AES         256      TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
 xcca8   ECDHE-RSA-CHACHA20-POLY1305       ECDH 253   ChaCha20    256      TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
 x9d     AES256-GCM-SHA384                 RSA        AESGCM      256      TLS_RSA_WITH_AES_256_GCM_SHA384
 x35     AES256-SHA                        RSA        AES         256      TLS_RSA_WITH_AES_256_CBC_SHA
 x1301   TLS_AES_128_GCM_SHA256            ECDH 253   AESGCM      128      TLS_AES_128_GCM_SHA256
 xc02f   ECDHE-RSA-AES128-GCM-SHA256       ECDH 253   AESGCM      128      TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
 xc013   ECDHE-RSA-AES128-SHA              ECDH 253   AES         128      TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
 x9c     AES128-GCM-SHA256                 RSA        AESGCM      128      TLS_RSA_WITH_AES_128_GCM_SHA256
 x2f     AES128-SHA                        RSA        AES         128      TLS_RSA_WITH_AES_128_CBC_SHA
 xc012   ECDHE-RSA-DES-CBC3-SHA            ECDH 521   3DES        168      TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
 x0a     DES-CBC3-SHA                      RSA        3DES        168      TLS_RSA_WITH_3DES_EDE_CBC_SHA

 Running client simulations (HTTP) via sockets

 Android 4.4.2                TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 521 bit ECDH (P-521)
 Android 5.0.0                TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 521 bit ECDH (P-521)
 Android 6.0                  TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Android 7.0 (native)         TLSv1.2 ECDHE-RSA-CHACHA20-POLY1305, 256 bit ECDH (P-256)
 Android 8.1 (native)         TLSv1.2 ECDHE-RSA-CHACHA20-POLY1305, 253 bit ECDH (X25519)
 Android 9.0 (native)         TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Android 10.0 (native)        TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Chrome 74 (Win 10)           TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Chrome 79 (Win 10)           TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Firefox 66 (Win 8.1/10)      TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Firefox 71 (Win 10)          TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 IE 6 XP                      No connection
 IE 8 Win 7                   TLSv1.0 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 IE 8 XP                      TLSv1.0 DES-CBC3-SHA, No FS
 IE 11 Win 7                  TLSv1.2 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 IE 11 Win 8.1                TLSv1.2 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 IE 11 Win Phone 8.1          TLSv1.2 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 IE 11 Win 10                 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Edge 15 Win 10               TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 253 bit ECDH (X25519)
 Edge 17 (Win 10)             TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 253 bit ECDH (X25519)
 Opera 66 (Win 10)            TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Safari 9 iOS 9               TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Safari 9 OS X 10.11          TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Safari 10 OS X 10.12         TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Safari 12.1 (iOS 12.2)       TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Safari 13.0 (macOS 10.14.6)  TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Apple ATS 9 iOS 9            TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Java 6u45                    No connection
 Java 7u25                    TLSv1.0 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 Java 8u161                   TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Java 11.0.2 (OpenJDK)        TLSv1.3 TLS_AES_128_GCM_SHA256, 256 bit ECDH (P-256)
 Java 12.0.1 (OpenJDK)        TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 256 bit ECDH (P-256)
 OpenSSL 1.0.2e               TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 OpenSSL 1.1.0l (Debian)      TLSv1.2 ECDHE-RSA-CHACHA20-POLY1305, 253 bit ECDH (X25519)
 OpenSSL 1.1.1d (Debian)      TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Thunderbird (68.3)           TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)

 Done 2021-06-16 02:24:57 [  94s] -->> 92.255.97.110:10331 (rpc2.neolegacy.nspcc.ru) <<--

Full testssl report for n3:
% testssl rpc3.n3.nspcc.ru:20331

No engine or GOST support via engine with your /usr/bin/openssl

###########################################################
    testssl       3.0.4 from https://testssl.sh/

      This program is free software. Distribution and
             modification under GPLv2 permitted.
      USAGE w/o ANY WARRANTY. USE IT AT YOUR OWN RISK!

       Please file bugs @ https://testssl.sh/bugs/

###########################################################

 Using "OpenSSL 1.1.1k  25 Mar 2021" [~79 ciphers]
 on transient:/usr/bin/openssl
 (built: "Mar 25 20:49:34 2021", platform: "debian-amd64")

 Start 2021-06-16 02:22:47        -->> 138.201.83.73:20331 (rpc3.n3.nspcc.ru) <<--

 rDNS (138.201.83.73):   suiseiseki.nspcc.ru.
 Service detected:       HTTP

 Testing protocols via sockets except NPN+ALPN

 SSLv2      not offered (OK)
 SSLv3      not offered (OK)
 TLS 1      offered (deprecated)
 TLS 1.1    offered (deprecated)
 TLS 1.2    offered (OK)
 TLS 1.3    offered (OK): final
 NPN/SPDY   not offered
 ALPN/HTTP2 h2, http/1.1 (offered)

 Testing cipher categories

 NULL ciphers (no encryption)                  not offered (OK)
 Anonymous NULL Ciphers (no authentication)    not offered (OK)
 Export ciphers (w/o ADH+NULL)                 not offered (OK)
 LOW: 64 Bit + DES, RC[2,4] (w/o export)       not offered (OK)
 Triple DES Ciphers / IDEA                     offered
 Obsolete CBC ciphers (AES, ARIA etc.)         offered
 Strong encryption (AEAD ciphers)              offered (OK)

 Testing robust (perfect) forward secrecy, (P)FS -- omitting Null Authentication/Encryption, 3DES, RC4

 PFS is offered (OK)          TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-AES256-SHA ECDHE-RSA-CHACHA20-POLY1305 TLS_AES_128_GCM_SHA256
                              ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES128-SHA
 Elliptic curves offered:     prime256v1 secp384r1 secp521r1 X25519

 Testing server preferences

 Has server cipher order?     yes (OK) -- only for < TLS 1.3
 Negotiated protocol          TLSv1.3
 Negotiated cipher            TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 Cipher order
    TLSv1:     ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-SHA AES256-SHA ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA
    TLSv1.1:   ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-SHA AES256-SHA ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA
    TLSv1.2:   ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-CHACHA20-POLY1305 ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-GCM-SHA256 AES256-GCM-SHA384 AES128-SHA AES256-SHA
               ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA

 Testing server defaults (Server Hello)

 TLS extensions (standard)    "session ticket/#35" "renegotiation info/#65281" "EC point formats/#11" "supported versions/#43" "key share/#51" "application layer protocol negotiation/#16"
 Session Ticket RFC 5077 hint 604800 seconds but: PFS requires session ticket keys to be rotated < daily !
 SSL Session ID support       yes
 Session Resumption           Tickets: yes, ID: yes
 TLS clock skew               Random values, no fingerprinting possible
 Signature Algorithm          SHA256 with RSA
 Server key size              RSA 2048 bits
 Server key usage             Digital Signature, Key Encipherment
 Server extended key usage    TLS Web Server Authentication, TLS Web Client Authentication
 Serial / Fingerprints        03BB59C7B46A0AC27E22CBA8EA38CB4A224A / SHA1 B242F2FE9BFAB2FA1F45D4C1C3B59D844693C6C0
                              SHA256 08FD02255930233D2F1A62E260D04EEBC514BF9D20B526C1BB0873BAB74DA835
 Common Name (CN)             rpc3.n3.nspcc.ru
 subjectAltName (SAN)         rpc3.n3.nspcc.ru
 Issuer                       R3 (Let's Encrypt from US)
 Trust (hostname)             Ok via SAN (same w/o SNI)
 Chain of trust               Ok
 EV cert (experimental)       no
 ETS/"eTLS", visibility info  not present
 Certificate Validity (UTC)   expires < 30 days (12) (2021-03-30 22:03 --> 2021-06-28 22:03)
 # of certificates provided   2
 Certificate Revocation List  --
 OCSP URI                     http://r3.o.lencr.org
 OCSP stapling                not offered
 OCSP must staple extension   --
 DNS CAA RR (experimental)    not offered
 Certificate Transparency     yes (certificate extension)

 Testing HTTP header response @ "/"

 HTTP Status Code             422 Unprocessable Entity. Oh, didn't expect "422 Unprocessable Entity"
 HTTP clock skew              0 sec from localtime
 Strict Transport Security    not offered
 Public Key Pinning           --
 Server banner                (no "Server" line in header, interesting!)
 Application banner           --
 Cookie(s)                    (none issued at "/") -- maybe better try target URL of 30x
 Security headers             --
 Reverse Proxy banner         --

 Testing vulnerabilities

 Heartbleed (CVE-2014-0160)                not vulnerable (OK), no heartbeat extension
 CCS (CVE-2014-0224)                       not vulnerable (OK)
 Ticketbleed (CVE-2016-9244), experiment.  not vulnerable (OK)
 ROBOT                                     not vulnerable (OK)
 Secure Renegotiation (RFC 5746)           supported (OK)
 Secure Client-Initiated Renegotiation     not vulnerable (OK)
 CRIME, TLS (CVE-2012-4929)                not vulnerable (OK)
 BREACH (CVE-2013-3587)                    no HTTP compression (OK)  - only supplied "/" tested
 POODLE, SSL (CVE-2014-3566)               not vulnerable (OK), no SSLv3 support
 TLS_FALLBACK_SCSV (RFC 7507)              Downgrade attack prevention supported (OK)
 SWEET32 (CVE-2016-2183, CVE-2016-6329)    VULNERABLE, uses 64 bit block ciphers
 FREAK (CVE-2015-0204)                     not vulnerable (OK)
 DROWN (CVE-2016-0800, CVE-2016-0703)      not vulnerable on this host and port (OK)
                                           make sure you don't use this certificate elsewhere with SSLv2 enabled services
                                           https://censys.io/ipv4?q=08FD02255930233D2F1A62E260D04EEBC514BF9D20B526C1BB0873BAB74DA835 could help you to find out
 LOGJAM (CVE-2015-4000), experimental      not vulnerable (OK): no DH EXPORT ciphers, no DH key detected with <= TLS 1.2
 BEAST (CVE-2011-3389)                     TLS1: ECDHE-RSA-AES128-SHA ECDHE-RSA-AES256-SHA AES128-SHA AES256-SHA ECDHE-RSA-DES-CBC3-SHA DES-CBC3-SHA
                                           VULNERABLE -- but also supports higher protocols  TLSv1.1 TLSv1.2 (likely mitigated)
 LUCKY13 (CVE-2013-0169), experimental     potentially VULNERABLE, uses cipher block chaining (CBC) ciphers with TLS. Check patches
 RC4 (CVE-2013-2566, CVE-2015-2808)        no RC4 ciphers detected (OK)

 Testing 370 ciphers via OpenSSL plus sockets against the server, ordered by encryption strength

Hexcode  Cipher Suite Name (OpenSSL)       KeyExch.   Encryption  Bits     Cipher Suite Name (IANA/RFC)
-----------------------------------------------------------------------------------------------------------------------------
 x1302   TLS_AES_256_GCM_SHA384            ECDH 253   AESGCM      256      TLS_AES_256_GCM_SHA384
 x1303   TLS_CHACHA20_POLY1305_SHA256      ECDH 253   ChaCha20    256      TLS_CHACHA20_POLY1305_SHA256
 xc030   ECDHE-RSA-AES256-GCM-SHA384       ECDH 253   AESGCM      256      TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 xc014   ECDHE-RSA-AES256-SHA              ECDH 253   AES         256      TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
 xcca8   ECDHE-RSA-CHACHA20-POLY1305       ECDH 253   ChaCha20    256      TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
 x9d     AES256-GCM-SHA384                 RSA        AESGCM      256      TLS_RSA_WITH_AES_256_GCM_SHA384
 x35     AES256-SHA                        RSA        AES         256      TLS_RSA_WITH_AES_256_CBC_SHA
 x1301   TLS_AES_128_GCM_SHA256            ECDH 253   AESGCM      128      TLS_AES_128_GCM_SHA256
 xc02f   ECDHE-RSA-AES128-GCM-SHA256       ECDH 253   AESGCM      128      TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
 xc013   ECDHE-RSA-AES128-SHA              ECDH 253   AES         128      TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
 x9c     AES128-GCM-SHA256                 RSA        AESGCM      128      TLS_RSA_WITH_AES_128_GCM_SHA256
 x2f     AES128-SHA                        RSA        AES         128      TLS_RSA_WITH_AES_128_CBC_SHA
 xc012   ECDHE-RSA-DES-CBC3-SHA            ECDH 521   3DES        168      TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
 x0a     DES-CBC3-SHA                      RSA        3DES        168      TLS_RSA_WITH_3DES_EDE_CBC_SHA

 Running client simulations (HTTP) via sockets

 Android 4.4.2                TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 521 bit ECDH (P-521)
 Android 5.0.0                TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 521 bit ECDH (P-521)
 Android 6.0                  TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Android 7.0 (native)         TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Android 8.1 (native)         TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 253 bit ECDH (X25519)
 Android 9.0 (native)         TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 Android 10.0 (native)        TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 Chrome 74 (Win 10)           TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 Chrome 79 (Win 10)           TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 Firefox 66 (Win 8.1/10)      TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 Firefox 71 (Win 10)          TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 IE 6 XP                      No connection
 IE 8 Win 7                   TLSv1.0 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 IE 8 XP                      TLSv1.0 DES-CBC3-SHA, No FS
 IE 11 Win 7                  TLSv1.2 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 IE 11 Win 8.1                TLSv1.2 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 IE 11 Win Phone 8.1          TLSv1.2 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 IE 11 Win 10                 TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Edge 15 Win 10               TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 253 bit ECDH (X25519)
 Edge 17 (Win 10)             TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 253 bit ECDH (X25519)
 Opera 66 (Win 10)            TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 Safari 9 iOS 9               TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Safari 9 OS X 10.11          TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Safari 10 OS X 10.12         TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Safari 12.1 (iOS 12.2)       TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Safari 13.0 (macOS 10.14.6)  TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 253 bit ECDH (X25519)
 Apple ATS 9 iOS 9            TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Java 6u45                    No connection
 Java 7u25                    TLSv1.0 ECDHE-RSA-AES128-SHA, 256 bit ECDH (P-256)
 Java 8u161                   TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 Java 11.0.2 (OpenJDK)        TLSv1.3 TLS_AES_128_GCM_SHA256, 256 bit ECDH (P-256)
 Java 12.0.1 (OpenJDK)        TLSv1.3 TLS_AES_128_GCM_SHA256, 256 bit ECDH (P-256)
 OpenSSL 1.0.2e               TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 256 bit ECDH (P-256)
 OpenSSL 1.1.0l (Debian)      TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256, 253 bit ECDH (X25519)
 OpenSSL 1.1.1d (Debian)      TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)
 Thunderbird (68.3)           TLSv1.3 TLS_AES_128_GCM_SHA256, 253 bit ECDH (X25519)

We're using default Go settings there is nothing special to it.

There must be an option to define cipher suites.
Min TLS should be 1.2

I don't think it's worth adding these options.
It will be handled automatically as the world moves forward, see golang/go#45428.

Our JSON-RPC interface provides public data from public blockchain and accepts transactions that are to be broadcasted on a public network, probably the only thing that matters here wrt TLS is host authentication and that is handled well enough at the moment.

repo: nspcc-dev/neo-go


text:
Do not serialize structures for static signer

It can be optimized out, see https://github.com/nspcc-dev/neofs-sdk-go/pull/398#discussion_r1172312597

It is obvious, that StaticSigner faster and cheaper then regular signer. Despite it we shouldn't have two different methods like Calculate and CalculateLazy. It may lead to misunderstanding to customer, which func should be use to calculate signature.
Instead it I suggest to change Calculate func interface from
func (x *Signature) Calculate(signer Signer, data []byte) error

to
func (x *Signature) Calculate(signer Signer, dataSrc func() []byte) error {

Of course, it leads to some changes in code, but removes misunderstanding. This changed variant has the same performance:
$ go test -bench=. -benchmem
goos: linux
goarch: amd64
pkg: github.com/nspcc-dev/neofs-sdk-go/container
cpu: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
BenchmarkCalculate-16                      27002             43873 ns/op            5396 B/op         76 allocs/op
BenchmarkCalculateLazy-16                  27144             44347 ns/op            5396 B/op         76 allocs/op
BenchmarkCalculateLazyStatic-16          1535890               887.0 ns/op           272 B/op          4 allocs/op
BenchmarkCalculateLazySingle-16            27273             46403 ns/op            5396 B/op         76 allocs/op
PASS
ok      github.com/nspcc-dev/neofs-sdk-go/container     6.896s

Description:

BenchmarkCalculate - current signer function
BenchmarkCalculateLazy - checks if signer is Static and do all staff or call regualar Calculate
BenchmarkCalculateLazyStatic - working only with StaticSigner, just for information
BenchmarkCalculateLazySingle - Our target function

Conslusion:

Use single function Calculate
Change its interface
Update the code
Enjoy dramatical speed increasing with StaticSigner situations

Passing a function means creating some lambda function in 99% of use cases which is just not fun. How about
type MarshalledStably interface {
    StableMarshal([]byte) []byte
}
func (x *Signature) Calculate(signer Signer, data []byte) error {}
func (x *Signature) CalculateMarshalled(signer Signer, smth MarshalledStably) error {}

IIRC we calculate signatures for something with StableMarshal() in 99% of the cases.

Do you mean left current Calculate as is, append new CalculateMarshalled where we will implement Lazy functionality?
I don't mind, even more - I like this approach.

Yeah, generic Calculate can be useful anyway, but marshalled one can be lazy or not depending on the implementation. Static signer will obviously optimize it.

Passing a function means creating some lambda function in 99% of use cases which is just not fun.

@roman-khimov, do you mean readability or another reasons?

Mostly that. Performance-wise there will also be a difference, but a tiny one.

authors: notimetoname roman-khimov smallhive

repo: nspcc-dev/neofs-sdk-go


text:
Fixes issue #16

Seed broker NodeId changed from -99 to negatives but unique values.
From Kafka documentation: "Each broker is uniquely identified by a non-negative integer id", so negative values for seed broker ids do not clash with real broker ids

Already fixed in master 2f237ca


text:
metemctl ix useにループバックアドレスを指定したときの警告

ngrokが起動していないとき、 metemctl ix use を実行するとユーザーが意図せずループバックアドレスが渡されてしまう問題があります。
#241

close #244

repo: nttcom/metemcyber


text:
check if file is getting overwritten

like when i replace certain characters with - i don't check if the file with that case already exists.

hmm how could this be done?
only ideas i have so far is n^2 algorithm: keep a list of "checked" items (output filenames?), loop through main list and check if that element is in the "checked" items already, if it is throw an error

Try to find a more efficient way of doing this, having it look through that many files is quite inefficient

authors: mebsim ohnx

repo: nu-dev/nu


text:
feat: implement channels:create api adapter and command

Still TODO:

[x] ~Implement test~

Also a couple of notes left in and around the code, primarily surrounding one of:

File organization (e.g., should X object be put into its own file? Should X routine be part of another lifecycle method? etc.)
UX command lifecycle methods (e.g., changing output messages, tabular formats, etc.)

I did a follow-up review and added a couple of comments. One earlier comment was still not addressed.

All good and done.

authors: grof oliver-daniel

repo: nuance-communications/mix-cli


text:
🛑 Università e ricerca is down

In 0a36077, Università e ricerca (https://www.mur.gov.it/it) was down:

HTTP code: 403
Response time: 640 ms

Resolved: Università e ricerca is back up in f8eb2b7 after 5 minutes.


text:
the hw of mask img is different with the inout img?

why

input

Mask height and weight should be the same as in image. Resize it inside workflow.

authors: henbucuoshanghai nullquant

repo: nullquant/ComfyUI-BrushNet


text:
@njit(parallel=True) fails to compile when @njit(parallel=False) works. v0.35

Hello everyone.
This is a possible duplicate of #2512 .
The issue
Some function decorated with @njit is working with arrays. The thing is, when we (@sambarluc and I) enable parallel compilation, the same function fails to compile and produces an index out of range exception. This only happens on version 0.35, version 0.34 works fine with parallel=True.
As this is a possible duplicate of #2512 , this might be already fixed by #2492 . I can't be sure of this though, and we didn't apply the patch ourselves, all we did was conda upgrade and the issue's still here. So either the patch's not up on conda yet, either it doesn't fix this issue.
The configuration
I don't know if any of this is actually useful (except for the numba version) but I still put it here because it doesn't hurt :

Ubuntu 16.04.3
Python 3.6.2
numba 0.35.0
numpy 1.13.1

The technical stuff
I changed the functions a bit to remove what is should be useless to show here, so just essential stuff is present. As I might be mistaken and remove some meaningful code needed to resolve this issue, I'll upload the full code afterwards if needed.
    # a vanilla python function in file particleContainer.py

    def run(self, iters, timestamps_in, seed_ctx):
        active_ids = np.zeros(self.ntact, dtype="short")
        out_code = np.zeros(self.ntact, dtype="short")

        xyz = np.zeros((0, 3), dtype="float64")
        ijk = np.zeros((0, 3), dtype="int16")

        self.nvals = seed_ctx.nvals
        out_tijk = np.zeros((self.ntact, self.nvals, 4),
                            dtype="f8")
        out_xyz = np.zeros((self.ntact, self.nvals, 3),
                           dtype="f8")

        for ngi in range(1, iters.size):

            # stuff

            self.ntout += n_remove
            self.ntact = active_ids.size

            # stuff

            ext_loop(self.nvals, self.ntact,
                     xyz, ijk, out_xyz, out_tijk, out_code)

# In file CFunctions.py

@nb.njit(nogil=True, parallel=True)
def ext_loop(nvals, ntact, xyz, ijk, out_xyz, out_tijk, out_code):
    for ntrac in range(ntact):
        # initialize stuff
        ts = 0.0
        tt = 0.0

        # output init
        for kk in range(nvals):
            out_tijk[ntrac, kk, 0] = -1e20

        rec_out = 0

        x1 = xyz[ntrac, 0]
        y1 = xyz[ntrac, 1]
        z1 = xyz[ntrac, 2]
        ib = ijk[ntrac, 0]
        jb = ijk[ntrac, 1]
        kb = ijk[ntrac, 2]

        while True:

            # lots of stuff

            out_tijk[ntrac, rec_out, 0] = tt  # Triggers the compile exception
            out_tijk[ntrac, rec_out, 1] = x1
            out_tijk[ntrac, rec_out, 2] = y1
            out_tijk[ntrac, rec_out, 3] = z1

The error appears like this, with all the stacktrace :
Traceback (most recent call last):
  File "/.../main.py", line 6, in <module>
    c.run()
  File "/.../controller.py", line 479, in run
    self._part_container.run(self.iters, self.timestamps_in, seed_ctx)
  File "/.../particleContainer.py", line 211, in run
    uflux, vflux, wflux, out_code)
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 330, in _compile_for_args
    raise e
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 307, in _compile_for_args
    return self.compile(tuple(argtypes))
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 579, in compile
    cres = self._compiler.compile(args, return_type)
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 80, in compile
    flags=flags, locals=self.locals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 763, in compile_extra
    return pipeline.compile_extra(func)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 360, in compile_extra
    return self._compile_bytecode()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 722, in _compile_bytecode
    return self._compile_core()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 709, in _compile_core
    res = pm.run(self.status)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 246, in run
    raise patched_exception
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 238, in run
    stage()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 452, in stage_nopython_frontend
    self.locals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 865, in type_inference_stage
    infer.propagate()
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 844, in propagate
    raise errors[0]
numba.errors.TypingError: Failed at nopython (nopython frontend)
Internal error at <numba.typeinfer.CallConstraint object at 0x7f61740fb080>:
--%<-----------------------------------------------------------------
Traceback (most recent call last):
  File "/.../miniconda/lib/python3.6/site-packages/numba/errors.py", line 259, in new_error_context
    yield
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 415, in __call__
    self.resolve(typeinfer, typevars, fnty)
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 441, in resolve
    sig = typeinfer.resolve_call(fnty, pos_args, kw_args, literals=literals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 1113, in resolve_call
    literals=literals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/typing/context.py", line 202, in resolve_function_type
    return func.get_call_type_with_literals(self, args, kws, literals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/types/abstract.py", line 266, in get_call_type_with_literals
    return self.get_call_type(context, args, kws)
  File "/.../miniconda/lib/python3.6/site-packages/numba/types/functions.py", line 175, in get_call_type
    template, pysig, args, kws = self.dispatcher.get_call_template(args, kws)
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 269, in get_call_template
    self.compile(tuple(args))
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 579, in compile
    cres = self._compiler.compile(args, return_type)
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 80, in compile
    flags=flags, locals=self.locals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 763, in compile_extra
    return pipeline.compile_extra(func)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 360, in compile_extra
    return self._compile_bytecode()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 722, in _compile_bytecode
    return self._compile_core()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 709, in _compile_core
    res = pm.run(self.status)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 246, in run
    raise patched_exception
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 238, in run
    stage()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 494, in stage_parfor_pass
    parfor_pass.run()
  File "/.../miniconda/lib/python3.6/site-packages/numba/parfor.py", line 197, in run
    self.array_analysis.run()
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 604, in run
    pre, post = self._analyze_inst(label, scope, equiv_set, inst)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 629, in _analyze_inst
    result = self._analyze_expr(scope, equiv_set, inst.value)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 727, in _analyze_expr
    return guard(fn, scope, equiv_set, expr)
  File "/.../miniconda/lib/python3.6/site-packages/numba/ir_utils.py", line 1159, in guard
    return func(*args, **kwargs)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 754, in _analyze_op_static_getitem
    shape = equiv_set.get_shape(var)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 432, in get_shape
    return tuple(self.ind_to_var[i][0] for i in inds)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 432, in <genexpr>
    return tuple(self.ind_to_var[i][0] for i in inds)
IndexError: Failed at nopython (convert to parfors)
list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 137, in propagate
    constraint(typeinfer)
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 415, in __call__
    self.resolve(typeinfer, typevars, fnty)
  File "/.../miniconda/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/.../miniconda/lib/python3.6/site-packages/numba/errors.py", line 265, in new_error_context
    six.reraise(type(newerr), newerr, sys.exc_info()[2])
  File "/.../miniconda/lib/python3.6/site-packages/numba/six.py", line 658, in reraise
    raise value.with_traceback(tb)
  File "/.../miniconda/lib/python3.6/site-packages/numba/errors.py", line 259, in new_error_context
    yield
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 415, in __call__
    self.resolve(typeinfer, typevars, fnty)
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 441, in resolve
    sig = typeinfer.resolve_call(fnty, pos_args, kw_args, literals=literals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/typeinfer.py", line 1113, in resolve_call
    literals=literals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/typing/context.py", line 202, in resolve_function_type
    return func.get_call_type_with_literals(self, args, kws, literals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/types/abstract.py", line 266, in get_call_type_with_literals
    return self.get_call_type(context, args, kws)
  File "/.../miniconda/lib/python3.6/site-packages/numba/types/functions.py", line 175, in get_call_type
    template, pysig, args, kws = self.dispatcher.get_call_template(args, kws)
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 269, in get_call_template
    self.compile(tuple(args))
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 579, in compile
    cres = self._compiler.compile(args, return_type)
  File "/.../miniconda/lib/python3.6/site-packages/numba/dispatcher.py", line 80, in compile
    flags=flags, locals=self.locals)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 763, in compile_extra
    return pipeline.compile_extra(func)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 360, in compile_extra
    return self._compile_bytecode()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 722, in _compile_bytecode
    return self._compile_core()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 709, in _compile_core
    res = pm.run(self.status)
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 246, in run
    raise patched_exception
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 238, in run
    stage()
  File "/.../miniconda/lib/python3.6/site-packages/numba/compiler.py", line 494, in stage_parfor_pass
    parfor_pass.run()
  File "/.../miniconda/lib/python3.6/site-packages/numba/parfor.py", line 197, in run
    self.array_analysis.run()
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 604, in run
    pre, post = self._analyze_inst(label, scope, equiv_set, inst)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 629, in _analyze_inst
    result = self._analyze_expr(scope, equiv_set, inst.value)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 727, in _analyze_expr
    return guard(fn, scope, equiv_set, expr)
  File "/.../miniconda/lib/python3.6/site-packages/numba/ir_utils.py", line 1159, in guard
    return func(*args, **kwargs)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 754, in _analyze_op_static_getitem
    shape = equiv_set.get_shape(var)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 432, in get_shape
    return tuple(self.ind_to_var[i][0] for i in inds)
  File "/.../miniconda/lib/python3.6/site-packages/numba/array_analysis.py", line 432, in <genexpr>
    return tuple(self.ind_to_var[i][0] for i in inds)
numba.errors.InternalError: Failed at nopython (convert to parfors)
list index out of range
[1] During: resolving callee type: type(CPUDispatcher(<function output_to_3d_array at 0x7f6183bec6a8>))
[2] During: typing of call at /.../CFunctions.py (588)
--%<-----------------------------------------------------------------
File "/.../CFunctions.py", line 588

As I said, compiling from numba version 0.34.0 works fine.
Also, replacing
@nb.njit(nogil=True, parallel=True)
def ext_loop(nvals, ntact, xyz, ijk, out_xyz, out_tijk, out_code):

with
@nb.njit(nogil=True, parallel=False)
def ext_loop(nvals, ntact, xyz, ijk, out_xyz, out_tijk, out_code):

works fine too (even though we loose parallelism ofc, but it compiles).
So is this issue familiar to any contributor here ? Is this a known issue and I'm just another duplicate that didn't look far enough (like so many do) ? If there's already a patch for that, when will it be made available on conda ?
Thanks anyway for your time, and your work (numba has been quite astonishing to work with, so good job :+1: ).

Thanks for the report. Fairly sure the fix for https://github.com/numba/numba/issues/2512 was in the 0.35 release. You can always try Numba from the numba channel to get the absolute latest dev version if you are ever unsure (use -c numba).
As to the report, I can't reproduce the error you see. I've tried putting in false data/information into various places but that doesn't seem sufficient. I have found another bug as a result of doing this, but not the one you report. Any chance you could create a minimal working reproducer please including the data (correctly typed but small is all that's needed) and we'll take a look? Thanks.

Well if the #2512 fix was in the 0.35 release then it didn't fix our issue (or generated it maybe) meaning it's not a duplicate. So that's nice.
We'll try to make the smallest full working program that generates the error and share it with you when finished.
Thanks for the quick answer =)

That'd be great thanks. I am suspicious it's the same as or related to this https://github.com/numba/numba/issues/2537 which is fixed in mainline.

authors: Minimata stuartarchibald

repo: numba/numba


text:
problem with numba @jit(cache=True) in python 3.7.  The same code in python 3.6 dont give any error

I try to run:
class Helper(object):
@jit(cache=True)
def chol_update(self, L, X):         # see paper page 798,     A' = A + x*x^T
assert L.shape[1] == X.shape[0], "cholesky lower triangle matrix dim != word vec dim"
L_c = np.copy(L)
for k in range(X.shape[0]):
r = np.sqrt(L_c[k, k] ** 2 + X[k] ** 2)
c = r / L_c[k, k]
s = X[k] / L_c[k, k]
L_c[k, k] = r
for i in range(k+1, X.shape[0]):
L_c[i, k] = (L_c[i, k] + s * X[i]) / c
X[i] = c * X[i] - s * L_c[i, k]
return L_c
@jit(cache=True)
def chol_downdate(self, L, X):       # see paper page 798,     A' = A - x*x^T 3
    assert L.shape[1] == X.shape[0], "cholesky lower triangle matrix dim != word vec dim"
    L_c = np.copy(L)
    for k in range(X.shape[0]):
        r = np.sqrt(L_c[k, k]**2 - X[k]**2)                # I

        #if np.isnan(r) or np.isinf(r):
         #   break

        c = r / L_c[k, k]
        s = X[k] / L_c[k, k]
        L_c[k, k] = r
        for i in range(k+1, X.shape[0]):
            L_c[i, k] = (L_c[i, k] - (s * X[i])) / c    # II
            X[i] = c * X[i] - s * L_c[i, k]
    return L_c

Got error as:
C:\Users\elias\OneDrive\Skrivbord\masterthesis\GuassianLDA\GaussianLDA_Mannual\fasttext\BiLingual\cholesky.py:11: NumbaWarning:
Compilation is falling back to object mode WITH looplifting enabled because Function "chol_update" failed type inference due to: non-precise type pyobject
[1] During: typing of argument at C:\Users\elias\OneDrive\Skrivbord\masterthesis\GuassianLDA\GaussianLDA_Mannual\fasttext\BiLingual\cholesky.py (13)
File "cholesky.py", line 13:
def chol_update(self, L, X):         # see paper page 798,     A' = A + x*x^T
assert L.shape[1] == X.shape[0], "cholesky lower triangle matrix dim != word vec dim"
^
@jit(cache=True)
C:\Users\elias\OneDrive\Skrivbord\masterthesis\GuassianLDA\GaussianLDA_Mannual\fasttext\BiLingual\cholesky.py:11: NumbaWarning:
Compilation is falling back to object mode WITHOUT looplifting enabled because Function "chol_update" failed type inference due to: cannot determine Numba type of <class 'numba.dispatcher.LiftedLoop'>
File "cholesky.py", line 15:
def chol_update(self, L, X):         # see paper page 798,     A' = A + x*x^T

L_c = np.copy(L)
for k in range(X.shape[0]):
^
@jit(cache=True)

NotImplementedError                       Traceback (most recent call last)
~\Anaconda3\lib\site-packages\numba\errors.py in new_error_context(fmt_, *args, **kwargs)
660     try:
--> 661         yield
662     except NumbaError as e:
~\Anaconda3\lib\site-packages\numba\lowering.py in lower_block(self, block)
257                                    loc=self.loc, errcls_=defaulterrcls):
--> 258                 self.lower_inst(inst)
259
~\Anaconda3\lib\site-packages\numba\pylowering.py in lower_inst(self, inst)
175         else:
--> 176             raise NotImplementedError(type(inst), inst)
177
NotImplementedError: (<class 'numba.ir.StaticRaise'>, <numba.ir.StaticRaise object at 0x000002036AA284A8>)
During handling of the above exception, another exception occurred:
LoweringError                             Traceback (most recent call last)
 in
----> 1 model.fit(iterations = 1, verbose = True)
2 time4 = time.time()
3 print('the time taken for fitting the model on the source language is: ',(time4 - time3)/60)
~\OneDrive\Skrivbord\masterthesis\GuassianLDA\GaussianLDA_Mannual\fasttext\BiLingual\fasttextGLDA2.py in fit(self, iterations, init, verbose)
189         assert isinstance(self.verbose, bool), 'verbose should be boolian'
190
--> 191         self.fit_initialize()
192
193
~\OneDrive\Skrivbord\masterthesis\GuassianLDA\GaussianLDA_Mannual\fasttext\BiLingual\fasttextGLDA2.py in fit_initialize(self)
165                 self.n_dk[docID, init_k] += 1               # tableCountsPerDoc
166                 self.n_k[init_k] += 1                      # tableCounts
--> 167                 self.__updateTopicParameters(init_k, word, False)
168
169             self.z_dw.append(z_d)                          # list of list tableAssignment
~\OneDrive\Skrivbord\masterthesis\GuassianLDA\GaussianLDA_Mannual\fasttext\BiLingual\fasttextGLDA2.py in __updateTopicParameters(self, topic_id, word, removal)
101             """
102             centered = self.__update_centered(kappa_k, words2vec_ny_w, newMean)     # I       z
--> 103             LT_new = self.solver.chol_update(LT_old, centered)                      # Σ_k ← Σ_k + zz^T
104             self.topic_params[topic_id]["Lower Triangle"] =  LT_new
105
~\Anaconda3\lib\site-packages\numba\dispatcher.py in _compile_for_args(self, *args, **kws)
368                     e.patch_message(''.join(e.args) + help_msg)
369             # ignore the FULL_TRACEBACKS config, this needs reporting!
--> 370             raise e
371
372     def inspect_llvm(self, signature=None):
~\Anaconda3\lib\site-packages\numba\dispatcher.py in _compile_for_args(self, *args, **kws)
325                 argtypes.append(self.typeof_pyval(a))
326         try:
--> 327             return self.compile(tuple(argtypes))
328         except errors.TypingError as e:
329             # Intercept typing error that may be due to an argument
~\Anaconda3\lib\site-packages\numba\compiler_lock.py in _acquire_compile_lock(*args, **kwargs)
30         def _acquire_compile_lock(*args, **kwargs):
31             with self:
---> 32                 return func(*args, **kwargs)
33         return _acquire_compile_lock
34
~\Anaconda3\lib\site-packages\numba\dispatcher.py in compile(self, sig)
657
658             self._cache_misses[sig] += 1
--> 659             cres = self._compiler.compile(args, return_type)
660             self.add_overload(cres)
661             self._cache.save_overload(sig, cres)
~\Anaconda3\lib\site-packages\numba\dispatcher.py in compile(self, args, return_type)
81                                       args=args, return_type=return_type,
82                                       flags=flags, locals=self.locals,
---> 83                                       pipeline_class=self.pipeline_class)
84         # Check typing error if object mode is used
85         if cres.typing_error is not None and not flags.enable_pyobject:
~\Anaconda3\lib\site-packages\numba\compiler.py in compile_extra(typingctx, targetctx, func, args, return_type, flags, locals, library, pipeline_class)
953     pipeline = pipeline_class(typingctx, targetctx, library,
954                               args, return_type, flags, locals)
--> 955     return pipeline.compile_extra(func)
956
957
~\Anaconda3\lib\site-packages\numba\compiler.py in compile_extra(self, func)
375         self.lifted = ()
376         self.lifted_from = None
--> 377         return self._compile_bytecode()
378
379     def compile_ir(self, func_ir, lifted=(), lifted_from=None):
~\Anaconda3\lib\site-packages\numba\compiler.py in _compile_bytecode(self)
884         """
885         assert self.func_ir is None
--> 886         return self._compile_core()
887
888     def _compile_ir(self):
~\Anaconda3\lib\site-packages\numba\compiler.py in _compile_core(self)
871         self.define_pipelines(pm)
872         pm.finalize()
--> 873         res = pm.run(self.status)
874         if res is not None:
875             # Early pipeline completion
~\Anaconda3\lib\site-packages\numba\compiler_lock.py in _acquire_compile_lock(*args, **kwargs)
30         def _acquire_compile_lock(*args, **kwargs):
31             with self:
---> 32                 return func(*args, **kwargs)
33         return _acquire_compile_lock
34
~\Anaconda3\lib\site-packages\numba\compiler.py in run(self, status)
252                     # No more fallback pipelines?
253                     if is_final_pipeline:
--> 254                         raise patched_exception
255                     # Go to next fallback pipeline
256                     else:
~\Anaconda3\lib\site-packages\numba\compiler.py in run(self, status)
243                 try:
244                     event("-- %s" % stage_name)
--> 245                     stage()
246                 except _EarlyPipelineCompletion as e:
247                     return e.result
~\Anaconda3\lib\site-packages\numba\compiler.py in stage_objectmode_frontend(self)
461         if self.flags.enable_looplift:
462             assert not self.lifted
--> 463             cres = self.frontend_looplift()
464             if cres is not None:
465                 raise _EarlyPipelineCompletion(cres)
~\Anaconda3\lib\site-packages\numba\compiler.py in frontend_looplift(self)
433                               self.args, self.return_type,
434                               outer_flags, self.locals,
--> 435                               lifted=tuple(loops), lifted_from=None)
436             return cres
437
~\Anaconda3\lib\site-packages\numba\compiler.py in compile_ir(typingctx, targetctx, func_ir, args, return_type, flags, locals, lifted, lifted_from, is_lifted_loop, library, pipeline_class)
1015                                   args, return_type, flags, locals)
1016         return pipeline.compile_ir(func_ir=func_ir, lifted=lifted,
-> 1017                                 lifted_from=lifted_from)
1018
1019
~\Anaconda3\lib\site-packages\numba\compiler.py in compile_ir(self, func_ir, lifted, lifted_from)
383
384         self._set_and_check_ir(func_ir)
--> 385         return self._compile_ir()
386
387     def stage_analyze_bytecode(self):
~\Anaconda3\lib\site-packages\numba\compiler.py in _compile_ir(self)
891         """
892         assert self.func_ir is not None
--> 893         return self._compile_core()
894
895
~\Anaconda3\lib\site-packages\numba\compiler.py in _compile_core(self)
871         self.define_pipelines(pm)
872         pm.finalize()
--> 873         res = pm.run(self.status)
874         if res is not None:
875             # Early pipeline completion
~\Anaconda3\lib\site-packages\numba\compiler_lock.py in _acquire_compile_lock(*args, **kwargs)
30         def _acquire_compile_lock(*args, **kwargs):
31             with self:
---> 32                 return func(*args, **kwargs)
33         return _acquire_compile_lock
34
~\Anaconda3\lib\site-packages\numba\compiler.py in run(self, status)
252                     # No more fallback pipelines?
253                     if is_final_pipeline:
--> 254                         raise patched_exception
255                     # Go to next fallback pipeline
256                     else:
~\Anaconda3\lib\site-packages\numba\compiler.py in run(self, status)
243                 try:
244                     event("-- %s" % stage_name)
--> 245                     stage()
246                 except _EarlyPipelineCompletion as e:
247                     return e.result
~\Anaconda3\lib\site-packages\numba\compiler.py in stage_objectmode_backend(self)
709         """
710         lowerfn = self.backend_object_mode
--> 711         self._backend(lowerfn, objectmode=True)
712
713         # Warn, deprecated behaviour, code compiled in objmode without
~\Anaconda3\lib\site-packages\numba\compiler.py in _backend(self, lowerfn, objectmode)
685             self.library.enable_object_caching()
686
--> 687         lowered = lowerfn()
688         signature = typing.signature(self.return_type, *self.args)
689         self.cr = compile_result(
~\Anaconda3\lib\site-packages\numba\compiler.py in backend_object_mode(self)
657                                      self.library,
658                                      self.func_ir,
--> 659                                      self.flags)
660
661     def backend_nopython_mode(self):
~\Anaconda3\lib\site-packages\numba\compiler.py in py_lowering_stage(targetctx, library, interp, flags)
1146     with targetctx.push_code_library(library):
1147         lower = pylowering.PyLower(targetctx, library, fndesc, interp)
-> 1148         lower.lower()
1149         if not flags.no_cpython_wrapper:
1150             lower.create_cpython_wrapper()
~\Anaconda3\lib\site-packages\numba\lowering.py in lower(self)
175         if self.generator_info is None:
176             self.genlower = None
--> 177             self.lower_normal_function(self.fndesc)
178         else:
179             self.genlower = self.GeneratorLower(self)
~\Anaconda3\lib\site-packages\numba\lowering.py in lower_normal_function(self, fndesc)
216         # Init argument values
217         self.extract_function_arguments()
--> 218         entry_block_tail = self.lower_function_body()
219
220         # Close tail of entry block
~\Anaconda3\lib\site-packages\numba\lowering.py in lower_function_body(self)
241             bb = self.blkmap[offset]
242             self.builder.position_at_end(bb)
--> 243             self.lower_block(block)
244
245         self.post_lower()
~\Anaconda3\lib\site-packages\numba\lowering.py in lower_block(self, block)
256             with new_error_context('lowering "{inst}" at {loc}', inst=inst,
257                                    loc=self.loc, errcls_=defaulterrcls):
--> 258                 self.lower_inst(inst)
259
260     def create_cpython_wrapper(self, release_gil=False):
~\Anaconda3\lib\contextlib.py in exit(self, type, value, traceback)
128                 value = type()
129             try:
--> 130                 self.gen.throw(type, value, traceback)
131             except StopIteration as exc:
132                 # Suppress StopIteration unless it's the same exception that
~\Anaconda3\lib\site-packages\numba\errors.py in new_error_context(fmt_, *args, **kwargs)
667         from numba import config
668         tb = sys.exc_info()[2] if config.FULL_TRACEBACKS else None
--> 669         six.reraise(type(newerr), newerr, tb)
670
671
~\Anaconda3\lib\site-packages\numba\six.py in reraise(tp, value, tb)
657         if value.traceback is not tb:
658             raise value.with_traceback(tb)
--> 659         raise value
660
661 else:
LoweringError: Failed in object mode pipeline (step: object mode frontend)
Failed in object mode pipeline (step: object mode backend)
(<class 'numba.ir.StaticRaise'>, <numba.ir.StaticRaise object at 0x000002036AA284A8>)
File "cholesky.py", line 13:
def chol_update(self, L, X):         # see paper page 798,     A' = A + x*x^T
assert L.shape[1] == X.shape[0], "cholesky lower triangle matrix dim != word vec dim"
^
[1] During: lowering "raise <class 'AssertionError'>('cholesky lower triangle matrix dim != word vec dim')" at C:\Users\elias\OneDrive\Skrivbord\masterthesis\GuassianLDA\GaussianLDA_Mannual\fasttext\BiLingual\cholesky.py (13)
This should not have happened, a problem has occurred in Numba's internals.
Please report the error message and traceback, along with a minimal reproducer
at: https://github.com/numba/numba/issues/new
If more help is needed please feel free to speak to the Numba core developers
directly at: https://gitter.im/numba/numba
Thanks in advance for your help in improving Numba!

The algorithm coded above called Rank 1 update and rank 1 downdate which can be found in Wikipedia.

Thanks for the report. Just guessing from the error message, I'd say that this is a similar issue to https://github.com/numba/numba/issues/4185, which has been fixed. Which version of Numba are you using? The latest is 0.46.0, and is available on the numba channel, please try that:
conda install -c numba numba=0.46.0

Thanks.

If you are new to Numba, perhaps take a look at the 5 minute guide first and/or click one of the Try Now buttons here http://numba.pydata.org/ to open up an interactive Numba demo in your browser, this one demonstrates the basics. I am suggesting this on the basis that you are using @jit without nopython=True, which permits the Numba compiler to fall back to generating slower "object mode" code.

I installed the new version but still I get the same error, It might be because of that my jupyter still use previouse version as default, since when I ask about the running version after importing it shows: 0.44.1
Do u know how to uninstall the previouse version or fix the problem in other manner?

@EliasKB updating Numba largely depends on how you installed Jupyter.

I deleted numba and installed it again, it helped.
Thanx

@EliasKB thanks for reporting back on this. I will now close this issue.

authors: EliasKB esc stuartarchibald