Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"

Just update my app to xcode 8 and swift 2.3. Since then, Apple's notifications have been broken. I check in logs and I have this error message Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"
I restart from scratch and setup a hello world project, recreated my p12 key, copy/paste the content of this file https://github.com/firebase/quickstart-ios/blob/master/messaging/FCMSwift/AppDelegate.swift in my AppDelegate and I still have the same issue...
Here's my pods version:

Firebase (3.6.0)
FirebaseAnalytics (3.4.2)
FirebaseInstanceID (1.0.8)
FirebaseMessaging (1.2.0)

Provisioning Profile is in auto mode and everything seems to be valid. Push notifications are Enabled in Dev mode on my apple account.
Here's my logs:
2016-09-27 12:04:46.813: <FIRMessaging/INFO> FIRMessaging library version 1.2.0
2016-09-27 12:04:46.874 test_storyboard[29198:] <FIRAnalytics/INFO> Firebase Analytics v.3402000 started
2016-09-27 12:04:46.875 test_storyboard[29198:] <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/Y0Yjwu)
2016-09-27 12:04:46.891: <FIRInstanceID/WARNING> FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2016-09-27 12:04:46.891: <FIRInstanceID/WARNING> Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"
2016-09-27 12:04:46.898: <FIRMessaging/WARNING> FIRMessaging AppDelegate proxy enabled, will swizzle app delegate remote notification receiver handlers. Add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2016-09-27 12:04:46.970 test_storyboard[29198:] <FIRAnalytics/INFO> Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
2016-09-27 12:04:46.991: <FIRMessaging/WARNING> FIRMessaging registration is not ready with auth credentials
2016-09-27 12:04:47.935 test_storyboard[29198:] <FIRAnalytics/INFO> Firebase Analytics enabled

I checked with Swift3 and it's the same issue.
Any help or test / debug info that I can add will be helpful !

Same here, any update on this?

+1

+1

+1 Does anyone find any solution for this?

Unchecking/checking Push notifications capability solved the problem for me, Xcode added a missing entitlement file to my project and it worked.
This post helped me.

I did that before and I already have an project.entitlements file with APS Environement = development and an item0 to my keychain access groups equal to my project id

+1

Did you forget to turn on the push notifications under the project targets capabilities. It works for me.

@hellohelloye https://www.youtube.com/watch?v=p85xwZ_OLX0 :)

Can you check whether the code has the registerForRemoteNotifications in the right place? https://github.com/firebase/quickstart-ios/blob/master/messaging/FCMSwift/AppDelegate.swift#L50 - note that it was in the wrong place in the sample for a while (which was a  bug, sorry!) - so wasn't being called in the iOS 10 scenario

@ianbarber Yes I already saw that, is there a way to get more debug info?

I'm not sure if I should open another issue, but I have the same problem, however I am not using any Push or Notification capabilities. I have a tableView which gets filled with stuff from my Firebase Database, it worked all the time, now I'm getting the same domain error.
Therefore, +1.

same here

+1 I have same problem, but in Objective C

I found an answer that worked for me here https://forums.developer.apple.com/thread/63726.
Apparently the APNS environment is set to development no matter what (even if you change it in the .entitlements file) until you deploy it to testflight. This means you have to create a development cert on the apple dev page & upload that to the Firebase messenger dev key.

Thanks for your feedback @bigh4nds, but it doesn't seem to be related to my issue. I'm already setup as development and my p12 key is uploaded and valid in the firebase console.

@arnaudlamy Did you find an answer ?

No I'm still stuck...
Le mar. 18 oct. 2016 à 19:32, Tiropz<EMAIL_ADDRESS>a écrit :

@arnaudlamy https://github.com/arnaudlamy Did you find an answer ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/quickstart-ios/issues/111#issuecomment-254580792,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADarZhqD3atfx6fun3rU1BhmZEMWlkSrks5q1QKagaJpZM4KHeeZ
.

I have exactly the same problem.
Push notification is enabled:

My certificates and provisioning profiles area valid. I'm using match to generate them. Also, I'm using the same code that can be found here: https://github.com/firebase/quickstart-ios/blob/master/messaging/FCM/AppDelegate.m
2016-10-19 09:02:04.813: <FIRMessaging/INFO> FIRMessaging library version 1.2.0
2016-10-19 09:02:05.090: <FIRInstanceID/WARNING> FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2016-10-19 09:02:05.090: <FIRInstanceID/WARNING> Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"
2016-10-19 09:02:05.094: <FIRMessaging/WARNING> FIRMessaging AppDelegate proxy enabled, will swizzle app delegate remote notification receiver handlers. Add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2016-10-19 09:02:05.099 BaneseHomologacao[2869] <Debug> [Firebase/Core][I-COR000001] Configuring the default app.
2016-10-19 09:02:05.111 BaneseHomologacao[2869:] <FIRAnalytics/INFO> Firebase Analytics v.3404000 started
2016-10-19 09:02:05.112 BaneseHomologacao[2869:] <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/Y0Yjwu)
2016-10-19 09:02:05.117 BaneseHomologacao[2869:] <FIRAnalytics/INFO> Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
2016-10-19 09:02:05.191 BaneseHomologacao[2869:] <FIRAnalytics/WARNING> The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
2016-10-19 09:02:05.227 BaneseHomologacao[2869:] <FIRAnalytics/INFO> Firebase Analytics enabled
2016-10-19 09:02:05.289: <FIRInstanceID/WARNING> APNS Environment in profile: development
2016-10-19 09:02:06.214 BaneseHomologacao[2869] <Debug> [Firebase/Core][I-COR000019] Clearcut post completed.
``

It works when I build the app using my production certificate + adhoc provisioning  profile. The problem seems to be only when signing with the development profile.

This solution might help you.

@Ulanmax I don't have that code line.

Me neither

Does anyone find solution for this problem?

Did somebody found a solution?

I'm also having this same issue!

Hi @arnaudlamy the warning Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)" are expected, we are working on improving it. FCM attempts several times to fetch the APNs token, it should eventually successfully fetch it.
So to be clear in your case, the initial fetch is failing but there are no subsequent attempts?

I battled this all day yesterday and eventually realized that even though it is reporting that it failed to fetch the token, it actually appears to be succeeding.
Obviously, be sure your Capabilities are properly set, you've followed the setup guide throughly, and that you have a valid .entitlement file.  (pro tip, leave the APN Environment to development always)
TL;DR: This error message is a redherring, pushes are working perfectly for us even though we are seeing this error.

@cameronehrlich Yeah we are working on making the message better, however I think that @arnaudlamy is not able to receive messages. @arnaudlamy could you confirm?

While I have your attention, can you please give us control over the logs?  My console is jam packed with firebase logs all the time!

I've been battling this all day- exact same log as @hdoria , using development certs, and it is not letting me subscribe to a topic. in the firebase messaging console I get- 'This project does not have any topics'.

@ackleymi I was having that issue and then I read somewhere that you can't subscribe to the topics immediately after receiving a token.  I introduced a slight delay and it worked.  Also, make sure you do all the necessary configuration beforehand.

Meh a timed delay is something I might have to begrudgingly accept. Subscribing to a topic on app start-up seems like a pretty common use case. @kroikie thoughts?

Would also be nice if
- (void)subscribeToTopic:(nonnull NSString *)topic;

and
- (void)unsubscribeFromTopic:(nonnull NSString *)topic;

had a completion block for error handling.

I solved this issue with this guide: https://developers.google.com/cloud-messaging/ios/ios-migrate-fcm. I removed FirebaseAppDelegateProxyEnabledflag in Config.plist and problem solved. Hope it will help.

There are two method to register APN token: Enabling/disabling method swizzling.

Sorry about the late answer, it failed after the first attempt. My credentials were ok before I updated to XCode 8, so I suppose there are still good. I did restart everything from scratch on a hello world project with a new credential and still the same issue but I didn't test it since a long time now but I didn't received any notifications. I will test it again on Monday and try as well to remove proxy flag in plist . Thank you for your answers.

Have been facing exactly the same issue (along with the code 1001). Getting the FCM token properly but it is not able to get the APNS token (IOS 9.3) and hence no notifications both in foreground and background mode.
Certificates are valid. Tried pushing directly via Firebase console and also using the cordova-plugin-fcm plugin (which works properly for android).
Push notification, Background Mode->Remote notification, Keychain sharing has been enabled.
Certificate files and Provision Profiles are correct.
Tried with and without FirebaseAppDelegateProxyEnabledflag in the Plist file.
I am tired after Googling so much and finally leading to this thread. Please help.

Also, looks like the Firebase console does not accept .p8 files yet. So, I am sticking to .p12 files which are generated.

@ianbarber, The link is broken. The current sample code in the documentation is still incorrect. The completion block is empty. Will this error message be fixed?

@tvvignesh it looks like you do connect to FCM there. Presumably you're not seeing the message. Here's the debugging steps I would go for :

Use a real device, and check it has a network connection (wifi or cell)
Log your Instance ID where you call FCM connect ([[FIRInstanceID instanceID] token];)
With the app foregrounded, go to the notification console in the Firebase Console and send a message to the instance ID you logged to the console. This is delivered via FCMs own connection.
Close the app and send the same message from the console. This is delivered via APNs. It should display as a user visible notification, and tapping should launch the app.

Failures here:
Step 1: If you aren't getting an instance ID logged out (ignore warnings)

check that push notifications are enabled in your apps capabilities
check that you are calling registerForRemoteNotifications in your app delegate.
If iOS 9 check you're calling registerUserNotificationSettings
If iOS 10 check you're calling requestAuthorizationWithOptions
Add application:didFailToRegisterForRemoteNotificationsWithError and check for errors in retrieving the APNs token.

Step 2: Message not received when foregrounded

Check you are calling connectWithCompletion on FIRMessaging (and disconnect later!)
iOS 10: Check you have defined applicationReceivedRemoteMessage:remoteMessage
iOS 9: Check you have defined application:didReceiveRemoteNotification

Step 3: Message not displayed while backgrounded, or can't see data.

Check the message is set to high priority in the console (this is the default). Normal messages are only delivered when apps are foregrounded.
iOS 10: check you are implementing userNotificationCenter:didReceiveNotificationResponse:completionHandler to receive the message on tap.
Check another network in case something is blocking the APNs connection.

If that all works, we know APNs and FCM are working for basic notification messages. If API messages aren't being received, we need to look at the specific message being sent.

@ianbarber
Im also hitting a brick wall with migrating from Parse Push to Firebase
Ive taken the sample apps from the two frameworks and only changed the bundle Id and the GoogleService-Info to match our project on Firebase console
Im getting both FCMs connection messages and  messages delivered via APNs
Still getting:   <FIRMessaging/WARNING> Failed to subscribe to topic Error Domain=com.google.fcm Code=501 "(null)"
Im using postman to send message to topic.
{
"to": "/topics/user_32",
"data": {
"message":"This is a Topic Message!"
},
"notification": {
"title": "Kitten Alert!",
"body": "I Love Kittens alot"
}
}
On two devices its working , but on a third device not
Will the Firebase Framework sort this out by retrying to subscribe ?
If not can any one shed some light on this issue

@raimondo : thats good progress if you've got it on two devices! Is anything different with the third (e.g. is the code different, is the user ID string unusual, or is it on a different version of iOS?). I think that the 501 issue on subscribing is different - so it might be easiest to create a new issue too.

The code is exactly the same , its the same app with no changes
It doesn't seem to be device or OS specific - IOS9 Iphone6 not working, IOS10 iPhone5s working and IOS8 iPhone 4s working
Im not sure what you mean by the 501 issue on subscribing is different - so it might be easiest to create a new issue too
Could you elaborate please

@raimondo, Are you trying to subscribe to multiple topics at the same time? If yes, then it's a known issue being discussed here: #146 (comment).

Given that @raimondo is sending to topics/user_32 I'm assuming that the app is subscribing to multiple topics and somewhere along it is failing to subscribe.
We are working on a fix for the subscriptions and I will update here when it is available.

@revolter @kroikie Each user subscribes to two topics, a unique user ID topic and a general marketing topic

If the calls are one after the other, then yes, chances are that one of them will fail with the current SDK version.

Hi, to get the same error, what I do was:

add in info.plist "FirebaseAppDelegateProxyEnabled" (Boleean) = NO
Uncomment line 143
Add after line 143: print("The FCM token is: " + FIRInstanceID.instanceID().token()! as String)
There you got! The fcm token!

Still appear the error, but I think is generated because try to get it before register in APNS with deviceToken.
Hope it helps!

Even today i am facing the same issue .. Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"

@UmaMadhavi I also have this warning message, but follow the steps I posted and you will get access to the FCM Token.

I am facing same issue. Nothing worked so far.

Same problem here, been struggling with this for days...
it seems to work in the foreground the first time the app in installed, but when I put it in the background then start it again, can't receive notifications even in foreground then.
Indeed, putting into background disconnected  from FCM then the token is not obained...
2016-12-28 14:45:02.600406 Metalplay PREPROD[2163:1465109] Disconnected from FCM 2016-12-28 14:45:18.139: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=0 "(null)" 2016-12-28 14:46:00.141: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=0 "(null)" 2016-12-28 14:47:02.012: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=0 "(null)" 2016-12-28 14:47:02.012: <FIRInstanceID/WARNING> Failed to retrieve the default GCM token after 5 retries
Totally stuck...

Found the reason why I could not make it work, filed another issue:  #206

It's unbelievable, has been month and this issue still occurs. Even with a fresh new app. Firebase for IOS is completed fucked up, because Android version works fine.

@caioremedio I not agree with your comment, I posted the solution some comments ago, I got fully working iOS and Android Push Notifications using FCM.
Please people, this is a WARNING message from FCM, not an error, should appear? I don't think so... but is not an stopper to your great project.
Don't stop coding! Cheers

@dopra Your solution was already implemented. It is not just a warning message, the generated token was invalid for some reasons and I was unable to send push (was getting Not Registered from Firebase server). I had to wait an hour for a token to be generated, then I was able to send. It's the 3rd time that this happens.
So yes, this is an issue.

Hi @caioremedio, happy to help! I don´t know what could be happening, I don't faced that kind of delay either in my project or a push test app, let me know if I could help in any way.
BR

I have this problem
can any one help me please

I have the same issue, Im just keep calling application.registerForRemoteNotifications() if I can't get the token.

I was getting this error but after some investigation, I found another JavaScript error, which was apparently totally unrelated but surprisingly, fixing that error fixed the issue and I got the token. So, make sure you don't have other errors in the code.
Though, fixing this issue did not solve my problem as I faced the very next (#237) where the app doesn't get notification in the background for iOS. After several days of struggle, I finally removed everything and went for Ionic Push which is working great now.

Spent 3 hours trying to fix this only to realize that push still worked even with this error logged.

I've got same error Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)" and was tackling around but still got same error.
After all, I deleted my app from device and rebuild it then it worked.

2017-02-15 16:42:09.931: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=0 "(null)"
2017-02-15 16:42:09.931: <FIRInstanceID/WARNING> Failed to retrieve the default GCM token after 5 retries :(

+1

After I working with problem for long time I solved it. The way I do is I request the token at the time that application connect with FCM
` func connectToFcm() {
// Won't connect since there is no token
guard FIRInstanceID.instanceID().token() != nil else {
return;
}
    // Disconnect previous FCM connection if it exists.
    FIRMessaging.messaging().disconnect()

    FIRMessaging.messaging().connect { (error) in
        if error != nil {
            print("Unable to connect with FCM. \(error)")
        } else {
            let token = FIRInstanceID.instanceID().token()
            print("Connected to FCM. Token \(token)")

        }
    }
}

`
During connect to FCM I declare token variable and print it out.
This solution works for me

Additional, before I did my last comment solution I also get instance id token only first time that the app running after installed. but after I rebuild the app It's show Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)" . After I delete app and install it again token comes but  it's generated new token everytime I re-installed the app. However what I want is I want application know InstanceID token everytime an app running in to AppDelegate. I try above solution and it's work fine.

Hi Guys,
I faced a really strange situation.we have android and ios app.android app works really fine with firebase cloud messaging but ios app works only with vpn.FYI we are developing inside iran.please help me if you can.thanks alot

Hi Guys Solved this issue
I have created the ios app with development provision profile.
I just need to set the Date&Time of iOS Phone to automatic. Then i finally get the device token.
Other Possible reasons for this issue:
Device date was not set to the current date.
Bundle ID is not same that one you set in GoogleService-Info.
.p12 certificate uploaded on Firebase Console is not correct.
https://stackoverflow.com/questions/37443334/how-to-fix-failed-to-fetch-default-token-error
Regards
Shakti
love you guys :)

if none of above worked for you...
i was facing this problem too, in IRAN, thanks to all google... we are blocked ... i was facing this problem about 5 days and try every tutorial in net... but nothing solve my problem, Domain=com.firebase.iid not responds and it doesnt give me a token... but when i connect to a VPN then connection between device and iid.firebase.com domain established and token generated, try connecting to VPN and check again.

i have same issue
failed to fetch default token error domain=com.firebase.iid code=501
today spend 4 hours on this
and finally got issue and thats
my iphone time is wrong (manually i set diff time for testing)
so once check time when you have request firebase token.

is there a difference between android and ios plugin token generator? our android app simply connect and get his token, but our IOS application cant get token and  receive this error ... com.firebase.iid
please do something about this or give a replacement strategy, something to set firebase token manually
thanks for all your good jobs

i have same issue..is there any updates?
thnx!!

can check you time zone in mobile

conform google json file
conform p8 key upload

On Mon, Nov 13, 2017 at 12:38 PM, udayBabariya<EMAIL_ADDRESS>wrote:

i have same issue..is there any updates?
thnx!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/firebase/quickstart-ios/issues/111#issuecomment-343831834,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADxzf3huqtIvsvMQ90gF282onZWgHsfCks5s1-rXgaJpZM4KHeeZ
.

--
Mobile Application developer-Hitesh G. S. +919898203045


Update Dockerfile

This PR contains a few updates to the Dockerfile to simplify instructions, reduce overall layers, and improve layer caching.

Use build-base packages to cover build dependencies.
Remove yarn cache clean
The docker image should already have an empty cache
Install dumb-init via package manager
Use --quiet flag for apk add
Copy package.json, yarn.lock and packages/ before yarn install
Use --frozen-lockfile --quiet flags on yarn install
Copy application files after yarn install to cache dependencies
Give deploy user permissions to entire /app directory

cc/ @izakp
This also addresses some permission issues when running hokusai dev start locally:
force_1        | ERROR in ./src/desktop/apps/auction/client.js
force_1        | Module build failed (from ./node_modules/babel-loader/lib/index.js):
force_1        | Error: EACCES: permission denied, open '/app/.cache/babel/f60447021ef5554c0d521ec258e35618.json.gz'
force_1        |
force_1        |
force_1        |  @ ./src/desktop/assets/auctions.coffee 8:99-135
force_1        |  @ multi webpack-hot-middleware/client?reload=true ./src/lib/global_modules ./src/desktop/assets/auctions.coffee

I know developers find the comments helpful, so while some of the old ones are outdated, I think it would be good to add some back just to clarify the steps.

Are there particular comments which you think are most helpful? Most of these seem pretty self-explanatory to me.
Installing system packages: apk add
Installing application dependencies: yarn install
I think it might be helpful to rename the yarn assets task to yarn assets:compile so that it's clear what the task is doing.

I think what you've outlined makes sense--
# Install system packages
# Install application dependencies
Added one more suggestion in the comments.


Update normalization-schema-authentication.md

Kinda outdated information. It is 2023 already

Please also change the class in line 115 to Mandatory

fixed

#sign-off


check_syntax: not structured data defined table

Not sure what is wrong here. The Table BDCLM is part of the dependency repository.
node version:     v16.20.2
abaplint version: 2.111.0

Message
./src/nw/#jcs#bc_rsbdcsub_status.prog.abap[37, 1]                            - not structured, bdclm (check_syntax) [E]
Code

Playground
REPORT zfoobar.

DATA:
  BEGIN OF ls_apqle.
    INCLUDE STRUCTURE bdclm.
DATA:
    msgv1    TYPE symsgv,
    msgv2    TYPE symsgv,
    msgv3    TYPE symsgv,
    msgv4    TYPE symsgv,
    longtext TYPE bdc_mpar,
  END OF ls_apqle.

WRITE ls_apqle.

@ed-holland try latest version, 1.112.0, the syntax error reporting has been rewritten, should give less errors ie. the important ones first

@larshp tried the new version abaplint version: 2.112.1
There was no change that i noticed. This is our complete error list
./src/ecc/#jcs#fi.fugr.#jcs#fi_sl_user_table_fields.abap[26, 5]               - Read table, not a table type (check_syntax) [E]
./src/ecc/#jcs#fi.fugr.#jcs#fi_sl_user_table_fields.abap[38, 5]               - Read table, not a table type (check_syntax) [E]
./src/ecc/#jcs#hcm.fugr.#jcs#hr_read_infotype.abap[106, 26]                   - Definition for "CL_ABAP_STRUCTDESCR" not found in scope(AttributeName) (check_syntax) [E]
./src/fcc/#jcs#fcc.fugr.#jcs#fcc_task_documents.abap[1, 10]                   - Variable "NAME" contains unknown: /JCS/FCC_TSK_ITEM-TEXT not found, lookup (unknown_types) [E]
./src/nw_shared/#jcs#nw_shared_sync.fugr.#jcs#bc_rfc_read_table.abap[446, 50] - Definition for "CL_ABAP_TABLEDESCR" not found in scope(AttributeName) (check_syntax) [E]
./src/nw/#jcs#bc_rsbdcsub_status.prog.abap[39, 23]                            - not structured, bdclm (check_syntax) [E]
./src/nw/#jcs#bc_rtts.prog.abap[54, 37]                                       - Method "get_table_line_type" not found, methodCallChain (check_syntax) [E]
./src/nw/#jcs#bc_rtts.prog.abap[54, 37]                                       - Method "get_table_line_type" not found, methodCallChain (check_syntax) [E]
./src/nw/#jcs#bc_rtts.prog.abap[59, 42]                                       - Method "get_components" not found, methodCallChain (check_syntax) [E]
./src/nw/#jcs#bc_rtts.prog.abap[59, 42]                                       - Method "get_components" not found, methodCallChain (check_syntax) [E]
./src/nw/#jcs#bc.fugr.#jcs#bc_xbp_job_add_abap_step.abap[489, 32]             - "valid_pri_params" not found, Target (check_syntax) [E]
./src/nw/#jcs#sql.fugr.#jcs#lsqlf01.abap[72, 45]                              - Definition for "CL_ABAP_TABLEDESCR" not found in scope(AttributeName) (check_syntax) [E]
./src/nw/#jcs#sql.fugr.#jcs#lsqlf02.abap[86, 37]                              - Method "get_table_line_type" not found, methodCallChain (check_syntax) [E]
./src/nw/#jcs#sql.fugr.#jcs#lsqlf02.abap[91, 42]                              - Method "get_components" not found, methodCallChain (check_syntax) [E]
./src/nw/#jcs#sql.fugr.#jcs#sql_read_view.abap[154, 45]                       - Definition for "CL_ABAP_TABLEDESCR" not found in scope(AttributeName) (check_syntax) [E]
/tmp/abaplint-LjCnCo/src/sbdc/rsbdcil1.prog.abap[35, 28]                      - not structured, BDCLM (check_syntax) [E]
abaplint: 16 issue(s) found, 972 file(s) analyzed


Represent request method as enum instead of string

With enumerable it makes it way easier to setup routing or in general match against request method. There is even built in std.http.Method enum that provides set of such methods available.

I'm not sure if it makes sense because in a request a method is represented as a string and you need anyway to compare against string. For example, Golang's net/http package also defines methods as strings https://pkg.go.dev/net/http#pkg-constants


ARROW-14935: [Ruby]Add Temporal Data Type

This PR adds temporal data type.

Could you open a new sub-task of ARROW-13808 instead of associating this pull request to ARROW-13808?
Because this pull request doesn't cover all features described in ARROW-13808.

Thanks kou!
I modified it!


Athena does not show up in DB list when trying to create a new connection

Description
I am trying to create a new Athena connection from dBeaver CE.  But Athen doesn't show up in the list
How can I set-up a connection to Athena from by dBeaver client ?
Thank you

DBeaver Version
dBeaver CE 23.0.4
Operating System
MacOS Ventura - 13.3.1
Database and driver
No response
Steps to reproduce
Try to create a new Database Connection
Want to create a connection with Athena but it is not in the list
Additional context
No response

Sorry, just saw that the symbol for Athena has changed. I should be good

Would like to delete the issue, but don't see that option.


setBorderColor in class CSSBackgroundDrawable not working with given types

i tried implementing the example in this repo and got the following error:
method setBorderColor in class CSSBackgroundDrawable cannot be applied to given types;
getReactViewBackground().setBorderColor(
^
required: int,Integer
found:    int,int,int
reason: actual and formal argument lists differ in length

Duplicate of #106

This looks like an issue with React Native 0.76.
I just released 0.15.1 that works with 0.76 (but not older React Native versions).
The only caveat is that it currently does not work with new architecture.


fix: dont include enum check constraint in type

Resolves: #2343
I'm not super confident about this particular fix, however it does seem to revert the original behaviour back to how it worked in 4.x.

Codecov Report

Merging #2347 (4669839) into master (0ea76b9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #2347   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          186       186
  Lines        10287     10293    +6
  Branches      2249      2253    +4
=========================================
+ Hits         10287     10293    +6

Impacted Files
Coverage Δ

packages/sqlite/src/SqlitePlatform.ts
100.00% <ø> (ø)

packages/knex/src/schema/DatabaseTable.ts
100.00% <100.00%> (ø)

packages/knex/src/schema/SchemaComparator.ts
100.00% <100.00%> (ø)

packages/postgresql/src/PostgreSqlPlatform.ts
100.00% <100.00%> (ø)

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 0ea76b9...4669839. Read the comment docs.


Feature Request: Add Signature Hex to Unsigned Transaction (without requiring PSBT format)

This is a niche use-case, but I'm experimenting with Ledger multisig TX signing and ledger client returns raw signatures (not a PSBT with the signatures nicely inserted).
I wrote a hackey-script to put the signatures into the PSBT, but it'd be great if Sparrow would let me just paste the signature directly. In this instance, I'm trying to add the following 2 sigs to a transaction that Sparrow cannot sign (doesn't have the private keys):

3044022060a8209a3b60f53cc69de53e9ab5444ff46ad5bd7a278b5d47bdf24432971df90220591f315d2981411feee899b45cfd32b3faa2c3b4b79ef450733d0c1dcefc395401
3044022008734ff9ca6197dfc325c7cfcda4fd58046845180c390a87966a1bab53c3d953022057c8c93878e3bdbddc0aa5e592d0d145fb80e814dc2ebee5bf4759d100b4a2c701

Where it gets a little complicated is that in this case it's a 1-of-2 with 2 inputs, so these are the signature for 1 key for the first and second input.

@mflaxman I had the same problem so I wrote a CLI utility to interface with the Ledger Bitcoin 2.0 app: https://github.com/hodlwave/ledger-bitcoin-app-new-interface. To sign a transaction, you can export the PSBT from sparrow, convert it to a base64 file ($ base64 -w0 test.psbt > test-base64.psbt), run the sign program, and load the updated psbt back into sparrow (CTRL+T).


Remove version: Mullvad.Browser version 13.0

Checks

This is a package removal
Resolve #135228

Checks

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

URL: https://github.com/mullvad/mullvad-browser/releases/download/13.0/mullvad-browser-windows-x86_64-portable-13.0.exe
Response status code does not indicate success: 401 (Unauthorized).
(Automated message - build 627)


Add jaeger as datasource to Grafana

This adds jaeger as a datasource for trace data to Grafana when provisioning.

Looks good! I think the grafana bullet point in the main README could also be updated to mention traces.

Any reason why do we need that in this demo?

@julianocosta89 it's an out of the box feature of Grafana. - It enables viewing traces and metrics side by side and stays in the OpenSource track.
Jaeger is still the main store for the trace data. - Hence I dont think there is an issue adding this. It's lesser a thing we need in the demo, but we get it for free - why not enable it?

Alright :)
Sure thing - Grafana can provision dashboards from file as well - makes sense to add a set of curated dashboards to the demo.

I would consider this one finished for now - dashboards would be a separate PR :)


(PUP-5926) Allow status override in launchd provider

This commit adds an override of the status method to
the launchd service provider to allow service resources
to utilize a custom status command in conjuction with
hasstatus => false.

CLA signed by all contributors.


[Request] Combat Playlist Toggle/Hotkey

It would be highly practical if there could be either a quick toggle, or perhaps even better, an additional hotkey (configurable, such as CTRL+ALT+C) to start combat without the combat playlist. I often find myself wanting to start a combat without the standard battle music, or more elaborate sounds, and I'd love to have the options to quickly start combat without the playlist in some cases, with it in others.

thanks for the suggestion, I added it to the newest version.


Wallet Issues

I had the old wallet, I originally bought approx 55k xgox coins and put them in to stake, this was about 10 days ago, it said I would get my first stake in approx 3 days, It said that for about 3 days, then went to 2 days, then said that up until now 7 days later. I downloaded the new wallet and been using it for 2 and a half days or so now as I was told this would fix that issue, it didnt. It said 2 days still when I got the new wallet, and now 2 and a half days later, it says 2 days still. I got about 430k weight currently, started with 50k, 0 stakes, and doesnt look like it will ever stake honestly. Cant find any help from google or YouTube or my friends who stake

some problem and wallet now syncing

Still cant get wallet to sync except its a new issue, I got the most
updated wallet that came out like 2 or 3 days ago. I cant figure it out
because no youtube videos on it or google articles either
On Sun, Dec 10, 2017 at 4:36 AM, hsvict<EMAIL_ADDRESS>wrote:

some problem and wallet now syncing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bumbacoin/xgox/issues/4#issuecomment-350545339, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Aff5m_l7rDZrS6Hi4HEBl1GKYJ8saLKXks5s-9A5gaJpZM4QqzDI
.

please come to xgox discord for assistance
https://discord.gg/s4HC8Zb

Check whether your wallet block height tally with xgox block explore, if it is correct then you have nothing to worry about. The longer  wait the higher reward you receive. At time I get my reward after 13 days but it will be higher than that of a week


Bazel-managed nodejs dependencies

Any plans to support the dependency management repository rules provided by bazelbuild/rules_nodejs?
Ie, something like:
ts_library(
  name = "src",
  srcs = glob([
    "*.tsx",
  ]),
  tsconfig = "//web:tsconfig.json",
  deps = [
     "@npm//:typescript",
     "@npm//:react",
  ],
  tags = ["block-network"],
)

instead of using the npm_packages rule?

Hi Michael, not exactly. However you may be interested in the discussion happening in https://github.com/zenclabs/bazel-javascript/issues/19.
In the above example, how would you specify which exact version of typescript, react and all of their dependencies to use, to make sure builds are completely reproducible?

Hi François,
thanks for the reply, #19 was indeed an interesting discussion and puts the complexity of the issue a bit more into perspective :).
As for my example above, the versions of typescript and react are specified in a yarn.lock file, which is included in the workspace as such:
load("@build_bazel_rules_nodejs//:defs.bzl", "yarn_install")

yarn_install(
    name = "npm",
    package_json = "//:package.json",
    yarn_lock = "//:yarn.lock",
)


ParserException: Unexpected input token AMPERSAND

What version of Sass Lint are you using?
0.0.10
Please include any relevant parts of your configuration
Default config file, just installed with npm i sasslint -g
What did you do? Please include the actual source code causing the issue.
Ran sasslint password.scss.
Fails linting this:
.password-row {
  position: relative;
  &.input-row .password {
    html[dir=ltr] & {
      padding-right: 75px;
    }
    html[dir=rtl] & {
      padding-left: 75px;
    }
  }
}

What did you expect to happen?
Lint errors to appear
What actually happened? Please include any error messages given to you by Sass Lint.
ParserException: Unexpected input token AMPERSAND at 3:3.
If you're using a IDE plugin have you tried the CLI too?
This is from the CLI.

Ok, this was dumb.

Didn't even realise this one existed! https://www.npmjs.com/package/sasslint
We've all done it before 👍  you should totally use sass-lint though ;)

@DanPurdy Switched over, and boy, has it been awesome! 💃 Great work guys!!


[data-lifecycle] Remove the data-lifecycle-service

:nut_and_bolt: Description: What code changed, and why?
Removes the data-lifecycle-service and moves all scheduled Purge jobs to cereal workflows. Removes data_lifecycle key from automate config and deprecates values in ingest-service, event-feed-service, and compliance-service that are no longer valid.
:chains: Related Resources
https://github.com/chef/automate/issues/1181
:+1: Definition of Done
The data-lifecycle-service is goneburger and all purge manageable APIs have been migrated to cereal workflows.
:athletic_shoe: How to Build and Test the Change

Start all services
chef-automate config patch with soon-to-be-removed-or-deprecated config

[compliance.v1.sys.retention]
compliance_report_days = 33

[event_feed_service.v1.sys.service]
purge_event_feed_after_days = 33

[ingest.v1.sys.service]
purge_converge_history_after_days = 33
purge_actions_after_days = 33

[data_lifecycle.v1.sys.service]
daily_run_at = "12:34:56"

chef-automate dev stop-converge
Rebuild deployment, ingest, event-feed, and compliance
chef-automate dev start-converge

After converge data-lifecycle should be gone. If you attempt to repatch the config as you did before it should fail with deprecation warnings.
You can also check the purge schedules with:
chef-automate dev grpcurl service-name -- chef.automate.infra.data_lifecycle.api.Purge.Run replacing the service name with any of: compliance-service, ingest-service, and event-feed-service.
:white_check_mark: Checklist

[x] Migrate ingest-service time series purging to cereal workflows.
[x] Delete data-lifecycle-service
[x] Update deployment-service to no longer start data-lifecycle-service
[x] Deprecate data lifecycle config for data-lifecycle-service, ingest-service, event-feed-service and compliance-service
[x] Migrate the compliance data-lifecycle manageable interface to a cereal workflow.
[x] Migrate event-feed manageable interface to a cereal workflow.
[x] Delete data-lifecycle interservice protobufs
[ ] Update dev ports command
[ ] Tests added/updated?
[ ] Docs added/updated?

:camera: Screenshots, if applicable

so at a high level, i worry about that config being deprecated. I think in most cases, it wouldn't matter. But i imagine for things like a1 migration, it very much would. Also, I don't think we can ever remove it because the backwards compatibility thing.

also, i think until we can set the values in the UI, we should accept them from the config
@susanev made an issue: https://github.com/chef/automate/issues/1208

@jaym what about reading the deprecated config and migrating it to the new config as well as warning about deprecation (would it be possible to require user input confirming understanding of the deprecated config options used)? The settings are already going to be migrated as part of an upgrade, right?

@moutons i think this pr will correctly migrate whatever already exists. The change is going to be that it will no longer be settable in the config. There also wont be a UI for it right away. The problem I see with it not being settable in the config is people wont be able to choose a value for things like A1 to A2 migration, and we might end up removing stuff they wanted


kie-issues#117: BPMN Editor: Enable auto population of DMN fields in Business Rule Task

Hi @tiagobento @porcelli here is the PR for the new functionality.
@treblereel @yesamer can you review this PR?
I have uploaded builds to: https://ibm.box.com/s/rqvab9c51hsqrzjvip031fyalbrn5t43
For the online_editor just unzip the file and run pnpm start and head to https://localhost:9001
Note: It will find the dmn files saved to the same directory as the bpmn file being tested.
For the Vs code extension I have included some sample files, File5.dmn is empty just to test it will not creash the logic.
I have tested several edge cases and fixed some issues that came up, let me know if you find any
Closes https://github.com/kiegroup/kie-issues/issues/117

Hi @yesamer changed the parsing strategy as commented by @tiagobento and now the issues you mention do not happen. Tiago, added the code to dmn-language-service as requested. PR is ready for re-review

Hi @tiagobento @pefernan I made changes according to your latest comments, let me know if ok. I found an issue that I am trying to fix, when you select a decision and you select a new file name, sometimes the value stays along with the new values from the file, it does not happen all the time, but will fix it next week, but wanted to get your ok on the code. Thanks

@inodeman Please keep in mind that we can only merge this if the CI is green.

Hi @ederign, @paulovmr can you review?

Hi @inodeman , will leave this one with @pefernan and @tiagobento :)


Increase OAI page size to 1000 records

With memory bumped to 64G it might make sense to try increasing the records/oai file limit to 1000. This is IndexData's ideal per request harvest size.

For context, here's the timings for a request to get Harvard's default stream in current prod. It's pretty fast (thanks to #857, I think), but if you are paging through many pages, the costs adds up.
I think we can ignore the orange and pink bars. Blue is (I'm guessing) the time the server spends doing things like ActiveRecord queries. Green is (again, guessing) the time it takes to download the actual response. If we double the OAI page size and green doesn't show a huge increase, I think we're good to go.


Handlers for semantic tokens, inlay hints

It seems there are no builtin handlers for inlay hints, semantic tokens requests. Will there be any?
Actually, inline hints too.

They do exist, but they are on a language namespace. See https://github.com/microsoft/vscode-languageserver-node/blob/bb6a6ac6b70dd876d2ea90f12d86a1be5414f440/client-node-tests/src/servers/testServer.ts#L419 for an example.


add failing test for embedded refs to schema root

I will be working on a fix for this. I think that the library currently makes some incorrect assumptions about the way that refs should work and that's currently causing issue in other work im trying to do (on basic allOf support). Have a look at this really small test case and see if you agree.

fixed by #560


Light-dependent resistance get value probelm

Hi,
I try to get LDR value by following example on TXTwithPython.pdf page 16-17.
What ever I do, value is always -1, do you have a idea?

Should work now.
This was a bug and has been fixed in version 0.9.11

I download last version and replace ftrobopy_server on Txt.
now I get errors when I execute script
import ftrobopy
txt = ftrobopy.ftrobopy('<IP_ADDRESS>', 65000)  # Connected by USB cable
R = txt.resistor(3)      # Here input 1 is 1
ohm = 0                 # Initialize to nonexisting value
while 1:                 # Start endless loop
txt.updateWait()
newohm = R.value()
if newohm != ohm:
print("Current resistance is {:d} Ohm     \r".format(newohm), end='\r')
ohm = newohm
if newohm == 15000:
break
PS C:\Users\Sebillen\source\Repos\FischerTechnikDemo\TxTPython> py .\LDRreaderOO.py
Connected to  TX2013 firmware version 4.7.0
Received data size ( 0 ) does not match length of format string ( 80 )
Connection to TXT aborted
Traceback (most recent call last):
File "C:\Users\Sebillen\source\Repos\FischerTechnikDemo\TxTPython\LDRreaderOO.py", line 15, in
R = txt.resistor(3)      # Here input 1 is 1
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\site-packages\ftrobopy.py", line 3166, in resistor
self.updateConfig(ext)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\site-packages\ftrobopy.py", line 785, in updateConfig
res = self._sock.send(buf)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
PS C:\Users\Sebillen\source\Repos\FischerTechnikDemo\TxTPython>
PS C:\Users\Sebillen\source\Repos\FischerTechnikDemo\TxTPython> py .\LDRreaderOO.py
Connected to  TX2013 firmware version 4.7.0
Received data size ( 0 ) does not match length of format string ( 80 )
Connection to TXT aborted
Traceback (most recent call last):
File "C:\Users\Sebillen\source\Repos\FischerTechnikDemo\TxTPython\LDRreaderOO.py", line 15, in
R = txt.resistor(3)      # Here input 1 is 1
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\site-packages\ftrobopy.py", line 3166, in resistor
self.updateConfig(ext)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\site-packages\ftrobopy.py", line 785, in updateConfig
res = self._sock.send(buf)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

Error on Txt:
ft@txt40-uBcx:~/workspaces$ ./ftrobopy_server
ftrobopy and ROBOPro Online Server, version 0.9.11, (c) 2022 by Torsten Stuehn
press return to close ftrobopy_server...
got: query status
got: start online
I2C: thread started
I2C: socket opened ... waiting for connection on port 65002
I2C: connection established ... (i2c functionality not yet implemented)
I2C: data received over socket is invalid
I2C: 0 bytes received:
I2C: received invalid i2c command
I2C: unknown command or command not supported
I2C: m_id=0
I2C0 bytes received:
I2C:  --> sending back 4 bytes, m_resp_id=0x1020304
I2C: data received over socket is invalid
I2C: 0 bytes received:
I2C: received invalid i2c command
I2C: unknown command or command not supported
I2C: m_id=0
I2C0 bytes received:
I2C:  --> sending back 4 bytes, m_resp_id=0x1020304

Yes, you are right, there still seems to be a problem with I2C (which is anyhow not really supported yet, but is needed for the Communication with ROBOPro).
I will have a look into that

Hi,
Have you any news?

I uploaded version 0.9.12 with disabled i2c.
ftrobopy_server should work again, including LDR.

Thanks, working fine, continue my tests :)


rusty-psn (egui) opens but it's unresponsive

For some reason, CLI isn't opening, and GUI opens but doesn't do anything, and I'm not sure why

For CLI to open and do stuff you need to pass some arguments. Run it with --help to see usage instructions. I'd need some clarification on GUI opening and not doing anything though.
Both modes generate a session_log.log file when you run them. Please attach those when reporting an issue.

Alrighty but for clarification on the GUI, its opening and all, but its unresponsive, I can't click anything and I can't type in the bar

What's your GPU, and what OS are you running?

currently running 11, GPU is a RTX 3050 Ti

Not gonna lie, kinda forgot about this one (and hoping it'll fix itself). I updated a bunch of dependencies, can you test #15 and see if it makes any difference?
What's your GPU? Trying to find a pattern here, as I can't reproduce on my side on neither Linux nor Windows.

Nvidia GeForce RTX 2070 with Max-Q Design

running it in compatibility mode for windows 8 works for the time being it seems.

Huh, that's weird. I'll try to cook up a build with some extra logging to try to figure something out

Alright, got this build with some more logging to try to figure out where it's getting stuck: https://github.com/RainbowCookie32/rusty-psn/actions/runs/2521144597
Please try to run it normally (without compat mode) and attach the session log @wacc00n @Talon-Phier

session_log.log
sorry about the ait, lots of work

Huh... Well, I didn't change anything other than adding more logging. Can you check if this build also behaves?

Well, closing due to inactivity.
If you can still reproduce on the build I linked, I can reopen.


HBASE-25273 fix typo in StripeStoreFileManager java doc

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 27s
Docker mode activated.


Improvement of the login-process

The login-process needs to be iimproved.
What needs to be done?

Sync Contacts
Sync states of contacts
Sync profile-pictures

Additional details of the login-process can be found here: https://github.com/WHAnonymous/Chat-API/wiki/WhatsAPI-Documentation#fist-login


[SP-3999][PDI-16818] Improvements to RowMeta have slowed down again i…

…n 7.x+

added cache invalidation on changing trans hop`s state

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f ui/build.xml clean-all resolve jacoco && ant -f ui/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  ui/src/org/pentaho/di/ui/spoon/trans/TransGraph.java
  ui/src/org/pentaho/di/ui/trans/dialog/TransHopDialog.java

@mbatchelor @pentaho-lmartins @stepanovdg please review


Hidden component

The Hidden component will be used to hide or show content in a responsive manner. We can do this across three viewport breakpoints aka 'narrow', 'regular' and 'wide'.
It is inspired by Braid design system
This was built to satisfy use cases specific to PageHeader eg -

Here, we want to show different text inside the primary Button based on viewport value.
Merge checklist

[ ] Added/updated tests
[x] Added/updated documentation
[x] Tested in Chrome
[x] Tested in Firefox
[x] Tested in Safari
[ ] Tested in Edge

Hi 👋
Should we start this component in drafts till we feel confident about our responsive story?

Closing this PR.
Basically after discussion with @siddharthkp and reviewing Chakra library, I think it's better we use styled system's responsive props to power this hide behaviour. I will update the API docs accordingly.

After some more thought and trying out the alternative sx way of having responsive css, I'm somewhat gravitating back to the simplicity and utility of this component.
I have addressed existing feedback and moved this component to the drafts folder. I think we should test out the utility before writing off this component.


[Scann] Does example.py uses loss function from the paper?

I'm following the code flow by running example.py and defining search as below,
searcher = scann.ScannBuilder(normalized_dataset, 10, "dot_product").tree(     num_leaves=2000, num_leaves_to_search=100, training_sample_size=250000).score_ah(2, anisotropic_quantization_threshold=0.2).reorder(100).create_pybind()
I was expecting to see the part where it trains codewords with the loss function that was proposed in the paper, but I only see training codewords with GenericKmeans (original kmeans-clustering algorithm).
Does the example.py uses loss function from the paper? If not, how can I change the searcher definition to make it use the loss function from the paper?

The anisotropic_quantization_threshold=0.2 portion results in the loss function from the paper being used. Removing that value or setting it to NaN will change ScaNN to use standard reconstruction loss.

@sammymax  thanks for the explanation, I followed the code and have some few questions.

I found that anisotropic_quantization_threshold=0.2 is being used when training pq codebook at hashes/internal/asymmetric_hashing_impl.cc:189.
if (!std::isnan(opts.config().noise_shaping_threshold()) &&   opts.config().use_noise_shaped_training())
Specifically at this line, it checks whether the threshold was given as parameters and if use_noise_shaped_training is set to True. But I checked that use_noise_shaped_trainig's default value is false (refering ./scann/proto/hash.proto) and its value does not change. In summary, above if clause is never true, so it never enters to function ComputeParallelCostMultiplier. So whatever value I give to anisotropic_quantization_threshold, parallel_cost_multiplier value is always 1.
Assuming 1) problem is resolved, it still calls
ComputeParallelCostMultiplier(opts.config().noise_shaping_threshold(), 1.0, dataset.dimensionality()) at hashes/internal/asymmetric_hashing_impl.cc:191. Refering to the paper, 1.0 should be the norm of the database. It will specially work with glove since we normalized its norms, but for general MIPS problems, norms of the database are not constant. How should we fix it to support dataset with various norms?
How do we set use_noise_shaped_training to True? I can just fix ./scann/proto/hash.proto, but is there any way to set this value via paremter?

I will be very helpful if you answer above questions!

For 2) If they do not have it implemented you will have to calculate/save each heuristic weight value (eq 3 in the paper) and then edit the loss function so it is calculated correctly.
I would assume that "use_noise_shaped_training" is supposed to be set as the noise_shaping_threshold is in scann_builder.py.. however looking at the code that doesn't seem to be the case

Experimenting with changing scann_builder.py causes the runtime of the residual quantitation to explode. ~50x slower.
3283 seconds with the value set to True vs 68 seconds with the value set to False
so I assume that it is correctly doing anisotropic hashing instead of plain k-means
-Assuming- changing this parameter gives the correct behaviour (I have not checked this, just observed runtime differences) you can fix this in a couple ways. One by editing
scann_builder.py's section
@_factory_decorator("score_ah")
to set a variable
noise_shaped_training = not(math.isnan(anisotropic_quantization_threshold)) and (0 <= anisotropic_quantization_threshold)
Then add in the return section of @_factory_decorator("score_ah")
use_noise_shaped_training: {noise_shaped_training}
(pardon any syntax errors)

I found the same problem. so scann default not use "anisotropic hashing/quantization".

Assuming 1) problem is resolved, but gmm.GenericKmeans(...) alway set parameter spherical as false. The new center points of each k-means iteration are not normalized, this will cause the k-means clustering is imbalance and not converged.
I think RecomputeCentroidsWithParallelCostMultiplier(...) should support parameter spherical and normalize the centers.
@sammymax @YJYJLee

I found the same problem, which is changing anisotropic_quantization_threshold from 0.001 to 0.4 results in the same recall-rate, and i have no idea how to fix it. It would be very helpful if the author or contributor can reply.


cmd/vet: false positive, only okay after go install

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.7 darwin/amd64
and
go version go1.7 linux/amd64
What operating system and processor architecture are you using (go env)?
$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/hvn/FOSS/gomeo/godeps:/Users/hvn/FOSS/gomeo"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"

What did you do?
write a package:
package govetbug

import (
       	assert "github.com/stretchr/testify/require"
       	"testing"
)

func TestRandomMergeMapBadRatio(t *testing.T) {
       	BadRatio := 1
       	var err error
       	assert.Error(t, err, "Given bad ratio %d not in range (0,100) but function not fail", BadRatio)
}

then run go vet ./...
What did you expect to see?
main.go:11: possible formatting directive in Error call
exit status 1

What did you see instead?
got empty output.
Then if I run
go install .
go vet ./...

it produces expected error output.
Remove /Users/hvn/FOSS/gomeo/godeps/pkg, run go vet ./..., got empty output again.

Related: https://github.com/golang/go/issues/16086

This is for all practical matters a duplicate of #16086. Go vet relies on existing installed packages, even if they are out of date. Closing.


Build of Elementary OS

Hello, could we get a desktop build of Elementary OS?

Sorry, this won't work.
The pantheon desktop (and budgie desktop, too) is based on Gnome 3.
Gnome 3 has some serious issues and segfaults if running in a container.
Only Cinnamon as a quite early Gnome 3 fork works flawlessly.
I hardly tried Gnome 3, budgie and pantheon about a year ago, but with no success.
A few weeks ago I tried Gnome 3 again, it is still segfaulting. Maybe I'll try next year again.

That's a shame. No problem! Thanks for trying.

It might be possible now to run pantheon desktop in a Docker container.
So far, Gnome 3 and Budgie succeeded. Compare #16


[Bug] Overwriting a variable breaks full resolve of variables

When a variable in sub environment overwrites a variable from base environment, variables used in overwriting variable are not fully resolved by correct priority.
As this is bit hard to explain attaching a test case file: debug.zip
(.zip because github doesn't allow .json)

I got it working with your test case but also got it working with a slightly more challenging example (See commit for test case)

Tested it out too, works perfectly. :+1:

Woo! I was afraid that one would be a lot more difficult


Roll Flutter's ICU version forward to 715ec351c0bcdd6b2d22f36e7d33b8e2ec519846

Using exactly this commit:
https://chromium.googlesource.com/chromium/deps/icu/+/715ec351c0bcdd6b2d22f36e7d33b8e2ec519846
This will align Flutter's use of ICU with that of Fuchsia, which in turn makes Fuchsia upgrades easier.  https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=63289 has more details for those who can access.

This is now fixed.


async/await requires at least node version 8

Sweet!
On Sun, 17 May 2020, 01:43 Robert Myers<EMAIL_ADDRESS>wrote:

Merged #42 https://github.com/nothingisdead/npm-kraken-api/pull/42 into
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nothingisdead/npm-kraken-api/pull/42#event-3343809743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHMYD6DJTVTMMJNPQTMWKLRR3GEJANCNFSM4DYM7ILQ
.


PIP Tensorflow-gpu

I read in docs that for new version of tensorflow gpu support is integrated
so if i run: pip install tensorflow, i have both cpu and gpu support.
Now the question is: why is still present
pip install tensorflow-gpu 2.4.0 ???
https://pypi.org/project/tensorflow-gpu/
anyway
i installed  TS whit command "pip install tensorflow"
if i run
C:\Users\Kit>nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Wed_Jul_22_19:09:35_Pacific_Daylight_Time_2020
Cuda compilation tools, release 11.0, V11.0.221
Build cuda_11.0_bu.relgpu_drvr445TC445_37.28845127_0

so everithink seems fine
also for
C:\Users\Kit>nvidia-smi
Thu Jan 14 08:02:30 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.89       Driver Version: 460.89       CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 105... WDDM  | 00000000:01:00.0  On |                  N/A |
| 35%   14C    P8    N/A /  75W |    758MiB /  4096MiB |      2%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
but when i run
from keras import backend as K
print(tf.config.list_physical_devices('GPU'))
or
import tensorflow as tf
print(tf.test.gpu_device_name())

i can see only cpu
but if i install whit
pip install tensorflow-gpu 2.4.0
i can see cpu AND gpu in python
I'M A BIT CONFUSED

There are CI scripts that still use tensorflow-gpu. So we upload the same pip package (modulo renaming) twice.

There are CI scripts that still use tensorflow-gpu. So we upload the same pip package (modulo renaming) twice.


Website is Down

The https://curated-courses.herokuapp.com home page is saying "Application Error".

Oh no! 😢
Thanks for alerting me to this. I'll troubleshoot this evening or tomorrow and get it straightened out.
Let me know if you have any other thoughts, ideas, criticisms, issues, praise, etc. 😄

@dover20 Heroku turned off my free dyno. 😠
I fixed it and the site should now be up and running at shapesofknowledge.io

I'll update the GitHub project information too.

Sweet! The roadmaps are awesome. I think Shapes of Knowledge is a more fitting name too.


Envoy proxy takes up a lot of RAM

Summary
When deploying an app with the route integrity feature enabled, the deployed envoy proxy takes up a lot more RAM as the documentation states, which can (and did in our deployment) result in a "crash" of the app container as CloudFoundry sees a higher memory usage as it was specified as the max value during the deployment.
Expected Result
The envoy proxy should not take up more memory than the described amount (as documented).
Actual Result
The app container gets restarted by CloudFoundry.
Context
I first asked in the diego support channel in slack and got routed here :)
We've an application, which is not doing so much stuff, which constatntly crashes (Out of Memory) when serving some hundreds of requests. We're sure (as we also checked it locally) that the app does not take up more than 100 MB memory.
The app container itself has 250 MB memory and the app still crashes. Our investigation showed, that not our app is taking up the memory, but the envoy reverse proxy.
All the information that are a result of our investigation are available in the following gist:
https://gist.github.com/FlorianSW/090046027fef348d410041e1137b7f4c
In order to reproduce the problem locally, I started a cfdev environment, enabled the TLS connection from the gorouter to the app instance container and run the same stress test (300 req/s with one app instance) again. However, this time, the app did not crash at all. While looking at the memory consumption of the envoy proxy, it does not go over 34 MB, which looks like the value one would expect when reading the diego-release documentation regarding the proxy.
The cfdev deployment version is 9.0.0
The deployed CloudFoundry version uses the cf-deployment 10.1.0 and did not change anything related to the reverse proxy feature, stated by a colleague of mine.

@FlorianSW We noticed in your deployments that the gorouter has connection keepalive turned off for backends. We suspect at a high rate of requests/sec, additional RAM is taken up because connections are in the TIME_WAIT state and waiting to be cleaned up. Could you please try the following gorouter configuration and let us know if you are still experiencing this OOM killing your app?
Set this value to something larger than 0. We tested with 100.

@n4wei What deployment are you talking about, the local cfdev deployment or the actually deployed one? If the latter, may I ask where you get  this info from? I don't see this config being set in neither of the files I added to the gist (just wanting to understand where this is coming from) :) I'll need to check with the guys who are maintaining the CloudFoundry deployment if we actually are able to change this value :)

@FlorianSW if you do not set https://github.com/cloudfoundry/routing-release/blob/23725ac12e40537f84a2099436881d9d5ccd3493/jobs/gorouter/spec#L169-L171 to a value in your manifest, it will be set to the default of 0 which disables keepalives from the gorouter to backends

To my defense, I wrote the comment in github before checking the comments in the pivotaltracker task :) Anyways: Thanks for the explanation, I thought about that already.
I talked with the guys from the team which manages our CloudFoundry runtime and we'll working on getting the keepalive setting tested. Because of the workload of all of us, it may take some time. However, I'll come back to you as soon as we've the results :)

@FlorianSW - I'm going to go ahead and close this out given the networking team will be changing defaults on the gorouter to enable idle connections/keepalives, and with the assumption that enabling keepalives will address this issue.
ere's the networking team's story for updating the defaults in gorouter that Sunjay mentioned a few days ago: https://www.pivotaltracker.com/n/projects/2245594/stories/168602911
Please feel free to comment and reopen if this issue persists after your keepalive setting is updated/tested or if you'd like to share the results of your analysis. Thanks!

Hi together! :)
We finally got the time to actually try to fix this problem by setting the keepalives to a higher value. First of all, I checked, that the problem also exists on our test environment, just to set the stage correctly.
After that, a colleague of mine changed the gorouter -> properties -> router -> max_idle_connections property to 100 and deployed the change to the test system. I then deployed our little test app from the gist and checked again, if the problem persists or not.
THe result: The memory usage of the envoy proxy seems to be stable at around 24-27 MB when having 100 reqs/s and keeps stying there when increasing the requests per second to up to 300 reqs/s. Also, the number of connections to the envoy proxy are mostly in the area of between 10 and 30 connections, which seems to be pretty stable, reasonable and more as accetable.
So from my point of view, setting the max_idle_connections to a higher value than 0 (as proposed to the networking guys) solves our problem and looks like a solid solution :) Thanks for pointing this out!


Fix deprecation warnings in unit tests

Fixes deprecation warnings in unit tests by marking tests which cover deprecated functionality as @available(*, deprecated) themselves.

@swift-ci please test

@swift-ci please test


How to use an existing settings file?

I can't find a way to re-use an existing settings file for StyleCop 4.8.0 in R# 10.0.2, is there a way to do this?

It should just pick it up automatically. What's the problem that you're seeing?

I currently have StyleCop 4.7.49 installed for Visual Studio 2013 / R# 10.0.2, with an overridden StyleCop.Settings file in the program files directory for StyleCop.
However in VS 2015 the rules that are suppressed in this settings file are not suppressed anymore, so the settings file definitely isn't being picked up automatically, I can't see any option to point to a settings file from ReSharper > Options > Tools > StyleCop either.
What I've tried as a workaround is to set Inspection option to None for each rule I want to suppress then save to a team-shared settings file for ReSharper, that actually works just as well for our purposes, although it also means  hand-editing the ReSharper settings.

Are you using "StyleCop by JetBrains" or "ReSharper.StyleCop"? There have been some bugs fixed in "StyleCop by JetBrains" that relate to loading settings files. If you are using the right one, could you get a small repro, so I can take a look, please?

I've experienced the same behavior as sam-piper. When I read the JetBrains blog post that finally cleared up which extension we should be using, I uninstalled the ReSharper.StyleCop and installed StyleCop by JetBrains. It says that it's a fork, so I was surprised when the "Settings.StyleCop" files I have in my solution folder seemed to be ignored.
I noticed because I have the "require this." rule turned off, but my source was filled with warnings about missing "this".
A couple of sample settings files are attached. Is this style of settings no longer supported? (Extension changes from "StyleCop" to "txt" to satisfy GitHub's upload restrictions.) How are we supposed to configure this extension?
project-specific.txt
all-projects.txt

This isn't really a problem for us anymore - because all the warnings are just normal ReSharper inspections, we just turn them off as desired and save the settings to a team-shared ReSharper solution settings file which is checked into source control.
This has ended up being much easier to use than the old settings file.
Maybe this just needs to be made a little clearer in the release notes for the extension?
Date: Fri, 29 Jan 2016 08:03:48 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [StyleCop] How to use an existing settings file? (#36)
I've experienced the same behavior as sam-piper. When I read the JetBrains blog post that finally cleared up which extension we should be using, I uninstalled the ReSharper.StyleCop and installed StyleCop by JetBrains. It says that it's a fork, so I was surprised when the "Settings.StyleCop" files I have in my solution folder seemed to be ignored.
I noticed because I have the "require this." rule turned off, but my source was filled with warnings about missing "this".
A couple of sample settings files are attached. Is this style of settings no longer supported? (Extension changes from "StyleCop" to "txt" to satisfy GitHub's upload restrictions.) How are we supposed to configure this extension?
project-specific.txt
all-projects.txt
—
Reply to this email directly or view it on GitHub.

If it's the case that the DotSettings files are no longer honored, then that should be mentioned in the release notes for users migrating from the other extension.
I would like confirmation from someone working on this project (e.g. @citizenmatt) before I change everything, though.
For background, I'm part of a team of developers for which the installed set of tools has diverged considerably. I'm in charge of redefining the baseline and I'd like to include this extension instead of the "old and busted" one.
I saw that the "true" recommendation from JetBrains is to use the StyleCopAnalyzers, which has its own configuration-file format. They seem to have thought it through really well, but using it also means I have to convert all of our configuration files.
If I have to change configuration anyway, what would you recommend? Using this extension or using StyleCopAnalyzers? Thanks in advance for any advice.

I evaluated the analyzers recently along with the JetBrains extension for StyleCop, and decided that the analyzers aren't quite ready for prime-time - for starters, there is no current ReSharper integration so the development experience is quite different, you don't get any help from ReSharper, which I found a little jarring after using StyleCop / ReSharper integration for nearly 5 years.
Also, I found the analyzers a bit buggy and slow to use in comparison to the ReSharper extension, and the default setup for the analyzers is to analyze on build, which is not desirable for us either so I would have had to do a lot of MSBuild customization to ALL our projects to switch this off, which I wasn't keen on doing.
Overall we decided to keep using the JetBrains extension because the ReSharper support in the IDE was the most important experience to maintain, and we solved the common settings problem through a shared DotSettings file in source control, and I'm quite happy with this approach, it is much easier to maintain and works as expected and there is no dependency at all on the 'old' StyleCop.
The biggest drawback of the JetBrains extension is that it is frozen for C# 5.0 so no new rules based on C#6+ will ever come out, however as of this moment it's not a big deal for us.
Ideally in future we will get a hybrid solution that combines the Roslyn analyzers with a ReSharper extension for the best of both worlds - ReSharper development experience, Roslyn-based analyzers, easy to switch on or off in builds, easy management of shared settings, C# 6 rules, etc.
Date: Fri, 29 Jan 2016 23:30:36 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [StyleCop] How to use an existing settings file? (#36)
If it's the case that the DotSettings files are no longer honored, then that should be mentioned in the release notes for users migrating from the other extension.
I would like confirmation from someone working on this project (e.g. @citizenmatt) before I change everything, though.
For background, I'm part of a team of developers for which the installed set of tools has diverged considerably. I'm in charge of redefining the baseline and I'd like to include this extension instead of the "old and busted" one.
I saw that the "true" recommendation from JetBrains is to use the StyleCopAnalyzers, which has its own configuration-file format. They seem to have thought it through really well, but using it also means I have to convert all of our configuration files.
If I have to change configuration anyway, what would you recommend? Using this extension or using StyleCopAnalyzers? Thanks in advance for any advice.
—
Reply to this email directly or view it on GitHub.

Thanks for your help, @sam-piper. I've now done the same for my main solution and will extend to others after a few days of testing. Everything seems to be working as expected.
One final question: With the old extension, I had a separate file to turn off the documentation requirement for public elements imposed by StyleCop for all of my tests. I noticed that this extension seems to do this automatically but couldn't determine where this is configured. I'm happy that it seems to be working as I'd like, but a little worried that this is a purely temporary coincidence.

Sorry i am little bit confused over this dialog. I only have very simple questions to this topic:
After the update from VS2010 to VS2015 i updated R# to Version 10.0.2.. I see the problems with the stylecop integration. Installed the ReSharper Extensions called "StyleCop by JetBrains 4.8.0"
Now my questions:

Can i use my old Settings.StyleCop file 1:1?
Settings.StyleCop.txt
Where is the correct destination path for the Settings.StyleCop i need this configuration global?
I can only config my rule over the old C:\Program Files (x86)\StyleCop 4.7\StyleCopSettingsEditor.exe, right?
How can i disable all style checks from R#?

Most of your questions are the same as the ones I had and that @sam-piper answered in his comment from 31. January.

Can i use my old Settings.StyleCop file 1:1? Settings.StyleCop.txt

No. This extension uses the R# options (*.DotSettings) rather than a separate StyleCop-specific files (*.StyleCop)

Where is the correct destination path for the Settings.StyleCop i need this configuration global?

Global configuration (machine-level configuration) is in your %AppData% folder, as with all other R# settings.

I can only config my rule over the old C:\Program Files (x86)\StyleCop 4.7\StyleCopSettingsEditor.exe, right?

That editor only works with *.StyleCop files. Changes made with it will have no effect on this plugin's behavior.

How can i disable all style checks from R#?

The same way as you would for any other R# setting: by turning off the severity in the R# options dialog.
I did the following to convert from the original plugin to this one from JetBrains:

Open *StyleCop file
Collect list of StyleCop codes (e.g. SA1633 - "File must have header")
Open R# settings
Find the same code in the R# options and set the severity
Save those options to solution-level options/shared with team so that everyone who opens that solution gets exactly the settings needed for that solution (we work on projects for different customers, each with slightly different StyleCop requirements, so this works for us. If you always use the same style, you may just want to save to machine-level).

Hope that helps.

Thank you @mvonballmo  for this short summery. Now i understand :+1:

This extension should be using the standard Settings.StyleCop files, loading them as normal (looking in the current folder and all parent folders).
ReSharper uses a dotSetyings file to store your settings, but this should be mostly invisible - the main file lives in your AppData folder, and shouldn't need to be hand edited. The plugin doesn't write to any other file (although it does ship the defaults as a standalone dotSettings file)
Do you have an example where it's not working?

OK, I've just stepped through the code, and verified that the ReSharper plugin is definitely reading Settings.StyleCop files, so I'm not sure what's going wrong - can someone post an example of it not working, and I can look further.

Going to close this as can't repro. If you have an example repro you can put onto DropBox on something, please reopen, and I'll take a look.

I'm still not seeing the same behavior I had in resharper 8...
Please help.
Thanks,
small repo

I've had a look at the repo, and I don't see any problems. I get warnings, as expected, and alt+enter fixes them up. I don't see anything unexpected happening.
Could you provide a step by step list of what you're doing, what you're seeing and what you expect to see, please?

@citizenmatt

This extension should be using the standard Settings.StyleCop files, loading them as normal (looking in the current folder and all parent folders).
... I've just stepped through the code, and verified that the ReSharper plugin is definitely reading Settings.StyleCop files ...

Matt, I don't really understand how this settings file propagation actually works. How do you mean by reading Settings.StyleCop files? Does it also change related StyleCop setting in R# Options, in Inspection Severity for example?
In my case, I have the following settings disabled in Settings.StyleCop in the root folder of my solution.

SA1513 / Closing Curly Bracket Must Be Followed by Blank Line
SA1515 / Single Line Comment Must Be Preceded by Blank Line

However:

R# Inspection Severity of two options above still showing as Warning instead of Do not show.
Is this by design? If so, is there any way to automate this setting propagation between Settings.StyleCop and R# Inspection Severity Options?
Using Code Cleanup, with Fix StyleCop violations enabled/checked, causing the following code:

            var a = true;
            if (a)
            {
                var b = 0;
                // Comments
                var c = false;
                if (c)
                {
                    var d = 1;
                }
                // Comments
            }
            var e = 1;

to be formatted into this:
            var a = true;
            if (a)
            {
                var b = 0;

                // Comments
                var c = false;
                if (c)
                {
                    var d = 1;
                }

                // Comments
            }
            var e = 1;

that a new blank line is being incorrectly added before each single line comment. It seems there is a bug in R# StyleCop extensions regarding SA1515, although SA1513 seems to be working just fine.
Note that this doesn't happen when disabling/unchecking Fix StyleCop violations with the same unchanged Settings.StyleCop file; the example code above is being left intact.
Thanks.

There's a default settings.StyleCop file that is installed by the extension, and it sets various defaults for the rules, etc. This is always loaded and read. But you can also have a settings.StyleCop file in your solution or project root. These are read and merged with the defaults, so you can disable specific rules per-project/per-solution. (You can actually have a settings file live in any source folder - whenever any C# files in that folder are analysed, those settings are also merged.)
The settings files only control StyleCop settings - usually whether a rule is enabled or disabled. This is completely separate from the ReSharper severity settings. The severity is only used to choose how to display a violation, not whether the rule is actually processed. So if a rule is disabled in the settings file, it will never be displayed in the editor, because the rule doesn't run as part of analysis. Similarly, if a rule is enabled, but the severity is set to "Do not show", then the rule is still run, but the violation is hidden.
This is because StyleCop owns the settings, not ReSharper. Because StyleCop can also be run as a command line tool, or even a Visual Studio plugin, the settings should be stored in settings.StyleCop, and not a ReSharper specific format or you will get different results in different tools. So, it would require some kind of sync between the ReSharper settings and the StyleCop settings, e.g. when disabling a rule in settings.StyleCop, it would need to also set the ReSharper inspection to "Do not show". This is fairly easy, but it's harder in the other direction - when changing the ReSharper inspection severity, that should disable/enable the rule in the settings.StyleCop, which means rewriting the settings file. And due to the folder/project/solution hierarchy, there would need to be a policy of where this data gets saved, which isn't easy to formulate, and wouldn't be reflected in the ReSharper options UI.

Could you open a new issue for the code cleanup bug, please? If you could add the settings file as well as the repro, it would be a big help, too. Thanks.


Use portable data types

Any variables which are read from a file must use a portable data type
with a well defined size.
Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

This is currently only a theoretical problem, because all relevant hosts which I know use a 32 bit int data type.

These files will be removed soon with the rest of the legacy ocr engine, unless you'll persuade Ray to keep that engine...
.

Lets keep it in 3.05 branch...


ReferenceError: Cannot access 'status' before initialization

I am facing this issue
[GET] /update/win32/1.0.0/RELEASES?id=release&localVersion=1.0.0&arch=amd64
23:57:04:08
Caching version v1.0.1...
2022-10-13T18:27:12.134Z	7f077f6e-4b8f-45ee-9cb7-6a2d60edb1b1	ERROR	ReferenceError: Cannot access 'status' before initialization
    at retry.retries (/var/task/lib/cache.js:52:76)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Cache.cacheReleaseList (/var/task/lib/cache.js:46:30)
    at async Cache.refreshCache (/var/task/lib/cache.js:142:40)
    at async Cache.loadCache (/var/task/lib/cache.js:188:7)
    at async exports.releases (/var/task/lib/routes.js:180:20)
Finished caching version v1.0.1

i fixed the issue by applying this changes

but the issue is  hazel is trying to download the RELEASE FILE from my private repository release assets to update the windows squirrel framework
I console log the URL and headers
https://github.com/rizwan92/chikupos-software/releases/download/v1.0.1/RELEASES
{
  Accept: 'application/vnd.github.preview',
  Authorization: 'token mytoken'
}

status 404 received but when I try to download the file by clicking on the link it is downloading the RELEASE file in my browser.
but I can download my exe and dmg files from hazel UI from this link https://release.chikupos.com/

i fixed this issue by pulling this commit https://github.com/vercel/hazel/pull/149/commits/b5abe54603b5900b3416992bb5ce2038fcddf198


systemd/network: Ignore mana VFs on Azure

Ignore mana VFs on Azure
Azure is introducing a new generation of NICs, that are architected the same way as the current Mellanox based ones: there is a synthetic (vmbus) NIC for handling some control traffic (including DHCP) and a VF that is enslaved to the synthetic NIC. We therefore need to exclude the devices manage by the mana driver from IP management.
How to use
[ describe what reviewers need to do in order to validate this PR ]
Testing done
No testing, just got a LISA bugreport.

[ ] Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
[ ] Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Reminds me that this file is something afterburn could generate based on the MAC address instead of having to chase driver changes.

Existing issue for that: https://github.com/flatcar/Flatcar/issues/554

interesting - my initial thought was "i can implement that" but then i realised we also need it to work for hotplugged interfaces, so we'd need to re-run afterburn if we did this.
how about i just configure the list to say "Driver=!hv_netvsc"?

interesting - my initial thought was "i can implement that" but then i realised we also need it to work for hotplugged interfaces, so we'd need to re-run afterburn if we did this.

Ah, the metadata server output will change then? Retriggering afterburn from udev could work in that case.

how about i just configure the list to say Driver=!hv_netvsc?

We still need to restrict the matching to "meant to be physical" NICs. If they are all PCI devices, that can work with matching for the path or something but otherwise we could also take the restriction list from the default rule as this is also for that type of NICs.
So, something like this?
Name=*
Type=!loopback bridge tunnel vxlan wireguard
Driver=!veth dummy hv_netvsc

FYI, also needs a PR for bootengine:dracut/03flatcar-network/yy-azure-sriov.network and bootengine:dracut/03flatcar-network/yy-azure-sriov-coreos.network (yeah, two files here and two files there to keep in sync…)

Opened the second PR here:

https://github.com/flatcar/bootengine/pull/70


prepare migration to futures-micro v0.4

Sorry, I missed this before I went ahead and made the changes myself.


Order clause causing error

Hi. I'm getting an weird error and I don't know why:
   Exception  : Property [relationClauses] does not exist on the Eloquent builder instance.

  at /var/www/html/projects/platforma/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1301
    1297|         if ($key === 'orWhere') {
    1298|             return new HigherOrderBuilderProxy($this, $key);
    1299|         }
    1300|
  > 1301|         throw new Exception("Property [{$key}] does not exist on the Eloquent builder instance.");
    1302|     }
    1303|
    1304|     /**
    1305|      * Dynamically handle calls into the query instance.

  Exception trace:

  1   Illuminate\Database\Eloquent\Builder::__get("relationClauses")
      /var/www/html/projects/platforma/vendor/fico7489/laravel-eloquent-join/src/Traits/JoinRelationTrait.php:17

  2   Fico7489\Laravel\EloquentJoin\Relations\HasManyJoin::__call("orderBy")
      /var/www/html/projects/platforma/app/CMS/Offers/Offer.php:115

Offer model uses EloquentJoin and has many selectablesPivots.
    /**
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function selectablesPivots()
    {
        return $this->hasMany(OfferHasOfferSelectable::class, 'offer_id')->orderBy('order');
    }

And load them as follows
        $baseOffers = Offer::with(['groups.optionsPivots.option', 'selectablesPivots.selectable'])
            ->where('is_template', 1)
            ->get();

Removing the php ->orderBy('order')  part "fixes" the problem. Somehow the trait, relations and  eloquent don't play well when using order clauses.

Also this line fails:
$this->getQuery()->relationClauses[] = [$method => $parameters];

when running the code like this:
$this->contract->educationUnits()->forceCreate([
                        'contract_id'         => $this->contract->getKey(),
                        'education_unit_type' => EducationUnitType::getType($educationUnit['type']),
                        'education_unit_id'   => (int) $educationUnit['id'],
                        'participants_count'  => (int) $educationUnit['participants_count'],
                    ]);

Contract model having the trait. Using save instead of forceCreate works.

Maybe something like this will fix it:
        if ($this->getQuery() instanceof EloquentJoinBuilder) {
            $this->getQuery()->relationClauses[] = [$method => $parameters];
        }

You said "Adding the trait to all relations solves the problem.", do you mean "Adding the trait to all models solves the problem." ?

I tried to run forceCreate() and everything works without errors, can you produce an error with my models in Test folder ?

I was referring to the models, yes.
Unfortunately I had to do manual joins and removed the library. I'll test it on a new branch.

Solution:
EloquentJoinBuilder  107 line: $relatedKey = $relatedRelation->getForeignKey();
BelongsTo getForeignKey & getOwnerKey Methods
The getForeignKey, getQualifiedForeignKey, and getOwnerKey methods of the  BelongsTo relationship have been renamed to getForeignKeyName,  getQualifiedForeignKeyName, and getOwnerKeyName respectively, making the method names consistent with the other relationships offered by Laravel.

@ionesculiviucristian  fixed here : https://github.com/fico7489/laravel-eloquent-join/commit/c8041812a82ae6f8983fa09096b2d4992409b9bb#diff-9c69b88803869495fd1ae525364041fd


Pandas 1.4.0 breaks make_eval_target_tensors

Hi all,
We noticed that make_eval_target_tensors is broken with release of pandas 1.4.0. Here is simple test and the stack trace when installing nlb_tools into a clean environment.
from nlb_tools.nwb_interface import NWBDataset
from nlb_tools.make_tensors import make_eval_target_tensors

dataset_path = <path to mc_maze_small dataset>
dataset = NWBDataset(dataset_path)
make_eval_target_tensors(dataset, 'mc_maze_small')

Traceback (most recent call last):
  File "test_make_eval_target_tensors.py", line 6, in <module>
    make_eval_target_tensors(dataset, 'mc_maze_small')
  File "/home/ubuntu/nlb_tools/nlb_tools/make_tensors.py", line 593, in make_eval_target_tensors
    btrain_dict = make_jagged_array(dataset, [behavior_field], behavior_make_params, train_mask)[0]
  File "/home/ubuntu/nlb_tools/nlb_tools/make_tensors.py", line 748, in make_jagged_array
    data = grouped[trial_ixs[i]][field].to_numpy()
KeyError: 199

A workaround is to force pandas==1.3.4

Thanks for catching the issue and debugging! I'll fix the dependency requirements ASAP

Should be fixed in 4a9b39e88d1ba3ce80748d39d19691ee84173aed


Was causing lag issues

Type: Bug
It was allowing me to still delete text but it would take forever to type out what I typed.
Extension version: 1.3.3
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
AMD Ryzen 5 5600G with Radeon Graphics          (12 x 3893)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.29GB (19.13GB free)

Process Argv
C:\Users\okmil\Pictures\Internet Downloaded\Friday Night Funkin'\Modding Stuff\Source Code\FNF-Imaginative-Engine --crash-reporter-id 6ebc8497-3402-4601-9d98-51c761580449

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
6233i204:30672705
vsctsb:30677850
pythonb192:30669360
azdwalk:30687957
pythonms35:30701012

@RodneyAnImaginativePerson thanks for the report. What makes you think that lag issue is caused by Codedox?

Idk it just started to happen I never really figured out the cause of it.

Like everything would be fine at first but then it would slowly start to lag and other extensions would just stop working after a bit.

@RodneyAnImaginativePerson what lead you to suspect Codedox was the root cause?

@RodneyAnImaginativePerson what lead you to suspect Codedox was the root cause?

VSC asked if I wanted to bisect. But now the problem is a different extension for some reason?

Ok, thanks for looking into it.  I'll close this since it appears to be reproducible without Codedox enabled.  Feel free to re-open if needed.


Refactor on evaluation process

Dynamic and Static evaluations are mixed. Also we call evaluate from a lot of different parts of the code. This makes things hard to debug and to undestand
https://github.com/camilamaia/scanapi/blob/master/scanapi/variable_parser.py
https://github.com/camilamaia/scanapi/blob/master/scanapi/tree/request_node.py#L19-L26
https://github.com/camilamaia/scanapi/blob/master/scanapi/tree/request_node.py#L32
https://github.com/camilamaia/scanapi/blob/master/scanapi/tree/request_node.py#L50
https://github.com/camilamaia/scanapi/blob/master/scanapi/tree/endpoint_node.py#L25
https://github.com/camilamaia/scanapi/blob/master/scanapi/tree/endpoint_node.py#L36
https://github.com/camilamaia/scanapi/blob/master/scanapi/tree/endpoint_node.py#L56
https://github.com/camilamaia/scanapi/blob/master/scanapi/tree/root_node.py#L19
https://github.com/camilamaia/scanapi/blob/master/scanapi/tree/root_node.py#L31

closed by: https://github.com/camilamaia/scanapi/pull/68 https://github.com/camilamaia/scanapi/pull/67


Add openshift specific docker file

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
/area provider/ibmcloud

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

/approve

/override ci/prow/e2e-aws ci/prow/e2e-aws-serial

/override ci/prow/e2e-aws
/override ci/prow/e2e-aws-serial

/override ci/prow/unit
/override ci/prow/e2e-ibmcloud
/override ci/prow/goimports
/override ci/prow/unit
/override ci/prow/golint
/override ci/prow/yaml-lint


UML-1121 - Remove Actor Code Generator

Purpose
The script and infrastructure to generate Actor codes is no longer required and can be removed.
Fixes UML-1121
Approach
Delete the scripts and terraform resources.
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] I have added welsh translation tags and updated translation files
[ ] The product team have tested these changes

Plan for preprod and prod show the following
aws_ecs_task_definition.code_creation will be destroyed
aws_iam_role.code_creation_task_role will be destroyed
aws_iam_role_policy.code_creation_permissions_role will be destroyed
aws_security_group.code_creation_ecs_service will be destroyed
aws_security_group_rule.code_creation_ecs_service_egress will be destroyed

Which is as expected.


Bug report:

Uncaught SyntaxError: Unexpected token ';'
Filename: blob:http://icyberchef.com/4b117850-5ed8-4808-acc7-27f82dd08ae1
Line: 1010
Column: 57316
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
CyberChef version: 9.12.0

Hi, could you give some more information about how to reproduce this? The link you have provided doesn't seem to work for me. What recipe had you written for this to occur?


[1.14.4] Add config file

Config file with the following settings:

speed modifier for the horse when the sprint key has been pressed
list for each cart that determines which entities can pull the cart
plow config: <tool/item -> block> <replace/place> <at/on>

closed by 089231e9228849e9e8414b7f6589fa78790d64d7


Sorting is a little wonky

Video: https://streamable.com/wpdtgj
I'm assuming it's alphabetical, but there's several items that don't want to be sorted as such. And one item - Metal Ingot - that's OK with being sorted before and after Nails.
There's also the Bee Jar, which should be sorted at the beginning, but perhaps it's a brand new item and hasn't been added to the code yet. I haven't taken a look at the code:

In any case, thank you for this mod. I like staying organized.
EDIT: This is also happening with Giant Clams: https://streamable.com/ssmhev

Sorting uses the game's internal name for the item. That obviously differs from the localized name -- perhaps sorting should be done by the localized name?

Sorting uses the game's internal name for the item. That obviously differs from the localized name -- perhaps sorting should be done by the localized name?

I believe this is fixed in #6.  Please see made-by-traxam's fork.


relex graph extraction

relex graph extraction
support single-node graph

Current dependencies on/for this PR:

dev

PR #16   👈

This stack of pull requests is managed by Graphite.