Android device only show blank screen and crash after build success

Is this a bug report?
Yes

react-native -v:0.47.1
node -v: v6.9.2
npm -v: 3.10.9

Target Platform: Android & IOS
Development Operating System: macOS

Steps to Reproduce
build app on android device, it show only white blank screen and crash after force quit and touch the screen,  it didnt show any error message at all.
*everything is run perfectly on IOS device.

I faced the same issue, but in my scenario I was trying to upgrade react native from 0.36.0 to 0.47.1 and resolved other issues. Still getting the issue.

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

This bug happens with react-native 0.50.4


Added filter docs

Added some docs. Please check if these are enough to get started with filters. While putting it together some questions surfaced:

Data filters overall aren't bound to REST so probably it's a good idea to move them under data namespace. @klimov-paul have you considered it?
Not sure it's a good idea to enable filters in REST IndexAction by default. My concern is that it could be used for quite complicated conditions that could be exploited to hurt API performance.

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

Fixed issues
#12641, #14934

@yiisoft/reviewers would be good if you'll take a look. Thanks.

Not sure it's a good idea to enable filters in REST IndexAction by default.

does this enable filtering in existing APIs? should not be done imo.

does this enable filtering in existing APIs? should not be done imo.

Yes, it does if the API is built around ActiveController.

@cebe, @dynasource what's your opinion on points 1 and 2 from the PR description?

@samdark, I tend to agree:

it seems generic enough to be put in the data namespace
it's already off by default?

Data filters overall aren't bound to REST so probably it's a good idea to move them under data namespace. @klimov-paul have you considered it?

from a quick look into the implementation it seems to me putting it into yii\data makes sense.

Not sure it's a good idea to enable filters in REST IndexAction by default. My concern is that it could be used for quite complicated conditions that could be exploited to hurt API performance.

its not enabled by default as far as I see:

https://github.com/yiisoft/yii2/blob/ce65e24d1988f00e57ceaa7493632ee4f3aca776/framework/rest/IndexAction.php#L49
You must setup this field explicitly in order to enable filter processing.

Data filters moved to data namespace. Docs adjusted.


Add some missing hand positions

Combat Extended Guns
Missing concussion grenade, rocket launcher, flare gun from base Combat Extended
Sparkling Worlds - Full Mod
Vanilla Factions Expanded - Settlers
Vanilla Factions Expanded - Classical
Vanilla Factions Expanded - Pirates
Vanilla Psycasts Expanded
Missing gauss repeater, gauss revolver, handheld gatling gun, derringer, lever action shotgun from Vanilla Weapons Expanded - Frontier
Fixed hand positions for Vanilla Textures Expanded's core gun retextures (I think I did this right? check VTE.xml)

Just noticed I forgot MayRequire in VFES.xml btw, if that matters

Its not critical, I just dont want to load extra defs. But Ill add it in the next update of the mod, thanks!
Also, the update I pushed added automatic MayRequire in the export, hopefully this helps when creating presets.


Flush engine logs on SIGTERM

Right now when the engine shutsdown it's easy for some remaining logs to get dropped. Hence this silly sleep hack in the nodejs engine wrapper: https://github.com/dagger/cloak/blob/2894044664e76873c14b70e2197b35fb045548b6/sdk/nodejs/dagger/engine.ts#L66-L69
Should be able to flush them when SIGTERM is received before shutdown.

@aluzzardi do you mean this shouldn't be a problem, or we need to dig more and make sure the context is passed accordingly?

Related to "clean shutdown" or "graceful shutdown".
Today if the engine is stopped, for example with docker stop, a nonzero exit code is produced.

I believe this specific issue has been addressed and is mostly outdated due to time


Each AE should be assigned a unique Implementation Class UID

Description
The DICOM Standard, Part 7, Annex D.3.3.3 says:

The Implementation Class UID identifies in a unique manner a specific class of implementation. Each node claiming conformance to this Standard shall be assigned an Implementation Class UID to distinguish its implementation environment from others.

Expected behaviour
Each AE should get a unique Implementation Class UID
Actual behaviour
By default, each AE is assigned the same Implementation Class UID.
Steps to reproduce
from pynetdicom3 import AE

ae = AE()
ae2 = AE()
# Raises AssertionError
assert ae.implementation_class_uid != ae2.implementation_class_uid

Actually nevermind. Not a bug. Same UID is used if they share the same implementation environment.


Bumps fork-ts-checker-webpack-plugin to 8.0.0

Bumps version of this package to avoid an error while building. I tested with this new version and it seems all good!
TypeError: Cannot set property mark of #<Object> which has only a getter
    at Object.connectTypeScriptPerformance (/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/profile/TypeScriptPerformance.js:12:36)
    at createTypeScriptReporter (/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/reporter/TypeScriptReporter.js:40:49)
    at Object.<anonymous> (/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:21:30)
    at Generator.next (<anonymous>)
    at /node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:4:12)
    at /node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:19:88
    at Object.<anonymous> (/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/RpcService.js:23:38)
    at Generator.next (<anonymous>)
TypeError: Cannot set property mark of #<Object> which has only a getter
TypeError: Cannot set property mark of #<Object> which has only a getter
    at Object.connectTypeScriptPerformance (/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/profile/TypeScriptPerformance.js:12:36)
    at createTypeScriptReporter (/node_modules/fork-ts-checker-webpack-plugin/lib/typescript-reporter/reporter/TypeScriptReporter.js:40:49)
    at Object.<anonymous> (/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:21:30)
    at Generator.next (<anonymous>)
    at /node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:4:12)
    at /node_modules/fork-ts-checker-webpack-plugin/lib/reporter/reporter-rpc/ReporterRpcService.js:19:88
    at Object.<anonymous> (/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/RpcService.js:23:38)
    at Generator.next (<anonymous>)

I'm getting the same error:
TypeError: Cannot set property mark of #<Object> which has only a getter

It would be nice for this PR to get some attention.

I had the same problem and checked it out.
I fixed it by modifying the version under the yarn.lock file to 6.5.3.
<EMAIL_ADDRESS>  version "6.5.3"

6.5.2 -> 6.5.3

@eezz4 it seems solved here! Thank you SO MUCH! 🎉 🎉 🎉

@rssilva I'm glad you were able to help.
I've been looking into this method as well!
https://github.com/yarnpkg/yarn/issues/9027


Package request: Wix Codux

Project description
Visually edit projects side-by-side with your code editor. See every change reflected instantly and get your work done faster.
Metadata

homepage URL: https://www.codux.com/
source URL: -
license: Propriatary
platforms: linux, darwin

Duplicate of #226878


Takes more than 2min to load a small model.

NOTE: Issues that are not bugs or feature requests will be closed. Please ask usage questions on StackOverflow.
 Y
TensorFlow installed from (source or binary)?:  Installing with native pip
TensorFlow version:   libcurand.so.8.0 locally 1.0.1
Bazel version (if compiling from source):
CUDA/cuDNN version:
GPU Model and Memory:
Exact command to reproduce:

Describe the problem clearly
After shows following, the program waiting for more than 2min to load a small model.
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0)
And at the end it shows like this:
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0)
model loaded!
Source Code / Logs
`
If you have already created the dataset:
if os.path.exists('train_data.npy'):
train_data = np.load('train_data.npy')
else:
train_data = create_train_data()
if os.path.exists('test_data.npy'):
test_data = np.load('test_data.npy')
else:
test_data = process_test_data()
Convlotion model----------------
convnet = input_data(shape=[None, IMG_SIZE, IMG_SIZE, 1], name='input')
----------------
convnet = conv_2d(convnet, 32, 5, activation='relu')
convnet = max_pool_2d(convnet, 5)
----------------
convnet = conv_2d(convnet, 64, 5, activation='relu')
convnet = max_pool_2d(convnet, 5)
----------------
convnet = conv_2d(convnet, 32, 5, activation='relu')
convnet = max_pool_2d(convnet, 5)
----------------
convnet = conv_2d(convnet, 64, 5, activation='relu')
convnet = max_pool_2d(convnet, 5)
----------------
convnet = conv_2d(convnet, 32, 5, activation='relu')
convnet = max_pool_2d(convnet, 5)
----------------
convnet = conv_2d(convnet, 64, 5, activation='relu')
convnet = max_pool_2d(convnet, 5)
----------------
convnet = fully_connected(convnet, 1024, activation='relu')
convnet = dropout(convnet, 0.8)
----------------
convnet = fully_connected(convnet, 512, activation='relu')
convnet = dropout(convnet, 0.6)
----------------
convnet = fully_connected(convnet, 2, activation='softmax')
convnet = regression(convnet, optimizer='adam', learning_rate=LR, loss='categorical_crossentropy', name='targets')
----------------
model = tflearn.DNN(convnet, tensorboard_dir='log')
if os.path.exists('{}.meta'.format(MODEL_NAME)):
model.load(MODEL_NAME)
print('model loaded!')
else:
print "Nothing loaded"
train = train_data[:-500]
test = train_data[-500:]
print train
`

The code provided doesn't seem self contained, so it is hard to be able to help (for example, it isn't clear to me which module functions like fully_connected, regression etc. are from).
From the line model = tflearn.DNN(convnet, tensorboard_dir='log'), it seems you're using tflearn from www.tflearn.org. The tflearn package is a separate project not maintained by us. Perhaps you need to file a detailed issue with them?
I'm closing this out since it isn't clear whether this is an issue with your use of tflearn or with tensorflow. Feel free to reopen if you have information that pinpoints an issue with TensorFlow. Thanks!

Thanks


Feature request: A config to disable and enable each mixin

A config to disable each mixin/ Feature. Allowing this mod to be more compatible with other mods that do similar things such as Connectivity.

A config to disable each mixin/ Feature. Allowing this mod to be more compatible with other mods that do similar things such as Connectivity.

I fixed the compatibility with other mods, Connectivity doesn't disable the mixin, only put true or false in the packet limit


System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.

The exception is an accidental exception,but it makes the program crash. The following is the exception:
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at DlibDotNet.NativeMethods.LossMetric_operator_matrixs(Int32 id, IntPtr obj, MatrixElementType element_type, IntPtr[] matrix_array, Int32 matrix_array_len, Int32 templateRows, Int32 templateColumns, UInt32 batch_size, IntPtr& ret)
at DlibDotNet.Dnn.LossMetric.Operator[T](IEnumerable`1 images, UInt64 batchSize)
The initialization of  ShapePredictor was written in the  initialization of a class by singleton pattern.
I have scanned the related issues like #5,I have checked the model file full path(D:\RoomCX\VideoToPicture) , I also download the .dat files serveral times,the problem still exist.
Please let me know how i can correct this
Thanks

@takuya-takeuchi
Could you show me minimal code to reproduce issue?
LossMetric_operator_matrixs is invoked when inference.
Therefore, I guess you try to invoke this methods from multiple thread.
If so, you must create multiple FaceRecognition object per thread.
Thanks.

The code：
public static FaceRecognitionEx Inst
{
get
{
if (m_instance == null)
m_instance = new FaceRecognitionEx();
return m_instance;
}
}
private FaceRecognitionEx()
{
detector = Dlib.GetFrontalFaceDetector();
sp = ShapePredictor.Deserialize("shape_predictor_68_face_landmarks.dat");
net = DlibDotNet.Dnn.LossMetric.Deserialize("dlib_face_recognition_resnet_model_v1.dat");
}
FrontalFaceDetector detector;
ShapePredictor sp;
LossMetric net;
public List<float[]> GetFeature(string imgpath)
{
/*..........
var faces = new List<Matrix>();
try
{
using (var img = Dlib.LoadImageAsMatrix(imgpath))
{
foreach (var face in detector.Operator(img))
{
var shape = sp.Detect(img, face);
var faceChipDetail = Dlib.GetFaceChipDetails(shape, 150, 0.25);
var faceChip = Dlib.ExtractImageChip(img, faceChipDetail);
                        faces.Add(faceChip);
                    }
                    /*.......
            catch
            {
                LogManager.face.Info($"[获取人脸特征失败]");
                features = null;
            }
            foreach (var face in faces)
                face.Dispose();
        } while (false);
        return features;
  }

The function " GetFeature" was invoked by multiple thread.By my understanding,the “shape_predictor_68_face_landmarks.dat”  loaded once can improve the performance.I have tried to load the .dat for each image,the cpu can't  support.

The function " GetFeature" was invoked by multiple thread.
In GetFeature, net.Operator is invoked from multiple thread, doesn't it? If so, this schenario is not be supported.
https://github.com/davisking/dlib/issues/544#issuecomment-295119225

You have to create FaceRecognitionEx  instance for each thread.
Or you can invoke net.Operator on one thread by using lock mechanism.
DlibDotNet.Dnn.LossMetric would not be slow operation different from face detection.

Thank you very much!net.Operator invoked from multiple thread lead to the problem.I have sovled the problem.


mpu9250: remove hardfault when running driver

@flochir these changes solve the hardfaults on fmu-v5. When running the driver with the -M flag the accel and gyro classes were unitialized but used in the mpu9250 constructor.

@DanielePettenuzzo Can you also send a PR to upstream?

Sure.. I will do it some time tomorrow because I still have some issues when I run without the -M flag. @flochir wait to merge this.

@DanielePettenuzzo
Great, thanks!
Funny that triggered no fault with my setup. Also, should have catched that one.
I will wait.

@flochir I pushed one more change that solved the last hardfault I had. I guess the difference is in the microcontroller. You have an STM32F4 and I have an F7, therefore how hardfaults are triggered could be different. Anyway I noticed that during startup, the _set_pollrate method was called twice. The first time in the reset_mpu method that occurs before the ring buffers are initialized. I removed the call from the reset_mpu method and just kept the one in the ioctl. Have a look if it makes sense to you. Now I don't have hardfaults and the driver seems to run both with the -M flag and without.
Moreover there is one more remaining issue. Did you every try to stop the driver while it's running? Mine doesn't stop properly all the time. This seems to happen only when accel and gyro are started (not with the -M flag).

@flochir the last commit solves also the issue I had in stopping the driver. Maybe test this on your hardware before merging. Next I will get ready to fly it.

@DanielePettenuzzo
Awesome!
I'll get a chance to test it tomorrow.

@flochir I added a commit to the pr. I had to move the call_interval=0 to the deconstructor because the driver was not starting properly. Now with the -M flag everything seems to work, including calibration. Moreover I noticed that to get my Here GPS working the -R 6 rotation was wrong. Actually I get the right orientation with -R 29 which is pitch 90, roll 90. Can you also double check this on yours since you had issues when flying? (This is like adding a pitch 90 to your rotation). I will test the driver without the -M flag now.

That's curious. Do you mean the mag rotation only, or also accel and gyro?

Just re-checked the orientations. Starting the driver with
mpu9250 -X -R 6 start
and setting the orientation of the external compass to YAW270 in QGroundControl, I get correct sensor output from the HIGHRES_IMU topics for gyro, accel and mag.
To double check with you:
Correct in the sense that it delivers the same output as running only with one set of integrated sensors (lsm303d and l3gd20).
Using this coordinate system, I get with both set of sensors an accel value of about -9 in every positive axis direction, positive gyro values turning clockwise around every axis and the same direction of the earth magnet field with both sensors, with a plausible inclination.

@DanielePettenuzzo Can we please get this upstream merged with the right orientations so this thing works by default? Thanks!


An emoji selection interface is provided, allowing players to choose emojis that best describe their assigned song.

6288ec9dffd9ca358f458e28bc05005137d177c6


Mark indexstore enum flag types with flag_enum attribute

Duplicate of https://github.com/apple/swift-clang/pull/288 targeting apple/stable/20190619

Adds useful compiler attributes to the two indexstore bit flag types: indexstore_symbol_property_t and indexstore_symbol_role_t.
These enum declarations are now declared with the following features:

Defined as 64bit ints using C++ or ObjC sized enums, otherwise falling back to a typedef
Marked with flag_enum attribute, if available
Marked with enum_extensibility(open) attribute, if available

Additionally, the functions that return these types now return the enum itself or the fallback typedef. Previously these functions returned an explicit uint64_t.
The motivation for these changes is for use from Swift. Now, these bit flags are imported into Swift as OptionSets.

cc @benlangmuir

@swift-ci please test

clang-tools-extra/clangd/index/IndexAction.cpp:148:19: error: no member named 'createIndexingASTConsumer' in namespace 'clang::index'

@jkorous-apple do you recognize the error about createIndexingASTConsumer that @kastiglione mentioned?

createIndexingASTConsumer  is part of the refactoring that Dmitri landed upstream last week.
commit 8d32053f113348a4ea94f59b7553733aff0ba651
Author: Dmitri Gribenko<EMAIL_ADDRESS>Date:   Thu Aug 29 11:43:05 2019 +0000
[Index] Stopped wrapping FrontendActions in libIndex and its users

Exposed a new function, createIndexingASTConsumer, that creates an
ASTConsumer. ASTConsumers compose well.

Is the target branch correct?

If it was last week, maybe I should rebase?

I've rebased both PRs.

Should this be closed now? apple/stable/20190619 was last updated in July?

Should this be closed now? apple/stable/20190619 was last updated in July?

You're looking at the original (author) date of the commit, but it was only just recently cherry-picked to this branch.  If you use git log --format=fuller you can see when the cherry-pick happened:

AuthorDate: Thu Jul 11 22:59:28 2019
CommitDate: Thu Oct 3 14:01:33 2019

@swift-ci please test

@swift-ci please test

Thanks, I was actually looking at GitHub, but I'll know better now that it shows author date.

@swift-ci please test Linux

@swift-ci please test Linux

sweet things passed


Update changelog CI

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[x] I have updated existing examples or added new ones (if applicable).
[x] I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
[x] My changes were added to the CHANGELOG.md in the proper section.
[x] My changes are in accordance to the esp-rs API guidelines

Extra:

[x] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description

Added a changelog file for the missing packages
CI now checks which packages were modified and enforces changes in those changelog files

Reference workflow: https://github.com/rtic-rs/rtic/blob/master/.github/workflows/changelog.yml

Testing
Tested in my fork with the following PR https://github.com/SergioGasquez/esp-hal/pull/3 which has some commits modifying some packages without changing the changelog to make it fail

Not really sure how we go about testing/verifying this, I guess we just need to merge it and hope for the best?

Just tested it in my fork with the following PR https://github.com/SergioGasquez/esp-hal/pull/3 which has some commits modifying some packages without changing the changelog to make it fail


LDP 330 Adding mspec test runner

http://youtrack.zopian.ad.zopa.com/issue/LDP-330
Adding a test runner for MSpec in order to enable the CI to run tests built using Machine.Specifications.

You're better off getting @lukesmith to look at this as he's more familiar with bozo than I am.

🔍 @lukesmith


fix(bug): Remove 'Saving work item' text after the new work item has been created. Fixes #1915.

fix(bug): Remove 'Saving work item' text after the new work item has been created. Fixes #1915.

@nimishamukherjee snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1939-fabric8-planner.int.rdu2c.fabric8.io


refactor: use nanoid instead of crypto.randomUUID

We do not need security-grade random ids neither
for the events being exchanged between client and
server, nor for the client-side signal instances.
Since crypto.randomUUID() was creating problems
for executing tests on hub (with no https connection),
it is replaced with the nanoid npm package.
This also refactor the server-side APIs to replace UUID
type for client-side signal ids to be string, and keeps
using UUID only for the server-side signal ids.

Do we really need to replace UUID with String on the Java side?

Do we really need to replace UUID with String on the Java side?

Yes, since ids generated by the nanoid are not compatible with the UUID format, so java api that are dealing with those need to change.


Update minimum supported cargo-generate version

Currently, we have 0.14.0 as minimum version and some users reported having issues with 0.16.0 (#106)

tested with 17.4 + 18.2 and works on both


[BUG] Changen vault and entering folder, closes folder automatically

Describe the bug
When switching a vault and entering again into a folder, closes this folder automatically again after 2 seconds.
Making it unable to select another vault.
To Reproduce
Steps to reproduce the behavior:

Change vault
open Vault selection view
enter in a folder
See error

Expected behavior
No automatic closing of folder
Screenshots
https://github.com/user-attachments/assets/b0254fa4-33ef-4dc9-84cc-eb9a6a378216

Version 1.4.1

QA done.


Using Date prevents current day records from being included unless exactly at midnight

If you want to narrow the results you can pass from: or/and to: options. You can pass any valid value of type String, Date, DateTime or Time - it will be transformed to the date format

So this seems to be causing an issue where if a record was created after midnight then a query including today does not contain this record, since created_at is a DateTime.
Is there a particular reason to do the transformation to Date and not allow DateTime?
Or perhaps I missed something and there is some other way to include records created today?

@polomasta very useful suggestion. Support for the DateTime would be a nice feature. Feel free to create the PR or I will do it little later


React FloatingPortal component: Incorrect root node selection for portal rendering

Despite passing a custom root node to FloatingPortal, the portal is still being rendered in the default portal:
<FloatingPortal root={portalNode}> // the passed portalNode is ignored
As a result, the portal is rendered in the wrong location (see attached screenshots).
This is a regression introduced in version<EMAIL_ADDRESS>as a result of this fix:
"fix(FloatingPortal): unconditional rendering with Suspense"
When I replaced the useFloatingPortalNode() function from @floating-ui\react\dist\floating-ui.react.esm.js with the same function from version<EMAIL_ADDRESS>the issue was resolved.
Screenshots
Version<EMAIL_ADDRESS>
Version<EMAIL_ADDRESS>

OS: Windows 10
Browser: Chrome, Firefox
Version: from<EMAIL_ADDRESS>to the last version<EMAIL_ADDRESS>

How are you passing portalNode?

The portalNode is passed as property to the FloatingPortal component:
<FloatingPortal root={portalNode}>
In our case the portalNode is the  element from the other window, that is used as rendering container, but does not contain JS code.

There’s a test for the root prop, and testing locally, the portaled content is injected into the portal node when using a ref or state to pass the element. Are you storing the portal node in state? A reproduction is necessary here to debug.

I am not storing the the portal node in state. It is obtained in this function:
export function getFloatingPortalNode(floatingContext) {
  const ownerDocument = floatingContext?.elements?.domReference?.ownerDocument;
  return ownerDocument?.body;
}

I am using the latest React version 18.3.1.

Ok, this makes sense. When FloatingPortal is rendered in JSX, the root has to be available when it's mounted, otherwise it renders into the body and doesn't update. One workaround is to ensure the FloatingPortal is only rendered when open (conditionally rendered, recommended on the docs), which should cause the root to be available on open, after the trigger's owning body exists
To fix this internally, we could check if root has been specified/is not undefined in order to wait for it to exist before assuming it needs to use the fallback body. In this case, if your function doesn't return null, it will need to be updated to do so for the fix to work.

Excellent work! You correctly diagnosed the issue without needing a reproduction. By simply swapping two lines of code, the problem was resolved:
      <FloatingPortal root={portalNode}>
        {visible && (
          <FloatingFocusManager

=>
      {visible && (
        <FloatingPortal root={portalNode}>
          <FloatingFocusManager

I'm not sure why I didn't consider that initially; perhaps it didn't work as expected in older versions of floating-ui. Thank you very much!


GPII-3327: Update to Beta Stackdriver names.

In my excitement to merge #114, I forgot to do this update that @natarajaya  told me I would need.

LGTM

Looks good, has this been actually tested in the updated form?

LGTM

has this been actually tested in the updated form?

Of course.


Web Components Tutorial design

Task
Design a simple page for the Web components tutorial, so the adopters can learn the basics of how to use Carbon for IBM.com library. The page should contain:

Dotcom shell
2-3 Out of the box components (choose from some top used ones, eg. Table of Contents, Card group, Carousel, maybe showing a Video )
A custom Content block component assembled with our subcomponents
Lead space search, to provide a chance to use API of IBM Docs

Adding a low res screenshot from Slack as an update.

@DragosRistici when the design is ready, please add it to a boxfolder, please remember to include exported image assets used: https://ibm.box.com/s/3tudp91p69ot0y63phmxkfthjsy5krkk

Two related options got uploaded in the Box folder here. One has the horizontal ToC and no Lead space search sticky behavior (they are mutually exclusive), and the other option has no ToC and the sticky behavior for the lead space. Images can be found in the images folder. Custom 4x3 images for sm for Card in card video thumbnail (custom cover) and for the Card section offset Background media image.


Need a new state in Request Manager

Dear Developers,
we need a new state to indicate that a workflow is being worked on, but not ready to be assigned yet. In practice it means that we are transferring data or doing some other preparation. Since no production tools will have to act on this state, the change should be trivial and correspond to work done before a workflow is assigned.
To summarize, we would like to be able to the following state transitions:
assignment-approved -> staging -> assigned
instead of
assignment-approved -> assigned
Thanks,
Dima

Hi Dima,
Is staging required for all workflows?
How does the state transition is made. Is there a script automatically change the transition?

Hi Seangchan,
this state will be used by auto-assignment tools for workflows that need some time-consuming procedure (in reality it's pretty much always data stage-in). This way we will have a clear split between workflows that no one acted on yet and need to be assigned and those that are not assigned because we are doing something.
Dima

@drkovalskyi Dima, can we follow this up here: https://github.com/dmwm/WMCore/issues/9134
?
That issue was supposed to get implemented this month, but I just noticed we'll have to rethink it regarding the PU samples... Let me close this one.


update ESLINT version

Hi, will you be willing to upgrade the ESLINT version used for your wrapper?
Thanks.

It already is. Be sure to update your local node_modules to use it.

Duplicate of https://github.com/adametry/gulp-eslint/issues/131.


Authenticator bugs fixed

This change is

Android 6 thread interrupted exception needs better investigation. The fix was removed from this PR.


[libxml2] Adds conflicts with nvidia compilers.

I dug a bit into libxml2.
Libxml2 never tested their software with pgi and de facto it doesn't work. (I tried several versions)
The versions of libxml2 in spack v0.18.1 are not compatible with nvhpc @21.1: because version 21.1 introduced something that broke compatibility. (A side effects from "enabled via the compiler built-in type __float128") Newer versions of libxml2 are compatible with newer versions of nvhpc though.
I also removed spec<EMAIL_ADDRESS>in Tsa's sysconfig, because IMHO not specifying the compiler, the package was build with, is just tricking spack into thinking it's a match, thus circumnavigating the logic of the concretizer. I think we shouldn't trick spack.
A valid argument against this PR is that one should rather put ^libxml%gcc in the environment. But this means we'd need to put that in every environment that directly or indirectly needs libxml2, which is a lot. Plus it would force every build into using libxml2 %gcc even though a compatible nvhpc might be available and the compiler mixing would be unnecessary.
I think specifying the conflict in libxml2 treats the problem at the root, there's an incompatibility between some versions of nvhpc/pgi and some versions of libxml2.


Use thumbnails downloaded by YoutubeDL in EmbedThumbnailPP

Current EmbedThumbnailPP first downloads the necessary thumbnail, and then merges it into the audio file. Thus in the following invocation:
youtube-dl --verbose --embed-thumbnail --no-overwrite --write-all-thumbnails test:xuite

Thumbnails are downloaded twice. One in YoutubeDL and another in EmbedThumbnailPP. I try to fix the scenario in this PR.
There's a deeper advantage from this fix. I believe all resources needed by postprocessors should be downloaded by YoutubeDL, and my implementation conforms to the principle. I think this principle is helpful for solving the problem mentioned by @dstftw in https://github.com/rg3/youtube-dl/commit/1c7e2e64f6328024711d5fa999d4498396f4cb5c#commitcomment-11157068
There are 2 potential issues in my implementation:

It's always the highest quality thumbnail being embedded. Users may want to embed a lower quality image, but I think it's rare.
If a user invoke youtube-dl consecutively with the 2 following commands:

youtube-dl --verbose --write-thumbnail test:xuite

youtube-dl --verbose --embed-thumbnail test:xuite

A thumbnail is downloaded in the first command but deleted in the second command. This issue can be solved by adding a 'already_exists' field for each thumbnail of info_dict['thumbnails'], but I think such checking makes the code too complicated.
cc: @pulpe Most major work in embedthumbnail.py (and previously atomicparsley.py) are done by you, and I'd like to hear some comments from you.

I like it. Looks much better than before...

LGTM.

Alright merged.


Fix addition overflow in AtomicPosition

Closes #405.

Sorry for the delay. Resolved by doing arithmetic in u128.
FWIW, I would advise avoiding the use of as altogether, for the reasons at https://gist.github.com/SimonSapin/550ada9ebedcd21c41cf4e95891e03d7#not-yet-deprecating-the-as-keyword

That discussion is pretty old at this point, though. Here's a more recent one:
https://internals.rust-lang.org/t/lets-deprecate-as-for-lossy-numeric-casts/16283/45
Note that this talks about deprecating as for lossy casts, which is not what we're doing here.

@djc Thanks for merging. Please let me know when there's another release/pre-release so that I can publish a version of my package which depends on indicatif to crates.io.

I've published rc10.


clouddrive2: 0.7.21 -> 0.8.3

Update clouddrive2 to v0.8.3.
Changelogs: https://github.com/cloud-fs/cloud-fs.github.io/releases
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354273

x86_64-linux

:white_check_mark: 1 package built:

clouddrive2

aarch64-linux

:white_check_mark: 1 package built:

clouddrive2

x86_64-darwin

:white_check_mark: 1 package built:

clouddrive2

aarch64-darwin

:white_check_mark: 1 package built:

clouddrive2


feat: add STRDIAG010 docs

Adds documentation for the new analyzer https://github.com/stride3d/stride/pull/2104
should probably be released with the release of the next stride version which contains the analyzer  as the analyzer links to this site

the PR is merged so this can be merged as well after review

Thank you @IXLLEGACYIXL.


Typo "Teams Room"→"Teams Rooms"

https://docs.microsoft.com/en-us/microsoftteams/rooms/third-party-join
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/blob/live/Teams/rooms/third-party-join.md
#PingMSFTDocs

@cazawideh PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Want ShipStation Webhook API

Can you add ShipStation Webhook APIs?

List Webhooks
Subscribe to a Webhook
Unsubscribe to a Webhook

@ivanadamovic @remy727 @norioumata @markorakic727 added subscibe and unsubscribe endpoints, is there a need for list too?

@ivanadamovic @remy727 @norioumata @markorakic727 added subscribe, unsubscribe and list endpoints to v0.24


problems with Nirodents installation in Docker - Apple Silicon

What happened?
Hi after creating a docker image I am having such error:
(base) bartoszpomierny@MBPBP nirodents % docker run -it bartoszpomierny/fmriprep-rodents:dev
Traceback (most recent call last):
File "/opt/conda/bin/artsBrainExtraction", line 8, in
sys.exit(main())
File "/src/nirodents/nirodents/cli/brainextraction.py", line 131, in main
from ..workflows.brainextraction import init_rodent_brain_extraction_wf
File "/src/nirodents/nirodents/workflows/brainextraction.py", line 17, in
from niworkflows.interfaces.bids import DerivativesDataSink as _DDS
ModuleNotFoundError: No module named 'niworkflows'
What command did you use?
docker run -it

What version of the software are you running?
latest
How are you running this software?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
No response
Additional information / screenshots
No response

You should check if you're running an apple arm docker image or x86_64. Some packages probably don't exist for arm and so the docker container is broken. This is a common apple silicon problem

The dockerfile is in the old style; this needs updating anyway, but niworkflows is indeed missing from this version of the dockerfile

@gdevenyi  yes - linux/arm64 image is set


Publish candidate dDID and attestation in a single ION transaction

Currently the candidate dDID doc + metadata are created, published and then Trustchain-resolved to get the DID document for attestation.
Instead we should be able to go directly from the created dDID doc + metadata to the Trustchain-resolved form, without publishing in between.
This would make the process of dDID creation simpler, quicker and cheaper.

Closing as obsolete.


Cannot access tape drive out of container

Hello, I know this is a very unusual case of use. I'm running a Proxmox server which has a tape library directly plugged into an HBA. I set up the cgroup mapping of /dev/sg0 to /dev/sg12 to avoid any issues. That's the first thing I had to do to get further output. However, now I'm getting this message:
75 LTFS17089I Distribution: . 75 LTFS17089I Distribution: NAME="Arch Linux". 75 LTFS14063I Sync type is "time", Sync time is 300 sec. 75 LTFS17085I Plugin: Loading "sg" tape backend. 75 LTFS17085I Plugin: Loading "unified" iosched backend. 75 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection. 75 LTFS30209I Opening a device through sg-ibmtape driver (0). 75 LTFS30288I Opening a tape device for drive serial 0. 75 LTFS12012E Cannot open device: failed backend open call. 75 LTFS10004E Cannot open device '0'.
It seems to fail to open some device. I sadly don't know what else it needs to access to work properly.
I'll happily provide further information if needed.

It looks a command line that you specified is wrong because LTFS tried to open device file 0.
Could you provide your command line typed in ?

I've just been running sudo ltfs -o list_devices out of the bash

I've just been running sudo ltfs -o list_devices out of the bash

I don't think so, device name 0 never used in sg backend at all...
75 LTFS17089I Distribution: .
75 LTFS17089I Distribution: NAME="Arch Linux".
75 LTFS14063I Sync type is "time", Sync time is 300 sec.
75 LTFS17085I Plugin: Loading "sg" tape backend.
75 LTFS17085I Plugin: Loading "unified" iosched backend.
75 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
75 LTFS30209I Opening a device through sg-ibmtape driver (0).
75 LTFS30288I Opening a tape device for drive serial 0. 75 LTFS12012E Cannot open device: failed backend open call.
75 LTFS10004E Cannot open device '0'.

I'm really confused because I cannot imagine what is going on your side from your description.

Please describe the detail of what you want to do

From the title, you are trying to use LTFS in a container but device itself is attached to the host machine of the container. Is it correct?

As I mentioned, I believe LTFS never try to open device file named 0 in Linux environment. Please provide a entire screen capture. It shall be like below.

# ltfs -o device_list
50c4 LTFS14000I LTFS starting, LTFS version <IP_ADDRESS> (10022), log level 2.
50c4 LTFS14058I LTFS Format Specification version 2.4.0.
50c4 LTFS14104I Launched by "/home/piste/ltfsoss/bin/ltfs -o device_list".
50c4 LTFS14105I This binary is built for Linux (x86_64).
50c4 LTFS14106I GCC version is 4.8.5 20150623 (Red Hat 4.8.5-11).
50c4 LTFS17087I Kernel version: Linux version 3.10.0-514.10.2.el7.x86_64<EMAIL_ADDRESS>(gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Mon Feb 20 02:37:52 EST 2017 i386.
50c4 LTFS17089I Distribution: NAME="Red Hat Enterprise Linux Server".
50c4 LTFS17089I Distribution: Red Hat Enterprise Linux Server release 7.3 (Maipo).
50c4 LTFS17089I Distribution: Red Hat Enterprise Linux Server release 7.3 (Maipo).
50c4 LTFS17085I Plugin: Loading "sg" tape backend.
Tape Device list:.
Device Name = /dev/sg43, Vender ID = IBM    , Product ID = ULTRIUM-TD5    , Serial Number = 9A700L0077, Product Name = [ULTRIUM-TD5] .
Device Name = /dev/sg38, Vender ID = IBM    , Product ID = ULT3580-TD6    , Serial Number = 00013B0119, Product Name = [ULT3580-TD6] .
Device Name = /dev/sg37, Vender ID = IBM    , Product ID = ULT3580-TD7    , Serial Number = 00078D00C2, Product Name = [ULT3580-TD7] .

Sure, I'll do that. The list_devices has been my fault, sorry for that. Now I'm not getting the error anymore after typing it correctly.
I have also solved my second problem. The HBA has been passed through into a virtual machine which I have shut down a day before. The HBA however has not been remounted in the Host. So there was nothing being passed through into the container because it was not available in the Host in that moment of time.
I did a reboot on the Host, now the tape drive shows up correctly.
75 LTFS14000I LTFS starting, LTFS version <IP_ADDRESS> (10502), log level 2.
75 LTFS14058I LTFS Format Specification version 2.4.0.
75 LTFS14104I Launched by "ltfs -o device_list".
75 LTFS14105I This binary is built for Linux (x86_64).
75 LTFS14106I GCC version is 13.2.1 20230801.
75 LTFS17087I Kernel version: Linux version 6.5.11-8-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-8 (2024-01-30T12:27Z) i386.
75 LTFS17089I Distribution: .
75 LTFS17089I Distribution: NAME="Arch Linux".
75 LTFS17085I Plugin: Loading "sg" tape backend.
Tape Device list:.
Device Name = /dev/sg13 (<IP_ADDRESS>), Vendor ID = IBM     , Product ID = ULTRIUM-HH6     , Serial Number = 90WT126589, Product Name =[ULTRIUM-HH6].


shannon edits to draft

Most edits suggested are minor line-edits.
My four additional thoughts:
Data Science in Practice  is there need for distinction here between the class name and the materials in the JOSE paper? We currently refer to both by the same name in the JOSE paper, and I'm a tad concerned about clarity. Even if we were to change spacing, where JOSE materials we refer to as DataScienceInPractice may help?
"motivating the focus here on materials that are embodied and available in code" <- I'm not sure totally what this phrase meant, so I wasn't able to suggest a helpful edit
"workable assignments" -> petition to change 'workable' to 'guided' (although, you may have intentionally chosen workable, so again wanted to raise here rather than directly in draft)
"This serves as a complement to many other resources dedicated more specifically to technical skills, and aims to contextualize the interdisciplinary nature and practical components of working with real world data." <- I found the wording here confusing. Happy to come up with edits, if helpful, but leaving this vague note for now.

Data Science in Practice is there need for distinction here between the class name and the materials in the JOSE paper? We currently refer to both by the same name in the JOSE paper, and I'm a tad concerned about clarity. Even if we were to change spacing, where JOSE materials we refer to as DataScienceInPractice may help?

Ahh, good point! I guess in my mind it was "public-DSIP" and "class-DSIP", but that's not so obvious at all. We could lean into the organization names, and in the JOSE paper refer to DSIP (the public site), and when we talk about the actual class, call it "COGS108"?

"motivating the focus here on materials that are embodied and available in code" <- I'm not sure totally what this phrase meant, so I wasn't able to suggest a helpful edit

It's word salad for trying to say "motivating code (more hands-on), over like, slides". I'll edit!

"workable assignments" -> petition to change 'workable' to 'guided' (although, you may have intentionally chosen workable, so again wanted to raise here rather than directly in draft)

Yeh, I think guided is a good word, I'll edit. By 'workable' I meant something like "you can do something with them" (as in, work on them, not just look at them - because otherwise the Tutorials are still just "looking" and not so much "doing". I'll edit.

"This serves as a complement to many other resources dedicated more specifically to technical skills, and aims to contextualize the interdisciplinary nature and practical components of working with real world data." <- I found the wording here confusing. Happy to come up with edits, if helpful, but leaving this vague note for now.

More word-salad! I'll edit!

just a procedural note - to manage things, I'm going to merge this is to accept these changes, and then manually update for Brads comments, and come back to the other comments you raised, and address them after.


[Candidate Fun Mortal_Temptation [WBC2020]] Stylized map preview image does not fit overall style of map preview images

Issue Description
Stylized map preview image does not fit overall style of map preview images.
Expected behavior
Map preview image looks more like regular map preview.
Screenshots

I have added the original preview image, but it doesn't look nice at all compared to the one above, maybe something in between could be done, because looking at the original just looks bad after looking at the new one.
Uploading Mortal_Temptation [WBC2020].zip…

Uploading Mortal_Temptation [WBC2020].zip…

Mortal_Temptation [WBC2020].zip


unnecessary 'cat'

This is an unnecessary use of 'cat'
cat` /etc/ufw/ufw.conf | sed 's/ENABLED=no/ENABLED=yes/g' > ~/ufw.conf
chmod 0644 ~/ufw.conf
mv -f ~/ufw.conf /etc/ufw/ufw.conf

and can be replaced by the much simpler
sed -i.bak 's/ENABLED=no/ENABLED=yes/g' /etc/ufw/ufw.conf
chmod 0644 /etc/ufw/ufw.conf

which also backs up the existing version (once)

Thanks I have added the change!  : )


Zend-Feed Reader : Not rendering RSS 0.91 throwing an exception

Hi Team,
Rendering of this rss feed fails http://www.brainyquote.com/link/quotefu.rss
zend-feed reader throwing and exception.
Code to reproduce the issue
Use zend feed reader to get the feed entries from  https://www.brainyquote.com/link/quotefu.rss
$feed = Zend\Feed\Reader\Reader::import('https://www.brainyquote.com/link/quotefu.rss');
$data = [
    'title'        => $feed->getTitle(),
    'link'         => $feed->getLink(),
    'dateModified' => $feed->getDateModified(),
    'description'  => $feed->getDescription(),
    'language'     => $feed->getLanguage(),
    'entries'      => [],
];

Expected results
Ideally it should not fail as the feed source is in rss 0.91 format.
Actual results
[2018-03-27 00:00:40] production.ERROR: exception 'Zend\Feed\Reader\Exception\InvalidArgumentException' with message 'Invalid XML: Detected use of illegal DOCTYPE' in /home/example/vendor/zendframework/zend-feed/src/Reader/Reader.php:328
Stack trace:
#0 /home/example/vendor/zendframework/zend-feed/src/Reader/Reader.php(266): Zend\Feed\Reader\Reader::importString('<!DOCTYPE rss P...')
Zend\Feed\Reader\Reader::import('https://www.brainyquote.com/link/quotefu.rss')

The feed is valid:
https://validator.w3.org/feed/check.cgi?url=https%3A//www.brainyquote.com/link/quotefu.rss
The problem is the if construct:
https://github.com/zendframework/zend-feed/blob/54feb89055a9558c1b7bed43b78d5de26fcaf160/src/Reader/Reader.php#L324-L332
We need an unit test for this type of feed.

@rajjanorkar
Thanks for reporting!

@froschdesign  whats the issue? sorry but i did not get it. Please guide me and i will fix it.

there is one more use here
https://github.com/zendframework/zend-feed/blob/54feb89055a9558c1b7bed43b78d5de26fcaf160/src/Reader/Reader.php#L442-L450

The XML declaration in the feed is missing, this is the problem and zend-feed checks for this.

ohh okay, thank you. I think it needs some expert intervention like you to fix this issue.

Sorry the labels for this issue are wrong. The current behaviour of zend-feed is correct and the problem is clearly, because a XML documents should begin with a XML declaration.
But it can be an improvement if we accepted / ignore this kind of problem. On the other hand, this opens the door for subsequent errors in parsing and handling of the entire feed.

I will close this issue here, because there are some interesting feature requests still open and accepting this type of error ends up in a mess.

Please feel free to add ideas or comments to solve this problem easily or improve the handling!

@rajjanorkar
The XML declaration in the feed is missing but you can add it yourself:
$dom = new DOMDocument();
$dom->load('http://www.brainyquote.com/link/quotefu.rss');
$feed = Zend\Feed\Reader\Reader::importString(
    $dom->saveXML($dom->documentElement) // adds the missing XML declaration
);

Hi @froschdesign thank you so much for the answer.
i am wondering is there easy way to detect XML declaration is missing or not? Cause those missing XML declaration are very rarer.

@rajjanorkar
For clarification: a XML document doesn't need a XML declaration, but it should begin with it.
However, to prevent an XXE injection attack, the zend-feed reader checks if a child node of the document is a "document type definition".
Without the XML declaration your feed contains a child node of the type DOMDocumentType.
With the XML declaration your feed only contains the child node rss which is a DOMElement.

i am wondering is there easy way to detect XML declaration is missing or not?

Please use the forum for further questions. Thanks!


Desktop version

Project requirements

You need to make sure that your desktop version looks like the one in the Figma design template that you chose. We've included a screenshot of Template 1 below for you to refer to, but you should use the chosen template.

IMPORTANT NOTE Some Figma design templates include two input fields (for first name and last name) in the desktop version and one input field (for full name) in the mobile version (look for those cases in Contact me or Get in touch sections). Please ignore this part of the design template and use only one input for the full name for all versions.

Use media queries in your CSS file to make your desktop version look like the template you selected (Desktop: >=768px).

In order to lay out the elements on the page you should use Grid and Flexbox.

You don't need to implement any functionality that requires JavaScript.

You must replicate the design as much as possible (e.g., font, colors, images, text, margins) using the info from the Figma templates.

@usorfaitheloho I believe that maybe you checked out a past pull request because the images you added are how it looked when I haven't finished the project, or I'm not sure what's going on, also I got the key features added too, and you told me that they aren't there...


[Profile] Expand text blocks for detailed information

#299
The profile page contains text blocks that can be expanded for detailed information.
Task

The text block is filled with the leading part of the full information (appr. 6 rows).
The leading part has to be cut to the end of the previous sentence ('.' character) or to the context of the sentence (e.g. ',' character) in such a way that the content of the text does not cause ambiguous interpretation or prohibited content.
The leading part should be completed with "Читати далі" link.
The click on "Читати далі" would provide the view of all the text.
The expanded state is not stored. The next time the user opens the page, it will be collapsed again.

Second point wasn't implemented as AntDesign doesn't provide such functionality.


116-be/deleted-bitstreams-cannot-be-imported

…ll, use default value.

Phases
MP
MM
MB
MR
JM
Total

ETA
0
0
0
0
0
0

Developing
0
4
0
0
0
0

Review
0
0
0
0
0
0

Total
-
-
-
-
-
0

ETA est.

0

ETA cust.
-
-
-
-
-
0

Problem description
Reproduce the error was a little bit hard.

Why don't you use log.debug? Wouldn't it be better than log.info?

These logs will be deleted, it's only for possible error during importing bitstreams


AssertionError in BA Set and cVal set computation

What: AssertionError.
I get the following error
Traceback (most recent call last):
  File "/root/symbolic_planning/src/main.py", line 225, in <module>
    regret_synthesis_handle.solve(verbose=False, just_adv_game=False, run_monitor=True, monolithic_tr=MONOLITHIC_TR)
  File "/root/symbolic_planning/src/src/symbolic_graphs/strategy_synthesis_scripts/franka_symbolic_regret_main.py", line 157, in solve
    self.graph_of_utls_handle.get_best_alternatives(mod_act_dict=self.mod_act_dict,
  File "/root/symbolic_planning/src/src/symbolic_graphs/symbolic_regret_graphs/symbolic_graph_of_utility.py", line 460, in get_best_alternatives
    assert self.ba_set.issubset(self.leaf_vals), f"Error computing set of beat alternatives. The BA set: [{self.ba_set}] should be a subset of utility values [{self.leaf_vals}]"
AssertionError: Error computing set of beat alternatives. The BA set: [{1.0, 3.0, 4.0, 5.0}] should be a subset of utility values [{1, 3, 4}]

When: running  a simple 2 block 5 loc example with weighting_factor=3 for Regret Synthesis code with and without Monolithic TR flag set to true.
Why: The cause of the problem is this line. Is this logic correct?
Problem File:
(define (problem dynamic_only_franka_world) (:domain dynamic_franka_box_world)
(:objects

    ;;;;; Locs where only the robot can operate ;;;;;

    l0 - box_loc
    l1 - box_loc

    ;;;;; Locs where the robot & human can operate ;;;;;
    ; NOTE: The way pyperplan parses the PDDL file, you need atleast two human locs to construct `human-move` action

    l6 - hbox_loc
    l7 - hbox_loc
    ;l8 - hbox_loc

    b0 - box
    b1 - box
)

;todo: put the initial state's facts and numeric values here
(:init
    (ready else)

    (on b0 l0)
    (on b1 l6)

)

(:goal
(and
    (on b0 l0)
))

)

The code works correctly without the assertion  (Link).
Should this line be removed?


images with invalid timestamp don't get cropped

Currently this is a manual process, which we'll need to automate:
for f in GRMN????.JPG
do
[ -f ${f%.JPG}-cropped.jpg ] || echo $f $(cat ${f%.JPG}.txt)
done > InvalidTimestamps.txt
cp InvalidTimestamps.txt ManualTimestamps.txt
manually correct timestamps in ManualTimestamps.txt based on visual inspection of images
while IFS='' read -r LINE || [ -n "${LINE}" ]; do
f=$(echo ${LINE} | cut -d' ' -f 1)
echo $f ; echo ${LINE} | cut -d' ' -f 2- > ${f%.JPG}.txt
done < ManualTimestamps.txt
comment out OCR steps in script
while IFS='' read -r LINE || [ -n "${LINE}" ]; do
f=$(echo ${LINE} | cut -d' ' -f 1)
echo $f ; ~/Work/projects/dashcamutils/tag-images.py $f
done < ManualTimestamps.txt

add tool to check format of manually corrected timestamps


[Purify] Update author

Description
Updating author to opensearch-project.
Signed-off-by: Kawika Avilla<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Any update on this?


sitesidebar shows tags from draft pages

Using Theme::plugins('siteSidebar') to show plugins content in sidebar shows tag list containing those from draft pages. Checked twice to be sure.
After searching through issues I found that this bug should be fixed in v2.0 https://github.com/bludit/bludit/issues/274 but it seems to be a regress.
Tags plugin grabs tags from tagsDB, which contains all pages urls and tags only.
Shouldn't tagsDB contain also page type to filter out unneeded tags?
Also tags from static pages are in, but imo they shouldn't.

I fixed the bug and created an array with the type of pages allowed in the database, by default the types are published, sticky and static.
https://github.com/bludit/bludit/commit/185ae093932d9f5638b8ccde542d5a6835b6cb59

Checked with latest updates and works as supposed.


API issues

Consistency issues in the API should be written here :
Formatting
claim_show - nout of claims are returned as "n", wherer "nout" is used elsewhere. Needs fix from lbryum call.
Remove
upload_log - deprecated, should be removed
log - deprecated, should be removed
get_nametrie - not useful, should be removed
get_mean_availability - not useful, should be removed
reveal - not used in electron
open - not used in electron
Rename
send_amount_to_address - should be renamed to wallet_send
resolve_name - should be renamed to resolve
reveal - should be renamed to file_reveal
get_availability - should be renamed to resolve_availability , and resolve anything

@kaykurokawa how much of this is done?


[Bug Report] Uncaught TypeError: Cannot read property 'error' of undefined

Element UI version
2.2.2
OS/Browsers version
65.0.3325.162 chrome
Vue version
2.5.2
Reproduction Link
https://github.com/Demon-HY/ControlSituation/tree/master/web/ControlSituationWeb
Steps to reproduce
main.js
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);
Vue.$message.error('test');
What is Expected?
run ok
What is actually happening?
Error: Uncaught TypeError: Cannot read property 'error' of undefined

Vue.prototype.$message.error('test')

Can not be accessed through Vue.$message.error('test')?

No you can't. Because it's registered on Vue.prototype.

why? There is no annotation on the document. http://element.eleme.io/#/zh-CN/component/quickstart

Because it's registered on Vue.prototype

thank you!


Check for proxy container if kube-proxy is not present

What this PR does / why we need it:
This PR modifies the GetContainerCommand and GetContainerID util functions to be variadic and accept more than one possible container name for matching. Along with those modifications, rules that utilize the functions (242400, 242447, 242448) are also modified to search for "proxy" containers if "kube-proxy" containers are absent. Additional unit tests are added to validate the new modification.
Which issue(s) this PR fixes:
Fixes #314
Special notes for your reviewer:
NONE
Release note:

A bug causing DISA Kubernetes STIG rules that check the `kube-proxy` container to fail to find the container, when the container name is `proxy`, was fixed.

/assign


package.json: Move uuid to the correct section

Fixes a small mistake done in #40.

@davidvgalbraith

Oops. Thanks.


TensorFlow Serving Examples

In preparation for a blog on TensorFlow Serving, move the example
code to an external github repo.
movie_reviews_training.py - trains the model to be served.
rest_client.py - Example REST client interface request.
grpc_client.py - Example gPRC client interface request.
batch_rest_client_example.py - Example batch interface request.

@jayfurmanek , can you review/approve? And does @dllehr81 do the merge?

movie_reviews_training.py was based off of: https://github.com/tensorflow/docs/blob/master/site/en/r2/tutorials/keras/basic_text_classification.ipynb
I converted it into a python program with arg parsing and a main. And I named the input and output layers and added a line to save the model.

OK. Since you made changes, add an additional IBM header as well, similar to the others.

I add the IBM copyright to movie_reviews_training.py


[WIP] #3474

Resolves #3474 When we have an error on updating an organization, we do not show the error details
Description
Added descriptive error messages to updating organizations.
Type of change

Error handling

How Has This Been Tested?

wip

Screenshots

Hey @lokisk1155 -- Thanks for this -- it should reduce user frustration.  One admin thing from me:   In future, could you put a short description  as well as the issue number in the title --  It just helps the reviewers when they are skimming the list for things that they should be reviewing (we have different strengths)

Hey @lokisk1155 -- Thanks for this -- it should reduce user frustration. One admin thing from me: In future, could you put a short description as well as the issue number in the title -- It just helps the reviewers when they are skimming the list for things that they should be reviewing (we have different strengths)

no problem!

Looks like some tests were assuming a true/false result from the OrganizationUpdateService.update call that need to be updated. But also there are some tests that indicate the valid? method might have been doing more than the model-level validations somehow.

Looks like some tests were assuming a true/false result from the OrganizationUpdateService.update call that need to be updated. But also there are some tests that indicate the valid? method might have been doing more than the model-level validations somehow.

Yes! This is very interesting lol! Before I revise tests on the validations I want to get to the bottom of "valid?"

I don't see the spec for the new specific error messages.

@jadekstewart3 I don't think there should be specs added to check the validations themselves as they exist on the organization's model. A little redundant..?

@cielf @awwaiid Hi guys I am going to give it a final review on my end later tonight, but it is ready for review. I am changing a lot of tests

@dorner here is a video of my issue with render :edit.  My only thought is to render a custom path?

@dorner
Recreation Steps

login as<EMAIL_ADDRESS>(password: password!)
Click "name not provided" at top right (opens drop down)
Click my_organization
Scroll down and click edit
Make name empty and click save
/edit will disappear from url

What I have tried:

Redirecting to the URL which works correctly but loses the users changes
Attempted many different syntaxes: render action: :edit ,  status: :unprocessable_entity
Refactoring edit route to have its own namespace
3b: then attempted this with a custom template
Disabled Javascript - No interference on form
Disabled turbo on form
5a. Added specific URL and action to the form

@lokisk1155 sorry for all the back and forth. It's totally fine that the /edit disappears from the page. In "non-Turbo" world, the user could refresh and get a prompt "do you really want to resubmit?". In Turbo world that prompt doesn't work, so basically all we're missing here is that if the user refreshes they're going to get an error page. However, if they click "back" from the error page, they'll get back what they previously entered, so they should be fine.
Scouring the internet didn't turn up any better solution to this unfortunately. We could turn off Turbo entirely for this page, which probably would be a better experience to be honest. Might be worth posting on the Hotwire forums to see if anyone has any other ideas here.

@dorner sounds good, for this PR I will clean the code up for my changes to be approved then. I will talk to @cielf about opening a new issue for the url being lost, I don't think turning turbo off for this would be ideal as users are probably not refreshing that often, and if they do clicking back will fix the routing error.

@dorner Things are looking good on my end here!

@lokisk1155, @dorner If I understand the problem with the /edit disappearing from the page correctly,  it sounds like it would be not very much gain  for an undetermined amount of work.
Given that we have on the order of 130 open issues (including those that are in the backlog for getting written up to the point that a developer can work on them), I would vote for slotting  that problem into the "Won't Do" pile, because the cost in volunteer hours to benefit-to-the-banks  ratio is high.


A lot of linked devices in Google Home

Hello !
I configure Google Assistant Integration (https://www.home-assistant.io/integrations/google_assistant/) and configure Google Assistant SDK Addon. And it works well together.
But after each reboot of my Raspberry Pi, in Google Home app (android) adds a link device which names like device i configured in Google Project for Google Assistant SDK
Is it possible to delete this linked devices from Google Home app/account? and not add it after each reboot of Raspberry Pi?
Platform: Raspberry Pi 4
System: Raspbian Buster
Hass: HassIO 0.109.3 installed in Docker
Google Assistant SDK Addon v2.3.2

Thank you for reaching out.  We use GitHub for tracking issues, not for providing support.
If you are in need of support, you should try our Community Forum or join our Discord chat server.
You are more likely to get the answer you are looking for in those places.
Thanks! 👍


Missing remove role from user

Hello,
am I wrong or there is no method defined to remove one or more roles assigned to an user?
Any implementations hints?
Thank you.

Hi @mliguori,
You are quite right, I didn't define way to remove a UserToRole but its pretty simple - you delete the appropriate UserToRole, e.g.
var userRoleToDel = context.Find<UserToRole>(userId, roleName);
context.Remove(userRoleToDel);
context.SaveChanges();


Feature/#112

fixes #112

Yeah not sure what to do about this

Need to possibly check out the repo else where and just do a copy/paste in the dir? Then push it from that repo. Files will be same just history won't be conflicted.

Yeah good idea, just merged with master so should work


New version: ImageUtils v0.1.1

Registering package: ImageUtils
Repository: https://github.com/tknopp/ImageUtils.jl
Created by: @tknopp
Version: v0.1.1
Commit: 921fdf8b4ce1ca0360e4859154bde9b6577122c4
Reviewed by: @tknopp
Reference: https://github.com/tknopp/ImageUtils.jl/commit/921fdf8b4ce1ca0360e4859154bde9b6577122c4#commitcomment-35532611

Your new version pull request does not meet all of the guidelines for automatic merging.
Specifically, your pull request does not meet the following guidelines:

The following dependencies do not have a compat entry that has an upper bound: Interpolations, FixedPointNumbers, ImageMetadata, AxisArrays, ColorVectorSpace, Images, ImageMagick, Colors, FileIO, ImageCore, Unitful, ImageAxes, Reexport, FFTW

It is important to note that if your pull request does not meet the guidelines for automatic merging, this does not mean that your pull request will never be merged. It just means that your pull request will require manual review by a human.

These guidelines are intended not as requirements for packages but as very conservative guidelines, which, if your new package or new version of a package meets them, it may be automatically merged.

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]

Please add compatibility bounds for the next release such that it will be automatically merged.

Is this for upper or also for lower bounds?

Both.


Fix CVE-2024-52338 in ceph and libarrow for 3.0

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[ *] The toolchain has been rebuilt successfully (or no changes were made to it)
[ *] The toolchain/worker package manifests are up-to-date
[ *] Any updated packages successfully build (or no packages were changed)
[ *] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[ *] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[ *] All package sources are available
[ *] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[ *] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[* ] All source files have up-to-date hashes in the *.signatures.json files
[* ] sudo make go-tidy-all and sudo make go-test-coverage pass
[ *] Documentation has been updated to match any changes to the build system
[ *] Ready to merge

Summary

Fix CVE-2024-52338 in ceph and libarrow by patching
Change Log

ceph
libarrow

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-52338

Test Methodology

Local build sucessful

Pipeline build id: in-progress
-ceph - https://dev.azure.com/mariner-org/mariner/_build/results?buildId=688730&view=results
libarrow - https://dev.azure.com/mariner-org/mariner/_build/results?buildId=688731&view=results

Auto cherry-pick results:

3.0-dev :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/11374

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=691404&view=results


[Q] How to add custom setter

Is it ok if I add a custom setter backed by a private field in a SQLite backed class?
Particularly I want a property, let's say the property Checked, that additionally to changing its value in the database when set, will also update the value in a second property with the modification time, in this case the updated property would be Modified.
public class MyTable
{
	[PrimaryKey, AutoIncrement]
	public int ID { get; set; }
	public bool Checked { get; set; }
	public DateTime Modified { get; set; }
}

Hi.
Despite I didn't try it myself, I don't see why it couldn't work. Unless some internal sqlite-net-pcl behavior prevents that, I would have tried this:
public class MyTable
{
	private bool checked;

	[PrimaryKey, AutoIncrement]
	public int ID { get; set; }
	public bool Checked
	{
		get => checked;
		set
		{
			checked = value;
			Modified = DateTime.Now;
		}
	}
	public DateTime Modified { get; set; }
}

Have you tried since then ?

@cisoun I tried what you suggested, but there is some kind of recursion in my code that is preventing it to work. At least that my guess. I'll try to isolate the code that is causing the issue. What I ended up doing was this:
public class MyTable
{
	[PrimaryKey, AutoIncrement]
	public int ID { get; set; }
	public bool Checked { get; set; }
	public DateTime Modified { get; set; }

	public void SetChecked(bool checked)
	{
		Checked = checked;
		Modified = DateTime.Now;
	}
}

Then I just set the property like this SetChecked(true)
Thanks for taking a look into this :)

Yes, that's actually a better solution and I'm ashamed I forgot about that...
Cheers !

 public class MyTable
 {
    [PrimaryKey, AutoIncrement]
    public int ID { get; set; }
    public bool Checked { get; set; }
    public DateTime Modified { get; set; }

    public void SetChecked(bool checked)
    {
    	Checked = checked;
    	Modified = DateTime.Now;
    }
}

This is the right thing to do since sqlite-net use the setter when rehydrating the data. With the backing field version, you might or might not find yourself with a wrong Modified value depending on the order of setter's call inside the rehydration phase since the Modified data is also part of the data structure in the DB.
Sqlite-net requires for a property to be mapped in the database to have both the setter and the getter public and to not have the Ignore attribute. If you want to have a decent amount of logic and/or have data encapsulation from a class user point of view, you might want to wrap it in a proxy like this:
public class MyTableProxy
{
    private MyTable _data;

    public MyTableProxy(MyTable data)
    {
        _data = data;
    }

    //  Property forwarding
    public int ID { get => _data.ID; set => _data.ID = value }

    //  Because Modified should only be modified when Checked for example
    public DateTime Modified => _data.Modified;

    //  Add some logic here for Checked and Modified
    public bool Checked
    {
        get => _data.Checked;
        set
        {
            _data.Checked = value;
            _data.Modified = DateTime.Now;
        }
    }

    //  Just for convenience...
    public static implicit operator MyTable(MyTableProxy proxy) => proxy._data;
}

Hope this helps!

@Weldryn thanks, I like the approach with a proxy.


Microsoft.Build: netstandard2.0 instead of netcoreapp2.0

It's harder for projects to depend on us if we're netcoreapp2.0, because
they must themselves be .NET Core specific rather than netstandard.
We only need to be netcoreapp2.1, though--in 2.0 mode we can be
netstandard.

That cannot be related
@dotnet-bot test Windows_NT Build for CoreCLR please


How to use the code?

Dear @cuge1995 ,
We greatly appreciate your interest. We are pleased to announce that our code has been recently released and is now available at https://github.com/Anything-of-anything/Anything-3D/tree/main/AnyObject3D. We kindly invite you to take a look.
Best regards,


Manage App Service - Extracted to a Task Group as Parameters, the Slot Resource Group & Name fields do not populate from Azure.

Environment

VSTS

Account: mssc
Project: MatRv2
Release:

DefinitionId: 52
EnvironmentId: 92

Agent

Queue: Hosted VS2017

Issue Description
When the App Service Manager task is part of a Task Group, with Parameters for Azure Connection, App Service Name, Slot Resource Group, and Slot Name, the latter 2 are not populated from Azure.
Prior to being in a Task Group they populate just fine.
(To be honest, I didn't even expect this to be a feature, but was happily surprised!)

@JoeBrockhaus AzureConnectionGuid seems different from task UI {Azure subscription}. Are you using custom task ? We never supported pre-populate Slot Resource Group and Slot Name. Can you please share the log at<EMAIL_ADDRESS>

@JoeBrockhaus , I am closing the issue. Please feel free to reopen the issue or contract us<EMAIL_ADDRESS>if you are still facing the issue

Sorry for delayed response. This is a set it and forget it kind of issue for me, but I ran across it again.
Steps to Reproduce:

Add a Manage App Service Task to a Release.
Select an appropriate Azure Connection.
As you work your way through the configuration, you'll find that all 3 of the following fields will auto-populate:

App Service Name
Slot Resource Group
Slot Name

Extract the Task as a Task Group.
Create Task Properties for the necessary Task fields (Azure Connection, Service Name, Slot Resource Group, Slot Name, etc)
Save Task Group and return to the Release.
Configure the Task Group: Select an appropriate Azure Connection.
As you work your way through the configuration, only the Azure Connection &  App Service Name fields will auto-populate.
Slot Resource Group & Slot Name do not populate as they do when they are a normal Task.


Sync AudioServer & AudioDriver buffer sizes and fix latency inaccuracies

This is a rebase of  #38280 with some style fixes and slight changes all around. More accurately I reapplied all changes by hand, so if you've previously reviewed that PR please still look carefully at this one.
Please review paying special attention to any assumptions that may have been made about the buffer size in the AudioServer being 1024, and more recently 512. According to Ben and another developer in the comments of # #38280 it sounds like this change or some variation of it has been used in at least one shipped title, but I worry that (as an example) perhaps there's an FFT in one of the AudioEffects that will break when passed a non-power-of-two by an AudioDriver that chooses to only allocate 500 samples instead of 512, or something.
Overall this change will be an incredible help for developers that need low-latency audio, since before the AudioServer limited latency to at least the length of its hardcoded buffer.

Reduz mentioned in rocket.chat that we should be talking to the audio system in each driver to determine the latency, and that this method of calculation isn't accurate enough to be acceptable. I'm considering splitting this into two PRs. One to make the buffer size impacted by the latency parameter, and the other to make get_latency behave correctly. The second goal will be much more difficult for me, since I can't really test all platforms easily.


bf/is_popup_pages

After refactoring is_popup variable is missing in context of render_admin_rows.
So raw_id_field with Page model does not work.

Coverage remained the same at 82.519% when pulling f4e2c68f4731a2fe6c70ba303ee62d6413fa9e19 on Air-Mark:bf/is_popup_pages into ac41c3defde7abb3242e516d84ca80f701871ded on divio:release/3.4.x.

@yakky I don't think this needs to be backported, the refactors mentioned where done on 3.4.x only.

Coverage remained the same at 82.519% when pulling 48ba718670467b4cec2dd528497f6c0f0bf94a83 on Air-Mark:bf/is_popup_pages into ac41c3defde7abb3242e516d84ca80f701871ded on divio:release/3.4.x.


[BUG] onedrive not accepting spaces on folder names.

What is your rclone version (eg output from rclone -V)
rclone v1.36
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux carlos-pc 4.10.6-1-MANJARO #1 SMP PREEMPT Sun Mar 26 19:17:24 UTC 2017 x86_64 GNU/Linux
Which cloud storage system are you using? (eg Google Drive)
OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
This bug is reproducible using any command that contain one folder with spaces, example:

$ rclone lsd onedrive:'/Plex/TV Shows/'
2017/03/28 16:55:37 directory not found

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

$ rclone lsd onedrive:'/Plex/TV Shows/' -vv
2017/03/29 19:24:46 DEBUG : rclone: Version "v1.36" starting with parameters ["rclone" "lsd" "onedrive:/Plex/TV Shows/" "-vv"]
2017/03/29 19:24:48 INFO  : One drive root 'Plex/TV Shows': Modify window is 1s
2017/03/29 19:24:48 directory not found

And to prove that this folder actually exists:
$ rclone lsd onedrive:'/Plex/' -vv
2017/03/29 19:25:32 DEBUG : rclone: Version "v1.36" starting with parameters ["rclone" "lsd" "onedrive:/Plex/" "-vv"]
2017/03/29 19:25:34 INFO  : One drive root 'Plex': Modify window is 1s
2017/03/29 19:25:34 DEBUG : One drive root 'Plex': Reading ""
2017/03/29 19:25:34 DEBUG : One drive root 'Plex': Finished reading ""
          -1 2017-03-27 23:17:06         2 Animes
          -1 2017-03-28 03:27:48         7 Movies 2D
          -1 2017-03-28 03:27:48         2 Movies 3D
          -1 2017-03-26 18:36:43         3 TV Shows
2017/03/29 19:25:34 DEBUG : Go routines at exit 6
2017/03/29 19:25:34 DEBUG : rclone: Version "v1.36" finishing with parameters ["rclone" "lsd" "onedrive:/Plex/" "-vv"]

More informations about this bug:
https://forum.rclone.org/t/directory-not-found-even-though-it-exists
https://forum.rclone.org/t/oddity-with-one-drive-and-spaces-in-folder-names

I haven't quite managed to replicate your exact problem, but there is clearly something weird going on!
$ rclone copy -v Dir onedrive:Dir
2017/03/30 10:40:36 INFO  : One drive root 'Dir': Modify window is 1s
2017/03/30 10:40:36 INFO  : One drive root 'Dir': Waiting for checks to finish
2017/03/30 10:40:36 INFO  : One drive root 'Dir': Waiting for transfers to finish
2017/03/30 10:40:37 INFO  : Sub Dir/test.txt: Copied (new)
2017/03/30 10:40:37 INFO  :
Transferred:      6 Bytes (3 Bytes/s)
Errors:                 0
Checks:                 0
Transferred:            1
Elapsed time:        1.9s
$ rclone lsd onedrive:'/Dir/'
          -1 2017-03-30 09:40:38         0 Sub Dir
          -1 2017-03-30 09:40:39         1 Sub+Dir

If I run the integration tests they fail with lots of errors like this
	            	expected: []string{"file name.txt"}
	            	received: []string{"file+name.txt"}

So this indicates that something has changed at OneDrive, since I ran the integration tests for the 1.36 release and they worked fine then.
Needs more investigation!
@yonjah - have you got time to look at this?

I'm looking at it now

OK I think i figured it out.
But it is really weird the only reason for this happening now is onedrive changing their api.
Unless the old code base used an old go version but I also tested this issue with old version of rclone (1.35) and I can reproduce this issue.
It seems like all the escape methods for path are using net/url QueryEscape instead of PathEscape
QueryEscape escapes spaces as '+' which onedirve interprets as literal '+' path escape is escaping them as '%20' which seems to be working fine.
Unfortunately  PathEscape is only available in go 1.8
I'll submit a pull request with the changes to onedrive but this will not work without go 1.8 and I assume before upgrading go full integration tests needs to be done on all remotes which is probably somehting that someone with more experience in the code base should be doing

@yonjah excellent work finding the problem :-)
go1.8 is not a problem - rclone builds with go1.8 normally.  However I'm trying to keep it working with pre go1.8 too.
What we need for this is a backported PathEscape for pre go1.8.  It is possible get the equivalent of path escape with a bit of trickery using a url.URL I think...  Something like this: https://play.golang.org/p/IPYL2oINdD would be a backwards compatible way of doing it.

OK I'll try and see if I can do the changes this weekend

On a side note - https://github.com/OneDrive/onedrive-api-docs/issues/555 deployed two days ago :speak_no_evil:

@yonjah that is surely related - well spotted!

I made the changes so it wont use 1.8 api.
But when I run the integration tests one test fails for taking too long.
I tried running the test without the changes and I'm getting the same failure.
I'm not sure if this is something else that changed with OneDrive or just something specific
to my machine.

I am having the same issue since last week as well. When can we expect a fix? This is effectively doubling up my space requirement for the backup on onedrive making rclone pretty much unusable.

@aas2234 This has been fixed in the referenced pull request -
https://github.com/ncw/rclone/issues/1299
ncw has been a bit less active than usual this month so I'm not sure when he'll have the time to check it properly. but it might take a bit longer for the merge to happen.
if you think its worth it you can pull the changes and build rclone locally (I've been running the fixed version for a few days now and didn't notice any issues) but it still not fully tested so you might prefer to wait for the next release.

@yonjah
Hey yonjah, what are the steps to build rclone with your changes?
I have already cloned the repo and applied your pull request locally, what should I do now?
Obs: I have already configured the GOPATH.

@chmercesmoreira  if you followed the instructions here to setup your development environment -
https://github.com/ncw/rclone/blob/master/CONTRIBUTING.md
in rclone repo main folder you can run -
go run rclone.go --help
and see if it works.
You can also run any other rclone command the same way. their will be a small delay to run the build but it is not very noticeable.
You can also run a proper build by running go build in the same path which will create the rclone binary on the same path

Have you created a particular fork with this change already? If so, please can you give me the link so that I can build it the easy way. (I'm not a git/go expert). Anyway, if you can't do it I will wait for the next official update of rclone.

@chmercesmoreira in that case it might be better to wait.

@yonjah
No problem, thank you anyway.

Sorry have been away - back now!  Will merge the PR soon and post a beta here for you all to try.

Please find the beta with this fix in here
https://beta.rclone.org/v1.36-21-ge3a4132/ (uploaded in 15-30 mins)

Thanks! Will give it a go :)

On Apr 10, 2017, at 7:51 AM, Nick Craig-Wood<EMAIL_ADDRESS>wrote:
Please find the beta with this fix in here
https://beta.rclone.org/v1.36-21-ge3a4132/ (uploaded in 15-30 mins)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ncw : The fix works fine, thanks for the quick turnaround!

Thanks, working for me! You might want to consider an official release of 1.36.1, as looking at the milestones I guess 1.37 is a while away, and onedrive is effectively broken without this fix.

Thanks for testing.
@traynier thanks for the suggestion - I will mull it over...

Thanks @ncw. I do agree that a minor release with this fix would be great!

I am having a related issue:
$ rclone lsd "onedrive:/Videos/TV Shows/Game Of Thrones/"
          -1 2017-05-02 00:45:22        11 Season 1
          -1 2017-05-02 00:52:29         2 Season 2
          -1 2017-05-02 02:12:42        10 Season 3
          -1 2017-05-02 06:21:47        20 Season 4
          -1 2017-09-07 18:44:46        15 Season 5
          -1 2017-09-07 18:44:41        11 Season 6
          -1 2017-08-28 10:16:39        11 Season 7

That looks fine, no problem with any of the space so far. This next one though fails (and yes, there are files in there):
 $ rclone lsd "onedrive:/Videos/TV Shows/Game Of Thrones/Season 5"
Since you did it above for a similar case I tried -vv as well:
$ rclone lsd "onedrive:/Videos/TV Shows/Game Of Thrones/Season 5" -vv
2017/09/07 16:09:52 DEBUG : rclone: Version "v1.37" starting with parameters ["rclone" "lsd" "onedrive:/Videos/TV Shows/Game Of Thrones/Season 5" "-vv"]
2017/09/07 16:09:53 INFO  : One drive root 'Videos/TV Shows/Game Of Thrones/Season 5': Modify window is 1s
2017/09/07 16:09:53 DEBUG : Go routines at exit 5
2017/09/07 16:09:53 DEBUG : rclone: Version "v1.37" finishing with parameters ["rclone" "lsd" "onedrive:/Videos/TV Shows/Game Of Thrones/Season 5" "-vv"]

Anything else I can try?

@thettenhausen if your looking for files listed under the directory you should use ls and not lsd
try running your second listing with rclone ls

@yonjah Oh my... it seems it was too late at night. You are right. I obviously was confused and found this thread and thought it applied. Sorry.


PDF document download feature broken

PDF document download feature broken:

Only a single page of a multi-page document is selected and then duplicated as many times as there are pages in the document, instead of retrieving each discrete page of the document
It is also not possible to use the subset page-range feature to download only a single page or some subset of pages -- the same random page is selected and (if more than one page was selected for download) duplicated in the resulting PDF
The initial page of the PDF is blank instead of displaying metadata about the document

Both these features are functioning properly in the legacy app.

See attached documents for reference (same 30-page document in each case: hlsls ID no. 15):

One from new app
One from legacy app

HLSL Nuremberg Document #15 pages 1-30_legacy_app.pdf
HLSL Nuremberg Document #15 pages 1-30_revsys_app.pdf

Ok I've figured out the front page metadata piece this morning, but I haven't yet figured out the repeating PDF image issue. Still digging.

Thanks!

From: Frank Wiles @.>
Sent: Monday, June 17, 2024 7:13 AM
To: revsys/revsys-nuremberg @.>
Cc: Deschner, Paul @.>; Author @.>
Subject: Re: [revsys/revsys-nuremberg] PDF document download feature broken (Issue #407)
Ok I've figured out the front page metadata piece this morning, but I haven't yet figured out the repeating PDF image issue. Still digging.
—
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_revsys_revsys-2Dnuremberg_issues_407-23issuecomment-2D2173106720&d=DwMFaQ&c=WO-RGvefibhHBZq3fL85hQ&r=qr3mVkZg6Y9YGHlFbuilpJ9gY_tiZwvf4mGkbbehvLw&m=VgwbdqMfhQ9HNEI7IurIGP315zB9qyk0GkvEPWVsByQLZ9nJIwRBpgczVtyhNJYg&s=iJbLPVYry-RKg-7XeUpYR7SM3ZENCyC5NB7stLowkks&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AALY7A4DKYH7QMZ7FPYIJRDZH3AF7AVCNFSM6AAAAABH24CF6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGEYDMNZSGA&d=DwMFaQ&c=WO-RGvefibhHBZq3fL85hQ&r=qr3mVkZg6Y9YGHlFbuilpJ9gY_tiZwvf4mGkbbehvLw&m=VgwbdqMfhQ9HNEI7IurIGP315zB9qyk0GkvEPWVsByQLZ9nJIwRBpgczVtyhNJYg&s=jyb9y9sTSxiBZu2DqtU9lcRNlI1UGwwZoRdHNiTR3Sg&e=.
You are receiving this because you authored the thread.Message ID: @.***>

Ok I was able to figure it out! Weird variable scoping issue I introduced when moving it from Backbone to vanilla JS.  New version is building now.

Super – many thanks!

From: Frank Wiles @.>
Sent: Monday, June 17, 2024 7:31 AM
To: revsys/revsys-nuremberg @.>
Cc: Deschner, Paul @.>; Author @.>
Subject: Re: [revsys/revsys-nuremberg] PDF document download feature broken (Issue #407)
Ok I was able to figure it out! Weird variable scoping issue I introduced when moving it from Backbone to vanilla JS. New version is building now.
—
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_revsys_revsys-2Dnuremberg_issues_407-23issuecomment-2D2173141229&d=DwMFaQ&c=WO-RGvefibhHBZq3fL85hQ&r=qr3mVkZg6Y9YGHlFbuilpJ9gY_tiZwvf4mGkbbehvLw&m=D1dmgAEmEhfIxlnPKPNQ-1Z1i-1Y_zUWtsRobvJQ6m-uhG7ENTqJLC5PESZe22h5&s=xRMjzICBx8XL5A-_z1WvxfYZWyMZuaizcJNsepSmI6M&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AALY7A22NJRR5GU37OZGP3LZH3CHRAVCNFSM6AAAAABH24CF6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGE2DCMRSHE&d=DwMFaQ&c=WO-RGvefibhHBZq3fL85hQ&r=qr3mVkZg6Y9YGHlFbuilpJ9gY_tiZwvf4mGkbbehvLw&m=D1dmgAEmEhfIxlnPKPNQ-1Z1i-1Y_zUWtsRobvJQ6m-uhG7ENTqJLC5PESZe22h5&s=GtJ22Nxm7JCU_KJjfYTwS3sqwDfcFzy5xsQ7--9Jxao&e=.
You are receiving this because you authored the thread.Message ID: @.***>

Ok it's live now and definitely fixed, example PDF
HLSL Nuremberg Document #694 pages 1-25 (1).pdf


Utility functions in the API

Does the Radium API expose any utility functions such as determining whether the current viewport matches a certain media query e.g.
{ Radium.is('@media (max-width: 769px)') &&

You are on a small viewport!

}

more practical example;
<Container>
    Really long name here {Radium.is(breakpoints.min('sm')) && lorem ipsum}
</Container>

Nope. You can do it yourself using matchMedia, same as Radium does.
I'm also considering moving media queries to generate CSS so they work better with server-side rendering, which would mean Radium would no longer use matchMedia.


Suppress old revisions in firehose tweets for new packages

(or see if we can skip new packages entirely - might not be possible)

Yah I can see this being a bit confusing as we add more and more packages. I don't think we necessarily want to skip the package though - but instead change the message?
Rather than "owner just released package v1.0.0 - summary" it could be something more to do with "owner's package was just added - summary" or something.
I don't think the firehose has to necessarily be limited to new versions! New packages are just as valid and might pique the interest of onlookers.
Not sure the easiest/best way to detect a new package though! Check the created date on the package reference? Check how old the latest version is?


Kraj / okres new tab

Create new tab with information about the registrations.

Depends on #191, it should be created as component and data computed using pandas


Delete duplicated code on gstreamer-receive

Description
There are some duplicated code (from line 38 to line 42) in the example of gstreamer-receive. So I deleted those duplicated lines of code.
Reference issue
Fixes #70

Merged with 8ce788562c2b1e012e3c07665de045f7415cc719
Thank you so much for your contribution @PhVHoang


Import a local python file as a module

More of a question then an issue: is it possible to invoke py.call on a Python file in a local folder vs compiling inlined Python code?

You can import a local file using typst's read function and then compile it.


Error handling for missing/wrong API key

Description of the bug:
I noticed error handling for unsupportedUserLocation is improved in #85, we also encountered other error types such as API key not valid.
Printing description of error:
▿ GenerateContentError
  ▿ internalError : 1 element
    ▿ underlying : RPCError
      - httpResponseCode : 400
      - message : "API key not valid. Please pass a valid API key."
      - status : GoogleGenerativeAI.RPCStatus.invalidArgument

Is it possible to add this case to the package, too?
Actual vs expected behavior:
No response
Any other information you'd like to share?
We're thinking if it is possible to expose RPCError type in Error.swift so that we can call it directly and fetch the error message?

It is clearly shown here that there is detailed error information, so why is the return type Error instead of RPCError? Why is your RPCError not open to the public?
We prefer to get detailed error information and display it ourselves, instead of the vague error.localizedDescription.

Thanks for your feedback, @Jerry23011 and @tisfeng! I agree that this error being buried in GenerateContentError.internalError is difficult to use. I think a few options we could take would be:

Make RPCError public
Introduce new RPC error types, such as FailedPrecondition, similar to the Python SDK
Add an invalidAPIKey case to GenerateContentError, similar to what I proposed in #85

I personally like the last option of a specific case for common errors like this one. I think many developers are likely to run into either invalidAPIKey (copy/paste errors during development, revoked API keys after deployment) and/or unsupportedUserLocation. Making them explicit error cases might also encourage developers to handle them during development (rather than being surprised after deployment when end-users run into them).
Will discuss with my USA-based colleagues tomorrow (Martin Luther King Jr. Day there today). It's late in Europe but @peterfriese might have opinions too.

We're glad you're listening to us, and we'd like to make sure that users get clear descriptions of the errors they're getting when they request an error with Gemini, rather than vague, useless information that might otherwise come back and accuse us of having a bad experience with the app (or with Gemini).
We'd love it if you'd make sure to handle all kinds of error types, like this https://github.com/google/generative-ai-swift/pull/85, and provide clear descriptive information.
If can't, we hope you'll make the error information publicly available so that we can handle it ourselves.

Thanks, @tisfeng, we definitely appreciate you letting us know about the pain points you're running into -- I'm sure you aren't the only devs with the same questions. Since this issue is similar, I added an example in https://github.com/google/generative-ai-swift/issues/82#issuecomment-1894211125 of the pain points I ran into when trying to catch a "User location is not supported for the API use." error.

Thanks for the reply, I see, seems like using String(describing: error) for now is a workaround, although not so friendly.
Looking forward to the improvements in the later new version.

Hi, how is this issue going?

Sorry the delay, @tisfeng. I just published https://github.com/google/generative-ai-swift/releases/tag/0.4.7, which adds an invalidAPIKey case to GenerateContentError. For example usage, please take a look at our Chat Sample or the unit test.
Will close this issue but feel free to re-open if you find this solution doesn't meet your needs.

Thank you @andrewheard

I still think this issue was closed prematurely. I'd like to access the RPCError message for the use cases that are not covered in GenerateContentError. For example:
[GoogleGenerativeAI] Response payload: {
"error": {
"code": 400,
"message": "Gemini API free tier is not available in your country. Please enable billing on your project in Google AI Studio.",
"status": "FAILED_PRECONDITION"
}
}


NIFI-11761 Fixed MiNiFi restart issue when graceful shutdown period expires. MiNiFi restart sends bootstrap to background

Summary
NIFI-11761
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks for your comments. I tried addressed all of them. I had to change the log message differently because with moving the related code to UnixProcessUtils the context has changed as well.

Thanks for the update +1 from my side