Take steps to reduce duplication in generated programs due to TH

A significant downside of using TH to facilitate code reuse is that every time we use the function we inline the whole body. And of course, if that function uses other functions we inline all of those along with it. Cue exponential code growth.
Now, we have a few ways we could deal with this:

Aggressive CSE in PIR.

Probably not too hard, but we also have to do at least O(size of program) work, which will grow exponentially even if we then make the program small.

Actually share the definitions.

Now, I think we can do the latter fairly reasonably. The PIR generation operates in MonadDefs, which allows you to put in definitions keyed by some key (in this case TH names). We use this machinery when we see a Haskell let, but we could also insert a special function that cues us to use this machinery. Something like
foo :: TExpQ (a -> a)
foo = hoistFun 'foo [|| \a -> a ||]

Would say "when you see this expression, treat it as a call to 'foo with the given expression as the RHS". I think this would Just Work with our definitions support, given that TH names are globally unique.

Alternatively, do unfoldings as in https://github.com/input-output-hk/plutus/issues/533.

I'm concerned that this may be the source of my OOMs in https://github.com/input-output-hk/plutus/issues/533, need to investigate the generated code.

Hm, although the hoistFun approach still won't save us from having exponential code fed to GHC - we'll just ignore most of it in the PIR compiler. That may or may not be a problem - GHC will still have to typecheck it for us.


add new flux HamiltonJacobi_Advection_pN_DiagonalLesaintRaviart_Diffu…

…sion_SIPG_exterior for conservative pressure terms in the projection navier stokes methods in the velocity component
@cekees: @mfarthin :
I wish there were a way to include a switch to turn on and off this two line adjustment based on whether we want the advective flux or not.  Right now we have two of essentially the same Fluxes,  the standard one and the one that includes the two line advective adjustment of adding the term  'f' dot 'n'  to the existing HamiltonJacobiFlux,
Is there a way to combine these into one functional Flux that can determine whether or not to add the term 'f'dot 'n' or not?

I merged the two numericalFluxes into one with a check to see if ('f',0) is a key in ebqe and has the right shape, meaning that was initialized,  in which case we add the extra "advection" term  ebqe[('f',0)]*ebqe['n']).sum(-1)  representing (p * \n ) to the existing HamiltonJacobiFlux term.

I changed it around and added the above fixes into pull request #283. the numericalFlux HamiltonJacobi_Pressure_DiagonalLesaintRaviart_Diffusion_SIPG_exterior for velocity that includes the conservative term of pressure inherits from the numericalFlux HamiltonJacobi_DiagonalLesaintRaviart_Diffusion_SIPG_exterior and two terms are added in to account for the grad pressure integration by parts.


Support building image from multiple files

Example:
docker.buildImage({
  context: __dirname,
  src: ['Dockerfile', 'file1', 'file2']
}, {t: imageName}, function (err, response) {
  //...
});

If this PR is accepted, I will send another PR to support src as directories
Inspired by https://github.com/JoTrdl/grunt-dock

Initially I didn't see the purpose of this, since you could pack it outside dockerode and then feed it.
But every other day people are creating issues about how to create the tar file, which lead me thinking about this PR :)

Hi @apocas,
Any chance to see this PR merged?
Thx

Let's merge this one :)

Thanks, it's good to see the PR merged


Status screen not reporting properly

The main processflow screen is not reporting properly the status of the post-processing. Here is an example from /p/cscratch/acme/golaz1/20170824.FCTfix-GM.A_WCYCL1850S.ne30_oECv3.anvil/input

The screen indicates that ncclimo for year set 31-60 has been running for over 13 hours, but there is nothing in the queue
acme1:~> squeue
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)

Just experienced similar problem again. The screen is showing jobs are RUNNING, but squeue is returning nothing.

Thanks @golaz, I know where this problem is and will have it fixed today.

Thanks, @sterlingbaldwin. Let me know when you have a new version ready to be tested.

This should hopefully all be solved with the new Slurm interface.


Fix CI badge; add Coveralls badge

Fix #31

coverage: 79.57% (+11.4%) from 68.132%
when pulling 6536ce2a2a40785fad276d73b98abf5b531970da on 31-add-repo-badges
into bf7a3deda6dfebc2d8b1faac5aa188fb89844260 on main.


withArguments() for support fragment

The extension function withArguments is defined for android.app.Fragment but not for android.support.v4.app.Fragment.

Relevant issue: https://github.com/JetBrains/anko/issues/29

Sorry for the duplicate.


Add setf of swizzle

(setf (s~ vec :xz) (v! 2 3)) should work

Done with https://github.com/cbaggers/rtg-math/commit/6548b3f98935046261f9e955642cf9207c287057


add minimal support for git URLs and revisions

Hi, I found it useful to be able to ocamlbrew from a git URL, instead of from a tarfile.  Specifically, this makes the whole problem of patching (and the fragility of patches) much much much less problematic.
Figured I should at least show it to you, since I use ocamlbrew so much (sometimes I think I've forgotten how to build ocaml "by hand" grin), and this would make it easier to use when debugging ocaml problems.

Thank you very much!

Hi, oh sorry, I forgot to update the docs!  I'll do that in a separate PR and send that long later today or tomorrow.
I really appreciate that you put ocamlbrew together -- can't count the amount of meaningless mental drudgery it's saved me!

I'm glad it's been useful!


Calculating spliced/unpliced ratio and what to do with the ambigous count

Dear authors,
I want to calculate the spliced/unspliced gene ratio but I am not sure what to do with the ambiguous count table. Should I just remove it or combine it to one of the spliced or unspliced counts?
I am a beginner in this area and so I'd like to apologise in advance for the naive question.
Best,
Mikhael

Hello @mdmanurung
Thanks so much for choosing alevin-fry.
Shortly, either removing the ambiguous counts or splitting it 50/50 into spliced (S) and unspliced (U) counts is fine. These are what people usually do in their research.
TL;DR:
When we say a gene in a cell has an unspliced UMI, it means the splicing status of the mRNA molecule represented by this UMI is ambiguous; i.e.,  the reads of this UMI mapped equally well to some spliced transcripts and some introns of this gene. Therefore, when calculating the S/U ratio, the count of these ambiguous UMIs can be either ignored, because their splicing status is ambiguous; or split half-half into S and U counts because their reads mapped equally well to S and U.
More generally, this question relates to an active research question people are exploring now. That is, can we compare S and U counts directly without any transfer learning or domain adaptation? This is mainly because introns have internal poly-A stretches, and those stretches could become potential priming sites. If this happens, the priming mechanism of spliced transcripts (poly-A tail priming) might be totally different from that of unspliced transcripts (poly-A tail priming + internal poly-A priming). See this technical note from 10x and this paper.
In addition, one caveat in the spliced and unspliced count inferred by alevin-fry, and all other mainstream quantification tools, is that unspliced UMI counts are represented by intronic UMIs counts. However, as we know, unspliced transcripts also contain exons, which means we prefer to assign UMIs as spliced compared with unspliced ones. People do this because they (and we) want to include as many UMIs as possible in our (spliced) count matrix.
These are all the dark sides of the question. Nonetheless, if we assume that the assumptions held by single-cell are valid and the effect of these caveats is minor, simply removing ambiguous counts or splitting them 50/50 into S and U is fine.
Best,
Dongze

Hi Dongze,
Thank you so much for the detailed answer. I'll need some time to let that sink in.
Best,
Mikhael


Bundle fontawesome.ttf from prawn-icon gem in asciidoctorj-pdf

When merged I'll cherry-pick this commit into the asciidoctorj-1.6.0 branch

:+1:


Themeswitcher

CI is failing due to openshift being down. Appears all of the links I've used passed.


maintainers/curators/sources are showing up as JSON within the CSV

This appears to have been addressed? Went out to site and am no longer seeing this issue.

Addressed.

Looks like it's back?

Confirmed it's back, I just ran yarn start --location "Ventura County, CA, USA" on a fresh checkout and got the following:
city,county,state,country,cases,deaths,recovered,tested,active,population,lat,long,url,maintainers,rating,tz,featureId
,Ventura County,CA,USA,39,,,,39,850967,34.058353,-119.1057185,https://www.vcemergency.com,"[{""name"":""John Bencina"",""github"":""jbencina"",""country"":""USA"",""state"":""CA"",""flag"":""🇺🇸""}]",0.13725490196078433,"[""America/Los_Angeles""]",0

Same with tz


[ MB-13183 ] Add in the psql client to DP3 task Dockerfile

🔒 Read more about this in the Slack thread here:
https://trussworks.slack.com/archives/C02KKS13KQE/p1660311141476779

Messages

:book:
:link: MB-13183

  Generated by :no_entry_sign: dangerJS against 56181df4feb9de69342434d23826fb31c4d5f37c


Add Test to verify MPI discovery

This PR adds a test to verify the MPI discovery by compiling the following snippet:
include<mpi.h>
int main (int argc, char* argv[]) {
  return 0;
}

Success
-- Performing Test petsc-mpi
-- Performing Test petsc-mpi - Success
-- petsc_lib_dir /.../.../petsc/x68_64/lib
-- Recognized PETSc install with single library for all packages
-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal
-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal - Success

Failure
-- Performing Test petsc-mpi
-- Performing Test petsc-mpi - Failure
CMake Error at .../cmake-modules/FindPETSc.cmake:82 (message):
  Compilation of the petsc mpi test failed.  This indicates that the compiler
  cannot find mpi.h.  Make sure to set the compiler to the compiler wrapper
  provided by your MPI version prior to calling this script.

  Logfile of the compilation:
  /.../.../build/CMakeFiles/FindPETSc/petsc-mpi.log
Call Stack (most recent call first):
  CMakeLists.txt:60 (find_package)

-- Configuring incomplete, errors occurred!

Closes #32

One quirk I forgot to mention is that PETSc can be configured without MPI, so we shouldn't insist on it here. Maybe only do this test if a PETSc compile fails?

@jedbrown I realised that later too.
Anyhow, I turned the mpi check into a set of diagnostics which run after the standard tests fail.
This should give the user some guidance on where to start.


fixed failing cypress tests

Resolves #[Issue number]
🔧 What changed
In regards to moderation, Cypress doesn't have a '.tab()' command. I had to replace all tab commands to manually focus on the next input field in order for the error messages to be displayed.  I also needed to rewrite the structure of the clipboard function as cypress has a special way of dealing with the clipboard.
In regards to the home test, due to the way that vue refreshes, I needed to add a small wait in order for the elements to appear in the dom
🧪 Testing instructions
run cypress tests
📸 Screenshots

I'm not sure from the PR description why we need this change. A package was installed that allows us to use tab() in tests. Is it not working as intended? Could you provide screenshots in the description?

I reinstalled the plugin and tested it again. When running the tests, it never actually tabs and focuses on the next input value, which is what would trigger the error message to be displayed

@theyokohamalife can you review this one again? there's overlap with your test fixes PR, so you'll have the most context


If ddev-router creation fails, web and other containers still come up

What happened (or feature request):
I did a ddev start with port 80 deliberately already occupied (for https://github.com/drud/ddev/issues/126).

The web/db/dba containers came up
The ddev-router container failed because port 80 was occupied.

The errors from ddev-router and ddev were probably adequate, although duplicate. But still all the other containers continued to run, and ddev list showed them in a healthy state, but as we know they were inoperable.
What you expected to happen:
I think I'd expect a failed start to result in a graceful shutdown of all the containers.
How to reproduce it (as minimally and precisely as possible):

Stop all sites
Put any process on port 80
ddev start

Anything else do we need to know:
Related source links or issues:
testing port 80 in advance - 126 is what I was experimenting with, and has direct bearing on this because if we tested first it might not happen in this particular situation.

@rfay If we added a health check to ddev-router, checked health on ddev start, and produced a failure message, would that cover what you think needs to be done here? I'm assuming the port-checking would be a separate concern from this since it has its own issue.

Yeah, I don't think this is related to the port check.
I guess I don't think that ddev list should show them running along just fine when they're not accessible? Should we do a stop if we're unable to successfully get the router going?

I'm not sure we should do a stop, as it could be helpful to leave the incomplete state for debugging etc.
For ddev list, we could also check router health there, and provide a warning that any running sites aren't going to be accessible.

I agree that just checking router health in ddev list is about what we need. Might need it in describe or some other places?

Updated OP "what you expected to happen" - adding the health check to router is implied. I can't think of anywhere else off-hand it would be useful to warn about a bad router situation.

I changed the title to fit the strategy @tannerjfco is headed, which is reporting and correct status management rather than stopping or obscuring when there's a problem.


Modular RAG - Part 1

This issue will track the first part of the adoption of the Modular RAG architecture in Spring AI.
Context
The work can be split into two categories.

The design and implementation of the building blocks for RAG modules that will be done in the org.springframework.ai.rag package. Each component is well encapsulated and can be used by itself to compose any kind of RAG flow. For example, you can use such components to build your own RAG flows using Spring State Machine, Spring Cloud Function or Spring Cloud Data Flow.
Using the Advisor API, a RetrievalAugmentationAdvisor will be implemented to provide some out-of-the-box RAG flows using the building blocks defined in the previous category.

For background information, please refer to the following sources:

Modular RAG: Transforming RAG Systems into LEGO-like Reconfigurable Frameworks
Retrieval-Augmented Generation for Large Language Models: A Survey
LangChain Retrieval Conceptual Guide
LlamaIndex Advanced Retrieval Strategies

Design
Modules
In this first part, the focus will be on establishing the following modules and submodules:

Pre-Retrieval

Query Transformation https://github.com/spring-projects/spring-ai/pull/1703
Query Expansion https://github.com/spring-projects/spring-ai/pull/1703

Retrieval

Document Search https://github.com/spring-projects/spring-ai/pull/1604
Document Join https://github.com/spring-projects/spring-ai/pull/1767

Post-Retrieval (only interfaces)

Document Ranking https://github.com/spring-projects/spring-ai/pull/1767 (a)
Document Selection https://github.com/spring-projects/spring-ai/pull/1767 (a)
Document Compression https://github.com/spring-projects/spring-ai/pull/1767 (a)

Augmentation

Content https://github.com/spring-projects/spring-ai/pull/1644

Orchestration (experimental)

Query Routing https://github.com/spring-projects/spring-ai/pull/1767

This issue will be updated as we progress with the design and implementation work.
Advisor
In this first part, the focus will be on:

Establishing a RetrievalAugmentationAdvisor.
Adopting the available sub-modules to support Naive and Advanced RAG flows.
Experimental branching and conditional components.

Hello @ThomasVitale
Thank you for opening this issue and providing detailed context about the Modular RAG architecture.
While exploring the current documentation, I noticed that QuestionAnswerAdvisor is still described as the advisor for RAG flows (e.g., in the Spring AI documentation). However, this issue outlines the creation of a new RetrievalAugmentationAdvisor and its integration with modular components.
Could you elaborate on the reasoning behind moving away from QuestionAnswerAdvisor? Is it primarily about achieving better modularity, or are there limitations in the existing implementation that the new approach aims to address?
Additionally, if I missed something in the issue description regarding the specific differences or advantages of the new advisor, I'd appreciate any clarification.
Thank you for your work on this!

@LuizyHub thanks for the interest! The Modular RAG work is still in progress for now. Once it's ready, we will provide detailed documentation and guidance on how to use these new components, including information on how the QuestionAnswerAdvisor is different and the reasoning behind this new solution. Some initial part has been included in the M4 release and it's described here: https://spring.io/blog/2024/11/20/spring-ai-1-0-0-m4-released#advanced-and-modular-rag Please, notice that this is still in preview/experimental. If you give it a try, we would be happy to receive any feedback to improve the solution before reaching a final version for the GA release. Thank you!

The scope in this part 1 has been included in the M4 release. Next steps will be covered in https://github.com/spring-projects/spring-ai/issues/1811, so I'm closing this issue.

Can the changes to Modular RAG be updated in the document? I couldn't find these changes or example code in the official documentation.


[mirekys/fe 42] implement i18ntextinput component

@mirekys Ciao Miro, I notice in relatedSelectField, you removed the part of the code that kept the state in Formik in appropriate format i.e. {id: value} or [{id:val}, {id, val}], does this mean that we no longer wish the components to manage and keep the formik's state in appropriate shape themselves, but we want to manipulate data before it goes to inputs and also before it is supposed to be submitted?


Issue #1278

This is a video contribution to Vectors in Cpp .
By Amit pandey
Batch - 6 c/c++

Description 📜
This is a video contribution on vectors in CPP.
Fixes # <1278>

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[x] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[x] C/CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@Op-panda  Observe changes... Carry them out next time
Great explanation :octocat:


crash when opening gd

After updating globed, my game crashes every time i open it. When i deleted the mod it stopped crashing. Please fix this issue.

nvm it just freezes for 30 seconds

it was just my pc lagging


iOS 10 backgroundBlurEffect issue

Hello,
Since iOS 10 update, I found issue with backgroundBlurEffect property. The background seem to appear blurred / un blurred / blurred when the loader appear.
To reproduce this issue, just replace in the demo project
APESuperHUD.appearance.backgroundBlurEffect = .none
by :
APESuperHUD.appearance.backgroundBlurEffect = .dark
Have you any solution for this issue ? :)
Thank you

Same issue. Any chance to fix it ?

Seem to be fixed with the last release.
Thank's for your feedback... or not !


playidtv

You are applying for validated OSS program

[X] My project is OSS licensed and open to public. (Must have LICENSE file)
[X] My project has more than 10 ⭐stars on Github, which is the required for this program.

Repository URL to your project
https://drzl.short.gy/playidtvnew.m3u
URL to your website

https://drzl.short.gy/playidtvnew.m3u
Expected Quota of usage
https://playidtv24.vercel.app

Details
- Category:
- License:
- Date of release:

Anything else?
No response

Hi. This program is only applicable for Open source projects on github.


Localize ingress #2711

Describe your changes
added ingress it localization
Related issue number or link (ex: resolves #issue-number)
#2711
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

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

[x] I have signed off on all commits

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

Wrong pr sorry, I've created my branch from main instead of dev-it ..


Change notification doesn't work on Outlook for Mac OS

I follow this repository to implement the changes notifying on sent mailbox. So whenever user send a message, I would like receive a notification. Everything work fine if I test it on outlook for Windows machine or on outlook web app (both windows and mac), however it doesn't work if I test it on Mac OS. Do you have any idea why it could happen?
My testing environment:
Mac OS version: macOS Sierra version 10.12.6
Outlook version: Outlook for Mac, version 16.29 (19090802)

No sorry. The sample uses ngrok to create a tunnel so that your development machine can receive the notification. I've never tried ngrok on a Mac, but they do have installers for it on their website, so it should work.
I would verify that the ngrok URL on your Mac matches the notification URL in your subscription.


add PDF Converter Master

Seeing as url doesn’t point to a specific version, this cask should use version :latest and sha256 :no_check. See an example.

@vitorgalvao fixed


Workaround for the swift test pipeline

Apply the workaround for: https://github.com/swift-actions/setup-swift/issues/591

Thanks @redsun82 for the timely workaround!


Docker: pull image before building

to prevent cache invalidation across buildjet/github

resolved the cache invalidation: https://github.com/commaai/openpilot/actions/runs/7108057226/job/19350988928


Spelling and formatting updates

Mostly minor changes in formatting and spelling.
I really wanted to remove all the HTML, but that might not have been a good idea.

Thanks!


Surface the number of variables linked

Is your feature request related to a problem? Please describe.
When someone exports themes to Figma, we currently display the number of created variables and collections. It would be helpful to show the number that have been linked / attached instead of 'No Variables Created', which is what shows as the variables were already there, but were somehow unlinked.

Another community request: https://tokens-studio.slack.com/archives/C073SSG7DC7/p1719923126230879?thread_ts=1719921281.457329&cid=C073SSG7DC7
Describe the solution you'd like
Given I have variables in Figma
If these become unlinked
And I re-export them again
I expect a toast to tell me that they're been re-linked, with the correct count
Describe alternatives you've considered
N/A
Additional context
Work can be carried on from fixing the variables & collections counter: https://github.com/tokens-studio/figma-plugin/issues/2838. Suggested by the community here.

This issue is in Featurebase for future prioritization


Fix Update SSP and Component Definition to Display Profile Modifications

This PR is a fix to #124 and should hopefully closes #75
This reworks ProfileResolver to save modifications per imported profiles. SSP and Component Definition should now properly display modifications only when given an imported profile.
Tests have also been changed. Changes in how we get modifications for each imported profile makes these tests no longer needed. Both the SSP and Component Definition rely on OSCALControlImplementationImplReq to display modifications. My reason for thinking these tests are unneeded is really due to how we pass modifications down to Control making it redundant to check on multiple levels that modifications are passed down. I would like if we can confirm that I am right in doing this as I still consider myself fairly new to the tests.

I am assigning @hreineck to hopefully address comments in my absence.

The component definition viewer does not seem to be the parameter constraints for the FedRAMP High profile for the default component definition URL.

@rgauss could you clarify the intended behavior? seems this does not need to display any parameter constraints. It's currently calling OSCALReplacedProseWithByComponentParameterValue, but with no statement arguments; the default Component url doesn't have any statements props to pass in.

The component definition viewer does not seem to be the parameter constraints for the FedRAMP High profile for the default component definition URL.

@rgauss could you clarify the intended behavior? seems this does not need to display any parameter constraints. It's currently calling OSCALReplacedProseWithByComponentParameterValue, but with no statement arguments; the default Component url doesn't have any statements props to pass in.

In #75 acceptance criteria we see:

... example component definition ... should display that profile's AC-2.3 constraints

I'm not sure what you mean by "the default Component url doesn't have any statements props to pass in".
Both the SSP and the Component Definition viewers should display those parameter constraints so that a user can immediately see whether the parameter value they've entered is within those constraints rather than having to navigate to the Profile.

@hreineck, looks like this still has conflicts to be resolved.  Other than that looks good.

@kylelaker, this look OK now?

@hreineck Thanks again for taking this for me! Great job!


Website is down

Hey, I have noticed that the website https://cataas.com is currently down.Is the project stopped or something go wrong ?

Hi. I'm not the owner of the website I merely wrote this library that makes it easier to interact with the website.
However, the website is running.


Control box height & position is off

This is how the control box gets rendered for me. The width seems to be correct, but the height and position are off. I'll also try and create a codesandbox to replicate this as soon as I get a chance. I'd don't see as an issue under moveable nor for vue-moveable so it's most-likely something small on my side, but I just can't seem to figure it out 😞
This is my code:
<moveable
  v-bind="moveableOptions"
  @drag="handleDrag"
  @resize="handleResize"
  @rotate="handleRotate"
>

</moveable>

moveableOptions: {
  draggable: true,
  resizable: true,
  keepRatio: true,
  rotatable: true,
  pinchable: true
}

After further debugging, I've found that calling updateRect fixes the height issue of the control box, but not the positioning.
mounted () {
  setTimeout(() => {
    this.$refs.moveable.moveable.updateRect()
  }, 400)
}

Produces

But interestingly enough, same isn't true when I substitute the custom timeout with await this.$nextTick()

As suggested in https://github.com/probil/vue-moveable/issues/28#issuecomment-550036539,
passing the container element's ref in the container prop worked for me!
Example:

  <moveable
    :draggable="true"
    :resizable="true"
    :pinchable="true"
    :container="$refs.wrapper"
  >

  </moveable>

Sorry, it's not actually fixed. I think it seemed fixed since hot-reload just updated the control box.
@probil could you update moveable dependency to 0.13.1? I think they just fixed a similar issue:
https://github.com/daybrush/moveable/issues/98
renovate bot also has a PR for this: https://github.com/probil/vue-moveable/pull/87


Support for dynamic imports

https://github.com/tc39/proposal-dynamic-import (stage 3)
import(`./foo/${bar}`).then(module => {
    // ...
})

This is currently recognized as invalid syntax: Parsing error: Unexpected token import.
Also probably need to add a rule similar to no-dynamic-require as well.

The babel-eslint parser is required for it to be parsed properly (syntax parsing is not the job of an eslint plugin).
I agree that no-dynamic-import is a good rule to have.

Thanks. Using babel-eslint resolved my issue.  I incorrectly assumed that using the webpack resolver would apply the babel config it contains.
Leaving open as a request to support a new no-dynamic-import rule.

just making a note: would also like to add to the moduleVisitor so that static paths imported dynamically (think code splitting) can be linted by no-unresolved, no-absolute-path, etc.

no-dynamic-import is a confusing name since import() is called dynamic import.
Also, why make a new rule for this when we can nest it as an option under no-dynamic-require?

I think it's pretty easy to ban import() with no-restricted-syntax, so we probably don't need a rule for that.

@ljharb Do you mean banning with an expression in it?
const foopath = './foo';
const foo = await import(foopath);

sure, you could do that too.


sim.setModelProperty is not being respected by VR-Toolbox

Hi,
This isn't a big problem, still I wanted to drop you a line.
In my code I tried using sim.setModelProperty(objHandle, sim.modelproperty_not_visible), which works in CoppeliaSim, but does not affect Vr-Toolbox.
(I didn't check the behavior of other model properties)
This isn't a big problem because layers could still be used to show/hide objects during simulation.
edit 1: I noticed simSetObjectInt32Parameter(objHandle, sim.objintparam_visibility_layer,0) also has no effect, so it seems I must resort to hiding layers during simulation.
edit 2:  There's no way to hide an entire layer from within a script, like how the layer selection dialog box works. Which means there isn't a way (Or I can't find such a way) to hide objects during simulation in VR toolbox. So this bug isn't so small after all.

Yeah the toolbox does not read visibility flags. Not many model properties are read by the toolbox, that would be too slow.
I know that in the past I have hidden layers from within a script, the same way the dialog works. So it should be possible.


How to do semantic embedding

Hello, can I know how to do semantic embedding? Because I want to train my data set.Then test .
I have collected sketches, pictures and semantic information.

One way of doing so is to extract the label embedding using word2vec (with google news, glove etc.) See the attached code for doing that.
`#!/usr/bin/python3
-- coding: utf-8 --
import argparse
import numpy as np
import re
import os
import glob
import gensim.downloader as api
import utils
def create_wordemb(root_path, type='word2vec-google-news-300'):
clss = glob.glob(os.path.join(root_path, '*'))
clss = [c.split('/')[-1] for c in clss if os.path.isdir(c)]
available_type = ['word2vec-google-news-300', 'fasttext-wiki-news-subwords-300', 'glove-wiki-gigaword-300']
if type not in available_type:
    print("Type specified does not exist.")
    exit()
model = api.load(type).wv

lv = len(model['airplane'])  # for knowing the length of vector

wordemb = dict()
# synonym dictionary
syn_dict = utils.get_synonym()
for cls in clss:
    cls_tmp = re.sub('[)(]', '', cls)
    if cls_tmp in model.vocab:
        ws = [cls_tmp]
    elif cls_tmp in syn_dict.keys():
        ws = syn_dict[cls_tmp].split('_')
    else:
        ws = cls_tmp.split('_')
    v = np.zeros((len(ws), lv))
    for i, w in enumerate(ws):
        if w in model.vocab:
            v[i, :] = model[w]
        else:
            print(w)
    wordemb.update({cls: np.mean(v, axis=0)})
return wordemb

def main():
# Parse options for processing
parser = argparse.ArgumentParser(description='Generate word2vec representation.')

parser.add_argument('--dataset', default='Sketchy', help='Name of the dataset')
parser.add_argument('--type', default='word2vec-google-news-300', help='Type of word2vec model')
parser.add_argument('--save-dir', default='/home/adutta/Workspace/SemCycGenZ2SIR/Semantic', help='')

# Parse the arguments
args = parser.parse_args()

# Read the config file and
config = utils.read_config()
path_dataset = config['path_dataset']

if args.dataset == 'Sketchy':
    sketch_dir = 'sketch'
    sketch_sd = 'tx_000000000000'
elif args.dataset == 'TU-Berlin':
    sketch_dir = 'sketches'
    sketch_sd = ''
elif args.dataset == 'QuickDraw':
    sketch_dir = 'sketches'
    sketch_sd = ''
else:
    sketch_dir = ''
    sketch_sd = ''
root_path = os.path.join(path_dataset, args.dataset, sketch_dir, sketch_sd)
save_path = os.path.join(args.save_dir, args.dataset)

wordemb = create_wordemb(root_path, args.type)
if not os.path.isdir(save_path):
    os.makedirs(save_path)
np.save(os.path.join(save_path, args.type + '.npy'), wordemb)

if name == 'main':
main()`

One way of doing so is to extract the label embedding using word2vec (with google news, glove etc.) See the attached code for doing that. I hope this helps :)
`def create_wordemb(root_path, type='word2vec-google-news-300'):
clss = glob.glob(os.path.join(root_path, '*'))
clss = [c.split('/')[-1] for c in clss if os.path.isdir(c)]
available_type = ['word2vec-google-news-300', 'fasttext-wiki-news-subwords-300', 'glove-wiki-gigaword-300']
if type not in available_type:
    print("Type specified does not exist.")
    exit()
model = api.load(type).wv

lv = len(model['airplane'])  # for knowing the length of vector

wordemb = dict()
# synonym dictionary
syn_dict = utils.get_synonym()
for cls in clss:
    cls_tmp = re.sub('[)(]', '', cls)
    if cls_tmp in model.vocab:
        ws = [cls_tmp]
    elif cls_tmp in syn_dict.keys():
        ws = syn_dict[cls_tmp].split('_')
    else:
        ws = cls_tmp.split('_')
    v = np.zeros((len(ws), lv))
    for i, w in enumerate(ws):
        if w in model.vocab:
            v[i, :] = model[w]
        else:
            print(w)
    wordemb.update({cls: np.mean(v, axis=0)})
return wordemb`

Can you tell me how to use this code?
I found the following line in the code
# synonym dictionary syn_dict = utils.get_synonym()
But there is no get_synonym in your utils.py

sorry ! code as follow!
syn_dict = utils.get_synonym()

Here is the get_synonym code, but it will be different if you have different dataset:
`
def get_synonym():
syn = dict()
syn['axe'] = 'hatchet'
syn['bear_animal'] = 'bear'
syn['beer_mug'] = 'stein'
syn['bottle_opener'] = 'opener'
syn['computer_monitor'] = 'monitor'
syn['crane_machine'] = 'crane'
syn['head_phones'] = 'headphones'
syn['hot_dog'] = 'hotdog'
syn['mouse_animal'] = 'rat'
syn['paper_clip'] = 'paperclip'
syn['power_outlet'] = 'socket'
syn['race_car'] = 'racecar'
syn['sponge_bob'] = 'spongebob'
syn['wrist_watch'] = 'watch'

return syn

`

Thanks!
Should the code you sent before be a separate python file?     Or should it be in the train.py file?

Thanks!
Should the code you sent before be a separate python file? Or should it be in the train.py file?

Hello,I want to embed the class word to,have you finished,and how to do it?would you mind to tell me how to do it?Thank you very much.


Add note on how to silence after_add trigger with force_non_association_create

Took me a while to figure out why records were being touched whenever someone loaded the edit screen.
Turns out it was because link_to_add_association was firing after_add callback on my has_many association.
This was fixed by passing force_non_association_create: true
Hopefully adding an example use case for this option means it won't be removed and will help anyone out in the future.

Thanks! Great clarification :+1:


Why this when http://www.programmableweb.com/ has 14K+ APIs listed?

I'm genuinely asking: isn't this re-inventing the wheel a bit?

This was put together after a series of tweets I got from others who use specific and their favourite go-to APIs. Rather than a mountain collection it's what the industry use and will help others find the best APIs out there.

Might it be good to leave a link to Programmable Web as a backup - "If you can't find your api here, programmableweb.com has over 20,000 to check out and search through!"


key manager not working well with touchpad gesture setting

if i bind one shortcut to another, when i press that shortcut, I found advanced touchpad gesture configuration in settings is not monitoring the right key. I have to close powertoys.
for instance, i map ctrl space to alt space, when i press control space, the setting will get a weird ctrl alt space...

hi @dentistfrankchen, I'm not completely clear on the issue here.

is the touchpad gesture no longer working?
is the mapped shortcut no longer working?

i will post a picture to illustrate this later.

Well, it seems to have been fixed...sorry my bad...


Connection Error Exception on large filtered get

Attempting to retrieve a relatively large number of netbox objects using filtered get, occasionally I get the following exception.
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
Retrying operation will most of the time complete successfully.  Seems like the netbox server is taking longer to return the data which causes the timeout.
Traceback (most recent call last):
File "/.venv/lib64/python3.6/site-packages/pynetbox/core/endpoint.py", line 225, in filter
ret = [self._response_loader(i) for i in req.get()]
File "/.venv/lib64/python3.6/site-packages/pynetbox/core/query.py", line 300, in get
return req_all()
File "/.venv/lib64/python3.6/site-packages/pynetbox/core/query.py", line 290, in req_all
"offset": len(req["results"])
File "/.venv/lib64/python3.6/site-packages/pynetbox/core/query.py", line 247, in _make_call
params=params, json=data
File "/.venv/lib64/python3.6/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/.venv/lib64/python3.6/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/.venv/lib64/python3.6/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/.venv/lib64/python3.6/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

Maybe lower MAX_PAGE_SIZE in NetBox and see if that helps. Pynetbox will paginate to whatever that's set to for responses that require it.

Maybe lower MAX_PAGE_SIZE in NetBox and see if that helps. Pynetbox will paginate to whatever that's set to for responses that require it.

Thank you for the suggestion, yes, it does appear to perform more consistently, now to figure out what value works best.  Clearly 1000 which is default is too much for it to handle sometimes.  I just can't figure out why it times out and closes the session in some cases and not others.  I can re-run the query a few seconds later and it completes.

Yeah that is strange, might want to play with how many workers you have and what your httpd and wsgi worker timeouts are. Tuning Django can be an art. :grimacing:

Yeah that is strange, might want to play with how many workers you have and what your httpd and wsgi worker timeouts are. Tuning Django can be an art. 😬

You bet, my first goto was to double the workers, I did not think about gunicorn timeout, it appears that the default value is 30s and I have been using the default Netbox systemd file which does not override it.
However what are  your thoughts on keeping the page size relatively low (500 records?) and hope for feature request #191 to speed up paging with threading?

Yeah, that could help. Could always check out that branch and see. I haven't had chance to test it much, tbh.


Get React to re-use custom blocks on re-render

I've been stuck mostly all day on this issue and would really appreciate any pointers.
I'm trying to figure out how to modify draft-js so that it doesn't re-render whole custom blocks, i.e. it reuses markup already there.
I've decided to use draft-js as the rendering engine for some forms I'm creating, I've got a custom block which is the text input you can see in the below screen capture. The text input's value is derived from the custom block's data: { text: 'custom value' } attribute. I've made some custom code that applies a new editorState with an updated data.text value when the user types in the input. This is all working great, however React always blats everything inside the <figure /> element and doesn't re-use the markup that's already there. Which causes the field to lose focus.
Screen capture:

I suspect it's something to do with 'DraftEditorContents.react.js' file or the 'DraftEditorBlock.react.js' file. I've tried making sure the key properties are always unique but haven't had any success.
Here's the line that creates the custom component. The Element variable is "figure" and react is smart enough to reuse this, however it always creates new nodes for its children.

I've also tried commenting out the shouldComponentUpdate methods in both those two files to see if handing control back to however React would handle it by default would help but it doesn't make a difference.
Once again would really appreciate any help or pointers you might have. Thanks.
This is my code I use to update the editorState
content = content.setIn(['blockMap', key, 'data', 'value'], state['value'])
var newEditorState = EditorState.push(form['editorState'], content, 'change-block-data')

have you tried to return editable as false in you blockReanderFn?
return {
          component: yourComponent,
          editable: false,

Thanks @mzbac, just gave that a go, but unfortunately it doesn't seem to make a difference.

@AlastairTaft seem you try do something similar like tex does in example of draft-js. you may can have look at
https://github.com/facebook/draft-js/tree/master/examples/tex

Thanks, that's a good pointer, I'll dig through that.

Hey @AlastairTaft,
Two quick points.

I would suggest you use DraftModifier to perform updates on the ContentState. This will ensure that all edge cases are dealt with.

Are you setting your Editor to readOnly, when setting focus on the input? The TeX example is a good place to start. The reason you would need to do that, is so that Draft doesn't hijack the focus from your input.

I figured out my issue, might help someone else.
My custom block renderer used to wrap the component in another component and merge in the props.
return {
  component: props => <Component
    {...props}
    {...data}
    onChange={(value) => onChange(contentBlock.key, value)}
  />,
  editable: false,
}

I've since swapped that to just using
return {
  component: Component,
  editable: false,
  props: {
    ...data,
    onChange: (value) => onChange(contentBlock.key, value),
  },
}

I don't like having to access all my custom properties through this.props.blockProps but at least it renders okay and gives me something to progress from.

@AlastairTaft I experienced the same issue, and I realized that I was generating a whole new ReactClass on each render, which, I think, is what your props => ... approach above is doing. Each time the BlockRendererFn is executed by Draft, a new ReactClass is generated, and there's no way for React to know that it's the same as the one that was generated last time.
I bet it'd work if you moved the definition for that component out of the BlockRendererFn.
Using <Component...> directly works because the React class stays the same, even though you're creating a new instance of that class (a new ReactElement). Since the class is the same, React can tell that you want to reuse the existing one.


Create MySQL cluster with primary-replica setting

This PR implements the feature to bootstrap MySQL cluster with primary-replica setting. Moco configures mysql-0 as primary and the rests as replicas, and set the index of current primary MySQLCluster.status.currentPrimaryIndex.
The design document is here.

@ymmt2005 Please review the following.

mysql_clustering.go

Reconcile MySQL Cluster with decideNextOps functions referring to the pattern CKE applies

mysql_accessor.go

Handling database connections using sqlx library


Ask when user wants to work on his/her goal

After setting up a goal ask when user wants to work on it
App gives options based on time of the day: (exclude this option when user picked ‘Sleep’ category)
When user sets a goal in the morning give these options:
a) Right now
b) Afternoon (12pm - 5pm)
c) Evening (5pm to 9pm)
In the afternoon:
a) Right now
b) Evening
When user picks ‘Right now’, start a new time slot immediately with the category user picked.
When user picks ‘Afternoon’ or ‘Evening’, remind user afterwards based on the pick.
Don't ask when user sets a goal after 9pm.
When notifications are disabled, ask user to enable notifications. #832

Doesn't apply atm since we're can't detect if user is already working on X or not.


Reserved argument for checking viability of execution

Redirected from comment in BEP027 Google Docs page per prompt from @effigies.
It's possible that the suggestion may still be premature given the current state of the specification; I've not kept up to date with the developments here. Just writing out the proposal and you can do with it as you see fit.
Imagine you are someone who provides to end users a computational service. They have a set of BIDS Apps that they maintain. A user comes along, and they have different data that have used different acquisition protocols. They want to know which analysis pipelines are applicable to different subsets of their data.
As a first pass, you could simply say: "If you have MR data of modality X, then pipeline A is applicable. If you have data of both modalities X and Y, then pipeline B is applicable.". However the situation could potentially be far more complicated. Pipelines could be dependent on the presence of specific metadata, which may not be present in all circumstances depending on eg. scanner OS version. It may be that just the presence of data of a specific modality is not sufficient to guarantee pipeline applicability, there could be weird requirements esoteric to that specific modality / pipeline; eg. compulsory availability of image data with which to do EPI distortion correction.
What might be convenient from the perspective of that service provider would be as follows. The BIDS Apps interface specification has a reserved flag argument name for this purpose; let's call it "--viability" for now. If that argument is specified, then the App will do as much of its internal processing as possible to construct the execution graph, which may be dependent on data availability / metadata contents / any weird esoteric knowledge. But it will then terminate, yielding a return value indicating whether the construction of that graph was successful, and not commence any expensive data processing computations. In this way, a computational service could automatically determine for any given dataset which pipelines are applicable. Further, any potential incompatibility between a given input dataset and some set of arguments could also be verified.
Over and above this potential utility, it would also discourage design patterns that just proceed with expensive computations and maybe encounter some error partway through, encouraging instead the use of more robust workflow construction mechanisms.
While any individual App could hypothetically implement such a feature in a standalone manner, the real utility of the idea only comes if the interface to the mechanism is described in the specification.
It may be that some simpler Apps just don't implement support for it; whereas for others that are already using robust workflow management engines, it would likely be a few lines of code to insert a premature termination between workflow construction and commencement.

I think --dry-run is an extremely common flag for this sort of behavior. I would suggest adopting that.


Data from the database (MongoDB) is not loading

The problem I have found is that data from MongoDB is not loading. Though the cluster is working properly. Attached the necessary screenshots.

Please confirm if there are products in the database collection

I have destroyed the DB and imported it again. Now the problem is solved. As I have given my original credentials for MongoDB someone has changed the products collection. I need to remove those credentials.

Okay good, kindly close the issue


Font looks off when using Impeller

Steps to Reproduce

Use the publicly available open source font 'Inter' (https://rsms.me/inter/)
Enable Impeller and build the app

Expected results:
This is how it looks without Impeller:

Actual results:
This is with Impeller enabled

Code sample

Logs

[!] Flutter (Channel master, 3.9.0-22.0.pre.102, on macOS 13.0 22A8380 darwin-arm64, locale en-GB)
    • Flutter version 3.9.0-22.0.pre.102 on channel master at /Users/nicklbaert/Documents/apps/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3ea2d72446 (12 hours ago), 2023-04-07 19:45:14 -0700
    • Engine revision 1f5433d4e4
    • Dart version 3.0.0 (build 3.0.0-417.0.dev)
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use
      "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/nicklbaert/Library/Android/sdk
    • Platform android-33, build-tools 30.0.2
    • Java binary at: /Library/Java/JavaVirtualMachines/jdk-16.jdk/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 16+36-2231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed
      instructions).

[✓] VS Code (version 1.77.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (3 available)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

seems like the same issue as #124310 i think we are tracking it there

@nicklbaert
See above comment. If that's not similar, can you provide a minimal code sample that shows the reported behavior ?


Added locking to channel.Ack and channel.Nack to make them both goroutine-safe

This should take care of #318

Thank you!


[c++] Surround macro parameters with parenthesis

Macro parameters with commas in them, like "std::map<int, std::string>"
need to be surrounded with parenthesis so they are treated as one
parameter instead of as two parameters to the macro.
Standardize where the ! is in parthensized parameters.

Please squash when merging. Thanks.


WRQ-7861: Added if options to the maxLength and minLength controls in the sampler of the input component

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[ ] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Unrelated properties should not be visible in the sampler to avoid confusing users.
Allows you to enable or disable some properties when the value of a particular property changes.
Resolution
Added if option to the maxLength and minLength controls in the sampler of the input component.
Storybook supports 'disable controls for specific properties' as a if option.
Additional Considerations
Links
WRQ-7861
Comments
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim<EMAIL_ADDRESS>

@mmyelyn Please check on documentation on checklist

@mmyelyn Please check on documentation on checklist

@seunghoh This is only changes for sample, so i don't think need to check on documentation on checklist.
Please let me know if I missed anything.

@mmyelyn Please check on documentation on checklist

@seunghoh This is only changes for sample, so i don't think need to check on documentation on checklist. Please let me know if I missed anything.

@mmyelyn I think it should be checked, as documentation is not needed


fixed cli npm install in readme

Issue #, if available:
No Issue
Description of changes:
Updated npm install in readme. Current command results in an error.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mlabieniec how do these get merged? There are PRs stacked up waiting.


Adding support for listing fully qualified test cases

Description: The flag /ListFullyQualifiedTests existing in TPV1 which listed the fully qualified tests along with filtering support for MSTestV1/V2 bases tests. This PR ports these changes to TPV2.

@prawalagarwal,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Patch 2

I have fixed two mistakes that @tomkau found and a small mistake I saw in Set-CsBusyOptions

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/ConvertTo-JsonForPSWS.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsBusyOptions.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Use cheaper and faster gp3 storage for CI agent EBS volumes.

gp3 is 20% cheaper than gp2 and includes 3000 IOPS at any size instead of 3 IOPS/GB. This should speed up builds at least a bit.
While we're there, define the values once instead of copy-pasting.
The volumes can be upgraded in place without downtime.

Force-push to fix up autogenerated docs.

And terraform fmt. Sigh.


$c->req->url->host, port, host_port and scheme return undef

Mojo::URL host, port, host_port and scheme return undef when called from the controller.
#!/usr/bin/env perl

use strict;
use warnings;

use Mojolicious::Lite;

get '/' => sub {
	my $self = shift;

	$self->render(json => {
		base => $self->req->url->base,
		host => $self->req->url->host,
		port => $self->req->url->port,
		scheme => $self->req->url->scheme,
		host_port => $self->req->url->host_port,
	});

	return 1;
};

app->start;

That's because it's not absolute. You need to add to_abs method. This works:
#!/usr/bin/env perl

use strict;
use warnings;

use Mojolicious::Lite;

get '/' => sub {
    my $self = shift;

    $self->render(json => {
        base => $self->req->url->to_abs->base,
        host => $self->req->url->to_abs->host,
        port => $self->req->url->to_abs->port,
        scheme => $self->req->url->to_abs->scheme,
        host_port => $self->req->url->to_abs->host_port,
    });

    return 1;
};

app->start;

Thanks @zoffixznet


does this work

/ci-external-workloads

/ci-external-workloads

/ci-external-workloads

/ci-external-workloads

/ci-gke

/ci-external-workloads

/ci-gke

/test

/test

/test

/test

/test

/test

/test

/test

/test

/test


Fix compiler definition causing cmake gcc builds to fail

This pull request fixes an issue with gcc builds using cmake.

Coverage decreased (-0.9%) to 81.022% when pulling b49f5763f95941c107c2bdc497d075075a62d522 on rogerfraser:master into 50e53788a9ca8d04af18880042390af0c498f75f on icsm-au:master.


subsys: net: fix the bug in init_iface

before call api->init, should check whether
api and api->init is NULL, as driver_api may be cleared in
z_sys_device_do_config_level because of init failure.
When ASSERT is nof configured,this is necessary.
Signed-off-by: Wayne Ren<EMAIL_ADDRESS>Fixes #15003

Codecov Report

Merging #15066 into master will decrease coverage by <.01%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master   #15066      +/-   ##
==========================================
- Coverage   52.93%   52.92%   -0.01%
==========================================
  Files         309      309
  Lines       45268    45270       +2
  Branches    10451    10453       +2
==========================================
  Hits        23961    23961
- Misses      16542    16543       +1
- Partials     4765     4766       +1

Impacted Files
Coverage Δ

subsys/net/ip/net_if.c
61.45% <33.33%> (-0.1%)
:arrow_down:

Continue to review full report at Codecov.

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


Prepare to release azure-spring-bom and azure-spring-cloud-dependencies.

Prepare to release azure-spring-bom and azure-spring-cloud-dependencies.

Hi, @stliu , @saragluna , please help to review this PR when you have time.


Update actions

 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.:x: brianbarnatt7 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add getoptions

An elegant option parser for shell scripts (sh, bash and all POSIX shells)
https://github.com/ko1nksm/getoptions

Change has been accepted (and you have been credited) in b9a0ee854099648510932cf47227250482e9ca20. Thank you!


Revert "Pin to v4.4.3 for jfrog/setup-jfrog-cli action"

This reverts commit e9b22c1ef1814756f10d335e870363a5e8f88c2b from https://github.com/ritterim/public-github-actions/pull/217
JFrog reversed on making the existing default server ID different from what was there before in version 4.5.1.  So now workflows using the v4 of the jfrog/setup-jfrog-cli  GitHub action will no longer misbehave when they pull the latest for
the 'v4' tag.
Note that they still added the 'custom-server-id' input so that we can start customizing it for our needs and protect against future breakage. I'm not sure if they will be reintroducing the change in v5, so we might want to start specifying our own custom server ID.

Tags v1.17.6 and v1.17 have been updated to point at the latest commit on the trunk.

Release created
https://github.com/ritterim/public-github-actions/releases/tag/v1.17.6


#38 ensure that headers and status code get written, even if nothing …

#38 ensure that headers and status code get written, even if nothing was ever written. This better aligns with the golang http package's own behavior to write on close.

Bump

While we wait for merge, use this PR with:
$ go mod edit -replace github.com/apex/gateway/v2=github.com/UnquietCode/gateway/v2@issue38_write_on_close
$ go mod tidy


v1.2 node

Will release after approval, beaglebone demo is failing because npm can't install yarn. taking a look but you can start reviewing.

I will fix demos once the package gets release, for some reason working-directory gets messed up on the demo builds


Fix duplicate link in doc reference

In the guide, there is a duplicate reference for the DefaultDirectRateLimiter under the heading Type signatures for rate limiters. This fixes the second so it points to the keyed rate limiter instead, since I presume that's what it was supposed to be.

This looks great, thank you very much for the contribution!


Stability issues since update to 0.1.9

I've seen several device/sensors unavailable situations after version was automatically updated to 0.1.9 two days ago. Integration had been rock solid before this. No other explicit changes have been applied in the same time frame. Reloading the integration resolves the situation but within few hours the same problem occurs. At the same time Gecko mobile app can successfully access the information. I have tried power cycling the gecko device with no effect.
I can provide additional information, just tell what is needed.
I also tried to revert the version to 0.1.8 following this guide: https://hacs.xyz/docs/faq/select_version/. But after downloading 0.1.8 and then restarting HASS, the version was still reported as 0.1.9.

After updating HA core/OS and HACS the issue has not repeated itself. Versions were very recent, only single minor version difference. So the solution might have been just restarting HASS. But my HASS is automatically restarted every night and previous restarts did not solve the issue.
I did take a look on the release notes and the only thing catching my eye was related to installing older versions of plugins within HACS. There was a fix related to non-zip repositories. I tried installing the previous 0.1.8 version with the latest HACS but I could not even proceed to downloading. After selecting 0.1.8 from the dropdown it kept reverting to 0.1.9 without any notifications.
There is no need to keep this open if no one else has encountered similar issues with 0.1.9. Perhaps the ability to install older versions could be a feature request (if it is up to the plugin to support the mechanism).

I think version support is down to HACS. There's certainly no code in the integration to control this kind of behaviour. Closing  with the caveat that this can be reopened if others experience the stability issues


API : Look for assets by inventoryitem ID

I want to retrieve the Asset associated with a specific Inventory Item. It looks like there is no filter for this case.
The followings request return all Assets and not the one associated with the inventory item with ID 50:
api/plugins/inventory/assets/?inventoryitem_id=42
api/plugins/inventory/assets/?inventoryitem=42
api/plugins/inventory/assets/?inventory_item=42
api/plugins/inventory/assets/?inventory_item_id=42

Any way to achieve this ?

I have added additional filters on assets endpoint. Now you can filter:
api/plugins/inventory/assets/?inventoryitem_id=42
api/plugins/inventory/assets/?inventoryitem=PSU1 # name of inventory item (exact, case insensitive)
api/plugins/inventory/assets/?module_id=33
api/plugins/inventory/assets/?device_id=22
api/plugins/inventory/assets/?device=my-router1 # name of device (exact, case insensitive)

Additionally you can repeat the same parameter so search on multiple values:
api/plugins/inventory/assets/?inventoryitem_id=42&inventoryitem_id=43

This will return assets where assigned inventory item ID is 42 OR 43.


2D life

If you want better information on how to change the rules, comment on the PR.

I didn't really have to do this, but I wanted feedback before I merge it.

Conway's game of life. "I" to toggle a cell, "K" to step the simulation, and "WASD" to move the cursor.

have any goals? Or is it just an experience?

Just an experience. Not really any goal to it. You can try and make fun rules, and look at patterns, but not much else.

Ok!


nderstanding of google map marker algorithm, renderer concept and ClusterManager class

I tried to search description of algorithms for markers but I can't find.
My questions are:
What are the major algorithms for google map marker ? What do they do ?
What is renderer ?
Why is it cluster ?
Thanks,
Alex

Hi! GitHub issues are for reporting bugs, feature requests, etc. Please ask general programming questions on our stackoverflow tag:
https://stackoverflow.com/questions/tagged/google-maps


Auto-Retry

Auto-Retry will automatically address situations where a terraform command needs to be re-run.

All the tests pass.

Hm, tests failed in CI. I'll dig into it tomorrow.

Update on the failing tests. When I removed t.Parallel() from the AutoRetry tests, everything started working fine, even with -parallel 128. This must be due to how the parallel execution deals with the shared stdout and stderr that get passed to each runTerragruntCommand execution. Reason I didn't spot this earlier was that I was mainly running the tests from within GoLand IDE. While it uses parallel execution, the order is probably different, so we don't hit these conditions.
Other tests that seem to be failing (this is fairly random), are TestTerragruntStdOut and TestLocalWithMissingBackend + TestLocalWithBackend. While the first one might very well be connected due to relying on stdout, the two latter ones usually fail with creating the dynamodb lock table. Just out of curiosity I commented out t.Parallel() and they haven't failed since.

Parallel execution coupled with using environment variables like this caused the issue:
func TestAutoRetryEnvVarWithRecoverableError(t *testing.T) {
	t.Parallel()
	os.Setenv("TERRAGRUNT_AUTO_RETRY", "false")
	defer os.Unsetenv("TERRAGRUNT_AUTO_RETRY")

The env var value set here was visible for of all other tests executing in parallel. That caused the failure in the other auto-retry tests. Removing the parallel fixed the issue.


ionic emulate android -l -c == empty logs in console

Short description of the problem:
Hi, everyone! I have a problem with command:
ionic emulate android -l -c
I have two different ways of behavior of that bug:
a) When I have this in my package.json

"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
}

Livereload works well but empty consolelogs:

b) When I have this in my package.json

"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:watch": "ionic-app-scripts watch"
}

Some writes in consolelogs but livereload not working

What behavior are you expecting?
--livereload and --consolelogs work both.

Ready to provide any additional information of this bug. Hope on fix because of hard working without livereloading ( I always need consolelogs )

I have the same issue. I work around it by using the first option to allow
live reload and then use chrome://inspect to view logs.
On Thu, 29 Dec 2016, 16:34 djezzzl<EMAIL_ADDRESS>wrote:

Short description of the problem:
Hi, everyone! I have a problem with command:
ionic emulate android -l -c
I have two different ways of behavior of that bug:
a) When I have this in my package.json
"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
}
Livereload works well but empty consolelogs:
[image: 2016-12-29 16 23 29]
https://cloud.githubusercontent.com/assets/9407725/21545840/aa304b24-cdeb-11e6-9d4a-f2157c117a93.png
b) When I have this in my package.json
"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:watch": "ionic-app-scripts watch"
}
Some writes in consolelogs but livereload not working
[image: 2016-12-29 16 28 51]
https://cloud.githubusercontent.com/assets/9407725/21545925/5d544ff2-cdec-11e6-8955-1e8d1d71ecf7.png
What behavior are you expecting?
--livereload and --consolelogs work both.
[image: 2016-12-29 16 30 58]
https://cloud.githubusercontent.com/assets/9407725/21545970/a1ca4d4e-cdec-11e6-8944-3f856fb4eb7c.png
Ready to provide any additional information of this bug. Hope on fix
because of hard working without livereloading ( I always need consolelogs )
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/issues/611, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AVoOP0sPu7edZqKFhoUpc_29CNZ0_fnHks5rM8TvgaJpZM4LXns8
.

@moldstadt I suppose that we should use out-of-the-box opportunities. If they don't work so we should fix it, or remove them and provide anothers with good first look examples/tutorials. So now all talk about easy using --livereload --consolelogs without any saying it's not work now and we are working on it.

I have same issue with ionic run android -l -c -s
 I see no console logs at all

This should be resolved with latest app-scripts and latest ionic from npm.
Thanks,
Dan

@danbucholtz, I am still not seeing console logs when I do ionic run
android -lc. Tested with new project from blank template after adding some
console.log() calls.
Ionic 2.0.0
App-scripts 1.0.0
On Sat, 28 Jan 2017, 08:14 Dan Bucholtz<EMAIL_ADDRESS>wrote:

This should be resolved with latest app-scripts and latest ionic from npm.
Thanks,
Dan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/issues/611#issuecomment-275830290,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVoOPyTEHy5Ie_Oa37DGEVapUq9i13S1ks5rWtzSgaJpZM4LXns8
.

What version of the Ionic CLI are you running? Please do this:
npm uninstall -g ionic
npm install -g ionic

sudo may be required depending on your environment.
Thanks,
Dan

@danbucholtz, I am on 2.2.1.
Reinstalled as suggested. Still no console logs.
On Sun, 29 Jan 2017, 05:59 Dan Bucholtz<EMAIL_ADDRESS>wrote:

What version of the Ionic CLI are you running? Please do this:
npm uninstall -g ionic
npm install -g ionic
sudo may be required depending on your environment.
Thanks,
Dan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/issues/611#issuecomment-275892353,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVoOP1_Q4ppdwfavleb0JWPq2ZG7WKedks5rXA6TgaJpZM4LXns8
.

Hi @danbucholtz .
I have the same problem. I'm running the last version of ionic on Windows 10:
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.5.0
Xcode version: Not installed

The log shows in chrome but using -lc it doesn't redirect the output to the cli.
I tried it with a new project using ionic start NEWPROJECT --tabs --v2 and I'm not getting the logs.
Were you able to solve this?

@zeornelas Can you provide the first ~50 lines of output when you execute serve with -lc?

@jthoms1 Here it is the full log:
PS <!!!!!MYPATH!!!!!>\NEWPROJECT> ionic run android -lc
******************************************************
 Dependency warning - for the CLI to run correctly,
 it is highly recommended to install/upgrade the following:

 Please install your Cordova CLI to version  >=4.2.0 `npm install -g cordova`

******************************************************

> ionic-hello-world@ ionic:serve <!!!!!MYPATH!!!!!>\NEWPROJECT
> ionic-app-scripts serve "--v2" "--runLivereload" "--isPlatformServe" "--consolelogs" "--livereload" "--port" "8100" "--livereload-port" "35729" "--address" "<IP_ADDRESS>" "--iscordovaserve" "--nobrowser"

[17:13:00]  ionic-app-scripts 1.0.0
[17:13:00]  watch started ...
[17:13:00]  build dev started ...
[17:13:00]  clean started ...
[17:13:00]  clean finished in 1 ms
[17:13:00]  copy started ...
[17:13:00]  transpile started ...
[17:13:03]  transpile finished in 2.84 s
[17:13:03]  webpack started ...
[17:13:03]  copy finished in 3.05 s
[17:13:09]  webpack finished in 5.56 s
[17:13:09]  sass started ...
[17:13:09]  sass finished in 719 ms
[17:13:09]  build dev finished in 9.16 s
[17:13:10]  watch ready in 9.26 s
[17:13:10]  dev server running: http://<IP_ADDRESS>:8100/

You have been opted out of telemetry. To change this, run: cordova telemetry on.

ANDROID_HOME=<!!!!!ANDROID_PATH!!!!!>

JAVA_HOME=C:\Program Files\java\jdk1.8.0_121

Subproject Path: CordovaLib

Starting a new Gradle Daemon for this build (subsequent builds will be faster).

Incremental java compilation is an incubating feature.

:preBuild
 UP-TO-DATE

:preDebugBuild
 UP-TO-DATE

:checkDebugManifest

:CordovaLib:preBuild
 UP-TO-DATE

:CordovaLib:preDebugBuild
 UP-TO-DATE

:CordovaLib:checkDebugManifest

:CordovaLib:prepareDebugDependencies

:CordovaLib:compileDebugAidl

:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint
 UP-TO-DATE
:CordovaLib:mergeDebugShaders

:CordovaLib:compileDebugShaders

:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets

:CordovaLib:mergeDebugProguardFiles

:CordovaLib:packageDebugRenderscript
 UP-TO-DATE

:CordovaLib:compileDebugRenderscript

:CordovaLib:generateDebugResValues

:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources

:CordovaLib:processDebugManifest

:CordovaLib:generateDebugBuildConfig

:CordovaLib:processDebugResources

:CordovaLib:generateDebugSources

:CordovaLib:incrementalDebugJavaCompilationSafeguard

:CordovaLib:compileDebugJavaWithJavac

:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug

:CordovaLib:mergeDebugJniLibFolders

:CordovaLib:transformNative_libsWithMergeJniLibsForDebug

:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug

:prepareAndroidCordovaLibUnspecifiedDebugLibrary

:prepareDebugDependencies
:compileDebugAidl

:compileDebugRenderscript

:generateDebugBuildConfig

:generateDebugResValues

:generateDebugResources

:mergeDebugResources

:processDebugManifest

:processDebugResources

:generateDebugSources
:incrementalDebugJavaCompilationSafeguard

:compileDebugJavaWithJavac

:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

Note: <!!!!!MYPATH!!!!!>\NEWPROJECT\platforms\android\src\org\apache\cordova\splashscreen\SplashScreen.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

:compileDebugNdk
 UP-TO-DATE

:compileDebugSources
:mergeDebugShaders

:compileDebugShaders

:generateDebugAssets

:mergeDebugAssets

:transformClassesWithDexForDebug

:mergeDebugJniLibFolders

:transformNative_libsWithMergeJniLibsForDebug

:processDebugJavaRes
 UP-TO-DATE

:transformResourcesWithMergeJavaResForDebug

:validateSigningDebug
:packageDebug

:assembleDebug
:cdvBuildDebug

BUILD SUCCESSFUL

Total time: 34.717 secs

Built the following apk(s):
        <!!!!!MYPATH!!!!!>/NEWPROJECT/platforms/android/build/outputs/apk/android-debug.apk

ANDROID_HOME=<!!!!!ANDROID_PATH!!!!!>

JAVA_HOME=C:\Program Files\java\jdk1.8.0_121

No target specified and no devices found, deploying to emulator

Skipping build...

Built the following apk(s):
        <!!!!!MYPATH!!!!!>/NEWPROJECT/platforms/android/build/outputs/apk/android-debug.apk

Using apk: <!!!!!MYPATH!!!!!>/NEWPROJECT/platforms/android/build/outputs/apk/android-debug.apk

Package name: com.ionicframework.newproject515834

INSTALL SUCCESS

LAUNCH SUCCESS

@jthoms1 @danbucholtz Hi guys.
I just realized that it logs to the console if I run it in my phone but if run it in a virtual device it shows nothing. I'm running Android 6.0 in both devices (physical and virtual). I don't know if this helps debug the problem.
@djezzzl Your problem was with a physical or a virtual device?

Yes, I still see nothing but I tested only on virtual device.
2 февр. 2017 г. 19:00 пользователь "zeornelas"<EMAIL_ADDRESS>написал:

@jthoms1 https://github.com/jthoms1 @danbucholtz
https://github.com/danbucholtz Hi guys.
I just realized that it logs to the console if I run it in my phone but if
run it in a virtual device it shows nothing. I'm running Android 6.0 in
both devices (physical and virtual). I don't know if this helps debug the
problem.
@djezzzl https://github.com/djezzzl Your problem was with a physical or
a virtual device?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/issues/611#issuecomment-277016295,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI-M7anw2P06UzC_ONUORw7aCZp0o_cqks5rYguXgaJpZM4LXns8
.

I have also only tested on Genymotion, not a physical device.
On Thu, 02 Feb 2017, 19:02 djezzzl<EMAIL_ADDRESS>wrote:

Yes, I still see nothing but I tested only on virtual device.
2 февр. 2017 г. 19:00 пользователь "zeornelas"<EMAIL_ADDRESS>написал:

@jthoms1 https://github.com/jthoms1 @danbucholtz
https://github.com/danbucholtz Hi guys.
I just realized that it logs to the console if I run it in my phone but
if
run it in a virtual device it shows nothing. I'm running Android 6.0 in
both devices (physical and virtual). I don't know if this helps debug the
problem.
@djezzzl https://github.com/djezzzl Your problem was with a physical
or
a virtual device?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/driftyco/ionic-app-scripts/issues/611#issuecomment-277016295
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AI-M7anw2P06UzC_ONUORw7aCZp0o_cqks5rYguXgaJpZM4LXns8
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/issues/611#issuecomment-277017018,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVoOP-V7k6C74FAeFE-2DONJt1oT8sCIks5rYgwsgaJpZM4LXns8
.

I'm using the virtual device from the AVD manager.


python310Packages.pdf2image: 1.16.2 -> 1.16.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pdf2image is: Module that wraps the pdftoppm utility to convert PDF to PIL Image object
meta.homepage for python310Packages.pdf2image is: https://github.com/Belval/pdf2image
meta.changelog for python310Packages.pdf2image is: https://github.com/Belval/pdf2image/releases/tag/v1.16.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.16.3 with grep in /nix/store/m66qkkpal2v29w0jnzvk0wpjqab33pzh-python3.10-pdf2image-1.16.3
found 1.16.3 in filename of file in /nix/store/m66qkkpal2v29w0jnzvk0wpjqab33pzh-python3.10-pdf2image-1.16.3

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
paperless-ngx
python310Packages.pdf2image
python311Packages.pdf2image

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m66qkkpal2v29w0jnzvk0wpjqab33pzh-python3.10-pdf2image-1.16.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pdf2image https://github.com/r-ryantm/nixpkgs/archive/855da7b46f60233a640d682802fc9caca1ed85fb.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m66qkkpal2v29w0jnzvk0wpjqab33pzh-python3.10-pdf2image-1.16.3
ls -la /nix/store/m66qkkpal2v29w0jnzvk0wpjqab33pzh-python3.10-pdf2image-1.16.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

paperless-ngx
python310Packages.pdf2image
python311Packages.pdf2image

Maintainer pings
cc @Gerschtli for testing.

Result of nixpkgs-review pr 238526 run on aarch64-darwin 1

1 package failed to build:

paperless-ngx

4 packages built:

python310Packages.pdf2image
python310Packages.pdf2image.dist
python311Packages.pdf2image
python311Packages.pdf2image.dist


mktemp: correct error message on absolute path

Correct the error message produced by mktemp when --tmpdir is
given and the template is an absolute path:
$ mktemp --tmpdir=a /XXX
mktemp: invalid template, '/XXX'; with --tmpdir, it may not be absolute

Looks like I need to correct some issues on Windows.


AQAvit Meeting Dec 9th, 2020

AQAvit Meeting Dec 9, 2020
Wednesday, Dec 9th 11:30am – 12:00pm (GMT-04:00)
Description: Bi-weekly meeting to discuss AdoptOpenJDK Quality Assurance (AQA) topics.
Join with Google Meet
meet.google.com/ejp-yjon-vec
Join by phone
PIN: 754 815 097#
Proposed Agenda:

recent TKG enhancements + demo - @renfeiw
items in December milestone - @smlambert

Minutes:

Thanks @renfeiw for his demo of new features in TKG that allows for greater granularity in excluding aspects of a test target (related: https://github.com/AdoptOpenJDK/openjdk-tests/pull/2095), noting that this is part of a set of features (coming soon, ability to exclude per platform)
Quick mention of https://github.com/AdoptOpenJDK/openjdk-systemtest/issues/294 to organize a deeper discussion of that feature (ACTION: @Mesbah-Alam to organize discussion with @llxia @lumpfish @pshipton @smlambert)
Usage of the openjdk-tests project and milestones, the organization-wide Top Priorities project
@adamfarley - year-end virtual social (bye-bye 2020, what a year!) getting input on times that can work for folks

Recording link


Feature suggestion

I would love to see auto pilot and relax be added as well as the ability to add custom cursors/hitsounds. I love all you guys have done, much love <3

Autopilot exists to my knowledge and my fork has custom hitsounds

How do you get custom hitsounds?


[RESOLVED] High ICMP ping response time

Problem started at 14:44:33 on 2023.05.02
Problem name: High ICMP ping response time
Host: S100-Santiago
Severity: Warning
Operational data: Value: 967ms
Original problem ID: 20215
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23518&eventid=20215

Problem has been resolved in 6m 0s at 14:50:33 on 2023.05.02
Problem name: High ICMP ping response time
Host: S100-Santiago
Severity: Warning
Original problem ID: 20215


TODO: use sandpack to support live code editing

https://sandpack.codesandbox.io/docs/advanced-usage/client#hosting-the-bundler
example: https://github.com/chakra-ui/chakra-ui-docs

This would be a great addition here. There is similar thing for vitepress sandbox. Implementation for this library would be very similar and most of the work is done by sandpack.


how to enabled allowCleartextPasswords=1 fr orchestrator

I am getting this error . How should I fix this so that my orchestrator can discover instances in my environment. We have more than 400 servers to be monitored. Any help is much appreciated.
this user requires clear text authentication. If you still want to use it, please add 'allowCleartextPasswords=1' to your DSN

This will need to be supported by openTopology() on https://github.com/github/orchestrator/blob/a74c07a5ba84b0aa64c3d4257a7ba2e9ffc458ed/go/db/db.go#L1271-L1277


feat: add proto3_optional to proto_custom_library

This adds the proto3_optional enablement flag to proto_custom_library
which in turn enables it in proto_library_with_info and micro-Bazel
GAPIC targets.

bazel build //... passes in googleapis with this change (and with no uses of proto3_optional in any of the protos)


chore: add docs

This PR adds basic documentation so the user doesn't feel lost when using LETSQL

Is there a command for me to render / serve the docs?

we should add the docs group to the list of groups to install in flake.nix
diff --git a/flake.nix b/flake.nix
index eab92ab..e2ae9af 100644
--- a/flake.nix
+++ b/flake.nix
@@ -143,7 +143,7 @@
           src = pySrc;
           preferWheels = true;
           python = python';
-          groups = [ "dev" "test" ];
+          groups = [ "dev" "test" "docs" ];
         };
         myapp = (mkPoetryApplication (commonPoetryArgs // {
           buildInputs = pkgs.lib.optionals pkgs.stdenv.isDarwin [


Update NIR <> snnTorch

This PR will:

add import functionality from NIR to snnTorch.
add NIR import/export support for RNNs

For RNNs to work, make sure to use the right version of NIRTorch (current PR: https://github.com/neuromorphs/NIRTorch/pull/12)

after some (way too much) time, this PR is ready for review! @jeshraghian @ahenkes1 can you advise on next steps? add tests? docs? how can I help? cheers!

This is wonderful, thanks @stevenabreu7 !
docs
In terms of docs, we should generate docstrings that describe the arguments of those two import/export functions with a minimalist example.
Any caveats can be added as bullet points in the docstrings, e.g., types of neurons supported, layers, neuron arguments supported.
I can create a skeleton, though would you be able to fill the meat?
Once we have that, I can also put together some ipynb stuff based on these docstrings.
tests
It'd be worth adding a test for our leaky neurons when the reset_delay is active. I can handle this.
I'm not too sure how we can do unit tests for the actual nir-dependent stuff, though... any ideas? Could it be a matter of having a minimalist set of models, passing them in, making sure their outputs have the arguments (just an assertion the arguments exist. Checking its values is overkill and left to nir). Thoughts?

sounds good! I added docstrings, lmk if they're okay like that. Also added suggestions for how to test in test_nir.py, what do you think? if you're okay with it, I'll fill in the rest @jeshraghian

Alright, looking great @stevenabreu7!
Some of the syntax from the leaky neuron was modified in another PR to make it compatible with torch.compile() so there were a few conflicts + failing tests that I've now fixed and pushed to your branch.
Your suggestions for tests look great, as do the docstrings.
Once the tests are done then it's good to merge.

thank you @jeshraghian! added test and some notes on the rleaky that's not currently supported. I can make a new PR for this, wouldn't take long, but can we merge already so that it runs smoothly for the NIR demo tomorrow? (otherwise it's a bit of a pain to use this branch of snntorch for the demo)

added an issue for RLeaky support - will update the NIR support in a fresh PR in the near future

Just merged! The demo will still need to be from the latest version that is installed from the source rather than pip installing. Though I can do a version increment in the morning, if that helps. Lmk.


Don't block chapter sidebar

#4 is blocking the chapter sidebar popups

I blame ce4d99f7 instead

I think we might need to go through rules to make them heirachy specific

this was also superceded, pretty sure it was #13


Fix(frontend): refetch and merge result of the graph

Currently to prevent coordinator approving same applications several times, also some UX concerns, set the refetch timeout to 5s once the approval submitted. However, it's not the best way to solve this problem, there should be synchronizing method for the graph. (e.g. Apollo graphql)

@kittybest looking a tthe merged PRs this should be closed rihgt?


child process

Probably there is no way to fix this issue:

Parent Process (WebUI) 1 -> Start Browser Process 1.
Parent Process (WebUI) 2 -> Start Browser Process 2 -> Browser Automatically join process 1 -> Browser Process 2 Exit -> Parent Process (WebUI) 2 Exit.

Basically, when you run twice an application that uses webui_new_server() + webui_open() to serve a folder, the second browser process exit right away and becomes a child of the first browser process, which makes the second application exit as WebUI think the user closed the window, which is the reality the browser decide to join the first process.
The Win32 API AssignProcessToJobObject() won't fix the issue as we don't control the browser behavior.
The only solution is to create a new profile each time WebUI starts, making the startup take 3-5 seconds more.

Fixed in PR https://github.com/alifcommunity/webui/pull/39


wsl start ERROR

Windows Version
Microsoft Windows [版本 10.0.22000.675]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
20.04
Other Software
No response
Repro Steps
占位程序接收到错误数据。
Error code: Wsl/Service/0x800706f7
Expected Behavior
The error I encountered when I opened ubuntu in windows terminal
What I expect is to open it and use it
Now every time I encounter this error, I need to go to cmd to execute netsh winsock reset, and it can be restored after opening ubuntu
this is very troublesome
Actual Behavior
he reported an error
占位程序接收到错误数据。
Error code: Wsl/Service/0x800706f7
Diagnostic Logs
WslLogs-2023-07-07_19-48-04.zip

I don't see the error you report in the logs. Did you let the log collection script run while reproducing the issue? Is this an issue you can reproduce from clean start?

wsl --shutdown
Start /log collection
Start wsl, reproduce the issue.
End log collection and send them to us.

I got this error again，The Windows terminal displays the following：
占位程序接收到错误数据。
Error code: Wsl/Service/0x800706f7
[已退出进程，代码为<PHONE_NUMBER> (0xffffffff)]
现在可以使用Ctrl+D关闭此终端，或按 Enter 重新启动。

WslLogs-2023-07-13_21-40-29.zip


Update index.js

empty string is not a valid value for fontWeight, the default should be 'normal'

closing, someone else already did exactly the same changes few hours ago...


browserify compatibility

Now installing via:
npm install pagenoare/select2
works well:
tested code:
require('Select2');
$('el').select2();

Before this I was getting
>> Error: Cannot find module 'jquery.select2' from '/project/path/node_modules/Select2/dist/js'

:+1:

I can rebase it against master if u like to :-) (since it's not merge-able anymore)

Does browserify require that the JS file name matches the module name?
I'm not familiar with how it works, so I don't quite understand why the module renames happened (or why there is a casing difference).

TBH it was the fastest solution I've found (I needed it badly). The best one, would be to make  jquery.select2 recognizable to browserify (probably by doing some aliases, or shims or whatever it's called).
I'll look at this after my daily job (in around 8hours) and let you know what I've found out.
Regards!

Just checked that out with the latest version.
I think https://github.com/select2/select2/commit/d1e8a6fdad700deba721aaf83c912e09db80eb5d fixes it.
Check out the demo I've made: https://github.com/pagenoare/select2-browserify-example
Thanks a lot!


[5.3] [Function builders] Infer function builder through @_dynamicReplacement(for:

Fixes rdar://problem/63898120.

@swift-ci please test


Monitoring data

On the log it's showing battery voltage, soc.. accurately. But it does not display any data on UI,

Something must be wrong with the mqtt connection then. Or maybe you changed the device id and it reports on new entities?