why do not support for x84_64-unknown-linux-musl?

i really like this crate,it's easy to understand and use,but why do not support for x84_64-unknown-linux-musl?
i mean,the cross compile for compile x84_64-unknown-linux-musl is easy than x84_64-unknown-linux-gnu right?
i can not find a good way to easy cross compile to x84_64-unknown-linux-gnu.
if u know,could u pls tell me?oh,by the way,i am coding on mac.

Hi @reison1218, I'm glad you find message-io easy to use. It's one of the main motivations :)
What do you mean with "not support for x84_64-unknown-linux-musl"? It should compile. If you get an OpenSSL error it's due because you need to point to the correct OpenSSL for the target you are cross-compiling. OpenSSL is used only by WebSocket, if you don't use Websocket you can avoid compiling it using:
cargo build --target x86_64-unknown-linux-musl --no-default-features --features "tcp udp"

Is this your problem?

oh,as u say!it's work,thank u
base on it,i can try more this crate now.thanks for your job!


chore(master): release 2.6.4

:robot: I have created a release beep boop
2.6.4 (2024-06-02)
Bug Fixes

cannot find Buffer at browser (c165673)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/keq-request/keq/releases/tag/v2.6.4 :sunflower:


sync to live

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/Downloads.md
:white_check_mark:Succeeded

windows-iotcore/Resources.md
:white_check_mark:Succeeded

windows-iotcore/TOC.md
:white_check_mark:Succeeded

windows-iotcore/media/IoTDashboard/DASHBOARD-800x450.jpg
:white_check_mark:Succeeded

windows-iotcore/release-notes/CurrentCommercial.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/commercial/October2018Update.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[DataViewer] Add NXdata viewer (WIP)

This PR adds NXdata views for the  silx.gui.data.DataViewer widget. The @interpretation is taken into account to determine the dimensionality of the plot.
Generic NXdata parsing functions are added to a new silx.io.nxdata module.

Please take into account that the interpretation attribute is not always present. If it is present, it is of course better to consider it.

hdf5widget.py option  create NXdata does not work under Python 3.5 or Python 3.6

I just check the overview and it looks fine.
Here is few comments:

view-nxdata images can be removed while it is not used?
Should we merge it with dataviews.py
It would be better to import widgets only when it is needed (as it is done on DataViews.py). Then only when the expected dataview needs ArrayCurvePlot, ArrayImagePlot, ArrayStackPlot, ArrayTableView. I would like to avoid to load too much things at the startup of an application. If we don't need OpenGL and Matplotlib to display something, it's better to not load it.

I ask myself for this other comments:

Mostly typos:

NxDataView instead of NXdataview
isNxData instead of isNXData
signal_is_2D instead of signal_is_2d
nx_ instead of NX_ in functional API

OK for most comments.
Not sure about CamelCase conventions when it comes to concepts such as NXdata which use a mix of upper case and lower case in their names. Maybe I should use pure lower case nxdata whenever possible, and stick to NXdata in CamelCase contexts such as class names or QWidget methods.
I also agree that the functional API in silx.io.nxdata should disappear, as it is 100% duplicating the class methods. I started with only functions, then it became obvious that I needed a class to avoid the clumsy @validate_NXdata decorator, and it was a mistake to then keep using the functions in NXdataViews.
More issues to be fixed:

until we have an addScatter method in plot, I need to compute my own RGBA array for addCurve, but I should at least avoid importing matplotlib
calibration objects are to be discussed in a silx meeting

Concerning CamelCase conventions. Two capitals are kept as capitals. More than that follow CamelCase.
Examples:
HtmlIO
PyMca
Therefore the correct terms if you consider NX and data as separated things would be NXData and NXDataViewer
If you consider NXdata as the item on its own and not a combination of two things, then NXdataViewer is the correct thing since it is a viewer of NXdata and not viewer of Data for NeXus (NXDataViewer).
I would propose to follow NXdataViewer approach (a Viewer of NXdata)

It is usually not the point of capitals, but the point of acronyms. And in this case NXdata is not an acronym. I would like to avoid this kind of stylistic class name: FReLoN, and you can see that there is no more 2 capitals together. But it's fine for me while we are consistent with ourself.
I still ask for the functional API with underscore. Any capital hurting me: is_valid_NDdata.

Ready for review (again). For the moment I refrain from documenting silx.math.calibration. There is an open issue #695 with milestone 0.5 for discussing the API of the calibration objects.

Looks fine.


White screen + installer stops - 2.4.8

Hi, i have the same issue described here (i'm not that user https://gbatemp.net/threads/fbi-bugging-out.475886/  ).
While i navigate the FBI menu, FBI keeps freezing while i'm moving inside the menu. This problem accours even when it is installing games. Plus, when installing games, sometimes it crashes while installing them (install bar not fulled and FBI crash/freeze).
As suggested in that forum, i'll install 2.4.7 but i want to report this anyway.

Redownload 2.4.8.


Flatten for List

Could you implement the flatten method in List (as Scala does?)

Yes, I planned that. However, because of the lack of type constructors/higher kinded types in Java, we cannot implement it as instance method, it has to be a static method that takes the instance.
I'm currently not sure how to implement flatten of interfaces like Seq.flatten(Seq). Applied to a List it should return a List instance, for a Queue a Queue instance and so on. I don't want to implement a big switch with different cases. That does not scale well...

Btw - a workaround is that.flatten(Function.identity())

Duplicate to #241

Btw - a workaround is that.flatMap(Function.identity())

Why not add a flatten() method that do exactly that ?

@evantill unfortunately that is not possible in Java:
class List<T> {
    // problem: we assume that List<T> is List<List<U>> but we can't infer U ...
    List<U> flatten() { ... }
}


Add pull request template

Copy the PaaS team's standard pull request template from alphagov/paas-cf.
This will pre-populate the description for new pull requests. The headings
are designed to help people review pull requests, which is more pertinent
for this repository because the ownership crosses team boundaries and it's
not always clear who should review a change and how.

Looks good to me, even though this PR doesn't follow the template ;-)


Disabled Apache airflow editor is still showing up

The Apache airflow editor which is explicitly disabled by the elyra-config is showing up in the current update main.

The reason seems to be configuration is not getting set up properly.
https://github.com/opendatahub-io/notebooks/blob/223c42efa01687f9b89f00fb91eff20096e564b4/jupyter/datascience/ubi9-python-3.9/setup-elyra.sh#L38
++ cp /opt/app-root/bin/utils/jupyter_elyra_config.py /opt/app-root/src/.jupyter/
cp: cannot create regular file '/opt/app-root/src/.jupyter/': Not a directory

As the copy operation is happening earlier than the notebook server setup, the .jupyter is not created. Causing the issue.

This issue only arises for the initial notebook selection, once the notebook is spun up.
the bumping of the notebook, allows the configuration to be set up on the .jupyter folder.


Assembly report-can't the colors just be set in the html?

You have to scroll over the different rows to see the worst and best colors.  Why don't we just color them, as having to scroll over is not necessarily intuitive.

The reason is because this isn't HTML that we've generated but rather the HTML output of a 3rd party tool running in the backend.


Fix api-spec app name

Before adding a new alerting rule into this repository you should consider creating an SLO rules instead.
SLO helps you both increase the quality of your monitoring and reduce the alert noise.

How to create a SLO rule: https://github.com/giantswarm/sloth-rules#how-to-create-a-slo
Documentation: https://intranet.giantswarm.io/docs/monitoring/slo-alerting/

Towards: https://github.com/giantswarm/...
This PR ...
Checklist

[ ] Update CHANGELOG.md
[ ] Add Unit tests
[ ] Follow Alert structure
[ ] Consider creating a dashboard (guidelines) (if it does not exist already) to help oncallers monitor the status of the issue.
[ ] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

Nope we are just ignoring this one because ownership is unclear :D


RPCError: _createDevFS: (-32603) Internal error _createDevFS: Unexpected exception:PathNotFoundException: Creation of temporary directory failed

Steps to reproduce
1.open project with vscode
2.'flutter run' with vscode terminal
Expected results
i hope vscdoe running app and Hot refresh
Actual results
app is running ,but vscode terminal report crash
Code sample
Code sample

Logs
Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.
command
flutter run --no-enable-impeller
exception
RPCError: _createDevFS: (-32603) Internal error
_createDevFS: Unexpected exception:PathNotFoundException: Creation of temporary directory failed, path = '~/Library/Developer/CoreSimulator/Devices/9C4C4804-B47D-4414-B71F-032FD83825F3/data/Containers/Data/Application/9A51BEFB-A515-4E88-A179-C0CE82A6D6B7/tmp' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:55:9)
#1      _Directory.createTemp.<anonymous closure> (dart:io/directory_impl.dart:152:7)
<asynchronous suspension>
#2      createTempDirCallback (dart:vmservice_io:190:16)
<asynchronous suspension>
#3      DevFS._createDevFS (dart:_vmservice/devfs.dart:182:21)
<asynchronous suspension>
#4      VMService._routeRequestImpl (dart:_vmservice:811:16)
<asynchronous suspension>
#5      VMService.routeRequest (dart:_vmservice:774:22)
<asynchronous suspension>

#0      new _OutstandingRequest (package:vm_service/src/vm_service.dart:1928:45)
#1      VmService._call (package:vm_service/src/vm_service.dart:2493:21)
#2      VmService.callServiceExtension (package:vm_service/src/vm_service.dart:2464:14)
#3      FlutterVmService.createDevFS (package:flutter_tools/src/vmservice.dart:1133:20)
#4      DevFS.create (package:flutter_tools/src/devfs.dart:516:61)
#5      FlutterDevice.setupDevFS (package:flutter_tools/src/resident_runner.dart:393:19)
#6      HotRunner._initDevFS (package:flutter_tools/src/run_hot.dart:449:23)
#7      HotRunner.attach (package:flutter_tools/src/run_hot.dart:266:41)
<asynchronous suspension>
#8      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:753:27)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#17     main (package:flutter_tools/executable.dart:90:3)
<asynchronous suspension>

flutter doctor
[✓] Flutter (Channel stable, 3.13.9, on macOS 14.2 23C64 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.13.9 on channel stable at ~/Documents/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (7 months ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at ~/Library/Android/sdk
    • Platform android-34-ext11, build-tools 34.0.0
    • ANDROID_HOME = ~/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.89.0)
    • VS Code at ~/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Connected device (3 available)
    • iPhone 15 Pro Max (mobile) • 9C4C4804-B47D-4414-B71F-032FD83825F3 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-4
      (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.2 23C64 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 124.0.6367.156

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.9, on macOS 14.2 23C64 darwin-arm64, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.89.0)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!

Hi @KaneForYu
Do you see this issue every time running project or just once? If it's every time, could you check if it occurs on a new Flutter project or only on your project?

hi @huycozy  This issue occurred when I upgraded my project from flutter3.0.0 to flutter<IP_ADDRESS>.9, but it won't occur when I build a new test project.

Thanks for checking it on a new project. To confirm the steps, did the crash occur when you triggered hot reload/hot restart or just run project? Does the crash disappear or persist on your project?

#0      new _OutstandingRequest (package:vm_service/src/vm_service.dart:1928:45)

I checked this LOC in vm_service.dart#L1775-L1782:
final request = _OutstandingRequest<T>(method);
_outstandingRequests[request.id] = request;
Map m = {
  'jsonrpc': '2.0',
  'id': request.id,
  'method': method,
  'params': args,
};

And also the error code at vm_service.dart#L1938-L1939:
  /// Internal JSON-RPC error.
  kInternalError(code: -32603, message: 'Internal JSON-RPC error')

It could be version change issue (jsonrpc?). So if you see the issue persists on the latest Flutter stable channel 3.19.6, please share the new stack trace.

Hello, I also ran into a similar problem today when I tried run project.
NSApplicationDelegate.applicationSupportsSecureRestorableState:.
Finished with error: _createDevFS: (-32603) Internal error
_createDevFS: Unexpected exception:PathNotFoundException: Creation of temporary directory failed, path = '/Users/username/Library/Containers/io.github.username.appname/Data/tmp' (OS Error: No such file or directory, errno = 2)

After manually creating the missing directory (tmp) it runs successfully again.
Here are the details:

I am running a flutter project  on MacOS 14.5
This project has run succeeded before
Part of the directory exists, only the tmp directory is missing. Some information about the directory:
drwx------@   4 username  staff    128 May 17 16:17 /Users/username/Library/Containers/io.github.username.appname
The xxx.app has been created after this PathNotFoundException was thrown and can run as expected if I manually open it
This happened on both flutter 3.16.8 and 3.22.0
After I created tmp, and tried to run the project again, the project ran successfully and created some directories like this(cloud_clipboard is my app name):

└── tmp
    └── cloud_clipboardcr8cI6
        └── cloud_clipboard

Once I delete the tmp directory, this exception happens again. After deleting the entire directory /Users/username/Library/Containers/io.github.username.appname and trying to run the project, it ran successfully.

Hope this information can help you in some way.
Here is the full log when I try to run my project:
Launching lib/main.dart on macOS in debug mode...
Building macOS application...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:000xxxxx-000xxxxxxxxxxxxx, name:My Mac }
{ platform:macOS, arch:x86_64, id:000xxxxx-000xxxxxxxxxxxx, name:My Mac }
✓ Built build/macos/Build/Products/Debug/cloud_clipboard.app
[IMPORTANT:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalSkia.mm(66)] Using the Skia rendering backend (Metal).
2024-05-17 16:12:40.616 cloud_clipboard[13920:3521729] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
Finished with error: _createDevFS: (-32603) Internal error
_createDevFS: Unexpected exception:PathNotFoundException: Creation of temporary directory failed, path = '/Users/username/Library/Containers/io.github.username.appname/Data/tmp' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:55:9)
#1      _Directory.createTemp.<anonymous closure> (dart:io/directory_impl.dart:147:7)
<asynchronous suspension>
#2      createTempDirCallback (dart:vmservice_io:202:16)
<asynchronous suspension>
#3      DevFS._createDevFS (dart:_vmservice/devfs.dart:182:21)
<asynchronous suspension>
#4      VMService._routeRequestImpl (dart:_vmservice:811:16)
<asynchronous suspension>
#5      VMService.routeRequest (dart:_vmservice:774:22)
<asynchronous suspension>
#6      WebSocketClient.post (dart:vmservice_io/vmservice_server.dart:64:3)
<asynchronous suspension>

the Dart compiler exited unexpectedly.
Lost connection to device.

flutter doctor:
% flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.0, on macOS 14.5 23F79 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] IntelliJ IDEA Community Edition (version 2024.1.1)
[✓] VS Code (version 1.89.1)
[✓] Connected device (3 available)
[✓] Network resources

! Doctor found issues in 1 category.


Unexpected behavior with --windows-disable-console.

My code runs fine in Pycharm IDE but after Compiling it with Nuitka it behaves differently and doesn't work as intended.
If I enable the console window It runs properly but not with --windows-disable-console.
Here is the command:
nuitka --standalone --follow-imports --enable-plugin=tk-inter  --windows-icon-from-ico=Resources\logo.png --windows-disable-console main.py
Link to source code:
https://github.com/Rajjco/Simple-Youtube-Downloader-GUI/blob/main/main.py

You failed to provide the issue template information sadly.

Also not true


make oprf receiver method concurrent

Changes since the last push

Fixed test failure
Made  commit message more descriptive of the change


Scavengers: Fix crashing help command

Not ready for merge.

So, I thought this was an issue in more places but apparently it isn't.

Maybe just check if room exists to preserve the HTML?

That works, too


Black mode feature in PDF viewer (changing pdf pages into black)

This is planned, but will likely be a contributor-only feature.


brian.generateCode() points to invalid API endpoint

Issue
brian.generateCode() return error as it is pointing to the wrong endpoint
in SDK code https://github.com/brian-knows/brian-sdk/blob/af742493ed5e4db541f083199ba0a57b52d89fc3/src/sdk.ts#L190
it should be /agent/smart-contract, not /agent/smart-contracts
in swagger (working) code it shows /agent/smart-contract
Could you please fix and release a new npm package, thanks!

Resolved in new npm release, thanks!


email->send() return false but still send the email

I am sending an email with email template of address.
This is how i check that email is send ot not.
if ($this->email->send()) {
log_message ( 'info', 'Email Sucessfully Sent');
} else {
log_message ( 'error', 'Failed To Send Interview Notification. Email Debug: ' . print_r ( $this->email->print_debugger ( array ('headers','subject') ), TRUE ) );
}
I have checked in debugger that $this->email->send() return FALSE  but email get send.
Here is the Error Log:
ERROR - 2017-08-19 12:48:40 --> Failed To Send Interview Notification. Candidate Interview Schedule Email Debug: 220-mocha4004.mochahost.com ESMTP Exim 4.86_1 #1 Sat, 19 Aug 2017 05:48:33 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
hello: 250-mocha4004.mochahost.com Hello localhost [<IP_ADDRESS>]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
from: 250 OK
to: 250 Accepted
data: 354 Enter message, ending with "." on a line by itself
quit: 250 OK id=1dj1Ix-000VJh-Fs
The following SMTP error was encountered: 250 OK id=1dj1Ix-000VJh-Fs
The following SMTP error was encountered: Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.Date: Sat, 19 Aug 2017 12:48:30 +0200
From: "Interview Schedule" <MYEMAIL.com>
Return-Path: <MYEMAIL>
To: RECEIVEREMAIL
Subject: =?ISO-8859-1?Q?=49=6E=74=65=72=76=69=65=77=20=53=63=68=65=64=75=6C=65?=
Reply-To: <MYEAMIL.com>
User-Agent: CodeIgniter
X-Sender: MYEMAIL
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID<EMAIL_ADDRESS>Mime-Version: 1.0

Which CI version are you using?
What do you mean by "email template of address"?

Sir, I am using Version 3.1.5. And  I am sending Email With Template which contains the related address So i have written "email template of address"

This Problem came mainly in localhost.

Increase your smtp_timeout.

Increase your smtp_timeout.

That solved my problem... Hoooo


Add method to shutdown and collect results before at_exit

We are using simplecov as part of a testing framework and have need to collect results before at_exit.  The new end_now method allows the user to get results before at_exit.

@colszowka I can add a test for this new method, wanted to check if you were ok with the general premise first though

:wave:
Hi there,
sorry for the delay I've been rather busy :) What's you use case if I might ask? It's rather specific. To understand if there'd be a better way to do this/accomplish this I need to understand the use case.

@macumber Hi there! :wave: Any plans on picking this up or detailing your use case for this? Would be really helpful! :)


add missing dependencies, Travis CI

work in progress.

no more things to add for now, please review.


feat: add verso protocol

This PR also set webview generic. All webviews are treated as same.

@Legend-Master could you also review it?


About whether it is possible to specify an account for testing in Caliper for fisco-bcos

this is my fisco-bcos.json
{     "caliper": {         "blockchain": "fisco-bcos"     },     "fisco-bcos": {         "config": {             "privateKey": "902df8337bdaecd05377ec646e54305d82d691fc61c14552955737aefab3da42",             "account": "0x82a25c9a26cda8600820309dd90b425946a0003b"         },         "network": {             "nodes": [                 {                     "ip": "<IP_ADDRESS>",                     "rpcPort": "8545",                     "channelPort": "20200"                 },                 {                     "ip": "<IP_ADDRESS>",                     "rpcPort": "8546",                     "channelPort": "20201"                 },                 {                     "ip": "<IP_ADDRESS>",                     "rpcPort": "8547",                     "channelPort": "20202"                 },                 {                     "ip": "<IP_ADDRESS>",                     "rpcPort": "8548",                     "channelPort": "20203"                 }             ],
I want to repeat a certain API test using this account, but when I was debugging, I found out that it always ends up having a random user send the transaction.
When I debugged this method and checked the hexadecimal private key passed in, it was correct. I thought this was the final step to generate the signature, and then send the transaction based on the signature. However, after sending the transaction and checking the block, all users appeared to be random.
`/**

Sign a transaction with private key and callback

@param {String} txData transaction data

@param {Buffer} privKey private key

@param {callback} callback callback function

@return {String} signed transaction data
*/
function signTransaction(txData, privKey, callback) {
let tx = new Transaction(txData);
let privateKey = Buffer.from(privKey, 'hex');
tx.sign(privateKey);
// Build a serialized hex version of the tx
let serializedTx = '0x' + tx.serialize().toString('hex');
if (callback !== null) {
callback(serializedTx);
} else {
return serializedTx;
}
}

`
in<EMAIL_ADDRESS>

Closing as fisco-bcos is unsupported. Available as is only now.


Import skale-ml, skale-examples, skale-cli

Those packages will be deprecated and retired once imported and properly fixed in the skale-engine source tree.
I will also rename skale-engine repostory into skale. This change will be propagated to npm as well once published.

import of cli, ml and examples is now completed. Project has been renamed from skale-engineto skaleas #230. Version is bumped from 0.7.2to 1.2.0to take over previous skale version in npm.


backend: Close the boltdb on exit

It seems like we need a 'defer b.db.Close()' in backend.run() so that the boltdb is closed properly when  backend.run() exits.

Isn't this already handled by Close (https://github.com/coreos/etcd/blob/master/mvcc/backend/backend.go#L204-L208)  since run will only exit if Close is called?

Yes, it seems that is correct.  I'll close this PR.


Reopening App Takes User to Notification Screen

DESCRIPTION:
If the User used a notification to view a video, and then they minimized the app, the notification screen will be present when they reopen the app, even though it was not the previously active screen.

REPRO STEPS:

Install and Launch LBRY 0.16.11 on Android 8.1.0
Select a notification which leads to a video
Press the Home button
Drag PiP off the screen
Reopen LBRY

Results: On Notification Screen
Expected: On Video Screen

ENVIRONMENT:

LG V20
Android 8.1.0
LBRY 0.16.11

MEDIA:

LBRY ADDRESS:
bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b
<EMAIL_ADDRESS>

This is a confirmed bug on 0.17.0. Latest bug fix for notifications didn't fix it. But expect a fix for it soon


Add search bar in mission control for searching resources

Space cloud has many resources like deployments, showing tables, graphql endpoints etc
If we have many resources of same kind it gets annoying to search for a particular resource.
e.g -> if we have 25 tables in a database, mission control paginates the tables, And if you want to perform delete operation or untrack you have manually search for the table.
Having a search bar in each page for searching through these resource would be a great time saver.

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

Done. Coming in v0.20.0


Lokalise: Translations update

This pull request was initiated by Lokalise (user qevan guo) at 2019-03-23 02:51:17

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Merge master branch to prTesting1_201905291055 branch

Docs Build status updates of commit 4246320:
:clock10: Pending: waiting for processors (10 builds ahead of you)
:warning: Docs Build is busy, currently there are 10 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 4246320:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


drivers: flash: spi_nor: make page size and erase sizes configurable

JEDEC compatible spi nor devices are not required to have a
standard page and sector size as well as supported erase sizes. The
JEDEC SFDP headers supports up to four erase types with configurable
size and op-code.
Make page size and erase types configurable. The defaults reflect the old
behaviour. None default parameters are added to spi_nor.c and are
enabled by a second devicetree compatible string with exact device name
(e.g. compatible: "cypress,s25fl512s","jedec,spi-nor").
Remove has-be32k property because it is never read.
Fixes  #23322
Fixes  #23673
Signed-off-by: Thomas Schmid<EMAIL_ADDRESS>

Rebased atop current master and updated to use new devicetree api.

@rckTom would you mind replying to the review comments so we can merge this?

@rckTom would you mind replying to the review comments so we can merge this?

Actually I'd like a response from @galak, since I disagree with most of the changes he's requested.  In any case we need some coordination on what will be an acceptable solution before any rework is done.

@galak and @pabigot could you please re-review?

@rckTom would you mind rebasing on top of the latest master? There was a CI issue fixed in the meantime.

Resolved conflicts with master. The changes that we discussed earlier are already incorporated:

Erase type and page size encoding by JESD216B DWORD
Simple search for the most suitable erase size (see spi_nor_select_erase_type())

@galak and @pabigot: Would you mind reviewing again?

Ping @pabigot @galak

Tagged dev-review to discuss @galak's NAK, particularly the removal of defaults from the binding file which is burdensome and would break out-of-tree devicetrees.  I'd like this in v2.3, so marking it for that too.

Thank you for the review and comments @pabigot.

@galak No, I'm mostly concerned that we'd be forcing people to add a rather opaque set of property values when we can provide a default that matches the existing behavior.  To do so would break all out-of-tree devicetree specifications that have been working since spi-nor was added (and all in-tree specifications would have to be updated in this PR).

@galak No, I'm mostly concerned that we'd be forcing people to add a rather opaque set of property values when we can provide a default that matches the existing behavior. To do so would break all out-of-tree devicetree specifications that have been working since spi-nor was added (and all in-tree specifications would have to be updated in this PR).

So I get that concern.  But how generic are these property values?  I'm concerned the out-of-tree cases break because they are using the defaults and they aren't aware they need to change things.

So I get that concern. But how generic are these property values? I'm concerned the out-of-tree cases break because they are using the defaults and they aren't aware they need to change things.

The defaults encode the erase support and page size that were hard-coded before.

There is a means to provide defaults in the driver code w/o the YAML support.  You can do something like:
COND_CODE_1(DT_INST_NODE_HAS_PROP(n, prop_name), (DT_INST_PROP(n, prop_name)), (default_val))

There is a means to provide defaults in the driver code w/o the YAML support.

Why would we hide the default value deep in a macro substitution in the driver implementation when Zephyr's binding description follows DT-Schema and explicitly supports putting it in the binding file, where it documents the sort of value that's expected to be supplied and incidently provides that value when the property isn't overridden in the devicetree source.
I understand you don't like the default feature, but it's there specifically to support this sort of situation.  If you want it removed please create an RFC proposal so we can discuss it.  I can see an argument for changing it to be informational and have no effect on the generated bindings, but until that's agreed on we should be allowed to use existing functionality.

There is a means to provide defaults in the driver code w/o the YAML support.

Why would we hide the default value deep in a macro substitution in the driver implementation when Zephyr's binding description follows DT-Schema and explicitly supports putting it in the binding file, where it documents the sort of value that's expected to be supplied and incidently provides that value when the property isn't overridden in the devicetree source.
I understand you don't like the default feature, but it's there specifically to support this sort of situation. If you want it removed please create an RFC proposal so we can discuss it. I can see an argument for changing it to be informational and have no effect on the generated bindings, but until that's agreed on we should be allowed to use existing functionality.

Opened Issue #25164 for the phasing out of default.

Superseded by merge of #25851.  @rckTom Thanks for raising this issue and contributing to its solution.


Versioned releases

Would it be possible to get a versioned release of this role? Its important for many users to be able to lock down the role to a specific version, instead of always pulling the master branch.
According to the Galaxy Docs, this should be as easy as just adding tags in GitHub.

If you applied any tags to your repository, Galaxy will automatically display a “version” for each tag. This means users users can choose the version (tag) to download.
...
To import new tags, you can trigger a re-import from the “Your Roles” page anytime.

This allows users to lock in a specific release in their requirements.yml like so:
- src: info.haproxy
  version: v0.1

+1

I tagged this release 1.0 : https://galaxy.ansible.com/FloeDesignTechnologies/haproxy/
Thanks everyone, sorry for the wait.


Adding Detekt in the project

Description:
This pull request aims to enhance the quality of our source code by replacing the ktlint code formatter with Detekt. Detekt is a powerful static analysis tool for Kotlin, providing comprehensive analyses to improve code readability and maintainability. Here are some of the benefits of using this tool:

Comprehensive Static Analysis:

Detekt goes beyond basic formatting, offering more extensive static analyses to identify code patterns, anti-patterns, and other issues that can impact code quality.

Flexible Configuration:

Detekt allows flexible configuration, adapting to the specific needs of our project. I already added all the ktlint rules and Compose rules so we don't need to rely on other linters.

Integration with Android Studio:

Detekt provides direct integration with Android Studio via a plugin, enhancing the development experience for our Kotlin-based Android projects. When setting up the plugin, please don't forget to use our baseline and config, otherwise it will not work properly.

Baseline for Existing Errors:

A baseline has been added to prevent detection of existing errors, allowing for a smoother transition. This ensures that the current codebase's issues are not flagged immediately.

Other changes
Workflow Updates:

Existing workflows have been updated to incorporate the changes related to Detekt integration, ensuring a seamless integration into our development processes.

Future work
In a subsequent PR, the baseline will be removed, and existing errors will be addressed. This phased approach allows us to adopt Detekt gradually without overwhelming the team with immediate corrections.
How to Test:

Ensure the environment is correctly configured after merging this PR.
Run ./gradlew detekt to ensure Detekt's static analyses are executed successfully.

More info:
Here is a report for all the issues found by the tool.
report.zip
Please let me know what you guys think.

Is detekt being applied to all modules?

The plugin is applied only to the app module, but the configuration is set to check files across the entire project (all the modules). I wrote a pre-compiled plugin with the detekt configuration. buildSrc/src/main/kotlin/detekt.gradle.kts
private val projectSource = file("$rootDir")
private val configFile = files("$rootDir/config/detekt/detekt.yml")
private val baselineFile = file("$rootDir/config/detekt/baseline.xml")
private val kotlinFiles = "**/*.kt"
private val resourceFiles = "**/resources/**"
private val buildFiles = "**/build/**"
private val generatedFiles = "**/generated/**"
private val scriptsFiles = "**/*.kts"

Basically, the tool will start in the projectSource and recursively look for files that match **/*.kt or **/*.kts.

Can you like make a convention plugin and apply it to per module? Don't really want to run the whole task with :app

@AntsyLich  Sure, I can add it pre-module.
I just don't see the reason for using a convention plugin. do you have any strong feelings about it? I would rather modify my Kotlin script and apply it in the subprojects (like it was with the ktlint).

I plan to migrate everything to convention plugin

@AntsyLich Let me know what you think.

@AntsyLich Please ping me before merging this PR.
Several PRs have been merged since I opened this one, so I would like to update the baseline before the merge. This will avoid problems.

I may have forgotten to ask you to rebase. Do that and ping me I'll merge it afterwards

@AntsyLich Done.

Optionally, it is possible to slim down the configuration file to only the changes from the default configuration, by applying the buildUponDefaultConfig option

We don't need that huge ass yml file do we? Also add https://github.com/mrmans0n/compose-rules (https://mrmans0n.github.io/compose-rules/detekt)

@AntsyLich
Ok, I'll replace the Compose rule set.
about the config file, are you sure you to slim down the file? I found very useful to have all the rules listed.

it's fine to slim down the config file. chances are we will just keep following the default

@AntsyLich Done.

According to https://mrmans0n.github.io/compose-rules/detekt/ you need to enable some rules 🤔 one of them also seem to supersede FunctionNaming if I'm not wrong

@AntsyLich The plugin rules are enabled by default after applying the plugin. I trimmed down the config files removing all the rules with default values (as you asked).
Here is the generated config file after applying the plugin.

You can also see that the baseline has several compose-rules suppressed.

Any reason why you didn't use detekt v1.23.4?


Documentation improvements

Description
Acceptance Criteria

[x] Improve the part on what has to be configured for IM to work
[x] Describe the time rotation feature
[x] Describe the force rotation feature

Already described in https://github.com/kyma-project/infrastructure-manager/tree/main/docs


Update index.md

Hello! i updated Third-party logging providers, by adding KissLog.net as well. Thank you!

Thank you for your contribution, @catalingavan!

Many thanks


chore: Add new props for hiding past 2 years filter in date-range-picker component

Description

Add new props for hiding past 2 years filter in date-range-picker component

Fixes #24036
Depends on #2286
Type of change

Chore (housekeeping or task changes that don't impact user perception)

How Has This Been Tested?

Manual on storybook

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/generate-alpha

/generate-alpha

/generate-alpha

/generate-alpha

/generate-alpha

/generate-alpha

Support for today/yesterday is not present in excludeShortcuts control.
https://github.com/appsmithorg/design-system/assets/39921438/c879694d-a10f-48b7-921d-20880d806942

@shadabbuchh We are already having a separate prop for that one, names allowSameDay. Hence haven't included it in the exlcudeShortcuts. @albinAppsmith what do you suggest here?

@ankitakinger  the purpose of sameDayFlag is to allow user to select the same day or not. And since the new prop we added handles shortcuts, we can allow excluding shortcuts of Today and Yesterday. If it exceeds the scope of your work, you can create a task and assign it to @tanvibhakta  or me. I had already commented this for Tanvi in the PR comments.

/generate-alpha

Support for today/yesterday working now.
https://github.com/appsmithorg/design-system/assets/39921438/078fc6cb-aa25-4ddf-b78a-eb74f8341039


New package: KAMITSUBAKI.KAFU version 1.0.4

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Windows\Installer{0572F3BF-0810-4AAC-A810-B0A2BDA93980}_853F67D554F05449430E7E.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Windows\Installer{0572F3BF-0810-4AAC-A810-B0A2BDA93980}_853F67D554F05449430E7E.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

Pending Manual Validation.

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Windows\Installer{0572F3BF-0810-4AAC-A810-B0A2BDA93980}_853F67D554F05449430E7E.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Windows\Installer{0572F3BF-0810-4AAC-A810-B0A2BDA93980}_853F67D554F05449430E7E.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

Hi @Exorcism0666.
This package appears to be a song plugin for CeVIO.CeVIOAI - is this correct?

If so, should that package be a dependency here?

@wingetbot waivers Add Validation-Executable-Error


Add a merge timeout feature

This is probably more a nice to have, a sane default could be something between 5-10mins.

When does the merge timeout starts to count? ofborg can certainly queue evaluation for longer than that.

I would say after the at NixOS/nixpkgs-merge-bot merge oomment,

What problem are you trying to solve with that feature? That people push commits on a branch while the bot is still waiting for ofborg?

@Janik-Haag any update other wise I would closely this issue.


SSH clone fails due to missing SSH_KNOWN_HOSTS

Despite SSH-based git repos being officially supported, after trying out the recommended workflow, I encountered a hard blocker:
failed to clone: failed to clone repository: unable to find any valid known_hosts file, set SSH_KNOWN_HOSTS env variable

This appears to be specific to the go-git library: see similar in flux2, and kpack. The kpack solution in particular looks interesting, adding an explicit InsecureIgnoreHostKey flag.
Missing any Go knowledge, I won't be trying to contribute any patches and leave this ticket as is.

Manually adding the following to the local setup also works, though with the database-first approach, I'd expect something akin to add_service_auth_credential, or perhaps something like InsecureIgnoreHostKey
services:
  worker:
    environment:
      SSH_KNOWN_HOSTS: /known_hosts
    volumes:
      - ./known_hosts:/known_hosts


Use chunkIds and moduleIds

What kind of change does this PR introduce?
refactoring
Did you add tests for your changes?
already tested
Does this PR introduce a breaking change?
yes
What needs to be documented once your changes are merged?

hashedModuleIds is replaced by moduleIds: "hashed"
namedModuleIds is replaced by moduleIds: "named"
namedChunks is replaced by chunkIds: "named"
occurrenceOrder is replaced by chunkIds: "total-size"

Just noticed it duplicates #7705…

Merged into #7705


redisFree

In this func,after free,for example:
if (c->tcp.host)         free(c->tcp.host);
don not set the c->tcp.host = NULL,
Is it safe?

Yes, because after c is unconditionally freed as well.
void redisFree(redisContext *c) {
    ...
    if (c->tcp.host)
        free(c->tcp.host);
    ...
    free(c);
}

@badboy, this can be closed


Input Chinese, the predicted is Japanese.

Hello Connor Leahy. Thank you very much for your excellent model project. It's very cool. And I'm more happy and exciting that there will be more open source models in the future. But I'm a Chinese user. When using Pretty Big model, I input Chinese, and the results are predicted in Japanese. Can I support the Chinese model?

Hi there. These models were trained primarily on English text, so I have no idea how good or bad it is for other languages. By default, it should be able to handle any text that can be encoded by the BPE encoder. You will probably have to retrain the model on chinese text in order to get better results.

Thank you very much for your busy reply. Would you like to ask if this should be re-trained in Chinese, or if BERT only needs fine-tune, if it is fine-tune, how to do this? I don't know if there will be plans to launch models in other languages in the future. If you have Chinese in time, I hope you can make a contribution. Thank you again for your sharing. It's great. Here are some of the predicted results. Last time I forgot to post them.
======================================== SAMPLE 0 ========================================
我是厉飞雨中団集道占标情乎不外弁的空何的主热者余主似可能性。
丆会者が移要、成努体余礍等素傷名省冔容以丐会の使用を成功する人が可能だ。
为了一接経懑用体的会段階の構玖は、自分の展貌の演由に意员した他の孆地地を感しており、段階の濑えて最近なものが今回。
如你的能性的項分
私のミッケージに答及した言い資数指定
世界中団に沢項決気师ゎ

The text "SAMPLE 0" generated above is not completely Japanese, but a random mix of Chinese and Japanese.

The original GPT2 model also have this problem. I have tried it.
GPT2 use byte pair encoding, it means that many of the Chinese words are still represented by three byte, not a single token. Because it hasn't seen many Chinese words when building vocabs, it is unable to combine bytes into a true word unit.
So you need to build a new model with new vocabs for Chinese from scratch, not just use this English model to fine-tune.

I've tried to generate Japanese text. To my surprise, the model output is almost all legal Japanese characters (no Chinese character mixed), though the words and sentences are very strange.
!python3 main.py --model PrettyBig_colab.json --top_k 40 --predict_text "猫はネズミを"

...
======================================== SAMPLE 0 ========================================

猫はネズミをアフリです」とお思います。した「言も市気についてもとうかった」にも大錭際のための姀別の事実に寄りたりなのでいただけるだろう。「言だけ」とはなぜんだけないので、これだけではありません。

楽しめてしさが、実際に対しても合まで統制よう言くなりがば、その中の機胞が可能です。ふっても、どうような未杯件が高いので自分だったものだろうか?いっかくわけようようで、つからありません。ほどの誤くちは良い改持していますが、それに世界中の中にはないことができたけどれば、いけれど、ひい、しかしも、いますは種りだが止れからどく名じくなりという人もようができるか。自由を自己したことだが、どうのかでにそれを徴期しているようにしておりません。

言を說明したとこと

そなし、合わな形生のあった。、いまま、合わな形生のあった。それには、というものが、そこで「ややややっという」というが、どうかった感じたらしか無事な形生のなど、そのもセキュリティ(あらようにどういて)。このあったので、そうなる攻省でしょうとした。そうしても、読者のような提価の他も、それにあれたい読者は、これや件いのなっのもときっていいいけるようになりました。そんなど、それにもなくてがず、というは「うもぉっど」っています。

ろしくんう値だったよね。しかした言明だけでは、いまかは感じた。そうしても、それには「以外の言しには自分ない」を微計すようになら、いままないとこれはやっという本私としてもすれば「感じためらない」むしました。そうしたものかで、しかした言を調べばための前徶にするかもしれば、いままだ態度はそれがどうだけませについても、それにもそうなど、どうまであったことはないか、という感じたけないのです。しかし、これや、感じたけてもどうだ。

それかったものが、しかしょうだないよね。つをい、それにも人があり、いら、ややや぀人がだかし、どうかった�

================================================================================

First of all, thank voidism and vochicong for their answers.
I guess it's possible that Japanese occupies more of the training corpus than Chinese, probably the first 40 may be Japanese, but because the corpus should be mixed with some Japanese in English, leading to the prediction in Japanese. The model learns the representation semantics of English, not the semantics of Japanese, which leads to the same problem as voidism. In fact, the model only learns English. The fixed usage of grammar in Web pages, while for other languages, only the model is in accordance with the content it has seen cuanl

Thanks for the interesting comments everyone. I think under the line what it comes down to is that the model was trained primarily on english text, so it naturally struggles with very different languages such as Chinese and Japanese. To get better performance one would probably need to collect a proper Chinese dataset and maybe even create a new BPE vocabulary that focuses on non-english languages. I don't have any plans on doing so, since I'm not qualified to even know what chinese text would be good or not, but it would be a cool experiment for others to try.

I've got 20g cn txt file in hand but no idea how to build the encoder, BPE. I did run the script but seems its format doesn't fit gpt2....
might not be a problem.. cuz I think the key of gpt2 is not its code, but the idea of matching every single word, which contains much more structurized info than lstm-like algorithm
that makes it a language repeater.. so another key is a huge bunch of data needed, and much expensive calculation
since this two will never be available in china (Hail CCF), don't think of it as long as your time is precious.

Google actually has a system you can use to build a BPE encoder: https://github.com/google/sentencepiece
It's not exactly the same as OpenAI's, so you'd need to adapt encoder.py to use the new model, but in theory it should work just fine. I think the main insights from GPT2 is the scaled up transformer architecture, but BPE also surely adds a lot.


SLL should assemble identically to SLA, not SL1

from https://wiki.specnext.dev/Extended_Z80_instruction_set:

SLL (Shift Left Logical)
This mnemonic has no associated opcode. There is no difference between a logical and arithmetic shift left, so both can use SLA, but some assemblers will allow SLL as an equivalent. Unfortunately, some will also assemble it as SL1. So it's probably worth just avoiding.

But looking at is2_z80.v80 I see:
.b      4 *16 | 1  "la.a"       $27 #OP_CB      ;    CB 27    | sla.a
.b      1 *16 | 4     "b"       $20 #OP_CB      ;    CB 20    | sla.b
.b      1 *16 | 4     "c"       $21 #OP_CB      ;    CB 21    | sla.c
.b      1 *16 | 4     "d"       $22 #OP_CB      ;    CB 22    | sla.d
.b      1 *16 | 4     "e"       $23 #OP_CB      ;    CB 23    | sla.e
.b      1 *16 | 4     "h"       $24 #OP_CB      ;    CB 24    | sla.h
.b      1 *16 | 4     "l"       $25 #OP_CB      ;    CB 25    | sla.l
.b      3 *16 | 3    "*hl"      $26 #OP_CB      ;    CB 26    | sla*hl
.b      2 *16 | 4     "ix"      $26 #OP_CBXO    ; DD CB nn 26 | sla*ix    $nn
.b      1 *16 | 5      "y"      $26 #OP_CBYO    ; FD CB nn 26 | sla*iy    $nn
;===============================================================================
.b      3 *16 | 2   "l.a"       $37 #OP_CB      ;    CB 37    | sll.a
.b      1 *16 | 4     "b"       $30 #OP_CB      ;    CB 30    | sll.b
.b      1 *16 | 4     "c"       $31 #OP_CB      ;    CB 31    | sll.c
.b      1 *16 | 4     "d"       $32 #OP_CB      ;    CB 32    | sll.d
.b      1 *16 | 4     "e"       $33 #OP_CB      ;    CB 33    | sll.e
.b      1 *16 | 4     "h"       $34 #OP_CB      ;    CB 34    | sll.h
.b      1 *16 | 4     "l"       $35 #OP_CB      ;    CB 35    | sll.l
.b      3 *16 | 3    "*hl"      $36 #OP_CB      ;    CB 36    | sll*hl
.b      2 *16 | 4     "ix"      $36 #OP_CBXO    ; DD CB nn 36 | sll*ix    $nn
.b      1 *16 | 5      "y"      $36 #OP_CBYO    ; FD CB nn 36 | sll*iy    $nn
;-------------------------------------------------------------------------------
.b      3 *16 | 2   "1.a"       $37 #OP_CB      ;    CB 37    | sl1.a
.b      1 *16 | 4     "b"       $30 #OP_CB      ;    CB 30    | sl1.b
.b      1 *16 | 4     "c"       $31 #OP_CB      ;    CB 31    | sl1.c
.b      1 *16 | 4     "d"       $32 #OP_CB      ;    CB 32    | sl1.d
.b      1 *16 | 4     "e"       $33 #OP_CB      ;    CB 33    | sl1.e
.b      1 *16 | 4     "h"       $34 #OP_CB      ;    CB 34    | sl1.h
.b      1 *16 | 4     "l"       $35 #OP_CB      ;    CB 35    | sl1.l
.b      3 *16 | 3    "*hl"      $36 #OP_CB      ;    CB 36    | sl1*hl
.b      2 *16 | 4     "ix"      $36 #OP_CBXO    ; DD CB nn 36 | sl1*ix    $nn
.b      1 *16 | 5      "y"      $36 #OP_CBYO    ; FD CB nn 36 | sl1*iy    $nn

Where sll instructions are treated like sl1 instead of sla.

Equivalence to WLA-DX seems to be a misfeature in this case.  If SLL is not an official Z80 mnemonic, then an assembler can chose to use the opcodes for SL1 (presumably incase of a 1 vs l typo?), or treat shift-left-logical as identical to shift-left-arithmetic and use the opcodes for SLA instead.
If you know all this and prefer WLA-DX equivalence over mathematical pedantry, feel free to close this without changing anything! :-)

Even though there is no official opcode, other assemblers and existing code already use this form, so I just went with matching convention. We could remove "SLL" entirely and require "SL1";  but spec.next are incorrect here with their assumption. The use of "1" is intentional, the instruction is faulty and inserts a 1 into the left-most bit instead of a zero.


Reading JSON changes data

Description
Use this typst code:
#let bignum = json("big.json")

#bignum

with this json file:
18446744073709551615

(This is $2^{64}-1$)
and see:

Operating system
Linux
Typst version
Using typst-0.9.0

Typst uses 64 bit signed integers, which can't represent that number.

@laurmaedje JSON allows for arbitrarily-sized numbers, so i64 is definitely not big enough.
Using<PHONE_NUMBER>3709551615.0 is also invalid because it loses precision and is rendered as 1.8446744073709552e19.
How would you suggest displaying json values in a PDF?

JSON allows for arbitrarily-sized numbers

Or is it? https://datatracker.ietf.org/doc/html/rfc7159#section-6

Problematic code is here: https://github.com/typst/typst/blob/70b354e887cf735db070f766e4812357dddb8a40/crates/typst/src/foundations/int.rs#L264
We should probably cast to a float instead if it exceeds integer bounds (this in line with the linked RFC from my understanding). There's not much we can do about the precision loss.

We should probably cast to a float instead if it exceeds integer bounds

This is not free. I'd argue not do this. as the rfc stated f64 is actually have a smaller range when accurately representing integers

If it's just for display purposes, wouldn't a string containing the decimal representation be a possibility?

If it's just for display purposes, wouldn't a string containing the decimal representation be a possibility?

Yes but the data isn't a string, it's a number.

If it's just for display purposes, wouldn't a string containing the decimal representation be a possibility?

Yes but the data isn't a string, it's a number.

Typst uses only signed integers, which means the largest integer it can represent is 2^63 - 1.

@Enivex I guess then the only thing to do here is to document that typst cannot roundtrip arbitrary json.
I think it's fine for this to be "broken as intended" but I was hoping there might come to be a separate "arbitrarily sized number" type.

serde has a feature flag which enables arbitrary precision numbers. When it is enabled, numbers will become serde_json::Number, which stores a https://docs.rs/serde_json/latest/src/serde_json/number.rs.html#73, representing the arbitrary precision number.

@Enivex I guess then the only thing to do here is to document that typst cannot roundtrip arbitrary json.
I think it's fine for this to be "broken as intended" but I was hoping there might come to be a separate "arbitrarily sized number" type.

Actual integers larger than 64 bits sound like scope creep for a typesetting system. Plenty of "real" programming languages do not have them either.
I don't think stringification is an unusual solution in this situation?
(That being said, once we have custom types I'm sure someone will create a package for arbitrary precision.)

Actual integers larger than 64 bits sound like scope creep for a typesetting system. Plenty of "real" programming languages do not have them either.

To be fair, they could be quite useful in math environments. For instance, displaying some large factorial value.

Actual integers larger than 64 bits sound like scope creep for a typesetting system. Plenty of "real" programming languages do not have them either.

To be fair, they could be quite useful in math environments. For instance, displaying some large factorial value.

Just displaying the decimal representation of a number doesn't require typst to have native big integer support, unless you also want typst to actually compute the factorial.
While nice, it just seems very niche to me.
(And could be a package already today)

Maybe, all decoding functions should offer an optional argument fallback which is a function receiving the string that cannot be parsed. Example:
#json("hello.json", fallback: (kind, input) =>
    panic("not handling edge case " + kind + " " + input)
)

error: panicked with "not handling edge case bid-int<PHONE_NUMBER>3709551615"


Missing dependencies

There are missing dependencies:
> go dep -d ./...
> make build                                                                                master [f080756]
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o webtail
# github.com/prateeknischal/webtail/util
../../prateeknischal/webtail/util/pam_auth.go:8:10: fatal error: security/pam_appl.h: No such file or directory
 #include <security/pam_appl.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:13: build] Fehler 2

Please refer to the README.md#build-from-source section. It does mention what to do in such cases.


What can i change in my autoProcess.ini for just Remuxing?

I would like it to only change containers without any conversion for Plex direct play. It takes awhile now but is there anything i can change to make this go even faster? I just want to Remux it
Thanks
[MP4]
ffmpeg = C:\Program Files (x86)\ffmpeg-20190711-2601eef-win64-static\bin\ffmpeg.exe
ffprobe = C:\Program Files (x86)\ffmpeg-20190711-2601eef-win64-static\bin\ffprobe.exe
threads = auto
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = True
relocate_moov = True
video-codec = h264,x264,h265,x265,hevc
video-bitrate =
video-crf =
video-max-width =
video-profile =
h264-max-level =
use-qsv-decoder-with-encoder = True
use-hevc-qsv-decoder = True
enable_dxva2_gpu_decode = True
ios-audio = False
ios-first-track-only = False
ios-audio-filter =
ios-move-last = False
max-audio-channels =
audio-codec = aac, aa3, DTS, MP3
ignore-trudhd = true
audio-language =
audio-default-language =
audio-channel-bitrate =
audio-filter =
audio-copy-original = true
audio-first-track-of-language = true
subtitle-codec = srt
subtitle-language = eng
subtitle-default-language = eng
subtitle-encoding = false
fullpathguess = True
convert-mp4 = False
tagfile = false
tag-language = eng
download-artwork = Poster
download-subs = false
embed-subs = False
embed-only-internal-subs = False
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =
aac_adtstoasc = False
preopts =
postopts =

As long as all the codecs for all the input streams are listed it will remux
Sent from my iPhone

On Aug 6, 2019, at 4:20 PM, foizashik<EMAIL_ADDRESS>wrote:

I would like it to only change containers without any conversion for Plex direct play. It takes awhile now but is there anything i can change to make this go even faster? I just want to Remux it
Thanks
[MP4]
ffmpeg = C:\Program Files (x86)\ffmpeg-20190711-2601eef-win64-static\bin\ffmpeg.exe
ffprobe = C:\Program Files (x86)\ffmpeg-20190711-2601eef-win64-static\bin\ffprobe.exe
threads = auto
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = True
relocate_moov = True
video-codec = h264,x264,h265,x265,hevc
video-bitrate =
video-crf =
video-max-width =
video-profile =
h264-max-level =
use-qsv-decoder-with-encoder = True
use-hevc-qsv-decoder = True
enable_dxva2_gpu_decode = True
ios-audio = False
ios-first-track-only = False
ios-audio-filter =
ios-move-last = False
max-audio-channels =
audio-codec = aac, aa3, DTS, MP3
ignore-trudhd = true
audio-language =
audio-default-language =
audio-channel-bitrate =
audio-filter =
audio-copy-original = true
audio-first-track-of-language = true
subtitle-codec = srt
subtitle-language = eng
subtitle-default-language = eng
subtitle-encoding = false
fullpathguess = True
convert-mp4 = False
tagfile = false
tag-language = eng
download-artwork = Poster
download-subs = false
embed-subs = False
embed-only-internal-subs = False
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =
aac_adtstoasc = False
preopts =
postopts =
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Fix OOM in efficientnet on CPU

fixes #86 caused by large kernel_size passed to CPU AvgPool2D in efficientnet.py, when the intention is really for GlobalAvgPool2D.

I'm not merging this. Going to revert, there's no reason this should break.

Fair enough, thanks


fix virt-launcher panic after migration cancellation on crio

What this PR does / why we need it:
In some cases, destination virt-launcher panics after migration cancellation, on CRIO.
This PR handles the panic and let the virt-launcher exit cleanly.
Fixes #2243
NONE

@vladikr do you have a way to reproduce this? Does this have something to do with attempting to shutdown a VMI while migration is taking place?  I'm just curious if there's some issue with shtudown order of libvirt or something that's triggered this.

@vladikr do you have a way to reproduce this? Does this have something to do with attempting to shutdown a VMI while migration is taking place? I'm just curious if there's some issue with shtudown order of libvirt or something that's triggered this.

Yeah, I can reproduce it, but only on cri-o for some reason. I thought that maybe it takes longer for the watchdog ticker to exit. But I'm not sure yet.

/cherrypick release-0.13


This should fix the merge conflict in stage.

:tada: This PR is included in version 1.0.0 :tada:
Your semantic-release bot :package::rocket:


Build and distribute config-file-validator as deb

Build a deb for the config-file-validator and go through the process to get it added to Ubuntu. I couldn't find the process via a quick google search but I know it exists. If anyone knows please link to it.

Build a deb for the config-file-validator and go through the process to get it added to Ubuntu. I couldn't find the process via a quick google search but I know it exists. If anyone knows please link to it.

https://www.iodigital.com/en/history/intracto/creating-debianubuntu-deb-packages


See #289 Fix SettingsBuilder build method in order to fix injectIntoSettings method

There was a bug. Values only need to be set if contain a value.

Coverage increased (+0.01%) to 93.352% when pulling b45a2d2b6fd60aecdd2ddd0e53df2f65c4404d68 on fix-injection into 226795cd6405877e743e19beb0178586b853e0a0 on master.


Unable to load addon script from path:

The addon won't load. Errors out with:
No loader found for resource: res://addons/GodotVoipNet/Plugin.cs.

What version are you using? Additionally this issue can happen when the addons folder is capitalized

Closing this as idle.
I was not able to replicate with a fresh install.


inline sub_axes_map(T::Type{<:SubArray}))

This fixes some serious performance issues for us in Trixi.jl increasing the runtime up to two orders of magnitude.
Another option would be to remove the @nospecialize in the method definition I changed here.
It is hard to provide a good test for it since it is deeply nested, involves LoopVectorization.jl, and is related to nasty issues such as https://github.com/JuliaLang/julia/issues/35800 and https://github.com/JuliaLang/julia/issues/45388
It would be great if we could merge this and make a new release of StaticArrayInterface.jl.
CC @sloede

The downstream CI failure
MethodError: no method matching vifelse(::Vec{8, Bool}, ::Mask{8, UInt8}, ::Mask{8, UInt8})

cannot be related to this PR


Build Automated Data Pipeline

Task Description:
Follow Project Plan:

[x] Refer to your project plan to guide the development of an automated data pipeline.

Write Data Pipeline Script:

[x] Write a script in Python or Jayvee (as per your preference).

The script should:
- [ ] Pull the chosen datasets from the internet.
- [ ] Transform and fix errors in the data.
- [ ] Store the processed data in the /data

done


EDA : Fix typos in error message when attempting to edit the Related Contact in a Relationship

Do you want to request a feature or report a bug?
-BUG
What is the current behavior?
-There are two typos in the error message given when the user attempts to change the Related Contact in a Relationship. (The word "on" should be "one" and the sentence is missing a period at the end of the sentence)
What is the expected behavior?
-No typos in the error message. (change "on" to "one" and add a period at the end of the sentence.)
Steps to Reproduce:

Create 3 Contacts : Giovanna Gamberini, Louisa Gamberini, and Diana Gamberini
Go to Giovanna Gamberini's Contact Record.
From Giovanna Gamberini's Relationship Related List, click "New".
-- In "Related Contact" add "Diana Gamberini"
-- In "Type" choose "Daughter"
-- Click Save
Ensure you're still on Giovanna's Gamberini's Contact Record.
From Giovanna Gamberini's Relationship Related List, click on the Relationship # just created (It will look similar to "R-000000")
-- In "Related Contact", click the Pencil to enable edit mode
-- Click the "X" to remove "Diana Gamberini" from the "Related Contact" field
-- Add "Louisa Gamberini" to the "Related Contact" field
-- Click Save
Actual Result : Error message is: Rather than change the contacts in an existing relationship, delete this relationship and create a new on between the new contacts
Expected Result : Error message should be: Rather than change the contacts in an existing relationship, delete this relationship and create a new one between the new contacts.

What is the motivation / use case for changing the behavior?
Quality!

**lurch: add

Tracking W-034430

Included in beta release 1.81 (Beta 5)

Included in production release 1.81


Lilu is making longer my boot time

"Lilu: patcher @ lookup patching applied only 0u patches out of 2u"
This error I get at my desktop PC about 100 times at verbose boot.
I use iGPU trick to boot (rx480) so maybe this is fault because its eats some of RAM and Lilu don't know where to patch?
On my laptop it works without an harm.

This message appears when some kext (not Lilu but some plugin e.g. AppleALC) tries to apply a patches, but fails to find some of them. It is best to find the relevant plugin and report this issue there.
Most likely you mixed clover kext patches with Lilu plugin patches somewhere.
As for Lilu I might hide this message for non-debug output because technically even if something is not patched, it may not be an actual issue.


Set a random source seed to avoid ID conflicts

closes #14
closes #33

After merging, consider closing https://github.com/sparrc/go-ping/pull/33, so you will not end up with unnecessary PRs in the repo :)

will do, thanks for reviewing @ricardoatsouza


DataDigger doesn't start when user ini file is missing

Latest dev version
I deleted the DataDigger-username.ini file and now Datadigger doesn't start anymore.
Same thing happens when i try to use the Workfolder setting since it is just an empty folder at the first start.

Hi Alexander,
I tried to reproduce the issue, but could not. Can you give me some more
info so I can reproduce it?
Every time I deleted the user-ini, it got re-created. Both with the
'WorkFolder' setting in DataDigger.ini and without.
gr
Patrick Tingen
Op di 14 aug. 2018 om 12:09 schreef movedoa<EMAIL_ADDRESS>
[image: grafik]
https://user-images.githubusercontent.com/13309951/44085780-ce07a19e-9fba-11e8-86a9-96eb2f366072.png
I deleted the DataDigger-username.ini file and now Datadigger doesn't
start anymore
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/patrickTingen/DataDigger/issues/32, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFuwHb7IevAWT0WD5x29o9Afn1DaaMd7ks5uQqHngaJpZM4V8JwO
.

Tracked it down, the error happens when the settings cache is set to no
[DataDigger:Cache]
Settings=no

This is a nasty one and probably did not work good in older versions as
well. The problem is that the option gives the idea that you can bypass the
caching of the setting (hence the name). But in reality this is hardly
doable in the current codebase, nor is it needed, I think. Did you
encounter this while testing or did you also use it in previous versions?
At the moment I am considering taking it out, unless you can convince me
with a good usecase. The reason it was there in the first place was because
I was not too confident that the caching mechanism would work, so it was an
easy way to turn it off. Mind you: this was DD18 of june 2013. In DD24 you
have the option to specify another folder as workfolder, so if you really
do not want to / cannot write to the main DD folder, then there are other
ways to achieve that.
Removing it would simplify the codebase, which I think is a Good Thing™
gr
Patrick Tingen
Op do 16 aug. 2018 om 11:41 schreef movedoa<EMAIL_ADDRESS>
Tracked it down, the error happens when the settings cache is set to no
[DataDigger:Cache]
Settings=no
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/patrickTingen/DataDigger/issues/32#issuecomment-413486760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFuwHcjobjHWnHSrBqa2cszuFPQg6a6Qks5uRT4ygaJpZM4V8JwO
.

Merging all settings is something I will keep in mind for a next version. For this version this would be a too big change. I removed the option to suppress settings caching


Protocol

Remove dead code from Wire Protocol attempting to retain Projection and Projection related code.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


ugrep-indexer.cpp:188:8: error: 'uint64_t' does not name a type

When building 0.9.2 on ALT Linux there is build error:
make[2]: Entering directory '/usr/src/RPM/BUILD/ugrep-indexer-0.9.2/src'
x86_64-alt-linux-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -DPLATFORM=\"x86_64-alt-linux-gnu\" -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include  -pipe -frecord-gcc-switches -Wall -fdiagnostics-color=always -fdiagnostics-color=always -g -O2 -flto=auto -c -o ugrep_indexer-ugrep-indexer.o `test -f 'ugrep-indexer.cpp' || echo './'`ugrep-indexer.cpp
ugrep-indexer.cpp:188:8: error: 'uint64_t' does not name a type
  188 | inline uint64_t modified_time(const struct stat& buf)
      |        ^~~~~~~~
ugrep-indexer.cpp:161:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
  160 | # include "config.h"
  +++ |+#include <cstdint>
  161 | #endif
ugrep-indexer.cpp:202:8: error: 'uint64_t' does not name a type
  202 | inline uint64_t file_size(const struct stat& buf)
      |        ^~~~~~~~
ugrep-indexer.cpp:202:8: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
ugrep-indexer.cpp: In function 'void cat(const std::string&, std::stack<Entry>&, std::vector<Entry>&, uint64_t&, uint64_t&, uint64_t&, int64_t&, int64_t&, uint64_t&, uint64_t&, bool)':
ugrep-indexer.cpp:1389:20: error: 'modified_time' was not declared in this scope
 1389 |       index_time = modified_time(buf);
      |                    ^~~~~~~~~~~~~
ugrep-indexer.cpp:1399:73: error: 'modified_time' was not declared in this scope
 1399 |             dir_entries.emplace(entry_pathname, strlen(dirent->d_name), modified_time(buf), file_size(buf));
      |                                                                         ^~~~~~~~~~~~~
ugrep-indexer.cpp:1399:93: error: 'file_size' was not declared in this scope
 1399 |             dir_entries.emplace(entry_pathname, strlen(dirent->d_name), modified_time(buf), file_size(buf));
      |                                                                                ^~~~~~~~~
ugrep-indexer.cpp:1407:34: error: 'modified_time' was not declared in this scope
 1407 |             uint64_t file_time = modified_time(buf);
      |                                  ^~~~~~~~~~~~~
ugrep-indexer.cpp:1409:90: error: 'file_size' was not declared in this scope; did you mean 'file_time'?
 1409 |             file_entries.emplace_back(entry_pathname, strlen(dirent->d_name), file_time, file_size(buf));
      |                                                                                ^~~~~~~~~
      |                                                                                file_time
ugrep-indexer.cpp:1422:36: error: 'modified_time' was not declared in this scope
 1422 |               uint64_t file_time = modified_time(buf);
      |                                    ^~~~~~~~~~~~~
ugrep-indexer.cpp:1424:92: error: 'file_size' was not declared in this scope; did you mean 'file_time'?
 1424 |               file_entries.emplace_back(entry_pathname, strlen(dirent->d_name), file_time, file_size(buf));
      |                                                                                ^~~~~~~~~
      |                                                                                file_time
make[2]: *** [Makefile:449: ugrep_indexer-ugrep-indexer.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/ugrep-indexer-0.9.2/src'
make[1]: *** [Makefile:456: all-recursive] Error 1
make: *** [Makefile:356: all] Error 2

0.9.1 was building ok.

I see. There should be a <cstdint>, but I don't see it.
I'll commit an update.

Thanks! (BTW, I'd suggest you to add fedora:rawhde container build to GA CI, as it have fresher versions of compilers, etc. which have more checks.)

Btw (if I move include above) there is also crash:
+ bin/ugrep-indexer -I -v
free(): double free detected in tcache 2

backtrace in gdb:
(gdb) bt
#0  0x00007ffff7a0967c in ?? () from /lib64/libc.so.6
#1  0x00007ffff79ba982 in raise () from /lib64/libc.so.6
#2  0x00007ffff79a34ef in abort () from /lib64/libc.so.6
#3  0x00007ffff79a439d in ?? () from /lib64/libc.so.6
#4  0x00007ffff7a130c7 in ?? () from /lib64/libc.so.6
#5  0x00007ffff7a15401 in ?? () from /lib64/libc.so.6
#6  0x00007ffff7a17a9f in free () from /lib64/libc.so.6
#7  0x00007ffff79f2b23 in fclose () from /lib64/libc.so.6
#8  0x000055555555ceac in Stream::close (this=0x7ffffffde230) at /usr/src/RPM/BUILD/ugrep-indexer-0.9.3/src/ugrep-indexer.cpp:353
#9  Stream::~Stream (this=<optimized out>, this=<optimized out>) at /usr/src/RPM/BUILD/ugrep-indexer-0.9.3/src/ugrep-indexer.cpp:342
#10 0x00005555555647a3 in indexer (pathname=<optimized out>) at /usr/src/RPM/BUILD/ugrep-indexer-0.9.3/src/ugrep-indexer.cpp:1818
#11 0x0000555555558286 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/RPM/BUILD/ugrep-indexer-0.9.3/src/ugrep-indexer.cpp:1887

The two problems should be fixed now. I've made a change so that the fclose() is followed by a NULL assignment, which should take care of the issue. That's how I normally approach the open-close pairings.

Thank you, now it works!
ps. Another thought, you may add -fanalyzer to new gcc (13) to get more static analysis. Current output (only warning: lines, but there also some explanations):
/usr/include/c++/13/bits/basic_string.h:1596:24: warning: leak of 'opendir (MEM[(const struct basic_string *)pathname_63(D)]._M_dataplus._M_p)' [CWE-401] [-Wanalyzer-malloc-leak]
/usr/include/c++/13/bits/basic_string.h:1060:16: warning: leak of 'opendir (MEM[(const struct basic_string *)pathname_63(D)]._M_dataplus._M_p)' [CWE-401] [-Wanalyzer-malloc-leak]
/usr/include/c++/13/bits/basic_string.h:1060:16: warning: leak of 'opendir (MEM[(const struct basic_string *)pathname_63(D)]._M_dataplus._M_p)' [CWE-401] [-Wanalyzer-malloc-leak]
ugrep-indexer.cpp:296:5: warning: use of uninitialized value '__first_4' [CWE-457] [-Wanalyzer-use-of-uninitialized-value]
ugrep-indexer.cpp:275:5: warning: use of uninitialized value 'this_7(D)' [CWE-457] [-Wanalyzer-use-of-uninitialized-value]
ugrep-indexer.cpp:275:5: warning: use of uninitialized value 'this_7(D)' [CWE-457] [-Wanalyzer-use-of-uninitialized-value]
ugrep-indexer.cpp:275:5: warning: use of uninitialized value 'this_7(D)' [CWE-457] [-Wanalyzer-use-of-uninitialized-value]
ugrep-indexer.cpp:275:5: warning: use of uninitialized value 'this_7(D)' [CWE-457] [-Wanalyzer-use-of-uninitialized-value]

I didn't check if these aren't false positives. So this is of course not a bug report.

I've used analysis before, but in this case warnings seem off to me (false positives). The opendir() is always followed by a closedir(). There is no intervening return or exception. I always mentally form a model of the code in my mind to avoid these potential issues. Note that the opendir() call keeps an internal static state, which is likely the source of this warning.


View Curriculum button leading to blank pages.

Describe your problem and - if possible - how to reproduce it
Clicking on "view curriculum" button crashes the page. When refreshed, the button will work and be able to navigate to a new challenge. After completing the next challenge, you must repeat the cycle of crash-refresh-click in order to view curriculum.
Add a Link to the page with the problem
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/define-the-head-and-body-of-an-html-document
Tell us about your browser and operating system

Browser Name: Chrome
Browser Version: 66.0.3359.181
Operating System: Windows 10

If possible, add a screenshot here

#17309

Thank you for reporting this issue.
This is a standard message notifying you that this issue appears to be very similar to issue #17309, so I am closing it as a duplicate.
If you think I’m wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding


User with temporary password, cannot login to a Azure AD Join machine - "The sign-in method you're trying to use isn't allowed"

I've worked recently with a customer that was assigning temporary passwords on AD, to synced users and expecting them to be able to change the temp password, during windows sign-in (Azure AD Join)
Customer has configured PW writeback & SSPR for his synced users. Customer has also enabled the AD Connect flag to "ForcePasswordChangeOnLogOn".
With all this in place, customer proceeded to test the behavior and the users with temporary passwords, faced the following error while attempting to sign-in on their AAD Join device: "The sign-in method you're trying to use isn't allowed"
Can we please document this error message, as particularity to this scenario? Couldn't find a reference to it anywhere.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fa632bd8-9300-c9fa-11fc-0c4be6862c6e
Version Independent ID: d0d3cf71-5945-c202-d466-12c3da3fb473
Content: Azure Active Directory device management FAQ
Content Source: articles/active-directory/devices/faq.yml
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

Taking offline #please-close


Didn't understand how to install

Hello,
I have my prometheus server on a debian 11 server that is installed and connected to Grafana and I would like to receive data from my two fortigate firewalls. The problem is that I can't install this exporter. I put the zip on my server, but then I don't understand how to use it. Can you help me? Thanks

Hello
You have to

Create an API Key for you Fortigate
Create the fortigate-key.yaml file https://github.com/bluecmd/fortigate_exporter#usage
Start (manually or create a service in systemD) the exporter. Use -auth-file to pass the file create in 2. https://github.com/bluecmd/fortigate_exporter#available-cli-parameters
Add a prometheus target to scrape your exporter. https://github.com/bluecmd/fortigate_exporter#prometheus-configuration
Create your dashboard in Grafana.


Allow missing @Inject on constructors when it is unambiguous which constructor to use

Currently we use JSR-330 semantics for constructor injection, which requires a @Inject annotation on a constructor that accepts parameters. For many Gradle types this seems to be pointless ceremony. This is particularly true for types implemented in Kotlin, where the convenient syntax for declaring constructors currently cannot be used.
Expected Behavior
Either:

When there is only one constructor on the type, use it.
When there is only one constructor on the type that matches the given parameters, use it.

For other cases, still allow an @Inject annotation to be used to disambiguate between constructors.
Current Behavior
Gradle is overly restrictive and prevents Kotlin conveniences being used.

I believe this is important and can be a source of confusion as project.extensions.create is able to create objects without the inject annotation on the constructor and not objects.newInstance.


All the new application created from now will not able to access the server management APIs by default.

Describe the issue:
With this https://github.com/wso2/carbon-identity-framework/pull/3839 improvement, there will a flag(isManagementApp) that needs to be set for all the new applications, if it is used to access the server management APIs using any OAuth grants.
All the existing applications will not be affected by this change. They will be able to access the management APIs.

Added to docs with https://github.com/wso2/docs-is/pull/2991, https://github.com/wso2/docs-is/pull/2997


[Help Wanted]: Missing key bindings for Codeium installation

Before Reporting

[X] I have checked FAQ, and there is no solution to my issue
[X] I have searched the existing issues, and there is no existing issue for my issue

Describe your issue
I've installed Codium For Xcode and followed the instructions. I understand that I should see the copilot shortcut keys in the Xcode key binding list, but I don't

Please make sure you have enabled the source editor extension https://github.com/intitni/CopilotForXcode#enable-the-extension
If you are using the Codium For Xcode fork, you should look for Codeium in the list.
If you don't see the menu under Menu Bar > Editor > Codeium, restart Xcode.

prefect!


Upload a simple C language program in your named folder

Create a folder of your name
then add you code
"How to contribute in repo and what is  PR ?"
This is the main AGENDA Of this repository.
You can create a PR directly, no need to assign anyone

Okay, sure sir.

I want to contribute in this.

Would love to contribute to this!


Switch to using stable cargo in CI?

After Rust 1.68.0 released, the Cargo's "sparse" registry protocol has been stabilized:
https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#whats-in-1680-stable
So we can switch to using stable cargo in CI.

I'm wrong, cargo fmt and cargo rustdoc need nightly too.


Seedfile improvements - admin user, safety check

I rule and have completed some work on Case Manager that's ready for review!
This pull request makes the following changes:

Makes<EMAIL_ADDRESS>an admin user
Makes it so you can't accidentally run rake db:seed in the production, livefire db (I didn't do this, but live in constant fear that I might accidentally someday)

Have tested and it works to my satisfaction. I'll leave this hanging for today in case anyone has any thoughts.

Current coverage is 96.69% (diff: 100%)

Merging #806 into master will not change coverage

@@             master       #806   diff @@
==========================================
  Files            35         35
  Lines           727        727
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            703        703
  Misses           24         24
  Partials          0          0

Powered by Codecov. Last update 7b8d6e3...85c90d2


fetching a query string returns maybe(string)

I may have misunderstood what's going on here but I think this is an improvement

Ah, thank you!


Supported Languages for Docker EE not documented

Problem description
Hello! Do we have documentation anywhere on the site specifying which language(s) are supported in UCP/DTR?? Got a customer question yesterday around if Mandarin was supported. Found https://github.com/docker/orca/blob/master/ui/i18n/zh-cn.json but it wasn't the most straight forward approach - https://docker.slack.com/archives/C02FVEK5M/p1537877794000100
Problem location

I couldn't find the information I wanted. I expected to find it near the following URL: docs.docker.com

Project version(s) affected

Suggestions for a fix
Update overview pages perhaps. TBD with docs team.

Thanks for your feedback. Docker Enterprise docs are now part of Mirantis. You can take a look at the Docker Enterprise documentation at https://docs.mirantis.com/docker-enterprise/.


Identify what is the API Spec definition type of a PR providing during onboarding

If a pull request is provided during onboarding,  it will be good to determine if the API Spec is defined in TypeSpec or OpenAPI.  Then once determined, automatically update fields of the work item type "Triage":

Triage Data API Spec Definition Type
Triage Mgmt API Spec Definition Type

For now, the service/product team or the PM team can update that value manually in the work item

This should also apply to the API Readiness apps. When the PR is provided, check the type, use it for the API Spec work item.

The automation we wanted to use in the specs repo is not 100% reliable so I am going to move this issue out of this release

Automation work ahs been merged and deploy https://github.com/Azure/azure-sdk-tools/issues/5917. We can try this again :)

API Spec definition field in Triage and API-Spec work items are updated as TypeSpec or OpenAPI based on the PR.


Add shopping list use case to demonstrate some problems moving items

List moves is implemented (amc-moves) which I think should cover this.


Clean volvo.py for vcc-api-key leftover

Hi and good job!
Clean volvo.py, you left a vcc-api-key there!

Thanks for the hint! Fixed this.


Question: Add time in message for *.tick

How can I add time in message?
snippet from cpu_alert.tick
.message('{{ .Time }} [{{ .Level}}] in {{ .Name }}')

[task_master] 2016/03/10 04:26:40 E! Stopped task: cpu_alert template: message:1:3: executing "message" at <.Time>: Time is not a field of struct type kapacitor.messageInfo

At the moment you cannot. But that should be an easy addition.


make build_docker error

ERROR: Command errored out with exit status 1:
 command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6e88JD/filelock/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6e88JD/filelock/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-6e88JD/filelock/pip-egg-info
     cwd: /tmp/pip-install-6e88JD/filelock/
Complete output (3 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named setuptools
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@sandip761 Which instructions are you trying to follow?
Can you try:
$ pip install setuptools --user

hi @sandip761. I had the same issue, can you try to edit your docker file and update the below blocks with the commands python2 -m pip install setuptools and python3 -m pip install setuptools
### Install necessary python 2 modules
RUN python2 -m pip install --upgrade pip \
 && python2 -m pip install setuptools \
 && python2 -m pip install --upgrade setuptools wheel virtualenv \
 && python2 -m pip install ez_setup==0.9 \
 && python2 -m pip install numpy \
 && python2 -m pip install absl-py==0.7.1

RUN python3 -m pip install --upgrade pip \
 && python3 -m pip install setuptools \
 && python3 -m pip install --upgrade setuptools wheel virtualenv \
 && python3 -m pip install cmake==3.11.0 \
 && python3 -m pip install pillow==6.0.0 \
 && python3 -m pip install opencv-python-headless

Thanks for the help issue reol

hi @sandip761. I had the same issue, can you try to edit your docker file and update the below blocks with the commands python2 -m pip install setuptools and python3 -m pip install setuptools
Install necessary python 2 modules
RUN python2 -m pip install --upgrade pip
&& python2 -m pip install setuptools
&& python2 -m pip install --upgrade setuptools wheel virtualenv
&& python2 -m pip install ez_setup==0.9
&& python2 -m pip install numpy
&& python2 -m pip install absl-py==0.7.1
RUN python3 -m pip install --upgrade pip
&& python3 -m pip install setuptools
&& python3 -m pip install --upgrade setuptools wheel virtualenv
&& python3 -m pip install cmake==3.11.0
&& python3 -m pip install pillow==6.0.0
&& python3 -m pip install opencv-python-headless

Thanks for help, Issue resolved.


Merge prTesting_201908250854 branch to master branch

Docs Build status updates of commit 0f22dca:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef.md
:bulb:Suggestion

Details

split/updateTestRef.md

[Suggestion] Missing attribute: author. Add the current author's GitHub ID. NOTE: This Suggestion will be elevated to a Warning on 9/1/2019.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results. NOTE: This Suggestion will be elevated to a Warning on 9/1/2019.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


The Ballista Scheduler Dockerfile copies a file that no longer exists

Describe the bug
https://github.com/spaceandtimelabs/arrow-ballista/blob/master/dev/docker/ballista-scheduler.Dockerfile#L31
The line above refers to a file that no longer exists in both our and upstream master branches.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

@avantgardnerio This one has a very simple fix which will be submitted in 5 min.


1.1

@rultor hello!

@rultor hello!

@portlek Hi there! I understand a few simple commands: "merge", "deploy", etc. This page explains them briefly. Any questions or bug reports are welcome. Have fun :)

@rultor release tag is 1.0

@rultor release tag is 1.0

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 1.0

@portlek Done! FYI, the full log is here (took me 4min)

@rultor release tag is 1.1

@rultor release tag is 1.1

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 1.1

@portlek Done! FYI, the full log is here (took me 9min)


Unable to convert some input_tensors to shard

Describe the bug
Unable to convert the  following [361, 49, 96],[100, 49, 192],  [25, 49, 384],  [9, 49, 768] input shapes to shard tensors. since the 1 Dimension is odd.
To Reproduce
Steps to reproduce the behavior:

Checkout to branch punith/swin_s_MM_input_shard
Expected behavior
Run command, pytest models/experimental/functional_swin_s/tt/unit_test_MM_input.py

Please complete the following environment information:

OS:  Ubuntu 20.04
Device: WH-n150

fyi @saichandax