Joystick and keyboard not working in Fedora 33/ OMEdit/ various versions of device drivers.

Trying to run Modelica_DeviceDrivers->Blocks->Examples->TestInputJoystick in OMEdit.
Tried with several versions of omlib-modelica-devicedrivers installed from from https://build.openmodelica.org/rpm/fc33/ using dnf install
Tested 1.7.1, 2 <- wouldn't install due to package conflict.
Tested 1.8.0,1,2 <- installed and ran in OMEdit.  No output though.
Tested 2.0.0 <- not backwards compatible, I know... tried it anyway.
Other packages installed on the computer: (Not sure how to display a code block without it getting messed up.  Sorry)
`# dnf list *modelica*
Last metadata expiration check: 1:57:33 ago on Wed 27 Jan 2021 04:29:19 PM MST.
Installed Packages
omlib-modelica.noarch                                                            20190520_223748~git~master_om1-1                                       @openmodelica
omlib-modelica-3.2.3.noarch                                                      3.2.3_6_g21327c6_om2-1                                                 @openmodelica
omlib-modelica-devicedrivers-1.8.2.noarch                                        1.8.2-1                                                                @openmodelica
omlib-modelica-synchronous-0.93.0.noarch                                         0.93.0_8_g5aa86a2-1                                                    @openmodelica
omlib-modelicareference.noarch                                                   20210119~124042~git~OM~maint~3.2.3-1                                   @openmodelica
omlib-modelicaservices-3.2.3.noarch                                              3.2.3_6_g21327c6_om1-1                                                 @openmodelica
omlib-modelicaservices-trunk.noarch                                              20200616~133533~git~OM~trunk-1                                         @openmodelica
openmodelica-1.16.x86_64                                                         1.16.2-2.fc33
uname -a
Linux bigboy 5.10.9-201.fc33.x86_64 #1 SMP Wed Jan 20 16:56:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux`
Output from simulation window:
/tmp/OpenModelica_me/OMEdit/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick -port=35615 -logFormat=xmltcp -override=startTime=0,stopTime=20,stepSize=0.04,tolerance=1e-06,solver=dassl,outputFormat=mat,variableFilter=.* -r=/tmp/OpenModelica_me/OMEdit/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick_res.mat -w -lv=LOG_STATS -inputPath=/tmp/OpenModelica_me/OMEdit/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick -outputPath=/tmp/OpenModelica_me/OMEdit/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick
Found joystick: FrSky RadioMas TX16S Joystick
axis: 7, buttons: 24
Trying to set ProcessPriority: 0.
ProcessPriority set to 0=nice(0) "normal".
The initialization finished successfully without homotopy method.
STATISTICS
The simulation finished successfully.
Symptoms:

when I run the simulation in OMEdit, there is no change in the output variables shown in the Variables Browser window.
when I view the joystick device in KDE->System Settings, the axis values change on Axes 1 through 6, as they should.
I have a piece of test code for another application that uses the /linux/joystick device driver and the joystick output works there too.
the keyboard test doesn't appear to work either.

I am a OMEdit newbie.   Am I missing something ?
Let me know if you need any other information.  I'm willing to debug code from my end if I can obtain a bit of direction.
Keep up the good work !  I thought I was going to have to write my own joystick driver... happy to have one in the library.

Thanks for the report. In the moment I have no joystick to test it at home, but I'll try to get my hands on one.
What OpenModelica version are you using?
It would be interesting whether starting the simulation binary (/tmp/OpenModelica_me/OMEdit/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick) without OMEdit on a console gives the same result. I think at least for the keyboard it was an issue that it wouldn't work in OMEdit, but works on the console.

Thanks for the report. In the moment I have no joystick to test it at home, but I'll try to get my hands on one.
What OpenModelica version are you using?
It would be interesting whether starting the simulation binary (/tmp/OpenModelica_me/OMEdit/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick) without OMEdit on a console gives the same result. I think at least for the keyboard it was an issue that it wouldn't work in OMEdit, but works on the console.

I've tested MDD v1.8.2 with OMEdit/OpenModelica installed from the nightly build repository (OpenModelica 1.17.0~dev-342-gcbdefcd)  on Ubuntu 18.04.5 LTS connected to a Sony Playstation(R)3 Controller (/dev/input/js0). It worked.
Since it finds your joystick it should also be the correct ID in the JoystickInput block parameters. So I've no idea what goes wrong. I've seen you are using openmodelica-1.16.x86_64 and I don't see why the nightly build should work better, but using a nightly build OpenModelica is one thing which one still could try.

I've tested MDD v1.8.2 with OMEdit/OpenModelica installed from the nightly build repository (OpenModelica 1.17.0~dev-342-gcbdefcd)  on Ubuntu 18.04.5 LTS connected to a Sony Playstation(R)3 Controller (/dev/input/js0). It worked.
Since it finds your joystick it should also be the correct ID in the JoystickInput block parameters. So I've no idea what goes wrong. I've seen you are using openmodelica-1.16.x86_64 and I don't see why the nightly build should work better, but using a nightly build OpenModelica is one thing which one still could try.

Thanks for the reply and checking things out.
I'll install the nightly build and report back.

Thanks for the reply and checking things out.
I'll install the nightly build and report back.

Newbie question... how do I run a block outside of OMEdit and observe the output ?

Newbie question... how do I run a block outside of OMEdit and observe the output ?

To run outside of OMEdit, I am running:
./tmp/OpenModelica_me/OMEdit/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick/TestInputJoystick
How do I observe the output ?  Will it print to stdout ?

To run outside of OMEdit, I am running:
./tmp/OpenModelica_me/OMEdit/Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick/TestInputJoystick
How do I observe the output ?  Will it print to stdout ?

Hm, just realized that you replied. OMC generates C-code and builds a simulation binary. Executing this binary creates a *.mat result file which is automatically loaded into OMEdit after the simulation finished.

Do I need to connect anything to the output of the joyStickInput block ? I'm not. I'm enabling the axes and buttons output and watching them on the graph.

Nothing needs to be enabled. Just simulate and move the stick. After the simulation is finished plot the signals in the joystickInput.axes array and check whether you see some values have changed.

How do I observe the output ? Will it print to stdout ?

I'm not sure if you see all the output on stdout. Might be some goes directly into the logfiles. Best watch stdout and the *.log file.

If I can find the MDT plug in for Eclipse, I'll step through the code and see what I find.

MDT might not behave as you would expect. It is mostly a tool for developing the OM Compiler (OMC) which is written in MetaModelica. You can also use it for editing conventional Modelica code, but the features are not as good as in OMEdit. Particularly, step-by-step debugging only works for algorithmic code and and not for simulation models (afaik). There are different options for debugging Modelica models in OMEdit, but for me it is usually simply to simulate, check plots and usage of Modelica.Utilities.Streams.print().

Hm, just realized that you replied. OMC generates C-code and builds a simulation binary. Executing this binary creates a *.mat result file which is automatically loaded into OMEdit after the simulation finished.

Do I need to connect anything to the output of the joyStickInput block ? I'm not. I'm enabling the axes and buttons output and watching them on the graph.

Nothing needs to be enabled. Just simulate and move the stick. After the simulation is finished plot the signals in the joystickInput.axes array and check whether you see some values have changed.

How do I observe the output ? Will it print to stdout ?

I'm not sure if you see all the output on stdout. Might be some goes directly into the logfiles. Best watch stdout and the *.log file.

If I can find the MDT plug in for Eclipse, I'll step through the code and see what I find.

MDT might not behave as you would expect. It is mostly a tool for developing the OM Compiler (OMC) which is written in MetaModelica. You can also use it for editing conventional Modelica code, but the features are not as good as in OMEdit. Particularly, step-by-step debugging only works for algorithmic code and and not for simulation models (afaik). There are different options for debugging Modelica models in OMEdit, but for me it is usually simply to simulate, check plots and usage of Modelica.Utilities.Streams.print().

Got it !   Thanks for the reply.   I'll dig into this tonight.

Closing the issue since there was no activity for some time


Score is hidden on Chrome browser

When viewing page with Chrome, the app is larger than the default screen size, so the Score is cut off and you have to scroll down to view it.

Please comment here if you can duplicate. Might only be an issue on Chrome for Linux.

Confirmed on Chrome for Linux (Version 48.0.2564.82 (64-bit)).
Cheers,
Patrick
http://humanfactors.gmu.edu/research/mres-labMRES lab
http://humanfactors.gmu.edu/research/mres-lab
Come read our work http://stats.org
http://www.climbingonpurpose.comEverest Blog
http://www.climbingonpurpose.com
https://twitter.com/pem725Twitter - follow me https://twitter.com/pem725
On Mon, Jan 25, 2016 at 9:32 PM, Eric Henry<EMAIL_ADDRESS>wrote:

Please comment here if you can duplicate. Might only be an issue on Chrome
for Linux.
—
Reply to this email directly or view it on GitHub
https://github.com/ehenry2172/trust-studies/issues/8#issuecomment-174783501
.


Could you include some test for routes and controllers using ScalaTest + Play?

The related project
https://github.com/mohiva/play-silhouette-seed/
has some tests, though using Spec2. I tried adding some tests for routes, but I'm getting Guice errors, which I have described here:
https://stackoverflow.com/questions/36273934/testing-a-route-in-play-in-a-controller-using-guice-dependency-injection-error
Thanks,

No sorry. If ever then I will include only Specs2 tests.

shafiquejamal,
Did you ever manage to get scalatest working for play-silhouette.  Struggling to get this working at present so any hints would be greatly appreciated.
THANKS

Hello Peter,
No, I couldn't get this working. I even asked a couple of people for help and they couldn't do it either. If I ever get ScalaTest tests working for the routes and controllers, I'll post here about it. If you get them working, could you please do so as well? Good luck!

Thanks Shafique,
Pretty new to this so if more experienced players haven't been able to crack it, then it's not looking good for me.  But will post back if I have any luck.

Hi Shafique
Attached is what I came up with; based on the play-silhouette-seed template and slightly modified to match my code.  But at least it works in scalatest.
package controllers

import org.scalatestplus.play._
import play.api.test._
import play.api.test.Helpers._
import play.api.libs.concurrent.Execution.Implicits._
import play.api.inject.guice.GuiceApplicationBuilder
import net.codingwell.scalaguice.ScalaModule
import com.google.inject.AbstractModule
import com.mohiva.play.silhouette.api.{Environment, LoginInfo}
import com.mohiva.play.silhouette.test._
import org.joda.time.LocalDate
import utils.auth.DefaultEnv
import models.Person

class ApplicationControllerSpec extends PlaySpec with OneAppPerSuite {

  class FakeModule extends AbstractModule with ScalaModule {
    def configure() = {
      bind[Environment[DefaultEnv]].toInstance(env)
    }
  }

  val identity = Person("","",new LocalDate)

  implicit val env: Environment[DefaultEnv] = new<EMAIL_ADDRESS>-> identity))

  implicit override lazy val app = new GuiceApplicationBuilder()
      .overrides(new FakeModule)
      .build()

  "Routes" should {
    "return 404 on a bad request" in  {
      val homePage = route(app, FakeRequest(GET, "/badrequest")).get
      status(homePage) mustBe NOT_FOUND
    }
  }

  "ApplicationController" should {
    "redirect to signin page when no user signed in" in {
      val indexResult = route(app, FakeRequest(GET, "/")).get
      status(indexResult) mustBe SEE_OTHER
      val redirectUrl = redirectLocation(indexResult).getOrElse("")
      redirectUrl mustBe routes.SignInController.view().toString
      val redirectResult = route(app, FakeRequest(GET, redirectUrl)).get
      status(redirectResult) mustBe OK
      contentType(redirectResult) mustBe Some("text/html")
      contentAsString(redirectResult) must include ("Sign in with your credentials")
    }
  }

  "ApplicationController" should {
    "redirect to signin page with unknown user" in {
      val request = FakeRequest(GET, "/").withAuthenticator[DefaultEnv](LoginInfo("credentials","noone@example.com"))
      val result = route(app, request).get
      status(result) mustBe SEE_OTHER
      redirectLocation(result) mustBe Some(routes.SignInController.view().toString)
    }
  }

  "ApplicationController" should {
    "access home page when user signed in" in {
      val request = FakeRequest(GET, "/").withAuthenticator[DefaultEnv](LoginInfo("credentials","admin@example.com"))
      val result = route(app, request).get
      status(result) mustBe OK
    }
  }
}

Hello Peter,
Thanks for sending this. I found something similar here:
http://www.michaelpollmeier.com/2015/09/25/playframework-guice-di
Which I am using in a for-fun project here:
https://github.com/shafiquejamal/play-authentication
Cheers,


Mitochondrial Genome

A single copy of the mitochondrial genome.  Several
copies can be found in an individual mitochondrion
(GO:0005739).  The mitochondrial genome is much
smaller than the nuclear genome, circular and does not
contain junk DNA.
http://en.wikipedia.org/wiki/Mitochondrial\_genome
http://en.wikipedia.org/wiki/Mitochondrial\_DNA
Suggested Ontology: Mitochondrial Genome is found in
Mitochondria which are found in the cytoplasm in
eukaryotic cells.  Perhaps: mitochondrial_component
Synonyms: Mitochondrial DNA, mtDNA
Reported by: kailandifki
Original Ticket: "geneontology/ontology-requests/3290":https://sourceforge.net/p/geneontology/ontology-requests/3290

thanks www.movied.org


Cannot start nuxt:  Cannot find any nuxt version from E:\Codes

Versions

nuxt:
node:

Reproduction

Additional Details

Steps to reproduce
What is Expected?
What is actually happening?

node -v
v16.15.1

npm -v
npm WARN config global --global, --local are deprecated. Use --location=global instead.
8.11.0

npm list
npm WARN config global --global, --local are deprecated. Use --location=global instead.
ifun.com@ E:\Codes\ifun.com
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Would you raise an issue at https://github.com/nuxt/framework/issues/ with a reproduction? 🙏


CARD vanished from HACS ?

He SpangleLabs.
What a fantastic card.
.. until it suddenly vanished today!!
After finding your great history-explorer-card again via this request of mine, I started installing it manually via www, and adding a resource, but it wouldn't show up when trying to add it in the dashboard, no luck. I then tried adding it via HACS / custom repositories, but got an error message. When trying to find it again on HACS, it suddenly showed up as under spanglelabs/history-explorer-card!
Yeah, I installed it and it worked fine right away.
I spend all day creating a long custum card when around 11 PM home assistant suddenly restarted and after restart told me, that the there is no integration named history-explorer-card anymore.
Looking in the filebrowser showed me it had vanished.
So I tried installing it via the manual method again, no luck. And when adding the URL https://github.com/SpangleLabs/history-explorer-card/ to custom repositories I got the following error:
<Integration SpangleLabs/history-explorer-card> Repository structure for v1.0.54 is not compliant
What am I doing wrong. Happyly I saved my .yaml from today, but I would love to use it.
Help appreciated.
:astonished:
Kind regards,
yocup

..was able to Install it again via custom reps.
I made the error adding it as an integration instead of as dashboard.
Thanks to nickrout on the HA community forum, who reminded me. :)
Still interested to know why it vanished from the official HACS.


[public report]: Challenge page is missing Participants tab

User Impacted
0xBf17bE25a18c2F45fe4A8702b92B8dBd77872561
Discord ID (including number)
elisemarika#8643
Workflow Impacted
Analyze
Feature Impacted
Other
Issue description
Challenge page is missing Participants tab

Blocking
no it is not
Relevant log output
No response

@elisemarika Who should be listed?
I currently have a version with people that have submitted and should be able to add people that have reviewed as well.
Just claiming I don't think we store the time info for that right now

@termaatFlipside users who submitted and those who reviewed as well is a great start. including users who claimed to submit or claim to review is also critical because it helps users decide if they want to claim and compete with those others and also helps inform how the reward pool might be impacted (spread across a small group or a large group)

🚨 This issue is currently hard-blocked and cannot progress.
Progress has been made, but cannot be completed until we are capturing claims.

Note: Might be easier to accomplish with the activity changes done here:
https://github.com/MetricsDAO/xyz/issues/364

@sebruiz @thehannahlerman what's the latest on being able to store claim activity as part of #364 ?


docs: add mo-operator RFC

Signed-off-by: Aylei<EMAIL_ADDRESS>What type of PR is this?

[ ] API-change
[ ] BUG
[ ] Improvement
[x] Documentation
[ ] Feature
[ ] Test and CI
[ ] Code Refactoring

This RFC describes an overview of how will the operator work and be used.
Make sure you view this PR in preview mode to check the rendered graph https://github.com/matrixorigin/matrixone-operator/blob/0246d0d2bf496f0c79745e78aa4542caa26187d7/docs/rfc/2022-07-05-mo-cluster.md

/merge


Temurin RemoteJckTrigger needs to use AUTO_AQA_GEN=true

Remote AQA_TEST_PIPELINE fails if the test job does not exist:
[Pipeline] echo
[WARNING] Requested test job that does not exist or is disabled: Test_openjdk8_hs_sanity.jck_aarch64_alpine-linux
[Pipeline] echo
TEST_JOB_NAME: Test_openjdk8_hs_extended.jck_aarch64_alpine-linux

AUTO_AQA_GEN=true is used to force generate or regenerate all jobs related. We can also generate the job if it doesn't exist, the same way as smoke and aqa-tests.

https://github.com/adoptium/ci-jenkins-pipelines/issues/534#issuecomment-1346872231

I prefer to generate the job if it doesn't exist and not have to force regen all jobs as that can take a lot of time each time and is most often not needed.
But also, the reason that job did not exist, must be that we do not release that platform/version combination, so perhaps we rethink what is running in the "stuff we officially release" pipeline.

Ah yes, did notice that, it was jdk8 aarch64_alpine-linux, so yes makes sense for the job to ignore it.
I guess the key thing is the necessary jobs are there and gen'd to the latest level before the release

I checked the weekly run both upstream job and  AQA_TEST_PIPELINE passed with no test job exist. There is only warning information in console output. https://ci.eclipse.org/temurin-compliance/job/AQA_Test_Pipeline/370/ https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-alpine-linux-aarch64-temurin/111/console. That is no jobs will be affected by this behaviour.
For weekly run (temurin variant) if we are only interested in the releasing platform/version combination we can update the weekly run (temurin variant) to use jdkversion_release.groovy (for example https://github.com/adoptium/ci-jenkins-pipelines/blob/master/pipelines/jobs/configurations/jdk17u_release.groovy) instead of jdkversion.groovy. In this way if job doesn't exist we can generate it and also there will be no unnecessary job generated.

As mentioned above, for the moment this is desired behavior


"Don't show again" dialog on App deployment doesn't work

When deploying an App to Azure, the "Always deploy to workspace" dialog has a "don't show again" option.  Clicking this option doesn't actually suppress it on future deployments.  For folks running separate Azure target environments where we want to deploy to Staging, test, and then deploy again to Production, this dialog gets annoying.

Hi @plmcgrn,
Thanks for reporting.
Are you deploying the same project to different slots?  This setting is workspace specific, so it would only stifle the prompt for that specific project.
If this is the same project everytime, then let me know because that's definitely a bug!

Hi @plmcgrn,
Thanks for reporting.
Are you deploying the same project to different slots? This setting is workspace specific, so it would only stifle the prompt for that specific project.
If this is the same project every time, then let me know because that's definitely a bug!

It's the same one, every time, for now.  I'm essentially doing repeated app deployments from the same project to the same Azure app, for now.  Once I'm comfy that my staging app on Azure is stable, I'll be deploying the same project to a second app, production, on Azure.

Alright, thanks for responding.  I'll look into this and hopefully have it resolved soon.
One other question, but do you have the workspace opened when you deploy?  Do you have a multi-root workspace or only your one project opened?

Hi,
I do have a workspace open, and for this, it's a single project within it.


Rename plugin and submit to Obsidian Community Plugins

I've added the features I want, once the other issues are done, people would probably the upgrade.
I'm probably not going to develop any file-based features because I'm only interested in it in Daily Mode, but I'll accept PRs for other features.
TODO:

[ ] Complete style refresh Feature

[ ] Add break/end styles

[ ] Complete pomodoro timer Feature
[ ] Update README.md

[ ]  Remove fork blockquote
[ ] Add details of new features to README

[ ] Daily Mode
[ ] Sort items by time
[ ] Start / End times

[ ] Contextualize updated version paragraph
[ ] Add screenshots for new styles

[ ] Test on Windows
[ ] Read up on plugin submission requirements
[ ] Decide on altered plugin name (Day Planner+ probably)
[ ] Rename repo
[ ] Update name in manifest.json
[ ] Make release
[ ] Ask people in Obsidian Discord if they want to test it before submitting to Community Plugins
[ ] Submit to Obsidian Community Plugins

Is this still a work in progress? I am curious since I wanted to see if the plan was to keep this maintained or just for personal use.

Is this still a work in progress? I am curious since I wanted to see if the plan was to keep this maintained or just for personal use.

Progress has stalled for now, but I will get to it at some point. It's a service release more than anything, so probably not going to add a load of feature requests, in fact I'll probably trim the functionality down

可惜，我还以为会重新在插件市场上架。


Tidier style of immutables

@zarsky-broad I am not thrilled with the changes in this PR. It smells funny to me that that the model classes are dependent on the generated classes. Adding the class Builder to each model interface also looks like it is trying to hide Immutables but I don't think we want that.


Seems sdl submodule not working

Description
Submodules' questions are not recorded in trello or jira.
What type of issue is this? (place an x in one of the [ ])

[ x ] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[ x ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[ x ] I've read and agree to the Code of Conduct.
[ x ] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
{project_name} version:
{platform_name} version:
OS version(s):
Steps to reproduce:

Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

I am experiencing the same issue. Specifically in the languages module.

I am experiencing the same issue. Specifically in the languages module.

found a fix in this repo, see below:
https://github.com/slackhq/goSDL/pull/24


Revert "Require GEOS to be preinstalled."

My previous version checking is messing up others' builds. See #234. I propose to revert e12d1d2 here in maint (the 1.5.x release branch) and try to fix in master using PR #239.

Green light. Unless you see anything wrong, can you merge @mwtoews?


Split up AuthorizeAndBuild

Currently, the grpc method for building requires authorization beforehand: https://buf.build/penumbra-zone/penumbra/docs/main:penumbra.view.v1alpha1#penumbra.view.v1alpha1.ViewProtocolService.AuthorizeAndBuild.
This is an issue as building can be done at the same time the user is viewing/signing their transaction. This will reduce the percieved building time. The rust code already supports this (TransactionPlan::build returns the UnauthTransaction).
WitnessAndBuild may need to be altered as well: https://buf.build/penumbra-zone/penumbra/docs/main:penumbra.view.v1alpha1#penumbra.view.v1alpha1.ViewProtocolService.WitnessAndBuild.

Additionally, it makes sense to add UnauthTransaction to proto
Since there is supposed to be a wasm function that should return UnauthTransaction

This is a consideration further down the line, but it may be prudent to start thinking about potential DoS attack vectors? For instance, can a user can open many connections that preemptively start building the transaction proofs -- without ever completing the signing phase of the transaction. Regardless, this optimistic proving approach seems promising from a UX perspective.

potential DoS attack vectors

This work is always client-side though. So wouldn't that be the user DoS'ing themselves?

Superseded by #324


[Bug] Circular JSON passed as data causes a crash

Description
When you pass a circular json within getData of static.config.js, we get a circular JSON error.
Steps to Reproduce the problem
Within static.config.js, getRoutes method, add:
     let page1 = { a: {} };
     page1["a"] = page1;
     return {
          path: "/",
          template: 'src/app/page/Page',
          getData: () => ({
                page: page1,
           }),
     }

This throws an error:
Error: TypeError: Converting circular structure to JSON
at JSON.stringify (<anonymous>)
at stringify (<project>/node_modules/express/lib/response.js:1123:12)
at ServerResponse.json (<project>/node_modules/express/lib/response.js:260:14)
at json (<project>/node_modules/react-static/src/static/webpack/runDevServer.js:146:21)
at tryCatch (<project>/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (<project>/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype.(anonymous function) [as next] (<project>/node_modules/regenerator-runtime/runtime.js:97:21)
at asyncGeneratorStep (<project>/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (<project>/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)

I am working with Contentful where pages can include other pages that have reference to current page. Unless I clean the data before I pass it to the route, is there any way to fix this issue?

This is not a bug, and works as intended. It needs to serialise data data in order to build the "data file".
There is a method to fix this using a JSON.stringify replacer, but we can't (and won't) implement that because it will strip data without telling you that it does, which can lead to "why isn't my data there" bug reports, and re-building the cyclic data is different for everyone.
I think the easiest solutions for you are:

manually clean it up
add the following code:

https://github.com/douglascrockford/JSON-js/blob/master/cycle.js
const page = JSON.decycle(yourCyclicPageData)

Then on the front end, if you must, you can RE-BUILD the cyclic references:
const { page: decycledPage } = useRouteData()
const page = JSON.recycle(decycledPage)

Thank you @SleeplessByte . That is fair.


avx512f: added implementation for mm512_mask_add_x functions

avx512f: added implementation for mm512_mask_add_epi32, mm512_mask_add_epi64, mm512_mask_add_ps, mm512_mask_add_pd

The error on Travis is due to a problem in skel.c.  simde__mmask16 is a typedef to uint_fast16_t not uint16_t.  Since simde__mmask16 could be larger than a uint16_t we need to make an effort to only print 16 bits.  I've made some modifications to skel.c to fix this.
Other than that, which was my fault, there isn't anything wrong with this.  Nice work.
That said, there is an easier way to implement these: just do the non-masked operation and use simde_mm512_mask_mov_* to blend them together.  I added implementations of simde_mm512_mask_sub_* so you can see what I'm talking about, see 736d1b3578d6e365ddcb4feb37a38af0ca4d7580.
Doing it this way lets us reuse a lot of code which would otherwise be duplicated.  The drawback is it may be a bit slower if compilers naïvely have to extract, perform the non-masked operation, insert the result, extract the result, perform the mask_mov, and insert again.  I haven't actually looked to see if they're capable of optimizing out the extra insert then extract operation, but that's usually the type of thing they're really good at.  Even if they're not already doing it, I feel pretty good about the odds that at least gcc and clang will add such an optimization in the relatively near future.

Thank You, I will remember to minimize duplication from next time. I will fix it for mm_mask_add_x soon.
Apart from that I have another doubt about error which I was facing, I see int_fast32_t is defined as simde__m512i in SIMDE_VECTOR_SUBSCRIPT in avx512f.h and in stdint.h if _WORDSIZE==64 I see that long int is defined as int_fast32_t but when I was trying to implement mm512_max_epi32 I was getting compilation error that mm512_max_epi32 expects long long int as argument but is receiving a long int type, what should be the fix for this?

Hi, I have changed the implementation and used mm512_mask_mov_x for all functions.

Awesome, thank you!
I changed the function order a bit, so it goes _mm512_add_epi32, _mm512_mask_add_epi32, _mm512_add_epi64, _mm512_mask_add_epi64, etc.  I think it makes sense to keep these together; their implementations are obviously closely tied together, and this makes it easier to copy and paste the functions to use them as a basis for new functions.
I know the ordering in avx512f is a mess.  That's my fault, sorry, I'll try to clean it up soon.  Basically, there should be a group at the top of the file for functions stuff that's likely to be used in other functions, like _mm512_mask_mov_* and _mm512_set{zero,one}_*.  Next, each group (add, sub, mul, div, etc.) should be in alphabetical order with the mask_foo_* functions coming immediately after each corresponding foo_* function.
For the test cases, the same thing except let's put the mask functions after the entire group of non-mask functions.

Apart from that I have another doubt about error which I was facing, I see int_fast32_t is defined as simde__m512i in SIMDE_VECTOR_SUBSCRIPT in avx512f.h and in stdint.h if _WORDSIZE==64 I see that long int is defined as int_fast32_t but when I was trying to implement mm512_max_epi32 I was getting compilation error that mm512_max_epi32 expects long long int as argument but is receiving a long int type, what should be the fix for this?

It depends on exactly what error you were getting, but generally the answer is to use a cast.  On most compilers, just doing for example ((__mmas16) k) (where k is a simde__mmask16) is enough.  Since we only ever care about the lower 16 bits in simde__mmask16 we're okay with narrowing the type to 16 bits.
However, a simple C-style cast like that can actually trigger warnings in some compilers in C++ mode.  For clang it's -Wold-style-cast.  IAR has one too, but I don't remember the number off the top of my head.  Since we want to make sure people can use SIMDe in either C or C++ compilers without warnings, we use HEDLEY_STATIC_CAST(__mmask16, k) instead; that will be preprocessed to ((__mmask16) k) in C, but static_cast<__mmask16>(k) in C++.
With all that said, it's very important to note that you should be careful with this.  Diagnostics like this from the compiler are its way of telling your code might not do what you think it does, and casting is basically telling the compiler to shut up and do as it's told.  The thing is, compiler warnings are usually pretty good… so when you get a warning like this don't just assume the correct answer is to cast to get around it.  Sometimes the problem will be that you're accidentally using the wrong type, or there is some other issue.  Only cast when you're confident that it's really the right thing to do.
This is actually important for warnings in general.  They can be annoying, but they are there to help you find problems in your code early, which is much better than finding them later.  Only work to silence the warning once you're convinced it's the right thing to do.

I will try to work on it again, that was very informative.
Also, I will make sure to keep the order of functions as per your guidelines from next time :)


Feedback

Send Feedback 📝
Hey there! 👋😄
I appreciate your thoughts and feedback! Please feel free to leave your feedback by commenting directly below this section. Your input is invaluable for improving this project!
How to Submit Feedback

Simply add your comments or suggestions below this message.

Code of Conduct 🚦

Harassment will not be tolerated 🚫
No sexual content 🚷
No political discussions 🚫
No self-promotion 🚫
Be respectful 🙏

Comments that don't adhere to these guidelines will be removed.
Need to Stop Email Notifications? 📧🚫

How It Works 🔧
It looks for  in my README.md and updates the corresponding table. 📄🔄
Your feedback is important! All comments will be reviewed, and I will respond as soon as possible. Thank you for helping improve this project! 🎇🎇🎉🎊

Hi! Is this Feedback active 😂😂 ?

ok


Smart password validator

Add a feature on the user registration page that may help users to validate the password field in a nice way.

Hey, @TrojanTarun do you want to work on it?

Yes I want to work on it.

Okay, assigning to you. @TrojanTarun

Closing this issue till further consent. @TrojanTarun


Fixes OmniSharp/omnisharp-roslyn#272

On my system I found that 4 seconds was not long enough for DHT to start.
Time for a new computer perhaps...
Anyway I have bumped the timeout to 10 seconds (FYI: my system on average took
6 seconds to start DHT).
I have also added in a check to see if the timeout has indeed been reached.

Looks good to me. Thanks!


Triggered Kotsadm version update 2021.11.2-1-nightly

Automated changes by the auto-kotsadm-update GitHub action

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Bug] Production Netlify Integration Does Not Use Latest Version + Minor QOL Suggestions

Bug Report
Describe the bug
As a Netlify UI user of the publicly available (production) netlify-plugin-cloudinary integration, I am limited to using v1.10.2 (release/npm), despite the latest versions being available.
When a Netlify UI user interacts with the integration's card, the current links do not redirect to the version-specific content.
As a new Netlify UI user, this caused some confusion when I ran into build errors that maxSize (available in v1.11.0) was not a valid input.
Is this a regression?
Not sure; I am a new Netlify UI user of this integration.
Steps To Reproduce the error

Via the Netlify UI, enable the Cloudinary integration for $site
Create a netlify.toml file in $site's root dir
Copy/paste the following into netlify.toml + save, commit, push to trigger Netlify deployment:

[[plugins]]
  package = "netlify-plugin-cloudinary"

  [plugins.inputs]
  cloudName = "<Your Cloud Name>"

  [plugins.inputs.maxSize]
  height = 800

Netlify build will fail, complaining of invalid input "maxSize"
Review logs to find cloudinary version used, 1.10.2

Expected behaviour
As a Netlify UI user, I had the following incorrect assumptions:

Netlify would use the latest available version of the plugin; actual is pinned on v1.10.2
Netlify would allow me to specify which version of the plugin to use during build time; actual is possible via the Netlify UI (see Lighthouse integration example in screenshots below), but not specifically for the cloudinary plugin... I was unsuccessful in my attempts to specify the version in my netlify.toml and am unsure if that is possible.
Netlify UI Integration Card links would take me to the version-specific content for the version used by Netlify UI:

Review changelog:

actual: https://github.com/cloudinary-community/netlify-plugin-cloudinary/releases
expected: https://github.com/cloudinary-community/netlify-plugin-cloudinary/releases/tag/v1.10.2

Read docs:

actual: https://github.com/cloudinary-community/netlify-plugin-cloudinary#readme
expected: https://github.com/cloudinary-community/netlify-plugin-cloudinary/tree/v1.10.2#readme

CodeSandbox or Live Example of Bug

Screenshot or Video Recording
Actual Review changelog link

Actual Read docs link

Example of Netlify UI option for changing version

netlify.toml does not allow plugin version to be specified, fails build

netlify.toml plugin input included maxSize, fails build because the version used is 1.10.2, not 1.11.0

Your environment
Netlify UI

Node version: v18.18.2
Npm version: v9.8.1
Netlify build version: @netlify/build 29.25.0

Additional context
Hello and congrats on the latest release! Thanks so much to all the contributors for their time and effort on this project.
I don't have experience publishing public or private integrations on Netlify; the information presented is strictly from a Netlify UI end-user perspective.

If there's anything I can do to lend a hand with the issues highlighted, I'm up for it!

hey thanks @gshel - part of the issue is i have to manually provide updates to Netlify at the moment for the version to use and admittedly hadn't gotten to providing them with the latest
i just sent them over the latest to update on the site to hopefully get this moving
there used to be a way to manually pin a version but i dont believe that works anymore
will update once its available

With the limited digging I was able to do, I was worried this might be the case.
Thanks so much for your assistance!

hey @gshel you should now be able to select the enabled version of the plugin in Netlify!
the default installation isn't the latest (trying to get that fixed) but you can enable it with the dropdown by hitting Change Version
let me know if you run into any issues!

It's beautiful 🤩
Thanks again and hope you have a great weekend~


ARROW-12887: [CI] AppVeyor SSL certificate issue

It seems git+https downloads can fail with a certificate error in some situations.

The conda-forge version didn't work. Instead of grinding on this, I will revert the last commit and then merge.


fix: remove images from route-level config

The include in the tsconfig.json was causing the index file in adapter-vercel not to be type checked. I removed it to type check all files. I added images to the edge config to get it to pass. @dummdidumm could you verify if that's correct?

Awesome. Thanks for the help in getting this over the finish line!

stupid-lies-remain as a changeset filename feels like an omen on a PR where we are bending the rules of semver.
They remain.


search_dates: problem with numeric incomplete dates

Issue may be in part related to  #846
I have trouble to make search_dates recognise numeric incomplete dates correctly, such as 05/2020 or 2020.

In the first case, the 05 is recognised as day (and not as month, even though DATE_ORDER is DMY). Even more interesting is that the "month" in the datetime object depends on previously detected months.
--> incomplete data matching should recognises the DATE_ORDER argument (thus recognising this as month) or date_formats could be supplied to search_dates, so that %m/%Y can be defined as date format.

the year is recognised, the day is set according to PREFERED_DAY_OF_MONTH, but the month is set the months recognised earlier in the text.
--> would it be possible to have a PREFERED_MONTH_OF_YEAR option?

Text1: "test 01.05.2020 test. test 06/07/2020. test 05/2020. test 2020"
Result1:  [('01.05.2020', datetime.datetime(2020, 5, 1, 0, 0)), ('06/07/2020', datetime.datetime(2020, 7, 6, 0, 0)), ('05/2020', datetime.datetime(2020, 7, 5, 0, 0)), ('2020', datetime.datetime(2020, 7, 1, 0, 0))]
Text2: "test 01.05.2020 test. test 06/10/2020. test 05/2020. test 2020"
Result2: [('01.05.2020', datetime.datetime(2020, 5, 1, 0, 0)), ('06/10/2020', datetime.datetime(2020, 10, 6, 0, 0)), ('05/2020', datetime.datetime(2020, 10, 5, 0, 0)), ('2020', datetime.datetime(2020, 10, 1, 0, 0))]
The first two dates are correct, the the third and fourth are not.
Thanks a lot :)

Just wanted to add something to 1)
If the format of the incomplete date is %m.%y, than this is recognised as time, and the date is taken from the last available date.
05.20 --> 2020-10-01 05:20:00


python-language-server: 2020-10-08 -> 2021-05-20

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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.

Result of nixpkgs-review pr 129827 run on x86_64-linux 1

1 package built:

python-language-server


More work on replace String.Format with string interpolation

Relates to #9002

Note that I have not updated the sample from https://code.msdn.microsoft.com/Async-Fine-Tuning-Your-a676abea as I don't know where to access this code.

I'll :shipit: this one as well.  This is a set of great improvements @mikkelbu
We appreciate it.


glib-networking: clean up & add installed tests

[x] built glib-networking
[x] ran glib-networking.tests
[ ] checked that nothing relies on the dependencies formerly propagated (nix-review?)

@jtojnar You probably meant to direct this to staging?

Huh, why does libsoup have?
https://github.com/NixOS/nixpkgs/blob/0c52651bb73c3c8b7446803dcc4229f9c3bfbc22/pkgs/development/libraries/libsoup/default.nix#L34
(in passthru)

checked that nothing relies on the dependencies formerly propagated (nix-review?)

Hmm, maybe we can use staging-next for this :smile:
Thinking it's low likelihood.

Huh, why does libsoup have?
https://github.com/NixOS/nixpkgs/blob/0c52651bb73c3c8b7446803dcc4229f9c3bfbc22/pkgs/development/libraries/libsoup/default.nix#L34
(in passthru)

I suspect that is because we cannot add wrappers to libraries and we wanted to add TLS support to libsoup.

checked that nothing relies on the dependencies formerly propagated (nix-review?)

Hmm, maybe we can use staging-next for this smile
Thinking it's low likelihood.

Yeah looking through the reverse dependencies there do not seem to be any obvious issues.

Also, I think glib-networking has the glib-pacrunner. Could that do with any wrapping?

They use g_proxy_resolver_lookup_async so apparently, yes.

By the way, I used Coccinelle to create a base patch here as well:
spatch --sp-file hardcode-gsettings.cocci --dir proxy/ --in-place
@r1@
expression GSETTINGS_SCHEMA;
expression settings;
@@
- settings = g_settings_new (GSETTINGS_SCHEMA);
+ {
+ GSettingsSchemaSource *schema_source;
+ GSettingsSchema *schema;
+ schema_source = g_settings_schema_source_new_from_directory ("@gds_gsettings_path@",  g_settings_schema_source_get_default (), TRUE, NULL);
+ schema = g_settings_schema_source_lookup (schema_source, GSETTINGS_SCHEMA, FALSE);
+ settings = g_settings_new_full (schema, NULL, NULL);
+ g_settings_schema_source_unref (schema_source);
+ g_settings_schema_unref (schema);
+ }

Due to this GLib bug, I had to use a second patch:
@r2@
expression CHILD_SCHEMA;
expression settings;
expression parent_settings;
@@
- settings = g_settings_get_child (parent_settings, CHILD_SCHEMA);
+ {
+ GSettingsSchemaSource *schema_source;
+ GSettingsSchema *schema;
+ schema_source = g_settings_schema_source_new_from_directory ("@gds_gsettings_path@", g_settings_schema_source_get_default (), TRUE, NULL);
+ schema = g_settings_schema_source_lookup (schema_source, CHILD_SCHEMA, FALSE);
+ settings = g_settings_new_full (schema, NULL, NULL);
+ g_settings_schema_source_unref (schema_source);
+ g_settings_schema_unref (schema);
+ }

and then had to modify the files with sed -i 's/GNOME_PROXY_.*_CHILD_SCHEMA,/GNOME_PROXY_SETTINGS_SCHEMA "." \0/g' hardcode-gsettings.patch because Coccinelle complained about parse error when I tried to build the child schema id directly in the cocci patch.


add fullctl.ext.SimpleSelect2

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (85f2acb) 47.90% compared to head (4be453b) 47.90%.
Report is 4 commits behind head on prep-release.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff              @@
##           prep-release     #195   +/-   ##
=============================================
  Coverage         47.90%   47.90%
=============================================
  Files               140      140
  Lines              5154     5154
=============================================
  Hits               2469     2469
  Misses             2685     2685

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Cannot install hlint-2.0-15

I'm trying to install hsdev which has hlint-2.0.15 as a dependency. However I get this error msg
src/Report.hs:45:32: error:
    Ambiguous occurrence _escapeHTML_
    It could refer to either _Data.List.Extra.escapeHTML_,
                             imported from _Data.List.Extra_ at src/Report.hs:7:1-22
                          or _Report.escapeHTML_, defined at src/Report.hs:71:1

src/Report.hs:52:6: error:
    Ambiguous occurrence _escapeHTML_
    It could refer to either _Data.List.Extra.escapeHTML_,
                             imported from _Data.List.Extra_ at src/Report.hs:7:1-22
                          or _Report.escapeHTML_, defined at src/Report.hs:71:1

src/Report.hs:67:23: error:
    Ambiguous occurrence _escapeHTML_
    It could refer to either _Data.List.Extra.escapeHTML_,
                             imported from _Data.List.Extra_ at src/Report.hs:7:1-22
                          or _Report.escapeHTML_, defined at src/Report.hs:71:1

src/Report.hs:67:49: error:
    Ambiguous occurrence _escapeHTML_
    It could refer to either _Data.List.Extra.escapeHTML_,
                             imported from _Data.List.Extra_ at src/Report.hs:7:1-22
                          or _Report.escapeHTML_, defined at src/Report.hs:71:1

src/Report.hs:68:28: error:
    Ambiguous occurrence _escapeHTML_
    It could refer to either _Data.List.Extra.escapeHTML_,
                             imported from _Data.List.Extra_ at src/Report.hs:7:1-22
                          or _Report.escapeHTML_, defined at src/Report.hs:71:1
cabal: Error: some packages failed to install:
hlint-2.0.15 failed during the building phase. The exception was:
ExitFailure 1

I'm using ghc8.0.2. Any ideas what to do?

Do cabal update and try again - I just edited the metadata for it. Ideally use the newer version of HLint.

Thanks a lot. Wanted to install sublime-haskell package for st3. That however accepts a backend of hsdev < 0.3.0. hsdev <IP_ADDRESS> wants hlint-2.0.11 which shows the same error as above when I install it.
Can you please fix that version?

Try now. Unfortunately there's no bulk edit on Hackage, which makes it a painful process...

Worked now. Thanks :-)


Does find_subtitle is also yts endpoint

Does find_subtitle is also yts endpoint, I am asking so because this is not in yts api official site page
i.e https://yts.ag/api
I couldn't found this

Hey,
Was not even aware yts was back online..
The find_subtitles is not an yts endpoint. It will search on yifysubtitles.
However, I would have to review and test if this gem still works.

Hehehe but unfortunately yifysubtitles api are not working nowadays. its 404


Themes with no demo generated

This is a new list of broken theme demos on the Hugo website that I will address by notifying theme authors in the coming week and update this issue accordingly:

Strange Case ERROR log:
Error building site: failed to render pages: render of "page" failed: "/opt/build/repo/strange-case/layouts/_default/single.html:16:80": execute of template failed: template: _default/single.html:16:80: executing "_default/single.html" at <.Site.Params.datefor...>: invalid value; expected string

Notes
I opened https://discourse.gohugo.io/t/why-did-the-strange-case-theme-break-in-hugo-0-53/16201 because I cannot figure out what is causing this demo to fail in Hugo 0.53
Also this theme looks unmaintained. I very much doubt that I will get a response as there are unresolved issues that should have been addressed a long time ago. See: https://github.com/ExchangeRate-API/strange-case/issues

Dimension ERROR log:
Error: "exampleSite2/config.toml:10:1": unmarshal failed: Near line 10 (last key parsed 'params.description'): strings cannot contain newlines

Notes
This demo is affected by the same bug behaviour of the TOML parser that affected the Academic Theme (see below).
Turns out that someone notified the theme author about the problem with the multi line description in exampleSite/config.toml a long time ago but nothing was done.
See: https://github.com/sethmacleod/dimension/issues/29

FIXED Clean White ERROR log:
2:01:05 PM:  ==== PROCESSING  hugo-theme-cleanwhite  ======
2:01:05 PM: Building site for theme hugo-theme-cleanwhite using its own exampleSite to ../themeSite/static/theme/hugo-theme-cleanwhite/
2:01:06 PM: Error: "/opt/build/repo/hugo-theme-cleanwhite/layouts/_default/single.html:23:1": parse failed: template: _default/single.html:23: unclosed action
2:01:06 PM: FAILED to create exampleSite for hugo-theme-cleanwhite

FIXED Nuo ERROR log:
2:00:38 PM:  ==== PROCESSING  hugo-nuo  ======
2:00:38 PM: Building site for theme hugo-nuo using its own exampleSite to ../themeSite/static/theme/hugo-nuo/
2:00:38 PM: ERROR 2019/01/05 12:00:38 render of "page" failed: execute of template failed: template: _default/resume.html:15:5: executing "_default/resume.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:38 PM: ERROR 2019/01/05 12:00:38 render of "page" failed: execute of template failed: template: post/single.html:15:5: executing "post/single.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:38 PM: ERROR 2019/01/05 12:00:38 render of "page" failed: execute of template failed: template: post/single.html:15:5: executing "post/single.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:38 PM: ERROR 2019/01/05 12:00:38 render of "page" failed: execute of template failed: template: post/single.html:15:5: executing "post/single.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:39 PM: Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/links.html:15:5: executing "_default/links.html" at <partial "head.html" ...>: error calling partial: "/opt/build/repo/hugo-nuo/layouts/partials/head.html:12:24": execute of template failed: template: partials/head.html:12:24: executing "partials/head.html" at <resources.Get>: error calling Get: stat /opt/build/repo/hugo-nuo/assets/images/avatar.jpg: no such file or directory
2:00:39 PM: FAILED to create exampleSite for hugo-nuo

Hugo UI ERROR log:
2:01:17 PM:  ==== PROCESSING  hugo-now-ui  ======
2:01:17 PM: Building site for theme hugo-now-ui using its own exampleSite to ../themeSite/static/theme/hugo-now-ui/
2:01:17 PM: ERROR 2019/01/05 12:01:17 error: failed to transform resource: TOCSS: failed to transform "sass/now-ui-kit.scss" (text/x-scss): this feature is not available in your current Hugo version
2:01:17 PM: Error: Error building site: logged 1 error(s)
2:01:17 PM: FAILED to create exampleSite for hugo-now-ui

FIXED Academic ERROR log:
panic: BUG: Expected valid escape code after \, but got 'W'.

Notes
This is an upstream bug (see: https://github.com/BurntSushi/toml/issues/237) and also it has been reported at: https://github.com/gohugoio/hugo/issues/5584 https://github.com/gcushen/hugo-academic/issues/852 and the forum.
Turns out that this is not quite a bug. See: https://github.com/sethmacleod/dimension/issues/29
However the workaround described here: https://github.com/gcushen/hugo-academic/issues/852#issuecomment-449944802 is needed in the Academic Theme's Example Site.
Ok. The Academic Theme's author has already issued the workaround in the Example Site config (see: https://github.com/gcushen/hugo-academic/commit/afcf657f9348931faf9b9719ded1dfa75928c9f8)
@digitalcraftsman It seems that the demo of the Academic Theme will once again be generated when the Themes are updated in the repository.

I opened a separate issue for Evie

@digitalcraftsman It seems that the demo of the Academic Theme will once again be generated when the Themes are updated in the repository.

I've updated the themes in https://github.com/gohugoio/hugoThemes/commit/34a3786211fa0531506c439ead83119ca35b78f1

@digitalcraftsman thank you very much for getting the Academic demo back online :) I had been receiving a number of reports from users eagerly awaiting its return.

More themes with no demo due to missing content directory see:
https://github.com/themefisher/infinity-hugo/issues/2
https://github.com/dgraph-io/hugo-dgraph-theme/issues/7
@digitalcraftsman I admit that I am a bit perplexed by the missing content directory for these themes. The don't use Multilingual in their config. It seems that they do not inherit the contentDir from the HugoBasicExample.
Will investigate at a later date.

@bimmer44
Your theme's demo works fine at: https://themes.gohugo.io/theme/strange-case/

I am closing this issue as it's quite long. I will open another one about theme demos that do not generate after the refactoring of the HugoBasicExample is completed.


Update publish-source-maps-to-azure.md

cleanup webpack scripts

Learn Build status updates of commit 161db3f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/publish-source-maps-to-azure.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit d1bcb74:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/javascript/publish-source-maps-to-azure.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Security Advisory: Malicious Code Detection in TwitchDropsMiner

During compilation of TwitchDropsMiner, Windows Defender detected malicious code classified as Trojan:Win32/Malgent, specifically identified as HackTool:Win32/Malgent!MSR. This represents a severe security concern, as the malware appears to have been embedded within the compilation process. I think it is possible someone working on the project intentionally embedded malware into the program, in which case it is should be easy to find the malware as the software is open sourced.
Detection Details
Detection Tool: Windows Defender
Malware Classification: Trojan:Win32/Malgent
Specific Variant: HackTool:Win32/Malgent!MSR
Detection Context: Post-compilation scanning
Environment
Operating System: Windows 11 (23H2)
Windows build: 22631.4602
Antivirus: Windows Defender 1.421.1120.0

I think it is possible someone working on the project intentionally embedded malware into the program, in which case it is should be easy to find the malware as the software is open sourced.

I think you should take reading classes, and maybe buy some glasses, because the project description clearly states that this is expected and nothing to worry about. If this project would include any malware, it would stop existing ages ago. And don't even start me on how many "oh no, antivirus detects this as a virus" posts I had to close already.
The detection points towards the commonly used registry key used for autostarting applications, which makes a lot of sense, given the miner includes an autostart option you can toggle to enable it. If you don't toggle it, no enabling happens, and there's no autostart happening. The autostart key is queried upon application starting up, to determine if it should show itself to the user as toggled on or off. The querying is done in the read-only registry mode, but apparently that's not obvious enough to the antivirus to tell it that it's not trying to write anything. I'm leaving the rest for whoever manages those AV engines to figure it out.
This is a duplicate of #641, #634, #620, #616, #517, #508, #503, #420, #384, #335, #333, #315, #284, #270, #249, #217, #209, #137 and #13. Please always read through and search for the existing issues (even closed ones) before submitting new ones. Also, I encourage to read the project description carefully as well.

I think it is possible someone working on the project intentionally embedded malware into the program, in which case it is should be easy to find the malware as the software is open sourced.

I think you should take reading classes, and maybe buy some glasses, because the project description clearly states that this is expected and nothing to worry about. If this project would include any malware, it would stop existing ages ago. And don't even start me on how many "oh no, antivirus detects this as a virus" posts I had to close already.
The detection points towards the commonly used registry key used for autostarting applications, which makes a lot of sense, given the miner includes an autostart option you can toggle to enable it. If you don't toggle it, no enabling happens, and there's no autostart happening. The autostart key is queried upon application starting up, to determine if it should show itself to the user as toggled on or off. The querying is done in the read-only registry mode, but apparently that's not obvious enough to the antivirus to tell it that it's not trying to write anything. I'm leaving the rest for whoever manages those AV engines to figure it out.
This is a duplicate of #641, #634, #620, #616, #517, #508, #503, #420, #384, #335, #333, #315, #284, #270, #249, #217, #209, #137 and #13. Please always read through and search for the existing issues (even closed ones) before submitting new ones. Also, I encourage to read the project description carefully as well.

I apologize for my previous report and thank you for the detailed explanation. I should have done a more thorough search of existing issues and read the project description more carefully before posting. I've actually been using TwitchDropsMiner for almost 2 years now and have compiled it countless times without any issues. Your explanation about the registry key for the autostart feature makes perfect sense.
I failed to connect the detection to the autostart functionality, Because it has litteraly never been a problem until this version. This has been a reliable tool for me all this time, and I should have considered that before jumping to conclusions about the Windows Defender alert.
Thank you for maintaining this useful project, and again, I'm still a little bit sussed out because, as a i said earlier, this has literally never been a problem before.

it has litteraly never been a problem until this version.

It has always been a problem, as the linked issues suggest. You just haven't ran into a detection yet, for some reason. It seems Windows Defender isn't the smartest when it comes to detecting stuff like this, and it only happened to do a deeper scan now. Most of the previous issues were closed after detections via Windows Defender.


Upgrade cf-deployment to 9.2 from 7.9

What
Upgrades cf-deployment to 9.2 from 7.9
In cf-deployment 8.0 cflinuxfs2 was removed, so this incorporates some changes from upstream with existing changes we made.
We had a custom opsfile for working around the route service change in routing release v0.188.0 which we have now replaced with a reference to upstream.
Upgrades cf-acceptance-tests to 9.2 from 7.9, whilst doing this we also upgraded the version of go to 1.12.5. We had some trouble debugging some tests to do with the logging pipeline, so we also added two tests that fail obviously when cf logs does not receive application logs and router logs.
Split the custom acceptance tests job in the pipeline out into two:

custom-acceptance-tests
custom-broker-acceptance-tests
And reduce the parallelism for the tests, add ginkgo allowances for flakey tests. We split them out so that we rerun fewer tests when they flake, and so when developing/doing a cf upgrade, we can run platform custom tests separately from our broker tests. Hopefully this will encourage us to add more tests.

In more recent versions of CF the reverse log proxy (and reverse log proxy gateway) are generally available. We added an ALB (like Prometheus, unlike the classic ELBs for everything else) for log-api.((system_domain)) and log-search.((system_domain)) (one LB, two DNS records). This exposes the RLP part of loggregator to tenants, where auth is done using UAA auth token. The load balancer is provisioned via terraform but managed by Bosh (AWS CPI).
We added some more certificates to the certificate rotation ops file, because more certificates were added. And some more components now require TLS, so we had to update a port in our doppler load balancer. This raised a well-known bug with classic ELBs and SSL policies, for which we used terraform random_pet to force the updating of TLS policies on ELBs. However people may experience failing custom acceptance tests due to a regression with SSL policies. This can be fixed by changing it through the Amazon console. The real fix is in another story which is to use ALBs.
We experienced some flakey tests, so we reduced the parallelism, or fixed them in individual commits.
Who/How to review
This was done as a pair between @tlwr and @LeePorte

Just waiting on s/go-1.12.5/$hash/ for latest docker images


The chunk 'file header' was expected to be 414553 but found EEFBE5

i have encryption file when i decrypt it i get the error
The chunk 'file header' was expected to be 414553 but found EEFBE5
what does this mean??
  String decryptFile(String path) {
    AesCrypt crypt = AesCrypt();
    crypt.setOverwriteMode(AesCryptOwMode.on);
    crypt.setPassword('my-password');
    crypt.aesSetMode(AesMode.cbc);
    String decFilepath;
    try {
      decFilepath = crypt.decryptFileSync(path);
    } catch (e) {
      print(e);
    }
    return decFilepath;
  }

@winnie-chaintope is this issue got resolved?

@deepashree-ballodi nope. I ended up using another package

@deepashree-ballodi nope. I ended up using another package

what's another package, please!!

@312654929
i use
https://pub.dev/packages/encrypt for Aes.cbc
https://pub.dev/packages/cryptography for Aes.gcm

any update for this issue ?

any update for this issue ?


WIP: switch-to-configuration: Add new option X-OnlyManualStart

This is to facilitate units that should only be manually started and not activated when a configuration is switched to.
More specifically this is to be used by the new Nixops deploy-* targets created in https://github.com/NixOS/nixops/pull/1245 that are triggered by Nixops before/after switch-to-configuration is called.
Thank you to Yakkertech for sponsoring this work.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Do we have any in-tree examples, where this feature would be useful?

I'm not sure we should need this second commit?

It is not required, just nice to have.


[TASK][EASY] Introduce HELP command in Flink engine

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before creating

[X] I have searched in the task list and found no similar tasks.

Mentor

[ ] I have sufficient knowledge and experience of this task, and I volunteer to be the mentor of this task to guide contributors to complete the task.

Skill requirements

Familiar with Flink SQL

Background and Goals
Show available commands when users type 'HELP;' in the beeline.
Implementation steps

Using Flink SQL Client Parser(SqlCommandParserImpl) obtain the Command enum
Return Help message
Add 'HELP' statement test

Additional context
No response

@YesOrNo828 have you started working on this task?

@YesOrNo828 have you started working on this task?

Yes, I found there are some incompatible APIs between Flink 1.16 and 1.17 versions. I'm trying to fix it.
btw, this is a demo of HELP command run in the Flink 1.18

Looks nice. One more question: do all commands listed below work on the Kyuubi Flink engine?

Looks nice. One more question: do all commands listed below work on the Kyuubi Flink engine?

I have checked :
QUIT/EXIT commands don't work. beeline needs to use '!exit' or '!quit' to exit the program.
CLEAR command is invalid.
REMOVE JAR command is not supported in Flink SQL Gateway right now, I have created an issue to follow.
Other commands work fine.


Regen

Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

Run a full regen with mvn install -Dskiptests as it seems some files have not been previously formatted.


Draft Terms of Reference for the ESGF CWT

Draft: https://docs.google.com/document/d/1WFDxM145cv1uBbYubNh8mEui_zvYgZ10tdQSi9JVoq4/edit?usp=sharing
@cehbrecht: please can you review the google doc and make any suggestions that are needed.

added a comment ...


Could you publish it in NPM?

Thanks :)

The 1.0 release is almost done and it'll include npm support. Stay tuned! :)

OK, I added it anyway, now you can use npm as well.

Thanks!


Disable a couple of tests on older OSes that are reliant on Regex.

The tests in question use Regex, so they won't run on older Darwin versions.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci please test


[ci skip] WIP cursor based data processing

for discussion only - do not merge

I'm not sure if we're heading in the right direction with this.
No matter how we design the API, we'll always end up with the same problem:
At some point we have to have a push based API, either via Future/Callback or
via something like setNextRow.
This means in the nested loop - which is the component we want to simplify -
we'd still have some callback hell:
for leftPageFuture in leftPages:

    leftPageFuture.callback
        -> onResult
            for leftRow in leftPage

                for rightPageFuture in rightPages:
                    rightPageFuture.callback
                    # return's here, means left would continue -> same problem

If we want to really simplify this imho we've to consider using coroutines.
E.g. based on the Kotlin 1.1 EAP it could look like this:
async {
    while (true) {
        val leftBucket = leftBuckets.nextBucket().await()
        if (leftBucket == Pages.STOP_SENTINEL) {
            break
        }

        for (leftRow in leftBucket) {
            while (true) {
                val rightBucket = rightBuckets.nextBucket().await()
                if (rightBucket == Pages.STOP_SENTINEL) {
                    break
                }

                for (rightRow in rightBucket) {
                    println(leftRow.toString() + " " + rightRow)
                }
            }
        }
    }
}

I've also an example of the DistributingDownstream without using Pause but the
async/await mechanism of kotlin:
https://github.com/crate/crate/commits/j/kotlin
I don't fully understand how the scheduling works, but it looks promising.

The kotlin example I posted is a bit missleading. For that to really work I
think it would be necessary to bubble up the async into some kind event-loop or
threadPool.
But I think I might have come up with another solution.
I started with a prototype in https://github.com/crate/crate/compare/j/nl-proto?expand=1
The idea is to reverse what the NestedLoop is currently doing.
Instead of receiving rows and pushing them onto the next RowReceiver the NL now
is a DataSource (think PageDownstream)
Somebody else consumes this DataSource and pushes the data onto the next
RowReceiver.

Current coverage is 81.34% (diff: 41.89%)

Merging #4602 into master will decrease coverage by 0.16%

@@             master      #4602   diff @@
==========================================
  Files          1307       1313     +6
  Lines         44956      45135   +179
  Methods           0          0
  Messages          0          0
  Branches       7072       7105    +33
==========================================
+ Hits          36642      36713    +71
- Misses         5622       5726   +104
- Partials       2692       2696     +4

Powered by Codecov. Last update b494dbf...415250b

Summary of the requirements:

Chainable:
Data -> Data -> Data
(E.g. first filter, then limit - should be separate components)
but also:
Data -> Void
(E.g. DistributingDownstream)

Supports non-blocking

Low per row overhead

Pull based - must be able to trigger loading of next page (Avoiding pause/resume, like we currently have)

Some form of rewind/repeat (NL-join: right side must consume right data source multiple times)


Allows for customizing contact information in email notifications

Just so I'm clear, this PR allows you to specify a default contact (dispatch_help) or allows you to provide a service that resolves the contact depending on when the message is sent?
Also, please modify the docs for the new configuration variable. Also since we are deprecating a configuration item we should first warn (in the docs and the code) that we are deprecating it for a bit before removing it.
I think in this case since it's just a rename we can just alias them until we remove.

It allows you to provide the contact information you want to use in the base template footer. In the case of the task reminder, we're using the current oncall (if INCIDENT_ONCALL_SERVICE_ID is set), as it seems to be the best option. For all the other cases, the incident commander, so we keep discussions contained within the incident.


Fire Component and Animation

Description
Task: Fire Component.
Feature: Fire Extinguisher Design and Implementation
When a flame is instantiated at a position, an animated flame should be shown to screen above all other visual elements
Example (optional)

Flame Spawning: Flame should be able to be instantiated at a given position above all assets

Dependencies

[x] Fire Extinguisher Asset needs to be made

Milestones
List of steps that need to be completed for this task.

[x] Fire Component needs to be created (Sep. 03)
[ ] Fire animation needs to be added to the fire component (Sep. 03)
[x] Fire should be able to be instantiated with location (Sep. 03)

Completion Deadline: Sep. 03
Documentation

[Fire Extinguisher] (../wiki/Fire-Extinguisher))

Member

Caleb Murphy (Caleb-J-Murphy)

Completed


Loader Not Working with Collection Views

I've tested with both my own custom Collection View as well as a simple one with no special attributes. While working for Table Views, The Loader Class is not working at all with collection views.

+1

+1

there is uicollecitonView known issue
it might not return correct visible cells array until you layout it's subviews
try this
colelction.reloadData()
colelction.layoutIfNeeded()
Loader.addLoaderTo(colelction)


Error when replacing torchpack.distributed with torch.distributed.launch

Hi, I tried to use torch.distributed.launch instead of torchpack.distributed for multi-gpu test. I modified the tools/test.py (according to mmdetection3d) and create a dist_test.sh as follows:
CONFIG=$1
CHECKPOINT=$2
GPUS=$3
PORT=${PORT:-29500}

PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \
    $(dirname "$0")/test.py $CONFIG $CHECKPOINT --launcher pytorch ${@:4}

when I run the following command,
CUDA_VISIBLE_DEVICES=2 ./tools/dist_test.sh configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml pretrained/bevfusion-det.pth 1 --show

I got this error:
File "./tools/test.py", line 248, in <module>
    main()
  File "./tools/test.py", line 221, in main
    outputs = multi_gpu_test(model, data_loader, args.tmpdir, args.gpu_collect)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmdet/apis/test.py", line 96, in multi_gpu_test
    for i, data in enumerate(data_loader):
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 359, in __iter__
    return self._get_iterator()
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 305, in _get_iterator
    return _MultiProcessingDataLoaderIter(self)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 918, in __init__
    w.start()
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle 'dict_keys' object
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 76380) of binary: /home/ubuntu/anaconda3/envs/mmlab/bin/python
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 193, in <module>
    main()
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 189, in main
    launch(args)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 174, in launch
    run(args)
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/run.py", line 710, in run
    elastic_launch(
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 131, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/home/ubuntu/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 259, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:

Please give me some advice, thank you!

I haven't tried using torch.distributed.launch for a while. I would suggest you to have a look at all the places we use torchpack.distributed in tools/test.py and replace them with the torch.distributed equivalence. I remember that the distributed initialization for torchpack and torch might be different (but I might be wrong, @zhijian-liu can also comment).

@kentang-mit Thank you for your reply! I already replaced torchpack.distributed in tools/test.py by torch.distributed. Specifically, I comment
    # dist.init()

    # torch.backends.cudnn.benchmark = True
    # torch.cuda.set_device(dist.local_rank())

and add
    # init distributed env first, since logger depends on the dist info.
    cfg.dist_params = dict(backend='nccl')
    print("args.launcher", args.launcher)
    if args.launcher == 'none':
        distributed = False
    else:
        distributed = True
        init_dist(args.launcher, **cfg.dist_params)

but it seems that there are no other places need to be modified.

I just jumped to the function definition of  dist.init() and changed master_host:
# master_host = 'tcp://' + os.environ['MASTER_HOST']
master_host = None

, then it is ok to run
python -m torch.distributed.launch --nproc_per_node=$GPUS ...

Thanks @yangxh11 for the help! @Deephome, would you mind having a look at this solution and see whether it works for you?

@yangxh11 @kentang-mit Thank you for your suggestion! I'll have a try!

Closed due to inactivity.

@yangxh11, I have tried your suggestion to set master_host = None in dist.init() in torchpack, so I can run  torch.distributed.launch but got this error:
*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
***    and potentially your MPI job)
Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!

Could you please give me some advice, thank you!

Have you check the MPI?

I just jumped to the function definition of dist.init() in tools/train.py and changed master_host:
# master_host = 'tcp://' + os.environ['MASTER_HOST']
master_host = None

, then it is ok to run
python -m torch.distributed.launch --nproc_per_node=$GPUS ...

Hello, I encountered an error "RuntimeError: connect() timed out. Original timeout was 1800000 ms" after using the method you provided. May I ask if you have made any other settings?

I just jumped to the function definition of dist.init() in tools/train.py and changed master_host:
# master_host = 'tcp://' + os.environ['MASTER_HOST']
master_host = None

, then it is ok to run
python -m torch.distributed.launch --nproc_per_node=$GPUS ...

Hello, I encountered an error "RuntimeError: connect() timed out. Original timeout was 1800000 ms" after using the method you provided. May I ask if you have made any other settings?

Nothing special. Have you set the master_port in your command?

I just jumped to the function definition of dist.init() in tools/train.py and changed master_host:
# master_host = 'tcp://' + os.environ['MASTER_HOST']
master_host = None

, then it is ok to run
python -m torch.distributed.launch --nproc_per_node=$GPUS ...

Hello, I encountered an error "RuntimeError: connect() timed out. Original timeout was 1800000 ms" after using the method you provided. May I ask if you have made any other settings?

Hello, I have also encountered this problem. Have you solved it and how did you solve it ?

I made a modification to the definition of init in torchpack/distributed/context.py, replacing the original usage of mpi4py package with _world_size = int(os.environ['WORLD_SIZE']), _world_rank = int(os.environ['RANK']), and _local_rank = int(os.environ['LOCAL_RANK']). Following the error pointed out by @yangxh11, I also set the value of master_port in the program.

我只是跳到tools/train.py中dist.init()的函数定义，修改了master_host：
# master_host = 'tcp://' + os.environ['MASTER_HOST']
master_host = None

，那么运行就可以了
python -m torch.distributed.launch --nproc_per_node=$GPUS ...

您好，我在使用您提供的方法后遇到错误“RuntimeError: connect() timed out. 原始超时为 1800000 ms”。请问你有没有做其他设置？

你好，我也遇到过这个问题。你解决了吗？你是怎么解决的？


cannot install applications

Brief description of your issue
Installer hash does not match; this cannot be overridden when running as admin
Steps to reproduce
When I try to install the following applications : AnyDeskSoftwareGmbH.AnyDesk, Daum.PotPlayer, GOMLab.GOMPlayer, Bandisoft.Bandizip with the commands :
winget install --id=AnyDeskSoftwareGmbH.AnyDesk
winget install --id=Daum.PotPlayer
winget install --id=GOMLab.GOMPlayer
winget install --id=Bandisoft.Bandizip
I am facing the following issue :
Installer hash does not match; this cannot be overridden when running as admin
Expected behavior
The following applications : AnyDeskSoftwareGmbH.AnyDesk, Daum.PotPlayer, GOMLab.GOMPlayer, Bandisoft.Bandizip to be installed succesfully.
Actual behavior
Cannot install the applications.
Environment
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1265
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Hash mismatches are actually issues with the Package Manifests over at winget-pkgs being outdated. I'll create PRs to update the packages if nobody gets to it before I get home


[Bug]: First launch crash very often - Chromium 93.x - Puppeteer 10.4.x under Docker container

Bug description
Steps to reproduce the problem:
1.Run an Alpine 3.14 container with Chromium 93.x and Puppeteer 10.4.x
2. launch a chromium browser
3. First launch crash very often but the next launches work fine
Rollback to Alpine 3.13 with Chromium 86.x and Puppeteer 10.4.x works without any issue.
Puppeteer version
10.4.x
Node.js version
16.11.x
npm version
7.24
What operating system are you seeing the problem on?
Linux
Relevant log output
No response

We have very similar issue with same versions as above. Flags: --headless --no-sandbox --disable-gpu --disable-dev-shm-usage --single-process
We also get lots of log lines (it completely overflooded our logging):
[1126/084759.836347:ERROR:shared_image_stub.cc(524)] SharedImageStub: unable to create context
[1126/084759.836354:ERROR:gpu_channel.cc(568)] GpuChannel: Failed to create SharedImageStub
[1126/084759.836660:ERROR:gpu_channel_manager.cc(818)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[1126/084759.836672:ERROR:shared_image_stub.cc(524)] SharedImageStub: unable to create context
[1126/084759.836688:ERROR:gpu_channel.cc(568)] GpuChannel: Failed to create SharedImageStub
[1126/084759.836986:ERROR:gpu_channel_manager.cc(818)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[1126/084759.837012:ERROR:shared_image_stub.cc(524)] SharedImageStub: unable to create context
[1126/084759.837021:ERROR:gpu_channel.cc(568)] GpuChannel: Failed to create SharedImageStub
[1126/084759.837357:ERROR:gpu_channel_manager.cc(818)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[1126/084759.837370:ERROR:shared_image_stub.cc(524)] SharedImageStub: unable to create context
[1126/084759.837378:ERROR:gpu_channel.cc(568)] GpuChannel: Failed to create SharedImageStub
[1126/084759.837674:ERROR:gpu_channel_manager.cc(818)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[1126/084759.837687:ERROR:shared_image_stub.cc(524)] SharedImageStub: unable to create context
[1126/084759.837695:ERROR:gpu_channel.cc(568)] GpuChannel: Failed to create SharedImageStub
[1126/084759.838049:ERROR:gpu_channel_manager.cc(818)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[1126/084759.838062:ERROR:shared_image_stub.cc(524)] SharedImageStub: unable to create context
[1126/084759.838070:ERROR:gpu_channel.cc(568)] GpuChannel: Failed to create SharedImageStub

Same here, any updates please?

@mohamed-badaoui able to resolve it?


Example in README does not compile

Hi Francesco,
I tried compiling the example in the README but I get the following error:
$ .nimble/bin/omni sine.omni
stack trace: (most recent call last)
omni_io.nim(651, 26)     omni_ins_inner
/home/jgart/.nimble/pkgs/omni_lang-0.4.0/omni_lang/core/lang/omni_io.nim(755, 12) template/generic instantiation of `omni_ins_inner` from here
/home/jgart/sine.omni(1, 7) Error: ins: Invalid syntax: '1'

This is what my sine.omni file contains:
ins:  1
outs: 1

init:
    phase = 0.0

sample:
    incr  = in1 / samplerate
    out1  = sin(phase * TWOPI)
    phase = (phase + incr) % 1.0

This is the version of nim that I am using:
$ nim -v
Nim Compiler Version 1.4.6 [Linux: amd64]
Compiled at 2021-04-15
Copyright (c) 2006-2020 by Andreas Rumpf

Any ideas of how I can fix this? Should the README example be updated to reflect the current omni API or does the error lie elsewhere?

Hi!
What version of Omni are you using?

Ah, found the mistake... It's a regression from a rework I did a couple of releases ago. Will fix it ASAP! Thanks :)

I have rebased the 0.4.0 release to the new commit. If you nimble uninstall omni and nimble install omni again you should get it!
It definitely was a silly mistake on my end :)

Hi!
What version of Omni are you using?

 .nimble/bin/omni -v
Omni - version 0.4.0
(c) 2020-2021 Francesco Cameli

If you nimble uninstall omni and nimble install omni again you should get it!

I uninstalled and installed it but not I get the error below:
$ .nimble/bin/omni Sine.omni

sh: nm: command not found
ERROR: Undefined 'perform' or 'sample' blocks.

Is there something wrong with my input file?
$ cat Sine.omni
ins:  1
outs: 1

init:
    phase = 0.0

sample:
    incr  = in1 / samplerate
    out1  = sin(phase * TWOPI)
    phase = (phase + incr) % 1.0

What Linux distribution are you using? It appears you don't have nm installed, which is a standard gcc utility.

I'm on NixOS on this machine that is having the issues.
I think I have to do some homework on how to set up a proper environment on NixOS for doing work with nim/omni.
Here are some issues regarding compiling packages with nim on NixOS in case you are interested:
https://discourse.nixos.org/t/unresolved-symbols-using-nim/11320/1
https://discourse.nixos.org/t/nix-flake-of-nim-lang-packages/5267
https://github.com/adamlwgriffiths/nix-nim
I tried on a 32 bit cpu that is running void linux and omni compiled the Sine.omni file just fine.
I was able to inspect the libSine.so with nm.

I see! I have never used NixOS, but I am pretty sure the only problem in this case is to install nm. Glad it worked on a 32bit CPU, which I actually never tested Omni on :)

I tried installing nm by installing the binutils package which contains it .
whereis nm
nm: /nix/store/3xkamqvr4901xcwilzan3ijq29irpd8d-user-environment/bin/nm

 which nm
/home/jgart/.nix-profile/bin/nm

This is the error I get now when I try to compile OmniSaw.omni:
$ .nimble/bin/omni ~/.nimble/pkgs/omni-0.4.0/examples/OmniSaw.omni -o:./

/home/jgart/.nimble/pkgs/omni-0.4.0/examples/OmniSaw.omni(1, 1) template/generic instantiation of `params` from here
/home/jgart/.nimble/pkgs/omni_lang-0.4.0/omni_lang/core/lang/omni_io.nim(1872, 12) template/generic instantiation of `omni_params_inner` from here
/home/jgart/.nimble/pkgs/omni_lang-0.4.0/omni_lang/core/lang/omni_io.nim(1830, 41) Error: expression has no address

I get the same error for Sine.omni:
$ .nimble/bin/omni Sine.omni

/home/jgart/Sine.omni(1, 1) template/generic instantiation of `ins` from here
/home/jgart/.nimble/pkgs/omni_lang-0.4.0/omni_lang/core/lang/omni_io.nim(761, 12) template/generic instantiation of `omni_ins_inner` from here
/home/jgart/.nimble/pkgs/omni_lang-0.4.0/omni_lang/core/lang/omni_io.nim(719, 41) Error: expression has no address

Both examples compile for me...
Do they work on your other machine? This might be a problem with NixOS.

Both examples compile for me...
Do they work on your other machine? This might be a problem with NixOS.

Yes, they both compile fine on the machine running void linux. I think this is a NixOS problem also.
I'll have to investigate what is the correct way to deal with this on NixOS. I'll ask in their discourse. Thanks!

I see! Let me know about your findings :)


how to use urlFormatter?

here is my html
<ng2-completer [(ngModel)]="productTerm"
[ngModelOptions]="{standalone: true}"
[dataService]="productDataService"
[inputClass]="'form-control'"
[minSearchLength]="1"
(urlFormater)="preSearchReq(term)"
(selected)="productSelected($event)">
also the ts
preSearchReq(term: string): string {
let url = 'http://www.somewhere.com/' + this.globals.SelectedTenantId + '/' + term);
return url;
}
but i get this error
Uncaught TypeError: You provided 'null' where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.

urlFormater is a method of RemoteData not a property of the ng2-completer component.
You can see how it is used in the demo


[$250][Search v2.1]  Filters button should not be shown on Search page during "select mode".

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.28-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dannymcclain
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1725380044951249
Action Performed:

Go to staging.new.expensify.com
Click Search and select few expenses

Expected Result:
Filters button should not be shown on search during select mode
Actual Result:
Filters button are shown on search during select mode
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021832173197655902215
Upwork Job ID:<PHONE_NUMBER>655902215
Last Price Increase: 2024-09-06
Automatic offers:

jjcoffee | Reviewer | 103886050

Issue OwnerCurrent Issue Owner: @jjcoffee

Hi, I'm Wiktor Gut from SWM agency and I'll gladly take this issue!

@jjcoffee plz review the proposals above, thx

Hi @luacmartins, can you please take a peek at this bug and assign it? It's a pretty small thing connected directly to Search, so I'd love to handle it quickly as part of SWM 🙏

Sorry everyone, this is part of the Search project and @Guccio163 is working on this already.

@abzokhattab and @nyomanjyotisa , once the linked PR has been on production for 7 days, without a regression, I'll review this issue for potential payment.  One key point to consider here is this from CONTRIBUTING.md .

You can propose solutions on any issue at any time, but if you propose solutions to jobs before the Help Wanted label is applied, you do so at your own risk. Proposals will not be reviewed until the label is added and there is always a chance that we might not add the label or hire an external contributor for the job.

That doesn't guarantee that no one else will be eligible for compensation, I'll update everyone at the end.

@luacmartins I think you closed this by mistake?

Oh for some reason my merge commit closed the issue. Reopening.

The PR that introduced the bug has been identified. Link to the PR: N/A - just a missed feature
The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: B/A
Determine if we should create a regression test for this bug. Yes
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

Open Search page
Ensure no reports are selected
Verify that the Filters button is visible and that X selected is not visible
Select a few reports
Verify that the Filters button is no longer visible and that the X selected button becomes visible

Do we agree 👍 or 👎

Thanks! No need for regression tests at this time, we'll add them as part of the project wrap up

Contributor: @jjcoffee paid $250 via Upwork
Thx!

@nyomanjyotisa @abzokhattab sorry, but this was within the regression period and the Search project is being handled by SWM and myself, so we won't be able to issue additional payments at this time.

To provide more details...

Proposals were submitted before Help Wanted was added.
@Guccio163 from SWM posts that they want to work on it.
I add the External label to assign a C+
I remove the Help Wanted label

Based on the above, compensation isn't due.
@Guccio163 if you referenced the proposals and used any code from those (for all or part of the PR), please comment and provide details. Thx


Add support for bower

Add support for bower

because there are a lot of projects that are using Bower instead NPM
Bower is not dead yet and it's having many of years because Bower js is better than NPM  for managing front end components like html, css, js etc.

Sorry @elizad but we won't use Bower again, because we plan our next release to ship our components in differents package and it's not possible with Bower.
See : https://github.com/twbs/bootstrap/pull/23568 for more details