updating image link in README.md

This PR addresses #1193.

Codecov Report

Merging #1194 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1194   +/-   ##
=======================================
  Coverage   11.60%   11.60%
=======================================
  Files          23       23
  Lines         224      224
=======================================
  Hits           26       26
  Misses        198      198

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e616c95...b4500a8. Read the comment docs.


When I already have a key, for example: input_user1_up:'w', how can I change the key to make the game work directly without having to start again

nostalgist = await Nostalgist.launch({
rom: data.rom,
core: 'fceumm',
state,
resolveCoreJs(core, options) {
return https://res.fatfoxtab.com/public/res/player/nes/fceumm_libretro.js
},
resolveCoreWasm(core, options) {
return https://res.fatfoxtab.com/public/res/player/nes/fceumm_libretro.wasm
},
element: canvasRef.value,
retroarchConfig: data.retroarchConfig,
})

For now we do not support updating retroarch config while the emulator is running. I'm not sure if this can be done with the official retroarch emscripten build, and I'm going to do some research recently. But it maybe hard to achieve.

This seems to be impossible while using the official build of RetroArch... unfortunately.


feat: add highlight row events and improved stability

added itemHighlight and itemHighlightEnd events
enabled displayItem event for custom show animation handling
improved strong type checking and reduced scoped variable usage
strengthen async conditions of null/undefined
uses deref for iOS weakref since supported there, keep get on android for now

@farfromrefug Is it possible to merge the changes? I implemented the CollectionView on Android. Upon testing on iOS I have regular app crashes that are related to the CollectionView. Would like to see if this PR solves them.

@MrSnoozles that PR will propably not solve it. And you should report with crash callstack son that we can fiest mâle sur it actually is an issue with collectionview


julia 0.6 compatibility

What are your plans on supporting Julia 0.6?

great! Thanks!

I'm going to make this the next task - so should be in the next week or so. I've not tested Julia 0.6, so I'm not sure how much needs to change yet. I'll be eliminating any deprecation warnings.

Can you please confirm that there is no support for Julia v0.6 yet?

Julia 0.6 is fully supported in the dev branch.

:disappointed: could you please explain why dev instead of master? I wasted time yesterday preparing a PR because there is no documentation about dev anywhere. I will close the PR.
Could you please merge the branch and tag a new release?

@juliohm I really appreciate you taking an interest in the project and helping out. I'm sorry for the lack of clarity around the branches - I didn't mean to waste your time. I'll stick to master to ensure this doesn't happen a second time. Again, sorry for the confusion.
There's an outstanding issue that I hadn't found the root of and it was causing the occasional Travis build to fail, which is why I hadn't merged yet with master. The cause has been identified so the solution is clear - see issue #53. I'll tag a new version once that is resolved.

Thank you @trthatcher, that is really helpful already. I am planning to release a new GeoStats.jl solver soon that depends on MLKernels.jl, since the cause of #53 is now identified, I think it makes things easier.
I will wait for the new tag and then submit the registration request.


client_id_scheme may fail whole VP token creation

Please take a look at one of the ValidatedSiopOpenId4VPRequest.createVpToken() functions.
https://github.com/eu-digital-identity-wallet/eudi-lib-ios-siop-openid4vp-swift/blob/main/Sources/Entities/Validated/ValidatedSiopOpenId4VPRequest.swift#L455
Because of the try keyword this fails in case if the scheme is absent. According to the specification client_id_scheme is optional.
https://openid.net/specs/openid-4-verifiable-presentations-1_0-18.html#section-5-8.6
If it's a deliberate design choice, maybe then the scheme validation doesn't have to be so strict here:
https://github.com/eu-digital-identity-wallet/eudi-lib-ios-siop-openid4vp-swift/blob/main/Sources/Entities/ClientMetaData/ClientIdScheme.swift#L41
For example, the DID scheme is in the enum, it is in the supported scheme enum, but still is not considered as valid, although the library doesn't need to do anything specific in such case, it is wallet's responsibility.

Thank you very much for opening this issue @vpilkevych-ddy! I'll assign it to myself to resolve it.


Upstream old fixes / features

I realized that I forgot to upstream these fixes / features:

Enable testing on multiple GPUs (in parallel).
The above point and other changes make it easier to implement benchmarking in the future.
Small build.py refactor. This also fixes a bug relating to targets not being built in a deterministic order. I understood this would happen when I pushed those changes but underestimated how confusing that might be.

FYI I double-checked that the Phoenix GH runners are working by re-running the CI on another fork.

Will merge this once tests pass

[SUCCESS]
++ ok 'All modules have been loaded for GT Phoenix on GPUs.'
++ log 'OK > All modules have been loaded for GT Phoenix on GPUs.'
++ echo -e 'mfc: OK > All modules have been loaded for GT Phoenix on GPUs.'
mfc: OK > All modules have been loaded for GT Phoenix on GPUs.
++ return
++ nvidia-smi -L
++ wc -l
+ gpu_count=2
++ seq -s , 0 1
+ gpu_ids=0,1
++ nproc
+ ./mfc.sh test -a -b mpirun -j 24 --gpu -g 0,1
mfc: OK > (venv) Entered the Python virtual environment.
usage: ./mfc.sh test [-h] [--mpi] [--no-mpi] [--gpu] [--no-gpu] [--debug]
                     [--no-debug] [-j JOBS] [-v] [--no-fftw] [--no-hdf5]
                     [--no-silo] [-g GPUS [GPUS ...]] [-l] [-f FROM] [-t TO]
                     [-o L [L ...]] [-b {jsrun,srun,mpirun,mpiexec,N/A}] [-r]
                     [-a] [-% PERCENT] [-m MAX_ATTEMPTS] [--case-optimization]
                     [--generate | --add-new-variables]
./mfc.sh test: error: argument -g/--gpus: invalid int value: '0,1'
mfc: (venv) Exiting the Python virtual environment.
---------------------------------------
Begin Slurm Epilog: Oct-08-2023 12:54:15
Job ID:        3730688
Array Job ID:  _4294967294
User ID:       sbryngelson3
Account:       gts-sbryngelson3
Job name:      shb-test-jobs
Resources:     cpu=24,gres/gpu:v100=2,mem=96G,node=1
Rsrc Used:     cput=00:02:00,vmem=[165](https://github.com/MFlowCode/MFC/actions/runs/6443848089/job/17506330869?pr=218#step:5:166)6K,walltime=00:00:05,mem=0,energy_used=0
Partition:     gpu-v100
QOS:           embers
Nodes:         atl1-1-01-003-36-0
---------------------------------------


ARROW-3687: [Rust] Anything measuring array slots should be usize

Because this brakes backward compatibility scheduling it to 0.13 release is reasonable.

+1

Do we need to preserve backwards compatibility in the Rust library yet?

@wesm I don't think so, since we're still making many changes to the library and (IMHO) it's still somewhat in the design phase. Also, there are no public consumers yet.

Cool! So re-schedule to 0.12?

I would like to see this in 0.12


Fuzzy search in tag widget

I have added a lot of terms in my tag widget and the currently implemented substring search makes is sometimes tedious to search for certain entries.
Would it be possible to implement a fuzzy search?

I do not have a particular recommendation concerning a library but will keep you posted if I come across one


Enable handshake timeout on Mono

I am seeing consistent test hangs on macOS Mono. A node is getting into a bad state and is failing to respond to handshakes. While I do not yet understand the root cause, it is clear that having a timeout on the handshake operation mitigates the issue. The test is now failing but does not hang, saving developer time as well as test pipeline resources.

/azp run


Allow configuring default cert RSA key size

What type of PR is this?
/kind feature
What this PR does / why we need it:
Some users want to use 2048 keys for performance or compatibility reasons. This allows having a choice.
Which issue(s) this PR fixes:
Fixes https://github.com/tnozicka/openshift-acme/issues/120
Does this PR introduce a user-facing change?:
NONE

/retest

Does it use an k8s annotation?
what is the name of the annotation?
Thanks!

no, this is adding cluster-wide flag instead https://github.com/tnozicka/openshift-acme/pull/124/files#diff-7de04b860f288545dc225de20a47af16R137

Hello @tnozicka
Thanks for the PR. One question. Once --cert-default-rsa-key-bit-size is set at the cluster level (acme-controller), is it possible to override per single route?
I mean if it possible, with an annotation or something, to ask acme-controller to issue certs with a key size different than the default one.
Thanks
VIncenzo

It is not possible to override it currently. (Wasn't possible before either.)


Support Readonly Parameter Plugin

Adds support for WReadonlyStringParameterDefinition and WReadonlyTextParameterDefinition.
Link: https://plugins.jenkins.io/readonly-parameters

What you can withou need of additional method is maybe following
    public ReadonlyParameterRenderer() {
        converter.put(STRING, makeReadOnly(JobParameterRenderers::createTextField));
        converter.put(TEXT, makeReadOnly(JobParameterRenderers::createTextArea));
    }

    private BiFunction<JobParameter, String, JobParameterComponent<?>> makeReadOnly(
            BiFunction<JobParameter, String, JobParameterComponent<?>> textCreator) {
        return textCreator.andThen(this::makeReadOnly);
    }

    private <R> JobParameterComponent<R> makeReadOnly(JobParameterComponent<R> jobParameterComponent) {
        final JComponent viewElement = jobParameterComponent.getViewElement();
        if (viewElement instanceof JTextComponent textComponent) {
            textComponent.setEditable(false);
        }
        return jobParameterComponent;
    }

Or simple let create label instead text fields. Because if they are are all read-only it is only text right?

Ok
No problem. I can look at this zhr next days and maybe improve it to make the parameters make work.
But is it needed to have text fields or is a simple label enough to see the set value

@MCMicS I think it's better to keep it closer to the original Jenkins design, where it's just a non-editable input/textarea. I assume rendering strings as labels would not be too hard, but I'm not so sure about text areas since they may contain a lot of text.

Ok
I do it the days and provide version for test ok?

@MCMicS Btw, I've just tested it locally and it worked like a charm.

yes look ok
sample below:

Test plugin here: jenkins-control-plugin-0.13.21-eap-2023.2-signed.zip

Thanks for commiting


ResourceLoader.load_threaded_request causes Vulkan errors

Godot version
4.0.dev 49482966ec0e5b9a8937eef5ef664c9a350f50d3
System information
Windows 10, Vulkan, NVidia RTX 2080 Ti, Driver 496.13
Issue description
Loading a PackedScene resource from a thread often appears to trigger errors in the Vulkan renderer and causes random meshes to be missing.
Here are some errors. Ignore "Rect2 size is negative,", "Condition "p_from_line > p_to_line" is true" and "Trying to remove non-existent autoload" since these are red herrings. The errors to look for are Vulkan related.
ERROR: Creating buffers with data is forbidden during creation of a draw list
   at: (drivers\vulkan\rendering_device_vulkan.cpp:4146)
ERROR: Condition "!index_buffer_owner.owns(p_index_buffer)" is true. Returning: RID()
   at: RenderingDeviceVulkan::index_array_create (drivers\vulkan\rendering_device_vulkan.cpp:4199)
ERROR: Buffer is either invalid or this type of buffer can't be retrieved. Only Index and Vertex buffers allow retrieving.
   at: (drivers\vulkan\rendering_device_vulkan.cpp:6086)
ERROR: Size of vertex data provided (0) does not match expected (247300)
   at: (servers\rendering\renderer_rd\renderer_storage_rd.cpp:3158)

The Vulkan errors occur during the load process, before the nodes are even added to the scene. It is random, and sometimes no errors occur, but in the attached project, it seems to fail roughly 80% of the time on my computer. We tried different caching options with no effect. The bug does not occur when using the editor GUI to load the scn, nor at runtime if loaded from the main thread (e.g. with the scene play button).
We've been able to reproduce this with multiple people on several godot master versions since summer, on multiple hardware configurations

Steps to reproduce

Open the attached project.
Play the project.
Check the Debugger tab or the windows terminal, as errors do not show in the Output tab for some reason. You may also see some meshes missing between test runs.

Minimal reproduction project
https://cdn.discordapp.com/attachments/659137056991346708/931360798037655642/backgroundloadbug.zip

Likely fixed by #54890

Duplicate of https://github.com/godotengine/godot/issues/54151.


doesnt work with Nuxt

Since in Nux component t doesnt have document reference affix wont work

I've never really worked with Nuxt yet so I'll have to take a close look at it, do you have any workaround for this?
Thanks!

Well then it should work. Since OP didn't respond I'm closing this by now, thanks very much :)


Error when editing on Windows

Reproduction: click anywhere in the code editor

Insight from @MandingoBrandon : it only seems to happen on the example file scatterPlot.js.

Definitely localized to CodeMirror.

Possibly related
https://discuss.codemirror.net/t/uncatchable-out-of-range-errors-when-document-changes/4864/4

Is this still happening?


Refactor module structure

This PR refactors module structure in order to be directly integrable in users projects' modules folder

Hey @dsryzhov let me know how do you see this.

Yes, it's what I've propesed for ) Great!


Optimization problem with MSVC

Hello!
MSVC:
Microsoft (R) C/C++ Optimizing Compiler Version 19.21.27702.2 for x64
Microsoft (R) Incremental Linker Version 14.21.27702.2

The problem happens with this code:
FORCEINLINE const char32_t& String::operator[] ( uint32_t Index )
{
  char* first = m_buffer;
  char* last = m_buffer + Size ();
  utf8::advance ( first, Index, last );
  return utf8::peek_next ( first, last );
}

m_buffer is a char* with a UTF8-encoded string and FORCEINLINE is simply inline.
Here is my test (I replaced Russian word to "hello!" for convenience but it doesn't change the result):
TEST ( RuntimeCore, UTF8Char1 )
{
  const char* str_raw = _T("hello!");
  std::cout << "Raw string: " << str_raw << "\n";
  Wrench::String hello ( str_raw );
  char32_t z = hello[2];
  EXPECT_EQ ( z, U'l' );
}

_T simply adds u8 string literal.
And this is the result when the code was compiled with /O1 (actually, it doesn't really matter because only /Od solves the problem):
[ RUN      ] RuntimeCore.UTF8Char1
Raw string: hello!
***\Tests\Tests_Core.h(25): error: Expected equality of these values:
  z
    Which is:<PHONE_NUMBER>
  U'l'
    Which is: 108

As you can see, z value is completely different when optimization is enabled (it is the same with /Od). It is also different on each execution (without rebuilding) which makes me completely unaware of what's happening in the code :(

Can you supply a self-contained piece of code that reproduces the problem?

Yes, here it is.
char* first = u8"hello";
char* last = first + 6;
utf8::advance ( first, 2, last );
char32_t result = utf8::peek_next ( first, last );

result with /Od: 108
result with any other optimization mode: different value on each execution

I apologize for opening this issue. It was a problem on my side that involved references.
It has nothing to do with utfcpp.


DispmanX is broken on RPi4

[x] I confirm that this is an issue rather than a question.

Bug report
DispmanX is broken on RPi4.
Steps to reproduce
Start hyperion on RPi4.
What is expected?
Hyperion should capture screen without breaking HDMI signal.
What is actually happening?
Hyperion can capture the screen without any problem. Logs are completely fine. However as soon as I start hyperion, the TV loses video signal.
I have to reboot the device to get the signal back. (Probably it can also be done without reboot but currently I don't know how)
System

Hyperion Server:

Build:       master (GitHub-4148e589/13205a9d-1596450699)
Build time:  Aug  6 2020 00:53:21
Git Remote:  https://github.com/hyperion-project/hyperion.ng.git
Version:     2.0.0-alpha.7
UI Lang:     auto (BrowserLang: tr-TR)
UI Access:   default
Avail Capt:  dispmanx,v4l2,framebuffer,xcb,qt

Hyperion Server OS:

Distribution: Raspbian GNU/Linux 10 (buster)
Arch:         arm
Kernel:       linux (4.19.118-v7l+ (WS: 32))
Browser:      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36

@Paulchen-Panther @tpmodding @Lord-Grey  should we default to X11 on RPi4 until this is fixed ?

It is about time that we tackled the V4L2/GBM implementation

https://www.raspberrypi.org/forums/viewtopic.php?t=265883

Disabling following line in /boot/config.txt fixes it :
#dtoverlay=vc4-fkms-v3d

https://www.raspberrypi.org/forums/viewtopic.php?t=266059

Disabling following line in /boot/config.txt fixes it :
#dtoverlay=vc4-fkms-v3d

https://www.raspberrypi.org/forums/viewtopic.php?t=266059
EDIT : Reboot required after changing.

I am running hyperion on a pi4 with retropie installed and I guess they use this setting, after commenting out the line and rebooting emulationstation failed to start.
I am getting pretty bad screen tearing while watching video content on the device through kodi and the plex add-on

Hello, after altering the config.txt now kodi shows following error:
ERROR: Unable to create GUI. Exiting
what can i do now?
System:
-Raspberry 4 4GB
-Hyperion alpha8
-adalight

@TheEsch Yes, it makes KODI unusable. PI4 is basically not supported yet.

Hello,
I still have the same problem on a fresh raspberry OS et the Alpha 9.0.
Raspberry 4 2gb
Thank you for the amazing work

Hello,
I still have the same problem on a fresh raspberry OS et the Alpha 9.0.
Raspberry 4 2gb
Thank you for the amazing work

should we default to X11 on RPi4 until this is fixed ?

@m-seker can we manually switch to using X11 as a workaround? it seems like hyperion-x11 isn't installed by default though...

@m-seker can we manually switch to using X11 as a workaround? it seems like hyperion-x11 isn't installed by default though...

What OS are you running?

@m-seker can we manually switch to using X11 as a workaround? it seems like hyperion-x11 isn't installed by default though...

What OS are you running?

Beta release of OSMC, based on Debian 10 (Buster) :)

Closed as duplicate to #983

In my case (rpi4 + retropie + kodi) Everything was working fine until I deleted the lines of /boot/config.txt
hdmi_group=1
hdmi_mode=16

DispmanX stopped working and now that I have disconnected them again it has worked again
(These lines do not make Kodi go down to 1080, only at startup until it detects my HDMI and returns to 4K resolution)


Can't type a mixin function using $Subtype and generics

The $Subtype utility function is puzzling to me. Is there any documentation on how to use it well? I'm trying to use $Subtype to type a mixin function. I believe my type signature is correct. I keep getting these errors:
const MyMixin: MixinFunction = superclass => class extends superclass {};
                                                ^ Cannot extend `superclass` [1] with `<<anonymous class>>` because `A` [2] is not inheritable.

Here is my super simple code:
type MixinFunction = <A>(superclass: Class<A>) => Class<$Subtype<A>>;

const MyMixin: MixinFunction = superclass => class extends superclass {};

Code on Try Flow.
I'd really appreciate any feedback on this. Thank you.

Subtype is deprecated utility type


Allow the user to select a location on the map.

Problem
The user currently only has a hand to pan the map. A normal mouse icon would be great to select with.
Proposed Solution
Add a mouse select option.

Hi Ismail, I think this is also something to just explore briefly and asses the effort involved.

I think this might be a bug on the live site?

I pull the latest change from kartoza/develop, and I found the problem in my local machine also.

Fixing failed to add new event in live site (DEBUG=True) in #40
Basically, user can add new event by clicking on the map.

Fixed in #52


Add a lower bound on haskell-lsp (we are incompatible with 0.14)

Otherwise I get build failures

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

/azp run


Government wide SORNs investigation

What
Marcela has asked us repeatedly to investigate if we can pull all the government wide SORNs into a dashboard.
https://www.fpc.gov/resources/SORNs/
It will save her a lot of time, and every agency will be doing similar checking to see if their agency SORNs are already covered by a superseding government wide SORN.
 Our code wants federalregister.gov links. Can we find the right links from the SORN id number?
[x] If we did scrape them, do we put them in a new dashboard, or add them to GSAs?

Closed by #55


issue in building the desktop client from source

I'm trying to build the Desktop Client from Master Branch,
First I've executed mvn package command and successfully compiled all bundles
then I'm trying to run the client with
`
cd native
cmake -B cmake-build-x64 -A x64
cmake --build cmake-build-x64 --target install
cd ..
for /f "delims=" %%a in ('type .\target\launcher-classpath') do java -cp "%%a;lib/;modules/launcher/target/classes" -Djava.library.path=./lib/native/windows-x64 -Dfelix.config.properties=file:./lib/felix-dev.properties net.java.sip.communicator.launcher.SIPCommunicator
`
then it comes the issue
the attached log file
the Client wont run
my operating system is Windows 10 - OS Build 19043.2130
Java Version : jdk-<IP_ADDRESS> and jdk-17.0.5
log.txt

Please try the branch fix-installers and also see #770.


Feature map in tensorflow source code

OS Platform and Distribution : ubuntu16.04
TensorFlow installed from : source
Bazel version : 0.9.0
CUDA/cuDNN version : 8 / 6
GPU model and memory: nvidia 1080ti
Exact command to reproduce ; n/a
I try to learn tensorflow source code. When doing forward propagation, each layer will produce a feature map. I want to know after each layer is completed.Where is the feature map will be stored ?
How can find this part? I hope i can know it.
I find the this part (conv2d):
OP_REQUIRES_OK(context,
               GetWindowedOutputSize(input_rows, filter_rows, stride_rows,
                                     padding_, &out_rows, &pad_rows));
OP_REQUIRES_OK(context,
               GetWindowedOutputSize(input_cols, filter_cols, stride_cols,
                                     padding_, &out_cols, &pad_cols));
TensorShape out_shape =
    ShapeFromFormat(data_format_, batch, out_rows, out_cols, out_depth);

// Output tensor is of the following dimensions:
// [ in_batch, out_rows, out_cols, out_depth ]
Tensor* output = nullptr;
OP_REQUIRES_OK(context, context->allocate_output(0, out_shape, &output));

Is the "context" saving the feature map after forward propagation ?
Thanks.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


Streaming File Upload

Summary
While the language server currently provides support for one-shot file access, we want to allow users to work with very large data. This requires streaming file transfers.
Value
Users will be able to upload large files from the IDE to the backend as necessary.
Specification

[ ] Design updates to the binary protocol that encompass all of the following features. This protocol is bidirational to support both uploads (IDE to LS) and downloads (LS to IDE).
[ ] Add an API endpoint that accepts a streaming upload (or download) file request. We may leave downloads unimplemented for now, but it should be supported.
[ ] The initial request should contain:

A request identifier.
Whether or not the file should overwrite existing files.
The path (incl. name) of the file.
Whether or not it is requesting a download or an upload.
The byte offset in the file to start the upload from.

[ ] If the file already exists and overwrite is not set, the engine should reply with an error.
[ ] Once an upload begins, file chunks should be sent across the connection. These chunks should contain some n MB of data and a header that identifies it as belonging to the initial request.
[ ] For each chunk, the recieving end should append the chunk to the file on disk and calculate a streaming checksum (e.g. CRC) of all the chunks recieved to date.
[ ] Every n chunks, the streaming checksum should be sent to the file sender as part of a message that also includes the byte offset with which that checksum is associated.
[ ] Once the upload is complete, the recieving end should calculate a more expensive checksum (e.g. MD5) of the entire file, and both ends should handshake to ensure the file has been recieved intact.
[ ] In addition to the above, the protocol should support upload resumes. If the initial message contains a byte offset that is not 0, the receiving end should check if the file exists and is up-to-date for that byte offset. It should also confirm the checksums. If not, an error should be returned. If the files do not match, the receiving end must respond with the byte offset it does have, and the sender can resume from there. overwrite must not be set, and offset must be > 0 for a resume to occur.
[ ] Deleting partially corrupted files if the sender chooses not to resume is the responsibility of the IDE in both the sending and receiving cases.
[ ] Files should be written to disk in a streaming manner. We do not want to keep any large amount of the file resident in memory at once.
[ ] Add a method to the Visualization library that is .file_being_uploaded : Any ! File_Being_Uploaded. This should throw a dataflow error type File_Being_Uploaded file_path. This will allow the IDE to display loading spinners along the propagation path for that file's data.

Acceptance Criteria & Test Cases

[ ] The language server has comprehensive support for streaming file uploads and downloads.

[ ]  In addition to the above, the protocol should support upload resumes. If the initial message contains a byte offset that is not 0, the receiving end should check if the file exists and is up-to-date for that byte offset. If not, an error should be returned. If the files do not match, the receiving end must respond with the byte offset it does have, and the sender can resume from there. overwrite must not be set, and offset must be > 0 for a resume to occur.

One comment here: perhaps we should validate checksums of already uploaded file part (not only the number of bytes).

Yeah. Good thought! I've added it to the task description.

Things to consider:

[ ] Do we want a separate capability for this?
[ ] How should it interact with the existing file protocol?
[ ] How should we support bidirectionality?
[ ] What checksumming form should we use?

Please note that the main functional requirements have been met with a significantly more simple protocol that is stateless.


Model payment history item details overlay / bottom sheet

When clicking on a transaction in the wallet the user wants to see some details .
We can have atleast 3 different transactions in the wallet:

lightning transactions
on-chain transactions
trading related activities

It would be great if we can achieve a similar look and feel throughout all the list items - and have similar behavior for them when e.g. clicking on them.
I propose three steps of information:

The list tile shows the most important information
When taping on the list tile, the tile expands (downwards) to show additional information
(optional) we show a button More details when expanded that would jump to a child-screen with even more information.

For reference, the PositionListItem already has an ExpandablePanel, see https://github.com/get10101/10101/blob/main/mobile/lib/features/trade/position_list_item.dart

Look of the OrderListItem:

Ticket that tracks adding order information in ExpandablePanel: https://github.com/get10101/10101/issues/163

As stated in https://github.com/get10101/10101/issues/67#issuecomment-1442828486 I propose to have three levels of information:

The list tile (most important information)
The expanded list tile (some more information in expansion + link to jump to "more information"); this can be either a separate detail screen or jumping off to a different screen.
(optional) Separate detail screen that one can navigate to from buttons in the expansion.

The following designs are not complete, but should give an idea of how I imagine this:

Previously we did not talk about Position in the wallet histroy, but just had Order Filled entries, but I think that is not great because we cannot easily distinguish between in- and outgoing flow. I think this reflecting the position is more useful for the user (but this might be subjective).
notes on the data (model):

For the lightning related items it is important to have a fee-breakdown in the expansion
For the trade items in the wallet history ...

... there are three items:

Position Opened: This item is created when there was no position before; funds flow out of the wallet

this item being the latest trade related item in the wallet histroy indicates that there must be an open position

Position Changed This item is create when there was a position already and we changed it; funds flow out of the wallet

this item being the latest trade related item in the wallet histroy indicates that there must be an open position

Position Closed: This item is created when there was a position, but the position was closed; funds flow into the wallet

this item being the latest trade related item in the wallet histroy indicates that there is no position (the position was closed)

... we add links to jump off to order or position in the expansion

notes on Navigation (for the MVP, this can be optimized later):

User clicks on ♐ Position Button: Navigate to Trade screen with the Positions tab being shown.
User clicks on ♐ Order Button: Navigate to Trade screen with the Orders tab being shown.

We can eventually extend this by highlighting the order that we jumped off from
We could also add a detail screen that one can reach from either jumping off from the wallet or jumping off from the Order tab in trade. But I would not do that for now.

Note on MVP scope vs the future:
For the MVP what is designed above should be good enough. Once we add partial filling it will become a bit more complicated because closing a position might not be related to exactly 1 order.
The way I see to solve this is to group things in a smarter way; both in the wallet history and in trade tab.
With partial filling the position tile in the trade tab will also have to reflect the position being reduced first and then just eventually being closed.
I would not invest more brainpower into this for the MVP :)

Update including #101 - this is simplified for now, there is only a Pending and a Done state.
Note: We can opt for including e.g. transaction confirmation information into the details, but that is a nice to have on top given that we have the link to the blockexplorer in there already for transactions.

Closing this ticket because the Figma work is done; the results of above comments is relevant for the implementation in #67


DL: Add support in preprocessor to evenly distribute data for GPDB

JIRA: MADLIB-1378
Currently, training_preprocessor_dl and validation_preprocessor_dl
doesn't guarantee even distribution of the data among segments,
especially when the number of buffers is not much larger than the number
of segments. This commit adds support to the preprocessor so that it
always distributes the data as evenly as possible among the segments.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/1054/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/1057/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/1059/


ClientHello extensions shuffling to frustrate TLS fingerprinting

Context: https://github.com/nodejs/node/issues/41112
Request: an API that lets the openssl user (node.js) shuffle extensions in the ClientHello to prevent TLS fingerprinting.
Some quick internet searches suggest that other projects like curl would benefit as well.

This is most likely non-trivial. My guess is that there are subtle dependencies between the various extension construction functions which would not like to be suddenly called in a different order (but maybe not - I'm not sure). A completely random ordering would not be possible since there is at least one extension (TLSv1.3 psk) that must be the last one in the ClientHello according to the RFC (see section 4.2.11 of RFC8446):

The "pre_shared_key" extension MUST be the last extension in the
ClientHello (this facilitates implementation as described below).
Servers MUST check that it is the last extension and otherwise fail
the handshake with an "illegal_parameter" alert.

https://github.com/nodejs/node/issues#41112 suggests parsing the handshake packet and shuffling the extension ordering prior to transmission. This is not a viable approach for Node.js because (as discovered in that issue) this will cause a "bad record mac" alert during "Finished" message processing. However it might be viable for OpenSSL itself to provide a mechanism to do this (i.e. so that the shuffling occurs before the ClientHello is fed through the handshake hash so that the Finished message still validates). That's a bit nasty though.

FWIW I did implement a very simple approach back in March by adding a user-defined permutation to tls_construct_extensions(). This works to disguise the TLS fingerprint, but I did not pursue it any further because I have no idea what a public API would look like.

Another extension construction function that springs to mind that definitely requires a specific ordering is the padding extension. OpenSSL requires that it either by added last (in the absence of the TLSv1.3 psk extension), or second to last (if psk is present). Basically it calculates how much padding to write out based on how much we have written so far.

Would randomising the extensions prevent fingerprinting?  Over multiple connections, it would be easy to detect such permutation and deduce the stack being used (sans all stacks doing it and in exactly the same way).

Would randomising the extensions prevent fingerprinting? Over multiple connections, it would be easy to detect such permutation and deduce the stack being used (sans all stacks doing it and in exactly the same way).

If the fingerprinting is there to prevent some particular client from connecting to a web site it would IMO make it too fragile to guess. Especially if all the major web browsers start shuffling the extensions in ClientHello as well.
We could also shuffle the extensions not based on RAND_bytes random number but based on some fixed seed that could be set by the application.
IMO the fingerprinting does not need to be completely and securely prevented but just frustrated enough so it is not worth doing it.

What would a public API for this look like? Would it be a property of SSL_CTX?

What would a public API for this look like? Would it be a property of SSL_CTX?

One possibility could be a callback that makes the message buffer about to be written available for modifications prior to it being sent to the handshake hash function. This way the actual anti-fingerprinting strategy is deferred to the application rather than something that OpenSSL determines. That makes it simpler for OpenSSL to do....although it does imply more complexity and knowledge of TLS messages structures required by the application. I suppose OpenSSL could supply some "pre-made" callbacks implementing certain strategies.

Of course just shuffling extensions might not be sufficient to achieve the goal. A fingerprinter could start looking for the presence or absence of certain extensions instead of relying on their order. Each implementation is likely to send a slightly different set. Encrypted ClientHello might be the real answer to this.

Didn't know about Encrypted ClientHello, that's cool! But I don't see how it's a solution to fingerprinting, seeing as the server will be able to decrypt it and fingerprint you anyway

The TLS Encrypted ClientHello (ECH) extension enables clients to encrypt ClientHello messages, which are normally sent in cleartext, under a server's public key. This allows websites to opt-in to avoid leaking sensitive fields, like the server name, to the network by hosting a special HTTPS RR DNS record.

Correct?

Hi, I want to say, shuffling or radomizing won't help, services like Cloudflare will mark any unique TLS fingerprint as bot and spam them with captcha/bot check page.
And at this point, don't rely on ECH (Encrypted Client Hello), only a few websites have implemented it, it's still very rare nowadays, rely on it and you're forever to be marked as bot, the best bet is to implement ability to change ciphersuite, extension, EC Point Formats, Signature Algorithms, Supported Groups to match exact real web browsers like Firefox, Chrome.
Visit this website with OpenSSL: https://alternativeto.net
The website will return a bot check page, and many websites nowadays treat OpenSSL user as bot.

This issue hasn't aged super well. TLS fingerprinting is still an increasing & big problem, but 'shuffling' is now mostly irrelevant, since Chrome now shuffles its own extensions anyway (https://chromestatus.com/feature/5124606246518784) meaning that all fingerprinting implementations have effectively had to become order agnostic.
This is still a problem though. There are increasing numbers of sites which use TLS fingerprinting to block OpenSSL (and all other non-browser) connections, and steadily improving techniques (like JA4+) to do so.
ECH is not going to solve this (many big offenders like Cloudflare are terminating TLS, so can just fingerprint the encrypted hello). While Chrome and others may try to help further, fundamental differences in the TLS features they want to support limit what they can do. Long term, the only way to defeat TLS fingerprinting is to be able to fully support the same features, and configure all the settings required to match other libraries behaviours.
The only 'working' solution right now is utls which extends Go's TLS implementation and rewrites the hello directly to match an arbitrary fingerprint (even where this requires advertising support for unknown ciphers or extensions - so there's plenty of problems with this) and then somehow modifies internal state so this is used in subsequent handshake hashes (yikes). Despite that this is pretty popular & the best option. It would be great to have a better solution via OpenSSL directly.
To explore that, I've done some testing, comparing my OpenSSL client hello (from Node.js v20.11 specifically) to Chrome (v123) & Firefox's (v124). Some of this will depend on my & Node's configuration, but it's an interesting data point. The key differences in fingerprint I see are:

OpenSSL always sends a TLS_EMPTY_RENEGOTIATION_INFO_SCSV cipher that Chrome & Firefox never do (see https://github.com/openssl/openssl/issues/18790).
Chrome has some extra extensions that my OpenSSL traffic doesn't:

0xff01 renegotiation info extension (the alternative to TLS_EMPTY_RENEGOTIATION_INFO_SCSV)
0x4469 ALPS HTTP/2 settings ()
0xfe0d encrypted client hello (ECH).
0x12 certificate transparency request (supported in OpenSSL but not enabled in Node)
0x1b compressed certificates (supported in OpenSSL but only 3.2)
0x0a0a GREASE

Firefox also has:

0x22 delegated_credentials (RFC 9345)
0x1c record_size_limit (RFC 8449 - https://github.com/openssl/openssl/pull/18248)
0x29 PSK

Firefox & Chrome both send more EC curves by default (29-23-24-25-256-257 vs 29-23-24).
Firefox & Chrome both send fewer EC formats (0 vs 0-1-2).

I think quite a bit of that is fixable with configuration changes, but some of it is currently impossible to modify downstream. Given that, there are a few small key things that could change in OpenSSL which would make it much easier to handle these TLS fingerprinting issues:

Fixing https://github.com/openssl/openssl/issues/18790, to replace the TLS_EMPTY_RENEGOTIATION_INFO_SCSV cipher with the 0xff01 extension in the empty case. This alone is a dead giveaway for OpenSSL traffic, and seems like a relatively easy safe change (since BoringSSL & NSS seem to do this everywhere already).
Making it possible to modify the EC point formats used. See https://github.com/openssl/openssl/issues/12644 (quietly closed but unimplemented AFAICT) and https://github.com/nodejs/help/issues/2905. It seems the infrastructure for configuration of this exists, but it's not exposed or tested at all.
Finishing & merging https://github.com/openssl/openssl/pull/18248 (was working, now needs rebase work by the look of things)

I think with those changes, it would be possible to match everything used in a normal browser except the extensions. For extensions though, I think clients can often mock support by registering their own custom extensions to handle these (often with dummy data, ignoring responses wherever possible - effectively just like what UTLS is doing).
I'm not well placed to do this myself immediately, but I'm open to digging into it to try and open some PRs, if there's any chance that changes to the 3 points above might be accepted? Alternatively if anybody actually who knows what they're doing here wants to work on those that would be amazing.

Nice summary @pimterry

if there's any chance that changes to the 3 points above might be accepted?

I see no reason why they wouldn't be. They all seem like reasonable changes to me.

The issue is OpenSSL isn't really open in terms of configuration, OpenSSL users are only allowed to modify cipher (but can't modify/remove TLS_EMPTY_RENEGOTIATION_INFO_SCSV), can't modify extensions (critical), can't modify curves.
Library like uTLS for example, allows users to modify everything, thus they were able to bypass TLSFingerprint.

@GunGunGun see https://github.com/openssl/openssl/pull/24161 linked above - I've now fixed the renegotiation issue, so OpenSSL will no longer send an SCSV cipher in the next release.
It is possible to add custom extensions I think (with https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_add_custom_ext.html) which should cover many cases (but not as many as utls).
Fixing https://github.com/openssl/openssl/issues/12644 will make curve formats changeable too. A PR for that would be great! If not I may have time to open my own later this year but not imminently.
I suspect changes to allow changing other parts will be helpful for this if you're interested (I'm not a maintainer, but I'd certainly be in favor of that) but in general for OpenSSL it is important to not allow configurations that are totally broken or insecure (utls ignores this concern).

Google's motivation for adding extension order shuffling was to ensure that any servers relying on specific orders (where the ordering is not constrained by standards) would break, similar to GREASE.
Mainlining ability to mimic other TLS stacks in OpenSSL seems rather unsustainable, @pimterry covers the issues pretty well.
I also want to note that the risk of introducing bugs (including security bugs) seems rather high.
Even if OpenSSL maintained a superset of all other TLS libraries at all times, any users relying on this functionality would need to regularly install updated versions of OpenSSL from source... at which point, they might as we be using a custom tool.

We're making baby steps but I'm glad we're trying instead of doing nothing.
But I think we should treat TLS Fingerprint as high priority because it makes OpenSSL almost unusable in production environment, wanting to connect to Cloudflare/Akamai's protected websites ? Not gonna work, and websites just keep adding TLS Fingerprint, the more they implement it the more unusable OpenSSL will become, that's something we need to solve in long terms.

But I think we should treat TLS Fingerprint as high priority because it makes OpenSSL almost unusable in production environment

Agreed - the internet is quite quickly moving towards a model where everything lives behind a CDN, and all big CDNs block non-browser clients. Imo it's pretty plausible that within a couple of years it won't be possible to access most websites (as opposed to APIs) with an OpenSSL client, in a scenario not dissimilar to using Tor to browser the web today.
I don't think client discrimination at a network level like that is good for the web or the tech industry generally.
In addition to the practical problems, it's also a privacy & security issue, since TLS fingerprinting clearly tells the server and all other observers exactly who the client is and how it's implemented. You can imagine this being used to recognize vulnerable OpenSSL client versions, for example, or by ISPs to collect data on the kind of devices & software being used by their customers.

Mainlining ability to mimic other TLS stacks in OpenSSL seems rather unsustainable

Agreed - I don't think OpenSSL should even try to directly support mimicking a fingerprint.
I do think though that OpenSSL with a few small changes can make its fingerprint closer to others, and make it easy for 3rd party libs on top to directly support mimicking (and accept the maintainence hassle & security risk tradeoff required for that on their side). I think the few changes I've listed above are effectively all that's required to do so (AFAICT, in the current ecosystem) and I'm going to keep working on those where I have time over the next few months, aiming for the OpenSSL v3.4 release.
Once those are in place, there'd be two options to match fingerprints:

Just enable the same configure as a recent browser. In general, I'd hope OpenSSL wouldn't be too far behind browser TLS implementations in feature support, and we don't need to match latest browsers, just a browser sufficiently popular that CDNs don't yet block all its traffic completely. If it's possible to configure OpenSSL with the same settings as a popular browser from a year or two ago, for example, that should work (bit of a guess - but plausible imo). Where OpenSSL is <2 years 'behind' the browsers in feature support, everything could potentially work OOTB with just config settings. That range also limits the required update frequency.
For cases where something is missing, the vast majority is going to come down to specific extensions, and it's already possible to register custom extensions to mimic those. This definitely could have security risks, but not always (e.g. implementing ALPS, ALPN, GREASE or record size limits is all reasonably safe as a custom extension). I'm going to explore that in more depth later.

This'll always be a moving target, so it may not be perfect, but I don't think there's any particularly good reason that the alternative (OpenSSL never sending the same client hello as a modern browser) should be the case long-term. Fundamentally, most of the work here is really just supporting widely used modern TLS features, and providing configuration options to tweak that around the edges to match up the details.

In addition to the practical problems, it's also a privacy & security issue, since TLS fingerprinting clearly tells the server and all other observers exactly who the client is and how it's implemented. You can imagine this being used to recognize vulnerable OpenSSL client versions, for example, or by ISPs to collect data on the kind of devices & software being used by their customers.

Absolutely, OpenSSL has always been focused on security (at least we know the reasons why they refused to add new features), but being detectable is security hole, just like webserver showing Apache/PHP version for hackers to study, being able to know exact OpenSSL/SSL client version is making it more hackable.
Also privacy also somewhat relates to security because being able to profile someone allowing them to have an idea about what that person like, what time they usually online..., and allows hackers to prepare for attacks for example NFT_God, that guy was hacked because he was searching Google for OBS, Google showed him an fake OBS ads and he lost billions of dollars.

Shuffling extensions is obscurity not security.  There will always be other ways to fingerprint, especially since it's a moving target.
That doesn't mean this shouldn't be considered, it should be.

Shuffling extensions is obscurity not security. There will always be other ways to fingerprint, especially since it's a moving target.

Not if you mimic exactly like web browser, the ratio is 1:1 there's zero ways that they can detect OpenSSL as client or real web browsers. A project called uTLS did that and I've tested it on many TLS Fingerprint protected sites, all got bypassed.
https://github.com/bogdanfinn/tls-client


[NEW CONTENT TYPE REQUEST] GameMaker data file

What type of file would you like magika to detect?
GameMaker data (data.win)
What software can create/open these files?
GameMaker Studio, Undertale Mod Tool.
Where can these files be found?
The Windows version of any GameMaker game. Some GameMaker games are packaged as a standalone executable, but the data.win file can be found inside if you unzip the exe.
If possible, please provide a specification for this file type.
Additional context

Closing, see https://github.com/google/magika/issues/152 for context. Thanks!


Update ingest-data-managed-identity.md

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

File
Status
Preview URL
Details

data-explorer/ingest-data-managed-identity.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@shsagir
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Approved by ADX content and engineering teams
#sign-off
@court72


FoxCore Wand Data causes Exception

I've been running into a repeated problem with FoxCore/FoxGuard lately, namely that it freezes the main server thread after about ~12-18 hours server runtime. The Main thread will be stuck at 100% core usage, with two side threads being at 100% and 80% respectively. This behavior goes away if FoxCore/FoxGuard is removed, but that is not really the scope of this issue - I'm still trying to figure out why it happens, so nothing clear on that yet.
This issue is something that just now happened: I can no longer join after getting that above behavior. The FoxCore Wand in my inventory is causing an exception, so I'm kicked off the server. This happened after warping myself with Nucleus /rtp and getting the above explained FC/FG freeze.
Versions:

Minecraft: 1.12.2
Forge: <IP_ADDRESS>10
SpongeForge: 2768-7.1.6
FoxCore: 0.22.0 Beta 258 Server
FoxGuard: 0.22.0 Beta 450 Server
LuckPerms Sponge: 4.3.87

Console Log:
[13:38:29] [Server thread/WARN] [minecraft/NetworkSystem]: Failed to handle packet for /********
net.minecraft.util.ReportedException: Loading entity NBT
        at net.minecraft.entity.Entity.func_70020_e(Entity.java:1878) ~[vg.class:?]
        at net.minecraft.world.storage.SaveHandler.func_75752_b(SaveHandler.java:224) ~[bfb.class:?]
        at net.minecraft.server.management.PlayerList.func_72380_a(PlayerList.java:324) ~[pl.class:?]
        at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:1482) ~[pl.class:?]
        at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:255) ~[NetworkDispatcher.class:?]
        at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:72) ~[NetworkDispatcher.class:?]
        at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:205) ~[NetworkDispatcher$1.class:?]
        at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285) ~[gw.class:?]
        at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180) [oz.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandKeys
        at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandData.registerGettersAndSetters(WandData.java:92) ~[WandData.class:?]
        at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandData.<init>(WandData.java:63) ~[WandData.class:?]
        at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandData.<init>(WandData.java:67) ~[WandData.class:?]
        at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandDataBuilder.create(WandDataBuilder.java:48) ~[WandDataBuilder.class:?]
        at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandDataBuilder.buildContent(WandDataBuilder.java:60) ~[WandDataBuilder.class:?]
        at org.spongepowered.api.data.persistence.AbstractDataBuilder.build(AbstractDataBuilder.java:87) ~[AbstractDataBuilder.class:1.12.2-2768-7.1.6-RC3560]
        at org.spongepowered.common.data.util.DataUtil.lambda$deserializeManipulator$11(DataUtil.java:239) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
        at java.util.Optional.flatMap(Optional.java:241) ~[?:1.8.0_201]
        at org.spongepowered.common.data.util.DataUtil.deserializeManipulator(DataUtil.java:239) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
        at org.spongepowered.common.data.util.DataUtil.tryDeserializeManipulator(DataUtil.java:225) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
        at org.spongepowered.common.data.util.DataUtil.lambda$deserializeManipulatorList$10(DataUtil.java:206) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
        at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_201]
        at org.spongepowered.common.data.util.DataUtil.deserializeManipulatorList(DataUtil.java:206) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
        at net.minecraft.item.ItemStack.readFromNbt(ItemStack.java:2629) ~[aip.class:?]
        at net.minecraft.item.ItemStack.handler$onRead$zif000(ItemStack.java:2461) ~[aip.class:?]
        at net.minecraft.item.ItemStack.<init>(ItemStack.java:139) ~[aip.class:?]
        at net.minecraft.entity.player.InventoryPlayer.func_70443_b(InventoryPlayer.java:639) ~[aec.class:?]
        at net.minecraft.entity.player.EntityPlayer.func_70037_a(EntityPlayer.java:874) ~[aed.class:?]
        at net.minecraft.entity.player.EntityPlayerMP.func_70037_a(EntityPlayerMP.java:195) ~[oq.class:?]
        at net.minecraft.entity.Entity.func_70020_e(Entity.java:1866) ~[vg.class:?]
        ... 13 more

O.o
I'll make sure Fox sees this... Depending on how his university is going, he may have an answer shortly.

Hi @Xaymar ,
Can you please upload the debug and latest log files (and/or crash file if the exist).
If you would like, you can share a link directly with me on discord, or you can share it here:
Snowie (D4rk)#1374
This is not an issue we have ever seen before, and looks like Java just...
Thanks!

Actually we think we found the issue, standby. I will update this when we have the solution.

Temp.zip
Zip contains log and debug file from that day. I have been unable to get this to happen again yet (but I still experience the freezes, which seem to originate from saving files).

Closing this to get rid of entries in my open issues list.


Tutorial problems (does not run by following exact steps and missing chapters)

I had to deviate from the tutorial instructions and put main.js in the client folder (tutorial said root folder) in order to avoid a build error (ReferenceError: window is not defined)

Furthermore, as I flip through the chapters 17, 18, 20, 21, 22 the text from the last displayed chapters are displayed. (I was hoping to see if anything has changes to packaging and ionic that are required in Meteor 1.3)

+1 chapters 17 18 20 21 22 are not displayed

those chapters are not updated yet in the Angular 1.x tutorial.  I hope to get them updated this weekend.
the Angular 2.0 chapters are updated until 18

@kokokenada @benco1967
Steps (each PR):

17-18
19
20-21
22

are now available! :)

thank you @kamilkisiela !

Hi,
I try to rebuild my application with the new version it works well, just
fine.
I just need to improve Roles like I did with the previous version.
Your work is awesome.
At work I use to work with Play! and ng 1.3, but I like Meteor and ng 1.5
Explain with your tutorial it's a piece of cake
best
Benoît
Le 9 avr. 2016 23:01, "Uri Goldshtein"<EMAIL_ADDRESS>a écrit :

those chapters are not updated yet in the Angular 1.x tutorial. I hope to
get them updated this weekend.
the Angular 2.0 chapters are updated until 18
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/Urigo/angular-meteor/issues/1324#issuecomment-207853733


Deploying an application

I'd like to get more info on how to launch an application onto Kubeslice. I've been trying to "Sassify" and "multi-tenant-ize" a single tenant application on Kubernetes for a while now and I'm finding that it's quite hard to do. Mattermost seems to have accomplished it and it's complicated. The idea is to have clients / organizations login to their own customer portal, buy a subscription and launch the app in the cloud. Seems pretty straightforward but boy it's not! Add SSO to the mix and it's a real treat.
If you have any thoughts, pointers for using Kubeslice in this use case I'd be grateful. Cheers, Dave

Hi Dave.   Sure, with Kubeslice you can deploy applications (or multiple instances of a single application) across multiple isolated namespaces (aka Slices) in a single cluster (or extend those Slices across multiple clusters).
How do you want the service to appear to your customers?   I mean do you want a single portal through which each tenant reaches their instance?   Or do you want each customer to have their own/separate DNS/URL?

Hi Eric:
Thanks for getting back. I'll put together some finer details and get them
over to you.
In the meantime...
The general flow for provisioning a new BillStreams installation is:

Customer creates an account on the Customer Portal Server (CPS)
2.
CPS makes an HTTP API request to the Provisioning Server (PS) asking for
a new installation of BillStreams
3.
PS evaluates the existing Kubernetes clusters and selects one that has
capacity and correct affinity for a new installation
4.
PS instructs the BillStreams Operator (BO) of the selected cluster to
create a BillStreams deployment
5.
MO deploys a new BillStreams installation potentially with database and
other needed infrastructure
6.
When deployment completes, PS pushes an update to CPS
7.
CPS notifies customer that their installation is ready and provides
login link
Cheers,
Dave
On Fri, Jun 24, 2022 at 7:43 AM Eric Peterson @.***>
wrote:

Hi Dave. Sure, with Kubeslice you can deploy applications (or multiple
instances of a single application) across multiple isolated namespaces (aka
Slices) in a single cluster (or extend those Slices across multiple
clusters).
How do you want the service to appear to your customers? I mean do you
want a single portal through which each tenant reaches their instance? Or
do you want each customer to have their own/separate DNS/URL?
—
Reply to this email directly, view it on GitHub
https://github.com/kubeslice/examples/issues/19#issuecomment-1165493031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEVXNSEWBCINY6QKA66KQETVQWNPPANCNFSM5ZWBVUIQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Eric:
Thanks for getting back. I'll put together some finer details and get them over to you.
In the meantime...
The general flow for provisioning a new BillStreams installation is:

Customer creates an account on the Customer Portal Server (CPS)
CPS makes an HTTP API request to the Provisioning Server (PS) asking for a new installation of BillStreams
PS evaluates the existing Kubernetes clusters and selects one that has capacity and correct affinity for a new installation
PS instructs the BillStreams Operator (BO) of the selected cluster to create a BillStreams deployment
MO deploys a new BillStreams installation potentially with database and other needed infrastructure
When deployment completes, PS pushes an update to CPS
CPS notifies customer that their installation is ready and provides login link

I've attached a diagram of our first iteration on this:

Hi Dave.   So yeah, at a high level, a "Billstream Installation X" could be deployed on a Kubeslice (which would have the effect of isolating instance X from instance Y and providing you some controls over how the pods in each slice are provisioned/scaled.
From your description, it sounds like customers will access their installation containers by going thru the customer portal and making requests that the BillStreams Operator will pass on to the appropriate installation?   If so, that's fine.   When provisioning a slice you have an option to say what other namespaces/etc should have access to a given slice.   So, for example, if the "BillStreams Operator", "Logging/Monitoring", and "Teleport" pods were on the "billstreams" namespace, you could give "billstreams" access to all the slices (while denying anything else from getting into them).

Thanks, sounds good. Yeah, the users will interact with the operator only when signing up to the service and getting a notification that their instance is ready. After that they'll only use the portal for subscription, billing, tokens, user management etc. Very similar to what MatterMost does.

Say once a user has launched their instance of a BillStream installation, will they talk to the services inside that installation by going thru the portal?   Or will a service in the installation be exposed for users to interact directly with it?  (I.e., direct N/S traffic into the installation)?
Either way, Kubeslice can help to manage and isolate each installation from the others.   Let us know if we can help you try something out.

We're trying to convert this: https://www.getlago.com/ to Saas / Multi-tenant. We're leaning more towards doing things through the portal.

@gridworkz
Hi Dave, was browsing thru kubeslice project and found this thread. Is this what you are trying to do?

-D


broken

well i did everything the "how to install" told me but it still didnt work, is there a newer version thats not 2.0.0, orr....

Could you let me know if you're seeing any errors or what exactly happens when you try to install it? That'll help me figure out what's going wrong.


builder internal []byte is a clone of the one used in NewBuilder

Builder will now make a copy of the []byte.
This is to avoid the change of the []byte used as argument for NewBuilder without knowing it

Thanks for the contribution!

I'd also love to know how/in what context you're using builder and if you have any feedback/further use cases!

Hey. You are welcome.
We are using it for what you ve done it, libphonenumber. ;)
This commit fix a small issue in libphonenumber.
I have also made a pull request on libphonenumber.
Thanks for your code


MPI refactoring

First steps of the change from multithreading to MPI.

moved all MPI connection and communicator creation into a new file: FatEndPoint.py
moved all multithreading related code into a new file: mpi_translator.py
started to mark the changes from Threads to MPI.

The new files should just be merged into the repo.
Changes to be checked are in the nest_to_tvb.py file.
The test test_translation_nest_to_tvb.sh  still passes.

NOTES after the first reviews:

This code is in a transition state from THREADS to MPI as communication protocol.
This means there are still undocumented parts as well as not refactored parts that might not yet make sense.
The mentioned test in the first comment runs successful, to ensure working code.

Important points were addded to Issue 3.

NOTES after the first reviews:

This code is in a transition state from THREADS to MPI as communication protocol.
This means there are still undocumented parts as well as not refactored parts that might not yet make sense.
The mentioned test in the first comment runs successful, to ensure working code.

Important points were addded to Issue 3.

NOTEs after the first reviews:

Transistion state from using THREADS to using MPI as communication protocol.
There is still a mixture of old and new code. Not every functions might  make sense yet.
There are still undocumented functions and code snippets.

All important points from the reviews were added to Issue 3.

NOTEs after the first reviews:

Transistion state from using THREADS to using MPI as communication protocol.
There is still a mixture of old and new code. Not every functions might  make sense yet.
There are still undocumented functions and code snippets.

All important points from the reviews were added to Issue 3.


Is there a way to append menu items to the debug menu?

For example, I have a few menu items in production that I would like to carry over to the development builds, like "About" which holds the version number.

Okay, played around with the standard API and it was actually pretty easy. For anyone else who was wondering:
const aboutMenuItem = new MenuItem({
  label: 'About',
  click: function (item, focusedWindow) {
    if (focusedWindow) {
      const options = {
        type: 'info',
        title: 'About',
        buttons: ['Ok'],
        message: `Version 0.1.0`
      }
      dialog.showMessageBox(focusedWindow, options, () => {})
    }
  }
})

const menu = Menu.getApplicationMenu()
// Stick the About submenu on the very end of Help.
menu.items[menu.items.length - 1].submenu.append(aboutMenuItem)


Non-zero minimum Spacing ignores non-repeating cell size

(Required) Version Number: 8.0.2
Description
Below code worked great until a non-zero minimumLineSpacing was set.
let width = self.view.frame.width
let cellSize = CGFloat(width / 7).rounded()
calendar.cellSize = cellSize
calendarWidthConstraint.constant = cellSize * 7

// Problematic
calendar.minimumLineSpacing = 4

When performing ranged selection, bug mentioned in various issues (e.g. #1147),arises.
Notes
In addition, setting a single property cellSize does not insure cell's aspect ratio to be 1:1. Is this intended and if so, how do I overcome this? Is adjusting the header size an option?
Thanks a bunch and love the package so far 👍

The cells size is determined by by the height for the calendar (if horizontal) or the width of the calendar (if vertical).
As for the lines. What width is your calendar when your app is launched? (you can use the UI debugger to find this)

<JTAppleCalendar.JTACMonthView: 0x1049bb000; baseClass = UICollectionView; frame = (2 56; 371 495); clipsToBounds = YES....

The width is 371, which is divisible by 7.

The weird thing is the gap is not visible in the UI debugger, but visible on an actual device (screenshot below)

Seems like the line was caused by a non-circular cornerRadius. So that problem has been resolved!

Regarding a cell whose aspect ratio is 1:1, how would you recommend going about that in a UI like this?

You already have your calendar height.
Therefore just set the .cellSize to some value that looks good to you.

Please correct me if I'm wrong but .cellSize only dictates the width of the cell, right? If that's the case, I'm not able to set the height of the cell without setting the height of the entire calendar.
However, I'm not sure how I would go about calculating the height of the calendar that would insure me that I would get an 1:1 aspect ratio for my cells.

Have you tried setting the cellSize?
If your calendar is a vertical calendar, then this is how you set the cell size.
If you want 1:1 then set the cellSize to calendarWidth/7

That's exactly what I'm doing. It works great when calendar.minimumLineSpacing = 0 but breaks when minimumLineSpacing is a non-zero value. It seems like minimumLineSpacing adds spacing to the lines by subtracting from the existing line height instead of adding additional spacing in between the lines?
btw, thanks a bunch for the quick responses 👍
let width = self.view.frame.width
let cellSize = CGFloat(width / 7).rounded()
calendar.cellSize = cellSize
calendarWidthConstraint.constant = cellSize * 7
calendar.minimumLineSpacing = 4

@jappleseed69 did you resolve this problem?


[Release-1.26] - Unable to create split role cluster

Backport fix for Unable to create split role cluster

#9540

Closing as this was found via KDM CI and is now passing there.


Add read write sheet

Coverage decreased (-0.8%) to 99.223% when pulling 5c5c7ccee66d0333a93d90b18c3c11cf2137e938 on add-read-write-sheet into 19dd39beb43be4abc34c99063866e3b00e7d32f2 on master.

Coverage decreased (-0.09%) to 99.905% when pulling 7b1c6531ebc8d5ffb4bccc1a73961bc51cf15c1d on add-read-write-sheet into 19dd39beb43be4abc34c99063866e3b00e7d32f2 on master.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-extensions/eventing-writers
/assign knative-extensions/eventing-writers
Produced by: knative-extensions/knobots/actions/update-deps

/retest

Build issues addressed in #4121

/retest

/hold

I want to get https://github.com/knative-extensions/eventing-kafka-broker/pull/4090 in first

/unhold
/lgtm
/approve

/retest-required

/retest

/retest

/retest-required

/retest


Lepiter Snippet Position

Transcript snippets automatically get a "now" timestamp, but they need to get it from the player and maybe should get it on first edit because the first (ensured) snippet may be created way ahead of time

Automatically gets current timestamp on creation, but https://github.com/seandenigris/Quote-Me/commit/683f27b9aa453f8efa1c4f9f501bae76dfe1209e provides a button to update it


pusher event trigger returns empty hash {}, but the triggered event is not binding in the rails view

i triggered an event
Pusher.trigger(@my_channel, 'new-message', {:from => current_user.name, :subject => @chat_message.content, :time => Time.now.strftime("%I:%M%p"), :user_id => current_user.id})

binding the event in view
Pusher.host="x.x.x.x"
Pusher.ws_port=8080
Pusher.wss_port=8080
Pusher.channel_auth_endpoint="<%= pusher_auth_path %>";

  var pusher = new Pusher('xxxxxxxxxxxxxxxxfcc7',
  {host: 'x.x.x.x',
  wsHost: "x.x.x.x",
  wsPort: "8080",
  encrypted: false,
  enabledTransports: ['ws', 'flash'],
});

var channel = pusher.subscribe('<%=  @my_channel %>');

channel.bind('new-message', function(data) {
  console.log("new  message bind");
});

but the 'new-message' event is not binding.
i am runnig slanger with -v flag, i am not getting any thing in slanger verbose when the event trigger.
can anyone tell me why this is happening ?
please help i am struck from two days.

What are you doing for the auth?

In Pusher controller
def auth
if current_user
response = Pusher[params[:channel_name]].authenticate(params[:socket_id], {
:user_id => current_user.id, # => required
:user_info => { # => optional - for example
:name => current_user.name,
:email => current_user.email
}
})
render :json => response
else
render :text => "Forbidden", :status => '403'
end
end
thats it.

I can't spot anything obviously wrong. If you can create a repo that replicates the problem I can take a look at it

Thank you @markburns ,
i solved it by adding pusher.port = 4567
before pusher trigger.


⚠ Turnos 24x7 has degraded performance

In c2f54bd, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1012 ms

Resolved: Turnos 24x7 performance has improved in 396b5e5.


feat: support conversation

〉.conversation

＄.clear conversation

〉

close #40

Is it possible to add a CLI option to enter the conversation mode directly?

@XOKP #55 solved this

Thank you so much for implementing it so so fast! Your hard work and responsiveness to suggestions are truly appreciated.
Just one additional thought: since this is a system-wide configuration, it might be even more useful if we could also set it based on specific roles rather than just as a global setting.
I'm grateful for everything you've done, thanks again for all your effort on this project.

Semantically, role is only related to gpt, not to tui operation, I will not do this.


Fix opus_support.py for new julian library bug fix

Fixes #N/A
Were any Django, import pipeline, or table_schema files modified? Y

If YES:

Database used (or new import): New import
FLAKE8 run on modified code: Y
All Django tests pass: Y
Code coverage run and still at 100%: Y

Were any JavaScript or CSS files modified? N

If YES:

JSHINT run on all affected files: Y/NA
Tested on Chrome, Firefox, Safari, Edge, and iOS: Y/NA
(Remember to test all browser sizes)
Tested for race conditions (with delayed API calls if applicable): Y/NA

Was the documentation reviewed for necessary changes or additions? Y/NA

About
Getting Started
FAQ
API Guide
Tooltips
Import/database schema

Description of changes:
Adapt OPUS to rms-julian v2.0.0 and later. To test this, you must update your virtual environment with the latest version of rms-julian as specified in requirements.txt.
The major rewrite of the rms-julian package fixes a bug in the zero-point for time, resulting in various test cases needing to be modified. Minor other changes required fixes to opus_support.py as well.

Known problems:
BTW I fixed the old Windows line-ending on opus_support.py so be sure to look at the diffs with Whitespace turned off to see what really changed.

My mistake. Let me update the requirements.txt.


lang.value:fromBalString() should not parse error values

Description:
https://github.com/ballerina-platform/ballerina-spec/blob/7b8db69f8e4866f6722ab5197772213d901f9c2c/lang/lib/value.bal#L115
Return type of the function is anydata|error. The function doc says it returns an error when it encountered something that can't be parsed. Since anydata does not contain error values, this function should not parse error values.
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Looks good to me.


[Controller]Config update is not sync to pod.

Behavior: When updating connector config, e.g. auth plugin, the change was not reflected on pod.
Expected: After config is updated, change should be reflected on pod.

For your reference, this PR supports this feature in pulsar operators: https://github.com/streamnative/pulsar-operators/pull/263


NOISSUE fix multiple run TestPostgresWriteReadAndLatest

- What I did
- How I did it
- How to verify it
- Description for the changelog

as a part of task https://insolar.atlassian.net/browse/PENV-248


Update change

The GMS800L module is very magical and is used in many projects. It is in this ambition we provide this new library to help you in your different projects

Closing as invalid/duplicate of https://github.com/arduino/library-registry/pull/2092


Trouble training

Describe the bug
The training speed suddenly drops off and then bit later get then error
Too many open files. Communication with the workers is no longer possible. Please increase the limit using `ulimit -n` in the shell or change the sharing strategy by calling `torch.multiprocessing.set_sharing_strategy('file_system')` at the beginning of your code

https://app.neptune.ai/o/OpenClimateFix/org/predict-pv-yield/e/PRED-1121/monitoring

Possible solutions
https://github.com/pytorch/pytorch/issues/11201

I put this in the dataloader
torch.multiprocessing.set_sharing_strategy('file_system')

and the start and in the 'per_worker_init' function

tried taking off 'persistent_workers=False` in the dataloader

Try running on v_15 (not v15_v2)
https://app.neptune.ai/o/OpenClimateFix/org/predict-pv-yield/e/PRED-1137/monitoring
The GPU level also dropped, but did not freeze the computer.
Note that this training was a lot quicker, so there might be something different with the files in v15 and v15_v2

lets look at the size of one batch

v15
v15_v2

nwp
20MB
13MB

satellite
Paragraph
Text

Added option to only download metadta once - https://app.neptune.ai/o/OpenClimateFix/org/predict-pv-yield/e/PRED-1157/monitoring
working so far

Wokring - https://app.neptune.ai/o/OpenClimateFix/org/predict-pv-yield/e/PRED-1162/monitoring
so Ill close for now


TTF_Openfont not found

The included example crashes for both, Julia 0.6.4 and 0.7 beta 2 on the call to TTF_Openfont:
ERROR: LoadError: UndefVarError: TTF_OpenFont not defined
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] process_options(::Base.JLOptions) at ./client.jl:305
 [4] _start() at ./client.jl:371

libsdl2-ttf and libsdl2-ttf-dev are installed. The platform is ubuntu 16.4.

Thanks for testing this out, we have been making some changes recently (https://github.com/jonathanBieler/SimpleDirectMediaLayer.jl/pull/20) and it might work better on master (Pkg.checkout) although the tests still fail on linux (installation problems...).
Note there's this issue on v0.6 that might also create problems.

With master I don't get a LoadError any more, but now the test program crashes with a segfault on what appears to be this line:
text = SDL2.TTF_RenderText_Blended(font, txt, SDL2.Color(20,20,20,255))

(again the same for 0.6.4 and 0.7 beta 2 (plus a gazillion warnings for the latter of course))
signal (11): Segmentation fault
while loading /home/martin/devel/projects/test/juliasdl/test.jl, in expression starting on line 29
TTF_SizeUTF8 at /usr/lib/x86_64-linux-gnu/libSDL2_ttf.so (unknown line)
TTF_RenderUTF8_Blended at /usr/lib/x86_64-linux-gnu/libSDL2_ttf.so (unknown line)
TTF_RenderText_Blended at /usr/lib/x86_64-linux-gnu/libSDL2_ttf.so (unknown line)
TTF_RenderText_Blended at /home/martin/.julia/v0.6/SimpleDirectMediaLayer/src/lib/SDL_ttf.jl:150
unknown function (ip: 0x7f808bfb6c73)
jl_call_fptr_internal at /buildworker/worker/package_linux64/build/src/julia_internal.h:339 [inlined]
jl_call_method_internal at /buildworker/worker/package_linux64/build/src/julia_internal.h:358 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:1903
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:75
eval at /buildworker/worker/package_linux64/build/src/interpreter.c:242
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:543
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:692
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:592
jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:873
jl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:616
include_from_node1 at ./loading.jl:576
unknown function (ip: 0x7f809e98fecb)
jl_call_fptr_internal at /buildworker/worker/package_linux64/build/src/julia_internal.h:339 [inlined]
jl_call_method_internal at /buildworker/worker/package_linux64/build/src/julia_internal.h:358 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:1903
include at ./sysimg.jl:14
unknown function (ip: 0x7f809e81a4eb)
jl_call_fptr_internal at /buildworker/worker/package_linux64/build/src/julia_internal.h:339 [inlined]
jl_call_method_internal at /buildworker/worker/package_linux64/build/src/julia_internal.h:358 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:1903
process_options at ./client.jl:305
_start at ./client.jl:371
unknown function (ip: 0x7f809e99eaf8)
jl_call_fptr_internal at /buildworker/worker/package_linux64/build/src/julia_internal.h:339 [inlined]
jl_call_method_internal at /buildworker/worker/package_linux64/build/src/julia_internal.h:358 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:1903
unknown function (ip: 0x401bc8)
unknown function (ip: 0x401612)
__libc_start_main at /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291
unknown function (ip: 0x4016bc)
Allocations: 1077108 (Pool: 1076026; Big: 1082); GC: 0
Segmentation fault (core dumped)

I've in the meantime upgraded to 18.4 (new computer). Installing master and running tests and examples works without any issues now.

Nice, I also made some changes on master to make sure everything installs, so I don't think the issue was completely useless.


kubernetes-incubator: become a kubernetes incubator project

We need to put together a proposal and follow the steps ehre: https://github.com/kubernetes/community/blob/master/incubator.md

Still think this should be in the realm of consideration for us.
Let's make an attempt / proposal once we hit 1.0.

As mentioned in #375 the 1.0 milestone has only 4 issues from 2017 and all look abandoned.
Is there any work being done to upstream this project?


Regression in src/widgets/framework.dart

I migrated from 2.0.3 to 2.2.1 and had a bunch of breaks in my test code.
The root cause of this is in src/widgets/framework.dart
Element? get _currentElement =>
      WidgetsBinding.instance!.buildOwner!._globalKeyRegistry[this];

In the case where these objects are nil, it crashes.
Should this not be:
Element? get _currentElement =>
      WidgetsBinding.instance?.buildOwner?._globalKeyRegistry[this];

@emlynmac
Can you provide a complete minimal reproducible code sample that shows this regression alongwith complete flutter doctor -v ?
Thanks.

Sorry, not at the moment. I’d have thought the code inspection was enough to see the issue here

@emlynmac
Yes we do see the change as you mentioned, but I am trying to find a PR / commit which may have updated it and in order to properly address this issue, would need a minimal code sample to see how it affects or introduces breaking changes.
Thanks.

To me, it looks like this change: https://github.com/flutter/flutter/commit/5584fce36e8e68505b75655fde7c42ded597d49e caused the issue.
It's not safe to force-unwrap a value if it could be nil; so simply replacing the ! with ? will maintain the API but also not cause a crash.

Thanks. Keeping this open for further insights from the team.
Cc: @tvolkert

Both the static WidgetsBinding.instance and the instance member WidgetsBinding.buildOwner should be non-null.  Are you running code before you call runApp()?  If so, you need to call WidgetsFlutterBinding.ensureInitialized().

A minimal repro test case is needed to investigate further.

@emlynmac I'm going to close this issue as working as intended (see my note above).  If you come up with a minimal repro case that you believe argues for adding null-check operators, then please feel free to re-open.

@tvolkert Thanks for the link to this issue.
I understand that I should call WidgetsFlutterBinding.ensureInitialized() and I do that in my app. But I also need to call some code (i18n setup) from an isolate where I can't call this and the library fails at that point.
What would be the correct check for the library to detect if the code is executed in an isolate?

@kuhnroyal do you have a stack trace of how the code that runs in an isolate ends up trying to access the global key registry?  The fact that the code running in an isolate ends up running framework code is a code smell.

Well, it is a static call setting the locale which in turn is trying to set some translation provider settings via a GlobalKey. The code can probably be changed but I am not sure how to detect if a particular isolate is the flutter isolate.

Interesting... if you could get a stack trace, that would be really helpful.  I'll re-open this issue for now.

I have a similar issue related to this using a state management package while testing, it is causing an exception when checking if the context is null: https://github.com/jonataslaw/getx/issues/1554

@tvolkert is the issue I talked about helpful for this issue? The bot closed this one right after my comment.

@arthurpiccoli try calling TestWidgetsFlutterBinding.ensureInitialized() before your test runs.

@arthurpiccoli try calling TestWidgetsFlutterBinding.ensureInitialized() before your test runs.

This did the trick. Working fine now.

Confirmed fix for my case too.


NuGet packages do not contain default profiles

Does this affect the legacy HoloToolkit (master) or the Mixed Reality Toolkit (mrtk_release)?
Mixed Reality Toolkit
Describe the bug
In the feature/MRTK_packageManager branch the new NuGet packages do not contain default profiles. This means that new ones must be generated for everyone consuming from NuGet
To Reproduce
(Links to sample GitHub project preferred)
Steps to reproduce the behavior:

Checkout feature/MRTK_packageManager
dotnet pack in Build folder
Create new Unity project and install NuGetForUnity
Add produced packages from dotnet pack above

Expected behavior
Default profiles exist
Actual behavior
Default profiles don't exist, and I must create new ones
Additional context
This feature is not yet in develop, so is only contained in this branch. This issue is to track before the feature merges.

I think this should be a task not a bug report

I think this should be a task not a bug report

Sure. I'm still adjusting to GitHub. Is there a better place to put this? I thought tasks and issues were basically the same?


ark get kubestr fails

The url for kubestr releases changed.
Expected Behaviour

Running arkade get kubestr installs kubestr
Current Behaviour

Running arkade get kubestr fails with
ownloading: kubestr
Downloading: kubestr
2022/02/27 13:25:22 Looking up version for kubestr
2022/02/27 13:25:23 Found: v0.4.31
Downloading: https://github.com/kastenhq/kubestr/releases/download/v0.4.31/kubestr-v0.4.31-darwin-amd64.tar.gz
Error: incorrect status for downloading tool: 404

Are you a GitHub Sponsor (Yes/No?)
Check at https://github.com/sponsors/alexellis

[x] Yes
[ ] No

Possible Solution

Update template
Steps to Reproduce (for bugs)

arkade install kubestr

Context
Tool reported broken by upcoming url-check package.

Your Environment

What Kubernetes distribution are you using?

kubectl version

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

Darwin welteki.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64

What arkade version is this?

Version: dev
Git Commit:

/add label: bug


NormalDialogCustomAttr has default color

What i am currently trying to achieve  is white as a background color  but i cant way out

I try what you say and it's ok.
  final NormalDialog dialog = new NormalDialog(mContext);
  dialog.isTitleShow(false)//
            .bgColor(Color.parseColor("#ffffff"))
            ...
            .show();

More details , you can see the demo. If it still dosen't work, then please show me your code. I will try my best to find what's wrong.

Thanks Flyco!


[Suggestion] Ragdoll deaths and Redstone Golem's mine attack

Well I want ask about the two thing in question I had in my mind.

Is it possible for you guys to add in Ragdoll deaths to the mobs in this mod (even if you have to make it's a separate mod) similar to that of the original game?

about the Redstone Golem's mine attack is it also possible for you guys to add in the non-active state of the mine (where it loses power, becomes a powerless black block, then begins to shrink to a smaller block before disappering after a certain period after the attack was first used.)?

We likely won't do this. Playing with animations and mob models is a time consuming thing. Plus there's always a big risk of mod incompatibilities. It would also mean we're going to have to fiddle with vanilla mobs, which is, again, pretty dangerous territory.
We can look into this one. Would make sense.

Thank you for the answers, it's just this mod and Dungeons gear is so good in capturing the Minecraft Dungeons experience.
Tho I do have two more questions.

Is there going to be compatibility with Obscuria's mods like Aquamirae since the illagers mobs are part of it and also compatibility the mod It Takes a Pillage as well?

with the mods Dungeons Bosses mod and Mobs Animations Plus existing. is it going to be any plans to contact the creators of the mods in question?


Control of progress bar label?

Hi there
As far as I can tell there is currently no way to control the format of the label to the progress bar in animations?
I have this currently...
import animatplot as amp
t = (np.arange(speed.shape[0])/12.+1950)
tt = t.astype(int)
.
.
.
anim = amp.Animation([im], amp.Timeline(tt))
anim.controls()
anim.save_gif('surface-ocean-circulation')

This gives 1950,1951,... but the labels on the progress bar are to 2 decimal places, see attached screenshot.
Is it possible to have further control over this, for example integer labels or even strings?
Many thanks
Jonny Williams
NIWA, New Zealand

Thanks, that works a treat.
Jonny


Addressing disqus comment

@mimig1

Hi @AndrewHoh, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (anhoh). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@barbkess

@barbkess
Please disregard, thanks.


Used highlight.js to add syntax highlighting to the content area.

Hello everyone!
I thought some syntax highlighting would by quite useful. Hence I used Highlight.js to colorize the content details:

Do you all agree to add this functionality? Should there be a button to switch the highlighting on or off (just asking, in case...)?

This is great stuff!
Personally I don't think this needs a switch as long as we keep it readable for people that are color blind... Might reconsider the color-scheme.

Yes, very useful. Perhaps best to use the color scheme that Firefox uses for view-source?

I've been very focused on the Firefox color scheme. It nearly completely matches it.
@tvdijen, which color scheme would be more appropriate?

You could fiddle around with the above image and this website:
http://www.color-blindness.com/coblis-color-blindness-simulator/
Epecially if you select Red-blind or Green-blind, everything becomes pretty much one color and thus hard to read.
Would it be an idea to keep te current color-scheme by default and be able to switch to an alternative scheme?

Aye!

If all agree, I think this PR should be ready for a merge 😃
@thijskh, would you be so kind and do a review again?


add goober alternative

I'd also like to suggest these, what do you think:
Forms: fielder a new approach or hooked-form resembles formik. Both are 2kb
Gql client: urql alternative to apollo for 8kb (no normalised cache and 14kb with)

Hey, that’s a great tip, thank you!

Would you mind formatting the tip per contribution guidelines? Basically, you just need to add a one-line header like > ⚠ Use with caution / How to enable is ↓ / Added by [AUTHOR](AUTHOR LINK)

I’d also suggest to tune the tip title to something that starts with a verb, like other titles. E.g. “Consider switching to goober”

Could you sign the CLA please? We can’t merge the change without that.

@JoviDeCroock To confirm:

Have you signed the CLA with the<EMAIL_ADDRESS>email that’s associated with the commit, or with a different email?
Could you try writing @googlebot I signed it!, as googlebot requests? Not sure if Googlebot rechecks are triggered for all comments or for this specific one only.

Ah cool, it’s good now!

There you go @iamakulov
Would you be interested in hooked-form instead of formik and urql instead of apollo?


Publish code over at npm

The code should be published over at npm, also of the utility libraries. I suggest geostyler, right now that name is not taken, take @terrestris/geostyler otherwise.
Publishing should be made a simple npm task, e.g. using np,  publish-please, release-it or sth. more elaborated like semantic-release. The latter requires some change in how we name our commits.
Anyhow, this should all live at npm.

I suggest to use semantic versioning once we published.

I agree

All packages are now on npm. Compare Readme


chore: Bump Other Dependencies

Description
Bumps other dependencies.
We should really bump and fix revm soon as well.

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#856 👈
#855
main

This comment was automatically generated by st.


Contact Delegation API not implemented

Hi....
I was trying to do users operation using service account to delegate contact throught the Contact Delegation API, but it seems that it's not implemented in this library yet.
The reference of this API is at:
https://developers.google.com/admin-sdk/contact-delegation/guides?hl=en

@rcalpha Thanks for reaching out!
After taking a look at the code and walking through the code it seems that the PHP client API only supports a subset of the Admin SDK. I apologize for the inconvenience.
I suggest filling a bug against the Admin SDK issue tracker here:
https://issuetracker.google.com/savedsearches/566232
For now I would recommend using PHP's native capabilities to access this resource via the API routes noted here:
https://developers.google.com/admin-sdk/contact-delegation/guides/manage-delegates?hl=en
Once again I apologize for the inconvenience, please reach out if you have any more questions!