Pipeline is failing in "Xcode@5"(Build and Sign) task for ios app

Type: Azure Pipeline
Pipeline is failing in "Xcode@5"(Build and Sign) task for ios app
Environment

Server - Azure Pipelines
Account name : c.patalia
Team project name : MobileApp-iOS
Build number : 1.43.0

Microsoft Hosted Agent
Agent specification: MacOS-12
Agent version: 2.211.1

Issue Description
I am using Azure pipelines to upload my iOS apps to TestFlight. It was working fine before but recently I changed the vmImage to "macOS-12" in .yml file with xCode 14.0.1 and after that pipeline is failing in "Xcode@5" task with error code 65.
In .yml file, in Xcode@5 task for "signingOption", I tried "auto" and"manual" both but issue is same in both cases. If I use "default" than it is failing with error code 70.
I also updated my certificates and profiles recently so it seems no error related to that and also build is successfully uploaded by Xcode but it is giving error in pipeline.
I am attaching the error logs for both the cases.
Here is task description in .yml file
task: Xcode@5
displayName: Build and Sign
inputs:
workingDirectory: '$(workingDirectory)'
xcWorkspacePath: '$(workingDirectory)/EvolutionWellness.xcworkspace'
actions: 'build'
sdk: 'iphoneos16.0'
scheme: '$(scheme)'
configuration: 'Release PROD'
packageApp: true
exportPath: '$(system.defaultworkingdirectory)'
signingOption: 'manual'
signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
teamId: 'G7GD45FUCY'
args: '-verbose'
Error logs
Errorcode65.txt
Errorcode70.txt

Hi @charmipatalia, could you please say do you have some not native project like Apache Cordova/React Native? This code means that some Input Data is incorrect in some way.
Probably it happens because you switch xcode version without update the project. In case if it's some note native project reconfigure will help (examples for react and cordova apps). In case if you have native application, could you please check project via xcode(if you have this possibility), or get us some simple app examples in case if it possible

Hey @DmitriiBobreshev , Thanks for looking into it. I have the native iOS application and if I try to deploy the app with Xcode than it is working fine but failing in this step in the pipeline.

@charmipatalia, thanks for the answer, are you using Xcode 14 on your machine? Seems like Xcode on your machine modified some input data to be able to build the project. Do you use Cocoapod install before building in your pipeline?
Also, you can specify the version of Xcode by using the bash task:
- bash: xcodebuild -version
- bash: '/bin/bash -c "sudo xcode-select -s /Applications/Xcode_${{ parameters.xcode_version }}.app/Contents/Developer"'
  displayName: 'Set Xcode ${{ parameters.xcode_version }} as default'
- bash: xcodebuild -version

Also, there is a list of all available versions for macos-11 and macos-12

Hello @DmitriiBobreshev , yeah I am using Xcode 14.0.1 in my machine and also using cocoapods install in the pipeline. So here you mean I need to mention the version of xcode in script? Pipeline is already using 14.0.1 by default.
I am also wondering that if I use 'macOS-Latest' instead of 'macOS-12' than it is working fine(It will use XCode 13) but there is warning that you need to use macOS-12 soon.
you have any idea on that?

Hi @charmipatalia, thank's for your answer,  I just thought that maybe your app wasn't built on Xcode 14 yet, so it's not migrated.
In that case could you please run the pipeline with debug variable and attach the logs. In case if you don't want to share logs here you can write me by email at<EMAIL_ADDRESS>

I am seeing similar behavior on Xcode@5.   I cannot reproduce this error using Xcode locally using the same xcodebuild command.
2022-11-17T15:38:48.2771670Z ##[debug]Ev.txt
 task: Xcode@5
  displayName: "Build iOS Application"
  inputs:
    actions: "clean"
    xcWorkspacePath: "**/project.xcworkspace"
    scheme: "$(XCodeScheme)"
    configuration: "$(XCodeConfiguration)"
    packageApp: true
    signingOption: "default"
    archivePath: "$(Build.ArtifactStagingDirectory)/xcarchive"
    exportPath: "$(Build.ArtifactStagingDirectory)/ipa"
    exportOptions: "plist"
    exportOptionsPlist: "$(Build.ArtifactStagingDirectory)/exportOptions.plist"

This was working fine about 4 days ago and just started to fail this week

@jstoker, based on your logs it might be related to react-native itself, are you using code version 14.0.1 locally(the same as in pipeline)?

Hi @jstoker, @charmipatalia, closing this issue due to inactivity and inability to reproduce the error, please feel free to reopen the problem, and provide some simple examples of the project if it's possible.

Now I managed to fix the issue by using "default" as "signingOption" in Xcode@5 task,
I have used manual signing in my project so it will take that default setting.

task: Xcode@5
displayName: Build and Sign
inputs:
workingDirectory: '$(workingDirectory)'
xcWorkspacePath: '$(workingDirectory)/EvolutionWellness.xcworkspace'
actions: 'build'
sdk: 'iphoneos'
scheme: '$(scheme)'
configuration: 'Release UAT'
packageApp: true
exportPath: '$(system.defaultworkingdirectory)'
signingOption: 'default'
signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
useXcpretty: false
teamId: 'G7GD45FUCY'
args: '-verbose'
exportOptions: 'plist'
exportOptionsPlist: '$(workingDirectory)/ExportOptions.plist'

Hi @charmipatalia @joxenford @DmitriiBobreshev I am also facing similar issue.
I tried the solution posted above but it doesn't work. We also get error code 65.

Hello @namrata690 , will you please give more details like which signing option are you using? and also make sure all the provisioning profiles and certificates are up to date.

I'm having the damndest time getting this to work.  It constantly says my App project file or workspace file is corrupt.  If I run it locally, it works fine.  But it keeps complaining about the project/workspace file is corrupt.  I'm trying to build my ionic ios app using a different scheme/configuration.  It just doesn't freaking work for some reason.  I think the error is probably misleading but still....annoying
Command line invocation:
2023-10-14T22:15:59.7465680Z     /Applications/Xcode_14.3.1.app/Contents/Developer/usr/bin/xcodebuild -project App.xcodeproj -list
2023-10-14T22:15:59.7466820Z
2023-10-14T22:15:59.7467080Z User defaults from command line:
2023-10-14T22:15:59.7467310Z     IDEPackageSupportUseBuiltinSCM = YES
2023-10-14T22:15:59.7467460Z
2023-10-14T22:16:07.1186390Z 2023-10-14 22:16:07.095 xcodebuild[18038:91570] Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0., NSJSONSerializationErrorIndex=0}
2023-10-14T22:16:07.1202930Z 2023-10-14 22:16:07.098 xcodebuild[18038:91570] Writing error result bundle to /var/folders/r_/vbvvglrx3lvds6dp_mbyq3_c0000gn/T/ResultBundle_2023-14-10_22-16-0007.xcresult
2023-10-14T22:17:04.2288640Z xcodebuild: error: Unable to read project 'App.xcodeproj'.
2023-10-14T22:17:04.2289760Z 	Reason: The project ‘App’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts.
2023-10-14T22:17:04.2290750Z
2023-10-14T22:17:04.2290970Z Path: /Users/runner/work/1/s/ios/App/App.xcodeproj
2023-10-14T22:17:04.2291130Z
2023-10-14T22:17:04.2291210Z
2023-10-14T22:17:05.8369320Z 2023-10-14 22:17:05.836 xcodebuild[18383:93104] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
2023-10-14T22:17:05.8394590Z Command line invocation:
2023-10-14T22:17:05.8395750Z     /Applications/Xcode_14.3.1.app/Contents/Developer/usr/bin/xcodebuild -workspace App.xcworkspace -list
2023-10-14T22:17:05.8395970Z
2023-10-14T22:17:05.8397720Z User defaults from command line:
2023-10-14T22:17:05.8398940Z     IDEPackageSupportUseBuiltinSCM = YES
2023-10-14T22:17:05.8401960Z
2023-10-14T22:17:06.2354650Z 2023-10-14 22:17:06.235 xcodebuild[18383:93104] Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0., NSJSONSerializationErrorIndex=0}
2023-10-14T22:17:06.2359370Z 2023-10-14 22:17:06.235 xcodebuild[18383:93104] [MT] IDEFileReferenceDebug: [Load] <IDEFileReference, 0x600002804b00: name:App path:group:App.xcodeproj> Failed to load container at path: /Users/runner/work/1/s/ios/App/App.xcodeproj, Error: Error Domain=Xcode3ProjectErrorDomain Code=2 "The project ‘App’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts.
2023-10-14T22:17:06.2360190Z
2023-10-14T22:17:06.2360840Z Path: /Users/runner/work/1/s/ios/App/App.xcodeproj" UserInfo={NSLocalizedDescription=The project ‘App’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts.
2023-10-14T22:17:06.2361180Z
2023-10-14T22:17:06.2361390Z Path: /Users/runner/work/1/s/ios/App/App.xcodeproj}
2023-10-14T22:17:06.2361840Z --- xcodebuild: WARNING: Unable to open project file '/Users/runner/work/1/s/ios/App/App.xcodeproj' in workspace 'App.xcworkspace'.
2023-10-14T22:17:06.5566770Z Information about workspace "App":
2023-10-14T22:17:06.5567110Z     Schemes:
2023-10-14T22:17:06.5567950Z         BranchSDK
2023-10-14T22:17:06.5569720Z         Capacitor
2023-10-14T22:17:06.5569910Z         CapacitorApp
2023-10-14T22:17:06.5570170Z         CapacitorAppLauncher
2023-10-14T22:17:06.5574820Z         CapacitorBranchDeepLinks
2023-10-14T22:17:06.5575080Z         CapacitorCamera
2023-10-14T22:17:06.5575290Z         CapacitorCordova
2023-10-14T22:17:06.5575480Z         CapacitorDevice
2023-10-14T22:17:06.5575680Z         CapacitorFilesystem
2023-10-14T22:17:06.5575890Z         CapacitorGeolocation
2023-10-14T22:17:06.5576140Z         CapacitorKeyboard
2023-10-14T22:17:06.5576340Z         CapacitorLocalNotifications
2023-10-14T22:17:06.5576530Z         CapacitorNetwork
2023-10-14T22:17:06.5576720Z         CapacitorPreferences
2023-10-14T22:17:06.5576920Z         CapacitorPushNotifications
2023-10-14T22:17:06.5577120Z         CapacitorSplashScreen
2023-10-14T22:17:06.5577360Z         CapacitorStatusBar
2023-10-14T22:17:06.5577550Z         CapawesomeCapacitorBadge
2023-10-14T22:17:06.5577790Z         CapawesomeCapacitorScreenOrientation
2023-10-14T22:17:06.5578160Z         CordovaPlugins
2023-10-14T22:17:06.5578370Z         IonicEnterpriseIntune
2023-10-14T22:17:06.5578780Z         Pods-App
2023-10-14T22:17:06.5578990Z         ProteansoftwareCapacitorStartNavigation

Hey @Nathan187 , I suggest you to try these options,

Issue is somewhere in file from this errorlog - "JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0.", so check your all the files in code, If anything is added by mistake in sourcetree
Try to recreate.xcodeworkspace file first and if still the issue try to recreate .xcodeproj file

Before doing any of this, please create a backup copy and then try

thank you for the response @charmipatalia
to your second bullet point, i'm not really sure what you mean or how to go about recreating the workspace file.
i don't understand why i don't have these problems locally.  the pipelines download the project (files) and I get this error in the xcode 5 step.  this xcode project/workspace was created by the ionic build (capacitor command).  i had to add the different configuration and scheme....works fine locally.    looking at the project file in a text editor...the first line has this crap (// !$UTF8$!) for some reason....but it doesn't prevent other configuration/schemes (Release/App) from building.  ugh....so annoying

Hey @Nathan187 , to recreate workspace you need to delete .xcworkspace file and run 'pod install' command, it will recreate the workspace
By any chance have you tried creating archive locally? Is it successful?

ok, @charmipatalia , after a 2nd set of eyes...i saw that before performing the xcode@5 task, i was altering the info.plist file an the xcodeproj file using putil and sed.  some variables i was using when doing this were commented out.  so indeed my project file(s) were corrupt
also, looking at another posting by a different user...his problem was very close to mine.  he mentioned that it was a signing error which had me examining closer.  i noticed that i did not copy all provisioning files over (i have provisioning files for different schemes).
thank you for responding


Increase log verbosity to at least info

I know this has been tuned down to save the SD card. But we could easily have a more verbose logging to a small tmpfs. Using https://docs.python.org/2/library/logging.handlers.html#rotatingfilehandler there would also be a upper limit on the size and number of files. This could be instead of or in addition to logging on the SD.

https://docs.python.org/2/library/logging.handlers.html#memoryhandler also sounds pretty interesting.

In order to batch up the writes I presume, that should help avoid some of the wear for the memory cells I would hope. This could also be combined with the rotating handler.

Indeed. Am I right in saying that I'd need to set it up programmatically within some extension (by grabbing the root logger) rather than being able to do it through Mopidy's existing logging.conf?
Thinking again, I don't see how the memory handler would allow us to also provide a debug endpoint that includes the log. So maybe it's a step too far and the tmpfs is the way to go. There is always the posability of a cron job that syncs the tmpfs to the SD card if persistence is deemed important.

Seems actually I don't understand logging.conf one bit but it looks like it can in fact do anything.
And if I subclass memory handler (or do something like you suggest in https://github.com/woutervanwijk/Pi-MusicBox/issues/274#issuecomment-98974838) then I can do whatever I want with the buffer and make it accessible to the debug/log endpoint.

Ah, you are thinking about #274 - In my head these are just to different issues that both would be nice to have. For this case some config in something like logging.conf makes sense. For the other one you probably want code.

Yeh, they are separate I just didn't want to make #274 more difficult to implement with a particular implementation choice here. But it's clear now that there's no problem there.


Surprising move-from behavior when initializing a json::object

Thank you for this well designed, well documented, and easy to use library! It is quite pleasant to use.
I wonder if this behavior is as you designed? The documentation of 'Initializer Lists' indicates that "Elements that are rvalues will be moved upon initialization," but this program exhibits behavior that is surprising to me:
#include <boost/json.hpp>
#include <iostream>

int
main()
{
  using namespace boost::json;

  string s1{ "hello world" };

  // obj1 will move from s1, invalidating s1
  object obj1{ { { "s1", s1 } } };

  if (s1 == "hello world")
    std::cout << "OK\n";
  else
    std::cout << "FAIL\n";

  //

  // making s2 const inhibits the move-from
  string const s2{ "hello world" };

  object obj2{ { { "s2", s2 } } };

  if (s2 == "hello world")
    std::cout << "OK\n";
  else
    std::cout << "FAIL\n";

  //
  // program prints:
  //
  // FAIL
  // OK
  //
}

Unless I'm mistaken, s1 is not an rvalue, and should not be moved from. Making the variable const inhibits the move.
I hope this is not intended behavior, because it does make it far too easy to shoot myself in the foot with use-after-move issues, especially since no std::move is visible in my own code. Thank you again!

That looks like a bug!

Thank you for the quick action! I'm sorry, but I should have been more complete in my report. I believe this behavior happens for all value types, not just string. For example, with the latest commit applied:
#include <boost/json.hpp>
#include <iostream>

int
main()
{
  using namespace boost::json;

  string s1{ "hello world" };
  object o1{ {"a", 1}, {"b", 2} };

  // obj1 will move from s1 and o1, invalidating s1 and o1
  object obj_s1{ { { "s1", s1 } } };
  object obj_o1{ { { "o1", o1 } } };

  if (s1 == "hello world")
    std::cout << "OK\n";
  else
    std::cout << "FAIL\n";

  if (o1.contains("a") && o1.at("a").as_int64() == 1)
    std::cout << "OK\n";
  else
    std::cout << "FAIL\n";

  //

  // making o2 and s2 const inhibits the move-from
  string const s2{ "hello world" };
  object const o2{ {"a", 1}, {"b", 2} };

  object obj_s2{ { { "s2", s2 } } };
  object obj_o2{ { { "o2", o2 } } };

  if (s2 == "hello world")
    std::cout << "OK\n";
  else
    std::cout << "FAIL\n";

  if (o2.contains("a") && o2.at("a").as_int64() == 1)
    std::cout << "OK\n";
  else
    std::cout << "FAIL\n";

  //
  // program prints:
  //
  // OK
  // FAIL
  // OK
  // OK
  //
}

Yeah we will look at it again, thanks!

Whoops... I should have verified that this wasn't isolated to just string.


chore(README): use pyenv (built into recent Python) for venv and expand the README

Current coverage is 82.74%

Merging #516 into master will not affect coverage as of d30c6ea

@@            master    #516   diff @@
======================================
  Files           32      32
  Stmts         1924    1924
  Branches       272     272
  Methods          0       0
======================================
  Hit           1592    1592
  Partial         61      61
  Missed         271     271

Review entire Coverage Diff as of d30c6ea

Powered by Codecov. Updated on successful CI builds.


environment variable OUT_DIR not defined at compile time

Hi :) Thanks for making and sharing this crate.
I've been using this for a while to include my JS assets into my project. Some time ago I decided to move the JS source code into my project, instead of copying the assets to my repo. I modified my build.rs to run pnpm build, which builds the assets. This works fine when building, but I haven't been able to cargo publish my repo.
That' because when cargo publish is run, the source code of the project is copied to the /target directory. Note that this does not include adjacent / parent dirs. I have a monorepo with the JS source in one of the adjacent dirs. So when the build.rs tries to run pnpm build in the adjacent dir, it can't find it.
So I added steps that copy the directory... Which seems to work. Unfortunately, I'm not getting this error:
error: environment variable `OUT_DIR` not defined at compile time
  --> src/routes.rs:15:18
   |
15 | include!(concat!(env!("OUT_DIR"), "/generated.rs"));
   |                  ^^^^^^^^^^^^^^^
   |
   = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0425]: cannot find function `generate` in this scope
  --> src/routes.rs:25:37
   |
25 |             ResourceFiles::new("/", generate())
   |                                     ^^^^^^^^ not found in this scope

This ENV should be available during compilation.
I tried the suggestion, but using std::env::var("OUT_DIR") does not work, as concat! requires a literal.
Maybe someone reading this has an idea!

Hi, this looks like interesting case for study, because one of main goals of the project is to allow install of package with bundled static resources using cargo install command. I do not think I completely understand, but from there the error started to popup? build.rs should not run during without this OUT_DIR variable.

I am doing some similar things in this crate, not sure it is really relevant, but still worth a look: https://github.com/rust-sys-lib/libxml2
It is work in progress, things may not work as expected.

@kilork Thanks for responding!
The error appears only when doing cargo publish, and it only started to appear after I changed how I included the assets. I went from "it's part of the committed files" to "I copy it during the build.rs process to the source folder".

I have a monorepo that contains a folder for the Rust server + TS frontend
build.rs checks for a TS folder. If it finds one, and it finds changes in the TS folder (is any file changed after the dist files were built?) it tries to run pnpm build. Then, it clones the dist files to the server folder assets_tmp.
When running cargo publish command, the archive step copies all the project dirs, which includes the assets_tmp folder. I can verify this is happening correctly.
One thing that surprises me is that when I run cargo publish, is that I don't even see any evidence of any build.rs step actually happening. So the OUT_DIR env issue might appear before all of the above is even relevant?


Find-dbaorphanedfile doesn't work with instances that have TEST in the name.

Verified issue does not already exist?
No
What error did you receive?
Exception calling "GetFullPath" with "1" argument(s): "The given path's format is not supported."
At C:\Users\daniel.s\Documents\WindowsPowerShell\Modules\dbatools\1.1.35\allcommands.ps1:17865 char:52
+ ...                $valid += [IO.Path]::GetFullPath($(Format-Path $file))
+                                                       ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : NotSupportedException

Exception calling "GetFullPath" with "1" argument(s): "The given path's format is not supported."
At C:\Users\daniel.s\Documents\WindowsPowerShell\Modules\dbatools\1.1.35\allcommands.ps1:17865 char:52
+ ...                $valid += [IO.Path]::GetFullPath($(Format-Path $file))
+                                                       ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : NotSupportedException

Steps to Reproduce
find-dbaorphanedfile -SqlInstance "nnnnTEST01\nnnnn" | Out-GridView -Wait

Are you running the latest release?
Yes
Other details or mentions
No response
What PowerShell host was used when producing this error
Windows PowerShell ISE (powershell_ise.exe)
PowerShell Host Version
Name                           Value

PSVersion                      5.1.17763.2268
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.2268
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
SQL Server Edition and Build number
Microsoft SQL Server 2019 (RTM-CU12) (KB5004524) - 15.0.4153.1 (X64)   Jul 19 2021 15:37:34   Copyright (C) 2019 Microsoft Corporation  Standard Edition (64-bit) on Windows Server 2019 Datacenter 10.0  (Build 17763: ) (Hypervisor)
.NET Framework Version
.NET Framework 4.7.3875.0

I had a look at the code - but I don't see the problem.
Can you insert a new line with a logging message just before the failing line 17865?
                Write-Message -Level Verbose -Message "Testing $file"

So the code should look like this:
            foreach ($file in $sqlfiles) {
                Write-Message -Level Verbose -Message "Testing $file"
                $valid += [IO.Path]::GetFullPath($(Format-Path $file))
            }

Then run find-dbaorphanedfile -SqlInstance "nnnnTEST01\nnnnn" -Verbose and we can have a look at the file that causes the command to fail.

find-dbaorphanedfile -SqlInstance "nnnnTEST01\nnnnn" -verbose
VERBOSE: [10:16:01][Connect-DbaInstance] String is passed in, will build server object from instance object and other parameters, do some checks and then return the server object
VERBOSE: [10:16:01][Connect-DbaInstance] authentication method is 'local integrated'
Exception calling "GetFullPath" with "1" argument(s): "The given path's format is not supported."
At C:\Users\daniel.s\Documents\WindowsPowerShell\Modules\dbatools\1.1.35\allcommands.ps1:17865 char:52

...                $valid += [IO.Path]::GetFullPath($(Format-Path $file))

                                                  ~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : NotSupportedException

Exception calling "GetFullPath" with "1" argument(s): "The given path's format is not supported."
At C:\Users\daniel.s\Documents\WindowsPowerShell\Modules\dbatools\1.1.35\allcommands.ps1:17865 char:52

...                $valid += [IO.Path]::GetFullPath($(Format-Path $file))

                                                  ~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : NotSupportedException

VERBOSE: [10:16:02][Find-DbaOrphanedFile] No orphaned files found

You need not only change the file allcommands.ps1 but also reload the module - best by opening a brand new powershell session.

apologies, but I am not sure I am following what you are requesting from me?

I see two options here:

You change the code on your side to include a verbose message to help us to detect the problem.
We include the verbose message on our side and you wait for the next release to include the message.
At the moment I don't have an idea on how the name of the instance (in you example it is the name of the server - correct?) can cause this issue.

I did what was requested above and I posted the results
not sure what else I can do
feel free to close it by all means.

My problem is that I don't see the new message taking effect. The is no line with "Testing" in your output.
Does the command work on all your other instances except the one with the name "TEST" in the servername?

it works on any instance that doesn't have "test" in the name that is correct, that's the only thing consistent.

The question is: Correlation or Causality?


Fix tests so they all pass in IE9

With this change, all tests pass in IE9. All it took was to test for less items in a big array, and an inline image that also works in IE9.

LGTM thanks for fixing


error: Expecting value: line 1 column 1 (char 0)

 ~/NotionAI/examples/basic   main ±  python3 main.py
data: <!DOCTYPE html>, error: Expecting value: line 1 column 1 (char 0)
data: <html>, error: Expecting value: line 1 column 1 (char 0)
data:   <head>, error: Expecting value: line 1 column 2 (char 1)
data:           <meta charset="utf-8" />, error: Expecting value: line 1 column 3 (char 2)
data:           <title>Notion</title>, error: Expecting value: line 1 column 3 (char 2)

@panw3i Do you have access to NotionAI? Have you set NOTION_TOKEN as an environment variable?
It looks like the token was not set correctly.


Refactor

This addresses safety (f20364253feb6a14ddd386b723453bef2e70c97d https://github.com/antimatter15/tesseract-rs/issues/16)
And ergonomics (https://github.com/antimatter15/tesseract-rs/issues/17, https://github.com/antimatter15/tesseract-rs/issues/18, 6a1948f54922381ac82f494722fc3cae513451d4, ce8303c3a9ef99471da968035d9e60d66b1d3147)
Please see the individual commits for more detail.

I didn't look carefully at the FFI parts but the Rust API looks nice to use! The only question I have is, if it's mandatory to set a language, should the language string be passed into Tesseract::new rather than by a separate set_lang call?


Fix CRITICAL and HIGH issues from CVEs scanner

Steps to Reproduce

Wait for a report from the CVEs scanner

Seems like done


Feature to support both Flow Callout and Shared Flow names in FlowCalloutPlugin.

In current code both flow callout-Name and shared flow-Name refers the same.
Any Reference input file for defining FaultRules and Post Client Flow will be helpful.
Couldn't add policies in FaultRules and Post Client Flow.

Thanks for noticing this, will get this fixed asap...

Working on providing an example of faultrules and postclient flow.. Regarding the flow callout-Name and shared flow-Name, can you explain the issue there in more detail?


Add a script to export mosaicGPT model with onnx

This script takes a checkpoint, replaces flash/triton attn with torch attention and exports the model in onnx format. Checkpoint and exported model paths can be object store.
You can specify the same config as training but some parameters (load_path) are required.
Example usage:

Local checkpoint + local export

python scripts/export_for_inference.py yamls/mosaic_gpt/1b.yaml load_path=ep0-ba20-rank0.pt export_save_path=export_test/model.onnx

To verify the exported model
python scripts/export_for_inference.py yamls/mosaic_gpt/1b.yaml load_path=ep0-ba20-rank0.pt export_save_path=export_test/model.onnx verify_exported_model=True

remote checkpoint + local export
python scripts/export_for_inference.py yamls/mosaic_gpt/1b.yaml load_path=s3://my-bucket/my-folder/gpt-1b/checkpoints/latest-rank{rank}.pt export_save_path=model.onnx

remote checkpoint + remote export
python scripts/export_for_inference.py yamls/mosaic_gpt/1b.yaml load_path=s3://my-bucket/my-folder/gpt-1b/checkpoints/latest-rank{rank}.pt export_save_path=s3://my-bucket/my-folder/gpt-1b/exported/model.onnx

Please note that this is made to work with v0.0.3 release and we may have to update it with the current main.
Some future improvements:

Don't download model twice if it's remote store
Init twice on cpu can also be expensive for larger model. Add support for directly loading checkpoint into a meta model

Could you also add some documentation on what this script does at the top of the script, and the motivation? Thanks for putting this together!

Could you also paste some proof of it working into the PR description for posterity?

@dakinggg added sample output from a successful run of this script or did you request anything else?

Could you also paste some proof of it working into the PR description for posterity?

@dakinggg added sample output from a successful run of this script or did you request anything else?

Thats great, thanks!


[Autocomplete] An error occurs when changing multiple

[x]  I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior
An error occurs when changing multiple
A component is changing the default value state of an uncontrolled Autocomplete after being initialized. To suppress this warning opt to use a controlled Autocomplete.
Expected Behavior
No error
Steps to Reproduce
https://codesandbox.io/s/solitary-http-e0zzh?file=/App.js

Stick to what the warning say, I'm you will solve the problem.

What can i do?
Would you give me more information?

@weizhi9958 You are right, the warning shouldn't be thrown in this context. Thanks for the report. What do you think of this patch?
diff --git a/packages/material-ui/src/utils/useControlled.js b/packages/material-ui/src/utils/useControlled.js
index dab0f9039..730ccb30a 100644
--- a/packages/material-ui/src/utils/useControlled.js
+++ b/packages/material-ui/src/utils/useControlled.js
@@ -27,7 +27,7 @@ export default function useControlled({ controlled, default: defaultProp, name,
     const { current: defaultValue } = React.useRef(defaultProp);

     React.useEffect(() => {
-      if (defaultValue !== defaultProp) {
+      if (!isControlled && defaultValue !== defaultProp) {
         console.error(
           [
             `Material-UI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` +
@@ -35,7 +35,7 @@ export default function useControlled({ controlled, default: defaultProp, name,
           ].join('\n'),
         );
       }
-    }, [JSON.stringify(defaultProp)]);
+    }, [isControlled, JSON.stringify(defaultProp)]);
   }

   const setValueIfUncontrolled = React.useCallback((newValue) => {

Do you want to submit a pull request? :)

maybe can be better to check JSON.stringify of both attribute.
if (!isControlled && JSON.stringify(defaultValue) !== JSON.stringify(defaultProp)) {

@marcosvega91 I don't know. I believe we use JSON.stringify here to support people that provide rich default objects. What would this change help to achieve?

Thinking better you are right. Never mind 😃


jscsignore

'isFileExcluded()' now delegates to Gitkeeper (a proper .gitignore processor); fixes #73

Coverage decreased (-0.06%) to 96.089% when pulling 2c3ec9fde84628025329aafe0d6a3a2ed1f9815f on denim2x:jscsignore into 99bdf4f7240110a30ff223fcebcca4868bcdb4e3 on jscs-dev:master.

This looks like a great start. Could you:

Provide some more details about the changes to the internals for the jscs core team?
How does this get exposed through the jscs CLI?
Documentation updates.
Would like to see some more test coverage for edge cases in the ignore files.

First of all, you've made a great start and thank you for contribution!

Would like to see some more test coverage for edge cases in the ignore files.

Would be great to have specs in GitKeeper module ;-) We don't need to test it here again.
Would you mind to make it there?

How does this get exposed through the jscs CLI?

Good catch. I don't get it atm. Don't even mind how it could be.
I'd say, on this basis we could FINALLY finish epic #73 ;-)


Add JSDocs to everything

This PR:

[X] Adds inline documentation to everything inside of the library in the form of JSDocs.

@aryaemami59 thanks so much, this is great! I am planning on releasing v1 very soon, so this will be great to have.
I've read through these and they look very helpful and well-written to me. I might look to tweak them/see if some of the examples can be auto-generated to make sure they stay up to date, but this is a fantastic starting point.
There's a small conflict in src/index.ts, could you resolve it? After that, anything else needed before marking this as ready?

@mmkal thank you, I will resolve the conflicts, not sure if there was anything else I wanted to add but I'm going to mark at as ready and if I can think of anything else to add, I'll open up a separate PR.

@mmkal Please let me know if there is anything you want me to change. I'd be happy to do it.

@aryaemami59 took a closer look through and some changes I think in a couple of cases these can be trimmed down a little bit. I would prefer to only have jsdoc that adds helpful, non-obvious information, rather than have 100% doc coverage. If it's repeating information that can be gleaned from the type/value itself, it risks drifting from the implementation it mirrors, as well as being noisy in the meantime. So:

Let's remove the @ template T ... tags. In I think every case, it's pretty obvious what the typearg represents
The docs on the symbol type helpers don't add anything IMO. const inverted = ..., const expectSymbol = ... etc. They are a quirky implementation detail for the sake of helpful error messages, there's no use case for dealing with the directly. A comment above the block that defines them along those lines would be useful though

The ones on the methods that are part of the public API are super useful. Thanks again!

@mmkal Sounds good, I will make the requested adjustments. Thanks for the feedback.


Add process bar on uploading.

It can be usaful when uploading large files. :)
(Sadly I'm only good at backend, otherwise I'll probably make a PR.)

This will be available on the next release 😄


Use withCapabilities in Webdriver docs

This contributes to #1196

Released in https://github.com/testcontainers/testcontainers-java/releases/tag/1.10.7!


Simplify the adding of temporary directories to the sandbox profile when strictness is 'writableTemporaryDirectory'

Specifically, we add regular and the Foundation temporary directories, but not anything passed in through the environment.
Motivation:
This reduces the amount of magic and unpredictability regarding what's in the profile.  Client code that wants to add additional directories can do so using the array of writable paths that's already supported.
Modifications:

change the sandbox profile creation to just add "/tmp" and NSTemporaryDirectory()

@swift-ci please smoke test

This is a refinement of https://github.com/apple/swift-package-manager/pull/3918

Specifically, we add regular and the Foundation temporary directories, but not anything passed in through the environment.
Motivation:
This reduces the amount of magic and unpredictability regarding what's in the profile.  Client code that wants to add additional directories can do so using the array of writable paths that's already supported.
Modifications:

change the sandbox profile creation to just add "/tmp" and NSTemporaryDirectory()


Browser?

Either I'm holding this very wrong or it doesn't work at all in the browser. It simply runs everything immediately. I have tried putting defaults and overall but nothing changes. Everything executes immediately. Does this work in the browser?

I misinterpreted the docs around the unique id...


Fix compilation of tests for Swift 5.5.0/5.5.1

#if compiler and #available probably didn't get correctly updated after some merge conflict.
Couldn't find any other reference for compiler(>=5.5) in the code base.

@swift-server-bot test this please

@swift-server-bot test this please


feat: JSON Utilities for Enhanced Data Handling

Summary
Develop a set of JSON utilities that streamline JSON data manipulation, comparison, and merging. These utilities should include functionalities to compare JSON objects, visualize differences between multiple JSONs, combine JSON data, and allow for overriding values from multiple JSONs. These features will significantly improve the handling and management of JSON data.
Motivation
JSON (JavaScript Object Notation) is a widely used format for data interchange. Creating utilities that simplify working with JSON data will save developers time and effort, especially when comparing and merging JSON objects, which are common operations during development and data processing.
Proposed Functionalities

JSON Comparison: Create a utility method to compare two JSON objects, highlighting the differences between them.
JSON Diff Viewer: Implement a utility to visualize the differences between multiple JSON objects, providing an easy-to-read comparison on logs.
JSON Combination and Override: Develop a utility method to combine JSON objects and allow for overriding values from multiple JSONs based on specified rules.
JSON Validation: Include a utility to validate JSON data against a specified schema or structure.
JSON Transformation: Implement a utility to transform JSON data based on predefined mapping or transformation rules.
Additional Considerations

Configuration Options: Provide configuration options to customize the behavior of the utilities, such as comparison rules, display format, merge strategies, etc.

Error Handling: Implement robust error handling to manage invalid JSON formats or other exceptional conditions.

Documentation:
Include comprehensive documentation explaining usage, parameters, expected outcomes, and additional functionalities.
Expected Outcome
Upon successful implementation, developers will have access to powerful JSON utilities, enhancing their ability to handle, compare, and merge JSON data effectively.

i want to do this @shravan20

@shubhankar-mern : Assigning this to you 💫🔥

@shubhankar-mern: Keeping this open since we have solved only - JSON Comparison
We still have following to be resolved:

JSON Combination and Override
JSON Validation
JSON Transformation


Extension - Error auto reset data on Pool field

Describe the task
Error auto reset data on Pool field

Version test:

[ ] Do not automatically select pool when staking

Expect: Auto-select pool on Recommended

Version test: http://<IP_ADDRESS>:8900/s/oCsnK6n6MDMiKnL
Validation passed:

Fix bug auto reset pool
Re-check select pool (All account, Current account)


Migrate static website project into python code base

Did we finish this? I think we're serving all the static/front-end at https://courtbot-python.herokuapp.com/ now.


Need to load data using  TTL option

Our application needs to maintain 18 months history data.  When I perform one-time history data migration to Cassandra using cassandra-loaded, all the 18 months data  will be loaded together and expire at almost same time since I can only set default time_to_live at table level.  This will be a huge issue .
Can we add a USING TTL option? So when I load data by month, I can use a different TTL and data will expire by month instead of 18 months.
We're in the process of migrating production data to Cassandra. Could you please let me know if TTL option can be added to cassandra-loader.
Thanks Brian.
Jane

Do the data migration and then use Spark to apply TTL.
Regards
Venkata Yaparla.
On Thu, Feb 9, 2017 at 8:43 PM, xqchen1<EMAIL_ADDRESS>wrote:

Our application needs to maintain 18 months history data. When I perform
one-time history data migration to Cassandra using cassandra-loaded, all
the 18 months data will be loaded together and expire at almost same time
since I can only set default time_to_live at table level. This will be a
huge issue .
Can we add a USING TTL option? So when I load data by month, I can use a
different TTL and data will expire by month instead of 18 months.
We're in the process of migrating production data to Cassandra. Could you
please let me know if TTL option can be added to cassandra-loader.
Thanks Brian.
Jane
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brianmhess/cassandra-loader/issues/67, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AOiUdWJ8bUWxny4EEjuk0kudouDPplQHks5ra860gaJpZM4L87u-
.

So - you want to add a flag to provide the same TTL to all rows loaded in that invocation of cassandra-loader?

Yes Brian.  The application requires keeping 18 months of history data . So we have to load 18 months of client claim data to Cassandra for one time data migration. The data is extracted from Oracle by clientid and month.   For example, claims_clientid_201705.csv, claims_clientid_201704.csv and so on. We want to expire the initial data each month - NOT 18 months all together.   If there is a TTL flag, I can load all client files with same year/month  in one load. I would have 18 different TTLs.
What will happen if all 18 months data expire on the same day?
Cassandra-loader is the best tool I've ever used to load csv files. It's easy to set up, flexible and has great performance. It's so much better than Cassandra provided tools. So please keep making it better!
Thanks for you help,
Jane

Fixed with v0.0.27


How to use echarts visualMap to color Line depending on Y-Axis Value or category

How can I use the visualMap correctly to higlight a Line or AreaChart depending on a certain Y Axis VAlue. How can I set up ranges?
Another question, how can I use the visualMap to change the behaviour (color) of certain data depending on the catergory. How could I give my dataseries a parameter like "red" or "green" and use that with the visualMap?
With the follwoing code I can change the color of the data points via a certain category:

How can I use this to change the color of the connecting lines?

(1) Depending on Y axis value: https://ecomfe.github.io/echarts-examples/public/editor.html?c=line-aqi probably helps.
(2) Depending on categories: firstly, put category info into each iitem of series.data, and then use visualMap like https://ecomfe.github.io/echarts-examples/public/editor.html?c=parallel-nutrients.

None of the links work @100pah

Was looking for the links as well, they don't work

https://echarts.apache.org/examples/en/editor.html?c=line-aqi

currently visualMap over Y-axis seems buggy to me, see https://codesandbox.io/s/dreamy-neumann-b8iz9?file=/src/App.js

if use the pieces around lines#47, it throws error, I have to  hack it around by add lower bound and upper bound stops.
Threshold value between stops have to depend on canvas size and line width, or else you will get a buggy "double color line". Try adjust the threshold range input in the example.

I wish there exists a lower level API to draw different line segment based on individual data item, instead of the current linear gradient solution.


Cannot upload data to the IGV Web app

Dear IGV team
We have data available in https://zenodo.org/record/7113924 of which we would like to share the visualisation via https://igv.org/app/
I tried it out with Dropbox a while ago and it worked, but stopped working a couple of days ago. I uploaded data to Zenodo https://zenodo.org/record/7113924
Still not working
Java-Script console reads:
Failed to load resource: Origin https://igv.org is not allowed by Access-Control-Allow-Origin. Status code: 200
The combination Zenodo + IGV webapp would actually be great. Is there anything we/you can do?
Many thanks
Christoph

I don't know anything about Zenodo, but Dropbox is working fine for me.  Can you open this shared URL?
https://tinyurl.com/2ezc2yvx

BTW, a subtle but important distinction -- nothing is uploaded to igv.org/app.   It is in fact downloaded to your computer that is running the application (igv-webapp) that itself is downloaded to igv.org/app.
Data server requirements re documented here:  https://github.com/igvteam/igv.js/wiki/Data-Server-Requirements.   Dropbox meets these requirements, Zenodo does not appear to be setup for this type of use case.

Thank you. Actually https://tinyurl.com/2ezc2yvx is not working at my work place:

That's rather strange.   Is it possible your organization is using a proxy that strips headers from http request headers, or that dropbox access is blocked?  You can investigate this with Chrome "developer tools", or similar tools on other browsers.    To do this first open developer tools in a tab on your browser from the View menu (View > Developer > Developer tools).   Then paste the tiny url in your address bar and go.   After the page loads click the network tab.   Scroll the the file affected and clicked "Headers" on the tab to the left (see screenshot below).   Under response headers you should find the header access-control-allow-origin: *.   Let us know what you find.

Thank you. The files don't load at all. I found in the XHRs for the dropbox served files: "Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be "dl.dropboxusercontent.com", which could put your confidential information at risk." Definitely a restriction of our university firewall since I can connect over the cell phone. Nevertheless maybe an issue.

I would suggest raising this issue with your IT department.

Hello!
I try to use the https://igv.org/app/.
My data is a big sorted.bam file and i have converted itt into .bedpe with
module load bedtools
bedtools bamtobed -i sorted.bam -bedpe > sorted.bedpe
But when I uploaded  I don't see anything

Could anyone help me with that?
Thank you,

That does not look like a valid bedpe file,   you can do a web search for bedpe format but the first 6 columns should contain chromosome name, start, end, second chromosome name, start, end.

Thank you, @jrobinso for your advices. I see
I have to check the mapping process. Аlthough I used bwa bwasw -b 4 -q 1 -r 200 -T 10 -z 55 to map reads to the genome.

Hello, Could you guide me @jrobinso on how to get the proper .bedpe file? I converted bed file to .bedpe with bedtools with the bamtobed function.

@Oksanak22 Sorry, no, I don't have any experience with those tools.


Sidekick does not detect CI build domain in preview URL

When launching the sidekick on a CI/branch deployment of helix-pages (e.g. *.hlx-1.page), it doesn't recognize the URL as a preview URL and loads the config.js from  the fallback *.hlx.page, which works, but subsequent CORS-bound requests made from within the config.js, such as loading one of the project's JS modules, will fail.

:tada: This issue has been resolved in version 3.7.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Bringing up a old problem: Windows Audio Device Graph Isolation eating RAM

I noticed this on my new Lenovo Yoga 720.
Windows Audio Device Graph Isolation (audiodg.exe) kept rising until I noticed the laptop starting to get super hot, fans blaring, things were beginning to operate not so smoothly... audiodg was hogging over 11 GB of RAM!
After trying various methods I had found online, to no avail, I thought maybe some settings in GPMDP were causing it.
I switched each setting, one by one, until, eventually, I found that disabling Voice Control seems to stop the problem from occurring.
I hope this leads you in the right direction to addressing this issue because, while I don't use the Voice Controls at the moment, I image I'll be using this feature in the near future, what with the Google Assistant API out and devs like Joao from Join and AutoVoice doing what they do, I see myself speaking to my Lennie someday soon.
I named my laptop Lennie.
Sorry if this not news and there really ain't anything to be done about it; I had checked for issues with instances of the word "graph" and found three others with no mention Voice Controls causing it.

This sounds like a memory leak in windows and there isn't much we can do about it, the voice controls simply call native API's to get access to an input stream from the microphone, if the controller for that stream has a memory leak we can't control that.


Feature request: Add support for LogCLI

LogCLI (what a general sounding name...) is a command line tool for Loki.
https://grafana.com/docs/loki/latest/getting-started/logcli/
Expected Behaviour
arkade get logcli installs it.
Current Behaviour
Not implemented.
Are you a GitHub Sponsor (Yes/No?)
Check at https://github.com/sponsors/alexellis

[ ] Yes
[X] No

Possible Solution
Add logcli to pkg/get/tools.go.
Context
We currently support Loki installs with helm via arkade install loki, we should provide the offical cli for it.
Your Environment

What Kubernetes distribution are you using?

Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2", GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2", GitTreeState:"clean", BuildDate:"2021-09-15T21:38:50Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2+k3s2", GitCommit:"3f5774b41eb475eb10c93bb0ce58459a6f777c5f", GitTreeState:"clean", BuildDate:"2021-10-05T20:29:33Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}

Operating System and version (e.g. Linux, Windows, MacOS):

Linux pop-os 5.13.0-7620-generic #20~1634827117~21.04~874b071-Ubuntu SMP Fri Oct 29 15:06:55 UTC  x86_64 x86_64 x86_64 GNU/Linux

What arkade version is this?

Version: 0.8.3-40-g4bf1460
Git Commit: 4bf14606fcb64e19b050b277ba36226df6c632d6

/edit title: Feature request: Add support for LogCLI
/add label: enhancement

/add label: enhancement


Please add server and port defaults to help output

Current help does not indicates its defaults:
/src/nsrllookup -h
nsrllookup for Linux version 1.2.3

nsrllookup [-hvukS] [-U FILE] [-K FILE] [-s SERVER] [-p PORT]

        -h: display this help message
        -v: display version information
        -u: show only unknown hashes (default)
        -k: show only known hashes
        -S: display server status (if possible)
        -U FILE: write unknown hashes to FILE
        -K FILE: write known hashes to FILE
        -s SERVER: connect to a specified nsrlquery server
        -p PORT: connect on a specified port

I opt adding the defaults like:
        -s SERVER: connect to a specified nsrlquery server, default is "nsrllookup.com"
        -p PORT: connect on a specified port, default is 9120

Also ideally make the default information reported by nsrllookup more verbose and have a quiet mode for non-interactive usage.
Currently:
echo "5f1363974b106c23ea718e495266c527" | ./src/nsrllookup
5f1363974b106c23ea718e495266c527

This does not tell me which server was queried, and what the result is, if the MD5 exists or not the result is the same. It is not obvious at first to use -s -p -k. Hence I opt the default output to be something like:
echo "5f1363974b106c23ea718e495266c527" | ./src/nsrllookup

Server queried: nsrllookup.com:9120
Found: 5f1363974b106c23ea718e495266c527

One request per ticket, please.
Better help text is possible.    Filter apps do not and should not add anything to the output which doesn't pass the filter.
Consider grep as an example: grep filters what gets fed to it and adds nothing to the output stream.  :)

Changing the output is a WONTFIX.

That is fine, as indicated it's a suggestion.

Fixed in -master.


Migrate flutter analyze config to options.

More groundwork to get analyze and IDE output to agree.
See: https://github.com/dart-lang/sdk/issues/25723

cc @Hixie

lgtm. i'm working on the strong mode thing now.

Sweet! Thanks.


Memory Leaks in Octane

This line creates a memory leak in Octane: https://github.com/fruitcake/laravel-cors/blob/5781ffce1f68cb003a36ddd1c66fcf70bae3c07d/src/HandleCors.php#L51
Event listeners should be registered inside a service provider. Doing this inside a middleware causes the listener to be registered multiple times one on each request.

Fixed with #469


WIP template mut::TMorpholgy

Change morphio::mut::Morphology to template in order to prepare GlialCell and Spine classes

Will be replaced by another PR


Improve Shell Default Arguments

Resolves #151
Advise users to use "bash -leo pipefail {0}" instead of "bash -l {0}" since without "-eo pipefail" errors can happen in a shell script, but keep CI running without an error. Most users will want a shell where if a pipe eats a non zero exit, the program propigates the error.

Thanks!


How can I swap left control with search keys when using the Crouton 'keyboard' target?

On a typical modern keyboard (88/101/102 keys) I (like many others) like to map Capslock to CTRL.  (I normally don't swap the left CTRL and Capslock because I have no need for Capslock.)
In ChromeOS it is easy to swap the Ctrl and Search keys. And when I ssh into my crouton chroot, I get the desired experience.
But when I am using xfce, (jessie with the Crouton 'keyboard' target included), I am having difficulties figuring out how to swap the CTRL and Search keys.
I read https://github.com/dnschneid/crouton/wiki/Keyboard and man xmodmap and tried things like:
xmodmap -e "keycode 133 = Control_L"
xmodmap -e "keycode 37 = Overlay1_Enable"

but this hasn't work for me.
I'd like to have the 'keyboard' target provided by crouton because I like being able to enter F11 and F12 by pressing "Search" and "-", and "Search" and "+" respectively.  But I'd like to swap the Search and Ctrl keys.
I suspect there is something that is non obvious about how the mappings in the keyboard target are stacking up.
Has anyone else figured this out? And if so, can you please share how you did it? Thanks.

Sure!  I can probably get to doing so by either mid-January or hopefully
by end of January (I'm in the throws of preparing a written and oral
defense for my dissertation proposal).  I've added a reminder to my
to-do system to ensure I get it done.
Are there particular things, over and above what I've already written
--- revised, better integrated, and re-contextualized for a more general
audience, of course --- that you or he are wanting me to include or cover?
On 12/28/2014 05:02 PM, David Schneider wrote:

@morsedl https://github.com/morsedl, would you like to summarize and
add to the keyboard wiki page Dennis linked to?

Sure!  I can probably get to doing so by either mid-January or hopefully
by end of January (I'm in the throws of preparing a written and oral
defense for my dissertation proposal).  I've added a reminder to my
to-do system to ensure I get it done.
Are there particular things, over and above what I've already written
--- revised, better integrated, and re-contextualized for a more general
audience, of course --- that you or he are wanting me to include or cover?
On 12/28/2014 05:02 PM, David Schneider wrote:

@morsedl https://github.com/morsedl, would you like to summarize and
add to the keyboard wiki page Dennis linked to?

Thanks!  Use your best judgement; you're far deeper into keyboard customization than I've ever gone.

Thanks!  Use your best judgement; you're far deeper into keyboard customization than I've ever gone.

@drinkcat 's solution, which is written in the wiki already:

@darcyparker : Gave it a quick try, and I believe this is the way to go:

> xmodmap -e "keycode 133 = Control_L"
> xmodmap -e "keycode 37 = Overlay1_Enable"
> xmodmap -e "add control = Control_L"
> xmodmap -e "remove control = Overlay1_Enable"

caused an error in my ubuntu 14.04 w/ xfce chroot:
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  11
  Current serial number in output stream:  11

after running xmodmap -e "add control = Control_L"
After checking  xmodmap at every step, I discovered:
After running xmodmap -e 'keycode 133 = Control_L' the Control_L is somehow automatically mapped to mod4, which is causing the error above.
So here an extra xmodmap -e 'remove mod4 = Control_L' should be added to correct it.
I intended to change the wiki but I am not sure what exactly the reason is and I am not 100% sure what I have done is the best or the most appropriate to solve the error. So posting it here for discussion.

Please re-open if this issue is still a concern.


fix sql session error in auto update related index

fix issue #24 , reproduce the bug by commenting line 114 in flask_msearch/backends.py and executing test/test_whoosh.py

Thanks for your pr, confirm this bug.
Now Indexing relational columns is really inconvenient and inefficient, I'll look for more efficient ways to resolve it.

@honmaple encountered the same error today, could you please fix?


fixes crash when birthday is not in the expected format (#279, #288)

sync from garethmccall

@morenoh149, this contains syntax/compile errors. Looks like @garethmccall has since updated #291 after this was merged.

Sorry folks... I forgot how to Java 😅


Terminal: go to recent directory should be better aligned with our open recent flow

Testing #143430
F1 > terminal go to recent directory
Opens a quick pick of recent folders worked on in the terminal.
I think this experience should be better aligned with our Open Recent flow.
For example:
Ctrl + R, should at the bottom have a new group Terminal with all the terminal entries
Triggering Ctrl + R, when in the terminal would open this list, but just focus the first terminal entry
There would be no separate command etc...
fyi @sbatten @misolori @bpasero for more ideas

Going to a recent directory in the terminal by typing cd ... is very different to opening a new window, this doesn't really work from a code layer perspective either as we'd need the terminal to contribute paths into it. Ultimately though, we cannot intercept ctrl+r in the terminal as it's a critical keybinding for reverse search in nearly every shell. This command (and command history) is mostly a holdover until we get native autocomplete in the terminal.


Containerize the S3Khoj and Github actions

Using docker, containerized the S3Khoj binary and publish the image in the Dockerhub using github actions.

Implement on this commit: https://github.com/ajutamangdev/S3Khoj/commit/7f0d99e1b52ee3414eaf61333780fb3ae0c1e7f5


Fix import path for operations that lack tags

Before, operations without a "Tag" field in their spec would
generate incorrect imports ($PROJECT/restapi/operations/operations
instead of $PROJECT/restapi/operations)

This pull request is now managed with CodeReviewHub. Refresh.

:shipit:


Add font name and font size properties to text view extensions

The properties would be named fontName and fontSize. This would allow developers to specify their values independently; e.g.:
<UILabel text="Hello, World!" fontName="Helvetica-Bold" fontSize="24"/>

This would also be useful when specifying size class-specific styles; e.g.:
<?properties {
    "footer": {
        "fontName": "Helvetica-Bold",
        "fontSize": 32
    },
    "footer~horizontal": {
        "fontSize": 24
    },
    "footer~minimal": {
        "fontSize": 18
    },
}?>

Closing. While this might be useful, it isn't strictly necessary, and would require additions to numerous classes that would need to be maintained moving forward.


Way too UK-centric, would be nice if it were more international.

It would be nice if it didn't have such a bias towards UK history. It asks for specific houses, political positions, minor royals, etc., in a disproportionate amount compared to all other countries.

That's just a function of what people care enough to add data about on wikidata, there's not really much we can do there other than artificially discard interesting cards, which IMO is not a good idea to be honest.


Godot screen update problems after waking up from hibernation

Godot version
v4.0.3.stable.official [5222a99f5]
System information
Operating System: Manjaro Linux  KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 Kernel Version: 6.3.5-2-MANJARO (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-3630QM CPU @ 2.40GHz Memory: 11.6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4000 Manufacturer: Micro-Star International Co., Ltd. Product Name: GT70 System Version: REV:1.0 ========== VULKANINFO ==========  Vulkan Instance Version: 1.3.246 Graphics Card: GK 104M[GeForce GTX680M](Nvidia Corp)
Issue description
There are some screen update problems with Godot after waking up from Hibernate.
Please check out the image I attached here.
Although I click on player scene (title of the main window is player.tscn), Mob.tscn is shown in the 3D view port. Also there seems to be no way to change the mob scene (which was up when I hibernated my machine).
I clicked on the different components of the Mob scene on the left, however Inspector was left totally empty no matter what I clicked.
I also tried to select a menu option (first menu option under Help menu) and you see the the pop up window titled "Search Help" came out empty (transparent).
 After waking up hibernation, I tried to discard changes. The pop up warning window also appeared empty (transparent). It looked emtpy, but I COULD click an invisible button (just made a rough guess where the button should have been), and managed to save my work and exit Godot application.
If I restart the Godot suit, everything goes back to normal.

Steps to reproduce
So simple.

Start Godot suit.
Open a project (I used the 3D tutorial squash the creeps project)
Create a new scene (but do not save it)
Hibernate the machine
Wake up from hibernation
Try a different scene other than one on the screen (observe the scene on the 3D viewport does not change)
Try to save the project by pressing CTRL + S ( it should ask you for a name for the new scene but observe that the pop-up comes empty)
Try to exit godot by pressing the X on the upper right corner (observe the pop-up that comes to warn to user about unsaved work appears empty)

Minimal reproduction project
godot-3d-dodge-the-creeps-master.zip

See: #52738

Probably related, see here

I think you are right @AThousandShips . I actually searched the issue knowledge base before hand, but looks like I hadn't put the correct key words get a match. I only came across a few years old issue which was already closed.  My apologies for the redundancy and thank you for your response.

No problems! Does this resolve/answer your problem? If so we can close this as a duplicate

I believe it is safe to close this issue as it has been discovered and documented earlier. Thanks so much.

Duplicate of #52738


TES optimization

@AbbyGi, do we still need it? Or were all needed parts moved to https://github.com/NSLS-II/sirepo-bluesky (a proper package)?

All necessary code was moved, so we shouldn't need this anymore.

OK, sounds good. Closing.


Doodle Devil [PCSE00327]

Game summary

Game name: Doodle Devil
Game serial: PCSE00327
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1013-54f39b4
Commit hash: https://github.com/vita3k/vita3k/commit/54f39b4

Test environment summary

Tested by: HorrorTroll
OS: Windows 10
CPU: Intel Core i5-4200H
GPU: Nvidia Geforce GTX 950M
RAM: 6 GB DDR3

Issues
Bootable but have unicorn crash!
Screenshots

Log
vita3k.log

Vita3K v0.1.5 2585-c167144f
same status as before
vita3k.log

Vita3K summary

Version: v0.1.6
Build number: 2858
Commit hash: https://github.com/vita3k/vita3k/commit/ad2e287f
CPU backend: Dynarmic

Test environment summary

Tested by: othmanead
OS: Windows 11
CPU: Intel i5-10300H
GPU: RTX 3060 mobile
RAM: 16 GB

Issue:
Game doesn't display game menu ingame
Screenshots:

Log
vita3k.log
Recommended labels

Ingame-

App summary

App name: Doodle Devil
App serial: PCSB00381
App version: 1.00

Vita3K summary

Version: v0.2.0
Build number: 3691
Commit hash: https://github.com/vita3k/vita3k/commit/31826697
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: Benjamin Toledo
OS: Microsoft Windows 11  (build 22631)
CPU: AMD Ryzen 5 4600G with Radeon Graphics
GPU: AMD Radeon(TM) Graphics
RAM: 15 GB

Issues

Very, VERY small graphical errors

Screenshots

Log
vita3k.log
Recommended labels

Playable


Grouping Header does not disappear

Guidelines
dragged column does not disappear until next render, same viceversa the column does not appear until next render when you deleted from the grouped columns
version 5.0.1 and bigger
https://codesandbox.io/s/grouping-zu4gw
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to the codeSandbox
Drag&Drop anycolumn to groupBy it, grouping is applied but the column persist on headers
refresh data with the button above and column disappear
Delete the column from the grouping group, got delete but now the column does not show
refresh data with the button above
see error

Expected behavior
The column should dissapear once the grouping is applied, and also appear again once the group gets deleted

It seems like this is connected to the persistentGroupingsId. Ill check it out

Hi @Domino987 any update on this issue?

I looked into it but did have a fix yet.


ci: remove crate without Kani proofs

Resolved issues:
N/A
Description of changes:

Kani proofs in the tools/xdp/s2n-quic-xdp crate were moved to quic/s2n-quic-core, so there's no longer a need to run Kani on this crate:
https://github.com/aws/s2n-quic/actions/runs/7453776726/job/20279841353#step:3:425
Call-outs:

Testing:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

If you rebase we can get this merged, thanks!

Done.


WIP: c2cpg: generate stable names for header file content

tested with sptests locally: the test assertions (anonymous_enum_0:<clinit> and friends) are stable now between runs 🎉

tested with sptests locally: the test assertions (anonymous_enum_0:<clinit> and friends) are stable now between runs 🎉


Dango 1.10

I tried to install using pip, and got the following error;
Could not find a version that satisfies the requirement django-mr_reports (from versions: )
No matching distribution found for django-mr_reports

I've had the same problem, did you find a way to fix it?

It's been a while...
I don't think that I found any solution.


How to stop complier is cpplint has error?

I want to generate binary file only when no cpplint error existed.
I think the default behavior is just to check once, even cpplint found error, it can make out.
And next make, those error wont show again.
Can I make cpplint check a hard check, stop generate binary file and print out message everytime?

this sounds like a question about the build system you're using which is out of scope for this project.  try SO or similar site instead.


buffer encoding issue

With both node v.0.10.13 and v0.12.0 I get the following error when entering anything from the cli:
couchjs/0.3.2 23920: /usr/share/couchdb/server/main.js
Call main
Uncaught error:
TypeError: Unknown encoding: buffer
    at Buffer.toString (buffer.js:274:17)
    at LineStream2._transform (node_modules/couchjs/stream.js:36:21)
    at LineStream2.Transform._read (_stream_transform.js:179:10)
    at LineStream2.Transform._write (_stream_transform.js:167:12)
    at doWrite (_stream_writable.js:301:12)
    at writeOrBuffer (_stream_writable.js:288:5)
    at LineStream2.Writable.write (_stream_writable.js:217:11)
    at ReadStream.ondata (_stream_readable.js:540:20)
    at ReadStream.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)

From what I can tell, although the CLI sets the encoding (on line 70), _stream_writable.js:writeOrBuffer sets the encoding to 'buffer', despite successfully "decoding" the chunk.  My current guess is that _stream_writable.js:decodeChunk is /supposed/ to return a string.
...
Later: I actually fixed this particular bug not by changing decodeChunk (that caused other problems), but instead by not overriding the encoding. If it is already set, we don't change it to 'buffer' in writeOrBuffer.
My pull request for node.js with a bug fix is here:
https://github.com/joyent/node/pull/9372

Installing nodejs 0.10.38 on Ubuntu 14.04 with CouchDB 1.6.1 and couchjs installed from git gives a a similar unknown encoding error in the couchjs.log:
Call main
Uncaught error:
TypeError: Unknown encoding: buffer
    at Buffer.toString (buffer.js:434:13)
    at LineStream2._transform (/usr/lib/node_modules/couchjs/stream.js:36:21)
    at LineStream2.Transform._read (_stream_transform.js:179:10)
    at LineStream2.Transform._write (_stream_transform.js:167:12)
    at doWrite (_stream_writable.js:226:10)
    at writeOrBuffer (_stream_writable.js:216:5)
    at LineStream2.Writable.write (_stream_writable.js:183:11)
    at write (_stream_readable.js:602:24)
    at flow (_stream_readable.js:611:7)
    at Socket.pipeOnReadable (_stream_readable.js:643:5)
couchjs/0.3.2 11391: /zcp/couchdb/share/couchdb/server/main.js

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty
# curl -sL https://deb.nodesource.com/setup | sudo bash - # 0.10
# apt-get -y install nodejs
# npm install -g git://github.com/iriscouch/couchjs.git


feat(axelarnet)!: adopt wasm/ format in address_validator

Description
As discussed before, the receiver will accept wam/address for gmp, we need adjust address validator to accept this format
Todos

[ ] Unit tests
[ ] Manual tests
[ ] Documentation
[ ] Connect epics/issues
[ ] Tag type of change
[ ] Upgrade handler

Steps to Test
Expected Behaviour
Other Notes

close this, will pass in payload


Add functionality to data tables

This PR takes the tables from #50 and integrates them with a modified version of the interactive table component from #45. On screen 3, the table consists only of 'completed' measurements where both a distance and velocity value are present. On screen 3, the table is connected to the scatter viewer - making a subset in one of them will be reflected in the other.
In an effort to simulate how we'll eventually get data from the student (one data point at a time), the data is now populated using the "Select Galaxy" and "Estimate" buttons. This data is currently just in the app.py file. Obviously this isn't how the final product will be, but I tried to separate out the "get a new data point" and "do the necessary glue stuff with it" functionality, so the latter will hopefully need minimal changes later.

@Carifio24 This is looking great - thank you!  A couple minor suggestions:

When students "Plot my points," we should include the origin in the range of plotted points in the Hubble viewer.
I think it would be clearer to replace the button text "Erase fit line" with "Erase drawn line" on Screen 3. (Since the button beneath says "Find best fit," I think we want to distinguish between the drawn fit and the calculated best fit.)

Both of these issues should be fixed now.

Now, if the student drags the endpoint out of bounds, it will be moved to the place where their line segment crosses the boundaries of the viewer, regardless of direction (the piece of code that does this determines which boundary was crossed).

I moved the code that was causing the lag into the Application constructor. Glue will complain if one tries to add a size-0 Data object to a viewer, so I had been deferring the creation of the Data that goes into the screen 3 viewer until the student had one point complete. Now I'm just initializing that object with a single dummy data point when the app is created, and overwriting that point once the student has one of their own. This actually makes the code simpler, as the logic is then the same for each point update.


Issue #995

Coverage increased (+0.4%) to 51.895% when pulling 2f42b80e58e818eb587fadbe95961f76e457b0f3 on Becca42:issue995 into 13f94c04daacbfb256afbc60878ac2017ef45fcf on ngageoint:master.

Coverage increased (+0.4%) to 51.895% when pulling 2f42b80e58e818eb587fadbe95961f76e457b0f3 on Becca42:issue995 into 13f94c04daacbfb256afbc60878ac2017ef45fcf on ngageoint:master.

Coverage increased (+0.4%) to 51.895% when pulling 2f42b80e58e818eb587fadbe95961f76e457b0f3 on Becca42:issue995 into 13f94c04daacbfb256afbc60878ac2017ef45fcf on ngageoint:master.

Coverage increased (+0.4%) to 51.895% when pulling 2f42b80e58e818eb587fadbe95961f76e457b0f3 on Becca42:issue995 into 13f94c04daacbfb256afbc60878ac2017ef45fcf on ngageoint:master.


Recipes

Provide cooking tips and recipes based on user choice.

Here is a demo
https://github.com/user-attachments/assets/b238696e-ba6a-4303-bbf2-860f6047e22f

@suryanshsk I have added pr


x/build/env/windows: add GUI shell?

Now that we have gomote rdp (#26090) for RDP access to our Windows buildlets, I discovered our Windows images are pretty spartan over RDP.
I guess they don't have the Windows GUI enabled?
@johnsonj, is that configurable? I assume, and Google suggests? I don't see anything in https://github.com/golang/build/blob/master/env/windows/startup.ps1 that looks like it's explicitly disabling it, at least.

The spartan feeling is due to the base images being mostly 'core' editions: https://github.com/golang/build/blob/master/env/windows/make.bash#L12
Switching to "Server with Desktop Experience" would be more at home in RDP. I think the images w/ just -dc- in the name are this. Can you RDP into a Server 2008 R2 machine and see if it looks better?


Running find all references and expanding a node removes minimap in outer editor

The fix is available on the Insiders channel. We looked at it in the endgame, but it did not fit the severity bar for stable.

Minimap now disappears when running "Go Back" (workbench.action.navigateBack) on code-insiders_1.14.0-1497948192_amd64.deb

@mxrtos I could not reproduce. Running "Go Back" many times does not result in the minimap disappearing. Can you please create a new issue with a set of steps that consistently reproduce the problem?

@alexandrudima Suggestion: Could you add the editor-minimap label, so I have it easier to find this issue?

@alexandrudima  All the issues I can find for this are closed, this issue still occurs.
Peek Definition, then click in the peek windows and the minimap will vanish

@douglasg14b have you updated to a newer version of VS Code? If yes, and you can still reproduce, then please create a new issue.


Refactor adding context tracks to state

Follow up from https://github.com/librespot-org/librespot/pull/305#pullrequestreview-214843475
Had some time to read the docs again, this should be a cleaner implementation.
I am still unsure if this mimics the official clients - my windows client sometimes seems to update the queue on the fly for my Dailymixes, even before resolving the new tracks. ¯\(ツ)/¯

Looks good. WRT the queue updating, my guess is that it has something to do with that context_state key that seems to be cropping up more and more.

I noticed queue update stuff gets thrown out of wack on both the Windows and Android client especially if you have a web client also open.


Write a PHP program to find second largest number in an array

Description
Write a PHP program to find second largest number in an array
Input  : [1, 2, 3, 4, 5]
Output : 4

How to contribute

Save the solution in program/find_second_largest_number_in_an_array.php file
Add find_second_largest_number_in_an_array.php file in find-second-largest-number-in-an-array folder

!assign

Hey @anupeshverma,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


Cropped bottom of circular radar graph

I have a problem with cropped bottom of circular radar graph, you can see it on fiddle here.

Don't know, if it's related to retina display only, because I'm not able to try it on different device. I've tried to allow responsiveness, but it's same as with specified size proportions.

Ok, I've set layout padding, solved.


tasks/New-Release.GitHub.build.ps1 displays token

When publishing a release, the token is printed back to the screen at:
https://github.com/gaelcolas/Sampler.GitHubTasks/blob/main/.build/tasks/New-Release.GitHub.build.ps1#L112
$getGHReleaseParams = @{
    Tag            = $ReleaseTag
    AccessToken    = $GitHubToken
    OwnerName      = $repoInfo.Owner
    RepositoryName = $repoInfo.Repository
    ErrorAction    = 'Stop'
}

Write-Build DarkGray "Checking if the Release exists: `r`n Get-GithubRelease $($getGHReleaseParams | Out-String)"

Option 1
I worked with @johlju on Hide-GitToken for DscResource.DocGenerator. That could be brought over and used for this.
Option 2
Don't display the token at all.
$displayGHReleaseParams = $getGHReleaseParams.Copy()
$displayGHReleaseParams.Remove('AccessToken')
Write-Build DarkGray "Checking if the Release exists: `r`n Get-GithubRelease $($displayGHReleaseParams | Out-String)"

Suggest removing the token entirely.


Question: How to create a "service only" container

Not a bug but a question:
assuming I want to have BC Container that only lives for working on Job Queue Tasks, or NAS. So I don't want IIS, nor Web Services. Not even a SQL Express. Just a container, I hook up with a DB and that's it it runs until I recreate it or shut down.
What's the quickest way to do so? I recall all those "hooks" or "script overwrites". Guess the answer is somewhere in that?
Or would be a "make your own docker image" a better way?
Some help would be appreciated :)

To be honest I think starting from Scratch is the best option. It gives you the most control over where what should be installed when. But you could borrow from bccontainerhelper some of the scripts.
The containers are not meant to be used for such a case they were designed do be easy to deploy dev environments and in that break some of the stuff that makes docker great.

@KristofKlein If you define the connection to an external SQL database and set the env variable webClient=N, then you don't get (running) SQL and IIS (see https://github.com/microsoft/nav-docker/blob/master/generic/Run/navstart.ps1#L97-L115). And with the env setting customNavSettings=SOAPServicesEnabled=false,ODataServicesEnabled=false you can disable SOAP and REST. Sure, all the files and functionality are in the image (can't remember, maybe you can even tweak the build process here), but during runtime you would already have only the NST with a few config settings

see - it is all there :D Thanks @tfenster ! I will give this a try. Guess this will be just what I was looking for. If spinning up takes time - pfff - It's a windows container - it always takes time :D

@tfenster out of curiosity. They are still installed, just not started right?

@jonaswre Yes, 100 % correct. Those settings only configure whether the services are started or not. But if you want to go the full way and not even have them installed, you could add an additional build argument and only conditionally run https://github.com/microsoft/nav-docker/blob/master/generic/DOCKERFILE#L14-L31. If those are skipped, you should have a "pure BC" image without SQL and IIS. Maybe some of https://github.com/microsoft/nav-docker/blob/master/generic/DOCKERFILE#L14 is needed for BC itself, but that should be easy enough to figure. Actually, an interesting experiment, might give that a try myself :)

Do it :) If you need a tester let me know :D

@KristofKlein I couldn't resist... Can you please try to

clone https://github.com/tfenster/nav-docker/ --> this has my changes to allow creating an image with only BC
go to folder "generic"
create a file "settings.ps1" with content $bcOnly = "true" --> make sure the following command runs a build with only BC
run build.ps1 --> this builds the generic image without SQL and IIS
run New-BcImage -artifactUrl (Get-BCArtifactUrl -type OnPrem -country de -version 23) -baseImage mygeneric:<IP_ADDRESS> -imageName mybc --> this builds the specific image for BC 23 DE based on the generic image that you just created
run docker run -e accept_eula=y -e accept_outdated=y -e databaseUserName=sa -e databasePassword=Super5ecret! -e databaseServer=<IP_ADDRESS> -e databaseInstance= -e databaseName=CronusDE -e webClient=N -e httpSite=N -e username=admin -e password=Super5ecret! -e usessl=n --name=bc mybc:onprem-23.0.12034.12841-de --> this runs a container based on the specific image that you just created. Of course, you will have to change the database stuff (user, password, server, instance, name) to what is correct for you

If I do that, I seem to get a working BC instance (Get-NAVServerInstance BC returns fine), so I wonder what happens for you :)

@KristofKlein a bit more detail here https://github.com/microsoft/navcontainerhelper/issues/3212 😊

Just as a counterpoint to this I would estimate that a copy&paste install of the service tier is actually less intrusive than a similar docker install on the host.
So if you only want a tier for task-scheduler/odata or similar.
0) Make sure Dotnet 4.x is installed (default on svr 2022)

Copy the service tier directory to somewhere useful.
Install a service for the default service tier with SC.
Setup the .config file and start it.
Enjoy.

You probably don't need the other prerequisites and for most of them you get an obvious error if you need it.
(The main one you might need is the report runner; if you're creating report PDFs in the background)


Update Mac download instructions to assist with open/security errors

What
Update instructions for installing the Mac Account Manager App to assist users in resolving the security warning regarding installing the an application that "cannot be verified".
Why
Users experience confusion and concern with security notifications from the MacOS. Addressing them increases trust in TNB.
Note, this is my first PR so just taking something small :) Could not see an issue raised on this yet.

@Hristijan95 Do we need this or are we working on a solution to prevent the security warning from popping up ?

@Hristijan95 Do we need this or are we working on a solution to prevent the security warning from popping up ?

the insertion can swiftly be removed once the update is done - consider whether the perception of unreliability does more damage to the TNB brand for people who arent technical but are exploring TNB.  Unless of course the patch for mac installer is coming out in the next day or two! :-)

@lapstjup Well, the current version of the acc manager still have the issue, so it wouldn't hurt to have instructions on the website (but we need to remember to remove them once the issue has been fixed).
There is an issue in the Account Manager at the moment and people are working on it, but I am not sure how long will we need to get that fixed.

agree @Hristijan95.  What is not a desirable outcome for visitors to TNB is for them to get blocked on install.  It may be worth considering leaving the instructions there even after the fix, as Mac's updates or a user's tight settings could cause that dialog box to pop up.  Ultimately anything that adds a friction point to a download should be avoided.
cheers!

Let's add this, since there's a similar instruction for the windows installation. When we get rid of the problem, we'll remove the step.

Hi @zeuslawyer , is this PR connected to an issue? If yes, please link a reference to that issue here, as the rules require that every PR should be connected to an issue. If there is no issue, please create one and link it to this PR with a reference.

Fixes https://github.com/thenewboston-developers/Website/issues/1114

@zeuslawyer Reply with your TNB account number so we can send you your PR-reward coins. Thanks


Remove two unused includes in HdrHeap.h.

I'll make a PR for this error soon. QPACK.h should include Arena.h.
In file included from Http3HeaderVIOAdaptor.h:26:0,
                 from Http3HeaderVIOAdaptor.cc:24:
QPACK.h:263:93: error: ���Arena��� has not been declared
   int _read_insert_with_name_ref(QUICStreamIO &stream_io, bool &is_static, uint16_t &index, Arena &arena, char **value,
                                                                                ^~~~~
QPACK.h:265:62: error: ���Arena��� has not been declared
   int _read_insert_without_name_ref(QUICStreamIO &stream_io, Arena &arena, char **name, uint16_t &name_len, char **value,
                                                              ^~~~~

#6906 will fix the error.

[approve ci autest]

[approve ci autest]

Why not merge #6906 first and make this one purely removing the unused includes? The PR is labeled QUIC but it's for master.

OK, I will mark this as draft until 6906 is merged.


Is it possible to upload basic models to Alibaba’s modelscope platform to facilitate downloading by domestic users?

You guys are doing a great job and it's very useful. Given that huggingface is not very easy to access domestically, it would be a great help to the community if you guys could also upload a copy of the base model to the domestic platform.
For example, the modelscope site.

We plan to upload the models to Quark Cloud Disk within the next two days. Thank you for your valuable suggestions.

That would be very helpful, thank you very. 👍👍👍

That would be very helpful, thank you very much.

Hello! I hope you are all doing well. We have uploaded the base models to Quark Cloud Disk. Here are the links:
codes-15b.zip (pwd: deHP)
codes-7b.zip (pwd: iNk3)
codes-3b.zip (pwd: BvP6)
codes-1b.zip (pwd: 2xzD)


ts: Migrate settings_ui.js to TypeScript.

Fixes:

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Pointed out one possible change other than that this looks good to me.

Merged, thanks @jychen630 and @Lalit3716!