Rules engine testing never finished and crashed on blackbox testing ARM platform for Fuji release

Here is the build job.
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-security-ubuntu18.04-docker-arm64-4c-2g-fuji/
The rules engine test case was hanging and never finished. as a result the blackbox testing suite was crashed.

From the console output of those recent build failures(#22 and #24), both builds failed at the point when the response time of support-notifications ping test exceeds 800ms.

support-notifications
11:19:09
11:19:09 ❏ ping
11:19:09 ↳ Test service providing an indication that the service is available.
11:19:10   GET http://edgex-support-notifications:48060/api/v1/ping [200 OK, 105B, 827ms]
11:19:11   ✓  Status code is 200
11:19:11   1. Response time is less than 800ms
11:19:11   ✓  Content-Type is present
11:19:11   ✓  Content-Type is text/plain
11:19:11   ✓  Response body is correct
11:19:12
11:19:12   #  failure         detail
11:19:12
11:19:12  1.  AssertionError  Response time is less than 800ms
11:19:12                      expected 827 to be below 800
11:19:12                      at assertion:1 in test-script
11:19:12                      inside "ping / Test service providing an indication that the service is available."
11:19:13 Build step 'Execute shell' marked build as failure

For the successful build#23, the Jenkins job could be executed til the end when the response time of support-notification ping test is below 800ms.
It's strange that the entire Jenkins build was marked as failure for both #22 and #24 and skip the remaining testcases execution.
I'm going to setup a arm64 system to see what really happens when the response time of support-notifications ping test fails the assertion.

@lenny-intel could you or any application working group members help on this issue?
after we merge #341 , it sometimes works but still sometimes failed

Error log in rulesengine
14:11:56 #
14:11:56 # A fatal error has been detected by the Java Runtime Environment:
14:11:56 #
14:11:56 #  Internal Error (assembler_aarch64.hpp:1156), pid=6, tid=0x0000ffff7dc26a78
14:11:56 #  guarantee(Rs != Rn && Rs != Rt) failed: unpredictable instruction
14:11:56 #
14:11:56 # JRE version: OpenJDK Runtime Environment (8.0_212-b04) (build 1.8.0_212-b04)
14:11:56 # Java VM: OpenJDK 64-Bit Server VM (25.212-b04 mixed mode linux-aarch64 compressed oops)
14:11:56 # Derivative: IcedTea 3.12.0
14:11:56 # Distribution: Custom build (Mon May  6 07:45:11 UTC 2019)
14:11:56 # Core dump written. Default location: /edgex/edgex-support-rulesengine/core or core.6
14:11:56 #
14:11:56 # An error report file with more information is saved as:
14:11:56 # /edgex/edgex-support-rulesengine/hs_err_pid6.log
14:11:56 [2019-12-13 06:10:09.067] boot - 6 ERROR [http-nio-48075-exec-7] --- runtime: Error executing FreeMarker template
14:11:56 FreeMarker template error:
14:11:56 The following has evaluated to null or missing:
14:11:56 ==> rulename  [in template "rule-template.drl" at line 7, column 9]
14:11:56
14:11:56 ----
14:11:56 Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
14:11:56 ----
14:11:56
14:11:56 ----
14:11:56 FTL stack trace ("~" means nesting-related):
14:11:56 	- Failed at: ${rulename}  [in template "rule-template.drl" at line 7, column 7]
14:11:56 ----
14:11:56
14:11:56 Java stack trace (for programmers):
14:11:56 ----
14:11:56 freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
14:11:56 	at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
14:11:56 	at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:451)
14:11:56 	at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:374)
14:11:56 	at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:96)
14:11:56 	at freemarker.core.DollarVariable.accept(DollarVariable.java:59)
14:11:56 	at freemarker.core.Environment.visit(Environment.java:327)
14:11:56 	at freemarker.core.Environment.visit(Environment.java:333)
14:11:56 	at freemarker.core.Environment.process(Environment.java:306)
14:11:56 	at freemarker.template.Template.process(Template.java:386)
14:11:56 	at org.edgexfoundry.engine.RuleCreator.createDroolRule(RuleCreator.java:85)
14:11:56 	at org.edgexfoundry.controller.impl.RuleEngineControllerImpl.addRule(RuleEngineControllerImpl.java:64)
14:11:56 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:11:56 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
14:11:56 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
14:11:56 	at java.lang.reflect.Method.invoke(Method.java:498)
14:11:56 	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
14:11:56 	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
14:11:56 	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
14:11:56 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:832)
14:11:56 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:743)
14:11:56 	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
14:11:56 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
14:11:56 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)
14:11:56 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
14:11:56 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:869)
14:11:56 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
14:11:56 	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
14:11:56 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
14:11:56 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
14:11:56 	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
14:11:56 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
14:11:56 	at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)
14:11:56 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
14:11:56 	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
14:11:56 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
14:11:56 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
14:11:56 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
14:11:56 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
14:11:56 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
14:11:56 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
14:11:56 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
14:11:56 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
14:11:56 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
14:11:56 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
14:11:56 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
14:11:56 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
14:11:56 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)
14:11:56 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
14:11:56 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
14:11:56 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
14:11:56 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
14:11:56 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
14:11:56 	at java.lang.Thread.run(Thread.java:748)
14:11:56 [2019-12-13 06:10:09.097] boot - 6 ERROR [http-nio-48075-exec-7] --- RuleCreator: Problem writing Drool rule.The following has evaluated to null or missing:
14:11:56 ==> rulename  [in template "rule-template.drl" at line 7, column 9]
14:11:56
14:11:56 ----
14:11:56 Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
14:11:56 ----
14:11:56
14:11:56 ----
14:11:56 FTL stack trace ("~" means nesting-related):
14:11:56 	- Failed at: ${rulename}  [in template "rule-template.drl" at line 7, column 7]
14:11:56 ----
14:11:56 [2019-12-13 06:10:09.114] boot - 6 ERROR [http-nio-48075-exec-7] --- RuleEngineControllerImpl: Problem adding a new rule called: null
14:11:56 #
14:11:56 # Compiler replay data is saved as:
14:11:56 # /edgex/edgex-support-rulesengine/replay_pid6.log
14:11:56 #
14:11:56 # If you would like to submit a bug report, please include
14:11:56 # instructions on how to reproduce the bug and visit:
14:11:56 #   https://icedtea.classpath.org/bugzilla
14:11:56 #
14:11:56 Aborted (core dumped)

@lenny-intel do you have any idea about the error log? thanks

Not really. Maybe @jpwhitemn can help as he is most familiar with the Rules Engine code.
The one line above that stands out is:
14:11:56 [2019-12-13 06:10:09.114] boot - 6 ERROR [http-nio-48075-exec-7] --- RuleEngineControllerImpl: Problem adding a new rule called: null

Seems the new rule being add is null???

The above JAVA Version error always showed on logs no matter rulesengine testcases passed or failed.
The following log only showed when rulesengine testcases passed. Rulesengine testcase failed seems the rules didn't create.
11:38:10 [2019-12-17 03:35:55.242] boot - 6  INFO [http-nio-48075-exec-9] --- RuleEngine: new rule:  motortoofastsignal added.
11:38:10 [2019-12-17 03:35:55.256] boot - 6  INFO [http-nio-48075-exec-9] --- RuleEngine: Starting Drools with drl files from:  /edgex/edgex-support-rulesengine/rules
11:38:10 [2019-12-17 03:35:55.268] boot - 6  INFO [http-nio-48075-exec-9] --- RuleEngine: Uploading Drool rules...
11:38:10 [2019-12-17 03:35:55.294] boot - 6  INFO [http-nio-48075-exec-9] --- RuleEngine: ... motortoofastsignal.drl
11:38:10 [2019-12-17 03:35:55.303] boot - 6  INFO [http-nio-48075-exec-9] --- RuleEngine: ... README
11:38:10 [2019-12-17 03:36:04.442] boot - 6  INFO [http-nio-48075-exec-9] --- KieRepositoryImpl: KieModule was added: MemoryKieModule[releaseId=org.default:artifact:1.0.0-SNAPSHOT]
11:38:10 [2019-12-17 03:36:04.806] boot - 6  INFO [http-nio-48075-exec-9] --- RuleEngineControllerImpl: Rule named:  motortoofastsignal added.
11:38:10 [2019-12-17 03:36:05.211] boot - 6  INFO [http-nio-48075-exec-1] --- RuleEngine: new rule:  motortoofastsignal added.
11:38:10 [2019-12-17 03:36:05.217] boot - 6  INFO [http-nio-48075-exec-1] --- RuleEngine: Starting Drools with drl files from:  /edgex/edgex-support-rulesengine/rules
11:38:10 [2019-12-17 03:36:05.224] boot - 6  INFO [http-nio-48075-exec-1] --- RuleEngine: Uploading Drool rules...
11:38:10 [2019-12-17 03:36:05.235] boot - 6  INFO [http-nio-48075-exec-1] --- RuleEngine: ... motortoofastsignal.drl
11:38:10 [2019-12-17 03:36:05.244] boot - 6  INFO [http-nio-48075-exec-1] --- RuleEngine: ... README
11:38:10 [2019-12-17 03:36:07.149] boot - 6  INFO [http-nio-48075-exec-1] --- KieRepositoryImpl: KieModule was added: MemoryKieModule[releaseId=org.default:artifact:1.0.0-SNAPSHOT]
11:38:10 [2019-12-17 03:36:07.420] boot - 6  INFO [http-nio-48075-exec-1] --- RuleEngineControllerImpl: Rule named:  motortoofastsignal added.
11:38:10 [2019-12-17 03:36:07.936] boot - 6  INFO [http-nio-48075-exec-4] --- RuleEngine: rule: motortoofastsignal removed.
11:38:10 [2019-12-17 03:36:07.939] boot - 6  INFO [http-nio-48075-exec-4] --- RuleEngineControllerImpl: Rule named:  motortoofastsignal removed
11:38:10 [2019-12-17 03:36:26.520] boot - 6 ERROR [http-nio-48075-exec-8] --- runtime: Error executing FreeMarker template

I noticed the major change between edinburgh and fuji is:
https://github.com/edgexfoundry/support-rulesengine/pull/53/files
We could try to revert the Dockerfile and see whether is can fix this issue

According to the decision in QA WG meeting on Dec-17-2019, we will remove the rules engine test on ARM in fuji

close this issue due to #365


Create a Manual for the commits

With the implementation of Husky, I think it will be a good idea to make a tutorial about how to make a commit, I'found some truble doing it!  becuase it's a bit more comples than a regular commit

git commit -m "<type>: <subject>"
Replace  with a predefined commit type, such as "feat" for new features, "fix" for bug fixes, "docs" for documentation updates, etc. Replace  with a concise and descriptive message summarizing the changes made in the commit.
For example, if you added a new feature to your project, your commit command could look like this:
git commit -m "feat: Add login functionality"

I take action on that.


Bug: logout function does not clear userID

What happened?
currently user can't log out because cookies are not clearing
Add screenshots
No response
What browsers are you seeing the problem on?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

Hey, @Sanchitbajaj02 I am a contributor in SWOC S4 . Can you assign me this issue I want to work on this challenging issue..!

@IamSudhir-Kumar assigned the issue to you

this was sorted during last meet ..? @Sanchitbajaj02

this was sorted during last meet ..? @Sanchitbajaj02

Yeah but not implemented, so I assigned him

Hi @IamSudhir-Kumar I have requested changes on your Pull Request but you didn't respond till now. If you don't respond in next 24 hours, you PR will be rejected.
@Girishbari you can take this issue if he didn't respond in next 24 hours

I believe I've reached a point where I can't make additional improvements. @Girishbari , I recommend proceeding with this issue. Recognizing areas where I can enhance my skills, I've decided to upskill and will return better equipped in the future.

@IamSudhir-Kumar that's so much great. When @Girishbari will raise the PR you will get to know where you were missing.
The best way to practice and upskill is to try and understand the PRs that got merged or raised. And if you get stuck or want to understand anything related to them, just ping on SWOC Palettegram discord group or DM me personally😊


Fonts

Acceptance Criteria

[x] load Google fonts properly
[x] if not possible find other fonts which will be displayed correctly

Was done by: https://github.com/hpi-swt2/workshop-portal/pull/434


Change WidgetType to enum

WidgetType would work better as an enum with textual values.

@mimafogeus2 is this issue still relevant?

i'm not sure wat to do here..
somthing like ..?
export enum IWidgetTypes{
IWidgetMostSevereAccidents,
IWidgetAccidentsHeatMap,
IWidgetAccidentsByDayNight,
IWidgetCountBySeverity,
IWidgetAccidentsByType,
IWidgetInjuredByYear,
IWidgetAccidentsByYear
}

solved


Connect up data from Characters to the redesign

JSON reference:
https://github.com/TeaWithLucas/DNDBeyond-DM-Screen/wiki/Module-output


How to configure on the windows

Very poor documentation. Nothing about how to install and use on windows.
./ktlint --apply-to-idea-project --android
Finally i just downloaded ktlint (40.6 MB) from https://github.com/pinterest/ktlint/releases
, paste it inside my Android project folder and run java -jar ktlint --apply-to-idea-project Android

What stops use you from using the same curl installation command from Installation readme section for Windows as for macOS and Linux? I suppose almost every developer on Windows has MinGW or Cygwin installed, or even WSL with Ubuntu bash.

@shashachu @YuriPopiv Can we close this since Windows is mentioned in the README.md?


HTML title Language set incorrectly [i18n] [a11y]

Consider the page https://www.gov.uk/government/news/hinkley-point-c-to-power-six-million-uk-homes.zh - which is a Chinese language variant of https://www.gov.uk/government/news/hinkley-point-c-to-power-six-million-uk-homes
The HTML reads
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>欣克利角C核电站将为英国600万户家庭提供用电 - GOV.UK</title>

The <title> element needs a lang="zh"
The body content has the correct language tag:
<main role="main" id="content" class="news-article" lang="zh">
I assume this affects every page which has non-English content, eg https://www.gov.uk/government/news/young-brits-to-make-german-connections.de
This is needed to help screen-readers pronounce page titles correctly.

Hi @edent
I'll see if I can do anything about this during the GOV.UK firebreak. From talking to @36degrees it seems like we need to update the template to allow the language to be specified, and then the GOV.UK apps need to be updated to pass the language in. We only store a single locale per document, so I'll make it pass through the same lang for both the main content and the title.

I don’t think the template needs updating, Verify already does this (see top of https://github.com/alphagov/verify-frontend/blob/master/app/views/layouts/application.html.erb).

@robinwhittleton this is to set the lang attribute on the title element, not the html element.

That said, in the linked example, is it correct that lang="en" for the page? Is the intention that the page itself is considered english and only the content and title are marked as chinese?

I believe so – the navigation, page title, footer etc are all in English. As long as the areas with non-English content are marked appropriately, everything should work fine.

I'd agree. Semantically it's an English page with Chinese content.
We can't have multilingual titles (see https://github.com/w3c/html/issues/1292) but using the primary language of the page should be suitable.

@edent https://github.com/alphagov/government-frontend/commit/fa76ae6b6318639b9d0eeeda52839c92d4d1b887 should fix this for a bunch of formats, including news articles. I can deploy this, but so far I haven't been able to get screenreaders to pick up on it when testing.
JAWS switches between voices when navigating around the content of a page, but still reads the title in english even with the lang attribute. I had a go at using voiceover as well, but I'm running an old version of OSX which doesn't seem to change languages automatically.

@MatMoore I don't see any title tests listed at https://freedomscientific.github.io/VFO-standards-support/html.html
Might be worth filing a bug at https://github.com/FreedomScientific/VFO-standards-support/issues
Ping @stevefaulkner @LJWatson for more clues.

Following the launch of the GOV.UK Design System, GOV.UK Template will now only get major bug fixes and security patches, so I'm going to close this.
This issue has been captured in GOV.UK Frontend here.


feat(app): separate ui language from source materials and template language

:tada: This PR is included in version 2.15.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


The exe attribute seems to have subtle differences from ghc.backend and ghc.frontend

I can do nix-build -A exe and the result will come completely from cache.  But then I follow that up with nix-build -A ghc.backend or nix-build -A ghc.frontend and the result is not cached.  Shouldn't the former have already built the latter?

ghc.backend is not statically linked. ghc.frontend is not a GHCJS build. But... I also would like access to the thing that exe is actually using..

ghcjs.frontend is not closure compiled, so even that won't get you the same derivation.

@mightybyte Please try #507

@mightybyte I'd recommend having a nix file that you build that lists all of the attributes you'd like to cache.
For example, you could do something like:
{ }:
let
  myProject = import ./. {};
in {
  android = myProject.android.frontend; # Android application
  exe = myProject.exe;                  # Compiled backend and ghcjs frontend
  shell = myProject.shells.ghc;         # Project shell
}

and put that somewhere (perhaps release.nix). This gives you direct control over what's built and cached.
To see what else can be added to this list, run nix repl in your project directory and try: a = import ./. {} then look at the value of a to see the components of your obelisk project.

I've updated the FAQ to cover some of these points here and provide a brief explanation on cherry picking individual derivations to allow for more fine grained caching in the nix store.


chore: threaded test builds

Adding threading to the test-build process.

Overview

The build of the npm package wrappers will now be threaded.
Related Issue(s)

N/A
Testing

Pull the branch and run npm run build:all.

Saw ~3x speed improvement


DnD: draggableAccessor is ignored

Do you want to request a feature or report a bug?
bug
What's the current behavior?
draggableAccesor which is used to resolve if event is draggable or not is ignored. Referencing wasn't fixed after recent wrapping into draggable object.
const { draggableAccessor, resizableAccessor, draggable } = this.context

https://github.com/intljusticemission/react-big-calendar/blob/master/src/addons/dragAndDrop/EventWrapper.js#L80
What's the expected behavior?
I know PR, but I don't have much time now.
const { draggable } = this.context;
const { draggableAccessor, resizableAccessor } = draggable;

Fixed in #1070

Would you be able to provide an example on how to disable draggability on some events when this feature is enabled on the entire calendar? I cannot understand how to do that looking at documentation and src. Thanks!

Thank you!


List index out of range in lambda code.

Hello,
[ERROR]	2024-07-24T12:12:59.035Z	09485e66-a1a8-407e-9b5b-898cccad5870	list index out of range
Traceback (most recent call last):
File "/tmp/crhelper/resource_helper.py", line 204, in _wrap_function
self.PhysicalResourceId = func(self._event, self._context) if func else ''
File "/var/task/index.py", line 76, in create
instance_data["wisdomArn"] = case_domain_integration['IntegrationAssociationSummaryList'][0]['IntegrationArn']
IndexError: list index out of range
Facing issue here.

it's a bug in the code,
change this line:
instance_data["wisdomArn"] = case_domain_integration['IntegrationAssociationSummaryList'][0]['IntegrationArn']
to this line:
instance_data["wisdomArn"] = wisdom_assistant_integration['IntegrationAssociationSummaryList'][0]['IntegrationArn']
and it should work


Multiple MQTT servers / bridge

Hi / Bonjour
'Warning ! Home Assistant cannot connect to multiple MQTT servers, this means that this script cannot be used if the Vigipool product is not the Home Assistant MQTT server '
This is not true. In HA / Mosquitto you can bridge multiple MQTT Servers.
Simply configure your HA MQTT (let's call it main)
You can bridge the VigiPool (Tild/Anteas) MQTT with HA
Simply create a mosquitto.conf file with this info:
connection bridge-01
address 192.168.1.XX:1883 # Ip address of your vigipool device
topic # out 0
topic # in 0

Then you will see everything:

Hi,
Thank you, for your feedback, I didn't know this method
I will correct the readme with your new information, can I put a link to your explication and translate it in other languages ?

Yes of course
I forgot to add that in the conf of the add-on you need to enable customize:

and I created the file under

As well since a few days I have weird behaviour; the MQTT server of the Tild VP is connecting/disconnecting. It does the same on MQTT explorer. Does anything has changed?
Its still anonymous access on port 1883?

Replying to myself on the weird MQTT issue.
Its maybe because I changed the main device (centrale vigipool) from anteaVS to tild.
I changed it again to Tild and it seems to work
I can successfully bridge anteavs broker to home assistant broker (which is also bridged to paradox alarm and tasmota)
I can as well change pump speed (i made a PR for it)
cheers

Thank you for the additional information
Glad to see everything is working !


[Website] Add typecheck

https://github.com/adevinta/spark-website/commit/e1542fe1b6b10ce3061b38238f6927e6c3fbc573


Suggestion: Add spotify connect...

Just a suggestion: maybe add Spotify connect and/or mopidy... This would be so awesome to have like your own sonos with voice assistant

if it's added to either AlexaPi or Google Assistant SDK (the 2 projects AssistantPi is built by), I'd happy to merge to it :) Maybe you could place your request there.

#28


Ratings Permissions: extend out to decoms and replacements

Description
Currently the enhanced data-driven permissions only cover editable ratings.  Currently only those with the global role can do decomms and replacements.  This change will extend the coverage of the permissions framework to cover decomms and replacements.
Resourcing
We intend to contribute this feature

@JWoodland-Scott - I think this can be marked as complete and part of 1.43 ?


Fused Delta+BitPacking

First of all, thank you for the incredible work! I'm currently working on an implementation of FastLanes over here in Rust: https://github.com/spiraldb/fastlanes
I came across this in Section 3.1:

Fusing Bit-packing and Decoding

The 116 bit-unpacking kernels we generate for all bit-packing widths 𝑊 and unpacked type-widths 𝑇 ≤ 𝑊 could possibly be fused with the decoding kernel for DELTA, FOR, DICT and FastLanes-RLE in a single kernels that do both unpacking and decoding.

I have currently implemented BitPacking, FOR and Delta encodings. I am also able to implement a fused FOR+BitPacking. But I noticed there isn't an implementation of fused Delta+BitPacking in this repository.
My assumption is that a fused kernel is purely a runtime optimisation, meaning that the serialised bytes should remain unchanged. In other words, BitPack(Delta(Transpose(Tuples))) == BitPack+Delta(Transpose(Tuples))
You'll have to forgive me if my understanding is wrong here, but I don't think it's possible to write this kernel in a fused way (or at least, it's very difficult?) given the current implementation of BitPacking.
Taking u16 as a concrete example.
The element iteration order within the delta encoding (unrsum) kernel (assuming a transposed input vector) is:
[
  0 128 256 ... 768 896
  64 192 320 ... 832 960
]

But the element iteration order for BitPacking doesn't respect the "04261537" in the same way:
[
  0 64 128 ... 384 448
  512 576 640 ... 896 960
]

For T=u16 and W=8, BitPacking would put elements 0 and 64 into a single packed value. But the Delta iteration order expects elements 0 and 128 to be "adjacent".
I think if BitPacking used the same iteration order as Delta, then it would be much simpler to implement fused kernels for transposed encodings, with no downside to linear encodings. Currently, given the layout of bits on disk, I think it's only really possible to implement fused kernels for linear encodings like FOR and ALP.
I may of course be completely misunderstanding this! Hopefully my question makes sense. It's quite hard to phrase things that refer to elements within transposed, folded and vectorised loops!

Hi,
Thanks,
So yes, Kernel fusion is a runtime optimization and does not affect the layout. It reduces the LOAD and STORE instructions needed to load back the bit unpacked data into registers for further decoding.
Fusing Delta + Bitpacking is not trivial and requires the reimplementation of the bitpacking module, and changing the order of decoding is not the only change. You also need to decode and keep two registers of bit unpacked data and ...
If you have more questions, my email is<EMAIL_ADDRESS>


Wildcard option

Given the argument @colincoleman mentioned here I think the module should have wildcard support. Even if we are opinionated there could still be reasons for using wildcards right?

This looks good to me, @itsdalmo could you have a look too?


whats expected after a successful first deployment?

On deploying the template for the first time after running the recipe, i got a 'Welcome to Bot Framework' screen with some learning options in the emulator.
On entering 'hi', i got a 'Sorry, it looks like something went wrong'.
With those responses, Its a bit hard to tell if my deployment was successful. Could anyone help clarify? Thanks

Sonraí doiciméid
⚠ Ná cuir an rannán seo in eagar. Tá sé riachtanach le haghaidh docs.microsoft.com ➟ nascadh fadhbanna GitHub.

ID: 615eae0a-7bae-820c-8fda-09fb0899bd0f
Version Independent ID: c2e5b308-760c-1226-ba9b-bef7ae535fca
Content: Enterprise Bot Template Deployment - Bot Service
Content Source: articles/v4sdk/bot-builder-enterprise-template-deployment.md
Service: bot-service
Product: bot-framework
GitHub Login: @darrenj
Microsoft Alias: darrenj

Hey... I am also getting the same error after entering "hi" on emulator

This topic no longer exists in the docs.


chore: use slave sentinel for readonly vertices

get slave client for preprocess, inference and threshold
reduce floating point precision in the final output score to make it more readable in the argocd UI
reduce floating point precision in the logs

Codecov Report

Merging #161 (c43cc14) into main (620d1f3) will decrease coverage by 0.11%.
The diff coverage is 76.47%.

@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
- Coverage   86.35%   86.25%   -0.11%
==========================================
  Files          18       18
  Lines        1114     1120       +6
  Branches      117      118       +1
==========================================
+ Hits          962      966       +4
- Misses        129      130       +1
- Partials       23       24       +1

Impacted Files
Coverage Δ

numaprom/udf/preprocess.py
90.00% <ø> (ø)

numaprom/clients/sentinel.py
72.00% <50.00%> (-6.27%)
:arrow_down:

numaprom/entities.py
95.65% <100.00%> (+0.04%)
:arrow_up:

numaprom/udf/inference.py
92.85% <100.00%> (ø)

numaprom/udf/postprocess.py
96.66% <100.00%> (+0.11%)
:arrow_up:

numaprom/udf/threshold.py
92.18% <100.00%> (ø)

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


Use generic directive from angular2-polymer

Connects to https://github.com/vaadin/components-team-tasks/issues/133

This change is

Angular tests broken in travis
Previously, Saulis (Sauli Tähkäpää) wrote…
> #### Use generic directive from angular2\-polymer
>
> Connects to https://github.com/vaadin/components-team-tasks/issues/133
>
>
>

Review status: 0 of 5 files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

test/angular2.html, line 138 [r1] (raw file):

            datepicker.value = '2001-01-01';

            datepicker.async(done, 1);

The previous directives worked synchronously. Why does angular2-polymer require this timeout?

Comments from Reviewable

Review status: 0 of 5 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

test/angular2.html, line 138 [r1] (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
> The previous directives worked synchronously. Why does angular2-polymer require this timeout?
Good question, the new directive had a `debounce` related with assigning the value for `ngControl` – I think I'm able to remove it, running tests now.

Comments from Reviewable

Tests should be fixed now.
Previously, manolo (Manuel Carrasco Moñino) wrote…
> Angular tests broken in travis

Review status: 0 of 5 files reviewed at latest revision, 1 unresolved discussion.

test/angular2.html, line 138 [r1] (raw file):
Previously, Saulis (Sauli Tähkäpää) wrote…
> Good question, the new directive had a `debounce` related with assigning the value for `ngControl` – I think I'm able to remove it, running tests now.
Done.

Comments from Reviewable

Previously, Saulis (Sauli Tähkäpää) wrote…
> Tests should be fixed now.

Reviewed 2 of 5 files at r1, 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Consolidate Ivy version mapping and project resolution

With the updates to dependency mapping, version mapping and project resolution will need to work hand in hand. This commit ensures that Ivy interacts with both of these features in the same place, allowing us to more easily modify this code in the future

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed.

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Awaiting mentor feedback on solution, but all other exercises still locked

I submitted my solution to the Two Fer exercise and am awaiting mentor feedback (status says "In Progress"). I would like to move on to the next exercise, but it is still locked (it is my understanding that the submission of my solution should have unlocked the next exercise).

The next exercise will be unlocked once this one is approved.
Can you link your solution page here?

@SleeplessByte thank you. My solution page is here. I guess I am confused since the "Next Steps" box on the right side of the screen says that while I wait for mentor feedback:

why not try a different exercise on the JavaScript track

why not try a different exercise on the JavaScript track

Ah yes, if you scroll down on the track page you can see the side exercises. These become available after each core exercise.
That said, the current queue for two-fer is about 4 days!

Oh I see. Thank you for clarifying!

No problem! 😄


Feature/sphinx

Initial Sphinx documentation generation config

Pausing this PR for a moment; though the Sphinx build does run locally, the full API docs are not yet showing on readthedocs.io; need to debug.


adding in sendbox padding so we dont overlap with the icon

What
The sendbox icon is getting overlapped with the text for the new message to send
Why
We need to fix this as it can be difficult to press on the button. We shouldn't be overlapping the text with the button.
How Tested
Ran it locally
Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Before:

After:


Design System: Remove out of date border styling

Context
Remove old border style in outline that snuck through a rebase and is making things the wrong size.
Summary
This line of code is obsolete now that focus styles are handled properly. Its getting removed in other PRs but those will take longer to merge. This expedites it.
Relevant Technical Choices

To-do

User-facing changes

Testing Instructions

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[ ] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[ ] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[ ] I have tested this code to the best of my abilities
[ ] I have verified accessibility to the best of my abilities (docs)
[ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[ ] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[ ] I have added documentation where necessary
[ ] I have added a matching Type: XYZ label to the PR

Fixes #

Hm, not sure what to make about all the diffs in Percy, so can't really approve those nor merge this PR. @BrittanyIRL, can you make any sense of it?

Hm, not sure what to make about all the diffs in Percy, so can't really approve those nor merge this PR. @BrittanyIRL, can you make any sense of it?

it's just white noise, we get those 'diffs' all the time in percy. went through and double checke.d

Makes sense that stuff made with this before this change might have a bit of a layout jump if it accounted for it to begin with. I'm guessing that's what's goin on in the percy diffs.
Kinda why it was dangerous to use border in the first place for the focus styles since it effects layout.
I think this is good that we're removing this now tho and can go back and fix any tiny spacing regressions as they come

Hm, not sure what to make about all the diffs in Percy, so can't really approve those nor merge this PR. @BrittanyIRL, can you make any sense of it?

it's just white noise, we get those 'diffs' all the time in percy. went through and double checke.d

could you please open a ticket for that? :-)
I'd rather fix that flakiness.

Hm, not sure what to make about all the diffs in Percy, so can't really approve those nor merge this PR. @BrittanyIRL, can you make any sense of it?

it's just white noise, we get those 'diffs' all the time in percy. went through and double checke.d

could you please open a ticket for that? :-)
I'd rather fix that flakiness.

I'm happy to but it's not new? It's a lot the same as the email you sent out a while ago.
https://github.com/google/web-stories-wp/issues/6317 I'll try to make note of it in future PRs.


Using sparql interpolator

@jdr0887 any updates here?

I have a round of commits almost ready to push


Point_not_counted

Related Issue
hey i checked your video and you told to do this :
so my pr #1164  #1165 #1166
is not displaying on leaderboard
Description
[Please include a brief description of the changes or features added]
Type of PR

[ X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Security enhancement
[ ] Other (specify): _______________

Screenshots / Videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[X ] I have performed a self-review of my code.
[X ] I have read and followed the Contribution Guidelines.
[X ] I have tested the changes thoroughly before submitting this pull request.
[X ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ X] I have commented my code, particularly in hard-to-understand areas.
[X ] I have followed the code style guidelines of this project.
[X ] I have checked for any existing open issues that my pull request may address.
[X ] I have ensured that my changes do not break any existing functionality.
[X ] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[X ] I have read the resources for guidance listed below.
[X ] I have followed security best practices in my code changes.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Please read the following resources before submitting your contribution:

[ X] Code Harbor Hub Community Features
[X ] Docusaurus Documentation
[X ] React.js Documentation
[X ] Markdown Guide
[X ] MDX Documentation
[ X] Mermaid Documentation

Resources for DSA Features on Our Site:

[ ] Tabs: Switch Languages
[ ] Line Numbering
[ ] Math Equations

Contribution Guidelines
Thank you for considering contributing to our project! To ensure smooth collaboration and effective contribution management, please adhere to the following guidelines:
Issue Creation

Limit on Issues:

Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.

Contribution Levels

Basic Contributions:

This project is primarily focused on documentation. Most of the setup has been completed, so contributors will generally need to work on basic code tasks, such as writing tests.
For these tasks, issues will be assigned the level1 label.

Acknowledging Hard Work:

If a contributor puts in significant effort on a task, the issue will be upgraded to level2. This is our way of recognizing and appreciating extra effort.

Feature Additions and Component Work:

Contributors working on new features or components using JSX/TSX will be assigned a level based on the complexity and quality of their work.
The more complex and valuable the contribution, the higher the level assigned.

Level Definitions

Level1:

Tasks are straightforward, such as fixing minor bugs, writing tests, or making simple documentation updates.

Level2:

Tasks require more effort, such as addressing complex bugs, improving existing features, or making substantial documentation improvements.

Level3:

Tasks are highly complex and involve significant new feature development, major refactoring, or extensive contributions to the project’s core components.

We look forward to your contributions and appreciate your effort in helping us improve the project!

hey @Ajay-Dhangar  sir actually my 7 prs of level 1 are not getting dispayed so i am raising 3 prs where you could assign them level 2 ,level 2 and level 1 and i will get my 70 points


Prevent Lake Formation admin actions to non-administrators

Issue number:
32
Description:
To prevent users from adding themselves as an administrator with an extract, transform, and load (ETL) script, make sure that all non-administrator users and roles are denied access to these API operations.
Branch name: Master
File/folder affected :
guardrails/lakeformation/Deny-Lakeformation-Admin-Operations.json
Changes proposed:
<Detailed description (including line numbers, if applicable) of what the changes are>

Please note the following
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.


creation of "useless" TowerNodes on areas

This area has 2 tower nodes:

The right tower node  makes sense, because it connects the area with a way.
The left tower node does not make sense for routing. It is just there, because it is the start/end point of the closed way ( which defines the area). GraphHopper transforms every point to a tower node that is registered at least 2 times. The start/end point appears twice, consequently it is always an tower node.
This means: Every area in GraphHopper has a tower node at the start/end point. Mostly this tower node is not necessary. However, sometimes this tower node is by chance a "correct" tower node.

That is indeed an unnecessary information that we could get rid of. I think you also mean that this introduces problems for indoor navigation - maybe you share your findings there? Maybe we should tag those special 'closed' ways as area to make routing on them possible one day?

This issue is probably also valid for any closed way. This could be a roundabout or a closed hiking path.


acw-x86 cannot be opened because the developer cannot be verified

Unfortunately I get this error when running the workflow on MacOS 12.4

Yeah, it needs to be notarized by Apple. I started working on a rewrite of the old Python2 extension in Go a few days before I saw this, but I drew the same conclusion — the workflow will need to be notarized.
Not sure what @jovobe’s plans are for this. As an alternative, you can compile it yourself to avoid the notarization requirement.

Thanks for your reply! Since I am a NodeJS developer I decided to make my own workflow based on NodeJS https://github.com/basvdijk/alfred-confluence-search

As an alternative, you can compile it yourself to avoid the notarization requirement.

@skyzyx Do you mind teaching me how to go about doing that?

@skyzyx my plan is to provide a notarized release right here. Unfortunately, I just did not have the time to get it done.

@yi-mei-wang absolutely! You need to go through the following steps:

Install the Rust toolchain. Here is the best resource to start.
As described here, you need to install an additional build target depending on which platform you are on.
Clone this repository to your machine.
Enter the repository and just run make. The workflow should then open up, and you are ready to go.

As an alternative, you can compile it yourself to avoid the notarization requirement.

@skyzyx Do you mind teaching me how to go about doing that?

I'm a little late, but @jovobe already answered the question. It's documented under the Development header in the README.

Awesome, thanks guys! @jovobe @skyzyx

@basvdijk there is a brand-new release, which should resolve this issue. Could anyone please confirm that it is working? You can get the latest release right here: https://github.com/jovobe/alfred-confluence-workflow/releases


Refactor lazy endpoint retrieval for nodes

Fixes https://github.com/ethereum/ddht/issues/161
What was wrong?
Issue #
How was it fixed?
Summary of approach.
To-Do

[ ] Clean up commit history

[ ] Add entry to the release notes

Cute Animal Picture

need to add tests for this new functionality.


Force Quests Journal to stay in inventory

What does your feature do?
A configuration option to force the journal to stay in a given inventory slot - not allowing players without a certain permission level to remove it.
How would people use it?
The little kids who use our server are often not very good at remembering or understanding how to type commands into chat (like /quests journal) but they do know how to do things like throw their journal into lava or off a cliff in protest. It would be nice to prevent them from being able to lose it.

https://github.com/PikaMug/Quests/blob/a8412c948dfa0d4456559109a48c6544ccc761b4/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java#L167
This code makes sure player cannot drop it's Journal from inventory. Which means if it's not working either your players have permissions to bypass that OR another plugin it's interfering.

It's also possible they somehow have the quests.admin.drop permission, so make sure that they don't.


Document lifecycle of a transaction

Document the full lifecycle of a transaction and the different validations that are performed:

JSON-RPC layer
Default parameters
Mempool
Actual execution

Closing as the original Hardhat code is outdated and will soon be replaced by EDR


[#112819029] Implement automated task generation in Rakefile

https://www.pivotaltracker.com/story/show/112819029
What
Currently add containers to this repo is tedious and there is lots of repetition. We want to simplify it.
Context
We refactor the repository to:

Automatically generate all the tasks to build and test the containers in the Rakefile based on existing Dockerfiles and spec files.
Call the new tasks from travis
Refactor the tests to keep all the constants and logic in the same file
Update the README to explain how to add containers and remove unnecessary duplication.

How to test this
Travis builds and runs the tests of the containers, and it should pass for all the containers.
You can also run it manually (docker required):
rvm use --create 2.2.2@containers
bundle install
bundle exec rake

who?
Anyone but @keymon

Not sure if this should be a part of this PR but I would like to have short guide how to add new container and tests to this repo.

Tested, and this all works correctly.

@combor, @alext repo updated with your suggestions

:+1:


Draft PR for possibility sysrst_ctrl_keyintr bug

Signed-off-by: Madhuri Patel<EMAIL_ADDRESS>

@patel-madhuri, what is the status of the draft PR? I believe the associated bug #9660 has been fixed?

Cool, thanks!


error:   Maximum execution time of 50 seconds exceeded

some html input give me error:

2017-04-05 15:32:18 - error:   Maximum execution time of 50 seconds exceeded in fluentdom\fluentdom\src\FluentDOM\Nodes.php on line 445
2017-04-05 15:32:42 - error:   Maximum execution time of 50 seconds exceeded in fluentdom\fluentdom\src\FluentDOM\Constraints.php on line 126
2017-04-05 15:34:00 - error:   Maximum execution time of 50 seconds exceeded in fluentdom\fluentdom\src\FluentDOM\Nodes\Fetcher.php on line 99
2017-04-05 15:35:07 - error:   Maximum execution time of 50 seconds exceeded in fluentdom\fluentdom\src\FluentDOM\Nodes.php on line 322
2017-04-05 15:40:14 - error:   Maximum execution time of 50 seconds exceeded in fluentdom\fluentdom\src\FluentDOM\Nodes\Fetcher.php on line 85
2017-04-05 15:40:34 - error:   Maximum execution time of 50 seconds exceeded in fluentdom\fluentdom\src\FluentDOM\Constraints.php on line 70

sory, my code is problem.

Ok


remove logging debug - [merged]

Merges debug -> main

enabled an automatic merge when the pipeline for 4dc6acb6d76b3a1000cdf1360a1eb7ed97bae505 succeeds

mentioned in commit d9588ab73eea9cc2219fd6b8054b830663e37278

In GitLab by @codecov on Aug 22, 2022, 03:38
Codecov Report

Merging #163 (4dc6acb) into main (d641afe) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #163   +/-   ##
=======================================
  Coverage   93.63%   93.63%
=======================================
  Files          20       20
  Lines         644      644
=======================================
  Hits          603      603
  Misses         41       41

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

approved this merge request

mentioned in commit 144f888df6a9a666ab975ec0b60299ae8c984674

picked the changes into the branch cherry-pick-d9588ab7 with commit 144f888df6a9a666ab975ec0b60299ae8c984674


Darkmode functionality not working !!

I really like your app and want to work on your project ,please assign this issue to me under gssoc-ext 2024


Bug: output shape inference of batch_dot with Theano backend is not correct

Tested on Mac, python 2.7, theano 0.8.2, tensorflow 0.10.0rc0, keras 1.1.0.

Problem: with Theano backend, batch_dot output shape inference is not correct.
Quick test code:

import keras
from keras import backend as K
import numpy as np
from keras.layers import Input, Lambda, merge, Reshape, Permute
from keras.models import Model

print('keras version: ', keras.__version__)
print('dim_ordering: ', K.image_dim_ordering())

x = Input((64, 32)) # (None, 64, 32) in batch
t = K.variable(np.ones((1, 32, 16))) # (1, 32, 16 in batch)
y = Lambda(lambda x: K.batch_dot(x, t, axes=(2, 1)))(x)
model = Model(input=x, output=y)
model.summary(line_length=80)
print('output_shape that the model thinks ', model.output_shape)
dummy_x = np.ones((64, 32))
dummy_y = model.predict(dummy_x[np.newaxis, :])
print('In fact, output shape is ', dummy_y.shape)

test result: with theano

Using Theano backend.
('keras version: ', '1.1.0')
('dim_ordering: ', 'th')
________________________________________________________________________________
Layer (type)              Output Shape      Param #  Connected to
================================================================================
input_1 (InputLayer)      (None, 64, 32)    0
________________________________________________________________________________
lambda_1 (Lambda)         (None, 64, 32)    0        input_1[0][0]
================================================================================
Total params: 0
________________________________________________________________________________
('output_shape that the model thinks ', (None, 64, 32))
('In fact, output shape is ', (1, 64, 16))

test result: with tensorflow:

Using TensorFlow backend.
('keras version: ', '1.1.0')
('dim_ordering: ', 'th')
________________________________________________________________________________
Layer (type)              Output Shape      Param #  Connected to
================================================================================
input_1 (InputLayer)      (None, 64, 32)    0
________________________________________________________________________________
lambda_1 (Lambda)         (1, 64, 16)       0        input_1[0][0]
================================================================================
Total params: 0
________________________________________________________________________________
('output_shape that the model thinks ', (1, 64, 16))
('In fact, output shape is ', (1, 64, 16))

There's no bug, with Lambda running on Theano you have to manually specify the output shape, as Theano doesn't do shape inference (Keras does over the top).

Oh, I see. Thanks.

On 28 Sep 2016, at 10:25, Kris Cao<EMAIL_ADDRESS>wrote:
There's no bug, with Lambda running on Theano you have to manually specify the output shape, as Theano doesn't do shape inference (Keras does over the top).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


ERROR: [youtube:tab] @wine-lcr: Unable to recognize tab page; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q=

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
United States of America Pacific North West
Provide a description that is worded well enough to be understood
I'm reporting an error as requested. This is my first time doing something like this, but I believe the output should provide enough information for a developer to identify the issue. I'm using an alternative email that doesn't forward messages, so my response time might be about a day.
The video URL is provided below; it leads to a channel's video tab. I used the "Open-With" to launch yt-dlp from Firefox to direct the output to the desired location. openwith is abandonware and not maintained. It is written in Python. The results were the same when I ran it directly in the terminal.
I'm on Windows 11 Pro (version 23H2), installed on January 1, 2023. I haven't tested this on Gentoo, Arch, or Ubuntu, but I believe my Gentoo installation, along with all the other distributions, is multi-lib. I suspect the issue is specific to Windows, while it might work correctly on Linux. I apologize if my explanation is unclear; I have a spinal injury, which limits my computing time. I must go. It is the end of getting the video off YouTube. It is coming.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
C:\Users\Eunha\bin>yt-dlp -vU  "https://www.youtube.com/@wine-lcr/videos"
[debug] Command-line config: ['-vU', 'https://www.youtube.com/@wine-lcr/videos']
[debug] User config "C:\Users\Eunha\AppData\Roaming\yt-dlp\config.txt": ['--extractor-args=youtube:skip=translated_subs', '--external-downloader=aria2c', '--external-downloader-args', 'aria2c:--min-split-size=1M --file-allocation=none --optimize-concurrent-downloads=true --max-connection-per-server=8 --max-concurrent-downloads=2 --split=8', '--throttled-rate=100k', '--compat-options=no-keep-subs', '--compat-options=embed-metadata', '--compat-options=no-clean-infojson', '--http-chunk-size=1M', '--user-agent=Mozilla/5.0 (iPad; CPU OS 16_7_10 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1,gzip(gfe)', '--no-mark-watched', '--geo-bypass', '--continue', '--no-call-home', '--no-mtime', '--progress', '--color', 'always', '--yes-playlist', '--format-sort', 'hdr,res', '--write-sub', '--write-auto-sub', '--sub-format', 'best', '--sub-lang=en.*', '--embed-subs', '--parse-metadata=description:(?s)(?P<meta_comment>.+)', '--embed-metadata', '--embed-chapters', '--embed-thumbnail', '--merge-output-format=mp4', '-o', 'H:\\ITZY\\%(uploader)s.%(upload_date)s.%(title)s-%(id)s.%(format_id)s.%(ext)s']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [65cf46cdd] (win_exe)
[debug] Compatibility options: embed-metadata, no-keep-subs, no-clean-infojson
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg N-117900-gbcbf3a5630-20241125 (setts), ffprobe N-117900-gbcbf3a5630-20241125
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.3.0, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[youtube:tab] Extracting URL: https://www.youtube.com/@wine-lcr/videos
[youtube:tab] @wine-lcr/videos: Downloading webpage
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (1/3)...
[youtube:tab] @wine-lcr/videos: Downloading webpage
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (2/3)...
[youtube:tab] @wine-lcr/videos: Downloading webpage
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received. Retrying (3/3)...
[youtube:tab] @wine-lcr/videos: Downloading webpage
WARNING: [youtube:tab] unable to extract yt initial data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube:tab] Incomplete yt initial data received; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U. Giving up after 3retries
[youtube:tab] @wine-lcr/videos: Downloading API parameters API JSON
[youtube:tab] @wine-lcr/videos: Downloading API JSON
ERROR: [youtube:tab] @wine-lcr: Unable to recognize tab page; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 742, in extract
  File "yt_dlp\extractor\youtube.py", line 5001, in wrapper
  File "yt_dlp\extractor\youtube.py", line 7082, in _real_extract

try removing the --user-agent option from your config


PyCon Ukraine 2016

- title: PyCon Ukraine 2016
  dir: pycon-ukraine-2016
  youtube_list: https://www.youtube.com/watch?v=AdVSkYBjuVg&list=PLq8sY4Lwwt288alCLBLasteq4L1Adm_g2
  language: rus

This can be closed I believe. See https://github.com/pyvideo/data/pull/265
(I cannot close it for some reason.)


DaggerGitHubComponent && DaggerNetComponent are missing

Cannot resolve "DaggerGitHubComponent"  and  "DaggerNetComponent"
Do i miss something?
Thanks,

These are dynamically created by Dagger..did you follow the guide walkthrough?

solved. thanks!


Downloadable link doesnt work

Right click neither working, no response from server :(

Should be working now.


Fixed rawurlencode for userInfo in Uri

When you specify a username and password using Uri::withUserInfo() these are not encoded for URL (see here). For instance, if the username is foo@ and the password is bar the userInfo results in foo@:bar that is not a valid URL encoded string.
Other PSR-7 implementations use rawurlencode() for encoding the characters in the URL (e.g. Guzzle, Laminas-diactoros).

@Nyholm can you review this PR? Thanks.

Merging this PR will break all existing usage of this feature.
I just quickly checked PSR7 specification and it does not mention anything about URL encoding.
I think it would be a better solution to throw an exception if you try to add UserInfo with characters not allowed.

@Nyholm I see your point. I did the change throwing an InvalidArgumentException if the user or the password is not URL encoded.

Thank you.
Let's refer to rfc3986 to determine if what is valid or not.
I think it is this. Please verify:
user:
  REGEX: [a-zA-Z0-9-\._~%!\$&'\(\}\*\+,;=]+

password:
  REGEX: [a-zA-Z0-9-\._~%!\$&'\(\}\*\+,;=]+

We also need tests for this.

@Nyholm  I checked rfc3986 and the correct regex is as follows:
^(?:[a-zA-Z0-9_\-\.~!\$&\'\(\)\*\+,;=:]|%[A-Fa-f0-9]{2})+$

We need to check for valid % HEXDIG HEXDIG that's why I used %[A-Fa-f0-9]{2}.
I provided also some cases for unit testing.

@Nyholm I was thinking that we should throw two different exceptions for the user and for the password. Can we add specific Exception classes extending \InvalidArgumentException?

Closing in favor of #213


Update JSDoc to support running test script on Node 12

Description of change
Running npm test on Node 12 throws an error as shown in the screenshot below:

The issue happens because jsdoc fails on Node 12. jsdoc uses requizzle which had a recent update in order to support Node 12. The recently released version 3.6 of jsdoc uses this newer version of requizzle adding support for Node 12. So, updating jsdoc to 3.6.x fixes the issue letting the tests run smoothly on Node 12.
It also fixes a vulnerability found by npm audit.
See:

https://github.com/hegemonic/requizzle/issues/5
https://github.com/hegemonic/requizzle/pull/4
https://github.com/jsdoc/jsdoc/blob/master/CHANGES.md#360-may-2019

Pre-Merge Checklist

[x] Lint process passed (npm run lint)
[x] Tests passed (npm run test)

We’ve been pinned at 3.5.5 because there was a new parsing engine in JSDocs introduced in 3.6 that borked our docs. JSDocs is not the most stable dependence for us and it rarely is updated. Please do a doc compare with 3.6 to make sure the output is non breaking (I suspect it might be tho).

You are right, the docs break with jsdoc 3.6 😞I guess it's not a priority to make the generation of docs work on node 12 anyway. I will close this PR and I will open another one when I find a way to update jsdoc to 3.6 without breaking the docs.

Created an issue related to this: https://github.com/pixijs/pixi.js/issues/5724


Changing dockerfilelint rc file to an empty file...

... since it doesn't handle an empty rules list. Adding a unit test.
Signed-off-by: Alexander Xydes<EMAIL_ADDRESS>

Codecov Report

Merging #11 (ed7843d) into main (d223f33) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
+ Coverage   87.50%   87.58%   +0.08%
==========================================
  Files           4        4
  Lines         288      290       +2
==========================================
+ Hits          252      254       +2
  Misses         36       36

Impacted Files
Coverage Δ

...ooling/plugins/tool/dockerfile_lint_tool_plugin.py
94.04% <100.00%> (+0.07%)
:arrow_up:

...tooling/plugins/tool/dockerfilelint_tool_plugin.py
95.71% <100.00%> (+0.06%)
: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 d223f33...ed7843d. Read the comment docs.


M-p and M-n unbound in repl when working on common lisp files

Observed behavior
M-p and M-n are unbound in the mrepl when working on common lisp files.
Expected behavior
I expected sly-mrepl-previous-input-or-button to be called when pressing M-p and sly-mrepl-next-input-or-button to be called when pressing M-n.
Steps to reproduce

Open a .lisp file
Start a repl (:repl, SPC c r, or C-c C-z)
Evaluate something, e.g., '(1 2 3) by entering insert mode, typing it, and pressing return
Press M-p
Receive message that M-p is unbound

I've reverted changes back to the first commit (6a6652d394cb0069dc4fcaba6f62d81b119ffc8e) implementing sly features but the problem remains.
I've also reverted the sly version without any luck.
The problem only occurs when the popup feature is enabled.
I traced the issue to ...
(defvar +popup-buffer-mode-map
  (let ((map (make-sparse-keymap)))
    (when (featurep! :feature evil)
      ;; for maximum escape coverage in emacs state buffers
      (define-key map [escape] #'doom/escape)
      (define-key map (kbd "ESC") #'doom/escape))
    map)
  "Active keymap in popup windows. See `+popup-buffer-mode'.")

Removing the second key define so that ...
(defvar +popup-buffer-mode-map
  (let ((map (make-sparse-keymap)))
    (when (featurep! :feature evil)
      ;; for maximum escape coverage in emacs state buffers
      (define-key map [escape] #'doom/escape))
    map)
  "Active keymap in popup windows. See `+popup-buffer-mode'.")

... fixes the issue.
Disabling popup mode before calling the repl also works.
I've made a patch for this for myself, but I'm hesitant submitting a pull request as I neither fully understand why both defines are needed, nor the underlying reason for the bug.
System information

Click to expand
- OS: gnu/linux (x86_64-pc-linux-gnu)
- Emacs: 26.1 (Jul 05, 2018)
- Doom: 2.0.9 (develop 96bea9e9ad4f3e3412472fa0f26a19d19be66a1a)
- Graphic display: t (daemon: nil)
- System features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2
- Details:
  ```elisp
  elc count: 0
  uname -a:  Linux  4.18.5-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 24 12:48:58 UTC 2018 x86_64 GNU/Linux
  modules:   (:feature eval (evil +everywhere) file-templates (lookup +devdocs +docsets) snippets spellcheck (syntax-checker +childframe) workspaces :completion (ivy +fuzzy) :ui doom-dashboard doom-modeline doom-quit evil-goggles hl-todo nav-flash treemacs (popup +all +defaults) vc-gutter vi-tilde-fringe window-select :editor rotate-text :emacs ediff electric hideshow imenu vc :tools magit :lang (cc +irony +rtags) common-lisp data emacs-lisp (latex +latexmk +okular) markdown (org +attach +babel +capture +export +present) python sh web :app :config :private)
  packages:  n/a
  exec-path: (/usr/local/sbin /usr/local/bin /usr/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /usr/lib/emacs/26.1/x86_64-pc-linux-gnu)
  ```

Thanks for the detailed bug report! Emacs translates meta + ... keybinds to ESC + ... in the terminal. That second ESC keybind was to ensure ESC in the terminal would invoke doom/escape, but this inadvertently disables meta keybinds so I've removed it in a1440f8. This should resolve your issue.
Let me know if that isn't the case and I'll reopen this.

Thanks for the detailed bug report! Emacs translates meta + ... keybinds to ESC + ... in the terminal. That second ESC keybind was to ensure ESC in the terminal would invoke doom/escape, but this inadvertently disables meta keybinds so I've removed it in a1440f8. This should resolve your issue.
Let me know if that isn't the case and I'll reopen this.

Sorry for the late reply and thank you for the patch (and teaching me about the differences between terminal and GUI emacs)!
Now it works perfectly well in insert mode. In normal mode M-p works the same way as in insert mode, but M-n opens a new buffer.
It's not a big issue for me personally since I'm usually in insert mode when using the REPL, but wanted to let you know in case its unintended behavior.


Fix Checkmarx errors

Fix some Checkmarx findings on the Privacy Forms feature that got merged on Friday. Also clean up some duplicated code.
How to test this PR

Make sure no functionality changed from #6759

Notes and todos

I'm still planning to write more tests, but this was higher priority.

Checklist

[x] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[ ] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines
[x] Future todos are captured in comments and/or tickets
[x] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
CFGOV/platform wiki on GHE – for internal CFPB developer guidance
CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

This PR makes more sense if you look at each commit separately :)


Dynamic commits

This PR closes issue #986.
The PR modifies the transaction struct so that it number of commitments and nullifiers is not fixed anymore. By doing this, Nightfall can accept now transactions that use a larger number of commitments.
The circuits code has also been generalized, so that it is easier to change the number of nullifiers / commitments accepted

Looks like you added paddArray helper in multiple places, also it exists on others. Maybe move this one to common files and keep it only there once?


Black bars not black anymore

The black bars that show when the aspect ratio from a video differs from the one shown by the display are currently the same color as the youtube background, instead of just being black.
This wasn't an issue until some weeks ago (I recently updated the theme).

Here shown with the mocha theme

Try


Can you use socket.on and socket.emit?

Any way of using those socket io functions?

In the following snippet:
const socket = useSocket("tweet", newTweet =>
    setTweet([newTweet, ...tweets])
  );

socket is the actual socket.io socket so you can play with socket.emit.
Moreover, the first argument of useSocket is the event name you can listen to, just like if you would have done socket.on('tweet') 😊
Hope this help :D


Training on age & custom factor - generated model dimension issue

Hey Yusuke
This is a continuation from issue 17.
After i ran train.py, I generated checkpoints, along with these files:

history_16_8.h5
WRN_16_8.h5
WRN_16_8.json (you can see here)

In you predict.ipynb, I changed the
model.load_weights(os.path.join("pretrained_models", "weights.18-4.06.hdf5"))
to
model.load_weights("WRN_16_8.h5")
And I'm getting this odd error:

ValueError: Dimension 0 in both shapes must be equal, but are 131072 and 32768 for 'Assign_137' (op: 'Assign') with input shapes: [131072,2], [32768,2].

Any ideas where I might've gone wrong? I made sure I am using same widenet_res.py in both training and in prediction
BTW, I changed the nb_epoch from 30 to 100 during training but i doubt this is the cause...?

Hi, you seem to have trained the network using images with 32x32 size.
Therefore, img_size = 32 will fix the issue.

Oh wow. Once again,  thank you SO much for your help. That worked!
Out of curiosity.. how were u able to figure that out w/o looking at my code?

It is evident because 131072/32768 = 4 just as 64x64/(32x32) = 4.

@bsonnenschein is right. And I saw "batch_input_shape": [null, 32, 32, 3] in WRN_16_8.json =D


Fuse.Controls.Video: don't use WPF assemblies on mono/macOS

Try avoiding having to find "PresentationCore" since that's a WPF assembly only found on Windows,
https://github.com/fusetools/uno/issues/1464
This PR contains:

[ ] Changelog
[ ] Documentation
[ ] Tests

@mortend: I wish we could have changed uno to not need this instead, because I'm afraid of 3rd party code doing the same... :/

Sadly, it doesn't fix the problem for me, I now get this instead:
You are using dlopen without a full path, retrying by prepending /usr/lib
Could not find `Fuse.Video.WPF` referenced by assembly `Fuse.Video.CIL, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null`.
Could not find `Fuse.Video.WPF` referenced by assembly `ManualTestingApp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null`.
Could not find `Fuse.Video.WPF` referenced by assembly `ManualTestingApp-loader, Version=0.0.65535.65535, Culture=neutral, PublicKeyToken=null`.
System.IO.FileNotFoundException: Could not load file or assembly 'Fuse.Video.WPF' or one of its dependencies
File name: 'Fuse.Video.WPF'
  at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) <0x109fa2010 + 0x00489> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName,System.Security.Policy.Evidence)
  at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) <0x109fa1ef0 + 0x00022> in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName)
  at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) <0x109fa1df0 + 0x0002b> in <filename unknown>:0
  at ObjCRuntime.Runtime.CollectReferencedAssemblies (System.Collections.Generic.List`1 assemblies, System.Reflection.Assembly assembly) <0x109fa1a80 + 0x000a8> in <filename unknown>:0

@kusma Do you know if we can close this now or does it need to be picked up by somebody?

It can be closed, thanks for the reminder!


Push Notification conflict

https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md
According to documentation here this plugin is not using gradle to integrate  Google Play Services package, please fix this so I can finally use both push notifications and your admob! If I end up having to fork my own version and integrate gradle, I'll remove the appfeel contribution which I originally had no intention of doing. I desperately need both push notifications and admob and it's surprising to me that the functionality is so hard to integrate cleanly.

I've the same problem. I need both plugins.
Did you solve?
Thanks in advance

Yes! I ended up using these guys called http://onesignal.com
Works perfectly and has more functionality than this broken plugin. I regret spending so long messing with the different versions of admob + this plugin. Absolute garbage when an official plugin doesn't work properly for its own platform.

You'll run into more issues with GPS and phone gap build not being the right version..I'm glad it worked out for you, hopefully they will fix these issues one day. I'm guessing you compile locally?


Don't reject when server responds with 201 created

Was confused for a bit why all my uploads were being rejected even though the server was responding with a success code. Seems like 201 is a pretty normal response for a uploaded file.

Oh dear! That's a very valid response. Will merge and bump the version :)

@IanVS yes. I was thinking about doing that. For now, this is probably good.

Anyhoo, this is out! See version 0.6.18 :)


Added support for Codabar

I added support for new barcode symbology named Codabar.
It is widely used since 1970's.

Thanks! Merged and released as 0.6.6

Thanks!


About Dataset

Could you please tell me how to download the data used in your paper?
I cannot find how to download...

There are only 10 image data sets on the COPDGene official website. Is there a problem?

 I was in trouble recently, why not we have a talk
I am looking for help


fmt: add pl_trim functions

relates to:
https://github.com/baresip/baresip/pull/2163

Isn't used any longer in the baresip PR.
Should we close this?

I think these functions are also useful alone. Thanks!

Now it's again used in https://github.com/baresip/baresip/pull/2163.


Smarter newline on return key in comments

I don't know if this is in scope or even possible in VS Code.
I think it would be really useful and convenient if, when the cursor is inside of an inline comment and you press enter, the editor would automatically insert the // or /// sigil on the beginning of the new line.
So, say you have the following code:
/// This is a function named `foo`.
fn foo() {}

You place the cursor after "function" and press enter, you currently get:
/// This is a function
 named `foo`.
fn foo() {}

I think you should get:
/// This is a function
/// named `foo`.
fn foo() {}

This exists, see e.g. #4277.


unable to run e2e tests with simple project

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [x] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Related: #13113
PR in the works for #13113 => https://github.com/angular/angular-cli/pull/13272
My error:
C:\ae\adaept.com\aeicons-angular>npm run e2e

><EMAIL_ADDRESS>e2e C:\ae\adaept.com\aeicons-angular
> ng e2e

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

Date: 2019-01-06T22:23:25.680Z
Hash: 14fa6ee4a7dad803e96e
Time: 13241ms
chunk {main} main.js, main.js.map (main) 10.8 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 223 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 16.3 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 3.43 MB [initial] [rendered]
i ｢wdm｣: Compiled successfully.
[14:23:26] I/update - chromedriver: file exists C:\ae\adaept.com\aeicons-angular\node_modules\protractor\node_modules\webdriver-manager\selenium\chromedriver_2.45.zip
[14:23:26] I/update - chromedriver: unzipping chromedriver_2.45.zip
[14:23:26] I/update - chromedriver: chromedriver_2.45.exe up to date
events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at ChildProcess.target._send (internal/child_process.js:742:20)
    at ChildProcess.target.send (internal/child_process.js:626:19)
    at Observable.rxjs_1.Observable.obs [as _subscribe] (C:\ae\adaept.com\aeicons-angular\node_modules\@angular-devkit\build-angular\src\utils\run-module-as-observable-fork.js:57:23)

Repro steps

Repo: https://github.com/peterennis/aeicons-angular
The log given by the failure

Desired functionality

No error.
Mention any other details that might be useful

Dependencies updated from basic project creation.

Any update on release? still having this issue...

same here. I am absolutely mystified how I can create a brand new project and e2e be broken. like how is that even a thing?!?!

any solution so far? I am facing the same issue node 10.15.3
cli - 7.3.8


add a folder name Stacks Algorithim and create two programs of insert…

pls review my PR.

@all-contributors please add @InsAneDark  for his code


CRITICAL:root:unsupported operand type(s) for %: 'bytes' and 'tuple'

Hi, i install the last version vncdotool and i have this while i am testing on (python3.7/centos7) machine
What can i do for fix the problem ?
Thanks
vncdo -s <IP_ADDRESS> capture screen.png
Unhandled Error
Traceback (most recent call last):
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
---  ---
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/internet/posixbase.py", line 597, in _doReadOrWrite
why = selectable.doRead()
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/internet/tcp.py", line 208, in doRead
return self._dataReceived(data)
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/internet/tcp.py", line 214, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/var/www/commercial/env/lib/python3.4/site-packages/vncdotool/rfb.py", line 474, in dataReceived
self._handler()
File "/var/www/commercial/env/lib/python3.4/site-packages/vncdotool/rfb.py", line 143, in _handleInitial
b"RFB %03d.%03d\n" % (int(parts[0]), int(parts[1])))
builtins.TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'
CRITICAL:twisted:Unhandled Error
Traceback (most recent call last):
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
---  ---
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/internet/posixbase.py", line 597, in _doReadOrWrite
why = selectable.doRead()
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/internet/tcp.py", line 208, in doRead
return self._dataReceived(data)
File "/var/www/commercial/env/lib/python3.4/site-packages/twisted/internet/tcp.py", line 214, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/var/www/commercial/env/lib/python3.4/site-packages/vncdotool/rfb.py", line 474, in dataReceived
self._handler()
File "/var/www/commercial/env/lib/python3.4/site-packages/vncdotool/rfb.py", line 143, in _handleInitial
b"RFB %03d.%03d\n" % (int(parts[0]), int(parts[1])))
builtins.TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'
CRITICAL:root:unsupported operand type(s) for %: 'bytes' and 'tuple'

same here any updates :-(

That looks like a python3 vs python2 issue.  I'm unlikely to have time to debug further in the near term.  This document might be helpful if you'd like to investigate.

Thanks

I agree Marc, looks like a py3 vs py2 issue.
And proably you do not use RFB version 3.3.
If you post the content of the variable "version_server" (line 131) I will look for a solution.

Hi, faced this and other Py3 issues today, does anybody know which python/library version is stable?

I am still experiencing the issue:
Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/local/lib/python3.4/dist-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/local/lib/python3.4/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python3.4/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
---  ---
File "/usr/local/lib/python3.4/dist-packages/twisted/internet/posixbase.py", line 597, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python3.4/dist-packages/twisted/internet/tcp.py", line 208, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python3.4/dist-packages/twisted/internet/tcp.py", line 214, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python3.4/dist-packages/vncdotool/rfb.py", line 482, in dataReceived
self._handler()
File "/usr/local/lib/python3.4/dist-packages/vncdotool/rfb.py", line 144, in _handleInitial
bytes(b"RFB %03d.%03d\n" % (int(parts[0]), int(parts[1]))))
builtins.TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'
triggered by:
client.keyPress('lsuper')
python 3.4, vncdotool 0.11.2, Debian Jessie

The issue affects python 3.4.1 on SLES as well. Any workaround other than upgrading Python?


Create fluentd.md

Signed-off-by: Samad Ahmed<EMAIL_ADDRESS>Describe your changes in brief
This is an integration between CORTX and Fluentd.
Changes

[X] Why is this change required? What problem does it solve?
The world is rapidly increasing on not only its data usage, but also the actual amount of data being created. As a result, we need to be able to store this data in a cohesive, organized manner instead of having a jumbled mess. This data can arrive from a variety of sources such as application logs, network logs, data streams, and even from sensors used in IoT devices. Integrating Fluentd with CORTX allows for organized data collection from all of these domains in a unified layer.

[ ] If proposing a new change then please raise an issue first

How Has This Been Tested? (Optional)

[X] Please describe in detail how you tested your changes.
This was tested on WSL for Windows on a Debian machine using the CORTX environment hosted on Cloudshare.

[ ] Include details of your testing environment, and the tests you ran to

[ ] How your change affects other areas of the code, etc.

Screenshots (if appropriate)
Checklist

[X] tested locally
[ ] added new dependencies
[X] updated the docs
[ ] added a test

View rendered doc/integrations/fluentd.md

@all, I see the contributor.md is for internal forks?


Clear selection through controller.

There is a select none button on the view and it calls select('none', $event) . How do I call this on controller?

Hi @deepakbhattarai ,
If you want to select none from your controller, simply loop your input-model and set all the check mark into false.
Let's say your input-model is $scope.data, and the check property is "ticked", then:
....
angular.forEach( $scope.data, function( value, key ) {
    value.ticked = false;
}
....

@isteven  Thank you very much. I didn't think that way first.


No recent releases

Hi there - I really appreciate the work you've done with this library but I don't see any releases on npm from the last six months despite all the new work you've been doing. Is there any reason for that?

I just published create-react-native-module based on this project, with very basic view component support added as an option.


auto-curried, data-last functions

Like lodash/fp but lazy, or https://github.com/ReactiveX/IxJS

Could you elaborate on what you mean by "auto-curried"? Is this essentially a duplicate of #24?

@dtao no not sure what that's about. I'm talking:
var result = Lazy(people)
  .pluck('lastName')
  .filter(function(name) { return name.startsWith('Smith'); })
  .take(5);

becomes:
var result = l.flow(
  l.pluck('lastName'),
  l.filter(function(name) { return name.startsWith('Smith'); }),
  l.take(5),
)(people)

Ah, gotcha. Yes, someone asked about something similar before... unfortunately I can't seem to find it.
Anyway, I think something like this exists already. It is called apply():
var result = Lazy([])
  .pluck('lastName'),
  .filter(function(name) { return name.startsWith('Smith'); }),
  .take(5)
  .apply(people);

Granted, this interface is very odd (passing in an empty array initially—weird); and the implementation is very hacky. I'm not pleased with it at all. But it does exist.
Probably I will consider changing how this works and introducing something more like what you've suggested in a future version.

Those are methods. I'm looking for something like lodash/fo
On 5 Feb 2018 18:21, "Dan Tao"<EMAIL_ADDRESS>wrote:

Ah, gotcha. Yes, someone asked about something similar before...
unfortunately I can't seem to find it.
Anyway, I think something like this exists already. It is called apply():
var result = Lazy([])
.pluck('lastName'),
.filter(function(name) { return name.startsWith('Smith'); }),
.take(5)
.apply(people);
Granted, this interface is very odd (passing in an empty array
initially—weird); and the implementation is very hacky. I'm not pleased
with it at all. But it does exist.
Probably I will consider changing how this works and introducing something
more like what you've suggested in a future version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dtao/lazy.js/issues/215#issuecomment-363173803, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZQTFpZ0Zyy8Wb8V7lK5OdK83p3JCgXks5tR0azgaJpZM4QYJRU
.


PWM, Servo pin mapping for photon

Patch to follow

@rwaldron do you happen to remember details on what this was in reference to?


Scatter chart data set color not working

Hello. I have a scatter chart view that works correctly. It has many data sets and the values are displaying normally. To each data set I'm assigning different colors like this
if mainIndex == 0 {
    indexDataSet.setColor(UIColor.redColor())
} else if mainIndex == 1 {
    indexDataSet.setColor(UIColor.blueColor())
} else if mainIndex == 2 {
    indexDataSet.setColor(UIColor.greenColor())
} else {
    indexDataSet.setColor(UIColor.yellowColor())
}

However when I run the code, all the values are yellow. It seems that the chart takes only the color of the last data set. Any ideas on how to solve this?
Thanks

ChartsDemo's scatter chart could have different colors. Please
- (void)setDataCount:(int)count range:(double)range for how to set the colors.
if it's always yellow, I suspect either indexDataSet is the same or mainIndex has problems

Can you please take a look at the code, maybe i'm missing something
var indexDataEntriesArray = [ChartDataEntry]()
var indexDataSetArray = [ScatterChartDataSet]()

var index = 0
var mainIndex = 0
        for mainObject in mainArray {
            for value in mainObject.valuesArray {
                let scatterDataEntry = ChartDataEntry(value:value, xIndex: index)
                indexDataEntriesArray.append(scatterDataEntry)

                index++
            }

            let indexDataSet = ScatterChartDataSet(yVals: indexDataEntriesArray, label: "")
            if mainIndex == 0 {
                indexDataSet.setColor(UIColor.redColor())
            } else if mainIndex == 1 {
                indexDataSet.setColor(UIColor.blueColor())
            } else if mainIndex == 2 {
                indexDataSet.setColor(UIColor.greenColor())
            } else {
                indexDataSet.setColor(UIColor.yellowColor())
            }
            indexDataSet.label = ""
            indexDataSet.drawHorizontalHighlightIndicatorEnabled = false
            indexDataSet.drawVerticalHighlightIndicatorEnabled = false
            indexDataSet.scatterShape = .Circle
            indexDataSet.scatterShapeSize = 5
            indexDataSetArray.append(indexDataSet)

            mainIndex++
            index = 0
        }

        //Add all datasets
        let indexData = ScatterChartData(xVals: yearsArray)
        for indexDataSet in indexDataSetArray {
            indexData.addDataSet(indexDataSet)
        }

        indexChartView.data = indexData
        indexChartView.setNeedsDisplay()

well with a glimpse, it seems fine, but you need to debug it on your own, it's more efficient, especially you have ChartsDemo to play with.


Issues #13 and #14, Querying google calendar events, Displaying them in a recycler view, Refactoring packages

Issues #13 and #14:

Created Calendar Models : Calendar and CalendarEvent
CalendarRepository, queries calendar data (like events) using contentResolver
A Calendar is uniquely identified by the color of its events (set on google calendar app)
Right now all custom events are being 'synced' (meaning all events created by the user on their Google Calendar App are being retrieved by the query)
Selecting different calendars will be possible by filtering the calendar events by their color
Added a recycler view which holds calendar events (in cardviews)
The CalendarAdapter handles the recycler view items
The event title, location and date/time are shown
The cards have the same border color as the event color in the google calendar app
Clicking on a event card will navigate to the map fragment (and later start the navigation to the destination if it is a valid location)
Split the classes into different packages, views, models, viewmodels, adapters and repositories
Asking for calendar read/write permission once the calendar fragment is opened

I'm busy today, so @Amanda-Kolopa if you can review the PR today that would be great!


Testing pull request with failed assert statement

This test successfully called out the failed assert statement with pytest. It appears that the CI is correctly setup and further implementation is ready to begin.


Manually shutdown H2 database

It seems the fix https://github.com/gradle/gradle/pull/23684/commits/45e831242e73206c72805d157cee8217b2bd49d8 fixed the issue for CI. Let's not continue on that for now.


Support default files on path

If the fileserver is being used to serve static files for a front-end, it would be great if it could serve e.g. index.html on the root URL, without the user having to specifically request index.html.
One concept could be to make it a component config with a true | false | root_only enumerator, or to make a configuration option to specify this per path - e.g., "/" = "index.html", "/path1" = "path1_index.html" etc.

It's pretty common to have some kind of "default path" config (e.g. index in Nginx) that is used for /.

I'd like to self-assign - have a PoC already :-)


Pinned, Quick Access and Recent Files are all empty, and nothing can be added to them

Description
When I first installed files, all of these features worked.
Then yesterday when I started the PC, everything had been removed from Pinned, Quick Access and Recent Files, and now when I attempt to add a folder/shortcut/file to any of these, it doesn't work. There's no error message, just nothing happens.

Steps To Reproduce

Open Files

Requirements
Pinned, Quick Access and Recent Files should be populated, and I should be able to add items to these areas.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22635.3212
Log File
debug.log

Thanks for the report, Can you try

Restarting Windows
Clearing recent folders in Windows File Explorer > ... button > Options > Clear > Restart Files from the system tray

Hi, sorry for not getting back to you. I thought I had.
Your suggesting fixes the problem until the next reboot, at which point the problem occurs again.
What information/data can I provide for you to help you look into this?

Can you try In the same page as clearing, turn off Show recent folders option then clear them again and see if it stays working.

this seems to help keeping my desktop etc in the pinned list, will report back if this keeps happening. i seem to have the same issue as @Wakers

This seem to be a issue for a lot of users, right now we're tracking this in https://github.com/files-community/Files/issues/15120. You can check there or click subscribe in the right sidebar for updates.