README addition - mention krb5-devel possibly needing installation before npm install

Just as a note for others that may run into this issue on CentOS: you may want to note that it may be necessary to "yum install krb5-devel" on CentOS 7.1 and likely other versions / distros for strider to successfully build without error.
Versions
[root@test test]# node --version
v4.4.7
[root@test test]# npm --version
2.15.8
Log Messages
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from mongodb-core will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

><EMAIL_ADDRESS>install /usr/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/usr/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
make: Leaving directory `/usr/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'

><EMAIL_ADDRESS>install /usr/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/usr/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build'
  CXX(target) Release/obj.target/bson/ext/bson.o
make: Leaving directory `/usr/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build'

><EMAIL_ADDRESS>install /usr/lib/node_modules/strider/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.4.7"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/strider/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/.node-gyp"
make: Entering directory `/usr/lib/node_modules/strider/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
 #include <gssapi/gssapi.h>
                           ^
compilation terminated.
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory `/usr/lib/node_modules/strider/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.10.0-229.7.2.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/strider/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok

@arimus did you solved this problem ?

Yes, the problem was solved by installing the krb5-devel package as mentioned above. I opened this ticket so that the docs could be updated to mention this fact.

Added a note to the README


Great tutorial

Learned much doing all eight parts. Most problems I had were self-inflicted gunshot wounds.
One issue previously mentioned by another user was switch of SchoolContext from ContosoUniversity.Model namespace to ContosoUniversity.Data namespace. I elected to go ahead shift the SchoolContext into the ContosoUniversity.Data namespace and under the Data directory. Then manually did a global file search and replace (not to hard to find what breaks - just follow the build errors).  Doing so only had one small side-effect: namely scaffolding of entities using the "Razor Pages using Entity Framework (CRUD)" broke because I didn't notice that the Data Context used by default still pointed to "ContosoUniversity.Models.ContosoUniversityContext". When I attempted to erroneously change this to "ContosoUniversity.Models.SchoolsContext" following scaffolding the initial scaffolding instructions I was presented with VS error:
"There was an error running the selected code generator:
'There was an error creating a DbContext, the file c:...\SchoolContext.cs already exists'"
After rerunning the "Add Razor Pages using Entity Framework (CRUD) dialogue and changing the Data Context class for the scaffolding to the correct context "ContosoUniversity.Data.SchoolsContext" everything worked as it should.
Thanks again for putting this together.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 16a5d321-117b-c37c-6ac9-b56009e7ead7
Version Independent ID: e337d2e1-7447-634a-d11a-511247e0f897
Content: Razor Pages with EF Core in ASP.NET Core - Concurrency - 8 of 8
Content Source: aspnetcore/data/ef-rp/concurrency.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Thanks for commenting @jkkirkland. You're correct the namespace issues. There's an open issue to address that: https://github.com/aspnet/Docs/issues/7745.


infer incorrectly marks property as required for any().optional() after upgrading to v3.3.4

After upgrading from v3.2.0 to v3.3.4, for an object like ->
const TestSchema = z.object({
  options: z
    .object({
      message: z.string().optional(),
      convertOption: z.string().optional(),
      displayOrder: z.any().optional(),
    })
    .optional(),
})

and
z.infer<typeof TestSchema>
results in
{options?: {message?: string | undefined, convertOption?: string | undefined, displayOrder: any} | undefined}
instead of marking displayOrder?: any
Using number or string instead of any marks it as optional correctly.

Fixed in 3.4.0.
@lilred fixing this requires rolling back #494. Due to the nature of how TypeScript merges types, all any/unknown schemas will either be interpreted as required or optional.
type asdf = unknown | undefined; // unknown
type qwer = any | optional; // any

There's no way to discriminate between an "optional" unknown and a "required" unknown becauase TypeScript merges the | undefined into the unknown. I didn't realize this at the time. The only way to fix this would be to rewrite the requiredKeys alias to operate in the runtime/Zod domain instead of in the "inferred type" domain, which would be a big messy recursive alias that's error prone and wouldn't work with third-party combinators.
Since undefined is assignable to both unknown and any, I think making all unknown/any schemas optional in objects is the best approach.

That's unfortunate. I'll give this a look when I have time in case I can find another way. (Not super hopeful but these are always interesting puzzles.)
Did anyone add unit tests addressing @divpreet's issue to prevent regressions?

Test added in 5a14940.

Works fine with the fix. Tested on v3.5.1
Can close this if you like.


Django Integration: AttributeError: 'functools.partial' object has no attribute 'module'

How do you use Sentry?
Self-hosted/on-premise
Version
1.9.9
Steps to Reproduce
Pretty unsure what exactly is going on. I run my test suite, which itself does not fail at all. For one particular test I get an exception related to sentry_sdk- When downgrading to 1.9.8 the error goes away.
When looking into the source code the error is related to a newly added code in the latest release.
Expected Result
No exception should be raised
Actual Result
The exception raised is:
File "D:\Local_Development\microscopy_image_database\venv-mdb39\lib\site-packages\sentry_sdk\integrations\django\signals_handlers.py", line 40, in wrapper
    description=_get_receiver_name(receiver),
  File "D:\Local_Development\microscopy_image_database\venv-mdb39\lib\site-packages\sentry_sdk\integrations\django\signals_handlers.py", line 24, in _get_receiver_name
    name = receiver.__module__ + "."
AttributeError: 'functools.partial' object has no attribute '__module__'

Got the same issue. Just updated from 1.9.8 to 1.9.9 and a bunch of tests for our django project failed the same way.
Downgrading fixed it aswell.


Adding Carthage Instructions to README.md

Thank you! That's something we planned to do but we are not familiar with Carthage, are you sure it would include only the files in Source? I'm trying to understand how it works but I'm not sure

In the project (kakapo scheme/target) there are files that shouldn't be shipped (a swift assert wrapper to be able to test assert/precondition etc) could you confirm they would not be shipped with Carthage?

Current coverage is 99.14% (diff: 100%)

Merging #97 into master will not change coverage

@@             master        #97   diff @@
==========================================
  Files            10         10
  Lines           470        470
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            466        466
  Misses            4          4
  Partials          0          0

Powered by Codecov. Last update ec27850...76ada93

@russellbstephens just checked and there seems to be no way to exclude a file with Carthage, however that file (https://github.com/devlucky/Kakapo/blob/master/Framework/CustomAssertions.swift) can be included with the framework (is just wrapping the assertions) so should be fine.
Thank you for the PR


Why are there no dynamic framework targets for React Native?

Description
React Native has only static library targets. Any reason why there are no dynamic framework targets as well?

I understand why this was done from the start, as RN supported iOS 7 (and possibly below) at some point, but since the project now has a deployment target of iOS 8, there really is nothing to prevent dynamic frameworks on the surface. Any underlying technical issues in supporting it?
 Working with Swift projects will also be much simpler.
Solution
There are two solutions I can think of; add dynamic frameworks targets directly and include all source files there, all headers in the headers phase. Or, create a dynamic framework wrapper that links with the static libs, but still exposes the headers in a headers phase. The former is more elegant, but the latter can be a little bit less work to maintain.
Additional Information

React Native version: Latest git source as of 2016-12-7.
Platform: iOS
Operating System: MacOS/Xcode

CC @javache @emilsjolander

There were some serious leaks (JSC wouldn't get cleaned up) when switching to a dynamic framework, anyone who tries to switch over should make sure to do a thorough audit and try it out in production before switching everyone else over.

@ide Why would memory management / JSC GC be affected by how RN is linked into the binary?

I'm not sure why but it was.

The native code for RN should be pretty small. What would you gain by moving to frameworks?
I've also just redone how we export headers from the core libs, which should make integrating other libraries easier hopefully https://github.com/facebook/react-native/commit/59407f36608f52d4402d742d916f78acd3ca7152

@javache Yes, your change will improve things considerably - for main RN projects only. However, an issue still remains for projects which extend the main project. For instance, including an open source component in the main project as a sub-project; since the sub-project cannot be linked against RN, a header search path hell still occurs for that sub-project. The headers phase is important, but not enough.
If there were dynamic framework targets, each sub-project could be linked directly with RN, enjoying the same improved header management as the main project, while finally all linking against a single RN framework at the end.
I am not sure what @ide means, but it sounds unrelated to how RN is linked. It is worth investigating, of course, since it is most likely an underlying issue.

@javache Please see this article:
http://landonf.bikemonkey.org/code/ios/Radar_15800975_iOS_Frameworks.20140112.html
Would you be interested in a PR for this?

Or, create a dynamic framework wrapper that links with the static libs, but still exposes the headers in a headers phase.

@LeoNatan Could you elaborate this? Is it possible to include static lib as a part of a dynamic framework?

@kanekin Yes, it is possible. You create a dynamic framework target, link the static library / framework, and add -ObjC -all_load to your OTHER_LDFLAGS (other linker flags).

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/why-are-there-no-dynamic-framework-targets-for-react-native

The unfortunate part of this is, this feature request is so awesome and there has been some deal of people voting here but nobody bothered voting in canary: https://react-native.canny.io/feature-requests/p/why-are-there-no-dynamic-framework-targets-for-react-native

I would love to see this happen. This way I could cache the whole RN dependency as a Carthage Framework.

I already tried building a dynamic framework wrapper around the static lib but got stack exporting the headers in the correct way aswell as making the dynamic framework usable with swift (not objc) apps.


Section Awareness for "Set Score for Empty Cells," with persistent confirmation message

From @kyleblythe on September 11, 2015 13:52
Provide section awareness for the "Set Score for Empty Cells" functionality in GB items, allowing for scores to be applied to empty cells on a section-by-section (or group-by-group) basis. A new drop-down menu within the "Set Score for Empty Cells" lightbox will allow for instructors/TAs to choose the section/group for which to apply scores (with, in the case of TAs, this being restricted by the sections/groups for which they have grade access).
A new confirmation message will appear any time a score is set, notifying users of the score that is being applied and what section(s)/group(s) to which the score is being applied.
For Instructors:

When viewing the Gradebook by All Sections/Groups, selecting "Set Score for Empty Cells" will open the lightbox. The drop-down within will be set, by default, to "All Sections/Groups."
When filtering by a given section/group, selecting "Set Score for Empty Cells" will open the lightbox. The drop-down within will be set, by default, to the section/group by which they are currently filtering. This can be modified by selecting the drop-down.

For TAs:
"Set Score for Empty Cells" will be restricted only to sections/groups for which the TA has "Grade" permissions. If they have "grade" access for multiple sections/groups, apply the same capabilities as above.
Copied from original issue: steveswinsburg/gradebookNG#226

When TA doesn't have EDIT access to the all sections, this exception is thrown when the set score action is submitted:
java.lang.SecurityException: User 159f93ad-5e14-485a-adf7-e06e07e835c9 attempted to save a grade for 0b20f0b9-4c17-43f7-bd5d-9d7f480b9f47 without authorization
	at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.saveGradesAndComments(GradebookServiceHibernateImpl.java:2120)
	at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.saveGradeAndCommentForStudent(GradebookServiceHibernateImpl.java:2014)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
	at com.sun.proxy.$Proxy47.saveGradeAndCommentForStudent(Unknown Source)
	at org.sakaiproject.gradebookng.business.GradebookNgBusinessService.updateUngradedItems(GradebookNgBusinessService.java:1348)
	at WICKET_org.sakaiproject.gradebookng.business.GradebookNgBusinessService$$FastClassByCGLIB$$86be4ca5.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
	at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:333)
	at WICKET_org.sakaiproject.gradebookng.business.GradebookNgBusinessService$$EnhancerByCGLIB$$8d9885ac.updateUngradedItems(<generated>)
	at org.sakaiproject.gradebookng.tool.panels.UpdateUngradedItemsPanel$1.onSubmit(UpdateUngradedItemsPanel.java:84)
	at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:108)
	at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$1.onSubmit(AjaxFormSubmitBehavior.java:182)
	at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1288)
	at org.apache.wicket.markup.html.form.Form.process(Form.java:952)
	at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:784)
	at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:159)
	at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:124)
	at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:633)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
	at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
	at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250)
	at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)
	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
	at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:410)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:358)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
	at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:513)
	at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1482)
	at org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:478)
	at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:271)
	at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:152)
	at org.sakaiproject.portal.charon.handlers.WorksiteHandler.doPost(WorksiteHandler.java:71)
	at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1135)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:471)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)

That issue should take into account the 'Set Zero Score For Empty Cells' option. This option should be the section awareness too.

Discussed 1/4/2016:
First comment still holds regarding section awareness and dropdowns in individual gradebook items.
Future enhancement may be that we implement this for the 'set zero score for empty cells' option as well (however it would still be a zeroing action).

Hi Steve
I've created a new issue for this enhancement: https://github.com/sakaiproject/sakai/issues/2113. Regards,
Raúl

@steveswinsburg ,
This is working beautifully. Love it! From the instructor's perspective especially, this is functioning perfectly. Thanks!
I am noticing something from the TA's perspective though. To replicate:

Give a TA grading access to a single section/group for any category.
Provide viewing access to another section/group for the same category
Become the TA and select the "Set Score for Empty Cells" option.

Since the "Set Score" window matches filtering that's currently happening in the section/group dropdown (which should definitely be the case, at least from the instructor's perspective), the Set Score defaults to "All Sections/Groups" for the TA:

However, the TA doesn't have grading access for all sections/groups. So when they try to submit a score, they get the following error:

So, for TA's at least, I think this Set Score for Empty Cells should look to the TA's grading Permissions. Since, in this case, they only have grading permissions for a single section, then there shouldn't be a dropdown - it should just default to the grade-able section. Does that make sense?
I also made a comment in #1366 around the naming used in the section/group dropdown. If a TA has access to multiple sections/groups but not all sections/groups, then the dropdown should probably reflect that. And if the TA only has access to a single section/group in the GB, then there probably shouldn't be a dropdown filter at all.
Sorry to complicate this! The section awareness for the "Set Score" is looking awesome!

This was actually @payten's delectable work. I can fix this behaviour though, just let me know P.

Fantastic! This is working fantastically. Confirmed.


[DOC] Issue on page /grid_ufuncs.html

In cell [2], where diff_forward is defined. It seems like it has been defined in the opposite sense of the usual. (https://mathworld.wolfram.com/ForwardDifference.html)
The usual definition would be diff_a = a[i+1] - a[i], whereas (if I understand roll correctly) it seems that here the function is calculating diff_a = a[i] - a[i+1]. (so there is a sign error).
Also, regardless of the sign error the diff_a would be a variable that ends up on ax1:right, but instead in the paragraph below it seems to suggest that things end up on ax1:left (which is what would happen if we were doing a backward difference.

I think that you are right about what the code does. I personally always get confused by the sign of roll. Reading the text it does indeed seem like a backwards difference was intended, so maybe lets just rename the function to backwards_difference and do np.roll(a,1, ...)?
@TomNicholas do you agree?


On deny list without reason

Please I plugged in my minner and it worked perfectly a couple of days back started to fall lots per day and today I see that I'm on the deny list. Please help I have a picture of the setup from the first day it's the same. Nick is Plain Bronze Dog. For any additional info i m available. I been on Discord and nobody knows the answer to tell me why I am on the deny list. I want someone to tell me what I did wrong and if I made mistakes to correct them. I have a machine that does not work and I lose money.

This repository is for Improvement Proposals. This issue will be closed if you do not close it yourself
Help on the denylist is available in the #crowdspot-denylist channel on the Helium Discord. Please read the pinned messages there first.

I read msg there and i dont have answer on my problem. No one have to say you on deny list because that and that. 3 month work and now deny WHY? i want to my machine work not to sit and watch.

Closing this again like #774. Please use correct channels.


Failed host lookup after updating to Flutter version 3.13.0

Describe the bug
I'm not sure if this is related directly to Supabase or Flutter itself but since upgrading to version 3.13.0, I am now experiencing a handshake/socket issue trying to connect to my Supabase database.
To Reproduce
Steps to reproduce the behavior:

Make sure you are on Flutter version 3.13.0'
Initiailse Supabase

Future<void> main() async {

  // Initialise supabase
  WidgetsFlutterBinding.ensureInitialized();
  await Supabase.initialize(
      url: 'https:/xxxxxxxx.supabase.co',
      anonKey: 'xxxxxxxxxxx');

  runApp(const ProviderScope(child: MyApp()));
}

Try to access data from your database

class Test extends AsyncNotifier<List<TestModel>> {
  @override
  Future<List<TestModel>> build() async {
    return getTest();
  }

  Future<List<TestModel>> getTest() async {
    final response = await Supabase.instance.client.from('test').select().order('id', ascending: true);
    return (response as List<dynamic>).map((map) => TestModel.fromMap(map)).toList();
  }
}

Thows unhandled exception on "Failed host lookup:  xxxxxx.supabase.co"

If you push through the exception, everything still works as expected and the results still manage to come through.
Downgrading Flutter to version 3.10.6 seems to resolve the issue.

It seems like this is a Flutter issue
https://github.com/flutter/flutter/issues/132840

Thanks, happy to close and track the issue over with #132840

I'm going to close this issue as it seems like a Flutter issue.


bug(mat-chip): Accessibility issue: Interactive controls must not be nested

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When running the axe DevTools extension, any mat-chip that contains a button with matChipRemove has the following accessibility issue Interactive controls must not be nested.
The following screenshot gives more details on the issue:

Suggested solution:

Reproduction
Steps to reproduce:

Download the axe DevTools extension: https://chrome.google.com/webstore/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US
Navigate to the angular material chips' examples: https://material.angular.io/components/chips/examples
Run the axe DevTools on the entire page

Expected Behavior
No accessibility issues for mat-chip under "Serious"
Actual Behavior
"Interactive controls must not be nested" accessibility issue
Environment

Angular: 13
CDK/Material: 13
Browser(s): Google Chrome Version 98.0.4758.102 (Official Build) (64-bit)
Operating System (e.g. Windows, macOS, Ubuntu): Windows

This issue should be addressed in the MDC-based version of the chips, which splits the chips components into three variants: role="grid", role="listbox", and no role. The remove button should only be used with the role="grid" pattern in the new implementation.

Any update on this. May be some lifehacks which can take off the button in button and put them together in the container?

The MDC-based chips will be promoted to stable in v15


Refactor FirebaseStorage _{copy,delete}collection methods to be recursive

          These `_{copy,delete}collection` methods are going to sting us when we add anything else to the firestore... I think we need to make these more general, but I don't want to slow this PR down. Let's make an issue for these for when we have some extra cycles

Originally posted by @JackWilb in https://github.com/revisit-studies/study/pull/387#discussion_r1630637782

Additional Context: When we copy a collection or document, we need to recursively check subcollections and subdocuments to copy everything over at once. If we are just looking to copy specific elements (which is currently the case in the _copyCollection method), we don't need to handle recursive cases.
But, when we add more information to our firestore databse, we may want to copy everything and thus make it more general.


Temporary files should be stored in ~/LIbrary/Caches or elsewhere, not ~/.rncache

Environment
  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
      Memory: 612.74 MB / 16.00 GB
      Shell: 5.6.2 - /usr/local/bin/zsh
    Binaries:
      Node: 11.4.0 - /usr/local/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: ^16.6.3 => 16.6.3
      react-native: 0.57.2 => 0.57.2
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1

Description
Why does React Native put downloaded source code archives (e.g. Boost, glog) in ~/.rncache? I don't want to track down the temporary garbage created by react-native next time I need to make more free disk space.
Please put these files in ~/Library/Caches or /tmp (or some other appropriate directory) on macOS.
Reproducible Demo
Just run react-native init ProjectName and build the iOS app.

I mean this seems to be a good point, and to not pollute the home directory. Why did you close the issue?

Reopened
I don't remember why I closed it, probably looked at the number of already open issues/PRs and thought nobody would care about such a small thing

I filled the template but I don't know how to reopen, sorry

Maybe let's ping @hramos?

Another suggestion is using $XDG_CACHE_HOME based on xdg directories.


Add support for responses containing Generic Maps & Lists

Add support for responses of type Map & List. As well as response Pojos containing Maps & Lists
Example1:
@ApiOperation(response=Foo.class, responseContainer="Map[String,Foo]")// or responseContainer="Map[Integer,Foo]"
public Response myMethod(){...}`

Example2:
@ApiOperation(response=Foo.class, responseContainer="List[Foo]")
public Response myMethod(){...}`

Example3:
public class Bar {
      private Map<String, Elvis> someMapOfPojos;
      private List<Elvis> someListOfPojos;
}

@ApiOperation(response=Bar.class)
public Response myMethod(){...}`

Example4:
public class Bar {
      private List<Map<String, Elvis>> someListOfMaps;
}

@ApiOperation(response=Bar.class)
public Response myMethod(){...}`

+1

@dkirrane @ywilkof
I've hit this issue also. It's really a limitation of swagger-core. Yes, swagger-maven-plugin could abstract the pain a little bit. If you feel inclined to work on a PR before I or @kongchen can get to it, feel free. :)
For a temporary workaround, you could create an empty shim/hinting class that represents your concrete implementation. This is what I've done in places where I've encountered the problem.
Workaround example:
@ApiOperation(response=StringFooMap.class)

public class StringFooMap extends Map<String, Foo>{}

Bumping with a request to continue looking into this. Just received this issue with another style of generic, so requesting that this be investigated for all generics.
While @who's workaround does work for the purposes of swagger, this adds bloat to the project that still remains a problem inevitably.

+1
I'm also unable to see the generic types in the response. But using swagger-core i'm able to see those generic types in response.

I also have this problem - sample code:
@ApiOperation()
public List<Person> myMethod(){...}

Swagger-core renders the response type as a list of "Person" objects but swagger-maven-plugin renders a list of "object"

+1

+1


"webpack -p" creates bigger dist folder

Hello,
I tried to apply stuffs I learned from a tutorial, using -p as a webpack option
"build":      "rimraf dist && webpack --progress --profile --bail",
"build:prod": "rimraf dist && webpack -p",

I was wondering why "build:prod" did create a bigger dist folder content compared to the "build" command
also, it is incredibly hard to find angular 2/webpack tutorials that matches the content of the files in this seed, so if one could enlight me on where to find tutorials on webpack that would use the same files/folders/webpack config ... I feel like all the tutorials I find are way outdated
thanks

I get the same size with both of those.
The important bit on Webpack is to learn what every loader & plugin does. More than a focused tutorial in how to build your own config. People have different ideas and opinions.

ok ?? strange I get different results.. thanks anyway

Does your sourceMap: false in webconfig..?


Improve command line messaging around stripped references

This PR is to address https://github.com/typings/typings/issues/227.  It seeks to add an extra comment for ambient typings upon installation where there are stripped references.  The comment is along the lines of that suggested by @blakeembrey. I've tweaked the wording so it should look like this:
As you're installing ambient references you may want to install the stripped references as well.  You can do that by executing the following commands:

typings install 'github:DefinitelyTyped/DefinitelyTyped/jquery/jquery.d.ts#1c4a34873c9e70cce86edd0e61c559e43dfa5f75' --save --ambient

I didn't see any tests related to command line prompts - please do alert me if there are some and I've missed them.
I've also discovered that Typings is not cross platform when it comes to development.  It has dependencies upon *nix commands like rm rf and touch.  As such I've been unable to test this on my own (windows) machine.  So please examine carefully.  I think I can amend the Typings development workflow to be cross platform; it doesn't look like there's anything major to do.  I'll try and address that in a subsequent PR when I get a moment.  I'll raise an issue to track this separately.

I saw the codebase doesn't seem to use ; for line endings and presumably relies upon ASI. I have respected this as it seems to be the convention.

Looks great :+1: Just left a few comments.

I've pushed some changes.  Happy to tweak further if they're not quite what you want.

Huh it errored on build.  I can't build locally due to the windows thing and it looks like Travis doesn't tell you where the error is.  Or does it?  It's not obvious to me.  Can you see what the actual error is in Travis?

Forget it - found it

bugs fixed i think - the build failed due to npm.  Let me know if I missed something.

Actually, still something to fix; don't merge yet.

OK - should all be good now.

@johnnyreilly I made some tweaks on top of your PR and merged, hope you like it :smile:

Awesome!


Order details and invoice

Two things need to be fixed:

Invoice's grand total cost equals sum of products' and shipping prices from whole instead of a particular shipment.
There should be option to change shipping method when splitting order into two or more shipments. Currently it is not possible; also shipping price is set to 0.

Note: Splitting order is not meant to increase the total price (or the shipping price). The customer is not expected to pay extra once they went through checkout.


Will modelscope open up the ability to change usernames in the future?

General Question
Before asking a question, make sure you have:

Searched the tutorial on modelscope  doc-site
Googled your question.
Searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Please @ corresponding people according to your problem:
Model related:  @tastelikefeet
Model hub related: @liuyhwangyh
Dataset releated: @wangxingjun778
Finetune related: @tastelikefeet  @Jintao-Huang
Pipeline related: @tastelikefeet @wangxingjun778
Contribute your model: @yingdachen

there is no such plan. you may change your nickname, but not user name.


[Meta] Build on only stable features

Including dependencies and bundled extensions.
cc @aturon
Dependencies where an issue did not need to opened since they are already stable:

matches
num_cpus
lazy_static

Done!


Quick proposal to fix .wait method

As mentioned in this issue Snapshotting.wait does not work UIViewController if view property is not accessed
From quick debugging it seems it's because view is created, then snapshotting waits for delay period, and only then it setups views and quickly disposes them
My proposed work-a-round is to actually delays test assertion from being ran

@JustasL makes more sense to extend Async:
extension Async {
  func delay(by timeInterval: TimeInterval) -> Async<Value> {
    return Async<Value> { callback in
      self.run { value in
        DispatchQueue.main.asyncAfter(deadline: .now() + timeInterval) {
          callback(value)
        }
      }
    }
  }
}

then you can chain:
addImagesForRenderedViews(view).sequence().delay(by: 1.0).run { views in

@JustasL can you make amends to bring in these changes? https://github.com/markst/swift-snapshot-testing/commit/029c66aa6ad8cf226025576dbd0289cfea5e800d
Also make it clear to mention that this delay needs to occur between presentation to window prepareView & renderer.
https://github.com/pointfreeco/swift-snapshot-testing/issues/717#issuecomment-1603426150

SwiftUI View does not work also with wait strategy, and requires this workaround here https://github.com/pointfreeco/swift-snapshot-testing/blob/dc46eeb3928a75390651fac6c1ef7f93ad59a73b/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift#L74

Thanks @JustasL, the new .delay function solved my issue when a view required to load mock network data on viewWillAppear. We always getting inconsistence result, for example loading indicator is not dismiss when using .wait function.
@stephencelis possible to take a look this PR? Thanks.

Is there any timeline for fixing it? The problem affects our test workflows

We are currently putting our tests to Sleep in order to wait for loading to finish, would be helpful if this fix would get released :)

Thanks @JustasL for this workaround. I can confirm that works in our SwiftUI views too.
We've created a fork including your changes but could be nice if those could be added in a regular release,
any news about that?

@stephencelis, would you mind taking a peek at this? I'd hate to have to fork the project just to pull this 🙃

Any updates here?
@JustasL Could you update your PR to the latest api of this package? I ask you because there are some notice of deprecated api's like asseertShnapshot(matching: ...).
@markst Could you release a new version including of this fix?

Hello!
@stephencelis , what should be done to move this proposal forward and introduce new version of package with this changes? If there anything we as community can help with - please, let us know.
Thank you in advance!

Hi!
It's been a while since this MR is opened and maybe there is someone else besides @stephencelis that could help us with it?

@stephencelis is it posible to merge this fix?

Also waiting for a fix on this, what is the status?

Can we get an ETA on this fix ? :)


Create Morphir Parsing Frontend

Create Morphir Parsing Frontend
We want to make it easier to add new front-ends to Morphir. One way we are looking at doing this is by creating:

A Morphir language dialect (we want to fork one of the tree-sitter parsers for either Elm or Gleam, I'm thinking Gleam)
A Morphir AST
A way to map other parsers onto the Morphir AST (for example, directly map Elm and/or Gleam onto Morphir)
The AST should capture enough info to feed into the type inferencer.

Tech
We can get "free" parsers by leveraging tree-sitter parsers. We want to explore using tree-sitter parsers as a frontend to parsing.

It would be most helpful to understand what functionality this addresses for the community.  Are teams considering replacing Elm as their authoring language?  How will this help?  For those teams, is Gleam any more palatable?  Basically, why are we considering doing this?


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.3 to before v4.19.194",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7c18d2205ea76eef9674e59e1ecae4f332a53e9e",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3be863c11cab725add9fef4237ed4e232c3fc3bb"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "7c18d2205ea76eef9674e59e1ecae4f332a53e9e",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "3be863c11cab725add9fef4237ed4e232c3fc3bb",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: caif: fix memory leak in caif_device_notify\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.19.194 by commit 3be863c11cab725add9fef4237ed4e232c3fc3bb, it was introduced in version v3.3 by commit 7c18d2205ea76eef9674e59e1ecae4f332a53e9e. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000738


[WIP] Basic service worker functionality

This PR is trialing implementing service workers for the designsystem.gov.au site.
Live preview is here: https://designsystem-featureservice-workers-test.apps.y.cld.gov.au/
Notes:

cuttlebelle doesn't support copying custom files into root site/ directory. serviceWorker.js MUST be in the top level of the site deployment to a scope for accessing child folders such as assets/, this is required when fetching from the cache.
It looks like this is going to be a future feature: https://github.com/cuttlebelle/cuttlebelle/issues/39

To temporarily work around cuttlebelle I added a additional argument to the build script, this will cause issues with Windows similar to the mkdirp issue here: https://github.com/govau/designsystem/pull/303

Debug comments need to be removed

https://github.com/govau/designsystem/issues/306 must be resolved or mitigated before this PR can be merged.

favicons fail to fetch despite being cached

Preview:

I think we should pause this one for a little bit and see what happens with cuttlebelle. This is really awesome however and great work @adamzerella !

This should be possible and easy to do with cuttlebelle currently, see the https://designsystemmeetup.com website and my personal website https://alexpage.com.au.
Some things to note or resolve when doing this:

New developer experience, service workers not running in development environments ( otherwise new developers may have issues seeing changes, having to open dev tools etc. )
The versioning of our service worker should be linked to our release cycle #322
New releases should automatically bounce the service worker version ( We shouldn't have to remember to bump the version every time )
We need to make sure new versions of the site override old versions in the cache
I have also seen some nice things where a user can choose to download a new version ( this doesn't really make sense for this site, however might be worth thinking about )

Closing this in favour of #461


Comment shortcuts

LINKED ISSUES:
Closes #1270

TEST URLS:
https://github.com/sindresorhus/refined-github/issues/1270

SCREENSHOT:
None

Adds the following shortcuts:
	j: 'Move up a comment',
	k: 'Move down a comment',
	e: 'Edit the focused comment',
	d: 'Delete the focused comment',
	h: 'Hide the focused comment',
	'+': 'Add a 👍 reaction',
	'-': 'Add a 👎 reaction'

Issues: Review comments we cant edit 🤷 but delete works.
index.esm.js:3 Uncaught QueryError: Element not found: <HTMLElement> .js-comment
    at c (https://github.githubassets.com/assets/vendor-8df47ee1.js:1:371)
    at HTMLButtonElement.<anonymous> (https://github.githubassets.com/assets/github-bootstrap-2d9cfac4.js:1:24641)
    at HTMLDocument.st (https://github.githubassets.com/assets/vendor-8df47ee1.js:120:5054)

Hide does not work.
j and k do not work on review comments. Since I was not sure how to do that.
After coming from a real hash https://github.com/sindresorhus/refined-github/issues/1270#issuecomment-644156304. When selecting a new comment the location.hash is cleared. Selecting the comment a second time around the hash works. (I will give you a GIF later or tomorrow morning)

I added support for these https://github.com/sindresorhus/refined-github/pull/3235#pullrequestreview-430614941-body-html

Watch the URL hash.  Will work on in tomorrow morning some more

I need to figure out how to skip the minimized comments.
Will try again soon

@fregante are you able to leave a requested changes and minimize the comment? (Like this I have all 3 kinds of minimized comments)

@fregante I spent about 2 hours trying to figure out another solution.
I need the popup to open for review comments and the hide to work.

I am down to one thing.
If I dont use a popup then when trying to edit review comments I get the following
index.esm.js:3 Uncaught QueryError: Element not found: <HTMLElement> .js-comment
    at c (https://github.githubassets.com/assets/vendor-8df47ee1.js:1:371)
    at HTMLButtonElement.<anonymous> (https://github.githubassets.com/assets/github-bootstrap-46ed5ea7.js:1:24641)
    at HTMLDocument.st (https://github.githubassets.com/assets/vendor-8df47ee1.js:120:5054)

edit-comments-faster moves the edit button outside the popup, (and therefore you definitely not need the popup to be open) so your selector might be looking in the wrong place

edit-comments-faster moves the edit button outside the popup, (and therefore you definitely not need the popup to be open) so your selector might be looking in the wrong place

My fix is working. I dont under why I even need the fix!!
I will give it a go tomorrow.
Side note: This has to work even with edit comments faster disabled.

@fregante the following would close https://github.com/sindresorhus/refined-github/issues/853
		let items;
		if (location.hash.startsWith('#diff-')) {
			// Include the target, Since after a comment is minimized it will not have the `Details--on` class
			items = select.all(':target, .Details--on[id^="diff-"].open');
		} else {
			items = select.all('.js-minimizable-comment-group')
				.filter(comment => !comment.querySelector('.minimized-comment:not(.d-none)'));
		}

we can even add x with $(':target').querySelector('[aria-label="Toggle diff contents"]').click()
New feature?

@FloEdelmann want to help review this?

@FloEdelmann Thanks!

Before I commit, double checking from what I see.
You want that if no comment is selected it should start from the first comment on the page?

You want that if no comment is selected it should start from the first comment on the page?

Just merge my suggested change and it should work without anything else.

Applied will test later tonight

Tested. Its good with me except for https://github.com/sindresorhus/refined-github/pull/3242#discussion_r448540801

FTR this is what I am talking about. That it randomly opens minimized reviews when using only the .js-targetable-element selector.

But lets deal with this issue another time.

You made it! I opened a new issue for the remaining concerns: https://github.com/sindresorhus/refined-github/issues/3319


model.save fail after updating to keras-nightly

I upgraded to keras-nightly to test something else and notice that model save failed with this error:
Epoch 1/25
2024-07-14 15:21:31.580349: E tensorflow/core/util/util.cc:131] oneDNN supports DT_HALF only on platforms with AVX-512. Falling back to the default Eigen-based implementation if present.
39/39 ━━━━━━━━━━━━━━━━━━━━ 0s 40ms/step - hcp_output_accuracy: 0.4310 - loss: 2.0020 - shape_output_accuracy: 0.1379
Saving model to model\Test_2024-07-14-E01.keras
Traceback (most recent call last):
  File "..\bidding_info\keras\binfo_nn_keras.py", line 192, in <module>
    model.fit(train_dataset, epochs=epochs, steps_per_epoch=steps_per_epoch,
  File "..\Python312\site-packages\keras\src\utils\traceback_utils.py", line 122, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "..\bidding_info\keras\binfo_nn_keras.py", line 180, in on_epoch_end
    self.model.save(save_path)
  File "..\h5py\_hl\files.py", line 562, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "..\h5py\_hl\files.py", line 241, in make_fid
    fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "h5py\\_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py\\_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py\\h5f.pyx", line 122, in h5py.h5f.create
PermissionError: [Errno 13] Unable to synchronously create file (unable to open file: name = '..\bidding_info\keras\model\tmpnff3de19', errno = 13, error message = 'Permission denied', flags = 13, o_flags = 302)

Looking in the folder a model was saved with extension .keras, but with a size indicating something is missing

I have tested the same running WSL and it works without any problems, so it seems to be a Windows only problem. And based on the error it could be delimiter for filenames.
I uninstalled keras-nightly and all is working fine again

Hey @ThorvaldAagaard
Could you try setting keras.config.disable_traceback_filtering() to provide a more detailed error msg?
I'm working on fixing this issue.

Installing collected packages: keras-nightly
Successfully installed keras-nightly-3.4.1.dev2024071703

Updated to
from tensorflow.keras import layers, models, optimizers, callbacks, initializers, config
from tensorflow.keras.models import load_model

config.disable_traceback_filtering()

result:
  File "GitHub\ben\scripts\training\bidding_info\keras\binfo_nn_keras.py", line 216, in <module>
    model.fit(train_dataset, epochs=epochs, steps_per_epoch=steps_per_epoch,
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\utils\traceback_utils.py", line 113, in error_handler
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\backend\tensorflow\trainer.py", line 360, in fit
    callbacks.on_epoch_end(epoch, epoch_logs)
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\callbacks\callback_list.py", line 96, in on_epoch_end
    callback.on_epoch_end(epoch, logs)
  File "GitHub\ben\scripts\training\bidding_info\keras\binfo_nn_keras.py", line 200, in on_epoch_end
    self.model.save(save_path)
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\utils\traceback_utils.py", line 113, in error_handler
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\models\model.py", line 309, in save
    return saving_api.save_model(
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\saving\saving_api.py", line 107, in save_model
    return saving_lib.save_model(model, filepath)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\saving\saving_lib.py", line 137, in save_model
    _save_model_to_fileobj(model, f, weights_format)
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\saving\saving_lib.py", line 209, in _save_model_to_fileobj
    weights_store = H5IOStore(weights_file_path.name, mode="w")
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\user\AppData\Roaming\Python\Python312\site-packages\keras\src\saving\saving_lib.py", line 902, in __init__
    self.h5_file = h5py.File(root_path, mode=self.mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\site-packages\h5py\_hl\files.py", line 562, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\site-packages\h5py\_hl\files.py", line 241, in make_fid
    fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "h5py\\_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py\\_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py\\h5f.pyx", line 122, in h5py.h5f.create
PermissionError: [Errno 13] Unable to synchronously create file (unable to open file: name = 'GitHub\ben\scripts\training\bidding_info\keras\model\tmpjdo3xpr5', errno = 13, error message = 'Permission denied', flags = 13, o_flags = 302)

@james77777778 do you think this is related to https://github.com/keras-team/keras/pull/19852 and https://github.com/keras-team/keras/pull/19989 ? Looks like the diff is coming right from the modified lines.
If you think it's related could you take a look?

Oh actually I see from your comment in https://github.com/keras-team/keras/pull/19989 that you are looking at this already. I'll assign to you for now, but feel free to add back the keras-team-review-pending label if that's wrong.

@ThorvaldAagaard @mattdangerw
This issue should be fixed once the PR #19989 is merged.
Let's wait for the review.

Hi @ThorvaldAagaard
Since the PR has been merged, would you mind checking if it fixes your issue?
pip install git+https://github.com/keras-team/keras.git  # Install from the master branch

Please let me know if it is still an issue.

I have installed the above link

and running the training worked fine, so should I close this issue as solved, or are you closing, when the fix is released in an offocial version?

Nice!

so should I close this issue as solved, or are you closing, when the fix is released in an offocial version?

I believe it could be closed now.


[ISSUE #270] Add README.md for pravega connector

Fixed issue #270 .
Modifications

add README.md for pravega connector

@LIU-WEI-git you better create an new issue also for this.


Updating FAQ for gateway H/A information

Updating answer to question about enabling gateway high availability to reflect using clustering as of Nov 2017 release to enable this.  If there is a better link for pointing users on how to configure that would be better than the blog post I pointed out.

@BrianTJackett Thanks for the suggestion!
@linhtranms OK to merge this PR?

These changes are live. Thanks, @BrianTJackett!
cc: @linhtranms


segwit page copy edit

https://bitcoincore.org/en/segwit_wallet_dev/#backward-compatibility
s/should remain to be/will remain/

meh, not worth opening a github issue


Implement /pending_transactions endpoint

The pending transactions list is output to an array and can be in the form of transaction JSON.
The lookup target is based on the publicKey of the input's utxo
Related to #228

@MichaelKim20 Thanks for the reviews. applied the suggestions.

@MichaelKim20 Thanks for the reviews. applied the suggestions.


to master

Coverage remained the same at 100.0% when pulling 8cdf5e7b01343752d527161e5fdcf195b3c6ff4e on next into 9ba2cb2e40372d397fc9f6fb746846781c994665 on master.


Is there a way of executing all events in a list of next events?

Is there a way of executing all events in a list of next events?
Neither Random nor Ordered. I need an "all option"
Y have a father event and I want to excecute 3 child events A, B and C
but A cant be linked with B neither B with C because B are executed from other event and its not always chained with B and C. only this case.
I'm creating non linear map where starting point is a random spot and exploration can start from north to south and from south to north (or even east to west and west to east) so the tiles and sight tokens must be casted from  various events, not only one...

If you have a look at my scenario 'In the Dark' you will find examples of using Variable Triggers to call up Events that are not part of the chain of events.
For example, when testing I use an Event called [EventTestMode]
[EventTestMode]
trigger=VarTestMode
[EventPlaceInvestigators]
...
event1=EventPlaceRitualSiteTokens
...
operations=@TestMode,=,0
By setting the trigger variable @TestMode to 1, the event [EventTestMode] is triggered and I can jump straight to the thing I want to test.
I, also, use trigger variables to work out the placement of sight tokens,
e.g. To work out if the Sight Token for going from the Porch Tile to the Shack Tile should be placed, I use the following to check if the Shack Tile is already visible.
[EventPlacePorchTile]
...
operations=PorchVisible,=,1 @PorchToShack,=,1
[EventPorchToShack]
display=false
buttons=0
add=TokenPorchToShack
trigger=VarPorchToShack
operations=countPorchSights,+,1
conditions=ShackVisible,==,0
I hope some of this helps! : )

Ok. so if I set a variable to 1, every event triggerd with this variable are activated. I will try, thanks

To be more exact (and pedantic), if you set a trigger variable to 1, all events triggered with this variable are activated. : )
Trigger Variables start with an '@' symbol.

The bug in #635 makes this not to work no?

I've not tried out the multiple triggers - so I can't say.
Trigger Variables can lead to odd effects - so I've used them only for very specific and limited circumstance.
I believe the bug #635 stops the text from the second event from being displayed but does not stop the two events from being triggered.
Sometimes with Valkyrie the easiest way of finding out is trying it out! : )

Ok, will try. thanks

If you have a look at my scenario 'In the Dark' there is the following event
[EventPlaceShackTile]
buttons=1
event1=EventPlaceShackTileTokens
add=TileShack
remove=TokenPorchToShack TokenCellarToShack
operations=ShackVisible,=,1 @ShackToCellar,=,1 @ShackToPorch,=,1
This gives an example of two trigger variables been set off at the same time and the two events
(EventShackToCellar and EventShackToPorch) are run concurrently to determine if the corresponding sight tokens need to be placed.
I hope this helps.

Sorry but I can't find your scenario.

To download the scenario 'In the Dark' run Valkyrie and click the 'Start Scenario' button.
Then click download.
Then find the scenario 'In the Dark'  from the list of scenarios.  It has a picture of standing stones,
Once downloaded the code can be viewed using the Scenario Editor from the Main Menu.
For the placement of sight tokens, I use a technique LordPyrex kindly taught me.

Create Sight Tokens for all ways into the Tile and all ways out of the Tile.
This means that each entrance\exit has two tokens  - one on top of each other.
When the tile is placed remove all the Sight Tokens for going in
Then place all Sight Tokens for going out (to Tiles that are yet placed)

My enhancement of LordPyrex's technique is in regards to step 3 (placing Tokens for going out).
I fire off trigger variables for events to place these Sight Tokens.

sorry, Wrote the comment and deleted after finding the scenario.
Thanks a lot, it was really useful.
I think I finished my exploration events.

You may, also, find my test mode technique really useful.
With a complex scenario the event chain becomes extremely long and complex and it will take many clicks to get to what you want to test.
What is needed is a way of turning off a chain and jumping to the event to be tested - without modifying the existing (tested) chain and so potentially accidently adding another bug.
So that
EventA -> EventB -> EventC -> EventD -> EventE
Becomes (without without changing the event chain)
EventA -> EventTestMode -> EventE
This can be done using a trigger variable.
On the subject of the original issue (as you seem to be happy) can your issue be closed?

thanks.
Yes. You can close it, or should I?


Some common data preparation functions remain undocumented

Some of the common data prep steps that are nicely implemented in XAS Viewer remain undocumented in the XAFS chapter. The ones I've stumbled upon are merging (larch.io.merge_groups) and smoothing operations (looks like there are several options under larch.math.utils).
This makes getting started with the larch python API a little difficult. While I managed to figure out the right function names, I think it wouldn't hurt to add equivalent documentation for this functionality, especially to explain why a user might choose one option over another.

@kaarelmand it would be great if you could add to the documentation directly by yourself what you are asking! Larch is an open source project and any help is welcome, especially on documentation.


Project chrome

Hi,
The saved project can be seen with IE but with chrome a black screen appears, can it be solved?
Thx

If you hit F12 you'll see it's a browser CORS issue. You can get around this by hosting on a web server. Alternatively you can launch your browser with CORS disabled (beware of security implications, don't be browsing the web in this mode).
For example you can run Chrome Canary with these args: --disable-web-security --user-data-dir=C:/canary/temp


fix: normalize README only to index

closes #36

I would really like this. any eta on getting this released?

I kinda forgot 😬
I'll release in 12 hours


Go to declaration with Ctrl/Cmd + click

Hello! In our company several people migrated from WebStorm to Atom+AtomTypescript, and everything is amazing except one thing. There is a cool thing in WebStorm when you can press ctrl/cmd button, hover an item in the code and make a click:

It is much faster and simpler than current F12 workflow. The other difference is that F12 in atom-typescript at first goes to an import declaration, and then goes to a real declaration. This requires to press F12 several times and it's a little bit annoying, especially on mac keyboards, when Fn key is in the bottom left side of a keyboard and F12 key is in the top right.
Is there any way to implement the same behaviour as in WebStorm?

Related: https://github.com/TypeStrong/atom-typescript/issues/482 and https://github.com/TypeStrong/atom-typescript/issues/448

Also relevant: #520

As mentioned. I'll just link the issues to your queries:

There is a cool thing in WebStorm when you can press ctrl/cmd button, hover an item in the code and make a click:

If anyone wants to work on this use https://github.com/TypeStrong/atom-typescript/issues/448 as a reference.

The other difference is that F12 in atom-typescript at first goes to an import declaration, and then goes to a real declaration

If anyone wants to work on this you can work on either the our code base : https://github.com/TypeStrong/atom-typescript/issues/520 or upstream at Microsoft/TypeScript
:rose:


Code compilation

What would you recommend for someone who's running this code now? What should I install?
I am asking this because theano backend has been changed and on running the given code now, I am getting numerous errors related to the same.
Do give some suggestions in this matter.

The code was developed in 2015-16 and Theano is no longer supported. I can run the code with this theano version. I plan to release a PyTorch version in the future.

Hello, I am trying to reproduce the code in PyTorch, if you have started implementing it by any chance, it would be great to collaborate.
Thank you.


Log4j remote code execution vulnerability (CVE-2021-44228)?

Is our Sonar plugin version affected by Log4j remote code execution vulnerability (CVE-2021-44228)?
Plugin 2.0.8
Sonar 8.9.2
Kind regards,
Marlon

The json file from nist - dont have the info at the moment. The Web-Page is fixed. Maybe in half an hour.

Now the NIST Download include the score
timestamp
CVE-Recent | 12/13/2021; 12:00:00 PM -0500
may you have force the download

@marlongerber96 That should've been in https://github.com/dependency-check/dependency-check-sonar-plugin/issues
But no, the sonar plugin does not use log4j, but the SonarQube logging API, so it's not affected.
Note however that SonarQube itself needs attention for the embedded ElasticSearch as per https://community.sonarsource.com/t/sonarqube-sonarcloud-and-the-log4j-vulnerability/54721


NPM vulnerabilities found

After running npm install I see

Is this serious or not?

Hey @bradphelan, thanks for the heads up. These should be fixed now in the latest version.


/api page CSS issues

We just moved our documentation for writing bots into /api in #7392; this lists some CSS bugs

The multi-line bold section here is oddly not wrapped automatically:

The pagedown key on /api/writing-bots moves much less than one would expect.
This multi-line code block looks wrong:

Including a code block in the heading looks wrongs:

(This one we might want to just fix by changing the text to "Zulip bots package".

@zulipbot claim

@timabbott Do I need to change the code block to normal text for this particular heading or for all headings containg code blocks?

I would just change the general style.

@timabbott for the multi line code blocks, extra space is appearing due to 2 space indentation. How to fix this?

That might be a CSS issue that @brockwhittaker can help investigate?

@zulipbot claim.


Only display pagination UL if there are pages

Only display the pagination UL if there are going to be LI's within it.
This reduced the margins at the bottom of the table in the case where
there are no pages to display.  I'm using the boostrap CSS so i guess you could argue that this is theme specific.  But I thought i would put this up anyway to get your feedback.
The margin i'm talking about is:

This is what it looks like after the patch

Hi Russell,
Thanks for the pull request.
Before accepting the request I need you to correct the commit message as per conventions: https://github.com/ajoslin/conventional-changelog/blob/master/conventions/angular.md
So in your case:

fix(pager.html): don't render empty pagination UL
This reduced the margins at the bottom of the table in the case where there are no pages to display

For more details on the contribution guidelines to ngTable see: https://github.com/esvit/ng-table/blob/master/CONTRIBUTING.md

OK, i have updated the change log with your suggested format :)

Nice one. Just merged...


describeDatabase hangs

dbdiff.describeDatabase(conn1)   .then((schema) => {     console.log(schema) })
prints the schema, but hangs in the terminal

That's because the connection is still alive. I'll check how the connection is handled and if necessary provide a way to close it or close it automatically.

Submitted another PR to address the hanging issue. https://github.com/gimenete/dbdiff/pull/18


Example of official documentation with a fault

In this code fragment of the official documentation, at least it happens to me, it does not change from the 'Thread' of 'favorite_color' to 'confirmation' and this is because we have to add this code fragment: convo.gotoThread (' confirmation ').
It is added just after the convo.addQuestion that asks us what is our favorite color, being as follows:
convo.addQuestion ('Now, what is your favorite color?', async (response, convo, bot) => {
    convo.gotoThread ('confirmation')
}, 'color', 'favorite_color');

Ah you are correct.  The call to addAction is missing its thread name parameter -- this SHOUlD be equivalent to calling it inside the addQuestion callback. Thanks, will fix!


RISC-V: improve CI test coverage

The purpose of this PR is to improve RISC-V CI test coverage.
It provides 106% increase in number of QEMU RISC-V tests executed by
twister on my machine.
Before this PR:
$ twister --platform qemu_riscv32 --platform qemu_riscv64 -v
INFO    - 249 of 249 test configurations passed (100.00%), 0 failed, 1811 skipped with 0 warnings in 338.83 seconds
INFO    - In total 1579 test cases were executed, 16807 skipped on 2 out of total 323 platforms (0.62%)
INFO    - 219 test configurations executed on platforms, 30 test configurations were only built.

After this PR:
$ twister --platform qemu_riscv32 --platform qemu_riscv64 -v
INFO    - 576 of 576 test configurations passed (100.00%), 0 failed, 1484 skipped with 0 warnings in 844.10 seconds
INFO    - In total 3935 test cases were executed, 14451 skipped on 2 out of total 323 platforms (0.62%)
INFO    - 452 test configurations executed on platforms, 124 test configurations were only built.

Patch set organization:

Preparation
Make qemu_riscv32 and qemu_riscv64 use the QEMU "RISC-V VirtIO board"
Enable lots of tests which were previously disabled
Fixed one Zephyr bug which was revealed by running the newly enabled tests
Increase stack buffers as detected by the stack sentinel checker

Please add: dts/riscv/virt.dtsi to CODEOWNERS file.

CODEOWNERS has been updated. Added an entry for dts/riscv/ with the same signature as soc/riscv.

Please add: dts/riscv/virt.dtsi to CODEOWNERS file.

CODEOWNERS has been updated. Added an entry for dts/riscv/ with the same signature as soc/riscv.

The current compliance check failure is expected to be resolved by #31353.

The current compliance check failure is expected to be resolved by #31353.


Code released

Hello @fufy1024
When will the code be released?
Thanks!

@fufy1024 Thanks!  Would you like to edit the share link for the dataset? It still has permission.


Environment variables/system properties don't map

version: 0.2.7
I noticed that a few of my custom properties in application.properties are not mapping.
A few of these properties have similar names. I wonder if this could be playing a role?
Additionally, none of the values from my system environment variables appear to be reading from the system in the generation of the chart.
The following configuration from application.properties:
total.test.pages=${TOTAL_TEST_PAGES:1}
security.app.key=${SECURE_APP_KEY:null}
adx.data=${ADX_DATA_ENDPOINT}
adx.appid=${ADX_APPID}
adx.appkey=${ADX_APPKEY}
adx.apptenant=${ADX_APPTENANT}
adx.database=${ADX_DB}

Should generate a fully featured values.yaml file but instead the system values are ignored and if fallbacks are provided, the fallbacks are used. (see below):
  envs:
    TOTAL_TEST_PAGES: "1"
    APP_ENV: Local
    SECURE_APP_KEY: "null"
    ADX_DATA_ENDPOINT: ""
    LOG_LOCATION: logs/quarkus.log
    ADX_DB: ""

I couldn't reproduce this issue. Can you provide a simple reproducer?

Hello! I have discovered the cause of the issue.
It's here
The line:
                       defaultValue = System.getProperty(systemProperty, defaultValue);
is limited to the Java environment only.
If you switch to System.genEnv instead, you can reference actual System environment variables.
https://www.baeldung.com/java-system-get-property-vs-system-getenv
I think this is all you would need to change to support system environment variables/secrets.

Thanks for your analysis, much appreciated! As you did much of the work, can you open a pull request with the fix?

Thanks for your analysis, much appreciated! As you did much of the work, can you open a pull request with the fix?

Can do!

@Sgitario I put in the PR. I have one test failing. I need to check to see if that was my doing. I made a few edits in the processor but not too many.


Add argument --agent-config=${TEAM_CONFIG} \

In the datagen.sh, there is an argument --agent-config=${TEAM_CONFIG} , but I cannot find in the file where TEAM CONFIG is defined. I looked into the files and found that under team_code_transfuser, there is a config.py file. I tried to use this path, and the carla window will close automatically everytime and showed the following error msg.
"LowLevelFatalError [File:Unknown] [Line: 3762]
Failed to link program [Program V_3AA5F7CCAD2B351344BE53DDA22E8BAEBA78720A_P_ABADFE631118A2CF0719C49D3F936DABF0CE8865]. Current total programs: 269, precompile: 0
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=144272 LargeMemoryPoolOffset=275408
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)"
any suggestions? Thanks!
Tao

TEAM_CONFIG is a folder that should contain an args.txt file and your model weights.
You can either train a model yourself or download our pre-trained weights.
Instructions are in the readme.

Thanks!
I followed the instruction, then I got an error msg:
"./leaderboard/scripts/local_evaluation.sh: line 32: 60188 Segmentation fault      (core dumped) python3 ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator_local.py --scenarios=${SCENARIOS} --routes=${ROUTES} --repetitions=${REPETITIONS} --track=${CHALLENGE_TRACK_CODENAME} --checkpoint=${CHECKPOINT_ENDPOINT} --agent=${TEAM_AGENT} --agent-config=${TEAM_CONFIG} --debug=${DEBUG_CHALLENGE} --resume=${RESUME}
"

That is too generic an error message to say much what is going on. Segmenation faults can appear if CARLA crashes. Does the simulator run properly (in another terminal)?
What command did you use to start the script?
Did you properly give the arguments to the script:
e.g.
./leaderboard/scripts/local_evaluation.sh <carla root> <working directory of this repo (*/transfuser/)>


Http response code: NotFound from 'POST https://api.github.com/actions/runner-registration'

Hi team,
Getting 404 error for configuration step of runner: "./config.sh --url  --token <token_value>".
Complete error details inserted below for reference:

Please help resolve the error/bug.

Runner Image: Linux
Architecture: x64
Self-hosted on AWS EC2 instance.
@davidkarlsen Where should I check for logs from operator?

in the namespace where you deployed the operator, there will be a pod, see in that pod's logs

Please find the logs below:
`
[2022-06-08 18:00:28Z INFO HostContext] No proxy settings were found based on environmental variables (http_proxy/https_proxy/HTTP_PROXY/HTTPS_PROXY)
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Root': '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO HostContext] Well known config file 'Credentials': '/home/ubuntu/webFiles/.credentials'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Root': '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO HostContext] Well known config file 'Runner': '/home/ubuntu/webFiles/.runner'
[2022-06-08 18:00:28Z INFO Listener] Runner is built for Linux (X64) - linux-x64.
[2022-06-08 18:00:28Z INFO Listener] RuntimeInformation: Linux 5.15.0-1008-aws #10-Ubuntu SMP Wed May 18 17:28:39 UTC 2022.
[2022-06-08 18:00:28Z INFO Listener] Version: 2.292.0
[2022-06-08 18:00:28Z INFO Listener] Commit: d4b794dd645e16990ae0530bf977e26ab24be9d9
[2022-06-08 18:00:28Z INFO Listener] Culture:
[2022-06-08 18:00:28Z INFO Listener] UI Culture:
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Root': '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO Listener] Validating directory permissions for: '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO CommandLineParser] Parse
[2022-06-08 18:00:28Z INFO CommandLineParser] Parsing 5 args
[2022-06-08 18:00:28Z INFO CommandLineParser] parsing argument
[2022-06-08 18:00:28Z INFO CommandLineParser] HasArgs: False
[2022-06-08 18:00:28Z INFO CommandLineParser] Adding Command: configure
[2022-06-08 18:00:28Z INFO CommandLineParser] parsing argument
[2022-06-08 18:00:28Z INFO CommandLineParser] HasArgs: True
[2022-06-08 18:00:28Z INFO CommandLineParser] arg: url
[2022-06-08 18:00:28Z INFO CommandLineParser] parsing argument
[2022-06-08 18:00:28Z INFO CommandLineParser] HasArgs: True
[2022-06-08 18:00:28Z INFO CommandLineParser] Adding option 'url': 'https://github.com/Saurabh996/ec2Files_1p'
[2022-06-08 18:00:28Z INFO CommandLineParser] parsing argument
[2022-06-08 18:00:28Z INFO CommandLineParser] HasArgs: True
[2022-06-08 18:00:28Z INFO CommandLineParser] arg: token
[2022-06-08 18:00:28Z INFO CommandLineParser] parsing argument
[2022-06-08 18:00:28Z INFO CommandLineParser] HasArgs: True
[2022-06-08 18:00:28Z INFO CommandLineParser] Adding option 'token': ''
[2022-06-08 18:00:28Z INFO Listener] Arguments parsed
[2022-06-08 18:00:28Z INFO Runner] ExecuteCommand
[2022-06-08 18:00:28Z INFO ConfigurationStore] currentAssemblyLocation: /home/ubuntu/webFiles/bin/Runner.Listener.dll
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO ConfigurationStore] binPath: /home/ubuntu/webFiles/bin
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Root': '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO ConfigurationStore] RootFolder: /home/ubuntu/webFiles
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Root': '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO HostContext] Well known config file 'Runner': '/home/ubuntu/webFiles/.runner'
[2022-06-08 18:00:28Z INFO ConfigurationStore] ConfigFilePath: /home/ubuntu/webFiles/.runner
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Root': '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO HostContext] Well known config file 'Credentials': '/home/ubuntu/webFiles/.credentials'
[2022-06-08 18:00:28Z INFO ConfigurationStore] CredFilePath: /home/ubuntu/webFiles/.credentials
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Root': '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO HostContext] Well known config file 'MigratedCredentials': '/home/ubuntu/webFiles/.credentials_migrated'
[2022-06-08 18:00:28Z INFO ConfigurationStore] MigratedCredFilePath: /home/ubuntu/webFiles/.credentials_migrated
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Bin': '/home/ubuntu/webFiles/bin'
[2022-06-08 18:00:28Z INFO HostContext] Well known directory 'Root': '/home/ubuntu/webFiles'
[2022-06-08 18:00:28Z INFO HostContext] Well known config file 'Service': '/home/ubuntu/webFiles/.service'
[2022-06-08 18:00:28Z INFO ConfigurationStore] ServiceConfigFilePath: /home/ubuntu/webFiles/.service
[2022-06-08 18:00:28Z INFO CommandSettings] Flag 'help': 'False'
[2022-06-08 18:00:28Z INFO CommandSettings] Flag 'version': 'False'
[2022-06-08 18:00:28Z INFO CommandSettings] Flag 'commit': 'False'
[2022-06-08 18:00:28Z INFO CommandSettings] Flag 'check': 'False'
[2022-06-08 18:00:28Z INFO CommandSettings] Command 'configure': 'True'
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE:
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: --------------------------------------------------------------------------------
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: |        ____ _ _   _   _       _          _        _   _                      |
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: |       / () || | | | | |_      / \   | |() ___  _ __  ___      |
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: |      | |  | | __| || | | | | ' \    / _ \ / | | |/ _ | ' / |     |
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: |      | || | | ||  _  | || | |) |  / ___ \ (| || | () | | | _ \     |
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: |       _||_|| ||_,|./  /_/   __|_||_/|| ||_/     |
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: |                                                                              |
[2022-06-08 18:00:28Z INFO Terminal] WRITE: |
[2022-06-08 18:00:28Z INFO Terminal] WRITE: Self-hosted runner registration
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE:                         |
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: |                                                                              |
[2022-06-08 18:00:28Z INFO Terminal] WRITE LINE: --------------------------------------------------------------------------------
[2022-06-08 18:00:28Z INFO ConfigurationManager] ConfigureAsync
[2022-06-08 18:00:28Z INFO ConfigurationStore] IsConfigured()
[2022-06-08 18:00:28Z INFO ConfigurationStore] IsConfigured: False
[2022-06-08 18:00:28Z INFO ConfigurationManager] Is configured: False
[2022-06-08 18:00:28Z INFO CommandSettings] Arg 'url': 'https://github.com/Saurabh996/ec2Files_1p'
[2022-06-08 18:00:28Z INFO CommandSettings] Remove url from Arg dictionary.
[2022-06-08 18:00:28Z INFO CommandSettings] Arg 'token': ''
[2022-06-08 18:00:28Z INFO CommandSettings] Remove token from Arg dictionary.
[2022-06-08 18:00:29Z ERR  Terminal] WRITE ERROR: Http response code: NotFound from 'POST https://api.github.com/actions/runner-registration'
[2022-06-08 18:00:29Z ERR  Terminal] WRITE ERROR: {"message":"Not Found","documentation_url":"https://docs.github.com/rest"}
[2022-06-08 18:00:29Z ERR  Runner] System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at GitHub.Runner.Listener.Configuration.ConfigurationManager.GetTenantCredential(String githubUrl, String githubToken, String runnerEvent)
at GitHub.Runner.Listener.Configuration.ConfigurationManager.ConfigureAsync(CommandSettings command)
at GitHub.Runner.Listener.Runner.ExecuteCommand(CommandSettings command)
[2022-06-08 18:00:29Z ERR  Terminal] WRITE ERROR: Response status code does not indicate success: 404 (Not Found).
[2022-06-08 18:00:29Z INFO Listener] Runner execution has finished with return code 1
`

@davidkarlsen any update on this?

@Saurabh996 this is the log from the runner, and not the operator.
Do you see the registration token being updated as a secret in the target namespace, and have you mounted this?

no feedback, closing


[tr] kubernetes.md localization to Turkish

Describe your changes
kubernetes.md localization to Turkish
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Preview https://deploy-preview-2790--cncfglossary.netlify.app/tr/kubernetes/


Allow webhooks endpoint request body to also be url encoded form data

This pull request works on top of #2473 and adds support for determining body type based on the Content-Type header value.
Now that we have this code in place we could also easily add support for other Content-Types in the future if needed. (e.g. YAML or XML).

Corresponding documentation change - https://github.com/StackStorm/st2docs/pull/57


viewsets still use mongoengine.django which was split off

It appears the DRF viewsets require import of django-mongoengine which is no longer supported.
File "/Users/edwardsu/about/themis/segments/models/helpers/mongo/url_month_viewset.py", line 1, in
from rest_framework_mongoengine.viewsets import ModelViewSet
File "/Users/edwardsu/about/themis/env/themis_env/lib/python3.5/site-packages/rest_framework_mongoengine/viewsets.py", line 3, in
from rest_framework_mongoengine.generics import GenericAPIView
File "/Users/edwardsu/about/themis/env/themis_env/lib/python3.5/site-packages/rest_framework_mongoengine/generics.py", line 4, in
from mongoengine.django.shortcuts import get_document_or_404
ImportError: No module named 'mongoengine.django'

You use very old code.
This issue was fixed long ago.


Improve the use of conditional imports / exports for non-package projects

When writing a Flutter app that requires supporting web and I/O, conditional imports are required.
Writing conditional imports is explained in the Creating Packages documentation.
This documentation specifically talks about packages. Not about a user-facing app. (i.e. flutter create myapp)
When writing some code that depends on a conditional import/export, using the approach as described in the docs does not work for regular apps.
Example:
Assuming the following files:
- main.dart
- lib/service/
    - io_service.dart
    - service.dart
    - web_service.dart

main.dart
import 'package:myapp/service/service.dart';

void main(){
  final service = Service();

  print(service.sayHello());
}

service.dart
export './stub.dart'
    if (dart.library.io) './io_service.dart'
    if (dart.library.html) './web_service.dart';

class Service {
  const Service();

  String sayHello()=> throw UnimplementedError("This is a stub.");
}

stub.dart
import 'package:myapp/service/service.dart';

class StubService extends Service {
  StubService(): super();
}

io_service.dart
import 'package:myapp/service/service.dart';

class IoService extends Service {
  const IoService(): super();

  @override
  String sayHello() {
    return "Hello from I/O service";
  }
}

web_service.dart
import 'package:myapp/service/service.dart';

class WebService extends Service {
  const WebService(): super();

  @override
  String sayHello() {
    return "Hello from web service";
  }
}

Running this with flutter run -d chrome makes the app crash, because the StubService is used instead of the WebService.
I also have some other observations:

It does work with a totally different approach:

using conditional imports instead of exports
the stub is a top-level method (i.e. Service getService() => throw UnimplementedError('This is a stub.');)
implementations define the same top-level method but with a different implementation
the interface is an abstract class with a factory constructor that delegates to the top-level method
This workaround isn't the best, as mistyping the top-level method can break things (I had it happen once)

It would be nice if the interface itself could be used as the stub, this saves an additional file / class.

A specific question like this is best asked on a forum such as StackOverflow, where there is a higher level of experts answering questions.
That being said, your project described about does not use the unconditional imports system as described in the docs. In main.dart, you instantiate a Service object, so you get the Service.sayHello implementation.

It would be nice if the interface itself could be used as the stub, this saves an additional file / class.

This might be an interesting feature. You could file a request at the language repo: https://github.com/dart-lang/language/issues


feat(abe2e): move kubelet node IP validator to common validators

What type of PR is this?

What this PR does / why we need it:
makes the kubelet node ip validator a common validator, though still excludes it from scenarios (privatepkg) that utilize older VHDs that aren't at least on k8s 1.29
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.263%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
2589

Relevant Lines:
3633

💛  - Coveralls


Improve error handling when submitting invalid queries

Hi team,
First of all, I want to say I love the TA. I just started working with it today and so far it's been amazing, and I look forward to doing some cool stuff with it.
One thing I wanted to open an issue for is that I've been getting the following error whenever I type an invalid query: local variable 'r_json' referenced before assignment. As an example, I get this error when I type in the first example query in this repo's readme: | dataset method=query search="serverHost = * AND Action = 'allow'" maxcount=50 starttime=10m endtime=1m
Another error I've received is 'NoneType' object has no attribute 'steps_completed'
This is the query I typed in when I received that error:
| dataset maxcount=6 method=query search="logfile=\"/var/log/audit/audit.log\" message=*CRYPTO*" | spath
Admittedly the query contains invalid syntax (I later learned to use 'contains') but it would be great to have a more helpful error message.
All that said, maybe these things are due to limitations with what Splunk allows in its SDK and there's nothing that can be done about it, but I still wanted to open the issue just in case.
Thanks!
Pedro

@obpedro Thanks for reporting the issues. I agree that the error message could be more intuitive.
The first error local variable 'r_json' referenced before assignment returns on 0 matching event, and the second error 'NoneType' object has no attribute 'steps_completed' seem to return when the query contains invalid syntax (i.e. message=*CRYPTO* instead of message contains 'CRYPTO' ). You may find the query syntax in the DataSet doc.
I do believe the error message could be improved but need to confirm it with the engineering. If so, we will open a ticket to address it and fix the error message.
Either way, we appreciate your interest and please feel free to report any additional issues encountered!

I was told by the developer @mike-mcgrail that this was a known regression when the v2 API was pushed. The same issue was reported in #18, so I am going to mark this as a duplicate. Thank you.

@obpedro thanks very much for your feedback! Really glad you are seeing value out of it, and we look forward to making this even more powerful for you.
As mentioned, there was recent work to refactor this to use a new set of APIs. Unfortunately, we took a regression on logging and need to tune this. Please feel free to add any comments to issue #18  if I missed anything there.


Indexer: open graph images may have CORS rules or be broken links

Embeds may have metadata that has a broken link, we should make the Mods that render them fail more gracefully and not render a broken image square. An example is warpcast links which use a private og:image, perhaps to prevent sites like twitter from rendering the cast preview

Fix is here: https://warpcast.com/df/0xf692e73b


bug in index with a list in 2.1-rc2 version

2.1-rc2 version

i have a class as
A {
string b
list l
..... other fields
}
with index ind on [b,l]

instance of a = {b:'1',l:['l1','l2']}

when i exevute

select expand(l) from ( select expand(rid) from index:A.ind limit 1)

return
----+------+-----
#   |@CLASS|value
----+------+-----
0   |null  | l1
----+------+-----

same thing if i execute

  select expand(rid.l) from index:A.ind limit 1

but rid.l contains l1 and l2.

Another strange behaviour is when i execute

select expand(rid.l) from index:A.ind

----+------+-----
#   |@CLASS|value
----+------+-----
0   |null  |l1
1   |null  |l2
2   |null  |l1
3   |null  |l1
----+------+-----

sorry i made a mistake now it works