Add interfaces for DA

Adds leaf, proposal and certificate types for validating and DA.
Refactors existing code to be generic over new types.
Fix tests.

Closes https://github.com/EspressoSystems/HotShot/issues/792, closes https://github.com/EspressoSystems/HotShot/issues/705, closes https://github.com/EspressoSystems/HotShot/issues/706, closes https://github.com/EspressoSystems/HotShot/issues/709, closes https://github.com/EspressoSystems/HotShot/issues/711, closes https://github.com/EspressoSystems/HotShot/issues/715.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: bfish713:x: nmccartyYou have signed the CLA already but the status is still pending? Let us recheck it.


[columnar] Query data spikes CPU usage

Added columnar.max_parallel_processes which will limit max number of processes to be used for query. Default values is set to 0 meaning this will not be considered when planning is done.

What's changed?

Hey @mkaruza, we (at Depot) got an alert about this build running for a long time, so I took a look to make sure things aren't broken on our end.
They don't seem to be broken on our end, the build machine is still reporting healthy and still reporting that it's working on make check-all / still running postgres and using CPU.
But if you're not expecting the tests to take this long, you may want to cancel the Actions run and retry.


Hide not relevant schemas in projects tree

Suppose you have a long list of schemas in a database but you mainly work only with some of them and you don't want to scroll up and down looking for those. It would be cool to have the possibility to hide non relevant schemas, like for example "everything that has TEST% naming"

Filters could be used in this case.
You can read more about it here

Not working for SnowFlake. And actually I ment persistent filter. Don't want to filter each time

You can add your filter globally in the Connections Settings.

Not working for SnowFlake.
Need more details.

@LonwoLonwo thanks for clarifying on how to set up the filters. Is it possible to apply the filter only to a specific database instead of the connection? (e.g. in database XYZ filter only PROD% schemas)

Thanks for the report.
For now Schemas cannot be filtered for the specific DB (for the connection only). The issue is Snowflake specific.
Filters aren't available in the context menu for Database object

Can't toggle/clear filters on connection node

Requires improving the handling of optional meta in the tree. Too dangerous to do that so close to the major release. So additional requirement for that ticket is improvement for using optional meta.


Parser rejects column aliases that Snowflake accepts

For example:
SELECT cluster FROM tbl --> accepted by both Snowflake and the parser
SELECT col cluster FROM tbl --> accepted by Snowflake but not by the parser
SELECT col col_alias FROM tbl --> accepted by both Snowflake and the parser
SELECT col AS cluster FROM tbl --> accepted by both Snowflake and the parser (this one really bakes my noodle...)

The underlying issue here is that when a column alias is provided implicitly, i.e. without the use of the AS keyword, the parser has to decide if the next word after a column ident is an alias or the beginning of some other construct that should be parsed differently.
For example:
SELECT 1 LIMIT on Snowflake produces a result set with one column named limit, but the statement SELECT 1 LIMIT 5 produces a result set with one column named 1 (the limit is parsed as a limit on the number of rows in the result set).
A possible solution is to make this decision more accurate. Instead of looking at just the next word, the parser should look further ahead to identify constructs that should not be parsed as an alias.


Indicate scopes needed for Personal Access Token

This PR adds which scope is required for a new Personal Access Token.
Resolves issue https://github.com/realyze/pr-train/issues/13

Perfect, thanks!


Slow down on hover

Add effect of slowing down in a configurable radius around the mouse pointer

Hi, this sounds really interesting
My instinct says the best way to implement this is to add a conditional to the move method to the effect of
if (options.slowOnMouse && mouseWithinCursorRadius()) {     moveSpeed *= options.slowOnMouseFactor; }
where slowOnMouseFactor is some number between 0 and 1 and mouseWithinCursorRadius() uses container.interactivity.mouse.position and something like an IOptionsInteractivityModeSlowNearCursor to determine whether or not the particle is within the cursor.
Does this sound like the right idea?

Yeah, I was thinking exactly something like this, a 0 to 1 number to multiply to speed calculated with the mouse distance in a specified radius.
I don’t know which effect should be better if an area slowed down entirely at the same speed or something based on the distance from the cursor position. In the second one if you place the cursor on a particle you should stop it or something like this.

Unfortunately the project is not runnable at the moment, the fastest way is using codepen pasting the content of the tsparticles.min.js in the dist folder or hosting the file somewhere to reference it. I have some demos on my codepen profile (https://codepen.io/collection/DPOage) if you need.
For building the dist folder you have to run the npm run build command after a npm install, obviously npm is required.
I'm thinking about some simple testing page because the actual demo hosted at https://particles.matteobruni.it is an ASP.NET Core project with a MongoDB and a Redis cache used also for other personal projects and it's not the simplest solution to share.

Oh good! That's what I thought, I just wanted to make sure. As I'm working on this I will try and brainstorm some ideas for automating the testing process.
Would you mind assigning this issue to me?

Ok, so I think I've implemented this. I have added a parameter for the 'slow factor' which is the number between 0 and 1 that determines the slow-down of the particle when in the radius of the mouse, but I have also implemented linear scaling of speed from the mouse.
So if a particle had a speed of 10, the factor was set to 0.8, the radius was set to 40 and the particle was 20 away, the particle at that instant would have a speed of 10 * 0.8 * (20 / 40) = 4.
I have been unable to test the code properly. I hosted the tsparticles.min.js on a dummy GitHub repo and used the link to the raw in codepen, but it did not work (console log suggested a problem with angular) so I'll make a PR for what I have so far so you can see it, and then I'll try again tomorrow

Ok thanks. The idea it's exactly what I meant, I'll have a look in the morning to see if it's everything ok

I've added a simple demo/test page in this commit https://github.com/matteobruni/tsparticles/commit/bf7ec7c2ef726044b45b4cb158c11911a05297ad on the dev branch, just npm start and go to http://localhost:3000

Sorry @gabrielbarker, I've merged the PR in dev and checked it in the new test page but the performance now are really poor. Can you check it too?

Sorry I've double checked but seems an issue with the shadow test done before, but It seems to not slow down near the mouse. I've pushed the commit https://github.com/matteobruni/tsparticles/commit/3e42fbe24f8f0d0a94de35790f5081d0ab0e129b with a slow test

I believe that, firstly, in the getProximitySpeedFactor method, the first if statement should read
if(!active) return 1;
This should solve performance issues when the slow factor is disabled. The reason, I imagine, that performance drops is that checking the distance between the mouse and a particle is quite expensive. Maybe we could do something a bit cheaper, like checking that
mousePos.x < radius && mousePos.y < radius
I'll take a look later today as I'm currently just finishing my lunch break!
Another thing that may fix it is, instead of checking that
Math.sqrt(dx*dx + dy*dy) < radius
we could try
dx*dx+dy*dy < radius * radius
as they are mathematically equivalent but it removes the need to do the square root

Ok it's fixed now. The if (active) didn't have the ! and the performance are ok, probably the previous test with shadows broke everything.
I inverted the factor, instead of using a value 0...1 I found easier to use a 1...n options and use it 1/n.
Thanks for all

Brilliant! Good thinking,
Thanks for the support!


fix zero len combinations

Fixes https://github.com/yoshuawuyts/const-combinations/commit/825cb1c5871706c702dca345da2475cbe74a609b#r45521952.
cc/ @JakubValtar

Nice, that should do the trick!


Default target version v2

Take 2 on #9600, this time with the DuperModel as the source of truth.

This also requires a change in hosted to write the serverNodeType in configserver-config.xml, but no such file exist currently on a controller node?
With what magic does a controller know it should run with hostedVespa and multitenant? Is there something that generates the config combined with the values from environmental variable? @hmusum

Yes, the config server config is created in https://github.com/vespa-engine/vespa/blob/master/standalone-container/src/main/java/com/yahoo/container/standalone/StandaloneContainerApplication.java#L218, configserver-config.xml will override these.
We should go towards using configserver-config.xml, so if we are not creating that for controller we should start doing that.


Support execution units evaluation for a transaction

This commit adds support for execution units evaluation. I tested the change with a plutus script on testnet. The function worked as expected.

@mathiasfrohlich can you please have a look this?

Hey @cffls
Thanks for the contribution.
I will do some testing, pending a merge.
But from the initial assessment, it looks very good.

Thank you @mmahut @mathiasfrohlich ! Could you please kindly release a new version that include this commit after it is merged? I need this feature in a downstream package. Really appreciate it. 🙏

The code looks very good, will update the package to be fully API version 0.1.37 compliant.

Hey @cffls
New release available 0.4.4 with your code included.
Thanks for contributing to this project.


Load Ifc with the new openbim-components library

I was wondering if there is a tutorial   or examples of how to load an IFC using the new components npm package?

Hi @nachovoss!
I've noticed you're already in That Open People. I kindly suggest you go to Ask the Community for this type of question, you will get the whole community at your disposal to help while also keeping clean the issues list here in the repository. 😁
Hope don't get me wrong with this message. Thanks for participating in the project!

Yes thanks Juan! I posted this before you released the people.thatopen platform. I found all the info there! Thanks for this awesome project!!

I'm closing this! You can find the step-by-step tutorial to load IFC with the latest version of our libraries here. Let us know if you face any issues. Cheers!


fix class variable access from toplevel warnings

Fix class variable access from toplevel warnings:
** [out :: prod-fe-r01] /usr/local/rvm/gems/ruby-1.9.2-p290@puppet/gems/puppet-2.7.10/lib/puppet/provider/service/freebsd.rb:8: warning: class variable access from toplevel
** [out :: prod-fe-r01] /usr/local/rvm/gems/ruby-1.9.2-p290@puppet/gems/puppet-2.7.10/lib/puppet/provider/service/freebsd.rb:9: warning: class variable access from toplevel
** [out :: prod-fe-r01] /usr/local/rvm/gems/ruby-1.9.2-p290@puppet/gems/puppet-2.7.10/lib/puppet/provider/service/freebsd.rb:10: warning: class variable access from toplevel
** [out :: prod-fe-r01] /usr/local/rvm/gems/ruby-1.9.2-p290@puppet/gems/puppet-2.7.10/lib/puppet/provider/service/bsd.rb:12: warning: class variable access from toplevel

@heffergm - thanks for submitting that.  It looks like that is really a constant, just stored as a class variable - it never actually varies.
Even though Ruby constants are not as constant as you might imagine, it would be better to fix this using them, rather than setting a class variable.

I am staring at these warning right now in Puppet 2.7.11 with Ruby 1.9.2 / Ubuntu 10.04, and . . .
It is a really tacky error message, and undermines one's confidence in Puppet.
I agree with @daniel-pittman that it would be better to really solve the problem, but right now, with Puppet 2.7.11 -- it's just gross to see these messages every time I do an apply. Ew. Don't let the perfect be the enemy of the good . . . preserve a solid OOB (out-of-box) experience . . .

@tuker - this is targetted at Telly, not 2.7.x, so merging the change wouldn't actually have any local effect.  We are working on better 1.9 support at the moment, and I appreciate the annoyance it presents.  I hope to have something better shortly.

Excellent.


chore: add Contributor Covenant Code of Conduct

Email address was approved by repository author, @erikras

Published in v8.3.0.


Fix darkmode background jump

Coverage remained the same at 84.878% when pulling d450c10e59041f38266db2da295cc5edd2b5be4d on fix-darkmode-background-jump into bc7fe93f49a06684414d13ab6572071a51550f05 on develop.


src: fixed borrowing violation due to mutation across the FFI in c…

In the unit test tests::crc4, the expression c_input_buffer.as_ptr() creates an immutable reference to c_input_buffer, but the function c_implementation::crc4 mutates through that pointer, which is undefined behavior.
unsigned char crc4(uint16_t n_prom[]) {
  ...
  n_prom[0] = ((n_prom[0]) & 0x0FFF);  // CRC byte is replaced by 0
  ...
}

This commit changes the test case to pass a mutable pointer, fixing the issue.

LGTM thanks!


init project run ios

Describe the bug
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'DevMenu' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants","LogBox","Timing","AppState","SourceCode","BlobModule","WebSocketModule","SettingsManager","DevSettings","RedBox","Networking","Appearance","DevLoadingView","UIManager","DeviceInfo","ImageLoader","LinkingManager","RNGestureHandlerModule","I18nManager","AsyncLocalStorage"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","BugReporting","HeadlessJsTaskSupport","SoundManager","IntentAndroid","PlatformLocalStorage","RNC_AsyncSQLiteDBStorage","RNCAsyncStorage","AsyncSQLiteDBStorage","DevMenu"]}, js engine: hermes
Ignite version
"9.10.1"
Additional info

help me

This DevMenu issue is becoming quite common now, I'm experiencing the same when attempting to use expo go.

I had this problem when running the app on iOS but Android worked fine

Do you have any way to solve it?

@hoangcuong22 try this:
yarn expo prebuild -p ios
cd ios && pod install
yarn ios
Found it in the ignite slack channel

Same issue here with new project - Expo Go is a no Go

@hoangcuong22 try this: yarn expo prebuild -p ios cd ios && pod install yarn ios
Found it in the ignite slack channel

It's great that it works for my project

@hoangcuong22 are you running the new architecture?

Previous discussion around the same issue in https://github.com/infinitered/ignite/issues/2678
Couple of things you can do here:

Remove the offending Reactotron custom command here
Utilize Expo CNG
Go with npx ignite-cli@next (which will use CNG) which should be released this week

But this will not be fixed here as it's related to Expo Go


Dashboard wallet functionality doesn't work in non-secure context

Trying to click on the "Create Wallet" button on the /wallet page when accessing the dashboard from the local network will produce the following error.

From this answer on stack overflow it looks like this is intended functionality for the crypto library to only be allowed on secure pages, such as https or localhost. The problem is that in the case of Element, it also prevents the ability to use the dashboard on a local network, such as a Raspberry Pi, where the node is not exposed to the wider internet.

this is just me trying to run this on my local network. Dashboard can be run from localhost, api is still available on local network. Going to close this, and we can re-open this if someone else has the same issue.


go-machine-service fails to start - Timed out waiting for transtion

Rancher Version:
1.1.3
Docker Version:
1.12.1
OS and where are the hosts located? (cloud, bare metal, etc):
Cloud instances
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher server, using an AWS RDS external DB back-end.
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
docker logs --tail=100 rancher-server
Results:
time="2016-09-13T09:49:21Z" level=fatal msg="Exiting go-machine-service: Timed out waiting for transtion."
2016/09/13 09:49:21 http: proxy error: net/http: request canceled
time="2016-09-13T09:49:24Z" level=info msg="Setting log level" logLevel=info
time="2016-09-13T09:49:24Z" level=info msg="Starting go-machine-service..." gitcommit=v0.31.7
time="2016-09-13T09:49:24Z" level=info msg="Waiting for handler registration (1/2)"
time="2016-09-13T09:50:00Z" level=fatal msg="Unable to start event router" error="Timed out waiting for transtion."
time="2016-09-13T09:50:04Z" level=info msg="Starting rancher-compose-executor" version=v0.8.6
time="2016-09-13T09:50:25Z" level=fatal msg="Exiting go-machine-service: Timed out waiting for transtion."
2016/09/13 09:50:25 http: proxy error: net/http: request canceled
time="2016-09-13T09:50:28Z" level=info msg="Setting log level" logLevel=info
time="2016-09-13T09:50:28Z" level=info msg="Starting go-machine-service..." gitcommit=v0.31.7
time="2016-09-13T09:50:28Z" level=info msg="Waiting for handler registration (1/2)"
time="2016-09-13T09:51:04Z" level=fatal msg="Unable to start event router" error="Timed out waiting for transtion."
time="2016-09-13T09:51:04Z" level=fatal msg="Exiting go-machine-service: Timed out waiting for transtion."
2016/09/13 09:51:04 http: proxy error: net/http: request canceled
time="2016-09-13T09:51:07Z" level=info msg="Starting rancher-compose-executor" version=v0.8.6
time="2016-09-13T09:51:09Z" level=info msg="Setting log level" logLevel=info
time="2016-09-13T09:51:09Z" level=info msg="Starting go-machine-service..." gitcommit=v0.31.7
time="2016-09-13T09:51:09Z" level=info msg="Waiting for handler registration (1/2)"
time="2016-09-13T09:52:08Z" level=fatal msg="Exiting go-machine-service: Timed out waiting for transtion."
2016/09/13 09:52:08 http: proxy error: net/http: request canceled
time="2016-09-13T09:52:08Z" level=fatal msg="Unable to start event router" error="Timed out waiting for transtion."
time="2016-09-13T09:52:11Z" level=info msg="Setting log level" logLevel=info
time="2016-09-13T09:52:11Z" level=info msg="Starting go-machine-service..." gitcommit=v0.31.7
time="2016-09-13T09:52:11Z" level=info msg="Waiting for handler registration (1/2)"
time="2016-09-13T09:52:12Z" level=info msg="Starting rancher-compose-executor" version=v0.8.6
time="2016-09-13T09:52:47Z" level=fatal msg="Exiting go-machine-service: Timed out waiting for transtion."
2016/09/13 09:52:47 http: proxy error: net/http: request canceled
time="2016-09-13T09:52:50Z" level=info msg="Setting log level" logLevel=info
time="2016-09-13T09:52:50Z" level=info msg="Starting go-machine-service..." gitcommit=v0.31.7
time="2016-09-13T09:52:50Z" level=info msg="Waiting for handler registration (1/2)"
time="2016-09-13T09:53:11Z" level=fatal msg="Unable to start event router" error="Timed out waiting for transtion."
time="2016-09-13T09:53:14Z" level=info msg="Starting rancher-compose-executor" version=v0.8.6
time="2016-09-13T09:53:51Z" level=fatal msg="Exiting go-machine-service: Timed out waiting for transtion."
2016/09/13 09:53:51 http: proxy error: net/http: request canceled
time="2016-09-13T09:53:54Z" level=info msg="Setting log level" logLevel=info
time="2016-09-13T09:53:54Z" level=info msg="Starting go-machine-service..." gitcommit=v0.31.7
time="2016-09-13T09:53:54Z" level=info msg="Waiting for handler registration (1/2)"

Expected:
Go-machine-service to start up :) Failing that, some more informative/useful logs that will help me figure out why it's timing out, so I could fix it, would be handy.

Just realised, this is probably just a different symptom of the problem I was looking into with #5534.

BTW, have read the FAQ. The server URL is reachable from the rancher-server container using CURL, and returns the expected 404 JSON response. I have the recommended nginx config in place on the proxy, but I'm not sure how to check whether it can successfully make a websocket connection.
	# Site root is handled by the Rancher server container
	location / {
		proxy_set_header Host $host'
		proxy_set_header X-Forwarded-Proto $scheme;
		proxy_set_header X-Forwarded-Port $server_port;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_pass http://rancher;
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection "upgrade";
		# This allows the ability for the execute shell window to remain open for up to 15 minutes. Without this parameter, the default is 1 minute and will automatically close.
		proxy_read_timeout 900s;
	}

Stabbing in the dark a bit, I've tried running up the processes manually...
root@rancher01:/etc/nginx/sites-enabled# docker exec -ti rancher-server bash
root@f6b772be8f8f:/# ps axufw
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      4653  1.5  0.0  18156  3220 ?        Ss   10:27   0:00 bash
root      4666  0.0  0.0  15568  2120 ?        R+   10:27   0:00  \_ ps axufw
root         1  0.0  0.0    188     4 ?        Ss   09:00   0:00 /usr/bin/s6-svscan /service
root         7  0.0  0.0    188     4 ?        S    09:00   0:00 s6-supervise mysql
root         8  0.0  0.0    188     4 ?        S    09:00   0:00 s6-supervise cattle
root         9 12.5 12.7 3832808 522524 ?      Ssl  09:00  10:51  \_ java -Xms128m -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDu
root       138  1.4  0.3<PHONE_NUMBER>4 ?        Sl   09:01   1:13      \_ websocket-proxy
root       140  0.0  0.3<PHONE_NUMBER>0 ?        Sl   09:01   0:02      \_ rancher-catalog-service -catalogUrl library=https://github.
root      4641  0.0  0.2  18788 11932 ?        Sl   10:27   0:00      \_ rancher-compose-executor
root      4647  0.3  0.2  55500 10340 ?        Sl   10:27   0:00      \_ go-machine-service

root@f6b772be8f8f:/# go-machine-service
INFO[0000] Setting log level                             logLevel=info
INFO[0000] Starting go-machine-service...                gitcommit=v0.31.7
INFO[0000] Waiting for handler registration (1/2)
FATA[0000] Exiting go-machine-service: Get : unsupported protocol scheme ""
root@f6b772be8f8f:/# rancher-compose-executor
INFO[0000] Starting rancher-compose-executor             version=v0.8.6
FATA[0000] Unable to create event router                 error=Get : unsupported protocol scheme ""

Any ideas what else I can check?

@rossigee did you manage to get this working?

I get this error with rancher server 1.2.0 (recently upgraded from 1.1.4). For a few hours rancher server worked fine; but after I had to restart it (it locked up) it will start but I cannot log in. This is the only thing I see in the longs that resembles an error.
@ibuildthecloud

@defunctzombie I also have the same problem with a freshly installed rancher server 1.2.0. It worked for a few hours, than, after a restart but I cannot log in and apparently the rancher agent can't either.
Did you find any workaround?

Hi, I am dealing with the same issue in rancher 1.1.4, any idea what it is all about?
Currently the only way I solve it, it by creating a new docker container for the master, it is very bad for me

Same Problem in 1.3.4

i'm trying the latest version of rancher/server and getting this same problem.Any idea of what can I do?


chore: add unit test cases for instances

Changes

🧹 adds some tests checking expected error states for function instances, local and remote

/kind chore
Related: https://github.com/knative/func/issues/1275

/override codecov / patch

trying this out...
/override Codecov

Closing and reopening to see if codecov will behave


Download tagged stories from given profile

Given a downloaded storie, the application could see, as tagged (maybe im understanding tagging (:tagged) in a different way) could go to the profile to the person that marked the one that im downloading the stories and download from the original source. If the profile that you are trying to download the stories that the profile that im following is private, it could return something like "private profile, cannot download tagged stories" and if the profile is public, it would skip all stories that has not the user that im following and just download the ones that it is tagged.
I could do this manually but checking a big number of profiles is quiet time consuming.
I'm not someone experiencied with coding but I could take a look and try to see if there is any workaround to this situation other than going to the folder of each profile and see if they got marked.

Interesting idea, but I don't see how to obtain this information at the moment.


don't use technical terms to name things

This has been using technical terminology (list instead of map) but in a
way which, at least with me, created a wrong association.

I can see that this could be controversial and my heart is not attached to it - especially as it is not quite clear where to stop. The (right) tech terms certainly have a place in "internal" uses, but somehow the line of distinction is blurry.


Feature/health check v ms

Issue #, if available:
Description of changes:
Added templates for adding control plane and worker machine health checks.  These are intentionally segregated from the provided clusterTemplates, for use by deployers as they see fit.
Testing performed:
Manual testing of unhealthy detection and remediation by stopping ACS VMs and monitoring the remediation process.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can ltgm if you'd like, or feel free to add the label yourself. : )

/retest

Why not include these objects by default, and segregate them instead?

@maxdrib, I don't follow how to include-yet-segregate.  What did you have in mind?

@maxdrib, I don't follow how to include-yet-segregate. What did you have in mind?

I just mean why are we segregating them? Why not put them in the default templates? Are there any downsides of including this as a default object installed on a CAPC cluster?

/lgtm

@maxdrib, comments in the file elaborate on why I elected to segregate.  Most significantly is that "certain CNIs" (I didn't want to call out Cilium by name) interfere with the deletion of a failed worker node.  I don't want to cause that to happen for folks who may not fully understand what's the mechanism.  Instead I prefer to let them explicitly elect to try health checking and then discover whether it's compatible with their CNI or not.


escape reserved keywords in the generated project

in is a reserved keyword in kotlin, and thus we have to write package names like this -
pagkage `in`.championswimmer.myapp

(Taking my example here, as I usually use 'in.championswimmer' as company domain.
Android Studio escapes it when generating default project. Flutter does not.
I believe other kotlin keywords need to be escaped similarly from the package name
List of keywords to escape by language
Kotlin

[ ] in
[ ] when

when is also a keyword that brings in issues wherever used as a method name, usually found in Mockito. It probably has the same issues.

@fmatosqg I am making a list inside OP

@xster turning this into a tracking issue so we can list all reserved keywords here and fix them

Update: I am not having any time immediately to contribute with a PR, but anyone coming to look at this issue :
https://github.com/flutter/flutter/blob/797b39e9b26b08fe847b95cec7229bdb179e1109/packages/flutter_tools/lib/src/template.dart#L88
This is where the identifier is created.

The problem persist when i try to create flutter project with in.example domain extention using android studio or windows poweshell terminal. i get it working when i created the project with same command with backticks in VS code terminal (MINGW64). I could able to run the flutter app.

I too faced a similar issue like @noiissyboy when I am running in the system terminal but its working fine when I am creating the same application using the following command 'flutter create --org=in.dreamlogic.vamor --androidx vamor' in VSCode terminal. My system configuration is Ubuntu 18.x.x

Is there any fix/update yet? was just about to file this issue. maybe someone should do a feature request?


Tulane domain changes for web geo-locater

copy to application still does not work, but the changes in the URIs for the web interface have been accommodated, as well as the web request generator (with tests).

Coverage decreased (-0.007%) to 72.046% when pulling de882fcee38be77dcb433e5a3e8247d449873cf1 on tulane into 7c1766e44ec53d4513c07016635921b1103ead20 on development.


New Italic configs

@ellisonleao  Curious question about this.
Why not keep both the dict and the bool? - I have everything as false anyway.
Will the same change happen for bold ?

@MikaelElkiaer

Why not keep both the dict and the bool? - I have everything as false anyway.

This is a good question. IMO the italic settings from the original repo are very confusing (having a boolean to turn everything off and another granular option for the other ones). right now we have 7 other settings with italic = true  in the group settings, so not sure if that would be a problem using the overrides feature or if it would be too much.

Will the same change happen for bold ?
Yes, it will come shortly


Fix node version check for 6.10.0

The previous code converted the node version to a float and compared to 6.5. This
doesn't work for 6.10 (6.10 < 6.5).
Fixes: https://github.com/RuntimeTools/appmetrics/issues/394

I'd note that now nvm install 6 is installing 6.10.0, all other PR travis runs will fail on 6 due to this issue.

LGTM2


extension: Triple elimination bracket

Hello, I'm working on a project right now and it requires triple (and possibly more) eliminations bracket. @teijo  Can you please tell me and maybe point into a piece of code is it possible to extend it this way? Thanks in advance !

Extending the existing library to do that would be very complicated. If you want to try to use the library for your setup, you might just need to instantiate multiple brackets and manually shift the losers from bracket to bracket.


Footnotes

Look, GFM has got footnotes!
We actually have an idea of that, too. Let's implement it in similar fashion.
I like apples[[^about-apple]]. Let's bake charlotte pie[[^1]]!

notes {
  about-apple | { They are tasty.
But you need to be aware of worms. }
  1 | https://tasty-pies.org/charlotte.html
}

Notes:

I've replaced & to ^, like in most of Markdown dialects.
Also I've replaced links to notes to not mistake the idea with 'link aliases'. Possible alternatives are 'foot', 'footnotes', 'footer' etc.

Design
Technically, it should be a two-pass process (scan for links, enumerate, and only then render both links and anchors). But we can force top-to-bottom declaration syntax and link-based enumeration. And also allow duplicate links (however, we would also need to implement anchor joining then).
Also, it is possible to implement this with a visitor, which would collect notes blocks, enumerate and replace footnote links with anchors (like, name="footnote-1" href="#footer-about-apple") on-the-fly, and then we would use it to render a separate footnotes section. But seemingly inline mycolinks can't have names (thus, anchors to them), so we'd have to add them for return links.
Full Mycomarkup support in footnotes is seemingly possible, but I'd be careful with transclusions. Links and the section design is also a discussion point.

@chekoopa Maybe be more specific with the block name? footnotes instead of notes, for example

footnotes instead of notes, for example
Why not, but I feel that we should keep it shorter. Like, img instead of image.

Possible problems:

marking or hiding missing footnotes, if we stick to an one-pass algorithm, because HTML renderer doesn't take any context besides of recursion level and block counter.
hiding transclusion footlinks. But it seems that transclusions are rendered separately, so we could somehow invalidate these links with a special visitor.

As for the linked idea, it's more of link aliases, as you've said on the wiki.
Footnotes seem cool.

But seemingly inline mycolinks can't have names (thus, anchors to them), so we'd have to add them for return links.

Yes. What ids should they have? Something like paragraph-3-link-4?

Full Mycomarkup support in footnotes is seemingly possible, but I'd be careful with transclusions.

We should limit it. And we should do the same with table cells and image descriptions too, to be honest! Currently, they support all of Mycomarkup.

Links and the section design is also a discussion point.

Let's copy GitHub's design, it seems quite obvious.

Maybe be more specific with the block name? footnotes instead of notes, for example

Agree

Why not, but I feel that we should keep it shorter. Like, img instead of image.

image shortened to img is obvious. Footnotes shortened are notes is not, because there are various kinds of notes out there.

Renamed the hypha on the wiki to idea/link alilas. Changed the top message to reflect that

Moved to https://todo.sr.ht/~bouncepaw/mycomarkup/5


[mask_rom] Update memory protection module to take into account simple address translation

If the mask ROM is to make use of the simple address translation unit then the memory protection schema and implementation will need to be modified to take that into account.
Initial thoughts:

Probably want to keep read access to raw flash region.
Need new region(s) to grant read access to the virtual flash region(s).
ROM_EXT code region will need to be in an entry before the virtual flash region.

Closed by #11761.


Parameterize configdir recurselimit and default to 2

Supercedes #1016 with the resource option parameterized, should fix #1014

Pull request acceptance prerequisites:

[x] Signed the CLA (if not already signed)
[x] Rebased/up-to-date with base branch
[ ] Tests pass
[x] Updated CHANGELOG.md with patch notes (if necessary)
[x] Updated CONTRIBUTORS (if attribution is requested)

@Jakski because our CLA automation had some problems, I think we can re-sync and fix the check if you go through the signing process once more (sorry about the inconvenience). Could you do that and I can re-trigger the check to verify all looks well?

Sure. I signed CLA one more time. You can re-sync.


Remove setup gcp credential step for beam_ workflows running on self-hosted runner

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @liferoad @volatilemolotov

unfortunately the workflow changes are not easy to test, but a test run of affected test passed: https://github.com/apache/beam/actions/runs/9355653520/job/25751284562


Improvement for common errors.

[Enter feedback here]
Please mention that if you get the error below, that you are running power shell as an administrator.  It took me a while to figure this out.
Unhandled Exception: System.Net.HttpListenerException: Access is denied
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at WindowsRunnerCSharp.Program.Main(String[] args) in D:\Repos\gsdkSamples\WindowsRunnerCSharp\WindowsRunnerCSharp\Program.cs:line 99

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

ID: 782f6394-63b6-e3a4-8582-a917f398b774
Version Independent ID: 17137dde-8bef-1dcc-e68e-8132c4fa6b40
Content: Locally debugging game servers and integration with PlayFab - PlayFab
Content Source: playfab-docs/features/multiplayer/servers/locally-debugging-game-servers-and-integration-with-playfab.md
Product: playfab
GitHub Login: @v-thopra
Microsoft Alias: v-thopra

Made doc change. PR https://github.com/MicrosoftDocs/playfab-docs-pr/pull/2252

This is now fixed.


Feature: Toggle Horizontal panel

What feature or improvement do you think would benefit Files?
I think it would be really nice to have the action Toggle horizontal/vertical panel similar to what KDE dolphin does with F3.
Right now there I need to use two different action to get this behaviour

Add vertical pane
Close active pane

I find myself consistently needing either two panels for moving folders around or just one panel to have more files visualized.
It's somehow linked to https://github.com/files-community/Files/issues/14426
Requirements

Add the action Toggle horizontal panel

Files Version
<IP_ADDRESS>
Windows Version
Windows 11 Pro 23H2 22631.4460
Comments
No response

Is this request primarily about wanting to use the same keyboard shortcut instead of having to use two different ones?

Yes.
Actually, it would be even nicer to have Close NON active pane as part of the toggle.

My concern with a 'toggle' action is that it might give the impression that it will show or hide a second pane (e.g., toggling will bring back the previous pane), but this is not the case. Instead, the 'add pane' action actually creates a new pane, and closing it removes the pane. Additionally, while we might occasionally use the term 'dual pane', we could do a better job clarifying that the feature in Files is not a dual pane mode. Rather, it's a multi-pane feature that technically supports more than two panes. The limitation is primarily due to the size constraints on most monitors. However, there have been requests to unlock this functionality.

In KDE dolphin (which I take as a reference because I am familiar with), when you add a vertical panel you are duplicating the current path. I agree that storing (for later restoring) the old path before closing the panel is probably not what you want to do.
I also agree on the fact that this feature is not well defined when having more than 2 panels.

Just to clarify, I fully understand the use case. However, we'll need some time to consider our options and evaluate the user experience to determine the best way to implement this, if we decide to proceed.

One possibility is an action named "Open/close vertical pane." Although this approach won't resolve the issue if we support more than two panes in the future, it at least clarifies that the UX isn't toggling a panes visibility.


Custom response class (force_type static method) doesn't work

I made a test code for this issue. I made a custom class because I want server to return jsonified list if view function returns list. It works on flask 1.0.2 but it doesn't work on the new flask version (1.1.1)
from flask import Flask, Response, jsonify

class CustomResponse(Response):
    @classmethod
    def force_type(cls, response, environ=None):
        if isinstance(response, list):
            return jsonify(response)
        return super(CustomResponse, cls).force_type(response, environ)

app = Flask(__name__)
app.response_class = CustomResponse

@app.route('/', methods=['GET'])
def response_list():
    return ['it', 'is', 'test']

if __name__ == '__main__':
    app.run(host='<IP_ADDRESS>')

On 1.0.2 version,
# evaluate a WSGI callable, or coerce a different response
                # class to the correct type
                try:
                    rv = self.response_class.force_type(rv, request.environ)
                except TypeError as e:
                    new_error = TypeError(
                        '{e}\nThe view function did not return a valid'
                        ' response. The return type must be a string, tuple,'
                        ' Response instance, or WSGI callable, but it was a'
                        ' {rv.__class__.__name__}.'.format(e=e, rv=rv)
                    )

flask changes type forcely by calling force_type of response_class, but newest version doesn't change. (code below)
            if isinstance(rv, (text_type, bytes, bytearray)):
                # let the response class set the status and headers instead of
                # waiting to do it manually, so that the class can handle any
                # special logic
                rv = self.response_class(rv, status=status, headers=headers)
                status = headers = None
            elif isinstance(rv, dict):
                rv = jsonify(rv)
            elif isinstance(rv, BaseResponse) or callable(rv):
                # evaluate a WSGI callable, or coerce a different response
                # class to the correct type
                try:
                    rv = self.response_class.force_type(rv, request.environ)
                except TypeError as e:
                    new_error = TypeError(
                        "{e}\nThe view function did not return a valid"
                        " response. The return type must be a string, dict, tuple,"
                        " Response instance, or WSGI callable, but it was a"
                        " {rv.__class__.__name__}.".format(e=e, rv=rv)
                    )
                    reraise(TypeError, new_error, sys.exc_info()[2])
            else:
                raise TypeError(
                    "The view function did not return a valid"
                    " response. The return type must be a string, dict, tuple,"
                    " Response instance, or WSGI callable, but it was a"
                    " {rv.__class__.__name__}.".format(rv=rv)
                )

Is it intended or just a bug?
Expected
When I call <IP_ADDRESS>:5000,
['it', 'is', 'test']

Actual
[2019-07-10 16:36:33,554] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "C:\Users\Mapia\Desktop\develop\study\flask.py\venv\lib\site-packages\flask\app.py", line 2446, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\Mapia\Desktop\develop\study\flask.py\venv\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    return self.finalize_request(rv)
  File "C:\Users\Mapia\Desktop\develop\study\flask.py\venv\lib\site-packages\flask\app.py", line 1967, in finalize_request
    response = self.make_response(rv)
  File "C:\Users\Mapia\Desktop\develop\study\flask.py\venv\lib\site-packages\flask\app.py", line 2130, in make_response
    " {rv.__class__.__name__}.".format(rv=rv)
TypeError: The view function did not return a valid response. The return type must be a string, dict, tuple, Response instance, or WSGI callable, but it was a list.
<IP_ADDRESS> - - [10/Jul/2019 16:36:33] "GET / HTTP/1.1" 500 -

Environment

Python version: 3.7.3
Flask version: 1.1.1
Werkzeug version: 0.15.4

Duplicate of #3291


curl_easy_escape produces lower-cased encoded characters

For example, a colon : seems to be converted to %3a instead of %3A. While it may be technically correct, the latter form is much more commonly used.
Some weird web API may even implicitly require the latter form. As a hacky workaround, I have to string-replace Parameters' content.
It'd be ideal to add an option somewhere for this, or just use the upper case form by default.

On master this has been fixed by: 7e4a803fff0787b8a961527016f1060373a7ce64


define v-model in component in formSchema

Hello @kailong321200875
Actually I used to use React.js and Vue.js is first for me.
And I'd like to declare variable like Ref and v-model in Schema to handle in script setup.
For example there are two components type and list like following

The list in the right should be changed along the type.
But I have no solution to do this now.
Only thing I can do is to get value using getFormData() from whole schema when radio is changed and then execute setSchemaOption().
I think this is not the best solution.
How can I fix?

you can use componentProps: { onChange: (val: any) => { // to do something } }


translateException can throw std::bad_alloc

This call to utf8FromWide from translateException can throw std::bad_alloc:
    trace("libwinpty error: code=%u msg='%s'",
        static_cast<unsigned>(ret->code),
        utf8FromWide(winpty_error_msg(ret)).c_str());

Maybe I originally used a %ls in the printf format string, but the narrow byte encoding isn't UTF-8, which is what the DebugClient/trace system uses.

Two possible fixes:

https://github.com/rprichard/winpty/commit/93d1237ac2abedcf042ce01fb13f26a6c31616cd

https://github.com/rprichard/winpty/commit/3338e421c209c4d59335d0b81796223b7910cb7c

I think I prefer the latter.  They both compile, and winpty runs, but the fix isn't really tested.


Update LineageTree.py

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

In the file lineage/LineageTree.py:

Line 291:80: E501 line too long (122 > 79 characters)


Rendered docs could be more readable

Hi!
Today, grove docs works great, but the output for huge records or type signatures are a little bit unreadable:
type alias HugeType =
    { firstField : Int , secondField : Bool , thirdField : Int , fourthField : String , fifthField : HugeType }

is much better like this:
type alias HugeType =
    { firstField : Int
    , secondField : Bool
    , thirdField : Int
    , fourthField : String
    , fifthField : HugeType
    }

Same for signatures:
hugeExampleOfSignature : HugeType -> HugerType -> HugestType -> GiantType -> EnormousType

looks better like this:
hugeExampleOfSignature
    : HugeType
    -> HugerType
    -> HugestType
    -> GiantType
    -> EnormousType

At least, it could follow how it's formated into the elm file. 🙂
I think it would be an amazing improvement.

Grove now uses source code signatures (1.2.2).


.p-* class names conflict with Microformats

Microformats uses one and two letter prefixings to indicate parsing rules for html.
http://microformats.org/wiki/microformats2
'h-*' for root class names, e.g. 'h-card'
'p-*' for plain (text) properties, e.g. 'p-name'
'u-*' for URL properties, e.g. 'u-photo'
'dt-*' for date/time properties, e.g. 'dt-bday'
'e-*' for embedded markup properties, e.g. 'e-note'.

(also x- for experimental)
Obviously the new p- prefixes clash with this and will distort parsing of any website using the new prefixes.  And these prefixes are already quite well established on 10s of thousands of sites (they have been using it since 2009)

@mdo How would you feel about changing these to e.g. .pos-* ?

this is where "let's just (ab)use class names" rather than using a custom attribute/data- attribute comes back to bite the microformats project...but in principle if it's no big problem for us it's probably a nice courtesy to not immediately break their stuff...

Using utility classes like this to effectively add inline styles is initially convenient, but does lead to messy markup over time. Rather than p- and m- prefixes why not padding- and margin- ?
I wrote about this tendency of pretending classes like this aren't inline style tags:  http://www.kevinmarks.com/u-means-style.html

After gzipping, the longer classnames shouldn't have a big impact on HTML page size or the minified CSS.

Partially addressed in #20684. No further changes planned to those classes though, so there is still some conflict.


-nan Assertion Error

When the activation_output and activation_hidden functions are set to sigmoid_cached, every once in a while, the assertion error pops up.
p.s. i'm quite new to neural networks and was using your code to learn.

If i set them to linear, the output ann's weights all become nan's

@Pakleni can you share your platform, compiler, and your NN topology? Ideally your code?
Did you tried using genann_act_sigmoid instead of genann_act_sigmoid_cached ?
On my side, I played a bit with this lib and never got this error.


fix: deferred parsers should throw if not initialized

Per #84 defer now throws an error if not initialized.
Documentation was updated as well.
Test for run and tryRun were also updated to reflect the change - and I generalized their descriptions, since their behavior with regards to error handling isn't specific to defer.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
265

Relevant Lines:
265

💛  - Coveralls

LGTM. Thanks!

This PR is included in version 3.6.5.


Not vanilla-js

Hi! On your site you have a vanilla-js tag. However, this project is focused on Svelte, a JS Framework. In order to make sure your project is correctly described, could you remove that tag?

Hi! On your site you have a vanilla-js tag. However, this project is focused on Svelte, a JS Framework. In order to make sure your project is correctly described, could you remove that tag?

Hi Varlevi. Svelte is what the component is written in, but Svelte is a compiler, not a framework, and as such, compiles to vanilla javascript.
Because of this, the component is equally as usable in vanilla javascript as it is in any Svelte, React, Vue, or any other type of app.

Huh. I had a different understanding of Svelte. Thank you for the correction. Nice project!


fix: fixed for the issue (#16)

1. Description

1.1. Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples.

1.2. Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

1.3. Related Issues

bors merge

Codecov Report

Merging #17 (1c59051) into main (1252fdf) will increase coverage by 6.65%.
The diff coverage is 42.10%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   50.19%   56.84%   +6.65%
==========================================
  Files          57       49       -8
  Lines         520      336     -184
==========================================
- Hits          261      191      -70
+ Misses        259      145     -114

Impacted Files
Coverage Δ

packages/bluesky/lib/src/bluesky.dart
0.00% <0.00%> (ø)

...bluesky/lib/src/service/actors/actors_service.dart
0.00% <ø> (ø)

...kages/bluesky/lib/src/service/bluesky_service.dart
0.00% <ø> (ø)

...y/lib/src/service/exception/bluesky_exception.dart
0.00% <ø> (ø)

...s/bluesky/lib/src/service/feeds/feeds_service.dart
53.84% <ø> (ø)

...c/service/notifications/notifications_service.dart
100.00% <ø> (ø)

packages/bluesky/lib/src/service/base_service.dart
44.23% <44.44%> (+6.52%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Cannot read property 'column_name' of undefined

Using a postgres db, the query should be an insert, but am just a user, I am not sure.
Stacktrace:
/directus $ npx -n="--trace-warnings" directus roles create --name Administrator --admin
(node:1094) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'column_name' of undefined
    at Postgres.<anonymous> (/directus/node_modules/knex-schema-inspector/dist/dialects/postgres.js:325:51)
    at step (/directus/node_modules/knex-schema-inspector/dist/dialects/postgres.js:33:23)
    at Object.next (/directus/node_modules/knex-schema-inspector/dist/dialects/postgres.js:14:53)
    at fulfilled (/directus/node_modules/knex-schema-inspector/dist/dialects/postgres.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at emitUnhandledRejectionWarning (internal/process/promises.js:168:15)
    at processPromiseRejections (internal/process/promises.js:247:11)
    at processTicksAndRejections (internal/process/task_queues.js:94:32)
(node:1094) TypeError: Cannot read property 'column_name' of undefined
    at Postgres.<anonymous> (/directus/node_modules/knex-schema-inspector/dist/dialects/postgres.js:325:51)
    at step (/directus/node_modules/knex-schema-inspector/dist/dialects/postgres.js:33:23)
    at Object.next (/directus/node_modules/knex-schema-inspector/dist/dialects/postgres.js:14:53)
    at fulfilled (/directus/node_modules/knex-schema-inspector/dist/dialects/postgres.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:1094) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:180:11)
    at processPromiseRejections (internal/process/promises.js:249:13)
    at processTicksAndRejections (internal/process/task_queues.js:94:32)
^C

for reference: https://github.com/directus/next/issues/807

This seems to happen with any query I trigger

There might be a fix for this in #19. I bumped into this bug myself when writing that PR.

ah nice, then its not just my hyper secure corporate enterprise configuration of my db acting up, thats good to hear.
It looks like that PR is not close to be merged yet, do you think you could cherry pick the fix into its own PR?
Or maybe @rijkvanzanten can do it directly, or I could do it too
(assuming this is the fix: https://github.com/knex/knex-schema-inspector/pull/19/files?diff=unified&w=1#diff-241a92bc77a6f7efb5e272de443b7ea90213da7142d15ed3b3fe9d27d867511cR3377)
point is, I would like to get my hands on that fix rather quickly :P

validated that fix by manually editing node_modules, ill create a PR once I am home (if rijk isn't faster)

I'm down to merge #19 straight away @codeclown! Do you happen to have a Discord? Would be nice to discuss where we can take this lib together 🙂

Fixed in #19


syntax error : invalid or unexpected token

Version

[X] Yes

General Question

[X] No

What happened?
i dont know whats problem

What have you tried?
just reading the error
Relevant log output
No response
Protect your information

[X] I Agree

That isn't the entire error. Please add more context. What command are you trying to run?

I'm getting a similar error. I was able to fix it for uploading the image files/updating jsons... but when I run the uploadMetas.js script I get this  error. Hopefully this information helps add to the OPs error information:
`05:22 $ node utils/nftport/uploadMetas.js
undefined:1
SyntaxError: Unexpected token  in JSON at position 0
at JSON.parse ()
at main (/Users/ei9h7/projects/NFTS/woman-by-tatyana-bogdanova/nft-automate/utils/nftport/uploadMetas.js:24:27)
at Object. (/Users/ei9h7/projects/NFTS/woman-by-tatyana-bogdanova/nft-automate/utils/nftport/uploadMetas.js:56:1)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
Node.js v17.4.0`

That isn't the entire error. Please add more context. What command are you trying to run?

I was trying to run uploadFiles.js (node utils/nftport/uploadFiles.js) but this error apeared.

That isn't the entire error. Please add more context. What command are you trying to run?

Error: Cannot find module 'E:\utils\nftport\uploadFiles.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []


Mobile-friendly Server

The current server screen it pretty usable, but viewing it on a phone is like trying to rip your eyes out through your kneecaps.
A phone-friendly presentation would be fantastic.

My mod of web UI has mobile version. It's automatically switched when you access it from mobile device. You can try demo on your phone/tablet.

I tried yours. It gave me an error on startup and wouldn't load so I had to switch back.

You may consider creating an issue on tracker (with wrapper.log file contents) to figure out what went wrong.


open ply file

please，how to open ply file with visualize_ply.py,thank you.

Hi,
You can use MeshLab to import and visualize the point cloud.


WIP: Create recruitment

Adding a recruitment process section

Closing this PR as it has been re-created here: https://github.com/mattermost/docs/pull/1443


Asset model is missing a field for Asset title

Brief bug description
KenticoCloud.Delivery.Asset class is missing a property representing Asset title field available at app.kenticocloud.com.
Expected behavior
The Asset title field has a corresponding property in KenticoCloud.Delivery.Asset.

Hi @mcetkovsky.
Thank you for creating this issue. I'm afraid that assets returned by Delivery API do not contain Asset title field:
"image": {
	"type": "asset",
	"name": "Image",
	"value": [
		{
			"name": "aeropress.jpg",
			"description": "An aeropress model description",
			"type": "image/jpeg",
			"size": 72879,
			"url": "<blob-url>",
			"width": 540,
			"height": 540
		}
	]
},

Until Deliver API provides such information, there is not much an SDK can do about it. However, there is also Content Management SDK available and its Asset model contains the Asset title. Do you think that CM API could help you out in your scenario?

Content Management API is a premium feature so it is of no help. Would you mind to ask colleagues to include this field in the Delivery API? Thanks.

Hey @mcetkovsky, the best place to submit a feature request is the productboard.

Since there is no activity in this issue, this issue is about to be closed.
If we missed anything if you want to keep it open, please reply here.
Please feel free to reopen this issue or create a new one if you need anything else.


source.py: Split up staging functions into separate codepaths.

Currently we pass a file path string or Directory object to these methods
depending on whether BST_STAGE_VIRTUAL_DIRECTORY is set, which is not very
pretty for plugin developers especially if they are using type annotations
and need to handle Union[str, Directory] in these methods.
Instead, created Source.stage_directory() and Source.init_workspace_directory()
to handle the Directory variants of these methods separately.
Also updated local and workspace plugins to use the new methods.

I have been thinking of this too (in the context of #1317). What I was thinking to do is to always pass a Directory to stage() (I didn't look into init_workspace(), so I can't say anything). The plugins would need to change indeed, but I think it's not that hard.
with self.tempdir() as directory:
    ...
    vdir.import_files(directory)

I have been thinking of this too (in the context of #1317). What I was thinking to do is to always pass a Directory to stage() (I didn't look into init_workspace(), so I can't say anything). The plugins would need to change indeed, but I think it's not that hard.
with self.tempdir() as directory:
    ...
    vdir.import_files(directory)

It is desirable for plugins to stage directly into cas using the Directory API and avoid an additional disk copy, so I can see the desire to make the API more rigid and have more direct messaging to plugin authors that they ultimately have to get the data into a cas Directory, however I don't think it's a realistic goal for the majority of source plugins, and so I would much prefer to favor a simpler and more convenient API for the majority of source plugins.
Regarding init_workspace(), it's main purpose is to prepare a special case staging ground for a workspace - plugins like git and bzr which tend to carry non-deterministic data in them because they carry project history (i.e. the .git/ directory) will normally omit such non-deterministic data at normal stage() time, but will include the .git/ directory for the convenience of a workspace.
In the end what we're really talking about is whether or not to provide a more natural/convenient API for most plugins rather then forcing them to do the with self.tempdir() trick themselves, I think that since the majority of plugins will have to do it, we aught to do it for them and offer a more convenient API.

There hasn't been any more input for a month, I still think this approach makes more sense than forcing source plugin authors to work with the Directory interface unconditionally, and this patch does improve the interfaces and is a breaking change which we should land before declaring API stability.
Let's merge this.


Modified export for meshes with parent (Blender exporter)

I've found that using
world = object.matrix_local

instead of
world *= object.parent.matrix_world.inverted()

works best for importing meshes with a parent: relative transforms between parent/child are then consistent from Blender to BJS.
Without this change, relative transforms are wrong 95% of time after being exporter in BJS, probably because of the calculation with the parent inverse matrix.
I'm not very confident with Python and Blender scripting so I'll leave you guys to decide whether this modification makes sense, or if I just missed something on my side.

I did not write that part, but what is an example of a "relative transform" that does not work once on BJS.  I have a test .blend using parenting & not encountered problems.

Okay, I think I have solid proof :)
I made a sample scene in Blender 2.73a, you can get it here:
http://onirium-games.com/temp/test_mesh_parenting.blend
First link is using a .babylon file generated with the current exporter:
http://onirium-games.com/temp/test_mesh_parenting.html
Second link is using a .babylon file generated with the fix in the exporter:
http://onirium-games.com/temp/test_mesh_parenting_corrected.html
The point of view should be the same in BJS samples and the blend file. The white cube is the world origin, the green cube is the parent of all the others.

Thanks,  I got busy.  Have not looked yet, but I will.

Tried it with my .blend and it worked fine.  Actually seems easier to understand, and possibly less prone to breaking by future Blender versions.
I do not accept / reject for this repo, but could you please bump the version to 1.7.0 in line 4?

Done!

If JCP validated it :)


Jest serializer for styled-jsx for snapshot testing

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Using snapshot tests for Jest, if you change the CSS, the className changes.
What is the expected behavior?
This is not very useful, as it gives no hint to the underlying CSS changes. It would be nicer if a CSS diff would be rendered. There are plugins for other CSS-in-JS libs like styled-comp. & glamor which provide a custom Jest serializer.
https://github.com/kentcdodds/jest-glamor-react
https://github.com/styled-components/jest-styled-components
There's currently no such lib for styled-jsx.
Question
This would be a separate library for jest like: jest-styled-jsx Is somebody using both and has found a solution, or any ideas how could this be accomplished?
Thanks!

Issue exists in similar form, will continue there.


Add support for recursive, in-cookbook resource partials

Description
Small change to support recursive resource partials in a cookbook.
The current implementation crashes on chaining two use keywords inside a cookbook with  FATAL: Errno::ENOENT: No such file or directory @ rb_sysopen - /_base_resource.rb.
Chef 16's resource partials provide a way to create reusable code for resources by using composition, not inheritance. As a result you can overlay different logical elements to compose a completely new resource from.
For example, you could write a base partial to support an entirely new class of remote system interaction and then use it from multiple other resources to distinguish base functionality vs specific resource functionality.
This provides a clean, DSL-driven way to create e.g. REST resources but is applicable to all non-traditional targets.
Related Issue
Future extensibility
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[x] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

Just added the suggested way of looking up paths and added tests for resource partials

Uh, anyone? This is relevant for my talk at ChefConf ;-)

The code looks better, but the tests aren't quite covering what we want, in two ways:

two levels of partials is a base-case, so we'd really want to check at least 3 if not 4 levels of nesting to ensure that it works
with only two levels of nesting, we don't know if we're catching the first use or the last use

@tecracer-theinen  - Are you still interested in getting this PR merged? It's very close to being ready, and now that 18GA is out, we're ready to merge PRs again.

@tecracer-theinen Can you rebase this thing and push it back up again please?

That looks better now. Felt like a GIT noob (and probably am ;)

Looks good, just want to wait on @jaymzh to take a look and approve.


ICML: Adjust figure size + axis labels

Adjusts figure sizes and axis labels to make them more clear for the ICML camera ready submission.

Was organizing imports using isort and isort wasn't recognizing utils and sgf_parser as local imports. I've now created a isort.cfg that specifies this so isort auto-formatting does the right thing.

View entire conversation on ReviewNB

Added adv_name description and removed legend_args

View entire conversation on ReviewNB


CI/CD

I was wondering if you guys use this plugin in your CI/CD pipelines. Or is this plugin more something you run locally?

Hi,
Actually, we use semver by hand for our public projects but you can already use it in your CI, I just created an example with a simple GitHub action: https://github.com/edbzn/semver-ci
All you need to do is to configure the workflow:
name: default

on:
  push:
    branches:
    - 'master'

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: git config
        run: |
          git config user.name "${GITHUB_ACTOR}"
          git config user.email<EMAIL_ADDRESS>      - run: yarn install --frozen-lockfile
      - run: yarn nx version tour-of-heroes
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

and activating the push option for semver:
"version": {
 "executor": "@jscutlery/semver:version",
 "options": {
   "baseBranch": "master",
   "syncVersions": false,
   "push": true
 }
}

Let me know if it helps you.

@edbzn Appreciate this useful tool.
I cannot make your snippet work because the master branch is protected. I tried to generate a token to use but still failed. Any thoughts?

      - name: git config
        run: |
          git config user.name "${GITHUB_ACTOR}"
          git config user.email<EMAIL_ADDRESS>      - run: npm ci --ignore-scripts
      - run: npx nx run workspace:version --push --baseBranch master
        env:
          GITHUB_TOKEN: ${{ secrets.RELEASE_VERSION_GITHUB_TOKEN }}

You can set a specific actor and then on the branch rules, bypass this protection for that user. Not the best solution but it works.

Our main branch is also protected and we use the automatically generated GITHUB_TOKEN that allows us to push.


Add document for disabling token cache encryption

... So yes, using a token can be helpful but adding a possibility to allow a non encrypted cache flag can be useful as well. MSAL allow this even on Windows why not encrypt by default the token serialization cache  and propose a flag to make the local cache not encrypted?
Originally posted by @SCOMnewbie in https://github.com/Azure/azure-cli/issues/28484#issuecomment-2174298553

Thank you for opening this issue, we will look into it.

Allowing disabling token cache encryption was previously discussed in https://github.com/Azure/azure-cli/issues/19506.
Azure CLI does have a config option core.encrypt_token_cache for disabling token cache encryption:
az config set core.encrypt_token_cache=false

However, this feature is still marked as a EXPERIMENTAL and not officially documented:
https://github.com/Azure/azure-cli/blob/60035ac5d4fc1b01a12762071ee570aa7a591ec7/src/azure-cli-core/azure/cli/core/util.py#L1354-L1356


redunancy

it would be great to have redundancy, this could reduce the risk of loosing files or corruption,
lets say you have a IP list with 100 ips, 50 of those ips respond properly to pings, files would be "stored" (pinged?) to all 50, if some stop responding or go down you wouldnt loose the files

so you mean each file copied/split into half to each IP if you have like 100/2=50, both of them will have the same data so if one part fail it will look in the other one indexed?

???


Tileset Editor: Alternative Collision/Occlusion Shapes (and associated usability)

The new Tileset Editor is a wonderful tool, but still has the issue of requiring collision and occlusion shapes to be specified individually via polygon drawing. Even leaving aside the potential performance issues of using large numbers of convex polygons in cases where simple circle or square shapes would suffice (admittedly because I don't know how the engine chooses to optimize this), actually placing such shapes is an awkward mess. I propose the following:

Allowing the user to specify box and circle shapes for tile collision and occlusion
The ability to copy and paste colliders between tiles (although if the ability to place colliders is fast enough this may cease to be a major issue)

The ability to copy and paste tile collision masks in the TileSet Editor is something I really wish Godot already had...

Closing in favor of https://github.com/godotengine/godot-proposals/issues/896, https://github.com/godotengine/godot-proposals/issues/648, https://github.com/godotengine/godot-proposals/issues/265 and https://github.com/godotengine/godot-proposals/issues/574, as feature proposals are now tracked in the Godot proposals repository.


Avoid terminate

Closes #3
Debug logging shows that the DataLoader does shutdown cleanly as intended when
the app is closed. Pending further comment from @ronpandolfi on #3 about
whether we need to reach up to an application signal as well to cover some
scenario we haven't thought of.

Power-cycling CI to get CI fixes from #5


Names Formatting issue

Recently noticed that all elements have variable type + name + root appended to it.
ie. booleanbasicTypesroot should just be basicTypes as shown in the homepage gif
Even in the example app: https://bvaughn.github.io/redux-devtools-filterable-log-monitor/
Currently it makes it a bit difficult to navigate

Interesting. That's unfortunate. Not sure when this got broken. I haven't used Redux in a year and a half, so I also haven't used this tool in about that long. I'd welcome a PR from you if you'd like to fix it! I likely won't be working on it myself though.

fixed this issue in
https://github.com/bvaughn/redux-devtools-filterable-log-monitor/pull/41
:)


Invoke-WebRequest / Invoke-RestMethod doesn't work with TLS 1.3

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Invoke-WebRequest / Invoke-RestMethod have problems with connecting to web sites using TLS 1.3 protocol.  There is no error when connecting using TLS 1.2 protocol (using -SslProtocol Tls12).  Web browsers on same machine open web sites without any problem (and Developer Tools show that connection is using TLS 1.3).
Expected behavior
PS ❯ Invoke-WebRequest -Uri https://microsoft.com -SslProtocol Tls13

StatusCode        : 200
StatusDescription : OK
   . . .

Actual behavior
PS ❯ Invoke-WebRequest -Uri https://microsoft.com -SslProtocol Tls13
Invoke-WebRequest: The read operation failed, see inner exception.

Error details
Exception             :
    Type           : System.Net.Http.HttpRequestException
    TargetSite     :
        Name          : MoveNext
        DeclaringType : System.Net.Http.ConnectHelper+<EstablishSslConnectionAsync>d__2, System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyTo
ken=b03f5f7f11d50a3a
        MemberType    : Method
        Module        : System.Net.Http.dll
    Message        : The SSL connection could not be established, see inner exception.
    InnerException :
        Type           : System.Security.Authentication.AuthenticationException
        TargetSite     :
            Name          : MoveNext
            DeclaringType : System.Net.Security.SslStream+<ForceAuthenticationAsync>d__146`1[TIOAdapter]
            MemberType    : Method
            Module        : System.Net.Security.dll
        Message        : Authentication failed, see inner exception.
        InnerException :
            Type            : System.ComponentModel.Win32Exception
            NativeErrorCode : -2146893052
            ErrorCode       : -2147467259
            Message         : The Local Security Authority cannot be contacted
            HResult         : -2147467259
        Source         : System.Net.Security
        HResult        : -2146233087
        StackTrace     :
   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellat
ionToken)
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, S
tream stream, CancellationToken cancellationToken)
    Source         : System.Net.Http
    HResult        : -2146233087
    StackTrace     :
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, S
tream stream, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, Cancel
lationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts
, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(HttpClient client, HttpRequestMessage request, Boolean keepAuthorization)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
TargetObject          : Method: GET, RequestUri: 'https://microsoft.com/', Version: 1.1, Content: <null>, Headers:
                        {
                        User-Agent: Mozilla/5.0
                        User-Agent: (Windows NT 10.0; Microsoft Windows 10.0.19045; et-EE)
                        User-Agent: PowerShell/7.3.9
                        }
CategoryInfo          : InvalidOperation: (Method: GET, Reques…PowerShell/7.3.9
                        }:HttpRequestMessage) [Invoke-WebRequest], HttpRequestException
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
ErrorDetails          : Authentication failed, see inner exception.
InvocationInfo        :
    MyCommand        : Invoke-WebRequest
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : 16
    Line             : invoke-webRequest -Uri https://microsoft.com -SslProtocol Tls13
    PositionMessage  : At line:1 char:1
                       + invoke-webRequest -Uri https://microsoft.com -SslProtocol Tls13
                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    InvocationName   : invoke-webRequest
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.9
PSEdition                      Core
GitCommitId                    7.3.9
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
Edge browser

hm, the same problem does not exist on Server 2022, with PowerShell v7.3.6

Cannot reproduce on Win 11 client.
Tested with pwsh 7.3.8, 7.3.9 & 7.4-rc1

Hi peetrike, can you collect wireshark from both working server 2022 and none-working server? Can we have a quick review on the difference with them as i'm not able to repro issue on my server.

The cmdlet uses the Windows C library for TLS operations. You need Windows 11 or Server 2022 or newer, any old versions will fail because TLS 1.3 is unavailable in Schannel. Edge and other programs might still be able to use TLS 1.3 but that’s because they use their own TLS library and not Schannel. PowerShell’s hands are tied to dotnet which is tied to Schannel on Windows.

I was under impression that TLS 1.3 support was also released for Windows 10 v22H2.  If that's not true, then it's obivous why it fails.

They had released it as a preview feature in the preview builds but I don’t think it ever made it to the official releases until Windows 11/Server 2022. The docs indicate only those versions https://learn.microsoft.com/en-us/windows/win32/secauthn/protocols-in-tls-ssl--schannel-ssp- and for 22H2 specifically https://learn.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-10-v22h2. Granted I have not tested this and maybe you just need to set the Schannel registry keys to enable it but ultimately that’s outside the realm of PowerShell here and it’s an OS configuration.

I had SChannel registry key set.  The above error message is from that time.  When registry key was removed (restore default behaviour), then the inner exception message is:
The client and server cannot communicate, because they do not possess a common algorithm.

It seems that Windows 10 does not have TLS 1.3 support.


bluetooth gets disconnected when start walking

Hi folks: I installed the version of Xdrip from a nightly update, which already has the Amazift feature. However, it freezes my Pace so I had to downgrade to the Klaus3d3 version.
However, I've been getting hard disconnections from BLE and GATT server every time I start walking for a while. I did no changes in the settings when it first appeared.
I tried all the potential solutions (turning on/off features such as bluetooth watchdog, Close to GATT disconnection, trust auto-connect, wakelocks bluetooth.... Nothing has worked so far. The Amazfit app is running in the background and the watch is connected. But the smartphone loses the connection with blukon and there is no way to get reconnected without interruptions until I stop walking for a while.
I suspect my smartphone sensor or any app is detecting movement and that sensor uses some kind of shared bus of data that causes the problem. I activated the verbose mode, but I cannot understand what it may be. It seems the blucon gets unresponsive to the command 010D0E010D with error 0009, which is the "go to sleep" command, and I get a NACK error from the blukon. The DexCollectionService also gets a "Disconnected from GATT server" in these occasions. Even after telling it to not close the GATT on bluetooth disconnect.
Please, any help will be very welcome since I use this for sports and it is useless in this state. I'm crazy because I've tried every possibility and the result is the same. It only worked fine after uninstalling/reinstalling the @Klaus3d3 version, but it becomes "corrupted" after 2-3 days of use.
Could it be related to the Android handling of BLE connections (the 20 seconds of timeout between re-connections as documented here ?

Could @gregorybel help?

Hi,
this is not related to this repository. This is only the part for the watch.
Installing my fork of xDrip+ may help you, because it's based on an old version.
Please post this as a new issue in the xDrip+ repository. https://github.com/NightscoutFoundation/xDrip/issues
The developers of xDrip+ do not read here.


feat: upgrade build packages

:tada: This PR is included in version 0.7.0 :tada:
The release is available on:

GitHub release
Atom package

Your semantic-release bot :package::rocket:


Demo app: enter the amount to collect a payment through a physical Stripe terminal reader

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
hahatwo, @thyoondev, @sumit03guha, @msakirarslan, @kienvht, @shukuravazov, @ancarvalho, @akhileshnirapure, @capitulation, @oniox, @hrsalazar, @SKARS7, @kalloc, @behramcelen, @misha-krainik, @camolezi, @erste-schritte, @KurtD, @huseyinsoyluu, @raaviian, @gushul, @amquinyuop, @fvtvr4m4, @mikekoopie, @filippo-mancinelli, @Basanago, @danieldanielecki, @statelessdao, @gguney, @Jcauley, @Yudawardana94, @davyxx3, @dnzengou, @mweigel-arg, @fivja0-Nohxum-xewbik, @thgehr, @hellothread, @ctbip, @laguiar, @product-think2049, @tiderjian, @energizer666, @talentlessguy, @dreyfus92, @joe94113, @mas250, @xiaohan-ma, @lsilva5455, @SaeidRp, @LucasG04


Develop manual testing strategy for mcnp_import

This is a long-standing oft-discussed issue.  We should capture ideas somewhere and link here.

There's been a lot of repeating discussion about this issue. I'll summarize here so we avoid having this discussion again in the future:
The pitfall we keep falling into when considering testing of the import tool is the testing that the CAD engine is creating the correct volumes from the mcnp2cad geometry by somehow checking the resulting CAD model.
The real problem at hand is testing the mcnp2cad logic and its calls into the CAD engine. To do this some kind of mock iGeom/DAGMC convenience interface has repeatedly been discussed.
Another optional issue is to test that calls into this CAD interface are doing what we expect, these could be pulled in from the iGeom interface in CGM.
TL;DR
Need two layers of testing to be fully robust:

One layer testing that the calls to the CAD engine are correct using mock interface
Another optional layer testing that the iGeom calls are creating the correct CAD objects.

We didn't specify this, but I'd imagine these would be built/executed the same way the export tests #24 will be setup.


Removed unnecessary wrapper component

Removed Unnecessary wrapper component. While copy-pasting this e.g. to local create-react-app, I had to do this change
(Apart from adding following to index.css:)
html,
body {
  height: 100%;
}
 #root {
  height: 100%;
}

Thank you!


[Issue] can't access tamagui.dev

Current Behavior
In tamagui.dev, when I access using my browser (brave browser and safari). It shows an error
Application error: a client-side exception has occurred (see the browser console for more information).
It shows in a blink the proper documentation and then it shows the error.

Expected Behavior
It should shows the proper website
Tamagui Version
-

Reproduction
- Mac OS 13.1
- Brave browser / Safari
- No extension installed

System Info
No response

Same. Showing below message.
Application error: a client-side exception has occurred (see the browser console for more information).

Console showing below message.

eek fixed my bad :/


Update installation notes?

Hi,
with help from @alexarchambault on gitter, here are steps that work with latest master:

sbt scala-cli/pack
sbt publishLocal
./launch (and disregard the bash errors)

sbt cli/packArchive
filing to download
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main/0.13.8/jars/main.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.8/jars/compiler-interface-bin.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_8_2/0.13.8/jars/compiler-interface-bin.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_9_2/0.13.8/jars/compiler-interface-bin.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_9_3/0.13.8/jars/compiler-interface-bin.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/actions/0.13.8/jars/actions.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main-settings/0.13.8/jars/main-settings.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/io/0.13.8/jars/io.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/ivy/0.13.8/jars/ivy.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/command/0.13.8/jars/command.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/completion/0.13.8/jars/completion.jar ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/api/0.13.8/jars/api.jar ..
even though linix server had open access to port 80 and port 443  internet


Enable/disable sound notification with a preference

Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
Users cannot enable or disable sound notifications, which can be disruptive in quiet environments or meetings.
Describe the solution you'd like
Add a toggle in the notification settings to enable/disable sound notifications, with the preference saved across sessions.

Repeated connect/disconnect cycles can overwhelm users with constant notifications. We should also consider a proactive rule to suppress sound notifications during rapid connection changes to reduce unnecessary disruptions.

this is linked to https://github.com/numerique-gouv/meet/issues/241


Gene Expression survey must be updated to include link to Data We Collect in privacy policy

Placeholder until the policy draft is finalized and published.
Wyatt reviewed the survey and noted that it should contain a link to the Data We Collect section in the updated privacy policy.

@signechambers1 @MegUrisko - The Privacy policy was updated on December 15 so this is unblocked.

@MegUrisko reports this has been addressed with legal and no further action is required, closing.


fix: reset date to initial date

fixes #237

Thanks! I'll try to release it soon, in the meanwhile you can use directly the master branch on npm 👍


demo.html is error

I want to play it on my mobile phone. Then I noticed that demo.html has buttons to support mobile.
But when I run it, it reports an error:
Uncaught TypeError: Cannot read properties of undefined (reading 'square')
    at Object.getBlockColor (blockrain.jquery.src.js:1102)
    at Object.drawBlock (blockrain.jquery.src.js:957)
    at Object.draw (blockrain.jquery.src.js:663)
    at Object.render (blockrain.jquery.src.js:935)
    at Object.createRandomBoard (blockrain.jquery.src.js:926)
    at Object.init (blockrain.jquery.src.js:729)
    at e.<computed>.<computed>._create (blockrain.jquery.src.js:228)
    at e.<computed>.<computed>._create (blockrain.jquery.libs.js:2)
    at e.<computed>.<computed>._createWidget (blockrain.jquery.libs.js:2)
    at new e.<computed>.<computed> (blockrain.jquery.libs.js:2)

I get it.
https://github.com/Aerolab/blockrain.js/blob/ba6d4192370d2ce4f75ce31796f345eb5711b489/src/blockrain.jquery.src.js#L1600-L1606
Let this paragraph be executed and you can play it on your phone.


Add comment in starter repo setup bash file

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:202e97a0a9c10dd833c51857380c0a7fd1e5f150

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:416f8f45b9dcd07279860de296806495f27b32dd

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:18bcddcbe4e9dce4087a87108d30e3339b69047b

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:5404fe6f57906e077c0a4d429664f9b268d57bdf

I had to move the logic to link the gem to its own bash script because git clone was making a new gem at tmp/starter, but for some reason the link gem logic wasn't picking up on it. I'm assuming the bash script needed to end before it picked up on the changes, so making link_gem.sh here and running it after the fact worked.

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gazayas/bullet_train_testing?version=dev:4f610ccc75545e88ed325939e3ef274a1c084cc2


Major overhaul

@jrochkind Any way you can squash these into a single commit?

I could definitely do that. Do you think it would be better?  I tried to mostly make the commits meaningful and well-organized already, so I would rather have them separate to show the history and provide the commit messages with reasoning behind each change (which show up in git blame for instance).
But if you'd rather have em squashed, I can squash em!

This is a small enough repo, and since this basically constitutes a rewrite, it probably isn't a bad idea to keep all of this history. :+1: to merging as-is.

Yeah, as I think about it more...
The point of rewriting history is to provide a more clear narrative of what changes were actually made when someone is reviewing the commit history with git log or git blame. Or to give good individual commits someone can revert if they think it introduced a bug or whatever.
I think my existing commit history, in which I tried to take care to make good commits with good messages (it's not perfect, but I tried) is a pretty good narrative. I think one giant commit with the commit message "Giant commit that majorly overhauls everything" does not provide any value added. That's the kind of commit that's considered a bad practice, actually, right?
That's my case for merging as is vs squashing to one mega commit!
Once we do merge, I'd like us to do a release to rubygems? Not sure if we should call it 1.0, or be more cautious and call it 0.9?
@tampakis, you want to do the release so you learn how to do it, and get registered as the owner of the gem on rubygems (you can then add me or any other collaborators like jon as co-owners too).  After this merge, the bundler-provided rake tasks are included, so after checking you have the version you want in the version.rb file, you can release with a simple rake release.

Sure this sounds good. I’ll merge and release on Wednesday when I’m back in the office. I like the sound of 1.0
On Jul 6, 2015, at 11:55 AM, Jonathan Rochkind<EMAIL_ADDRESS>wrote:

Yeah, as I think about it more...
The point of rewriting history is to provide a more clear narrative of what changes were actually made when someone is reviewing the commit history with git log or git blame. Or to give good individual commits someone can revert if they think it introduced a bug or whatever.
I think my existing commit history, in which I tried to take care to make good commits with good messages (it's not perfect, but I tried) is a pretty good narrative. I think one giant commit with the commit message "Giant commit that majorly overhauls everything" does not provide any value added. That's the kind of commit that's considered a bad practice, actually, right?
That's my case for merging as is vs squashing to one mega commit!
Once we do merge, I'd like us to do a release to rubygems? Not sure if we should call it 1.0, or be more cautious and call it 0.9?
@tampakis, you want to do the release so you learn how to do it, and get registered as the owner of the gem on rubygems (you can then add me or any other collaborators like jon as co-owners too). After this merge, the bundler-provided rake tasks are included, so after checking you have the version you want in the version.rb file, you can release with a simple rake release.
—
Reply to this email directly or view it on GitHub.

I think you should go with 0.9.0 or something like that until you've tried to plug this into our indexer as well; you never know what tweaks might surface (which could include breaking changes and thus immediately force you to 2.0.0) from the experience of testing on another system. You could cut 1.0.0 the very next day if all goes smoothly.

Awesome thanks.
Can we release to rubygems now? Note before releasing you'll want to update ./lib/lcsort/version.rb to be the version number you want to release, and commit that.
You should then be able to release with rake release.  But can you add me and maybe Jon as gem owners too, so we can release in the future? (It'll make you the sole owner on first release, then you can add us, if you know the email addresses we have registered with rubygems. Mine is jonathan at dnil.net.
http://guides.rubygems.org/command-reference/#gem-owner

Yes that's what I'm working on.