MNIST example for skorch

Main idea: use sci-kit learn for data processing and skorch/pytorch for neural-networks.
Contains:

A simple dense NN
A CNN

If the above featch_mldata is used to load MNIST, data and target are encoded as uint8, which cannot be processed by Skorch. Skorch accepts only float32 or int64 as type

If anything, PyTorch cannot handle these data types. Skorch is pretty agnostic about input data types and even adds some more to the supported list (e.g. dictionaries). However, in this case even torch.Tensor(mnist.target) works without problems so I don't know what your point is here?

>>> X.min(), X.mean(), X.std(), X.max()
(0.0, 0.13092543, 0.30844888, 1.0)

This would be a good point on stating whether or not you are normalizing your inputs.

np.mean(cnn_pred == y_test)
0.99085714285714288

Can't you train a bit longer for more accuracy? :)

If anything, PyTorch cannot handle these data types. Skorch is pretty agnostic about input data types and even adds some more to the supported list (e.g. dictionaries).

Good to know, changed text accordingly.
I tried float32, float64, uint8, int32 and int64. For me, only float32 and int64 works.

However, in this case even torch.Tensor(mnist.target) works without problems so I don't know what your point is here?

My idea was to use PyTorch only for modeling a network. Everything else should be done with NumPy/SciKit learn. However, if you think it makes more sense to use torch.Tensor I'm happy to change it.

This would be a good point on stating whether or not you are normalizing your inputs.

I added text to explain, why a scaling is necessary for the notebook to work and a short note that data is not normalized.

You should explain what you are doing here (1 channel, image height x width, etc.).

Good point. Added a little description.

Can't you train a bit longer for more accuracy? :)

To be honest: I can't :-(
Starting from epoch 17 (or so) loss will be nan.
Haven't had the time to look into it.

OK LGTM for the sake of tihs example. Thanks!


Create nix per-user gcroot directory if missing

See commit messages. I also improved the error messages for permission errors.
It would be nice to have an integration test (which has to be sandboxed), I just tested it manually for now, but I think it’s fine.

Looks like this needs to be clippy and fmt'd @Profpatsch :)

handle_io_error, ignore_missing, and check_permission looks like they would be at home in a Haskell codebase

ignore_missing is your original function, slightly refactored. I can copy the code of course.

I inlined handle_io_error, that should make it more “rusty”.


Update 3D scene lab for smart mapping capabilities

For the 3D scene lab, it would be cool if you updated step 5ii (PXD rail stops) to use the 3D object drawing style.

sounds like a good idea to me.  you game for submitting the change as a pull request?

@jgravois - I think we need to work together on this? Here are the revised steps but I think you need to update the live example?
5....
i.......
ii. Navigate back to your previous zoomed in/rotated view.
iii. Click PDX Rail Stops > Configure Layer > 3D Object>Options and change the following properties:

Color: Red (pick a dark red with 25% transparency)
Size: 80

I think you need to update the live example?

we can definitely update the live sample.  i was asking if you can submit a pull request with your proposed change. the easiest way to do with is probably to just use the live github.com editor in the browser.
https://help.github.com/articles/editing-files-in-your-repository/
https://guides.github.com/activities/contributing-to-open-source/

@jgravois - done!

closed via #192. thx!


[QUESTION] Issue running docker command

Question
When I run the docker command:-
docker run -d   -p 4000:8080   -v /home/pi/docker/dashy/my-conf.yml:/app/user-data/conf.yml   --name dashy   --restart=always   lissy93/dashy:latest
I get the error:-
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/pi/docker/dashy/my-conf.yml" to rootfs at "/app/user-data/conf.yml": mount /home/pi/docker/dashy/my-conf.yml:/app/user-data/conf.yml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
The path /home/pi/docker already exists.
What should the correct syntax be?
Thank you.
Category
Setup and Deployment
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Hi
Is this path existing?
/home/pi/docker/dashy/my-conf.yml
So is the config file already created?
If not please do so by copying the one from github, located in user-data folder.
You could also try the following:
/home/pi/docker/dashy:/app/user-data
Let me know if this solves your problem.

Awesome!


Mobile compatibility issue - dimmed background layer is not removed

This div tag does not get removed on mobile.

                        var body = angular.element('body').children();
                        if (angular.element(body[body.length - 1]).hasClass('modal-backdrop')){
                            angular.element(body[body.length - 1]).remove();
                        }

After retrieving the result from the modal I added this dirty piece of code to solve it. I am sure you guys can find a better solution to it in the factory file.

I found the answer in the documentation.
https://github.com/dwmkerr/angular-modal-service#faq
//  Manually hide the modal using bootstrap.
$element.modal('hide');

Adding this line of code in the modal controller before the close() function solves the issue, if you are using bootstrap.


feat:Svelte package

Description
I'd love to be able to use Ark components in Svelte. Is there any interest in this being added to the project at this stage? I'd be happy to work on this in my free time if so.
Proposed Solution or API
Essentially just implement the components as they are already specced in Svelte. Would use sveltekit and svelte2tsx for for creating the library with typescript support, similar to the structure of the flowbite-svelte library.
I would appreciate guidance on how I should go about contributing this change to the repo if it is desired as I suspect it might be a bit messy to begin with. I'd also be happy to just split it out into a separate ark-svelte repo to reduce the burden on maintainers, and it can be considered to be merged into this library at a later time in a more polished state.
Additional Information
No response

Hi @Not-Jayden,
We don't have plans to support Svelte for now. You can create a separate ark-svelte repo and share it here.
All components in Ark are based on the state machines in zag.js. You need to figure out how to use zag.js in your Svelte library first.
Thanks for understanding.


[help]: docker build error

Help
when i build k230_sdk docker docker image with: docker build -f tools/docker/Dockerfile -t k230_docker tools/docker , it returns: Sending build context to Docker daemon  6.144kB
Step 1/28 : FROM ubuntu:20.04
20.04: Pulling from library/ubuntu
9ea8908f4765: Retrying in 10 seconds
error pulling image configuration: download failed after attempts=6: dial tcp <IP_ADDRESS>:443: connect: connection refused.
it seems that pulling image over time, how can i fix this?

Step 1/28 : FROM ubuntu:20.04
you PC can't access docker hub network for this base OS, the error msg is  network error
solution:

use a dockerhub mirror for this base OS
fix your network connection issue to default dockerhub and fix network connection issue
can't fix network and can't know how to add mirror, but you can access github, so you can directly pull github docker image and not build from src, just refer to README.


Feature Request: Support for Tracking Connection Time, Send Time, and Receive Time

Request Statement
Hello, Dio team!
Firstly, thanks for the incredible work on Dio—it’s been a very useful tool in our Flutter applications!
Feature Request
We would like to request the ability to track detailed timing metrics for network requests. Specifically, it would be very helpful to have built-in support for recording:

Connection Time: The time taken to establish a connection to the server.
Send Time: The time taken to send the request data to the server.
Receive Time: The time taken to receive the response data from the server.

Use Case
Having access to these metrics would provide valuable insights into our app's network performance on mobile devices, allowing us to:

Analyze endpoint performance across various mobile network conditions.
Identify potential bottlenecks in the network request process.
Collaborate with our backend team to pinpoint API endpoints that could benefit from optimization.

Solution Brainstorm
Potential Solution
An option could be to expose these metrics via Dio's interceptors or add them as properties within the response metadata. This would allow developers to easily access the timings after a request completes.
Example of Desired Usage
final dio = Dio();
final response = await dio.get('https://example.com');

// Accessing timing metrics
print('Connection Time: ${response.connectionTime} ms');
print('Send Time: ${response.sendTime} ms');
print('Receive Time: ${response.receiveTime} ms');

Thanks for considering this request! Having these metrics would significantly improve our ability to monitor and optimize network performance on mobile devices.

@kuhnroyal We used to have similar discussion, right? Can't remember where it is...

@kuhnroyal We used to have similar discussion, right? Can't remember where it is...

Thank you for your response. I appreciate your attention to this issue. I was wondering if there has been any progress or if you have any updates on when we might expect a resolution? Understanding the timeline can help me plan my next steps accordingly. Thank you!

@kuhnroyal We used to have similar discussion, right? Can't remember where it is...

hi，any update？

alternative package: dio_http2_adapter


Line height issue

Hiya, lines seem to be overlapping in the example. I've had the same thing happen to me :( Any help?

My code (i am using bootstrap)

			<button class="col-xs-12 object-button">Create Object</button>

I would also prefer to not have a span inside the button, but not having the span there didn't work at all.

			<button data-fittext class="col-xs-12 object-button">Create Object</button>

Relevant CSS
.object-button{
	height: 150px;
}

.other-object-button,
.object-button{
	/*font-size: 2vw;*/
	font-weight: 300;
	text-align: center;
	color: #ffffff;
	background-color: #1b39a8;
	border: 0px ;
	width:100%;
	display:inline-block;
	/*border: 2px solid #0F358B;*/
}

Check the line-height being applied to the element. The demo is using 0.5em for that example. I have not tried this in the context of a button. If you could make a working demo showing your issue in http://codepen.io/ I'd be happy to assist further.

Thanks for getting back to me.
Since then, i've navigated away from buttons (this project is something i'm doing for fun so i'm just experimenting).
This codepen explains my new issue. Pen
Note, how object.tags (desc1,desc2) are scaling, but everything else (ex. obj and create object) aren't. In fact, in my project, not even the object.tags scale! I'm sure i'm doing something wrong, but i can't put my finger on it. Any help would be greatly appreciated.  Thanks

You are setting the width of the element (text) to 100%, i.e. the result is correct as far as FitText is concerned.
.mgp-button-create,
.mgp-button-title{
     ...
     width: 100%; /* remove this OR use fittext on a child element */
     ...
 Thanks for that.
However, and I apologize if this is another snafu on my behalf, but either removing the width, or adding fittext in a child element, resulted in a height issue, and the top and bottom parts of the text are being truncated.
Would you be kind enough to point me in the right direction again? Thanks.

overflow: hidden; is doing the cropping.
In terms of setting heights, line-heights, etc for elements - use em as it needs to be relational to the dynamic font size.

@patrickmarabeas I'm experiencing the line-height issue @delta25 first had; which element were you referring to when you recommended checking the line-height on the element?  I tried adjusting the line-height attribute on my text, but ng-FitText is setting its own line-height directly.
If you could direct me to that demo you mentioned, that would be great, too!


Clean up stale Unicorn files

Remove pid and socket files during deployments, after the shutdown step, in case these files were left around from an earlier failure.  Their presence will cause the startup to fail after the build step is complete.

:+1: Looks good to me. I imagine we'll probably want something similar for the primary source sets application as well. At some point we should probably see if there's anything we could refactor into a common_rails role, but I don't think we need to do that immediately.

Thanks, @anarchivist.  I've taken care of that in the primary source sets branch:  https://github.com/dpla/automation/blob/feature/add-primary-source-sets/ansible/roles/pss/tasks/deploy.yml#L118-L124
Ultimately, I think that the correct way to get rid of the duplication throughout the playbooks is to write an Ansible module for these things.


WARNING:root:Rate limit reached, backing off...

Hi
How can this situation be resolved?
WARNING:root:Rate limit reached, backing off...

BR, Christoph

hi @ckiefer , this mechanism is essential for stability so the agent will be able to finish its task. Are you using the free trial api key? they have lower rate limit.

Yes, I am on a free trial API key. So what I understand is that it's not possible to use this tool on the free plan. Is that correct?


Issue

When having an issue you should refere to the github community guidelines

Thank you that helps

Ready to close


Firefox leaks data

Issue description
By default " Allow Firefox to install and run studies"  is enabled. This should be disabled.

system: "x86_64-linux"
host os: Linux 4.9.61, NixOS, 17.09.2182.7f6f0c49f0 (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.15
channels(root): "nixos-17.09.2182.7f6f0c49f0"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Nixpkgs follows upstream for this.  Each user can easily set the preference, though not on nix level ATM.  Until there's a consensus against this, I wouldn't touch it.

You are a Dutch entity The NixOS Foundation is a registered non-profit organisation at the Chamber of commerce (Kamer van Koophandel) in Utrecht, The Netherlands. The KvK number is 63520583.  as such you might want to follow upstream, but it would just be against the law.
The Mozilla Corporation is an American entity and doesn't need to abide by those rules.

First, I'm no lawyer.  The relation to the foundation is rather loose, I believe, but the infrastructure will be mostly in the EU anyway (and nixpkgs did e.g. turn a blind eye on some software patents).  @williammpratt: can you provide some (trustworthy) reference claiming that the Firefox default is against EU law?

@vcunat See https://www.whitecase.com/publications/article/chapter-8-consent-unlocking-eu-general-data-protection-regulation

Firefox asks the user to consent to contribute statistics, this is not a silent default.

FWIW, the NixOS Foundation has nothing to do with this since it doesn't hold the copyright to NixOS/Nixpkgs and doesn't distribute it.

@orivej They already put the checkmark in by default. That's against the law, even if you then press "OK".
@edolstra Please forward this to the legal entity controlling cache.nixos.org then.

Since "Allow Nightly to send technical and interaction data to Mozilla" is unchecked and disabled in our Firefox builds, it is not clear that the enabled "Allow Firefox to install and run studies" will send Mozilla any data (that will not be sent when it is disabled), at least without your permission. Here is the description of this feature:

Shield Studies allow us to give newly graduated features from Test Pilot to small representative populations of the Firefox Release audience. These users will get a chance to use these features for a period of time and then be asked to provide feedback on the experience.

Your unsubstantiated claim that "Firefox leaks data" due to this feature seems groundless.

@orivej
Shield Studies can only collect Type 1 and 2 data. This is the same type of basic interaction data we collect by default as stated in our privacy policy.
Read their privacy policy and you will see what I mean. GDPR regulations are much stricter than you probably imagine.

Indeed, but GDPR "shall apply from 25 May 2018", and Mozilla will release a compliant Firefox by that time. (If it is not compliant now: I can't judge yet.) Here they say:

Any business that markets goods or services to users in the EU will be subject to compliance, regardless of whether their business is located in the EU.
We will continue to track the implications of the GDPR over the next 24 months as it comes into force, and will stay engaged with any opportunities to work out the final details.

Seems sufficient to me, thank you @orivej.


Add option to show Sat. and Sun.

Add an option to show Saturday and Sunday in calendar. Some people do have courses on the weekend.

Added in 1.7


how to run IDC on my own cifar10-vgg16

sir ,we are trying to use the vgg16 model of cifar10 to run the idc apporch. The convolutional layer of this model requires padding and two convolutional layers are adjacent. We adjusted it according to your padding method for lenet5 like this

However, because the two convolutional layers are adjacent, the dimensions of self.Y and R do not match when the convolutional layer calculates R_norm

this is our vgg16 model one geogel drive:
https://drive.google.com/file/d/1bjzJxwWBGewZxdoiUkX9YR8r1rUoxjj6/view?usp=sharing
This is our running command,  ``python run.py --dataset cifar10 -L -1 --model neural_networks/cifar10_vgg16 -RN 10
please help us to solve this problem

Hi @yuningkang! I am not sure if I understood clearly. I believe, even though the two convolutional layers are adjacent this padding method should work. Could you give us more information?


Reduce size_of by one pointer

Fixes https://github.com/rust-lang/hashbrown/issues/69 to the extent possible without more dramatic changes.

cargo bench before:
test insert_erase_i32 ... bench:      15,441 ns/iter (+/- 47)
test insert_erase_i64 ... bench:      14,978 ns/iter (+/- 72)
test insert_i32       ... bench:      11,097 ns/iter (+/- 63)
test insert_i64       ... bench:      10,759 ns/iter (+/- 56)
test iter_i32         ... bench:       1,529 ns/iter (+/- 2)
test iter_i64         ... bench:       1,530 ns/iter (+/- 7)
test lookup_fail_i32  ... bench:       1,798 ns/iter (+/- 0)
test lookup_fail_i64  ... bench:       1,798 ns/iter (+/- 2)
test lookup_i32       ... bench:       2,182 ns/iter (+/- 1)
test lookup_i64       ... bench:       2,214 ns/iter (+/- 52)

After:
test insert_erase_i32 ... bench:      17,152 ns/iter (+/- 25)
test insert_erase_i64 ... bench:      24,686 ns/iter (+/- 15)
test insert_i32       ... bench:      12,157 ns/iter (+/- 7)
test insert_i64       ... bench:      19,291 ns/iter (+/- 14)
test iter_i32         ... bench:       1,529 ns/iter (+/- 0)
test iter_i64         ... bench:       1,534 ns/iter (+/- 1)
test lookup_fail_i32  ... bench:       2,609 ns/iter (+/- 0)
test lookup_fail_i64  ... bench:       2,826 ns/iter (+/- 0)
test lookup_i32       ... bench:       2,609 ns/iter (+/- 1)
test lookup_i64       ... bench:       2,807 ns/iter (+/- 331)

The run time cost appears quite significant, I don’t know if it can be improved much.

data and ctrl are hot fields, you likely do not want to access them through arithmetic. How about reducing size by putting growth_left into the buckets array. growth_left is only accessed when inserting and that's expensive by itself.

diff --git a/src/raw/mod.rs b/src/raw/mod.rs
index 7d18bc0..5d58074 100644
--- a/src/raw/mod.rs
+++ b/src/raw/mod.rs
@@ -418,7 +418,13 @@ impl<T> RawTable<T> {

     // Pointer to the array of buckets
     fn data(&self) -> NonNull<T> {
-        let (_, data_offset) = calculate_layout::<T>(self.buckets()).unwrap();
+        let buckets = self.buckets();
+
+        // Inline parts of `calculate_layout()`
+        debug_assert!(buckets.is_power_of_two());
+        let data_align = usize::max(mem::align_of::<T>(), Group::WIDTH);
+        let data_offset = (buckets + Group::WIDTH + data_align - 1) & !(data_align - 1);
+
         unsafe { NonNull::new_unchecked(self.ctrl.as_ptr().add(data_offset) as *mut T) }
     }

Compared to this PR, also adding the diff above slightly improves some benchmarks but make others much worse.
test insert_erase_i32 ... bench:      22,672 ns/iter (+/- 42)
test insert_erase_i64 ... bench:      23,299 ns/iter (+/- 101)
test insert_i32       ... bench:      18,253 ns/iter (+/- 389)
test insert_i64       ... bench:      18,440 ns/iter (+/- 1,060)
test iter_i32         ... bench:       1,537 ns/iter (+/- 2)
test iter_i64         ... bench:       1,531 ns/iter (+/- 1)
test lookup_fail_i32  ... bench:       1,635 ns/iter (+/- 0)
test lookup_fail_i64  ... bench:       1,581 ns/iter (+/- 0)
test lookup_i32       ... bench:       2,477 ns/iter (+/- 7)
test lookup_i64       ... bench:       2,520 ns/iter (+/- 9)

Same hardware as https://github.com/rust-lang/hashbrown/pull/73#issuecomment-487050061

Closing since this particular approach is likely to always have significant perf cost. Anyone feel free to make other PRs to try other ideas.


Add support for Erlang.mk

Erlang.mk is the build tool that we - @pivotal/rabbitmq-core - are using to build rabbitmq-server and all its components.
To add more context, while we already collect all license files in the final published artefacts, we understand that to properly integrate with Norsk, we need to expose all dependencies independently. My thinking is that LicenseFiles will be used to discover all license files across all dependencies (i.e. ErlangmkPackage) as exposed by this new Erlangmk package manager.
This PR depends on a change to Erlang.mk, specifically a new show-deps make target. I intend to keep this as a draft until this is added & merged into https://github.com/ninenines/erlang.mk
The other outstanding task is to add a feature spec (a.k.a. acceptance test) so that we are confident that this works properly from an end-user perspective.

Hey @gerhard ! Thanks for this PR. Im just bumping this as it has been open a little while. It looks like the tests are failing. I know that this is still in draft but wanted to confirm that was intentional and to make sure this does not get forgotten :)

Hey @xtreme-shane-lattanzio, thanks for checking in!
This PR is exactly in the state that it should be, I expect to get back to it any week now. There is at least another one coming - https://github.com/rabbitmq/LicenseFinder/tree/add_MPL1_1 - will get back to them as soon as time permits.
Thanks for the follow-up!

@gerhard @xtreme-shane-lattanzio this PR is ready. The most recent concourse builds are green. I'm not sure why GH isn't picking that up.

Hey @lukebakken @gerhard ! It looks like the statuses are up to date here now. Rubocop needs to be appeased for formatting things. It also looks like the syntax used may not work for the older ruby versions. Is it possible to modify that? Thanks again for this PR!!

I'll get those. Any chance of dropping ruby 2.4.9 and 2.3.8 since neither are supported anymore? https://www.ruby-lang.org/en/news/2019/10/02/ruby-2-4-9-released/

@lukebakken I would like to drop the support but I don't know how much of an issue that would be in the community. I know we still run into some projects today that are on 2.3.x. They are mainly dependencies of main projects that are no longer maintained and therefore not updated. That would be that product teams would need to switch their dependencies which could be a difficult task. I can bring it up to the team internally but I don't think we should drop it immediately

hello @gerhard @lukebakken, I had some small questions that I left as comments above :)

@lukebakken It looks like the last failing pipeline is due to the syntax issue that can be resolved with: https://stackoverflow.com/questions/41792348/nomethoderror-undefined-method-match-for-rubystring
We do have this syntax elsewhere in the codebase because of version syntax issues :(

@lukebakken Just a rubocop issue now. Thanks for sticking with this! (also FYI this is still in draft mode)

Unfortunately I have no control over draft vs regular mode because I don't have write access to this repository.

This is now ready to merge from my perspective.
If any check fails, can you please fix & push @lukebakken? Thanks 👍🏻
⛴ 🚢 🛳

@gerhard @lukebakken Rubocop!

@lukebakken @gerhard It looks like there was a missing method rename now :\

🎉

Many thanks @lukebakken for helping with this, and @xtreme-shane-lattanzio for bearing with us. Any ETA as to when we can make use of this in the context of https://norsk.cf-app.com/teams/norsk-viewers/pipelines/rabbitmq ?
Would you be interested @lukebakken in doing the same for the MPL 1.1 branch?https://github.com/rabbitmq/LicenseFinder/tree/add_MPL1_1

@gerhard I thought I saw a discussion somewhere about the MPL 1.1 and how, since it's not an approved license, it shouldn't be added to LicenseFinder. I may be making that up, because I can't find the discussion.

@gerhard @lukebakken Since this is the only change since the last release, I can release a 6.7.0 tomorrow!

Yes, MPL 1.1 is not an approved license in some contexts - definitely applicable to us - but maybe it should be discoverable by LicenseFinder because without it, a human needs to set MPL 1.1 manually.
What do you think @xtreme-shane-lattanzio, is it worth adding support for MPL 1.1 to LicenseFinder? The work is mostly done, I remember there being less work on it that there was for this PR.

It seems sensible to me to add support to detect MPL 1.1


Verify that "Plesesti" is listed in the drop-down menu with diacritics

Description:
When the user types "Plesesti", the location appears written with diacritics in the drop-down menu next to the commune and county it belongs to.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Plesesti"

Expected results
The location appears in search bar as "Plesesti" and in the drop-down menu appears with diacritics as "Pleșești, Alba (Albac)"


:sparkle: Introducing fallback match for ASCII and UTF-8

This will be used as a last resort only. In case the detection fails to find any suitable match.
This PR has been made according to some community wishes.

Codecov Report

Merging #64 (ec95f7f) into master (d8f0bf4) will increase coverage by 0.03%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   85.10%   85.14%   +0.03%
==========================================
  Files          11       11
  Lines        1061     1077      +16
==========================================
+ Hits          903      917      +14
- Misses        158      160       +2

Impacted Files
Coverage Δ

charset_normalizer/api.py
84.12% <87.50%> (+0.31%)
:arrow_up:

Continue to review full report at Codecov.

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


How to use r3f-perf?

Adding r3f-perf to react-three-next and using the component inside layout/canvas gives me following error:
Uncaught R3F hooks can only be used within the Canvas component!
I use the component inside Canvas. In any other app it works.
Here is my package.json:
  "dependencies": {
    "@babel/plugin-transform-runtime": "^7.17.0",
    "@react-three/drei": "^9.2.0",
    "@react-three/fiber": "^8.0.10",
    "babel-plugin-glsl": "^1.0.0",
    "glsl-random": "^0.0.5",
    "next": "^12.1.4",
    "react": "^18.0.0",
    "react-dom": "^18.0.0",
    "three": "^0.139.2",
    "three-stdlib": "^2.9.1",
    "zustand": "^3.7.2"
  },
  "devDependencies": {
    "@next/bundle-analyzer": "^12.0.10",
    "autoprefixer": "^10.4.2",
    "eslint": "^8.8.0",
    "eslint-config-next": "^12.0.10",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-tailwind": "^0.2.1",
    "file-loader": "^6.2.0",
    "glslify": "^7.1.1",
    "glslify-loader": "^2.0.0",
    "next-compose-plugins": "^2.2.1",
    "next-offline": "^5.0.5",
    "postcss": "^8.4.12",
    "prettier": "^2.6.2",
    "r3f-perf": "^6.0.1",
    "raw-loader": "^4.0.2",
    "tailwindcss": "^3.0.23",
    "url-loader": "^4.1.1"
  }

And here is where I use the component:
    <Canvas
      mode='concurrent'
      style={{
        position: 'absolute',
        top: 0,
      }}
      onCreated={(state) => state.events.connect(dom.current)}
    >
      <Perf />
      <LControl />
      <Preload all />
      {children}
    </Canvas>

I tried to load in the same way and got this error.
Uncaught R3F hooks can only be used within the Canvas component!

This happened to me when upgrading to React 18, might be the reason


[Enhancement] quick filter and only 5e conditions

Perhaps a good option to implement are the following:

condition finder/filter (there was a module that did this function and it is now obsolete). https://foundryvtt.com/packages/quick-status-select

option to enable/disable 5e conditions only. To remove non 5e conditions on activated option.

condition finder/filter (there was a module that did this function and it is now obsolete). https://foundryvtt.com/packages/quick-status-select
This is not entirely in scope of AC5e. Might be better to fork and update the Quick Status Select to v12

option to enable/disable 5e conditions only. To remove non 5e conditions on activated option.
What would that be exactly? For the TokenHUD?


Istio pilot e2e integration tests for ExternalName break without ENABLE_EXTERNAL_NAME_ALIAS

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
The istio pilot integration tests assume that the pilot env variable ENABLE_EXTERNAL_NAME_ALIAS is enabled (along with other vars set in base.yaml). However, this fails on environments where Istio is pre-installed without the external name env variable set.
The fix for this would be to add logic in the tests to verify whether the env variable is set and run the test accordingly (perhaps by also providing a corresponding CLI flag to pass into the e2es for enableExternalNameAlias). In general, ideally, the e2es should not make assumptions about Istio installation settings and should instead have greater flexibility to account for various env vars and installation settings - this experience would be in line with previous improvements to break assumptions in the test suites about namespaces, selectors, etc.
Version
From release-1.20 onwards.

Additional Information
No response

There is a pretty large set of assumptions made about other variables as well fwiw

True, but we probably shouldn't write tests assuming that a feature flag that defaults to off is turned on

It defaults to true

@nshankar13 if this is already default true in 1.21+, then I think this is probably fine right?
@howardjohn SetForTest probably helps reduce the overhead, but probably moot at this point IMO

SetForTest doesn't work in e2e tests

Unless we expose a debug interface for it :thinking: except we probably don't handle them dynamically changing (in unit tests, we change it before any setup

Ah this is for e2es you're right 🤔 yeah the separate test suite for each dependent test is a pain but doable if needed. +1 that dynamically changing likely breaks a lot of our assumptions using these feature flags

I think there are 2 things here: 1) how to prevent future changes that make assumptions and 2) what to to about existing assumptions.
For 1: how about a new test suite in CI called istioPreInstalled or something with different settings (namespaces, labels, selectors, etc) that runs various integration tests.
The idea here is to preemptively catch PRs / corresponding e2e changes that make assumptions about certain settings being enabled.
If this is overkill, we can instead add a checklist with "e2e best practices/guidelines" for PRs that touch the e2e dir.
For 2: I don't have a great answer besides adding more CLI flags for running the tests like we did for the ingress / egress gateways and systemNamespace - then the tests would have logic and conditionals to handle diff values accordingly.

I lost track of this, but let's track it for 1.23.


feat(Locomotion): translate play area jump into game jump - resolves #393

Adds the player jump script, and demo scene 040 to exercise it.

You've been beaten to the finish line, the other PR with example scene 40 is now merged.
You'll have to go to 41 :(

Ha! Ok - will pick it up when I get home.

Hopefully I will not miss the boat again - modified to 41 in comments and scene number

!!  I have some repairs to apply to this ( and which I am putting through their paces in the example scene ) - you should delay pulling until I can get them integrated ( probably wed the 12th )

Let me know when this is ready to review

Jump is fairly reliable, and somewhat simplified ( i think there is plenty to do there ), but there is a nagging issue that remains.  While jumping from column to column in the demo,  I keep teleporting to the ground, I suspect because of code in HeightAdjustTeleport ( Update method ).  I can add code to jump and to heightadj. teleport to listen for jumping, and add that to the growing list of things in IsExternalSystemManipulatingPlaySpace(), but this feels awkward.  I am wondering whether playerPresence has a part to play in negotiating among all these competing behaviors.  I have been trying to think of a nice pattern that would allow for extensibility ( I am contemplating a glide behavior, for example ) without cluttering up the height adj or player presence with a bunch of listeners.
External perspectives are welcome!

Maybe an interface IModifiesPlayspace which expects ChangingPlayspace and DoneChangingPlayspace?

HeightAdjust doesn't prevent you from climbing and then launching yourself into the air (this is how I "jump" from rope to rope in the demo), or simply falling off of high points (you fall, not snap immediately to the ground below), so clearly this is doable within the existing framework?

Ok, issue is def. related to HeightAdjust - it goes away when that is not configured.  I will run it down.


_values:compvalues:10: invalid value definition:

Typing pass + Tab, I get above error:
$ pass ⇥
_values:compvalues:10: invalid value definition: internet/slack/foo
_values:compvalues:10: invalid value definition: internet/slack/foo
 $ pass
--clip
-c
-- put it on the clipboard
--clip
-c
-- put it on the clipboard
--help     -- Output help message
--version  -- Output version information
cp        -- Copy the password
edit      -- Edit a password with $EDITOR
find      -- Find password files or directories based on pattern
generate  -- Generate a new password using pwgen
git       -- Call git on the password store
grep      -- Search inside decrypted password files for matching pattern
help      -- Output help message
init      -- Initialize new password storage
insert    -- Insert a new password
ls        -- List passwords
mv        -- Rename the password
rm        -- Remove the password
show      -- Decrypt and print a password
version   -- Output version information

If this has been resolved in another way please let me know, but I had a similiar issue today.
It looks like the autocompletion doesn't like special characters like spaces or braces. Simply renaming the file fixed it.

I recently hit this issue.  Specifically:
_values:compvalues:11: invalid value definition: ['8y/ mnn;hbn.,.jhmn l;tgvh
_values:compvalues:11: invalid value definition: ['8y/ mnn;hbn.,.jhmn l;tgvh

Removing zplug "lib/completion", from:oh-my-zsh removed one of the errors, but not both.  I'm fully up to date (even pass 1.7.4) on everything, and still get it after removing every plugin I have in zsh.  I get this even with an empty .zshrc


Header normalisation and request fixes

Description
This PR tackles a lot of RFC violations, most notably making the headers normalised on both Request and Response. This means that Content-Type is the same header as content-type, as defined by the RFC. Furthermore it fixes the special behaviour for Cookie, which should be joined by a ; as per the RFC, and the other listable headers by a ,. Some headers can always only be a single value, and that is also enforced.
Some of these were already closed with a temporary workaround, but this:
Fixes #478
Fixes #474
Fixes #473
Fixes #472
Fixes #413
Fixes #408 / Reverts "API"
Fixes #392
It is important to understand that this:

reverts the behaviour of header being overwrite by default. Overwriting a header is far more common than appending. The behaviour is supported by a new function appendHeader which does exactly what it says.
completely stops baseHeaders from being applied, if the request has them. We might want to change this to always ADD the `request headers to the base headers. I think the replace approach is more intuitive.
adds accessors ([header]= and [header]) to request and a getter [header] to response

What can be done further?

This PR breaks header("duplicate" => "a", "duplicate" => "b"), which sets duplicate to b. The variant appendHeader("duplicate" => "a", "duplicate" => "b") does set both values. If someone has a clever idea how to "isolate" appends to the map/pairs provided, that would be great.
Cookies returned via Set-Cookie should be handled by a CookieJar #263
Parameters should probably get their own structure, easy to convert to, as well.

Type of change
Check all that apply

[X] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Refactoring (a change which changes the current internal or external interface)
[X] This change requires a documentation update

How Has This Been Tested?
Tests have been changed where necessary, but ALL the other tests pass without change.
Checklist:

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation, if necessary
[X] My changes generate no new compiler warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[ ] Inspect the bytecode viewer, including reasoning why

It doesn't like Wildcard import :)

Do you feel that some more unit tests are needed?
@markGilchrist defo.

I first wanted to get everyone's thoughts on this as it is quite a big change. Don't want to overstep anyone or anything, but working to a more RFC compliant Fuel. If this PR is appreciated and approved, it opens the door for my streams input and output PR which solves another array of issues.

Tests are coming!

🏃 tests and documentation added, please review and perhaps merge!

Yes sure. I'll make it a map with default false. That way it's O(1)!
On Sun, 28 Oct 2018, 18:47 Mark Gilchrist<EMAIL_ADDRESS>wrote:

@markGilchrist commented on this pull request.
In fuel/src/main/kotlin/com/github/kittinunf/fuel/core/Headers.kt
https://github.com/kittinunf/Fuel/pull/481#discussion_r228757806:

           // These headers, per RFC, SHOULD NOT be collapsed into a single value

           HeaderName(SET_COOKIE) -> false

           else -> true

       }

   }

   fun isSingleValue(key: HeaderName): Boolean {

       return when (key) {

           // These headers, per RFC, SHOULD only appear once.

           HeaderName(AGE) -> true

           HeaderName(CONTENT_TYPE) -> true

           HeaderName(CONTENT_LENGTH) -> true

           HeaderName(CONTENT_LOCATION) -> true

           HeaderName(EXPECT) -> true

           HeaderName(EXPIRES) -> true

           HeaderName(LOCATION) -> true

the above implementation is O(n) the only thing that would change would be
the syntax
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kittinunf/Fuel/pull/481#discussion_r228757806, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB35WH_RgX-JsgFiX8AHmkFXF5EGgUO7ks5upe2ZgaJpZM4X5Y5t
.

Oh the test fails though. Lemme check.

com.github.[secure].fuel.RequestHeadersTest > requestHeadersFromReadmeIntegrity FAILED
    java.lang.AssertionError at RequestHeadersTest.kt:29
com.github.[secure].fuel.RequestHandlerTest > httpGetRequestWithMalformedHeaders FAILED
    junit.framework.AssertionFailedError at RequestHandlerTest.kt:67
com.github.[secure].fuel.RequestAuthenticationTest > httpBasicAuthenticationWithValidCase FAILED
    java.lang.AssertionError at RequestAuthenticationTest.kt:82

Something to do with your last commit?

Great!
I would get this merged and then focus on the 2 subsequent body PRs which
basically close half the outstanding tickets
On Mon, 29 Oct 2018, 03:25 Kittinun Vantasin<EMAIL_ADDRESS>wrote:

It looks good to me. I think we should proceed with this so we can solve
users' problem sooner rather than later.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kittinunf/Fuel/pull/481#issuecomment-433769468, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB35WCupMYbLSbgdFiSgmwe9r93PjlR0ks5upmclgaJpZM4X5Y5t
.

I personally like the when syntax better visually. I kinda miss my ternary
:(
On Sun, 28 Oct 2018, 18:51 Mark Gilchrist<EMAIL_ADDRESS>wrote:

@markGilchrist commented on this pull request.
In fuel/src/main/kotlin/com/github/kittinunf/fuel/core/Headers.kt
https://github.com/kittinunf/Fuel/pull/481#discussion_r228757952:

     return this

 }

fun append(key: String, value: Any): Headers {

   // Some headers can not be appended per the RFC

   if (Headers.isSingleValue(HeaderName(key))) {

       set(key, value.toString())

       return this

/**

* Appends a single value [value] to the current values at [header]

*

* @param header [String] the header to append to

* @param value [Any] the value to append, coerced with [Any.toString]

*/

fun append(header: String, value: Any): Headers {

   return when (Headers.isSingleValue(header)) {

       true -> set(header, value.toString())

       false -> set(header, this[header].plus(value.toString()))
   }

would you consider
fun append(header: String, value: Any) = set(header, if(Headers.isSingleValue(header)value.toString() else this[header].plus(value.toString())))
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kittinunf/Fuel/pull/481#pullrequestreview-169102166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB35WOJgkdLAoZmhKi2RScoR-MLwmAmEks5upe6NgaJpZM4X5Y5t
.


Reordered Packages table, and added openSUSE

I actually only meant to add openSUSE, but the table organization was bugging the heck out of me.
It's now sorted by Column A, then Column B alphabetically, which just makes more sense.

Seems reasonable to me!


Column Widget Page should display different alignment options

Right now column page only show one type of main axis alignment, it would be great if the user can see the difference between different type of main and cross-axis alignment

This is great! Would you like to work on this @suryaa62 ?

This is great! Would you like to work on this @suryaa62 ?

yes


spring-boot-liberty: Bump stack version to put src and image in index

Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[x] Updated the stack version in stack.yaml

We made some changes to the behaviour of appsody stack create and appsody stack package in the last release. Now, when you package your stack the fully qualified image is put in the index.yaml along with the source url of the stack. The latter will enable people to copy non public stacks when they run appsody stack create. This PR just bumps the version to put these values in.

I don't think we need this PR as there is a PR on this stack already. I'd rather try and get that merged in.


showEmptyFilters not working

showEmptyFilters does not hide empty filter values with the following config:
window.addEventListener('DOMContentLoaded', (event) => {
    new PagefindUI({
        element: "#search",
        baseUrl: "/",
        showEmptyFilters: false
    });
});

Example:
https://pkic.org/blog/

Bah! I'll take a look 🙂 Apologies

Same issue.  Curiously I can't replicate itwith npm run start from the repo's pagefind_ui/ folder, but building the code with npm run build produces an identical pagefind-ui javascript file to the one created by npx pagefind, and exhibits the same problem when used in my project.

Hello! This is fixed in the Pagefind v0.9.0 release 🎉


[Mac] Runaway CPU usage from 'rg' after opening home directory

I opened by home directory ~/ in VSCode to edit a few bash / git config files and noticed my fans were spinning up and my laptop getting hot. After 10 or so minutes I restarted, opened VSCode and left it running in the background while I checked my email, only to notice the fans were spinning up again.
Activity Monitor shows the following usage:

This process, rg, is owned by VSCode and some searching shows it's for indexing. I ran sudo opensnoop -n rg to see what it was up to, noticed it was indexing cache, my photos, all sorts of random stuff, then realized it was indexing my whole user directory / library and this is what was killing my CPU.

VSCode Version: 1.24.0
OS Version: 10.13.5 (17F77)

Steps to Reproduce:

Open Visual Studio Code
Select FIle > Open…
Select user's home folder

Does this issue occur when all extensions are disabled?: Yes

This is most likely from an extension looking for a certain filetype. Can you confirm this by getting the arguments for those rg processes? Either from the process viewer in vscode or ps.
https://github.com/Microsoft/vscode/issues/34711

This is what running ps on the pid of one of the instances shows, I see PHP but I don't know what that tells me:
rg --files --hidden --case-sensitive -g **/*.php --no-ignore --follow --quiet -- .
 If I re-enable (PHP IntelliSense)[https://github.com/felixfbecker/vscode-php-intellisense] then the errant `rg` processes return quickly.

Ok, yes this is exactly what #34711 is for


ZeroNet integration

ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network
http://zeronet.io

I particularly like it because it has a clever JavaScript layer to allow you to build sites with data storage that give the impression of centralised hosting, but in fact store all the backend data in the same P2P manner as the site HTML.
I've opened a ticket over there too: https://github.com/HelloZeroNet/ZeroNet/issues/530

ZeroNet gave a great demonstration at the DW Summit. I'd be happy to help this happen.

Where is the project for Zeronet integration ?

It's not on my roadmap at the moment.

Related: Namecoin Support #260


changed the package family name reference to the new one

@javiddhankwala,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@javiddhankwala, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot


Change "STATE" to "STATE_LABEL" to avoid dbms warnings

Also, we will not anymore use any temporary tables as there seem to be problems accessing them in MSSQL through DatabaseConnector


setup coffescript html parsing

Hi @esnunes do you know how to tweak this in webpack config?
This works when I add this to riotjs-loader https://github.com/muut/riotjs/issues/751
riot.parsers.js.coffeescript = riot.parsers.js.coffee;

return riot.compile(content, options);

I need  to parse html with this type
<script type="text/coffeescript">
    @test = 'riotjs awesome'
</script>

Try adding query: { type: "coffee" } to your definition.
For example:
preLoaders: [
    { test: /\.tag/, loader: "riotjs", query: { type: "coffee" } }
]


Misaligned memory accesses cause hard faults on 32 bit M0 platform

This one took me a while to track down, but things stopped working when I moved code from Linux to the Cortex M0 nRF51822 BLE chip. I tracked this back to db_qmm_falloc() and db_qmm_balloc(). Basically, if something tries to allocate a buffer of a size not a multiple of 4, when the alloc() functions try to write the size to the beginning of the allocated area, it causes a misaligned memory access:
*((db_int*)(mmp->last_back)) = size;

My quick and dirty workaround is to convert size to the next biggest multiple of four:
db_int blob = size+sizeof(db_int);
if (blob % 4 != 0) {
    blob += (4 - (blob % 4));
}
size = blob - sizeof(db_int);

and throw that near the beginning of the alloc() functions.
I have no idea if that actually fixes anything or just masks issues temporarily. I've ran one SELECT statement that I got to work with that change in there, but haven't done any more than that (I wanted to get this posted so I didn't forget). It's entirely possible that this is the best solution and that all later accesses are safe.

I will add automatic alignment as an option (with #define). I've never tested with ARM processors and so alignment was never an issue. Thank you again.

@bradjc I tried to compile this using arm-gcc for cortex m0, and the size is too big (about 100KB). It seems you made it work with cortex m0, what sort of compiler and options are you using?

Hi @kazetora,
It looks to me as if this isn't the same issue (though you will have the same problem that @bradjc mentions here; copy and paste his code just before lines 61 and 112 in src/dbmm/db_query_mm.c).
If you haven't already, try not compiling with any print statements. The most recent merge should make this simple, or you can use db_ctconf.h and set #define DB_CTCONF_SETTING_FEATURE_ERROR_MESSAGES 0 (presently line 116).
That should make everything work.


nest form item lost auto tips

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-qrf7ef
Steps to reproduce
click submit button
What is expected?
show required error message in second form
What is actually happening?
only border error style

Environment
Info

ng-zorro-antd
9.3.0

Browser
Microsoft Edge 84.0.522.40

use form control autotips prop


x/tools/cmd/gorename: doesn't update comments

Let foo.go be:
package main

// Foo does nothing.
func Foo() {}

Running gorename -offset foo.go:#40 -to Bar does update the function definition, but not the comment, as such:
package main

// Foo does nothing.
func Bar() {}

This would be the desired output:
package main

// Bar does nothing.
func Bar() {}

Duplicate of #13000


how i can do about this error?

OS: macOS latest
Browser: chrome latest
Nuxt version: 3.8.1
@iconify/tools version - 3.0.7

issue

I used the importDirectory function in nuxt3 and I get this error in the iconify internal function

so, Below is the part that uses importDirectory

<script setup>
import { importDirectory } from '@iconify/tools'

const iconSet = await importDirectory('../assets/icons', {
  prefix: 'datamaker'
})
console.log(iconSet)
</script>

In the terminal, you'll get an error like this

That function can be used only on server, not in browser. You are trying to use it in browser.

oh!... i see! thanks for your answer

That function can be used only on server, not in browser. You are trying to use it in browser.

Oh, sorry!!! Is the server you're referring to the backend?

You need to run that import script separately to generate file, write that file, then use that file in your project. Do not bundle script that imports it.


Add context option support: closure call with this

The capability to grab any node is already available:
const element = (

);

const child = element.querySelector('.child');
// Or in your case:
this.child = element.querySelector('.child');

I may be misunderstanding your use case, of course.

I'm going to close the pull request. Feel free to reopen it if you have the time to explain your use case!


[🐛 BUG] scenario_selector visual element has inactive edit button

What went wrong? 🤔
I'm trying out the scenario_selector visual element. I'm working with Taipy develop, I pulled and installed it in a new env yesterday. The editing button doesn't seem to work.
When I click on "Add Scenario", it works, overall it looks fine.
But the edit button (the little pencil) is grayed out (I can see it, and when I hover over it,  it says "Edit Scenario"). When I click on it, it triggers the on_change function but doesn't open the edition panel.
Expected Behavior
The edit button should be clickable, and open the edit pane.
Steps to Reproduce Issue
Here is a sample, but I think any scenario_selector has the problem.
        tgb.scenario_selector(
            value="{None}",
            show_pins=True,
            on_creation=add_scenario,
            on_change=run_scenario,
        )

Screenshots

Runtime Environment
Windows 10, I used Python 12 within Anaconda, Taipy develop
Browsers
Brave
OS
Windows
Version of Taipy
develop (4)
Additional Context
I can't select the pencil button, so there are no logs or errors either.

Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%.
[ ] Create related issue in taipy-doc for documentation and Release Notes.

Code of Conduct

[X] I have checked the existing issues.
[ ] I am willing to work on this issue (optional)

Hello Mr @enarroied :)
I want to work on this issue.
Please assign me!
Thankyou!

This issue is already assigned and fixed

This issue is already assigned and fixed

Okay, thank you for letting me know!


[QUESTION] v8.0.0-beta.13 estimated release date

Environment

Operating System: Darwin
Node Version:     v18.16.0
Nuxt Version:     3.6.1
Nitro Version:    2.5.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      devtools, css, routeRules, runtimeConfig, modules, pinia, app, nitro
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://github.com/LeonardoRick/temp-nuxti18n-bug
Describe the bug
Is there some reason why this major bugs are taking some time do be addressed? I'm new with nuxt and It seems like the dream framework but I'm struggling with basic things like:

Just run the quickstart application with both packages latest version (nuxt and @nuxtjs/i18n)
deployment on cloudflare

I wish I had more knowledge so I could also help on this changes. I'm still figuring out how to be helpful because, in my use case, would be awesome to have this things fixed as soon as possible.
That said, Is there some new version already planned to be published? I've seen there's no update on the package for more than a month and, since those bugs are quite impactful, would be nice to have estimation about it.
Thanks for the great lib and to make coding something nice and easier!
Additional context
The repo provided is a basic example of me just creating a quick-start project that triggers the type: module bug referred on the description.

Thank you for your feedback!
I've worked on this vue-i18n PR.
https://github.com/intlify/vue-i18n-next/pull/1434
This PR fundamentally solves many of the issues that are causing the nuxt i18n module.
I'm just done and will be integrating this from now on. I estimate that I can have the next release by mid July at the earliest, or by the end of July at the latest.
This issue is closed because it's duplicate issue.

@kazupon thanks for the answer. It seems that the beta13 don't fix the "type": "module" bug (ref). Since you marked this as a duplicate, can you please provide me a link of the issue that is supposed to fix that so I can track it's fixing as well? Thanks!


Gather cacheability logic into CachePolicy to provide an extension point for custom cache logic.

In order for the CachePolicy interface to be useful as an extension point, we need to gather all the logic that it's supposed to control into an implementation of CachePolicy, which is CachePolicyImpl in this PR. This PR is a large reorganization effort more than new functionality.
Commit Message: Gather cacheability logic into CachePolicy to provide an extension point for custom cache logic.
Additional Description:
Risk Level: Medium. CacheFilter is not a critical filter, but this is a very large change to CacheFilter.
Testing: Unit, integration

can you merge main?

/wait

@capoferro i see that the proto_format job is not uploading the diff fix correctly - i have a fix for this which i will PR shortly

and the error message about "tools/extensions/extensions_check.py" should read "tools/extensions/extensions_schema.yaml"

fix for proto_format diff is here #21896

Looks like format still needs a tweak?
/wait

/wait


💄 Typography improvements

Use same medium heading style like the Marketing site
Adjust spacing between paragraphs and headings

Screenshots of changes
Docs article pages
Before

After

More consistent font for table of contents
Heading 2+ uses Medium weight

Homepage and footer
Before

After

Use medium weight headings.

Is this PR still relevant, @olyism? If not, we can close it.

hi @mbelton-buildkite apologies I've left this around too long. Closing this as we'll address typography during Docs Week.


EarlyStopping: min_delta document description error

🐛 Bug

Actually, changes equal to min_delta will also do not qualify as an improvement.
According to the source code

Here, monitor_op is lt or gt, rather than lte or gte. Which means changes equal to min_delta won't qualify.

so I think we simply want to update the docs, right?
For example, when min_delta = 0 and let's say the metric stays exactly constant, we don't want to see that as an improvement: 0 = abs(current - base) >= min_delta = 0. Otherwise we would never early-stop.
Hence, we want to keep comparison using strict relation operators.
Is my reasoning ok?

@awaelchli I can do this if its ok.

sounds good, please go ahead and ping me for review or any questions you have. appreciated!


API

[ ] REST
[ ] gRPC
[ ] key and secret for each organization

I've started with protos: feature/proto


c/driver/sqlite: AdbcGetConnectionGetTableTypes() uses string not uint8 for table_type

https://github.com/apache/arrow-adbc/blob/ebcb87d8df41798d82171d81b7650b6bdfbe295a/adbc.h#L940-L954 says table_type is uint8 but the SQLite driver uses string: https://github.com/apache/arrow-adbc/blob/ebcb87d8df41798d82171d81b7650b6bdfbe295a/c/driver/sqlite/sqlite.c#L1053-L1077

I might be mistaken, but that says utf8 not uint8 (that is confusing though and perhaps we should write out string)

Ah!!! Sorry!!! You're right.


Call another handler in one handler

Hi, I have an A handler it needs to call B and C handler to get specific data. I DI the IMediator in the A handler and call _mediator.Send(new C_Command()) and _mediator.Send(new B_Command()). There are specific API use B and C directly, so I wouldn't like to put B and C logic in A handler.
I'd like to know how to write a unit test for A handle because it needs to DI the IMediator. Or use mediator in the handler is a bad approach? If so, I need to write static functions Static_B() and Static_C() and call these function in the A, B, C handler.
I get the same situation when I need to publish a notification by _mediator.Publish() in the handler. I need to DI it but don't know how to write a unit test.
I love MediatR, I'd like to know the best clean architecture. Thanks a lot.

I try not to send requests from inside requests - it gets a bit messy, and it's not clear if the common behavior is a "top-level" request or not. Instead, treat that common behavior as something to refactor to a common class or method.

See more here:
https://lostechies.com/jimmybogard/2016/12/12/dealing-with-duplication-in-mediatr-handlers/

@jbogard Appreciate your article!
I also find this article very useful.

Hello @jbogard
This link does not open
https://lostechies.com/jimmybogard/2016/12/12/dealing-with-duplication-in-mediatr-handlers/

Thanks, working on it!


mitxonline ecommerce tables

We want to import mitxonline ecommerce data into ol-data-platform
This PR adds
int__mitxonline__ecommerce_line
int__mitxonline__ecommerce_order
int__mitxonline__ecommerce_product
int__mitxonline__ecommerce_transaction
stg__mitxonline__app__postgres__ecommerce_transaction
stg__mitxonline__app__postgres__ecommerce_line
stg__mitxonline__app__postgres__reversion_revision
stg__mitxonline__app__postgres__reversion_version
stg__mitxonline__app__postgres__ecommerce_order
stg__mitxonline__app__postgres__courses_programrun
stg__mitxonline__app__postgres__ecommerce_product
stg__mitxonline__app__postgres__django_contenttype
I think we don't need to import ecommerce_basket, ecommerce_basketitem and ecommerce_basketdiscount since the data in those tables is transitory (only open baskets)
I will have a follow up pr with ecommerce_discount and related tables, as well as the flexiblepricing_ tables

I think we don't need to import ecommerce_basket, ecommerce_basketitem and ecommerce_basketdiscount since the data in those tables is transitory (only open baskets)

Can you elaborate ?
I remember marketing folks asked once about syncing the basket with hubspot (so they can sen and email to people with courses pending in the basket .

@Ferdi You're right that's a good use case for the basket tables


TensorBoard build failure on Jenkins

TensorBoard build has failed for quite a while in Jenkins now. The failure seems to have to do with gulp config, for example:

[16:46:28] Using gulpfile /workspace/tensorflow/tensorboard/gulpfile.js
[16:46:28] Task 'compile.all' is not in your gulpfile
[16:46:28] Please check the documentation for proper gulpfile formatting

For full build log, see example: http://ci.tensorflow.org/job/tensorflow-master-tensorboard/161/console
Environment info
Operating System: Linux + Docker
Installed version of CUDA and cuDNN: Not applicable.
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide: N/A
To reproduce locally:
tensorflow/tools/ci_build/ci_build.sh TENSORBOARD tensorflow/tools/ci_build/builds/tensorboard.sh

@danmane Can you take a look?

Ah, I know what the problem is. Will fix.

@danmane Gentle ping. Any ETA to fix?

@danmane says he's still working on the fix.

I believe this was fixed.


Add Mocodo to Entity-Relationship diagramming tools

My own tool adopts a mixed approach to the layout problem : diagram-as-text, but the line breaks and the order of the boxes (entities and relations) are used as position hints. The resulting layout is constrained to an invisible grid corresponding to a left-to-right and top-to-down reading of the source.
Moreover, since there are relatively few possible grid positions, automatically rearranging the layout becomes an assignment problem, which can be solved by a simple b&b algorithm.
Obviously, this wouldn't scale, but this is just a teaching tool that I use to present small ERDs to my students.
You may test it at https://mocodo.net/. Click the turning arrows symbol to draw the diagram and the shuffle symbol to rearrange it randomly.
Warning: French-flavored ERD, aka Merise MCD.

thank you!


Providers not returning correct search results

Torrentio fails to find the show "1000-lb Sisters" (S05E03 to be exact) on multiple torrent providers except TPB, despite the show being available on many providers and all providers selected in Torrentio options.
Steps to Reproduce:
Open Torrentio.
Search for "1000-lb Sisters" (S05E03)
Observe results only from TPB.
Additional Information:
Other shows do not exhibit this issue.
Issue seems specific to "1000-lb Sisters."
This seems to be related to metadata
PS: Thanks for the awesome app - your hard work is appreciated. Set up a Patreon please.

The main source for this show is eztv and there it's metadata is mapped to incorrect imdbID https://eztvx.to/shows/42502/1000-lb-sisters/
For now I'll block this imdbId so that it would find the correct one via search.


Error while trying to insert a record

LOG
E/flutter (21585): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: LateInitializationError: Field '_db@1324164674' has not been initialized.
E/flutter (21585): #0      Sqlite3Delegate._db (package:drift/src/sqlite3/database.dart)
package:drift/…/sqlite3/database.dart:1
E/flutter (21585): #1      Sqlite3Delegate._runWithArgs
package:drift/…/sqlite3/database.dart:110
E/flutter (21585): #2      Sqlite3Delegate.runInsert
package:drift/…/sqlite3/database.dart:127
E/flutter (21585): #3      _BaseExecutor.runInsert.<anonymous closure>
package:drift/…/helpers/engines.dart:99
E/flutter (21585): #4      _BaseExecutor._synchronized.<anonymous closure>
package:drift/…/helpers/engines.dart:51
E/flutter (21585): #5      new Future.sync (dart:async/future.dart:301:31)
E/flutter (21585): #6      Lock.synchronized.callBlockAndComplete
package:drift/…/utils/synchronized.dart:17
E/flutter (21585): #7      Lock.synchronized.<anonymous closure>
package:drift/…/utils/synchronized.dart:21
E/flutter (21585): #8      _rootRunUnary (dart:async/zone.dart:1434:47)
E/flutter (21585): #9      _CustomZone.runUnary (dart:async/zone.dart:1335:19)
E/flutter (21585): <asynchronous suspension>
E/flutter (21585): #10     InsertStatement.insert.<anonymous closure>
package:drift/…/statements/insert.dart:74
E/flutter (21585): <asynchronous suspension>
E/flutter (21585): #11     InsertStatement.insert
package:drift/…/statements/insert.dart:73
E/flutter (21585): <asynchronous suspension>
E/flutter (21585): #12     DealCardState._buildDealCardAddFavoriteButton.<anonymous closure>.<anonymous closure>
package:deal_hunter/…/widgets/deal_card.dart:530
E/flutter (21585): <asynchronous suspension>
E/flutter (21585):

MY CODE
import 'dart:io';

import 'package:drift/drift.dart';
import 'package:drift/native.dart';
import 'package:path/path.dart' as path;
import 'package:path_provider/path_provider.dart';

part 'deals_favorites.g.dart';

class Favorites extends Table {
  TextColumn get title => text().nullable()();
  TextColumn get dealId => text().customConstraint('UNIQUE')();
  IntColumn get storeId => integer().nullable()();
  RealColumn get salePrice => real().nullable()();
  RealColumn get dealRating => real().nullable()();
  RealColumn get normalPrice => real().nullable()();
  RealColumn get savings => real().nullable()();
  BlobColumn get dealImage => blob().nullable()();
  BlobColumn get storeIconImage => blob().nullable()();
  IntColumn get steamRatingPercent => integer().nullable()();
  IntColumn get lastChange => integer().nullable()();
  IntColumn get releaseDate => integer().nullable()();
  IntColumn get metacriticScore => integer().nullable()();
}

@DriftDatabase(tables: [Favorites])
class AppDatabase extends _$AppDatabase {
  AppDatabase() : super(_openConnection());

  @override
  int get schemaVersion => 1;

  Stream<List<Favorite>> getAllFavorites() => select(favorites).watch();
  Future<void> addToFavorites(Favorite favorite) =>
      into(favorites).insert(favorite);
  Future<void> removeFromFavorites(String dealsId) =>
      (delete(favorites)..where((fav) => fav.dealId.equals(dealsId))).go();

  Stream<bool> isFavorite(String dealId) {
    return select(favorites).watch().map((favoritesList) =>
        favoritesList.any((favorite) => favorite.dealId == dealId));
  }
}

LazyDatabase _openConnection() {
  return LazyDatabase(
    () async {
      final dbFolder = await getApplicationDocumentsDirectory();
      final file = File(
        path.join(
          dbFolder.path,
          'db.sqlite',
        ),
      );
      return NativeDatabase(file, logStatements: true);
    },
  );
}

Thanks for the report. Nothing stands out from the code (it looks very similar to some examples in this repository that work). Could you check which drift version you're using? Also, do you know what the first query is? Is anything being logged before that? What are you doing in DealCardState._buildDealCardAddFavoriteButton.<anonymous closure>.<anonymous closure>?

I'm using the latest version of drift 1.7.0

Any information on the method you're calling first? Can I copy your code and just call any method to reproduce it?
And just out of interest, does the error go away if you delete your app's data? Perhaps the database is broken (but in that case drift should still report a much better error).

I have a button to favorite or unfavorite an item.
StreamBuilder<bool> _buildDealCardAddFavoriteButton(AppDatabase appDatabase) {
   return StreamBuilder<bool>(
       stream: appDatabase.isFavorite(widget.dealId!),
       builder: (context, snapshot) {
         if (snapshot.hasData && snapshot.data!) {
           return SizedBox(
             height: 40,
             child: OutlinedButton(
               style: Theme.of(context).outlinedButtonTheme.style!.copyWith(
                     side: MaterialStateProperty.all(
                       const BorderSide(
                         color: AppDarkThemeColors.favoriteColor,
                       ),
                     ),
                   ),
               onPressed: () async {
                 showDialog(
                   context: context,
                   builder: (context) => AlertDialog(
                     title: const Text('Confirm'),
                     content: const Text(
                       'Are you sure you want to unfavorite this deal?',
                     ),
                     actions: [
                       TextButton(
                         onPressed: () {
                           Navigator.of(context).pop();
                         },
                         child: const Text('Cancel'),
                       ),
                       OutlinedButton(
                         onPressed: () async {
                           await appDatabase
                               .removeFromFavorites(widget.dealId!);

                           Navigator.of(context).pop();

                           setState(() {
                             isExpanded = false;
                           });
                         },
                         style: Theme.of(context).outlinedButtonTheme.style,
                         child: const Text('Unfavorite'),
                       ),
                     ],
                     titleTextStyle: Theme.of(context).textTheme.headline6,
                   ),
                 );
               },
               child: const Center(
                 child: Icon(
                   DealHunterIcons.star,
                   color: AppDarkThemeColors.favoriteColor,
                   size: 18,
                 ),
               ),
             ),
             // ),
           );
         } else {
           return SizedBox(
             height: 40,
             child: OutlinedButton(
               onPressed: () async {

                 // Load interstitial ad when every user save the deal as favorite

                 // await loadInterstitialAd();

                 final image = widget.thumb!;

                 final storeIcon = '$iconsUrl${widget.storeId! - 1}.png';

                 final dealImage = await convertToUnit8ListImage(url: image);
                 final storeIconImage =
                     await convertToUnit8ListImage(url: storeIcon);

                 await appDatabase.addToFavorites(
                   Favorite(
                     title: widget.title,
                     steamRatingPercent: widget.steamRatingPercent,
                     dealId: widget.dealId!,
                     storeId: widget.storeId!,
                     salePrice: widget.salePrice!,
                     dealRating: widget.dealRating!,
                     normalPrice: widget.normalPrice!,
                     savings: widget.savings!,
                     dealImage: dealImage,
                     lastChange: widget.lastChange!,
                     releaseDate: widget.releaseDate!,
                     storeIconImage: storeIconImage,
                     metacriticScore: widget.metacriticScore,
                   ),
                 );
               },
               style: Theme.of(context).outlinedButtonTheme.style,
               child: const Icon(
                 DealHunterIcons.star,
                 size: iconSize,
               ),
             ),
           );
         }
       });
 }

The button will end up in a row of buttons
...
child: Row(
          children: [
            _buildDealCardGoToDealButton(dealIdUrl),
            const SizedBox(
              width: 8,
            ),
            _buildDealCardShareButton(dealIdUrl),
            const SizedBox(
              width: 8,
            ),
            _buildDealCardAddFavoriteButton(appDatabase),
          ],
        ),
...

The app was working until i upgraded from flutter 2 => flutter 3, and I have no idea with i going on!

The app was working until i upgraded from flutter 2 => flutter 3, and I have no idea with i going on!

Just to rule it out, have you tried re-running build_runner?
flutter pub run build_runner clean
flutter pub run build_runner build --delete-conflicting-outputs

This thread has not had any activity in over a year and doesn't contain anything we can to reproduce this issue locally.


test(CellarRouter): add test for depositAndSwapIntoCellar

Testcases to Cover

[ ] Test swap before depositing using Uniswap V2 router on mainnet fork.
[ ] Test swap before depositing using Uniswap V3 router on mainnet fork.

Test comment

Closed and merged by @crispymangoes here.


⚠ Bofrost.fr has degraded performance

In d3d4c95, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 971 ms

Resolved: Bofrost.fr performance has improved in c77b723 after 6 minutes.


Fixes error assignment

err is undeclared at this stage, thus proper assignment is required

@googlebot I signed it!

Thank you for the PR! Let us know if you find anything else we can improve in the future.


Release v0.0.2

Releasing v0.0.2:

Use LookupError exception
Fix security vulnerability dependencies
Fix issue when creating Slacker instance without token

Coverage remained the same at ?% when pulling 46f2c3f39df60e7c89eb98fe2e60924ba998729b on release/v0.0.2 into 1bb9d9538044d62a1e5ce1b5109c412388cfd60e on master.

Coverage remained the same at ?% when pulling 46f2c3f39df60e7c89eb98fe2e60924ba998729b on release/v0.0.2 into 1bb9d9538044d62a1e5ce1b5109c412388cfd60e on master.

Coverage remained the same at ?% when pulling 46f2c3f39df60e7c89eb98fe2e60924ba998729b on release/v0.0.2 into 1bb9d9538044d62a1e5ce1b5109c412388cfd60e on master.

Coverage remained the same at ?% when pulling 46f2c3f39df60e7c89eb98fe2e60924ba998729b on release/v0.0.2 into 1bb9d9538044d62a1e5ce1b5109c412388cfd60e on master.


I'm having an issue when I try to make bootstrap

Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/username/SourceTree/ios-oss/Carthage/Checkouts/Kickstarter-ReactiveExtensions/ReactiveExtensions.xcodeproj -scheme ReactiveExtensions-iOS -configuration Release -derivedDataPath /Users/username/Library/Caches/org.carthage.CarthageKit/DerivedData/11.2.1_11B500/Kickstarter-ReactiveExtensions/c3ce269fd2dd14b8d63ce1bc5b78f7397c0c0753 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/jh/d1w9zthn497fcvz9ytqq1rjr0000gn/T/Kickstarter-ReactiveExtensions SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/username/SourceTree/ios-oss/Carthage/Checkouts/Kickstarter-ReactiveExtensions)

same :(

Please use Xcode 10.3 for now, we haven't had time to update the project to compile with Xcode 11 yet.

Please use Xcode 10.3 for now, we haven't had time to update the project to compile with Xcode 11 yet.

Thx :)


Feature: Member Access Level Update

What does this PR do and why?
Describe in detail what your merge request does and why.
Added in functionality to allow a member's access level to be updated from the group and project members listing page using turbo_stream. Using turbo_stream allows us to update just the access level select box for the particular member that is being updated rather than having to do a full page reload.
A few other UI related things were added in such as an 'It's you' tag next to any member listing which matches the current user, as well as, an updated_at column to the projects and group members tables/
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
Error when attempting to set a lower access level for user than they have in a parent group:

Success message when an update is successful:

It's you tag next to the member which matches the current user and the updated_at column:

How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
To test this out:

Create a group and add a few members with different access levels
Create a project under the above group and add members with the same roles
Try to update a project member's access level to any other role other than owner when they have membership in the group as an owner
You should be presented with an error such as in the first image under the screenshots section
Try updating other members access levels which don't have a higher access role in a parent group. They should update without error. To ensure that the role is actually being updated you can keep an eye on the server logs in the terminal. You should see a logging statement such as UPDATE "members" SET "access_level" = $1, "updated_at" = $2 WHERE "members"."id" = $3. You should also be presented with a success message as in the second image under the screenshot section

For further information on how permissions work in IRIDA Next, view the docs for  Member Permissions
Things to verify:

A maintainer can update other member's access levels up to the Maintainer access level. Can sign in using<EMAIL_ADDRESS>which is only a maintainer on groups and projects to test this out.
A maintainer or owner cannot update their own access levels
A maintainer cannot update a member that has the owner access level
Setting an invalid value for a select option (using chrome -> inspect element) for one of the access levels and then updating the user to that access level should result in an error
A Member's access level in a project which is a part of a group can only be set to a minimum of this inherited access level

I think I may have found an error. I was logged in as a maintainer and I was trying to change another member on the project from analyst to guest. I got a 500 back and a "Content missing" for the drop down. Please see below for the screenshot.

Disregard. I pulled the latest changes and I'm not getting this error anymore.

This is more of a question. It states that "A Member's access level in a project which is a part of a group can only be set to a minimum of this inherited access level". My question is, if a members access changes in the group level to something less than what was already assigned in the project level, should the project level change with the group level access?

As we discussed if a user is a member of a parent group and a member of a project under this group, they can have a lower access level in the group but can have an equal to the lower level and higher access level in the project so they can have full access to the project but we want to limit their actions within the group

This is great!

Thanks! :)


Strategy request: Target block coding at OpenSCAD capabilities

What Happened
Godot now has the same CSG (Computational Solid Geometry) engine as OpenSCAD.  The reason OpenSCAD is so widely known and used is it solves a real problem of being able to quickly generate shapes for 3D printing with a gentle learning curve.  (However, speaking from experience, things get unmaintainably complex once you go much further.)
Block coding would be an perfect interface to this CSG engine, and the result would be more tangible since the operations are expressed in the Godot node-tree where they are easy to tinker with.
I've managed to implement a basic demo of the Menger Sponge using codeblocks (see below) without too many contrived functions at the top level called EXF.
The extra features I need to make this work properly are:

Function calls with arguments
Creating and parenting of new CSG nodes
Setting and getting of CSG attributes (the library currently only handles Node2Ds as a special case)

To get round this I have called into EXF level functions push_s() and pop_s() to implement a stack due to the lack of local function variables, and create_csg() to make a new object, push_child() to parent the last object under the previous one, duplicate_push_last() a contrived compound function for this case, and set_last_orientation().
Once you can do function calls, the EXF level functions are a good place to stage any features in order to discover what is minimal.
I note that function names are text lines, while variables are drag and drop.  It's not clear how to reconcile this.  Although the text lines are more versatile, the drag and drop of names in bubbles is satisfying.  An in-between method is to drag a bubble onto a text line to fill that text line.

How to Reproduce
Project is here csgmanifoldcodeblockstest.zip
Block Coding Plugin Version
v0.7.1
Godot Engine Version
v4.4.dev7 (not yet released)
Operating System
Linux
Logs or command-line output
N/A

Anything else?
My long term goal is to find something as effective as Protoflux in [Resonite](https://resonite.com/features.html] where I often see multiple people working socially on the same complex visual script in VR.
Doing this for the generation of CSG objects that are to be 3D printed is an achievable goal where there is a realistic and good possibility of it becoming a notable success.

@goatchurchprime very impressive!

What Happened
The extra features I need to make this work properly are:

Function calls with arguments

Yes, this needs to be implemented, tracked in #126 . This should be implemented as a new mini editor for the function definition, similar to the current one for defining variables:

Creating and parenting of new CSG nodes

Before adding more blocks it would be nice to have an "Advanced" filter. #282 . For preventing the interface to be too cluttered, and keep it for educational purposes.
In case you would like "3d printing" custom blocks to be shipped separately, see how custom blocks can be defined dynamically in scripts with func setup_custom_blocks(). Which is not great and can be improved: #329 .

Setting and getting of CSG attributes (the library currently only handles Node2Ds as a special case)

I'm happy to say that v0.8 (just released) comes with a feature to drag any property from the inspector to create a block for the attribute. See https://github.com/endlessm/godot-block-coding/releases/tag/v0.8.0
Still, you will probably need Vector3 support: #330

I note that function names are text lines, while variables are drag and drop. It's not clear how to reconcile this. Although the text lines are more versatile, the drag and drop of names in bubbles is satisfying. An in-between method is to drag a bubble onto a text line to fill that text line.

Yes, this can certainly be improved.


Modus NavBar - Include Add icon

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Include the Add icon in the NavBar component.

It is e-Builder's intent to work on this request.
Motivation and context
This would be leveraged to provide quick add functionality.  This would enable our clients to always have access to our quick add feature in a convenient location.
Which npm package?
@trimble-oss/modus-web-components
Priority
Medium
What is the product name the feature is requested for?
e-Builder
What is the team name the product belongs to?
e-Builder
What is the division name the team belongs to?
e-Builder

NavBar - Add Button Proposal
Requirements
An Add button added to NavBar to support e-Builder’s Quick Add functionality
Add button, when clicked, can show content provided through the implementation
This is one of 2 icons that the e-Builder product is looking to add.
Original Implementation
The original design added the Add icon using the same pattern as the other icons. A show-add prop was added to the ModusNavbar component along with an accompanying addMenuOpen event.
It was requested that an alternative approach be created to better support product specific use cases.
Alternative Suggestion
A collection is provided that defines icons to insert into the NavBar. The following schema is suggested:
// An array of items with this definition at minimum
{
  id: string;
  label string;
  icon: string;
}

A label property for tooltips (another issue we are working on), can be omitted until that work is done.
An icon property can function like the SideNav items that accepts either a built-in icon or an image url.
For slots, we can either request the use of

 or request the slot name be provided. A generic wrapper component can be created to wrap a <slot name="{id}"></slot>. This could also replace the existing notifications menu component.
And finally, something like navItemClick or navItemOpen event.
Considerations

Should there be a limit to the number of icons? e-Builder will need potentially 3 icons (Add, Reports, Accessibility... not sure if finalized). If considered, can limiting the amount be considered outside the scope of this work?
Do we only one to support built in icons, so nothing crazy gets added to the NavBar, or is that too restrictive?
Should there be more control on placement?  We are looking to have these icons after the search icon.
Would there be any desire to have some or all of the existing icons (except profile) use this mechanism?  Such as the pendo placeholder, which is outside the current default specification for modus as well.  If considered, can this be outside the scope of this work?

cc @coliff @ryan-henness-trimble
hey @cjwinsor I love the idea of passing an array for navbar icons.

Anything in the below-highlighted group is optional and any team can choose to add or change the order of the elements. So the array configuration will be useful and it can prevent adding separate configurations for tooltips.
.
My only concern is the existing icons notifications and help, also are optional and I would recommend those to be part of the array too.

I think it is okay to not limit the icons at the moment and it's better to accept both the icon name and the icon URL because the existing Modus icons set(https://modus-icons.trimble.com/) is huge and I don't know whether all those icons will be made available inside web components.

I talked to @egunther39  about the placements and you are right about the search icon. Where did you find the text  "...any additional buttons should be placed in-between Search and Notifications"  ?

@msankaran0712 That line about placement was on the Design System Page.
I later saw that the responsive design details indicates the expectation for collapsing the icons, so in theory the count shouldn't matter as long as we implement some collapsing ability when responsiveness is added.
Notifications, Help, and maybe even the pendo placeholder, could be handled in the array.  That could be additional scope later as a planned deprecation, or we could remove them as a breaking change as part of this work.
Any thoughts or suggestions on the name of the array?
Let me know when we are good to start on this change and we'll get it going asap.

It is safe to remove the pendo placeholder.
I suggest we remove notifications and help and add them to the array now, it has to be done sooner or later.
@ryan-henness-trimble Please let us know if you think otherwise.
There is no other reason for delaying this work, once @ryan-henness-trimble confirms we should be good to start :)
For the array's name, maybe items. Please proceed with whatever name you think is appropriate for now.

The Pendo placeholder is good to remove 👍
I like the alternative of passing in the icons as a collection. Here are some schema considerations I thought of:
{
  id: string;
  tooltip: string; // Renamed 'label'
  icon: string;
  orderIndex: number; // Details the position of the icon (so that it is more explicit than array order)
  priority: number; // Details the priority level for responsive collapsing
  menu?: 'pop-out' | 'left-side-bar' | 'right-side-bar' | undefined; // The menu type (if left null/undefined, no menu is provided)
  disabled: boolean; // Whether the icon is disabled
}

Regarding

I think it is okay to not limit the icons at the moment and it's better to accept both the icon name and the icon URL because the existing Modus icons set (https://modus-icons.trimble.com/) is huge and I don't know whether all those icons will be made available inside web components.

As a consumer, I would expect all of the Modus icons to be available through this dynamic collection passed into the navbar. We should consider adding an issue to get the icons added to the IconMap, or possibly consume the @trimble-oss/modus-icons package

We are going to move forward with the following schema for now
{
  id: string;
  tooltip: string; // Renamed 'label'
  icon: string;
  orderIndex: number; // Details the position of the icon (so that it is more explicit than array order)
  menu?: 'pop-out' | undefined;
}

We'll we leaving the existing icons to be deprecated later. We will use the location we had the + icon added as our location to insert in new icons for now.  A new component will be created as well which will serve as a generic pop-out container.

@cjwinsor Closing the issue as we have merged the PR


test pr DCO

Signed-off-by: Sylvain Martel<EMAIL_ADDRESS>

Test to verify DCO was activated, closing this.


Require at least one Epoch in a Deme?

Currently we're implicitly defining a single epoch via some attributes of the Deme class. From a specification/parser writing perspective, it would be considerably simpler to just required the existence of at least one epoch. So, from the examples:
demes:
  constant_size_deme:
    initial_size: 1000

demes:
  constant_size_deme:
    epochs:
    - initial_size: 1000
      end_time: 0

Is the first that much more readable than the second? Are we the models that people will be writing down to contain many demes with just one epoch?

There was some discussion, sorry, I forgot. https://github.com/popsim-consortium/demes-python/issues/133

Are we [expecting] the models that people will be writing down to contain many demes with just one epoch?

That will probably be a frequent occurrence, if these two examples are anything to go by.
https://github.com/popsim-consortium/demes-python/blob/main/examples/gutenkunst_ooa.yml
https://github.com/popsim-consortium/demes-python/blob/main/examples/jacobs_papuans.yml

Thanks @grahamgower, very helpful.
So, I think the earlier discussion was conflating the demes-python implementation and the definition of the specification. There's nothing stopping an implementation keeping start/end time attributes per deme (and I agree this is a useful thing), but it's not necessary from the specification perspective.
The question is, is the slightly more concise yaml description worth the extra complexity? I'm leaning towards "no".

The question is, is the slightly more concise yaml description worth the extra complexity? I'm leaning towards "no".

100% agreed! Having to write epochs: and indent another level doesn't make the yaml any harder to write, nor does it make mistakes any more likely.

@apragsdale, thoughts?

I go back and forth on that issue. To me, the extra lines and indentation are noticeable, but I also think there's something to be said for having the YAML description be more explicit: it forces the user to think in terms of epochs which I think will reduce confusion and implementation errors.
I'm more worried about human-readability and reducing implementation errors than the complexity of the code to parse the reduced representation. But I think we can have both by requiring epochs.

OK, sounds like unanimity so far - @molpopgen, any dissent?

No objection.  Sorry, I'd missed this notification.
On Fri, Dec 4, 2020, 8:11 AM Jerome Kelleher<EMAIL_ADDRESS>wrote:

OK, sounds like unanimity so far - @molpopgen
https://github.com/molpopgen, any dissent?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/popsim-consortium/demes-spec/issues/25#issuecomment-738868878,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQ6OH755WMAL7N6OXQ6HWTSTECT7ANCNFSM4UNE6ETQ
.


remove url-http-client dependency

Issue #120
Description of changes:
Removes explicit use of UrlHttpClient, which causes conflicts when using other http clients in the same project.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Not necessary, see issue.


(feat): ISC support

Released in v2.0.0-Beta7 -> https://github.com/project-openubl/xbuilder/releases/tag/v2.0.0-Beta7


Don't show cd command when session starts

"Bug" may not exactly be the right word here, but I'm requesting that this be changed.
Describe the bug
When I start a tmuxinator session, I see cd /some/path, where /some/path is equal to the value of the session's root. This only appears in the active pane.
To Reproduce
$ echo 'name: issue-782
root: "~/.config/tmuxinator"

windows:
  - Main:' > ~/.config/tmuxinator/issue-782.yml
$ tmuxinator start issue-782

The session starts. I see the following in the active pane:
$ cd /home/openjck/.config/tmuxinator
$

Because Bash sometimes takes a moment to start, I sometimes see this:
cd /home/openjck/.config/tmuxinator
$ cd /home/openjck/.config/tmuxinator
$

Expected behavior
The session starts and I don't see any command in the active pane. The terminal is clean, as if I had just run reset.
Environment

tmuxinator Version: 1.1.3
tmux Version: 3.0a
Ruby Version: 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
OS: Ubuntu 20.04, Linux 5.4.0-40-generic

I have a temporary “hack”
You see, the reason you see the cd command appears at the start of the first pane is because of the root in your project. It is responsible for cd-ing into the directory specified by root.
name: project
root: ~/

My solution is to literally just comment out the root option, this should prevent the cd from happening. The only problem is that if you want to start the project in ~, and you started the project from /usr/share. You would create an entire session with literally every single pane in /usr/share. Not convenient. So the solution to this is that you should before starting the session, cd into the appropriate directory. This should fix it.
Of course I agree with you that when tmuxinator does run the cd command, at least this first pane should be respawned with respawn-pane -k. The cd command being run should appear in the history, but (not sure if this is a bug or not) half of the screen is wiped out from the history every time the command is run, meaning the cd command won't appear in history due to it being not > no. lines of half your screen.

I have the same issue. Don't think it was like this before.
It's kind of strange that it only happens for the first pane in the first window even though I have window-level root for all of my windows.


Backported version calculation fix.

Fixes #336

package-version to 1.14.9
ixml-soversion to 11.0.1
upnp-soversion to 17.1.0
Hopefully these are the correct versions now, and hopefully this is the last missing piece that needs to be backported as the concept of the whole thing changed a lot since this branch, and editing in the browser is a pita.


Docs - Update Sync with GitHub process

Add a description of the Create and Select repository buttons

See this for info about the GitHub App
https://www.notion.so/amplication/Migrating-from-v0-11-to-v0-12-a6a4ead9259243e2b0094e97ec5d65ed


[MXNET-287] ARMv6 build with 8-10 times bigger file size

Description
Debug information and examples were included in the build.
Checklist
Essentials

[x] The PR title starts with MXNET-287
[x] Changes are complete
[x] To the my best knowledge, examples are not affected by this change

Changes

[x] Removed debug info
[x] Removed examples

Comments
Size went down from 318M to 33M for libmxnet.so.

Wow, I didn't expect this to grow the file size THAT big! Thanks a lot!

yes, but not in the lib or?

@larroy what do you mean?

LGTM

Can confirm that the size went down a lot and even more after libomp was removed:

Thanks @lebeg !


networking doesn't recover after macbook was on sleep

Describe the issue
Start a VM with a bridge network adapter, close the macbook, wait a little bit, reopen the macbook the networking doesn't works anymore
Configuration

UTM Version: 4.0.1
macOS Version: ventura
Mac Chip M1 Pro

Workaround
Close VMs & UTM and start it again

I‘v encountered the same issue, have you solved it?

Same with https://github.com/utmapp/UTM/issues/4221
I'm experiencing two issues.

MAC -> VM route configuration disappear when I change network on mac.
I have to do this on mac

sudo ip route add <IP_ADDRESS>/24 dev bridge100

VM -> internet
Don't know why, must close vm and restart.

I am also experiencing this. Existing SSH connections freeze and new SSH connections hang when attempting to make them after sleeping (as well as other TCP connections). Apple M2 Pro, macOS Ventura 13.6, UTM 4.4.4 (92), Ubuntu Server for ARM 22.04.3. Unfortunately this probably makes UTM unusable for my use case.

#5986 might be related

I'm checking to see whether this is solved by simply switching from Ubuntu to Debian. A basic test I tried to do with sleeping for 5 minutes didn't encounter any problems, so hopefully that just works, but I'll have to see if it comes up again with time.

Switching to debian in the VM has fixed this entirely.

I have the same issue with Debian. Mac mini M2.