nixos/users-group: Add 'homeMode' option.

Description of changes
Add users.users.<name>.homeMode to specify the permissions of the home directory.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/home-user-permissions/18555/4

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/811

ping release managers @dasJ, @tomberek, @jonringer, @Mic92. Would be nice to add this to the upcoming release.

Any chance of getting this into the next release?


Azure EventHubs PubSubs should use AAD for checkpointing storage

Currently EventHubs PubSub has support for AAD authentication, but still requires the storage account connection used for lease checkpointing to use a connection string instead of AAD auth.
This should be updated to also support AAD auth.

cc @mukundansundar

Could be pretty easy like so:
	// connect to the storage account
	if m.storageAccountKey != "" {
		metadata.Properties["accountKey"] = m.storageAccountKey
	}
	a.storageCredential, a.azureEnvironment, err = azauth.GetAzureStorageCredentials(a.logger, m.storageAccountName, metadata.Properties)
	if err != nil {
		return fmt.Errorf("invalid credentials with error: %s", err.Error())
	}

And then connect via:
	leaserCheckpointer, err := storage.NewStorageLeaserCheckpointer(a.storageCredential, a.metadata.storageAccountName, a.metadata.storageContainerName, *a.azureEnvironment)


some .rpt fix on mission.sqm

What issues or rpt messages do you get concerning this one?
Because in the mission.sqm you've to use @STRING and not $STRING (as you have to in the description.ext).
source:
https://community.bistudio.com/wiki/CSV_File_Format_-_Stringtables#mission.sqm

@STR_MISSION_TITLE: string @STR_MISSION_TITLE cannot be localized client-side - move to global stringtable
Liberation Malden: string @STR_MISSION_DESCRIPTION cannot be localized client-side - move to global stringtable
After changing @ in $ the error had disappeared, and the translation worked, otherwise it remained in English

This will replace the string inside the mission.sqm (and therefor there is no switching to global stringtable anymore, as there is no string afterwards).
Example (just reproduced it in this moment)
If you write in the mission.sqm:
	briefingName="$STR_MISSION_TITLE";
	overviewText="$STR_MISSION_DESCRIPTION";

and load the mission (from the editor for example) it will change directly inside the mission.sqm to:
	briefingName="KP Liberation v0.96dev";
	overviewText="Befreie das Gebiet von der feindlichen Unterdrückung mit der Kraft von Freiheit und Demokratie";

So he'll get the string from the stringtable and replace the placeholder in the mission.sqm
Therefor everyone with a mission.sqm from your side would have the overviewText in your language and not in their language.

I knew that, but I did not understand why I did not load the translation, now I know, I think it would be nice to have mission_tittle and mission_description translated but I leave the decision to you.
thanks for the reply 👍 :-)

It's no decision question concerning the title and description in the MP Lobby. If you set your server language to russian it will show the description in russian in the MP Lobby (even if the client is german). If you set it to spanish, it'll be in spanish. It's how ArmA handles this particular situation, nothing to decide (only the server admin concerning the language setting of the server).
If you start the mission on your own client it'll have your language shown in the MP Lobby (even if a friend from asia will join for example).


Rosdep entry for nvidia-cuda-toolkit on ubuntu and debian

Well, all in the title. Here is a new rosdep entry for the nvidia-cuda-toolkit package.

debian needs to be before ubuntu (alphabetical order)


(Windows) Vundle installs plugins to wrong directory

On Windows, my vimrc looks like this:
set rtp+=~/vimfiles/bundle/Vundle.vim
let vundle_path='$HOME/vimfiles/bundle'
call vundle#begin(vundle_path)

However...
Instead of installing it to the directory I want, it installs it to $HOME/UsersNamevimfilesbundlePluginName because of the escape characters.
It first tries to install it to C:\Users\Name\vimfiles\bundle\PluginName like usual, but since this is annoying old Windows, it doesn't escape the characters, then because of permission issues it can't install to the C drive, so it shoots it to the home directory.
I hacked on a little fix, which shouldn't be the real fix...
In Vundle.vim/autoload/vundle/installer.vim,
I changed line 405 to:
let cmd = 'git clone --recursive '.vundle#installer#shellesc(a:bundle.uri).' '.vundle#installer#shellesc(join(split(a:bundle.path(), "\\"), "/"))

(I'm no pro at vim script)

I had similar problems trying to use Windows vim with Cygwin, and vim's shell set to sh.  I solved them with a change similar to that proposed by @allevaton.  However rather than using split and join to change the backslash character into a slash, which looses a leading slash, I used the substitute function.
 let cmd = 'git clone --recursive '.vundle#installer#shellesc(a:bundle.uri).' '.vundle#installer#shellesc(substitute(a:bundle.path(), '\', '/', 'g'))

The installer.vim line is now 418.


Missing playwright expect rule

My team has found that it can be easy to forget to await async playwright matchers such as toHaveSelector, which can result in false positives since the test needs to wait for the expectation to work properly.  This improves the ESLint plugin to include a new rule that will detect and auto fix this problems.  For example, with this input:
expect(page).toHaveSelector('.form')

Auto fixed output:
await expect(page).toHaveSelector('.form')

@mxschmitt I setup the GH action, and tested it on my fork.  You can see the results here: https://github.com/mskelton/eslint-plugin-jest-playwright/actions/runs/794056637


longSum/Max aggregation in metricsSpec is ignored when setting inputSource type=druid

Tested in druid 0.20.0 with druid.generic.useDefaultValueForNull=false
I have exising druid datasource:

Then I tried to aggregate using ingestion spec
{     "type": "index_parallel",     "spec": {         "dataSchema": {             "dimensionsSpec": {                 "dimensions": [{                         "name": "MONITOR_ID",                         "type": "long"                     }]             },             "metricsSpec": [{                     "fieldName": "L3",                     "name": "L3",                     "type": "longSum"                 }, {                     "name": "CNT",                     "type": "count"                 }],             "granularitySpec": {                 "segmentGranularity": "day",                 "queryGranularity": "hour"             },             "timestampSpec": {                 "column": "POLL_TIME",                 "format": "millis"             },             "dataSource": "z_3600000_0"         },         "ioConfig": {             "appendToExisting": true,             "inputSource": {                 "interval": "2020-11-10T03:26:00.000Z/2020-11-10T03:31:00.000Z",                 "type": "druid",                 "dataSource": "z_60000_0"             },             "type": "index_parallel"         }     } }
The longSum result for L3 is null

Is this a bug or am I missing something?

It may be the same problem as https://github.com/apache/druid/issues/9914. There is a workaround mentioned in that ticket.

The workaround works fine.
Thanks!


Long persisting issue with GSAT_PlayMontageForMeshAndWaitForEvent

This issue has been around for quite a while. The montage replication, when using the aforementioned task, only works once. After that, replication of montages via this task stops working.
Are any fixes planned? Thanks

No planned fixes at this time.


labels for parameters in nDim

Hello
Is there any possibility to label the different fitting dimension and save them with the hdf backend?
This feature would help to evaluate the different walker chains after the fit was complete, if there is a dynamic number of parameters.
kind regards,
Paul

This isn't supported out of the box, but you should be able to arrange something like this by writing to the back end directly. You could try something like:
with backend.open("a") as f:
    f.create_dataset("parameter_names", data=names)

Thank you very much for the fast answer.
Since there are some problems with the string format in hdf files, I used another workaround:
with backend.open('a') as f:       f.attrs.create(name="parameter_names", data=names)
where names could be of any type


Class files of exampleFL3 not stored in the repo

Is there any reason why this is the case?
In exampleFL1 and exampleFL2, the class files are in the git repo, but for exampleFL3 they are computed during CI.

Hi @andre15silva
I'd say that the projects should be compiled by the CI as the case of exampleFL3 .
I do not remember why we have done two different strategies.
I would propose to remove the .class and add two new lines on .travis.yml to build the projects under testing.

I'd say that the projects should be compiled by the CI as the case of exampleFL3 .

I agree.

I would propose to remove the .class and add two new lines on .travis.yml to build the projects under testing.

Once we have CI running again, I'll do that (pending https://github.com/SpoonLabs/flacoco/issues/12).

great, thanks!


Segmentation Fault in sed 's' command if skipping initial match

toybox sed crashes with a segfault when given certain
substitution commands that specify to only substitute the nth match
where n > 1.
Steps to reproduce
echo "e" | toybox sed -e "s/e//2"

Analysis
In sed.c:498, sed decides correctly that, since it is looking at the 1st match
but should only replace the nth match, the current match should be skipped.
To do so, it copies the remainder of the current line not covered by the match
into l2.
The memory for l2 is allocated in line 526, when carrying out a substitution.
However, if the first match already needs to be skipped, there have been
no substitutions yet and l2 is still a null pointer, leading to the crash.
Additional Information
This behavior was detected using techniques developed by the SYMBIOSYS research project at COMSYS
RWTH Aachen University. This research is supported by the European Research Council (ERC)
under the EU's Horizon 2020 Research and Innovation Programme grant agreement n. 647295 (SYMBIOSYS).

We are also hitting this bug with sed, the arguments in our code are dynamic and switching to regular bash fixed the problem. Any chance this gets fixed in the next release?

Oh. Huh, I thought I'd already fixed this one.
(You're using a version of sed that's a bash builtin? I hadn't encountered that before...)

Commit 773d404ee2b9

Thanks much, compiled and tested it. I can confirm that this bug is fixed.
aside, there were few warnings during the compilation,sharing  in case you want to track them (gcc 9.3 on ubuntu 20.04):
$ make defconfig
cc -o kconfig/conf kconfig/conf.c kconfig/zconf.tab.c -DKBUILD_NO_NLS=1 \
        -DPROJECT_NAME=\"ToyBox\"
In file included from kconfig/zconf.tab.c:2340:
kconfig/confdata.c: In function ‘conf_write’:
kconfig/confdata.c:435:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 128 [-Wformat-overflow=]
  435 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |                    ^~~~~~~~~~~~~~~~~
kconfig/confdata.c:435:3: note: ‘sprintf’ output between 13 and 150 bytes into a destination of size 128
  435 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/genconfig.sh
kconfig/conf -D /dev/null Config.in > /dev/null

$ make
scripts/make.sh
Generate headers from toys/*/*.c...
generated/newtoys.h
warning: using unfinished code from toys/pending
Library probe...........
Make generated/config.h from .config.
generated/flags.h generated/globals.h generated/tags.h generated/help.h
Compile toybox...................................toys/net/netstat.c: In function 'display_routes':
toys/net/netstat.c:254:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  254 |   fgets(toybuf, sizeof(toybuf), fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toys/net/netstat.c: In function 'show_ip':
toys/net/netstat.c:103:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  103 |   fgets(toybuf, sizeof(toybuf), fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toys/net/netstat.c: In function 'show_unix_sockets':
toys/net/netstat.c:173:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  173 |   fgets(toybuf, sizeof(toybuf), fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......................................................................................toys/other/watchdog.c: In function 'watchdog_main':
toys/other/watchdog.c:48:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   48 |     write(TT.fd, "", 1);
      |     ^~~~~~~~~~~~~~~~~~~
toys/other/watchdog.c: In function 'safe_shutdown':
toys/other/watchdog.c:34:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   34 |   write(TT.fd, "V", 1);
      |   ^~~~~~~~~~~~~~~~~~~~
.......................................................................

$

kconfig/ is the kconfig plumbing copied from the 2.6 kernel a decade and a half ago. It's a built-time tool that just produces the .config file and nothing else, and there's a todo item to write a new one from scratch but it just doesn't matter enough to bother so far.
netstat is reading from /proc. If something bad is coming from /proc your kernel is compromised and there's nothing we can do about it in userspace, whatever build environment you have is being silly.
What exactly is watchdog.c supposed to do if the write() returns a problem? If you can't write to the watchdog driver the system will reboot, so WHATEVER action we take... the system will reboot. Again, your build environment is being silly. What strange flag did you send to it request that it complain about this stuff?

Since they mentioned Ubuntu, that flag is -D_FORTIFY_SOURCE=2 from Ubuntu-specific default compiler flags. Fedora maintainers were considering enabling the flag globally, but rejected the change because it false positived on too many packages during their mass rebuild.

TIL that glibc's __wur isn't always on. yeah, you're right:
# if __USE_FORTIFY_LEVEL > 0
#  define __wur __attribute_warn_unused_result__
# endif

not that it makes much difference to me with my bionic maintainer hat on though, since Android's always _FORTIFY_SOURCE=2 anyway. but, yeah, "how would we ever be able to turn this on?" is why i've done nothing on my "use __attribute__((__warn_unused_result__)) in bionic" bug...
(but this does explain why the rest of the world hasn't fixed their warnings yet. i had been surprised that glibc going first on this one didn't seem to have moved the needle much.)

warning: ignoring return value of 'fgets', declared with attribute warn_unused_result

netstat is reading from /proc. If something bad is coming from /proc your kernel is compromised and there's nothing we can do about it in userspace, whatever build environment you have is being silly.

umm, not sure i follow the logic. my build environment is Ubuntu 20.04 standard install gcc 9.3, nothing customized or interesting here. the warning is simply referring to fgets result being ignored here: https://github.com/landley/toybox/blob/137ab99aa35a94ad1519b294906522ce108e3451/toys/net/netstat.c#L254 (which we can suppress in the user code / make config)

umm, not sure i follow the logic.

it's a philosophical disagreement... warn_unused_result is saying "this call can fail in general, and you should check that". rob is saying "if this specific call fails, your kernel is broken and there's nothing i can reasonably do". in both cases: for the fgets() the best we can do is say "your kernel is broken" and for write()s, and there's really no good outcome at all given what watchdog(1) is for.
i'm usually all for appeasing the compiler, even in low-value cases, so that i can keep the warning to guard against high value cases --- but even i struggle to think what we can do if a watchdog write() fails. ignoring the failure and hoping the next one works is probably the least worst option?

your kernel is compromise

the best we can do is say "your kernel is broken"

that's not necessarily the "best" thing to say. "we don't care about this warning" would be understandable. fgets on regular file can return NULL on error (see manual), but in case of /proc, it doesn't, but the compiler doesn't know/care about that when emitting the unused result warning, so it's a harmless warning not a "compromised kernel" ffs.

 (Because people were doing that, and the compiler guys got indignant that the programmers didn't believe the compiler writers universally knew better than the authors of each individual program.)
The point at which I stopped paying attention to fortify was when adding if (thingy); around the thingy that was doing a warning STILL DIDN'T SHUT FORTIFY UP. I had to do something with the test result to avoid the warning. Maybe that's no longer the case, but that's the point where I stopped caring what they had to say.


[Feature]: Add Timing::full() method that returns a value of string t

TODO: fill in

derp, ur dumb - t will change for every frame. Just extract the variable when you're building the cmd, dummy.


Scrolling in ui example doesn't work

Bevy version
0.10, main, bisected to 76058bcf3346e085c0883c892e6111e20657e4f0
Relevant system information
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.1 ", kernel: "22.2.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }

What you did
cargo run --example ui
Move pointer over scroll area, two-finger scroll with touchpad
What went wrong
No scrolling

The upgrade to Taffy 3 broke the scrolling list because in Taffy 3 Dimension::Undefined is removed and Val::Undefined is mapped to Dimension::Auto. The example was giving the list container a max height of Val::Undefined which previously in Taffy internally would have been translated to  Dimension::Points(0.) but now becomes Dimension::Auto which means that instead of taking the height of its parent, the list container takes the height of its content that is the height of the entire list. So the list widget believes the list fits inside the container and can't be scrolled.


[Bug]: Orange flash when enabling keyboard for recovery input on Android

Describe the bug
The orange theme shows up when revealing the keyboard at the seed-phase input screen on Android (not iOS afaict). This feels unintentional and looks garish against the dark theme. It doesn't behave this way when opening the keyboard at other screens such as manual address input.
Reproduce

On an Andriod device
Start clean Bitkit
Restore wallet
Display device's software keyboard
Observe temporary bright orange background in the area where the keyboard is expanding

Screenshots / Recording
https://github.com/synonymdev/bitkit/assets/74595920/ff0a924e-67e7-49ae-88f3-120a1b308489
Operating system
Android 13 TKQ1.220829.002
Bitkit version
2c5b07726fd35cb796a9566c47d0f6c36fda4ef4
Log output
No response

@pwltr In answer to our chat from yesterday, I have a native solution in this patch:
fix.patch
Download to the root dir of your local Bitkit repo clone, then run in a terminal
git apply fix.patch

https://github.com/synonymdev/bitkit/assets/4588074/1f24be72-b9cc-43f5-b117-9dcc6f58598e

Verified in v118


[Async] Implement gas and gas price estimation with async/await

:point_up:
This PR implements gas and gas price estimation in async/await.
Test Plan
CI thanks to existing tests.

bors r+


React Native instructions

Description:
This PR adds instructions for react-native in the README.
This should close #376

merging as a docs only addition


Change VIRTUALENVWRAPPER_VIRTUALENV_ARGS example

--no-site-packages option is deprecated, so we should use something else
as an example so we don't mislead folks:
https://virtualenv.pypa.io/en/latest/reference.html#cmdoption--no-site-packages
I wasn't sure what might be best as the new example, this looked reasonable.

Thanks for your contribution! I think the best example of a command might be the opposite of the one in there now, --system-site-packages as it still references the same option but in a different way.

I went ahead and merged a change with --system-site-packages. Thanks for the idea!

Thanks! I saw your earlier comment and didn't have time to fix yet.
I'm not exactly sure I like the --system-site-packages example--there's a reason the default was flipped. But it's not exactly clear to a n00b what the value does, so using it in the example might lead someone astray by implying it's a bad default that should be overridden. Versus something like the --download or another flag that is quite clear that typically you don't want it.


Analyze how the terrain is created and create it in its simplest way

After our successful experience playing with simple voxels using the VoxelMesherCubes in #11 it is time to play with the real thing: the terrain. It has physics included so it is our main goal to understand how physics works with voxels.
Now it is important to read all the doc in https://github.com/Zylann/godot_voxel/blob/master/doc/01_get-started.md
Let's start playing with VoxelTerrain and with its tutorial. Review the video and all its comments with interesting info about this terrain feature.
Our goal is to create a plain world of a variable size. The thick of the world should be configurable. With it we will start to play with physics trying to implement overhangs, tunnels, and user creation/destruction.

Our first VoxTerrain
A VoxTerrain is a SpatialNode with some properties:

Stream
The stream defines from where to get the voxels that will define the world.

We can create our own VoxelGenerator from GDScript.
The simplest one is just to use VoxelGeneratorFlat which will create a flat terrain covering "all" the world

And we can define the height of the flat world.

By default the collision are enable so let's check what happens if we let a mesh drops in the terrain

Playing with the bounds I get the message:
ERROR: push_call: Message queue out of memory. Try increasing 'memory/limits/message_queue/max_size_kb' in project settings.

Ok, material can be defined easily as expected:

and with the view distance we can define how far the world is rendered.

Ok, just pending to understand the properties for the Voxel Library, and important topic:

Atlas Size
Voxel count: 2
Voxels

0:
1:

Resource

and all the details related to a voxel:

Voxel name
Color
Transparent
Random tickable
Material Id
Geometry type: Cube or CustomMesh
Custom mesh
Collision Aabbs: size of the array
Collision mask
Resource

Guau, it is pretty interesting!

The first try has not worked. The terrain is not shown in the rendering of the scene:

In the terrain there are two voxels, one that is called air and the other one that is called solid. Not sure if here is the problem.
But inside the 3D editor then terrain is shown. And also using the camera view. So, why not when doing the final rendering?

Voxel Library
I am not sure if the VoxelLibrary is used in this example. According to the doc  it is: «A collection of voxel types, which is used for blocky only, similar to Minecraft or GridMap.»
And inside it we have two voxel types defined. But not sure if one of them is used by the VoxelTerrain.

VoxelGeneratorWave
The same experience than with the flat generator. In the render view, the terrain does no appear. It should be related to a config issue.

The problem that the VoxelTerrain is not generated is related to current status of master. In the 3.2.3 branch it works correctly.

and probably it is related with the desapparition of the ViewerPath option.

Ok, the problem is that in the new version the VoxelViewer node must be added. It is the evolution of the ViewerPath. Pointed out at: https://github.com/Zylann/godot_voxel/issues/198#issuecomment-701667305

Ok, so the next step is to track in the code how the VoxelTerrain is created. And for that, the best approach is to create the VoxelTerrain from code, so it is easier to follow all in the code later.

Nice results ... let's continue playing:

Ok, next step is to create a minima VoxelTerrain from GDScript code and track its execution in GDScript and in the voxel module C++ code. Let's do it!

https://github.com/Zylann/godot_voxel/blob/master/doc/03_create-terrain.md#create-a-terrain-with-code

Really cool. To create a flat terrain the code needed is:
extends Spatial

var terrain = VoxelTerrain.new()

func _ready():
	terrain.stream = VoxelGeneratorFlat.new()
	add_child(terrain)

Just add it to a Spatial Node, add a Camera and that's all.

So the key is to understand how godot call the rendering of VoxelTerrain, The other two lines are just creating the two objects and configuring the stream property. But let's debug the full process.

Ok, the main method in which the VoxelTerrain is created is in ... "_process".  Godot engine send a notification (NOTIFICATION_PROCESS) to the Node to process the node. It is a pretty long implementation this _process method.
The implementation goes from line 756:
void VoxelTerrain::_process() {
until line
1085:
	_stats.time_process_update_responses = profiling_clock.restart();
and the basic logic is to get blocks from the voxel generator and render them using a mesher. The meshed used depends in the channel configured (blocky:0, sdf:1).

Changing from blocky to smooth terrain is as easy as changing the Channel from the Generator.

So probably the next goal is to understand how the blocks are rendered. Because the render process is based on blocks.
It seems that this work is done by the VoxelMeshUpdater. And it has to meshers:
	Ref<VoxelMesherBlocky> blocky_mesher;
	Ref<VoxelMesherTransvoxel> smooth_mesher;

and the main logic for doing the meshing is the same that we already saw:
		if (blocky_mesher.is_valid()) {
			blocky_mesher->build(output.blocky_surfaces, input);
		}
		if (smooth_mesher.is_valid()) {
			smooth_mesher->build(output.smooth_surfaces, input);
		}

So the physics must be inside this meshers probably.

Ok, as a summary, the process of rendering a VoxelTerrain is mostly described. As with the meshers, the low level stuff I have not studied in all its glory details, but I will dot it. There are threads inside the "_process" method that we must understand.
But we can close this ticket and focus now in physics in VoxelTerrains.

In order to edit a VoxelTerrain there is the class VoxelTool which provides some methods for editing:
	// The following methods represent one edit each. Pick the correct one for the job.
	// For example, using `do_box` will be more efficient than calling `do_point` many times.
	virtual void set_voxel(Vector3i pos, uint64_t v);
	virtual void set_voxel_f(Vector3i pos, float v);
	virtual void do_point(Vector3i pos);
	virtual void do_line(Vector3i begin, Vector3i end);
	virtual void do_circle(Vector3i pos, int radius, Vector3i direction);
	virtual void do_sphere(Vector3 center, float radius);
	virtual void do_box(Vector3i begin, Vector3i end);

	virtual void paste(Vector3i pos, Ref<VoxelBuffer> p_voxels, uint64_t mask_value);

	virtual Ref<VoxelRaycastResult> raycast(Vector3 pos, Vector3 dir, float max_distance, uint32_t collision_mask);

VoxelTerrain loading data
Once the stream is set in the VoxelTerrain a thread is started to load its data with: start_streamer()
void VoxelTerrain::start_streamer() {
	ERR_FAIL_COND(_stream_thread != nullptr);
	ERR_FAIL_COND(_stream.is_null());

	_stream_thread = memnew(VoxelDataLoader(1, _stream, get_block_size_pow2()));
}

So the loading of data logic is easy to track.


question: use existing set of eslint's from other modules

in a first TS project within existing custom multi-module JS environment I'd like to reuse existing modules and it's eslint's rules. Usual JS generated project would use sth like
{
  "extends": [
    "@custom/eslint-config",
    "@custom/eslint-config/node6",
    "@custom/eslint-config/es6",
    "@custom/eslint-config/react"
  ]}

As this is experimental TS project I'd like to reuse as much as possible from above eslint rules without manually converting them. I've started with the approach:
{
  "extends": [
    "tslint-eslint-rules",
    "@homeaway/eslint-config",
    "@homeaway/eslint-config/node6",
    "@homeaway/eslint-config/es6",
    "@homeaway/eslint-config/react"
  ],
  "rules": {
    "no-constant-condition": true
  }}

Lot of the rules are just not supported and this is clear to me as this is what documentation states. Wonder if there is a way  to just ignore not supported rules and also possibly define others that could be missing and are important in the existing stack.

As far as my knowledge goes, I don't think that's possible :(


⚠ PrivateHD has degraded performance

In de04243, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 3101 ms

Resolved: PrivateHD performance has improved in f6c2773.


Add properties support for reactive circuit breaker

ReactiveResilience4JCircuitBreaker can now be configured through properties in the same way as its imperative counterpart.
Re-added documentation on how to work with configuration properties since the one added in #88 got lost.
Fixes gh-107

I also cherry picked this into 1.0.x branch

Thanks @ryanjbaxter


[Feature][Cherry-Pick] Support bitwise shift functions (#14151)

NEW FUNCTIONS:

BIT_SHIFT_LEFT(value, shift): perform bitwise left shift.
BIT_SHIFT_RIGHT(value, shift): perform bitwise right shift arithmetic.
BIT_SHIFT_RIGHT_LOGICAL(value, shift): perform bitwise right shift logical.

In above three functions, the type of first operator is within TINYINT, SMALLINT, INT, BIGINT, LARGEINT, and the type of second operator is BIGINT.
Test sql:
CREATE TABLE IF NOT EXISTS `shift_test` (
  `c1` TINYINT,
  `c2` SMALLINT,
  `c3` INT,
  `c4` BIGINT,
  `c5` LARGEINT
)
ENGINE = OLAP
DUPLICATE KEY(`c1`)
DISTRIBUTED BY HASH(`c1`) BUCKETS 1
PROPERTIES (
  "replication_num" = "1"
)
;

INSERT INTO `shift_test` VALUES (11, 2222, 33333333, 444444444,<PHONE_NUMBER>555);
INSERT INTO `shift_test` VALUES (-11, -2222, -33333333, -444444444, -5555555555555);

SELECT BIT_SHIFT_LEFT(11, 3),  BIT_SHIFT_LEFT(2222, 3),  BIT_SHIFT_LEFT(33333333, 3),  BIT_SHIFT_LEFT(444444444, 3),  BIT_SHIFT_LEFT(5555555555555, 3);
SELECT BIT_SHIFT_LEFT(-11, 3),  BIT_SHIFT_LEFT(-2222, 3),  BIT_SHIFT_LEFT(-33333333, 3),  BIT_SHIFT_LEFT(-444444444, 3),  BIT_SHIFT_LEFT(-5555555555555, 3);

SELECT BIT_SHIFT_RIGHT(11, 3),  BIT_SHIFT_RIGHT(2222, 3),  BIT_SHIFT_RIGHT(33333333, 3),  BIT_SHIFT_RIGHT(444444444, 3),  BIT_SHIFT_RIGHT(5555555555555, 3);
SELECT BIT_SHIFT_RIGHT(-11, 3),  BIT_SHIFT_RIGHT(-2222, 3),  BIT_SHIFT_RIGHT(-33333333, 3),  BIT_SHIFT_RIGHT(-444444444, 3),  BIT_SHIFT_RIGHT(-5555555555555, 3);

SELECT BIT_SHIFT_RIGHT_LOGICAL(11, 3),  BIT_SHIFT_RIGHT_LOGICAL(2222, 3),  BIT_SHIFT_RIGHT_LOGICAL(33333333, 3),  BIT_SHIFT_RIGHT_LOGICAL(444444444, 3),  BIT_SHIFT_RIGHT_LOGICAL(5555555555555, 3);
SELECT BIT_SHIFT_RIGHT_LOGICAL(-11, 3),  BIT_SHIFT_RIGHT_LOGICAL(-2222, 3),  BIT_SHIFT_RIGHT_LOGICAL(-33333333, 3),  BIT_SHIFT_RIGHT_LOGICAL(-444444444, 3),  BIT_SHIFT_RIGHT_LOGICAL(-5555555555555, 3);

SELECT `c1`, BIT_SHIFT_LEFT(`c1`, 3) FROM `shift_test`;
SELECT `c1`, BIT_SHIFT_RIGHT(`c1`, 3) FROM `shift_test`;
SELECT `c1`, BIT_SHIFT_RIGHT_LOGICAL(`c1`, 3) FROM `shift_test`;

SELECT `c2`, BIT_SHIFT_LEFT(`c2`, 3) FROM `shift_test`;
SELECT `c2`, BIT_SHIFT_RIGHT(`c2`, 3) FROM `shift_test`;
SELECT `c2`, BIT_SHIFT_RIGHT_LOGICAL(`c2`, 3) FROM `shift_test`;

SELECT `c3`, BIT_SHIFT_LEFT(`c3`, 3) FROM `shift_test`;
SELECT `c3`, BIT_SHIFT_RIGHT(`c3`, 3) FROM `shift_test`;
SELECT `c3`, BIT_SHIFT_RIGHT_LOGICAL(`c3`, 3) FROM `shift_test`;

SELECT `c4`, BIT_SHIFT_LEFT(`c4`, 3) FROM `shift_test`;
SELECT `c4`, BIT_SHIFT_RIGHT(`c4`, 3) FROM `shift_test`;
SELECT `c4`, BIT_SHIFT_RIGHT_LOGICAL(`c4`, 3) FROM `shift_test`;

SELECT `c5`, BIT_SHIFT_LEFT(`c5`, 3) FROM `shift_test`;
SELECT `c5`, BIT_SHIFT_RIGHT(`c5`, 3) FROM `shift_test`;
SELECT `c5`, BIT_SHIFT_RIGHT_LOGICAL(`c5`, 3) FROM `shift_test`;

SELECT BIT_SHIFT_LEFT(`c1`, `c1`), BIT_SHIFT_LEFT(`c2`, `c1`), BIT_SHIFT_LEFT(`c3`, `c1`), BIT_SHIFT_LEFT(`c4`, `c1`), BIT_SHIFT_LEFT(`c5`, `c1`) FROM `shift_test`;

SELECT BIT_SHIFT_RIGHT(`c1`, `c1`), BIT_SHIFT_RIGHT(`c2`, `c1`), BIT_SHIFT_RIGHT(`c3`, `c1`), BIT_SHIFT_RIGHT(`c4`, `c1`), BIT_SHIFT_RIGHT(`c5`, `c1`) FROM `shift_test`;

SELECT BIT_SHIFT_RIGHT_LOGICAL(`c1`, `c1`), BIT_SHIFT_RIGHT_LOGICAL(`c2`, `c1`), BIT_SHIFT_RIGHT_LOGICAL(`c3`, `c1`), BIT_SHIFT_RIGHT_LOGICAL(`c4`, `c1`), BIT_SHIFT_RIGHT_LOGICAL(`c5`, `c1`) FROM `shift_test`;

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_fe_unittest


Query by proposal status and voting status.

Examples:

What proposals have I voted yes on?
What proposals have I voted on?
What proposals are open that I have not voted on?
What proposals did I vote abstain on?
What proposals have been passed but not executed?

pub enum QueryMsg {
  FindProposals {
    wallet: String,
    status: Option<Status>,
    walletVote: Option<Vote>,
  }
}

Will this route require pagination for gas? To ensure it doesn't time out?

👋🏼 it's possible we'd like to take this on if it's a good first ticket

@mikedotexe this one is probably a zinger. Would love some help / thoughts on it. :)
This is likely tricky because our current contract state isn't particularly well suited to do these kinds of queries with runtimes that are constant time. This is problematic because we need to take some care we don't hit gas limits (though, as these queries are answerable in other ways, it is OK if we do hit gas limits).
In state we have:
pub const PROPOSALS: Map<u64, Proposal> = Map::new("proposals");
pub const BALLOTS: Map<(u64, Addr), Ballot> = Map::new("ballots");

PROPOSALS maps from proposal IDs to proposals and BALLOTS maps from a proposal ID and an address to that addresses' vote on the proposal with that ID. Answering questions like the ones that would be asked for by this query in constant time I'm not sure would be possible with that current state layout.
To do this then we'd either need to

reorganize our state to make them constant time (hard mode),
or implement the queries, measure where we hit gas limits, and then figure if those are reasonable enough we can actually reliably use them in a frontend (likely less hard mode).

I suspect the second option there would work fine. You're probably more likely to hit gas limits based on the amount of text you return here than you are to hit them because you exhaust your compute gas.

I'm feeling a little schizo as my brain bounces between, "let's do hard mode!" and then another side of me is like, "this is what indexers are for, remember Mike, that not everything needs to be stored on-chain."
But then it gets even more interesting since we're in the summer of 2022, when indexers are either brand new or might still have some rough edges.
I remember attending the online conference Ready Layer One in 2020 and watching a talk by Tezos and Chainlink about how Tezos simply fires events and stores very little on-chain, and that worked for their oracle implementation. It brings a fun mental challenge of what truly is immutable? Is it just contract state, or does our definition of immutable include "things you can derive from replaying events on the blockchain AKA indexing."
I'm going to assign this to myself, but it's likely @deveusss that will tackle this and/or provide ideas here. :)

@ezekiiel How would you feel about adding another state struct like:
pub const PROPOSALS_BY_ADDR: Map<Addr, IndexSet<proposal_id>> = Map::new("proposals_by_addr");

It's easy to paginate and should be constant time/gas usage

@Buckram123 - Is the idea here that this will map addresses to proposals that they have voted in? This is actually a really clever idea. Think it would give us (1) through (4) above.
To @mikedotexe's excellent point here - I do lean a little towards this being the job of an indexer to do these queries. You're probably right that in order to do this we'll need to add state to the contracts. In this case the state doesn't encode new information so much as it organizes existing state. More state == more gas and more code == more bugs so perhaps we should close this in favor of an indexer solution.
What do you think?

Hey friends, we're chatting offline about putting a (cw-storage-plus) Map in a Map, and Misha thought it might be an approach he'd take here.
I seem to remember @Callum-A mentioning in one of the CosmWasm By Dummies videos that you cannot do that because of serialization, and indeed, when I heard that on the video I slumped back in both relief and agony, since I had run into a problem with serialization and now it made sense. But then came the agony because I REALLY wanna nest those suckers.
Am I reading it right that we can't based on what Callum says here?
https://github.com/Callum-A/cosmwasm-zero-to-hero/blob/3346d7f30bb7277013d4e3f8ad63398a453dd451/05 - State/README.md?plain=1#L89-L94

What's the status on this? Do we still want it? Is it worth trying to fit into v2?

Stale.


Lazy the fields

Some calcs (ex. position) are not necessary for mhc2gpdf and could be kept lazy.

I'm going to put this issue back into the backlog as lazy'ing the fields isn't really the right thing to do. The graph data structure is still a bit in play play at the moment. Furthermore, just thinking of some parts as being lazy isn't conducive to properly separating the elements that can be cached to support typing.

No longer relevant.


API keys not accepted

After following the installation instructions for the addon I can't get the API keys to work. The site is running Statamic 4.53.2 and I've tried using both Project and User API keys (which is now deprecated).
Error with Project key
Incorrect API key provided: **-*******************************************************. You can find your API key at https://platform.openai.com/account/api-keys.
Error with User key
The model *gpt-4-vision-preview has been deprecated, learn more here: https://platform.openai.com/docs/deprecations
If you could let me know what I might be missing or if this is an OpenAI account issue (we're using a customer account) that would be great.

Hi @tidygraphic , thank you for your issue.
We are looking into the issue and will get back to you with a solution.

Hi @tidygraphic ,
version 2 of the Statamic A.I.D.A addon is released (requiring Statamic 5). We recommend using this version for current and future projects.
If this is not suitable for you, there is also a bugfix release 1.0.1 for the older Statamic 4 version available.


$CLASSPATH entries not available in applications

Currently, when another buildpack adds entries to $CLASSPATH, a well known convention in the Java world, those JARs are not added to any class path in either the Tomcat container, or the application itself.  The buildpack should, at launch time, contribute those entries (likely, but not required, via a symlink), to either the container or application.

@jkbschmid is working on this one.


Added project PigGame

Description
Added project PigGame which is a javascript multiplayer game with an interactive UI
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have made corresponding changes to the documentation
[x] Any dependent changes have been merged and published in downstream modules

Great <3


item z index not Observe

HORIZONTAL Recyclerview have 2 item and item place on each other
code :
 layoutManager.setPostLayoutListener(new CarouselZoomPostLayoutListener());                 recyclerview_transfer.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewsUtil.dpToPx(250)));                 recyclerview_transfer.setLayoutManager(layoutManager);                 recyclerview_transfer.setHasFixedSize(true);                 recyclerview_transfer.addOnScrollListener(new CenterScrollListener());

Can you add more description here? Not sure what do you mean.

Hi
i have same problem, it is fine on marshmallow and lollipop i suppose, but with version lower like jellybean or kitkat it is overlapping, can you please advice on that

Hi @jriporter @engzico
Fixed. Upload new version: 1.1.5


Interactive mode is not yet supported on Windows

README.md suggests:

You can connect to any container by executing the following command:
$ docker-compose exec php sh

However, I am getting the following error message:
Interactive mode is not yet supported on Windows. Please pass the -d flag when using docker-compose exec.

This is a well-known issue of docker compose for windows, docker is working on it: https://github.com/docker/compose/issues/3194. In the meantime you can try the corresponding docker command:
docker exec -it <containername> sh
Look for the containername with docker ps (maybe it's 'php' in your case)!

If you install docker-compose through pip, it works.  This was using cygwin; (babun would likely work, too) I can't guarantee this will install the good version of docker-compose if you are not using cygwin or babun.

docker/compose#3194 is now fixed - shouldn't this be closed?


[OCPCLOUD-2057] Bump to Kubernetes 1.27 deps

Requires MAO's update to go through, and possibly a full v0.15.0 release from controller-runtime.

/retest

E0523 08:09:28.427364   16156 machine_scope.go:222] Failed to patch machine "azure-actuator-testing-machine": machines.machine.openshift.io "azure-actuator-testing-machine" not found

This symptom in the tests is likely a side effect of updating controller-runtime, we use the status subresource, so you'll need to set up the fake client to understand which types have a status subresource, eg WithStatusSubresource(&machinev1.Machine{})

Hi @nrb, could you please also include bumps of sigs.k8s.io/kustomize/api and sigs.k8s.io/kustomize/kyaml to latest version. There shouldn't be any problems with that. It solves https://issues.redhat.com/browse/OCPBUGS-5724 and I thought it would be easier for you to do it here, other than resolving conflicts between 2 PRs.

@odvarkadaniel Sure thing, will include.

/retest

/retest-required

/retest

/jira refresh

/jira refresh

/label qe-approved

/label jira/valid-bug


Support NodeJS 10.x, 12.x

The current LTS NodeJS versions should always be supported in general.
Need to have the CI set up before we can move with this. For the CI progress watch: https://github.com/hyperledger-labs/blockchain-integration-framework/issues/13

Might be also blocked by ZeroMQ:
https://github.com/JustinTulloss/zeromq.node/issues/603


Broken link for creating VSTS organizations

Link is broken in this statement from the article:
You must have an organization created in VSTS. If you haven't created one yet, do that now.

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

ID: 4107b23a-ba0a-5a1b-b689-072717cfe8ec
Version Independent ID: 1ed09ce9-be9b-6146-9cb8-a2a50e12a3c2
Content: Add a custom rule to a work item type to an inherited process - VSTS
Content Source: docs/organizations/settings/work/custom-rules.md
Product: devops
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@stewartadam - Thank you for reporting this issue. I'm fixing the content and it should be live later today.


Added image Properties

Use #floatleft to align it to left
Use #floatright to align it to right
Use #centre to align it to center

Use these tags after the link.  I'll close this PR!


Fix connectivity checks

Task/Issue URL: https://app.asana.com/0/1202279501986195/1204984864703009/f
Description
See asana description
Steps to test this PR
See Asana task

Current dependencies on/for this PR:

develop

PR #3325   👈

This comment was auto-generated by Graphite.


fix: update typing

Description

Closes

Fixes #534

It LGTM, but I'll let @guacs take a look as well.


PPF data model changes

Context:
Britt found an open source script that converts JSON into table format in Sheets and applied it here. The script is automatically shared when the sheet is shared. Go to Tools >>  <> Script editor
We are using this as our solution to centralize reporting and get PPF data into data studio. There are some requests that can enhance this solution outlined below:

Removal of these columns: Time, Rid, Self, Etag, Attachments
Rename column TS to Timestamp
Order the time column for time series analysis
Change true/false values of the Helpful column to yes/no – we are currently doing this downstream as an intermediate solution so not urgent
Derive two new columns from the URL column: 1) The first column, Page, will contain page path level 1 or page path level 1 & 2 if a translated page. 2) The second new column, Page section, will contain page path level 2 or page path level 3 if a translated page – we are currently doing this downstream as an intermediate solution so not urgent, see report for example values of these columns
Rebecca shared this function:  =GOOGLETRANSLATE(cell with text, "source language", "target language") for translations – it won't work downstream, but perhaps there's a transform we can do either in the script or elsewhere? This has not been requested by any end-users/stakeholders and is low priority
We are requesting to pull 2-3 months of data at a time to avoid sheets row limits

Also need to add requestor parameter that is defined in the FAAS config outside of the source code, passed in the datastudio reuest and validated before data is returned to give the data some security

Clarified url splitting requirements to use the path with the translated directory prefix removed if present as the page and any anchor link as pagesection. Also to populate a new attribute: language when on a translated page.
Here is an example of the output from covid with these changes applied:

I am using only last 14 days for covid for now because we get 5K records over the last 90 and that makes the transfer pretty slow

PR with all the code changes has been updated: https://github.com/cagov/API/pull/52
Will not merge until we get the greenlight from @traintestbritt

Once code change is deployed these urls will work:
Cannabis: https://api.alpha.ca.gov/FeedbackData/?url=cannabis.ca.gov&requestor=datastudio
Drought: https://api.alpha.ca.gov/FeedbackData/?url=drought.ca.gov&requestor=datastudio
Covid19: https://api.alpha.ca.gov/WasHelpfulData/?url=covid19.ca.gov&requestor=datastudio
The covid19 endpoint has a different initial url because it uses a separate CosmosDB. The covid endpoint is returning 14 days of history by default now because there is so much data it is slow to send the 5K+ records returned in the last 90 days. If it is preferable to deal with the several second delay and receive all 90 days we can change that default param.

Thanks for all of these updates/context Aaron!


Replace bkcharts based BoxWhisker with pure bokeh implementation

Replace last bkcharts based plot implementation with bokeh plotting API based implementation. Here's the notebook containing the implementation:
https://anaconda.org/philippjfr/boxwhisker/notebook

[x] Allow separate styling of whiskers, boxes and outliers
[x] Add coloring support
[x] Correctly handle univariate BoxWhisker.
[x] Support nice hover info
[x] Support invert_axes

Looks like the tests will go green. Merge when they do?

Looks good. I'll merge when the tests go green again.


Snippet support dosen't respect client declining the feature.

When using HIE with neovim, which unfortunately docent support snippets in a good way, I tried deregistering:
The LSP spec has a snippetSupport option in TextDocumentClientCapabilities and it seems that isn't respected by HIE.
I saw that there is global config to turn it of but it seems more logical to do it on a client basis according to the spec

@meck I'm also using neovim and was about to permanently disable this feature for me, but I made it work and and definitely loving it. This is my setup:

Install deoplete or ncm2
Install ultisnips
Add this "hack" to your init.vim

let g:UltiSnipsExpandTrigger="<NUL>"
let g:UltiSnipsListSnippets="<NUL>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
function! CompleteSnippet()
  if empty(v:completed_item)
    return
  endif

  call UltiSnips#ExpandSnippet()
  if g:ulti_expand_res > 0
    return
  endif

  let l:complete = type(v:completed_item) == v:t_dict ? v:completed_item.word : v:completed_item
  let l:comp_len = len(l:complete)

  let l:cur_col = mode() == 'i' ? col('.') - 2 : col('.') - 1
  let l:cur_line = getline('.')

  let l:start = l:comp_len <= l:cur_col ? l:cur_line[:l:cur_col - l:comp_len] : ''
  let l:end = l:cur_col < len(l:cur_line) ? l:cur_line[l:cur_col + 1 :] : ''

  call setline('.', l:start . l:end)
  call cursor('.', l:cur_col - l:comp_len + 2)

  call UltiSnips#Anon(l:complete)
endfunction

autocmd CompleteDone * call CompleteSnippet()

It will automatically insert the placeholder as text after a completion, and you can use <tab> and `s- to go back and forth between them.
Obviously, this does not mean you have to love the feature like I do. We should anyway investigate why it is not possible to disable it :)
I leave a screencast of how the feature works:

Thats a really good solution! Thanks!  I still need to tinker with it a bit as i've overloaded tab and cr to both navigate the completion menu and snippet, and that breaks slightly.
The issue should be looked into thou.


Xcode validation fails, Flutter.framework: code object is not signed at all

I have a problem validating my Flutter build/application to upload to the App Store. I have no issues with “flutter build iOS” and the Xcode archive process builds successfully. Xcode validation process fails with:
Code signing [device name] fails
IDEDistributionPipeline.log ends with:
2020-11-24 17:56:07 +0000  /var/folders/vt/2fh335xs3t79gy3ntyj0j9200000gq/T/XcodeDistPipeline.~~~q7NhTX/Root/Payload/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro: replacing existing signature
2020-11-24 17:56:07 +0000  /var/folders/vt/2fh335xs3t79gy3ntyj0j9200000gq/T/XcodeDistPipeline.~~~q7NhTX/Root/Payload/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro: code object is not signed at all
2020-11-24 17:56:07 +0000  /usr/bin/codesign exited with 1

I opened an Apple TSI where Apple developer support commented:
"It appears that the signing tools are having a problem with a framework in your build named Flutter.framework --- It appears that the framework is already signed and the attempt to resign the framework is failing."
Apple TSI support then said that they only support Apple solutions and that this issue should be reported to the 3rd party.
Doing some Github research, the above is the same as #65319 which was closed unresolved due to lack of input from issue reporter. Issue #39507 looks similar in that the Flutter.framework has a permission issue not allowing signing.
Steps to reproduce

flutter build iOS
Xcode: using Automatic signing
Xcode: Product -> scheme -> Runner
Xcode: Product -> Destination -> Any iOS device (arm64)
Xcode: Product -> Archive
Validate (with proper certificate and App Store distribution profile)
Validation fails

My flutter doctor -v. (Note: I develop my android version on my Windows machine)
roberto@Robertos-MacBook-Pro plgps2 % flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-US)
    • Flutter version 1.22.4 at /Users/roberto/OneDrive/iOS Dev/flutter
    • Framework revision 1aafb3a8b9 (11 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
      You may also want to add it to your PATH environment variable.

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

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

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

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

@skionthursday
Can you try by setting Other Code Signing option to deep and see if it works ?

In build settings I added Other Code Signing Flags -> Release  -> any STK -> deep
in VS Code: flutter clean -> flutter build ios -> completed successfully and display error msgs captured in attached zip file
in xCode: Project -> archive -> failed with text below, all msgs exported in attached zip file
Code Signing /Users/roberto/Library/Developer/Xcode/DerivedData/Runner-auivwctkeopyjeazsixpyysrvdtj/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/DKImagePickerController.framework with Identity Apple Development: Robert Skowron (S2YYF7DKU2)
/usr/bin/codesign --force --sign 7F68957529F4E28F85AB3759EA138704C2AF7A20 deep --preserve-metadata=identifier,entitlements '/Users/roberto/Library/Developer/Xcode/DerivedData/Runner-auivwctkeopyjeazsixpyysrvdtj/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/DKImagePickerController.framework'
deep: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
Archive.zip

@skionthursday
Can you try this and check if it work ?

I checked this link and upon reading I find that my Debug.xconfig and Release.xconfig do contain the #include "Generated.xconfig" statement. Thus I find nothing to change.
When I rerun flutter build ios command, it fails and reports this error:
Code Signing /Users/roberto/PLGPSiOSLocal/FlutterDesktop/PlantListGPS/r0/plgps2/build/ios/Release-iphoneos/Runner.app/Frameworks/DKImagePickerController.framework
with Identity Apple Development: Robert Skowron (S2YYF7DKU2)
/usr/bin/codesign --force --sign 7F68957529F4E28F85AB3759EA138704C2AF7A20 deep --preserve-metadata=identifier,entitlements
'/Users/roberto/PLGPSiOSLocal/FlutterDesktop/PlantListGPS/r0/plgps2/build/ios/Release-iphoneos/Runner.app/Frameworks/DKImagePickerController.framework'
deep: No such file or directory
This is also what xcode archive process reports and errors out.
Attached is screenshot of flutter paths.

@skionthursday
Not under any sdk, deep value is to be assigned directly for Release code signing. Based on your earlier comment, I think you added to any sdk -> deep. Can you confirm that ?
Also, if this doesn't work, remove above settings and directly try the solution I linked earlier, because from your latest error logs, it says iphoneos/Runner.app/Frameworks/DKImagePickerController.framework' deep: No such file or directory

To confirm I am in the right spot of xcode: in Project -> Runner -> Build Settings -> Signing -> Other Code Signing Flags -> Release, I removed sdk -> deep. Testing again, I find that flutter build ios completes with success, archive builds with success, but validation fails as described above.  I confirmed Debug.xconfig and Release.xconfig have #include "Generated.xconfig" statements. Screenshots in attached zip file.
I returned to xcode to try again adding deep, but when getting focus on the release field, xcode (version 12.2) the UI auto-adds the default of "any stk". I am not allowed to deep directing to Release as a "+" is presented to select from a list Apple prod environments. Screenshot in zipfile. Thank you for your assistance.
Archive 27Nov.zip

Here are the steps to reproduce this issues error using flutter demo app and having an Apple Distr. Cert. With these steps others should be able to reproduce issue for local observation.

Using Visual Studio Code
Create and change to test directory on MacOs
Run: flutter create testapp1
Change android/app/build.gradle -> ApplicationID -> “com.hsiplgps.testapp1”
Confirm working app flutter run without debugging using Apple simulator iPhone 12 Pro Max -> count number of clicks
Run: flutter clean
Run: flutter build iOS
Close Visual Studio Code
Log into Apple Developer Account
Register New Bundle
Register New Identifier -> App ID -> com.hsiplgps.testapp1 , no capabilities, using defaults
Log into Apple App Store Connect
“+” Create New App -> check ios, name-> plgpstestapp1, bundle ID -> com.hsiplgps.testapp1, Lang -> English US, sku -> 1000, Full access
Log into Apple Developer Account
Create Profile (distribution), Distribution -> App Store, App ID -> testapp1, Select your dev cert, provision name -> testapp1
Download Profile and store on local machine
On local Mac
Double click downloaded Profile file on local machine
Open Xcode -> Runner.xcodeproj in ios directory of this app
General tab change bundle ID -> com.hsiplgps.testapp1, deselect iPad, Signing: select Autosign, Assign team (my dev name/id)
Run Project -> Scheme -> Runner
Run Project -> Destination -> Any ios Device
Run Project -> Archive
Archive build is successful
Validate, use distribution profile created above, import from local machine if needed -> continue with defaults
Validation fails -> below are last few messages of IDEDistributionProvisioning.log
Full log zipped and attached to this comment

2020-11-29 17:06:15 +0000  Entitlements for <IDEDistributionItem: 0x7fa4f8a6e470; bundleID='(null)', path='<DVTFilePath:0x7fa4fe429a90:'/Users/roberto/Library/Developer/Xcode/Archives/2020-11-29/Runner 11-29-20, 10.05 AM.xcarchive/Products/Applications/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro'>', codeSigningInfo='<_DVTCodeSigningInformation_Path: 0x7fa4ff761cd0; isSigned='1', isAdHocSigned='0', signingCertificate='<DVTSigningCertificate: 0x7fa500f13ca0; name='Developer ID Application: FLUTTER.IO LLC (S8QB4VV633)', hash='67C5219DDC039491EE28BD55F9C03F7A19218C5E', serialNumber='<DVTSigningCertificateSerialNumber: 0x7fa4fe5e7ef0>', certificateKinds='(
"1.2.840.1136<IP_ADDRESS>.13"
), issueDate='2019-08-13 15:21:20 +0000''>', entitlements='(null)', teamID='S8QB4VV633', identifier='io.flutter.flutter', executablePath='<DVTFilePath:0x7fa4fe429a90:'/Users/roberto/Library/Developer/Xcode/Archives/2020-11-29/Runner 11-29-20, 10.05 AM.xcarchive/Products/Applications/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro'>', hardenedRuntime='1'>'>: {
}
2020-11-29 17:06:15 +0000  Writing entitlements for <IDEDistributionItem: 0x7fa4f8a6e470; bundleID='(null)', path='<DVTFilePath:0x7fa4fe429a90:'/Users/roberto/Library/Developer/Xcode/Archives/2020-11-29/Runner 11-29-20, 10.05 AM.xcarchive/Products/Applications/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro'>', codeSigningInfo='<_DVTCodeSigningInformation_Path: 0x7fa4ff761cd0; isSigned='1', isAdHocSigned='0', signingCertificate='<DVTSigningCertificate: 0x7fa4fa352140; name='Developer ID Application: FLUTTER.IO LLC (S8QB4VV633)', hash='67C5219DDC039491EE28BD55F9C03F7A19218C5E', serialNumber='<DVTSigningCertificateSerialNumber: 0x7fa4fe5cdec0>', certificateKinds='(
"1.2.840.1136<IP_ADDRESS>.13"
), issueDate='2019-08-13 15:21:20 +0000''>', entitlements='(null)', teamID='S8QB4VV633', identifier='io.flutter.flutter', executablePath='<DVTFilePath:0x7fa4fe429a90:'/Users/roberto/Library/Developer/Xcode/Archives/2020-11-29/Runner 11-29-20, 10.05 AM.xcarchive/Products/Applications/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro'>', hardenedRuntime='1'>'> to: /var/folders/vt/2fh335xs3t79gy3ntyj0j9200000gq/T/XcodeDistPipeline.~VmwSO8/entitlements~AEiFq3
2020-11-29 17:06:15 +0000  Running /usr/bin/codesign '-vvv' '--force' '--sign' 'D09D37A55E86E51817AD0FF06289E35E9E576CD6' '--entitlements' '/var/folders/vt/2fh335xs3t79gy3ntyj0j9200000gq/T/XcodeDistPipeline.~VmwSO8/entitlements~AEiFq3' '--preserve-metadata=identifier,flags,runtime' '/var/folders/vt/2fh335xs3t79gy3ntyj0j9200000gq/T/XcodeDistPipeline.~~~VmwSO8/Root/Payload/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro'
2020-11-29 17:06:15 +0000  /var/folders/vt/2fh335xs3t79gy3ntyj0j9200000gq/T/XcodeDistPipeline.~~~VmwSO8/Root/Payload/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro: replacing existing signature
2020-11-29 17:06:15 +0000  /var/folders/vt/2fh335xs3t79gy3ntyj0j9200000gq/T/XcodeDistPipeline.~~~VmwSO8/Root/Payload/Runner.app/Frameworks/Flutter.framework/Flutter-Roberto’s MacBook Pro: code object is not signed at all
2020-11-29 17:06:15 +0000  /usr/bin/codesign exited with 1
Archive 29 Nov.zip

Keeping this issue open for further triage, as I am unable to replicate it on the setup I tried (Android studio instead of VSCode per author).

All the logs say Flutter.framework/Flutter-Roberto’s MacBook Pro which should be Flutter.framework/Flutter.  Are you able to reproduce with your project on another machine?
What's the output of ls -la path/to/flutter/bin/cache/artifacts/engine/ios-release/Flutter.framework/

"Roberto's MacBook Pro" is the name of my development MacBook. I do not have another MacOS device. As a dev machine, it can be renamed, new users added, etc. With an apostrophe in the name, that could be trouble and can be removed. Please advise if you'd like me to do something and retest.
No where in the process is "Roberto's MacBookPro" entered thus the Mac system name appears to be drawn from system attributes into the process.
Output requested:
Last login: Sun Nov 29 09:23:22 on console
roberto@Robertos-MacBook-Pro ~ % ls -la path/to/flutter/bin/cache/artifacts/engine/ios-release/Flutter.framework/
ls: path/to/flutter/bin/cache/artifacts/engine/ios-release/Flutter.framework/: No such file or directory
roberto@Robertos-MacBook-Pro ~ %

Did you literally run ls -la path/to/flutter/bin/cache/artifacts/engine/ios-release/Flutter.framework/?   I meant for you to replace path/to/flutter with the path to your Flutter SDK.  😄
That directory should be present since your repro steps include running flutter build ios.

Sorry, it's been a while and my unix skills are a bit rusty. I did not find the desired directory. So I did flutter build ios which was successful and then worked the command up the directory structure until it found something. My results are below.
roberto@Robertos-MacBook-Pro Flutter % pwd
/Users/roberto/OneDrive/Flutter
roberto@Robertos-MacBook-Pro Flutter % ls -la bin/cache/artifacts/engine/ios-release/Flutter.framework/
ls: bin/cache/artifacts/engine/ios-release/Flutter.framework/: No such file or directory
roberto@Robertos-MacBook-Pro Flutter % ls -la bin/cache/artifacts/engine/ios-release/
ls: bin/cache/artifacts/engine/ios-release/: No such file or directory
roberto@Robertos-MacBook-Pro Flutter % ls -la bin/cache/artifacts/engine
total 0
drwxr-xr-x@ 15 roberto  staff  480 Oct 18 18:22 .
drwxr-xr-x@ 12 roberto  staff  384 Oct 18 18:27 ..
drwxr-xr-x@  3 roberto  staff   96 Nov 25 08:57 android-arm
drwxr-xr-x@  4 roberto  staff  128 Nov 25 08:57 android-arm-profile
drwxr-xr-x@  4 roberto  staff  128 Nov 25 08:57 android-arm-release
drwxr-xr-x@  3 roberto  staff   96 Nov 25 08:57 android-arm64
drwxr-xr-x@  4 roberto  staff  128 Nov 25 08:57 android-arm64-profile
drwxr-xr-x@  4 roberto  staff  128 Nov 25 08:57 android-arm64-release
drwxr-xr-x@  4 roberto  staff  128 Nov 25 08:57 android-x64
drwxr-xr-x@  4 roberto  staff  128 Nov 25 08:57 android-x64-profile
drwxr-xr-x@  4 roberto  staff  128 Nov 25 08:57 android-x64-release
drwxr-xr-x@  4 roberto  staff  128 Nov 25 08:57 android-x86
drwxr-xr-x@  3 roberto  staff   96 Nov 25 08:57 android-x86-jit-release
drwxr-xr-x@  4 roberto  staff  128 Oct 18 18:13 common
drwxr-xr-x@  9 roberto  staff  288 Nov 25 08:57 windows-x64
roberto@Robertos-MacBook-Pro Flutter %

flutter doctor thinks it's at /Users/roberto/OneDrive/iOS Dev/flutter, not /Users/roberto/OneDrive/Flutter.  You have two copies installed?  You should clear that up before we go further.
Once you do, what's:
ls -la /Users/roberto/OneDrive/iOS Dev/flutter/bin/cache/artifacts/engine/

flutter build ios should have added bin/cache/artifacts/engine/ios-release/ artifacts.
P.S. I recommend you take it out of OneDrive or any directories that sync around.

Thanks, @jmagman for looking at this. I'm going to drop the will need additional triage label since it's gotten routed to you.

My issue has been resolved. Thank you for pointing out the multiple flutter installations on my development device. I believe this was the root cause of the issue with an incorrect PATH variable . Also suspect was using OneDrive sync to keep app source in sync between Windows/Android and MacOS development. The following is what I did.
My development environment became messy with multiple locations of flutter. I remove two locations of flutter resources, deleting the the sdk locations. I then created a new, third location and downloaded and installed a new MacOS version of the flutter. I then maintained the $HOME/.zshrc path reference to point to my new sdk install. I also disconnected the OneDrive file sync and moved my app source to a new location.
In VS Code, a flutter pub get rebuilt needed resources and my app functioned. Flutter build ios was successful. Xcode opened the new location and Product Archive, Validation and Distribution successfully completed.
Thank you everyone for your help and support as I am able to sent app updates to the App Store.

Environment issue, closing.

@jmagman How did you solve this?

@lcsvcn I wasn't the one having the problem, the originator explained it here https://github.com/flutter/flutter/issues/71164#issuecomment-737576800
If you are seeing similar symptoms, please make sure you file a new issue and fully fill out the template so we can take a look.


Nodeversion

Describe the purpose of your pull request
Specifying Node.JS version with engine-strict=true and adding a badge with the supported SDK version.
Related issues (only if applicable)
Provide links to issues relating to this pull request
Requirement checklist (only if applicable)

[ ] I have covered the applied changes with automated tests.
[ ] I have executed the full automated test set against my changes.
[ ] I have validated my changes against all supported platform versions.
[ ] I have read and accepted the contribution agreement.

LGTM but please don't merge before https://github.com/configcat/node-sdk/pull/55 to avoid massive merge conflicts.


Kendo Grid: Any option to sort a column ASC and DESC

I'm looking for sorting the kendo grid column by ASC and DESC. I was trying to read the Header property, but could not make the entire table to sort.
.ListGrid.Should.BeVisible()
.ListGrid.Headers[x => x.Name == "Id"].SortDesc()
.ListGrid.Should.BeVisible()
Thanks in advance.

It is implemented in v1.3.0 version.
Issue: #56 Add column header sorting to KendoGrid.


Remake use_effect_with_deps into use_effect_with

Description

Fixes #0000
Checklist

[x] I have reviewed my own code
[ ] I have added tests

There are multiple hooks that are defined in the order of (closure, deps).
If we were to change the order of use_effect_with_deps, the order of other hooks would need to be changed as well.
IMO, I don't think there is significant benefit of swapping the order of the argument and this is a pretty fundamental change.
The existing order matches the order of React hooks and it would be familiar to users coming from React.
Could you please provide an example of how this improves things over the previous design?

Sounds reasonable.

This change sounds good. I'm fine with it as long as all hooks are updated. A way to automatically update the usages would be great too since it is a pretty big breaking change

It looks like quite a lot of work to update. This one in particular is also harder to fix with regexes.
I wonder if we could make some kind of tool dedicated to Yew that uses rust's parser and we can give it to the users so they can also use it in their code. Here is a project that looks like it will do the job but I didn't manage to make it work: https://crates.io/crates/ast-grep

@cecton This tool is AMAZING!
Here is what you would need to run to refactor:
sg --pattern 'use_effect_with_deps($T,$$$DEPS)' --rewrite 'use_effect_with($$$DEPS $T)' -l rs -i

I also agree with the api change, feels less javascripty and more rusty <3

I updated the PR as it seems OP eventually abandoned it.
Still, @arniu THANK YOU, a lot, or the initial idea and effort!

I also agree with the api change, feels less javascripty and more rusty <3

Speaking of being rusty:
Instead of:
use_effect_with(deps, |deps| {});

Wouldn't the following be more rusty?
use_with(deps)
    .effect(|deps| {});

or:
use_effect(|deps| {})
    .with(deps);

or:
hook(|deps| {})
    .with(deps)
    .as_effect();

(I just wrote the above as an idea. I do not think we should make this change in this pull request.)

Can we adjust the order of other hooks with dependencies as well so they are consistent (such as: use_memo, use_callback...)?

I agree here. Also, this PR should provide some way to automate swapping the order of arguments and renaming the hook at call sites, perhaps by AST manipulation (I haven't looked at it closely so it's possible that it already does, in which case, disregard my comment)

I checked the refactoring commands on a big codebase. Did not run into any issues.


[React-Native] Screen reader accessibility fixes

Description
Fixing issues due to which Input controls were not usable via VoiceOver on iOS
Input controls were not usable on iOS - user was blocked from selecting radio buttons, checkboxes, and switches.
Issues observed in both iOS and Android
Checked/unchecked state not defined for radio button and checkbox.
How Verified
Validated using the cards in Visualizer app.
Microsoft Reviewers: Open in CodeFlow

@frags51, Could you please change the PR's base branch to [release-2.2.9](https://github.com/microsoft/AdaptiveCards/tree/reactnative/release-2.2.9).  We can add this to the 2.2.9 release and publish it to NPM.
Thanks!

@frags51, Could you please change the PR's base branch to release-2.2.9. We can add this to the 2.2.9 release and publish it to NPM.
Thanks!

Done!

@vivekvijayakrishnan It looks like this added other commits as well. Should we put in master and then cherry pick to release?

@vivekvijayakrishnan It looks like this added other commits as well. Should we put in master and then cherry pick to release?

Yes, I think. I have just updated the 2.2.9 branch with main changes. But it still showing the same changes.
Can we cherry-pick your changes to the release branch?

@vivekvijayakrishnan Changed the branch again, seems OK now.

Thank you @frags51  :)

@vivekvijayakrishnan When will the SDK version 2.2.9 be released?


fix youtube addEventListener signature

@theyelllowdart Thank you for contribution.
But check the test error: https://travis-ci.org/borisyankov/DefinitelyTyped/builds/56254224
And, please read the Contribution guide.

My apologies for the broken test. I mistakenly committed 5b9b17b to the branch after making a pull request.
I opened another pull request, #3988 with just the youtube fix.

@theyelllowdart No problem, and thank you for your contribution.
I look forward to sending another your PR about soundcloud and spotify.


Problem running munkireport on CentOS 7 Linux

I'm testing munkireport running on CentOS 7 with Apache and there seems to be a problem connecting clients to it. This works perfectly fine on OS X, but there's something weird going on on Linux.
httpd installed
php installed
php-pdo installed
selinux disabled

Client is an OS X Yosemite Mac Mini
Server is a CentOS 7 VM

When I run the manual install curl command, I get the following:
Preparing /usr/local/munki/ and /Library/Preferences/MunkiReport
BaseURL is http://munki-reports.wolfram.com/
Retrieving munkireport scripts
Configuring munkireport
+ Installing ard
+ Installing bluetooth
+ Installing directory_service
+ Installing disk_report
+ Installing displays_info
+ Installing filevault_status
+ Installing installhistory
+ Installing inventory
+ Installing localadmin
+ Installing munkireport
+ Installing network
+ Installing power
+ Installing warranty
Installation of MunkiReport v2.3.0 complete.
Running the preflight script for initialization
    Munkireport: # Executing scripts in preflight_abort.d
    Munkireport: # Executing scripts in preflight.d
    Munkireport: Running bluetooth.sh
    Munkireport: Running directoryservice.sh
    Munkireport: Running disk_info
    Munkireport: Running displays.py
    Munkireport: Running filevaultstatus
    Munkireport: filevaultstatus Error: Error: FileVault is Off.
    Munkireport: Running localadmin
    Munkireport: Running networkinfo.sh
    Munkireport: Running power.sh
    Munkireport: Running warranty
    Munkireport: Running submit.preflight
    Munkireport: submit.preflight Error: ERROR: Munkireport: http://munki-reports.wolfram.com/index.php?/report/check_in
ERROR: Munkireport: We failed to reach a server
ERROR: Munkireport: Reason: Internal Server Error

The server logs should give you info about the "Internal Server Error"

The server logs just had a POST 500 error.
However, I changed my config.php file to have:

migrations = TRUE

and it seems to work now.
Sorry for the noise.

Glad you got it fixed! You might want to turn off migrations if everything is fine, as it has a small performance penalty (it adds a query to all database access)


Change mark_cache size calculation to cut down memory usage

What problem does this PR solve?
Issue Number: ref #6426
Problem Summary:
What is changed and how it works?
Currently, we calculate the mark_cache memory usage with marks.size() * sizeof(MarkInCompressedFile);
However, PODArray will do roundUpToPowerOfTwoOrZero when allocate element memory usage.
Thus, the memory usage is quite bigger then the calculation ways, which is close in twice time of the calculation ways.
To ensure the mark_cache only use the memory as we allocate, we change the memory usage calculation approach.
Then, we take the memory of allocation for MarkInCompressedFile for consideration. I think when we just initialization MarkInCompressedFile with the element number, we don't need to make the memory roundUpToPowerOfTwoOrZero. Thus, we change the alloc in  PODArray(size n), to cut down the usage.
Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

I compare the cluster with master tiflash and tiflash of this PR, to run a typical Workload.
We can find for the master tiflash, the memory will reach 13.0GB steeply and then continue slowing growth.
While for the tilfash of this PR, the memory will reach 11.5GB steeply and then continue slowing growth.
Thus, in a typical workload, we can cut down nearly 1.5GB.

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

Reduce the resident memory usage of mark_cache.

/run-all-tests

/run-unit-test

/run-all-tests

/rebuild

/run-all-tests

/cc @breezewish @JaySon-Huang

/run-sanitizer-test tsan

/merge


Move googleapis.BUILD to googleapis/googleapis/**/BUILD

Move googleapis.BUILD to googleapis/googleapis/**/BUILD

This has pretty much been done. Our BUILD deps mostly reach into googleapis/googleapis/**/BUILD rather than defining our own build targets.


[question] how to collect logs from strftime dynamic path?

hello guys, I want to use fluentd to collect logs from strftime dynamic path, for example the time now is 9:32:06, then we have a log in path /app/logs/xx191010/09/32/06/a.log, almost every second the system  prints logs like this, and my fluentd config is like this:

the question is :
at 9:32:06 , in the path there is a .log :  /app/logs/xx191010/09/32/06/a.log
the last log item in a.log is 9:34:02, but the refresh_interval default is 60s, is this means that I have lost  the logs between 9:33:00 - 9:34:02 in a.log , just because after refresh , the fluentd doesn't colloct logs in /app/logs/xx191010/09/32/06 but collect logs in the new path /app/logs/xx191010/09/33/* ?
how to config fluentd to solve this problem? thanks

how to config fluentd to solve this problem?

Set shorter refresh_interval.

Ah, wait. 06 is second?

Ah, wait. 06 is second?
If you use **/* in the path with shorter refresh_interval, all files under /app/logs/xx191010/09/32/ should be collected.
BTW, your system is very weird. Creating log files per second is not efficient...

thanks, if the refresh_interval set to 1s, the next second a new log b.log will be written and follow by fluentd , after refresh , a.log which was born at last second is still followed by fluentd?  How to config fluentd to follow the log file from the file borned and keep follow an hour?

@masaki

Ah, wait. 06 is second?
If you use **/* in the path with shorter refresh_interval, all files under /app/logs/xx191010/09/32/ should be collected.
BTW, your system is very weird. Creating log files per second is not efficient...

how mang files can fluentd follow at the sametime?I guess in my situation, single fluentd mast keep following nearly 200 thousand files, can fluentd hold this? if I use the strftime dynamic path /home/lamp/cin/logs/HB%y%m%d/%H/%M/%S/**/*.log and set the refresh interval to 1s, the next second the path is changed, fluentd still follow the logs in the last second path?   The para rotate_wait means fluentd keep tailing the log file for rotate_wait time long? please, thanks!


Button Error

Describe the bug
when you run the /poll command it give an error
To Reproduce
Steps to reproduce the behavior:
Run /poll command
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Not sure why its saying this

@iGetUploaded Hey! I have rewrote the poll command, and it will be released next release. I am sorry for the error, for now refrain from using the /poll command.

Alrighty sounds good


[5.0] [Type checker] Allow extensions of typealiases naming generic specializations

When a (non-generic) typealias refers to a specialization of a generic
type, e.g.
  typealias simd_float3 = SIMD3<Float>

treat an extension of the typealias as an extension of the underlying
type with same-type constraints between the generic parameters and the
specific arguments, e.g.,
  extension simd_float3 { }

is treated as
  extension SIMD3 where Scalar == Float { }

This addresses a source-compatibility problem with SE-0229, where
existing types such as simd3_float (which were separate structs)
became specializations of a generic SIMD type.
Fixes rdar://problem/46604664 and rdar://problem/46604370.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 691905eda12d8d7cd91aaf87869e2072bcb3f28c

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 691905eda12d8d7cd91aaf87869e2072bcb3f28c

Build failed
Swift Test OS X Platform
Git Sha - 691905eda12d8d7cd91aaf87869e2072bcb3f28c


Add auto-generated inspect methods to deftypes

Partially addresses https://github.com/water111/jak-project/issues/72

Pull Request Test Coverage Report for Build 307867652

36 of 40 (90.0%)  changed or added relevant lines in 1 file are covered.
23 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.06%) to 81.599%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

goalc/compiler/compilation/Type.cpp
36
40
90.0%

Files with Coverage Reduction
New Missed Lines
%

goalc/compiler/compilation/Type.cpp
23
91.46%

Totals

Change from base Build 307072741:
0.06%

Covered Lines:
14696

Relevant Lines:
18010

💛  - Coveralls

If the field is an array, you can do,
~Tmy-field[<size>] @ #x~X~%
where you replace <size> with the size of the array.
If the field is dynamic, do the same thing as array but make size 0. (weird, but this is what GOAL does).
If the field is doesn't match any of the others, but is a structure, do
~Tmy-field: #<type-of-field @ #x~X>~%
where you replace type-of-field with the result of field.type().print()


PostgreSQL Support

The purpose of this epic is to track all the work required to use PostgreSQL as a database option in the Event Sidecar.

Closing the epic as completed.


Debit all contract transaction charges upfront

Delivers:

https://www.pivotaltracker.com/story/show/160669401
https://www.pivotaltracker.com/story/show/160671577
https://www.pivotaltracker.com/story/show/160671392

TODO:

[ ] Ensure CI passes
[ ] Doc e.g. contract transactions doc

Had a quick look and I think it looks fine, haven't checked all the details yet.


"terraform fmt" should be "terraform fmt -recursive"

I'm not sure if this changed in terraform 0.12, but I think it's why we're not getting auto formatting any more.
Repos where we might do autoformatting:

[ ] archivematica-infrastructure
[x] catalogue (https://github.com/wellcomecollection/catalogue/pull/498)
[ ] goobi-infrastructure
[x] loris-infrastructure (https://github.com/wellcomecollection/loris-infrastructure/pull/5)
[ ] platform
[ ] platform-infrastructure
[x] stacks-service (https://github.com/wellcomecollection/stacks-service/pull/74)
[x] storage-service (https://github.com/wellcomecollection/storage-service/pull/443)

Closing as "done in all the repos where we do auto-formatting".


When on mobile view our chat widget should take up full screen

Hey!
I want to work on this issue.

sure @Bhargav252000! the code will be in this repo: https://github.com/papercups-io/chat-widget


docs(README): add MIT license badge

Pull Request Test Coverage Report for Build 24

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 22:
0.0%

Covered Lines:
4

Relevant Lines:
4

💛  - Coveralls


feature request: edit user profile from the dashboard

This feature is pretty much abandoned back then since I'm a lot more focused on other stuff. It is a simple update where the User could:

Update it's name
Update it's email
Update it's password
Update it's profile picture (this is an extra, +kudos to you if you can make it happening)

Any PR regarding the update are welcome. Let me know if you want to participate and I will assign you to the issue.

@NikarashiHatsu  please assign me this issue and
explain this issue with more ditails
also i am tried to run it in my local machine and facing some issue after setup and installation
and also share step by step setup of local machine
PS D:\git demo\codeigniter4-kit> npm run development

development
mix

Browserslist: caniuse-lite is outdated.  Anyway, here's the complete step-by-step:

Clone this project
Run composer install
Run npm install and npm run dev
Copy the env file and paste it as .env
Uncomment and change the CI_ENVIRONMENT to development
Uncomment and change the app.baseUrl to http://localhost:8080
In your terminal, run php spark serve

Make sure you're using PHP 8.0, as FILTER_SANITIZE_STRING is deprecated in 8.1 and won't run the app.

in which directory to i want to run these command
and getting this error in PS C:\xampp\htdocs\git> composer install this directory
composer : The term 'composer' 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

composer install

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

You have to install Composer from https://getcomposer.org/


"Create function at symbol" does not refresh symbol name on undo

Given an instruction like call dword [0x40feb5], if 0x40feb5 is selected and Create function at symbol (P) is run on it, a function sub_40feb5 is added to the function list, and all instances of 0x40feb5 in the assembly are changed to the symbol sub_40feb5 (i.e. the previous call instruction becomes call dword [sub_40feb5], as one would expect. However, when undoing this command, sub_40feb5 is properly removed from the functions list, but the original instruction does not revert back to its original form, and remains as call dword [sub_40feb5].
It looks like switching to a new function and then going back, or even just double clicking on the current function refreshes the symbol name, so it's not a major or incredibly inconvenient bug, just something I noticed.

This is a specific instance of #102, closing as a dupe.


fix: add missing types

closes #3912
related #3918

Thanks! I added some docs and moved keyboard and mouse wheel events to relevant modules


README: Don't use extra index for pip install

pynvjitlink wheels appear to be available on PyPI, so we should recommend that as the canonical location to use.
See: https://pypi.org/project/pynvjitlink-cu12/#files

Thanks Graham! 🙏
Agree this is a good idea
Should we call out to the nightly index as well ( https://pypi.anaconda.org/rapidsai-wheels-nightly/simple )? Asking as that gets updated every time we tag here
PyPI is a bit more of a manual process around RAPIDS release time atm. So we tend to only update what we had working with that RAPIDS release when it ships. Not necessarily every tag


Fix headers on flow control

Affects some compilers

[trickle] No significant performance differences

This needed to be backported to 1.6.7, which is broken on macOS.


jsx-no-multiline-js should not fail on object literals

I think the rule should be lenient about these kinds of multiline expressions because they don't hinder readability too much:

How lenient do you think it should be? Should we just allow object literals, or do you think this should allow things like
popoverProps={this.computePopoverProps({
    popoverClassName: "docs-dropdown-ramen-popover",
})}

Also, this rule currently doesn't care about spread attributes, eg
<Dropdown {...{
    items: mocks.groups(),
    placeholder: "Ramen joint",
}} />

but that's probably a separate issue.

@adidahiya @markwongsk this is hanging for quite some time, can we push for this change?
I really need this configurability and I think that disable for object literals is enough for a start.
Checking tslint conventions suggested name might be: "ignore-object-literal"

@markwongsk I guess we could break down the use cases into "be lenient on multiline functions / lambdas" and "be lenient on object or array literals". so this rule could have two new options: ignore-functions and ignore-literals
@piotrwitek open to PRs, as always :)

Would it be a simpler distinction between JS statements and expressions? It seems like multline expressions (object literals, ternary, function calls, etc) make more sense than multiple statements.

@MiguelMadero eh, that wouldn't really solve my use case because so much of JS syntax is a valid expression. My primary motivation for using this rule was to prevent multiline ternarys and function calls (primarily .map, since it's used to generate lists)
// bad

// bad

    {this.props.foo.map((f) => {
        return {f};
    }

I could imagine another option here for stylistic preference, however, ignore-conditional-expressions, to allow multiline ternarys like in my first example ^

@adidahiya Could you please recommend a way for the 2 cases you gave above. I got this rules triggered a lot and I'm not sure how to improve them. Thanks.

Is there any plan or update about this topic?

Closing due to deprecation, see #210


Panic: runtime error: invalid memory address or nil pointer dereference

I did a reinstall of my Signal and could not restore my backup using the app. So I turned to your work to be able to recover some old chat history.
I get the following error when running the program
> ./signal-back_linux_amd64 format -p [pass] signal-[date].backup > out.xml
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x559e6c]

goroutine 1 [running]:
github.com/xeals/signal-back/types.(*BackupFile).DecryptAttachment(0xc4200ec0e0, 0xc42009b230, 0x5e42a0, 0x6e0048, 0x550c7dc3243185be, 0x80deb1fe72be5d74)
	/home/travis/gopath/src/github.com/xeals/signal-back/types/backup.go:136 +0x12c
github.com/xeals/signal-back/cmd.XML(0xc4200ec0e0, 0x5e40a0, 0xc420094008, 0x3, 0x3)
	/home/travis/gopath/src/github.com/xeals/signal-back/cmd/format.go:153 +0x3dd
github.com/xeals/signal-back/cmd.glob..func3(0xc4200ae420, 0x0, 0xc4200ae420)
	/home/travis/gopath/src/github.com/xeals/signal-back/cmd/format.go:71 +0x246
github.com/xeals/signal-back/vendor/github.com/urfave/cli.HandleAction(0x587380, 0x5ccf48, 0xc4200ae420, 0xc4200a8000, 0x0)
	/home/travis/gopath/src/github.com/xeals/signal-back/vendor/github.com/urfave/cli/app.go:490 +0xc8
github.com/xeals/signal-back/vendor/github.com/urfave/cli.Command.Run(0x5c171c, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5c7567, 0x1f, 0x5cc2b1, ...)
	/home/travis/gopath/src/github.com/xeals/signal-back/vendor/github.com/urfave/cli/command.go:210 +0xa36
github.com/xeals/signal-back/vendor/github.com/urfave/cli.(*App).Run(0xc4200aa1a0, 0xc4200960f0, 0x5, 0x5, 0x0, 0x0)
	/home/travis/gopath/src/github.com/xeals/signal-back/vendor/github.com/urfave/cli/app.go:255 +0x6a0
main.main()
	/home/travis/gopath/src/github.com/xeals/signal-back/main.go:51 +0x2d8

The program manages to successfully recover a backup that I did after the reinstall. Does this mean that I have written down my encryption code for the old backup incorrectly? Or is something strange with the older backup file.
Thanks for your work!

I'm assuming this is the backup that the app couldn't restore from? What message does the app give you?

When trying to restore using the Signal app on Android I get the message "Incorrect backup passphrase". However, it seems to be a common problem not to be able to restore backups, see #7637 on Signal-Android. That is why I wanted to try signal-back instead.
I do get the same error using signal-back as in the first post in this issue if I try to restore a new backup that I made after the reinstall (which decrypts correctly using a passphrase) with the wrong passphrase. So I guess that it could be possible that the older backup taken before the reinstall is corrupted or encrypted using another passphrase than the one displayed to the screen in the Signal app on Android.

I suspect that might be the case. Unfortunately, signal-back (to my knowledge) uses the exact same decryption process as the Signal app, so if it doesn't work with one, it probably won't work with the other. The error comes from expecting an attachment to be next in the file, but not finding any of the information an attachment should have; this suggests to me that it's been compressed or otherwise corrupted.

Thanks, it was worth a try at least. Could this be connected with disappearing messages?

Thanks again


The latest version sketch theme is wrong

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
A clear and concise description of what the bug is.
After opening the latest version of draw.io sketch theme, all UI components disappear, drawing operations cannot be performed, the software cannot be closed normally, and other themes can be operated
To Reproduce
Steps to reproduce the behavior:

Switch to the sketch theme
Reopening the drawio interface shows blank, without any function

Expected behavior
A clear and concise description of what you expected to happen.
Reopening the drawio interface shows blank, without any function
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 20.6.1

Desktop (please complete the following information):

OS: [win11]
Browser [chrome]

https://user-images.githubusercontent.com/80820992/206748889-77dba229-437d-41bc-a3ca-289c57f6ceb1.mp4
Additional context
Add any other context about the problem here.

The report is fine. However, you've posted three useless reports then double posted this one. That's wasting our time 4 times. I have no choice but to ban you.


fix(EMS-2709-2732): No PDF - Policy - Dynamic page titles with currency names

Introduction :pencil2:
This PR fixes 2x issues in the "Policy" section of a no PDF application where, in the "export value" and "total contract value" pages, the page titles would render an "undefined" currency name, if an alternative currency name was selected in a previous part of the flow.
This was happening due to 2x issues:

The policy mapSubmittedData function was incorrectly saving an alternative currency as the field ID instead of the actual field value.
The GET controllers were consuming and passing only supported currencies to the page title genereation, therefore an alternative currency would never be found.

Resolution :heavy_check_mark:

Update "Business - Turnover - Alternative currency" copy (EMS-2732).
Update GQL "Get APIM currencies" resolver to return an additionalallCurrencies array.
Extract "Business - Turnover - Alternative currency" currency mapping logic into a new helper function, mapCurrencyCodeFormData` since the logic is now required in 2 places
Update 2x policy controllers to:

Call pageVariables with allCurrencies, instead of supported/mock currencies.
Include ALTERNATIVE_CURRENCY_CODE in FIELD_IDS, otherwise, submitted data mapping does not pick up the alternative currency code value.

Add E2E test coverage.

Miscellaneous :heavy_plus_sign:

Create new cypress command to assert a page title with a currency name and optional question mark, assertHeadingWithCurrencyName.
Update policyCurrencyCode to have a VarChar of 3 instead of 1000.
Create a DRY UI test mock for an empty currencies response, mockCurrenciesEmptyResponse.
Replace some hard coded UI unit test values with values from test mocks.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main-application-no-pdf@386d0c7). Click here to learn what that means.

Additional details and impacted files
@@                    Coverage Diff                     @@
##             main-application-no-pdf    #1833   +/-   ##
==========================================================
  Coverage                           ?   92.46%
==========================================================
  Files                              ?      127
  Lines                              ?     1447
  Branches                           ?      171
==========================================================
  Hits                               ?     1338
  Misses                             ?      109
  Partials                           ?        0

Flag
Coverage Δ

api-test
92.46% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Ensure context messages don't go to Sentry if analytics are disabled

We avoid calling sentry.captureException(error); if the shouldReport passed option returns false, however are we sure that Sentry stops intercepting stderr and stdout, which I believe it uses to provide error context (e.g: so you can know which messages got printed before/after an exception)?

Closing stale issues


feat: Export the moduleType from ImportTarget

This is a slightly different approach to solve #21.
In this case we only try to add extensions to relative and absolute paths, with the detection of the moduleTypes done inside the ImportTarget

just a reminder: you can use "closes #xxx" or "fixes #xxx" in the description. so, the linked issue can be auto closed. 😄

just a reminder: you can use "closes #xxx" or "fixes #xxx" in the description. so, the linked issue can be auto closed. 😄

I keep forgetting 🤦
Sorry!