text:
Improve test coverage of NodeStuffPlugin.js, NormalModuleFactory.js, and NodeSourcePlugin.js

Tests need to be written for the mentioned modules.

@MarkusKramer @bebraw  - Tried to run npm test on master. Throws an error at
Error: Cannot find module 'webpack/lib/removeAndDo'
Any idea if I'm missing something.

I ran into this issue before. That time is because I run npm link before I ran the tests. The issue is npm link will create the system link into other places where webpack are used. But it forget to create a system link in the current directory.
You may try to create/copy a system link in current webpack source code directory and see how it goes.

Solved this by linking.
My understanding of the issue is that, this line in extract-text-webpack-plugin breaks because the plugin has dependency back on webpack.

Anyway thanks for your help. The tests are working now. I will try and open a PR for this.

@pksjce how it's going? tried to make another PR, but got this issue too. If you're busy, pls explain a little bit about it, I could make that PR for you.

Oh! I have forgotten about this issue. Let me check with latest webpack how it goes. There has been a bunch of changes in webpack regarding testing. I havent caught up with that yet.

Got the same issue. Running npm link resolves the issue with the lib/removeAndDo file, but now I get an error regarding lib/ConcatSource. Doesn't look like ConcatSource exists in the webpack repo. I wonder if the two issues are related, and if there's a fallback for webpack to resolve missing dependencies.
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/sjone4/Desktop/funsies/webpack/node_modules/extract-text-webpack-plugin/index.js:5:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/sjone4/Desktop/funsies/webpack/test/HotTestCases.test.js:6:25)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at require (internal/module.js:20:19)
    at /Users/sjone4/Desktop/funsies/webpack/node_modules/mocha/lib/mocha.js:222:27
    at Array.forEach (native)
    at Mocha.loadFiles (/Users/sjone4/Desktop/funsies/webpack/node_modules/mocha/lib/mocha.js:219:14)
    at Mocha.run (/Users/sjone4/Desktop/funsies/webpack/node_modules/mocha/lib/mocha.js:487:10)
    at Object.<anonymous> (/Users/sjone4/Desktop/funsies/webpack/node_modules/mocha/bin/_mocha:459:18)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3```

Fixed the issue thanks to @timse's suggestion: run yarn/npm link && yarn/npm link webpack

authors: MarkusKramer arturparkhisenko pksjce scottdj92 zhaoshengjun


text:
Use "watch" mode to compress code in "development" mode

Do you want to request a feature or report a bug?
bug
What is the current behavior?
Use "watch" mode to compress code in "development" mode
If the current behavior is a bug, please provide the steps to reproduce.
$ webpack // The generated file is normal at this time
// Edit file
// The generated file is now wrong
config url: http://github.zw-blog.com/webpack/7092/webpack.config.js
Screenshots:

What is the expected behavior?
The file is not compressed
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
browser version: No browser
Node.js version: 8.9
webpack version: 4.6
System: window 10

@evilebottnawi I have used the "development" mode !

source: gharchive/issue

repo: webpack/webpack

license: MIT

license_type: permissive

license_source: github-api


text:
Variable may not be declared after bundling

Bug report

What is the current behavior?
After webpack runs, a variable may wind up being declared in a spot that never executes
If the current behavior is a bug, please provide the steps to reproduce.
Run the following js through webpack:
`if ( window.SomeFlag ) {
for( var i = 0; i <= 5; i++ ) {
console.log("hello");
}
}
if ( window.SomeOtherFlag ) {
for( var i = 0; i <= 5; i++ ) {
console.log("hello again");
}
}`
The relevant portion of the resulting dist js comes out to the following on my machine:
function(e, t, n) {         "use strict";         if (window.SomeFlag)             for (var r = 0; r <= 5; r++) console.log("hello");         if (window.SomeOtherFlag)             for (r = 0; r <= 5; r++) console.log("hello again")     }
Now if window.SomeFlag is false and window.SomeOtherFlag is true, we get an error when the second loop attempts to use variable r (formerly i before bundling)

What is the expected behavior?
Perhaps move the declaration to the top of the parent function. In my case I fixed it by changing var to let on the source script. Then the resulting bundled script declares different variables in each loop.

Other relevant information:
webpack version:  4.16.5
Node.js version: 6.11.4
Operating System: Windows 10
Additional tools:

This is an Uglify issue.

The resulting bundled code for me showed as I posted above, without var r hoisted to function scope, which creates a "variable is not defined in strict mode" error.
Your input code is not the same as mine. You have if(false) - in this situation webpack seems to be aware that the var x declaration will never run, and it moves the declaration elsewhere. My code is using flags that webpack cannot know the value of, and in this situation it leaves the declaration where it was first listed. Try bundling the example code I listed and see if your output is the same?

I don't see the issue. Which browser are you using?

Google Chrome.
Looks like you're right - I ran my sample code through a basic test page and sure enough I got no error. However, I did get the "variable undefined" error in my app. It was caught by Sentry and reported to me, pointing exactly back to the spot where the variable was used but not declared. I'm not sure why it generated an error in app but not on a test page. There must be something else going on that I didn't realize.
Sorry for the false report. If I figure out specifically how to reproduce I'll update here.

authors: MikeWillisFC montogeek sokra


text:
test: example problem of #11668

What kind of change does this PR introduce?
tests, example of problem #11668
Did you add tests for your changes?
Yep
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
Nothing

Need to fix it, because other loaders can faced with the same problems
Ideal solution - throw an error/warning on non string values of context or request. So we catch all problems

Thanks

source: gharchive/pull-request

authors: evilebottnawi sokra


text:
remove buildin/return-require as it has no user (apparently)

What kind of change does this PR introduce?
Delete dead file
Did you add tests for your changes?
N/A
If relevant, link to documentation update:
N/A
Summary
buildin/return-require.js has no user anymore and can probably be deleted?
Does this PR introduce a breaking change?
I would think no.

Thanks

authors: sokra timse


text:
fix: remove redundant parentheses

This PR removes some redundant parentheses.

What kind of change does this PR introduce?
Bugfix

Did you add tests for your changes?
No

Does this PR introduce a breaking change?
No

What needs to be documented once your changes are merged?

This project uses Prettier formatter, this kind of change is handle automatically by it.
Maybe it is better to update it?

this kind of change is handle automatically by it.

Then it would be part of CI and produce failing CIs but I do not see such CI config.

Maybe it is better to update it?

Probably. Not sure if a newer version of prettier does this correctly. Not a big fan of prettier.
https://github.com/webpack/webpack/pull/9284/checks?check_run_id=149094140

I'll try to bump the related prettier dependencies and configs.

Upgrading the related dependencies does not seem to maky any difference.
Closing due to this.

authors: DanielRuf montogeek


text:
Random opponent

Find a random opponent when chose a user

Backend part done

repo: websauce-projart/roesti-quiz


text:
Java 8 time API support

Currently, Phantom uses Joda time. Would be nice to have java.time API support as an additional module targeting Java 8, and also make Joda time deps optional.
@alexflav23, what do you think?

Hi @Tvaroh ,
This will likely be a lot of boilerplate for no reason and since not everyone is on Java 8 yet this is sightly dangerous. You can add a trivial conversion between Joda and Java dates and I highly doubt there would be a noticeable performance penalty in doing so.
It doesn't sound like this will be worth the trouble just yet.
Regards.

I see, thanks.

joda.time could be set as deprecated and java.time support added only for java 1.8 users. It's a good change for a 2.0 version.

From a few versions there is a phantom-jdk8 package with java.time columns.

Thanks

authors: Tvaroh alexflav23 mmatloka xpete

repo: websudos/phantom


text:
🛑 DragonBoat Times is down

In d9aa15c, DragonBoat Times (https://www.dragonboattimes.com) was down:

HTTP code: 521
Response time: 176 ms

Resolved: DragonBoat Times is back up in ce6c864 after 414 days, 4 hours, 2 minutes.

repo: webworldview/uptime


text:
🛑 Johnsondata is down

In 2c9bac9, Johnsondata (https://www.johnsondata.com.au) was down:

HTTP code: 500
Response time: 29559 ms

Resolved: Johnsondata is back up in 00649cd after 7 minutes.


text:
PNG sent as files

17:12:25 INFO Message Listener {"_events":{},"_eventsCount":0,"id":"3EB0ADF5D41EA821E1F2","payload":{"fromId":"xxx@c.us","talkerId":"xxx@c.us","id":"3EB0ADF5D41EA821E1F2","mentionIdList":[],"text":"141414.png","timestamp":1654593145,"toId":"xxx@c.us","listenerId":"xxx@c.us","type":1}}
17:12:25 INFO saveMessageListener Save Message Listener {"_events":{},"_eventsCount":0,"id":"3EB0ADF5D41EA821E1F2","payload":{"fromId":"xxx@c.us","talkerId":"xxx@c.us","id":"3EB0ADF5D41EA821E1F2","mentionIdList":[],"text":"141414.png","timestamp":1654593145,"toId":"xxx@c.us","listenerId":"xxx@c.us","type":1}}

Fixed

repo: wechaty/puppet-whatsapp


text:
wrong index in joint_loss?

In your line 20 of the train.py joint_loss, it writes:
parts_idx = [(np.array(p) * 3).tolist() + (np.array(p) * 3 + 1).tolist() + (np.array(p) * 3 + 2).tolist() for p in parts]
I think the 48 joints are in order of 16 x 3, instead of 3 x 16, so parts_idx should be:
parts_idx = [np.asarray([[i*3, i*3+1, i*3+2] for i in p]).flatten().tolist() for p in parts]

I think that won't change the results when computing the loss


text:
Rebuilt html template to better function

Got html skeleton working with params in config

This is resolved


text:
Add a diarization example

Results

dataset: voxconverse dev consists of 216 utterances
speaker model: resnet model trained on VoxCeleb2 (avg_model.onnx)
speaker activity detection: oracle (from annoataion) or system (from 'silero' vad)
clustering method: spectral clustering
Metric: DER (%) (MISS/FALSE ALARM/SPEAKER CONFUSION)

Model
oracle VAD
system VAD

resnet
4.8/0.5/3.6
2.3/0/3.9

There is an annoying thing that the diarization result is not stable; randomness exists.

The onnx model is to large and not recommended to be uploaded.

We will launch a separate page to store all pretrained models. Could fill in the link in the future


text:
2020-4-25版中文路径问题

2020-4-25版，中文路径无法正确加载html，英文路径没有问题

今天我会更新一个新版本，应该修复这个问题了

辛苦，希望尽快更新release，另外路径含有#号也不支持

authors: jiukouyin weolar

license_source: bigquery


text:
Logrus org name changed case

This change makes the imports and documentation use the new lowercase import path.

+1

cc @mies

thanks for merging!

sorry it took a while. thanks for bringing it to our attention. 😄

authors: faiq pquerna spheromak

repo: wercker/journalhook

license: mit


text:
Hack aqara with ZHA integration

Greetings,
I have aqara sensor with ZHA integration but appdaemon_aqara_motion_sensors not resat my sensor to 5 second.
I have config in app.yaml with appdaemon 4.

also having this issue but with deconz

the same issue here.. my motion sensors are connected with ZHA integration and their state isnt reset after 5 seconds even though I did hardware hack and also installed this app to appdaemon4

same here

Same here.
Is there any solution available for ZHA?

I don't have a dongle to test ZHA or DeConz with.
This app listens specifically for the Xiaomi Aqara integration's motion event
self.listen_event(self.motion_sensor_state_on, "xiaomi_aqara.motion", entity_id=entity_id)
If you provide more info on the ZHA and DeConz integration's event's I can add it.

You may find alternate solutions to ZHA or DeConz at https://community.home-assistant.io/t/aqara-motion-sensor-hack-for-5-sec/147959/30

Please try the latest release v1.2.0 for ZHA

v1.2.0 works fine for me (HA core-2021.9.1 with ZHA).
This is top, thanks so much!

Greetings,
I have aqara sensor with ZHA integration but appdaemon_aqara_motion_sensors not resat my sensor to 5 second. I have config in app.yaml with appdaemon 4.

Has the ZHA update fixed this for you?

authors: Fannangir najjadasm oneseventhree punicawaikiki rockzill s0ftice wernerhp


text:
crowi 互換の plantuml ...  も使えるようにして欲しい

What is the expected result? (期待される動作)
Crowiのplantumlと互換性が欲しいです。
データ移行したいですが、plantuml をすべての文書で修正するのは厳しいです。。。

crowi

    ```plantuml
    (a) -> (b)
    ```

growi

    @startuml
    (a) -> (b)
    @enduml

related discussion: https://github.com/weseek/growi/discussions/6324

authors: liber-takano yuki-takei

repo: weseek/growi


text:
feat: Update admin json

task
https://redmine.weseek.co.jp/issues/110967
概要
Screenshot 箇所が i18n されてなかったついでに admin.json を整理した。
before screenshot

https://github.com/weseek/growi/blob/83656f7b53e9444d040876a8c0debfa4ea1a4b6e/packages/app/public/static/locales/en_US/translation.json#L38
これどこからも使われていなさそうなので確認してついでに削除お願いします :pray:


text:
Network error when running shex primer example

When trying to run the shex primer example in section 5.2, it gives the following error:

This message in the console

Failed to load resource: net::ERR_CERT_DATE_INVALID
indicates a cert problem. I know about it and need to beat certbot into submission. I'm on bike trip for a week but may be able to get to this in some evening at a campground.
(btw, the screenshot appears to be shex.js)

This is still an issue. Currently both links in the original ShEx specification are broken.

authors: dpriskorn ericprud henrietteharmse

repo: weso/shaclex


text:
Update jline to 3.27.0

About this PR
📦 Updates org.jline:jline from 3.21.0 to 3.27.0
📜 Changelog
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.jline", artifactId = "jline" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.jline", artifactId = "jline" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #669.


text:
102301517-work2

All bonus finished.

你的pr里为什么有第一轮的内容，下次不要出现非本轮的内容

你的pr有conflicts无法合并，请修改后重新提交并私聊群主


text:
Make for authenticated websocket

Just adding an entry for running the authenticated websocket code in the demo project.

:rocket: merged @Luckvery !

authors: Luckvery zugaldia

repo: westwinglabs/coinbase-kotlin


text:
removed essentially duplicate color

The "base4" and "blue" colors were essentially the same color. It was very very hard to see the difference even with my monitor brightness turned all the way up. It wasn't an issue with the vim themes but if your terminal colors are set to match it can cause problems in other applications.

Hey @svanheulen thanks for the contribution, can you include detailed before/after screenshot please?

I switched all the references of "base4" to "blue" and since they were so similar, there should be no noticeable difference in the theme. I also gave "base4" a new color but it's not actually used anywhere.
Before:

After:

Before:

After:

And here's the problem I was having with the old colors, ("base4" text on "blue" background):

Also here's a diff between the before and after so you can see which parts changed:

The change looks good, thanks for contributing @svanheulen and sorry for the long wait :)

authors: svanheulen whatyouhide

repo: whatyouhide/vim-gotham


text:
Implement Tag Filters!

In preparation for #53 and #13, this PR adds 3 new filters for tags! 🎉
Clicking on a tag now adds it to the tag filter, rather than the file filter! 👍
To see one of the differences between the filters, try search for a file extension in both the file and tag filters! 💯
This will become a lot more useful once manual tags, folder tags and extension tags are added! 👍

It's looking great. We'll definitely merge this in within the week. I just have the small concern over handleFileWordClicked (see comment) - but that could be fixed rather easily.
I'll try to get a very basic version of tags as a PR and after your approval add into the master (hopefully I can finish this weekend). And then this set of filters will hook into the field it's intended to search 🎉

Looking forward to the basic version of tagging! 👍 👍

repo: whyboris/Video-Hub-App


text:
Why do I see H1 next to my heading & how do I turn that off?

Why do I see H1 next to my heading & how do I turn that off?

Style Settings (plugin) -> Blue Topaz Theme -> 2.2.3 Headering -> disable "Clutter Free Headings"

Thank you.
Regards,
Gloria (Peeps Graphics http://www.peepsgraphics.com/)
https://www.instagram.com/peepsgrfx
https://www.facebook.com/peepsgraphics
https://www.etsy.com/shop/peepsgraphics
https://www.redbubble.com/people/peepsgraphics/shop
On Sat, Apr 9, 2022 at 8:51 AM web8823 @.***> wrote:

Style Settings (plugin) -> Blue Topaz Theme -> 2.2.3 Headering -> disable
"Clutter Free Headings"
—
Reply to this email directly, view it on GitHub
https://github.com/whyt-byte/Blue-Topaz_Obsidian-css/issues/264#issuecomment-1094072727,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHABECMLOUMW4TCU3VQTYDVEGRPNANCNFSM5S5ZBBOQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


text:
🛑 El Gall 🇬🇧 (en) is down

In 5ba7197, El Gall 🇬🇧 (en) (https://holiday-lescala.com/en/h/house-el-gall/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: El Gall 🇬🇧 (en) is back up in 23a8002 after 23 minutes.

repo: whytspace/upptime-holiday-lescala


text:
adding action config

Description
Setting up GH action
Todos

[x] adding CI.yaml
[x] skipping tests that need GPU
[x] skipping tests that need CHARMM installation
[x] tests are passing

Status

[x] Ready to go

Codecov Report

Merging #36 (2a1eaa7) into master (20077d3) will decrease coverage by 3.09%.
The diff coverage is n/a.

authors: codecov-commenter wiederm

repo: wiederm/transformato


text:
Articles with special characters don't work as goal pages

From Discord:

hey hey! idk if you guys already know this but it seems articles with a "+" in them dont work properly
my target article was "springer science+business media", and i couldnt get it to count the win. the text that displays the target didnt show a "+", but the description was the exact same
you can also easily reproduce it by just setting the start to springer publishing and the target to springer science lol

https://discord.com/channels/936202186520678431/936212632866783333/1242872406368981012

Confirmed fixed, closing issue

repo: wikispeedruns/wikipedia-speedruns


text:
Discussion on wildfly-swarm, like the possible uses

Hi,
I want to start a discussion on the project because I've big questions around futures possibilities the project wants to provide.
What is the best place? Is there any ML? Or do you prefer we use github issues?
Thanks

Issues are great or the wildfly list if you have general questions.
--
Sent from my iPhone

On May 14, 2015, at 6:42 PM, Guillaume DROUET notifications@github.com wrote:
Hi,
I want to start a discussion on the project because I've big questions around futures possibilities the project wants to provide.
What is the best place? Is there any ML? Or do you prefer we use github issues?
Thanks
—
Reply to this email directly or view it on GitHub.

Ok,
Wildfly swarm improves the way we package the application by selecting only the technical components we need.
First question: is it possible to cut my application in multiple fatjar? For instance one fatjar with JAX-RS services and one other with my JMS queues. I think that currently I can do it by configuring a profile for each desired package and then run all profiles with separated commands. Is there a better way to do this with only one command?
Second question: in addition to technical component, can I select the business elements I want to deploy more easily? For instance, I have a maven dependency to include JAX-RS element, if I want to deploy only a few of them, then I need to do it programmatically in the main. Maybe an annotation  that tells wildfly-swarm in which fatjar we want to see this resources deployed is more powerful.
What do you think abot that?

Currently there isn't a way to specify multiple fat jars, with different technical content, for a single Maven project.
There is also no means of defining specific pieces of application code that should be present within a fat jar.
To help us understand the purpose of your request, could you elaborate on what your use case is?
For instance, do you have an existing application that currently has lots of JAX-RS and JMS usage that is currently a single WAR? What would be the advantage to splitting the code into multiple fat jars instead of a single one?

In the past we add several projects that we wanted to deliver to our customers as an extensible core. With a catalog of additional plugins, the customer could chose what he wants. We wanted to deliver each ordered plugin as a JAR to be added in their production environment.
We worked on a modular architecture where components could be added and removed very easily without reinstalling all the application. We did not want to depend on a specific container like OSGI and just drop JARs in a lib directory.
The implementaton worked, but maintaining all the plugins was hard for the developers as there was one project for each possible JAR. I did'nt like it, and wanted to allow to put all together the plugins in a single project that could be deployed in a single WAR for development purpose. Cutting the application in several JARs was a packaging/marketing concern that the developer should not care, as he just needs to guarantee that plugins are loosely coupled.
Sadly, the project progressively died and I've never had the chance to start working on it. Today, I see wildfly-swarm as a great foundation to achieve it.
What do you think?

It may not be the prime use case that WildFly Swarm was intended for, but we're open to seeing a contribution that could provide such functionality while still supporting the main use case of a single WAR project to single fat jar.

As part of a migration to JIRA for issue tracking, this issue has been moved to https://issues.jboss.org/browse/SWARM-35

authors: bobmcwhirter gdrouet kenfinnigan

repo: wildfly-swarm/wildfly-swarm


text:
[WFCORE-4390] Introducing new o.j.a.s.d.Attachments.COMPONENT_JNDI_DEPS key

https://issues.jboss.org/browse/WFCORE-4390

@bstansberry please review. Windows failure is unrelated.

repo: wildfly/wildfly-core


text:
WFLY-13557 Clustering TS: Support for test execution parallelization …

Resolves
https://issues.redhat.com/browse/WFLY-13557
https://issues.redhat.com/browse/WFLY-13563
https://issues.redhat.com/browse/WFLY-13564

@pferraro please review if this work for you.

For the record this works great on my cross component CI stuff - thanks @rhusar

Just to note, this shaves off about 15-20 minutes off execution of the clustering tests (on our CI even more than that). This is due to the fact we no longer run all tests on full-ha, but only the relevant ones.

authors: kabir rhusar

repo: wildfly/wildfly


text:
[WFLY-14025] only add dependency to inject DefaultDataSource if defau…

…lt datasource binding is specified in ee subsystem
https://issues.redhat.com/browse/WFLY-14025

@bstansberry @bmaxwell
The suggested fix with refactor of  EEModuleInitialProcessor seems a little bit tricky to me because the object has to be created during EeExtension creation:
https://github.com/wildfly/wildfly/blob/master/ee/src/main/java/org/jboss/as/ee/subsystem/EeExtension.java#L76
but  EEModuleInitialProcessor can be created only on boottime when appclient property is known.
OTOH just changing the phase of DefaultBindingsConfigurationProcessor seemed to work for me. I see that in reproducer default data source is injected when defined and no injected (without errors) if not.
I have created a PR with this fix (+ also modifing other default injections to work the same way):
https://github.com/wildfly/wildfly/pull/13744/files

@tadamski or maybe we can use a singleton object holding the EEDefaultResourceJndiNames on the DefaultBindingsAdd, then creating the EEModuleDescription in EEModuleInitialProcessor ?

Also with both proposed changes, in case of default datasource binding removed from ee subsystem, it will make the following deployment successful which I think it failed before the change:
public class TestServlet extends HttpServlet {
   @Resource
  private DataSource ds;
}

is it OK for the change?
I am preparing some tests in https://github.com/wildfly/wildfly/compare/master...gaol:WFLY-14025-brad?expand=1, so I want to be clear what exactly we want. thanks :)

@gaol Can you ask your question on #13744?  That is the active PR and I'd like to close this one but I don't want your very good question to get lost.
It would be better if your tests came in via that PR as well.

@bstansberry sure, I have move the question and sent PR to the bugfix branch with the tests. :) I think we can close this one.

Closing; superceded by #13744

authors: bmaxwell bstansberry gaol tadamski


text:
[WFLY-17229] Add WildFlySecurityManager dependency to the testsuite/layers module

https://issues.redhat.com/browse/WFLY-17229

Thanks @yersan @bstansberry @darranl, updated.

Thanks @lvydra

authors: bstansberry lvydra


text:
[WFLY-5607] don't close remoting channel when EJB throws an exception

https://issues.jboss.org/browse/WFLY-5607

Linux with security manager Build 3524 outcome was FAILURE using a merge of 19fb8e06a13634f5a7386f8130cc4ab44efcc729
Summary: Tests passed: 656, ignored: 201; exit code 1 (new) Build time: 00:03:21

Linux Build 8697 outcome was FAILURE using a merge of 19fb8e06a13634f5a7386f8130cc4ab44efcc729
Summary: Tests passed: 656, ignored: 201; exit code 1 (new) Build time: 00:03:46

Windows Build 3727 outcome was FAILURE using a merge of 19fb8e06a13634f5a7386f8130cc4ab44efcc729
Summary: Tests passed: 656, ignored: 201; exit code 1 (new) Build time: 00:05:10

authors: bmaxwell wildfly-ci


text:
运行出问题

2018-05-30 15:33:15 [scrapy.utils.log] INFO: Scrapy 1.5.0 started (bot: crawler)
2018-05-30 15:33:15 [scrapy.utils.log] INFO: Versions: lxml 4.1.1.0, libxml2 2.9.7, cssselect 1.0.3, parsel 1.4.0, w3lib 1.19.0, Twisted 17.5.0, Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)], pyOpenSSL 17.5.0 (OpenSSL 1.0.2n  7 Dec 2017), cryptography 2.1.4, Platform Windows-10-10.0.16299-SP0
2018-05-30 15:33:15 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'crawler', 'COOKIES_DEBUG': True, 'DOWNLOAD_DELAY': 1.0, 'DOWNLOAD_TIMEOUT': 10, 'LOG_FILE': 'C:\Users\myh\Desktop\PatentCrawler-master\output\20180530_153315\PatentCrawler.log', 'NEWSPIDER_MODULE': 'crawler.spiders', 'RETRY_TIMES': 3, 'SPIDER_MODULES': ['crawler.spiders']}
2018-05-30 15:33:15 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
'scrapy.extensions.telnet.TelnetConsole',
'scrapy.extensions.logstats.LogStats']
2018-05-30 15:33:16 [scrapy.middleware] INFO: Enabled downloader middlewares:
['scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',
'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',
'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',
'crawler.middlewares.PatentMiddleware',
'scrapy.downloadermiddlewares.retry.RetryMiddleware',
'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',
'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',
'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',
'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',
'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware',
'scrapy.downloadermiddlewares.stats.DownloaderStats']
2018-05-30 15:33:16 [scrapy.middleware] INFO: Enabled spider middlewares:
['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',
'scrapy.spidermiddlewares.offsite.OffsiteMiddleware',
'scrapy.spidermiddlewares.referer.RefererMiddleware',
'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',
'scrapy.spidermiddlewares.depth.DepthMiddleware']
2018-05-30 15:33:16 [scrapy.middleware] INFO: Enabled item pipelines:
['crawler.pipelines.CrawlerPipeline']
2018-05-30 15:33:16 [scrapy.core.engine] INFO: Spider opened
2018-05-30 15:33:16 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2018-05-30 15:33:16 [scrapy.extensions.telnet] DEBUG: Telnet console listening on 127.0.0.1:6023
2018-05-30 15:33:17 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:17 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/patentsearch/pageIsUesd-pageUsed.shtml HTTP/1.1" 200 None
2018-05-30 15:33:17 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:17 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/patentsearch/tableSearch-showTableSearchIndex.shtml HTTP/1.1" 200 None
2018-05-30 15:33:18 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:18 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/login-showPic.shtml HTTP/1.1" 200 None
2018-05-30 15:33:18 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:18 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/wee/platform/wee_security_check HTTP/1.1" 302 None
2018-05-30 15:33:18 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/uilogin-loginSuccess.shtml?params=991CFE73D4DF553253D44E119219BF31366856FF4B15222669397E093A956A2C&j_loginsuccess_url= HTTP/1.1" 302 None
2018-05-30 15:33:18 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/uiIndex.shtml HTTP/1.1" 200 None
2018-05-30 15:33:19 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:19 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/patentsearch/showViewList-jumpToView.shtml HTTP/1.1" 200 None
2018-05-30 15:33:19 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <POST http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml> (failed 1 times): unlogin
2018-05-30 15:33:19 [scrapy.downloadermiddlewares.cookies] DEBUG: Sending cookies to: <POST http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml>
Cookie: JSESSIONID=x1Sv9YxmnHdXesCJk04Y3SMqTX3yBIpnhcwf0uKlEOg9TlE-gYYY!309799008!187544033; IS_LOGIN=true; WEE_SID=x1Sv9YxmnHdXesCJk04Y3SMqTX3yBIpnhcwf0uKlEOg9TlE-gYYY!309799008!187544033!1527665495142
2018-05-30 15:33:19 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:19 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/patentsearch/pageIsUesd-pageUsed.shtml HTTP/1.1" 200 None
2018-05-30 15:33:19 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:19 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/patentsearch/tableSearch-showTableSearchIndex.shtml HTTP/1.1" 200 None
2018-05-30 15:33:19 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:20 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/login-showPic.shtml HTTP/1.1" 200 None
2018-05-30 15:33:20 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:20 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/wee/platform/wee_security_check HTTP/1.1" 302 None
2018-05-30 15:33:20 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/uilogin-loginSuccess.shtml?params=991CFE73D4DF553253D44E119219BF31366856FF4B15222669397E093A956A2C&j_loginsuccess_url= HTTP/1.1" 302 None
2018-05-30 15:33:20 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/uiIndex.shtml HTTP/1.1" 200 None
2018-05-30 15:33:20 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:20 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/patentsearch/showViewList-jumpToView.shtml HTTP/1.1" 200 None
2018-05-30 15:33:20 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <POST http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml> (failed 2 times): unlogin
2018-05-30 15:33:20 [scrapy.downloadermiddlewares.cookies] DEBUG: Sending cookies to: <POST http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml>
Cookie: JSESSIONID=enOv9ZPDdp7oeLhqlYjU_gHhiJA63dF52InwKDPUfwSJwT4OC0x4!309799008!187544033; IS_LOGIN=true; WEE_SID=enOv9ZPDdp7oeLhqlYjU_gHhiJA63dF52InwKDPUfwSJwT4OC0x4!309799008!187544033!1527665497027
2018-05-30 15:33:20 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:21 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/patentsearch/pageIsUesd-pageUsed.shtml HTTP/1.1" 200 None
2018-05-30 15:33:21 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:21 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/patentsearch/tableSearch-showTableSearchIndex.shtml HTTP/1.1" 200 None
2018-05-30 15:33:21 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:21 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/login-showPic.shtml HTTP/1.1" 200 None
2018-05-30 15:33:21 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:22 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/wee/platform/wee_security_check HTTP/1.1" 302 None
2018-05-30 15:33:22 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/uilogin-loginSuccess.shtml?params=991CFE73D4DF553253D44E119219BF31366856FF4B15222669397E093A956A2C&j_loginsuccess_url= HTTP/1.1" 302 None
2018-05-30 15:33:22 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/uiIndex.shtml HTTP/1.1" 200 None
2018-05-30 15:33:22 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:22 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/patentsearch/showViewList-jumpToView.shtml HTTP/1.1" 200 None
2018-05-30 15:33:22 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <POST http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml> (failed 3 times): unlogin
2018-05-30 15:33:22 [scrapy.downloadermiddlewares.cookies] DEBUG: Sending cookies to: <POST http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml>
Cookie: JSESSIONID=fdyv9Zmxa7oMcWvdvBHwiuh8nvKhmeaYnZ03iat0rUfX2SfDs-5E!309799008!187544033; IS_LOGIN=true; WEE_SID=fdyv9Zmxa7oMcWvdvBHwiuh8nvKhmeaYnZ03iat0rUfX2SfDs-5E!309799008!187544033!1527665498545
2018-05-30 15:33:22 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:22 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/patentsearch/pageIsUesd-pageUsed.shtml HTTP/1.1" 200 None
2018-05-30 15:33:22 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:23 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/patentsearch/tableSearch-showTableSearchIndex.shtml HTTP/1.1" 200 None
2018-05-30 15:33:23 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:23 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/login-showPic.shtml HTTP/1.1" 200 None
2018-05-30 15:33:23 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:23 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/wee/platform/wee_security_check HTTP/1.1" 302 None
2018-05-30 15:33:23 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/uilogin-loginSuccess.shtml?params=991CFE73D4DF553253D44E119219BF31366856FF4B15222669397E093A956A2C&j_loginsuccess_url= HTTP/1.1" 302 None
2018-05-30 15:33:24 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "GET /sipopublicsearch/portal/uiIndex.shtml HTTP/1.1" 200 None
2018-05-30 15:33:24 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): www.pss-system.gov.cn
2018-05-30 15:33:24 [urllib3.connectionpool] DEBUG: http://www.pss-system.gov.cn:80 "POST /sipopublicsearch/patentsearch/showViewList-jumpToView.shtml HTTP/1.1" 200 None
2018-05-30 15:33:24 [scrapy.downloadermiddlewares.retry] DEBUG: Gave up retrying <POST http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml> (failed 4 times): unlogin
2018-05-30 15:33:24 [scrapy.core.scraper] ERROR: Error downloading <POST http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml>
Traceback (most recent call last):
File "D:\Program Files (x86)\anaconda\lib\site-packages\twisted\internet\defer.py", line 1386, in _inlineCallbacks
result = g.send(result)
File "D:\Program Files (x86)\anaconda\lib\site-packages\scrapy\core\downloader\middleware.py", line 43, in process_request
defer.returnValue((yield download_func(request=request,spider=spider)))
File "D:\Program Files (x86)\anaconda\lib\site-packages\twisted\internet\defer.py", line 1363, in returnValue
raise _DefGen_Return(val)
twisted.internet.defer._DefGen_Return: <404 http://www.pss-system.gov.cn/sipopublicsearch/patentsearch/executeTableSearch0402-executeCommandSearch.shtml>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Program Files (x86)\anaconda\lib\site-packages\twisted\internet\defer.py", line 1386, in _inlineCallbacks
result = g.send(result)
File "D:\Program Files (x86)\anaconda\lib\site-packages\scrapy\core\downloader\middleware.py", line 56, in process_response
(six.get_method_self(method).class.name, type(response))
AssertionError: Middleware PatentMiddleware.process_response must return Response or Request, got <class 'NoneType'>
2018-05-30 15:33:24 [scrapy.core.engine] INFO: Closing spider (finished)
2018-05-30 15:33:24 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 4368,
'downloader/request_count': 4,
'downloader/request_method_count/POST': 4,
'downloader/response_bytes': 6301,
'downloader/response_count': 4,
'downloader/response_status_count/404': 4,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2018, 5, 30, 7, 33, 24, 666286),
'log_count/DEBUG': 56,
'log_count/ERROR': 1,
'log_count/INFO': 7,
'retry/count': 3,
'retry/max_reached': 1,
'retry/reason_count/unlogin': 3,
'scheduler/dequeued': 4,
'scheduler/dequeued/memory': 4,
'scheduler/enqueued': 4,
'scheduler/enqueued/memory': 4,
'start_time': datetime.datetime(2018, 5, 30, 7, 33, 16, 985230)}
2018-05-30 15:33:24 [scrapy.core.engine] INFO: Spider closed (finished)

5月29号，网站调整了几个搜索入口的地址，要修改一下。

能力有限，还没改好，急着用数据做毕业设计，有最新版本吗？万分感谢！

我没有用scrapy，我自己的解析文件贴出来，你参考下。
1、基本搜索结果，以前需要解析html页面，现在都改为返回json了，实际上更简单了。
def _parse_basic(record_list):
if not record_list:
return None
result = []
try:
for record in record_list:
basic = {}
basic['nrdAn'] = record.get('fieldMap').get('AP')
basic['nrdPn'] = record.get('fieldMap').get('PN')
basic['patent_id'] = record.get('fieldMap').get('ID')
basic['request_number'] = record.get('fieldMap').get('APO')
basic['request_date'] = record.get('fieldMap').get('APD')
basic['publish_number'] = record.get('fieldMap').get('PN')
basic['publish_date'] = record.get('fieldMap').get('PD')
basic['invention_name'] = record.get('fieldMap').get('TIVIEW')
basic['inventor'] = record.get('fieldMap').get('INVIEW')
basic['proposer'] = record.get('fieldMap').get('PAVIEW')
basic['agent'] = record.get('fieldMap').get('AGT')
basic['agency'] = record.get('fieldMap').get('AGY')
# 去除和格式
for key, value in basic.items():
basic[key] = re.sub(r'</{0,1}FONT>', '', value)
result.append(basic)
return result
except Exception as e:
print(e)
return None


text:
Bubble Chart/Scattered Chart Support OR Support for setting individual point configuration in LineChart/MultiLineChart

Is it possible to add a bubble chart like -

I've managed to make something similar using multi-line chart, but as the chart doesn't support different/individual point configurations the exact bubble chart can't yet be implemented using the library as of yet.

I'll look in to it.

repo: willdale/SwiftUICharts


text:
Num.cycle hit edge

Your library is great, but when I tried to make a circle go around the Rect edge,
I use Num.cycle to generate interval number, use
     if (Num.equals(interval, 1, 0.001)) {         console.log("equals");         edge++;         if (edge > 3) {           edge = 0;         }       }
to check interval number is near 1,
When interval number nears 1, I'll change the circle edge.
But, Num.cycle numbers always not in control, sometime it's under 1 for times, some times it across it for times.
Is there a best practice to accomplish this target?

Hi @tcper , yes, cycle is a continuous function so you may hit values within "0.001" multiple times. One way is to pass the value to interpolate linearly, and then split the results into the number of edges you require. Perhaps something like this? (rough code):
var run = Pts.quickStart( "pt", "#000" );

run( ( time, ftime ) => {
    let n = Num.cycle( (time%5000)/5000 );
    let ln = Num.lerp( 0, 1, n );
    form.text( [20, 20], "n "+n ).text( [20, 40], "ln "+n );
    form.text( [20, 60], "edge "+Math.floor(ln/0.25) );
});

(Try pasting the code above in the demo editor for a quick test)
If you must get to 1 in cycle within a threshold, you can try limiting a value at one end, and reseting it on the other end. Maybe something like this (feels a bit hacky though).
    let n = Math.min(1, Num.cycle( (time%5000)/5000 ) / 0.99);
    if (n === 1 && reset) {
        edge++;
        reset = false;
    } else if (n < 0.1) {
        reset = true;
    }

So depending on what you're trying to do, you can probably find a better approach 😉 Thanks for trying out Pts!

Thank you, I'm researching some good way to do this.

Finally, I generate all the points on the edge to animate the circle.

Good to hear. If you have other questions, please file a new issue. Thanks for trying out Pts.

authors: tcper williamngan

repo: williamngan/pts


text:
reduce file sizes of images with FileOptimizer

Reduce file size without sacrificing any visual loss.

Thanks.

authors: wehttvM willmcgugan

repo: willmcgugan/rich


text:
Sort matches by filename

In multi-file playbooks all matches are currently strictly sorted by filename - therefore different files are wildly mixed together. This is not to be expected at all and produces a quite confusing output. Sorting by code location should first order by filename and then by line number, eventually by rule number if there are multiple reportings per line.
Before:
$ ansible-lint -p playbooks.yml
error_b.yml:9: [EANSIBLE0012] Commands should not change things if nothing needs doing
error_a.yml:12: [EANSIBLE0012] Commands should not change things if nothing needs doing
error_b.yml:13: [EANSIBLE0012] Commands should not change things if nothing needs doing

After:
$ ansible-lint -p playbooks.yml
error_a.yml:12: [EANSIBLE0012] Commands should not change things if nothing needs doing
error_b.yml:9: [EANSIBLE0012] Commands should not change things if nothing needs doing
error_b.yml:13: [EANSIBLE0012] Commands should not change things if nothing needs doing

Followup to #219
A possible improvement would be to group the output by file, that would make it easier to recognize context.
Maybe there is a use case to make primary sorting value configurable, but sorting by file and line number should be the expected default.

❤ :+1:

Yep, unexpected side effect of what was supposed to be a genuine improvement - thanks for the fix.

Updated to version 3.4.7, tagged and pushed to pypi

authors: adrianmoisey straight-shoota willthames

repo: willthames/ansible-lint


text:
API com problema

Olá, o script não está fazendo login na CVM, você sabe o que pode ser?
tentei acessar: cvmwebmethods.php?methodname=solicAutorizDownloadArqComptc&iCdTpDoc=209&strDtComptcDoc=2015-07-09
Apareceu a mensagem: PermissÃ£o negada. Por favor, efetue o login antes de acessar essa funcionalidade.
PS: fiz cadastro na CVM e corrigi urls da API que mudaram, mas é como se não registrasse o soap header para as chamadas subsequentes na API, ou como se o soap header não fosse enviado.
só para ilustrar, um trecho de código adaptado (pois colar vários arquivos aqui ficaria difícil):
$client = new SoapClient("http://sistemas.cvm.gov.br/webservices/Sistemas/SCW/CDocs/WsDownloadInfs.asmx?WSDL",array(
      "trace"           => true,
      "exceptions"  => true,
      "cache_wsdl" => false
));
$client->Login(array("iNrSist" => 2017, "strSenha" => '******'));

//seta o header sessaoIdHeader
$response = $client->__getLastResponse();
$xml = simplexml_load_string($response);
$xml->registerXPathNamespace('cvm', 'http://sistemas.cvm.gov.br/webservices/');
$item = $xml->xpath('//soap:Header');
$token = $item[0]->sessaoIdHeader;
$header = new SoapHeader('http://sistemas.cvm.gov.br/webservices/', 'sessaoIdHeader',  array('Guid' => $token->Guid, 'IdSessao' => $token->IdSessao));
$client->__setSoapHeaders($header);

//solicita o download de documentos
try{
    $response = $client->solicAutorizDownloadCadastro(array(
         'strDtRefer' => '2015-12-03'
    ));
    print_r($response);
}catch(Exception $e){
    die($e->getMessage());
}

Dê uma olhada no script cvmwebmethods.php, mas antes de executar é importante configurar o usuário e senha no script lib.cvm.php (bem no começo).
$cvm['nr-sist'] = 0000;
$cvm['senha'] = "xxxxx";

Segue um exemplo de como eu uso o cvmwebmethods.php
cvmwebmethods.php?methodname=solicAutorizDownloadArqComptc&iCdTpDoc=209&strDtComptcDoc=2014-07-09

Venho usando diariamente sem problemas. Dê uma olhada na sequencia que começa nos webmethods, isso pode te ajudar a entender como eu uso a API. Essa API da CVM é um tanto hostil.

Olá Wilson,
Obrigado pela resposta!
Mas o problema do trecho de código que postei era outro: Depois de averiguar seu código vi que o namespace que estava usando estava errado, o correto era:
$xml->registerXPathNamespace('cvm', 'http://cvm.gov.br/webservices/');

Foi só mudar esta linha que funcionou! :smile:
Mas realmente.. a API da CVM tem que usar com cuidado! Só podem ser feitas 10 requisições por dia! Em fase de desenvolvimento isto é muito pouco e atrasa bastante a produção.

Wilson boa tarde, estou com uma duvida, como eu consigo os seguintes dados
$cvm['nr-sist'] = 0000;
$cvm['senha'] = "xxxxx";
Aonde eu faço o cadastro para conseguir isso ?

authors: joaoskr tigredonorte wilsonfreitas

repo: wilsonfreitas/cvm-funds-php


text:
Merge ttcli and Spring Initializr

I'm trying to integrate your book section 4.2.2.2 with an existing project that was created on Spring Initializr.  It was quite tedious to merge the two.  Not sure the best way to make this easier, perhaps a set of guidelines about what is created, what needs to be moved and what needs to be merged would be of assistance.
Nirvana would be the ttcli tool can be run in a directory with an existing Spring Boot project and "it just works"!

I agree that having the ttcli tool work on an existing project would be very nice, but I believe it would be quite hard to achieve given the many possible states the project might be in.

Hi Wim
Thank you for your books and ttcli
I found that I needed to add a proxy to be able to use ttcli in my environment
Currently, I have the proxy hardcoded in the springBootInitializrClient Bean (and hardcoded "isReachable" to be true)
I suppose I will work towards getting it from environment variables
Please give suggestions and/or comments
Thanks!

authors: garyhellman tvogel8570 wimdeblauwe

repo: wimdeblauwe/ttcli


text:
Scheduled Renewal only runs for one certificate

To Reproduce
What I do:

start wacs.exe (by double-clicking it)
choose R from the menu to run scheduled renewals

What happens:
one certificate gets renewed, and then the window closes, so to continue running renewals I have to re-start WACS and run renewals again.
Expected Behavior
I'd like to be able to renew all current scheduled certificates in one go.
Platform:

OS: Windows Server 2016 English; IIS 10
Version: win-acme.v2.1.5.742.x64.pluggable

Additional context
When I start wacs.exe (by double-clicking it) I get 2 errors:
Error creating event logger: Could not find file 'C:\Users\Administrator\AppData\Local\Temp\2.net\wacs\mj3svjlg.rjc\wacs.deps.json'.
Error creating disk logger: Could not find file 'C:\Users\Administrator\AppData\Local\Temp\2.net\wacs\mj3svjlg.rjc\wacs.deps.json'.
I don't know if these 2 issues are related or not, so I put then into one issue just in case.

It sounds like a file permission issue. Have you tried running as administrator? I'm going to add some extra error handling in the next release for these types of issues.

Might also be fixed by the .NET Core framework update released in 2.1.8.

authors: WouterTinus tstemko

repo: win-acme/win-acme


text:
ERROR: ImageBuild: COPY failed

Hi guys,
I have updated Tilt to the latest version (0.9.7) today and since then I'm experiencing this type of errors for all my docker images :
ERROR: ImageBuild: COPY failed: stat /var/lib/docker/tmp/docker-builder817293152/build/libs/app-1.0-SNAPSHOT.jar: no such file or directory

DockerFile looks like this :
FROM adoptopenjdk/openjdk11:jdk-11.0.2.9-slim

COPY ./build/libs/app-1.0-SNAPSHOT.jar /app.jar

CMD ["java", "-jar", "-XX:-OmitStackTraceInFastThrow", "/app.jar"]

It is my understand it's bad practice to have relative paths in DockerFile, I've tried using an absolute path but the same issue occurred.
I have downgraded Tilt to version 0.9.4 and it works again. As a work around, I have configured brew to not auto update tilt but as you can imagine I would prefer to stay up to date with upgrades.
DOCKER_BUILDKIT=0 docker build -t x . and DOCKER_BUILDKIT=1 docker build -t x . both work locally.
I'm running on MacOs Mojave 10.14.6.
here is the tilt doctor :
System: darwin-amd64
---
Docker
- Host: tcp://192.168.64.2:2376
- Version: 1.39
- Builder: 1
---
Kubernetes
- Env: minikube
- Context: minikube
- Cluster Name: minikube
- Namespace: default
- Container Runtime: docker
- Version: v1.15.0
---
Thanks for seeing the Tilt Doctor!
Please send this info along when filing bug reports. 💗

Thanks !

Yikes, thanks for the report. We'll get right on trying to repo this.
In the meantime, can you see if it repros on a different k8s cluster? (e.g. GKE, docker-for-mac, KinD, etc.)

If you could push up a git repo with a minimal repro case, that would be a great help!

Also: can you share your Tiltfile? At a guess, that's the docker daemon failing to find the file in the docker context, so I'm curious to know what your docker_build call looks like.

If you could push up a git repo with a minimal repro case, that would be a great help!

The error repros for me just given the Dockerfile above, so we're good on this!

Hm, except the error also repros for me on Tilt 0.9.4, and even with docker build, outside of Tilt:
$ DOCKER_BUILDKIT=0 docker build .
Sending build context to Docker daemon  8.192kB
Step 1/3 : FROM adoptopenjdk/openjdk11:jdk-11.0.2.9-slim
 ---> 9a223081d1a1
Step 2/3 : COPY ./build/libs/app-1.0-SNAPSHOT.jar /app.jar
COPY failed: stat /var/lib/docker/tmp/docker-builder833448662/build/libs/app-1.0-SNAPSHOT.jar: no such file or directory

This looks like it's a bad Dockerfile. There is no ./build in adoptopenjdk/openjdk11:jdk-11.0.2.9-slim, so the error is the behavior I'd expect:
$ docker run --entrypoint ls adoptopenjdk/openjdk11:jdk-11.0.2.9-slim
bin
boot
dev
etc
home
lib
lib64
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var

FWIW, here's the sha256 for the image that ended up on my host:
$ docker inspect adoptopenjdk/openjdk11:jdk-11.0.2.9-slim
[
    {
        "Id": "sha256:9a223081d1a1b0b6b0f135a911e42dacc2573f4e9abeefff5634e2cf42877fa9",

This leaves two mysteries:

why docker build works for you outside of tilt
why the 0.9.4 and 0.9.7 behavior differ

It's possible that figuring out either (1) or (2) will give us hints as to why the other is the case. I don't think I can do much for (1) from here with the info at hand.
For (2), git log v0.9.7...v0.9.4 --oneline has few commits that, afaict, could even theoretically affect the docker build behavior, and they're all ignore (.dockerignore, .tiltignore)-related. If you don't have either of those files specifying paths that might cause this difference, then I don't see any other leads there, and would suggest focusing on (1).

Thanks for looking into this.
Here are a few pointers that might help us :

My docker daemon point to minikube, can be reproduce by eval $(minikube docker-env)

I am not trying to copy from openjdk11, the jar I'm copying is relative to the Dockerfile on my filesystem

Before opening a ticket here, I Google the same Error + mac related issues, I came across this https://github.com/docker/for-mac/issues/1922#issuecomment-321840224, which would make me think a change in .dockerignore might actually have an impact on the docker build behaviour, at least for mac users ? I'm far from being an expert on the topic though

I am not trying to copy from openjdk11, the jar I'm copying is relative to the Dockerfile on my filesystem. It's packaged via Gradle.

whoops, I feel silly.

interesting! can you post your dockerignore file?

I don't have one ah ! :)
I think I have narrowed it down a little bit more, it seems related to the only parameter from the docker_build function.
I have removed it for try-and-error debug and it works.
Here is a snippet to illustrate my point :
Ends up with the error
[docker_build(service, path_to(service), only='**/build/libs/*.jar') for service in services]

Doesn't end up with an error, but also if not fit for my purpose.
[docker_build(service, path_to(service)) for service in services]

If you're curious as to why I want this behaviour: Allows me to simulate only rebuild manually when I want it, that is when I'm happy with my code change, I run gradle clean install, builds my jar and deploys it to my local k8s.
Hope that helps.

thanks! I think I have a repro case. It has something to do with the only=

Short answer: @kalistace : you can work around this by changing the docker_build call to only=build/libs
Long answer: Tilt does not currently support * globs in only=.... That's because Tilt implements only=foo as a dockerignore with the contents:
**
!foo

If you have only=**/build/libs, Tilt creates a dockerignore like:
**
!**/build/libs

Unfortunately, Docker doesn't support this (https://github.com/moby/moby/issues/30018). If you'd like to try it out yourself, there's a repro case in this temporary repo: https://github.com/nicks/tilt-issue1982.
This broke because we were updating Tilt's dockerignore implementation to be more consistent with Docker's dockerignore implementation. For a bunch of reasons, it's super difficult to implement exclude-globs in a performant way (which is why I suspect this hasn't been fixed in Docker core)
There are a couple possible ways we could move forward here. Maybe we could fix this, and find a performant way to implement it. Alternatively, Tilt should error if you try to use globs in only= parameters.
I could see arguments for or against being consistent with Docker, even when it means replicating their bugs. @jazzdan what do you think?

Thanks @nicks, I appreciate the long answer. It's quite informative !
I will use your fix, for my usage it patches the problem entirely.
Sounds like having a warning or error might be a good first step, you can always iterate on that. But of course, I will leave that to you :)

OK, talked a bit offline. For now, we're going to do the lazy solution and emit an error when Tilt sees a * glob in only=. We're hoping this will be fine for most use-cases. If people complain about the error, we can revisit this.

check added in https://github.com/windmilleng/tilt/pull/2017

authors: kalistace landism maiamcc nicks

repo: windmilleng/tilt


text:
Support for LCLs (and maybe ECLs) in TMC messages?

It seems to be easy to get hold of a country's LCL in TMC Exchange format (ISO 14819-3). And in the same package (for Germany) I also got the ECL - but in Excel format which can easily be exported to CSV.
Could you add support to use those files to provide clear text messages for TMC?

Any specifications on TMC Exchange format? Nothing comes up on Google, and there's no mention of it in my copy of ISO 14819-3:2004. Is this in the 2013 revision? If so, where did you get a copy?
The ECL is already hardcoded in English in tmc_data.h. Translation could be possible and would seem to also require language-specific rules for the grammar to work.

I only found it mentioned in the terms and conditions for the German LCL/ECL - last paragraph. Google found this PDF which looks promising.
About the grammar. The German ECL uses 3 columns: "No quantifier", "Q=1" and "Q>1". And sentences have placeholder(s) for the numbers, e.g.:
"Accident, (L) Stationary traffic" / "An accident, (L) stationary traffic" / "(Q) accidents, (L) stationary traffic"
But there's also a generic all-purpose column reading "(Q) accident(s), (L) stationary traffic".
(L) gets replaced by the length in metres, e.g. "1 km"
(Q) gets replaced by the quantity
and then there are a few more such codes
There's some more information in that Excel file about extra content which might get sent via additional RDS groups and how that is encoded. You can just order the set from that link above. I got the mail right away, so it seems like nobody checks your data before handing out the precious data.

Thanks, great sources!

LCLs are now supported, experimentally, using the option --loctable "directory_with_loctable".

It borked for me with:
terminate called after throwing an instance of 'std::runtime_error'
  what():  not supported from ISO 8859-15 (Latin 9) to UTF-8
Aborted

Because the README.DAT was:
1;31/10/2014;;BASt;ISO 8859-15 (Latin 9);2;1

But I don't know how you could make something valid out of that. After changing it to ISO 8859-15, it didn't complain anymore. But I still don't get locations:
{"group":"3A","open_data_app":{"app_name":"RDS-TMC: ALERT-C","oda_group":"8A"},"pi":"0xD321","prog_type":"No PTY","tmc":{"system_info":{"is_encrypted":false,"is_on_alt_freqs":true,"location_table":1,"scope":["urban"]}},"tp":true}
{"group":"8A","pi":"0xD321","prog_type":"No PTY","tmc":{"message":{"description":"Queuing traffic.","direction":"single","event_codes":[108],"extent":"-2","location":34022}},"tp":true}
{"group":"8A","pi":"0xD321","prog_type":"No PTY","tmc":{"message":{"description":"Right lane closed. Roadworks.","direction":"single","event_codes":[501,701],"extent":"-1","location":10257}},"tp":true}

I was a bit too optimistic when I thought the encoding field would ever be a valid encoding name.. :)
Are you loading location table number 1? I should perhaps disable the try/catch statements so that all database parsing errors would crash the program. (I didn't test it on a German dataset myself, I had a Finnish one from 2009.)

How can I check which tables it loads? I just let it go crazy on the directory with the unpacked LCL data using the new -l parameter. Is there anything else I should check or configure?

It should now print an object called "location_table_info".

Hmm ... seems there's something wrong (it's printed twice, and judging from the time between the two lines, it's also parsed twice?):
{"location_table_info":{"ltn":1,"num_points":0,"num_roads":0,"num_names":30291}}
{"location_table_info":{"ltn":1,"num_points":0,"num_roads":0,"num_names":30291}}

It's reloaded every time sync is regained or something :) But this will be fixed in the future.
Hmm, seems like points and roads are not succesfully loaded. It could be that column names differ from those in my database. I need to request that German one for sure.

From what I can see, the column names are correct. Here are the headers and a few lines of data of those files:
NAMES.DAT (column names from locationdb.cc: NID, NAME)
CID;LID;NID;NAME;NCOMMENT
58;1;1;(Basketball-)Arena;
58;1;2;(Fußball-)-Arena;
58;1;3;(Fußball-)Arena;
58;1;4;(Fußball-)Stadion;
58;1;5;48;

ROADS.DAT (LCD, ROADNUMBER, RNID)
CID;TABCD;LCD;CLASS;TCD;STCD;ROADNUMBER;RNID;N1ID;N2ID;POL_LCD;PES_LEV
58;1;44;L;1;1;A448;26551;4409;4389;350;0
58;1;57;L;1;3;L140;;26166;6813;279;0
58;1;82;L;1;4;VG29;;30024;17246;14291;0
58;1;113;L;5;0;;2061;;;14292;0
58;1;118;L;1;3;L170;;25820;20715;576;0

SEGMENTS.DAT (ROA_LCD)
CID;TABCD;LCD;CLASS;TCD;STCD;ROADNUMBER;RNID;N1ID;N2ID;ROA_LCD;SEG_LCD;POL_LCD
58;1;34;L;3;0;B8;;6948;6813;50444;;260
58;1;411;L;3;0;A14;;29429;24782;51281;;268
58;1;1987;L;3;0;L75;;7477;11867;6982;;256
58;1;1990;L;3;0;L75;;11867;18902;6982;;256
58;1;3011;L;3;0;L28;;19352;19223;3009;;529

POINTS.DAT (TABCD, LCD, N1ID, XCOORD, YCOORD, ROA_LCD, SEG_LCD, RNID)
CID;TABCD;LCD;CLASS;TCD;STCD;JUNCTIONNUMBER;RNID;N1ID;N2ID;POL_LCD;OTH_LCD;SEG_LCD;ROA_LCD;INPOS;INNEG;OUTPOS;OUTNEG;PRESENTPOS;PRESENTNEG;DIVERSIONPOS;DIVERSIONNEG;XCOORD;YCOORD;INTERRUPTSROAD;URBAN
58;1;14;P;1;11;;;26528;;3730;;8998;;1;1;1;1;1;1;;;+00684525;+5192775;0;0
58;1;15;P;1;10;;;27953;;5385;;8998;;1;1;1;1;1;1;;;+00684120;+5203450;0;0
58;1;16;P;1;11;;;636;;742;;8998;;1;1;1;1;1;1;;;+00691620;+5213720;0;0
58;1;17;P;1;15;;;10222;;1389;;8998;;0;1;1;0;1;1;;;+00697525;+5219160;24935;0
58;1;18;P;1;11;;;26528;;3730;;9213;;1;0;0;1;1;1;;;+00684525;+5192775;0;0

POFFSETS.DAT (LCD, NEG_OFF_LCD, POS_OFF_LCD)
CID;TABCD;LCD;NEG_OFF_LCD;POS_OFF_LCD
58;1;14;39392;22
58;1;15;22;16
58;1;16;15;17
58;1;17;16;
58;1;18;;26283

The empty fields might have been a problem. I've set default values now.

Wohooo, that was it!
{"location_table_info":{"ltn":1,"num_points":35765,"num_roads":3820,"num_names":30292}}
{"location_table_info":{"ltn":1,"num_points":35765,"num_roads":3820,"num_names":30292}}

And:
{"group":"8A","pi":"0xD321","prog_type":"No PTY","tmc":{"message":{"coordinates":[[52.36730,13.46670]],"description":"Warning cleared.","direction":"single","event_codes":[1771],"road_number":"B96a"}},"tp":true}
{"group":"8A","pi":"0xD321","prog_type":"No PTY","tmc":{"message":{"coordinates":[[52.42030,13.52240]],"description":"Reopened.","direction":"single","event_codes":[467],"road_number":"A113"}},"tp":true}

Thanks a lot! :smiley:

Could you make it so that redsea still outputs the location ids, even though it has the location from the table lookup? Same for decrypted locations - it would be nice if it would still spit out the encrypted_location, too.

Sure why not, it should work now.

You're the best! Thank you very much! :+1:

By the way, I changed the way coordinates are printed, to disambiguate between latitude and longitude.

There doesn't seem to be a standard exchange format for ECLs. Closing this for now.

authors: mbirth windytan

repo: windytan/redsea


text:
Parsing arrays?

Hey
How can I parse an array of "objects" attribute?
resource "aws_dynamodb_table" "my_table" {
  name = "my_table"
  read_capacity = 1
  write_capacity = 1
  hash_key = "hash"
  range_key = "range"
  attribute {
    name = "hash"
    type = "S"
  }
  attribute {
    name = "range"
    type = "S"
  }
}

Parsing the snippet above, I'm getting:
{ "resource" =>
 { "aws_dynamodb_table" =>
  { "my_table" =>
   { "name" => "my_table",
     "read_capacity" => 1,
     "write_capacity" => 1,
     "hash_key" => "hash",
     "range_key" => "range",
     "attribute" => { "name" => "range", "type" => "S" }
   }
  }
 }
}

but I was expecting attribute to be an array "attribute" => [{ "name" => "hash", "type" => "S" }, { "name" => "range", "type" => "S" }]

attribute is going to be a child hash.
Here is what I got. I hope this helps ya.
var = Rhcl.parse(<<-EOS)
  resource "aws_dynamodb_table" "my_table" {
    name = "my_table"
    read_capacity = 1
    write_capacity = 1
    hash_key = "hash"
    range_key = "range"
    attribute {
      name = "hash"
      type = "S"
    }
    attribute {
      name = "range"
      type = "S"
    }
  }
EOS

var['resource']['aws_dynamodb_table']['my_table']['attribute']

output:
{"name"=>"hash", "type"=>"S"}

@xsmaster but how did you get the second attribute?
    attribute {
      name = "range"
      type = "S"
    }

I want to output an array of attributes.

@phstc here is what I did. I use the pry gem for all my testing. Killer tool.
So in a pry session or irb session I did the following:
1] pry(main)> require 'rhcl'
=> true
[2] pry(main)> var = Rhcl.parse(<<-EOS)
[2] pry(main)*   resource "aws_dynamodb_table" "my_table" {
[2] pry(main)*     name = "my_table"
[2] pry(main)*     read_capacity = 1
[2] pry(main)*     write_capacity = 1
[2] pry(main)*     hash_key = "hash"
[2] pry(main)*     range_key = "range"
[2] pry(main)*     attribute {
[2] pry(main)*       name = "hash"
[2] pry(main)*       type = "S"
[2] pry(main)*     }
[2] pry(main)*     attribute {
[2] pry(main)*       name = "range"
[2] pry(main)*       type = "S"
[2] pry(main)*     }
[2] pry(main)*   }
[2] pry(main)* EOS
=> {"resource"=>
  {"aws_dynamodb_table"=>
    {"my_table"=>
      {"name"=>"my_table",
       "read_capacity"=>1,
       "write_capacity"=>1,
       "hash_key"=>"hash",
       "range_key"=>"range",
       "attribute"=>{"name"=>"hash", "type"=>"S"}}}}}
[3] pry(main)>

So now we have the a hash variable called var.  Since you want to access the "attribute" I did this.
[3] pry(main)> var['resource']['aws_dynamodb_table']['my_table']['attribute']
=> {"name"=>"hash", "type"=>"S"}

So now i have access to the key name or type. if you want it as an array you can do this.
[4] pry(main)> var['resource']['aws_dynamodb_table']['my_table']['attribute'].to_a
=> [["name", "hash"], ["type", "S"]]

The return is an array with two arrays inside. Does this help? What are you trying to do?

I was expecting attribute to be an array "attribute" => [{ "name" => "hash", "type" => "S" }, { "name" => "range", "type" => "S" }]

@xsmaster I was trying to output an array of attributes like that ^ not an array of containing the key and value of the first attribute.

@xsmaster maybe the attribute naming being attribute might be leading into this confusion. But check the snippets in the issue description. I have two attributes and I was expecting an array with the two of them.

Sorry mate. You could take the results and just add them to an array.
On Friday, August 19, 2016, Pablo Cantero notifications@github.com wrote:

I was expecting attribute to be an array "attribute" => [{ "name" =>
"hash", "type" => "S" }, { "name" => "range", "type" => "S" }]
@xsmaster https://github.com/xsmaster I was trying to output an array
of attributes like that ^ not an array of containing the key and value of
the first attribute.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/winebarrel/rhcl/issues/3#issuecomment-241112689, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF2nlYCCGAvH02NcIy4aUxD2isC3f2vHks5qhgOXgaJpZM4FaL_h
.

@xsmaster I believe we are not at same page. I can easily to the appending or whatever using Ruby, of course.
But this gem: "Pure Ruby HCL parser" is meant to parse HCL, and currently it isn't parsing arrays as I explained in the issue description.
resource "aws_dynamodb_table" "my_table" {
  name = "my_table"
  read_capacity = 1
  write_capacity = 1
  hash_key = "hash"
  range_key = "range"
  attribute {
    name = "hash"
    type = "S"
  }
  attribute {
    name = "range"
    type = "S"
  }
}

This is supposed to return an array of attributes, containing:

[0] name: hash, type: S
[1] name: range, type: S

Sorry a little slow here. I have noticed it only ever returns hashes. :(
On Friday, August 19, 2016, Pablo Cantero notifications@github.com wrote:

@xsmaster https://github.com/xsmaster I believe we are not at same
page. I can easily to the appending or whatever using Ruby, of course.
But this gem: "Pure Ruby HCL parser" is meant to parse HCL
https://github.com/hashicorp/hcl, and currently it isn't parsing arrays
as I explained in the issue description.
resource "aws_dynamodb_table" "my_table" {
name = "my_table"
read_capacity = 1
write_capacity = 1
hash_key = "hash"
range_key = "range"
attribute {
name = "hash"
type = "S"
}
attribute {
name = "range"
type = "S"
}
}
This is supposed to return an array of attributes, containing:

[0] name: hash, type: S
[1] name: range, type: S

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/winebarrel/rhcl/issues/3#issuecomment-241114764, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF2nldGDyFZamNjxmGofTrKI_XuRHC5sks5qhgXQgaJpZM4FaL_h
.

authors: phstc xsmaster

repo: winebarrel/rhcl


text:
The InterUSS DataNode occasionally returns a 500 HTTP status code.

2018-09-12 15:36:05 [pool-0] INFO gov.nasa.utm.ussn.ussapiservice.ConcurrencySender:93 Making a rest call http://35.193.160.127:8121/GridCellOperator/9/73/191 GET <{Content-Type=[application/json]}>
2018-09-12 15:36:05 [pool-0] ERROR gov.nasa.utm.ussn.ussapiservice.ConcurrencySender:100
HttpStatusCodeException code:500 body:
500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.
}

This particular 500 was being caused by an ImmatureSignatureError in JWT while validating the access token.  It was corrected on the tcl4 branch in commit 3fff76100a33e0cd1a83bd3b6aaac18b4f9e1483

Closing, as it has been corrected, and issue #20 will address refactoring all error handling.

authors: BenjaminPelletier hi-kevin vbaskara

repo: wing-aviation/InterUSS-Platform


text:
Update README.md

syntax correction

Thanks!

authors: fouadnashat indexzero

repo: winstonjs/winston


text:
Fix netcode.io link

Wasn't sure what netcode.io was and noticed the link was broken. This fix changes the link from HTTPS to HTTP.

Thanks for the PR @imwally , for some reason this is causing travis-ci to fail and i'm not exactly sure why... I'll take a look a bit more later this week.

@wirepair I think you can close this. the correct link is indeed https://netcode.io and that's what is already in the readme

Wait, the HTTPS version is resolving for you?
Here's a report from SSL Labs:
https://www.ssllabs.com/ssltest/analyze.html?d=netcode.io&s=173.255.195.190

@imwally it's not resolving for me, I was wrong. That's why I removed my comment. The PR is still valid and should be merged. Though ideally netcode.io would be served over https, which would give the project more credibility since it boasts encrypted client/server communications.
Sorry for the confusion!

Oh, phew. I thought I was going crazy for a second.
No worries!

Thanks, updated, will try to figure out why travis wasn't happy with that PR even though you didn't touch any code.

authors: imwally mreinstein wirepair

repo: wirepair/netcode


text:
Reloading some pages get the user redirected to the home page

For example, go to http://localhost:8080/me, reload the page, you will be redirected to the home page.
We should keep the user at the same page instead.

Appears fixed after update

Thanks for checking, I'll double check soon.

I just verified that this is not an issue anymore, thanks for raising this.

authors: AlexITC DrewRoby

repo: wiringbits/scala-webapp-template


text:
Update sbt-converter to 1.0.0-beta40

Updates org.scalablytyped.converter:sbt-converter from 1.0.0-beta37 to 1.0.0-beta40.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalablytyped.converter", artifactId = "sbt-converter" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scalablytyped.converter", artifactId = "sbt-converter" }
}]

labels: sbt-plugin-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #154.

repo: wiringbits/wiringbits-webapp-utils


text:
Add additional roles to role dropdown in groups

Allow us to have more customization within our group related to roles. I spoke with Psi about the following hierarchy:
Leader (have currently) > Staff/Mod/Co-Leader Title Here > Member (have currently) > Alt
They would appear by default in this order while loading the group. This will allow all of your leaders and co-leaders to be at top and any alt accounts of members will be on the bottom.

You could go with all cc ranks, and just have it set to 'member' by default if one is not set. Would be great if the plugin could automatically update the group from the clan setup screen.
Otherwise just Leader/Staff/Member would probably be sufficient for most clans
Additional options could be Alt, as mentioned above, and possibly Founder.

We should probably wait to hear more about the clan update before considering this as it seems to be bringing quite a few interesting changes to CC ranks.

Implemented n #830

authors: BoomOSRS ianloomis psikoi

repo: wise-old-man/wise-old-man


text:
[migration guide] - RSS has changed

New or updated content

Adds a note to the migration guide RC section that the process for generating RSS feeds has changed.
Closes #1030

LGTM. Thanks for this @sarah11918! 🙌

I didn’t add this because Ben said this has been gone for quite a while! So not actually an RC change.

It has, and it does... but there's nothing else there. Is it bad to fudge??  It should go somewhere.

I’d say move it down into the beta section. If someone’s already on beta this would be misleading if they’re just looking for what to do to get on RC. And that way it’s there for anyone upgrading from <1 to beta/latest.

@delucis What do you think? I also removed the stuff about "We don't expect any breaking changes, but if we do, we'll put them here" as well as outdated launch date.

authors: Yan-Thomas delucis sarah11918

repo: withastro/docs


text:
Experiment with a more basic tutorial navigation component

What kind of changes does this PR include?

Changes to the docs site code

Description

WIP on improving the tutorial navigation

I really like this, @delucis!
Will we put the "on this page" navigation from tablet/mobile mode on it for smaller screen sizes, too? If so, do we only use what's on the current page like in Docs, or do we use the entire tutorial nav? Only the other tutorial pages?
I think we'd have to think about what makes the most sense for navigating the tutorial in tablet view, since it's maybe not even so much on the exact page as the OTHER tutorial pages that might need navigating?

Going to close this one for now: don‘t think we’ll end up going with exactly this either way, so will create a new branch/PR for any future explorations.


text:
Update Markdoc integration description for obtaining Markdoc config in Astro component

Description (required)
Documentation regarding withastro/astro#9441
This is to explain to the user how to be able to access the Markdoc config from within Astro components, as created in the linked PR.

Related issues & labels (optional)
N/A

For Astro version: 4.x. See astro PR #9441.

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Closing due to https://contribute.docs.astro.build/first-time/4-edit-single-page/#pages-generated-from-outside-sources


text:
Update: remove deprecated getStaticPaths helper from RSS page

What kind of changes does this PR include?

[ ] Minor content fixes (broken links, typos, etc.)
[X] New or updated content
[ ] Translated content
[ ] Changes to the docs site code
[ ] Something else!

Description

remove deprecated getStaticPaths section
bump heading levels for "generating items" and "adding a stylesheet"

LGTM!


text:
i18n(pt-br): Update reference/errors/missing-image-dimension.mdx

Description
Update the Portuguese translation of the missing image dimension error

Broken link added on https://github.com/withastro/docs/pull/7555

LGTM!

authors: Fryuni renanleonel


text:
i18n(fr): update guides/astro-db.mdx

Description (required)

Adds changes from #9509 and #9701 to the French translation of guides/astro-db.mdx
Rephrases a heading in guides/integrations-guide/db.mdx (in French we use table and not tableau in the context of database)

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/astro-db.mdx
Localization changed, will be marked as complete.

fr
guides/integrations-guide/db.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

authors: ArmandPhilippot astrobot-houston


text:
i18n(fr): update tutorials/add-content-collections.mdx

Description (required)
Updates a link in tutorials/add-content-collections.mdx (see #9687)

[!important]
#9825 needs to be merged first to resolve the link error

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
tutorials/add-content-collections.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


text:
i18n(es): Updated frontmatter.md, components.mdx & configuration.md

What kind of changes does this PR include?

Changes or translations of Starlight docs site content

Description

What does this PR change? Give us a brief description.
Updated frontmatter.md, components.mdx & configuration.md

In configuration.md there were some sections missing which do not appear in any commit but I have added them to the update

frontmatter.md

048e948

components.mdx

faa70de

configuration.md

8102389
048e948

Thanks for the review @delucis & @dreyfus92 🤠

repo: withastro/starlight


text:
Since we treat numbers as strings, display order display is now off

Sorting for number goes alphabetically, meaning an order like this:
1, 10, 100, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, ... etc

This is still happening for me after walking through the negation tutorial. Could it be stale import data in the artists.eve save file?

authors: cmontella jakedowns

repo: witheve/Eve


text:
Synchronize process does not work in android

Describe the bug
I have Detox tests successfully being built and running on an iOS Simulator. However I could not run the detox on android platform and the detox.init method never finish when it tries to launch the app. I could see that the web socket connection is not stable.
To Reproduce

I have tested this issue on the latest Detox dbeug and it still reproduces running the following command:

detox test -c android.emu.debug --loglevel trace

My package configuration

"android.emu.debug": {
        "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
        "build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
        "type": "android.emulator",
        "device": {
          "avdName": "Pixel_2_API_27"
        }
      }

Expected behavior
I guess that my basic unit test run without problem and the detox.init method sync with the emulator correctly
Environment (please complete the following information):

Detox: ^14.8.5
React Native: 0.61.5
Node: 10.16.1
OS: API 28 and 27
Device and Verbose Detox Logs

Device and Verbose Detox Logs
detox[42083] DEBUG: [exec.js/SPAWN_CMD, #16] [pid=42119] /Users/sergioandresflorezlopez/Library/Android/sdk/platform-tools/adb -s emulator-18282 shell am instrument -w -r -e detoxServer ws://localhost:51095 -e detoxSessionId b4
8c1dea-c551-49aa-de88-3ee96c14819f -e debug ZmFsc2U= com.dingo.test/androidx.test.runner.AndroidJUnitRunner
detox[42083] DEBUG: [exec.js/EXEC_CMD, #17] "/Users/sergioandresflorezlopez/Library/Android/sdk/platform-tools/adb" -s emulator-18282 shell "ps | grep \"com\.dingo$\""
detox[42083] TRACE: [exec.js/EXEC_SUCCESS, #17] u0_a158      13532  1486 1372608  65740 SyS_epoll_wait      0 S com.dingo

detox[13532] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onLaunchApp({ deviceId: 'emulator-18282',
  bundleId: 'com.dingo',
  launchArgs:
   { detoxServer: 'ws://localhost:51095',
     detoxSessionId: 'b48c1dea-c551-49aa-de88-3ee96c14819f' },
  pid: 13532 })
  console.log node_modules/detox/src/client/Client.js:33
    [1] object

detox[42083] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"isReady","params":{},"messageId":-1000}
detox[42083] TRACE: [DetoxServer.js/MESSAGE] role=tester action=isReady (sessionId=b48c1dea-c551-49aa-de88-3ee96c14819f)
detox[42083] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=b48c1dea-c551-49aa-de88-3ee96c14819f)
detox[42083] TRACE: [exec.js/SPAWN_STDOUT, #16] INSTRUMENTATION_RESULT: stream=

Time: 0.001

OK (0 tests)

INSTRUMENTATION_CODE: -1

detox[42083] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 42119]: /Users/sergioandresflorezlopez/Library/Android/sdk/platform-tools/adb -s emulator-18282 shell am instrument -w -r -e detoxServer ws://localhost:51095 -e detoxS
essionId b48c1dea-c551-49aa-de88-3ee96c14819f -e debug ZmFsc2U= com.dingo.test/androidx.test.runner.AndroidJUnitRunner
detox[42083] TRACE: [exec.js/SPAWN_END, #16] /Users/sergioandresflorezlopez/Library/Android/sdk/platform-tools/adb -s emulator-18282 shell am instrument -w -r -e detoxServer ws://localhost:51095 -e detoxSessionId b48c1dea-c551-
49aa-de88-3ee96c14819f -e debug ZmFsc2U= com.dingo.test/androidx.test.runner.AndroidJUnitRunner finished with code = 0
detox[42083] DEBUG: [exec.js/EXEC_CMD, #18] "/Users/sergioandresflorezlopez/Library/Android/sdk/platform-tools/adb" -s emulator-18282 reverse --remove tcp:51095
detox[42083] TRACE: [exec.js/EXEC_SUCCESS, #18]

Looks like your application crashed. Please add device logs

authors: andresflorezlopez rotemmiz

repo: wix/Detox


text:
crash app android when i drag Interactable.View

<Interactable.View
style={{
width: '100%',
position: 'absolute',
bottom: 0,
}}
animatedValueY={this.deltaY}
>
<View
style={{
height: 40,
width: '100%',
alignItems: 'center',
justifyContent: 'center',
borderBottomColor: '#eceff1',
borderBottomWidth: 1,
backgroundColor: '#FFF',
}}
>
<View
style={{ backgroundColor: '#004d40', width: 50, height: 4 }}
/>

</Interactable.View>
version:

"react": "16.3.1",
"react-native": "0.55.4",
"react-native-interactable": "^0.1.10"

please!

You have to add snapPoints property
example:
<Interactable.View 					snapPoints={[{ y: 0 }, { y: -180 }]} 					verticalOnly={true} 					> 					<View /> 				</Interactable.View>

repo: wix/react-native-interactable


text:
[Question] Local notifications supported on Android?

Hi! Just asking, because I see that in readme.md:

Upcoming: local notifications, background-state Rx queue (iOS equivalent)

Are they supported?
Thanks!

https://github.com/wix/react-native-notifications/blob/master/docs/localNotifications.md
Further down in the document it has a link to an example code snippet on how to handle local android notifications.

Hi! That's very useful, thanks!

repo: wix/react-native-notifications


text:
android: notification in foreground triggers an empty notification in the notification tray and no notification if started from background

I am using the latest version of this lib 3.1.1-snapshot.95.
because version 3.1.1 has an issue with the @nullable annotation in one of the files.
My react native version is 0.59.10.
When receiving a push message when the app is in the foreground the PushNotification.java file is also creating an empty notification in the tray.  I don't want this, because I handle the notification in code.
On top of that I can't get the notification if the app is started from clicking on a notification when the app is killed/not started.
Can't we remove line 66 of the file PushNotification.java
public void onReceived() throws InvalidNotificationException {
        postNotification(null); -> delete this line
        notifyReceivedToJS();
    }

Or is there a possibility to dismiss the notification direct?
Regarding not receiving the notification from a cold start I suggest using the implementation from parseIntentForRemoteNotification in react-native-firebase 5.x
I created a native component that uses this so i can do run this code in my appliction
 /*
     * Check if app was opend by a clicking on a push notification. and the app was closed
     * No intrested in faillure so no catch
     * */
    if (IS_IOS) {
      void Notifications.getInitialNotification().then(notificationData => {
        if (notificationData && notificationData.payload && notificationData.payload.data) {
          this.handleNotification(notificationData.payload.data)()
        }
      })
    } else if (IS_ANDROID) {
      if (NativeModules.GetPushData && NativeModules.GetPushData.getInitialNotification) {
        void NativeModules.GetPushData.getInitialNotification().then((notification: any) => {
          if (notification && notification.notification && notification.notification.data) {
            this.handleNotification(notification.notification.data)()
          }
        })
      }
    }```

I am using react-native-firebase 6 because of crashlytics and the notification lib won't be available. Else I would keep on using react-native-firebase 5.x

Is there a way to fix these issues or am I using the lib wrong?

The issue fix PR here: https://github.com/wix/react-native-notifications/pull/496


text:
Crash while extorting video in MI device

W/System.err: android.media.MediaCodec$CodecException: Error 0xfffffc0e 06-23 12:16:33.057 28057-28720/com.app W/System.err:     at android.media.MediaCodec.native_configure(Native Method) 06-23 12:16:33.057 28057-28720/com.app W/System.err:     at android.media.MediaCodec.configure(MediaCodec.java:580) 06-23 12:16:33.057 28057-28720/com.app W/System.err:     at com.trinity.encoder.MediaCodecSurfaceEncoder.start(MediaCodecSurfaceEncoder.kt:57) 06-23 12:16:33.057 28057-28720/com.app W/System.err:     at com.trinity.editor.TrinityVideoExport.createMediaCodecSurfaceEncoderFromNative(VideoExport.kt:154)

i am sharing crash logs with you

I need to crash the phone model, specific time, to analyze the reported information

2020-07-26 19:52:16.704 12353-12495/com.trinity.sample I/ExtendedACodec: setupVideoEncoder()
2020-07-26 19:52:16.704 12353-12495/com.trinity.sample W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
2020-07-26 19:52:16.705 12353-12495/com.trinity.sample W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2020-07-26 19:52:16.723 12353-12495/com.trinity.sample I/ACodec: setupAVCEncoderParameters with [profile: High] [level: Level32]
2020-07-26 19:52:16.728 12353-12495/com.trinity.sample I/ACodec: [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
2020-07-26 19:52:16.728 12353-12495/com.trinity.sample I/ACodec: setupVideoEncoder succeeded
2020-07-26 19:52:16.729 12353-12495/com.trinity.sample I/ExtendedACodec: [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 1) = {
int32_t color-format = 2130708361
int32_t i-frame-interval = 1
string mime = "video/avc"
int32_t width = 720
int32_t bitrate = 18432000
int32_t frame-rate = 25
int32_t height = 1280
int32_t encoder = 1
}
2020-07-26 19:52:16.733 12353-12495/com.trinity.sample W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2020-07-26 19:52:16.747 12353-12495/com.trinity.sample W/ExtendedACodec: Failed to get extension for extradata parameter
2020-07-26 19:52:16.808 12353-12491/com.trinity.sample E/trinity: [audio_encoder_adapter.cc, Init, 47]:enter Init
2020-07-26 19:52:16.808 12353-12384/com.trinity.sample A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40e19c9 in tid 12384 (Thread-386), pid 12353 (.trinity.sample)
2020-07-26 19:52:16.809 12353-12491/com.trinity.sample E/trinity: [audio_encoder_adapter.cc, Init, 65]:leave Init

2020-07-26 20:41:45.286 29412-29453/com.trinity.sample W/System.err: android.media.MediaCodec$CodecException: Error 0xfffffc0e
2020-07-26 20:41:45.295 29412-29453/com.trinity.sample W/System.err:     at android.media.MediaCodec.native_configure(Native Method)
2020-07-26 20:41:45.295 29412-29453/com.trinity.sample W/System.err:     at android.media.MediaCodec.configure(MediaCodec.java:1960)
2020-07-26 20:41:45.295 29412-29453/com.trinity.sample W/System.err:     at android.media.MediaCodec.configure(MediaCodec.java:1889)
2020-07-26 20:41:45.296 29412-29453/com.trinity.sample W/System.err:     at com.trinity.encoder.MediaCodecSurfaceEncoder.start(MediaCodecSurfaceEncoder.kt:57)
2020-07-26 20:41:45.296 29412-29453/com.trinity.sample W/System.err:     at com.trinity.record.TrinityRecord.createMediaCodecSurfaceEncoderFromNative(TrinityRecord.kt:780)

https://stackoverflow.com/a/40229942/7783718

This is the encoder that created mediacodec failed, causing the coding task to crash, and there will be time to fix it later

authors: abkoradiya kishanverma26 wlanjie

repo: wlanjie/trinity


text:
Is the most_picked branch supposed to have information already filled in for words.json and words_picked.json, or should it have the empty {}?

The main branch contains the empty object {} for unsorted_words.json.

words.json should have the full sorted word list saved before the bot is run. This is because the bot also participates in guessing in order to expedite the game. It uses the same algorithm as the chrome extension so you can reuse existing word banks. For other languages that are not already supported by the chrome extension, you can just leave it empty or fish the word list out using the main branch bot. Note that if you do decide to use an empty word list, the bot will not attempt to guess thus increasing round time.
words_picked.json is the data collected by the bot. If you are running the bot with the same language it ran last time then the file should not be empty. Conversely, the file should be empty since they are using completely different word lists.

Didn't realize you labelled and pinned it lol (also as I was writing this I noticed you mentioned this issue, as well as modifying the config.json file and blanking out the object in the words_picked.json file). I know you've mentioned before that the other languages don't usually have games (especially nowadays as probably fewer people are playing with the reporting options in the new update and the game is dying down), but assuming that there is a game in another language, you're saying that if I use the same file across multiple languages, the data will get messed up because it won't accurately reflect the skribbl.io players in the original language during the time that the bot is running, especially with multiple languages having some of the same words like Abraham Lincoln?

you're saying that if I use the same file across multiple languages, the data will get messed up because it won't accurately reflect the skribbl.io players in the original language during the time that the bot is running, especially with multiple languages having some of the same words like Abraham Lincoln?

Yes, I have no clue whether all shared words have the same meaning across different languages. Like apple could mean something entirely different in another language thus should not share the same difficulty. Moreover, I am assuming you will eventually try to merge the data into their corresponding word bank and it will be inefficient when you try do to that. Although the word lists themselves are pretty small, it's something to take note of.

It is generally not possible to separate merged word difficulty data before inputting it into the correct language's word bank. That problem can be easily prevented by separating identical, similar, and different words into the languages that they were originally recorded in from the start, while making the code compatible with all of them (which it already is). For context, the Node.js installer gives me the option to install Python, so I accepted. Due to this, I'm not running the script right now because I was on the wrong version of Python (I was unaware that there was a new version) when I checked all the install options and the latest version of the PowerShell part of the Node.js installation process for Windows did not show how much percentage was being installed, so I closed the task, repaired my Python installation, and then modified it to add the rest of the installation options after finishing the previous step. I am not trying to merge word difficulty data, and even if I did, I wouldn't want it to be in the word bank files because it would be inaccurate, as I already understand why this wouldn't make sense from your response.
I don't take any responsibility for the following situation, and I don't think you will either, but despite the warning, it's very possible that someone who finds this repository and goes to the most_picked branch may accidentally use the English words.json file despite intentionally changing the language in config.json. Maybe you could link to where the other word lists are? You might've realized that the code won't work unless either it's edited or the file gets renamed to just words.json and is also put in the correct directory, though, so feel free to explain that.

repo: wlauyeung/Skribblio-Bot


text:
Add 'Random mismatches' button

Bug: T302289

Would it make sense to add a browser test for this?

repo: wmde/wikidata-mismatch-finder