FreeMarker template error

I'm trying to run code from #11 but it throws execption.
It occurs on any variable in index.ftl
Expression TITLE is undefined on line 4, column 26 in index.ftl.
The problematic instruction:
----------
==> ${TITLE} [on line 4, column 24 in index.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression TITLE is undefined on line 4, column 26 in index.ftl.
	at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
	at freemarker.core.Expression.getStringValue(Expression.java:118)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:208)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:208)
	at freemarker.core.Environment.process(Environment.java:188)
	at freemarker.template.Template.process(Template.java:237)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:396)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:309)
	at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:257)
	at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:165)
	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:314)
	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1325)
	at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1069)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1008)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:158)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:126)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:111)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:84)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.base/java.lang.Thread.run(Thread.java:844)

Ok, I know why... It not recognize default route "/", with "/login" works

its a very unstable work in progress! :D anything goes :+1:  good you figured it out ;)
and all services is going spring boot now. for easier deployment. If someone really needs war file its easy to produce from spring boot projects.

Ok, I will wait for merge of this PR. Can you tell what changes you want to make in system?

Hi @pingwiniasty
I will try to explain:

Spring boot for each web module, which will greatly improve deployment process and development cycle speed.
Lightbend typesafe config for immutable and overridable properties by system properties, but this will break reloadable properties for now. Is this a very important feature? (the reloading part). If so I can invalidate the typesafe config on a regular basis and reload it. But I wont do it if no one really needs it.
General light weight cleanup.

The changeset in #11  is huge. But thats because its huge mess from way back in 2000.
But my goal is to make it better, more deployable and more future proof.
Docker is also on my list. But I need to fix config and spring boot first.

Oh and by the way. I will fix it so that we get back the context for the web module. But right now it broke when i migrated to spring boot. :) so i just set it to /

I remember when we was need to do some changes in code. 2 days lost on configuring Eclipse, next day to find solution and build war. Now it looks like 2018 project :) I'm not good Java dev, pure PHP past 10 years. Never used maven before, but it looks very simple. Maybe I'll learn something from your code and I'll back to my old Java project which analyze multicast stream and I'll add some features, like REST API or any simple web page with data. I hope I can help you with this project in future, when I learn something with Spring.

@pingwiniasty travis had hickup so I just merged #11. Thats a looof of changes. But, I will keep changesets small and tidy from now on, because now its actually possible to work on them. ;) That said I have verified that all services start up and have gone some length to check if they actually works. but consider this is a really big change that could with some extensive testing ;) From this point on I will wait for you guys to test and register more bugs. But for now I'll edit this issue title so that it represents the actual problem that web needs to be able to have a context path ;)

We can move some devices to new acs server with your changes in next week. Maybe tommorow I will deploy it and try to add new device. Now we working with inteno and his troubles with TR069. In first review maybe we need to write some quirks

Closing this issue since context path for web is not relevant. One can use nginx or apache in front if needed


Create priyanshnama.json

Thanks @priyanshnama for your PR, welcome to the community. :1st_place_medal:


Session data not updated client side after succesful login

Hi, I have worked out this scenario here:
https://stackblitz.com/edit/github-qh7t4n

Go to login route
Click login button to login with the example sessionId of<PHONE_NUMBER>
After successful login, you are client side redirected by navigateTo to the homepage
Homepage does not reflect the user's session data or loggedIn state
Refresh the page to force a server side request
Homepage correctly shows the users logged in session state

I would expect it to correctly show the logged in session at step 4. Is that correct?
See attached recording:
https://github.com/user-attachments/assets/5be74085-7a00-4d66-b6b7-049b62ce711b

U can try it.
const { loggedIn, fetch } = useUserSession()

// ------------------------------------------
const [err] = await to($fetch('/api/login', {
    method: 'POST',
    body: {
      username: model.username,
      password,
    },
  }))
  logining.value = false
  if (err) {
    message.type = 'error'
    message.content = err instanceof FetchError ? err.data.message : err.message
  }
  else {
    message.type = 'success'
    message.content = 'It's ok'
    // ******************
    fetch().then(() => {
      router.push('/dashboard')
    })
    // ******************
  }
}

@CynCw Thanks, that works indeed, although I still have the expectation of this working when using navigateTo, without doing an explicit call to fetch.
navigateTo is a navigation (can be client or server side) to another page, which gives me the expectation that the users' session state will have been updated on this next page. Whether this is client or server side navigation would be irrelevant here (to me).
But I might be wrong here, I don't know if it's possible/expected to build this into this module.

@Atinux Allright thanks!
And would it maybe be a solution if calling setUserSession would always automatically trigger a fetch call after it, so triggered by the module, removing the need for developers to always implement this call themselves?
(I ask because I feel like Nuxt is mostly used in Universal Rendering mode, which means a lot of developers could have this assumption that this would "automatically" work client side)

So far as long as we don't have the ability to add interceptor to $fetch to know when Set-Cookie is set, sadly we have no other choice.
This fetch() call is only when handling the authentication ourselves in our API route. One solution would be to have a login() method from useUserSession() but this is something I am thinking for the next iteration of the module to become useAuth()

@atinux Allright thanks!
And would it maybe be a solution if calling setUserSession would always automatically trigger a fetch call after it, so triggered by the module, removing the need for developers to always implement this call themselves?
(I ask because I feel like Nuxt is mostly used in Universal Rendering mode, which means a lot of developers could have this assumption that this would "automatically" work client side)

I totally had this problem. Couldn't figure it out. This thread helped me fix it by adding fetch() in my login script after the api call but before the redirect.


Move platforms selector

@yoichinak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

these docs were deleted, closing this request.


ActiveRecord delete() ruturns null when using MySQL even on success

What steps will reproduce the problem?
Call delete() method on a model
What is the expected result?
int of 1 to be returned as per the documentation found here https://www.yiiframework.com/doc/api/2.0/yii-db-activerecord#delete()-detail
What do you get instead?
null
Additional info

Q
A

Yii version
2.0.46

PHP version
8.1.12

Operating system
Red Hat Enterprise Linux release 8.6 (Ootpa)

MySQL Version
8.0.19 - MySQL Community Server - GPL

This makes it very difficult to make decisions based on whether a delete has been successful.
We have a project that does some stuff post delete (like tidy up some indexes etc) and its not running because null is returned. We can obviously make our checks strict against false if($model->delete() !== false) but we was not expecting null to be returned in any situation?

Are u sure the issue is in Yii?  The delete statement ultimately calls execute in ActiveRecord, which returns a row count (int).

My apologies, we had extended deleteAll from ActiveRecord and not returned its parent value!! DOH!
Only spotted when we realised delete() does indeed call deleteAll()
Sorry for wasting your time!


Get Datasette tests passing on Windows in GitHub Actions

This should almost happen as a side-effect or moving from Sanic to Uvicorn during the port to ASGI: #272
Additional steps:

test it manually
update documentation
set up some form of Windows CI

It looks like AppVeyor is the right solution for Windows CI. I've set up a Datasette project there but I do t yet have the configuration figured out (plus it won't work yet): https://ci.appveyor.com/project/simonw/datasette

I've landed #272 - need to manually test if it works on Windows now!

@abdusco you mentioned Windows in #554 - can you confirm that Datasette is Windows compatible as of v0.29?

Travis CI supports Windows - Uvicorn is using it here: https://github.com/encode/uvicorn/blob/15c4e9cfe2d996bd73ed6b542e44160f620b9519/.travis.yml

@simonw yes it works fine on Windows, but test suite doesn't run properly, for that I had to use WSL

Trying to run on Windows today, I get an error from the utils/asgi.py module.
It's trying from os import EX_CANTCREAT which is Unix-only.  I commented this line out, and (so far) it's working.

Trying to run on Windows today, I get an error from the utils/asgi.py module.
It's trying from os import EX_CANTCREAT which is Unix-only. I commented this line out, and (so far) it's working.

Good news: that line was removed in #1094.

Test suite on Windows seems to run a lot slower:

From https://github.com/simonw/datasette/actions/runs/1018938850 which is still going.

Looks like it's not even 10% of the way through, and already a bunch of errors:

That's weird. https://github.com/simonw/datasette/runs/3037862798 finished running and came up green - but actually a TON of the tests failed on Windows. Not sure why that didn't fail the whole test suite:

Also the test suite took 50 minutes on Windows!


Click event propagates to a wrong element

When user clicks an element that causes re-render (e.g. react-route change) element that appears after the re-render right under the tapped position receives a click event too.

That surprises me, had an issue with this a while ago, but I thought it had been fixed. Can I get some more info from you?
What router are you using?
What elements / components are causing the issue? (the one clicked to change route, and the second element that a click is triggered on)

Router: react-router + react-router-redux
Elements: button (changes route) -> textarea (probably same with input)
react: v15.1.0
react-dom: v15.1.0
react-fastclick: v2.1.1

Hmmm, this is very odd (as it does seem like s bug I already fixed). I've just pushed some changes to fix a warning / bug in React 15 to #31.
Would you be able to try your project with that branch and see if it fixes your problem?

@Elijen Did you get a chance to try with the branch mentioned above?

Hi. We're seeing the same issue in our solution but only on older devices, specifically Android 4.2.2 and older. We're using a HTC One X to re-produce the issue. Hope this can be of help in tracking this down.

I am using react 0.14 and this issue still persists.This occurs on IOS 9.3 . I am implementing this in a cordova application.

@rahulinaction i ran into the same problem as you. Looked into it a bit today, and submitted a PR for a fix that solves my problem. Take a look and see if it solves your problem too?
https://github.com/JakeSidSmith/react-fastclick/pull/33

Is everyone experiencing this issue using react-router?
Could I get some more info from some of you. :)

On what element did you click?
Is this a react component?
What element is the event also triggered on?
Is this a react component?
How did the event get triggered on another element? (was the first removed, or hidden, or moved?)

I'm not using react router. I'm using a pretty simple custom redux based router.

button
just ordinary
another button, at the same spot on the next screen
just ordinary
the second screen transitioned in from the right hand side in ~200ms

I can't reproduce this. :/ Does the second button have an onClick or is it a submit button?
Alternatively. Has anyone got time to setup a little example repo that I can work on?

I am also experiencing this issue, and using react-router

Can we ensure that we can exclude fast click for certain elements for example removing fast click support for select elements

@JakeSidSmith Sorry for late reply. I actually stopped using react-fastclick because I found out the original FastClick library works just fine with React and offers much more robust solution. It's surprisingly hard to implement this right (many cross-element, cross-browser and cross-platform differences).
We were experiencing a similar problem in AngularJS. The root of the issue was the fact that an element used for a Selector condition check was removed from DOM (page re-rendered because of route change) so matchesSelector check failed. I suspect it could be something similar here.

@JakeSidSmith  You will be able to replicate this issue mostly in mobiles. If you create a form with input fields and selectboxes randomly adding 2 input fields followed by 2 select input you might be able to replicate it. I for the timebeing disabled fastclick for the input fields and the select.

Anyone still using react-fastclick and react-router, could you try the alpha version I've just released and let me know if it's fixed your issue. :)
https://github.com/JakeSidSmith/react-fastclick/pull/50


terminal decorations are misaligned when in side panel

Testing #143433

Drag terminal into side panel
:bug: decorations render on top of output text, nothing happens when you click on the decorations

same for dragging and dropping into the editor area

related #143137

Their alignment is wrong, but the context menus work for me.

original issue was a duplicate of https://github.com/microsoft/vscode/issues/143703
Renaming to address the alignment issue

The decorations might benefit from a little padding when in the side panel:

Versus in the bottom panel:

I agree that it looks quite cramped there.
You'll also see it looking similarly cramped for split terminals (besides the first one). That's because we have 10px of left padding for those vs 20px for the first split. I don't think we plan to change this. Thoughts @Tyriar ?
One option would be to decrease the size of the icon so that there's more room.

We could add a dedicated 20px column there when shell integration is on, regardless of split status? Similar to how disabling folding will hide the folding column in the editor. Shall we capture this improvement in another issue?


LINT: Adopt flake8-typing-only-imports

Description
For cases in which something is imported not to be used but only to be included in a type annotation, mypy allows us to sneak this into a if TYPE_CHECKING: block, which leads to that thing not being imported at runtime. This can provide speedups when the thing being imported is potentially heavy, such as Interchange. I was doing this manually (read: inconsistently) but found a flake8 plugin to automatically warn when this could be used. I've found some downsides in that it doesn't play too nicely with pydantic, and also is fairly slow.
https://github.com/snok/flake8-type-checking
Checklist

[ ] Add tests
[ ] Lint
[ ] Update docstrings

Hmm, the actual plugin seems to have been abandonde/moved into a different project, which produces different behavior. Scratching this.


Silence documentation warnings

This PR silences the compiler warnings about the comments and removes supressing some of the warnings. One remains because CS1591 would require me to add a comment above all the classes and properties. This pull requests also enables treating warnings as errors to make sure no new warnings about documentation comments can be added in the future.

?

?

Aah okay it looked like you closed the PR without merging.

Aah okay it looked like you closed the PR without merging.


Linter integration

Currently only providing basic integration, little buggy. But it does work!

@steelbrain, thoughts?

@steelbrain @noseglid I just push a commit to test against the linter registry variable, rather than linter itself. Anything else?

I get this error:
Error: Missing html/text field on Linter Response
    at /Users/noseglid/.atom/packages/linter/lib/validate.coffee:40:19
    at Array.forEach (native)
    at Object.module.exports.Validate.messages (/Users/noseglid/.atom/packages/linter/lib/validate.coffee:27:14)
    at MessageRegistry.set (/Users/noseglid/.atom/packages/linter/lib/message-registry.js:36:16)
    at /Users/noseglid/.atom/packages/linter/lib/linter.coffee:35:17
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
    at /Users/noseglid/.atom/packages/linter/lib/indie-registry.js:27:20
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
    at Indie.setMessages (/Users/noseglid/.atom/packages/linter/lib/indie.js:15:18)
    at ChildProcess.<anonymous> (/Users/noseglid/devel/atom-build/lib/build.js:423:23)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

I think it is because error.message is not defined. Please see my inline comments

@noseglid What provider were you testing with? It was working with build-xcodebuild

Also, when a build is triggered anew, it should clear the linter error.

I'll take care of clearing as well.

I was testing with this:
{
  "cmd": "echo hello world: .eslintrc:2:13",
  "errorMatch": [
    "hello world: (?<file>[^:]+):(?<line>\\d+):(?<col>\\d+)"
  ]
}

Make sure you have Any matched error will fail the build option checked out in atom-build settings

Hmm... I'll have to add a case for build errors that don't supply error
text.
On Sat, Dec 12, 2015, 2:27 PM Alexander Olsson<EMAIL_ADDRESS>wrote:

I was testing with this:
{
"cmd": "echo hello world: .eslintrc:2:13",
"errorMatch": [
"hello world: (?[^:]+):(?\d+):(?\d+)"
]
}
Make sure you have Any matched error will fail the build option checked
out in atom-build settings
—
Reply to this email directly or view it on GitHub
https://github.com/noseglid/atom-build/pull/251#issuecomment-164195079.

message is not part of the documentation for error matching. I'd venture to say most error matchers don't have message set.
It seems as the error matcher in build-xcodebuild doesn't follow the documentation.
I would be open to adding message to the documentation for the benefit of the linter integration. There may very well be a use for it outside of that as well.

We must also take into consideration that only file is actually required. neither line nor col is a must. The error matcher will be as specific as provided.

any updates on this?

Closing this in favor of #354.


feat: add namespace for external policies

Signed-off-by: Engin Diri<EMAIL_ADDRESS>Description
Related issues

Close #526

Remove this section if you don't have related PRs.
Checklist

[x] I've read the guidelines for contributing to this repository.
[x] I've added tests that prove my fix is effective or that my feature works.
[x] I've updated the documentation with the relevant information (if needed).
[x] I've added usage information (if the PR introduces new options)
[x] I've included a "before" and "after" example to the description (if the PR is a user interface change).

LGTM!


Custom CUPTI metrics

We would like to support additional CUPTI metric types. As I understand the code right now, it seems there is a fixed set of supported metrics. As noted in #91 it's not that hard to submit a PR that adds another one, but we'd like to be able to extend this set without having to either submit a PR to nvbench, or maintain our own fork.
Would it be possible to provide an interface that can enable an arbitrary custom metric?

Hi there, I was looking for the same thing but couldn't see much update. Is there a way to do this?


MyPy icons broken in PyCharm

Hi, thanks for the great plugin!
Some days ago installed MyPy and some of it's icons are broken if Atom Icons is enabled:

Made some investion and found that it can be repaired by disabling UI Icons in Atom Icons settings, applying, and re-enabling it:

But after restarting the IDE these icons are dots again...

hmm yes, this is a recurring issue with external plugins. It happens only with Kotlin, CheckStyle, etc...
I'll keep this open, but I don't have a fix right now.

I haven't found a great solution for this issue, as there seems to be a race condition between the icons and the toolwindow.
Since I've been stuck for quite a long time, I found a workaround much simpler: an action button to reload the icons manually. That's the best I can do.


Clusterref default namespace

Changes

🐛 When BrokerConfig Cluster reference was left blank, it didn't defaulted to its parent Broker namespace causing an error with the resources namespace

/kind bug

Fixes #

Release Note

🐛 When BrokerConfig Cluster reference was left blank, it didn't defaulted to its parent Broker namespace causing an error with the resources namespace

/hold


Make tests on matplotlib pass

Test: https://github.com/neuromation/template-base-image/blob/master/testing/recipes/commands/matplotlib__custom
Ignored in: https://github.com/neuromation/template-base-image/blob/master/testing/recipes-ignore/commands/matplotlib__custom

not actual


Colors won't show up for legends when I use DiscreteColorLegend for radial-chart

Hi, I've implemented a radial-chart using react-vis and now would like to display a legend showing the colors and titles. When I try to do this, the titles show up but not the colors for the legend. Can somehow please guide me as to where I am going wrong.
Here is my code -
 import * as React from 'react';
  import RadialChart from "react-vis/dist/radial-chart";
  import DiscreteColorLegend from 'react-vis/dist/legends/discrete-color-legend';

  const myData = [
      { angle: 171 / 3239, color: '#6742ca7a', name: '1*'},
      { angle: 54 / 3239, color: '#355cdcc9', name: '2*', opacity: 0.2 },
      { angle: 166 / 3239, color: '#42b4ca75', name: '3*'},
      { angle: 443 / 3239, color: '#4262ca78', name: '4*'},
      { angle: 2405 / 3239, color: '#4281ca85', name: '5*'}
  ];
  const ITEMS = [
      { title: '1 Star', color: '#6742ca7a', stroke: '#fff', strokeWidth: '2' },
      { title: '2 Star', color: '#355cdcc9', stroke: '#fff', strokeWidth: '2' },
      { title: '3 Star', color: '#42b4ca75', stroke: '#fff', strokeWidth: '2' },
      { title: '4 Star', color: '#4262ca78', stroke: '#fff', strokeWidth: '2' },
      { title: '5 Star', color: '#4281ca85', stroke: '#fff', strokeWidth: '2' }
  ];

  export default class RightPane extends React.Component {
      constructor(props) {
          super(props);
      }

    getStyles() {
        const that = this;
        return {
            base: {
                marginRight: '-35%',
                backgroundColor: 'rgb(240, 240, 240)',
                float: 'right',
                marginTop: '-830px',
                height: '841px',
                width: '300px'
            },
            innerDiv: {
                width: '240px',
                bottom: '520px',
                padding: '20px'
            },
            reviewSummary: {
                paddingLeft: '10px',
                paddingBottom: '20px',
                textAlign: 'justify'
            }
        }
    }

    PrintSummary(date, review, fiveStar, fourStar, threeStar, twoStar, oneStar) {
        return (

 Review Summary

 Date: {date}

Total Reviews: {review}

5 star Reviews: {fiveStar}

4 star Reviews: {fourStar}

3 star Reviews: {threeStar}

2 star Reviews: {twoStar}

1 star Reviews: {oneStar}

            );
    }

    render() {
        return (

                    {this.PrintSummary('10-10-2018', '3239', '2405', '443', '166', '54', '171')}

                <RadialChart
                    colorType={'literal'}
                    colorDomain={[0, 100]}
                    colorRange={[0, 10]}
                    margin={{ top: 100 }}
                    getLabel={d => d.name}
                    data={myData}
                    labelsRadiusMultiplier={1.1}
                    labelsStyle={{ fontSize: 16, fill: '#222' }}
                    showLabels
                    style={{ stroke: '#fff', strokeWidth: '2' }}
                    width={300}
                    height={250}
                />

           <DiscreteColorLegend
                    height={300}
                    width={300}
                    items={ITEMS}
                />

         );
    }
}

Here is an attached screenshot showing what I'm trying to explain -

Any help is much appreciated. Please let me know if you want anything more from my side, this is my first time posting here, I could miss explaining something.
Regards,
Spandana

Hey @spunbell
I tried loading you code locally, and it looks okay to me. I think your problem might be that you might not have imported the react-vis style sheet? To do so, check out the instructions on the readme/front page. If you have imported it, the edges might be clipped under your border on the left?

Additionally, i don't know you build set up, but the way i've typically seen our package imported is by doing
import {RadialChart, DiscreteColorLegend} from 'react-vis';
``

(I don't think this has anything to do with your bug, just noting)

Hi @mcnuttandrew !
Thanks for your suggestion, I checked my code and you were right, I didn't add the style sheet, but I was actually in a time-crunch and had to move to an other data viz library. But thank you so much for pointing me in the right direction.


Symfony 4 support

There seems to be no support for Symfony 4 GA, please allow compatibility with SF4.

There won't be any support for Symfony 4 as Flex is the only supported way.

Ok, thanks. It should probably be noted somewhere in README though (and maybe explicit conflict would make it more explicit too) as upgrading from 3.x to 4.0 leads to dependency hell due to this package.

Just added a warning in the README:  41c0698
Indeed, you're right about upgrading from 3.x. Can you create an issue in the symfony/symfony-docs repo about this. It should be added to the upgrade documentation there. /cc @javiereguiluz
Thanks.

symfony/symfony-docs#8842

@xabbuh sorry for replying so late. The thing with Sylius is that we want to provide both Symfony 3.4 support (mostly for existing shops) and Symfony 4.0 support (mostly for new shops).
We're using this bundle for running Composer scripts and the only solution I see to use it with Symfony 4 is to directly use Symfony Flex, but that requires much more effort and double-checking if it does not change too much. We'd like to support Symfony Flex as well, but the first step would be to allow people using Sylius with Symfony 4.0 components (so they actually can use Flex if they want to).

For many large Symfony applications upgrading to Flex is just not worth it in case you are using SensioDistributionBundle just to buildBootstrap().
@pamil Did you find any way to upgrade without much pain other then forking SensioDistributionBundle?

@fabpot If maintaining this bundle is the reason behind dropping support for Symfony 4, we can talk about me volunteering.

@umpirsky this bundle is deprecated because it's use is really minimal:

It adds the security:check command to bin/console -> you can just use vendor/bin/security-checker
It gives the requirements checker -> you can use https://github.com/symfony/requirements-checker
It gives you script handlers:

to build the bootstrap.php.cache -> it doesn't give any advantages on PHP7 so you should just stop building it
to clear cache and install assets -> you can remplace them with simple calls to the corresponding command in your composer.json

I see, so if project uses PHP7 and uses it only to build bootstrap.php.cache, it should just drop it.
Thanks.

This is true since PHP 5.5 coming bundled with OPCache.

To expand on this point:

to clear cache and install assets -> you can remplace them with simple calls to the corresponding command in your composer.json

You can use something like:
    "scripts": {
        "auto-scripts": [
            "bin/console cache:clear --ansi",
            "bin/console assets:install --symlink --relative --ansi"
        ],
        "post-install-cmd": [
            "@auto-scripts"
        ],
        "post-update-cmd": [
            "@auto-scripts"
        ]


Bitwise operators

Add support for Lua 5.3 bitwise operators curently it's giving this error:

sorry literally after posting this i noticed the setting : lua.targetVersion
ahahahahah xD nvm just set it to 5.3 and it's all good


Add keybindings/similar to navigate 'forward' / 'backward' through the code

It's awesome that we can use Cmd+click to jump to a symbol in the code, but it would be great if there was an easy way to go back again afterwards too:

https://code.visualstudio.com/docs/getstarted/keybindings#_navigation
https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_navigation-history

Navigation history

Navigate entire history: ⌃Tab
Navigate back: ⌃-
Navigate forward: ⌃⇧-

https://stackoverflow.com/questions/38177468/how-to-go-to-previous-location-in-visual-studio-code-vs-code
https://community.wappler.io/t/monaco-editor-support-navigation-shortcuts/15459
https://github.com/microsoft/monaco-editor/issues/102

Since 0.34.1, monaco.editor.addKeybindingRule(s) can be used to tweak default keybindings.

https://microsoft.github.io/monaco-editor/typedoc/functions/editor.addKeybindingRule.html
https://microsoft.github.io/monaco-editor/typedoc/functions/editor.addKeybindingRules.html

I'm not sure if those functions are handled within monaco already (and just need key bindings), but if not, it looks like they might be able to be implemented with something like this (or similar):

https://microsoft.github.io/monaco-editor/typedoc/enums/editor.CursorChangeReason.html
https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.ICursorPositionChangedEvent.html

Being predominantly a jetbrains user myself, I am used to Cmd+B and Cmd+Opt+B:

https://www.jetbrains.com/help/idea/navigating-through-the-source-code.html#go_to_declaration
https://www.jetbrains.com/help/idea/navigating-through-the-source-code.html#go_to_implementation

The current references I see when searching keybinding are:

https://github.com/search?q=repo%3Aj4k0xb%2Fwebcrack+keybinding&type=code

https://github.com/j4k0xb/webcrack/blob/0e061d97d589024b270e92dc8681a068426b4076/apps/playground/src/components/MonacoEditor.tsx#L92-L99

https://webcrack.netlify.app/docs/guide/web.html

Press Alt+Enter to run webcrack on the code

https://github.com/j4k0xb/webcrack/blob/0e061d97d589024b270e92dc8681a068426b4076/apps/playground/src/monaco/eval-selection.ts#L47-L63

https://webcrack.netlify.app/docs/guide/web.html

Press Shift+Enter to evaluate and replace the selected code as a value ([[3+4]][0] -> [7])

Press Ctrl+Shift+Enter to evaluate and replace the selected code raw ('x' + ' = \'val\'' -> x = 'val' instead of a string)

It's workbench.action.navigateBack in vscode, seems like monaco-editor doesn't have any workbench actions or the history service:
https://github.com/microsoft/vscode/blob/5d6671dacb9d6a582b9354ea317211a8e2b2f918/src/vs/workbench/browser/parts/editor/editorActions.ts#L1410-L1443

IHistoryService is here:

https://github.com/microsoft/vscode/blob/5d6671dacb9d6a582b9354ea317211a8e2b2f918/src/vs/workbench/services/history/common/history.ts#L12

And this seems to be an implementation of it:

https://github.com/microsoft/vscode/blob/9f83563406c8b2022b5101116b00f0c6c7721863/src/vs/workbench/services/history/browser/historyService.ts#L53

Handling the mouse back/forward actions would be super useful too (not sure how that ties in with general keybinding/etc things):

https://github.com/microsoft/vscode/blob/9f83563406c8b2022b5101116b00f0c6c7721863/src/vs/workbench/services/history/browser/historyService.ts#L149-L171


Knn error---spatial

hi, could you give me some help?
when i  run distance query, it runs well
However, when i run knn query, it error as follows:
[grpc-default-executor-0] [INFO ] group.bda.federate.driver.MysqlServer.MysqlService - SELECT id,Distance(location, ST_GeomFromText('POINT(114.0 22.2)')) from osm_100w_3_1 WHERE TRUE ORDER BY  Distance(location, ST_GeomFromText('POINT(114.0 22.2)')) ASC  LIMIT 8
[grpc-default-executor-0] [INFO ] group.bda.federate.driver.MysqlServer.MysqlService - Execute SELECT id,Distance(location, ST_GeomFromText('POINT(114.0 22.2)')) from osm_100w_3_1 WHERE TRUE ORDER BY  Distance(location, ST_GeomFromText('POINT(114.0 22.2)')) ASC  LIMIT 8 returned 8 rows
[grpc-default-executor-0] [INFO ] group.bda.federate.driver.FederateDBService - DP delt = 0.0
Feb 18, 2024 5:26:27 PM io.grpc.internal.SerializingExecutor run
SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed@60568811
org.apache.commons.math3.exception.NotStrictlyPositiveException: scale must be positive (0)
at org.apache.commons.math3.distribution.LaplaceDistribution.(LaplaceDistribution.java:73)
at org.apache.commons.math3.distribution.LaplaceDistribution.(LaplaceDistribution.java:58)
at group.bda.federate.driver.FederateDBService.knnRadiusQuery(FederateDBService.java:544)
at group.bda.federate.driver.FederateDBService.knnRadiusQuery(FederateDBService.java:434)
at group.bda.federate.rpc.FederateGrpc$MethodHandlers.invoke(FederateGrpc.java:1028)
at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:180)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:814)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Looking for your help~

Sorry for the late reply. You need to provide the error message from the server side; it looks like the error occurred on the server.


Some things I encountered when reading the Chinese translation of questions

Disclaimer: I'm a native Chinese speaker, and I've been learning English as a foreign language. I don't have much education in political studies thus it's likely that I misunderstand some terms in the field.
Question private_property

English: Should Private Property exist?
Chinese: 生产资料私有制应当存在吗？
literal back-translation: Should private ownership of means of production exist?

The term in question, 生产资料, has a word-by-word meaning of "production material", and looking it up gives "means of production". To me that sounds different from "property" - property sounds more general (basically anything one can own) while means of production sounds like something you produce stuff with (a pile of iron sounds like some "means of production" while my house doesn't sound like some of those). In question distributism, the "private property" is more intuitively and literally translated as "私有财产".
Question scope_of_government1

English: Should the scope of government be limited?
Chinese: 政府规模应当被限制吗？
literal back-translation: Should the scale of government be limited?

"规模" can be translated back into "scope" according to google, but when I read it, I was thinking of how big it is (size, scale), not what / how much stuff it deals with (scope, extent).
edit: #33 4dc3f2327f100e75fa41f0b4c05bc2081bd8c786 fixed this

I am not fluent in Chinese so these are questions you will have to raise to the Chinese translator or you can commit a fixed version yourself.

Private property actually is connected with the means of production, private property is bourgeois property such as mansions and factories, factories where workers toil away for a miniscule wage whilst the owner makes millions and even billions.

I actually came here to ask whether the English version of the question on "Private property" is meant to encompass Personal Property (like toothbrushes, smartphones and laptops).
If the socialist definition of "Private property" is intended, the Chinese back-translation (that talks about private ownership of the means of production) might be a more clearer version.

It is indeed meant to be a socialist interpertation of private property, I didn't elborate on it much as I assumed socialists would take the socialist definition and others with more mixed views on private property such as distributists would select they support it. In a previous version I had (private ownership of the MOP) on that question but I can't recall why it was removed, I should re-add it.


node with tailscale 1.44.0 can't connect to  other node.

Bug description

Environment  centos 7.6.  headscale latest docker image .

OS: centos /windows
Headscale version: latest docker image
Tailscale version:  1.44.0

[y] Headscale is behind a (reverse) proxy
[x] Headscale runs in a container

To Reproduce

I've just added this version to our integration tests and cannot replicate this.
Please note that we do not support docker and (reverse)proxy.
Are you still seeing this issue?

it's ok now
Thanks
在 2023-07-07 21:52:46，"Kristoffer Dalby" @.***> 写道：
I've just added this version to our integration tests and cannot replicate this.
Please note that we do not support docker and (reverse)proxy.
Are you still seeing this issue?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Coal generator runs as long as it has fuel, even when power buffer full

I would expect that the generator would stop burning fuel when its internal energy storage is full, is this intended behavior?
Forge: <IP_ADDRESS>5
CompatLayer: 1.10-0.1.1
RFtools: 1.1x-5.70
Steps:
Place coal generator with no valid power output
Fuel generator
When buffer reaches 500k/500k RF fuel consumption does not stop.

yes, that's intended. RFTools has sufficient other blocks (power monitor and so) to turn off the generator when needed


Documentation regarding resolving relations with storybridge object on input event

The given example did confuse me, since resolving via the api ($storyapi.get...) works with just categories.
Using this.$storybridge.resolveRelations['relationshipToResolve'] you need to use the full relation:

post.categories in my case
component.name_of_the_relation_shop_field (e.g. multi-options field type)

Hope this is helpful

I will close this due to inactivity. If you feel it should be reopened and it's still a pain point, feel free to re-open


Additional system dependencies aren't installed

Additional system dependencies (lines 9-22 in the current PKGBUILD) aren't appended to the depends list for some reason. Installing with pacaur, it happily skipped some deps, installed the package (inox-bin) and then Inox complained it couldn't find libre2.so.0 (from re2) on start.

I've added the dependencies hardcoded, should be fixed

You forgot to bump the pkgrel to 2 :P But the new PKGBUILD works fine, thanks.

Dang! :D


Some tidying, introduce clang-format for the MASM codebase.

I thought I had push access to the base repository, but I guess not? Either way, I'll open this PR for now. I'd like to take a look and try to figure out what the cause of the crashes/other weird bugginess is, but we'll see if I ever actually get around to that :P.

🙏


Unable to call an external Docker Registry

Description
While testing Cloud Run, we were unable to pull an image in another Container Registry source then gcr.io. Our goal is to pull an image from the GitHub Package : docker.pkg.github.com inside a GitHub Action to deploy in Cloud Run with GitOps flow.
gcloud beta run deploy ${{ secrets.GCLOUD_APP_NAME }} --quiet --image docker.pkg.github.com/${{ github.repository }}/image --project ${{ secrets.GCLOUD_PROJECT }} --region us-central1 --platform managed
Error during the GitHub Action
Expected [region.]gcr.io/repo-path[:tag or @digest], obtained docker.pkg.github.com/.../.../image
@ahmetb - Will there be any changes regarding the Container Registry source for Cloud Run any soon?
Thank you,
Cheers.

This is not Cloud Run product feedback forum, so this should not be discussed here.
Please search for Google Cloud Issue Tracker and report it there.
For now Cloud Run only supports gcr.io registries.


Add tag actors

@pmusaraj Tag actors are ready to go once https://github.com/discourse/discourse-activity-pub/pull/78 is merged. Note that if a topic is in a AP category AND has an AP tag the following will happen:

Remote actors following BOTH the tag and the category will get a single activity from the tag actor.
Remote actors following one of the actors (i.e. the tag OR the category) will get a single activity from the actor they're following.

@pmusaraj This one is ready for review.


HDFS-17523: Add fine-grained lock held info when the lock holding time reaches the specified threshold

Add fine-grained lock held info when the lock holding time reaches the specified threshold

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 32s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m 32s

trunk passed

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
1m 16s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
checkstyle
1m 13s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
1m  8s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
1m 47s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
3m 18s

trunk passed

+1 :green_heart:
shadedclient
35m 43s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 13s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
compile
1m  6s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
1m  6s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  1s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 5 new + 359 unchanged - 0 fixed = 364 total (was 359)

+1 :green_heart:
mvnsite
1m 15s

the patch passed

+1 :green_heart:
javadoc
0m 54s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
1m 34s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
3m 12s

the patch passed

+1 :green_heart:
shadedclient
36m 13s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
229m 47s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 42s

The patch does not generate ASF License warnings.

368m 42s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6890/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6890

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint

uname
Linux 52cacea92db7 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 3628efbdd71dbd87fa064a41ddcfd08fd6003cfa

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6890/1/testReport/

Max. process+thread count
3757 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6890/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
46m 36s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
1m 17s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
checkstyle
1m 16s

trunk passed

+1 :green_heart:
mvnsite
1m 24s

trunk passed

+1 :green_heart:
javadoc
1m  9s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
1m 43s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
3m 23s

trunk passed

+1 :green_heart:
shadedclient
39m 49s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 15s

the patch passed

+1 :green_heart:
compile
1m 20s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
1m 20s

the patch passed

+1 :green_heart:
compile
1m 15s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
1m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  8s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 359 unchanged - 0 fixed = 360 total (was 359)

+1 :green_heart:
mvnsite
1m 18s

the patch passed

+1 :green_heart:
javadoc
0m 55s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
1m 39s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
3m 27s

the patch passed

+1 :green_heart:
shadedclient
37m 32s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
229m 42s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 47s

The patch does not generate ASF License warnings.

376m 46s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.blockmanagement.TestDatanodeManager

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6890/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6890

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint

uname
Linux 1914d5d56172 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2894725cc85b4062978612ef0dfdc3244d88cac6

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6890/2/testReport/

Max. process+thread count
3987 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6890/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Migrate A DApp From Solana To The XDC Network

Solidity for solana with solang and migration to XDC network

If there is anything wrong with this please let me know

@ManyRios I will go through this one today and give you any feedback

@ManyRios I don't understand this step:

I don't know how to put the target in the settings for solang.exe.

With the command solana.exe compile  contracts/incrementer.sol - - target solana - - output build is enough

@ManyRios I didn't see that command in the steps in your write up, did I just miss it?

Should this section be removed then?  It just confused me:

No, the extension if works well it should compile automatically, also solang extension works to check solidity errors for solana

where are the instructions to install the solang extension?  I am guessing this is a VS Code extension?

where are the instructions to install the solang extension? I am guessing this is a VS Code extension?

readability.

Done

When I run this command:

I am getting this error:

I am not sure what solana config file this is referencing.

You tried frist to run solana - - version? If you successfully installed it, you should see the solana version if not yoi won't be able to work with solana

looks like I had a namespace problem(?)  I had installed Solana in ../SolanaMigration/solana-release:

following:

Moving up a level to SolanaMigration and setting PATH variable made it so that I could interact with Solana:

Awesome

I am not getting the same output as your screenshot:

I am wondering if it is because you never had me create 1_incrementer_migratin.js in the tutorial.  I am getting this output (just compile, no migrate):

I am not getting the same output as your screenshot:
I am wondering if it is because you never had me create 1_incrementer_migratin.js in the tutorial. I am getting this output (just compile, no migrate):

Yeah you're right, let me fix it

Done

Alright, last one I think.  You named your file '1_incrementer.sol':

But it should have been named '1_incrementer.js' (I believe)

Oh yeah my mistake

Done


I am getting ANR after changing option menu

Process: com.production.hometech.ielts, PID: 28962                                                                                java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewParent com.github.barteksc.pdfviewer.PDFView.getParent()' on a null object reference                                                                                at com.github.barteksc.pdfviewer.scroll.DefaultScrollHandle$2.run(DefaultScrollHandle.java:106)                                                                                at android.os.Handler.handleCallback(Handler.java:739)                                                                                at android.os.Handler.dispatchMessage(Handler.java:95)                                                                                at android.os.Looper.loop(Looper.java:145)                                                                                at android.app.ActivityThread.main(ActivityThread.java:5951)                                                                                at java.lang.reflect.Method.invoke(Native Method)                                                                                at java.lang.reflect.Method.invoke(Method.java:372)                                                                                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)

obviously there is a null in there somewhere, it appears to be something to do with the scroll handler which i presume you tried to add?
why not post some code ?

Thank you for your valuable response, Sir, it happened sometime when I go to one fragment to another fragment quickly and I am using this library in three fragments   I didn't get the exact position that's why I didn't add code. My app working fine now and one more thing sir when I load 1 MB pdf file in it, it quite slow responsive Is there any solution for that??

Slow response? Zoom and moving ? Loading ?

I added horizontal scroll in pdf while moving pdf it slow down.

you loaded the pdf in horzontial mode or changed the scroll option with the pdf already loaded and visible ?

Sorry I forgot to add my code see below my code
`  @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_writing, container, false);
    pdfView= (PDFView)rootView.findViewById(R.id.pdfView);

    displayFromAsset(SAMPLE_FILE);

    // Inflate the layout for this fragment
    return rootView;
}

private void displayFromAsset(String assetFileName) {
pdfFileName = assetFileName;
    pdfView.fromAsset(SAMPLE_FILE)
            .defaultPage(pageNumber)
            .enableSwipe(true)

            .swipeHorizontal(true)
            .onPageChange(this)
            .enableAnnotationRendering(true)
            .onLoad(this)
            .scrollHandle(new DefaultScrollHandle(getActivity()))
            .load();
}

@Override
public void onPageChanged(int page, int pageCount) {
    pageNumber = page;
   getActivity(). setTitle(String.format("%s %s / %s", pdfFileName, page + 1, pageCount));
}

@Override
public void loadComplete(int nbPages) {
    PdfDocument.Meta meta = pdfView.getDocumentMeta();
    printBookmarksTree(pdfView.getTableOfContents(), "-");

}

public void printBookmarksTree(List<PdfDocument.Bookmark> tree, String sep) {
    for (PdfDocument.Bookmark b : tree) {

        Log.e(TAG, String.format("%s %s, p %d", sep, b.getTitle(), b.getPageIdx()));

        if (b.hasChildren()) {
            printBookmarksTree(b.getChildren(), sep + "-");
        }
    }
}`

XML file
`
<com.github.barteksc.pdfviewer.PDFView
    android:id="@+id/pdfView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

`

On first glance I would guess the on page changed event would slow it down when scrolling from page to page as it would lag changing title specially if you scroll fast.
Not tested any code, just my view at this point.
Don't forget the pdf viewer has a drag bar that can be added that shows the current page number and can make it easier to move down through the pages, 100 pages down instantly.  I use numerous pdfs some a few hundred pages long, 25mb or more in size and I don't experience lag using the page bar, it's in the tutorial here on how to add this feature.

So I have to remove page changed event ?? For scroll fast ??

I would test it and see if it improves, I use several tablets and phones to test my apps to determine how efficient the app is on different cpu memory etc so maybe test on other devices if you have any.

Appreciate your help. I am egarly waiting for your response
On 10 May 2017 13:24, "1stmetro"<EMAIL_ADDRESS>wrote:

I would test it and see if it improves, I use several tablets and phones
to test my apps to determine how efficient the app is on different cpu
memory etc so maybe test on other devices if you have any.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/barteksc/AndroidPdfViewer/issues/284#issuecomment-300404628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMmg5fmGo_l3DstfuEgJt3_4e3Cbrrm8ks5r4W06gaJpZM4NSm6E
.


Fix parameter name in syntax section

The @sensitive parameter was incorrectly listed as @is_sensitive in the syntax section.

@scmancuso : Thanks for your contribution! The author, @janinezhang, has been notified to review your proposed change.

#sign off


User shouldn't be a required argument

I pulled the latest version of pepdbagent and I am noticing that when not logged in, a lot of endpoints start failing. The errors usually take a form that looks like this:
TypeError: get_namespace_info() missing 2 required positional arguments: 'user' and 'user_organizations'

I think that these should be optional and default to None. I envision pephub, the majority of the time, will be run unauthenticated and thus should be able to elegantly handle cases where a user param is not passed in.
I think the fix should be simple as when I manually pass in None things seem to work well.

I agree with the idea that None would be a sensible default for these kind of things that would be populated when logged in.
We should expect that things aren't logged in and respond accordingly.


Build DogeHouse exe

Added a script for building DogeHouse exe from electron-builder

Yeah, I just tested it locally. Leaving in msi as a build target will built msi and exe.
><EMAIL_ADDRESS>build
> npm run compile && electron-builder

><EMAIL_ADDRESS>compile
> tsc

  • electron-builder  version=22.10.5 os=10.0.19042
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=builds\builder-effective-config.yaml
  • packaging       platform=win32 arch=x64 electron=11.3.0 appOutDir=builds\win-unpacked
  • Unpacking electron zip  zipPath=undefined
  • building        target=MSI arch=x64 file=builds\DogeHouse 1.0.14.msi
  • packaging       platform=win32 arch=ia32 electron=11.3.0 appOutDir=builds\win-ia32-unpacked
  • Unpacking electron zip  zipPath=undefined
  • building        target=nsis file=builds\DogeHouse Setup 1.0.14.exe archs=x64, ia32 oneClick=true perMachine=false
  • building block map  blockMapFile=builds\DogeHouse Setup 1.0.14.exe.blockmap


Build linux http executables

Fixes https://github.com/getAlby/nostr-wallet-connect-next/issues/477
and add install script for phoneixd

CC @rdmitr

@bumi @rolznz
I have updated the http.yml action to build packages for x86_64, ARM v6, AARCH64. Haven't had a chance to test the ARM v6 package on Raspberry Pi yet, though. If, however, it works fine, we can retire the package-raspberry-pi.yml action and only use this one.
Also, tests were failing, so I temporarily disabled them in the workflow 🤔

@rdmitr can you also update the release workflow?

@rolznz I have updated the output names, removed the Raspberry Pi workflow (still haven't tested on actual hardware), and added the new images to the release action

If possible I think we should update the install and update scripts for RPI. They won't work now.


Pre-defined set of points as template

Hi,
I am having a use case where we need to pre-defined set of points (rules) for specific label. Whenever a label is selected, a number of points with pre-defined (x,y) show up as a group. Tagger will need to drag those points and put on the object and do adjustment.
By doing so, we can setup rules for each object (number of points and positions)

@Loc-Vo , we have the feature in our road map.


Implement Minion restart.

Master should send "restart" message so the Minion restarts itself and reconnects. Minion should be able to restart.

Easier to let the init system do instead. Hot-restart is difficult to make, but the result is identical if just wrap it with a "stupid" shell script.


Remove APAC

Something about the way we login or something. I honestly don't understand this issue.

Duplicate


Link missing in Threading Model page

Here Task Parallelism is capitalized, so it should be a link?
https://github.com/dotnet/docs-desktop/blob/99e90fa1624d46f03ba9e0f43aeba6612e616b7c/dotnet-desktop-guide/framework/wpf/advanced/threading-model.md#L30
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b0bc9d86-b893-7c9f-d832-3c3026f5278e
Version Independent ID: 5d75b64a-62d1-b0f9-b8fd-c84f60318808
Content: Threading Model - WPF .NET Framework
Content Source: dotnet-desktop-guide/framework/wpf/advanced/threading-model.md
Product: dotnet-framework
Technology: dotnet-wpf
GitHub Login: @adegeo
Microsoft Alias: adegeo

Thank you for opening this issue. I'll look for the appropriate link. Great catch!


When filtering down to the lowest category, the parent categories disappear

See this example for hockey. Once I click into NHL I can no longer go back up to HOCKEY or SPORTS.

This seems ok!


feat: :label: Added title attribute in the interface Step

Ref to : https://github.com/HiDeoo/intro.js-react/issues/89
Describe the pull request
Added the title attribute inside the Step interface, it works without errors.
Why
The title attribute was missing, and can be used without any errors.
How
By adding a new key inside the interface Step inside the index.d.ts file.
Screenshots

Thanks for the detailed pull request.


Click on the notification when you app killed does not work at some times (local notification without fcm)

Click on the notification when you app killed does not called actionStream , why?
note : not use fcm

Im working with it right now. Take a look at https://github.com/rafaelsetragni/awesome_notifications/pull/257

Hi! Sorry for taking so long to respond to your issue on GitHub. I was focused on releasing the new 0.7.0 version of awesome_notifications and awesome_notifications_fcm and i didn't had time enough to do both. But now I can answer all your questions.
So now i'm asking you to recreate this topic using the new issue template. There's a lot of missing informations that i need to understand your problem, and all the instructions are already in the new issue template. Also, remember to check beforehand if your issue was posted by another user.
So I will automatically close all previous issues so far.
Sorry for the inconvenience and i will be waiting for your new issue request.
Thank you so much for your support!


Auth get

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4e2d7a2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #54   +/-   ##
=========================================
  Coverage          ?   85.19%
=========================================
  Files             ?       16
  Lines             ?      385
  Branches          ?       54
=========================================
  Hits              ?      328
  Misses            ?       57
  Partials          ?        0

Continue to review full report at Codecov.

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


Update HTTPBin certificates for April 2018.

Codecov Report

Merging #4198 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #4198   +/-   ##
=======================================
  Coverage   87.89%   87.89%
=======================================
  Files          46       46
  Lines        5741     5741
  Branches      295      297    +2
=======================================
  Hits         5046     5046
  Misses        695      695

Impacted Files
Coverage Δ

Tests/Tests/AFSecurityPolicyTests.m
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Introduce shard-merging util

What does this PR do?
This PR brings a shard-merging util from PyTorch into accelerate. The reason for doing so is we can specifically save these weights as safetensors rather than .pth.
Applicable to users who use SHARDED_STATE_DICT during FSDP
Note that this is a cpu-bound process. So you just need enough RAM to load the model into memory you want to merge.
New API
Command Line
accelerate merge-weights {checkpoint_dir} {output_dir}

You can specify if you want to remove the checkpoint_dir via --remove_checkpoint_dir
By default we save these as safetensors. If you want to disable it, pass in --use_pytorch to save as .pth

Python API
from accelerate.utils import merge_fsdp_weights
output_dir = merge_fsdp_weights(
    checkpoint_dir="my_fsdp_checkpoints",
    output_path="somepath",
    use_safetensors=True,
    remove_checkpoint_dir=True
)

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@pacman100 @SunMarc
TODO:

Write tests
Write documentation

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@pacman100 hope the tests are to your liking :)


Extension issue

Issue Type: Bug
Extension Name: jshint
Extension Version: 0.10.20
OS Version: Darwin x64 18.5.0
VSCode version: 1.33.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Hey @DigitalDelos, can you retype what the issue you ran into was?


Removed NGNT, updated payment funds chapter

Updated the funding chapter to be in line with 0.6.0 release

LGTM! Thx!


frontend: Format age column in event list (in resources' section)

This patch fixes how the age columns is getting calculated and also
moves it to be the last column, in order to be consistent with how we
order the columns across Headlamp.

The age column was not kept as the last column to match the results produced by kubectl describe output, unlike the Kubernetes objects creation time, the event time here plays an important role so I think th existing order makes sense.
Attaching kubectl output for reference:

We're not trying to match the order of columns from the kubectl output as the kubectl also doesn't show the age as the last col in other cases. But I'd still like to keep it consistent with the rest of Headlamp.
If later turns out we should match the column order from kubectl, that's a decision we'd have to make for the entirety of the UI.

I agree there is no need to match the kubectl output, but in this case it makes sense to have age column in the existing order as there is more significance to the time when the event occurred. It boils down to prioritizing functionality over consistency.

As mentioned in the team call, I don't think we are sacrificing functionality, rather I think we're improving it by having a more consistent way for looking for the age col.


Failed to launch Azure Data Studio

Azure Data Studio Version:
OS Version:

Steps to Reproduce:

Go into Azure portal, select a Azure Cosmos DB database
Click on Azure Data Studio (Preview) on left panel
Click on the button "Connect account with Azure Data Studio" and it doesn't launch.
Under Browser / Console Inspect, I see the following error each time I try it:

sandbox-4-3.reactblade.portal.azure.net/React/Index?reactView=true&l=en.en-us&trustedAuthority=https://portal.azure.com&contentHash=EwJeVD-4dRfW&reactIndex=0&sessionId=e209f4e7f00640b8a92f5f21e20c6888#postParams/:1
   Failed to launch<EMAIL_ADDRESS>because the scheme does not have a registered handler.

Using Microsoft Edge - ver 105.0.1343.53
If I manually launch the app on my windows sytem and create a manual connection, it opens the db fine.
Edition	Windows 10 Enterprise
Version	21H2
Installed on	6/17/2022
OS build	19044.2006
Experience	Windows Feature Experience Pack 120.2212.4180.0

Does this issue occur when all extensions are disabled?: Yes/No

What version of ADS are you using? That link will only work if you have the stable version installed - Insiders won't be opened with that.
If you have stable ADS installed try these steps :

Open up the Run input (Win+R)
Paste in<EMAIL_ADDRESS>Hit enter

Does that work?

Ah yeah, it's linking to the insiders build. I'll get that fixed to either install the stable version or use the azuredatastudio-insiders link
In the meantime here's the links to the stable build downloads (you can have them side by side with insiders) https://github.com/microsoft/azuredatastudio#download-the-latest-azure-data-studio-release
If there's functionality you want in Insiders they currently share the connection state - so you can open up the link from the portal and save the connection, then close ADS stable and open Insiders and the connection should be there.

@djarami726 - So there's a root problem here that's hiding the real issue, you don't have the correct extension installed (because this is a new installation).

Open ADS (stable)
Go to the Extensions tab (ctrl + shift + x)
Enter cosmosdb into the filter bar
Click on the Azure Cosmos DB API for MongoDB extension and click the Install button
Wait for it to finish installing

After that clicking the link in the portal should populate the connection dialog with your info and allow you to connect!
I'm going to change the name of this issue to cover fixing what was preventing this from being an easy process (it should be prompting you to install the extension when ADS opens with a URI like you were)


user-contribution download fix and added JSON download option

Fixed a small bug in the download of the data in the user-contribution page. Added the option to download a JSON describing the fields in the data csv.

Thanks @talktonight! Looks great!
Few comments:

Please do not use var either let or const. I know that some of the old code has it, but I'm willing to move away from it
I see that download_json functionality is repeating in two pages, please extract it to a shared file, and use it in both pages, instead of copy pasting the same code

Thanks for the feedback, @yonathan06! I have made the changes, please let me know if you spot anything else that could be improved.


[DO NOT MERGE] [fahmunge] 0.3.0

Update fahmunge for 0.3.0 release.

Something is wrong here. Fixing issues with the fahmunge 0.3.0 release first.


added -nofocus variant of all methods

I needed to manipulate text selections without setting focus on the text element, and this seemed the best solution for adding that variant while remaining fully backward compatible.
Please consider merging this addition into the main package or implementing this feature by other means.  Thanks!

Thanks for the PR! I may take a look at re-implementing this with an options object as a second, optional parameter to each method.
As best practice for future PRs, please refrain from updating version numbers--the maintainer will release the software. 👍

A fair point; understood and agreed, thanks.  I'll look forward to adopting your update when ready.

@dsbauer Does this suit your needs? https://github.com/dwieeb/jquery-textrange#options
1.4.0 is out.

Thanks for adding the nofocus option!  Your solution ({...,nofocus:true}) works for me.  It might be slightly cleaner conceptually to use implied {focus:true} as the default, with {focus:false} as the exception, but taste varies.
Depending on future additional options, another choice might be to allow multiple non-numeric string options after the first argument (method name), as in: textrange('set','nofocus',0,0) or textrange('get','nofocus','please','length').  But I'm good now, thanks.


WIP - Progressive switch to Angular 2+

Currently just the metrics directive is being migrated (not completely done, but it's displaying metrics), other are temporarily removed.
Documentation, tests and travis build need some work.
TODO:

[ ] Commented-out code in metric-chart.component.ts to restore (watches, events ...)
[ ] Hover / d3-tip doesn't work
[ ] Track remaining FIXMEs in code
[ ] Export d3 / d3-tip with rollup
[ ] Restore some sample application / templates that would not be exported
[ ] Remove the temporary console.logs
[ ] Rewrite what needed in readme
[ ] Write some tests (but I have no clue how to test with d3 in the loop)

Note that I rebuilt the workspace almost from scratch, taking this [ https://github.com/robisim74/angular-library-starter ] as a model

@mtho11 / @karelhala  , as you can see this is still WIP, but are you ok with the global picture? (ie. designed for using angular-cli, built using angular-library-starter script, etc.

@jotak I think we should merge this since it's just WIP in its own branch. It will allow us to move faster if it's merged. @karelhala is out tomorrow anyway and I'm out the next day.
CC: @abonas


Edit spelling and grammar in readme

Edited readme: added a comma to line 4 for readability, and changed "nerual" -> "neural"

Thank you for this. haven't had the time to maintain this project.


Cannot start the server

Any idea, please help
pi@raspberrypi:~/Orvibo $ npm start

<EMAIL_ADDRESS>start /home/pi/Orvibo
node Example.js

/home/pi/Orvibo/Example.js:20
let orvbio = new Orvibo(settings);
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:140:18)
at node.js:1043:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: node Example.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2017-10-27T16_34_29_436Z-debug.log
pi@raspberrypi:~/Orvibo $

I'm guessing this was an issue with using node version 5 not node 6?

「Sandy<EMAIL_ADDRESS>2017年10月29日 週日，上午8:55 寫道：

I'm guessing this was an issue with using node version 5 not node 6?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/sandysound/orvibo-b25-server/issues/2#issuecomment-340229914,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM_mRSLIpj4jtQd8BVzKZWXW3RBkXaPMks5sw80dgaJpZM4QJUMi
.

I managed to start the server now.  But I find that I need the unplug and
plug the socket back in order to discover the plug.  It seems the plug
won’t send heartbeat.
Thank you for your reply.
Scott


Changes

Update isExists check to look for file status rather than looping through directory, this saves time.
Fixed issues with getting poseidon hash, field was limited to 32 bytes, used the Encoding.Bijective.Fp.fromBytes method to pack bytes from document into the smallest number of field elements possible.

Feature type

[ ] UI
[x] Implementation
[ ] Specification
[ ] CI/CD
[ ] Other

Feature description
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Your code builds clean without any errors or warnings.
[ ] Tests for changes have been added (for bug fixes / features). If no, why?

Please give us a little more information in commit message or pull request title like, what is going to change?.

This will be merged as soon as #3 was merged.


Enable HTML in gene description

For example, add hyperlinks around GO and IPR strings (use case for PeanutBase).

We don't have HTML in the gene descriptions in LegumeMine, which is where the description that you've put inside unsafeHTML() comes from. Please elaborate on how this changes things.

Or are you thinking we'd add HTML to the GO and IPR terms upstream in graphql-server?

ahhh, sorry, didn't see your other comment. So you'll be adding hyperlinks to GO and IPR terms in the shim or in a different graphql-server spin (shim most likely). Got it.

I add the hyperlinks in the PeanutBase equivalent of dev/lis-gene-search-element.html. Is that what you mean by "shim"?

Yeah, we've been calling those "shims".

Just checking in on this, it looks like it is approved but not merged. Do I only need to click the Merge pull request button?

Right, I think the policy is that the person that created the PR does the merge, not the people approving (and there may be more than one of the latter).

Done, thanks.


[staging-next] python311Packages.shiboken2: use llvmPackages_15 since pyside2 only supports libclang<16

Description of changes
Fixes broken pyside2 build: https://hydra.nixos.org/build/239892291
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg build python3Packages.pyside2


OS is not supported. ALAR will stop!

when executed on Centos 7, 8 and RHEL 7.8 I received the following error
Script returned with error:
OS is not supported. ALAR will stop!
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
NAME="Red Hat Enterprise Linux Server"
VERSION="7.8 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.8"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.8 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.8:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.8"

Are these custom images or from the Marketplace?
If from the Marketplace could you please let me know of the image names you have used?
Thanks

Marketplace images; I was able to reproduce
Image: RHEL/Skus/7-LVM/Versions/7.8.2020042719
root@repair-rh7lvm:/var/lib/waagent/run-command/download/0/repair-files-20200803231716# cat logs-20200803231716.txt
[Log-Start  08/03/2020 23:17:16]
[Output 08/03/2020 23:17:16]Starting the recovery
[Info 08/03/2020 23:17:16]This could be a SUSE 12 or 15 image
[Info 08/03/2020 23:17:16]File system check start
[Info 08/03/2020 23:17:16]The error state/number is: 0
[Info 08/03/2020 23:17:16]File system check finished
[Info 08/03/2020 23:17:16]File system check start
[Info 08/03/2020 23:17:16]The error state/number is: 0
[Info 08/03/2020 23:17:16]File system check finished
[Info 08/03/2020 23:17:16]File system check start
[Info 08/03/2020 23:17:16]The error state/number is: 0
[Info 08/03/2020 23:17:16]File system check finished
mount: /tmp/assert: special device /dev/disk/azure/scsi1/lun0-part does not exist.
umount: /tmp/assert: not mounted.
[Error 08/03/2020 23:17:16]OS is not supported. ALAR will stop!
[Error 08/03/2020 23:17:16]
[Log-End 08/03/2020 23:17:16]/var/lib/waagent/run-command/download/0/repair-files-20200803231716/logs-20200803231716.txt
NAME="Red Hat Enterprise Linux Server"
VERSION="7.8 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.8"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.8 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.8:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.8"

Thanks for the info. I have to alter the disk identification logic due to the new layout used on this SKU
The newer SKUs do come with a third partition now.

Issue got fixed with commit 4a266017151b093dc334417a70be09b44b3a86bf
Thanks for reporting it dambro01


[vite-node] Failed to load...

Environment

Operating System: Darwin
Node Version:     v16.15.1
Nuxt Version:     3.0.0-rc.12
Nitro Version:    0.6.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
Minimal Reproduction that "extends" ui folder.
https://stackblitz.com/edit/nuxt-framework-ikip96?file=pages/index.vue
Describe the bug
I am trying to use the extends feature within the Nuxt config but for some reason, it fails to load the components from within that folder: https://v3.nuxtjs.org/examples/advanced/config-extends
I am intentionally not using auto-imported components and am instead explicitly importing them.
<script setup>
import FancyButton from<EMAIL_ADDRESS>// This is in the main app.
import MyList from<EMAIL_ADDRESS>// This is in the 'extended' folder (./ui/components/MyList.vue)
</script>

<template>
  <div>
    <FancyButton>Fancy Button</FancyButton>
    <MyList>List</MyList>
  </div>
</template>

I was of the understanding that by extending a folder, components and other assets would be available as if in the same location as the consuming app. I think this is a bug but I could be wrong?
Could it be something to do with import aliases like @? On the reproduction I'm getting:
500
[vite-node] Failed to load /components/MyList.vue
at directRequest (./node_modules/vite-node/dist/client.mjs:198:13)
at  ()

Additional context
I had someone look at the minimal reproduction and they got it working by removing explicit imports and only using the auto-imports. However, we cannot do this within our app because our unit tests do not know what the components are otherwise, so this is why we always import them manually. But in any case, this should still work, right?
Logs
No response

From the docs

When importing using aliases (such as ~/ and @/) in a layer components and composables, note that aliases are resolved relative to the user's project paths. As a workaround, you can use relative paths to import them. We are working on a better solution for named layer aliases.

That might be the cause of your issue here ☺
Follow along https://github.com/nuxt/nuxt/issues/13367 for named layer support

hi @manniL, is alias suggestion also valid  for extends/layers?
we are getting a similar error when trying to extend a component with module imports like this:
// main app on github repo
<script setup lang="ts">
import { useDark, useToggle } from '@vueuse/core'
...
</script>

// error on extended app:
Failed to resolve import "@vueuse/core" from "../../.cache/c12/github_****/components/TestButton.vue". Does the file exist?

@nonlinearcom Not when importing packages, no. Please open an issue in this case :)

thanks @manniL
https://github.com/nuxt/nuxt/issues/18448


Fix BuildScanPluginCompatibility after Kotlin DSL 1.0-RC3

The toggle moved from a project property to a system property
See https://github.com/gradle/kotlin-dsl/issues/1032

Feedback build https://builds.gradle.org/viewQueued.html?itemId=15013389


Set master branch permissions

Task
Set master branch permissions

Task Title
Set master branch permissions

User Story
#102

Epic

T-shirt size default is S(mall)
S

Story Points - Fibonacci (1,2,3,5)
1

Description
Master branch permissions should only allow merges by maintainers.

Business Need (the why):
Code quality and CI/CD process

Applications or Systems impacted
Github, CI/CD

Dependencies
#127 #125 #119

Assumptions

Old issue.  Replaced by #984


Retcode = -1 all the time

Retcode is always giving me retcode = -1 even when it's an early stopping success. The code is working in the sense that it is doing what it should like if you see the print because the cli.trainer.logger.experiment.summary[callback.monitor] > callback.stopping_threshold. But clearly it is stopping before it hits the max epochs of 1000. Usually it will print something like 1.6 e-6 for the former and the stopping threshold is 1 e-6. So it should have early stopping failure = False right? but then the logic says it should be True?
https://github.com/HighDimensionalEconLab/symmetry_dynamic_programming/blob/Annabella_branch/generalized_mean.py#L169-L174
(Also I think Im missing something: if the success threshold is 0 doesn't that mean we will never actually have an early stop so I don't get this logic https://github.com/HighDimensionalEconLab/symmetry_dynamic_programming/blob/Annabella_branch/generalized_mean.py#L183-L184
and why it automatically gives a retcode =0 https://github.com/HighDimensionalEconLab/symmetry_dynamic_programming/blob/Annabella_branch/generalized_mean.py#L194-L198)

We can't discuss this on the same branch as the plotting changes.  @Mekahou  you should have this one and we can go through it step-by-step.


cherry-pick 6813 remove processDefinition resourceIds

cherry-pick #6813 remove processDefinition resourceIds

Codecov Report

:exclamation: No coverage uploaded for pull request base (2.0.0-release-prepare@ae08769). Click here to learn what that means.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##             2.0.0-release-prepare    #6841   +/-   ##
========================================================
  Coverage                         ?   37.63%
  Complexity                       ?     3209
========================================================
  Files                            ?      648
  Lines                            ?    26378
  Branches                         ?     2850
========================================================
  Hits                             ?     9928
  Misses                           ?    15540
  Partials                         ?      910

Continue to review full report at Codecov.

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


add ai infra checkpointer support for d2go

Summary:

replaces the fsdp checkpointer in diffusion runner with the AI infra solution
adds the flow -> UMM integration for model entity lineage tracking e.g. https://www.internalfb.com/ummmeta/cq?entity_id=408541946
(parity) adds support for model and optimizer state checkpointing

Reviewed By: xw285cornell
Differential Revision: D42983444

closing this to avoid potential syncing error


Change package.json[main] to 'src/attempt.js'

I think you changed the folder name and forgot to change the main value in package.json.  This is causing Error: Cannot find module 'attempt-test' problems on my project.
Seems like a sweet package, by the way; thanks for publishing it.

Hi! Thanks a lot for the contribution, much appreciated :)
However, the issue is not that the wrong directory was in the package.json, it is actually that I forgot to include the directory in the package when published. Doh!
Fixed in this commit and pushed a new version to npm. Thanks for the heads up!


Add organization pages

Resolved / Related Issues
None
Details of Changes
Add details of changes here.

Added organization pages
Updated user pages
Updated repo pages

Validation
How did you test these changes?

[x] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)
None yet

Nice!

Updated:

OHHH Wow, NICE!

I can go on localization with you

DONE.

Nice!!! Good job!

I can go on localization with you

If you can continue nice, today i need to study hard cause tomorrow i have exam ;(

I'll marge with approving by my account named @fluenthub-observer next time.