Liability Disclamer

Liability Disclaimer
The information provided on this website is for general informational purposes only. While we strive to provide accurate information, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk.
In no event will we be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website.
Through this website you may be able to link to other websites which are not under our control. We have no control over the nature, content and availability of those sites. The inclusion of any links does not necessarily imply a recommendation or endorse the views expressed within them.
Every effort is made to keep the website up and running smoothly. However, we take no responsibility for, and will not be liable for, the website being temporarily unavailable due to technical issues beyond our control.
By using this website, you agree to the terms of this liability disclaimer. If you do not agree with these terms, please do not use this website.


Allow Stripe SDK v11

Which launched a couple weeks ago, and should be backward compatible with 10, etc…
Strike SDK Changelog

Can we get this in?


Adjusting migrations to not violate referential integrity for Postgres compat

Fixes #1200

Deployed to staging without problems:
https://gist.github.com/tpendragon/bb72d73c73d917350ac59e7006a76f6d#file-stdout-L218-L237

🎉


Connecting to SMTP server without auth using Pool

Hello, we are running an SMTP server that is configured to work without any auth and I am trying to use listmonk(which uses your library to create a pool). However there is no way to just omit the smtp.Auth argument when creating a pool (I tried forking and modifying the listmonk source code to allow for no-auth in addition to already supported plain and cram auth and I dug down and figured this was not an issue with listmonk but rather this library).
I primarily code in Java so I have difficulty reading the source code and NewPool is not documented... Is there anything I missed, is there a way to connect to an SMTP server using Pool without authentication?
Problematic code in listmonk using your library: https://github.com/knadh/listmonk/blob/master/messenger/emailer.go#L50

ok... apparently it was easy to fix, author of listmonk fixed it and it was not an issue with your library, sorry... 😅


PX4_PARAM_DEFINE not passing default values to QGC

The issue is that PX4_PARAM_DEFINE doesn't pass default values to QGC, it works only with PARAM_DEFINE. But px4_param should be used since it works on multiplatform, and having these values in qgc is very useful too.
For me it seems that the problem lies within srcparser.py which doesn't get default values since it's not in the line when px4_param is used, and they are present in the line with param_define.
Any idea how to solve it?

I don't understand why you say px4_param should be used since it is multi platform? It is only currently used for something less than 10 params. The version that works with QGC is used for the remaining 400+ params. What is the issue?

On Aug 12, 2015, at 10:05 AM, Michal Stasiak<EMAIL_ADDRESS>wrote:
The issue is that PX4_PARAM_DEFINE doesn't pass default values to QGC, it works only with PARAM_DEFINE. But px4_param should be used since it works on multiplatform, and having these values in qgc is very useful too.
For me it seems that the problem lies within srcparser.py which doesn't get default values since it's not in the line when px4_param is used, and they are present in the line with param_define.
Any idea how to solve it?
—
Reply to this email directly or view it on GitHub.

On our platform, we use nuttx and posix, and we'll soon implement ros as well. So for that reason, all our custom parameters are defined with px4_param and it'd be great to have their default values in qgc as well.

SITL compiles using posix and it uses the same PARAM_DEFINE without issue as far as I can tell. Still don’t understand why you would need to use PX4_PARAM_DEFINE.

On Aug 12, 2015, at 12:08 PM, Michal Stasiak<EMAIL_ADDRESS>wrote:
On our platform, we use nuttx and posix, and we'll soon implement ros as well. So for that reason, all our custom parameters are defined with px4_param and it'd be great to have their default values in qgc as well.
—
Reply to this email directly or view it on GitHub https://github.com/PX4/Firmware/issues/2680#issuecomment-130357121.

SITL is not using ROS. We have three systems: NuttX, POSIX threads and POSIX ROS.

@mswingtra Can you please provide your fix upstream? Thanks!

Thanks for the fix.


Connect websocket failed with socket stalled

Hi,
I have downloaded the project and click play to start. I shows the wallets list well, but after 5 seconds, it shows socket connect timeout with socket stalled, I can't solve this by my self, can anyone help me with this? thanks!

Cannot connect to relay server

i have the same problem,Have you resolved it？

yeah, it seems this project is not being taken seriously

hi @defchen @GaoG001108 @funnyData this issue should be fixed now, as the simple dapp demo is fully working on desktop and mobile. Can you confirm this issue is resolved? If not, can you provide some details on how you reproduce this and what error you are getting?
Thank you

This problem still exists

This problem still exists

hi @defchen @GaoG001108 @funnyData this issue should be fixed now, as the simple dapp demo is fully working on desktop and mobile. Can you confirm this issue is resolved? If not, can you provide some details on how you reproduce this and what error you are getting? Thank you
This problem still exists

Fixed by https://github.com/WalletConnect/WalletConnectSharp/pull/124


[system] Expose a function to convert the SxProps to plain CSS

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
It would be nice to have a function that convert the sx prop to plain css
Examples 🌈
import { unstable_styleFunctionSx as styleFunctionSx, SxProps, Theme } from "@mui/system";
import { styled } from "@emotion/styled";

interface GetResponsiveStyleArgs {
  theme: Theme,
  sx: SxProps
}

export const getResponsiveStyle = ({ theme, sx }: GetResponsiveStyleArgs) => {

  const sxStyles = styleFunctionSx({ theme, sx });

  return sxToCss(sxStyles);  <------
};

const myComponent = styled.div`
 ${({ theme, sx }) => getResponsiveStyle({ theme, sx })}
`

Motivation 🔦
Use the sx prop outside a mui component

It is fairly trivial to do in your code itself. All of the core functions are already exposed. You had almost already implemented it. Just that you'd have to import styled from @mui/system instead of emotion.
Here's a working demo.
One thing to note would be that @mui/system's styled doesn't support styled.tag() calls. That is something that we should do in the library itself.

using styled from the library don't even need the processSx, I might just use the mui functions and that's it, I Was trying to reduce the usage of mui in some area of my app as mui is super powerful but it increase the size of the bundle, and for what I need I prefer to create most of the component by myself

Updated the demo to use styled from emotion. Basically you can directly call styleFunctionSx inside you template literal and it works as expected.


Replacing all Galaxy A02s phones with new Mokey phones.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
Replacing all Galaxy A02s phones with new Mokey phones per Zach.
Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Replacing all A02s phone devices with Mokey phones in Devicelab is done. Ticket completed and closed.


Convert feature controller to service

closes #6170

add gh-feature-flag component to create a checkbox (reduce duplicate code)

TODO:

[x] add tests

@kevinansfield I have a thought on how to fix this, will try implementing it and see how it goes.

kevin, I changed around the service to be more promise-based rather than CP based; however, the same error is still occurring in tests for me locally (settings adapter#save is still not being called :disappointed:)

@kevinansfield the tests passed locally so this should be good to go :+1:

:confetti_ball:

Well, it appears it works locally because I'm using phantomjs 2.1 locally, but it fails using 1.9.8 on Travis. Thoughts? (It works using chrome testing as well)

Maybe worth looking at merging #6051 before spending too much time trying to find workarounds for old phantomjs versions.

@kevinansfield is there anything else I need to do for this? I feel like the other two stubbed tests can be filled out as a part of #6431

As it is right now the settings.save().catch() is broken, I think we need to detect whether we get passed any errors or if the underlying settings model has validation errors and react accordingly. I think that should be fairly simple fix and will enable the pending tests to be filled out.
#6431 is more about improving the behaviour so that we don't need workarounds like the above repeated throughout the codebase - we should definitely have working examples with tests where possible before working on it in order to validate the refactoring.

@kevinansfield I fixed the error handling and filled out the remaining tests; however, I'm not sure how/if it's possible to squash my two commits down into one b/c of the order in which the changes occurred. If there is a way, though, I'll gladly squash them :smile:

Finally, it's good to go :+1:


Need to clean exist object when PUT/COPY object with versioning disabled

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug

What happened:
When PUT/COPY object, the user can choose to use a specific backend, if there is an object with the same key already exist in a different backend, then OSDS must clean the existing object correctly, otherwise, one object may have cost twice.
What you expected to happen:
One object can cost only once at any time.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
With current implementation, when PUT is called, OSDS will remove old object first, but that is not correct, because if PUT object to backend failed, then old object will be deleted while new object is not exist.
Environment:

Gelato(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

It's fixed in PR#813.


Big: When Notifications received app getting close.

Description:
the issue has been occurred for Android 12 and Higher Versions

@Ijaiswalshivam assign me

@hdhimalay assigned


Request PIN number at Point of sale

As per draft LUD
https://github.com/bitcoin-ring/luds/blob/withdraw-pin/xx.md
https://github.com/lnurl/luds/pull/200/files#diff-b03763e9ce2c6b65c01f6808159d6fea9a31cfdda3482bd71dee60cf117a4a5a
if the LNURL callback has parameter &pinLimit=X
The pinLimit value must be a positive integer (including 0) with a maximum of 15 digits. If the pinLimit property is present and a WALLET (Point of Sale) intends to withdraw an amount equal to or greater than the pinLimit value (in millisatoshis) it must first acquire a PIN from the user (customer) and then add it as pin= to the query string of the callback URL to authorize the withdrawal.

#16 #


Prisma unable to handle long transaction with planet scale

Bug description
Similar to #13136
I am trying to perform a large transaction that must be atomic. My use case is user's need to make bulk updates to their inventory in my application via a CSV upload. It needs to be an atomic write for hundreds of rows. Here is how my code is setup:
await prisma.transaction(async tx => {
	await Promise.all(rows.map(async row => {
		/** all pseudo code here
    		   // see if exists
                    await tx.col.findunique();

                    // create new record
                    await tx.col.create();

                    // create new record for other collection
                    await tx.col2.create();
		*/
	}));
})

When running this locally, this operation takes ~1s for me. When connected to planet scale, it hangs and then times out after 20s.
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Server(ServerError { code: 1105, message: "target: test-db.-.primary: vttablet: rpc error: code = Aborted desc = transaction<PHONE_NUMBER>595512410: ended at 2023-04-24 20:22:08.207 UTC (exceeded timeout: 20s) (CallerID: mmixrh8z5nl9v49zo787)", state: "HY000" })), transient: false })

How to reproduce
See above
Expected behavior
Have some workaround for bypassing transaction timeout in planet scale
Prisma information
See above
Environment & setup

OS: macOS
Database: PlanetScale
Node.js version: v18.9.1

Prisma Version
4.10.1

Planetscale generally limits transactions to 20s: https://planetscale.com/docs/reference/planetscale-system-limits#:~:text=Per-transaction timeout

To understand why this is fast locally, but not when talking to the online database you will have to understand what queries you are running. Many small queries locally with <1ms easily take ~100ms when talking to an online database if for example you are on the other side of the atlantic ocean, and still ~50 for your local internet provider to reach PlanetScale. That adds up quickly.

Hi @jakeleventhal, would you perhaps be able to share the Prisma schema you're using, and the actual prisma.transaction code with us? Thanks.


Getting 500 server error with Laravel 5.7

PHP: 7.2
Laravel: 5.7
Some requests failed with below error(Http 500- Server error), while other requests along the same request are successful. Passport is used to authenticate api request. api auth middleware is used.
production.ERROR: No application encryption key has been specified. {"exception":"[object] (RuntimeException(code: 0): No application encryption key has been specified. at F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:42)
[stacktrace]
#0 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Support\helpers.php(1041): Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(NULL)
#1 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php(46): tap(NULL, Object(Closure))
#2 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php(24): Illuminate\Encryption\EncryptionServiceProvider->key(Array)
#3 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Container\Container.php(764): Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(Object(Illuminate\Foundation\Application), Array)
#4 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Container\Container.php(646): Illuminate\Container\Container->build(Object(Closure))
#5 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Container\Container.php(601): Illuminate\Container\Container->resolve('encrypter', Array)
#6 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(734): Illuminate\Container\Container->make('encrypter', Array)
#7 F:\wamp64\www\service\vendor\laravel\passport\src\PassportServiceProvider.php(271): Illuminate\Foundation\Application->make('encrypter')
#8 [internal function]: Laravel\Passport\PassportServiceProvider->Laravel\Passport\{closure}(Object(Illuminate\Http\Request), NULL)
#9 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Auth\RequestGuard.php(58): call_user_func(Object(Closure), Object(Illuminate\Http\Request), NULL)
#10 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Auth\GuardHelpers.php(60): Illuminate\Auth\RequestGuard->user()
#11 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Auth\Middleware\Authenticate.php(61): Illuminate\Auth\RequestGuard->check()
#12 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Auth\Middleware\Authenticate.php(41): Illuminate\Auth\Middleware\Authenticate->authenticate(Array)
#13 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Auth\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure), 'api')
#14 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#15 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Middleware\ThrottleRequests.php(57): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#16 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Routing\Middleware\ThrottleRequests->handle(Object(Illuminate\Http\Request), Object(Closure), 120, '1')
#17 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#18 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#19 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Router.php(667): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#20 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Router.php(642): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#21 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Router.php(608): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#22 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Router.php(597): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#23 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(176): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#24 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#25 F:\wamp64\www\service\vendor\spatie\laravel-cors\src\Cors.php(28): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#26 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Spatie\Cors\Cors->handle(Object(Illuminate\Http\Request), Object(Closure))
#27 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#28 F:\wamp64\www\service\vendor\fideloper\proxy\src\TrustProxies.php(57): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#29 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Fideloper\Proxy\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#30 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#31 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(31): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#32 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(31): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#35 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#36 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#38 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#39 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#40 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(62): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#41 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#42 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#43 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#44 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#45 F:\wamp64\www\service\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#46 F:\wamp64\www\service\public\index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#47 {main}
"}

No application encryption key has been specified.

Please setup app.key configuration before you run application. You can run php artisan key:generate to generate new app key.

I have already regenerated key and it didn't help! In addition, I have run all the following commands:
composer dump-autoload
php artisan  clear-compiled
php artisan config:clear
php artisan route:clear
php artisan view:clear
php artisan optimize
php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan cache:clear
These didn't helped me either.

Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? We'll help you out and re-open this issue if so.
Thanks!


trivial-utf-8 deserialisation stacktrace

Encountered while testing a utility to upload SPDX license definitions, and is triggered while fetching data from the database.

Licenses identified as triggering this bug:

LGPL-3.0-or-later

It's a length issue, not a character-decoding one.
One of the methods I used to detect that was to create a different kind of resource via the GUI,  copy/paste
The GPL-3 licenses are all 34020 unicode-chars in length or longer, whereas the next-longest license (which doesn't trigger this bug) is 26087.
I suspect the slots in the TRIVIAL-UTF-8 error (UTF-8-DECODING-ERROR) are being populated backward, as the
The actual error being signalled is trivial-utf-8:decoding-error. The debug logs I've captured from neo4cl are as follows:
[2023-02-05 17:57:14] DEBUG Sending Packstream message to the Bolt server.
[2023-02-05 17:57:14] DEBUG Attempting to read a Bolt chunk from the connection stream, using protocol version 4.3
[2023-02-05 17:57:14] DEBUG Attempting to read a Bolt chunk from the connection stream, using protocol version 4.3
[2023-02-05 17:57:14] DEBUG Attempting to read a Bolt chunk from the connection stream, using protocol version 4.3
[2023-02-05 17:57:14] DEBUG Attempting to read a Bolt chunk from the connection stream, using protocol version 4.3
[2023-02-05 17:57:14] DEBUG Decoding a #x4E Structure with 3 elements.
[2023-02-05 17:57:14] ERROR UTF-8 decoding error at byte '139'. Message: 'Invalid byte at start of character: 0x~X'
[2023-02-05 17:57:14] DEBUG Closing Bolt connection
[2023-02-05 17:57:14] DEBUG Sending GOODBYE to the Neo4j server.

Next action: re-read the spec to check what a #x4E structure is and means, and whether I'm trying to decode it incorrectly.

Found it: I was extracting the octets in the wrong order, for 32-bit element-lengths.
Fixed that. Now making sure all the tests pass, after the other stuff I cleaned up along the way.


Created composition_zip in SystemStructure, which takes a large stock…

… flow and a small stock flow, the latter of which only has one stock, and optionally a renaming function.  It then composes a copy of the small stock flow with every stock of the large stock flow.  Can make it easy to add death or id flows to every stock.

It loops over each stock and does a new oapply; should be able to do it all at once, but not sure how.  Trying to avoid dynamically generating a UWD via @present.

Figured out a better way to do this, will prob want to come back to this later.


Support parquet timestamp stored as Int64

Signed-off-by: dorianzheng<EMAIL_ADDRESS>What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes https://github.com/StarRocks/starrocks/issues/4398
Problem Summary(Required) ：

This patch enables StarRocks to start reading timestamps from Parquet written with the new semantics:
With Parquet version 1.11, a new timestamp LogicalType with base INT64 and the following metadata is introduced:

boolean isAdjustedToUtc: marks whether the timestamp is converted to UTC (aka Instant semantics) or not (LocalDateTime semantics).
enum TimeUnit (NANOS, MICROS, MILLIS): granularity of timestamp

Upon reading, the semantics of these new timestamps will be determined by their metadata, while the semantics of INT96 timestamps will continue to be deduced from the writer metadata.

@Mergifyio backport branch-2.2


Fix macOS .NET export.

Fix incorrect file placement, search paths and architecture detection.
Automatically detect executable files and set +x flag.
Automatically apply "Disable Library Validation" entitlements when required.
Remove old Mono export code.
Fix folder tree creation for shared objects export.
Add arch suffix to the exported .NET "data" folder name (for all platforms).
Remove old Mono code from .NET "data" folder lookup.

Fixes https://github.com/godotengine/godot/issues/66702

Thanks!


MUMMNG-2656 Add in a new fav icon

:+1:. I love that it took MS to IE 11 to support .png for this.

@apetro its more complex even than that! : http://stackoverflow.com/questions/4014823/does-a-favicon-have-to-be-32x32-or-16x16?answertab=votes#tab-top

Coverage remained the same at 36.283% when pulling b371242618268e25f2e88793e100fb47bed04f4a on favicon-change into 71ab30f5af2673b10f167690f840eaa1e467cfb3 on master.

:+1:


INFO.md

INFO

FAQ?

Login info

username = vagrant (swgemu)
password = vagrant
root pw = 12345678

How do I open a file type inside Eclipse
File associations are done in Eclipse properties.

Window -> Preferences -> General -> Editors -> File associations. Add..

How do i build in eclipse.

Right click on MMOCoreORB -> Make targets -> Build... (Shift +F9). Do this once for each step below.
Select configure first
Select clean
Select all

How do I create an admin account?

In MySQL Workbench, go to:
Schemata--->swgemu--->accounts--->go to admin_level---> change 0 to 15--->Apply change--->Execute--->
Then do build config again.
Next toon created on that account will be admin.

How do I enable the admin commands?
To enable these features in the client you will need to edit the user.cfg file in the c:\SWGEMU			folder to add these 4 liness:

[ClientGame]
0fd345d9 = true
[ClientUserInterface]
debugExamine=1

If the user.cfg file doesn’t exist, simply copy swgemu.cfg and rename it as user.cfg. Then, replace the contents of the new user.cfg with the contents of the table above.
You might also need to add a line in swgemu.cfg to tell the client to use the new user.cfg file:

.include "swgemu_login.cfg"
.include "swgemu_live.cfg"
.include "swgemu_preload.cfg"
.include "options.cfg"
.include "user.cfg"      <-- THIS LINE MIGHT BE MISSING or Commented out

Once the config files are done, totally shut down your client (if running) and restart it.
HOW TO: Run Unit Tests
SWGEmu has a growing number of unit tests that validate functionality automatically.
Jenkins runs all unit tests as part of the verification build. A commit that breaks a unit test will not be merged into the baseline.

Run All Unit Tests

cd /home/!username/workspace/MMOCoreORB/bin
./core3 runUnitTests

Run Specific Unit Tests

cd /home/!username/workspace/MMOCoreORB/bin
./core3 runUnitTests --gtest_filter=

where  is the name of a specific test as defined in the TEST_F call. Wildcards may be used. For example --gtest_filter=LuaMobile* runs all tests in LuaMobileTest.cpp
How to report debug info concerning this devenv

sudo gem install gist
(top -Hbn 1;df -h;uname -a)|gist

Duplicate


DB migrate Issue

Hello
I'm trying to setup django helpdesk and I'm getting the below error when i run python manage.py migrate
I start new project and install all the requirements . and i did all the steps in the below link
http://django-helpdesk.readthedocs.org/en/latest/install.html

===========================================================================
UnknownMigration: Migration 'helpdesk:0006_auto__add_field_ticket_tags' probably doesn't exist.
Traceback (most recent call last):
  File "/home/dhkuwaitw/virtual/lib/python2.6/site-packages/south/migration/base.py", line 313, in migration
    migration = __import__(full_name, {}, {}, ['Migration'])
  File "/home/dhkuwaitw/helpdesk/helpdesk/south_migrations/0006_auto__add_field_ticket_tags.py", line 6, in <module>
    from helpdesk.settings import HAS_TAG_SUPPORT
ImportError: cannot import name HAS_TAG_SUPPORT
===========================================================================

Regards .

I think the problem is that your parent module is called helpdesk. So when you from helpdesk import settings it'slooking at /home/dhkuwaitw/helpdesk/settings rather than home/dhkuwaitw/helpdesk/helpdesk/settings.
Change the parent folder and try again - make sure you don't use a name in use by any other module you're working with.

it is working now thanks


datepicker throws error, decrements on clicking dropdown

Datepicker changes after selecting date from the picker and click into another field on the form.
Running latest version of master as of 3/20/2017
Steps to Reproduce

Goto: https://marmelab.com/ng-admin-demo/index.html#/customers/edit/485
Click into the datepicker 'Birthday' field
Select any date
Click into another input field on the form (any)
Observe as clicking into any other field changes the date in the 'Birthday' input field

Expected behavior:
Datepicker input to not change
Actual behavior:
Datepicker input changes when clicking into another input field
GIF Demo:

console.log.txt

On which timezone do you are?

@Kmaschta CST

@Kmaschta I'm experiencing the same, and in the debug console I get a:
10 $digest() iterations reached. Aborting! error.
My TZ is USA/CST

@jamespsterling @dlemphers Do you confirm that the PR https://github.com/marmelab/ng-admin/pull/1334 has fixed this issue?

@Kmaschta I'm on 1.0.5 and I still have issues:

The date shown in the input box is correct, but when you select the popout, the date is the day before:

At this point if I select a new value, I get the 10 $digest() iterations reached error:

And lastly, clicking on the dropdown changes the date by itself, decrementing 11 days at a time. For example, I just click on the calendar icon, then click off focus without selecting a date, and repeat that, and the date just changes by itself.

Is this bug fixed? I have the same problem here.

Same problem here.

Any progress on this bug? It has been present for more than a while.

@thanhbuiea I'm sorry, but we are focusing our efforts in a new project: marmelab/react-admin, and we haven't the time to address all the ng-admin issues.
But we'd be glad to help any contribution.

@here Issue is not reproducible now.  This can be closed


Obsoletion request: DNA methylation & children, as well as their regulation terms

Dear all,
The proposal has been made to obsolete DNA methylation & children, as well as their regulation terms:
GO:0006306 DNA methylation
GO:0032775 DNA methylation on adenine
GO:0032776 DNA methylation on cytosine
GO:0090116 C-5 methylation of cytosine
GO:0010424 DNA methylation on cytosine within a CG sequence
GO:0010426 DNA methylation on cytosine within a CHH sequence
GO:0010425 DNA methylation on cytosine within a CNG sequence
GO:0090124 N-4 methylation of cytosine
The reason for obsoletion is that these represent molecular functions. Consider:
GO:0009008 DNA-methyltransferase activity
GO:0003886 DNA (cytosine-5-)-methyltransferase activity
GO:0051718 DNA (cytosine-5-)-methyltransferase activity, acting on CpG substrates
GO:0051719 DNA (cytosine-5-)-methyltransferase activity, acting on CpN substrates
GO:0051720 DNA (cytosine-5-)-methyltransferase activity, acting on CpNpG substrates'
GO:0009007 site-specific DNA-methyltransferase (adenine-specific) activity
GO:0015667 site-specific DNA-methyltransferase (cytosine-N4-specific) activity
GO:0120328 ATP-dependent DNA (cytosine-5-)-methyltransferase activity
GO:0044030 regulation of DNA methylation
GO:1905642 negative regulation of DNA methylation
GO:1905643 positive regulation of DNA methylation
The reason for obsoletion is that these terms represent regulation of a molecular function. Consider 'GO:0040029 epigenetic regulation of gene expression' or a child.
Annotations are here: https://github.com/geneontology/go-annotation/issues/4729
ARUK-UCL	1
BHF-UCL	6
ComplexPortal	8
EcoCyc	3
MGI	15
ParkinsonsUK-UCL	1
RGD	11
TAIR	22
ZFIN	15
InterPro: 6
I'd like to proceed with the obsoletion on December 22nd, 2023.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/26602
Thanks, Pascale

Hi everyone,
Since some new GO terms are not yet available, I will postpone the obsoletion.
Note that I have also made a new ticket for direct annotations to DNA methylation: https://github.com/geneontology/go-annotation/issues/4872
Thanks, Pascale

GO:0006305  DNA alkylation: no annotations, no mappings
GO:0006306  DNA methylation: no annotations, no mappings

Still need to obsolete GO:0044030 regulation of DNA methylation
Giving people some more time to fix annotations.
Now aim for Feb 1, 2024


Fix score drop issue

Updated test pipeline & config following OTE convention.

Hi, I refered OTEsegmentation lite-hrnet template. https://github.com/openvinotoolkit/training_extensions/blob/class-incr-learning-validation/external/mmsegmentation/configs/custom-sematic-segmentation/ocr-lite-hrnet-18/model.py#L131
I could see significant difference when I adopt output_scale, 0.0779 -> 0.3806, exactly same value with OTEseg evaluation.


mrkdwn appears to default to false, even though the Slack API spec says it should default to true

Realized this when I upgraded jslack and all of a sudden my formatting stopped working unless I provided .mrkdwn(true). Looks like that's supposed to be the default.

Thank you for reporting this. I just fixed the issue and released the new version (1.1.2) including the change.


Update integration-tests.md

It seems that "body" works also for the "in" part, in the integration-tests, so this PR includes this in the documentation.

Thanks @lennondtps !


Using the asset

This asset can be selected from the asset library in Godot and downloaded. This will add all the files to your project. The only files you need are those stored in the addons/godot-openvr folder, there are a few files in the root folder that are mostly for this git repository and off course our license file.
After downloading the plugin you will need to enable it in your project by adding the following code to the root node of your scene:
var interface = ARVRServer.find_interface('OpenVR')
if interface and interface.initialize():
  get_viewport().arvr = true
  get_viewport().hdr = false

Finally add the scene addons/godot-openvr/scenes/ovr_first_person.tscn as a child scene to your main scene.

Should this now be?
var interface = ARVRServer.find_interface('OpenVR')
if interface and interface.initialize():
  get_viewport().arvr = true
  get_viewport().hdr = false

Hey @calumk ,
I don't see what you changed? Looks the same as the code before. It should indeed be that code.

ARVRInterface  -->  ARVRServer

I totally missed that:)
Yup, well spotted!!:)
On Mon, 12 Feb 2018 at 10:46 pm, Calum Knott<EMAIL_ADDRESS>wrote:

ARVRInterface --> ARVRServer
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BastiaanOlij/godot-openvr-asset/issues/2#issuecomment-364900031,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB2vaWcfE4sStCI2_N7761uqf6-1btlxks5tUCSQgaJpZM4Ro8JU
.

--
Kindest regards,
Bastiaan Olij
https://www.facebook.com/bastiaan.olij
https://www.youtube.com/channel/UCrbLJYzJjDf2p-vJC011lYw
https://github.com/BastiaanOlij

No worries 👍
FYI: The readme.md file for this package also incorrectly lists the same code without ARVRServer or ARVRInterface

Thats what I get for getting it wrong once and then copy-pasting it everywhere else. I'll get it fixed up when I'm home tonight :)

This tool will work with mobile vr?

@CereEnder unfortunately no, OpenVR does not support any mobile platforms that I'm aware off.
Godot has a build in cardboard-ish implementation that you can use which renders stereoscopic to a mobile phone and uses the build in sensors for position tracking but it needs a bit more work to become more usable.
We are looking into GearVR and Daydream support but thats still a bit of a ways off.

@BastiaanOlij thank you for your quick response. I'll take a look for the native VR mobile node bcs I don't have any VR headset (right now, maybe in a short future).

@CereEnder It's a fun little thing especially if you have a decent phone. I could only test on my note 4 which is too laggy. I really need to find time to add some predictive logic to the orientation logic. Shouldn't really be too hard to do.
It's a little old but this video should still give you a headstart:
https://youtu.be/8eeFAelybag

Thank you for the info! I'll take a look. I have some ideas for VR and maybe this will be my starting point.


vertical orientation?

Is is possible to generate graphs in vertical orientation?
If not & I want to hack it - where would I look?

If I recall, just use --> instead of ->

hmm - that just gives me errors & a broken img:
Traceback (most recent call last):   File "/home/edwin/opt/scruffy-server/ENV/lib/python2.7/site-packages/bottle.py", line 862, in _handle    return route.call(**args)   File "/home/edwin/opt/scruffy-server/ENV/lib/python2.7/site-packages/bottle.py", line 1732, in wrapper    rv = callback(*a, **ka)   File "server.py", line 56, in image     suml.yuml2dot.transform(spec, fout, options)   File "/home/edwin/opt/scruffy-server/ENV/lib/python2.7/site-packages/suml/yuml2dot.py", line 247, in transform     dot = yuml2dot(expr, options)   File "/home/edwin/opt/scruffy-server/ENV/lib/python2.7/site-packages/suml/yuml2dot.py", line 157, in yuml2dot     exprs = list(yumlExpr(spec))   File "/home/edwin/opt/scruffy-server/ENV/lib/python2.7/site-packages/suml/yuml2dot.py", line 105, in yumlExpr     assert len(x) == 2 AssertionError <IP_ADDRESS> - - [15/Nov/2018 20:49:07] "GET /class/%5BCustomer%5D--%3E%5BOrder%5D.png HTTP/1.1" 500 781


CDK-973: Add View#asSchema and View#asType projection methods

This extends Joey's PR, #346, and fixes the review issues I noted. One of the main issues was that without changing the backing dataset's type class, projection would fail. This adds asType projection to take care of that issue.

@joey, could you review these updates to your original PR? I went ahead and made the changes because I want to make sure this is in the next release.

+1, let me know if you want me to merge this or if you want to handle it.

I'll merge. Thanks for reviewing it!


[Feature]: Add an isValid property to the form widget

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Similar to json form add as isValid binding property to the form to let developers use it
Why should this be worked on?
This helps developers write custom validations outside the form

This was also requested by a user on Discord.

created ticket in Jira-https://zemoso.atlassian.net/browse/TNOSB-376


feature request: a command to reinitialize neovim and vscode synchronization

First, let me say that I really like this extension, and think that it is how a vim-extension should be implemented for high vim compatibility. Kudos.
I sometimes observe that vscode-neovim gets de-synchronized from the neovim server and have not yet pinned point the culprit (seems to be when vscode editor enters text for me like replacements, or when editing go files with tabs). It gets hard to come back from this state, and am forced to restart my editing session.
Would it be possible to add a command to reload, or re-initialize the state as seen on a fresh editing session ?

closing/reopening a tab should help - it destroys a buffer completely in neovim then opens the new one instead. But actually it would be great if you'll catch some repro steps (i know it's hard and not obvious sometimes)

I will definitely try to reproduce, and open an issue if I can.
In the meantime, I have observed that closing opening the tab won't help (and this in fact may be the path to investigation) as if the connection context is re-initialized on tab opening and the problems persists, that would mean that something in the file is causing the problem.

Does it happen in any editor column (pane) or only for second+ ?

This happened to me a few days ago. I needed to restart vscode to fix the problem.

closing in favor of #250

closing in favor of #250


netlify: command not found after running nvm use

- Do you want to request a feature or report a bug?
- What is the current behavior?
Running netlify after running nvm use results in netlify: command not found
- If the current behavior is a bug, please provide the steps to reproduce.

add a .nvmrc file to a project
first, run netlify` to make sure the netlify command is found
next, run nvm use to switch to the specified node version in the .nvmrc file
run netlify again and see that it says netlify: command not found

- What is the expected behavior?
Should be able to execute netlify commands
- Please mention your node.js, and operating system version.
Default node version is v8.15.0. When running nvm use, it switches to v10.15.3
- Screenshots

nvm use X is usually used to switch versions of node, and each version of node maintains its own package installations.  You'd need to npm i -g netlify-cli after running nvm use X to make it available for that version.
This is normal behavior of npm and not specific to netlify.  Please let me know if it doesn't :)


Remove KeyVault dependency for some RPs

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Add your company to Conductor users list

If you are using Conductor at the company you work with, add the name of your company and your Github handle to the list at https://github.com/netflix/conductor/blob/main/WHOSUSING.md

@aravindanr https://github.com/Netflix/conductor/pull/2713

Added 2832 @aravindanr


add superpowers04 to the credits and fix nebula's credit

they both helped mate.
besides nebula is switching to super's fork of luajit for being better with cross-platform compatibility (i.e: not just windows)

besides I think it's scummy that you removed her credit, yet use her fork, while also saying this in the gamebanana page

please don't just do that, one person removing the credit of other people is enough.

even though the gamebanana manager for the page isn't me, but someone else, the luajit fork on the wiki didn't match the one i had installed in my end, that's why i'll admit that i didn't list the fork i used for the compile instructions, that's my fault.
since 0.6.3 was outdated, the credits didn't have superpowers04 for the new luajit, i didn't update it because i used nebula's luajit fork and never bothered updating that to superpowers'.
i'll merge the pr anyways, to update the readme to credit the both of them anyways, especially the wiki. i apologize to everyone involved, will be contacting the gamebanana manager to update the page asap after this.

resolved, i apologize for everything, such as the mishaps i've done to the wiki page / readme, and for the reuploader pulling off a meme / disrespecting superpowers04 at the wrong time.


chore: update man

??

i think you wrote it the opposite way, stats=true keeps the stats while stats=false drops it

no https://github.com/Disservin/fast-chess/blob/master/src/cli/cli.cpp#L474

no https://github.com/Disservin/fast-chess/blob/master/src/cli/cli.cpp#L474

yes, if you type in stats=false it drops the stats like the code you linked, while stats=true keeps it, and the default is it keeps it ive tested it

oh sorry yea youre right


(GSSOC'21) Counting sort in python

I'm a GSSOC participant. I would like to contribute by including the counting sort algorithm program in python language. Please assign this issue to me.

Hey , I am participant in GSSOC'21. I'll solve this by cpp. Can you please assign this to me?

Greetings sir/Mam,
I would like to contribute the code for Bubble Sort Algorithm #933 in C++/CPP.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding GSSOC'21.
Regards,
Hitain Kakkar

Hello sir, I want to solve this question with python along with comments.
I completely solved #3130 this code.
Kindly assign me this issue under GSSOC

I'm a GSSOC participant. I would like to contribute by including the counting sort algorithm program in python language. Please assign this issue to me.

/assign


[PDI-19118] Database Cursor Leak of Kettle 8.3

:white_check_mark: Build finished in 24m 24s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:ok_hand: All tests passed!
Tests run: 4844, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

SonarQube Quality Gate:

  Maintainability Rating on New Code (is worse than A)
 31 New Code Smells (is greater than 0)
See analysis details on SonarQube

I can not open it, please confirm the URL, thank you:)

SonarQube Quality Gate:

  Maintainability Rating on New Code (is worse than A)
 31 New Code Smells (is greater than 0)
See analysis details on SonarQube

Hello, I can not open this URL, how to check this sonar issue?

:white_check_mark: Build finished in 25m 12s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:ok_hand: All tests passed!
Tests run: 4844, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 24m 52s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:ok_hand: All tests passed!
Tests run: 4844, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 25m 4s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:ok_hand: All tests passed!
Tests run: 4844, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

Thank you for your pull request, but I'm closing it as, for the 8.3 branch, they follow a different (internal) process.
When the issue is fixed on master, it'll be evaluated to see if it is suitable for backport.


metabase: 0.29.2 -> 0.29.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/metabase/versions.
These checks were done:

built on NixOS
Warning: no invocation of /nix/store/b7bpmc5h45cq2afcmrrsw2w60im3420w-metabase-0.29.3/bin/metabase had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
directory tree listing: https://gist.github.com/986f43a4bd9effc51da98989246f0267
du listing: https://gist.github.com/cec3ac2b5a9a0226fbb8653fbe98ce5e

meta.description for metabase is: '"The easy, open source way for everyone in your company to ask questions and learn from data."'.
cc @schneefux @thoughtpolice for testing.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: metabase
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-darwin (full log)
Attempted: metabase
Partial log (click to expand)
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/k343c7y4kiwkmy8bac470j8h989wj8q3-metabase-0.29.3/bin
patching script interpreter paths in /nix/store/k343c7y4kiwkmy8bac470j8h989wj8q3-metabase-0.29.3
/nix/store/k343c7y4kiwkmy8bac470j8h989wj8q3-metabase-0.29.3

Success on x86_64-linux (full log)
Attempted: metabase
Partial log (click to expand)
building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/b7bpmc5h45cq2afcmrrsw2w60im3420w-metabase-0.29.3
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/b7bpmc5h45cq2afcmrrsw2w60im3420w-metabase-0.29.3/bin
patching script interpreter paths in /nix/store/b7bpmc5h45cq2afcmrrsw2w60im3420w-metabase-0.29.3
checking for references to /build in /nix/store/b7bpmc5h45cq2afcmrrsw2w60im3420w-metabase-0.29.3...
/nix/store/b7bpmc5h45cq2afcmrrsw2w60im3420w-metabase-0.29.3


Access to fragment in router state on page refresh

This PR fixes the issue #108614
Particularly this behaviour https://github.com/flutter/flutter/issues/108614#issuecomment-1645231915
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

The change looks good but I'm concerned that this might break existing applications that rely on a full match on the path, eg:
MaterialApp(
  initialRoute: '/',
  routes: {
    '/': (_) => HomePage(),
    '/profile': (_) => ProfilePage(),
    '/settings': (_) => SettingsPage(),
  },
)

If someone navigates to /profile or /profile#foo, they both work today. But after this PR, /profile#foo won't match with the /profile route name anymore because the hash became part of the path. @chunhtai is this a valid concern to worry about?
In order to avoid the breakage, I suggest one of two options:

Implement your own PathAndHashUrlStrategy as follows:

class PathAndHashUrlStrategy extends PathUrlStrategy {
  final BrowserPlatformLocation _platformLocation = BrowserPlatformLocation();

  @override
  String getPath() {
    return super.getPath() + _platformLocation.hash;
  }
}

void main() {
  setUrlStrategy(PathAndHashUrlStrategy());
  runApp(MyApp());
}

Make this new behavior optional by adding a includeHash boolean to the PathUrlStrategy constructor.


Vitaliy/sync foundry tests

ports all other tests from llm-foundry
# pytest tests/*
=========================================================================== test session starts ===========================================================================
platform linux -- Python 3.9.15, pytest-7.2.0, pluggy-1.0.0
rootdir: /workdisk/vitaliy/benchmarks/llm
collected 13 items

tests/compare_hf_v_mosaic_gpt.py ....                                                                                [ 15%]
tests/dataloader_tests.py .                                                                                [ 23%]
tests/model_tests.py ...                                                                                [ 46%]
tests/test_file_loading_scripts.py ..                                                                                [ 61%]
tests/tokenizer_tests.py .                                                                                [ 69%]
tests/training_integration_tests.py ..

===================================================================== 13 passed in 104.30s (0:01:44) ======================================================================

lmk if you think we should merge all of these or what we should do with them.

rm unittests
benchmarks/llm# pytest tests/*
====================================================================== test session starts =======================================================================
platform linux -- Python 3.9.15, pytest-7.2.0, pluggy-1.0.0
rootdir: /workdisk/vitaliy/benchmarks/llm
collected 13 items

tests/c4_data_prep_script.py ....                                                                                [ 15%]
tests/compare_hf_v_mosaic_gpt.py ..                                                                                [ 30%]
tests/dataloader_tests.py .                                                                                [ 38%]
tests/model_tests.py ...                                                                                [ 61%]
tests/tokenizer_tests.py .                                                                                [ 69%]
tests/training_integration_tests.py ..

================================================================= 13 passed in 104.06s (0:01:44) =================================================================

Tried a fresh checkout of the branch in an interactive instance and the tests choked on my-copy-c4 not being present. Excited to merge the improved testing once this works (or xfails?) though.
tests/c4_data_prep_script.py ....
tests/compare_hf_v_mosaic_gpt.py ..
tests/dataloader_tests.py F
tests/model_tests.py FFF
tests/tokenizer_tests.py .
tests/training_integration_tests.py FF
...
----------------------------------------------------------- Captured stdout call ------------------------------------------------------------
Initializing model...
cfg.n_params=1.64e+06
Building train loader...
========================================================== short test summary info ==========================================================
FAILED tests/dataloader_tests.py::test_correct_padding - FileNotFoundError: [Errno 2] No such file or directory: './my-copy-c4/val/index.json'
FAILED tests/model_tests.py::test_full_forward_and_backward - FileNotFoundError: [Errno 2] No such file or directory: './my-copy-c4/val/index.json'
FAILED tests/model_tests.py::test_attention_mechanism - FileNotFoundError: [Errno 2] No such file or directory: './my-copy-c4/val/index.json'
FAILED tests/model_tests.py::test_full_forward_and_backward_gpt_neo - FileNotFoundError: [Errno 2] No such file or directory: './my-copy-c4/val/index.json'
FAILED tests/training_integration_tests.py::test_train[cpu] - FileNotFoundError: [Errno 2] No such file or directory: './my-copy-c4/val/index.json'
FAILED tests/training_integration_tests.py::test_train[cuda] - FileNotFoundError: [Errno 2] No such file or directory: './my-copy-c4/val/index.json'
================================================== 6 failed, 7 passed in 61.96s (0:01:01) ===================================================

@dblalock the tests assume you've set up at least the val data ie python convert_c4.py --out_root ./my-copy-c4 --splits val.
Is that an unfair assumption?

We can

make some of the tests to use randomly generated data
@pytest.mark.skipif data isn't there

updated with xfail
(venv) root@interactive-a100-40gb-1-2loe-dwpsm:/workdisk/vitaliy/benchmarks/llm# pytest tests/*
============================================== test session starts ===============================================
platform linux -- Python 3.9.15, pytest-7.2.0, pluggy-1.0.0
rootdir: /workdisk/vitaliy/benchmarks/llm
collected 13 items

tests/c4_data_prep_script.py ....                                                                           [ 15%]
tests/compare_hf_v_mosaic_gpt.py ..                                                                         [ 30%]
tests/dataloader_tests.py .                                                                                [ 38%]
tests/model_tests.py ...                                                                                [ 61%]
tests/tokenizer_tests.py .                                                                                [ 69%]
tests/training_integration_tests.py ..

========================================= 13 passed in 102.14s (0:01:42) =========================================
(venv) root@interactive-a100-40gb-1-2loe-dwpsm:/workdisk/vitaliy/benchmarks/llm# ls
README.md  __pycache__  assets  convert_c4.py  main.py  my-copy-c4  requirements.txt  src  tests  venv  yamls
(venv) root@interactive-a100-40gb-1-2loe-dwpsm:/workdisk/vitaliy/benchmarks/llm# mv my-copy-c4 tmp_my-copy-c4
(venv) root@interactive-a100-40gb-1-2loe-dwpsm:/workdisk/vitaliy/benchmarks/llm# ls
README.md  __pycache__  assets  convert_c4.py  main.py  requirements.txt  src  tests  tmp_my-copy-c4  venv  yamls
(venv) root@interactive-a100-40gb-1-2loe-dwpsm:/workdisk/vitaliy/benchmarks/llm# pytest tests/*
============================================== test session starts ===============================================
platform linux -- Python 3.9.15, pytest-7.2.0, pluggy-1.0.0
rootdir: /workdisk/vitaliy/benchmarks/llm
collected 13 items

tests/c4_data_prep_script.py ....                                                                           [ 15%]
tests/compare_hf_v_mosaic_gpt.py ..                                                                         [ 30%]
tests/dataloader_tests.py x                                                                                [ 38%]
tests/model_tests.py ...                                                                                [ 61%]
tests/tokenizer_tests.py .                                                                                [ 69%]
tests/training_integration_tests.py xx

==================================== 10 passed, 3 xfailed in 148.99s (0:02:28) ===================================
(venv) root@interactive-a100-40gb-1-2loe-dwpsm:/workdisk/vitaliy/benchmarks/llm#


scan giving an address (format?) that isn't recognised

When I run
colmi_r02_util scan
in pipx, I get the following address, that then isn't recognised when input into the client:
88C7C179-BD9A-852A-12C9-28FDFFF535CF
It is possible that this is because I'm using an R06 ring rather than R02, but I'm sceptical

Are you on a Mac?
On Sun, Sep 15, 2024, 16:54 GodotIsWaitingToo @.***>
wrote:

When I run
colmi_r02_util scan
in pipx, I get the following address, that then isn't recognised when
input into the client:
88C7C179-BD9A-852A-12C9-28FDFFF535CF
—
Reply to this email directly, view it on GitHub
https://github.com/tahnok/colmi_r02_client/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACYSEM4VGS5BFZYN3B7NILZWXXWZAVCNFSM6AAAAABOIEOS36VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDOMJZGU2TCMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yes, I am

Hmm, seems like that's how macos/bleak represent addresses. I don't have a
mac to test on, can you tell me exactly what the error is?
The docs seem to indicate you can just pass the UUID to the connect method,
but maybe it's ephemeral and changes between runs of the program
On Sun, Sep 15, 2024, 17:17 GodotIsWaitingToo @.***>
wrote:

Yes, I am
—
Reply to this email directly, view it on GitHub
https://github.com/tahnok/colmi_r02_client/issues/1#issuecomment-2351794411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACYSEJD3GFJM3CI4SYZVEDZWX2NBAVCNFSM6AAAAABOIEOS36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRG44TINBRGE
.
You are receiving this because you commented.Message ID:
@.***>

I've added a --name option you can use instead of --address, do you want to see if that works?

In particular it lets you use the name of the device instead of the address. It will be a bit slower since it scans for devices and then connects

Thanks! I'm still not succeeding. I've attached a screenshot of what the error looks like:

Try it again, but delete the leading # from all the commands
On Mon, Sep 23, 2024, 17:42 GodotIsWaitingToo @.***>
wrote:

Thanks! I'm still not succeeding. I've attached a screenshot of what the
error looks like:
Screenshot.2024-09-23.at.22.37.33.png (view on web)
https://github.com/user-attachments/assets/4de9ee68-8bea-4822-a0e3-3d4573d2890e
—
Reply to this email directly, view it on GitHub
https://github.com/tahnok/colmi_r02_client/issues/1#issuecomment-2369515542,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACYSEN5F6VPKBAW2JXTPJTZYCDNJAVCNFSM6AAAAABOIEOS36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRZGUYTKNJUGI
.
You are receiving this because you commented.Message ID:
@.***>

Oh dear... thank you! So the address with the MacOS-style address is working, --name isn't, but it's now connecting and giving the heart rate reading successfully. All the other commands are working too.

Glad to hear it! Feels good to know someone else is using my code
How did you find the repo?
On Tue, Sep 24, 2024, 03:03 GodotIsWaitingToo @.***>
wrote:

Oh dear... thank you! So the address with the MacOS-style address is
working, --name isn't, but it's now connecting and giving the heart rate
reading successfully. All the other commands are working too.
—
Reply to this email directly, view it on GitHub
https://github.com/tahnok/colmi_r02_client/issues/1#issuecomment-2370361065,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACYSEMUTJWDL4TGXRH2HR3ZYEFDTAVCNFSM6AAAAABOIEOS36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZQGM3DCMBWGU
.
You are receiving this because you commented.Message ID:
@.***>

Haha - it's excellent work, keep going!
I think I found it via this thread:
https://github.com/atc1441/ATC_RF03_Ring/issues/13


Cannot connect

<16:41:30> The link uri http://xxxxx-ns.servicebus.windows.net/ has been successfully retrieved.
<16:41:42> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 1 of 10.
<16:41:55> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 2 of 10.
<16:42:07> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 3 of 10.
<16:42:19> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 4 of 10.
<16:42:32> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 5 of 10.
<16:42:44> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 6 of 10.
<16:42:56> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 7 of 10.
<16:43:09> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 8 of 10.
<16:43:21> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 9 of 10.
<16:43:33> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.. Method b__2a: retry 10 of 10.
<16:43:46> Exception: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxxx-ns-sb.accesscontrol.windows.net''.
<16:43:46> InnerException: The token provider was unable to provide a security token while accessing 'https://xxxxx-ns-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'xxxx-ns-sb.accesscontrol.windows.net''.

It looks like the client can't connect to the token provider - Are you sure it's connected to the internet?


Question: Is there a preview mode to review some keyframes?

I really enjoyed make videos on this project, but sometimes I feel a bit lost when trying to preview specific keyframes. For example, when I need to review the frames at 00:05, 00:10, 00:15… those moments are critical for ensuring the quality of the videos.
For now, i must produce and upscaled , retry, retry, retry till some frames looks good.

Because of the way animatediff works, all frames are generated gradually, so no frame is ever complete until it is finished.
There is a debugging option in stylize to generate only 16 frames from a specific location.
# generate(test run)
# 16 frames
animatediff stylize generate STYLYZE_DIR -L 16
# 16 frames from the 200th frame
animatediff stylize generate STYLYZE_DIR -L 16 -FO 200


docs: ✏ add @hidden to extrinsic failure helper

Description
resolves a warning docs build would log
Breaking Changes
None
JIRA Link
Fix for: DA-936
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 23.0.0-alpha.37 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 24.0.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 24.0.0-confidential-assets.1 :tada:
The release is available on:

npm package (@confidential-assets dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 24.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 24.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Creating an Auth Modal for the website

Create a database (preferably MongoDB) and make a working prototype of an authentication system for the site. Design is not your goal in this particular issue :)
The auth modal takes a username and a password to authenticate users.

do you want a express js backend code for login and signup?

Yes, the stack uses MERN so Express js is preferred!

So I can do it by making a separate backend folder on the repo. If you are fine with it you can assign it to me

Reviewing the PR by tonight, looks good though!!

ok


Added the scorecard github action and its badge

Which issue(s) this PR fixes:
Fixes #4542
What this PR does / why we need it:
PR to add the Scorecard GitHub Action and its badge in the README file.
Docs Changes:
None
Release Note:
None

NOTE: v2.3.1 is a bit outdated version of ossf/scorecard-action, but try it first.

Thanks @harshitasao


Release 1.3.0.Beta22

Summary
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Dependency update
[ ] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[x] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[ ] Example scenarios has been updated / added
[ ] Methods and classes used in PR scenarios are meaningful
[ ] Commits are well encapsulated and follow the best practices

run tests

OCP failures flaky, Oracle failure I can't reproduce once more (still container issue), but I shall pay attention to it next week.


New collector for garden containers

What does this PR do?
Adds a collector for garden containers, responsible for running apps on cloudfoundry

You might want to integrate with on going work to revamp the metrics providers: https://github.com/DataDog/datadog-agent/pull/4885.
I don't know how PCF works, but you cannot use the existing cgroup implementation to retrieve stats?

@ahmed-mez, @bkabrda, @shang-wang I've updated the PR after #4935 was merged, mind giving it a second look ? Thanks

@olivielpeau @vboulineau @bkabrda @ahmed-mez @DataDog/agent-platform @DataDog/networks
Could you please have a final review on this ? I think I've addressed everything, would love to get this merged pretty soon so I can finish this work.

👍 docs


[stable/opa] Fix opa not working with helm 3 if securityContext is enabled

Is this a new chart
No
What this PR does / why we need it:
The OPA deployment template checks securityContext.enabled and if true adds the entire securityContext dictionary. As of Helm 3 this is validated against io.k8s.api.core.v1.PodSecurityContext but the enabled flag itself is not a valid field for that type, so validation fails.
This PR keeps the check of the enabled field for backwards compatibility, but then filters it from the output.
Which issue this PR fixes
None
Special notes for your reviewer:
None
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test


Adding a license

👋 hello!
Would you consider adding a license? MIT is most common for tree-sitter grammars but for the sake of packaging, just about any license will do. (Disclaimer: I am not a lawyer)
Thanks!

Yep, guess I just forgot, will do thanks. :)


Vdw matrix

This PR adds methods to the RDKitMol and RDKitConf classes for calculating a Van der Waals matrix, which can be used to determine if the molecule has colliding atoms. This is useful as a prescreening step when generating multiple conformers, such as in ACS.
Let me know if I should change anything! Also no rush to review :)

Looks good! Thanks @kspieks !


Tag search

Tag membership using the @> operator seems to require GIN indices according to some docs I read (http://openmymind.net/Introduction-To-PostgreSQL-Arrays/), but I'd love a review by @dethe.

To test this, use https://github.com/participedia/frontend/pull/167


Fix hot-key save call

Issue
The save hot-key calls _save_session_as but this function does not exist.
Change
Minor fix call to save_session_as vs _save_session_as

Oops! Thank you for the fix ❤


Avoid redundant uniform uploads

Manage a cache of current uniform state to avoid reuploading state that is already on the GPU side.
In a WebGL build, this was observed to reduce the number of GL calls from ~21k/frame to about ~7.5k/frame.

If using std::unordered_map instead of the custom hash table implementation, frame times get +7.9% slower. (code size increases by +0.39% vs TinyHashMap)
If using tinystl::unordered_map instead of the custom hash table implementation, frame times are +3.3% slower. (code size increases by +0.15% vs TinyHashMap)
I could go with tinystl::unordered_map instead of TinyHashMap, though that does have a measurable perf drop. :/

You should use tinystl::unordered_map, also feel free to apply TinyHashMap optimizations to it since it's used elsewhere in bgfx, so those optimizations would add up.

Unfortunately it is not possible to optimize tinystl::unordered_map with same means - TinyHashMap operated on different semantics (combined insert+find, and no need for individual element removal support) that made it better for this purpose.
But dropped TinyHashMap in favor of tinystl::unordered_map to conform to BGFX data structures. How does this look now?

I'm getting compiler error because those templated functions are templated on return value.

Would have been great to wait for the CI to go through to see that it works. What are the errors? Which compiler? With LLVM 6.0 and LLVM 10.0 it does build ok. Templating on return value by itself is not a problem, that will just require one to explicitly type specify the <T> when calling.

../../linux64_gcc/bin/libbgfxDebug.a(glcontext_glx.o): In function bx::ignoreC4127(bool)': <...>/_github/bgfx/.build/projects/gmake-linux/../../../src/renderer_gl.h:1294: multiple definition of tinystl::unordered_map<unsigned long, int, bgfx::TinyStlAllocator>& bgfx::gl::UniformStateCache::getUniformCache()'
../../linux64_gcc/bin/libbgfxDebug.a(renderer_gl.o):<...>/_github/bgfx/.build/projects/gmake-linux/../../../src/renderer_gl.h:1294: first defined here
../../linux64_gcc/bin/libbgfxDebug.a(glcontext_glx.o): In function tinystl::unordered_map<unsigned long, bgfx::gl::UniformStateCache::f4, bgfx::TinyStlAllocator>& bgfx::gl::UniformStateCache::getUniformCache<bgfx::gl::UniformStateCache::f4>()': <...>/_github/bgfx/.build/projects/gmake-linux/../../../src/renderer_gl.h:1295: multiple definition of tinystl::unordered_map<unsigned long, bgfx::gl::UniformStateCache::f4, bgfx::TinyStlAllocator>& bgfx::gl::UniformStateCache::getUniformCachebgfx::gl::UniformStateCache::f4()'
../../linux64_gcc/bin/libbgfxDebug.a(renderer_gl.o):<...>/_github/bgfx/.build/projects/gmake-linux/../../../src/renderer_gl.h:1295: first defined here
../../linux64_gcc/bin/libbgfxDebug.a(glcontext_glx.o): In function tinystl::unordered_map<unsigned long, bgfx::gl::UniformStateCache::f3x3, bgfx::TinyStlAllocator>& bgfx::gl::UniformStateCache::getUniformCache<bgfx::gl::UniformStateCache::f3x3>()': <...>/_github/bgfx/.build/projects/gmake-linux/../../../src/renderer_gl.h:1296: multiple definition of tinystl::unordered_map<unsigned long, bgfx::gl::UniformStateCache::f3x3, bgfx::TinyStlAllocator>& bgfx::gl::UniformStateCache::getUniformCachebgfx::gl::UniformStateCache::f3x3()'
../../linux64_gcc/bin/libbgfxDebug.a(renderer_gl.o):<...>/_github/bgfx/.build/projects/gmake-linux/../../../src/renderer_gl.h:1296: first defined here
../../linux64_gcc/bin/libbgfxDebug.a(glcontext_glx.o): In function tinystl::unordered_map<unsigned long, bgfx::gl::UniformStateCache::f4x4, bgfx::TinyStlAllocator>& bgfx::gl::UniformStateCache::getUniformCache<bgfx::gl::UniformStateCache::f4x4>()': <...>/_github/bgfx/.build/projects/gmake-linux/../../../src/renderer_gl.h:1297: multiple definition of tinystl::unordered_map<unsigned long, bgfx::gl::UniformStateCache::f4x4, bgfx::TinyStlAllocator>& bgfx::gl::UniformStateCache::getUniformCachebgfx::gl::UniformStateCache::f4x4()'
../../linux64_gcc/bin/libbgfxDebug.a(renderer_gl.o):<...>/_github/bgfx/.build/projects/gmake-linux/../../../src/renderer_gl.h:1297: first defined here
collect2: error: ld returned 1 exit status

Would have been great to wait for the CI to go through to see that it works.

I assumed you compiled it... :)

Reverted it https://github.com/bkaradzic/bgfx/commit/c023ac46205f74ff386138ae99bb5319d9ee6f9f...
Just revert it back, fix template issue, and resubmit PR, the rest looks good.

Ok the issue is that GCC does not treat the template specializations inline. Adding inline to the four lines is the fix, but I am unsure if GCC wants to see the template declaration in class scope be inline as well, or if it will forbid it since it is not a definition. I do not have access to GCC, so I will remove the template approach altogether since I cannot test against it.

Actually wait. I can add inline.

All good.

Perfect, thanks!


Update keys

NetflixOSS » runtime-health » runtime-health-pull-requests #4 FAILURE
Looks like there's a problem with this pull request


Added product security label

@brian-avery: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-ipv6-k8s-tests_istio
f894e0287ca7934adc19f445bb859e4dbfd53dd4
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Ganache 6.3.0 -- EVM state changes after snapshot creation survive snapshot reversal

Description
State changes made after a snapshot creation reappear after reversal.
This is similiar to closed issue #603, which was fixed in 6.2.4, still fixed in 6.2.5, reappeared in 6.3.0
Expected Behavior
After reverting a snapshot, the EVM should contain no state changes that were made after the snapshot creation.
Current Behavior
State changes survive snapshot reversal.
Steps to Reproduce

Deploy a smart contract exposing a state variable uint x = 2 and a function inc() which will increase x by 1.
Create a snapshot
Call inc()
Read x (will return 3)
Revert the snapshot (so that x should become 2)
Create a snapshot again
Read x (will correctly return 2)
Call inc()
Read x: this will return 4 instead of the expected 3

One could repeat steps 5...8. After snapshet reversal everything seems fine, but after the inc() transaction the state seems to be as if no snapshot reverse ever happened.
My Environment

uname -srm
FreeBSD 12.0-RELEASE amd64

node --version
v11.8.0

npm --version
6.7.0

truffle version
Truffle v4.1.15 (core: 4.1.15)
Solidity v0.4.25 (solc-js)

ganache-cli --version
Ganache CLI v6.3.0 (ganache-core: 2.4.0)

Test repo: https://github.com/outofgas/ganache-snapshot-issue

Also dealing with this. 6.2.5 works fine

@angus-hamill Thanks for updating!  Is it possible that you have a copy of your repo available somewhere? Or if you have a chance, could you post an MVT demonstrating the issue?  I'm investigating this with @davidmurdoch and we think it would help to see another example.

Would it be possible to publish a new version with this fix? Even a prerelease version would be helpful.

@olaf89 	working on the release right now!

Problem is fixed in Ganache CLI v6.4.1


VTK8 - mili zbuffer thrashing test failure

This is a bit of an odd test case but I think mili database is serving up a mesh with two surfaces that are defined by the same points. So, the surfaces fall on top of each other. Old VisIt would still draw this correctly. New VisIt manifests zbuffer thrashing. Also seen in moab_02 test in serial mode and in parallel mode. http://portal.nersc.gov/project/visit/tests/20180514-22:00/surface_trunk_serial/databases_mili.html
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 3082
Status: New
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: VTK8 - mili zbuffer thrashing test failure
Assigned to: -
Category: -
Target version: 3.0
Author: Mark Miller
Start: 05/02/2018
Due date:
% Done: 0%
Estimated time:
Created: 05/02/2018 04:42 pm
Updated: 05/17/2018 01:56 pm
Likelihood: 3 - Occasional
Severity: 4 - Crash / Wrong Results
Found in version: trunk
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
This is a bit of an odd test case but I think mili database is serving up a mesh with two surfaces that are defined by the same points. So, the surfaces fall on top of each other. Old VisIt would still draw this correctly. New VisIt manifests zbuffer thrashing. Also seen in moab_02 test in serial mode and in parallel mode. http://portal.nersc.gov/project/visit/tests/20180514-22:00/surface_trunk_serial/databases_mili.html
Comments:

This is from a filled boundary plot of mili_test_data/m_plot.mili. I have attached before and after images. The top image is the new one. In the old image the layer of green shell elements is completely missing and a layer of yellow shell elements that are behind the 2 layers of hexes are completely visible with no z buffer thrashing. In the new image there is z buffer thrashing with the green shell elements and if you looked at the other side you would see z buffer thrashing with the yellow shell elements.


(FACT-3163) Add support for OpenBSD

Most inspiration taken from FreeBSD, rest from other OS, and some own creations. Not all core facts supported, but makes puppet facts works well, as well as puppet agent --test
Developed/Tested on OpenBSD 7.2, AMD64, Puppet 7.20.0, Ruby 3.1.2

Can one of the admins verify this patch?

 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.

just this one RuboCop left, where I don't know, how to fix that complexity requirement.

Hi @buzzdeee thank you for your contribution!
The failing cops can be configured in https://github.com/puppetlabs/facter/blob/d84fea9ad320a85b405f8dfe6f8a981b7e29cb89/.rubocop.yml#L74-L95 I don't see much value in those cops, so I'd be fine if you disabled them like:
Metrics/PerceivedComplexity:
  Enabled: false

Metrics/CyclomaticComplexity:
  Enabled: false

and then removed the specific Excludes
Also it would be good to have unit test coverage for this files. I think you could copy most of what's in spec/unit/facts/freebsd

GRR, messed with the branch... and it auto-closed, new: https://github.com/puppetlabs/facter/pull/2531


Get rid of boost

Most importantly, the parts of boost that require compilation must be removed:

"boost/program_options.hpp"
<boost/regex.hpp>
"boost/filesystem.hpp"

The header only parts are less important but probably easier to get rid of:

"boost/assign.hpp"
<boost/lexical_cast.hpp>
<boost/algorithm/string.hpp>
<boost/algorithm/string/split.hpp>
<boost/algorithm/string/predicate.hpp>

The filesystem API is already natively available in VS2015. Regex may not be essential, program_options could probably be done with a custom implementation.

Some Progress here: https://github.com/potree/PotreeConverter/tree/remvoe_boost
As far as I can tell all that's left is to remove boost::program_options and test for side effects of replacing boost with standard C++.


Submit LLM to Homebrew

Getting it into homebrew-core would mean that they would build the Bottle files, which would hopefully resolve the issues with brew install simonw/llm/llm taking a long time and sometimes breaking.

https://docs.brew.sh/Adding-Software-to-Homebrew
I ran this:
brew audit --strict --new-formula --online llm

And got no errors.

https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request is complicated.

I tried brew test:
% brew test llm
Error: Testing requires the latest version of simonw/llm/llm

So I'm upgrading now:
brew upgrade llm

...
==> Upgrading 1 outdated package:
simonw/llm/llm 0.5 -> 0.6
==> Fetching simonw/llm/llm

Tried this:
brew install --build-from-source llm

Got this error:
Last 15 lines from /Users/simon/Library/Logs/Homebrew/llm/17.pip:

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /opt/homebrew/Cellar/llm/0.6/libexec/bin/python3.11 /opt/homebrew/Cellar/llm/0.6/libexec/lib/python3.11/site-packages/pip/__pip-runner__.py install --ignore-installed --no-user --prefix /private/tmp/pip-build-env-rlv85tao/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'maturin>=1,<2' 'typing-extensions >=4.6.0,!=4.7.0'
  cwd: [inherit]
  Installing build dependencies: finished with status 'error'
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python3.11 -m pip install --upgrade pip

Here's the full content of/Users/simon/Library/Logs/Homebrew/llm/17.pip: https://gist.github.com/simonw/5af1bf2501b8a71ac77ead46f0ff686d
Key snippets:
Processing /private/tmp/llm--pydantic-core-20230723-77664-1qubplp/pydantic_core-2.3.0
  Installing build dependencies: started
  Running command pip subprocess to install build dependencies
  DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
  Collecting maturin<2,>=1
    Downloading maturin-1.1.0.tar.gz (181 kB)
...
  Building wheels for collected packages: maturin, typing-extensions
    Building wheel for maturin (pyproject.toml): started
    Building wheel for maturin (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error

    × Building wheel for maturin (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [35 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.macosx-13-arm64-cpython-311
        creating build/lib.macosx-13-arm64-cpython-311/maturin
        copying maturin/__init__.py -> build/lib.macosx-13-arm64-cpython-311/maturin
        copying maturin/import_hook.py -> build/lib.macosx-13-arm64-cpython-311/maturin
        copying maturin/__main__.py -> build/lib.macosx-13-arm64-cpython-311/maturin
        running egg_info
        creating maturin.egg-info
        writing maturin.egg-info/PKG-INFO
        writing dependency_links to maturin.egg-info/dependency_links.txt
        writing requirements to maturin.egg-info/requires.txt
        writing top-level names to maturin.egg-info/top_level.txt
        writing manifest file 'maturin.egg-info/SOURCES.txt'
        reading manifest file 'maturin.egg-info/SOURCES.txt'
        reading manifest template 'MANIFEST.in'
        warning: no files found matching '*.json' under directory 'src/python_interpreter'
        writing manifest file 'maturin.egg-info/SOURCES.txt'
        warning: build_py: byte-compiling is disabled, skipping.

        running build_ext
        running build_rust
        error: can't find Rust compiler
...
  Failed to build maturin
  ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects

I'm using this to open the formula for editing:
brew edit llm

OK this should hopefully fix that: https://github.com/simonw/homebrew-llm/commit/5a69a7c5a3a5d404df245d98444f32682c257fd8
Now running this again:
brew install --build-from-source llm

Here's what "new formula" PRs to Homebrew look like: https://github.com/Homebrew/homebrew-core/pulls?q=is%3Apr+label%3A"new+formula"+

brew install --build-from-source llm worked!

brew test llm

That passed.
brew audit --strict --online llm

Got three failures:
llm
  * Dependency 'python3' is an alias; use the canonical name<EMAIL_ADDRESS>  * line 11, col 3: dependency "rust" (line 11) should be put before dependency "python3" (line 9)
  * line 13, col 1: Extra blank line detected.
Error: 3 problems in 1 formula detected.

Fixing that by editing the first few lines of llm.rb to:
class Llm < Formula
  include Language::Python::Virtualenv

  desc "Access large language models from the command-line"
  homepage "https://github.com/simonw/llm"
  url "https://files.pythonhosted.org/packages/64/a3/24218c5cdada7e9eac5425bb702d734605d2f16bf8450c3a81571dd34558/llm-0.6.tar.gz"
  sha256 "6226bcbb4c79affd85870a69a09a5b47aec6bc549c65b620f086253424e3410a"

  depends_on "rust" => :build
  depends_on<EMAIL_ADDRESS>

brew audit --strict --online llm passes now.

I have a https://github.com/simonw/homebrew-core fork already but it's wildly out of date. I'm going to destroy and recreate it.

One more audit:
brew audit --new

It failed!
llm
  * Formulae in homebrew/core must specify a license.
Error: 1 problem in 1 formula detected.

Looks like I need to add   license "Apache-2.0"

That audit passes as well now. I force pushed that change to my llm branch.

Just spotted this in https://docs.brew.sh/Acceptable-Formulae#niche-or-self-submitted-stuff

We frown on authors submitting their own work unless it is very popular.

Fingers crossed that doesn't block this.

Got feedback that the test wasn't good enough, so I built a dummy server that can run a fake prompt like this:
OPENAI_API_KEY='x' \
OPENAI_API_BASE='https://openai-canned-completion.vercel.app/v1' \
llm 'hello'

Always outputs:
Hello! How can I assist you today?

That Vercel app looks like this:
import base64
import json

lines = """
{"type": "http.response.start", "status": 200, "headers": [[{"$base64": "ZGF0ZQ=="}, {"$base64": "U3VuLCAyMyBKdWwgMjAyMyAxOToyMzoxNiBHTVQ="}], [{"$base64": "Y29udGVudC10eXBl"}, {"$base64": "dGV4dC9ldmVudC1zdHJlYW0="}], [{"$base64": "dHJhbnNmZXItZW5jb2Rpbmc="}, {"$base64": "Y2h1bmtlZA=="}], [{"$base64": "Y29ubmVjdGlvbg=="}, {"$base64": "a2VlcC1hbGl2ZQ=="}], [{"$base64": "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu"}, {"$base64": "Kg=="}], [{"$base64": "Y2FjaGUtY29udHJvbA=="}, {"$base64": "bm8tY2FjaGUsIG11c3QtcmV2YWxpZGF0ZQ=="}], [{"$base64": "b3BlbmFpLW9yZ2FuaXphdGlvbg=="}, {"$base64": "dXNlci1yM2U2MWZwYWswNGNiYW9rcDVidW9hZTQ="}], [{"$base64": "b3BlbmFpLXByb2Nlc3NpbmctbXM="}, {"$base64": "OQ=="}], [{"$base64": "b3BlbmFpLXZlcnNpb24="}, {"$base64": "MjAyMC0xMC0wMQ=="}], [{"$base64": "c3RyaWN0LXRyYW5zcG9ydC1zZWN1cml0eQ=="}, {"$base64": "bWF4LWFnZT0xNTcyNDgwMDsgaW5jbHVkZVN1YkRvbWFpbnM="}], [{"$base64": "eC1yYXRlbGltaXQtbGltaXQtcmVxdWVzdHM="}, {"$base64": "MzUwMA=="}], [{"$base64": "eC1yYXRlbGltaXQtbGltaXQtdG9rZW5z"}, {"$base64": "OTAwMDA="}], [{"$base64": "eC1yYXRlbGltaXQtcmVtYWluaW5nLXJlcXVlc3Rz"}, {"$base64": "MzQ5OQ=="}], [{"$base64": "eC1yYXRlbGltaXQtcmVtYWluaW5nLXRva2Vucw=="}, {"$base64": "ODk5ODA="}], [{"$base64": "eC1yYXRlbGltaXQtcmVzZXQtcmVxdWVzdHM="}, {"$base64": "MTdtcw=="}], [{"$base64": "eC1yYXRlbGltaXQtcmVzZXQtdG9rZW5z"}, {"$base64": "MTJtcw=="}], [{"$base64": "eC1yZXF1ZXN0LWlk"}, {"$base64": "NDhjZmI5MDI3ZDc2ZTYyYzczOTJkNTEyZjViMzAwNTY="}], [{"$base64": "Y2YtY2FjaGUtc3RhdHVz"}, {"$base64": "RFlOQU1JQw=="}], [{"$base64": "c2VydmVy"}, {"$base64": "Y2xvdWRmbGFyZQ=="}], [{"$base64": "Y2YtcmF5"}, {"$base64": "N2ViNjRiZmIxOTBmN2NjZS1MQVg="}], [{"$base64": "YWx0LXN2Yw=="}, {"$base64": "aDM9Ijo0NDMiOyBtYT04NjQwMA=="}]]}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOiIifSwiZmluaXNoX3JlYXNvbiI6bnVsbH1dfQoK"}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6IkhlbGxvIn0sImZpbmlzaF9yZWFzb24iOm51bGx9XX0KCg=="}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6IiEifSwiZmluaXNoX3JlYXNvbiI6bnVsbH1dfQoK"}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6IiBIb3cifSwiZmluaXNoX3JlYXNvbiI6bnVsbH1dfQoK"}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6IiBjYW4ifSwiZmluaXNoX3JlYXNvbiI6bnVsbH1dfQoK"}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6IiBJIn0sImZpbmlzaF9yZWFzb24iOm51bGx9XX0KCg=="}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6IiBhc3Npc3QifSwiZmluaXNoX3JlYXNvbiI6bnVsbH1dfQoK"}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6IiB5b3UifSwiZmluaXNoX3JlYXNvbiI6bnVsbH1dfQoK"}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6IiB0b2RheSJ9LCJmaW5pc2hfcmVhc29uIjpudWxsfV19Cgo="}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnsiY29udGVudCI6Ij8ifSwiZmluaXNoX3JlYXNvbiI6bnVsbH1dfQoK"}, "more_body": true}
{"type": "http.response.body", "body": {"$base64": "ZGF0YTogeyJpZCI6ImNoYXRjbXBsLTdmWXhneTZRaTJnMlltTjBPb2hDTXFjYkxibFpMIiwib2JqZWN0IjoiY2hhdC5jb21wbGV0aW9uLmNodW5rIiwiY3JlYXRlZCI6MTY5MDE0MDE5NiwibW9kZWwiOiJncHQtMy41LXR1cmJvLTA2MTMiLCJjaG9pY2VzIjpbeyJpbmRleCI6MCwiZGVsdGEiOnt9LCJmaW5pc2hfcmVhc29uIjoic3RvcCJ9XX0KCmRhdGE6IFtET05FXQoK"}, "more_body": true}
{"type": "http.response.body", "more_body": false}
""".strip().split("\n")

def as_base64(dct):
    if '$base64' in dct:
        return base64.b64decode(dct["$base64"])
    return dct

messages = []
for line in lines:
    messages.append(json.loads(line, object_hook=as_base64))

async def app(scope, receive, send):
    if scope["type"] != "http":
        return
    for message in messages:
        await send(message)

Here's the code for that Vercel app: https://github.com/simonw/openai-canned-completion/tree/main

It's in:

https://github.com/Homebrew/homebrew-core/commit/a67dd99420d876851542a24dace1dc81664995b0
https://github.com/Homebrew/homebrew-core/blob/master/Formula/llm.rb


End VASP output files with newline and close file

Ran into an issue with a user here at NERSC using phonopy and our default VASP executable which is compiled with cray compilers. VASP compiled this way refuses to read POSCAR files unless every line ends with "\n."

Thanks, I patched this issue on our install so I don't think a new release is a critical issue for us. I'll keep an eye out for the next release though!


temporary solution: adding locations for error reporting

cc @chenglou @IwanKaramazow
This is a temporary solution for adding locations in error reporting. Feel free to remove such piece of code when you finish the exit approach

Will be superseded by #77