PR: Use Jupyter comms to communicate between frontend and kernel

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

[na] Included a screenshot or animation (if affecting the UI, see Licecap)

This PR allows the console to send informations to spyder IDE. In this case, it is used to save the editor before running runfile() or debugfile(). This goes together with https://github.com/spyder-ide/spyder-kernels/pull/111.
It also interrupts the kernel to add breakpoints while debugging.
Issue(s) Resolved

Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
impact27

Hello @impact27! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/ipythonconsole/widgets/spyderapi.py:

Line 16:1: E302 expected 2 blank lines, found 1

I'm -1 on this. The right way to proceed is to add Comms to qtconsole and then use those to do things like this.

While Comms could be a nicer way of doing the same thing, I wouldn't agree that this is more brittle than say using silent_execute to send messages to the console. raw_input is the standard way for a console to ask for an input from a frontend.
The problem I see with Comms is, from https://ipython.org/ipython-doc/stable/development/messaging.html:

These messages are fully symmetrical - both the Kernel and the Frontend can send each message, and no messages expect a reply.

This means that in the case of runfile for example, you can send a message saying that you are executing the file, but not wait for the file to be saved before executing. Of course you could reimplement a waiting system but you would do a lot of work to basically clone the raw_input behaviour.
About raw_input:

This is a socket where the request/reply pattern goes in the opposite direction: from the kernel to a single frontend, and its purpose is to allow raw_input and similar operations that read from sys.stdin on the kernel to be fulfilled by the client. The request should be made to the frontend that made the execution request that prompted raw_input to be called. For now we will keep these messages as simple as possible, since they only mean to convey the raw_input(prompt) call.

raw_input has several advantages:

Already implemented and well tested
If several frontend are connected to the same kernel, only the frontend that made the execution request will be notified.

In my opinion, reimplementing a custom messaging api would be time consuming. Using existing communications channels is probably more robust as this communication method is extensively tested.
You might call this method a bit hacky, but I would argue that the problem I am trying to solve is to get an answer from the frontend, which is exactly what raw_input is designed to do. The raw_input message is well documented, and msg['content']['prompt'] is the standard way of requesting informations.

This is definitely a bit hacky, but I think that's fine as the previous solution to to runcells was a bit hacky as well. At least this is able to open doors to new capabilities in spyder
I'm ok with this as long as the API is separate enough from raw_input implementation that it could be implemented using Comms at a later date, and that it doesn't interfere with the user interaction with console of course.

First, I want to clarify my intent. I want to use the jupyter stdin channel, which is used for a kernel to request informations from a frontend. This is used by Python 3 in the input() function; by Python 2 in the raw_input() function; and in R by readline(). I will refer to these as python::input() in what follows, and use ipykernel::raw_input() to refer to the ipykernel implementation of the messaging protocol. This solution is therefore not specific to Python 2 raw_input() function. REF: https://jupyter-client.readthedocs.io/en/latest/messaging.html#messages-on-the-stdin-router-dealer-channel
As this messaging protocol is doing exactly what I need, I am not sure creating a new messaging protocol is needed, but if can be done using Comms. In ipykernel, this protocol is implemented in a method named raw_input. The name is from the Python 2 function. This function is just a convenient way of exchanging input_request and input_reply messages:
Message type: input_request:
content = {
    # the text to show at the prompt
    'prompt' : str,
    # Is the request for a password?
    # If so, the frontend shouldn't echo input.
    'password' : bool
}

Message type: input_reply:
content = { 'value' : str }

This is definitely a bit hacky, but I think that's fine as the previous solution to to runcells was a bit hacky as well. At least this is able to open doors to new capabilities in spyder

The previous solution was really hack and brittle, as it would only work if the function was called in just the right way. With this implementation, the methods can be called from anywhere. I can for example run a script like:
print(0)
runcell('mycell')
# %% mycell
print(1)

Where running the first cell would print:
0
1

I'm ok with this as long as the API is separate enough from raw_input implementation that it could be implemented using Comms at a later date, and that it doesn't interfere with the user interaction with console of course.

The communication method and the api syntax are separated, making it easy to reimplement using a different method. I am not sure I see what in my code is dependent on ipykernel::raw_input() implementation, as I am just trying to use the standard messaging protocol. The only interference is that users can't use the python::input() function with a prompt that starts with %spyder_api .
The interactions with raw_input are concentrated in two functions:

in spyder-kernels, the requests are made in def _spyder_api_request(request).
in spyder,  the requests are intercepted by def _handle_input_request(self, msg).

The assumptions I make are the following:
In spyder-kernels:

I can send a request to the frontend using ipykernel::raw_input(prompt). This is a blocking call. I can send a string in prompt, and ipykernel::raw_input will return a string. This is unlikely to change as this is the standard way of handling input().
To differentiate the api requests from a regular python::input() call, I add a %spyder_api  prefix to the prompt. This is the most 'hacky' part. Do you think that it could be problematic? Would any user use %spyder_api as a prefix in their calls to input()?

In spyder:

RichJupyterWidget will receive ipykernel::raw_input requests with the method _handle_input_request(self, msg). When this method is called, the frontend is expected to reply by passing a string to self.kernel_client.input(code). This is already an assumption spyder makes in  https://github.com/spyder-ide/spyder/blob/5affb8dd30b7b6725e76bcb951ec172f3ac1acc8/spyder/plugins/ipythonconsole/widgets/debugging.py#L77.

The prompt can be accessed with msg['content']['prompt'].

In short, it should be easy to change the messaging method, and it is not interfering except if the user uses input('%spyder_api' + a_string) in the code or in the console.
I just think that the input_request and input_reply messaging protocol already solve the problem of requesting something from the kernel, so I wonder if it is necessary to reimplement a custom messaging protocol for that.

I have added Comms to qtconsole (https://github.com/jupyter/qtconsole/pull/338).
When this is merged, this should work.

It is now a stand alone class. You start the comm by calling connect(kernel_client, kernel_manager), and you just need to register the methods you want for the different handlers.

re-running tests

What is the proper way of running the tests with a given PR of spyder-kernels?

I have been trying it up for the last few weeks and it works quite well. I can't get the test to run properly as I don't know how to test with a spyder-kernel PR.
I get the error:
/Users/vsts/agent/2.154.1/work/_temp/58375231-9d81-4a8b-80f1-964798b1587e.sh: line 1: ./continuous_integration/azure/install.sh: Permission denied
Otherwise I would be glad to have a review.

closing to retrigger the tests

I fixed the problems in Python 2 (we were using an old version of wurlitzer in our tests).

Tests are failing now, most probably due to the move to callbacks (i.e. because things are non-bliocking now).
Please take a look at that.

There was a problem with how I was getting the python version for cloudpickle, but htis is fixed now. Now there is the option to have either blocking or non-blocking calls.

Could someone have a look at the Windows fails? I don't have windows but I don't really see what is plateform specific in this code.

Also the last problem I have with error handling is this:

If I get an asyncronous error, I report it in the error window.
If I have a syncronous error, I raise it to be handled by the calling function

But in the latter case, I can't attach the traceback to the error. This is because:

traceback objects are not really python objects and can't be pickled
Therefore I need to use traceback.extract_tb to get a pre-processed traceback that I can send.
On the frontend side, I need a traceback object, which I can't create (python < 3.7) and can't arrach to the exception (python 2)
So I just print the traceback (On python2 : with print, on python3: with traceback.print_list) and raise the exception.

Do you see a better way of handling the traceback for syncronous errors?

If I get an asyncronous error, I report it in the error window.

This is now working as expected. Thanks a lot for that!

Do you see a better way of handling the traceback for syncronous errors?

Yes, instead of trying to send the traceback as a live object (which is not feasible, as you said), you can simply transform it to a list of strings and send it serialized like that. That's how the Json RPC server that supports the Python language server handles sending errors to clients connected to it:
https://github.com/palantir/python-jsonrpc-server/blob/7d53ae167fbc2d53c91efec3c0445fe820bd0bf1/pyls_jsonrpc/exceptions.py#L77-L78
(Here 'message' contains only the exception)
In our side we take this dictionary and process it as shown below:
https://github.com/spyder-ide/spyder/blob/42832bbed3355bbd52ec50fede6225cd034da099/spyder/plugins/completion/languageserver/client.py#L303-L310
Finally, we reroute this content to the our error dialog here:
https://github.com/spyder-ide/spyder/blob/42832bbed3355bbd52ec50fede6225cd034da099/spyder/plugins/completion/languageserver/plugin.py#L135-L138

Also, please skip test_range_indicator_visible_on_hover_only on Windows to see if tests pass there (I don't know why that test started to fail).

)

If I get an asyncronous error, I report it in the error window.

This is now working as expected. Thanks a lot for that!

Do you see a better way of handling the traceback for syncronous errors?

Yes, instead of trying to send the traceback as a live object (which is not feasible, as you said), you can simply transform it to a list of strings and send it serialized like that. That's how the Json RPC server that supports the Python language server handles sending errors to clients connected to it:
https://github.com/palantir/python-jsonrpc-server/blob/7d53ae167fbc2d53c91efec3c0445fe820bd0bf1/pyls_jsonrpc/exceptions.py#L77-L78
(Here 'message' contains only the exception)
In our side we take this dictionary and process it as shown below:
https://github.com/spyder-ide/spyder/blob/42832bbed3355bbd52ec50fede6225cd034da099/spyder/plugins/completion/languageserver/client.py#L303-L310
Finally, we reroute this content to the our error dialog here:
https://github.com/spyder-ide/spyder/blob/42832bbed3355bbd52ec50fede6225cd034da099/spyder/plugins/completion/languageserver/plugin.py#L135-L138

This is what I am doing for asyncronous errors but this might not be the best solution for syncronous error. The solution I have now is:
If we have an error, raise an error with the same error type containing:

the original error
the name and id of the comm
the traceback

Then, I replace sys.excepthook to correctly handle this if the developper using the comm did not catch it, so the error can be properly displayed.

might not be the best solution for syncronous error

Why not?

The solution I have now is

But that's for async errors, right?

But that's for async errors, right?

Yes, if I recieve an error fron an async call, I can just send it to the error display.
If I recieve an error for a sync call, there is a function on top of me that expects one of two things:

The call succeeds and a valid value is returned
The call fails and an exception is raised

Clearly I an in the second case, so I must raise an exception. And I am in luck, I have a meaningful exception that I can raise. But I have more information that I also want to give the exception (mainly the original traceback). So Instead of raising the error without the traceback, I can create a new error that contains both the original error and the traceback.
If the error is caught, this information can be read by the calling programmer, so no problem.
If the error ends up in sys.excepthook, It will be displayed in the error display. I just need to adjust the way it is printed.

I just need to adjust the way it is printed.

Ok, I was the only suggestion I had to make.

Ok I think I found a bug that I solved in commit f340a89affbecf7174a680c7631c3966faf8e6f6.
(basically it caused traceback to be non completely transmitted to the error display). Should I create a new pull request for this?

No, please solve that here.

retriger the tests for python2

I now skip test_range_indicator_visible_on_hover_only and test_tab_moves_focus_from_search_to_replace. The error looks very strange:
finder.search_text.setFocus()
qtbot.wait(100)
>       assert finder.search_text.hasFocus()
E       assert False

Could someone check on another windows machine if this really fails?

I revert the test skips because:

I tried on a windows computer and the failing test pass.
Other tests are failing on these machines when I skip these.

Is is possible to restart this machines maybe?

retriggering the tests

@impact27, please don't add more commits here. I'll merge your spyder-kernels PR, then make the corresponding changes to our CI scripts and finally merge this.

the NUMPY_REQVER doesn't look right here - shouldn't that be PYMPLER_REQVER?
Well spotted.


Feature: add filter function to DataTable

What
Add function "filter" to DataTable, the same as Array.Filter.
Why
To not use all dataset. Specially, when data table is big and part of it should not be used for several tests.

It's look like selenium server for appium test was offline.
Could anybody restart semaphoreci build?

Very nice! thank you


Fix reinstall conflict

Fix https://github.com/megaease/easemesh/issues/73
Significate change:

Set LastAppliedConfigAnnotation and resourceVersion for every updated object
Assign clusterIP and clusterIPs from existed service, otherwise it can't be updated
Avoid regenerating one-time resource CertificateSigningRequest for secret, it will cause invalid TLS of webhook

Codecov Report

Merging #77 (61368a7) into main (0910d67) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #77   +/-   ##
=======================================
  Coverage   65.58%   65.58%
=======================================
  Files           2        2
  Lines         247      247
=======================================
  Hits          162      162
  Misses         69       69
  Partials       16       16

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 0910d67...61368a7. Read the comment docs.

As the older PR was merged, now changes are conflict with the main branch, please resolve it.

Conflict Fixed


Problems with Assuming roles with MFA

Hello, when i try to assume a role with mfa the following Error occur:
 assume role with MFA enabled, but AssumeRoleTokenProvider session option not set.
I think its because the SDK doesn’t automatically set the AssumeRoleTokenProvider with a default value. This is because of the risk of halting an application unexpectedly while the token provider waits for a nonexistent user to provide a value due to a configuration change. You must set this value to use MFA roles with the SDK.

Hey @daknhh! Thanks for highlighting this issue.
Granted currently doesn't support MFA but it is definitely something that we want to be included soon. Would be a simple requirement to achieve as you noted.
We have ticketed this internally and will inform you when we get it into a release.


Incompatible with enhanced celestials

https://bytebin.lucko.me/dMt70CYXl3

https://pastes.dev/C51qqaqQDv


Running the Code

Hey there, I have been trying to run the code using Anaconda. But I noticed different packages are out of date. I was wondering which version of each library you need to use to get it working.
I have tried to modify the code to get it to work in the current version of Anaconda. But scipy.misc has removed some of the functions. Do you have any fix? I would love to try the code out.

Have you found the solution? @Spacewalker978

I am kinda facing the same issue. I have replaced the deprecated libs & funcs but unable to make it run. Getting the following error -
cannot reshape array of size 1440000 into shape (1,600,800)


CI: Add check for go mod tidy

This commit adds a check for go.mod/go.sum similarly as containerd has https://github.com/containerd/containerd/blob/b0f587d65d0e5a66867e6efda1a3dcc02ec96a06/.github/workflows/ci.yml#L77

Sorry, go.mod at the root directory seems already validated https://github.com/containerd/project-checks/blob/88640b598574f0ae68b9a36d6aa7402b662431b2/script/validate/vendor#L36


add contact us page

Description
adding contact us page enhance user experience. I would like to add this page
Screenshots
No response

Please assign me the issue. I can complete the contact us page

already on progress


How to obtain gene names after aligning with bowtie2 and cleaning?

Hi. Thanks a lot for your helpful tool. I have followed your protocol and I have aligned sequences using bowtie2 and cleaned the ensuing SAM files to output the BED files. Is there a way to obtain gene names from these BED files? I want to obtain the gene names and the actual sequences.
Thanks in advance.

Hello. You can do coordinate math on the BED files to out which probes intersect with which genes, assuming you have gene annotation information in BED format. We would recommend using bedtools for this https://bedtools.readthedocs.io/en/latest/content/tools/intersect.html.
You can also find pre-computed probe-transcritome intersects at paintshop.io


Add support for memory initialization with mask.

Fixes #2447.
Depends on #2863.

Not: this PR basically works, but opens the #2809 can of worms much, much wider.  I would like to discuss this before merging.

With #2892 and #2893 I consider this ready for review and merge.


VSCode Insiders after 1.23.0-insider upgrade

Issue Type: Bug
Note: Same configuration works on 1.22.1 (main line).
Note: Same configuration worked before upgrade to 1.23.0-insiders

Project with NPM run task as build commnd
Upgrade to 1.23.0
Build command no longer functions

Terminal Log during build command (ctrl-shift-b):

Executing task: npm run build <

-Command : The term '-Command' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:1

-Command npm run build

  + CategoryInfo          : ObjectNotFound: (-Command:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

My Build Task:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "typescript",
"tsconfig": "Backend\tsconfig.json",
"option": "watch",
"problemMatcher": [
"$tsc-watch"
]
},
{
"type": "typescript",
"tsconfig": "Backend\tsconfig.json",
"problemMatcher": [
"$tsc"
]
},
{
"type": "npm",
"script": "build",
"path": "UX/",
"group": {
"kind": "build",
"isDefault": true
},
"promptOnClose": true,
"problemMatcher": []
}
]
}
VS Code version: Code - Insiders 1.23.0-insider (95101bf3f6d00105621cdddb639ea62b95ea2468, 2018-04-06T08:49:48.798Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz (4 x 3312)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.82GB (5.23GB free)

Process Argv
C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

typelens
kis
1.5.0

code-beautifier
mic
2.0.3

python
ms-
2018.3.1

Dups https://github.com/Microsoft/vscode/issues/47314


Individual settings for multiple machines on one admin/server instance

This would allow operators to control settings (ticker source, commission, limits, etc.) for multiple machines paired through one admin/server instance.
Also to consider would be easier differentiation of server logs for each machine paired to the instance.

Accomplished in admin alpha. :+1: Closing.


updated SMTP to use Login Auth

What does this PR (Pull Request) do?

[x] This PR is not related to any Issue

This PR updates the SMTP code to use Login Auth instead of Plain Auth.
Which Traffic Control components are affected by this PR?

Traffic Ops

What is the best way to verify this PR?

If this is a bug fix, what versions of Traffic Control are affected?

The following criteria are ALL met by this PR

[x] Tests are unnecessary because it is SMTP server dependent
[x] This PR includes documentation
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

Can one of the admins verify this patch?

@mitchell852 @ocket8888 can one of you guys look at this for approval/merge?

I was going to merge after manually running all the unit tests and TO API tests, so if someone can verify that for me I'll merge.


add robots.txt

Matthew suggested it may be best to have Google not index the member info pages

robots.txt could always be injected by the reverse proxy


Style for preview

fix by modifying width by js onload function de76bbf7f095c7c51d3b5a129e3993b01d3ff112.
There should be betterway to set width for preview.


ElevatedButton and  PhysicalModel has a problem

  @override
  Widget build(BuildContext context) {
    return PhysicalModel(
        color: Colors.blue,
        elevation: calculateElevation(),
        borderRadius: BorderRadius.circular(25.0),
        child: Container(
          key: _globalKey,
          height: 48.0,
          width: _width,
          child: RaisedButton(
            padding: EdgeInsets.all(12.0),
            color: _state == 2 ? Colors.green : Colors.blue,
            child: buildButtonChild(),
            onPressed: () {},
            onHighlightChanged: (isPressed) {
              setState(() {
                _isPressed = isPressed;
                if (_state == 0) {
                  animateButton();
                }
              });
            },
          ),
        ));
  }

But I see this，but I want the RaisedButton corner is circular？

To investigate we would need a minimal runnable reproduction
as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce.
Please add the output of flutter doctor -v.

import 'package:flutter/material.dart';
import 'dart:async';
class ProgressButton extends StatefulWidget {
@override
State createState() => _ProgressButtonState();
}
class _ProgressButtonState extends State
with TickerProviderStateMixin {
bool _isPressed = false, _animatingReveal = false;
int _state = 0;
double _width = 300;
Animation _animation;
GlobalKey _globalKey = GlobalKey();
AnimationController _controller;
@override
void deactivate() {
reset();
super.deactivate();
}
@override
dispose() {
_controller.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return PhysicalModel(
color: Colors.blue,
elevation: calculateElevation(),
borderRadius: BorderRadius.circular(25.0),
child: Container(
key: _globalKey,
height: 48.0,
width: _width,
child: RaisedButton(
padding: EdgeInsets.all(0.0),
color: _state == 2 ? Colors.green : Colors.blue,
child: buildButtonChild(),
onPressed: () {},
onHighlightChanged: (isPressed) {
setState(() {
_isPressed = isPressed;
if (_state == 0) {
animateButton();
}
});
},
),
));
}
void animateButton() {
double initialWidth = _globalKey.currentContext.size.width;
_controller =
    AnimationController(duration: Duration(milliseconds: 300), vsync: this);
_animation = Tween(begin: 0.0, end: 1.0).animate(_controller)
  ..addListener(() {
    setState(() {
      _width = initialWidth - ((initialWidth - 48.0) * _animation.value);
    });
  });
_controller.forward();

setState(() {
  _state = 1;
});

Timer(Duration(milliseconds: 3300), () {
  setState(() {
    _state = 2;
  });
});

Timer(Duration(milliseconds: 3600), () {
  _animatingReveal = true;
});

}
Widget buildButtonChild() {
if (_state == 0) {
return Text(
'Login',
style: TextStyle(color: Colors.white, fontSize: 16.0),
);
} else if (_state == 1) {
return SizedBox(
height: 36.0,
width: 36.0,
child: CircularProgressIndicator(
value: null,
valueColor: AlwaysStoppedAnimation(Colors.white),
),
);
} else {
return Icon(Icons.check, color: Colors.white);
}
}
double calculateElevation() {
if (_animatingReveal) {
return 0.0;
} else {
return _isPressed ? 6.0 : 4.0;
}
}
void reset() {
_width = 300;
_animatingReveal = false;
_state = 0;
}
}
[√] Flutter (Channel master, v1.0.1-pre.2, on Microsoft Windows [Version 10.0.17134.407], locale zh-CN)
• Flutter version 1.0.1-pre.2 at D:\Android\flutter
• Framework revision 27c8ffa06c (4 days ago), 2018-12-05 14:50:59 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at C:\Users\cuvsu\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: D:\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[√] Android Studio (version 3.2)
• Android Studio at D:\Android\Android Studio
• Flutter plugin version 31.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget{
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData.light(),
home: Scaffold(
body: Center(
child:PhysicalModel(
color: Colors.blue,
borderRadius: BorderRadius.circular(25.0),
child: Container(
child: RaisedButton(   //MaterialButton
child: Text("123"),
onPressed: () {},
),
)),
),
));
}
}
if I change RaisedButton into MaterialButton is ok
RaisedButton ：

MaterialButton ：

Issue still exist

flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0-8.0.pre, on Mac OS X 10.15.4 19E287, locale
    en-GB)
    • Flutter version 1.18.0-8.0.pre at /Users/taha/Code/flutter_dev
    • Framework revision e0c63cd35e (5 days ago), 2020-04-23 22:29:01 -0400
    • Engine revision d2ec21221e
    • Dart version 2.9.0 (build 2.9.0-3.0.dev b0d35855d8)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (5 available)
    • SM M305F      • 32003c30dc19668f          • android-arm64  • Android 10
      (API 29)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4.1
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E287
    • Web Server    • web-server                • web-javascript • Flutter Tools
    • Chrome        • chrome                    • web-javascript • Google Chrome
      81.0.4044.129
• No issues found!

The bug has been fixed, I run the following code in web
 Center(
          child: PhysicalModel(
            color: Colors.blue,
            borderRadius: BorderRadius.circular(20),
            child: Container(
              child: FlatButton(onPressed: (){

              }, child: Text("123")),
            ),
          ),
      )

[√] Flutter (Channel master, v1.16.4-pre.69, on Microsoft Windows [Version 10.0.17763.1158], locale zh-CN)
• Flutter version 1.16.4-pre.69 at D:\Android\flutter
• Framework revision 19e7db585d (4 weeks ago), 2020-04-01 11:16:01 -0700
• Engine revision c9506cb8e9
• Dart version 2.8.0 (build 2.8.0-dev.18.0 eea9717938)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at D:\Android\Sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: D:\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.6)
• Android Studio at D:\Android\Android Studio
• Flutter plugin version 43.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
• IntelliJ at D:\Program Files\JetBrains\IntelliJ IDEA 2019.3.3
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[√] Connected device (2 available)
• Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.129
• Web Server • web-server • web-javascript • Flutter Tools

Hi @ShowMeThe
This issue still exist on mobile
PhysicalModel with RaisedButton on mobile

PhysicalModel with FlatButton on mobile

PhysicalModel with FlatButton on web

Hi  @TahaTesser
I was too careless. I just tested it on web! Instead of using  PhysicalModel and FlatButton/RaisedButton , I prefer to use the PhysicalModel  and  MaterialButton. By the way , I 'm a little surprised , this bug still here.

Since RaisedButton is deprecated for ElevatedButton (https://api.flutter.dev/flutter/material/RaisedButton-class.html), but the issue still persist on stable and master.

stable and master flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.5 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • sdk gphone x86 64 arm64 (mobile)    • emulator-5554
      • android-x64 • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.312, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-IN)
    • Flutter version 1.26.0-2.0.pre.312 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 7c75c01fc3 (9 hours ago), 2021-01-12 19:01:18 -0800
    • Engine revision 10cee6abcb
    • Dart version 2.12.0 (build 2.12.0-214.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • sdk gphone x86 64 arm64 (mobile)    • emulator-5554
      • android-x64    • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)                     • macos
      • darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 87.0.4280.141

! Doctor found issues in 1 category.

Since RaisedButton is deprecated for ElevatedButton (https://api.flutter.dev/flutter/material/RaisedButton-class.html), but the issue still persist on stable and master.

stable and master flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.5 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • sdk gphone x86 64 arm64 (mobile)    • emulator-5554
      • android-x64 • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.312, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-IN)
    • Flutter version 1.26.0-2.0.pre.312 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 7c75c01fc3 (9 hours ago), 2021-01-12 19:01:18 -0800
    • Engine revision 10cee6abcb
    • Dart version 2.12.0 (build 2.12.0-214.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • sdk gphone x86 64 arm64 (mobile)    • emulator-5554
      • android-x64    • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)                     • macos
      • darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 87.0.4280.141

! Doctor found issues in 1 category.

This bug still exist

class Example extends StatelessWidget {
  const Example({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: PhysicalModel(
        elevation: 12.0,
        color: Colors.deepOrange,
        borderRadius: BorderRadius.circular(25.0),
        child: ElevatedButton(
          onPressed: () {},
          child: const Text("1231"),
        ),
      ),
    );
  }
}

[√] Flutter (Channel master, 2.5.0-7.0.pre.131, on Microsoft Windows [Version 10.0.19042.1110], locale zh-CN)
    • Flutter version 2.5.0-7.0.pre.131 at D:\Android\flutter
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision 061dff8ca7 (54 minutes ago), 2021-08-18 04:07:02 -0400
    • Engine revision 99df75c44e
    • Dart version 2.15.0 (build 2.15.0-25.0.dev)
    • Pub download mirror https://pub.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at D:\Android\Sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.3)
    • Visual Studio at D:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30503.244
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.2)
    • Android Studio at D:\Android-Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

@ShowMeThe
Using the code sample provided below, I got the output as:

 updated code sample

import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      home: Example(),
    ),
  );
}

class Example extends StatelessWidget {
  const Example({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: PhysicalModel(
      //  elevation: 12.0,
        color: Colors.deepOrange,
        borderRadius: BorderRadius.circular(25.0),
        child: ElevatedButton(
          onPressed: () {},
          child: const Text("1231"),
          style: ButtonStyle(
            shape: MaterialStateProperty.all<RoundedRectangleBorder>(
          RoundedRectangleBorder(
          borderRadius: BorderRadius.circular(25),
          //  side: BorderSide(color: Colors.red)
        )
          )),
        ),
      ),
    );
  }
}

See if above solution works for your case.

@darshankawar Thanks for this reply. Setting MaterialStateProperty in ButtonStyle is a solution for my case.


Compatibility with Scala 2.12.0-RC1

method local lazy vals are now encoded as a single ValDef
rather than a ValDef + DefDef pair. We need to treat ValDef-s
with the LAZY flag in the same way as we used to treat the
DefDef.
Rename one of the symbols ANF,anf in the same scope to avoid
generating anonymous class names that differ only in case. The
compiler warned about this one.
When patching the LabelDefs to have a Unit result type, propagate
this other LabelDefs conclude with a jump to that label. Not sure
why, but without this we now hit an error in the backend about the
nonsensical attempt to emit a coercion from void to int.
Use crossScalaVersions in the build and update the Scala versions
tested in CI.

Screenshot to show that the Scala / JDK build matrix config worked:


root of /dev/mmcblk0p1 in gatesgarth is read only?

I'm using tegra-demo-distro and it seems in gatesgarth that the root filesystem is read only. I need to write some files to /boot
Is this a meta-tegra thing or something that NVIDIA has done with JetPack 4.4.1 in the devicetree?
Sorry, I'm clueless but I have no idea where to start to make it read/write. Can someone give me a hint?

Are you using tegrademo-mender?  If so it's read only, just search for read-only and you'll see this commit: https://github.com/OE4T/tegra-demo-distro/commit/ed540aa823de59976ef3ed8848123ebb7f0fde76

Sorry, I'm clueless but I have no idea where to start to make it read/write.

mount -oremount,rw / should do it

yep, using tegrademo-mender but moving from dunfell to gatesgarth. This explanation/solution is perfect. thanks!


Problem uploading to S3

I was following the tutorial and try to get my files uploaded to S3. It doesn't seem to work. It is all still uplaoded to Local file system.
I was following the tutorial in the README.md but doesn't seem to work. Do I just need to config the initializer for it to be uploaded to S3?
Here is a link to my repo: https://github.com/chrisyeung1121/refile-example

It's a bit hard without any code examples, but looking at your repo, just to rule this out: Are you sure you are setting the env variables correctly?

Yes I have tested a few times. Env is correct.

Do you have a working demo?

Try booting a console and looking at the return value of Refile.store, what class is it an instance of? Try uploading something to it and see if it works.

I did a puts in the refile initializer and the output has my access_keys and secret correct.
The following is the output of Refile.store.inspect
#<Refile::S3:0x007fdf90345298 @access_key_id="A......Q", @secret_access_key="m2a.......HRSqr", @s3_options={:access_key_id=>"A.......Q", :secret_access_key=>"m2a......HRSqr", :region=>"ap-southeast-1"}, @s3=#<Aws::S3::Resource>, @bucket_name="c.....ent", @bucket=#<Aws::S3::Bucket name="c......ent">, @hasher=#<Refile::RandomHasher:0x007fdf903451a8>, @prefix="store", @max_size=nil>

And then when I upload the file.
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZR8zHFo69fJg8516CE3JuSjzUfDzXfFX3RyTg6aaIYUK9RZrmugFr+I4qFhsS524ESzEq1LEKU/UJfjrSiWGhA==", "user"=>{"profile_image"=>#<ActionDispatch::Http::UploadedFile:0x007fdf89e92828 @tempfile=#<Tempfile:/var/folders/kn/29d686ds16s31t8mp0957dt40000gn/T/RackMultipart20150604-78993-1ize0b0.jpg>, @original_filename="2012-06-01 20.10.04.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"user[profile_image]\"; filename=\"2012-06-01 20.10.04.jpg\"\r\nContent-Type: image/jpeg\r\n">}, "commit"=>"Create User"}

It is still going to the Tempfile.
output as shown here
16:09:32 rails.1 | Processing by UsersController#create as HTML
16:09:32 rails.1 |   Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZR8zHFo69fJg8516CE3JuSjzUfDzXfFX3RyTg6aaIYUK9RZrmugFr+I4qFhsS524ESzEq1LEKU/UJfjrSiWGhA==", "user"=>{"profile_image"=>#<ActionDispatch::Http::UploadedFile:0x007fdf89e92828 @tempfile=#<Tempfile:/var/folders/kn/29d686ds16s31t8mp0957dt40000gn/T/RackMultipart20150604-78993-1ize0b0.jpg>, @original_filename="2012-06-01 20.10.04.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"user[profile_image]\"; filename=\"2012-06-01 20.10.04.jpg\"\r\nContent-Type: image/jpeg\r\n">}, "commit"=>"Create User"}
16:09:34 rails.1 |    (0.1ms)  begin transaction
16:09:34 rails.1 |   SQL (1.0ms)  INSERT INTO "users" ("profile_image_id", "created_at", "updated_at") VALUES (?, ?, ?)  [["profile_image_id", "146ef274b5e652f592346abb8951502d30d45ff03e9ba7e942c96b129232"], ["created_at", "2015-06-04 08:09:34.450531"], ["updated_at", "2015-06-04 08:09:34.450531"]]
16:09:34 rails.1 |    (0.8ms)  commit transaction
16:09:34 rails.1 | Redirected to http://localhost:3000/users/10
16:09:34 rails.1 | Completed 302 Found in 2022ms (ActiveRecord: 1.8ms)
16:09:34 rails.1 | Started GET "/users/10" for <IP_ADDRESS> at 2015-06-04 16:09:34 +0800

Rails always creates a Tempfile for uploads, that has nothing to do with Refile. The question is what happens after that.

Not sure what happens after all I know is it gets redirects to get photo from /attachment ..
Anyway I can debug it? or is there any working demo I can reference from~?

@jnicklas  do you have a simple working S3 Direct upload example :+1:

has anyone got direct upload to S3 working?

@chrisyeung1121 I'm sure if your issue were widespread something would have surfaced here. I have gotten uploads to S3 working several times already without any issues.

@chrisyeung1121 commented somewhere that he got it working eventually, so I'm closing this.


MediaType field used for read/process body content

MediaType field value (Accept header) is used when the body content from the request is being read/processed, instead of ContentType (Content-Type header).
This problem was found on the /api/integration/{integrationId}/flow/{flowId}/install endpoint.
We should review all the endpoints, just to make sure it's OK.

Part of Assimbly 3.9.0


Support spark.sql.parquet.int96RebaseModeInWrite=LEGACY [databricks]

This adds support for LEGACY mode in spark.sql.parquet.int96RebaseModeInWrite, which allows writing files containing ancient times before 1582-10-15 with rebasing from Proleptic Gregorian calendar times to Julian calendar times.
Closes:

https://github.com/NVIDIA/spark-rapids/issues/9037

build

build

build

build

I see the tests are updated and the code says that we now support rebase for in96 writes. But I don't see anywhere that the code was updated for it. I am assuming that the existing code just covered it and we are now enabling it after testing.

Right, the existing code already handles the rebase computation. Now we just enable the corresponding code path and update tests.

build


Map preview not working after importing a dataset

It throws a 403 error in the template instantiation, please @gfiorav take a look later 💋 .

Added steps to reproduce it.


How to setup clickhouse username and password?

as title

As usual http auth, http://user:pass@host/


update kubernetes cgroup pattern to be more lax

see https://github.com/elastic/apm/issues/285

:green_heart: Build Succeeded

Expand to view the summary

Build stats

Build Cause: [Pull request #869 opened]

Start Time: 2020-06-25T09:38:31.953+0000

Duration: 28 min 23 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
9324

Skipped
6781

Total
16105


Add automatic translation via po4a + Weblate

TODO:

Fix missing translation for menu_title.

Signed-off-by: Roman Tsisyk<EMAIL_ADDRESS>

Russian changes has been reverted. Instructions updated. We are performing pilot evaluation of this approach with other languages. See https://github.com/organicmaps/organicmaps/discussions/4076


dict2inst does not work on classes with _init parameters

Godot version:
Godot Engine v3.1.1.stable.official
Issue description:
dict2inst does not work on classes with _init parameters.  A simple fix is to manually initialize the object after it has been created with .new()
Steps to reproduce:
Create a scene with an external(not built in script). Then run the scene with this in the script:
extends Node2D

class A:
	var value
	func _init(val):
		self.value = val

class B:
	var value
	func init(val):
		self.value = val

func serializeA():
	var inst = A.new(1)
	var instDict = inst2dict(inst)
	var inst2 = dict2inst(instDict)
	print("A was serialized and deserialize succesfully")

func serializeB():
	var inst = B.new()
	B.init(1)
	var instDict = inst2dict(inst)
	var inst2 = dict2inst(instDict)
	print("B was serialized and deserialize succesfully")

func _ready():
	serializeA() # this will crash the program
	serializeB() # this runs fine

Just found an alternative fix:
class A:
	var value
	func _init(val=0):
		self.value = val

I'm guessing the reason for the crash is that dict2inst uses .new() without any parameters. I think the easiest solution to this is to make note of this in the docs

There is a kind of similar problem with bytes2var where a node would not work properly if it has an _init() method with an argument defined.
If i remove the custom _init() method it works fine.

seems to not be fixed in v3.4.2 as I just ran into this issue was able to go around it by making the parameter have default values but the error that is given is misleading.

Confirmed, still happens in 3.5.1.stable. Works fine in master.
Changes done in #32534 were never backported to 3.x.

Waiting for fix...

That is sort of expected, dict2inst()  won't be able to create an instance of a class that does not have a default constructor. We may find a way to bypass the constructor since the state is saved, but it isn't really a simple thing to do.


[BUG] ocboot account create error

问题描述/What happened:
Using Ocboot quick install guide, but got account create error.

but I tried using cURL, it can connect.
环境/Environment:

OS (e.g. cat /etc/os-release):
NAME="openEuler"
VERSION="22.03 (LTS-SP3)"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 (LTS-SP3)"
ANSI_COLOR="0;31"

Kernel (e.g. uname -a):
Linux ocm-01.xxx.local 5.10.0-<IP_ADDRESS>.oe2203sp3.x86_64 #1 SMP Wed Jul 31 21:00:14 CST 2024 x86_64 x86_64 x86_64 GNU/Linux

Host: (e.g. dmidecode | egrep -i 'manufacturer|product' |sort -u)
Manufacturer: QEMU
Product Name: Standard PC (i440FX + PIIX, 1996)

Service Version (e.g. kubectl exec -n onecloud $(kubectl get pods -n onecloud | grep climc | awk '{print $1}') -- climc version-list):

@elvizlai Please try to use k3s installation way to deployment.

any docs about upgrade version deploy using k3s?


Protect against hasOwnProperty being overwritten

See this blog post for rationale.
Currently, Sugar is susceptible to this bug in a few places, notably Object.extended:
Object.extended({ hasOwnProperty: true }) // TypeError: obj.hasOwnProperty is not a function

This PR adds Object.has as a shortcut to Object.prototype.hasOwnProperty, and replaces internal use of Object#hasOwnProperty.

Thanks for this change! And +1 for adding docs and tests... it makes a huge difference when considering these things. FYI I changed the internal method to be hasOwnProperty just to be more explicit.


[EXCLUSIVE CLIP] Five Girls Five Rocket Viral Video

In the fast-paced world of social media, it doesn’t take long for a unique or intriguing clip to capture the imagination of millions. The latest phenomenon? The “Five Girls Five Rocket Viral Video”, a dazzling piece of content that has become an instant sensation across platforms. This video, which showcases a group of five girls performing a synchronized and visually stunning stunt involving five rockets, has sparked a frenzy of shares, discussions, and imitations worldwide.
🔴 ➤► WATCH THE VIDEO HERE✅👉 https://shorturl.at/H0aYQ (VideoLink)
🔴 ➤► WATCH THE VIDEO HERE✅👉 https://shorturl.at/H0aYQ (VideoLink)
What is the “Rocket Viral Video”?
The Rocket Viral Video features five young women showcasing a perfectly choreographed sequence involving rockets. While the exact origins of the video remain unclear, its captivating visuals and flawless execution have made it impossible for viewers to look away. Each girl holds a rocket, launching them in precise coordination, creating a jaw-dropping spectacle that combines science, artistry, and entertainment.
The synergy of the performers, their confidence, and the dramatic backdrop have made the 5 girls 5 rocket breakout video an unforgettable watch. From Instagram reels to TikTok duets, the video has become a cultural touchstone for creativity and teamwork.
The Rise of the “5 Rocket 5 Girl Viral Video Breakout”
The viral journey of the 5 rocket 5 girl video breakout is a textbook case of how powerful social media can be. The video initially surfaced on platforms like YouTube and TikTok, where its unique concept and mesmerizing execution drew significant attention. Within hours, it began trending under hashtags like #RocketGirls, #5Rockets5Girls, and #ViralVideoBreakout.
As more users began sharing the video, it transcended language and geographical barriers. Memes, reaction videos, and recreations quickly followed, further amplifying its reach. Celebrities and influencers also jumped on the bandwagon, sharing their admiration and even attempting to replicate the stunt.
Why Did the “5 Girl 5 Rocket Video Breakout” Go Viral?
Several factors contributed to the five girls five rocket viral video becoming such a sensation:
Unconventional Concept: Combining five rockets and five performers in a synchronized act was something fresh and unexpected.
Visual Appeal: The video’s stunning visuals, paired with an engaging soundtrack, made it ideal for social sharing.
Relatability and Aspiration: The performers’ teamwork and determination resonated with audiences, inspiring them to recreate the stunt.
Global Accessibility: Short, impactful, and easy to share, the video was perfectly suited for platforms like TikTok, Instagram, and Twitter.
The Impact of the “Five Girls Five Rocket Viral Video”
Beyond its entertainment value, the video has sparked broader discussions about the power of collaboration and innovation in social media content. Schools, dance troupes, and content creators have used it as a template to inspire their own creations.
🔴 ➤► WATCH THE VIDEO HERE✅👉 https://shorturl.at/H0aYQ (VideoLink)
🔴 ➤► WATCH THE VIDEO HERE✅👉 https://shorturl.at/H0aYQ (VideoLink)
Moreover, the clip has demonstrated the potential for short-form content to captivate global audiences in an era of dwindling attention spans. The 5 girl 5 rocket video breakout serves as a reminder that creativity and originality remain key drivers of online virality.
Conclusion
The five girls five rocket viral video is more than just a trending clip; it’s a celebration of creativity, teamwork, and the boundless potential of digital platforms. As it continues to dominate timelines and inspire countless recreations, it cements its place as one of the most talked-about viral phenomena of the year.


ld: symbol(s) not found for architecture x86_64 with sh build_and_run.sh

Hey,
I'm trying to set up the 'Creating an Xcode Project' section in MediaPipe iOS Setup.
I have bazel 0.28.1, and I symlinked my mobile provision to the directed directory.
Upon running sh build_and_run.sh, I got the error FAILED: Build did NOT complete successfully, with further details
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //:tulsi failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 54.326s, Critical Path: 32.17s
INFO: 38 processes: 25 darwin-sandbox, 13 local.
FAILED: Build did NOT complete successfully
I tried it again with --verbose_failures and got this:
Error was too big for Github, I hosted it on my own server

Adding relevant folks to the thread
On Mon, Aug 19, 2019 at 6:46 PM Will Bishop<EMAIL_ADDRESS>wrote:

Hey,
I'm trying to set up the 'Creating an Xcode Project' section in MediaPipe
iOS Setup
https://github.com/google/mediapipe/blob/master/mediapipe/docs/mediapipe_ios_setup.md
.
I have bazel 0.28.1, and I symlinked my mobile provision to the directed
directory.
Upon running sh build_and_run.sh, I got the error FAILED: Build did NOT
complete successfully, with further details
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Target //:tulsi failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 54.326s, Critical Path: 32.17s
INFO: 38 processes: 25 darwin-sandbox, 13 local.
FAILED: Build did NOT complete successfully
I tried it again with --verbose_failures and got this:
Error was too big for Github, I hosted it on my own server
https://willbish.com/errors.txt
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/mediapipe/issues/24?email_source=notifications&email_token=AAQTXUKX3RLAKDI532IRMKLQFNEGHA5CNFSM4INLFYW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGD6B2Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQTXUPNGM5MEXWO7DWX3L3QFNEGHANCNFSM4INLFYWQ
.

This is actually an issue with bazelbuild/tulsi.

@WillBishop We have gotten examples of users successfully building MediaPipe for iOS. https://twitter.com/2020cv_inc/status/1163971960285478912?s=21

I guess you're using xcode 11 beta 4 or higher.
Apple moved swift libraries into "swift-5.0" directory, hence tulsi fails to build.
A workaround would be soft-linking the libraries from "swift-5.0" to the "swift" directory and then re-run the build process.
refer to https://forums.developer.apple.com/thread/120074.


SFT data processing commands

Added decontamination and SFT data preparation commands.

Resolved all the comments. Let me know if there are any remaining issues.

Let me know how it looks now.


Add cgcnn megnet

Refactored version of PR #396

/test

Codecov Report

Merging #405 into master will decrease coverage by 5.75%.
The diff coverage is 66.21%.

@@            Coverage Diff             @@
##           master     #405      +/-   ##
==========================================
- Coverage   88.91%   83.16%   -5.76%
==========================================
  Files         234      255      +21
  Lines       11449    12263     +814
==========================================
+ Hits        10180    10198      +18
- Misses       1269     2065     +796

/test


Call UpdateDonorShmem more frequently

In https://github.com/neondatabase/neon/pull/6872 we switched to holding Donor in shmem. Currently we only update it when a safekeeper goes into Active state. But ideally we'd call it more frequently.

marking tech_debt because we believe that the impact of this issue should be at worst to cause slightly more retries than usual.


Player crash in Apache Cordova Applications when using cordova-plugin-network-information

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3.3.9
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Yes
Are you using the demo app or your own custom app?
Custom App
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Android, iOS - Apache Cordova application
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Any
What are the manifest and license server URIs?

What configuration are you using?  What is the output of player.getConfiguration()?

Default
What did you do?

Create an app using Apache Cordova https://cordova.apache.org/docs/en/11.x/guide/cli/index.html
Add the Network information plugin https://cordova.apache.org/docs/en/11.x/reference/cordova-plugin-network-information/index.html
Run the app on a device and playback any content.

What did you expect to happen?
The playback starts
What actually happened?
The player crashes while loading the source. There is no much detail in error but it says addEventListener is not a function. This happens because navigator.connection object provided by network information plugin of Apache Cordova doesn't include an addEventListener method. This can be solved by adding validation on simple_abr_manager.js to check if the method exists.

I think you could solve this by passing a custom ABR Manager based on the information available in cordova-plugin-network and pass that class to abrFactory in your player configuration?

Hi, @koenoe I agree this can be bypassed by adding a custom abr manager.
However, for ease of use of Shaka Player, I think simple_abr_manager can avoid breaking by adding validation to check if that function exists before calling it.
We need to have into account that this Cordova plugin intends to implement a polyfill for standard apis but it doesn't include addEventListener function, I suppose, because there is no way to do it. I also know that the best solution would be this plugin to implement that function, but again, I think Shaka should not break.

It's the plugin's fault for exposing a half-complete version of the API, but a single "if" in Shaka isn't too bad.  Please send a PR.  Thanks!
Also, please keep in mind that Cordova isn't part of our automated testing.  So while we can't guarantee future compatibility ourselves, we are happy to have the community support the platforms it cares about.


Hosting bundle link update

Update the hosting bundle installer link

Hi @GuardRex, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Fixes #2190

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

aspnetcore/publishing/iis.md
:white_check_mark:Succeeded

Details

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


CAA Record - Missing Digicert account ID for managed certificates

As for security reasons we have limited our CAA records to specific Digicert accounts.
As for example:
example.com.        28800    IN    CAA    0 issue "digicert.com; account=abc1___d234"
In combination with managed certificates this causes a permission issue as expected.
Would it be possible, to include Microsoft's account id within the documentation? This would allow security sensitive customers to extend their CAA records with the specific Digicert account id of Microsoft without having to open it for all Digicert accounts.
The domain verification process built into the Azure App Services already ensures the needed security level, thus allowing Microsoft's account id is the better option than allowing all Digicert accounts.

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

ID: cc2ee874-df45-1de2-1b30-1fd75c7fd709
Version Independent ID: ee181722-8386-9842-407f-d0549012d2e9
Content: Add and manage TLS/SSL certificates - Azure App Service
Content Source: articles/app-service/configure-ssl-certificate.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@michaelpfister
Thanks for your feedback! We will investigate and update as appropriate.

We've added this to our backlog to review and update as necessary. #please-close


Fake bakends and BasicAer

In the fake backend a warning is raised about Aer not being found and instead BasicAer is being used.
https://github.com/Qiskit/qiskit-ibm-runtime/blob/503e76ed8f4805d74bef6be33aef0c63165149e0/qiskit_ibm_runtime/fake_provider/fake_backend.py#L570
BasicAer was renamed in Qiskit 1.0 so perhaps this could be updated too. Maybe give the new name and include formerly BasicAer - I say that as I see there is some conditional logic around the import, presumably to support versions prior to 0.46, yet the requirements.txt file states qiskit>=1.0.0 so its unclear around the backwards compatibility aspect there.

I also noticed this warning (the core qiskit version of this warning was reformulated to say BasicSimulator), but at the time qiskit-ibm-runtime was supporting 0.46 too, so it was too early. I can update it now.

I got this warning while following the code from (Alternative: run the example using a simulator) "Hello World" Tutorial..
/opt/conda/lib/python3.11/site-packages/qiskit_ibm_runtime/fake_provider/fake_backend.py:468: RuntimeWarning: Aer not found, using qiskit.BasicSimulator and no noise.   warnings.warn(

I got this warning while following the code from (Alternative: run the example using a simulator) "Hello World" Tutorial. Qiskit - version: 1.2.0 /opt/conda/lib/python3.11/site-packages/qiskit_ibm_runtime/fake_provider/fake_backend.py:468: RuntimeWarning: Aer not found, using qiskit.BasicSimulator and no noise. warnings.warn(

You might need to pip install qiskit-aer


Steam System Report crashes

Describe the bug
When i run the Steam System Report the UI crashes after some seconds.
Steps To Reproduce
Steps to reproduce the behavior:

Open Steam from Terminal (to see output)
Click Help ->System Report in Steam UI
Wait until the UI crashes, leaving 17 processes running in the background (you have to kill them manually to start Steam again)

Expected behavior
No crash
Additional context
Happens with Steam stable and beta.
I don't had this issue before updating to NixOS 24.05.
The terminal output shows these issues:
...
sh: line 1: wpctl: command not found
[2024-09-15 18:37:55] Background update loop checking for update. . .
[2024-09-15 18:37:55] Checking for available updates...
[2024-09-15 18:37:55] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2024-09-15 18:37:55] Manifest download: send request
[2024-09-15 18:37:55] Manifest download: waiting for download to finish
[2024-09-15 18:37:58] Manifest download: finished
[2024-09-15 18:37:58] Download skipped: /steam_client_ubuntu12 version<PHONE_NUMBER>, installed version<PHONE_NUMBER>, existing pending version 0
[2024-09-15 18:37:58] Nothing to do
Timeout calling process LD_LIBRARY_PATH="$SYSTEM_LD_LIBRARY_PATH" PATH="$SYSTEM_PATH" journalctl -b 0

Timeout calling process LD_LIBRARY_PATH="$SYSTEM_LD_LIBRARY_PATH" PATH="$SYSTEM_PATH" journalctl -b 0
src/steamUI/spewmanager.cpp (184) : Assertion Failed: Error: Timeout calling process LD_LIBRARY_PATH="$SYSTEM_LD_LIBRARY_PATH" PATH="$SYSTEM_PATH" journalctl -b 0

src/steamUI/spewmanager.cpp (184) : Assertion Failed: Error: Timeout calling process LD_LIBRARY_PATH="$SYSTEM_LD_LIBRARY_PATH" PATH="$SYSTEM_PATH" journalctl -b 0

assert_20240915183809_43.dmp[389411]: Uploading dump (out-of-process)
/tmp/dumps/assert_20240915183809_43.dmp
assert_20240915183809_43.dmp[389411]: Finished uploading minidump (out-of-process): success = no
assert_20240915183809_43.dmp[389411]: error: SSL peer certificate or SSH remote key was not OK
assert_20240915183809_43.dmp[389411]: file ''/tmp/dumps/assert_20240915183809_43.dmp'', upload no: ''SSL peer certificate or SSH remote key was not OK''
reaping pid: 388908 -- CJobMgr::m_Work
BuildCompleteAppOverviewChange: 351 apps
RegisterForAppOverview 1: 12ms

wpctl

I think i don't use PipeWire
Notify maintainers

Metadata

system: "x86_64-linux"
host os: Linux 6.10.9, NixOS, 24.05 (Uakari), 24.05.4847.44a71ff39c18
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.18.5
channels(root): "home-manager-24.05.tar.gz, nixos-24.05, nixos-hardware, nixos-unstable"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Add a :+1: reaction to issues you find important.

This is also broken for me on NixOS unstable, although slightly different output.  When the GUI dies, I can still quit Steam cleanly from the system tray icon menu, but none of the other menu options will bring the GUI up until Steam is restarted.

steam console output
❯ steam
steam.sh[1262705]: Running Steam on nixos 24.11 64-bit
steam.sh[1262705]: STEAM_RUNTIME is enabled automatically
setup.sh[1262786]: Steam runtime environment up-to-date!
steam-runtime-identify-library-abi: Failed to execute child process ?/sbin/ldconfig? (No such file or directory)
run.sh[1262798]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
run.sh[1262798]: Warning: An unexpected error occurred while executing "/sbin/ldconfig -XNv", the exit status was 127
steam.sh[1262705]: Steam client's requirements are satisfied
[2024-09-17 09:53:58] Startup - updater built Sep 13 2024 05:22:21
[2024-09-17 09:53:58] Startup - Steam Client launched with: '/home/aidan/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened'
09/17 09:53:58 minidumps folder is set to /tmp/dumps
09/17 09:53:58 Init: Installing breakpad exception handler for appid(steam)/version(1726256783)/tid(1262839)
[2024-09-17 09:53:58] Loading cached metrics from disk (/home/aidan/.local/share/Steam/package/steam_client_metrics.bin)
[2024-09-17 09:53:58] Using the following download hosts for Public, Realm steamglobal
[2024-09-17 09:53:58] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-09-17 09:53:58] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-09-17 09:53:58] 3. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-09-17 09:53:58] Verifying installation...
[2024-09-17 09:53:58] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/aidan/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf04bd840
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf04bc000
steamwebhelper.sh[1262857]: Using supervisor /home/aidan/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[1262857]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/aidan/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
steamwebhelper.sh[1262857]: Using CEF sandbox \(try with -no-cef-sandbox if this fails\)
steamwebhelper.sh[1262857]: Starting steamwebhelper with Sniper steam runtime at /home/aidan/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 1262943
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
pressure-vessel-wrap[1262884]: W: "/run/current-system/sw/bin/getent" is unlikely to appear in "/run/host"
pressure-vessel-wrap[1262884]: W: Found more than one possible libdrm data directory from provider
exec ./steamwebhelper -lang=en_US -cachedir=/home/aidan/.local/share/Steam/config/htmlcache -steampid=1262839 -buildid=1726256783 -steamid=0 -logdir=/home/aidan/.local/share/Steam/logs -uimode=7 -startcount=0 -userdatadir=/home/aidan/.local/share/Steam/config/cefdata -steamuniverse=Public -realm=Global -clientui=/home/aidan/.local/share/Steam/clientui -steampath=/home/aidan/.local/share/Steam/ubuntu12_32/steam -launcher=0 -use_safe_shutdown_workaround -use_xcomposite_workaround -no-restart-on-ui-mode-change --valve-initial-threadpool-size=12 --valve-enable-site-isolation --enable-smooth-scrolling --password-store=basic --log-file=/home/aidan/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --enable-features=PlatformHEVCDecoderSupport --disable-features=SpareRendererForSitePerProcess,DcheckIsFatal
BRefreshApplicationsInLibrary 1: 141ms
Desktop state changed: desktop: { pos:    0,   0 size: 5120,1440 } primary: { pos: 2560,   0 size: 2560,1440 }
BuildCompleteAppOverviewChange: 488 apps
RegisterForAppOverview 1: 4ms
RegisterForAppOverview 2: 5ms
[2024-09-17 09:56:00] Background update loop checking for update. . .
[2024-09-17 09:56:00] Checking for available updates...
[2024-09-17 09:56:00] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2024-09-17 09:56:00] Manifest download: send request
BuildCompleteAppOverviewChange: 488 apps
RegisterForAppOverview 1: 3ms
RegisterForAppOverview 2: 4ms
[2024-09-17 09:56:00] Manifest download: waiting for download to finish
[2024-09-17 09:56:00] Manifest download: finished
[2024-09-17 09:56:00] Download skipped: /steam_client_ubuntu12 version<PHONE_NUMBER>, installed version<PHONE_NUMBER>, existing pending version 0
[2024-09-17 09:56:00] Nothing to do

❯ nix shell nixpkgs#nix-info -c nix-info -m
- system: `"x86_64-linux"`
- host os: `Linux 6.6.50, NixOS, 24.11 (Vicuna), 24.11.20240910.1355a0c`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Lix, like Nix) 2.91.0
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/aidan/.config/nix/nix.conf:/home/aidan/.config/kdedefaults/nix/nix.conf:/nix/store/98i0v86x0psgskmzpi7wzhn3nvprx67g-plasma-workspace-6.1.5/etc/xdg/nix/nix.conf:/nix/store/bdwk43632w4zkzmvhcvzzb3ahls6874z-kglobalacceld-6.1.5/etc/xdg/nix/nix.conf:/nix/store/fwfr2cz87g94h3h0cis7jbvv06d84hm9-baloo-6.5.0/etc/xdg/nix/nix.conf:/nix/store/98i0v86x0psgskmzpi7wzhn3nvprx67g-plasma-workspace-6.1.5/etc/xdg/nix/nix.conf:/nix/store/bdwk43632w4zkzmvhcvzzb3ahls6874z-kglobalacceld-6.1.5/etc/xdg/nix/nix.conf:/nix/store/fwfr2cz87g94h3h0cis7jbvv06d84hm9-baloo-6.5.0/etc/xdg/nix/nix.conf:/home/aidan/.config/kdedefaults/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/aidan/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/aidan/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/aidan/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/q2amg0h5sg2j4x0z6173wwz8nhk4q5xx-lix-2.91.0/share`
- nixpkgs: `/home/aidan/.nix-defexpr/channels/nixpkgs`

Using nvidia driver 560.35.03.

I'm experiencing this on manjaro also. Except steam restarts automatically after the crash without any leftover processes.
AMD r5 1600 and RX 6600 XT with 24GB of memory for whatever it's worth.
This should probably be reported upstream to valve.


Non-deterministic tests to check query tags

Unfortunately, these tests introduced by #48 appear to fail non-deterministically:
tests/integration/simple_seed_test/test_seed_with_query_tag.py::TestSeedWithQueryTag::test_snowflake_big_batched_seed
tests/integration/simple_snapshot_test/test_snapshot_query_tag.py::TestSnapshotWithQueryTag::test__snowflake__snapshot_with_query_tag

See:

https://github.com/dbt-labs/dbt-snowflake/runs/4263981165
https://github.com/dbt-labs/dbt-snowflake/actions/runs/1480696294

These tests check to confirm that a previously run query is tagged with an appropriate query_tag. They pass whenever I run them locally. Could it be an issue with tests running concurrently?

That's a pity :(
I assume we are running into some race conditions, I didn't expect.
As I'm not that familiar with the test framework - do you have an idea for a better test? I'm happy to take on the implementation.

@anthu Thanks for the offer! I think I managed to get this sorted in #57, by using a post-hook (runs within the materialization) instead of a custom singular test that runs later on


Tests failed and take long time with MSSQL container

What steps will reproduce the problem?

Run tests in an acceptable time
What do you get instead?
docker-compose run --rm php vendor/bin/phpunit -v --group mssql
Starting mssql_mssql_1 ... done
PHPUnit 4.8.34 by Sebastian Bergmann and contributors.

Runtime:	PHP 7.0.32-0ubuntu<IP_ADDRESS> with Xdebug 2.4.0
Configuration:	/project/phpunit.xml.dist

SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  63 / 543 ( 11%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 126 / 543 ( 23%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 189 / 543 ( 34%)
SSSSSSSSSSSSSSSSSSSSSSSS.SEE.SSSSSSSSESEESSSSSSSSSEEEEEEFE..... 252 / 543 ( 46%)
..........................F..F................................. 315 / 543 ( 58%)
.........SSSSSSSSSSSSSSSSSS............EEEESSSSSSSSSSSSEE.EEEEE 378 / 543 ( 69%)
................................SSSSSIS.SSSSS..........SSSSSSSS 441 / 543 ( 81%)
SSSSSSSSSSS.SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 504 / 543 ( 92%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSEESSEEE

You should really fix these slow tests (>500ms)...
 1. 45020ms to run yiiunit\framework\web\session\mssql\DbSessionTest:testReadWrite
 2. 45018ms to run yiiunit\framework\web\session\mssql\DbSessionTest:testInstantiate
 3. 45016ms to run yiiunit\framework\web\session\mssql\DbSessionTest:testMigration
 4. 45012ms to run yiiunit\framework\web\session\mssql\DbSessionTest:testSerializedObjectSaving
 5. 45011ms to run yiiunit\framework\web\session\mssql\DbSessionTest:testInitializeWithConfig
 6. 15017ms to run yiiunit\framework\db\mssql\ActiveQueryTest:testGetQueryTableName_from_not_set
 7. 15014ms to run yiiunit\framework\db\mssql\QueryBuilderTest:testInitFixtures
 8. 15011ms to run yiiunit\framework\db\mssql\SchemaTest:testGetPDOType
 9. 15011ms to run yiiunit\framework\db\mssql\ActiveDataProviderTest:testActiveQuery
 10. 15009ms to run yiiunit\framework\db\mssql\ConnectionTest:testServerStatusCacheWorks
...and there are 370 more above your threshold hidden from view

Time: 1.62 hours, Memory: 56.00MB

Additional info

Q
A

Yii version
2.0.16-dev

PHP version
7.2.10

Operating system
ubuntu 18.04.1

MSSQL version
2017

MSSQL driver
sqlsrv

The problem was in config.php file with incorrectly credentials and was not being replaced by config-docker.php


Pip install doesn't work

pip install gives dependency error:
ERROR: Cannot install lightweight-mmm==0.1.1, lightweight-mmm==0.1.2 and lightweight-mmm==0.1.3 because these package versions have conflicting dependencies.
The conflict is caused by:
lightweight-mmm 0.1.3 depends on jaxlib>=0.3.0
lightweight-mmm 0.1.2 depends on jaxlib>=0.3.0
lightweight-mmm 0.1.1 depends on jaxlib>=0.3.0
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
I have tried pip installing the package into multiple new conda environments with different python versions from 3.6 to 3.9, none worked.

Hello @Navatso ! Thanks for reporting this.
By the looks of the error, I think you might be trying to install it on windows. The support of JAX for windows is very limited so I would recommend installing it on Linux or using Colaboratory if you dont have access to a linux system.
Let me know if you are getting this error on Linux and I will dig a bit on this one.

@Navatso great to hear!


Invalid source map with rollup 0.40

https://github.com/mozilla/source-map/issues/247 mentions a source map problem with preact.  A couple of the generated source maps are definitely wrong -- they refer to lines that don't appear in the generated file.  I looked into this and found https://github.com/rollup/rollup/issues/1254.  Changing preact to require rollup 0.41 makes the bug go away.

Nice! Feel free to submit a PR that updates Rollup, otherwise I'll make sure that's in the next release.

@developit  This still seems to be an issue. I get the mentioned source map issue only when using preact.
@tromey Are you still seeing this issue?

@tromey Are you still seeing this issue?

I don't actually use preact; I just found this while investigating a bug filed against the source map library.  So, I don't know, sorry!


feat: sensor support integration

Summary
This PR comes with the sensor intersection support!
Enable users to use custom colliders as sensors:
<CuboidCollider
   :args="[10, 3, 0.5]"
   :position="[0, 3, 3]"
   activeCollision
   sensor
   @intersection-enter="onIntersectionEnter"
   @intersection-exit="onIntersectionExit"
/>

Logs

Fix debug lines bounding-box availability
Add new vNode extended types

TresVNodeObject
TresVNode

Add a TresObject to collider components
Add sesnor demo
Implement intersection feature

Record
https://github.com/user-attachments/assets/632d2601-89e1-4e60-9134-6da7932451ad
Documentation addition
Sensor
The Sensor feature allows events to be triggered when there's an intersection or in other words, when the collider is traversed by another collider.
The traversed Collider (or the collider that will trigger events), is the sensor and should set the activeCollision and sensor properties to true.
By passing the above properties, the collider will no longer be affected by the physics law and will now start triggering the following intersection events:

@intersection-enter:  When another collider starts to traverse the sensor
@intersection-exit: When another collider leave the sensor

I.e:
<RigidBody type="fixed">
  <CuboidCollider
    :args="[10, 3, 0.5]"
    :position="[0, 3, 3]"
    activeCollision
    sensor
    @intersection-enter="onIntersection1Enter"
    @intersection-exit="onIntersectionExit"
  />

  <CuboidCollider
    :args="[10, 3, 0.5]"
    :position="[0, 3, -3]"
    activeCollision
    sensor
    @intersection-enter="onIntersection2Enter"
    @intersection-exit="onIntersectionExit"
  />
</RigidBody>

This PR will resolve #107

⚠ IMPORTANT NOTE:
I'm getting the unsupported properties warning when using custom colliders with intersection events:
[Vue warn]: Extraneous non-emits event listeners (intersectionEnter, intersectionExit) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.
  at <Anonymous name="cuboid-sensor" args= Array(3) position= Array(3)  ... >
  at <RigidBody type="fixed" >
  at <Physics debug="" >
  at <App>

I understand this is coming from my emitIntersection utility, where I'm trying to get the correct collider component:
export const emitIntersection = (
  source: sourceTarget,
  target: sourceTarget,
  started: boolean,
) => {
  const collisionType: collisionType = started ? 'enter' : 'exit'
  const colliderNode = (source.object as any)?.__vnode?.children?.[1]?.children?.find((child: any) => child?.component?.exposed?.instance?.value === source.context.collider)

  colliderNode?.component?.emit?.(`intersection-${collisionType}`, { source, target })
}

I don't have a better solution right now to solve the issue, but I'll try to dig in to see if I can improve the integration.

cc: @JaimeTorrealba

I understand this is coming from my emitIntersection utility, where I'm trying to get the correct collider component:
export const emitIntersection = (
  source: sourceTarget,
  target: sourceTarget,
  started: boolean,
) => {
  const collisionType: collisionType = started ? 'enter' : 'exit'
  const colliderNode = (source.object as any)?.__vnode?.children?.[1]?.children?.find((child: any) => child?.component?.exposed?.instance?.value === source.context.collider)

  colliderNode?.component?.emit?.(`intersection-${collisionType}`, { source, target })
}

I don't have a better solution right now to solve the issue, but I'll try to dig in to see if I can improve the integration.

Hi @Neosoulink this is probably  happening because those new intersection-* emits are not declared in the emit definition here https://github.com/Tresjs/tres/blob/af704c1e8e146608d34543325af67b0b43703f20/src/components/TresCanvas.vue#L79
Is it colliderNode.component a Tres component?

Is it colliderNode.component a Tres component?
Hi @alvarosabu,
No, but it uses the Tres component to get the Collider component, colliderNode.component is the current Collider component triggering the intersection events.

Note: Probably next week I'll create new types instead of using any

Is it colliderNode.component a Tres component?

Hi @alvarosabu, No, but it uses the Tres component to get the Collider component, colliderNode.component is the current Collider component triggering the intersection event.

Note: Probably next week I'll create new types instead of using any

Hi @Neosoulink if you are in control of the Collider Component, I think you need define the emits using defineEmits https://vuejs.org/api/sfc-script-setup#defineprops-defineemits to get rid of that error.

Hi @Neosoulink if you are in control of the Collider Component, I think you need define the emits using defineEmits https://vuejs.org/api/sfc-script-setup#defineprops-defineemits to get rid of that error.

Okay, let me try this ✅

@Neosoulink in order to use the same "system" that I use, you should emit the events in the parent, the RigidBody which is a 3DGroup...
I know it is just a draft (of end documentation) But if you check here:
https://github.com/Tresjs/rapier/blob/main/docs/components/collider.md
The solution I came was to emit the event in the parent.
The BaseCollider is not a Tres component and doesn't have the same vNode properties (in fact is just a <slot /> which is empty), but the RigidBody does.
You can check here how I handle it: https://github.com/Tresjs/rapier/blob/main/src/utils/collisions.ts#L8
Except that, this is a nice work, thank you.
PS: Don't forget to submit the documentation, is missing.

@JaimeTorrealba I see now, and it's also joining the @alvarosabu note...
But Sensor events should be triggered from the Collider (yes, it's a <slot />).
In that case, we have to define emits directly in the project,
Something like here: https://github.com/Tresjs/tres/blob/af704c1e8e146608d34543325af67b0b43703f20/src/components/TresCanvas.vue#L79

Regarding

Hi @alvarosabu @JaimeTorrealba, I just pushed the fix for the properties warning issue.
But I'm not sure if I should add documentation in this PR as well, I mean this PR will get bigger
Otherwise, this PR is ready for review

It's expected to have documentation in the same scope as the PR whenever there is a new feature or bugfix. It's also a way reviewers can understand the code changes quicker as they were a new user.

I added a minimal senor documentation
cc: @alvarosabu @JaimeTorrealba

I think we can improve this in the future in order to accept automatic colliders too.
But the implementation is stable, thanks for this one

I spend time looking for a good way to implement it.
Let's say you have your RigidBody and add the sensor property. Will the sensor events (Enter & Exit) be triggered when a collider transverses any collider inside that RigidBody?

Hey @alvarosabu @JaimeTorrealba, you can take a look at the description of this PR, I added documentation on how to use the sensor


Remove outline for button

fix #28

I don't want to just re-add the outline as it is default in the browser. It looks bad. We should come up with a focus outline style.

Closing this since we fixed it already by creating a custom focus style


TextureRect resets rect_rotation under container after visibility change

Godot version
Godot 3.5.1 Stable
System information
Windows 7
Issue description
Issue described in title. Maybe it's intended (because Containers control it's childs), but looks buggy.
Steps to reproduce

Make scene with any Container and TextureRect under this Container:

Container
-TextureRect

Add texture to TextureRect.
Add any code to rotate and hide/show TextureRect.
In-game, rotate TextureRect and then hide it.
Show TextureRect and see results.

Minimal reproduction project
Archive contains project files (not folder with them!), make sure to unpack into empty folder.
BUGGER.zip

That's normal and expected behavior. Containers control position and size of their children, that's their main purpose. Rotation and scale are reset in the process. If you want to animate controls under containers, you need to do use intermediate controls as children of containers and anchor points for other nodes.


[SPARK-15463][SQL] support creating dataframe out of Dataset[String] for csv data

What changes were proposed in this pull request?
Currently only DataFrameReader.csv(...): DataFrame does not support converting Dataset[String] to a DataFrame.
This PR is to add the API DataFrameReader.csv(rdd: Dataset[String]): DataFrame. Also in order to easily invoke the helper functions that are already implemented for csv parsing, I moved some of the private methods from csv.DefaultSource to CSVRelation.
How was this patch tested?
A test case is added to load csv files to Dataset[String] and covert to DataFrame and check the results.
Regression test is run.

Can one of the admins verify this patch?

@HyukjinKwon @falaki  Could you review the PR? Thanks!

Takeshi Yamamuro suggested on https://issues.apache.org/jira/browse/SPARK-15463 that the new API should take a Dataset[String] as input instead of an RDD[String]

Yes. I am adding the Dataset[String] API also. will push soon.

cc @rxin
(@xwu0226 For me, I think it might be better if the structure of CSV and JSON data sources have the same structure so that we can fix up similar issues together easily if you are going to change the structure.)

Do we still need the interface for RDD[String]?

@maropu The API that converts Dataset[String] to DataFrame is using the one for RDD[String]. So i am thinking it could be beneficial to provide both there?

@HyukjinKwon Let me try to understand your question.  Right now, we have csv.DefaultSource implementing DataSourceRegister and csv.CSVRelation contains some parsing helpers, while json.JSONRelation.DefaultSource implements DataSourceRegister and also has some parsing helpers.  Would it be better to have csv.CSVRelation and csv.DefaultSource combine, just like json.JSONRelation?  Do you mean something like this? Thanks!

@xwu0226 Ah, for example, it seems a new method, CSVInferSchema.inferSchemaFromRDD(..), seems introduced here while CSVInferSchema.infer(...) is already implemented. For JSON InferSchema.infer(...) seems responsible for both cases.
BTW, more importantly, it seems arguable to add new APIs.

Let's not add so many new APIs. You can just add the Dataset[String] one, since RDD[String] can be easily converted into Dataset.

@rxin OK. Thanks! will do.

@rxin Please help double check! Many thanks!!

test this please

@xwu0226 the unit tests you added seem sufficient

@yhuai @rxin Thanks!

@HyukjinKwon @rxin @falaki Would it be feasible to get this merged for Spark 2.0 release?

@pjfanning we are now focusing on bug fixes and stability fixes rather than adding new features.

@rxin Do you think we can revisit this feature and have it in 2.1? Thanks!

Would it be feasible to get this merged for Spark 2.1.0?

What's the status of this pr? It seems to be more natural that we implement from_csv in a similar way of from_json in https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L2900

I checked the feasibility to implement from_json in sql.functions; If we move csv parser code (CSVReader, CSVOptions, ...) from o.a.s.sql.execution.datasources.csv to o.a.s.sql.catalyst.csv, we can easily implement from_json with a few modifications.
scala> val ds1 = Seq("""1,abc""").toDS()
ds1: org.apache.spark.sql.Dataset[String] = [value: string]

scala> val schema = new StructType().add("a", IntegerType).add("b", StringType)
schema: org.apache.spark.sql.types.StructType = StructType(StructField(a,IntegerType,true), StructField(b,StringType,true))

scala> val ds2 = ds1.select(from_csv($"value", schema))
ds2: org.apache.spark.sql.DataFrame = [csvtostruct(value): struct<a: int, b: string>]

scala> ds2.printSchema
root
 |-- csvtostruct(value): struct (nullable = true)
 |    |-- a: integer (nullable = true)
 |    |-- b: string (nullable = true)

scala> ds2.show
+------------------+
|csvtostruct(value)|
+------------------+
|           [1,abc]|
+------------------+

@maropu Thanks for the comments! It seems like adding such new datasource API in DataFrameReader is not in the priority now. That is why it has been in relatively idle state now. What you are proposing can solve similar problem, it is just that the user can not use datasource API to do it.

This pr seems stale and inactive. I know this kind of API changes has lower priorities now. So, how about closing this pr for now and setting LATER in the corresponding JIRA? Thought? cc: @rxin @xwu0226 @HyukjinKwon

Actually, this feature might not be urgent as said above but IMO I like this feature to be honest. I guess the reason it was hold is that IMHO it does not look a clean fix.
I recently refactored this code path and I have one left PR, https://github.com/apache/spark/pull/16680. After hopefully merging, there can be a easy clean fix consistently with json one within 10ish line additions, for example, something like one below in Dataset...
def csv(csv: Dataset[String]): DataFrame = {
  val parsedOptions: CSVOptions = new CSVOptions(extraOptions.toMap)
  val caseSensitive = sparkSession.sessionState.conf.caseSensitive
  val schema = userSpecifiedSchema.getOrElse {
    InferSchema.infer(csv, caseSensitive, parsedOptions)
  }

  val parsed = csv.mapPartitions { iter =>
    val parser = new UnivocityParser(schema, caseSensitive, parsedOptions)
    iter.flatMap(parser.parse)
  }

  Dataset.ofRows(
    sparkSession,
    LogicalRDD(schema.toAttributes, parsed)(sparkSession))
}

I remember there have been a quite bit of questions about this feature in spark-csv as thirdparty (and also spark-xml too).

@HyukjinKwon Thanks! After your #16680 is merged, submit a PR with the code you show above. then.

Yea, I also think json and csv stuffs should be consistent and they'd be better to have the same code structure and behaviour as @HyukjinKwon said. Since we do not have DataFrameReader.json(Dataset[String]) in the current master, functions.from_json is the only interface for that conversion. If we add csv(Dataset[String]) in DataFrameReader, do we need to also add json(Dataset[String]) there even though we already have functions.from_json?

Oh, I remember the answer from my previous similar question, which was that we should not add some APIs just for consistency.
I have some references about the requests for this feature but don't have ones for the others. So, I am less sure.

Aha, I see. Anyway, we need to keep discussion not here but the JIRA! (because this is the closed..)


JSpinner mouse hover problem

When you hover over the spinner elements, they either draw the last hovered color see first GIF or draw strange things onto the spinner

Hi @Reap00r,
The problem has equal to combo box,
I hope this issue is fixed

Merged, going to leave this open in case there are still any issues

Closing this because it's working. Great work