text:
Uncaught TypeError: kakao.maps.LatLng is not a constructor"

개발중인 앱에 적용하고 있는데 다음과 같은 에러가 나고 있습니다.
`I/chromium( 3453): [INFO:CONSOLE(4)] "A parser-blocking, cross site (i.e. different eTLD+1) script, http://t1.daumcdn.net/mapjsapi/js/main/4.4.9/kakao.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://dapi.kakao.com/v2/maps/sdk.js?autoload=true&appkey=hideappkey&libraries=services,clusterer,drawing (4)
I/chromium( 3453): [INFO:CONSOLE(4)] "A parser-blocking, cross site (i.e. different eTLD+1) script, http://t1.daumcdn.net/mapjsapi/js/main/4.4.9/kakao.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://dapi.kakao.com/v2/maps/sdk.js?autoload=true&appkey=hideappkey&libraries=services,clusterer,drawing (4)
I/chromium( 3453): [INFO:CONSOLE(4)] "A parser-blocking, cross site (i.e. different eTLD+1) script, http://t1.daumcdn.net/mapjsapi/js/libs/services/1.0.2/services.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://dapi.kakao.com/v2/maps/sdk.js?autoload=true&appkey=hideappkey&libraries=services,clusterer,drawing (4)
I/chromium( 3453): [INFO:CONSOLE(4)] "A parser-blocking, cross site (i.e. different eTLD+1) script, http://t1.daumcdn.net/mapjsapi/js/libs/clusterer/1.0.9/clusterer.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://dapi.kakao.com/v2/maps/sdk.js?autoload=true&appkey=hideappkey&libraries=services,clusterer,drawing (4)
I/chromium( 3453): [INFO:CONSOLE(4)] "A parser-blocking, cross site (i.e. different eTLD+1) script, http://t1.daumcdn.net/mapjsapi/js/libs/drawing/1.2.6/drawing.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://dapi.kakao.com/v2/maps/sdk.js?autoload=true&appkey=hideappkey&libraries=services,clusterer,drawing (4)
I/chromium( 3453): [INFO:CONSOLE(22)] "Uncaught TypeError: kakao.maps.LatLng is not a constructor", source: about:blank (22)`
sdk가 정상적으로 로드가 되지 않은거 같은데 InAppWebView를 이용할때도 마찬가가지로 "Uncaught TypeError: kakao.maps.LatLng is not a constructor" 에러가 납니다.
해결에 도움이 될만한 내용이 있을까해서 문의 드립니다.
참고로
다른앱에서 InAppWebView를 이용하여 Kakaomap이 정상적으로 동작 했었습니다.
문제가 되는 앱에서 InAppWebView에서 GoogleMap으로 했을떄는 정상적으로 표시됩니다.
로그에서appkey는 'hideappkey'로 대체 했습니다.

android:usesCleartextTraffic="true"
문제 였습니다.

아 해결되어서 다행이네요! 혹시 사용하시다가 다른 문제가 발생되면 말씀해주세요!

authors: clinkchoi johyunchol


text:
当 LaunchRequest 时 意图匹配 __check_handler 函数字符串拼接问题

Bot.__check_handler() 函数字符串拼接问题

已修复，master没问题忘记同步分支了

source: gharchive/pull-request

authors: imzeali jokenwang

repo: jokenwang/bot-sdk-python

license_type: permissive

license_source: github-api


text:
False negatives

I wrapped this as a Python extension and tested it with a range of inputs. What I observed was that I would get false negatives if I added hundreds of thousands of items and then checked if they were found. It turns out this is because the victim support is not implemented and this seems to corrupt the filter past a certain point (maybe dropped victims).
I implemented the victim support and this fixed the false negatives. However, what I then experienced was that if I tried to iterate through the added items and remove them, I encountered false negatives due to filter corruption. It is possible that this was due to my victim handling in the removal code but who knows at this point.
I suggest you alter the readme to indicate this implementation requires more work before it is not suitable for use. You can find my altered code here.

Thanks for this. I'll pull in your changes and add your attribution. Agreed on the comment addition, this was just a PoC library I didn't expect anyone to really use and have had a number of people send me things since.

source: gharchive/issue

repo: jonahharris/libcuckoofilter

license: mit

license_source: bigquery


text:
Typo in DWDStationData class name

Extremely minor, but I think the 'T' should be lower case: https://github.com/jonas-scholz123/sim2real-downscaling/blob/0161881d6034026a0a5789eae9d0ff458518a423/sim2real/datasets.py#L118

Thanks, fixed in a8d83b1

license: MIT


text:
nslookup kubernetes doesn´t resolve using busybox

kubectl -n default exec -ti busybox-68654f944b-99fj4 nslookup kubernetes
Server:	10.32.0.10
Address:	10.32.0.10:53

** server can't find kubernetes: NXDOMAIN

*** Can't find kubernetes: No answer

See https://github.com/kubernetes/kubernetes/issues/66924, https://github.com/kubernetes/dns/issues/253, https://github.com/docker-library/busybox/issues/48 and https://stackoverflow.com/a/52036125/4964553.

repo: jonashackt/kubernetes-the-ansible-way


text:
Not working.

@jonasstrehle help me please.
I am useing node v15.12.0, but after install dependencies have next error. How can it be resolved?
mnt/d/Projects/Dev/supercookie/server$ node --experimental-json-modules main.js
node:internal/process/esm_loader:74
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'express.js' imported from /mnt/d/Projects/Dev/supercookie/server/main.js
    at new NodeError (node:internal/errors:329:5)
    at packageResolve (node:internal/modules/esm/resolve:714:9)
    at moduleResolve (node:internal/modules/esm/resolve:755:18)
    at Loader.defaultResolve [as _resolve] (node:internal/modules/esm/resolve:869:11)
    at Loader.resolve (node:internal/modules/esm/loader:86:40)
    at Loader.getModuleJob (node:internal/modules/esm/loader:230:28)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:57:40)
    at link (node:internal/modules/esm/module_job:56:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Thank you, I was missing the express module, fixed!
You can install it via npm i express.

authors: davrt jonasstrehle

repo: jonasstrehle/supercookie


text:
Add --no-version-check flag

In many cases we don't need to perform an update check every time, so I added the --no-version-check flag to allow users to skip the version check.

Can this be merged please?


text:
Get.toNamed preventDuplicates: false has no effect

The version I am using is get: 4.6.5.
I read the description of the preventDuplicates parameter:
 /// By default, GetX will prevent you from push a route that you already in,
  /// if you want to push anyway, set [preventDuplicates] to false

page A -> page B -> page C -> page D -> page B
When I set preventDuplicates: false, page B was not refreshed when toNamed page B for the second time.
Can you help me find out what's going on? According to the documentation, page B should be refreshed.
@jasonlaw

Do you want to open the page again, but with a new controller?
Because the new page was probably opened, but it must be using the previous page's controller.

@jonataslaw
Thank you very much for taking the time out of your busy schedule to reply to me. The new interface (page B) and controller are unchanged from the previous page B.
I want to refresh the data in the page B interface when jumping to the same interface (the existing page B) again. I don't know how to do it.

To better help you, it would be better to understand your business logic:
1- Will the previous page B be deleted from the stack? If so, you need some method like Get.off to remove it when going to the next route.
2- Will you maintain two versions of Page B? If so, it's better to use a GetWidget, or even a StatefulWidget, and keep the controller "Not global" since you can only have 1 global controller of the same type (in fact you can have more using tags , but this makes the code so complex, that I prefer not to use it, although I make it available to anyone who wants to use it).

Thank you again for your reply. I value your reply very much.
Yes, I will maintain multiple page B.
I replaced GetView with GetWidget and Hot Restart, but it still seems to be the same as before, with no effect.

Using GetWidget you need to use Get.create and not Get.put or Get.lazyPut.

My problem has been solved.
Thanks for the finishing touch.
It turns out that GetWidget needs to be used in conjunction with Get.create to achieve the effect I want.

onInit is called whenever a new dependency is created with Get.create().
This means that if you insert a widget that is in the tree 3 times, it will be called 3 times. And so on.
This warning is not an error, it is just a log informing that some party tried to remove the dependency, but does not have permission to do so.
However, it can point to problems, if you, for example, used the dependency created by Get.create in GetWidget, and within a GetBuilder, for example.

I seem to understand a little bit,
If so, does it mean that every time I use GetBuilder in GetWidget, onInit is called once.

I would like to ask if there is any other way to achieve my needs besides using GetWidge? I have a very complex interface and I don't feel like using GetWidge is appropriate.
@jonataslaw

authors: giantss jonataslaw

repo: jonataslaw/getx


text:
Classify name of Class in Python Template (as this will be done with …

…the Reflex Class name if its read from js during runtime).
Type of PR (feature, enhancement, bug fix, etc.)
bugifx
Description
Classify method is added during code generation.
Fixes #54
Why should this be added
Well.. its a fix.

@jonathan-s I had to do some minor tweaks that all generated stuff is in-sync (controller, view, js code). I introduced two variables now, reflex_name and class_name (which is the classified version). Please have a look if you feel good with the conventions i use now everywhere.

@JulianFeinauer  🎉

authors: JulianFeinauer jonathan-s

repo: jonathan-s/django-sockpuppet


text:
Recommendation alternative to color-mod

Since color-mod spec dead, is there any replacement recommendation that PostCSS should/could point users to?
If I understand PostCSS correctly, it is intended to be spec-compliant, and in that case, no recommendation would make sense if no spec is currently being worked on for color stuff. Is that the case or the docs could point to some alternatives or recommendations?

Same here. We would like to use postCSS instead of SASS for our design-system / component lib.
Color functions are a must-have :-/

You could define custom color functions using https://github.com/andyjansson/postcss-functions

I guess, this issue can be closed in favor of #37.

see :

https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-relative-color-syntax
https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-mix-function

authors: 0gust1 AlexWayfer FernandoBasso TheComputerM romainmenke


text:
[REF]: Refactor network.add_tonic_bias

Refactor network.add_tonic_bias to accept a dictionary of cell types and their amplitudes.
Changed how drivers create tonic inputs
Adjusted unit tests to the new network.add_tonic_bias arguments

Don't forget to add tests!

Don't forget to add tests!
@jasmainak
I modified the current unit test that use this function. Should I add more?

@ntolley @gtdang I applied the last changed. This one is ready to go!

made a couple of last-minute comments @kmilo9999 . Sorry I didn't have time to look before but would be great if you could address in next PR. Thanks for your efforts !

Apologies @jasmainak I was hasty with the merge button! We can definitely address this in the follow up for #715

No, you're fine! Please don't wait for my green light to merge.
One more thing to check: was any example updated? Maybe the gamma example uses tonic bias?

authors: jasmainak kmilo9999 ntolley

repo: jonescompneurolab/hnn-core


text:
🛑 BG - Bulgaria is down

In 07fa111, BG - Bulgaria (https://www.skyshowtime.com/bg/help/) was down:

HTTP code: 404
Response time: 805 ms

Resolved: BG - Bulgaria is back up in 9428b77 after 1 hour, 1 minute.

repo: jonesyriffic/gsp-sst


text:
News blurbs not properly limited to a few lines

Also, doesn't appear that html is rendered correctly.

So, to summarize, two issues here:

[x] News blurbs on the news page should be limited to ~3 lines or so and then have a [read more] after a line break
[ ] It doesn't appear that html-formatted news entries are being rendered correctly

I believe that someone already fixed this issue. The test website seems to fix these issues. Its rendered to 2 lines though.

I don’t think the test website has html-formatted news entries. You’ve got to enter some test cases.
Sent from my iPhone

On Dec 29, 2018, at 11:31 AM, Hank Tadeusiak notifications@github.com wrote:
I believe that someone already fixed this issue. The test website seems to fix these issues. Its rendered to 2 lines though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This is still a problem.

I think we should have [read more] on its own line.
Also, we should stop the blurb when we hit a
 or

I assume what you mean by the html being improperly rendered is that it has html elements present and it is not just pure text. This should be fixed once CKEditor is added in. It will take out any styles, links, or anything html and only display the pure text in the previews.
I don't think the max number of lines will be fixed from adding CKEditor. However, the test website appears to be limited to 2 lines max, I'm not sure why this is a problem on production.
I plan on un-assigning myself from this issue to spend my final days focusing on the postgres and django issue unless you have a problem with this.

I believe I fixed this. If you would like to take a look at this one on the test website and let me know if it looks good. I copy and pasted the html the recent article about Alieen to the test site so you can see how it would affect that.

Looks good!
On Wed, Mar 20, 2019 at 2:47 PM Hank Tadeusiak notifications@github.com
wrote:

I believe I fixed this. If you would like to take a look at this one on
the test website and let me know if it looks good. I copy and pasted the
html the recent article about Alieen to the test site so you can see how it
would affect that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jonfroehlich/makeabilitylabwebsite/issues/618#issuecomment-475041374,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABi-9cPwU7NxcZhc7gkWtPz9AixpBdqCks5vYqxPgaJpZM4XEfKv
.

--
Jon Froehlich
Associate Professor
Paul G. Allen School of Computer Science & Engineering
University of Washington
http://www.cs.umd.edu/~jonf/
http://makeabilitylab.io
@jonfroehlich https://twitter.com/jonfroehlich - Twitter

authors: htadeusiak jonfroehlich

repo: jonfroehlich/makeabilitylabwebsite


text:
🛑 Rideable.ch is down

In 141e958, Rideable.ch (https://www.rideable.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rideable.ch is back up in 002c128.


text:
how to remove temporal lags according to the offset?

Thanks for the work!
I wonder to know that after I get the offset between the audio and video, how can I do to  remove the temporal lags? That is, making the video synced with the audio?
Looking forward to your reply!

I think it is the same discussion as https://github.com/joonson/syncnet_python/issues/53

authors: joonson windTwT


text:
ff7r-data-editor ver. 1.0.0 B6

has a serialization error can u chk plz thx

This is not enough information to investigate the issue.

I'm closing this. Feel free to reopen it if you want to add more info.

authors: TeoMikey jordanbtucker


text:
esy link workflow.

Test and document that using symbolic links work. I think this requires that we have implemented proper out of source builds. (Either by packages natively supporting them, or by copying over ones that don't).

[ ] Fix Env Dirty Computation https://github.com/jordwalke/esy/issues/76
[ ] Decide and implement general approach.

We should check the field esy.buildsInSource and prevent you from symlinking to a package if it builds in source. Otherwise, multiple dependers could link to the same package and that package builds multiple times with artifacts stepping all over each other.

Also, if locally developing against a linked package, it is all the more important that the contents of that linked package contribute to the build cache key:
https://github.com/jordwalke/esy/issues/59

I'm not quite able to understand what is/isn't supported with symlinks right now. But I thought I'd propose an approach - feel free to let me know what you think.

For symlinked packages, you will often be changing the source of that symlinked package many times while developing locally. Most of the time when you change the source of the symlinked dependency, and then rebuild the top level project, you don't want those build artifacts taking up space in the cache (that can grow huge). So it seems the best workflow for symlinked packages, would be to store the symlinked package's build artifacts inside of your top level _build/_esy directory. It's almost like there's a secondary ~/.esy directory inside of your top level app's _build directory.
It seems that symlinked directories is the most important use case for package source hashing participating in the build cache key. For non-symlinked packages, it would be nice to not have to spend hashing all the sources to discover build cache keys. Would that mean that we may be able to enable it for only symlinked packages? Number one above might make this easier, because then the secondary ./_build/.esy cache is known to use a different hashing scheme. Every cache store must always use the same caching scheme and with a separate ./_build/.esy cache store, using a different cache key scheme - everything should work.

Thoughts?

I've made significant progress on this. Local and symlinked dependencies build correctly according to the conventions discussed in this thread, but the main issue is perf, and I've made an issue to track that here. Closing this one now.

repo: jordwalke/esy-issues


text:
Install Claude-web API (with example code)

Hello following is the code that works web on Claude web:
https://github.com/chathub-dev/chathub/blob/main/src/app/bots/claude-web/index.ts
Is it possible to be installed on Chatgpbox ?

https://github.com/josStorer/chatGPTBox/releases/tag/v2.4.1

repo: josStorer/chatGPTBox


text:
Support Additional Godot Versions

Currently, the action only supports Godot 3.2.
It would be better if the action had a parameter that determined which version of Godot is used to build the project.

NOTE: Could be opportunity to support custom builds as well

NOTE: An export template in the export preset can be used without needing as custom build of godot

Have you found a way to do that? as I'd love to use your action which makes it a lot easier, but I mainly use the mono version.
The only solution I've come up with would be to base all versions on a mono docker, and download / install everything Godot related (in the parameterised wanted version : standard / mono / custom) at runtime before building, but that would be a VERY long build repeated for each value of the matrix... (if I am not mistaken)
So, I guess creating a standard and mono tag for each godot release would be a better solution, but keeping multiple branches can be a hard work. And that wouldn't allow custom builds.
Anyway, I'd be happy to help as I won't create a new action when we can make this one even better :)

Have you found a way to do that? as I'd love to use your action which makes it a lot easier, but I mainly use the mono version.
The only solution I've come up with would be to base all versions on a mono docker, and download / install everything Godot related (in the parameterised wanted version : standard / mono / custom) at runtime before building, but that would be a VERY long build repeated for each value of the matrix... (if I am not mistaken)
So, I guess creating a standard and mono tag for each godot release would be a better solution, but keeping multiple branches can be a hard work. And that wouldn't allow custom builds.
Anyway, I'd be happy to help as I won't create a new action when we can make this one even better :)

Hey @remi-san 👋
Yeah, definitely high up on the to-do atm.
My first thought is using build args. Where the action's docker image would take in an argument for the image to use as it's initial version. It doesn't look GitHub Actions supports this out of the box, so it's likely it'll have to wrapped in JavaScript calls to build the docker image be. I've used dockerode on other projects to achieve a similar thing. So it'd pull the base image, add the runtime script, and then pass in inputs.
I noticed your repo setup-godot-action which give me the idea that potentially another action, such as yours, could optionally download and configure Godot, then that can be mounted to the build image. This could end up being a bit messy though, so it'd be nice to avoid if possible.

Hey @remi-san 👋
Yeah, definitely high up on the to-do atm.
My first thought is using build args. Where the action's docker image would take in an argument for the image to use as it's initial version. It doesn't look GitHub Actions supports this out of the box, so it's likely it'll have to wrapped in JavaScript calls to build the docker image be. I've used dockerode on other projects to achieve a similar thing. So it'd pull the base image, add the runtime script, and then pass in inputs.
I noticed your repo setup-godot-action which give me the idea that potentially another action, such as yours, could optionally download and configure Godot, then that can be mounted to the build image. This could end up being a bit messy though, so it'd be nice to avoid if possible.

setup-godot-action is not production ready at all, I'm pretty new to github actions and it was made as an attempt to use another method that doesn't use any docker image (because the image is very big and takes a long time to pull at each call). But downloading Godot (and the templates) on the ubuntu machine takes ages... so not the best solution either (+I must have missed some deps to install as it doesn't work at all).
But I guess my script allowing to download the correct version of the files does the job though.
Aboult building a new image with args, aren't you afraid it'll be a very long build too? especially if we have to build it at every run (knowing that the downloading part of the templates is the real issue here).

setup-godot-action is not production ready at all, I'm pretty new to github actions and it was made as an attempt to use another method that doesn't use any docker image (because the image is very big and takes a long time to pull at each call). But downloading Godot (and the templates) on the ubuntu machine takes ages... so not the best solution either (+I must have missed some deps to install as it doesn't work at all).
But I guess my script allowing to download the correct version of the files does the job though.
Aboult building a new image with args, aren't you afraid it'll be a very long build too? especially if we have to build it at every run (knowing that the downloading part of the templates is the real issue here).

Aboult building a new image with args, aren't you afraid it'll be a very long build too? especially if we have to build it at every run (knowing that the downloading part of the templates is the real issue here).

So GitHub actions already does this for Docker Actions. You'll notice the extra step. It shouldn't have to pull the entire . The build args would change the base image to pull (which should have Godot already configured, like godot-ci containers)
My idea is wrapping the build process in JavaScript so we can inject the build args for the image name and tag. That should allow the use of other version of Godot and have around the same total run time.

Aboult building a new image with args, aren't you afraid it'll be a very long build too? especially if we have to build it at every run (knowing that the downloading part of the templates is the real issue here).

So GitHub actions already does this for Docker Actions. You'll notice the extra step. It shouldn't have to pull the entire . The build args would change the base image to pull (which should have Godot already configured, like godot-ci containers)
My idea is wrapping the build process in JavaScript so we can inject the build args for the image name and tag. That should allow the use of other version of Godot and have around the same total run time.

authors: josephbmanley remi-san

repo: josephbmanley/build-godot-action


text:
Add some new modes in Config and add a Join game NPC

Hello developers, I would like to suggest that you can improve the BungeCord mode by adding an NPC (such as Hypixel) to allow players to connect to the game through BungeCord. You can also add Lobby and Game options to identify whether the server is a Lobby server or a Game server. This way, you can do better

I want to use RealSkywars' Level and achievements in the Lobby but I need use BungeeCord mode in realskywars Config

What you want to use is a shared RSW database between the lobby and the game server

but ur RealSkywars can't custom ItemJoin

what?

I change the Config "ITEM in lobby" but there is nothing to appear I want to remove the "Maps" Item on Lobby

Put it in slot -1 so it disappears

ok thx
I translate the language file to Chinese Maybe I can give u next Sunday
This plugin is very good!

Ok. Make sure to open a issue with the new config file, thanks.

repo: joserodpt/RealSkywars


text:
GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.16 to before v5.16.10",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=660a6126f8c3208f6df8d552039cda078a8426d1",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4ad70fad65d7faf7d3d3126218eba48651d0674a"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "660a6126f8c3208f6df8d552039cda078a8426d1",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "4ad70fad65d7faf7d3d3126218eba48651d0674a",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "Revert \"gfs2: check context in gfs2_glock_put\"\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.10 by commit 4ad70fad65d7faf7d3d3126218eba48651d0674a, it was introduced in version v5.16 by commit 660a6126f8c3208f6df8d552039cda078a8426d1. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000497

repo: joshbressers/gsd-database


text:
restructure usage examples

Addresses issue #6

Where did embedded shell scripting example go?

authors: glennj joshgoebel

repo: joshgoebel/wren-console


text:
ability to run aider single prompt worker

make some convenience functions that will let a user run aider behind the scenes without firing up a split

make todo comments in code
fire background worker - shows prompt for directions or uses a generic one of 'complete todos in the code', send open buffers as context
show visual queue it is running
display output in notification

let user easily register a backgroud worker with different aider params

Maybe it would help to borrow some code from https://github.com/jackMort/ChatGPT.nvim

authors: joshuavial thiswillbeyourgithub


text:
Feature Request: Internationalization

Language picker on /admin
commited games go into subdirectories for languages. i.e games/lang/de/german-game.json

Need to do a bit of research on best library/practice for my use case. When ive seen internationalization in the past there is a usually a file where the actual text gets brought in and each string text within the client pulls from that file.
Elements/Pages where internationalization needs to be placed:

admin console controls/help text
game window titles. i.e text like round, total, fast money, etc.
"Family Feud" on the title screen.
maaaaaaybbbeee the timers on fast money. ill have to look up how languages on differn't applications use numbers
Game creator
any future new ui

lots of work, probably can't hash this out in one session just based on the amount of text ill have to replace with variables, but I will make incremental pull requests on stages within this feature. Once I have all text replaced with english ill create a doc for helping with internalization. I do have a couple friends who know  spanish so I can probably ask for their help 😀

Added in 1.2.0 release.

repo: joshzcold/Cold-Family-Feud


text:
🛑 AlTaxi is down

In 23f8553, AlTaxi (https://altaxi.app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AlTaxi is back up in 78fc4ca after 10 minutes.


text:
Added pagination page size

This pull request is for issue #128 (https://github.com/joukevandermaas/saule/issues/128#issuecomment-312198306).  Default values for page size and page size limits can be configured imperatively at app start with the JsonApiConfiguration.PaginationConfig property, or with web.config appSetting values.  See the PaginationConfig PageSizeAppSettingKey and PageSizeLimitKey constants.  The Pagination attribute has had a PageSizeLimit property added for overriding the application default values.
I hold the opinion that with page[size] from the query implemented, that the default of 10 as it existed with the Pagination attribute should be done away with, and that the library should require both page[number] and page[size] if either is supplied, but this implementation has the page size default set to 10 for compatibility with legacy versions of Saule.
This is my first time contributing to any open source projects, so my apologies in advance if there are issues with this pull request.

Regarding the general remarks:
"I think there should be some more edge-case tests for this. You can add them in the same file you added the current ones."
I'm happy to do this but I'm not sure what sort of situations you have in mind.
"I've tried to keep Saule pretty low on configuration wherever possible. Any time we can pick sensible defaults instead, I prefer that option."
We've got differing views on this when it comes to the pagination, but I did make it so that the library works configuration-free with the same behavior as it had before.

Some test scenarios I could think of:

set maximum page size to 1, assert that:

client-specified page size of 1 is allowed and works
client-specified page size of > 1 is rejected
no client-specified page size works (and returns one result)

set maximum page size to 'infinity' (I believe this is -1 in the code?), assert that:

client-specified page size of 1 is allowed and works
client-specified page size of 1000 is allowed and works
no client-specified page size works and returns 10 results (or whatever the default is)

set maximum page size to 50, assert that:

client-specified page size of 1 is allowed and works
client-specified page size of 100 is rejected
no client-specified page size works and returns 10 results (or whatever the default is)

If you can think of some more edge cases based on the code, feel free to add tests there too.

As for the configuration discussion, I don't really like the complexity 'default' configuration adds. It just adds one other thing to keep in mind with everything we implement, which is not a good trade-off at the moment, since I'm the only maintainer of this project. The option to have many people of different experience levels contribute to Saule has been great, and I would like to keep it that way.
In general I believe most people have roughly the same needs, and default values can capture that. This is a more-and-more widely accepted view in the web ecosystem. Look for example at Ruby on Rails, the new ASP Core, Ember, create-react-app, etc.
Configuration is sometimes necessary, but I often prefer to capture those needs in an abstraction instead. For example, for pagination we could make the pagination logic public and extensible (like we did with url generation or filtering). Then consumers of Saule could implement their own pagination schemes and change any defaults they want that way. That tends to be a a lot harder to do if we have many configurable points already, because custom extensions would also need access to those, complicating their API.
Convenience is a compelling argument in many cases, but in this case I don't believe so. In my app, I would much rather find the allowed page sizes near the endpoint's action method than in some global configuration file. That way, if I'm not sure, it's much easier to find.
In any case, thanks for your responses and continued effort on this PR. I hope you can see my point of view :smile:

Hey guys, just want to check this pull request. We also need similar functionality, but as i see there is no activity here for one month. Maybe help is needed with changes to this pull request?

@sergey-litvinov-work I'm pretty happy with the PR as-is, except for two small things:

remove the PaginationConfig class
add the tests as described in the above scenario

@joukevandermaas we actually have a use case where we want to have a default configuration to be different for specific applications. In 1 case we want the default to be 10, but in another case we want the default to be 50. We dont want to force the caller to pass in a pagesize of 50 when literally every call will need to return 50. I see value in leaving this particular configuration, however i do agree with the general assesment on having as small configurations as possible.
Would love it if we could leave it in, but also get better unit tests for the cases you specified. I can work with my team to get that done for you.

authors: edward-rosado erikhejl joukevandermaas sergey-litvinov-work

repo: joukevandermaas/saule


text:
getting resut code from CaptureActivity

Hi, How do i excatly get the result scanned code from CaptureActivity ? is there a method or a static field, or via the onActivityResult ?

Your problem seems like #147 , look into this; hope this will work for you.

When using IntentIntegrator, you get the results back via onActivityResult:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    IntentResult result = IntentIntegrator.parseActivityResult(requestCode, resultCode, data);
    if(result != null) {
        if(result.getContents() == null) {
            Toast.makeText(this, "Cancelled", Toast.LENGTH_LONG).show();
        } else {
            Toast.makeText(this, "Scanned: " + result.getContents(), Toast.LENGTH_LONG).show();
        }
    } else {
        super.onActivityResult(requestCode, resultCode, data);
    }
}

See the Sample for more details.

authors: Dhker Hitong rkistner

repo: journeyapps/zxing-android-embedded


text:
撮影した写真を全て表示する

現在は最新の一枚のみ．全て確認出来て，任意の写真を保存できるようにしたい．
チャットっぽくするのがよさそう？

ワンチャンデータベースいるかも．

チャットにはFirebaseを利用しましょう．
ただデータベースはクラウドっぽいのでアプリコンセプト的に少し気になる．
画像だけnearbyで直接送るか．


text:
🛑 Carolina Heart Center is down

In a2938f5, Carolina Heart Center (https://carolinaheartcenter.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Carolina Heart Center is back up in 3bd537f after 57 days, 23 hours, 16 minutes.


text:
🛑 Plesk 8 is down

In 4fdf8e9, Plesk 8 (https://plesk8.samitsolutions.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Plesk 8 is back up in 62190e0 after 10 minutes.


text:
🛑 Nukkad USA is down

In 89ee827, Nukkad USA (https://nukkadusa.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nukkad USA is back up in bea584c after 6 hours, 40 minutes.


text:
🛑 Tara Gems Galore is down

In df44b77, Tara Gems Galore (https://taragemsgalorellc.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tara Gems Galore is back up in 1d4a36e after 16 minutes.


text:
Convert the image if a format is specified

Currently, if you include an 'extension' in your request, the
Content-type of the response will match that format, no matter what
image format the source image was.
However, this doesn't actually reformat the image. It just changes the
Content-type on the response headers. See #21 .
Reformatting the actual image provides more control, such as accessing
the nice image compression you get from the jpeg format.
This commit passes the 'extension' to the .stream() function.
The image is then streamed back in the specified format.
If no 'extension' has been specified by the user, it falls back to the
Content-type of the source image.
Fixes #21
@jpmckinney I'm not sure how to write a test for this sorry. Also, if this isn't the intention of the proxy, feel free to close this :)

Coverage remained the same at 100.0% when pulling 5afc90069f09d985153dfed47bcab78a10adca98 on equivalentideas:convert-image into 39c855c9cda2955c1d2fb2b1351eb95371f1ea27 on jpmckinney:master.

Thanks!

Thanks @jpmckinney ⭐

authors: coveralls equivalentideas jpmckinney

repo: jpmckinney/image-proxy


text:
Split protocol module spring configs and provide basic integration

tests for each.
Add initial cucumber config for acceptence tests to faciliate the
plugging in of new protocol versions.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #466   +/-   ##
=========================================
  Coverage     99.73%   99.73%
  Complexity     1141     1141
=========================================
  Files           181      181
  Lines          3762     3762
  Branches        196      196
=========================================
  Hits           3752     3752
  Partials         10       10

Impacted Files
Coverage Δ
Complexity Δ

...um/tessera/threading/TesseraScheduledExecutor.java
100% <ø> (ø)
5 <0> (?)

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 21fdc60...7b3c2cf. Read the comment docs.

authors: codecov-io melowe

repo: jpmorganchase/tessera


text:
Preferences: Hide password

The password is currently shown in clear text. I think the user is more used to the characters being replaced by dots.

@jpochyla Is the problem that Druid doesn't have corresponding password textbox yet? If you simply don't have time, would you take a PR for that?
P.S. Thanks for building and working on psst. Worked like charm on my MBP.

Looks like the PR for Druid was closed as the author wasn't aware of anyone who wanted this feature (see: https://github.com/linebender/druid/pull/1839#issuecomment-961144628). I wonder if we showed a proof of concept of psst using this PR that would help things move along.

POC of psst using TexBox::protected from jpochyla/druid/psst rebased on the PR branch available here: https://github.com/restitux/psst. It's working correctly for me on Linux. I cannot test other platforms.

POC of psst using TexBox::protected from jpochyla/druid/psst rebased on the PR branch available here: https://github.com/restitux/psst. It's working correctly for me on Linux. I cannot test other platforms. If others could test, that would be great!

Hi @restitux trying to run the fix on Windows but am getting:

error: -Csplit-debuginfo=unpacked is unstable on this platform
error: could not compile cfg-if due to previous error

when compiling.
Does the change require nightly rust? I have the latest version of the stable rust toolchain (rustc 1.65.0).

@jacksongoode this is redundant now

Now that we use OAuth this is irrelevant :)

authors: MrBeeMovie SO9010 jacksongoode restitux shiftgeist yerke

repo: jpochyla/psst


text:
Add Planefinder tab to portal

As an enhancement, you may be able to add a link to the local Planefinder client pages at http://(Pi IP):30053

Link to the local Plane Finder ADS-B Client web interface, if it has been installed, has been added in commit 74197645c88f8fcc82d58617077e2f79e681c4bd.

repo: jprochazka/adsb-feeder


text:
表单联动出现错误

$form->select('province')->options(...)->load('city','/api/city');
出现 TypeError: Dcat.helpers.loadFields is not a function

repo: jqhph/dcat-admin-demo


text:
Error in not validating array's of inputs correctly.

Subject of the issue
The error occurs in the instance of validating a form with array's of equal inputs, it only validates the first element found within the form.
Your environment

version of jquery-validate: 1.19.1
version of jquery: 3.4.1
which browser and its version: Google Chrome v81.0.4044.122 (Build oficial) (64 bits)

Steps to reproduce
http://jsfiddle.net/thejoker_dev/p6zs51v8/
Expected behaviour
It should validate all types of inputs, including those that are arrays of themselves.
Actual behaviour
Validates only the first input of the array with the same name, leaving the rest unvalidated.
Attached jquery-validate.js file modified on line 465 (checkForm function) which I leave below and it works without problems!
checkForm: function() { 		    this.prepareForm(); 		    for ( var i = 0, elements = (this.currentElements = this.elements()); elements[i]; i++ ) { 		        var checkingElements = this.findByName( elements[i].name ).not(this.settings.ignore); 		        if (checkingElements.length !== undefined && checkingElements.length > 1) { 		            for (var cnt = 0; cnt < checkingElements.length; cnt++) { 		                this.check( checkingElements[cnt] ); 		            } 		        } else { 		            this.check( elements[i] ); 		        } 		    } 		    return this.valid(); 		}
Attached jquery-validate.js file modified on line 465 (checkForm function) which I leave below and it works without problems!
jquery.validate.zip

The is a long standing issue and linked to many in the past - https://github.com/jquery-validation/jquery-validation/issues/2046 https://github.com/jquery-validation/jquery-validation/issues/2102 https://github.com/jquery-validation/jquery-validation/issues/1226
Linked PR https://github.com/jquery-validation/jquery-validation/pull/2000

JqueryValidation filtering same name elements under rules cache, I just comment the rulesCache. It works for me.
https://stackoverflow.com/a/69452906/1939258

How to add remote method validation to array of inputs using class name
`

input type="text" id="ApplyAuthTCSCDT1" name="ApplyAuthTCSCDT[1]" class="form-control scdDateTime formPadding scdDataDT" required=""
input type="text" id="ApplyAuthTCSCDT2" name="ApplyAuthTCSCDT[2]" class="form-control scdDateTime formPadding scdDataDT" required=""
input type="text" id="ApplyConfirmpnSCTCDT1" name="ApplyConfirmpnSCTCDT[1]" class="form-control scdDateTime formPadding scdDataDT" required=""
input type="text" id="ApplyConfirmpnSCTCDT2" name="ApplyConfirmpnSCTCDT[2]" class="form-control scdDateTime formPadding scdDataDT" required=""
input type="text" id="RemoveAuthTCSCDT1" name="RemoveAuthTCSCDT[1]" class="form-control scdDateTime formPadding scdDataDT" required=""
input type="text" id="RemoveAuthTCSCDT2" name="RemoveAuthTCSCDT[2]" class="form-control scdDateTime formPadding scdDataDT" required=""

`
Have tried to use the following jquery validation rule function but getting error Uncaught TypeError: e.nodeName is undefined.  Exception occurred when checking element ApplyConfirmpnSCTCDT1, check the 'remote' method. .
The following are the jquery code.
`

$(".scdDataDT").each(function() {
$(this).rules('add', {
required: true,
remote: {
url: "url.php",
type: "POST",
async: false,
data: {
scdDT: function() {
console.log($(this).val()) ;
//return $( "#"+$(this).attr("id")).val();
},
pbId: function() {
return $( "#SCDApplyRemovePBId" ).val();
},
pbNo: function() {
return $( "#SCDApplyRemovePBNo" ).val();
}
}
},
messages: {
required: "*",
remote:"#"
}
});
});`

authors: Aaadi bytestream shibin-pb thejoker-dev

repo: jquery-validation/jquery-validation


text:
Error parsing object expression

Parsing this simple expression
{a:1, b:2}

throws:
Unexpected token :

That's not JavaScript. Put it in expression position.

That's not JavaScript. Put it in expression position.

You're right, I wasn't aware that JavaScript has ambiguity between object literals and statements :-) I've just discovered that. Thanks.

You're right, I wasn't aware that JavaScript has ambiguity between object literals and statements :-) I've just discovered that. Thanks.

repo: jquery/esprima


text:
Use const enum for the token types

Fix #1712

Current coverage is 100% (diff: 100%)

Merging #1721 into master will not change coverage

@@           master   #1721   diff @@
=====================================
  Files           1       1
  Lines        4005    3988    -17
  Methods         0       0
  Messages        0       0
  Branches      699     699
=====================================
- Hits         4005    3988    -17
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 0e34a1f...fefc3dd

authors: ariya codecov-io


text:
[jdks] Gradle plugin fails with undeclared task dependencies

Got the following error when running JReleaser 1.10.0 with Gradle 8.5
    - Gradle detected a problem with the following location: '/Users/runner/.gradle/caches/jdks'.

  Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
      Reason: Task ':copyJdkFromCacheZulu17LinuxArm' uses this output of task ':copyJdksToCache' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

  You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
      Possible solutions:

        1. Declare task ':copyJdksToCache' as an input of ':copyJdkFromCacheZulu17LinuxArm'.
  For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
        2. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17LinuxArm' using Task#dependsOn.
  28 actionable tasks: 25 executed, 3 up-to-date
        3. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17LinuxArm' using Task#mustRunAfter.

      For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
    - Gradle detected a problem with the following location: '/Users/runner/.gradle/caches/jdks'.

      Reason: Task ':copyJdkFromCacheZulu17LinuxMuslArm' uses this output of task ':copyJdksToCache' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

      Possible solutions:
        1. Declare task ':copyJdksToCache' as an input of ':copyJdkFromCacheZulu17LinuxMuslArm'.
        2. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17LinuxMuslArm' using Task#dependsOn.
        3. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17LinuxMuslArm' using Task#mustRunAfter.

      For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
    - Gradle detected a problem with the following location: '/Users/runner/.gradle/caches/jdks'.

      Reason: Task ':copyJdkFromCacheZulu17LinuxMusl' uses this output of task ':copyJdksToCache' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

      Possible solutions:
        1. Declare task ':copyJdksToCache' as an input of ':copyJdkFromCacheZulu17LinuxMusl'.
        2. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17LinuxMusl' using Task#dependsOn.
        3. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17LinuxMusl' using Task#mustRunAfter.

      For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
    - Gradle detected a problem with the following location: '/Users/runner/.gradle/caches/jdks'.

      Reason: Task ':copyJdkFromCacheZulu17Linux' uses this output of task ':copyJdksToCache' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

      Possible solutions:
        1. Declare task ':copyJdksToCache' as an input of ':copyJdkFromCacheZulu17Linux'.
        2. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17Linux' using Task#dependsOn.
        3. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17Linux' using Task#mustRunAfter.

      For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
    - Gradle detected a problem with the following location: '/Users/runner/.gradle/caches/jdks'.

      Reason: Task ':copyJdkFromCacheZulu17OsxArm' uses this output of task ':copyJdksToCache' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

      Possible solutions:
        1. Declare task ':copyJdksToCache' as an input of ':copyJdkFromCacheZulu17OsxArm'.
        2. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17OsxArm' using Task#dependsOn.
        3. Declare an explicit dependency on ':copyJdksToCache' from ':copyJdkFromCacheZulu17OsxArm' using Task#mustRunAfter.

      For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

🎉 This issue has been resolved in v1.11.0 (Release Notes)

repo: jreleaser/jreleaser


text:
Error: ReactDOMServer does not yet support Suspense.

Hey Junior!
I'm getting this in v1.1.0. It seems to be produced due to this commit: https://github.com/jrgarciadev/react-iconly/commit/333f30e3711df275ddcf9d00251098c6a5ac40ca
My dependencies:
"next": "10.0.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-iconly": "^1.1.0",

Error:

Steps to reproduce:
Setup a project with the above dependencies.

Hi, @hiradary thanks for reporting,
Already solved this issue, please install version v1.1.1

Hey @hiradary, did it work for you? to close the issue 🙋🏻♂

Yup, Thanks! I'm gonna be closing the issue.

authors: hiradary jrgarciadev

repo: jrgarciadev/react-iconly


text:
updated to 1.07 and have lost all use of homeseer

it says i have 70 entities, and when you click on the hamburger... 1 item is missing ( reload )
all of my homeseer device now do not work
Paul

Logger: homeassistant.config_entries
Source: custom_components/homeseer/init.py:140
First occurred: 6:49:42 PM (1 occurrences)
Last logged: 6:49:42 PM
Error setting up entry Homeseer for homeseer
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 239, in async_setup
result = await component.async_setup_entry(hass, self)  # type: ignore
File "/config/custom_components/homeseer/init.py", line 140, in async_setup_entry
await homeseer.api.initialize()
File "/usr/local/lib/python3.8/site-packages/pyhs3ng/hometroller.py", line 64, in initialize
await self._get_devices()
File "/usr/local/lib/python3.8/site-packages/pyhs3ng/hometroller.py", line 119, in _get_devices
all_devices = result["Devices"]
KeyError: 'Devices'

For some reason you are not getting a valid connection to homeseer.  The return from homeseer getstatus us bit returning a devices array.

authors: jrhubott sirbooker

repo: jrhubott/homeseer


text:
Remove st.beta_

This PR replaces st.beta_expander with st.expander and other instances of st.beta_ in README.md, because st.beta_* will be removed after 2021-11-02 (see: https://github.com/streamlit/streamlit/releases/tag/0.86.0).

Thanks for this and sorry for the long delay!

authors: Alyetama jrieke

repo: jrieke/streamlit-analytics


text:
Naming Objects

I would like to be able to assign (programmatically) names to objects and have those names be used when exporting to X3D, STL, ... where the export formats support names, so that I can more easily reference the objects in X3D.
Support for the animation capabilities of X3D would be great as well.
I have been asked to reassign this issue here:
https://github.com/EinsteinsWorkshop/BlocksCAD/issues/17#issuecomment-308742189

@thesourcerer8 Thanks!
We'll see if this is possible, but think so.


text:
🛑 Startpage is down

In ccbb203, Startpage ($SERVER_BASE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Startpage is back up in 7ca0c9b after 10 minutes.

repo: jscmidt/upptime


text:
🛑 API is down

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

HTTP code: 0
Response time: 0 ms

Resolved: API is back up in 9da9e72 after 20 minutes.


text:
🛑 Linus-Wordpress is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Linus-Wordpress is back up in ab7e1ca after 7 minutes.


text:
🛑 Grafana is down

In c9df9af, Grafana ($SERVER_BASE/grafana/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Grafana is back up in d5e44f9 after 15 minutes.


text:
🛑 Linus-Wordpress is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Linus-Wordpress is back up in 53e5f1e after 13 minutes.


text:
🛑 Grafana is down

In e8a20b3, Grafana ($SERVER_BASE/grafana/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Grafana is back up in 32c8c88 after 25 minutes.


text:
Request: integer API for requirePaddingNewLinesInObjects

Currently it only accepts true, but it would be nice if you could enforce this by the amount of keys inside the object. e.g. if there's only one KVP in the object, it doesn't need to be broken out, but for 2+ it needs to be broken out.
Valid:
// requirePaddingNewLinesInObjects: 2

var a = {b: 'c'};
var b = {
    b: 'c',
    c: 'd'
};

Invalid:
// requirePaddingNewLinesInObjects: 2

var b = {b: 'c', c: 'd'};

Also, is there an equivalent rule for arrays?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8880866-request-integer-api-for-requirepaddingnewlinesinobjects?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

I think a ignoreSingleLine value would be ok for this then - similar to requireTrailingComma or disallowSpaceAfterObjectKeys.

@hzoo Yup, that config would work nicely. Will update my request.
Doesn't look like that other PR has been merged yet?

Yeah doesn't look like it. Although looking at it again - requirePaddingNewLinesInObjects is a different rule because it requires newlines for each curly brace (so nested objects). Here you are asking for newlines between the elements (I got confused) - which is similar to the current PR for arrays. So it seems like your previous request for an integer config makes more sense.

I'd like to see this as well. :+1:

+1

:+1:

It should probably take an integer to be consistent with http://jscs.info/rule/requireBlocksOnNewline.html
I would also only want this to be for basic types. Primitives or variables. For example, if I set the number to 1, I would not want this to pass:
var a = { foo: function() { return { obj: 'foo' } } };

+1

@aronwoost would you like to do it?

I'll at least try to provide tests.

@markelog Would it work with "ignoreSingleValue"? Or should we better have maximum and ignoreBrackets options like in validateNewlineAfterArrayElements? (see @hzoo above)

I think ignoreSingleValue is more suitable for this rule.

We released 3.0 recently! We also wrote a post about how 3.0 will be our last major release (since we are deprecating the project) and that we are merging with ESLint!
Thus we won't be working on any new features moving forward which includes new rules/options. We will continue to fix bugs and work on CST/better autofixing for current rules in the upcoming months both to help JSCS users and to gain experience that we can hopefully use in ESLint. But otherwise we both teams will be working on getting ESLint feature parity with JSCS and just a nice transition for our users.
I'm putting an orphaned label to note this issue isn't planned to be worked on, but might be a good contribution as a custom rule (not in JSCS core itself).
I would encourage anyone who wants the rule to try writing it themselves: I would either write a custom rule or submit an issue to ESLint and if accepted a PR. Otherwise a custom rule that won't be in core repo itself.
JSCS rules are also very similar to ESLint rules: here are some resources to get started:

Project-specific Lint Rules with ESLint
Creating Custom Rules for ESLint
Maintaining JavaScript Code Quality with ESLint

authors: BridgeAR EladBezalel TheSavior aronwoost hzoo markelog yaycmyk

repo: jscs-dev/node-jscs


text:
requireNewlineBeforeSingleStatementsInIf throws an error when running fix

Hi,
I'm getting the following error when running --fix on one of my files:
Error running rule requireNewlineBeforeSingleStatementsInIf: This is an issue with JSCS and not your codebase.
Please file an issue (with the stack trace below) at: https://github.com/jscs-dev/node-jscs/issues/new
TypeError: Cannot read property 'type' of null
    at isExpressionStatement (/Users/jamesdixon/Projects/scout/platform/api/node_modules/jscs/lib/rules/require-newline-before-single-statements-in-if.js:61:26)
    at Object.<anonymous> (/Users/jamesdixon/Projects/scout/platform/api/node_modules/jscs/lib/rules/require-newline-before-single-statements-in-if.js:86:17)
    at Array.forEach (native)
    at Object.JsFile.iterateNodesByType (/Users/jamesdixon/Projects/scout/platform/api/node_modules/jscs/lib/js-file.js:595:42)
    at Object.module.exports.check (/Users/jamesdixon/Projects/scout/platform/api/node_modules/jscs/lib/rules/require-newline-before-single-statements-in-if.js:72:14)
    at null.<anonymous> (/Users/jamesdixon/Projects/scout/platform/api/node_modules/jscs/lib/string-checker.js:165:22)
    at Array.forEach (native)
    at StringChecker._checkJsFile (/Users/jamesdixon/Projects/scout/platform/api/node_modules/jscs/lib/string-checker.js:161:31)
    at StringChecker.fixString (/Users/jamesdixon/Projects/scout/platform/api/node_modules/jscs/lib/string-checker.js:261:22)
    at null.<anonymous> (/Users/jamesdixon/Projects/scout/platform/api/node_modules/jscs/lib/checker.js:72:27) at test/appointment.js :
     1 |const Boom = require('boom');
--------^
     2 |const Code = require('code');
     3 |const Hapi = require('..');

My .jscsrc file is pretty simple:
{
    "preset": "airbnb",
    "requireNewlineBeforeSingleStatementsInIf": true
}

Thanks in advance!

Do you have code example?

Yes, I ran JSCS against this file:
'use strict';

// Load modules

const Boom = require('boom');
const Code = require('code');
const Hapi = require('hapi');
const Hoek = require('hoek');
const Lab = require('lab');

// Test shortcuts

const lab = exports.lab = Lab.script();
const before = lab.before;
const describe = lab.describe;
const it = lab.it;
const expect = Code.expect;

describe('appointments', () => {

  let server;

  before((done) => {

    require('../server')((err, srv) => {
      if (err) throw err;

      server = srv;
      done();
    });
  });

  describe('GET /appointments/{id}', () => {

    const url = '/appointments/1';

    describe('with no/invalid credentials', () => {

      const payload = {
        method: 'GET',
        url: url,
      };

      it('CANNOT retrieve an appointment', (done) => {

        server.inject(payload, (res) => {
          expect(res.statusCode).to.equal(401);
          done();
        });

      });

    });
  });
});

Running JSCS 2.11.0.

it seems requireNewlineBeforeSingleStatementsInIf  rule doesn't work with single if  branches, i added a guard for it, but it seems it should also warn for that case too -
if (err) throw err;

/cc @schempy

authors: jamesdixon markelog


text:
post: 2015-05-06 # 226

[x] io.js 2.0 https://github.com/iojs/io.js/blob/master/CHANGELOG.md#2015-05-04-version-200-rvagg
io.js の v2.0 が出ました。 - from scratch
[x] Microsoft Edge is the browser for Windows 10 - IEBlog - Site Home - MSDN Blogs
[x] isomorphic

2015-05-06のJS: io.js 2.0.0、Microsoft Edge、Isomorphic - JSer.info


text:
Segmentation fault - More specifics about the package requirements please

Hi, can you provide more details on the installation requirements please? For example, which specific combination of the package versions can be used to run G-Bert for:

pytorch
torch_geometric
torch_scatter
torch_sparse
torch_cluster
GCC version
(So like not a range of versions, but one example of the combination of specific versions that worked).

Because I am facing package dependency issues. If I use torch_geometric==1.0.3 I get a segmentation fault in the softmax function line 224 of graph_models.py. But if I use torch_geometric==1.2.1 I get a dimension mismatch in line 222 of graph_models.py. So it seems to me the code is dependent on package version which more detail would help.
Thank you!

Because if I use torch_geometric==1.2.0 I get a segmentation fault in the softmax function line 224 of graph_models.py. But if I use torch_geometric==1.2.1 I get a dimension mismatch in line 222 of graph_models.py. So it seems to me the code is dependent on package version which more detail would help.

Hi, @yrf1. Sorry for the late reply. The detailed installation requirements are as follows:
tqdm==4.31.1
numpy==1.16.2
torch_geometric==1.0.3
pandas==0.24.2
dill==0.2.9
torch==1.2.0
scikit_learn==0.21.3
tensorboardX==1.9
torch_scatter==1.3.1
torch_sparse==0.4.0
torch_cluster==1.4.4
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)

Thank you!


text:
[[FIX]] Prevent regression in enforceall

Ensure that a recent change to option organization does not effect the
behavior of the enforceall option. Update the documentation to more
accurately describe the behavior of enforceall.
This change is necessary since landing gh-2360 and should be merged prior to any patch release or minor release.

Coverage remained the same at 96.56% when pulling d0418b14bf54685042e73e42b3c711226a099eff on jugglinmike:enforceall-regressions into 2444a0463e1a99d46e4afa50ed934c317265529d on jshint:master.

Coverage remained the same at 96.56% when pulling d0418b14bf54685042e73e42b3c711226a099eff on jugglinmike:enforceall-regressions into 2444a0463e1a99d46e4afa50ed934c317265529d on jshint:master.

lgtm

Thanks!

authors: caitp coveralls jugglinmike

repo: jshint/jshint


text:
disabled is invalid

  example.ajax(function () {
    fetch('http://localhost:3000/choices')
      .then(function (response) {
        response.json().then(function (data) {
          console.log(data);
          example.clearStore();

          example.setValue( [{
            value: '10',
            label: '深圳',
            disabled:false,
            selected:true
          },
         {
            value: '11',
            label: '广州',
            disabled:true，
            selected:false
          }])
        });
      })
      .catch(function (error) {
        console.log(error);
      });
  });

Hi @Foreverofh,
What type of element are you passing to choices (text/select single/multiple etc)?

update

@jshjohnson  select single

setValue() is only meant to be used for text inputs. You are looking for setChoices().
Thanks

@jshjohnson Thanks

authors: Foreverofh jshjohnson

repo: jshjohnson/Choices


text:
Create 0000-01-02-jsoncore.md and add it to main branch

Commits 101

merging pr

repo: jsoncore/github-slideshow


text:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/private/tmp/python-typing-extensions-20230215-6738-uifapf/typing_extensions-4.5.0/dist/typing_extensions-4.5.0-py3-none-any.whl'

hello what is this and how i can fix? thanks you
% pip install -r requirements.txt
Processing /private/tmp/python-typing-extensions-20230215-6738-uifapf/typing_extensions-4.5.0/dist/typing_extensions-4.5.0-py3-none-any.whl (from -r requirements.txt (line 66))
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/private/tmp/python-typing-extensions-20230215-6738-uifapf/typing_extensions-4.5.0/dist/typing_extensions-4.5.0-py3-none-any.whl'

Thanks for catching that. I updated the requirements.txt here: https://github.com/jsonsmth/GPT-chatwithpdf/commit/55c13681354d9f4f43ea96281ed6995251076734
Please try again.

authors: ivan-vilches jsonsmth

repo: jsonsmth/GPT-chatwithpdf


text:
Custom resolutions

There seem to be two major ways we could support custom resolutions:

Copy the Yarn style "resolutions" field as an input option to the generator, then use those as authoritative singular version resolutions.
Attempt to do something more general like a full map field that allows forcing map values. Something like map: { imports: { react: 'npm:react@17' } where package lookup in the map target is treated as sugar. This then extends to supporting any custom mappings within the import map generation.

Perhaps both (1) and (2) is the way to go as well, instead of having the RHS target sugar in (2).
This feature definitely needs to be implemented, the question is just how best to do it.

Let's come back around on this when it's explicitly needed.

Well this came back up quicker than expected.

Implemented in https://github.com/jspm/generator/pull/75.

repo: jspm/generator


text:
Multiple JSSIMPORTER in one receipe

I am experencing an issue when attepmting to add 2 JSSIMPORTER processors to one receipe. I have faoolowed the process of adding it to my recipe override, but when ran, it will ignore the additional process and only run what is in the input. Is there any working examples out there to help guide me?
I apologize if this is not the correct format to ask for this.

@iannels MacAdmins Slack #jss-importer Chanel would be a better forum. Let me know if you don't know what this is.

authors: grahampugh iannels

repo: jssimporter/JSSImporter


text:
[Bug]: shorthandFirst and shorthandLast not working

Is there an existing issue for this?

[X] I have searched the existing issues and my issue is unique
[X] My issue appears in the command-line and not only in the text editor

Description Overview

shorthandFirst and shorthandLast not working

'react/jsx-sort-props': [
2,
{
callbacksLast: true,
shorthandFirst: false,
shorthandLast: true,
noSortAlphabetically: true,
},
],
Expected Behavior

i want to sort this
<OstiganTable
          addBtnText={t('addFaq')}
          addNavigationLink="faq/add"
          afterDeleteHandler={afterDeleteHandler}
          bodyInfo={bodyInfo}
          editNavigationLink="faq"
          headInfo={headInfo}
          isFetching={isFetching}
          isLoading={isLoading}
          pageCount={pageCount}
          tableStyle="admin"
          urlDeleteRequest={`admin${FAQ_URL}`}
          page={page}
          onChangePage={onChangePage}
          onErrorDelete={onErrorDelete}
        />

to
  <OstiganTable
          page={page}
          tableStyle="admin"
          bodyInfo={bodyInfo}
          headInfo={headInfo}
          isLoading={isLoading}
          pageCount={pageCount}
          isFetching={isFetching}
          addBtnText={t('addFaq')}
          editNavigationLink="faq"
          addNavigationLink="faq/add"
          onChangePage={onChangePage}
          onErrorDelete={onErrorDelete}
          urlDeleteRequest={`admin${FAQ_URL}`}
          afterDeleteHandler={afterDeleteHandler}
        />

callbacksLast works but  not shorthandFirst or shorthandLast

eslint-plugin-react version
7.33.2
eslint version
8.48.0
node version
20.8.1

I'm not even seeing any warnings on the code, let alone an autofix. Also, your code doesn't seem to have any shorthand props.

authors: ljharb ngrcode

repo: jsx-eslint/eslint-plugin-react


text:
Allow to limit by which PRs are triggered by either PR number(s) or branch format

I want to be able to create a pipeline for a specific PR while still getting the git hooks that this resource provides, but currently that isn't possible without also providing a git reference for that PR which is too limiting (via the version).
Either limiting by a pr number or based on a branch name or branch regex would be useful.
I've created a fork to test by filtering by a specific PR number which does exactly what I need, happy for more feedback on it: https://github.com/jtarchie/github-pullrequest-resource/compare/master...roryp2:master

Why not just create a pipeline for the branch in question, ignoring the PR aspect of it all together?

This is still useful for the PR hooks, but I guess it would be easier just to use the git resource and create a separate PR hook resource

repo: jtarchie/github-pullrequest-resource


text:
Switch from tslint to eslint

tslint is being deprecated. We should switch to eslint.
References:
https://github.com/typescript-eslint/tslint-to-eslint-config
https://github.com/typescript-eslint/typescript-eslint

Another reference, ipywidgets recently moved to ESLint: https://github.com/jupyter-widgets/ipywidgets/pull/2657

Thanks @jtpio
I play a bit on this one today. I'll submit a PR later this week.

Thanks @fcollonval, that would be great!
It seemed like TypeScript 3.8 made the lint check fail (see  https://github.com/jtpio/jupyterlab-extension-examples/pull/70#issuecomment-592138423 and https://github.com/jtpio/jupyterlab-extension-examples/runs/473121876).
So switching to ESLint will hopefully make it easier to migrate to TypeScript 3.8 after.

authors: fcollonval jtpio

repo: jtpio/jupyterlab-extension-examples


text:
🛑 Caja Mail is down

In 9b8f1bb, Caja Mail (https://www.mail.cajapolicia.gob.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Caja Mail is back up in bd74e18.