xcode9 and unity 2017.1

has anybody had success? I was able to get it to build what it would crash consistently on startup.

Yeah, you need to put @objc in front of var currentUnityController: UnityAppController! in AppDelegate.swift. This is because of Swift 4.0. You can see the previous thread with a link.

thanks, but this issue I am having is a crash on startup:
UnityInitApplicationNoGraphics([[[NSBundle mainBundle] bundlePath] UTF8String]);
Thread 1: EXC_BAD_ACCESS (code=1, address=0xb8)
Anyone else having the same issue?

Anyone had luck with this?

Yes with Xcode 9, no with unity 2017.1. Would love to hear if anybody’s been able to do it :-)

On Sep 9, 2017, at 2:44 PM, Suraya Shivji<EMAIL_ADDRESS>wrote:
Anyone had luck with this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@etown Change UnityInitApplicationNoGraphics([[[NSBundle mainBundle] bundlePath] UTF8String]); to
NSBundle *bundle = [NSBundle bundleForClass:[self class]];
UnityInitApplicationNoGraphics([[bundle bundlePath] UTF8String]);

@mrniket thanks! I tried your suggested change, but still a crash at startup:

did you have to make any other changes from the 5.x method? thanks!

Hi @etown, sorry for the late reply! I also changed this line in Unity.xcconfig:
OTHER_CFLAGS = -DINIT_SCRIPTING_BACKEND=1;
to:
OTHER_CFLAGS = $(inherited) -DINIT_SCRIPTING_BACKEND=1 -fno-strict-overflow -DRUNTIME_IL2CPP=1;
Does that work for you?

Hey, @mrniket.
I'm on the same issue and sadly, the second suggestion didn't help too.

We were having problems like this in our project so I made two scripts to try and automate this stuff.
Given you have:

updated your OTHER_CFLAGS in .xcconfig to
OTHER_CFLAGS = $(inherited) -DINIT_SCRIPTING_BACKEND=1 -fno-strict-overflow -DRUNTIME_IL2CPP=1;
added the @objc in front of var currentUnityController: UnityAppController!

you should be able to use these scripts if you just change the paths to whatever they are in your project. The fixProjectFile.rb script tries to set up the file references correctly in your Xcode project file. The projectRefresh.rb script performs the file changes you need to do every time you build from Unity.
https://github.com/ocadotechnology/rapid-router-ios/blob/blockly_translator/fixProjectFile.rb
https://github.com/ocadotechnology/rapid-router-ios/blob/blockly_translator/projectRefresh.rb
Hopefully these work for you!

@mrniket thank you, it works!

I'm using Unity 5.6.2f1 with success on Xcode 9. But with 2017.1.1f1 if I build and insert my project on Xcode 9, I have linker-o symbol not found error. Anybody try to build with Unity 2017.1.1f1 with success ?
Plus any idea on how to support plugin in embedded unity app ? I'm trying to use GVRSDK on unity, build project and embed in my native iOS app but can't build it on Xcode...

@jplongo Here is a complete demo project that embed Unity 2017.1.1f1 into Xcode 9 Swift project: https://github.com/jiulongw/swift-unity
You didn't post error details so I can only guess your issue.

Some generated .h/.mm files are moved around so you need to update header search path a bit.  Especially, add $(UNITY_IOS_EXPORT_PATH)/Classes/Unity
Xcode 9 seems to have a bug that if you drag-n-drop a folder into Xcode project tree and create group, regardless if you choose to add files to build target or not, the .mm files are not added to build target.  A work around is to right click Xcode project tree and select add files from there.
Remember to add the bridging header file to build settings.  Otherwise things like unity_init is not available in Swift.

Especially for the Xcode 9 drag&Drop bug. This explain why with fully functional Unity build on Xcode 8, if I drag&Drop the same files on Xcode 9, I issue linker error...
Thanks a lot for your answer. I back to you later this week to confirm that my project is working
👍

I have a fully functional build and run app on iOS 11. So thanks for your tips.
BUT... :/
Does anybody try to use GVRSDK on Unity ?
My app crash when using it.
First problem is that if you select GVRSDK in unity you can use only landscape view. So if anybody know how to bypass the :
'Supported orientations has no common orientation with the application, and [UnityDefaultViewController shouldAutorotate] is returning YES'
I know that I need to match orientation selection in both unity and Xcode, but with VR selected Unity force landscape mode and my iOs App need portrait so, any help is welcome.
Just to debug, I've match orientation in landscape and the main problem is the crash when loading VRView, can't find why and can't find where. Just a crash on main THREAD:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'
I think it's an invalid ressource (not found), but I've copied all SDK *.bundle in my project and I've already the same issue.
Hope somebody know the solution
Thanks

I have a fully functional build and run app on iOS 11. So thanks for your tips.
BUT... :/
Does anybody try to use GVRSDK on Unity ?
My app crash when using it.
Here is the crash log :

I've added a symbolic breakpoint  and know that crash come on this line :

Does anybody know why and how to solve this issue ?
Thanks

Hi all ,
i am also facing the same crash and did all above but still app is crashing i am using xcode 9.4 and  2017.3.1f1 Unity version
i have updated this :-

updated your OTHER_CFLAGS in .xcconfig to
OTHER_CFLAGS = $(inherited) -DINIT_SCRIPTING_BACKEND=1 -fno-strict-overflow -DRUNTIME_IL2CPP=1;
added the @objc in front of var currentUnityController: UnityAppController!

but unble to implement these step can any one help me to implement these .rb files
you should be able to use these scripts if you just change the paths to whatever they are in your project. The fixProjectFile.rb script tries to set up the file references correctly in your Xcode project file. The projectRefresh.rb script performs the file changes you need to do every time you build from Unity.
https://github.com/ocadotechnology/rapid-router-ios/blob/blockly_translator/fixProjectFile.rb
https://github.com/ocadotechnology/rapid-router-ios/blob/blockly_translator/projectRefresh.rb

NSBundle *bundle = [NSBundle bundleForClass:[self class]];
UnityInitApplicationNoGraphics([[bundle bundlePath] UTF8String]);
(For Xcode 10.2 and Unity 2019)
This solution is also not working getting UnityInitApplicationNoGraphics EXE_BAD_ACCESS

I got it working on Xcode version 10.2.1 (10E1001) + Unity 2018.2.18f1 by changing:
Unity/Classes/CrashReporter.h from:
`#pragma once
// Enabling this will force app to do a hard crash instead of a nice exit when UnhandledException
// is thrown. This will force iOS to generate a standard crash report, that can be submitted to
// iTunes by app users and inspected by developers.
#define ENABLE_IOS_CRASH_REPORTING 1
// Enabling this will add a custom Objective-C Uncaught Exception handler, which will print out
// exception information to console.
#define ENABLE_OBJC_UNCAUGHT_EXCEPTION_HANDLER 1
// Enable custom crash reporter to capture crashes. Crash logs will be available to scripts via
// CrashReport API.
#define ENABLE_CUSTOM_CRASH_REPORTER 1
// Enable submission of custom crash reports to Unity servers. This will enable custom crash
// reporter.
#define ENABLE_CRASH_REPORT_SUBMISSION 1
#if ENABLE_CRASH_REPORT_SUBMISSION && !ENABLE_CUSTOM_CRASH_REPORTER
#undef ENABLE_CUSTOM_CRASH_REPORTER
#define ENABLE_CUSTOM_CRASH_REPORTER 1
#endif
#if PLATFORM_TVOS
#undef ENABLE_CUSTOM_CRASH_REPORTER
#define ENABLE_CUSTOM_CRASH_REPORTER 1
#endif
void WaitWhileCrashReportsAreSent();
void SubmitCrashReportsAsync();
void UnityInstallPostCrashCallback();
void InitCrashHandling();`
to:
`#pragma once
// Enabling this will force app to do a hard crash instead of a nice exit when UnhandledException
// is thrown. This will force iOS to generate a standard crash report, that can be submitted to
// iTunes by app users and inspected by developers.
#define ENABLE_IOS_CRASH_REPORTING 0
// Enabling this will add a custom Objective-C Uncaught Exception handler, which will print out
// exception information to console.
#define ENABLE_OBJC_UNCAUGHT_EXCEPTION_HANDLER 0
// Enable custom crash reporter to capture crashes. Crash logs will be available to scripts via
// CrashReport API.
#define ENABLE_CUSTOM_CRASH_REPORTER 0
// Enable submission of custom crash reports to Unity servers. This will enable custom crash
// reporter.
#define ENABLE_CRASH_REPORT_SUBMISSION 0
#if ENABLE_CRASH_REPORT_SUBMISSION && !ENABLE_CUSTOM_CRASH_REPORTER
#undef ENABLE_CUSTOM_CRASH_REPORTER
#define ENABLE_CUSTOM_CRASH_REPORTER 0
#endif
#if PLATFORM_TVOS
#undef ENABLE_CUSTOM_CRASH_REPORTER
#define ENABLE_CUSTOM_CRASH_REPORTER 0
#endif
void WaitWhileCrashReportsAreSent();
void SubmitCrashReportsAsync();
void UnityInstallPostCrashCallback();
void InitCrashHandling();
`

@ZombieMK :I tried above solution but still getting below error at line UnityInitApplicationNoGraphics([[bundle bundlePath] UTF8String]);
Error :Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)
Console Output is :2019-04-23 08:28:24.984534+0530 ProjectName[9685:153486] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
2019-04-23 08:28:24.985 ProjectName[9685:153486] Built from '2019.1/staging' branch, Version '2019.1.0f2 (292b93d75a2c)', Build type 'Development', Scripting Backend 'il2cpp'
2019-04-23 08:28:25.014076+0530 ProjectName[9685:153486] -> registered mono modules 0x10aa6c1e8
-> applicationDidFinishLaunching()
Could not load symbol il2cpp_init : (null)
(Filename: ./Runtime/Modules/LoadDylib.cpp Line: 199)........

I encountered same problem and didn't get resolved with above solution, but I find the old project has some strange flags in other c++ flags(OTHER_CPLUSPLUSFLAGS): -x objective-c++, which cause the runtime crash for unity, after remove these flags, and do some minor changes for source code, it works!


chore: fix the task scaffold

Remove aqua-local.yaml

We run tests in the container, so aqua-local.yaml gets unnecessary

Update registry-tool
Remove an unused file aqua/dev.yaml
scaffold: Support command line options -limit and -cmd
test: Update registry.yaml after all tests succeed

Recover aqua/dev.yaml

https://github.com/aquaproj/aqua-registry/pull/16613


Geb-Spock-Report is not generated when Jenkins job is aborted.

Hi @tilmanginzel ,
I am running my scripts via Jenkins with time limit of 240 mins, if script execution is not completed within this time, Jenkins aborts the execution. In this case geb-spock-report is not generated.
I would like to see the report for the executed scripts when script execution is aborted by Jenkins.
Thank You

Hi @BalurQA, this is not possible.
This library primarily provides a template for spock-reports, so I have no influence on the point in time when the summary report is being created. spock-reports registers itself as a global Spock extension. Once the test execution is done, Spock calls a stop lifecycle hook on all of its extensions. Only then the summary report can be created.
I assume that the Gradle process is being killed as soon as the timeout is reached in Jenkins, so Spock can never call the stop hook on its extensions. This makes sense, as otherwise it would execute further code which might run indefinitely (far longer than the specified timeout, making it irrelevant).

@BalurQA I think you probably want to use Spock @Timout http://spockframework.org/spock/docs/1.3/all_in_one.html#_timeout

Closing this as it's not something that can or should be mitigated in this library.


improvements

Changes which i needed for my project which use springmvc-raml-plugin. Maybe they will be useful for you:

Support for multipart file.
Creating directory when it does not exists. Useful when generating in target dir.
I removed "required" from @PathVariable because it always is required.
Generating List as response in interface strategy was missing.

Thanks for taking the time to improve this project! will check it out and merge asap :)

The additional properties enabling is going to change the default behaviour of the plugin a bit too significantly. Kindly either remove this from the PR or make it off by default and configurable on/off. Other than that we're good to merge :)

Well it wasn't my intention to add this change to pull request. I didnt expect that my commit from today will be automatically added to it. I was going to make it configurable in the future. Either way i remove this chage for now.

Thank you! :)


Fill color or text color change order

hi!
Fill color or set the text color -> text color or Fill color
change order
default change
Is it possible?

Because it uses more of the 'text color'.

Hi @oncd, https://xdsoft.net/jodit/doc/options/colorPickerDefaultTab/

Thank you. Have a nice day.


It becomes unusable how slow it executes scripts, especially larger ones.

Is your feature request related to a problem? Please describe.
I am connecting to SQL Server and all scripts execution run super fact in SSMS, but in DBeaver it hogs. It's also very buggy, it stops executing script file after a while, just tries to execute it forever, then I need to close script file and open a new one, scrolling in larger scripts is a pain, intellisense not working always (lag again), it's just too slow and laggy in everything it does, intellisense in larger scripts does not work, shows errors when there aren't any and script executes just fine, executing simple select script takes up to a minute sometimes (WTF is he doing?)... Just now I executed one select in one script file, then executed some transaction in another, then went back to the first script file to execute select again and it froze.
Describe the solution you'd like
Much faster execution and scripting of objects. e.g. SQL Prompt is blazingly fast.

Could you please reproduce the issue once again? After you reproduce the issue, please send us the DBeaver log files.
The log files are generated automatically and called .log and .dbeaver-debug.log exactly. They are located in the %APPDATA%\DBeaverData\workspace6\.metadata directory. In case your OS isn't Windows, here is our wiki page on this matter: dbeaver.com/docs/wiki/Log-files/#log-files

lp,
Hrvoje Batrnek

Šalje: Elizabeth @.>
Poslano: 4. prosinca 2024. 15:03
Prima: dbeaver/dbeaver @.>
Kopija: hovek @.>; Author @.>
Predmet: Re: [dbeaver/dbeaver] It becomes unusable how slow it executes scripts, especially larger ones. (Issue #36455)
Could you please reproduce the issue once again? After you reproduce the issue, please send us the DBeaver log files.
The log files are generated automatically and called .log and .dbeaver-debug.log exactly. They are located in the %APPDATA%\DBeaverData\workspace6.metadata directory. In case your OS isn't Windows, here is our wiki page on this matter: dbeaver.com/docs/wiki/Log-files/#log-fileshttp://dbeaver.com/docs/wiki/Log-files/#log-files
—
Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/36455#issuecomment-2517500903, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNJTD4AGCYB6Q7HCLTINDL2D4DTVAVCNFSM6AAAAABTAEKM2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJXGUYDAOJQGM.
You are receiving this because you authored the thread.Message ID: @.***>

Unfortunately, GitHub can't attach files when you answer by email, so I don't see the files you sent. Can you please go to GitHub and attach them there?

logs.zip

Leaving script open for some time, returning to it and trying to open declaration, it fails.

Šalje: Elizabeth @.>
Poslano: 5. prosinca 2024. 16:15
Prima: dbeaver/dbeaver @.>
Kopija: hovek @.>; Author @.>
Predmet: Re: [dbeaver/dbeaver] It becomes unusable how slow it executes scripts, especially larger ones. (Issue #36455)
Unfortunately, GitHub can't attach files when you answer by email, so I don't see the files you sent. Can you please go to GitHub and attach them there?
—
Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/36455#issuecomment-2520596332, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNJTD6JZUKE2Q2QRTGYIET2EBUZZAVCNFSM6AAAAABTAEKM2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRQGU4TMMZTGI.
You are receiving this because you authored the thread.Message ID: @.***>

Your issue consists of many separate issues (about seven totally), most of them are not related to each other. I would suggest you creating a separate issue for each problem you have.
Avoid mixing them and provide steps to reproduce it or a video for each one.

The issue remains unclear at the moment. We cannot understand it without more specific steps and a detailed scenario description. Could you please provide more information about the behavior you have observed?

Steps are literally to just start using it, connections start to close and would not reopen on their own and then everything starts making problems.

From: Elizabeth @.>
Sent: Thursday, December 12, 2024 12:32:03 PM
To: dbeaver/dbeaver @.>
Cc: hovek @.>; Author @.>
Subject: Re: [dbeaver/dbeaver] It becomes unusable how slow it executes scripts, especially larger ones. (Issue #36455)
The issue remains unclear at the moment. We cannot understand it without more specific steps and a detailed scenario description. Could you please provide more information about the behavior you have observed?
—
Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/36455#issuecomment-2538632544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNJTDZZHBRM2OWMWSH6LP32FFX3HAVCNFSM6AAAAABTAEKM2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZYGYZTENJUGQ.
You are receiving this because you authored the thread.Message ID: @.***>

logs.zip

App is completely unusable, it's a bug infestation, nothing works reliably.
logs.zip

Unfortunately, we're unable to reproduce the issue without your help. Logs are helpful, but they don't always contain answers to every question.
Can you please provide any footage showing us how to reproduce your issue?

I am just using the app for it's features. I open new SQL script i write a select or exec for a stored procedure, then I select that object and hit F4 to open it's definition, I execute selects, procedure statements with Alt+X or select and Ctrl+Enter. I open multiple scripts, they stay opened, then I reuse them and problems start to happen. Everything stops working: generation of definition, intelisense, connection can't restart... I am using SQL Server 2022 Developer with newest updates is on another server (Contabo VPS), connection is secured and trust server certificate has to be checked, I am using Windows 11. Problem is not in what I do and how I do it! Problem for your app is then the environment.

Thanks for your explanation. Is your PC switched to sleep or hibernation mode before the issue starts?

Hibernation or sleep is not a problem because after restarting the app, problems start to reappear after a short time while open.

There are many more problems, it's not just about connection, if event at all. e.g. this problem, I can't resolve it, only app restart resolves it.

You distribute this to where you like...
exec udfGetObrazacZahtjevVrstaObrascaName(:@EntityTypeId, :@Type)
It's not formatting function or procedure call for SQL Server.

Keep-alive did not help. It still fails after a while. Intellisense stop working in an open script.

Could you try turning off the following setting?

I did...
What I did now was script the procedure on one database with F4 and then opened then new script to another database and try the same procedure with F4, I got "can't find" and when returned to first script and database, tried F4 again and it didn't work with first script anymore. It's really packed with bugs, oh my. :)

Another bug is that it complains about ";" in procedures and I have to remove ";".


Invitation token given in invitation link isn't attached to a user

I'm using a multi tenant application and when some of the users try to accept their invitations and set their passwords, they are unable to do so because the invitation token cant find their record. I modified the invitations controller as follows
def create
    # DEIVSE CONTROLLER CODE
    self.resource = invite_resource
    resource_invited = resource.errors.empty?

    yield resource if block_given?

    if resource_invited
    ## AFTER DEVISE CONTROLLER CODE
    User.add_invited_user(params[:user])

    # END CUSTOM CODE
      if is_flashing_format? && self.resource.invitation_sent_at
        set_flash_message :notice, :send_instructions, :email => self.resource.email
      end
      if self.method(:after_invite_path_for).arity == 1
        respond_with resource, :location => after_invite_path_for(current_inviter)
      else
        respond_with resource, :location => after_invite_path_for(current_inviter, resource)
      end
    else
      respond_with_navigational(resource) { render :new }
    end
  end

  # this is called when accepting invitation
  # should return an instance of resource class
  def accept_resource
    resource = resource_class.accept_invitation!(update_resource_params)
    ahoy.track("Invitation accepted")
    resource
  end
  private

  def resource_params
    params.require(:user).permit(:name, :email,:invitation_token, :first_name, :last_name)
  end

  def resource_from_invitation_token
    if User.count == 0
      Apartment::Tenant.switch!('public')
      Apartment::Tenant.switch!(request.subdomain)
    end
    # TODO this may be the issue
    unless params[:invitation_token] && self.resource == resource_class.find_by_invitation_token(params[:invitation_token], true)
      flash[:error] = "Something went wrong, please click the link in your email again. Else, contact support at support@"
      puts "Error #0001: Invitation Token Error"
      redirect_to after_sign_out_path_for(resource_name)
    end
  end

When the invite fails, the user gets the flash error mentioned in the resource_from_invitation_token.
We are using the following configuration:
Ruby: 2.3.4
Rails: 5.0.1
Apartment: 1.0.2
Postgres

Your custom code changed this line:
https://github.com/scambra/devise_invitable/blob/master/app/controllers/devise/invitations_controller.rb#L100
DeviseInvitable code has self.resource = resource_class.find_by_invitation_token, but you changed to compare instead of assign

We changed that back, but it was breaking before we had the comparison operator there. When things were failing it was using the assignment operator on self.resource

As you are using multi-tenant, and I don't know of any other issue accepting invitations (and tests are passing), please log and ensure right database is being used

So we figured it out. Had to do with another function that we were using that gave an admin a list of all their users that hadn't accepted their invitations. We gave them a link that they could send to the users to let them into the site. Unfortunately, this invalidates the previous invitation  the got on signup.
This brings up another separate question, is there a way to just get the invitation link without invalidating the previous one?

No, because devise saves a hash of actual token in db, resending invitation needs to generate a new one.
Changing to save each invitation in new table, instead of creating new users, as requested with #228 and #388 would allow to have multiple invitations working. However I don't have time to do this change now.


[bug]: k8s.KubernetesException: too old resource version: xxxx (xxxx) on re-connect

Describe the bug
When the operator has been running for a while and the watch of a resource has failed it correctly tries to re-connect. However when it tries to re-start the watch of the entity, it can return the error k8s.KubernetesException: too old resource version: xxxx (xxxx). This is because the operator has been in a re-connecting state long enought that the currently stored resource version (in memory int the opertor) is too far behind the resource version of the resource.
To reproduce
It is difficult to reproduce because it relies on a transient error to initiate it, however here is the profile of the issue.
There has to be an initial failure in the watch of a resource. In my case it was "The response ended prematurely while waiting for the next frame from the server. (ResponseEnded)".
Then on each successive re-connection attempt it fails with "too old resource version: 68358497 (68368462)"
here is the logs filtered to only what is relevant:

timestamp [UTC]
message
error

7/16/2024, 1:05:49.052 PM
Received watch event "Bookmark" for "Hidden/(null)",   last observed resource version: 68358100.

7/16/2024, 1:06:02.432 PM
Received watch event "Bookmark" for "Hidden/(null)",   last observed resource version: 68358497.

7/16/2024, 1:06:44.608 PM
Received watch event "Bookmark" for "Hidden/(null)",   last observed resource version: 68357572.

7/16/2024, 1:06:49.407 PM
Received watch event "Bookmark" for "Hidden/(null)",   last observed resource version: 68358100.

7/16/2024, 1:07:02.387 PM
Received watch event "Bookmark" for "Hidden/(null)",   last observed resource version: 68358497.

7/16/2024, 1:07:43.839 PM
Received watch event "Bookmark" for "Hidden/(null)",   last observed resource version: 68368670.

7/16/2024, 1:07:47.938 PM
Watcher for Hidden was terminated and is reconnecting.

7/16/2024, 1:07:47.943 PM
Watcher for Hidden was terminated and is reconnecting.

7/16/2024, 1:07:47.943 PM
Watcher for Hidden was terminated and is reconnecting.

7/16/2024, 1:07:47.949 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityR".
The response ended prematurely while waiting for the next frame from the   server. (ResponseEnded)

7/16/2024, 1:07:47.949 PM
There were 1 errors / retries in the watcher. Wait 2.456s before next   attempt to connect.

7/16/2024, 1:07:48.030 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityPM".
too old resource version: 68358497 (68368462)

7/16/2024, 1:07:48.030 PM
There were 1 errors / retries in the watcher. Wait 2.197s before next   attempt to connect.

7/16/2024, 1:07:48.097 PM
There was an error while watching the resource   "ObscureNamespace.V1EntitySRB".
too old resource version: 68358844 (68369473)

7/16/2024, 1:07:48.097 PM
There were 1 errors / retries in the watcher. Wait 2.823s before next   attempt to connect.

7/16/2024, 1:07:50.230 PM
Watcher for V1EntityPM was terminated and is reconnecting.

7/16/2024, 1:07:50.232 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityPM".
too old resource version: 68358497 (68368462)

7/16/2024, 1:07:50.232 PM
There were 2 errors / retries in the watcher. Wait 4.481s before next   attempt to connect.

7/16/2024, 1:07:50.403 PM
Watcher for V1EntityR was terminated and is reconnecting.

7/16/2024, 1:07:50.405 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityR".
too old resource version: 68358100 (68368631)

7/16/2024, 1:07:50.405 PM
There were 2 errors / retries in the watcher. Wait 4.085s before next   attempt to connect.

7/16/2024, 1:07:50.918 PM
Watcher for V1EntitySRB was terminated and is reconnecting.

7/16/2024, 1:07:50.920 PM
There was an error while watching the resource   "ObscureNamespace.V1EntitySRB".
too old resource version: 68358844 (68369473)

7/16/2024, 1:07:50.920 PM
There were 2 errors / retries in the watcher. Wait 4.945s before next   attempt to connect.

7/16/2024, 1:07:54.490 PM
Watcher for V1EntityR was terminated and is reconnecting.

7/16/2024, 1:07:54.493 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityR".
too old resource version: 68358100 (68368631)

7/16/2024, 1:07:54.493 PM
There were 3 errors / retries in the watcher. Wait 8.04s before next   attempt to connect.

7/16/2024, 1:07:54.714 PM
Watcher for V1EntityPM was terminated and is reconnecting.

7/16/2024, 1:07:54.716 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityPM".
too old resource version: 68358497 (68368462)

7/16/2024, 1:07:54.716 PM
There were 3 errors / retries in the watcher. Wait 8.351s before next   attempt to connect.

7/16/2024, 1:07:55.866 PM
Watcher for V1EntitySRB was terminated and is reconnecting.

7/16/2024, 1:07:55.869 PM
There was an error while watching the resource   "ObscureNamespace.V1EntitySRB".
too old resource version: 68358844 (68369473)

7/16/2024, 1:07:55.869 PM
There were 3 errors / retries in the watcher. Wait 8.888s before next   attempt to connect.

7/16/2024, 1:08:02.532 PM
Watcher for V1EntityR was terminated and is reconnecting.

7/16/2024, 1:08:02.534 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityR".
too old resource version: 68358100 (68368631)

7/16/2024, 1:08:02.534 PM
There were 4 errors / retries in the watcher. Wait 16.606s before next   attempt to connect.

7/16/2024, 1:08:03.066 PM
Watcher for V1EntityPM was terminated and is reconnecting.

7/16/2024, 1:08:03.068 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityPM".
too old resource version: 68358497 (68368462)

7/16/2024, 1:08:03.068 PM
There were 4 errors / retries in the watcher. Wait 16.1s before next   attempt to connect.

7/16/2024, 1:08:04.756 PM
Watcher for V1EntitySRB was terminated and is reconnecting.

7/16/2024, 1:08:04.758 PM
There was an error while watching the resource   "ObscureNamespace.V1EntitySRB".
too old resource version: 68358844 (68369473)

7/16/2024, 1:08:04.758 PM
There were 4 errors / retries in the watcher. Wait 16.796s before next   attempt to connect.

7/16/2024, 1:08:19.143 PM
Watcher for V1EntityR was terminated and is reconnecting.

7/16/2024, 1:08:19.148 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityR".
too old resource version: 68358100 (68368631)

7/16/2024, 1:08:19.148 PM
There were 5 errors / retries in the watcher. Wait 32.544s before next   attempt to connect.

7/16/2024, 1:08:19.168 PM
Watcher for V1EntityPM was terminated and is reconnecting.

7/16/2024, 1:08:19.169 PM
There was an error while watching the resource   "ObscureNamespace.V1EntityPM".
too old resource version: 68358497 (68368462)

7/16/2024, 1:08:19.169 PM
There were 5 errors / retries in the watcher. Wait 32.427s before next   attempt to connect.

7/16/2024, 1:08:21.555 PM
Watcher for V1EntitySRB was terminated and is reconnecting.

7/16/2024, 1:08:21.557 PM
There was an error while watching the resource   "ObscureNamespace.V1EntitySRB".
too old resource version: 68358844 (68369473)

7/16/2024, 1:08:21.557 PM
There were 5 errors / retries in the watcher. Wait 32.521s before next   attempt to connect.

7/16/2024, 1:08:51.596 PM
Watcher for V1EntityPM was terminated and is reconnecting.

It continues in this way forever. Untill the pod is restarted.
Expected behavior
On error an error the watcher should start again (regardless of if the currentVersion is too old) so that the operator doesnt stop reconciling CR's
Screenshots
No response
Additional Context
We are using the KubeOps.Operator 9.1.2 nuget package.
I have created a PR with a suggested fix: https://github.com/buehler/dotnet-operator-sdk/pull/792

Yes, although it did retry, but the version is too far off, plus you won't catch up with missing event:
k8s.KubernetesException: too old resource version: 8271646 (8271663)
   at KubeOps.KubernetesClient.KubernetesClient.<>c__26`1.<WatchAsync>b__26_0(Exception ex)
   at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
   at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at KubeOps.KubernetesClient.KubernetesClient.WatchAsync[TEntity](String namespace, String resourceVersion, String labelSelector, Nullable`1 allowWatchBookmarks, CancellationToken cancellationToken)+MoveNext()
   at KubeOps.KubernetesClient.KubernetesClient.WatchAsync[TEntity](String namespace, String resourceVersion, String labelSelector, Nullable`1 allowWatchBookmarks, CancellationToken cancellationToken)+MoveNext()
   at KubeOps.KubernetesClient.KubernetesClient.WatchAsync[TEntity](String namespace, String resourceVersion, String labelSelector, Nullable`1 allowWatchBookmarks, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
   at KubeOps.Operator.Watcher.ResourceWatcher`1.WatchClientEventsAsync(CancellationToken stoppingToken)
   at KubeOps.Operator.Watcher.ResourceWatcher`1.WatchClientEventsAsync(CancellationToken stoppingToken)
warn: KubeOps.Operator.Watcher.ResourceWatcher[0]
      There were 163 errors / retries in the watcher. Wait 32.255s before next attempt to connect.
KubeOps.Operator.Watcher.ResourceWatcher: Warning: There were 163 errors / retries in the watcher. Wait 32.255s before next attempt to connect.

I've also encountered this issue in my environment.

@buehler yes same with me too.

@buehler  we have also encountered this.

@buehler Encountering the same - seems to build up over time - resolved for us by restarting the pods, which is obviously not ideal.

We are also seing this issue at all our environments


Add status-api into jobs

The PR is merged, you can proceed with this one

@vpavlin go ahead

I don't have rights to merge this:)


ord wallet outputs takes forever

When running
ord wallet outputs

I see a progress bar ("indexing blocks") that gets almost instantly at a block around 767433, but then progresses extremely slowly at roughly one block every 20 seconds.
While it's running, I see these warnings in the bitcoind logs
BlockUntilSyncedToCurrentChain: txindex is catching up on block notifications

If I stop it and restart it, it then restarts indexing again from block 767433, forgetting all the work it has done before!
I thought that the txindex was corrupted so I've already tried to resync the whole chain, but still get the same issue.
Is that normal? Is there a way to speed it up?

Leave bitcoind running.
Periodically run:
bitcoin-cli getindexinfo

It will show you how many blocks have been processed by the txindex so far. It needs to get up to the current block height (780300 or so).
Once that is complete you should find that things will work better.

Leave bitcoind running.
Periodically run:
bitcoin-cli getindexinfo

It will show you how many blocks have been processed by the txindex so far. It needs to get up to the current block height (780300 or so).
Once that is complete you should find that things will work better.

Thanks but unfortunately it doesn't fix the issue, "ord wallet outputs" always starts at block 767433 and progresses super slowly. Running
bitcoin-cli getindexinfo
gives me
"txindex": {
"synced": true,
"best_block_height": 780342
}
so the index looks ok. I see this log when restarting bitcoind:
txindex is enabled at height 780342
txindex thread exit
Not sure if it's normal that it exits immediately.

It seems like there is something extremely large that is loaded into memory for this command. If it is in memory the command is instant. But if it has been tossed from memory it takes a crazy amount of time to rebuild it before the command will complete

This should be fixed now


Add Support For TIFF Image File Format

As someone, who has scanned a lot of photos and would like to keep all metadata associated with them, I would like to directly convert my photos from the TIFF format to JXL. Trying to convert to an intermediate format, such as PNG, is possible with another utility, such as ImageMagick, but it adds significantly more time and complexity to the entire process.
For multi-TIFF images, it would be nice to have the option to split all images into separate JXL files.

AFAIK, ImageMagick can convert directly from TIFF to JPEG XL.

https://github.com/libjxl/libjxl/issues/680#issuecomment-973870381
probably won't happen


Fixes for Bokeh path plots

Fixes for hover tools on polygons and adding batching for Path plots. This PR is based off https://github.com/ioam/holoviews/pull/762 and should be merged after that one.

Just rebased the PR, now ready to merge.

Other than one comment (which is only asking for clarification) this looks fine and I am happy to merge.


Revert "Remove exceptions from birdsongrec.py"

This reverts commit c22804052e5509ca2ae027305544da15e18fee18.
We do actually need to check for audio with this annotation format, since we use the audio to get the sampling rate and convert the onsets and offsets from sample numbers to seconds. There might be a more flexible way to handle this long term, but this did not fix the problem I had upstream with vak so I'm just going to revert it for now.

Codecov Report

:exclamation: No coverage uploaded for pull request base (maintenance/3.4.x@81af3ca). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@                 Coverage Diff                  @@
##             maintenance/3.4.x     #256   +/-   ##
====================================================
  Coverage                     ?   95.69%
====================================================
  Files                        ?       28
  Lines                        ?      766
  Branches                     ?        0
====================================================
  Hits                         ?      733
  Misses                       ?       33
  Partials                     ?        0

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


add example module;

fix README, the declared typeAdapter method is static;

Updated!
B.T.W. the generated GsonTypeAdapter class is not package private. I remember that @rharter said in last pr that package private visibility is better?

Re: the type adapter scope, it is marked as public, but it's containing class is package private.  Therefore it will be package private since you wont' be able to access it's containing class outside the package, no?

@rharter Oh yes, the AutoValue_* class is package private.

@rharter Updated!

Thanks!


[Bug] Check whitelisting when connection

Check PEER_WHITELIST when setting peer candidates
Update some logs

Never mind the test! Deployment broke again

Thanks for the fast review!! Merging now for the next expr.


Statically export contract Interface from ABI

parse an ABI and export methods & events.
support:
await mycontract.method(arg1, arg2);

mycontract.addEventListener('event', myHandler);

This feature helps with  typescript development and not a high priority at the moment.


💄 MT 828: Decrease max length on text

This was added in https://github.com/Mattilsynet/designsystem/pull/402


recategorise place?

@thoughtstream @lizmat tl;dr: to be pragmatic, I suggest we recategorise '=place' from a directive to a block.
=place was introduced at the end of the revision process as a 'block level' analogy of the inline P<> markup.
This makes sense because quite a bit of text that pulled in should be at a block level and have a TOC entry.
By analogy  with =alias it seemed logical to categorise it as a directive.
After experimenting with RakuAST, it is treated as a block (which is the default for unknown block names)
To treat it as a directive would need some changes to the RakuAST parser. Since I do not think a change in category from directive to parser radically changes any paradigm, I suggest we make =place a block. Then there will be no need to alter the parser at all.
For instance
=place https://raku.org/camelia-logo.png  :caption<Raku's mascot>

generates the AST
RakuAST::Doc::Block.new(
        type        => "place",
        abbreviated => True,
        paragraphs  => (
          "https://raku.org/camelia-logo.png  :caption<Raku's mascot>
        )
      )

while
=for place :caption<Raku's mascot>  :alt<A multicoloured butterfly>
= :more<styff>
https://raku.org/camelia-logo.png

generates
RakuAST::Doc::Block.new(
        type       => "place",
        for        => True,
        config     => ${:alt(RakuAST::QuotedString.new(
          processors => <words val>,
          segments   => (
            RakuAST::StrLiteral.new("A multicoloured butterfly"),
          )
        )), :caption(RakuAST::QuotedString.new(
          processors => <words val>,
          segments   => (
            RakuAST::StrLiteral.new("Raku's mascot"),
          )
        )), :more(RakuAST::QuotedString.new(
          processors => <words val>,
          segments   => (
            RakuAST::StrLiteral.new("styff"),
          )
        ))},
        paragraphs => (
          "https://raku.org/camelia-logo.png\n\n",
        )
      )

I disagree with any proposal to reclassify =place as a block, instead of a directive,
for three reasons:
1. It’s incorrect at a design level.
A block is a container for content. But a =place does not contain content; it
contains direction (to another source of content). Hence, logically, it should
be a directive.
2. It makes every renderer harder to implement.
Your examples actually demonstrate this problem. Namely:
=place https://raku.org/camelia-logo.png  :caption<Raku's mascot>

versus
=for place :caption<Raku's mascot>
https://raku.org/camelia-logo.png

The first version produces an AST representation where the caption must
then be re-parsed out of the ‘paragraph’ field, presumably by the renderer.
Whereas the second version produces a representation where the caption
is already correctly identified as ‘config’. Dealing with that inconsistency,
and the extra reparsing work it entails, would impose a nontrivial burden
on every renderer.
Actually, it imposes two extra burdens. Not only does each renderer
now have to reparse the block content to extract valid config metadata,
they also have to reparse that content to detect invalid content
such as:
=place https://raku.org/camelia-logo.png  :caption<Raku's mascot>  # Note: Make sure it’s hi-res

...or:
=for place :caption<Raku's mascot>
P<https://raku.org/camelia-logo.png>

3. It’s intrinsically inconsistent with the rest of Rakudoc.
Even worse, if we allow abbreviated place blocks (and only abbreviated place blocks)
to specify metadata options within their content:
=place https://raku.org/camelia-logo.png  :caption<Raku's mascot>

...then, for consistency, we presumably have to allow content metadata
within non-abbreviated place blocks as well:
=for place
https://raku.org/camelia-logo.png  :caption<Raku's mascot>

After all, if config metadata is allowed in the content of a place block,
why should it matter how the place block was specified?
Which means that each renderer now has to reparse config out of the ‘paragraph’ field
of the AST representation, and also extract it from the representation’s ‘config’ field.
And we have to explain why “inline” config metadata is allowed for place,
but not for any other block type.
Of course, the latter two objections go away if we specify that the contents of a place block
must consist of only exactly one URL. In which case the above counter-examples:
=place https://raku.org/camelia-logo.png  :caption<Raku's mascot>

=place https://raku.org/camelia-logo.png  :caption<Raku's mascot>  # Note: Make sure it’s hi-res

=for place
https://raku.org/camelia-logo.png :caption<Raku's mascot>

=for place :caption<Raku's mascot>
P<https://raku.org/camelia-logo.png>

...all become invalid Rakudoc, and any place block that requires metadata can no longer
be specified with =place (i.e. you have to use =for place or =begin place...=end place).
However, such a draconian restriction of block content is unusual in Rakudoc.
Every other block type in the language can contain arbitrary amounts of content,
and every other block type (except table) can also contain arbitrary kinds of content.
Hence, a block that is restricted to exactly one item of content of a very specific kind
...isn’t very blocklike.
And, finally, none of the above musing address the more fundamental design objection:
that “blocks contain content, but a place URL isn’t content; it’s direction”
So, I’m not enthusiastic about reclassifying =place as a block instead of a directive.
I've never been a fan of doing the easy (but wrong) thing, if it's possible to do the
right (but harder) thing.
However, that's an easy philosophical position to hold when one won't actually be
responsible for doing either thing. As I won’t ever have to fix the AST parser
to detect =place as a directive, nor would I have to fix all the existing and future
renderers to deal with the special-case inconsistencies of =place as a block,
I’m not sure how much my opinion on this matter should actually count. :-)

I'll have a stab at implementing it as a directive after doing the weekly.
@finanalyst Are there other things I could / should be looking at while I'm in that neck of the woods?

I'll have a stab at implementing it as a directive after doing the weekly.

Thanks @lizmat! You're amazing. :-)
And thanks @finanalyst...for raising the issue in the first place.
You have no idea just how grateful I am that the two of you are willing to channel
so much of your remarkable energy, and so much of your exceptional talents and abilities,
into this project.

@thoughtstream thank you for the response. @lizmat thank you for the extra time.
In due course, I would be very grateful if you could look at RakuAST Rakudoc Render. I am slowly getting there, so it is still very much in draft form (I tend to be a cultivate-type worker, than a design-type one). However, I think the overall shape of the module is now visible. I haven't worked on the documentation for the Render part, so usage can be found in the tests.
@lizmat I'll put together a list of things in next post here.

@lizmat briefly, of the directives, =place, =column, =row, =finish need some TLC
=finish has a minor glitch, =column and =row outside a =table should be errors, but I'm
not sure whether this should be the Parser or Renderer.
A =table with =column/=row yields an AST, and seems to be missing things, but this may be me not knowing enough.
Detail
place
As in this issue, so no more detail here
finish
=finish causes an error in the following (but otherwise =finish seems to work as expected)
=begin rakudoc
RakuDoc text
=end rakudoc
=finish
This is some text
OK

produces
$ RAKUDO_RAKUAST=1 raku tmp/test.raku
===SORRY!===
Cannot find method 'replace-finish-content' on object of type NQPMu
$ raku tmp/test.raku
$

The problem for the RakuAST is cured by adding an instance of $=finish, eg,
=begin rakudoc
RakuDoc text
=end rakudoc
say $=finish;
=finish
This is some text
OK

table
See attached
test.zip which contain

test.rakudoc
test.html = test.rakudoc rendered using Pod::To::HTML2
dump = AST of test.rakudoc

test.rakudoc starts
=begin rakudoc
some text

=column :label

=row :label

=begin table :caption<tabula>
    =row :header

Outside the block scope of  =table , the following should throw errors =column, =row, =cell.
I dont know whether this should be the Parser or the Renderer's job.
dump has the AST of the table in RakuDoc document, and test.html has my rendering of test.rakudoc from $=pod.
I do not know how to turn the AST from the table into the HTML. :(
The :label options are not included anywhere in the AST
I haven't looked at the :row-span or :col-span options yet.
Maybe =table needs an issue of its own.

https://github.com/rakudo/rakudo/commit/b82fa83db0 categorizes =place as a directive

https://github.com/rakudo/rakudo/commit/f997c36cc0 fixes the =finish issue.

Outside the block scope of  =table , the following should throw errors =column, =row, =cell.
I dont know whether this should be the Parser or the Renderer's job.

As far as my understanding goes, =table is a block, not a directive.  Having the parser throw an error about a directive being out of place because of a block, means treating some blocks (in this case=table) different from other blocks.  And that feels like damaging the generality and extensibility of the parser to me.
So I feel that this is a renderer issue.

dump has the AST of the table in RakuDoc document, and test.html has my rendering of test.rakudoc from $=pod.

I would advise against using $=pod for this.  Or was that a typo, and did you mean $=rakudoc ?

I do not know how to turn the AST from the table into the HTML. :(
The :label options are not included anywhere in the AST
I haven't looked at the :row-span or :col-span options yet.
Maybe =table needs an issue of its own.

I think it needs a separate issue.  Looks to me now that the whole new table design is mostly NYI.  @finanalyst could you give me a tree of RakuAST objects that you would like to see produced from the test.rakudoc document?

@lizmat
seems =finish issue fixed but =place is not working
I put the following into tmp/test.rakudoc
    =begin rakudoc
    =head1 Head One

    Some text

    =for place :caption<TOC>
    toc:

    More text

    =head1 Head Two

    Again text

    =head2 level two head

    Final stuff

    =end rakudoc

Then I get the following in a terminal
$ raku -v
Welcome to Rakudo™ v2024.02-93-gc49e05d84.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.02.
richard@ged:~/development/rakuast-rakudoc-render$ raku -c tmp/test.rakudoc
Syntax OK
richard@ged:~/development/rakuast-rakudoc-render$ RAKUDO_RAKUAST=1 raku -c tmp/test.rakudoc
===SORRY!=== Error while compiling
Preceding context expects a term, but found infix = instead.
Did you make a mistake in Pod syntax?
------> =⏏begin rakudoc

The error maybe LTA, but wasn't =for place supposed to be illegal on account of the fact that it is a directive?

wasn't =for place supposed to be illegal on account of the fact that =place is a directive?

Yes. Or at least: I hope so!

closing as resolved


add a blog description

Can you add a blog description about lsm and the implementation logic details of the code? This is a very good lsm code case that can be used for learning purposes. Thank you for providing it. I learned a lot.

Hey @xia-Sang thank you for bringing it up. It is in progress, a bit delayed though.


Added Coveralls.io

For code coverage tracking, analysis, pull request annotations, and badges.

As per #88, let's create a new category called 'Code review`. Unless you can think of a better name?

Perfect 👍

@tpluscode great! Closing in favor of https://github.com/255kb/stack-on-a-budget/issues/106


upload-bin hangs on index files construction if at least one SEARCH result is incomplete

Current Behavior
Here are logs of upload-bin command for neogo-block-uploader-fschain-testnet.service instance:
2024-10-28 06:32:48.810	Successfully uploaded batch of blocks: from 4440000 to 4449999
2024-10-28 06:41:36.505	Processing batch from 4460000 to 4461912
2024-10-28 06:41:36.505	Successfully uploaded batch of blocks: from 4450000 to 4459999
2024-10-28 06:43:28.713	Updating index files...
2024-10-28 06:43:28.713	Successfully uploaded batch of blocks: from 4460000 to 4461912

Index file update started at 06:43:28.713 and already 3 hours passed since its start. No index files are uploaded yet, and it's a bug in the program.
The problem is in the waiting code:
https://github.com/nspcc-dev/neo-go/blob/b8a65d3c37cfa429b8a5e135422bb1fa78762056/cli/util/uploader.go#L416-L428
This code waits for exactly indexFileSize number of OIDs to be returned from SEARCH routines. However, due to #3645 a incomplete batch may be returned, and we don't have any check for this in the code:
https://github.com/nspcc-dev/neo-go/blob/b8a65d3c37cfa429b8a5e135422bb1fa78762056/cli/util/uploader.go#L396-L400
https://github.com/nspcc-dev/neo-go/blob/b8a65d3c37cfa429b8a5e135422bb1fa78762056/cli/util/uploader.go#L410-L412
Expected Behavior
Index files must be uploaded without deadlocks and endless cycles.
Possible Solution
Add retry to SEARCH if the number of returned objects is less than expected indexFileSize. Retry until successful SEARCH attempt.

Here are some more recent logs, we need this issue to be fixed:
2024-10-29 04:04:40.526	Successfully uploaded batch of blocks: from 6590000 to 6597865
2024-10-29 04:33:47.787	failed to update index files after upload: empty oid found in index file 0 at position 16556 (block index 16556)
2024-10-29 04:34:51.317	Chain block height: 6598013
2024-10-29 04:38:49.004	Processing batch from 6590000 to 6598013
2024-10-29 04:38:49.004	First block of latest incomplete batch uploaded to NeoFS container: 6590000
2024-10-29 04:42:29.264	Updating index files...
2024-10-29 04:42:29.264	Successfully uploaded batch of blocks: from 6590000 to 6598013
2024-10-29 05:09:51.357	failed to update index files after upload: empty oid found in index file 0 at position 1976 (block index 1976)
2024-10-29 05:10:52.966	Chain block height: 6598150
2024-10-29 05:13:47.332	Processing batch from 6590000 to 6598150
2024-10-29 05:13:47.332	First block of latest incomplete batch uploaded to NeoFS container: 6590000
2024-10-29 05:17:27.529	Updating index files...
2024-10-29 05:17:27.529	Successfully uploaded batch of blocks: from 6590000 to 6598150
2024-10-29 05:45:49.080	failed to update index files after upload: empty oid found in index file 0 at position 4257 (block index 4257)
2024-10-29 05:46:51.451	Chain block height: 6598287
2024-10-29 05:51:47.574	Processing batch from 6590000 to 6598287
2024-10-29 05:51:47.574	First block of latest incomplete batch uploaded to NeoFS container: 6590000
2024-10-29 05:56:13.871	Updating index files...
2024-10-29 05:56:13.871	Successfully uploaded batch of blocks: from 6590000 to 6598287
2024-10-29 06:28:38.586	failed to update index files after upload: empty oid found in index file 0 at position 91 (block index 91)

BTW, these gaps in the resulting index file may still be connected not only with incomplete SEARCH result, but also with some duplicating blocks, similar to https://github.com/nspcc-dev/neo-go/issues/3630#issuecomment-2426476212. @AliceInHunterland, please also check if the uploaded sequence of blocks contains duplicating entries for all chains, at least within the bounds of the first index file.

To summarize, the reason is that there are duplicating block objects uploaded to the container (@AliceInHunterland you may attach the example). NeoFS session token and block signatures set affect the resulting object ID, hence within the scope of this issue we need to prepare index file constructor to the fact that there might be duplicating entries in the container.

 ./bin/neo-go util upload-bin --cid VCVr6RKg1hfJR7v36xvjbaXTncj1waPi94u9EFyEttW --wallet-config ./wallet-config.yml --block-attribute Block --index-attribute Index --rpc-endpoint https://rpc1.morph.fs.neo.org:40341 --fs-rpc-endpoint st1.storage.fs.neo.org:8080 --timeout 3m --skip-blocks-uploading --index-file-size 10000
Warning: Missing block index 1889
Warning: Missing block index 1976
Warning: Multiple oids: [4vMdkXbQEgnSSiEi7xsywwoqpbdS6mgqPFSSouyqXAEj 5uiRgBiVmcPrRPjjvJ7tqj3q6pbEb5tP4yynMMbmHHXf] for block index 2171
Warning: Multiple oids: [HvAc5MmjmQk94uJq6yCC9uxKLd87D8iGHJqQb3dKhw99 32RL6F6zf7r7ueShgPFi4SHDAWjF1U7p4PdFKsfdR6Qk] for block index 3714
Warning: Multiple oids: [5YGcGQ3XQKKxDYDTc7vjxkpSAxZaFFreeGSEpcqG4aWF 5qqheyM2Uoisjfuof4P1JpkzAR7vh7ih4uQaw97cYUDN] for block index 4001
Warning: Missing block index 4257


Broken summary for commit messages with empty first line

Summary generation for commit messages with superfluous empty lines on the top (don't ask - old repositories imported from SVN) seems to be "broken" in that no summary (or rather, an empty summary) is generated. (Well, it's not exactly broken of course, because garbage in, garbage out, but it could be made better.)
From a cursory look, a patch along the lines of
diff --git a/vendor/code.gitea.io/git/commit.go b/vendor/code.gitea.io/git/commit.go
index fa5e185..c910ba3 100644
--- a/vendor/code.gitea.io/git/commit.go
+++ b/vendor/code.gitea.io/git/commit.go
@@ -34,7 +34,7 @@ func (c *Commit) Message() string {

 // Summary returns first line of commit message.
 func (c *Commit) Summary() string {
-       return strings.Split(c.CommitMessage, "\n")[0]
+       return strings.Split(strings.TrimSpace(c.CommitMessage), "\n")[0];
 }

 // ParentID returns oid of n-th parent (0-based index).

would fix the problem without any obvious unwanted side effects.

@melak could you send a PR to github.com/go-gitea/git ?

See go-gitea/git#75

update git vendor. #2094


fix scrollbar on chrome

Makes scrollbar visible on Chrome
Fixes issue
https://github.com/cockroachdb/docs/issues/5029

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ce703a82c6c5f19fcd3bfab176ee20f029572891/

Thanks for working on this @anagio. I don't see any change in the online preview, however. Do you?

Just added the compiled css preview should show it once deployed

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5072ca9780b6829fc73e00be65f9543228d2af4d/

Yes! Scrollbars are there. Next problem: When the page toc on right is long, it looks like we have t2 scrollbars for that:

Check: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5072ca9780b6829fc73e00be65f9543228d2af4d/stable/architecture/transaction-layer.html#time-and-hybrid-logical-clocks

@petervandivier, ping on my last comment.

@jseldess - I'm assuming you meant to ping @petermattis ?

Sorry, @petervandivier. Meant to ping @anagio.

@yingzhuchin, are you able to take this over from @anagio?

Yes, just added to the prod-ops-eng backlog.


Add c5.12xlarge and c5.24xlarge

These two new instance types were released today (as well as some new Bare Metal, [see .)
We need to add them to the site.

They're available now 👍


Request textDocument/codeAction failed.

It looks like we should be able to limit the extensions to work only in workspace
[Error - 19:26:08] Request textDocument/codeAction failed.
  Message: Size of /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.dom.d.ts is 1.2 MiB which exceeds configured maximum of 1.0 MiB for this project. The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't.
  Code: -32603

Hi @FlatMapIO
You can lift the size limit by creating a configuration file and using this option: https://biomejs.dev/reference/configuration/#filesmaxsize

@ematipico Thank you for your reply. I've learned a lot.


Can't write data to explicit retention policy using the HTTP API?

I have two separate retention policies defined for my database and I want to specify which should be used for each stat that I write to the database (via the HTTP API).  On other APIs, the docs say that this can be achieved by fully qualifying the measurement: ""."<retention_policy>"."" but this doesn't seem to work on the HTTP API.   If a I post to "/write?db=main" and send content like
"main.stats_default.memBuffer value=888i<PHONE_NUMBER>000000000"
then the HTTP request is successful (I get a 204), but no data is written to the DB for a measurement named "memBuffer".  Instead a measurement is created called "main.stats_default.memBuffer" (which isn't what I want, and even then I don't seem to get any data points when I query it).
Is this possible?   If not this is a major limitation.   I need to use the HTTP API for my application, and I need to be able to have two different sets of data with different retention policies...

The dot-separated format of db.rp.m applies to queries. The API documentation for the /write endpoint explains that you must set the rp query parameter, e.g. http://localhost:8086/write?db=main&rp=stats_default.
Please open an issue on the docs repo if there was anything particular that led to this confusion.

Ah -- thanks.   I will raise a docs issue...

rb not rp ...


how can i change keyboard shortcut for this package?

I want change the keyboard shortcut because it's conflict with another package how can i do that?
Tanx

You can go to Preferences > Key bindings (user) and add:
  {
    "keys": ["ctrl+shift+c"], "command": "colorconvert"
  }

There you can override the default command to whatever you'd like.
More info here: http://docs.sublimetext.info/en/latest/customization/key_bindings.html


feat: add resolve.extensions config

Summary
Add new resolve.extensions config:
export default {
  resolve: {
    extensions: ['.ts', '.js'],
  },
};

Related Links
https://rspack.dev/config/resolve#resolveextensions
Checklist

[x] Tests updated (or not required).
[ ] Documentation updated (or not required).

Awesome 🥇


Righthand-nav visually odd now

What happened?
There were some recent changes in feat/bs5 that allowed pulling in extra content (mainly for the agenda page).
The resulting DOM structure for the righthand-nav now seem somewhat odd. There are card elements in there whose purpose I don't understand and that add add visual elements (borders, spacing) that wasn't there before.
More importantly though, what's being added to the nav isn't actually shown in a useful way, as it's being horizontally truncated. See below for a comparison between 3234f1a12 (top) and 3619d3bfbf4b48dbce24a4bc3f09f02fe62c1cb0 (bottom, current):

What browser(s) are you seeing the problem on?
Not Applicable
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

To be clear, this happens as the window narrows.
If the window narrows a little more, the righthand-nav is hidden.
The trigger for that hiding needs to be taken into account.
The PR that brought the cards in explained them, I think, (ability to add things like showing the selected timezone) but Jennifer can provide more detail here.

As the column narrows, the contents should wrap - this is what happened before (you can see that the headings span two lines in the first image).
I'll look at where the cards came from. But the vertical centering also doesn't make sense to me.

The vertical centering is accidental - possibly from merge conflicts or a commit error. It can be fixed by adding an align-items-start to the #righthand-nav.
The other glitches are side effects of the timezone picker behaving badly. If I drop that (and add the align-items-start):

Re: the card, it's not essential to the changes - I personally like the padding/borders that it creates, but I think it's an aesthetic question. It could be dropped without much impact.

Wrapping the timezone picker turns out to be straightforward, giving this behavior:

This is much more useful, thanks! Could I as - pretty please - to remove the card (i.e., the border and extra spacing)?

Working on it, will post in a minute

No cards.

Also, I found the cause of the vertical alignment - we'd both taken the inline style off of the #righthand-nav and moved to CSS. I'd dropped the 70vh height in my branch, but it came back when I merged your branch in. Without it, the panel shrinks instead of padding its content.
I've added a couple more tweaks: shrinking the size of the compact timezone picker and adding a max-height of 80vh to the entire righthand panel. At very small browser heights, this largely avoids the right hand panel from falling off the bottom of the viewport.
Reasonable browser height:

Browser too short but everything is still nominally usable

We could perhaps hide the time zone selector in this mode, but this isn't really an issue until the nav panel is already overflowing into a scroll bar. Regardless, usability is minimal, so I'm inclined to keep it simple.

LGTM!


Generate standalone micro-ROS lib & includes

This PR enables users to build micro-ROS as a static library (.a) and a folder with includes ready to be linked against other build systems.
The input is a CMake toolchain file.
TODO:

[ ] Solve how transports and configuration step are resolved
[x] Should we put it in the CI?

It would be great to add a CI test that checks the correct creation of the library by means of this new feature.

Added


Confidential Contract: ERC20 / Balances module

Implement commands:

transfer(payee, amount)

Queries:

balance(): only the owner has the access
supply(): everyone has the access

Contract ID: 2
Reference: ./contracts/data_plaza.rs

Fixed by #11


Missing Rows

Type: Bug
Selecting from data source sometimes results in showing rows affected but they are not rendered in results grid. If I run the same query in SSMS, it will show all results.

Azure Data Studio version: azuredatastudio 1.47.1 (b6f7beb01f92adaa4b79b6b6f3ac704e95cafe6e, 2024-01-10T02:15:02.628Z)
OS version: Windows_NT x64 10.0.19045
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 x 2712)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.71GB (11.78GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

azuredatastudio-oracle
Mic
0.1.6

net-6-runtime
Mic
1.1.0

@kjyounkin can you try the 1.46.1 release to see if this was a regression introduced in 1.47.1?

Or try the latest insiders build - as it might be already fixed if your data has XML/HTML content.

We haven't heard from you, and many other customers have reported the latest insiders build fixes the issue, so we'll proceed to close this issue. If you encounter it again in future releases, let us know.


refactor(aria): move properties to aria-metdata

Summary
Part of #4241.
This PR moves aria properties from biome-aria to biome-aria-metadata.
I renamed AriaPropertiesEnum to AriaAttribute because aria properties includes both aria properties and aria states.
This is also the name used by MDN.
I also renamed AriaPropertyType to AriaValueType and added the tokens directly in the Token and TokenList variants.
I didn't see the utility of declaring a service for retrieving the Aria attributes. So, I removed the service.
This allows to use the Ast query instead of the Aria query in some rules.
Once #4241 completed, we will certainly get rid of the Aria query.
Also, we should certainly merge the biome-aria and biome-aria-metadata crates.
Test Plan
O updated the snapshots.
The only side effect of the change is some reordering of tokens: I placed the default token first.

We should write somewhere instructions on how to update these data. I know we have a scraper, did we write somewhere how to use it?

We should write somewhere instructions on how to update these data. I know we have a scraper, did we write somewhere how to use it?

I previously introduced CONTRIBUTING.ms in biome_aria_metadata. Have you other suggestions?

We should write somewhere instructions on how to update these data. I know we have a scraper, did we write somewhere how to use it?

I previously introduced CONTRIBUTING.ms in biome_aria_metadata. Have you other suggestions?

I think it's enough. Thank you!


[SPARK-18114][MESOS] Fix mesos cluster scheduler generate command option error

What changes were proposed in this pull request?
Enclose --conf option value with "" to support multi value configs like spark.driver.extraJavaOptions, without "", driver will fail to start.
How was this patch tested?
Jenkins Tests.
Test in our production environment, also unit tests, It is a very small change.

Can one of the admins verify this patch?

@srowen LGTM.  Can we get this in 2.0 and master?

Test build #3389 has started for PR 15643 at commit 7e66a4e.

Test build #3389 has finished for PR 15643 at commit 7e66a4e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master/2.0. It didn't merge cleanly vs 1.6, not in a way I could resolve with confidence.

@mgummelt @srowen 1.6 lacks --conf options, you could add some code to support --conf, it is useful. so if 1.6 is still maintained I can submit a new pr or you can fix it yourself, it is similar to master only to get conf from desc.schedulerProperties

Let's just leave it.  Thanks!

@srowen this broke the build in branch-2.0.

Gah, let me go see what happened there and fix it @rxin. It looked clean enough to cherry pick but I must have missed something

Ugh, the line became just a bit too long. HOTFIXing it straight away ...


function "site" not defined

hello, i got this error with the latest version of hugo and kiss:
ERROR 2019/09/06 19:43:19 Failed to add template "index.html" in path "index.html": template: index.html:5: function "site" not defined
ERROR 2019/09/06 19:43:19 index.html : template: index.html:5: function "site" not defined
Building sites … ERROR 2019/09/06 19:43:19 Error while rendering "home" in "": template: "index.html" is an incomplete or empty template
ERROR 2019/09/06 19:43:19 Error while rendering "section" in "": html/template:_default/list.html:1:12: "index.html" is an incomplete or empty template
ERROR 2019/09/06 19:43:19 Error while rendering "taxonomyTerm" in "": html/template:_default/list.html:1:12: "index.html" is an incomplete or empty template
Total in 27 ms
Error: Error building site: logged 5 error(s)
after rename "site" to ".Site" in layouts/index.html, it works.

What exactly do you rename? Can you submit a PR?

Have you tested after https://github.com/ribice/kiss/commit/302297164b08e65b18344ec7bb81901ad9dce95a ?
Are you still getting the same error?


1 spurious wear sometimes detected outside known wear period

Added variation of van Hees' border criteria. Updated docstrings and readme file to reflect this change.

I have updated the code, see issue #1


win10 Lib.rs exception

It's not at all clear from the screenshot what the problem is. Please provide more details.

I have solved it.
Code coding problem
your code
struct conn_io* conn_io =(struct conn_io*) malloc(sizeof(*conn_io));
but i like
struct conn_io* conn_io =(struct conn_io*) malloc(sizeof(conn_io));So the memory overflows. I modify the codestruct CONN_IO* conn_io =(struct CONN_IO*) malloc(sizeof(*CONN_IO));`
that‘s ok now


Writer.close() does not clear the symboltable context

Once we have symboltable support this should clear the local symboltable context.
close() : void {
while (!this.isTopLevel) {
this.endContainer();
}
}

fixed around #152


Please publish bsh-2.1.1 in mvnrepository so it can be easily used in projects

Please publish bsh-2.1.1 in
https://mvnrepository.com/artifact/org.apache-extras.beanshell/bsh
so it can be easily used in projects.
bsh-2.1.1 contains important fixes and updates compared to the latest version published there (2.0b6) and it would help a lot fixing software using bsh, if it can be used as a normal gradle / maven dependency as before.
Thank you!

Is there any chance this happens any time soon?

It would be really lovely, if someone who has the necessary rights and permissions could take ~1/2h and publish this to mvnrepository.com so that it doesn't block other projects.
PLEASE!

@opeongo @nickl- Do you see a possibility to publish beanshell 2.1.1 on Maven central? Because at the moment the project is unusable, even using jitpack.io it is not possible to use beanshell in a Maven or Gradle project if you want a version later than 2.0b6.
Jar releases on Github are useful if the release is a program, for Java libraries including them in a project is not really useful...

Duplicate of #603
Hi @rob-X1, @bugla
Please read the issue #603 for details about what was going on with the release of beanshell 2.1.1
The summary is that it requires someone with credentials for Maven Central to make this update.  It appears that @jimjag has this authority https://github.com/beanshell/beanshell/issues/603#issuecomment-1461671297 but the update has not been made yet.   I do not have Maven credentials so there is nothing that I can do about this.  Sorry that I cannot help with this, it seems to be the nature of older, poorly supported open source projects :(
Also note that @nickl- has said that beanshell 2 will not be supported going forward https://github.com/beanshell/beanshell/issues/603#issuecomment-1336535814 .   This makes sense from the pov of beanshell 3 because it is confusing to have issues about the old version being discussing within the project for the new version.  So the opportunity to discuss beanshell 2 within this particular forum is just about over.
If people are interested in keeping beanshell 2 around for discussion and incremental fixes then it would probably be a good idea to do this in a different project than from within this beanshell 3 project.  This means forking the beanshell 2 tree in to a new project, and leaving a note here to say that the beanshell 2 has moved.  A good project location would be https://github.com/beanshell/beanshell2

Will look into publishing the 2.1.1 release but in the meantime please use the BeanShell 3.0 SNAPSHOT release instead, as we cannot do support on 2.1.1.
groupId: org.beanshell
artifactId: bsh

looks like release  2.1.1 was configured to do artifact deployment to bintray
[INFO] --- deploy:3.1.1:deploy (default-deploy) @ bsh ---
Uploading to bintray-beanshell-Beanshell-bsh: https://api.bintray.com/maven/beanshell/Beanshell/bsh/org/apache-extras/beanshell/bsh/2.1.1/bsh-2.1.1.pom
Uploading to bintray-beanshell-Beanshell-bsh: https://api.bintray.com/maven/beanshell/Beanshell/bsh/org/apache-extras/beanshell/bsh/2.1.1/bsh-2.1.1.jar

You need to change distributionManagement in pom to like here https://github.com/beanshell/beanshell/commit/61e880567d2ebaea95b637b2a90e0a4fbf7a206c

Any chance to publish deploy it to repository?


confused v-for in component,a strange problem i met

Vue.js version
1.0.26

that's what i met.i write a tiny component named 'alert', it's look like so.
<template>

{{message.body}}

</template>

and then i used it in my app.vue like this
  <app-alert :message="message" v-for="message in messages" ></app-alert>

and the script of messageMixin.js like this

var messageMixin = {
	data: function () {
		return {
			messages: [],
		}
	},
	events: {
		'app_message_update': function (msg) {
			this.messages.push(msg);
		}
	}
};
export default messageMixin;

i use mixin option into the app.vue.
as you see i have defined the messages as a empty array,and a event listener.i send the new message object use DISPATCH method in other component ,and in this mixin listen this value,the strange thing comes.
1situation:use above  tag  not working and got  a error
  Uncaught TypeError: Cannot read property 'childNodes' of undefined,
  Uncaught Error: [vue] async stack trace

the error in this line
this.messages.push(msg);'!

2situation:no  tag in app.vue but go straight write the html  in
<template v-for="message in messages" >

{{message.body}}

</template>

that's works good.
maybe its my problem,but i don't really know where and what happened. thanks

Hi!
Please make sure to ask the question on the forums or the gitter chat.
I doubt the messages variable exist. Can you define it in the Vue instance using the app-alert component?

can not reproduce.
it works: https://jsfiddle.net/v4gaoqyd/

yes,that works,please add this.message.push(some object
) in ready hook of app.vue,then you will see the errors.:)

@yiyunzhi
https://jsfiddle.net/v4gaoqyd/4/ - works in my browser


Replace web steps with YAML steps

Turns out there are heaps of places we talk about the web UI step in our docs! This PR removes them and updates the existing YAML examples or adds them in if they were missing.
Going to hold this one as a draft until the end of the week so that it doesn't get accidentally merged before YAML steps goes live.
@plaindocs could you please cast your eyes over all this and check that it all still makes sense? 🙏🏻

@plaindocs I've just added a draft section about env var interpolation in 0d2dfb8, could you take a look and see if it makes sense please? 😊
I based it on the env var section from here: https://forum.buildkite.community/t/defining-pipeline-build-steps-with-yaml/79. I'm not 100% on how or when the interpolation actually happens, I chucked a question about it into campfire; I'll add that bit in once someone has cleared it up.

Preview of the sidebar with this set of updates:
<img width="301" alt="image" src="https://user-images.githubusercontent.com/282113/87080693-f2e0b500-c1dc-11ea-9a99-da915c4a991a.png”>
Looking good! We’re nearly there!

Because we're not deprecating the web steps immediately, this will need a little review before I put it live. Will do this arvo!


[BUG]Load more button

After entering the NFT tab under the ecosystem, when we press the load more button, the first data comes, but if I press the load more button for the second time, the page gives an error.
You can find the video link below
https://github.com/scroll-tech/frontends/assets/7009824/9d7ccd87-3c5f-452a-a76f-aad94b530764

looks like this issue was solved

hello @mefefirat
in this page, I think we should have not only Load more button but also a Load less button
in you website, because there is no load less button, a lot of the users is not comfortable for using it now
this is my short opinion
Thank you


Errors from TextModelResolverService can have PII

At https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts#L84 we throw an error if the resource cannot be found.
The resource can have PII and should be scrubbed.
There are 3 ways this can be done

Scrub PII before logging the error. Downside is that even the error in the console will not have the resource and we lose out on info that could help in debugging with a user
Update the telemetryService code to scrub the error. This would need the telemetryservice to be aware of the file pattern in use
Use console.log() to log the error and then return rejected promise instead of error

Unsure if this is so important then I initially thought. Also, this isn't a regression and maybe something the workbench should tackle because we need the rejection to make the workbench show a message.

@ramya-rao-a I do not see how this error ends up in telemetry, do you have a path? the text content will be resolved as part of an editor opening (e.g. settings) and in the end the error will bubble up to the user as a message.
I am also fine removing the URI from the message because I think this is a very technical thing and not necessarily helping users ( @joaomoreno might also want to chime in on this error message).

Yeah, removing works. We just need to make sure that if an extension opens foo://bar and we can't handle it, we're able to tell the user what is it exactly that we can't handle.

@joaomoreno I meant to not have it inside the error at all. I do not see how we can remove PII without knowing what kind of resources are actually being opened. These resources might have very different information compared to normal file paths.
I am tending to turn this around and react if we find out that we leak PII in telemetry. So far I am not seeing evidence that this could happen when I look at the code path. But I might be wrong.

@bpasero I meant it too, when I said removing works.
But if the situation were to happen, that a certain foo://bar URI can't be handled, what would Code show to the user?

@joaomoreno yeah not much, I am not even sure if we could show the resource scheme. Need some education what is PII and what not.

@jrieken Nope, not a regression.
@bpasero
Example of this particular error reaching error telemetry : https://ticino-errors.azurewebsites.net/?bucketIdHash=8844e355-fce7-6a73-9c5d-5562fe1f1394
Its pretty late in the game for the current milestone. Moving this to January


SGD based on Kalman Filter

Hi
Recently, I came across a Stochastic Gradient Descent version based on the Kalman Filter (eq. 34-38) which could be interesting for creme. It uses the Hessian matrix and is said to converge considerably faster than regular Stochastic Gradient Descent.
The aforementioned example describes the case for the least squares loss, but could be extended for any twice-differentiable cost function. Regarding practical implementation, the idea would be to implement a Kalman Filter optimizer in optim, such that various models could benefit.
A corse issue is the integration of the second derivative for the optimizer in _update_after_pred. Would a function eval_second_derivative for the corresponding losses be an option? However, the fit_one function would then need some changes which would add further complexity.

Hey Leandro.
The way to go about this would be to add a hessian method to each loss function in the losses.py file. You could just start off by implementing it just for the Squared loss as a proof of concept. Once this is done, you could add a file at the root of the optim directory. Is this clear? :)

Hi Max
This is pretty clear thanks. My question would rather concern the update formula:
Along your suggestions, the idea is to add a  kalman_filter module in the  optim  directory and do the update calculations including hessian matrix assembly in the _update_after_pred method. Regarding the update, equation (38) is basically the shermann_morrison formula which you already provide in the utils.math module.
At least in the least squares case, we'd need access to features x from within the kalman_filter module in the optim direcotry. I'm not sure how to go about that without changing the _update_after_pred inputs.

That's a good point. If x is really required, then we'll have to look into adding it to the signature of update_after_pred. Are you definitely sure that it's required?
To get started, I would suggest that you implement this yourself without worrying about how things are organised in creme. I can then take care of integrating it seamlessly. I think it's easier for everyone if you focus on getting good results, instead of getting bogged into API details :)


redisCommandArgv crashes when non-existent redis unix socket connection

Hi.
If I connect an app to my local redis server thru unix socket, and afterwards I stop the redis server, my app crashes when a call to RedisCommandArgv is made.
But, on the other hand, if the connection is made thru TCP/IP socket, and then I stop the redis server, any subsequent call to redisCommandArgv returns ERROR.
According to the documentation, I guess the TCP/IP behavior is the expected one. An error is returned to the app, and the redis context is no longer valid.
redis server version: 3.0.7
hiredis version: 0.13
Any ideas?
Thanks.
-Bob

Hey,
I can't say for certain what issue you're running into, but I have a decent guess.  I created this simple test program:
int main(int argc, const char **argv) {
    int i = 0;

    /*
     * Ignore SIGPIPE if we have an argument
     */
    if (argc > 1) {
        printf("Ignoring SIGPIPE\n");
        signal(SIGPIPE, SIG_IGN);
    } else {
        printf("Not ignoring SIGPIPE\n");
    }

    redisContext *c = redisConnectUnix("/tmp/bob.sock");
    if (!c || c->err) {
        printf("Can't connect!\n");
        return -1;
    }

    redisReply *r;

    r = redisCommand(c, "SET %s %s", "foo", "bar");
    freeReplyObject(r);

    while (1) {
        r = redisCommand(c, "GET %s", "foo");
        if (r && !c->err && r->type == REDIS_REPLY_STRING) {
            printf("[%d] Returned: %s\n", i, r->str);
        } else {
            printf("[%d] Error: %s (%d)\n", i, c->errstr, c->err);
        }

        sleep(1);
        i++;
    }

    return 0;
}

When I run the program without an argument (and therefore not ignoring SIGPIPE), it silently fails for me from the console, but reports a segmentation fault from within valgrind and gdb.
If I ignore the signal, it works and I get this:
➜  examples git:(master) ✗ ./sock 1
Ignoring SIGPIPE
[0] Returned: bar
[1] Returned: bar
[2] Returned: bar
[3] Error: Broken pipe (1)
[4] Error: Broken pipe (1)
[5] Error: Broken pipe (1)

I'm not sure if this is something we would want included in hiredis itself (@badboy would know better), or something that is better handled from the client program itself.
Hopefully this helps!
Cheers,
Mike

Hello.
Thanks for the followup on this matter.
The issue I'm running into is the following:

create unix socket connection to redis server
send commands to redis server by means of redisCommandArgv
now, kill the redis server
send command to redis server (non-existent) by means of redisCommandArgv
The call to redisCommandArgv makes the app to crash, instead of returning ERROR.
The crash happens when running the application normally, not thru gdb nor valgrind.

I'm not sure why it is behaving as expected on your case. Maybe the redisCommand you're using makes a difference here.
But I can reproduce the same problem over and over again, using redisCommandArgv.
Thanks.
-Bob

I'll look into it.

Thanks a lot !

@badboy @emacsuser123 am i missing something here?  :smiley:
I'm doing exactly that.  I kill the server while the program is running.  If I don't ignore SIGPIPE it crashes in hiredis when attempting to write to the (broken pipe) socket.  If I ignore SIGPIPE it does not crash.
redisCommand vs. redisCommandArgv is irrelevant.
Try ignoring sigpipe in your client program and tell me if it still crashes, or comes back properly with a broken pipe error :)

@michael-grunder is right. This behaviour of the write function is documented in its man page (man 2 page, I actually found it in this StackOverflow answer):
EPIPE  fd is connected to a pipe or socket whose reading end  is  closed.   When  this  happens  the  writing
       process will also receive a SIGPIPE signal.  (Thus, the write return value is seen only if the program
       catches, blocks or ignores this signal.)

Catching/Ignoring SIGPIPE is up to the user program. If it is ignored, hiredis correctly receives the EPIPE error and passes it on.

Hi.
I've used your recommendation and it actually works!
Now, SIGPIPE signal is ignored from the app  and the application does not crash when trying to send a redis command to an unavailable redis server.
Thanks a lot.
-Bob


Why does Istio need so many envoy listeners?

Istio uses the 15001 listener to receive the connection and forward it to the specific listener. For example, in the demo, it will be forwarded to the 9080 listener.
Why can't all requests be processed directly in the 15001 listener? Is it performance reasons, or are there other considerations?

Please ask this question to the Istio project, thank you.


[BEAM-13321] Fix exception with BigQuery StreamWriter TraceID.

When running a BigQuery IO transform with a query and query location set, was given the exception: "java.lang.IllegalArgumentException: TraceId must follow the format of A:B. Actual:Dataflow". Documentation shows an example of using it with the format "Dataflow:job_id" which is what I changed this to: https://cloud.google.com/java/docs/reference/google-cloud-bigquerystorage/latest/com.google.cloud.bigquery.storage.v1.StreamWriter.Builder#com_google_cloud_bigquery_storage_v1_StreamWriter_Builder_setTraceId_java_lang_String_

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @chamikaramj @ihji (Whoever gets to it first)

Seems like this was added recently in https://github.com/apache/beam/pull/16347.
@yirutang can you take a look ?
Also, should this be cherry-picked to the release ?

cc: @reuvenlax

LGTM, it seems we should accept both A and A:B in our client lib though...
On Tue, Jan 25, 2022 at 5:13 PM Chamikara Jayalath @.***>
wrote:

cc: @reuvenlax https://github.com/reuvenlax
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/16599#issuecomment-1021761494, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHGYVEXQ5UX3WRKZGET62J3UX5DETANCNFSM5MWMUIZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks.
Yiru

Is this a general breakage in the STORAGE_WRITE_API mode when using BQ sink ? In that case we should cherry-pick to the ongoing release.

And it needs to be cherry picked.
On Tue, Jan 25, 2022 at 5:21 PM Yiru Tang @.***> wrote:

LGTM, it seems we should accept both A and A:B in our client lib though...
On Tue, Jan 25, 2022 at 5:13 PM Chamikara Jayalath <
@.***> wrote:

cc: @reuvenlax https://github.com/reuvenlax
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/16599#issuecomment-1021761494, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHGYVEXQ5UX3WRKZGET62J3UX5DETANCNFSM5MWMUIZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks.
Yiru

--
Thanks.
Yiru

Thanks. cc: @emilymye

Created cherry-pick https://github.com/apache/beam/pull/16616

@yirutang also noting that we don't have integration testing for STORAGE_WRITE_API write mode which should have caught this early. Also mentioned in https://issues.apache.org/jira/browse/BEAM-11648.

Yes, could you give me instructions on how to add an integration test for
dataflow connector? Or it can be added by your team?
On Tue, Jan 25, 2022 at 5:35 PM Chamikara Jayalath @.***>
wrote:

@yirutang https://github.com/yirutang also noting that we don't have
integration testing for STORAGE_WRITE_API write mode which should have
caught this early. Also mentioned in
https://issues.apache.org/jira/browse/BEAM-11648.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/16599#issuecomment-1021772051, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHGYVEW3MOOIWJGYTP5M3MLUX5FUZANCNFSM5MWMUIZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks.
Yiru

Created https://issues.apache.org/jira/browse/BEAM-13747 with some info.
Our team may not have time to work on this immediately so appreciate if you or Reuven can add this.

Thanks Chamikara,
Our team can look into picking this up.
On Wed, Jan 26, 2022 at 8:58 AM Chamikara Jayalath @.***>
wrote:

Created https://issues.apache.org/jira/browse/BEAM-13747 with some info.
Our team may not have time to work on this immediately so appreciate if
you or Reuven can add this.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/16599#issuecomment-1022396649, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHGYVEW7GB2EVJCKPJ6LPIDUYAR3VANCNFSM5MWMUIZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks.
Yiru


SwipeActions not behaving correctly with -Right To Left- Languages.

the swipeActions buttons are appearing in the correct side which is the left side for Arabic Language, But i can't swipe from left to right.
https://github.com/aheze/SwipeActions/assets/93667302/92c5baeb-5f73-480d-824a-119b28cde20a

@aheze Fixed this issue in this raised PR https://github.com/aheze/SwipeActions/pull/27


[Question] support ip change

Is your feature request related to a problem? Please describe.
First, today we ship k8s cluster that was installed in the lab to developers. The thing is that now the k8s is located in a different network and I have to change the ip - can be related also to ship k8s cluster to a customer..
Second, k8s cluster that is connected to a dhcp server and after reboot the cluster IP can be changed
Describe the solution you'd like
Support ip changes
Additional context
I Know that k3s support ip changes so just need to be able to configure dhcp nic on the k3os and somehow the k3s should detect ip changes and reset itself the ip
Do you plan to support this?

Connectivity issue between pods
Connectivity issues with ingress from external to internal services
Connectivity issue between nodes
And more..
Do you plan to determine that k3os can support only static ips or will it support dhcp also?

Connectivity issue between pods
Connectivity issues with ingress from external to internal services
Connectivity issue between nodes
And more..
Do you plan to determine that k3os can support only static ips or will it support dhcp also?

k3OS uses DHCP by default, via connman, unless overridden at boot-time via write_files (or the like) in config.yaml.
Can you share a minimal set of steps to reproduce the issue(s) you are seeing? I believe that k3s should tolerate dynamic IPs but it is possible you are running into an issue with k3s itself (k3OS shouldn't be getting in the way here).

I'm sure that it's related to k3s itself
But you answered my question about the dhcp
Thanks


Closed Channels are Stuck in Contacts List

It's been days, but the channels are stuck and haven't been closed or removed from my contacts list.

Sorry, this is a dupe of #257
I hadn't checked the list before posting.


Generalize check for supported Java versions...

This issue was originally created at: 2012-09-06 16:36:34.
This issue was reported by: dirkbaechle.
dirkbaechle said at 2012-09-06 16:36:34

In SCons/Tool/JavaCommon.py we check the version of the currently installed Java against an internal list, see ll. 67 and ll. 174. Having a fixed list of allowed version numbers means that we need to update it whenever a new Java version is released. Not good...
Perhaps a better approach would be to say: We allow every version that is either "1.1"-"1.4" (then do this) or larger (then do that).
As an idea for the concrete implementation, one could try to convert the version string to a tuple (split at the '.'s), and then compare the versions by that.

dirkbaechle said at 2014-05-04 02:43:53

added keyword

aisha said at 2016-01-06 14:14:17

Enhancement implemented as part of this pull-request: [[ pointer to bitbucket, no longer available ]]
Please let me know if this is contrary to the original intentions of that condition.

aisha said at 2016-01-06 14:24:55

Enhancement in a new pull-request:  [[ pointer to bitbucket, no longer available ]]

aisha said at 2016-01-07 17:03:51

My solution requires setuptools. Am reworking the solution now.

Can't reach the original PR on bitbucket, does it still exist?

Can't reach the original PR on bitbucket, does it still exist?


help is not listing all commands

moro --help
Doesn't list the commands.

fixed by downgrading caporal and opened an issue on caporal