How can I update all the controls from data at once , just like flutter's setState()

How can I update all the controls at once just like flutter's setState() , for example:
`import flet
from flet import Container, Page, ElevatedButton, ListView
btList = []
def main(page: Page):
btList.append('1')
btList.append('2')

def objectList():
    items = []
    for i in range(0, len(btList)):
        items.append(ElevatedButton(text=f"Elevated button {i}", width=30))
    return items

mainWindow = Container(
    expand=True,
    content=ListView(
        controls=objectList(),
        expand=True
    ))

page.add(mainWindow)

btList.append('3')
btList.append('4')

page.update()  # it dosn't work

flet.app(target=main)
`

Flet does not do "data binding" or "templating". Instead, you either building new ElevatedButton controls for 3 and 4 items and add them a ListView or rebuild the entire ListView after changing btList.

Please post questions in https://github.com/flet-dev/flet/discussions or on Discord: https://discord.gg/dzWXP8SHG8

Calling page.update like that can't eventually work(will have no visible effect).
The update function kind of makes visible(shows up) the changes you lately did on controls.
Concerning your question, I don't understand which control you wish to update. (I don't know Flutter's setState())
Do you want your program to later add two ElevatedButtons with the values you appended to the list(3 and 4) ?

Flet does not do "data binding" or "templating". Instead, you either building new ElevatedButton controls for 3 and 4 items and add them a ListView or rebuild the entire ListView after changing btList.

Exactly.
I think doing this can work If you just add it before the page.update():
mainWindow.content.controls= objectList()
But I don't see any reason for updating the Container contents this way. (Considering your code)
Just do the appends before calling the page.add(mainWindow) 🤷🏽♂
See you in the discussions section for more discussion on this.


Ubuntu 17.04 atom Segmentation fault nohup "$ATOM_PATH"

I have downloaded atom (the .deb file on the homepage) and ran:
sudo dpkg -i atom-amd64.deb
Then I go to launch atom for a project:
atom <project-dir>
and I get
/usr/bin/atom: line 129: 129576 Segmentation fault      (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
I am running Ubuntu 17.04.
So what do I do to resolve this?

I have this problem on Ubuntu 17.10. A workaround would to create a script like this (atom-electron-fix):
#! /bin/bash

export XDG_CONFIG_DIRS=""
export GTK2_RC_FILES=""

atom "$@"

make this script executable and place it somewhere in your PATH (~/.bin, ~/usr/bin/, ~/usr/local/bin). Then change the Exec line of atom.desktop to this script.


add schemaUrl support

just adding to track work around SchemaUrl (from opentelemetry-go)

The schema URL defines the version of semantic conventions used in resource. Each version of semantic conventions will export a unique schema URL that defines the form of the semantic conventions and the transforms to others.

Now that OTEP-152 spec changes have been added to the specification it would be useful to add for ruby.
There are a number of use cases / benefits that impact instrumentations+resource detectors/processors/and backends. For end-users, many of these use cases can be adopted incrementally, ie, schemaUrl support can be added to span's emitted by instrumentation before it's added to a datastore or UI-layer for handling those spans.
For additional context, an example YAML file found by making a request to the schemaUrl is in the OTEP's appendix. OpenTelemetry-Go also contains an implementation.
Also worth nothing that there's a opentelemetry-collector-contrib issue about the "transformation processor"  mentioned in the OTEP , and that processor work isn't started as far as i can tell.  Of course, it's possible to do the "span transformation processor"-ing via either a custom library that manipulates span/metric/log/event and resource processors yaml config, or via backend custom processing. It would be nice to see standard tooling be written here of course, but not blocking as far I can tell from having schemaUrl supported in opentelemetry-ruby.

@ericmustin Does this mean that we need all of the auto-instrumenation to emit attributes locked to a certain schema?
To also include some constrains around what minimal semantic conventions schema version the instrumentation and SDK are emitting, unless we intend to support normalizing all fields starting from the earliest version of the schema.
WDYT?

@arielvalentin Re:

Does this mean that we need all of the auto-instrumenation to emit attributes locked to a certain schema?

I think the technical answer currently is, Yes, but only if we want to add schema_url to an instrumentation (because these instrumentations are not 1.0)
This behavior is indeed a bit constrainting, and imo, i think specified incorrectly in it's current form. Some other community has recognized this as well, see: https://github.com/open-telemetry/opentelemetry-go/issues/2341
It's unclear what the next steps are for this feature, I think they're trying to determine what the merge behavior ought to be, where that ought to happen, and how to determine whats mergeable and what isn't.
For now I think we should just make sure we have schema_url support in our api/sdk and export, but not necessarily populate it ootb since in practice this will create lots of Resource.merge errors.

I added schema url support in #1237, although I didn't bother adding it to any instrumentation.

It's unclear what the next steps are for this feature, I think they're trying to determine what the merge behavior ought to be, where that ought to happen, and how to determine whats mergeable and what isn't.

The resolution was "implementation dependent" 😆 - see the PR for how I chose to resolve it, we can do whatever we think is right in this instance.


📖 Document AGU Notebooks Now background

Small changes to document the background stating the collaborations started out of AGU Notebooks Now. I have removed the statement saying that this will be guided by AGU though (as well as renaming the repository), both are a bit presumptive -- and in talking to Jeff today, the jats4r working group may actually be a better home for this work.
It is probably best to continue without this language for now as we are gaining technical consensus, the home for the process can evolve over the coming months.
This can also evolve after the first meeting with AGU (Dec 21), seeing what their appetite is for these docs/direction in the wider group.

@rowanc1 the name for the project, also in the proposal is Notebooks Now! and suggest using this, pointing to the website https://data.agu.org/notebooks-now/. Also see the proposal citation -> https://doi.org/10.5281/zenodo.6981363. You can also point to the meeting page -> https://data.agu.org/notebooks-now/2022/11/03/nn-workshop-recordings.html. +1 to jats4r if it can be an open group.

Fantastic, this is already pointing to the website (link at the bottom though). I will update the Notebooks Now! and add the reference in!
Thanks for the review. :)

Added the citation/recording links @libcce, thanks for the pointers.


General Grievance: Watch victoriyaclub.com

General Grievance requests the watch of the watch_keyword victoriyaclub\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

victoriyaclub\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Support Tilemap

Import Tilemap/Tilesets
1- Some way to import tilemap exported from Tiled?
http://www.mapeditor.org/
2- There are plans to this feature?
I found this repos
https://github.com/WebSeed/three.js-tilemap
https://github.com/magnonellie/dtile-three-renderer

I tested this Engine today.
http://nunu.bitballoon.com/
Ótima Engine.

Hi
Right now nunuStudio doesn't support tilemaps, but i think it would be a nice addition to the engine.
I will test the libraries you sent to see if i can integrate one of these in the editor.
I will try to add easy tile aligned object placement directly in the editor.
A parser for tiled files would be great but i have to check the specification of these files first.
Thanks a lot for the suggestion.
Cumps

I could not test these repos. One repo missing files and another appears error. Anyway ...
This other I found is also interesting:
https://github.com/vonWolfehaus/von-grid
Good luck with the Engine.
Only 2 contributing to the project and this is already better than the vast majority Engines.

I was able to test only one of them (the one that is missing library). The other one i have to test with it a bit more later.
Im thinking about including a mechanism to store objects in the resource manager and after that placing objects with drag and drop and/or with a painting mechanism (like a tile editor), this associated with tile alignment should be enough to easily have a tilemap-like system.
Thanks a lot.
Cumps

Im thinking about including a mechanism to store objects in the resource manager and after that placing objects with drag and drop and/or with a painting mechanism (like a tile editor), this associated with tile alignment should be enough to easily have a tilemap-like system.

Yes. Something like this is already quite functional.
https://phaser.io/examples/v2/tilemaps/blank-tilemap
To work this need for example:

select tile/object by ID, for delete and replace tile, etc.
get positions to collide physics.
set tile/grid size (16x16, 32x32, I do not know how it goes in 3D)

Another interesting resource is paint a "regions/terrains" with a color. This stay invisible. When the player comes inside, this can be used to fires an event.

Yeah this example seems quite good, i think that i can create a basic similar mechanism for nunu in an evening.  I will try to work a bit on this on the weekend.
Regions is something that i can probably add to cannonjs, and integrate in the physics engine.
Thanks

Cannonjs was also a good choice. Other good physics is of Turbulenz
http://biz.turbulenz.com/samples#sample-modal/samplepage/sample_assets/physics2d.canvas.release.html/samplesrc/sample_assets/physics2d.js.html
https://github.com/turbulenz/turbulenz_engine
Abçs

I choose cannonjs mostly because it was the easiest one for me to edit later down the road if i needed to.
Im not planning for now to integrate a 2D soon, (first i want to finish a stable version with the current engine and i want to avoid the confusion of having 2 physics engines, working on diferent datatypes).
There is also p2.js (also developed by @schteppe https://schteppe.github.io/p2.js/) which seems for me a good and flexible option for 2D physics for now.
Thanks a lot.
Cumps

Hello
Still havent done any work regarding this feature.
Thanks!


feat: reconnect on network change or app wake

I have used this package to replace some custom reconnect code because I think it does a better job than we were doing. However one issue with the this package is that when the network switches, from Wifi to Cellular for example, there is no reconnection attempt made because often the WebSocket class doesn't register it as a dropped connection. My fix was to use the connectivity_plus package to look for changes to the network, ignoring changes to and from no connection since this package already handles disconnects, to create a reliable long running websocket connection.
There are also issues where a websocket connection will stop responding after the app has gone into the background but hasn't been unloaded from memory. In this case we need to check if the app has resumed and assume that after a certain amount of time it has been paused that we should force a reconnect.
It would be great if this client could handle those cases, because maintaining a reliable websocket connection in flutter isn't easy.

Hi @tankadesign 👋
Thanks for opening an issue!
I should have some time to take a look at this in the next few days. Ideally, the solution we come up with should not depend on Flutter since this package is currently pure Dart at the moment but I agree this is a use-case we should address 👍

Great, thanks for taking the suggestion. I figure at v0.1.0 there's room to grow 😀.

Hey @felangel and @motiapp. We've had a few issues with handling reconnections using connectivity_plus package as it sometimes reports invalid connection states when using a VPN (see https://github.com/fluttercommunity/plus_plugins/issues/857, https://github.com/fluttercommunity/plus_plugins/issues/1444).
I would suggest looking into internet_connection_checker for reading internet connection states as it seems to work more reliably. The way we currently approach the socket reconnection is by listening to InternetConnectionChecker.onStatusChange and attempting to reconnect when the status changes from disconnected to connected. Hope that makes sense.
Good work with the package @felangel!

Hey @felangel and @tankadesign. We've had a few issues with handling reconnections using connectivity_plus package as it sometimes reports invalid connection states when using a VPN (see https://github.com/fluttercommunity/plus_plugins/issues/857, https://github.com/fluttercommunity/plus_plugins/issues/1444).
I would suggest looking into internet_connection_checker for reading internet connection states as it seems to work more reliably. The way we currently approach the socket reconnection is by listening to InternetConnectionChecker.onStatusChange and attempting to reconnect when the status changes from disconnected to connected. Hope that makes sense.
Good work with the package @felangel!

@bselwe Thanks for the info, I'll check out the package. In the case where networks change from WiFi to Cellular, or vice-versa, do you know if it always reports disconnected in between the switch? I wonder if it behaves the same if you manually change it, by turning wifi on and off, versus when you move out of range of wifi.

Any update on this?


HTML Templates instead of inline html in JS

As of now we have to define all the html in the manifest.js (can you explain if possible why this implementation was favored)

Is there any other way like creating html templates and referring them the way we refer css/js i.e. by specifying the url like this

I think it will separate out the structure and will help in modularity.

hi we are using openf2 with multiple  financial apps, it is around 35 apps., we use javascript framework,
we have html, manifiest js, and appclass js.  so when ever we do some design releated changes in html, we have to minify html and put it in manifiest file. some time during copy paste, we wrongly copy paste in other application folder


Debian 9 rtorrent error

Today I install Debian 9 on same second server.
The whole process goes clean.
Only at end
/usr/local/bin/rtinst: line 867: rtorrent: command not found
after reboot server, rutorrent doesn't work.
rutorrent say something as:

scgi_port not work
rtorrent not conection

I manually install rtorrent
sudo apt install rtorrent
reboot
Now works without error.

There has been an issue with xmlrpc site which is causing this.
Rerun the script, the problem seems to have been fixed but it has been intermittent so check if after running the script if ~/source/xmlrpc exists, if it does then should have installed ok.

I tried on the third server.
rtinst 1.5.6.
No error message.
rtorrent start by default.

yeah the issue was with the xmlrpc site, which was intermittent so you may still have problems but if you do just rerun the script until it installs.


[CMR] M3-4361: Change Linode status pill to new designs

Updated the status pill designs and removed the opacity when the settings menu is open. Still need to add a corresponding background color for dark mode.

Maybe make the pill text white in dark mode? It's a little hard to read in the grey color


Overlord cannot elect a leader because of exception when reacquiring locks.

Affected Version
0.21.1
Description
2021-09-01T00:27:08,408 ERROR [LeaderSelector[/druid/overlord/_OVERLORD]] org.apache.druid.curator.discovery.CuratorDruidLeaderSelector - listener becomeLeader() failed. Unable to become leader: {class=org.apache.druid.curator.discovery.CuratorDruidLeaderSelector, exceptionType=class java.lang.RuntimeException, exceptionMessage=org.apache.druid.java.util.common.ISE: Could not reacquire lock on interval[2021-08-29T00:00:00.000Z/2021-08-30T00:00:00.000Z] version[2021-08-31T23:32:28.782Z] for task: index_parallel_mytable_aplllohg_2021-08-31T13:15:38.699Z}
java.lang.RuntimeException: org.apache.druid.java.util.common.ISE: Could not reacquire lock on interval[2021-08-29T00:00:00.000Z/2021-08-30T00:00:00.000Z] version[2021-08-31T23:32:28.782Z] for task: index_parallel_mytable_aplllohg_2021-08-31T13:15:38.699Z
    at org.apache.druid.indexing.overlord.TaskMaster$1.becomeLeader(TaskMaster.java:159) ~[druid-indexing-service-0.21.1.jar:0.21.1]
    at org.apache.druid.curator.discovery.CuratorDruidLeaderSelector$1.isLeader(CuratorDruidLeaderSelector.java:97) [druid-server-0.21.1.jar:0.21.1]
    at org.apache.curator.framework.recipes.leader.LeaderLatch$9.apply(LeaderLatch.java:702) [curator-recipes-4.3.0.jar:4.3.0]
    at org.apache.curator.framework.recipes.leader.LeaderLatch$9.apply(LeaderLatch.java:698) [curator-recipes-4.3.0.jar:4.3.0]
    at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:100) [curator-framework-4.3.0.jar:4.3.0]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_302]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_302]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_302]

The error above completely prevented any Overlord instances to become a leader. Is this error so important that Overlord cannot perform election?

workaround: delete all from druid_tasks table

The line that this log came from is https://github.com/apache/druid/blob/8296123d895db7d06bc4517db5e767afb7862b83/indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskMaster.java#L159
Which is throwing a new RuntimeException(e).  But the reported stack trace only shows the top-level Runtime exception without the stack trace for the ISE that triggered it.  As such, it's difficult to actually debug as there isn't an indication of what the bad state is.  If this happens for anybody else at any point in time, please provide the full stacktrace so that we can determine what is going on.

Found this to be the issue in 0.19.0 as well. Just trying to understand why leader election would fail just because it's able to acquire locks for a single task.

@tanisdlj - can you share the overlord logs with us?

@abhishekagarwal87 sorry! I was out. There is a support ticket (10666) we opened in Imply and I think they are looking into it already, should be fixed soon-ish I guess

We are also experiencing this and have been manually intervening the metadata store to fix this (not ideal). Does anyone have updates on this?

@jasonwzm Is it reproducible under some conditions?
I am looking into how to repro this locally
It would be super helpful if one could share the logs of the overlord, coordinator, and the tasks which share the lock when the issue happens.

Closed with #13172


Update reqwest to 0.9

According to the changelog of reqwest, Header types are removed only
temporally. Nevertheless, in the meantime, we need to adapt.
I committed Cargo.lock, don’t know if I did this right, as I’m fairly new to rust.

Thanks for that. However the dev branch is next and already contains that change

Oops, my fault, should have checked.


Remove schema from dataframe_from_2d_array, use names instead

thanks - we'll probably have to add Column.cast, but that'll be separate


"Invalid doc style" warning if implicit def is first code in an object

For indentStyle scaladoc, if the first code in an object is an implicit def, scalastyle 1.0.0 gives an "Invalid doc style" warning.  This does not happen if other code is inserted above the implicit def, or if the def is not implicit.
There is another possibly related issue.  If there is a comment before the first scaladoc in a file, there is also an "Invalid doc style" warning.  This  does not happen if there is nothing before the first scaladoc, or if some code is added between the header comment and the first scaladoc.
I have attached code showing both of these.  Foo1.scala has no warnings, Foo2.scala has both warnings, and Foo3.scala shows how each warning can be fixed in a different way than in Foo1.scala.  Below is the CLI output for each.
$ java -jar scalastyle_2.12-1.0.0-batch.jar --config scalastyle-config.xml Foo1.scala
Processed 1 file(s)
Found 0 errors
Found 0 warnings
Finished in 460 ms
$ java -jar scalastyle_2.12-1.0.0-batch.jar --config scalastyle-config.xml Foo2.scala
warning file=/home/lfrost/scalastyle/Foo2.scala message=Missing or badly formed ScalaDoc: Invalid doc style line=9
warning file=/home/lfrost/scalastyle/Foo2.scala message=Missing or badly formed ScalaDoc: Invalid doc style line=19
Processed 1 file(s)
Found 0 errors
Found 2 warnings
Finished in 456 ms
$ java -jar scalastyle_2.12-1.0.0-batch.jar --config scalastyle-config.xml Foo3.scala
Processed 1 file(s)
Found 0 errors
Found 0 warnings
Finished in 466 ms`

scalastyle-scaladoc-test.zip

Thanks. I'll have a look at this when I have a little time.


treebeard CI

Notebook CI with treebeard. And test run with spaghetti.
See also: pysal/pysal#1170

Going to pass on this for now. May reopen at a later date.


CatBoostEncoder Transform method on validation data still showing missing values

After applying fit_transform() on train data and transform() on test data there is no missing values in  train data but still missing values in test data.

Can you provide some example code? Something like:
        enc = encoders.CatBoostEncoder(handle_missing='value')
        enc.fit(['a','a','b','c'], [1,1,1,0])
        test = enc.transform(['a','b',None])
        print(test)

?

fit_transform on a data frame having both categorical as well as numerical feature results is replacing all numeric columns missing values filled with -999 and doses not have any missing values on the train set.
from category_encoders import  CatBoostEncoder
permutations = np.random.permutation(len(X_train))
predictors = X_train.iloc[permutations]
target = y_train.iloc[permutations]
cat_encoder = CatBoostEncoder(cols=categorical_columns)
X_train = cat_encoder.fit_transform(predictors, target)
After transforming on the validation set, still there are missing values in the numeric columns.
X_valid = cat_encoder.transform(X_validation)

I see. It should be fixed now in the master branch.


Compile more up to date binaries/add beta releases?

I was wondering if Zero3K could add more recent stable/beta release as the most recent is closing in on being 521 days/1.42 years old and I see much more recent changes to the source. Would that be doable?
I see some pretty significant changes this year . Are they stable enough to release binaries for them?

I am waiting for someone to help get it signed so Test Mode is no longer needed. Also, I still have some issues with it and its CPL I want fixed and features I want added.

This might be done via GitHub Actions. To build this on one's own laptop about 20 GB of development tools must be installed.

How would I do that?

I haven't built ERAM. But the process of uploading the artifact works like the lines following https://github.com/ninja-build/ninja/blob/master/.github/workflows/windows.yml#L29
Another possibility is AppVeyor, which has the latest WDK. I didn't immediately find if GitHub Actions has WDK available, but it would seem likely?

I don't know how to use GitHub Actions/AppVeyor. Someone else can make a PR that gets it built and archived via either of those.

Could someone please release new version? Github says it's 40 commits since then already. I'd do that myself, but I'm not that good in compiling stuff sigh


next-typescript: Force type check on compile.

Is it possible to always perform type checking (like using tsc command). If it's fail, it will throw an error.

You can make type checking a part of your linting script. E.g.:
{
  "scripts": {
    "dev": "next",
    "build": "next build",
    "start": "next start",
    "lint": "tsc --noEmit && tslint -c tslint.json '**/*.ts{x,}'"
  }
}

How about "failed at compile time" in development mode? TSLint can do it following by my next.config.js config.
const webpack = require('webpack');
const withTypescript = require('@zeit/next-typescript');
const withTM = require('next-plugin-transpile-modules');

const conf = require('./config');

module.exports = withTypescript(
  withTM({
    transpileModules: ['lodash-es'],
    webpack(config, { dev }) {
      config.module.rules.unshift({
        enforce: 'pre',
        test: /\.tsx?$/,
        exclude: [/node_modules/],
        use: [{
          loader: 'tslint-loader',
          options: {
            failOnHint: true
          }
        }]
      });
    },
    assetPrefix: conf.assetPrefix
  })
);

I've set failOnHint for tslint-loader. It will throw an error when it's fail to lint right away. (Before build time)

In theory you can use:
         config.plugins.unshift(
          new ForkTsCheckerWebpackPlugin({
            async: false, // block compilation!
          })
        )

It does not yet work for me (no error output), but I think I have another problem.


My Favorite Beatdown

As a PAX, I'd like to utilize the "Show backblast cards on PAX pages #4" feature to be able to "favorite" and store past beatdowns for reference.

For future reference, heart icon for favoriting the backblast card - https://www.joshmorony.com/twitter-style-heart-like-animation-with-angular-animations-in-ionic/


update cargo lock for gp-gas-estimation

Updated only cargo lock file, since v0.4.4 tag is reused for newer commit hash.
Fixes https://github.com/gnosis/gp-gas-estimation/pull/28

Codecov Report

Merging #1623 (f5158d8) into main (1d1cb58) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1623   +/-   ##
=======================================
  Coverage   66.63%   66.63%
=======================================
  Files         172      172
  Lines       33749    33749
=======================================
  Hits        22489    22489
  Misses      11260    11260


pub/sub publish to specific topic

Hi, i've been playing around with Nanomsg, and wanted to ask how can i publish to a specific topic?
I've used subscriber.sub_subscribe = "" (found it on the examples),  tested and noticed it seems to filter by topic, but i don't find a place to define the publisher message topic.
Can you please give me some hint?

As far as I understand, you cannot publish to specific topic. Every message published will go into the stream. It is the subscriber's responsibility to define filters/topics to pickup only messages it is interested in.

Thanks for the clarification!


Use date_to_rfc822

date_to_rfc822 is a standard Jekyll filter, so it makes sense to use it instead of the slightly messy date: "%a, %d %b %Y %H:%M:%S %z".

Makes sense to me. Strangely, I just checked and I've been using that approach locally for a while but never committed it for some reason!
Thanks!


Configuration Option to turn off console declaration

In the console (on what appears to be all browsers) Pixi gives off a notification that Pixi is active and what rendering system is being used. Eg:
Pixi.js 3.0.6 - ✰ WebGL ✰      http://www.pixijs.com/    ♥♥♥
I think it would be cool if this could be turned off by an option somewhere

Hello, you can already do that, but be carefull for your face :D
/**
     * Logs out the version and renderer information for this running instance of PIXI.
     * If you don't want to see this message you can set `PIXI.utils._saidHello = true;`
     * so the library thinks it already said it. Keep in mind that doing that will forever
     * makes you a jerk face.
     *
     * @param {string} type - The string renderer type to log.
     * @constant
     * @static
     */
     sayHello: function (type)

True facts, Jerky McJerkhead.

What about doing this makes a person a jerk?

It helps to let people know about PIXI, if you do not advertise it in another way.
Say, for exemple, I'm a web dev and I discover an impressive game or website so I press F12 to look at the code, and I see the hello message from PIXI.
So of course you can do it, and nobody will blame you for that, but it would be nice to let PIXI get some credit if you use it.

@mcnuttandrew Companies like Valve have used Pixi for projects and kept the log in, there is rarely a reason to take it out. The only real case is to make your own log that includes Pixi's info, or to pretend you didn't use PIXI at all, which is a jerk move. The log is a simple way for you to give back to the project that is powering your app by increasing its visibility.
If you feel it is necessary feel free to turn it off, we made it easy to do on purpose. But I reserve the right to look down my nose at you. ;)

I'm not trying to hide the fact that I'm using it, I just don't like the clutter in the console when i'm trying to do other things on a relatively small screen. But i feel y'all, those are super good reasons, thanks for the energetic replies

Disable it during development and then when you publish throw it back in again. Simple.

I consider this is still an unresolved issue because as far as I can tell, using PIXI.utils._saidHello = true; is an undocumented hack, and not a proper way to disable the console message.
I'm all in favor of properly acknowledging FOSS use, but IMHO, and at the risk of being called a jerk, the proper way of doing that is to include the license, for which I've created a separate issue #2427. As other people have mentioned, the console message is funny at first, but quickly becomes an annoyance. Now, imagine if all the other libraries you have in your project were doing the same...

I agree with @rzoller here. I love Pixi, and am pleased to credit it prominently in my projects.
However, in development, the console message is annoying. And throwing in extra code to silence isn't a very elegant solution.

The log message is opt out. The code to opt out is PIXI.utils._saidHello = true; this will likely not change in the near future.

While I agree it should be kept, I also agree it is a bit odd having it
under a private var. it makes it appear like a hack, even though it clearly
isn't.
The issue of having to add a single line of code to your app is a
non-issue. It's 10 seconds work, tops, and then can be part of your
standard template.
The issue of 'what if other libs did it' is also a non-issue, because they
don't.
On Thursday, 31 March 2016, Chad Engler<EMAIL_ADDRESS>wrote:

The log message is opt out. The code to opt out is PIXI.utils._saidHello
= true; this will likely not change in the near future.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/pixijs/pixi.js/issues/1900#issuecomment-204025077

--
Photon Storm Ltd.
http://www.photonstorm.com
Skype: richard.davey
Twitter: @photonstorm
Registered in England and Wales.
Company ID: 8036404
VAT Number: 136 4333 27

We did change our minds. The public API for this is PIXI.utils.skipHello().

Not having console messages in my integration tests is very nice!

I am happy to advertise PIXI.js for folks to see what my game is made of...but honestly, something about the hearts wrapping when my console is a small width bugs me like nothing else

The banner is always messed up in my browser :(

It happens with v4 and v5, and I have <meta charset=utf-8/> at the top of the HEAD element.
Either way, using the banner in production makes sense, but honestly, it annoys me after a while in development (I use a 13 inch laptop with a 1440x900 display). If PIXI ever gets a debug mode, the default should probably be changed to only show the banner in production (which also makes it less likely to be disabled in development and forgotten about).
Chrome 71
macOS Mojave 10.14.2
PIXI v4.8.5, v5.0.0-rc

The answer is above.... you have to call PIXI.utils.skipHello(); before you create the renderer

That doesn't fix the fact that the banner is garbled, and there's no way to disable it in development, but display it in production, so your claim that "it works" is personal and subjective.

you can just simply check the origin host name and see if it’s local host. If so, then use the skipHello function.

Thanks @Larkenx. I just thought of using location.host.startsWith("localhost:"), came here to mention it as an option, and saw you'd already thought of it.
To be honest, I'm a bit perplexed by your downvote. Do you understand that themoonrat had responded to my comment with a solution to a problem that nobody had expressed, basically dismissing my actual issue without reading the comment properly?

I reported a minor bug (garbled banner), and included a screenshot and version numbers for my OS, browser and the two versions of PIXI I tested it with. I also casually mentioned how nice it would be to be able to automate the banner's visibility in production.
Themoonrat replied to my comment, but clearly had not read it.

I thought it was a little but rude, but nothing to worry about, so I explained (factually and without rudeness) that his reply doesn't address either of my points:

There is no "answer above" that explains why the banner is garbled on my machine.
That aside, the problem with PIXI.utils.skipHello is that it provides no way to disable the banner in development, but display it in production, so it gets disabled and left like that.

You downvoted that??

To be honest, I'm a bit perplexed by your downvote.
I reported a minor bug (garbled banner), and included a screenshot and version numbers for my OS, browser and the two versions of PIXI I tested it with. I also casually mentioned how nice it would be to be able to automate the banner's visibility in production.
Themoonrat replied to my comment, but clearly had not read it.

I thought it was a little but rude, but nothing to worry about, so I explained (factually and without rudeness) that his reply doesn't address either of my points:

There is no "answer above" that explains why the banner is garbled on my machine.
That aside, the problem with PIXI.utils.skipHello is that it provides no way to disable the banner in development, but display it in production, so it gets disabled and left like that.

You downvoted that??

It's no big deal. If it was just a misunderstanding, that's cool. I just don't want to upset people without knowing why really. Best wishes, whatever it was.

The garbled output is a bug and should probably be a new issue @carlsmith, not sure why that’s happening of the top of my head. Would appreciate you starting a new issue rather than commenting on this closed one, since the original issue is solved.

Thanks @bigtimebuddy. Will do.

I think I figured out the garbled output. I didn't want to open an issue, because I thought it was just my machine, then a couple of days after you said to, I finally figured it out.
It doesn't happen on CodePen (in the same browser). I'm pretty sure now that it's just the bash one liner I often use to run a local, Ruby, static file server.
Sorry for the noise, guys.


Fixes to Dueling layer

Some merges walked on each other, here's some small fixes to Dueling

LGTM,  I have one question which I may have messed up when I first coded this layer:
https://github.com/reinforceio/tensorforce/blob/master/tensorforce/core/networks/layer.py#L510-L524
I have been burnt with variables replaced by Python rather than copied.  Does Append copy the value in line 519 so then assign in 521 doesn't replace the same value ultimately pushing 2 of the same value onto the regularization stack?

@Mazecreator, the Python operations are executed greedily and procedurally, hence the append of the referenced object is executed before the reassignment to the new value is done. So should be all fine... :-)


apollo接入usb相机的教程文档在官网哪里

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04):
Apollo installed from (source or binary):
Apollo version (8.0):
Output of apollo.sh config if on master branch:

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:

Supporting materials (screenshots, command lines, code/script snippets):

可以参考这个教程，是可以成功接入的
https://zhuanlan.zhihu.com/p/517511469

你好，请问你接入后帧率是多少，我的1080p的相机帧率只有3-4帧，很慢，这是什么原因


Neovim support and custom servername

If Vim executable is nvim the quickfix list is reloaded
using msgpack-rpc python client (python and 'neovim' package are
required).
Start Neovim with NVIM_LISTEN_ADDRESS=/tmp/nvim_sbt_quickfix.sock nvim
It is now possible to specify a custom servername when using vim
or gvim
Added documentation for using the new features
I also merged many contributions from other forks into master

@dscleaver it'd be awesome if you could get this merged!

@dscleaver another ping for merging this. Would be awesome!

In my latest version I reverted the msgpack-rpc hack and I'm now using nvr. I can tidy up the PR a bit by pushing that and solving any merging conflicts if that helps


Added write_key_cmt method to include comments with keys.

I have added a function write_key_cmt to allow the addition of comments along with the key.

The only issue I see with 1 or 2 is that it’s going to be API breaking, which is something I wanted to avoid. I do agree that my implementation is very C-like. I do like the idea of a generic trait, that’s more Rust-like. I will give this a bit more thought.
I agree that we should be able to read the comments as well.
Will you ever consider a pure Rust implementation of FITSIO?

The only issue I see with 1 or 2 is that it’s going to be API breaking, which is something I wanted to avoid. I do agree that my implementation is very C-like. I do like the idea of a generic trait, that’s more Rust-like. I will give this a bit more thought.

I've drafted my new API design in https://github.com/simonrw/rust-fitsio/pull/332, let me know what you think

Thanks for this contribution, but as discussed We are going with the implementation from #332


MTSDK-66 Handle typing indicator errors.

Notify UI when Shyrka respond with error to sending typing indicator event.
Add Event.Error.
Add correctiveAction for unstructured errors according to the Shyrka documentation: https://developer.genesys.cloud/commdigital/digital/webmessaging/websocketapi#http-error-codes
Add unit tests.

Jenkins had a green run.


Nullable fields don't work as expected

Awesome package Tom!
Thank you very much!
Say you got the following table schema:
CREATE TABLE `test` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `col1` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `col2` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `col3` varchar(30) CHARACTER SET utf8 DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `offer_images_name_unique` (`name`),
  KEY `offer_images_country_index` (`country`),
  KEY `offer_images_city_index` (`city`),
  KEY `offer_images_type_index` (`type`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

As you can see col3 is allowed NULL values.
Searchy::test('col1', 'col2', 'col3')->query('test')->get()

will give an empty array even if there are values matching query in col1 and col2.
Searchy::test('col1', 'col2')->query('test')->get()

gives the appropriate results.
I did some further testing and found out that when using nullable fields for searching into, if at least one of them is NULL then the whole row is ignored, even if there are matches in other fields.

Thanks! I'm really glad you like it!
Thanks for submitting that. That looks very strange. It's a use case i
never considered but you are correct. I'll take a look at this in a couple
days when I'm back at it for the new year and get it all fixed up.
Thanks again :)
On 1 Jan 2016 10:18 PM, "Daniel Iancu"<EMAIL_ADDRESS>wrote:

Awesome package Tom!
Thank you very much!
Say you got the following table schema:
CREATE TABLE test (
id int(10) unsigned NOT NULL AUTO_INCREMENT,
col1 varchar(30) COLLATE utf8_unicode_ci NOT NULL,
col2 varchar(30) COLLATE utf8_unicode_ci NOT NULL,
col3 varchar(30) CHARACTER SET utf8 DEFAULT '',
PRIMARY KEY (id),
UNIQUE KEY offer_images_name_unique (name),
KEY offer_images_country_index (country),
KEY offer_images_city_index (city),
KEY offer_images_type_index (type)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
As you can see col3 is allowed NULL values.
Searchy::test('col1', 'col2', 'col3')->query('test')->get()
will give an empty array even if there are values matching query in col1
and col2.
Searchy::test('col1', 'col2')->query('test')->get()
gives the appropriate results.
I did some further testing and found out that when using nullable fields
for searching into, if at least one of them is NULL then the whole row is
ignored, even if there are matches in other fields.
—
Reply to this email directly or view it on GitHub
https://github.com/TomLingham/Laravel-Searchy/issues/23.

Thanks! I'm really glad you like it!
Thanks for submitting that. That looks very strange. It's a use case i
never considered but you are correct. I'll take a look at this in a couple
days when I'm back at it for the new year and get it all fixed up.
Thanks again :)
On 1 Jan 2016 10:18 PM, "Daniel Iancu"<EMAIL_ADDRESS>wrote:

Awesome package Tom!
Thank you very much!
Say you got the following table schema:
CREATE TABLE test (
id int(10) unsigned NOT NULL AUTO_INCREMENT,
col1 varchar(30) COLLATE utf8_unicode_ci NOT NULL,
col2 varchar(30) COLLATE utf8_unicode_ci NOT NULL,
col3 varchar(30) CHARACTER SET utf8 DEFAULT '',
PRIMARY KEY (id),
UNIQUE KEY offer_images_name_unique (name),
KEY offer_images_country_index (country),
KEY offer_images_city_index (city),
KEY offer_images_type_index (type)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
As you can see col3 is allowed NULL values.
Searchy::test('col1', 'col2', 'col3')->query('test')->get()
will give an empty array even if there are values matching query in col1
and col2.
Searchy::test('col1', 'col2')->query('test')->get()
gives the appropriate results.
I did some further testing and found out that when using nullable fields
for searching into, if at least one of them is NULL then the whole row is
ignored, even if there are matches in other fields.
—
Reply to this email directly or view it on GitHub
https://github.com/TomLingham/Laravel-Searchy/issues/23.

Thanks for the reply.
Well, it's justified to have nullable columns for optional fields.
Happy new year!

Thanks for the reply.
Well, it's justified to have nullable columns for optional fields.
Happy new year!

I have the Same problem. please fix. Thanks for your lightweight library.


Defang python package

I keep getting this error.

Incomplete due to Failures -- Success: 537, Failure: 19

List of Failures (first 10 only)

 NOTE: First failure is generally the root cause.

 IMPORTANT: If opening a ticket, please include this information.

  - ID: sift-python-packages-defang
    SLS: sift.python-packages.defang
    Run#: 237
    Comment: Error installing 'defang==0.5.2': Traceback (most recent call last):

File "/usr/bin/pip3", line 11, in
sys.exit(main())
File "/usr/lib/python3/dist-packages/pip/init.py", line 215, in main
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.5/locale.py", line 594, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
It claims it cannot properly install defang==0.5.2 so before the installation I run pip3 install defang==0.5.2 and I also verify that its installed. What might one the problem . I have git and pip3 installed

Hello Admin, Very crucial installation needed on my team. I keep getting the same issue
 NOTE: First failure is generally the root cause.

 IMPORTANT: If opening a ticket, please include this information.

  - ID: sift-python-packages-defang
    SLS: sift.python-packages.defang
    Run#: 237
    Comment: Error installing 'defang==0.5.2': Traceback (most recent call

Even thought I've already run pip3 install defang==0.5.2 before to try to resolve the issue it doesn't seem to resolve the issue. I have tried 3 different versions of the sift cli version with the last being v1.7.1-rc2 because was running into machinae issue earlier. This is a consistent error I am receiving. How can I move past this defang issue in my sift installer

The latest CLI version is not 1.7.1 -- https://github.com/teamdfir/sift-cli/releases/tag/v1.8.1-rc1
Please use this version along with the --pre-release flag.
If you still have issues, please attach the saltstack.log the CLI informs you about in it's output.

I am unable to reproduce this. Please upgrade to the latest CLI and upgrade to the latest version, if you still see this issue please reach back out on this issue, please do not open another issue.
Also please make sure you are testing on 18.04.


No module named matchpyramid

Hi, I installed matchzoo in python 2.7.15 env, and when I tried to launch a matchpyramid model on my own dataset, it returned errors:
[ListGenerator] init done
Traceback (most recent call last):
  File "main.py", line 331, in <module>
    main(sys.argv)
  File "main.py", line 323, in main
    train(config)
  File "main.py", line 126, in train
    model = load_model(config)
  File "main.py", line 41, in load_model
    model = import_object(config['model']['model_py'], model_config)
  File "/u/xxx/projects/MatchZoo/matchzoo/utils/utility.py", line 30, in import_object
    return import_class(import_str)(*args, **kwargs)
  File "/u/xxx/projects/MatchZoo/matchzoo/utils/utility.py", line 20, in import_class
    __import__(mod_str)
ImportError: No module named matchpyramid

When I tried the command _import_("matchpyramid")  it showed the same error (No module named matchpyramid), it seemed that it could not find the relative import path... I tried to install the toolkit in py3, but still the same error, what should I do? Thanks.

@yifannie Hi, thanks for your message! How can I reproduce the error? Can you provide a bit more context on that?

@bwanglzu Hi bwanglzu, thanks a lot.
I created a clean new conda env called matchzoo under py2, then, I activated this conda env, then I cd into the matchzoo folder, and typed python setup.py install to install under this conda env.
As for the config file I used the example provided in the repo and modified my data path. I think the data loading process was OK, since it already prompted "list generator init done"...
my model config file is as follows:
{   "net_name": "match_pyramid",   "global":{       "model_type": "PY",       "weights_file": "/part/01/Tmp/nyf/exp/MatchPyramid/weights",       "save_weights_iters": 10,       "num_iters": 10,       "display_interval": 10,       "test_weights_iters": 10,       "optimizer": "adam",       "learning_rate": 0.0001   },   "inputs": {     "share": {         "text1_corpus": "/data/rali7/Tmp/nyf/MQ/MatchZoo/MQ2007/fold1.corpus.txt",         "text2_corpus": "/data/rali7/Tmp/nyf/MQ/MatchZoo/MQ2007/fold1.corpus.txt",         "use_dpool": true,         "embed_size": 300,         "vocab_size": 400002,         "train_embed": false,         "target_mode": "ranking",         "text1_maxlen": 1000,         "text2_maxlen": 1000     },     "train": {         "input_type": "PairGenerator",          "phase": "TRAIN",         "use_iter": false,         "query_per_iter": 50,         "batch_per_iter": 5,         "batch_size": 100,         "relation_file": "/data/rali7/Tmp/nyf/MQ/MatchZoo/MQ2007/fold1.rel"     },     "valid": {         "input_type": "ListGenerator",          "phase": "EVAL",         "batch_list": 10,         "relation_file": "/data/rali7/Tmp/nyf/MQ/MatchZoo/MQ2007/S4.rel"     },     "test": {         "input_type": "ListGenerator",          "phase": "EVAL",         "batch_list": 10,         "relation_file": "/data/rali7/Tmp/nyf/MQ/MatchZoo/MQ2007/S5.rel"     },     "predict": {         "input_type": "ListGenerator",          "phase": "PREDICT",         "batch_list": 100,         "relation_file": "/data/rali7/Tmp/nyf/MQ/MatchZoo/MQ2007/S5.rel"     }   },   "outputs": {     "predict": {       "save_format": "TREC",       "save_path": "predict.test.matchpyramid_ranking.txt"     }   },   "model": {     "model_path": "/part/01/Tmp/nyf/exp/MatchPyramid/",     "model_py": "matchpyramid.MatchPyramid",     "setting": {         "kernel_count": 32,          "kernel_size": [3, 3],          "dpool_size": [3, 10],         "dropout_rate": 0     }   },   "losses": [      {        "object_name": "rank_hinge_loss" ,        "object_params": {             "margin": 1.0        }     }   ],   "metrics": [ "ndcg@3", "ndcg@5", "map" ] }
I didn't touch the "model_py" path and their name, I just kept them as in the example.
Thanks.

@yifannie can you change the model_path to "matchzoo/models/"?

@bwanglzu Hi bwanglzu, thanks a lot, I changed the model_path to "matchzoo/models/"
"model": {
    "model_path": "matchzoo/models/",
    "model_py": "matchpyramid.MatchPyramid",
    "setting": {
        "kernel_count": 32,
        "kernel_size": [3, 3],
        "dpool_size": [3, 10],
        "dropout_rate": 0
    }

But it still reported error:
List Instance Count: 339
[ListGenerator] init done
Traceback (most recent call last):
  File "main.py", line 331, in <module>
    main(sys.argv)
  File "main.py", line 323, in main
    train(config)
  File "main.py", line 126, in train
    model = load_model(config)
  File "main.py", line 41, in load_model
    model = import_object(config['model']['model_py'], model_config)
  File "/u/nieyifan/projects/MatchZoo/matchzoo/utils/utility.py", line 30, in import_object
    return import_class(import_str)(*args, **kwargs)
  File "/u/nieyifan/projects/MatchZoo/matchzoo/utils/utility.py", line 20, in import_class
    __import__(mod_str)
ImportError: No module named matchpyramid

I think the installation of matchzoo was successful because when I just type import matchzoo, it reported no error...

Can you try ./matchzoo/models/ , or use absolute path (path-to-/matchzoo/models/) ?

@bwanglzu Hi, thanks a lot for your help.
I tried ./matchzoo/models/. It didn't work, but the absolute path worked.
The problem is resolved.
Thanks a lot.
For your info, my OS Is Debian: Linux  3.16.0-6-amd64 #1 SMP Debian 3.16.56-1+deb8u1 (2018-05-08) x86_64 GNU/Linux
python env is:
Python 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 23:32:55)
[GCC 7.2.0] on linux2
and I created a clean conda env to install this package.

Great:) , I guess the problem is the so called PYTHONPATH environment variable in Linux. More info: https://stackoverflow.com/questions/18247333/python-pythonpath-in-linux


Key phrase extraction pipeline

e7a2e2e draft, still needs cleaning and additional steps for post processing

post processing theoretically done, there is much room for improvement though


Add support for off script to WOL switch

Description:
The only way to achieve a switch that can turn a remote device on and off for now is to use a mix of command, template and wake_on_lan switches. By adding a turn_off option to the wake_on_lan, I'm hoping to make it this process tedious.
The command is a script so any service can be called. My own usage calls a shell_command. A payload could also be published on a MQTT broker and the target machine would shut itself down.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
To Do
Example entry for configuration.yaml (if applicable):
{
  switch: {
    - platform: wake_on_lan
      name: network_media
      mac_address: "01:23:45:67:89:AB"
      host: "<IP_ADDRESS>"
      turn_off:
        service: shell_command.device_off
  }
}

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

I am trying to add some tests as well, but am having troubles with checking that the turn_off service is called (or not). Maybe there are other test files I see examples or test utilities already present in hass that would help me?
See https://github.com/Chris-V/home-assistant/commit/65b31d4178676dc6870c26cc41b810c2ffe9df4a

You can use the homeassistant.components.switch.turn_on() method followed by a hass.block_till_done(). But we don't require tests for platforms so I'll just merge this one and you can add tests in a second PR if you like.


Pin down rapidjson

This is important as installing BigchainDB will fail due to https://github.com/python-rapidjson/python-rapidjson/issues/62.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1233   +/-   ##
=======================================
  Coverage   96.73%   96.73%
=======================================
  Files          49       49
  Lines        2300     2300
=======================================
  Hits         2225     2225
  Misses         75       75

Continue to review full report at Codecov.

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


Fix Make case success when meet expected error

Proposed changes
Issue Number: close #xxx
the partition of 1900-01-01 sometimes will be recovered directly. it will make loading fail. let it success

run buildall

run buildall


Converting CSV to DST, color layers are in reverse order

I was able to successfully convert a CSV file to a DST file, and make use of it on a Brother SE-400 machine.  Hooray!  However, I ran into a couple issues; this is one of them.
My design uses five thread colors, and the last COLOR/STITCH/STITCH/... sequence of stitches were the first ones performed by the machine.  The order of stitches within the sequence appears correctly, so it's not just reversing the whole set of instructions.  It's just using the last set first.  This can cause problems if you plan various later colors to hide the longer traveling threads in earlier colors.
(I tried to convert the same CSV file to a PES file, but the PES was not recognized by a Brother SE-400, and never appeared in the USB loading area.)

I fixed this issue after finding it independently. Embroidermodder should now save the stitches in the proper order. Let me know if you still have any issues.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/366 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 17284e2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

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


added support for lockfileVersion 3

This might be handy for people who updated from an old lockfileVersion 1 to lockfileVersion 3 immediately (skipping lockfileVersion 2).
Requesting a review of the changes, since I am not really certain of the differences between lockfileVersion 2 and 3.

This might be handy for people who updated from an old lockfileVersion 1 to lockfileVersion 3 immediately (skipping lockfileVersion 2).

On what version of npm did you find this problem?  I ran a test on npm 9.1.1 and it set hasInstallScript during auto-upgrade of the lockfile from v1 to v3.

Requesting a review of the changes, since I am not really certain of the differences between lockfileVersion 2 and 3.

From the doc, v2 is a compatibility format containing both the v1 and v3 information.

It was one of the recent npm versions (9.6.5 I think.). It only involved packages from 3rd party package registries using authentication (fontawesome and an internal one via gitlab).
We updated from node 14 to 18 and npm 5 or 6 to 9 (and the lockfiles with that).
Packages like electron via the public npm registry did not run into any issues adding the install scripts flag to the lockfile.
I will try to create a small repo to reproduce the issue if necessary (but might take a week or two since I don't have the time available rn).
Thank you for answering the pull request.
Best Regards.


ETH Response from estimate fee is inconsistent

Sometimes when I do this call
http://localhost:4302/wallet/estimatefee/TETH?feeLevel=ECONOMIC&amount=130570359439592
The server responds with:
{
    "success": false,
    "reason": "ERROR_INSUFFICIENT_FUNDS"
}

And other times, with no other changes, I get
{
    "amount": "53000000000000",
    "currency": {
        "code": "TETH",
        "currencyType": "crypto",
        "divisibility": 18,
        "name": "Testnet Ethereum"
    }
}

The wallet had $0.27 worth of TETH in it at the time, the payment was $0.03.

This seems to happen roughly 50% of the time, but I can confirm it does not happen consistently every other time. The pattern I saw was status 400, 200, 400, 200, 400, 200, 400, 400, 200.

Later with $0.18 in the wallet, a purchase of $0.03 consistently returned the insufficient funds error.

closing too low price


Remove redundant manuals

This is a suggestion to remove a couple of manuals, one of which is pending review. Please see the commits for a suggestion of why we don't need them - unless we do!

If I understand correctly this will mean there are no references to end-to-end tests in the developer docs. This doesn't seem ideal since it's something that runs on so many apps and is frequently a question point for developers.
I don't think we need the level of specific detail that we have in the documentation here but I think it'd be useful to briefly summarise the tests purpose and role with links direct to e2e documentation for help.

I wrote a quick pass at what the e2e content could be:

Most GOV.UK applications are run against a end-to-end test suite as part of their build process. This is done to determine if a change in one application has a negative impact on a dependant application and to test the changed application is functioning correctly in a quasi-production environment.
There is specific documentation available on:

what belongs in the test suite
how to debug a failing test in jenkins
how to resolve breaking changes
how to handle intermittently failing (flakey) tests
how to add new tests/applications

@kevindew thanks for the suggestion. I've pushed another commit with that content. Do you think we're good to merge now?
I notice that smokey doesn't have any presence either, and was wondering if longterm we should instead represent both as another 'app' group?

@kevindew agreed - they're not 'applications'. It's just they're all listed in a applications.yaml file!


Signature validation should support validating with an old secret

Problem
Oauth2 signature validation will fail when during credential rotation, since the signature is generated with the oldest secret, and validation can only be configured to validate against a single secret in shopify_api.
Solution
This needs to be handled similar to webhook validation, where it must be possible to specify the old API secret as well as the new one for signature validation, and accept the signature if it matches the ones generated with either secret.

validation can only be configured to validate against a single secret in shopify_api.

I don't believe there is such configuration in shopify_api, was this issue supposed to be created in shopify_app?


fix: update generator prompt message

Minor update in the generator prompt message.
This will add a ? at the end of the last question (What's the repo of your project) to follow the pattern used in all the rest of the prompt messages during project generation.

@ulivz WDYT?

@gtsiolis Sorry I think I messed up the merge conflict. Can you make sure I did everything correctly?

No worries @bencodezen! Thanks for taking a look. It should be good now. 🏀


has_input needs subproperties

e.g., uses_dataset

Most of the subclasses of  Data should are not classes, but depend on a certain context. I.e. those classes should be replaced by subproperties of has_input

see pull request #9

I'll close this as it seems to be solved (especially because data has no subclasses anymore)


Baseline Survey

There's been a lot of discussion around the definition of the Dynamic Baseline here on this repository, especially #174.
I'd like to use this issue to try to brainstorm ideas for a developer survey or interview approach, something that would allow us to use data to move forward on some of our open questions.
Background
Baseline is defined here:
https://web.dev/baseline/
https://web.dev/introducing-baseline/
To summarize, web developers have said in surveys that "keeping up with changes to the web platform or web standards" is their biggest pain point. https://web.dev/deep-dive-into-developer-pain-points/ (This data is from 2021, and I guess it could use a refresh, but I think there's broad agreement that this is still a major pain point in 2023.)
The goal of Baseline is to make it easier to keep up with changes.
The stated approach is to find a definition of Baseline that will "work for most developers most of the time." (I've criticized this guideline in #174, because it's not possible to use data to decide whether a feature does or doesn't work for a developer most of the time.)
With those goals in mind, Baseline was initially defined as "features that are supported in 2+ major versions." It's a clear, simple definition, supported by survey results.
The survey results that were used to support the "2+ major version" definition are available here: https://github.com/web-platform-dx/developer-research/blob/main/vendor-research/browser-support-matrix-survey.pdf (Be sure to download the PDF; Github does NOT render all pages directly on that page!)
Questions to investigate

Which kind of metric should be definition of Baseline?

A number of major versions?
A certain percentage of market share?
Months/years since all major browsers?

How high should the bar be for Baseline?

2+ versions?
95% share?
A full year?

Do these questions have different answers, depending on whether the feature has good alternatives?

Polyfill?
Equivalent Substitute?
Progressive Enhancement?

Note that most of the questions below are about the variations on polyfill vs. substitute vs. progressive enhancement. It's possible that the survey could be a lot shorter if we want to elide these questions. (But I think it makes sense to keep these questions, because if you ask me "when would you use a new web feature?" the answer would have to be, "It depends. Does it have a good polyfill? A substitute? Can I progressively enhance it?")
A rough draft at proposed survey questions
This survey is about how and when you'd decide to start using a new browser feature, where not all users have upgraded to browsers that natively support the feature.
Question: Pollyfillable Feature
Imagine a new Web API feature that can be safely and correctly polyfilled, allowing the feature to work on older browsers that weren't designed to support the feature. The polyfill supports all users on all browsers, but not all users have browsers that natively support the feature.
How would you decide when to use a feature like this?

I would polyfill the feature to work in all browsers, so I would not wait for browsers to widely support it.
I would wait for at least one major browser (Chrome, Edge, Firefox, or Safari) to support the feature.
I would wait until the very latest version of all major browsers supported the feature.
I would wait all major browsers support the feature, for at least two versions each.

How many versions?

Two or more
Three or more
Five or more
Ten or more
Twenty or more
I'm not sure

I would wait a certain number of months or years after all major browsers support the feature.

How long?

One month
Six months
One year
Two years
Five years
More than five years
I'm not sure

I would check browser market-share data, waiting for the share of browsers that support the feature to be greater than a certain X% threshold.

What threshold?

50%
70%
80%
90%
95%
98%
99%
Other _____
I'm not sure

I'm not sure

Question: Substitutable Feature
Imagine a new CSS feature. This feature can't be polyfilled, and not all users have browsers that support the feature natively, but you could manually substitute for the feature by applying CSS classes to your HTML instead.
How would you decide when to use this new CSS feature?

I would never use the feature. Since there's a substitute, I'd just use that instead.
I would wait until the very latest version of all major browsers (Chrome, Edge, Firefox, and Safari) supported the feature.
I would wait all major browsers support the feature, for at least two versions each.

How many versions?

Two or more
Three or more
Five or more
Ten or more
Twenty or more
I'm not sure

I would wait a certain number of months or years after all major browsers support the feature.

How long?

One month
Six months
One year
Two years
Five years
More than five years
I'm not sure

I would check browser market-share data, waiting for the share of browsers that support the feature to be greater than a certain X% threshold.

What threshold?

50%
70%
80%
90%
95%
98%
99%
Other _____
I'm not sure

I'm not sure

Question: Progressive Enhancement
Imagine a new Web API feature that can't be polyfilled, and only some of your users have a browser that supports the feature. But it is possible to use feature detection to progressively enhance your site, making the feature available to some users, but not all users.
(Let's suppose that the feature is not "essential" to the functionality of your web site or web app. The feature is valuable to users who can access it, but your site/app still does something useful for users who can't access the feature.)
How would you decide when to use a feature like this?

I would use progressive enhancement to make the feature available to the fraction of users who can use it, so I would not wait for browsers to widely support it.
I would wait until the very latest version of all major browsers (Chrome, Edge, Firefox, and Safari) supported the feature.
I would wait all major browsers support the feature, for at least two versions each.

How many versions?

Two or more
Three or more
Five or more
Ten or more
Twenty or more
I'm not sure

I would wait a certain number of months or years after all major browsers support the feature.

How long?

One month
Six months
One year
Two years
Five years
More than five years
I'm not sure

I would check browser market-share data, waiting for the share of browsers that support the feature to be greater than a certain X% threshold.

What threshold?

50%
70%
80%
90%
95%
98%
99%
Other _____
I'm not sure

I'm not sure

Question: Essential Features
Imagine a web feature that can't be polyfilled or transpiled, and only some of your users have a browser that supports the feature.
But imagine that it's not possible to progressively enhance this feature. If you use this feature, your site will be "broken" on any browser that doesn't support the feature.
How would you decide when to use a feature like this?

I would never design a site or app with a feature like this. If using the feature could break the site for anyone, even a very small number of users, then I would never use it at all.
I would wait until the very latest version of all major browsers (Chrome, Edge, Firefox, and Safari) supported the feature.
I would wait all major browsers support the feature, for at least two versions each.

How many versions?

Two or more
Three or more
Five or more
Ten or more
Twenty or more
I'm not sure

I would wait a certain number of months or years after all major browsers support the feature.

How long?

One month
Six months
One year
Two years
Five years
More than five years
I'm not sure

I would check browser market-share data, waiting for the share of browsers that support the feature to be greater than a certain X% threshold.

What threshold?

50%
70%
80%
90%
95%
98%
99%
Other _____
I'm not sure

I'm not sure

Question: Removing Polyfills
Imagine a web feature that you're using today with a polyfill. Today, all major browsers support the feature natively, and you're considering removing the polyfill, to rely on each browser's native built-in support.
But, imagine that removing the polyfill comes with a risk: if any user navigates to your site on an older browser that doesn't support the feature, your site/app will be broken.
How would you decide when to remove this polyfill?

I don't use any polyfills.
I would never remove a polyfill like this. If removing the polyfill could break the site for anyone, even a very small number of users, then I would never remove it at all.
I would wait all major browsers support the feature for at least two versions each.

How many versions?

Two or more
Three or more
Five or more
Ten or more
Twenty or more
I'm not sure

I would wait a certain number of months or years after all major browsers support the feature.

How long?

One month
Six months
One year
Two years
Five years
More than five years
I'm not sure

I would check browser market-share data, waiting for the share of browsers that support the feature to be greater than a certain X% threshold.

What threshold?

50%
70%
80%
90%
95%
98%
99%
Other _____
I'm not sure

I'm not sure

Question: Market share data
If you use market share data to keep track of browsers and/or browser versions, from where do you get your data? (You may check more than one.)
[ ] I don't use browser market share data
[ ] My own web logs
[ ] Google Analytics
[ ] StatCounter (gs.statcounter.com)
[ ] Caniuse.com
[ ] Browserslist
[ ] Other _____

I'm not a researcher, but one thing I've heard from @atopal (also not a researcher) is that asking people to predict what they would do is a poor guide for what they will do, and that asking what they have done works better. This seems very plausible.
For example, questions on the form "In the past 12 months, how many times have you encountered situation X?" or "When you last encountered situation X, what did you do?"
I think most of the question can be rephrased to be retrospective rather than forward-looking, so this should be an easy fix.

My other feedback is that I think most developers simply don't know how many releases they need to support, how much time needs to pass, or what availability threshold they need. The most common process is probably testing it in one or a few browsers manually, shipping it if it works, and reacting to the loudest complaints of breakage. Even when consulting MDN compat tables or caniuse.com, it's a question of eyeballing how green it is, not a principled approach.
That being said, even if we can't have high confidence in what developers actually do based on a survey, we can learn something about what they expect from a reasonable Baseline definition, which is also valuable.

Discussed during the 27 July baseline meeting

This is one of several issues around developing the Baseline definition, from last year. I don't think there any active plans to run a survey along these lines.
Now that we have a shipping definition of Baseline, we might have opportunities to run surveys on how Baseline is actually being used and understood, but "would you…"-style questions are probably no longer a likely avenue for investigation.
If anyone is reading this issue in 2024 or later: continuing to learn about how developers use and understand is important. If you have specific questions to raise and answer about developer expectations with regards to Baseline, please file a new issue. Thank you!


feat(Icons): Custom root element and default aria-hidden

Overview
This removes some of the weird workarounds for system props and simplifies the typings / structure.
Adds a custom transform  to handle the mapping (this isn't possible using a template unfortunately)

Adds a custom SVGR babel transform plugin to remap the root JSX node to use a styled.svg component.
Removes previous class name integration and leverages new styledOptions typeguardes for system props.
Removes unused SVGR configurations - and ports the size attribute to a system prop local to the svg.
Removes style attribute forwarding as system props are incompatible with width and height specifications as non pixel values throw errors

PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: https://codecademy.atlassian.net/browse/GM-256
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-icons@5.3.3-alpha.012b81.0@codecademy/gamut-kit@0.4.34-alpha.012b81.0@codecademy/gamut-labs@19.9.3-alpha.012b81.0@codecademy/gamut@34.10.2-alpha.012b81.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60cb92e27bf01e0836fbad3b--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@5.3.3-alpha.d90dbb.0@codecademy/gamut-kit@0.4.39-alpha.d90dbb.0@codecademy/gamut-labs@19.10.5-alpha.d90dbb.0@codecademy/gamut@34.10.3-alpha.d90dbb.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60d0c4260db00b547cedf114--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@5.3.3-alpha.82c730.0@codecademy/gamut-kit@0.4.40-alpha.82c730.0@codecademy/gamut-labs@19.10.6-alpha.82c730.0@codecademy/gamut@34.10.4-alpha.82c730.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60d0d5d68fd0a7cc11ae3ad4--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@5.3.3-alpha.0588b0.0@codecademy/gamut-kit@0.4.40-alpha.0588b0.0@codecademy/gamut-labs@19.10.6-alpha.0588b0.0@codecademy/gamut@34.10.4-alpha.0588b0.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60d0eef4d772a3967204441b--gamut-preview.netlify.appDeploy Logs


Updates to swagger definition not reflected

When I deploy a AWS::Serverless::Api and want to update it by changing the swagger file containing its definition, after a aws cloudformation package ... && aws cloudformation deploy ... API Gateway still shows the old definition. The changes in the API are not reflected at all.
Am I doing something wrong or is that a known bug?

Yeah, this is a known bug. It should be fixed this week

This should be fixed by now. See #53

If I change the swagger file is not reflcting in apigateway.Once I deleted the stack or update the url of DefinitionUri.Please help me

@sanathkr, Still this issues their, Let me fixed update


perf(repeat): stateless strategies

@EisenbergEffect / @martingust this is the change to make strategies stateless to enable reusing strategy instances. This will reduce memory usage in two-dimensional array/repeat scenarios and help enable some of the other perf changes we're planning. Integration tests are passing, I just need to get the unit tests passing.

Cool. Keep the improvements coming! Let me know when you are ready to merge.

ok this is all set- all tests passing, tried it in a couple projects

Make it so! :stars:

@jdanyow  Awesome, looking real good, great improvements!


build new azcopy binary with go 1.22.5

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.25.1
Which platform are you using? (ex: Windows, Mac, Linux)
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
What problem was encountered?
usr/local/bin/azcopy (gobinary)
===============================
Total: 1 (UNKNOWN: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)

┌─────────┬────────────────┬──────────┬────────┬───────────────────┬─────────────────┬──────────────────────────────────────────────────────────┐
│ Library │ Vulnerability  │ Severity │ Status │ Installed Version │  Fixed Version  │                          Title                           │
├─────────┼────────────────┼──────────┼────────┼───────────────────┼─────────────────┼──────────────────────────────────────────────────────────┤
│ stdlib  │ CVE-2024-24791 │ MEDIUM   │ fixed  │ 1.22.4            │ 1.21.12, 1.22.5 │ net/http: Denial of service due to improper 100-continue │
│         │                │          │        │                   │                 │ handling in net/http                                     │
│         │                │          │        │                   │                 │ https://avd.aquasec.com/nvd/cve-2024-24791               │
└─────────┴────────────────┴──────────┴────────┴───────────────────┴─────────────────┴──────────────────────────────────────────────────────────┘

How can we reproduce the problem in the simplest way?
Have you found a mitigation/solution?

cc @seanmcc-msft @gapra-msft

Had a chat with @andyzhangx, this needs go version upgraded to 1.22.5

Had a chat with @andyzhangx, this needs go version upgraded to 1.22.5

@tanyasethi-msft when new azcopy release would be publishded?

@andyzhangx we have a release planned for the end of the month.


[feature request] Let user decide global home directory

In most cases, the users already have a working env installed in global home directory, e.g. /home/user/micromamba, which is the default micromamba home officially.
It would be great to allow the user to setup the path to global home directory.
The mismatching of global home directory stops the extension from activating env in vscode terminal.

Thank you for the request, @peiqingj. The primary use case I had in mind for this extension is to allow developers to define tools they need for a project in an environment.yml file, and the extension could create a virtual environment and activate it for the user without knowing much about micromamba. All dependencies, like micromamba, packages, etc., could be stored inside the project-specific location (.micromamba) or in a global shared directory.

In this setup, the extension doesn't interfere with the global micromamba installation - when it exists.
Can you describe your use case so that we can find a good way to integrate it and make it fit nicely with the original use case?

Please reopen if it's still relevant


NotificationButton For IOS

I want to show NotificationButton in ios as it shown in android

@hassanali2596
iOS Platform, notificationButtons is not displayed directly in notification.
When the user slides down the notification, the button is displayed, so you need to guide the user on how to use it.
https://developer.apple.com/documentation/usernotifications/declaring-your-actionable-notification-types


[WIP] sanitycheck: Add fixture option for external hardware dependency

Add a new option as fixture in harness configurations for utilizing
sanitycheck to identify test cases that require external hardware
such as sensor, ble, networking for validation. The config will be
added to yaml files with unique fixture name to identify each hardware
and allow automation to trigger test execution on setup having the
specific fixture enabled.
Signed-off-by: Praful Swarnakar<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #9951   +/-   ##
=======================================
  Coverage   52.96%   52.96%
=======================================
  Files         214      214
  Lines       26156    26156
  Branches     5636     5636
=======================================
  Hits        13853    13853
  Misses      10030    10030
  Partials     2273     2273

Continue to review full report at Codecov.

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

@dbkinder:
Thank you for thorough review. Addressed all review comments. Kindly check.

@nashif:
Modified as per suggestion, removed the sensor sample file and added gpio loopback yaml for better clarity. Kindly review.
Also, created new file with current defined fixture list. Please confirm, if the data and file format is fine Or looking for any specific format.

@nashif: Modified as per suggestion. Kindly review. Thank you.


[6835] Use tab component for trainee page sub-parts

Context
Originally this page used a TabNavigation component to sub-divide the sections of the main trainee page. This is considered a A11y fail because it re-renders the page each time you switch tabs and hence resets the focus element (rather than keeping it on the tab bar).
Changes proposed in this pull request
Convert the TabNavigation component to a standard Tab component.
Before:

After:

Guidance to review
WIP - just a raising a draft to give a feel for the UX changes. (There is a spacing issue below the tab component).
Important business

[x] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[x] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[x] Do we need to send any updates to DQT as part of the work in this PR?
[x] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

Thanks very much for doing this @stevehook . I've used these elsewhere as they're the standard tabs from GOVUK. I think we should adopt them here as it'll fix the accessibility issue we have with the page reloading rather than just the tab content changing.  The style we're currently using is primarily for sub navigation rather than tabbed content.


Enhancing ngSanitize whitelists

There needs to be a way to extend the ngSanitize whitelists of elements and attributes. In our project, we need to add additional valid HTML5 elements to the list of valid elements (like video and audio). We also need to add some of our custom elements to the list.
I am willing to do the work and submit a PR. However, I want to make sure I do it the right way.
I was thinking of adding something similar to $compileProvider's aHrefSanitizationWhitelist and imgSrcSanitizationWhitelist that manages the voidElements, optionalEndTagBlockElements, optionalEndTagInlineElements, blockElements, inlineElements, specialElements, uriAttrs, and validAttrs lists within the $sanitize implementation.
I would probably make them as methods that take an array of additional whitelisted elements or attributes. These would then be used to extend the current whitelists. This could be implemented on $compileProvider or on a new provider inside the $sanitize module.
Another option would be to make the new methods take the entire whitelist. This would allow the caller to remove some elements or attributes that are already in the existing whitelists. However, the current whitelists would then have to be documented. The caller would also have to pass in the entire existing whitelist with their additions if all they wanted to do was add and element or attribute.

+1
Is this still being worked on?

+1

+1

+1

+1

+1

+1 I'd love to be able to set my own whitelist. I want to bind HTML with <span> tags and nothing else.

Moving to 1.5 - as noted in https://github.com/angular/angular.js/pull/6252#issuecomment-138239948 the solution would be implemented via provider methods.

+1

+1
I added it on my own copy but I hate to do that... please add this to the core soon. Also, add a method to extend the attribute list.

The [PRs plz!] label is there !
Just saying... :stuck_out_tongue:

This is a very critical feature for enhancing security of angular and I would be glad to offer a financial bounty or place to crash in Hawaii where I live for anyone who gets it done...

@bvaughn is there a way to pull this off today, albeit in a non graceful way? If so would you be so kind as to provide an example here? Thank you!

Sorry @jmanico. No clue. This is pretty far back in my memory and I haven't worked with an Angular 1.x tech stack in over a year. ☹

+1

+1

+1

+1


Android deploy

We want to be able to deploy to testers/stakeholders as features are completed. We already have this in place for iOS, this PR is a base for doing the same for Android.
We've taken a similar approach to the Fastlane tools used for iOS by storing the Android keystore in a private repo. Currently the keystore being used is a self generated one. This will need to be swapped out or used as an upload keystore when we want to start getting builds into the Play Store.
Right now all we care about is getting builds to internal users. For this we have chosen to use HockeyApp which is free for upto 2 apps and allows a high number of testers.
This PR modifies our CI config to clone the private repo with our keystore and use it to build a signed apk. If the branch is master then we also post the signed apk to HockeyApp notifying all testers of the new build.
What has been left out for a future task is handling build & app versions. We need to decide how to ensure they stay the same across both Android & iOS and would lead to changes to the iOS pipeline.
TODO

[x] Clone private repo containing a keystore
[x] Pass secrets as CircleCI env vars to gradle.properties for signed build
[x] Post signed APK to hockey app
[x] Commit message as release notes in HockeyApp

Before raising a pull request

[ ] Documentation
[ ] Unit tests

Pre-merge check-list

[ ] Tester approved

So did it end up being easier to deploy to hockeyapp just in the circle config than through fastlane?

Also do you think we would do something else for a beta-android step, like go to the beta section of the Google play store?

And what do you want to do about the official keystore? Do we need someone (I think I can) to add the keystore to the shared place in Google play? And would you rather do that after this is merged?

So this is just to make sure everyone is getting the master builds regardless of what device they have.
I do want to make all of this more CI agnostic so things will move to fastlane over time so that when we hand this project over it will be possible to continue to update and deploy the app with just a dev machine and not require a CI indefinitely.
Yes, so there's only an Alpha lane right now while there isn't much of interest to stakeholders. The plan is to have a Beta lane on both hockeyapp and TestFlight/Play Store and HockeyApp be more for badgers/volunteers and then the Stores for stakeholders.
We should get the official keystore uploaded asap but won't be used until the Beta lane is setup.

Got it ok. I might look at uploading the keystore later today.
That's a really interesting point about fastlane enabling builds off CI. Hadn't really thought about it that way before.

But yea happy to merge whenever you like 👍


⚠ Everything Hub has degraded performance

In 77c2dba, Everything Hub (https://hub.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 4990 ms

Resolved: Everything Hub performance has improved in fb4c319 after 6 minutes.


Added podspec

And initWithCoder: initializer
Decided not to split into 2 PR because will introduce merge conflict.

Thanks for the pod spec, I should add it for my others projects too :)


Debug flag added

I've added the --debug flag to the implementation. Could you please review and confirm if this aligns with what was required? Let me know if any further adjustments or changes are needed.

Hi @Ishan-Jadhav, thanks for your time and work. I'll look at this in couple of hours. But for a first sight it looks fantastic.

@Ishan-Jadhav  I've added some commits for your forked repo (black formatting and pylint output suggestions) please update your PR with those commits. And yes, about task you've implemented outstanding work, thank you 🙏


User facing errors should not print traceback

Prevent user facing errors from printing the traceback.
Provide a user friendly error message when the current repo is dirty.

Done in 7a367995f1a9c20766f3ccc6177bd6d2053f08bc


CRS-2186-se20-offence-validation

Add before calc validation to prevent release dates being calculated for Sentencing Act 2020 (SA20) offences that have been entered in NOMIS with an offence date prior to 1/12/20.

Are you going to add some tests back once Scott has updated the ticket?


Please add Wdupload & secretfile.net

please, can you add wdupload & secretfile
I have been trying to download from wdupload and secretfile but was getting this error : ==► Sorry. We do not support your link !
https://www.wdupload.com/
https://secretfile.net/
Thank you in advance 😊

please, can you add wdupload & secretfile
I have been trying to download from wdupload and secretfile but was getting this error : ==► Sorry. We do not support your link !
https://www.wdupload.com/
https://secretfile.net/
Thank you in advance 😊

@Aviiboii39228 hey ! can you please help me to use this vinaget script . I am a newbie to all this . I really want to use this script .
Please tell step by step . Thanks 😊


plugin with id 'maven' not found

Question
When using the package with Expo the command eas build --profile development --platform android  fails with a series of warnings and errors.
Expo doctor:
Running "expo doctor"
- Finding all copies of expo-modules-autolinking
- Finding all copies of @expo/config-plugins
[stderr] [20:13:25] Expected package<EMAIL_ADDRESS>[stderr] [20:13:25] Found invalid:
[stderr] [20:13:25]<EMAIL_ADDRESS>[stderr] [20:13:25]   (for more info, run: npm why @expo/config-plugins)
- Finding all copies of @expo/prebuild-config
- Finding all copies of @unimodules/core
- Finding all copies of @unimodules/react-native-adapter
- Finding all copies of react-native-unimodules
Command "expo doctor" failed.
bash exited with non-zero code: 1

Gradlew:
[stderr] FAILURE: Build completed with 2 failures.
[stderr] 1: Task failed with an exception.
[stderr] -----------
[stderr] * Where:
[stderr] Build file '/home/expo/workingdir/build/node_modules/react-native-google-nearby-messages/android/build.gradle' line: 24
[stderr] * What went wrong:
[stderr] A problem occurred evaluating project ':react-native-google-nearby-messages'.
[stderr] > Plugin with id 'maven' not found.
[stderr] * Try:
[stderr] > Run with --stacktrace option to get the stack trace.
[stderr] > Run with --info or --debug option to get more log output.
[stderr] > Run with --scan to get full insights.
[stderr] ==============================================================================
[stderr] 2: Task failed with an exception.
[stderr] -----------
[stderr] * What went wrong:
[stderr] A problem occurred configuring project ':react-native-google-nearby-messages'.
[stderr] > compileSdkVersion is not specified. Please add it to build.gradle
[stderr] * Try:
[stderr] > Run with --stacktrace option to get the stack trace.
[stderr] > Run with --info or --debug option to get more log output.
[stderr] > Run with --scan to get full insights.
[stderr] ==============================================================================
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 1m 49s
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
6 actionable tasks: 6 executed
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

This instead is the plugin that I implemented according to the package requests:
  const { AndroidConfig, withAndroidManifest } = require("@expo/config-plugins");
  const { addMetaDataItemToMainApplication, getMainApplicationOrThrow } =
    AndroidConfig.Manifest;

  module.exports = withMyCustomConfig = (config) => {
    return withAndroidManifest(config, async (config) => {
      // Modifiers can be async, but try to keep them fast.
      config.modResults = await setCustomConfigAsync(config, config.modResults);
      return config;
    });
  };

  // Splitting this function out of the mod makes it easier to test.
  async function setCustomConfigAsync(config, androidManifest) {
    const appId = "my-app-id";
    // Get the <application /> tag and assert if it doesn't exist.
    const mainApplication = getMainApplicationOrThrow(androidManifest);

    addMetaDataItemToMainApplication(
      mainApplication,
      // value for `android:name`
      "com.google.android.nearby.messages.API_KEY",
      // value for `android:value`
      "myabikey"
    );

    return androidManifest;
  }

I honestly have no idea if this is the correct implementation, help would be very welcome. Thanks in advance.
Environment
"react": 18.1.0,
"react-native": 0.70.5,
"react-native-google-nearby-messages": 1.0.22

I have the same problem too. I have the same error not with Expo but with react-native init.


Reenable testing the Julia bindings

This reverts parts of commit 3e15f6288609419e7bf5aa3119b1212eaeeec8be.
Reenables testing the Julia bindings
See https://github.com/dmlc/mxnet/commit/3e15f6288609419e7bf5aa3119b1212eaeeec8be#commitcomment-18931927

cc @pluskid

@vchuravy it seems that the new script causes some error on travis https://travis-ci.org/dmlc/mxnet/jobs/158479089 mind look into that?

Will do.
On Thu, 8 Sep 2016, 14:10 Tianqi Chen<EMAIL_ADDRESS>wrote:

@vchuravy https://github.com/vchuravy it seems that the new script
causes some error on travis
https://travis-ci.org/dmlc/mxnet/jobs/158479089 mind look into that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/pull/3246#issuecomment-245687615, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAI3ap07G4GRgwCCLBY81P_OjfX6pd9oks5qoE-jgaJpZM4J3KM_
.


Connectivity error whenever i run code related to huskylens

I was playing around with the huskylens sensor sample class and whenever i ran it i got "Error communicating with I2C device(s) 'huskylens'. Check your wiring and configuration" on the driver station app. I tried using the same I2C port and cable for a distance sensor and it worked perfectly.
Any ideas ?

The pin configuration on the HuskyLens and on the Control Hub are not compatible. There are 4 wires on the I2C cable:

Power
Ground
Data
Clock

The HuskyLens has the Power/Ground pins backwards and the Data/Clock pins backwards (that's all 4 pins not in the same place). Hence, the standard cable for a REV sensor cable WILL NOT work perfectly even though the connectors are the same.
I took the standard cable that ships with the HuskyLens and a standard REV cable and connected them together with One-to-One Lever connectors so that the pins are correct. This is a good example demonstrating the difference, though if you're handy with small tools you can pop out and reconnect the pins on the connectors to achieve the same goal. Here's what it looks like:

You can see that the wire colors on both connectors are almost the same (instead of a white wire it's a green one on the HuskyLens connector) but they're in the wrong order on the HuskyLens.

@texasdiaz, I wish I had known about lever wire connectors. Would've saved me some soldering (which is often dry in my case). Thanks for highlighting the proper solution.
Regards.

@msover,
There is a comment in the example OpMode for HuskyLens that you are presumably already aware of:

However, sometimes it's unclear why a device reports as
* failing on initialization.

I too get this message but only once at the first INIT. Thereafter it seems to go away. (The HuskyLens is connected to an Expansion Hub whose firmware is not current for CENTERSTAGE).
I am still working my way through the example OpMode but I wanted to give you heads-up on my experience that the documentation comment is significant. (Also, I'm not using the Lever connector; I soldered the wire and one can never tell with Al conductors how good the soldering can be).
Regards.

I too frequently get a fail on first initialization after boot, but it rarely affects device performance - I don't get any errors afterwards, and the device seems to function properly. Others on the team who have tested the HuskyLens have not reported this issue. I'm not exactly sure why the failure occurs, but if you can find a procedure to faithfully reproduce this error we can look into it more. I've tried and it seems too random for me, maybe I just haven't nailed the sequence or timing.

Hello @texasdiaz,
Personally, I am not concerned about this initial message once I got the wires correctly reversed. Since it does not recur (team programmer confirmed but unfortunately same robot same HuskyLens with a few extra telemetry statements) with repetitive use of the OpMode in the same session, it is not an issue for our team. Thanks.
Regards.