text:
Error with xlsxwriter in openresty

Had the same error as in https://github.com/jmcnamara/xlsxwriter.lua/issues/18
After perform advice "remove the require "xlsxwriter.strict" line from all the xlsxwriter/*.lua files and see if that makes OpenResty happy?" - i have got error.
How can i fix the issue?

[string "etlua"]:34: module 'xlsxwriter.workbook' not found:
	no field package.preload['xlsxwriter.workbook']could not load `etlua` file
	no file '/usr/local/openresty/lualib/xlsxwriter/workbook.lua'
	no file '/usr/local/openresty/lualib/xlsxwriter/workbook/init.lua'
	no file './xlsxwriter/workbook.lua'
	no file '/usr/local/openresty/luajit/share/luajit-2.1.0-alpha/xlsxwriter/workbook.lua'
	no file '/usr/local/share/lua/5.1/xlsxwriter/workbook.lua'
	no file '/usr/local/share/lua/5.1/xlsxwriter/workbook/init.lua'
	no file '/usr/local/openresty/luajit/share/lua/5.1/xlsxwriter/workbook.lua'
	no file '/usr/local/openresty/luajit/share/lua/5.1/xlsxwriter/workbook/init.lua'
	no file '/usr/local/openresty/lualib/xlsxwriter/workbook.so'
	no file './xlsxwriter/workbook.so'
	no file '/usr/local/lib/lua/5.1/xlsxwriter/workbook.so'
	no file '/usr/local/openresty/luajit/lib/lua/5.1/xlsxwriter/workbook.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file '/usr/local/openresty/lualib/xlsxwriter.so'
	no file './xlsxwriter.so'
	no file '/usr/local/lib/lua/5.1/xlsxwriter.so'
	no file '/usr/local/openresty/luajit/lib/lua/5.1/xlsxwriter.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'

Traceback

stack traceback:
	[C]: in function 'require'
	[string "etlua"]:34: in function 'run'
	/usr/local/share/lua/5.1/lapis/etlua.lua:158: in function 'thing'
	/usr/local/share/lua/5.1/lapis/request.lua:89: in function 'write'
	/usr/local/share/lua/5.1/lapis/request.lua:213: in function 'render'
	/usr/local/share/lua/5.1/lapis/application.lua:136: in function </usr/local/share/lua/5.1/lapis/application.lua:135>
	[C]: in function 'xpcall'
	/usr/local/share/lua/5.1/lapis/application.lua:159: in function 'dispatch'
	/usr/local/share/lua/5.1/lapis/nginx.lua:214: in function 'serve'
	content_by_lua:2: in function <content_by_lua:1>

Versions: xlsxwriter/0.0.6-1, Lua 5.1.4, CentOS 6.8, lapis/1.5.1-1
Using xlsxwriter inside Lapis etlua-file:

Hello world

Welcome to my page

<%     local Workbook = require "xlsxwriter.workbook"
       local workbook  = Workbook:new("hello_world.xlsx")
       local worksheet = workbook:add_worksheet()
       workbook:close()
%>

Hi,
I think it would be better to ask this question on an OpenResty forum. I don't use  OpenResty so I cannot help you.
John

authors: jmcnamara vmisupov


text:
Unreliable climate temperature reading management

I have a setup with two heaters in the same room (water, centralized heating system) with two different TRV models. Both temperature readings from TRVs are not really reliable, but I have a temperature/humidity/pressure in the same room that works quite well. Unfortunately, only one of the two TRV has the % valve setting, the other allows only the temperature setting, so I'm using over_climate option.
Is there any recommended setup for the versatile_thermostat that basically allows to ignore the TRV temperature reading and use only the wall-mounted sensor? (Maybe something that behaves like a switch, but setting the temperature on TRV very high (to simulate a switch on) and very low (switch off) according to the wall sensor reading.)
Is this situation manageable at all with this thermostat or maybe some coding is required? I can have a look, but only if it is not yet doable.

Hello @cova-fe ,
VTherm never reads the TRV temperature. It always read the temperature sensor you gave it in the configuration. If you give the wall-mounter temperature sensor, VTherm will use it exclusively.

Ok, thanks for the clarification. So my next question would then be: how VTherm tells a TRV in climate mode to increase the heating? If I recall correctly it will send to the TRV the target temperature (from docs it says sends on/off and target temperature), but then the TRV will use his own reading (unreliable). A similar situation could happen if the heater is far from the room sensor.  What happens if the wall sensor reads (say) 18 and Vtherm is set to 20? If Vtherm sends "set to 20" to trv but the TRV reading is unreliable or reads only the local temperature and reads , say, "23", there will be no heating. It could be that I'm reading the docs in the wrong way, I started to read the code but I'm a bit slow in that :)

Ok, thanks for the clarification. So my next question would then be: how VTherm tells a TRV in climate mode to increase the heating? If I recall correctly it will send to the TRV the target temperature (from docs it says sends on/off and target temperature), but then the TRV will use his own reading (unreliable). A similar situation could happen if the heater is far from the room sensor. What happens if the wall sensor reads (say) 18 and Vtherm is set to 20? If Vtherm sends "set to 20" to trv but the TRV reading is unreliable or reads only the local temperature and reads , say, "23", there will be no heating. It could be that I'm reading the docs in the wrong way, I started to read the code but I'm a bit slow in that :)

Please try the "slow" setting in the auto-regulation. It will slowly increase the target temperature sent to the TRV so the valve opens.

Ok, thanks for the clarification. So my next question would then be: how VTherm tells a TRV in climate mode to increase the heating? If I recall correctly it will send to the TRV the target temperature (from docs it says sends on/off and target temperature), but then the TRV will use his own reading (unreliable). A similar situation could happen if the heater is far from the room sensor. What happens if the wall sensor reads (say) 18 and Vtherm is set to 20? If Vtherm sends "set to 20" to trv but the TRV reading is unreliable or reads only the local temperature and reads , say, "23", there will be no heating. It could be that I'm reading the docs in the wrong way, I started to read the code but I'm a bit slow in that :)

In that case, the temperature error will increase, and the regulated temp will augment (and sends to the heaters) until the heater heats and target temperature is reach. That is the self-regulation algorithm basis.
You can have a try with Slow regulation as said by @maia . If not sufficient (I have some feedback that sometimes it is not sufficient), tries with more powerfull regulation (the Strong at last).
Slow was not accurate for very cold country (-20°) because it takes the external temperature in consideration with too high level. If you are in temperate country, it could works fine. You have to try and let the regulation stabilize before changing (you maybe should at least wait 24h to see in different configuration how it behave).

I close this issue because it seems it is not an issue. Don't hesitate to open a Discussion in the discussion section if needed

source: gharchive/issue

authors: cova-fe jmcollin78 maia

license: MIT

license_type: permissive

license_source: github-api


text:
Add undefined check for "options.data" in addHeatMapLayer: function (map, options)

Hi,
Firtsly, thks for this API!
I found a little issue to improve:
In "jmelosegui.googlemap.js", function: "addHeatMapLayer: function (map, options)", Is possible add a undefined check:
var data = [];
            **if (options.data !== undefined)**
            {
                for (var j = 0; j < options.data.length; j++) {
                    data.push(new google.maps.LatLng(options.data[j].lat, options.data[j].lng));
                }
            }

Without this little improve I have this error:

Uncaught TypeError: Cannot read property 'length' of undefined.

You PR is wellcome!!!

repo: jmelosegui/GooglemapMvc

license: mit

license_source: bigquery


text:
Handle open modals on session reset

Unfortunately the current way of doing this is prone to race conditions. See #1696. Selenium does not provide any API to check if a modal is open, and simply trying to close it and catching the error is very, very slow on Firefox. One quirk though is that Selenium returns the text of any open modal as the return value of navigate.to. Why? I have no idea. Is this even an official/intentional API? I don't know. (Maybe @jarib knows?). So it turns out that the fastest way of safely navigating away from a page and catching any alerts caused by this is by checking that the return value of navigate.to is neither "" nor nil (the behaviour seems to differ between selenium drivers). I've checked that this works with Chrome, Firefox and IE via the remote driver at least.
Honestly I'm not sure if this is the right way of solving this, but I'm kind of out of other ideas.

Pretty sure selenium used to raise an error if you tried to navigate away while a modal was visible, so this must be a recent behavior change - maybe they replaced the error with returning the text? Seems like a crazy API change, but I'll see if theres any mention in recent selenium commits

I think the root cause of this is that selenium (with firefox at least) is dismissing the unhandled alert itself and no longer raising the error it used to (99% sure it used to).  Dismissing the alert rather than accepting it appears to prevent the location change so everything fails.  @jnicklas  - could you try setting the desired capability "unexpectedAlertBehaviour" (note English spelling of behaviour with a u) to "ignore" and see if your issue goes away, it fixes things in my tests and may be a preferable default since we are managing the alerts ourselves

@jnicklas  Please look at PR #1698 and give your thoughts on that as opposed to this one.

Closing in favor of PR #1698

source: gharchive/pull-request

authors: jnicklas twalpole

repo: jnicklas/capybara


text:
Add cloud conferences

This adds http://stefan-kolb.github.io/cloud-conferences/, which is a collection of scientific and industry conferences focused on cloud computing

Sure. Done.

And merged. Thanks! 😃

authors: jnv koppor

repo: jnv/lists


text:
Migrate to .NET Standard 2.0

Migrate projects to .NET Standard 2.0

Resolve #5. Dosn't build on Mac due to cannot find Microsoft.Build.Utilities.v4.0 assembly.

repo: joacar/BindablePicker


text:
🛑 CEI Sales App is down

In 74bd6a6, CEI Sales App (https://app.ceisales.com/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEI Sales App is back up in 0ebc5bf.


text:
🛑 CEI Sales App is down

In b865c22, CEI Sales App (https://app.ceisales.com/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEI Sales App is back up in 8066042.


text:
🛑 CEI Sales Wiki is down

In d47ce81, CEI Sales Wiki (https://wiki.ceisales.com/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEI Sales Wiki is back up in eab985c after 17 minutes.


text:
🛑 CEI Sales Wiki is down

In 0789bde, CEI Sales Wiki (https://wiki.ceisales.com/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEI Sales Wiki is back up in b510368.


text:
🛑 Security & Telecom Systems is down

In 6f5a121, Security & Telecom Systems (https://security-telecom.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Security & Telecom Systems is back up in 74f613b after 9 minutes.


text:
🛑 Security & Telecom Systems is down

In bdec620, Security & Telecom Systems (https://security-telecom.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Security & Telecom Systems is back up in 89ffcc6 after 6 minutes.


text:
Local notifications no longer working(?)

Will need to look into why the JS hook for web notifications no longer fires.
Does anyone else have the same issue?
My current theory is that since Catalina, WKWebView is more aggressive about pausing when in the background

It doesn't work in Mojave either.

@posguy99 Thanks! I'll have to look into this

@posguy99 If you have the time I'd appreciate if you could try out v1.4.1 and see if the issue is resolved!

No, notifications still do not work on 10.14.6 when using Fastmate 1.4.1.
--
Marc Wilson
posguy99@gmail.com
On Tue, Apr 7, 2020, at 1:27 PM, Joel Ekström wrote:

@posguy99 https://github.com/posguy99 If you have the time I'd appreciate if you could try out v1.4.1 https://github.com/joelekstrom/fastmate/releases/tag/v1.4.1 and see if the issue is resolved!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/joelekstrom/fastmate/issues/16#issuecomment-610603480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADDYRDKHXATTAAJYG7IB3TRLOEEXANCNFSM4L4LUFHQ.

Ok, cancel that.  I did not realize that www.fastmail.com actually maintains the Notification settings separately for different browsers.  I'd set the option from a Safari instance, but when I went to the Fastmail settings menu from inside Fastmate, they were unset again.
Setting them there, then testing them, was successful.
So it's all good.

Great! Thanks for checking. Yeah the part with having to enable it again in Fastmail settings is a problem... should maybe make some onboarding for that in Fastmate somehow...

repo: joelekstrom/fastmate


text:
[Bug] C CPG generation doesn't handle local variable declarations involving _Generic correctly.

Describe the bug
I've attached an example file that illustrates the behaviour.
Local variables in methods that are declared with a statement involving _Generic aren't recognized as generic.
To Reproduce
Here's some C code that reproduces the issue.
#define type_num(X) _Generic((X), \
              long double: 1, \
                  default: 0,  \
                    float: 2  \
              )

int test_generic(void)
{
    float x = 8.0;
    const float y = 3.375;
    int z = type_num(x);
    return z;
}

gcc compiles the above code without issue.
Loading the snippet into joern and checking the local variables will miss the declaration of z.
joern> cpg.method.name("test_generic").local.l
val res1: List[io.shiftleft.codepropertygraph.generated.nodes.Local] = List(
  Local(
    id = 181L,
    closureBindingId = None,
    code = "float x",
    columnNumber = Some(value = 11),
    dynamicTypeHintFullName = ArraySeq(),
    lineNumber = Some(value = 13),
    name = "x",
    order = 1,
    possibleTypes = ArraySeq(),
    typeFullName = "float"
  ),
  Local(
    id = 185L,
    closureBindingId = None,
    code = "const float y",
    columnNumber = Some(value = 17),
    dynamicTypeHintFullName = ArraySeq(),
    lineNumber = Some(value = 14),
    name = "y",
    order = 3,
    possibleTypes = ArraySeq(),
    typeFullName = "float"
  )
)

Expected behavior
In the example variable z should also be in the methods local list.
Desktop :
Linux archlinux 6.5.6-arch2-1
Joern Version: 2.0.132
Java version: openjdk 21 2023-09-19

_Generic is a C11 feature and our parser (Eclipse CDT 10.5.0) does not support that at all.
I am not sure if later CDT versions support it but until now there is nothing we can do I guess.

Thank you for the reply.
That's really unfortunate, since it breaks for example the container_of macro in the linux kernel.
Would it be possible to work around this to at least correctly detect the declaration of the local variable?

I am not sure, but I will have a look. I'll let you know about the progress here.

authors: MyEyes max-leuthaeuser

repo: joernio/joern


text:
🛑 snipz.io (snippet manager) is down

In 7da5b28, snipz.io (snippet manager) (https://snipz.io) was down:

HTTP code: 502
Response time: 343 ms

Resolved: snipz.io (snippet manager) is back up in 31095bc after 8 minutes.

repo: joevaughan/upptime


text:
Broken --export command

The issue
Using the --export command on both virtualenvs and normal envs causes a deadlock, and no output generation of an HTML file.
Environment
OS: macOS 10.11.5
grip version: 4.2.0 (blaze it)
Reproduction steps
Per #180:
# Installs testing envs
pyenv install 2.6.6
pyenv install 2.7.9
pyenv install 2.7.11
pyenv install 3.5.1
pyenv virtualenv 2.6.6 grip-test-2.6.6
pyenv virtualenv 2.7.9 grip-test-2.7.9
pyenv virtualenv 2.7.11 grip-test-2.7.11
pyenv virtualenv 3.5.1 grip-test-3.5.1

## Tests (we use the grip README.md for testing)
wget https://raw.githubusercontent.com/yyuu/pyenv-virtualenv/master/README.md -O test.md

# 2.6.6
pyenv global grip-test-2.6.6
pip install grip
grip --export test.md

# 2.7.9
pyenv global grip-test-2.7.9
pip install grip
grip --export test.md

# 2.7.11
pyenv global grip-test-2.7.11
pip install grip
grip --export test.md

# 3.5.1
pyenv global grip-test-3.5.1
pip install grip
grip --export test.md

# Tests full python versions
pyenv global 2.6.6
pip install grip
grip --export test.md

pyenv global 2.7.9
pip install grip
grip --export test.md

pyenv global 2.7.11
pip install grip
grip --export test.md

pyenv global 3.5.1
pip install grip
grip --export test.md

Result
All environments could generate the file using the normal grip test.md command, but could not bypass and directly generate an html file via the --export command.

Wow, thanks for digging in to this issue, @JasonYao! It was very helpful.
I found the cause last night. Will post a fix and more details tonight or tomorrow :zap:

FYI v4.3.0 has just been published with this fix. pip install --upgrade grip :zap:

authors: JasonYao joeyespo

repo: joeyespo/grip


text:
Update to axum-0.7/hyper-1.2

Hyper (and by extension axum) removed the Server struct on 1.0, this largely keeps the same API but uses axum::serve under the hood. However bind is now an async function, and the errors are slightly different.
Closes #397.

Realised that actually the bind can be made non-async, as the TcpListener can be converted back and forth, so this keeps the API pretty much identical.

@johanhelsing that dead code warning seems unrelated to this change, should the field be made public or have an accessor? It looks like it's meant to be there for debugging

repo: johanhelsing/matchbox


text:
Maintainer

Please add a maintainer to this project that will fix issues and merge pull requests. Thanks!

@gabrielbull Do you want to be added as a collaborator?

Yes please. I don't have much time on my hand but I'll be at least able to make this library work with RN@latest.
Cheers 🍻!

authors: gabrielbull johanneslumpe


text:
How can I use sha3 with OpenSSL in ruby?

I am trying to use sha3 as the digest to sign a message with OpenSSL. But it looks like Ruby 2.5.1 doesn't work with this library. Any thoughts on how I can combine the two? Thanks!

Hi @DaHoopster,
How were you able to make it work? Did you actually monkeypatch the SHA3::Digest class? Can you point me to the right direction? Thanks.

authors: DaHoopster katpadi


text:
Method to have no paths when downloading

Is there a method to specify no paths when downloading? I noticed there is the --nopaths option for verify but wondering if it is possible to do the same when downloading.
Ideally I want remove the top level folder when downloading an item so that I can specify the final directory for the files.
Otherwise can this be done with a search method? so just return specific file formats maybe..

I haven't tested this, but here is a starting point:
https://github.com/john-corcoran/internetarchive-downloader/blob/main/ia_downloader.py#L410
dest_file_path = os.path.join(os.path.join(output_folder, identifier), ia_file_name)
->
dest_file_path = os.path.join(output_folder, ia_file_name)
https://github.com/john-corcoran/internetarchive-downloader/blob/main/ia_downloader.py#L1106
identifier_output_folder = os.path.join(output_folder, identifier)
if (
    os.path.isdir(identifier_output_folder)
    and len(file_paths_in_folder(identifier_output_folder)) > 0
):
->
if (
    os.path.isdir(output_folder)
    and len(file_paths_in_folder(output_folder)) > 0
):
Question:
There is os.path.join(output_folder, identifier), but would this work: os.path(output_folder)?

I commented out destdir=output_folder,:
                            internetarchive.download(
                                identifier,
                                files=[ia_file_name],
#-                                destdir=output_folder,
                                on_the_fly=True,
                            )

I commented out other stuff too, but it seems that the "destdir=output_folder" part is what did it. See this file which is a modified version of ia downloader which works to do the thing in the OP (it might get moved around/renamed to something/somewhere else in repo "ia-to-ipfs"):
https://github.com/ProximaNova/ia-to-ipfs/blob/main/ignore/ia_dl_working_errors.py

Can confirm that merely commenting out "destdir=output_folder," will do it (you get files in such a folder), but you get errors. Implementing code edits from https://github.com/john-corcoran/internetarchive-downloader/issues/8#issuecomment-1428729926 results in less bad errors/warnings. Todo - fix "ia_dl_working_errors.py" so it doesn't return the non-info parts below at the end of stdout:
2023-03-06 22:32:50 - INFO - Download phase complete for item '[ia_item_here]'
2023-03-06 22:32:50 - WARNING - No item folders were found in provided data folder '[ia_item_here]' - make sure the parent download folder was provided rather than the item subfolder (e.g. provide '/downloads/' rather than '/downloads/item/'
2023-03-06 22:32:50 - ERROR - No metadata found in cache - verification cannot be performed
2023-03-06 22:32:50 - WARNING - Script complete; 2 warnings/errors occurred requiring review (see log entries above, replicated in folder 'ia_downloader_logs')

"I commented out other stuff too" refers to this version:
https://github.com/ProximaNova/ia-to-ipfs/commit/f7baabd84594ac941b6d58a98632ef3fc2b88fc0
"Todo - fix ..." - I guess this would not be a hard fix as it would be done by removing references to a certain parent folder.
Currently "ia_dl_working_errors.py" is a replacement to do something differently; it is not a modification where more options are gained. The latter might be the best outcome if I or anyone wants to make it happen.

authors: MattSidney ProximaNova


text:
extra failure with new "eyes" integration

I've installed the latest version (1.5.1) with the "eyes" integration -- which i don't actually use.
When i get a failure in my tests, i now also get the following:
Error: Promise factory was not initialized with proper callback
at PromiseFactory.makePromise (/var/lib/jenkins/workspace/unb-lib-tests/node_modules/eyes.utils/src/PromiseFactory.js:49:15)
at EyesBase.abortIfNotClosed (/var/lib/jenkins/workspace/unb-lib-tests/node_modules/eyes.sdk/src/EyesBase.js:968:32)
at /var/lib/jenkins/workspace/unb-lib-tests/node_modules/selenium-cucumber-js/runtime/world.js:229:33
at ManagedPromise.invokeCallback_ (/var/lib/jenkins/workspace/unb-lib-tests/node_modules/selenium-webdriver/lib/promise.js:1341:14)
at TaskQueue.execute_ (/var/lib/jenkins/workspace/unb-lib-tests/node_modules/selenium-webdriver/lib/promise.js:2950:14)
at TaskQueue.executeNext_ (/var/lib/jenkins/workspace/unb-lib-tests/node_modules/selenium-webdriver/lib/promise.js:2933:27)
at asyncRun (/var/lib/jenkins/workspace/unb-lib-tests/node_modules/selenium-webdriver/lib/promise.js:2793:27)
at /var/lib/jenkins/workspace/unb-lib-tests/node_modules/selenium-webdriver/lib/promise.js:675:7
at process._tickCallback (internal/process/next_tick.js:109:7)

@bricas I would have a look at it .

@bricas what version of node are you using?

I originally tested it against 7.x, now running 8.x (8.6, specifically) -- same error.

Have you tried removing an reinstalling node modules? rm -rf node_modules && npm install

it fails on a fresh install.

@Temi89 did you make any progress with this?

I've added some error checking around the eyes integration, can you try the latest version 1.5.2. If this fails, we need to back out the eyes integration work until @Temi89 has time to look at it

That seems to get rid of the eyes-related error i was seeing! Thanks.

👍

@john-doherty  fixed the issue and checked in to my branch . Should have raised a pull request .

authors: Temi89 bricas john-doherty

repo: john-doherty/selenium-cucumber-js

license: isc


text:
🛑 Phong Lan Tech is down

In 2269db5, Phong Lan Tech (https://phonglan.vn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Phong Lan Tech is back up in 7fb22fa after 14 minutes.


text:
Some alarm IDs cannot be cleared

It has been shown that alarms with ' ' can be raised, but can then no longer be cleared. Other characters are probably also affected, such as '[' and ']'.

I tested alarms with characters such as ' ', '[', ']', and other common ASCII characters (letters, numbers, and symbols) using Swagger UI.
The following string was tested:
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ []^_`abcdefghijklmnopqrstuvwxyz{|}~
All tests were successful, with alarms raising and clearing as expected.

repo: johnny-de/alarmwatcher


text:
document how to maintain the code styles - like prettier

function pretty {
prettier --write --print-width 100 --single-quote --tab-width 2 './src//*.js' './src//.ts' './src/**/.css'  !'./src/**/.min.'
}

have you considered using pre-commit hooks to ensure that code styles are used?

Yes. I love prettier. And I . would love a PR for it in this repo :)
John Papa | @john_papa | JohnPapa.net, LLC
On Tue, Mar 20, 2018 at 5:27 PM, Josh Lester notifications@github.com
wrote:

have you considered using pre-commit hooks to ensure that code styles are
used?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/johnpapa/angular-ngrx-data/issues/35#issuecomment-374762864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJZYIU331uls_3mpzEIFgR5HVzdjkoQks5tgXRZgaJpZM4Q7fdY
.

I added it to the quickstart repo. Thoughts on this?
  "pre-commit": "ng lint --fix --force && pretty-quick && git add .",

I installed husky, pretty-quick, and prettier. pretty quick is nice because it formats all changed files by default. lint-staged is nice, but only works on staged files.

if it works the way you want it to for your repo then great.   honestly ive just started playing around with the precommit hook stuff and ive learn theres several ways of going about it. i almost have a PR together for this repo but it only does the staged files that are inside of the src folder

staged files work ... and maybe that is faster. i often commit all open changes, and they arent staged.
interesting tho ... need to tinker and see what is the nicer workflow

so here is another option
    "pre-commit": "lint-staged"
  },
  "pre-commit": ["pre-commit"],
  "lint-staged": {
    "*.{ts,js,json,css,md}": ["prettier --write", "git add"]
  },

Merged. Closed. Thanks.

authors: johnpapa lester-joshua

repo: johnpapa/angular-ngrx-data


text:
Switch tests to Promises

mocha has support for Promises. I need to go through all the tests and return the horseman chain rather than using the done callback.

I have done this, because I am neurotic.

repo: johntitus/node-horseman


text:
fix: regression after #184

Turns out NullableTransformer is needed when creating from constructor if we have argument what expects nullable object

Quick CHANGELOG line ? :)

Something like that?
GH#187 Fix regression after GH#187

Yeah looks fine :+1:

authors: Korbeil MrMeshok

repo: jolicode/automapper


text:
Droid Utils: new file/folder handling methods

Added methods for:

pull+push file from/to android device
pull folder from android device

what happened with this pull request? Did you forgot to merge it?

@yahman72  I forgot this, sorry

released on 1.2.5

repo: jollychang/robotframework-appiumlibrary


text:
Train carriage disappears instead of moving along planned route

Expected Behaviour
A clear and concise description of what you expected to happen.
Train proceeds along planned route as in dashboard
Actual Behaviour
A clear and concise description of what actually happened.
Train repeatedly opens door then disappears
Reproduction Steps
Steps to reproduce the behaviour:
I am unsure about the reproduction of the behavior
Crash Report
Attach a crash report to the issue.
No crash report, just in-game issue
Environment

Superflat world (if applicable)

Minecraft Version:

1.16.5

Installed Mods:

ONLY fabric api 0.29.3 and current mod

Additional Information
Anything else you want to add?
Normally doors open 2~3 times before disappearing.

Hello, do you have tracks connecting the platforms on your route? The trains disappear because they are unable to find a valid path in the world. Also, are the stations on your route in the correct order?

The tracks are connected and the stations are in correct order. I have checked the rails prior to posting.

Did you resolve the issue?

yes, i think it's my client problem, i redownloaded mc and issue resolved

repo: jonafanho/Minecraft-Transit-Railway


text:
soundboard: bot gets stuck in voice channel

This is a bug with discordgo but im tracking it here for now, gets stuck on voice.go line 590, keeps waiting for a message while holding the lock forever.

This specific should be fixed in https://github.com/jonas747/discordgo/commit/81cd8e97922109dfddb7e138173d81cb503eb968


text:
serde_as fails for externally defined types

Hi,
I'm somewhat new to the Rust language and having a rough time with serde and externally defined types that are nested into other data structures.
As shown in example below I have a struct A defined in another crate which I'd like to serialize without converting to another type, so I'm using the remote derive method.
Using #[serde(with = "ADef")] worked fine for the plain type A but composite types like Option<A> were more challenging and lead me to your crate.
With some hackery I was able to get #[serde_as(as = "Option<ADef>")] working, but trying to serialize BTreeMap<String, A> has finally defeated me and I'd really appreciate some tips.
use serde::{Deserialize, Deserializer, Serialize, Serializer};
use serde_with::{serde_as, DeserializeAs, SerializeAs};
use std::collections::BTreeMap;

mod external {
    #[derive(Debug, Clone)]
    pub struct A {
        pub x: String,
    }
}

use external::A;

#[serde(remote = "A")]
#[derive(Debug, Clone, Serialize, Deserialize)]
struct ADef {
    pub x: String,
}

#[serde_as]
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Foo {
    #[serde(with = "ADef")]
    pub inst: A,
    #[serde_as(as = "Option<ADef>")]
    pub opt: Option<A>,

    // Can't get this working at all
    // #[serde_as(as = "BTreeMap<String, ADef>")]
    // pub map: BTreeMap<String, A>,

    // Confusingly enough defining identity transform like this doesn't compile either
    // #[serde_as(as = "BTreeMap<String, String>")]
    // pub map2: BTreeMap<String, String>,
}

// Required for `as = "Option<ADef>"` to work :(
impl SerializeAs<A> for ADef {
    fn serialize_as<S>(source: &A, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer,
    {
        #[derive(Serialize)]
        struct Helper<'a>(#[serde(with = "ADef")] &'a A);
        Helper(source).serialize(serializer)
    }
}
impl<'de> DeserializeAs<'de, A> for ADef {
    fn deserialize_as<D>(deserializer: D) -> Result<A, D::Error>
    where
        D: Deserializer<'de>,
    {
        #[derive(Deserialize)]
        struct Helper(#[serde(with = "ADef")] A);
        let helper = Helper::deserialize(deserializer)?;
        let Helper(v) = helper;
        Ok(v)
    }
}

fn main() {
    let mut map = BTreeMap::new();
    map.insert("a".to_owned(), A { x: "a".to_owned() });
    map.insert("b".to_owned(), A { x: "b".to_owned() });

    let s = serde_yaml::to_string(&Foo {
        inst: A {
            x: "inst".to_owned(),
        },
        opt: Some(A {
            x: "opt".to_owned(),
        }),
        // map: map,
    })
    .unwrap();
    println!("{}", s);
}

Hi, you are quite close. The correct annotation on map is #[serde_as(as = "BTreeMap<_, ADef>")].
As you noticed identity transforms do not work. A blanked implementation is not possible as it would overlap with other implementations. Instead you need to use _ or Same.

Thanks @jonasbb, that solved my problem. Thank you for maintaining this crate :+1:

authors: jonasbb sergiimk


text:
Use Logger for Logs

Logs could be a lot prettier if you used logger.
Also thanks for the amazing plugin.

Still, on that note, how can I tell if a route is replaced, I'm currently routing using the routing callback and can't find any checks for that, is it possible.

I think you might be more interested in creating a navigatorObserver for what you're trying to do. Just copy this class:
class CustomObserver extends NavigatorObserver {
  @override
  void didPush(Route<dynamic> route, Route<dynamic> previousRoute) {
    if ('${route?.settings?.name}' == 'snackbar') {
      if (Get.isLogEnable) print("[OPEN SNACKBAR] ${route?.settings?.name}");
    } else if ('${route?.settings?.name}' == 'bottomsheet') {
      if (Get.isLogEnable) print("[OPEN BOTTOMSHEET] ${route?.settings?.name}");
    } else if ('${route?.settings?.name}' == 'dialog') {
      if (Get.isLogEnable) print("[OPEN DIALOG] ${route?.settings?.name}");
    } else {
      if (Get.isLogEnable) print("[GOING TO ROUTE] ${route?.settings?.name}");
    }
  }

  @override
  void didPop(Route route, Route previousRoute) {
    super.didPop(route, previousRoute);

    if ('${route?.settings?.name}' == 'snackbar') {
      if (Get.isLogEnable) print("[CLOSE SNACKBAR] ${route?.settings?.name}");
    } else if ('${route?.settings?.name}' == 'bottomsheet') {
      if (Get.isLogEnable)
        print("[CLOSE BOTTOMSHEET] ${route?.settings?.name}");
    } else if ('${route?.settings?.name}' == 'dialog') {
      if (Get.isLogEnable) print("[CLOSE DIALOG] ${route?.settings?.name}");
    } else if ('${route?.settings?.name}' == 'snackbar') {
      if (Get.isLogEnable) print("[CLOSE SNACKBAR] ${route?.settings?.name}");
    } else {
      if (Get.isLogEnable) print("[BACK ROUTE] ${route?.settings?.name}");
    }
  }

  @override
  void didReplace({Route newRoute, Route oldRoute}) {
    super.didReplace(newRoute: newRoute, oldRoute: oldRoute);
    if (Get.isLogEnable) print("[REPLACE ROUTE] ${oldRoute?.settings?.name}");
    if (Get.isLogEnable) print("[NEW ROUTE] ${newRoute?.settings?.name}");
  }

  @override
  void didRemove(Route route, Route previousRoute) {
    super.didRemove(route, previousRoute);
    if (Get.isLogEnable) print("[REMOVING ROUTE] ${route?.settings?.name}");
  }
}

and Add on your GetMaterialApp:
GetMaterialApp(
  navigatorObservers: [CustomObserver()],

I think this package is amazing, but unfortunately adding an external package goes against Get's philosophy.
We try to keep the package as light as possible, and without any third party solutions, so that it is a light, stable, and ready to use lib.
This does not rule out the possibility of creating an "add-on" in the future including code generators, beautiful logs (like these), but for now, we are focused on performance, stability, and the addition of new features.
If you encounter any other problems, do not hesitate to open another issue.

Thanks a lot.

authors: Prn-Ice jonataslaw

repo: jonataslaw/get


text:
The default behavior for Get.defaultDialog's onCancel method should be closeAllDialogs();

The default behavior for Get.defaultDialog's onCancel method should be closeAllDialogs();

I agree. I'm just going to add a TODO here, because I want to change the dialogs and bottomsheets api to something more similar to snackbars, so that I can close a specific dialog.

authors: jonataslaw leeyisoft

repo: jonataslaw/getx


text:
More than six arguments?

Having read how Rhai functions are dispatched, I don't quite get why there is a fixed number of arguments limit. Arguments are basically passed as a six-elements-long homogeneous tuple of Option<&mut Box<Any>> only to assume last N of them are None. Not only does it introduce a argument number limit but implies quite a lot of code repetition. Wouldn't it be better to use slices instead of tuples?
Of course fn_register needs heterogeneousity for native Rust functions, at least until variadic generics come into play. But as for now, why not introduce some macro to automate N-arguments-precisely problem? Then it would be trivial to write another macro to abstract it away just to the limit of N. And even then, any limit doesn't seem really rational for Rhai-defined functions as it doesn't depend on variadic generics (it's dynamic anyway).

The reason is historical, I'd say. When Jonathan first wrote Rhai, he was still learning Rust. Most of the baggage this brought has been fixed by refactoring, but stuff like this still remains, as we haven't gotten to changing it yet.
It would probably be better to use slices today, yes. Addition of macros to simplify things is on the TODO list, too.
Would you be interested in developing this better dispatch for Rhai functions?

Surely, why not.

authors: Udiknedormin luciusmagn

repo: jonathandturner/rhai


text:
transform variables in default value of mixins

transform variables in default value of mixins
@mixin .container($max-width: $content-max-width) {
  max-width: $max-width;
  margin: 0 auto;
}

#54

When to merge the PR?

Looks good. @jonathantneal sorry to bug you but any chance for a merge + release?
This one's been sitting dormant for quite a while.

Yes, I’ll merge it. I do tend to leave this and precss on the back-burners. I’m open to giving others maintainer status if they have a history of contributing or reviewing updates.

If I get a moment on the weekend I'll write some unit tests and make sure it's working correctly :)

Node 4 has already hit end of life on 2018-04-30. I've created a PR to update the node versions in CI: https://github.com/jonathantneal/postcss-advanced-variables/pull/63
Once that's merged your tests should pass :)

authors: Jancat MaxMilton jonathantneal zeratul1


text:
add detection for iOS

Avoid loading scripts on Google login page.
Add detection for iOS devices.

I'm curious about the main.js commit.
I think the iOS app should only inject the js on pages that are under http(s)://...ingress.com/intel as opposed to having the js get injected everywhere and then quit out of.

On Jul 27, 2015, at 1:11 AM, Hubert Zhang notifications@github.com wrote:
Avoid loading scripts on Google login page.
Add detection for iOS devices.
You can view, comment on, or merge this pull request online at:
https://github.com/jonatkins/ingress-intel-total-conversion/pull/1025
Commit Summary
add detection of account.google
add detection for iOS
File Changes
M code/smartphone.js (3)
M main.js (4)
Patch Links:
https://github.com/jonatkins/ingress-intel-total-conversion/pull/1025.patch
https://github.com/jonatkins/ingress-intel-total-conversion/pull/1025.diff
—
Reply to this email directly or view it on GitHub.

After several test, WKWebview I used in iOS app can store several user scripts when it is initialized and will inject those scripts to every page it loaded. The scripts injected cannot be controlled once this WKWebview is created and will influence Google account login page...

I've removed detection of Google Account which is not needed by iOS version any more

authors: Hubertzhang pleasantone


text:
Fix Content-Type Header

multipart/form-data and boundary must be separated by a semicolon.

Thanks @pama !

authors: pama tcopeland


text:
Add basic regex filter

I added a filtering option as requested by #86, #148, #287
At the moment it doesn't hide the tweets completely, but instead shows a small card containing This tweet was filtered.
That is because I don't have any experience with Dart/Flutter or Android development in general. I just wanted to provide a minimal working example that can be improved by people who actually know what they're doing.
It works by adding the words you want to get filtered separated by | to the new Filters setting. It just converts the string into a regular expression so you can use expressions like \W[a-z]{2,3} and so on.
Example:  bitcoin|nft|#sponsored|trump
The filter is case insensitive and removes all tweets containing the regex, so if you don't want tweets with trumpet removed you need to use trump\b instead of trump. Since the string gets evaluated as regex you need to escape characters like dots or brackets if you want to use them in the filter.

I have merged this into my fritter fork Quacker

authors: Huhni TheHCJ

repo: jonjomckay/fritter


text:
Incompatible with Node 10.x

I get the following error on Node 10.2:
Error: Cannot find module 'object.omit'
Works fine in Node 9.x.

@AlexGustafsson can you provide more information? The error itself indicates that object.omit didn't get installed into node_modules. It's not used directly in this library, so seeing some code and the entire error stack would be helpful.

Thank you for your fast response. I tried the package using the NPM-suggested RunKit. The error message I got made me think that the issue was a breaking change in later node editions. Since it worked fine for lower versions on RunKit I made the assumption that was the case.
Trying to replicate it on a local environment failed however. Turns out that RunKit doesn't seem to support usage of object.omit (probably a dependency of a dependency). Thank you for trying to help and sorry for any inconvenience!

np, I'm glad you figured it out.

authors: AlexGustafsson doowb

repo: jonschlinkert/github-contributors


text:
loss function

hello,
how do you define the loss function in training?
i didn't find this part.

This is not part of this repository. See https://github.com/joonson/syncnet_trainer

authors: jane-pyc joonson


text:
How to fix silenced push notifications on Android

https://jordyvanvorselen.com/posts/flutter-silent-notifications/?code=b3ef2bd7d5fa0408f6d5

Test

repo: jordyvanvorselen/blog


text:
MissingPluginException(No implementation found for method

Hi, I get the following error after a 'flutter run'.  I basically created a working flutter project using the command line and then updated main.dart to what you have in the example/lib.
[ERROR:flutter/runtime/dart_vm_initializer.cc(39)] Unhandled Exception: MissingPluginException(No implementation found for method init on channel persona_flutter)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:165:7)
<asynchronous suspension>

The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:62415/sGsJRbl3Ces=/
[ERROR:flutter/runtime/dart_vm_initializer.cc(39)] Unhandled Exception: MissingPluginException(No implementation found for method start on channel persona_flutter)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:165:7)
<asynchronous suspension>

I ran under different flutter channel and got furthest by setting to beta.
I checked in the dependencies .pub_cache for what is being used:
@override
  Future<void> init({required InquiryConfiguration configuration}) async {
    return _channel.invokeMethod('init', configuration.toJson());
  }

  @override
  Future<void> start() async {
    return _channel.invokeMethod('start');
  }

Hi @timfong888, can you paste the output of the command “flutter doctor”? What platform are you targeting? iOS?

Hi @timfong888, can you paste the output of the command “flutter doctor”? What platform are you targeting? iOS?

Yes I am redoing everything but it was fine with flutter doctor for iOS.

Hi @timfong888, I ran here a new flutter create project with dependency persona_flutter: ^3.0.0-beta.0 and everything worked. Here is my flutter doctor output for comparison.
[✓] Flutter (Channel beta, 3.1.0-9.0.pre, on macOS 12.4 21F79 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.69.0)


text:
조사모아 라이브러리 로고

조사모아 라이브러리 로고

##조사모아 라이브러리 로고 러프 스케치안

조사모아의 자음을 따서 그래픽화 하였습니다.
색깔은 단색과 메탈 느낌의 두 종류로 입혀서 만들어보았습니다.

@cloudd81 로고 진짜 미쳤다리...... 너무 좋아요 만족쓰🤩

@kycasdzxc ㅋㅋㅋㅋ다행이옵니돠

repo: josa-moa/josa-moa


text:
remove stale branches

do it.
also i cant make labels can you make us a maintenance one for this issue

do it.
also i cant make labels can you make us a maintenance one for this issue

Created, but what do you want the description to be? As in what is its intended purpose? I don't mind making them but it doesn't let you?

i'm just on mobile rn

i'm just on mobile rn
not a problem, just wanted to make sure it wasn't a permissions issue or something.


text:
[question] how to disable reset announcements?

Hello, I've set:
announceTimes: []
And I'm still getting reset announcements.
How can I disable them?
Thank you

You can disable reset for specific mines with /mine silent name
Or you can Change the config option to not announce resets

Thank you

authors: joserodpt quiquelhappy

repo: joserodpt/RealMines


text:
fix(doc/check): builder initialization of BigTextBuilder in docs

Just a little fix for the code in documentation.

Thanks for fixing this.

repo: joshka/tui-big-text


text:
[client] Support jokers

The deck image that I am currently using for the "default source deck" doesn't include any jokers and so I did not make provision for having optional jokers in the playing decks.   This could be addressed

specifically by just finding joker images of the correct shape and incorporating them into the default source deck in code (there is no requirement that the deck be cut from a single image or using any particular pattern)
more generally by changing the source deck (and at the same time I should consider allowing the source deck to be a user choice)

In working on this I found it was easiest to add jokers to the existing source deck (I could not find good source deck images that included jokers).    So, I narrowed the scope to just adding jokers, not any additional tailoring.
As separate low priority additional work I think we can separate the following.

Support user-defined playing deck templates.   This is relatively easy because the templates are compact metadata (don't include any images).
Support alternate card graphics (source decks, possibly distinguishing the card back from the fronts).   This would be a developer task, by supplying the choices with the game.   End users could not add more art to an existing version of the game.
Support users ability to add card graphics without downloading a new version of the game.   Hard.   Probably out of scope for now.

repo: joshuaauerbachwatson/anyCards


text:
Skip broken device with LastMeasure nil

I have an broken sensor in my netatmo config which return LastMeasure equal nil.
The best solution without breaking backwards compatibility that I have seen is to return a timestamp of 0.
PS: Thanks a lot for your update with the refresh token login!

Thanks, sorry that i did not saw your pull request earlier. Am enrolled as student and am in my final 2 semesters.


text:
slow logs in 5.x are inconsistent.

Here's an example of a slow log in ES 5.1.x.  i.e., getting _grokparsefailure due to incorrect pre-processing of date, and other prefix metadata.
[2017-02-23 15:17:42,044][DEBUG][index.search.slowlog.query] [index-name-2017.01.26]took[38.3s]

The engine is parsing the index name out as the node name, which works on 2.x slow logs, but not anymore.  This issue could be filed against ES, however I don't think it's worth requiring consistency from ES logging, as this is an issue which is already on the table.
Unless you feel all logs should be conforming?

Here's the pattern that's working in 5.x.  Sadly we no longer have a node name
\[%{TIMESTAMP_ISO8601:timestamp}\]\[%{DATA:loglevel}\]\[%{DATA:logtype}\] \[%{DATA:index}\]took\[%{DATA:took}\], took_millis\[%{NUMBER:took_millis:int}\], types\[%{DATA:types}\], stats\[%{DATA:stats}\], search_type\[%{DATA:search_type}\], total_shards\[%{NUMBER:total_shards:int}\], source\[%{DATA:source_query}\], extra_source\[%{DATA:extra_source}\],

Sample from 5.2.x, node name is back!
[2017-02-02T21:11:04,778][DEBUG][index.search.slowlog.query] [CBuuMNt] [.kibana][0] took[4.8ms], took_millis[4], types[config], stats[], search_type[QUERY_AND_FETCH], total_shards[1], source[{"size":1000,"sort":[{"buildNum":{"order":"desc","unmapped_type":"string"}}]}],

repo: joshuar/elasticsearch-log-processor


text:
Unpack hangs when files already exists and no overwrite flag is given

Describe the bug
When unpacking for flag --code, if the code file already exists and does not provide -o . The unpacking hangs with progress bar, but does not prompt error.
Version
Version: 0.3.2
Commit: 5e99ff38fcd5f4c75880a6516cc9e4f940435c26
Built: 2024-08-02T12:33:31Z
Go version: go1.21.6
Additional context
Intel 64bit
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"

Confirmed. I see the same behaviour.

I just noticed this too last week and happened to tack a fix commit into https://github.com/jozu-ai/kitops/pull/446
@gorkem do you think we'll merge that PR soon? I can break out that commit to a separate PR if not.
Fixed by #446

It is up to you. My review should be done by tomorrow morning

authors: amisevsk gorkem yichuan5

repo: jozu-ai/kitops


text:
test/objc: required program gnustep-config

Traceback (most recent call last):
  File "./meson.py", line 184, in <module>
    app.generate()
  File "./meson.py", line 135, in generate
    intr.run()
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 762, in run
    self.evaluate_codeblock(self.ast)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 784, in evaluate_codeblock
    raise e
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 778, in evaluate_codeblock
    self.evaluate_statement(cur)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 826, in evaluate_statement
    return self.evaluate_if(cur)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 1578, in evaluate_if
    self.evaluate_codeblock(node.elseblock)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 784, in evaluate_codeblock
    raise e
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 778, in evaluate_codeblock
    self.evaluate_statement(cur)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 818, in evaluate_statement
    return self.assignment(cur)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 1460, in assignment
    value = self.evaluate_statement(node.value)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 816, in evaluate_statement
    return self.function_call(cur)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 1442, in function_call
    return self.funcs[func_name](node, posargs, kwargs)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/interpreter.py", line 1122, in func_dependency
    dep = dependencies.find_external_dependency(name, kwargs)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/dependencies.py", line 802, in find_external_dependency
    dep = packages[name](kwargs)
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/dependencies.py", line 672, in __init__
    self.detect()
  File "/builddir/build/BUILD/meson-c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01/dependencies.py", line 677, in detect
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/lib64/python3.4/subprocess.py", line 858, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.4/subprocess.py", line 1456, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'gnustep-config'

I have fixed the error handling. To build gnustep programs you need to install gnustep-config and gnustep-base-devel.

authors: ignatenkobrain jpakkane

repo: jpakkane/meson


text:
customize_compiler is recommended by distutils doc

On Unix platforms, environment variables such as CFLAGS, LDFLAGS are not
honored if this is not called.

Looks good, thanks!

authors: jparyani mokomull

repo: jparyani/pycapnp


text:
Could not pass event PluginDisableEvent to WanderingTrades

Describe the bug
[04:48:16] [Server thread/INFO]: [WanderingTrades] Disabling WanderingTrades v1.7.3-SNAPSHOT+7e622fc
[04:48:16] [Server thread/ERROR]: Could not pass event PluginDisableEvent to WanderingTrades v1.7.3-SNAPSHOT+7e622fc
java.util.concurrent.RejectedExecutionException: Task net.minecraft.commands.CommandDispatcher$$Lambda$12524/0x0000000803957328@540efc1b rejected from java.util.concurrent.ThreadPoolExecutor@422d29d6[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 20]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2070) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365) ~[?:?]
	at net.minecraft.commands.Commands.sendCommands(Commands.java:382) ~[?:?]
	at org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer.updateCommands(CraftPlayer.java:2587) ~[purpur-1.19.2.jar:git-Purpur-1755]
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
	at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092) ~[?:?]
	at xyz.jpenilla.wanderingtrades.lib.cloud.commandframework.bukkit.BukkitPluginRegistrationHandler.unregisterRootCommand(BukkitPluginRegistrationHandler.java:170) ~[WanderingTrades-1.7.3-SNAPSHOT+7e622fc.jar:?]
	at xyz.jpenilla.wanderingtrades.lib.cloud.commandframework.CommandManager.deleteRootCommand(CommandManager.java:545) ~[WanderingTrades-1.7.3-SNAPSHOT+7e622fc.jar:?]
	at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
	at xyz.jpenilla.wanderingtrades.lib.cloud.commandframework.bukkit.CloudBukkitListener.onPluginDisable(CloudBukkitListener.java:54) ~[WanderingTrades-1.7.3-SNAPSHOT+7e622fc.jar:?]
	at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:git-Purpur-1755]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:678) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:395) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:585) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:562) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.v1_19_R1.CraftServer.disablePlugins(CraftServer.java:528) ~[purpur-1.19.2.jar:git-Purpur-1755]
	at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:946) ~[purpur-1.19.2.jar:git-Purpur-1755]
	at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:820) ~[purpur-1.19.2.jar:git-Purpur-1755]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1258) ~[purpur-1.19.2.jar:git-Purpur-1755]
	at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:310) ~[purpur-1.19.2.jar:git-Purpur-1755]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]

To Reproduce
Steps to reproduce the behavior:

Shut down server to restart it.
See error.

Expected behavior
No error.
Server Software and Version:

Vendor: Purpur
Minecraft Version: 1.19.2
Output of /version command: git-Purpur-1755
WanderingTrades dev 101
https://jenkins.jpenilla.xyz/job/WanderingTrades/101/

paper issue, not wt issue

authors: jpenilla mibby

repo: jpenilla/WanderingTrades


text:
vethxxx cannot be added into bridge

Hi,
Now we have a problem,  the vethxxx of docker can not be added into bridge.  I am wondering if you've ever encountered similar problems. can you look into it and give me a feedback? Any suggestions would be highly appreciated. Thank you.

And, i see the code of pipework is that the command of "ip link set "$LOCAL_IFNAME" master "$IFNAME" " is before the command of "ip link set "$LOCAL_IFNAME" up", but  i see the rule is To add an interface (e.g. eth0) into the bridge, its state must be up, I would really appreciate if you can help me.

Closing old issues.

repo: jpetazzo/pipework


text:
🛑 Bikaner Electrical is down

In ba472ca, Bikaner Electrical (bikanerelectrical.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bikaner Electrical is back up in 6c17d84 after 10 minutes.


text:
Dropdown component that can utilize custom element as a trigger

Area
UI Components
The problem
Although it's still a labs component, Dropdownbase component was very useful that you can inject any types of element as a trigger object. Currently Dropdown and Combo box in core only allow customizations in dropdown content. This limits creation of UI such as a button that contains a dropdown, etc.
The solution
Add a prop in dropdown component to insert buttons/icon components.
Alternatives and examples
Split buttons in synergy poc site.
It's utilizing Dropdownbase component which has it's own issues. But within presentational layer of UI, it achieves what the designers are looking for.
Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

Closed as stale

authors: joshwooding solcratius

repo: jpmorganchase/salt-ds


text:
Android创建会话后发消息报错

E/flutter (31077): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: PlatformException(898002, [nihfuskdjahfoijhasfljnwolketn], )
E/flutter (31077): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:564:7)
E/flutter (31077): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:302:33)
E/flutter (31077):
E/flutter (31077): #2      JmessageFlutter.sendTextMessage (package:jmessage_flutter/jmessage_flutter.dart:468:33)
E/flutter (31077):
E/flutter (31077): #3      IMProvide.sendText (package:school_recruit/provide/provide_im.dart:62:14)
E/flutter (31077): #4      _ChatPageState._operation. (package:school_recruit/pages/im/page_chat.dart:111:51)
E/flutter (31077): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:511:14)
E/flutter (31077): #6      _InkResponseState.build. (package:flutter/src/material/ink_well.dart:566:30)
E/flutter (31077): #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:166:24)
E/flutter (31077): #8      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:240:9)
E/flutter (31077): #9      TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:177:9)
E/flutter (31077): #10     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:436:9)
E/flutter (31077): #11     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73:12)
E/flutter (31077): #12     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:11)
E/flutter (31077): #13     _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:221:19)
E/flutter (31077): #14     _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:199:22)
E/flutter (31077): #15     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter (31077): #16     _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter (31077): #17     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter (31077): #18     _rootRunUnary (dart:async/zone.dart:1136:13)
E/flutter (31077): #19     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
E/flutter (31077): #20     _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
E/flutter (31077): #21     _invoke1 (dart:ui/hooks.dart:233:10)
E/flutter (31077): #22     _dispatchPointerDataPacket (dart:ui/hooks.dart:154:5)
请问这是什么错误？

实际消息已经发送成功了，之后getHistoryMessages中可以获取该消息

repo: jpush/jmessage-flutter-plugin


text:
decoding of usernames in chat message body, more exports, more apidocs

it turns out if you type @username in a slack chat, when we fetch back, we get <@USERID>, which is not very readable. So I now parse this ID, and in the HTML export offer the option to replace it by the username. that does mean the conversion to html can't be fully automatic anymore: you must give me the user list as provided by slack.
i also improved haddock apidocs (not only for this new feature), and made sure some types were exported that should have been exported already before. I also introduced the new non-exported module "Types" to make it easier to avoid cyclic dependencies between modules.
for now i still don't export the AST for the parsed messages, although it could give some flexibility to users, because I expect its format to still potentially change in the future.

@emmanueltouzery Sounds good!

authors: emmanueltouzery jpvillaisaza

repo: jpvillaisaza/slack-web


text:
Collection fix

Addressing issues found in review of collections.

There are certain wrappers methods such as __getitem__ in which the Java method we call can throw an expected exception which would not be caught properly by normal Python code.  To prevent this I have enabled the ability to add a Python exception to the Java exception tree so that a Java exception can be caught as a regular Python exception.  Obviously this has limitations because the Python and Java exception trees are different and thus overloading RuntimeException to RuntimeError would cause problems.  But in limited cases like java.lang.IndexOutOfBoundsException to IndexError this makes sense.
One of the untested collection wrappers was calling remove() which was not by index but by item which gave strange results.  This has been removed.
Java hashmaps do not distinguish between a missing key and a null value so there was a big difference when dealing with maps.  I added KeyError in that case.  The user can get the Java behavior by calling get() as expected of the Java Map.
Again more tests for our hopeless matrix.

Fixes #578
Fixes #579
Fixes #580

If you don't like one of these changes I can resubmit.   It may break some code that was using buggy behaviors.

Thanks for addressing all of these issues and increasing testing coverage. Untested code is broken code. That's why you deleted the remove method, but it will break existing code with a AttributeErrror. Please raise a NotImplementedError containing info how to change the code to be accepted. The alternative would be to find a solution for remove(e).

I dont think the collection remove could be exercised as it was covered up by list which had a correct implementation.  The only way to hit it was cast or implement you own collection.  Typing del ja["foo"] and expecting it to remove the string foo would be strange.  I will check to see if the was a case that was not covered by the parents.

@marscher I tested all of the classes that were coming off of collection wrapper.  It appears that only one wrapper was effected by the remove change.  I simply slide the wrapper down though it does cause a small difference in Python and Java.
For maps our behavior matches for single key removal.  We had an overridden __delitem__ already.
hm = {}
hm['alice'] = 'alice'
hm['betty'] = 'betty'
hm['catty'] = 'catty'
del hm['betty']
print(hm.keys())

hm = java.util.HashMap()
hm['alice'] = 'alice'
hm['betty'] = 'betty'
hm['catty'] = 'catty'
del hm['betty']
print(hm.keySet())

For lists we already supported __delitem__ so no changes there.  We also supported removal with slice so our coverage was good here.
ls = []
ls.append('alice')
ls.append('betty')
ls.append('catty')
del ls[1]
print(ls)

ls = java.util.ArrayList()
ls.add('alice')
ls.add('betty')
ls.add('catty')
del ls[1]
print(ls)

The only place that the bad wrapper leaked through was for Set.
try:
    st = set()
    st.add('alice')
    st.add('betty')
    st.add('catty')
    del st['betty']
    print(ls)
except Exception as ex:
    print("Not support in Python", type(ex))
    print(ex)

st = java.util.HashSet()
st.add('alice')
st.add('betty')
st.add('catty')
del st['betty']
print(st)

Python does not support del st['key'] form though I do not understand the reason for this.  Thus we have two options here.  We can support the operation for Java types (like the original wrapper) or force it to a TypeError with the same message as Python.
I have changed the pull request to be my best compromise between the two.  I have implemented a TypeError with the appropriate message for the case in which someone managed to use a custom container type (or something we never test like Queue), and I make is so that HashSet has the "extra" operation.  I can remove the extra operation if you feel it is unnecessary.

@marscher With this pull request I think we should likely start a release process.  I will be having many more minor changes like this as I increase coverage, but the process will likely take a month or more.  Thus given the current broken state with the numpy I recommend that we release now.
We are in a slightly awkward place as we are basically releasing the JPype 0.8 front end without the JPype 0.8 core. It is missing the new type conversion API that lets users define custom conversions which allows date, sql timestamp, paths, and even lists to integrate seamlessly between Java and Python without having to customized each method.
I am going to leave the labeling to you on that front.  If we release this as 0.7.2 then 0.8 will be much more incremental of a release which is likely okay.

Fixes #587

Codecov Report

Merging #583 into master will increase coverage by 0.17%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master     #583      +/-   ##
==========================================
+ Coverage   52.29%   52.46%   +0.17%
==========================================
  Files          98       98
  Lines        7637     7656      +19
  Branches     3459     3459
==========================================
+ Hits         3994     4017      +23
+ Misses       1318     1307      -11
- Partials     2325     2332       +7

Impacted Files
Coverage Δ

jpype/_jcustomizer.py
76.92% <100%> (+0.25%)
:arrow_up:

jpype/_jcollection.py
93.83% <85%> (+2.42%)
:arrow_up:

native/common/jp_chartype.cpp
51.02% <0%> (-4.09%)
:arrow_down:

native/python/pyjp_module.cpp
29.58% <0%> (+1.12%)
:arrow_up:

native/common/jp_reference_queue.cpp
37.2% <0%> (+6.97%)
:arrow_up:

Continue to review full report at Codecov.

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

@marscher any objections to merging this and starting a release?

No, please go ahead. Thanks
Am 28. Februar 2020 15:11:07 MEZ schrieb Karl Nelson notifications@github.com:

@marscher any objections to merging this and starting a release?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/jpype-project/jpype/pull/583#issuecomment-592529426

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

authors: Thrameos codecov-io marscher

repo: jpype-project/jpype


text:
docs: addRouter in the backend index.ts

I found there is something missing in the documentation, so I tried to improve it.

@jizusun thank you very much! You are right, it was missing!

authors: jizusun rannox

repo: jquad-group/backstage-jquad


text:
Add browser test runner

This PR adds a karma test-runner and a browser-tests.js helper.
Karma Runner

designed to help devs
runs in chrome and watches for changes
does not have coverage (I'm thinking that will be the next todo item)

Browser Tests

copies over the unit-test helpers (testX errorToObject etc, unifying code will probably be a todo item)
uses mocha (I think the reporter w/ describe/it is a nice win)
uses chai (we're not using a lot of chai, so i think i'll remove it for the time being)
has a custom provider (there's a lot of code there that will be cleaned up)

What about the 40 failing tests?

1 was the invalid-yield
1 was source-element being empty
30 were the var source ="something" tests. turns out that we need to eval and get the source (facepalm)

Next Steps

Add coverage
Unify code
remove generate-testCase.js from unit-tests
syntax highlight source in test runner
Add additional runner debugger helpers. This is a catch all of half-baked ideas i have for helping a newcomer step through a test case and keep track of the AST and tokens as it's built out...

Full Runner Preview

@ariya just cleaned up the test runner code. I recommend pulling down the branch and trying it out.
I believe there are two remaining tasks when this lands:

extract generate-testcases.js
reuse utils/evaluate-testcase.js

then we sip :cocktail:

looks like coveralls is taking a holiday, https://travis-ci.org/jquery/esprima/jobs/72503264#L420
Bad response: 500 {"message":"Coveralls is in Read Only mode while we work on updating the system. Sorry for the inconvenience.Check Status: http://status.coveralls.io/","error":true,"url":""}

looks like coveralls is taking a holiday,

Yeah :-( We ought to replace it codecov (#1215).

LGTM! I'm going to merge this with minor modification: singleRun: true so that invoking npm run browser-tests works as expected and probably we can start running it in Travis CI as well.
Thank you very much @jasonLaster!

:cocktail:

Congrats @jasonLaster !

authors: ariya jasonLaster mikesherov

repo: jquery/esprima


text:
Safari 7.0 isn't tested

BrowserStack has removed Safari 7.0 from the API, I notified them that it's a problem for us. However, because of these lines of browserstack-all.json you now wouldn't even try to this version; only Safari 5.1, 6.2, 8.0 & 9.0 are included. This means Safari 6.0 & 7.0 is gone (6.2 has an identical engine as 8.0).
Due to the fact of how messed up Safari versioning is:

Safari 8.0, 7.1 & 6.2 share the WebKit version
Safari 7.0 & 6.1 share the WebKit version

I think it's dangerous to just rely on aliases; it'd be better to explicitly list all Safari versions supported; and do it without shortcuts like safari_6 but use the full safari_6_0 name.

Thanks for letting me know.
Does safari_6_2 works? otherwise we'll need to specify each browser without aliases.

I'm not sure but you specify safari_5_1 already so I assume it should. It's best to include every Safari version since 6.0 with the _0 suffix as minor updates are basically the same as major ones in this land.

I'll have to test it, browserstack does not document the aliases and some key names does not work.

Btw. Safari 7 is back in the API (I think), apparently it won't come back in Live though, so don't expect to see it there.

Yup, I've restored it for projects using TestSwarm.

Please see https://github.com/jquery/jquery/issues/2609. It seems the new Safari 7.0 is a fake one and under the hood it has a 7.1/8.0 engine so don't rely on its results for now. :/ I notified BrowserStack about the issue.

Core is not going to test against Safari 7.0 anymore, so we don't have to bother either.

authors: jzaefferer leobalter mzgol

repo: jquery/qunit


text:
ZNC Bouncer - unRAID

Anyone have running the ZNC bouncer on a docker and able to setup ZNC?  I'm having trouble on what's the procedure on how it's done properly.
Any help will be greatly appreciated. Thanks!

@jrdnlc Not really a znc-push issue from what I can tell? However, for a Docker container that runs ZNC with push module built as part of the image, please see:
https://hub.docker.com/r/vanityshed/znc-alpine-push/

authors: jrdnlc stevesbrain

repo: jreese/znc-push


text:
Don't seem to be able to search like I used to.

Hi,
EDIT: apparently I interpreted some things wrongly in my last explanation, maybe I hadn't updated git or something,.. don't remember how I came to the conclusion, everything seems to work.. though maybe a bit different than I was used to.
Following search pattern used to work, but doesn't anymore as such:
:Rg -g *.chai pattern
but when I quote the glob pattern, it does seem to work:
:Rg -g "*.chai" pattern
Though slightly annoying, I can live with that, for me this issue can be closed now.

+1 ... using --glob is a very common thing for me as well, and I can't seem to get it to work now.
If it's still possible, it would be nice to put up an example of how to use that option in the README

I updated my original post to remove some wrong explanation, in order to not confuse potential readers.

I am also having this issue.
rg <pattern> -t js
rg <pattern> -g '*.js'
both return results in shell but inside of vim they do not.

I forgot about this, apparently it works again on my system without the quotes.
I don't understand why though, there haven't been any new commits since my original post.
I'm using
VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 29 2019 22:27:49)
Included patches: 1-2102
Compiled by Arch Linux

ripgrep 11.0.2

Looking at the source, you could try and add
  echom &grepprg
  echom &grepformat
  echom 'grep! ' . l:rgopts . a:txt

around line 64 before
silent! exe 'grep! ' . l:rgopts . a:txt

To try and see what is executed (then use :messages after executing your :Rg command to see the printed echom's), and maybe manually set grepprg and execute similar :grep commands, and be sure check :RgRoot command to show in which directory this is executed, maybe that is the problem?

authors: BrendanTimmons Frydac dlants

repo: jremmen/vim-ripgrep


text:
Implement class method Datac.loads

This method is specified similar to the Datac.load method described in #12.

I'm probably not going to implement this feature because I'm not going to use JSON to (de)serialize objects.


text:
Sync version?

For situations when promises aren't supported (for example, inside an eslint rule), would you be open to a netlifyTs.sync(...) function? It seems like it's only the filesystem-reading that relies on promises, and those APIs have sync equivalents too. I'd be happy to put up a PR if so.

Good catch! Refactored the code and added both createNetlifyTypes and createNetlifyTypesAsync functions in the v1.1.0 release to support both use-cases.


text:
🛑 API is down

In ec772ed, API ($SERVER_BASE/api/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API is back up in 134b676.

repo: jscmidt/upptime


text:
🛑 Linus-Wordpress is down

In 6a90d2a, Linus-Wordpress ($SERVER_BASE/wordpress/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Linus-Wordpress is back up in d63ea77.


text:
🛑 Linus-Wordpress is down

In bf889aa, Linus-Wordpress ($SERVER_BASE/wordpress/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Linus-Wordpress is back up in 49763f6 after 10 minutes.


text:
🛑 Tandoor is down

In 6b6ec7f, Tandoor ($SERVER_BASE/recipes/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tandoor is back up in 1f107e7 after 10 minutes.


text:
🛑 Piwigo is down

In 6747b59, Piwigo ($SERVER_BASE/piwigo/) was down:

HTTP code: 404
Response time: 134 ms

Resolved: Piwigo is back up in e41dc5b.


text:
🛑 Startpage is down

In 1781480, Startpage ($SERVER_BASE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Startpage is back up in 2676544 after 2 hours, 33 minutes.


text:
New Rule: disallowNodeTypes

Fixes #1389
Need some help here.
Esprima node types: https://github.com/jquery/esprima/blob/758196a1c5dd20c3ead6300283a1112428bc7045/esprima.js#L108-L169
Acorn/babel node types:
https://github.com/babel/babel/blob/65a44a1e131c8bc336b218991bae7548176de283/src/babel/types/alias-keys.json#L2-L121
Espree node types: https://github.com/eslint/espree/blob/a23b65db10648daf7d4b0761b0ce09eea864550a/lib/ast-node-types.js#L41-L115
Do we want to check if the node types given in the array are supported by the parser or just let it error?

Coverage increased (+0.0%) to 99.02% when pulling 7e3177d2bc59404422748e1be8dfe6c5b0af0184 on hzoo:i-1389 into 6284a69137885257b50def57bdb2fb95248c1de7 on jscs-dev:master.

/cc @ljharb, @mikesherov

( ﾟ◡ﾟ)/ 👍

This feels like a JSHint rule.

Yeah that's true. However, we do have disallowIdentifiers, and disallowKeywords that are used with the intent to disallow parts as well (with, certain methods like eval or something) so this rule is created with a similar purpose?

Sure then. DisallowKeywords was likely discussed at length and accepted so
this is fine by me.
On May 23, 2015 9:49 AM, "Henry Zhu" notifications@github.com wrote:

Yeah that's true. However, we do have disallowIdentifiers, and
disallowKeywords that are used with the intent to disallow parts as well (
with, certain methods like eval or something) so this rule is created
with a similar purpose?
—
Reply to this email directly or view it on GitHub
https://github.com/jscs-dev/node-jscs/pull/1398#issuecomment-104900146.

mm, where broad rule, couldn't hurt though

@markelog was from https://github.com/jscs-dev/node-jscs/issues/1385#issuecomment-102881542 - originally to disallow LabeledStatements

Yeah, i read it, there might be use-cases for that, sure, it feels as advanced rule though

Yeah that's definitely true, since you have to know what node types are/esprima/ASTs.

authors: coveralls hzoo ljharb markelog mrjoelkemp

repo: jscs-dev/node-jscs


text:
Option to only generate changelog

Hi!
I made few releases manually and now I want to generate proper changelog for each version which were already published.
I put correct tags on corresponding commits, Is there a way to run this task to only parse git log and generate proper changelog?

Hi, I never had this scenario so I'm not entirely sure but I think it will parse commits since the last version and generate the changelog, it will skip the logs before the last version, the one you created manually, and therefore not insert them into the changelog file. At the moment there's no way to override the git reference from where it calculates the changes. A hack would be to temporarily remove your tags locally so it will compute the logs since the first commit, but that's very not ideal.

@edbzn I found a way to do it – remove all local tags, then checkout each version commit from first to last, run version, stash, go to other commit, unstash, run version, repeat until success
It worked, thank you

authors: cakeinpanic edbzn

repo: jscutlery/semver


text:
varstmt should only be available when esversion: 6

I think JSHint should throw W134 (as it does for the module option)

I think it's potentially a breaking change to do that, but module was nota breaking change due to being a new feature

authors: caitp nicolo-ribaudo

repo: jshint/jshint


text:
Strange behaviour with the combination of unused: true and -W117: true

Hello
I think I found a strange behaviour about usused and -W117 options.
With the following settings, the latest version (v2.8.0) of jshint outputs a lint error.
.jshintrc
{
  "unused": true,
  "-W117": true
}

test.js
a();
function a() {
  console.log(1);
}

$ jshint test.js
test.js: line 2, col 10, 'a' is defined but never used.

v2.6.0 doesn't output the above error and v2.6.1 does. I guess this started at v2.6.1.
Thanks,

This issue has been fixed by 08eb4e25962eb71f94c09f79b3b08288b91a7bce.

@nicolo-ribaudo Is correct. If you update to JSHint version 2.9.1, you will find that the spurious warning is gone.

OK. Thanks!

authors: jugglinmike kt3k nicolo-ribaudo


text:
https://github.com/jslint-org/jslint/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=Feature+request%3A+Your+title+here

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

closing as invalid issue

repo: jslint-org/jslint

license: Unlicense


text:
Have per bundle BUILD_IDs that only change when the bundle changes.

Right now they are timestamp based. Every week we get new IDs breaking everybody's cached versions. In a continuous deployment setup, it would be pretty bad.

BUILD_IDs are a hash of all the files within the bundle, so this already works like it should!
https://github.com/jsocol/jingo-minify/blob/master/jingo_minify/management/commands/compress_assets.py#L88
and then
https://github.com/jsocol/jingo-minify/blob/master/jingo_minify/management/commands/compress_assets.py#L50

/me finally gets it
Thanks for doing that!

authors: gkoberger rlr

repo: jsocol/jingo-minify


text:
pretty_columns doesn't match column_names

If there's e.g. merged cells, or empty column cells then pretty_columns and column_names don't match up anymore. Disabling prettyColumnNames fixes this behaviour, but how do I get the pretty names afterwards? :-(

I managed it temporarily by replacing the loadPrettyColumns function, with the following. It does a check if the column_name starts with a '_', which indicates an empty cell. ( Is this reliable? In the test data empty cells started mostly with '_c' ). In that case it skips the pretty Columns assigning.
It also does the same gsx test as in the column_names function
              Tabletop.Model.prototype.loadPrettyColumns = function(data) {
                var pretty_columns = {};
                var column_names = this.column_names;

                var i = -1;
                var j = -1;

                for(var key in this.raw.feed.entry[0]){
                  if(/^gsx/.test(key)){
                    j++;
                    if(column_names[j].indexOf('_') !== 0){
                      i++;
                      if (typeof data.feed.entry[i].content.$t !== 'undefined') {
                        pretty_columns[column_names[j]] = data.feed.entry[i].content.$t;
                      } else {
                        pretty_columns[column_names[i]] = column_names[i];
                      }
                    }
                  }
                }

                this.pretty_columns = pretty_columns;

                this.prettifyElements();
                this.ready();
              }

Thanks for the tip...
I just made a change to get empty columns value
if (typeof data.feed.entry[i].content.$t !== 'undefined') {
       ... ... ...
} else {
       pretty_columns[column_names[j]] = "";
}

It's four hundred years later, but I can't seem to reproduce this one.

authors: carlosmiguelsns jsoma mastef

repo: jsoma/tabletop


text:
Sideposting: graph requirements and restrictions

This is another splinter issue from #1197 to discuss a few independent checklist questions. The result of this discussion can then be used to update the checklist in #1197. The items for this issue:

[x] Should we put restrictions on the kinds of graphs allowed or should we leave it to the server implementations? Resolution: Yes, only graphs that satisfy the full linkage requirement are allowed.
[ ] Should we put minimum requirements of the kind of graphs a server must support?

My current thinking is:

I'm fine saying that the server is allowed to support any graphs it wants (i.e., no restrictions). However, as I mentioned here, that probably means we have to create another exception to the full-linkage requirement to allow the case where there's a resource in included that's not connected to the primary resource or any other included resource (i.e., it's really just specifying a second, independent creation).

I do think we should require, at a minimum, that implementations support graphs in which the only temporary resource identifier objects point from the primary data to sideposted resources. (That is, graphs where the included resources don't link to one another and are connected to the primary data.) A server that didn't support this simple case seems like it would be borderline useless.

I think the only restriction on the graph is that there is full linkage. The client can keep track of tid and build complex graphs pertaining to a single resource.
The reason is that you are minimising the amount of domain that is being leaked outside of the API. Creating a complex hierarchy on the client side and posting as a single resource is one thing but to build any arbitrary resources on the client and throw them at the server to sort out isn't much of a specification.
If you don't restrict to a single resource then you're saying that the endpoint can accept batch or any combination or resources regardless of how they are joined. If that's what the client needs then a REST service is no longer appropriate.

I second @brainwipe in that dropping the full linkage requirement opens the door to highly unstructured APIs (namely a single /god endpoint that allows pretty much anything).

Ok, you've both persuaded me; let's keep the full linkage requirement. I've updated the OP accordingly.
What do you think about minimum support requirements (the second bullet)?
Also, @dgeb any thoughts on this issue (or sideposting in general)? I want to make sure to get your input to flag/catch any issues before the details of this proposal get too far along.

Regarding the minimum support requirement, I think servers will usually have some kind of authorization mechanism (like you're allowed to create a new user, along with a few shipping_addresses, but you're not allowed to sidepost any evaluation for the user). I'd be in favor of a clearly stated behavior to signify the client that "this sideposting request is not allowed".

implementations support graphs in which the only temporary resource identifier objects point from the primary data to sideposted resources

Completely agree. If you sidepost to other primary resources, you're doing batch/loose graphs by the backdoor.

@brainwipe I believe @ethanresnick's comment you're referring to was actually about setting minimal graph supports, rather than limiting graph complexity.

Ah, thank you...
As long as you have full linkage, I don't think a minimum requirement is needed beyond the existing spec of a single resources and no children. The graph doesn't have to be a strict tree or unidirectional directed structure as a minimum, as long as there is full linkage.
Error reporting using HTTP status codes and a meta tag is going to be very important for the client developer but that is implicit in the design of any API.

I agree with @brainwipe regarding the fact that full linkage should be the only requirement.

A server that didn't support this simple case seems like it would be borderline useless. @ethanresnick

Well such a server would be implementing the current spec, no?

I'd be in favor of a clearly stated behavior to signify the client that "this sideposting request is not allowed".

Yeah, I definitely want that too. I think that falls under a different checklist item from #1197, namely: "Should we offer further guidance on responding to unsupported sideposting requests? (Unsupported graph, etc.)". I didn't include that question here because I think it's still blocked on #1199, which I'm gonna try to get back to really soon. But yeah, I agree with you.
For minimum support requirements, it sounds like we're implicitly saying there shouldn't be any, which I guess I'm fine with.

For minimum support requirements, it sounds like we're implicitly saying there shouldn't be any, which I guess I'm fine with.

That sounds a little harsh. I think we do already have a minimum requirement: a single resource and full linkage. That's a really solid minimum requirement. ;)

@brainwipe I think by "minimum support requirements" @ethanresnick meant server-side requirements, i.e. "state that servers have to support some simple graphs, such as trees of height 1". My take, again, is that this should be left to server implementation.

If we all agree that

client-side restrictions are full-linkage only (plus the existing restriction that there should be at least one resource with type among those represented by the endpoint)

A server MUST return 409 Conflict when processing a POST request in which the resource object’s type is not among the type(s) that constitute the collection represented by the endpoint.

there are no server-side restrictions

I believe we should close this issue, and open a new one discussing the guidance for responding to unsupported sideposting requests.

ping @ethanresnick

Sorry for slow response. Been busy and have been mulling this over a bit. I think my feelings depend on how rigorously we keep the separation between primary and sideposted resources (see my latest comment in https://github.com/json-api/json-api/issues/1215#issuecomment-329921879 about that). If we blur the two together, then I agree with what your proposal. If primary and sideposted remain conceptually separate, though, I think I would still want to require that a server that supports a complex case (e.g., the linking from sideposted to primary shown below) to also support the most-common/basic case of linking from primary to sideposed.
I.e., servers (or server libraries) supporting:
POST /articles
{
  "data": {
    "type": "articles",
    "tempid": "1",
    "attributes": { /* .... */ }
  },
  "sideposted": [{
     "type": "people",
     "relationships": {
       "firstArticle": {
       "data": { "tempid": "1" }
     }
  }]
}

should also be able to support:
POST /articles
{
  "data": {
    "type": "articles",
    "relationships": {
      "author": { "data": { "tempid": "1" } }
    }
  },
  "sideposted": [{
     "type": "people",
     "tempid": "1",
     "attributes": { /* ... */ }
  }]
}

This requirement would say to server library authors: if you want the "you are compliant" stamp of approval, and you're gonna support some sideposting, you have to support the basic case. Hopefully, that would stimulate more support for the sideposting most people care about, and give people arguing that a library should add such support a bit of ammunition (they could point to the spec and say "see, this is required").
This requirement would have to be written in a way that makes it clear that a particular API can choose not to support a particular graph at a particular endpoint if supporting that graph would violate one of its business rules. (This is analogous to how the requirement that a relationship link must support updating a relationship is not taken to mean that an API must allow such updates even if the user doesn't have permission to perform them—even though we never state that exception explicitly.) I'm not trying to impinge on individual APIs here, so much as raise the general level of support clients can expect, like with sparse fieldsets.

This proposal seems to be similar to the bulk create extension, for which I published a draft some time ago. Let me propose consolidating the discussion on that extension. I'm happy to incorporate feedback.
Unless someone speaks up, I will close this issue in a couple of months as stale.

authors: beauby brainwipe ethanresnick jelhan

repo: json-api/json-api


text:
Support JSON Schema draft 7

Thanks for the great work!
It would be nice to update ajv to version 6+ so that we can use JSON draft version 7 😄

note infer schema from json on https://www.jsonschema.net/ creates draft 07 by default

not sure if this helps, but the fork origin is also alive, and they have updated: https://github.com/jessedc/ajv-cli/pull/45

Any chance of this happening?
I'd be happy to help maintain this (including try to reconcile w/ ajv-cli if possible), as I think it's super cool :)

authors: G-Rath glensc oxlay

repo: json-schema-everywhere/pajv


text:
Obfuscate telephone number

Additionally to the email the phone number should also be obfuscated to prevent calls from "Microsoft Support India" pretending PCs of the phone numbers owner are infected with malware.
This obfuscation should work without clownflare dependencies

Support this

authors: Suncatcher pke

repo: jsonresume/registry-server


text:
Autoscroll

Hi, i'm using feature slider
https://github.com/jsor/jcarousel/tree/91b1616fab0e3dfbdb8f39e42f39c48cbe6000d6/examples/feature_slider
It's work perfectly, but i can't install autoscroll:
My Code:
`jQuery(function() {
$('#mycarousel')
.jcarousel({
start: 5,
scroll: 1,
wrap: 'circular'
})
.jcarouselAutoscroll({
interval: 1000
});
});`
When I change jcarousel.min to jcarousel script stop working.
Can you help me?

The example is for version 0.2 which isn't compatible with the latest 0.3.

repo: jsor/jcarousel


text:
How to use this plugin on a docker machine?

This plugin works perfectly on my local machine, however, it doesn't work on my Docker machine. On my local machine the open task set as following:
  server: {
    url: 'http://localhost:<%= express.options.port %>'
  }

On my Docker machine as following:
  server: {
    url: 'http://192.168.99.100:<%= express.options.port %>'
  }

NOTE: 192.168.99.100 is my VM's ip address on my Mac.
I got the following error:
app_1   | Running "open:server" (open) task
app_1   | Warning: Command failed: /bin/sh -c /www/app/node_modules/open/vendor/xdg-open "http://192.168.99.100:3000"
app_1   | /www/app/node_modules/open/vendor/xdg-open: 1: /www/app/node_modules/open/vendor/xdg-open: xdg-mime: not found
app_1   | xdg-open: no method available for opening 'http://192.168.99.100:3000'

I have been googling for a while but still no luck. Any help would be appreciated.

any solution yet?

@swateek  did you ever find a solution? I am having the same issue

@spock123 let me understand this.. you are running an application on docker where the Gruntfile.js fires a web browser to open.. correct?
If that's the case then it won't work.. the docker doesn't have a UI browser to fire up. What I have done now is - my application is a MEAN stack that has been scaffolded with Yeoman. So I dumped this approach and proceeded to make a distribution build which was hosted on nginx.
If this doesn't work, check for the port that is exposed for the web browser. Expose the same for docker too - not sure if this will work, but might.

@swateek yeah, I've now realized why it cannot work.. thanks.. So I just decided to drop it and just start the browser manually. Actually I like this approach better, because the Grunt Open task often opens a new browser window/tab, even if I already have other tabs open on the same page.

authors: lvarayut spock123 swateek

repo: jsoverson/grunt-open


text:
Update CONTRIBUTING.md on next branch

This could even be ported to develop I guess...

:+1: @omgmog if you want a free additional PR to add to your count, feel free to create one for develop 😀.

@spikeheap done.

authors: omgmog spikeheap


text:
Ensure root is set in both worlds.

Fixes #159, for real, hopefully.
This PR contains all changes in #173, so review and merge that first.

I just diffed it against #173 at the command line :) But I'll go review that one now.

Sorry, should have highlighted that https://github.com/jspecify/jspecify-reference-checker/pull/174/commits/f1fbe5aea6661876e74e6efc1325fc74fed84f65 is the "meat" of this PR.

I've confirmed that this fixes the crashes from my testing in the Google depot.

authors: cpovirk wmdietl

repo: jspecify/jspecify-reference-checker


text:
Disable ASLR in the generated PE file

This would be a simple modification to the PE headers and allow for the PE file produced from the shellcode to be at the default image base. Could be driven by a command line argument.

Added with v0.0.4 commit 50524d2aa17b7fbebf2be871425547d3e3c1e8c0

repo: jstrosch/sclauncher


text:
Native geolocation (CoreLocation) is asking for user permission on every request to CL

This is inconvenient, but according to docs and some threads on stackoverflow, to resolve this app needs to be signed. So fixing this requires #18 and block #22.
Found out, that when the CL requests come from the Airqmon helper process (renderer), the CL remembers user consent. This could be a bug so relying on it is not recommended.

Decided to remove the CoreLocation module because it wasn't reliable.

repo: jsynowiec/airqmon


text:
Support for cimfs

Includes cimfs in containerd main.go, vendors latest go-winio & golang.org/x/sys
Signed-off-by: Amit Barve ambarve@microsoft.com

We need to merge corresponding cimfs PRs in hcsshim & containerd first and the update this PR to revendor those commits and only then merge this.

Opening another PR in new cri clone at github.com/kevpar/cri


text:
ensure all formalized datetime formats are supported

Feature
All formalized datetime formats should be supported, e.g. RFC 3339, ISO 8601, etc.
Update the README.md section Features.
Also see https://www.unixtimestamp.com/index.php

As of 0.0.34

[X] ISO 8601 https://github.com/jtmoon79/super-speedy-syslog-searcher/blob/0.0.34/src/data/datetime.rs#L2084-L2116
[X] RFC 3339 https://github.com/jtmoon79/super-speedy-syslog-searcher/blob/0.0.34/src/data/datetime.rs#L2084-L2116
[ ] RFC 3164 supported, but the test cases need to be commented like // RFC 3164 syntax
[ ] RFC 2822 supported but very limited, the test cases need to be commented like // RFC 2822 syntax, also need more varying forms of it as RFC 2822 allows arbitrary whitespace. Not all permuations need to be supported (like for example, datetimes crossing newlines would not be possible) but an attempt to support more variations could easily be done.
[ ] RFC 5424 supported, but the test cases need to be commented like // RFC 5424 syntax

Each one of these formalized types needs a sample log file under ./logs/standards/.

Once this is fixed then this Issue can be closed.
$ ./target/release/s4 ./logs/standards/RFC-2822.log
WARNING: no syslines found "./logs/standards/RFC-2822.log"

$ ./target/release/s4 --version
super_speedy_syslog_searcher 0.4.57


text:
Support for rendermime plugins

JupyterLab creates them here: https://github.com/jupyterlab/jupyterlab/blob/c1f0b02748575a8fae0b4e3cede3a9060a94a0ea/packages/application/src/lab.ts#L81-L86
JupyterLab Classic should also be able to do so here:
https://github.com/jtpio/jupyterlab-classic/blob/7d81a01fe2234f549789811fff96c0b655c821df/packages/application/src/app.ts#L24-L30

For now it's ok since it's possible to create them manually with:
import { createRendermimePlugins } from '@jupyterlab/application/lib/mimerenderers';

for (const plugin of createRendermimePlugins(mimeExtensions)) {
  app.registerPlugin(plugin);
}

repo: jtpio/jupyterlab-classic


text:
Where can I find bisulfite data?

I want to compare the methylation frequency.
It is said that in the example data set we have also included bisulfite data from ENCODE for the same region of chromosome 20.
I didn't find the file in example dataset previously , and the example link is invalid now.
Thanks for help

You can find it here.
https://www.encodeproject.org/files/ENCFF835NTC/

repo: jts/nanopolish