how to set basename to a dynamic URL

We are using 1.0.0 of the starter kit and it works great, except when we are trying to host on our SAP system.
SAP hosts via the URL http://sapd1.local/sap(==somerandomtoken)/bc/bsp/sap/zmanpower/index.html
We have tried setting __BASENAME__ but it doesn't work because as SAP injects the random token and the page won't load. Is there an "easy" way to turn off "html5mode" so we can use hash based URLs or a way to dynamically build the BASENAME from window.location.pathname

You won't be able to use __BASENAME__ since that is determined at compile time. You could, however, just ignore the global in production and pass it to history/react-router at run time based on, as you say, what you parse out of the window location. I don't really know what to add here that's specific to the starter kit, since this is more just a usage question for react-router and related libraries.

thanks. I ended up swapping browser history out for hash history it works now and will be fine for our use case.
Sent from my iPhone

On Jun 8, 2016, at 4:23 PM, David Zukowski<EMAIL_ADDRESS>wrote:
You won't be able to use BASENAME since that is determined at compile time. You could, however, just ignore the global in production and pass it to history/react-router at run time based on, as you say, what you parse out of the window location. I don't really know what to add here that's specific to the starter kit, since this is more just a usage question for react-router and related libraries.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Error when compile the project

Hello,
when I try to compile the project  I get that error:
/home/xxx/Bureau/developpement/SLAM/GSLAM/GSLAM/plugins/cfg/../../core/GImage.h: In member function ‘GSLAM::GImage::operator cv::Mat() const’:
/home/xxx/Bureau/developpement/SLAM/GSLAM/GSLAM/plugins/cfg/../../core/GImage.h:281:37: error: no matching function for call to ‘cv::UMatData::UMatData()’
             cv::UMatData* u=new cv::UMatData;

I am on ubuntu 16.04  with Opencv 3.2.

Sorry that GSLAM is never tested with OpenCV Version 3.2. Try to modify GImage.h
#if defined(HAS_OPENCV) || defined(HAS_OPENCV3)
#include <opencv2/core/core.hpp>
#endif

to
#include <opencv2/core/core.hpp>

Indeed it still doesn't work.
For me the problem doesn't come from the location of the structure. The only contructor available in UMatData is :+1:
UMatData(const MatAllocator* allocator);
So it tries to find a contructor like cv::UMatData::UMatData() and it is not implemented.
What is the version of Opencv you use?


feat(compiler-core/runtime-core): support filter

This is very well done... but we are actually considering removing filters in v3. We do need this for v2 compat, so we need to wrap filter-related parts under a feature flag and reduce its footprint as much as we can when it's not enabled in a build.

I get this.I think the filter is important for develop experience compare with  the  size of the runtime code.
It is better to jsx user If remove filter,but it is not good to template user.Like fllowing code,the filter function is need to import view component and then use it,It is normal for method of use, it is similar with use provide inject .It is not convenient for template use common method,beacause it is
similar with directive and component.
so I hope keep filter in v3.
In v2.If have filter
function FilterA(){}
Vue.directive('FilterA', FilterA )
@Component({
template: ` <div>{{ a | FilterA}}</div`
})
export default class App extends Vue {
  a = 1
}

In v2，If not filter
function FilterA(){}
@ComponentA({
template: ` <div>{{ FilterA(a) }}</div`
})
export default class A extends Vue {
  a = 1,
 FilterA = FilterA
}

@pikax yes, we will eventually do that. Just leaving it for later to avoid distractions now.

RFC here vuejs/rfcs#97


Fixed unit test, renamed multioutput, clean up

Renamed MultOneVsOutput to multioutput, changed init.py to contain a ref to multioutput, changed comments and newline characters in multioutput.py.

Like
James Nichols
_o
_ <,
()/ ()
james-nichols.github.io
skype - james.ashton.nichols
twitter - @james_nichols
On 12 January 2016 at 10:33, Hugo Bowne-Anderson<EMAIL_ADDRESS>wrote:

Merged #1 https://github.com/hugobowne/scikit-learn/pull/1.
—
Reply to this email directly or view it on GitHub
https://github.com/hugobowne/scikit-learn/pull/1#event-511780472.


remove print utility

Summary:
The print command has been marked deprecated since 2015 (!).
It needs to be removed because it depends on methods in stansummary_helper.hpp; changing these as part of #1263 breaks print.
Description:
Stan PR https://github.com/stan-dev/stan/pull/3305 introduces a new object, chainset which is easier to deal with than the data structures used by chains.   This refactoring made it much easier to implement the computation of split-rank normalized ESS and Rhat, giving separate estimates of for the bulk and tails of the posterior.   In order to add these diagnostics to stansummary,  it is necessary to use a chainset object everywhere, instead of a chains object.   The print utility uses functions stansummary_helper; changes to the function signatures breaks print.
IMO, it's not worth the programming effort to further patch print.  Can we remove it in the next release?
Current Version:
v2.35.0

Agreed.  please remove.


DSC V5 - Keeps attempting to reapply a failed configuraiton

We have started using DSC to deploy some applications. We are pushing out the configurations and only want it to run this configuration once and then stop. However it seems that if a configuration fails we end up with a pending configuration which DSC seems to keep attempting to reapply. Is this intended behavior? Is there anyway for us to prevent this happening.
Here are our LCM settings
ActionAfterReboot              : ContinueConfiguration
AgentId                        : 4314CBF5-928E-11E5-941E-00155D0****
AllowModuleOverWrite           : True
CertificateID                  : EBB297F164BDA1C1A7918C12C31D0F70110****
ConfigurationDownloadManagers  : {[ConfigurationRepositoryWeb]DSCHTTP}
ConfigurationID                : 3fa96bab-ac50-4b80-a9ac-384bfd*****
ConfigurationMode              : ApplyOnly
ConfigurationModeFrequencyMins : 15
Credential                     :
DebugMode                      : {NONE}
DownloadManagerCustomData      :
DownloadManagerName            :
LCMCompatibleVersions          : {1.0, 2.0}
LCMState                       : Idle
LCMStateDetail                 :
LCMVersion                     : 2.0
StatusRetentionTimeInDays      : 10
PartialConfigurations          :
RebootNodeIfNeeded             : True
RefreshFrequencyMins           : 30
RefreshMode                    : Push
ReportManagers                 : {}
ResourceModuleManagers         : {[ResourceRepositoryWeb]DSCHTTP}
PSComputerName                 : D6B01
PSComputerName                 : D6B01

HI @AlexisColes - As far as I'm aware this is intended behaviour. By using DSC to configure the node you have said you WANT that configuration and it will attempt to configure the node until it's configured appropriately.
You should be able to remove the pending configuration from the node with Remove-DscConfigurationDocument -Stage Pending, but that doesn't solve your real problem..

Thanks for your response @iainbrighton .  I know the problem is the desired state configuration we are running is not really the desired state, more like a base desired state.
In order to fix the real problem we need to artifact all our builds, tag the correct versions of our artifacts into a release, then tag the environment with that release version and get it to dynamically generate a mof file with the correct versions of all our artifacts for each environment.  Once all this is done and we are running a real desired state configuration, you are right it matters little if it keeps plugging away at it.
However for now this is out of reach :(, maybe one day.
We have tried catching failed DSC runs and running  Remove-DscConfigurationDocument -Stage Pending however it does not seem to work all the time, some bug in our script somewhere I suppose, it is on the list to look into.
Was just hoping there was a way of changing this behavior with the platform.


Guidelines for creating issues

Introduction
GitHub issues are the main information conduit for software development, internally and externally. As such it is very important that they are fit for this purpose.
Resources
First up, some resources for ideas and background:
https://wiredcraft.com/blog/how-we-write-our-github-issues/
https://github.com/codeforamerica/howto/blob/master/Good-GitHub-Issues.md
https://medium.com/nyc-planning-digital/writing-a-proper-github-issue-97427d62a20f
https://tilburgsciencehub.com/building-blocks/collaborate-and-share-your-work/project_management/write-good-issues/
Proposed guidelines
Not gonna lie, I just asked a LLM for guidelines for a good GitHub issue based on the above resources, and these all seem pretty reasonable:

Be clear and concise: Explain the problem or issue in as few words as possible. Be specific and provide all relevant details.
Short and descriptive title: The title is the most visible part of your issue, you want it short and to the point.
Provide context: Explain why the problem is important and how it affects you or others. Provide any relevant background information that will help others understand the issue.
Provide a way to reproduce the issue: step-by-step instructions on how to reproduce the issue, and include any relevant screenshots or videos.
Be actionable: Clearly outline the steps needed to reproduce the issue, and provide any relevant logs or error messages.
Include relevant files or code: If the issue is related to a specific file or piece of code, include it in the issue description.
Provide a desired outcome: Explain what you expect to happen when the issue is resolved.
Use proper grammar and spelling: Poor grammar and spelling can make it difficult for others to understand your issue, so be sure to proofread your message before submitting it.
Be respectful: Treat others as you would like to be treated. Be respectful and polite in your interactions with others, even if you are frustrated or upset.
Use relevant labels: Use relevant labels to help others quickly identify the type of issue you are reporting.
Provide updates: Keep the issue updated as you continue to work on it, and provide any additional information that may be helpful to others.

By following these guidelines, you can help ensure that your GitHub issue is clear, concise, and easy for others to understand and work on.
Anti-patterns
I don't want to issue-shame anyone, but empty issues are an anti-pattern. If you have time to create the issue, you can spend a minute putting in some descriptive text in the body of the issue. Not only is it good practice, an empty issue sends a message, and it isn't a good one.
It is my opinion that pull requests should always be associated with an issue. The issue is where you outline the problem, discuss approaches and background. The pull request is where the codebase is updated to fix the related issue, including detailed code review. I am happy to include this as a guideline, just not sure where to put it: might be more appropriate in the pull requests section.

I don't want to issue-shame anyone, but empty issues are an anti-pattern

I feel attacked. But I agree.
Also Minimal Complete Verifiable Examples are pretty important for bug reports. This is a nice blog post about them: http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports

Given there has been time to comment/complain, I'm going to add this and close the issue.


somebody get clean this board

its all messed up

I wonder if youtube has paid someone to fk with this adblocker


potential use cases

I'm just collecting some projects I notice which may benefit from Narwhals, or who have shown interest

https://github.com/PRQL/pyprql/issues/374
https://github.com/FBruzzesi/timebasedcv/issues/35 . Done, they've adopted Narwhals! ✅
https://github.com/lvgig/tubular/issues/238
https://github.com/ApeWorX/ape/issues/2013
https://github.com/s3alfisc/pyfixest/issues/422 - they mentioned this in a PR. Using pandas via Narwhals avoids the setting-with-copy warning altogether, even for old versions, so it may be of interest
https://github.com/Nixtla/tsfeatures/issues/29
https://github.com/ydataai/ydata-profiling/issues/1129
https://github.com/posit-dev/py-shiny/pull/1374 https://github.com/posit-dev/py-shiny/issues/1378
https://github.com/depictio/depictio/issues/59
https://github.com/pvlib/pvlib-python/issues/1926
https://github.com/sktime/sktime/issues/5423 https://github.com/sktime/sktime/issues/5370
https://github.com/vincentarelbundock/pymarginaleffects/issues/108
https://github.com/rstudio/pins-python/issues/293
https://github.com/sktime/sktime/issues/6091

Altair work is now in-progress
if anyone happens to stumble upon this issue, feel free to add your project to the list

I will leave it here even though I imagine that it is quite challenging: skrub would be very suitable use case

I am not sure if I can use this issue as a wish-list? If not please delete. In any case I suggested narwhals to featuretools who are looking for ways to speed up their feature matrix calculation: https://github.com/alteryx/featuretools/issues/1967

Not affiliated with, but https://github.com/posit-dev/great-tables
Related
Issues

https://github.com/posit-dev/great-tables/issues/229
https://github.com/posit-dev/great-tables/issues/296

https://github.com/machow/databackend

Blog

https://posit-dev.github.io/great-tables/blog/polars-styling/

As it turns out, polars expressions make styling tables very straightforward. The same polars code that you would use to select or filter combines with Great Tables to highlight, circle, or bolden text.
In this post, I’ll show how Great Tables uses polars expressions to make delightful tables, like the one below.


upgrade to new operator-sdk and helm version

Signed-off-by: Mike Ng<EMAIL_ADDRESS>

@rokej @ianzhang366 Let's also upgrade operator-sdk to v0.17 for our owned repos in ACM 2.0 release

I can do it for Subscription.


Add testing support

Added testing support in https://github.com/aforloney/config-view/pull/14 and added it as a step in the workflow.


Fix tooltip

Fix the tooltip from the Server Docker cleanup frequency. Previous value was every 10 minutes. New value is every night at midnight according to changes https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.332
This PR only affects the tooltip, no functionality is changed.

Always use next branch as destination branch for PRs, not main

Thank you for the PR!


[WIP] Feature/stats deletion

Work in progress. This is a PR to add stats deletion feature

I guess this is still extremely WIP by the looks of it

Yes. Don't review it yet

Closed in favor of #72, #73, #74


DevNexus Booth Logistics -  Design and provide a pull-up banner

For this task, Vince from AJUG is the best at helping with banner recommended sizing before design can be started.

03/07/2024 - Asked about dimensions and budget (cost) pull-up banner in email chain with EF and https://github.com/eclipse/microprofile-marketing/issues/849 in https://github.com/eclipse/microprofile-marketing/issues/849#issuecomment-1984869078 to Olga T

@rstjames lets work with @emecas to create a retractable banner as we have done in the past for MP.
Focus on member logos being on the top of the banner and all messaging in the bottom.  ETA before next Monday.
Cheers you two.

Rough roll up design concept

I like the idea of adding the MicroProfile Spec "Chart" in the blue box. To make it last a bit longer (reusable), remove the version numbers. I'd also include the standalone specs. Not sure if we should "assume" JWT Bridge as well.

@emecas what is the size for these rollups?

@jclingan thoughts?

One more option: @jclingan @aeiras @emecas

One more option: @jclingan @aeiras @emecas

I love it @rstjames!
The only improvement I see, if it is still possible to change before sending it to print is to move the Optimizing Enterprise Java for a Microservices Architecture below the APIs listing. At the bottom is better b/c the table and people will cover the banner, so the higher the most important information is, the better.

Not sure the flow is good this way. Best practice is logo, statement and other info. If we put " Optimizing Enterprise Java for a Microservices Architecture" at the bottom, there is no flow. You need to go to the bottom to get first info what this company is about.
logos normally go at the bottom. But we want to promote the partners in MP... so need some info before them

I see your point, and given the lack of time, it is better to leave it as it is based on your feedback. Members' logos, as large as they are, are great.
Now, when we talk about continuity of messaging, the MP banner is missing By the Community, For the Community, which is the most important message MP stands for.  It is shown and printed on all MP shirts.  Is there a way to include it without removing what it currently is?

I really like the design and playful usage of the Marks, @rstjames!

Thank you for integrating the feedback,  @rstjames!
MicroProfile Specifications must always be plural. Please add the S..
Aside from that, everything looks good and complete. If any other MicroProfile sees issues or has feedback, please send it ASAP. Banner printing is against the clock and won't be able to integrate late feedback -

@emecas and @rstjames, you are doing a great job mediating these tasks with the EF team to get MPWG to DevNexus. :)

@emecas @aeiras
Updated print files for the banner:
microprofile_EconomX_large_print.pdf


AttributeError: module 'reader' has no attribute 'ptb_producer'

I use anaconda2 python3.5 with tensorflow1.2. I want to test tensorflow on the PennTree bank (ptb) dataset.
Referring to the ptb codes provided at https://github.com/tensorflow/models/tree/master/tutorials/rnn/ptb, I run the code
reader_test.py
but got the error:
ERROR: testPtbProducer (main.PtbReaderTest)
Traceback (most recent call last):
File "", line 34, in testPtbProducer
x, y = reader.ptb_producer(raw_data, batch_size, num_steps)AttributeError: module 'reader' has no attribute 'ptb_producer'
FAIL: testPtbRawData (main.PtbReaderTest)
Traceback (most recent call last):
File "", line 28, in testPtbRawData
self.assertEqual(len(output), 4)
AssertionError: 5 != 4
Ran 3 tests in 0.344s
FAILED (failures=1, errors=1)
An exception has occurred, use %tb to see the full traceback.
SystemExit: <sitecustomize.IPyTesProgram object at 0x000001FF9FADC630>
C:\Users\yl\Anaconda2\envs\tensorflow-gpu\lib\site-packages\IPython\core\interactiveshell.py:2870: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)
Then, running the code:
ptb_word_lm.py
also produces errors:
File "C:\Users\yl\Anaconda2\envs\tensorflow-gpu\lib\argparse.py", line 1506, in _handle_conflict_error
raise ArgumentError(action, message % conflict_string)
ArgumentError: argument --model: conflicting option string: --model
Did I do something wrong or miss some steps?

@nealwu can you comment on this or redirect to someone who can? Thanks!

a

Hi @jingweimo, could you fill out the system information form we provide at https://github.com/tensorflow/models/issues/new? I tried the test and it is working fine for me.
You may also want to try on non-Anaconda Python and also try on Python 2 to see if either of those is the cause of your issue.

@nealwu: Hello! I post the problem encountered with running reader_test.py and ptb_word_lm.py at: https://stackoverflow.com/questions/44855380/tensorflow-runn-error-with-reader-test-py-in-models-tutorials-rnn
You may take a look at the error message. I am not sure if there is something wrong with anaconda environment. I follow the instructions for installing tensorflow-gpu in windows by conda installation. And the installation is free of any problem.

What went wrong with reader_test.py? It looks like it ran fine to me.
As far as ptb_word_lm.py, I don't really know what's going on there. Hopefully someone on StackOverflow will be familiar with the error.

@nealwu : For the reader_test.py, it shows that the TensorFlow library wasn't complied to SSE and other instructions. I don't know if that implies some errors. For ptb_word_lm.py, it gives the error:
InternalError (see above for traceback): Blas GEMM launch failed : a.shape=(20, 400), b.shape=(400, 800), m=20, n=800, k=400

@nealwu : I solved the problem by updating anaconda (conda update --all) and then restart my laptop

Yes, that means there are a few options you could compile with to boost your speed, but everything ran fine. As far as ptb_word_lm.py, I'm not sure unfortunately.

Oh, great! Looks like we can close this then.


Building with babel is crashing because of 'return' outside of function.

I'm using babel to build my code but it's crashing with an error -
 SyntaxError: node_modules/has-symbols/test/shams/core-js.js: 'return' outside of function (11:1)

   9 | 		t.end();
  10 | 	});
> 11 | 	return;
   | 	^
  12 | }
  13 |
  14 | var hasSymbols = require('../../shams');

Any way I can resolve this?

There’s a couple problems here - one, you’re running babel on code in node_modules, never do that; two, you’re running it on this package’s test code, which implies you’re not just running babel on third party code you’re using, but on the entire directory; three, top-level return works just fine in commonJS modules in node.

I am getting the same problem. have you been able to solve it?

@PrasunKumarBiswas the solution is to avoid running babel on code in node_modules, and i believe there's also a babel config that allows a top level return.

I see, can you tell how to use the babel config to allow top level return?
I have been doing a separate project and ran into trouble when using babel in my build script.

this was my error in my code

Somehow you're transpiling not just node_modules code, but test code. I think you need to configure babel to ignore node_modules/**.


Resolve TypeError

Issue represented here: https://github.com/winstonjs/winston/issues/2327

Try running npm i and committing the changes to the lockfile.

Can anybody speak to any backward-compatibility issues that may be introduced by changing lockfile v2 to v3?

I mean, if CI passes…

Can anybody speak to any backward-compatibility issues that may be introduced by changing lockfile v2 to v3?

Based on the official documentation, backward compatibility is ensured:

3: The lockfile version used by npm v9. Backwards compatible to npm v7.

https://docs.npmjs.com/cli/v9/configuring-npm/package-lock-json#lockfileversion

After a bit of research and testing, I think this issue is not related to Winston but may be related with NextJS or webpack

@adampweb I have run into the same issue referenced above (using winston in next.js middleware). I tested @colors/colors: 1.6.0 with npm overrides and it resolved the issue. Can we reconsider this PR? Shouldn't we support the dependency update regardless if it fixes every version of this issue?

I'll tag @DABH on the above as well, after noticing @adampweb is an outside contributor (and may have moved on from this issue).

Facing the same issue

Colors was updated in https://github.com/winstonjs/winston/pull/2353 which likely fixed this.


Long types should unmarshall to strings

Because javascript will silently limit the precision of numbers that exceed 32 bits, the Long and UnsignedLong types should unmarshall into strings instead of numbers.

Woops, I added this in the wrong repo. Moving to https://github.com/highsource/jsonix/issues/157


Bugfix: Make sure managedClassDirectories always gets added to .classpath and filesystem

What's the problem?
When creating a new Play Framework project (or checking out an existing one) that has no target folder yet (because the project wasn't compiled yet) and run sbt eclipse on such a not-yet-compiled and not-yet-eclipsified Play project the target/scala-2.11/classes_managed folder won't get added to the .classpath file (despite it gets created on the filesystem eventually) - which results in a lot of errors when importing the project in eclipse.
Most users won't recognize this bug because they probably run sbt eclipse after they already compiled their project at least once - having therefore created the target/scala-2.11/classes_managed folder already.
How does this happen?
That's because right now we add managedClassDirectory folders to the .classpath file only if the folder does exists on the filesystem - but because the compilation from preTasks hasn't been done yet the folder isn't there yet.
How to fix?
The fix is to remove filter(_.exists) you see in this change. (I don't understand why this was filtered at all because we expliticly say we want to use this directory on the classpath).
After this change (removal of the filter) we now get target/scala-2.11/classes_managed added to the .classpath file (perfect!) - but not only this: Because by default the managed class directories for both the compile and test scope are set (see here) also the lib entry target/scala-2.11/test-classes_managed gets added to .classpath (which is correct and should have been always like this).
But in a fresh new Play application there are no managed test classes yet, therefore this test-classes_managed folder won't get created on the filesystem by default (no files to compile and to copy) - making Eclipse complain it's missing the folder. Hence with my second change I make sure at last the folder itself gets created even when it's empty because nothing got compiled/copied.
One more thing
When you follow the Play docs to setup Eclipse you end up having following settings in your build.sbt:
EclipseKeys.preTasks := Seq(compile in Compile)
EclipseKeys.projectFlavor := EclipseProjectFlavor.Java
EclipseKeys.createSrc := EclipseCreateSrc.ValueSet(EclipseCreateSrc.ManagedClasses, EclipseCreateSrc.ManagedResources)

This has to be changed to also compile in Test scope because (as mentioned above) by default the managed class directories for both the compile and test scope are set:
EclipseKeys.preTasks := Seq(compile in Compile, compile in Test)

Actually it should have been like this before my PR already. I will provide another PR for the Play docs with this change.

@benmccann If you could have a look that would be cool. Shouldn't take too long. Thanks!

It actually was filtered for a reason, which is that you otherwise end up with a bunch of always empty directories showing up in Eclipse.
Thanks for updating the Play docs! I kind of think the doc fix might be enough as that should solve the problem and also keep away the empty directories in Eclipse
P.S. I'm disconnecting from the internet for a couple weeks, so won't respond again until the new year

@benmccann Thanks for your feedback and enjoy your holidays!

It actually was filtered for a reason, which is that you otherwise end up with a bunch of always empty directories showing up in Eclipse.

Hmm... I did read through the other conversations here and understand for some people that might be not ideal. Hower I am not sure not adding non-existing (or empty) folders to the classpath is the right behaviour. Because if I set
EclipseKeys.createSrc := EclipseCreateSrc.ValueSet(EclipseCreateSrc.ManagedClasses, EclipseCreateSrc.ManagedResources)

and
managedClassDirectories := Seq((classesManaged in sbt.Compile).value, (classesManaged in sbt.Test).value)

(which is the default) I would expect that these directories get added to the classpath - even if they are empty.
Because even when for some folder no sources/classes exist yet, they may will exist later (because I create them after I run sbt eclipse).
Of course you could then just run eclipsify again - but for new users that might seem unlogic and or hard to figure out.
Anyway, as an alternative to this PR the original problem (which was that for a fresh project where the managed_classes folder doesn't exist yet because compilation which creates it finished after the .classpath file got saved) could probably also easily be solved by just running preTasks before the forcomprehension. So all folders and files got setup and copied before creating the eclipse files. (Maybe that is why it was called PRE - Tasks...? 😄)  See:
https://github.com/typesafehub/sbteclipse/blob/v5.0.1/src/main/scala/com/typesafe/sbteclipse/core/Eclipse.scala#L212
I will give it a try tomorrow and create another PR if that works.
Thank you!

Ahh. Yeah, if pre-tasks aren't happening before everything else then that seems like a bug!

Closing in favor of #328


Rendering Segfault

Bevy version
main
Operating system & version
Gentoo, with musl libc
What you did
cargo run --example clear_color
What you expected to happen
The example shouldn't segfault.
What actually happened
It immediately segfaults.
Additional information
The hello_world example works, presumably because it doesn't render anything. But the other examples I've tried all segfault, including the _pipelined examples on the pipelined-rendering branch.
gdb target/debug/examples/clear_color
GNU gdb (Gentoo 10.2 vanilla) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-gentoo-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from target/debug/examples/clear_color...
r
warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts
of file /home/user/Projects/bevy/target/debug/examples/clear_color.
Use `info auto-load python-scripts [REGEXP]' to list them.
(gdb) r
Starting program: /home/user/Projects/bevy/target/debug/examples/clear_color

Program received signal SIGSEGV, Segmentation fault.
0x000000000039e446 in ?? ()
(gdb) bt
#0  0x000000000039e446 in ?? ()
#1  0x00007ffff5395000 in _GLOBAL__sub_I_GlslangToSpv.cpp ()
#2  0x00007ffff74ef529 in libc_start_init ()
#3  0x00007ffff53974a0 in ?? ()
#4  0x00007ffff74ef54e in libc_start_main_stage2 ()
#5  0x00007ffff74ef531 in libc_start_init ()
#6  0x0000000000000000 in ?? ()

https://github.com/bevyengine/bevy/pull/3312 seems to have fixed this. I can run the examples on the main branch now, with just cargo run --example.


Work offset G54/55..

Work offset button is shown on left side of display in Jog mode.
Pressing the button makes the display send new offset command to FluidNC and display shows new value.
If offset is changed via WebUI or a running job the offset button does not change or reflect this.
This is not critical, I would rate this as nice to have.

It turned out that my display was not running the latest version of grbl_parser.py from GitHub.
After upgrading to the latest version work offset also referred to as "wcs" (Part for $G response) is read by the display and displayed correctly.


Scoped Modules

Currently rnpm doesn't work with scoped modules.
Scoped modules are usuall organized the following way in the node_modules folder:
package.json:
{
  "dependencies": {
    "@somescope/somepackagename": "^1.0.0",
    "@somescope/someotherpackagename": "^1.0.0"
  }
}

node_modules/
`- @somescope/
   |- somepackagename/
   `- someotherpackagename/

rnpm checks for a package.json inside the @somescope folder, which causes the following error:
Error: Cannot find module<EMAIL_ADDRESS>

Thanks for your issue. I'll take a look.

Further discussion will be available here: https://github.com/facebook/react-native/issues/8623


feat: Adds the ECharts Sankey chart

SUMMARY
This PR creates the ECharts Sankey chart which visually tracks the movement and transformation of values across system stages. It also adds the chart migration logic (legacy ➡ ECharts). Users can execute this migration using the CLI command and disable the legacy version with the VIZ_TYPE_DENYLIST configuration.
I added the minimum required controls to allow the migration but many more controls can be added in the future to improve the chart's customizability.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS
Check all features.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up


[YouTube] [SOLVED] 3D/2D 360° videos - now encoded in a new, proprietary & non-standard format

[x] I've verified and I assure that I'm running youtube-dl 2018.01.14

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Description of your issue, suggested solution and other information
It appears that approx. one week ago, YouTube has changed its encoding algorithms for panoramic 360° 2D/3D videos.
As a producer of such videos, I am familiar with the standard format used by most 360° video players to convert the flat video image into a 360° panorama (in either 2D or 3D). The standard video format is in "equirectangular panorama" projection for 2D, and "over/under equirectangular panorama" projection for 3D 360° videos. A 360° video producer would format their video to one of the above projections, and then use YouTube's "Spatial Media Metadata Injector" tool (found here: https://support.google.com/youtube/answer/6178631?hl=en&ref_topic=2888648) to inject the code needed to inform YouTube that the video being uploaded is a 360° panoramic video.
Approx. one week ago, YouTube has changed their internal encoding processes to convert uploaded 360° videos to a custom proprietary format (no longer equirectangular panorama). This format now makes it completely useless to download the desired 360° for viewing in best possible quality & on offline video players, as no viewer outside of YouTube would recognize the proprietary format. YouTube has also been re-encoding previously uploaded videos to their new proprietary format.
For example, here is a screenshot from a video (found on YouTube at: https://www.youtube.com/watch?v=8DqSh_T20WY -- I downloaded it on 2017-11-07):

The above image shows the correct over/under equirectangular panorama projection for a 3D 360° video.
However, as of right now, using youtube-dl to download the video ("youtube-dl https://www.youtube.com/watch?v=8DqSh_T20WY -f 315+171 --merge-output-format mkv"), a screenshot of the video at the same timestamp as above looks like this:

I can see three possible reasons for encoding their videos in this new proprietary format:

They don't want people downloading these videos for offline viewing -- they want people to view the video on YouTube. This is a pretty obvious reason, however if true, why haven't they encoded all the types of videos available on YouTube into an unviewable mess? Why only 360° videos? Which leads me to reason 2.

This new format may be faster for their players to process into a 360° video. This would be a fair reason if true, but it makes life miserable for those of us who enjoy downloading the clips for offline viewing in the player of their choice. However, reason 3 is the most likely:

The re-encoded video is designed to put as much resolution as possible in the areas of the video that people are most likely to look at. Some research I read shows that 75% of the time, viewers of 360° videos look in the forward 180° or so of the video and don't really look behind them much. In addition, the equirectangular panorama format gives far too much resolution to the top and bottom of the dome projection, and nowhere near enough to the center. YouTube's new encoding format definitely improves on the standard format -- more real estate given to the front half of the video, and the back and bottom are given significantly less. However, it still doesn't help those of us who want to watch it outside YouTube. To be acceptable, it would essentially require the VR/360° industry to accept YouTube's new format as a standard for watching 360° videos and incorporate it into their players & software. For this to happen, of course, YouTube will need to release the specifications for their new encoding format.

Currently, it appears that there's nothing youtube-dl could do to fix this situation. Thus, this "issue" is a request for new functionality: being able to re-encode the 360° videos from YouTube's new proprietary format back into the standard equirectangular panorama projection that most 360° video players recognize.
Thank you for taking the time to review this issue. Hopefully it leads to improvements in youtube-dl in the future!

I have the same issue, but I can download the normal format with Chrome and a Chrome extension named "youtube video downloader"(it was already disabled and removed from Chrome extension shop).
youtube source,

the way I get the original URL,

then I preview this URL in Chrome, I can download it as the format what it look like too,

I am so strange why youtube-dl download this in invaild format but this extension can do in right.

I have tried to download few 360 videos over the last week and I've always found them to use the new EAC cubemap format.
I tried downloading videos in 4K - WebM as well as MP4 format.

@priteshdesai Check the video upload date. If the 360° video was uploaded prior to January 27th, 2018 (approximate), it will likely have been encoded (or re-encoded) to the EAC format by YouTube. However, it appears that they stopped doing so for any 360° videos uploaded since January 27th. All 360° videos that I've downloaded after that date (that were uploaded after January 27th) have been in the old standard equirectangular format.

@Cyroxchan  Thanks for the clarification.
I was able to download videos in Equirectangular format even for videos which were uploaded prior to Jan 27.
However in order to do that, you have to pass a blank "browser user-agent". If you pass any "browser user-agent" (for eg. Mozilla 4.0), Youtube serves EAC videos.
I was able to pass a blank "browser user-agent" via a custom C# script. I was able to download videos in Equirectangular format for - 2K resolution MP4 and 2K and 4K resolution MKV.
However when I pass a browser user-agent, Youtube serves 4K MP4 and 4 K MKV video but switches to an EAC format.

As per the google article about pixel densities, you see the green an blue is at top and bottom of picture.
you just need to make the interesting part of picture rolled in these regions and left the less interesting parte of picture in the center of picture.
when displayed, it makes no difference for the player which part to display, since the picture is a sphere and you can roll it as much as you want. You just need to set the viewport to reflect the change.

Solve it, in Unity and a little bit of Video editing.
I am working now to create a small tool that can import the video you download from Youtube and convert it to Equilateral format.

@adrianposteuca    Sorry for disturbing, but did you solve that problem ?

@Uncleout Yes, but is not a stable solution... it works only in Unity. Need a conversion from unity again to Equilateral.

this is very interesting, I wonder if they tag the files correctly with their mesh standard (https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md)

thanks @priteshdesai, with youtube-dl --user-agent "" [url] i get 4k .webm in equirectangular format

@j0hj0h & @priteshdesai i got 4K equirectangular in mp4 with youtube-dl -f bestvideo[ext=mp4] --user-agent '' URL

Useful information here: https://code.facebook.com/posts/1126354007399553/next-generation-video-encoding-techniques-for-360-video-and-vr/

The Unity 360 player, only displays regular 6 cubemap videos properly. The YT cubemap isn't natively supported.
Has anyone been able to display the Youtube cubemap properly in Unity?

I'm on this path at the moment, trying to get it to work in Unity myself. I managed to get the transformations to get the right faces into the right locations, but now it's the warping that I have to fix.

Hello Guys,
what I have achieved so far is to create a 3D rig made up of two parts:
A.Part one with faces: Font, left, Right
B.Part two with faces: up, back, down
In a video editing software, I cut the video in half on horizontal, so I got two videos for A and B.
I mapped them in Unity with video player and put the camera inside the cube, it works.
It works on some videos, but still has a problem with lens since is  cube seen with  a curved lens

That sounds like what I have so far, except I've done it with a single shader on a single cube (or, as of right now, the skybox). The problem is, it's still distorted because I'm not applying the mapping required to undo the EAC mapping.

@trejkaz @adrianposteuca How about creating an open source skybox for Youtube? We can all contribute to it and make it available for all.

Now my skybox code has the correct transform to undo the EAC mapping, but the faces don't quite align correctly. I'm assuming YouTube adds some bleed somewhere and that this bleed isn't documented in anything that I've read so far so I don't know how to avoid it when transforming.
I plan to release it anyway. I originally hoped to do it after getting it to work properly, but I might release it with the one remaining issue in the hope that someone else knows how to fix it. Expect something definitely within a week, maybe within a day or two.
The other option was to use the new mesh standard. I had two problems with using this for my own project:

They had documented how to make a custom mesh, and talked about how little space the EAC mesh took up, but didn't mention the actual layout of the EAC mesh itself.

I really wanted the image on the actual skybox, and couldn't see any way to get a mesh in there anyway.

So, I'm probably a little late to the game here, but thanks to the work and explanations of @priteshdesai and @j0hj0h the solution has been discovered.
In order to download the originally uploaded equirectangular panorama format version of the 360° video using youtube-dl, include the following option in your command-line:
--user-agent ""
Returning to my original example video, https://www.youtube.com/watch?v=8DqSh_T20WY
I perform the following to download the 4K60 video:

Which, when played, shows the correct equirectangular format once again.

YouTube's EAC re-encoding has been thwarted! Thank you everyone for your hard work!
 Link to issue here: https://github.com/rg3/youtube-dl/issues/16647

The trap there is that the equirectangular copy can be a lot fuzzier than the EAC copy. (This is why I spent time to make a player specifically for the layout I was getting.)

For sure, the EAC one should, in theory be better quality. It really all depends on the size and quality of the original upload.
If, for example, the author uploaded their video at 3840x2160 resolution in equirectangular format, then there is essentially no way the EAC version of the video at 3840x2160 is going to be better quality.
If the author uploaded the video at a higher resolution, say 7680x4320 resolution in equirectangular format, then the EAC version of the video at 3840x2160 could end up better quality than an equirectangular one at the same resolution.
EAC has its merits for sure, but it's not universally accepted. Until it is, I'll prefer my locally saved files in equirectangular.

Guys on YouTube, the EAC is implemented only on 1080s quality and above. At 720s and below, the old equirectangular format only is used. So you can download it in 720s (It looks like 240p quality but it's atleast viewable !)

@shreytyagi Good to know, but the solution has already been discovered and described above. You can download 360° 4K streams in equirectangular, just by passing --user-agent "" to the command-line code.

(accidentally closed - i am noob)

You Can Play EAC 360 videos on Pc by using "PotPlayer" there is an option called Equi Angular cube Map.
I dont know its stabilty yet but its worth a try.
On Android you can use Vidmate App to download 360 videos in equirectangular panorama.

@Jithug6 Potplayer didn't work with my video

Hi, Cyroxchan. I used your command: youtube-dl -f 313+171 --merge-output-format mkv [URL]--user-agent '' . For some 360° videos ,I can download the 360° 4K streams in equirectangular. but for some 360° videos, with the same command, the downloaded 360° 4K streams is in EAC.

How to watch YouTube's ridiculous new 360 3D video format on your computer:

Download the video from YouTube
Download and install PotPlayer
Video > 3D Video Mode > Enable 3D Video Mode, SBS (Side by Side)
Video > 360 Video Mode > Enable 360 Video Mode, Equi-Angular Cubemap 2x3 (Google Stereo)

No one tried VLC ? Or any other player for that matter ? PotPlayer is a Window$-exclusive thing, so that's kinda outta the window.

Goddamn GitHub made me delete my comment ...
Has anyone tried VLC ? Or any other player for that matter ? PotPlayer is a Window$-exclusive thing, so that's kinda outta the window.
The Firefox extension uses FFmpeg to do the conversions. If FFmpeg has somehow reverse-engineered the new format, that's the place to look at.

If targeted on Web Player. egjs-view360 can be solution for viewing EAC Video.
It supports various types of 360 contents. For example Equirectangular, Cubemap and EAC(Youtube)
Ref : https://github.com/naver/egjs-view360/wiki/Supported-Projection-Type

Yest this works!
This is how it worked for me:

First download youtube-dl.exe

In the same directory, open powershell (shift + right-click)

Enter the following command:
.\youtube-dl.exe --user-agent "" URL https://www.youtube.com/watch?v=hR1mNJ11ycU -F

Note down the code for the file with largest size (Most probably 266).

Enter the following command:
.\youtube-dl.exe --user-agent "" URL https://www.youtube.com/watch?v=hR1mNJ11ycU -f 266+251 --merge-output-format mkv

Done!!!!!

We have some internal tools at Pixvana (that I wrote) to perform these conversions, and it's all based on the publicly-available YouTube information. So while I probably can't share the internal code, I will say that such a tool is certainly buildable using available information. Wish I could help more directly.

Sorry I did not ready this long topic, I wait for a desktop, with a phone

it is hard to scroll in a space 1cm. between page header/reply
space/keyboard.
With youtube-dl:
https://postimg.cc/ykfTP5RS
very bad, in my opinion
with other downloaders for Windows:
https://postimg.cc/rK9mWXv5
right, in my opinion.
thanks in advance for your opinion.

Hi to all, finally I was able to scroll the whole 3d :)
Very interesting, but there still arises a little problem.
I followed exactly the suggestion of user Cyroxchan here
https://user-images.githubusercontent.com/32349993/41115023-6d077006-6a43-11e8-858d-bce5e8945d78.jpg
Problem with https://www.youtube.com/watch?v=KBQ3ICqpyIs
Instead of the right view as you can see here (lowest YT resolution due to
my choice):
https://postimg.cc/p5VL8qFm
i.e. zero distortion,
following your receipt I got an unacceptable view:
https://postimg.cc/VrQSSqgt
https://postimg.cc/CBg1MFMH
Questions:
mine error?
your error?
youtube-dl error?
viewer sw error? maybe the latter...but with all your YT URLs in this page I
got perfect view without any distortion, therefore I doubt that there is an
error of the viewer Pot (the one and only working here).
thanks a lot for your opinion.
Here what I did:
youtube-dl --user-agent "" KBQ3ICqpyIs -f 313+338 --merge-output-format mkv
I chose 313+338, only because the maximum available 6400x6400 (the best =
the biggest in size = the hightest Mb/sec, fps) is not playable on my OS
(i.e. steady image and audio only).

Found a solution, thanks to @priteshdesai
Two programs that work to download the 360 videos:

Video DownloadHelper, a Firefox addon working as of May 4th, 2018 (it will guide you through installing the native program to run on your machine to handle bigger downloads).  Once the addon is installed, just go to Youtube and click the new icon
To be sure it works (not certain if this step is required):

Go to the URL "about:config" in Firefox and click "I understand the risk"
Right click to add a New > String
Name it "general.useragent.override"
Press enter to leave the contents of the variable blank
Delete this field once you're done downloading the 360 videos you need

Download link: https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/

MediaHuman Youtube Downloader
It's easier to use, but proprietary, and the trial version only lets you download 20 videos
https://www.mediahuman.com/youtube-downloader/

Using Virtual Desktop, I could play the videos and they don't wrap or chop incorrectly, seems these programs are downloading older versions of the YouTube video and they aren't formatted the new way.

THX  A LOT! it worked for me :) thx so much!

MediaHuman Youtube Downloader - this rly works! Thanks!

but 8k videos download only like 4096x4096

I don't know how relevant my question in this thread is but I feel this is the only thread on this repo where I can ask this. I have been looking for this on Oculus forums and am surprised that how/ if noone has encountered this issue before.
Here is the issue:

I'm trying to play a 360 Degree(Panaromic Video) Video downloaded from Stanford's Virtual Human Interaction Lab database on Unity with an Oculus.
But when I play the video on Unity and watch it in Oculus, only right half of the entire visible region(half sphere) is oriented properly and the other half region is rotated by 90 degrees.

So my question is, is it happening because the video I'm running is downloaded from YouTube and YouTube now has their own proprietary encoding for 360 videos, which cannot be rendered anywhere outside YouTube or its something else?
Any help/reference links would be highly appreciated.

Found a solution, thanks to @priteshdesai
Two programs that work to download the 360 videos:
1. **Video DownloadHelper, a Firefox addon** working as of May 4th, 2018 (it will guide you through installing the native program to run on your machine to handle bigger downloads).  Once the addon is installed, just go to Youtube and click the new icon
   To be sure it works (not certain if this step is required):

* Go to the URL "about:config" in Firefox and click "I understand the risk"

* Right click to add a New > String

* Name it "general.useragent.override"

* Press enter to leave the contents of the variable blank

* Delete this field once you're done downloading the 360 videos you need

Download link: https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/
1. **MediaHuman Youtube Downloader**
   It's easier to use, but proprietary, and the trial version only lets you download 20 videos
   https://www.mediahuman.com/youtube-downloader/

Using Virtual Desktop, I could play the videos and they don't wrap or chop incorrectly, seems these programs are downloading older versions of the YouTube video and they aren't formatted the new way.

thanks a million, MediaHuman Youtube Downloader really worked.
It took 2 days to find the solution. First I downloaded a cracked version but it didn't work, then I downloaded it from it's site.


[NETBEANS-112] Re-integrate DTD for RSS 0.91 feed

This change undoes the removal of the DTD file done by Oracle as preparation for the donation. The change fixes NETBEANS-112.
It is assumed that Oracle removed the file from the donation as it wasn't theirs to donate.
See:
http://hg.netbeans.org/releases/rev/66633aaa2811
http://hg.netbeans.org/releases/rev/00ff3249694f
About license for DTD file:
Netscape transferred the RSS 0.91 specification to the RSS Advisory Board in January 2008. From their website I cannot figure out what the license is for the 0.91 DTD file, but newer versions of the RSS spec seem to be published under the Creative Commons Attribution/Share Alike 2.0 license. However, this conclusion cannot be made for the 0.91 spec. No license header has thus been added to the DTD file, only a note about from where it has been downloaded.
Instead it is assumed, that the DTD file fall under the
https://www.apache.org/legal/resolved.html#category-b
definition of:

For small amounts of source that is directly consumed by the ASF product
at runtime in source form, and for which that source is unmodified and
unlikely to be changed anyway (say, by virtue of being specified by a
standard), inclusion of appropriately labeled source is also permitted.
An example of this is the web-facesconfig_1_0.dtd, whose inclusion is
mandated by the JSR 127: JavaServer Faces specification.

+1 Makes sense to me and great you've done this.

I'm a bit reluctant to merge this. Quite frankly, it neither no license, nor the create commons license sound like a good idea for a document, that is used as a basis for parsers. For our use case I'd try to stay away from this as far as possible. I propose a different approach:
The only really interesting think that is part of the DTD are the entity definitions, that are needed to correctly parse the XML stream. The rest is plain XML and the document structure is already manually handled and the stream is also not validated.
From the RSS DTD:

Copied from HTML 3.2 DTD, with modifications (removed CDATA)

Now the entities covered by HTML 3.2 are identical with Character entity set of XHTML 1.0 (this is important, as the HTML 3.2 entity definitions are SGML and the XML parser can't read them).
That entity definition was already merged into the apache netbeans codebase with #240.
So this assumes, that xhtml-lat1.ent is copied from html.editor to welcome module and placed in the org.netbeans.modules.welcome.resources package.
There are two places where XMLReader are instantiated (one in RSSFeed.java and one in CombinationRSSFeed.java). My hack does this:
        reader.setEntityResolver( org.openide.xml.EntityCatalog.getDefault() );

is replaced by:
        reader.setEntityResolver( new EntityResolver() {
            @Override
            public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
                if("http://my.netscape.com/publish/formats/rss-0.91.dtd".equals(systemId)
                        || "-//Netscape Communications//DTD RSS 0.91//EN".equals(publicId)) {
                    return new InputSource(RSSFeed.class.getResourceAsStream("/org/netbeans/modules/welcome/resources/xhtml-lat1.ent"));
                } else {
                    return org.openide.xml.EntityCatalog.getDefault().resolveEntity(publicId, systemId);
                }
            }
        } );

So I pretend to handle the XML parser the correct DTD, but that DTD only contains entity definitions and misses the structure information. The structural aspects are handled in FeedHandler inside RSSFeed which does not depend on the information from the DTD.

Matthias, I understand where you are coming from but as I read the ASF rules it is acceptable to have such a file in the distribution (even without a license header) as long as it meets the criteria:

Small
Consumed at runtime
Unmodified
Static - will never change
Constitutes a specification of a standard
File is appropriately labeled

This is my interpretation of

For small amounts of source that is directly consumed by the ASF product
at runtime in source form, and for which that source is unmodified and
unlikely to be changed anyway (say, by virtue of being specified by a
standard), inclusion of appropriately labeled source is also permitted.
An example of this is the web-facesconfig_1_0.dtd, whose inclusion is
mandated by the JSR 127: JavaServer Faces specification.

Your proposed fix will certainly work too, although I'm concerned it will re-read the DTD file for every parse operation.
Perhaps a good "test case" to ask the mentor(s) about, assuming there will be more of this?

I had a look at the sample the ASF references (web-facesconfig_1_0.dtd) and I agree with you, that it matches the situation of the RSS DTD file. The reference is also missing sensible licensing information and so I can also accept it in this case. So do you want to ask anyone else or shall I merge this?

I think it is has been resolved enough, so I vote for merge.
(IANAL and all that)

+1


Wednesday fast currently showing "None until None"

Makes sense. There is no culmination feast. We can test for that and show nothing if it's None.
Wondering if there is  something else meaningful to show. Number of Wednesdays/Fridays left in the year?

I created a branch that just removes the countdown on those days and it seems okay. A countdown of the number of W/F left also sounds good!


Update zh_cn translation

Cleaning up machine translation
Synchronization with official translations
Fix Translation Errors

Thanks to @Anteness and @a1175815821

Had a little problem. It's fine now.


MA-774.022020: MyCERT Advisory - Espionage Campaign Based On Technical Indicators (APT40)

Source ->
https://www.mycert.org.my/portal/advisory?id=MA-774.022020
Domain ->
yfleur.myftp.org
dynamics.ddnsking.com
accountsx.bounceme.net
vvavesltd.servebeer.com
capitana.onthewifi.com
kulkarni.bounceme.net
thestar.serveblog.net
invoke.ml

Thank you Lorenzo @scafroglia93 — these have been added.
Closing.

s/yfleur.myftp.org/byfleur.myftp.org/


If you're online when witnesses change, old witnesses stay visible

If the set of witnesses changes (for example due to new witness(es) being voted in), you need to reload the page, otherwise old witnesses will still be displayed.

This should not be the case after I migrated the witnesses page to use the BindToChainState decorator as we're now notified of changes in the witness list as well as the witnesses themselves. Closing but reopen it if it's still an issue for you.


Add function to handle subscriptions when applying buffered changes

We discovered we weren't processing subscriptions for changes being applied all at once when all buffered versions were received. This caused some changes not to update subscriptions.
This PR adds a function to handle exactly that situation.
It's a bit painful and some buffering in memory is required unless we change the logic more extensively.

@somtochiama I would appreciate a review on this. I think this works as intended and will prevent heartburn in the future.


sqlite: Fix #616

Explanation and benchmark has been already provided inside https://github.com/launchbadge/sqlx/issues/616, so - without further ado - here's the code.

I see good effects with this code.

Ping, ping @mehcode? :-)

@abonander @mehcode If you have any time, could this one be looked at? Its been open for nearly 2 months and others have seen it fix things. A project I'm working on is also experiencing high CPU usage from the bug on a number of platforms.

I really appreciate the fix. Thank you for the confirmations. That helps.


centralize config, store db & keys in config path

using<EMAIL_ADDRESS>for OS-friendly config path
note this means if you want to keep history you need to copy friendsdb and public-keys from the project directory to the application config path, which will be...

Platform
Location

OS X
~/Library/Application Support/Friends/config.json

Linux (XDG)
$XDG_CONFIG_HOME/Friends/config.json

Linux (Legacy)
~/.config/Friends/config.json

Windows (> Vista)
%LOCALAPPDATA%/Friends/config.json

Windows (XP, 2000)
%USERPROFILE%/Local Settings/Application Data/Friends/config.json

merging, review welcome

i like the idea, though i like to use $XDG_CONFIG_PATH on OS X as well... probably not a big deal though? (people can always symlink)

@beaugunderson what is $XDG_CONFIG_PATH used for in OS X? This PR is based on what we did in https://github.com/feross/webtorrent-app/blob/master/config.js and the config path is determined by https://github.com/LinusU/node-application-config-path.

whatever the user sets it to (~/.config in my case)

Yeah I guess my instinct is to just use the standard config path for the OS and let users override if they really want to. Would you want Friends to test for an env var before setting CONFIG_PATH?


Avoid render legend when it is loading

I've checked that legend is rendered when new data is being requested and then when it arrives. What about if we only render when new arrives arrives? With that we could prevent those "jumps" with the element. Also, let's take into account that legends are not filterable so data could be there without harming anyone :D.
cc @piensaenpixel @CartoDB/frontend

+1!


Add AUR package

What: Added AUR Package

Why: It can be installed from the AUR directly.

How: Creating the PKGBUILD

Checklist:

[x] Documentation added
[ ] Tests added
[ ] No linting errors / broken tests
[x] Merge ready

@crstian19 this is awesome! I'll test it on my arch setup tonight. I'm not familiar with what the process of creating this looks like -- did you have to do anything outside of this project to set this up?

@crstian19 this is awesome! I'll test it on my arch setup tonight. I'm not familiar with what the process of creating this looks like -- did you have to do anything outside of this project to set this up?

I had to create the PKGBUILD in the AUR, basically it downloads the repository and uses cargo to do the installation.
This PKGBUILD is "-git" so it will use the last commit to update, the moment there is a release, I can create another package for stable versions.

This PKGBUILD is "-git" so it will use the last commit to update, the moment there is a release, I can create another package for stable versions.

Can you explain what you mean by release? I have releases in gh already, though they're not exactly binaries. Would you need that? Also would you have to manually do this for every release, or is this a one time setup?

This PKGBUILD is "-git" so it will use the last commit to update, the moment there is a release, I can create another package for stable versions.

Can you explain what you mean by release? I have releases in gh already, though they're not exactly binaries. Would you need that? Also would you have to manually do this for every release, or is this a one time setup?
Edit: they are pre-releases though -- maybe that's what you mean

Right now as you say you have pre-releases, when there is a stable release for example v1.0.0, simply take that release, it is not necessary to make a binary, everything is automatic.

Right now as you say you have pre-releases, when there is a stable release for example v1.0.0, simply take that release, it is not necessary to make a binary, everything is automatic.

Until there is a stable release, will the PKGBUILD need to be updated in the AUR each time there is a minor/patch update? Once there is a stable release, will it auto track my updates? What I'm getting at is what part of this process is automated and what is manual moving forward.

Right now as you say you have pre-releases, when there is a stable release for example v1.0.0, simply take that release, it is not necessary to make a binary, everything is automatic.

Until there is a stable release, will the PKGBUILD need to be updated in the AUR each time there is a minor/patch update? Once there is a stable release, will it auto track my updates? What I'm getting at is what part of this process is automated and what is manual moving forward.

Each person who decides to install thokr-git knows that it will be the last commit and may not be stable.
The whole process is automatic, you will not have to do anything, for stable versions it will take the releases and for non-stable versions the last commit.

Perfect. Thank you for the context on that. I think I like the way gotop handles this in their README, by simply stating:
Arch Linux
Install gotop, gotop-bin, or gotop-git from the AUR.
If I understand you correctly, thokr-git will always pull the latest commit, thokr will pull the latest stable release (once we have one -- does it also look at github for this, or pull the crate directly)? If you could send me any documentation on what you're doing I'd be very curious to learn more!

Also I'm happy to be the maintainer of it in the AUR if you'd like -- I'm not sure if you can even transfer it

Perfect. Thank you for the context on that. I think I like the way gotop handles this in their README, by simply stating:
Arch Linux
Install gotop, gotop-bin, or gotop-git from the AUR.
If I understand you correctly, thokr-git will always pull the latest commit, thokr will pull the latest stable release (once we have one -- does it also look at github for this, or pull the crate directly)? If you could send me any documentation on what you're doing I'd be very curious to learn more!

Yes, it's just like you say. You can read all about uploading packages to the AUR here: https://wiki.archlinux.org/title/AUR_submission_guidelines

Also I'm happy to be the maintainer of it in the AUR if you'd like -- I'm not sure if you can even transfer it

For the time if it's ok with you I can give you co-mantainer of the git package until you have a little more experience on how to handle the AUR.
You will be able to modify everything you need and if there is any problem I could fix it.
I just need your AUR user.

Sounds good! I'll send you a message at that point -- thanks for the add! I'll cut a release in a bit, gonna make some small changes myself :)


⚠ Bofrost.at has degraded performance

In 55c3548, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1423 ms

Resolved: Bofrost.at performance has improved in e314e0a after 13 minutes.


Sendgrid no longer provides free emails

Sendgrid no longer provides free emails

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

ID: 73d91616-a93f-84af-7900-5aa34b361ffd
Version Independent ID: f202a678-4853-d024-55c5-19f89558415c
Content: How to use the SendGrid email service (.NET)
Content Source: articles/sendgrid-dotnet-how-to-send-email.md
Service: multiple
GitHub Login: @georgewallace
Microsoft Alias: gwallace

@bmcder Thanks, this is aging documentation that I am working with Sendgrid to update, I removed the offending text. This content will be live in the next 1 1/2 hours. #please-close

@bmcder Thanks, this is aging documentation that I am working with Sendgrid to update, I removed the offending text. This content will be live in the next 1 1/2 hours. #please-close

@georgewallace Thanks for the super quick response. :+1:

@georgewallace Thanks for the super quick response. :+1:

Is there a reasonable alternative? Say good old old reliable SMTP relay or something like that?
Does Azure functions belong on the list of things that are only available to organizations who seem to have an infinite IT budget?

Is there a reasonable alternative? Say good old old reliable SMTP relay or something like that?
Does Azure functions belong on the list of things that are only available to organizations who seem to have an infinite IT budget?


/api/user Exception

ErrorException in GET /api/userCreating default object from empty value
Http/Middleware/ApiTracking.php:37 - Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
Http/Middleware/ApiTracking.php:37 - App\Http\Middleware\ApiTracking::terminate

This issue has been linked to an error in Bugsnag
ErrorException in GET /api/user

:tada: This issue has been resolved in version 5.3.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


vue3 ts swiper module component props, Type 'true' cannot be assigned to type 'undefined'

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/friendly-chihiro-nqj9n
Bug description
<script setup lang="less">
import { Swiper, SwiperSlide } from "swiper/vue";
import { FreeMode, Scrollbar } from "swiper";
import "swiper/css";
import "swiper/css/free-mode";
import "swiper/css/scrollbar";
</script>

<template>
<Swiper
    :modules="[FreeMode, Scrollbar]"
    freeMode
    scrollbar
>
     // ......
</Swiper>
</template>

Expected Behavior
There are some effects. Errors are not reported during development, but errors are reported during build

Actual Behavior
No response
Swiper version
7.3.1
Platform/Target and Browser Versions
chrome  96.0.4664.45
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

also got the same issues, seems like this happen because the default value of the prop is undefined where as the proptype is xxOptions | boolean


request some details

hi i am trying to install t but i didn't found waybar or wallpapers so can you give me the full dots so i can install and setup the sys the right way?
رمضان كريم ;)

Hi, you don't need to have waybar installed, the bar and all the widgets are written in JavaScript using AGS.
The wallpapers and all needed files are already there, you just need to install all required apps and copy the files to the right places then everything should work fine. If you face any issue give me full log.
رمضان كريم 😇

I think this issue should be closed, feel free to open it again if you face any other problems.
عيد سعيد وكل عام وانتم بخير 😇


How to modify (format) entries with x-ray >= 2

In x-ray 1 i formatted each entry like this:
return xray('http://www.gelbeseiten.de/maler/borken')
        .select([{
            // Gelbeseiten
            $root: '.table',
            "firma": 'h2 span',
            internet: '.website a[href]',
            "Branche": '.branchen span',
            "STRASSE": '.adresse ul li:first-child span',
            // plz: 'span:nth-of-type(1)',
            ort: 'span:nth-of-type(2)',
            "TEL_ZENTRALE": '.nummer'
        }])
        .format(function(data){
            if (_.size(data) > 1 && data.firma !== undefined) {
                if(data.internet == undefined){
                    console.log('Kein Link für ' + data.Name);
                    data.internet = 'Seite nicht vorhanden';
                }
                return data;
            }
            else return false;
        })
        .paginate('.gs_seite_vor_wrapper a[href]')
        .write(config.answers.branche + '.json');

How would i do that with x-ray 2 as the format option is missing?

+1, but
.format(function (key, data) {
      switch (key) {
            case 'foo':
                return 'bar' in data;
   }
});

bump -- also looking for an explanation on the missing .prepare() method in x-ray >=2. holding off on upgrading until i get that sorted out

I interested on that information. Right now i'm creating my own format rules on callback but format and prepare filters were interesting :)

bump

it's all set up to handle, just having had time to add it to each of the packages. Would definitely accept a PR, but for now, modifying it afterwards is probably the way to go.

@matthewmueller could be interesting using GitHub tags known how feature are ready to dev for 2.x (like this)


hard coded Tree name in LowRecoilFunctions.h

calculators/LowRecoilFunctions.h:  return GetDouble("MasterAnaDev_recoil_E");
Generally you should not hardcode the tree name but instead use
std::string(MinervaUniverse::GetTreeName()+"_recoil_E")
Can the owner look at this?

Fixed by commit 39fd6f9b37ddd2fa1f980213a7e37ac269f8aff2


[Feature Request] Manual Queue Management

Love this project, just looking into using it!
I'd love to have a system where I can manage the queue manually -- e.g. for when I'm hosting karaoke at my house and I have a friend who needs to leave early and I want to get a song in for them.
As a more complex version of this, it would be great to have a more advanced queueing system, where you could have e.g. a priority queue for people you know are good singers etc that's only used when it's shorter than the default queue. Or, better yet, some sort of plugin-based system where people can develop and choose their own queueing algorithm!
Happy to help contribute since I'm familiar with the stack :slightly_smiling_face:

Hi and thanks, I'm trying to make the codebase easier to work on, so by all means join the Discord if you want to chat about development!
On this specific issue, it's possible, but not likely to be prioritized. KE is meant to be the KJ, where the queue is automatic, fair and predictable with minimal intervention by an admin (if one is even present). It's simple, limited and opinionated by design and that will absolutely cause friction with admins that want to be a KJ. That's unlikely to change anytime soon though, so closing for now.

Sometimes there are circumstances in which the software just doesn't have enough information to be a "good" KJ though (see the example in my original post, or any number of others where e.g. someone is shy and wants to go later etc etc).
But it sounds like we just have different needs for/opinions on karaoke software, so I think it makes sense for me to just use this as inspiration to create my own :slightly_smiling_face:

It's possible for there to be other ordering strategies in the future, but I think exceptions to the current round-robin approach should be very limited. Currently the only exception is for new singers, which get moved up right behind the next-up singer. Beyond that we want the wait times to be as predictable as possible and generally only decrease.
There are definitely many reasons someone may be skipped, so we try to make it easy for users to re-queue songs for their next turn, and don't want to assume that an admin will always be present.


Communication problem between frontend and backend in K8S Clúster

Hi.
We are experiencing a issue in a deployment on a K8S clúster following the guide SC4NSMP-GUI
The pods are running fine without problems, but after access to the application through the browser, after a few seconds, a communication issue is displayed in the screen:

Also it's impossible to save any configuration, no action appears to have effect through the GUI.
The SC4SNMP GUI it's deployed in a K8S Clúster:

There're not detected issues:
Logs ui-backend-deployment:
Defaulted container "ui-backend" out of: ui-backend, patch-log-dirs (init)
[2024-09-16 07:42:24 +0000] [7] [INFO] Starting gunicorn 22.0.0
[2024-09-16 07:42:24 +0000] [7] [INFO] Listening at: http://<IP_ADDRESS>:5000 (7)
[2024-09-16 07:42:24 +0000] [7] [INFO] Using worker: sync
[2024-09-16 07:42:24 +0000] [8] [INFO] Booting worker with pid: 8

Logs ui-backend-worker-deployment:
 -------------- celery@ui-backend-worker-deployment-58cb744585-8hx94 v5.2.7 (dawn-chorus)
--- ***** -----
-- ******* ---- Linux-4.18.0-553.16.1.el8_10.x86_64-x86_64-with-glibc2.36 2024-09-16 07:42:16
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app:         SC4SNMP_UI_backend:0x7f19d47a05e0
- ** ---------- .> transport:   redis://snmp-redis-headless:6379/2
- ** ---------- .> results:     disabled://
- *** --- * --- .> concurrency: 2 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
 -------------- [queues]
                .> apply_changes    exchange=apply_changes(direct) key=apply_changes

[tasks]
  . SC4SNMP_UI_backend.apply_changes.tasks.run_job

[2024-09-16 07:42:17,556: INFO/MainProcess] Connected to redis://snmp-redis-headless:6379/2
[2024-09-16 07:42:17,720: INFO/MainProcess] mingle: searching for neighbors
[2024-09-16 07:42:18,821: INFO/MainProcess] mingle: sync with 1 nodes
[2024-09-16 07:42:18,821: INFO/MainProcess] mingle: sync complete
[2024-09-16 07:42:18,852: INFO/MainProcess] celery@ui-backend-worker-deployment-58cb744585-8hx94 ready.
[2024-09-16 07:42:48,844: INFO/MainProcess] missed heartbeat from celery@ui-backend-worker-deployment-5cc48f5c54-mm4jp

Logs ui-frontend-deployment:
yarn run v1.22.19
$ webpack-dev-server --config demo/webpack.standalone.config.js --port ${DEMO_PORT-8080} --host <IP_ADDRESS>
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:30001/
<i> [webpack-dev-server] On Your Network (IPv4): http://<IP_ADDRESS>:30001/
<i> [webpack-dev-server] Content not from webpack is served from '/frontend/packages/manager/public' directory
(node:28) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
        Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
        Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
(Use `node --trace-deprecation ...` to show where the warning was created)
assets by path *.otf 370 KiB
  asset 62d4d7d369292a9bf23762465ec6d704.otf 94.4 KiB [emitted] (auxiliary name: main)
  asset b4f9eb8ce027016ab9b9860817451d07.otf 93.7 KiB [emitted] (auxiliary name: main)
  asset 410504d49238e955ba7dc23a7f963021.otf 92.4 KiB [emitted] (auxiliary name: main)
  asset 6a386899746222073dd64c5f74d1a69d.otf 89.8 KiB [emitted] (auxiliary name: main)
asset main.js?7eac4df873559deeb723 12.4 MiB [emitted] [immutable] (name: main)
asset index.html 427 bytes [emitted]
runtime modules 27.5 KiB 14 modules
orphan modules 681 bytes [orphan] 1 module
modules by path ../../node_modules/ 4.07 MiB 550 modules
modules by path ./ 277 KiB
  modules by path ./src/ 249 KiB 43 modules
  modules by path ./node_modules/qs/lib/*.js 26.2 KiB
    ./node_modules/qs/lib/index.js 211 bytes [built] [code generated]
    ./node_modules/qs/lib/stringify.js 9.72 KiB [built] [code generated]
    ./node_modules/qs/lib/formats.js 476 bytes [built] [code generated]
    ./node_modules/qs/lib/parse.js 9.18 KiB [built] [code generated]
    ./node_modules/qs/lib/utils.js 6.66 KiB [built] [code generated]
  ./demo/demo.jsx 1.14 KiB [built] [code generated]
  ./util.inspect (ignored) 15 bytes [built] [code generated]
webpack 5.87.0 compiled successfully in 10136 ms
assets by status 370 KiB [cached] 4 assets
assets by status 12.4 MiB [emitted]
  assets by path *.js 12.4 MiB
    asset main.js?c25e383efe5ec4ddbffa 12.4 MiB [emitted] [immutable] (name: main)
    asset main.6c418420d48e2d666e73.hot-update.js 851 bytes [emitted] [immutable] [hmr] (name: main)
  asset index.html 427 bytes [emitted]
  asset main.6c418420d48e2d666e73.hot-update.json 28 bytes [emitted] [immutable] [hmr]
Entrypoint main 12.4 MiB (370 KiB) = main.js?c25e383efe5ec4ddbffa 12.4 MiB main.6c418420d48e2d666e73.hot-update.js 851 bytes 4 auxiliary assets
cached modules 4.34 MiB [cached] 601 modules
runtime modules 27.5 KiB 14 modules
webpack 5.87.0 compiled successfully in 279 ms

Duplicated issue https://github.com/splunk/splunk-connect-for-snmp/issues/1085 we can close it


Internal dag execution

Introduces user APIs that build on top of the previously introduced Graph.

I am still working my way through this PR and won't look at your responses tonight - so don't feel like you need to post them real-time.
My meta-takeaway from this so far is that

There are a bunch of new classes being introduced, and I don't have a clear sense of the execution flow through these new classes - I don't know if it's a written description or a box and pointers diagram or what - but as it stands now this code feels like something that fits in your head but isn't self-explanatory. It doesn't have to be self-explanatory, of course, but it should be something you can explain in a small document or ideally on a napkin :)
Let's be careful about changing our user-facing APIs too much. They're simple and that's a good thing. Changing method names that we expose to users when simply creating a new method name for the internal behavior we want to support is probably a better approach.
I think there's a decent amount of confusion/complexity coming in because we say that pipelines take RDDs and emit PipelineDatasetOut. Instead if we're going to introduce yet another wrapper for a data set, we should at least have the API consistently work with these things both as input and output. I'm still not convinced we need it, but it will at least make the API more consistent and easier to understand and may solve a bunch of the naming/override problems we're seeing.


Add File Storage

Adds file storage ref: #6
This reads from disk every time you read, I could add a memory cache but is that what is meant by Hybrid Storage?

Hi @LarsJK, thank you for contributing to the project. Writing the whole internalStorage down to disk would introduce a huge performance bottleneck when the users want to set or retrieve individual item.
I was thinking of the approach of each Item in the Storage would have its own separated file written on disk.
What do you think?

Sounds good!
I thought maybe the amount of data would be to small to make a difference. I also considered reading only once and keeping a in-memory representation, and that would speed up writes.
I can definitely change it to write to different files tho. I can keep a subfolder in the documents directory called "StatsD_FileStorage" and keep the files named by key in that directory?
I can delete the whole directory in removeAll..
Sounds good?

Hi @LarsJK
I'm currently working on this feature, it's almost done. It also fulfills @khoiln's recommendation.
My approach is

PersistentHandler is responsible to handle all disk-related task, such as Write, CreateFolder, Receive, etc.
DiskStorage is responsible for the external Business Logic. It could be File Expiration, Max Size, and certain attribute rule for each file. It also has ability to fetch/add/remove individual file instead of the whole _interalStorage.

You can take a look at https://github.com/khoiln/swift-statsd-client/tree/disk_storage

Cool, I'll just close this PR then!


large scale characteristics order by descending values in cohort diagnostics tab in shiny

In large scale characteristics in cohortdiagnostis tab. It would be useful to have the results ordered so that the a user can see them without having to order by count or percentage themselves?

makes sense! opened a pr to do this


Feature/onclick popup

Create new component Popup, based on existing Tooltip.
Add new function _renderPopup in Welcome.js, similar to _renderTooltip but called by onClick.
Refactor out renderTooltip and listPropsAndValues from the Tooltip class into standalone functions, and put them into utils.py.

Still to be done:

[x] Styling for popup
[x] Remove debug console logs

I meant to add one or two commits here @nbarlowATI. Mostly design and just going over the baseui and also testing mobile view and how it works with sidebar when open. I am sure there is more work but this would address the open issue.

[ ] the two components are almost identical, see commit sent. So should be one and switch based on a flag.
[ ] Good case of going for hooks.
[ ] when we cannot show table/generate chart onClick popup is too big and perhaps should be disabled
[ ]  Close button (design)
[ ] Final checks

@nbarlowATI please have a little play with it. I think we can merge but may be one or two final tweaks. Right now, if user hovers and a popup is on, it behaves like user wants to compare/explore? Could make popup disappear if user hovers. As you know this is not the case on mobile devices.

Maybe a comment somewhere about absolute and inherit.

Hi @layik I just had a play, and I think it's good like this! :)
FWIW in my opinion, better for the popup not to disappear when the user hovers - I think if the user clicks on a point it's because they want to look at it, so it could potentially be annoying if it disappeared if they accidentally hovered over something else...

Thanks Nick.Agreed.Shall we merge?


Pixelated Images at Output of Sampling Steps

@VSehwag  -
I trained the network on 1 channel by creating a custom data loader.
The loss goes down as expected by 150 epochs.
I also experimented with 200 epochs / 100 epochs.
On sampling 50 images using sampling steps = 250 / 500 /800 , I get some highly pixelated images amongst the 50 images. Following is the output of the pixelated image I got after using 800 sampling steps and training a model for 200 epochs. I used a batch size of 128.
Out of 50 sampled images , 10 images are highly pixelated. Others are smooth and match distribution of training data.

Hi @VSehwag - Just wanted to check if I was missing something during my training -
I tried experimenting with a lot of hyperparameters - sampling steps / schedulers / diffusion steps / learning rate , but nothing helped till now.
Some generated images seem to be good , and some are highly pixelated.  There is no specific pattern in these images.
Below are some pixelated images generated by network.


Homekit entities degrade after fresh reboot.

Home Assistant release with the issue: 0.85.1 - 0.86.4

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.): Observed in both Hass.io and currently in Hassbian on RPI 3B+

Component/platform: HomKit Component - https://www.home-assistant.io/components/homekit_controller/

Description of problem:
After a fresh reboot, all entities work as expected; however, after about 15-30 minutes HA starts to fill up with this error for many homekit devices "Update for light.kitchen_island_pendants fails." Problem exhibited correlates to the inability to turn the light on of off via the states and/or lovelace. The button will slide over, pause then revert to it's previous position and the actual state of the light does not change.
Now, I have observed this specific light (which is on a dimmer) exhibit the behavior above when telling HA to turn it off or on; but if I open up the entity detail window and move the slider for the dimmer functionality, it works as it should. Furthermore; in the ios Home.app, the exact same behavior is exhibited - turning on and off is broken, but choosing the dimmer setting operates the light perfectly.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):
Log Details (ERROR)

Mon Feb 04 2019 20:39:15 GMT-0800 (Pacific Standard Time)

Update for light.kitchen_island_pendants fails

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
    await self.async_device_update()
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/homekit_controller/__init__.py", line 197, in update
    data = pairing.list_accessories_and_characteristics()
  File "/srv/homeassistant/lib/python3.5/site-packages/homekit/controller.py", line 273, in list_accessories_and_characteristics
    response = self.session.get('/accessories')
  File "/srv/homeassistant/lib/python3.5/site-packages/homekit/controller.py", line 573, in get
    return self.sec_http.get(url)
  File "/srv/homeassistant/lib/python3.5/site-packages/homekit/http_impl/secure_http.py", line 65, in get
    return self._handle_request(data)
  File "/srv/homeassistant/lib/python3.5/site-packages/homekit/http_impl/secure_http.py", line 89, in _handle_request
    return self._read_response()
  File "/srv/homeassistant/lib/python3.5/site-packages/homekit/http_impl/secure_http.py", line 154, in _read_response
    response.parse(decrypted)
  File "/srv/homeassistant/lib/python3.5/site-packages/homekit/http_impl/response.py", line 38, in parse
    self._raw_response += part
TypeError: can't concat bool to bytearray

Additional information:

@Jc2k the stack traces in the two issues are not the same. Should we still close as duplicate?

Yes, there are 3 variations of the primary traceback depending on how the network connection fails, this is then followed by this secondary exception that happens on failed connections. So you see this once a minute until you restart. There are examples in the Koogeek ticket we closed recently as well.

https://github.com/home-assistant/home-assistant/issues/18949#issuecomment-454148393
https://github.com/home-assistant/home-assistant/issues/18241#issuecomment-440192011

Thanks! Closing as duplicate.

Awesome guys, thanks!


Add environment documentation to readme

build, preview, and publish sections now include instructions for the new configuration schema

Also my code editor did some linting to this as well


Adapt tof corrections for 4Q detector

refactor the code where necessary to make sure sector alignment works for the 4Q detector:

[ ] aligning with 4 sectors only
[ ] generate dldSectorId from geometrical position in dldPosX,dldPosY

AS the 4Q detector will not be used in the near future, this looses priority.

I will close this since it won't be worked on in near future.


Update the text-only blocks.

The paragraph block was limited to a set number of characters. It makes more sense to allow a text field instead since the editor didn't limit it.
This also exposes the TextWithHeading block for text_with_heading

ga! I didn't see this PR and I've solved this already. Check out the changes in #173 PR? Its all on develop branch and tell me how it looks. https://staging-djangonaut-space.azurewebsites.net/comms/elements


Link to instruction on the website is broken

The link in README.md that links to the installation instructions is currently not working.

Works. Thank you for your quick response and fix!


Added 7 markdown files for beginner documentation of Apache Solr

Appropriate filename for Solr-Terminologies.md would be Glossary.md, It should in the parent directory (search/solr)

Appropriate filename for Solr-Terminologies.md would be Glossary.md, It should in the parent directory (search/solr)

Thank you for your suggestions! I've implemented the changes.

Marked the Glossary terms with superscript


Add prune option

Add option to 'prune' a batch, i.e.:

Identify carriers that were not imaged successfully (requires https://github.com/KBNLresearch/omSipCreator/issues/8)
For each of these carriers, remove all carriers that are part of corresponding PPN from the batch

Output:

Pruned version of original batch
Derived batch that contains all problematic PPNs

Done: https://github.com/KBNLresearch/omSipCreator/commit/2caa26e9bbced9b20675cbc2f94d061d9d3e20c8 Needs some more testing.


Kotlin - ifNotNull offers a nullable receiver

Context
A .transform returns either a null or a value.
Using .onItem().ifNotNull().call { entity -> gives a nullable entity and kotlin complains.
Description
ifNotNull offers a nullable receiver. Kotlin complains and wants a null-check.
Additional details
Using Java 18.0.1, Kotlin 1.6.10 and Quarkus 2.8.1.Final

Would like to explore, were and what @NotNull and @Nullable hints could make sense in general.
With Kotlin, the compiler complains, but also IDE support may improve with those.

Thank you for the exploration.
I would tend to @Nullable and @NotNull from the org.jetbrains.annotations package, since Kotlin is from JetBrains.
The jsr305 is dormant since 2012 so I get a bad feeling about using it.

Thank you for the exploration.
I would tend to @Nullable and @NotNull from the org.jetbrains.annotations package, since Kotlin is from JetBrains. The jsr305 is dormant since 2012 so I get a bad feeling about using it.
Also jsr305 makes license issues with oracle and software issues. See google/guava#2960

Thank you for your thoughts. I would like to provide the type-safety, but also avoid shipping an additional dependency for that purpose.
What about some own Mutiny annotations, and the associated compiler options in the guide?

That sounds nice.
Is it possible to add compiler options in the Mutiny Framework?
It would be bad if I would need to add compiler options myself. If I google about it I only find the need to add gradle and maven arguments in my own gradle/maven file.
Here are additional resources:

https://github.com/JetBrains/kotlin/blob/master/core/compiler.common.jvm/src/org/jetbrains/kotlin/load/java/JvmAnnotationNames.kt
https://youtrack.jetbrains.com/issue/KT-48623

Ok...
the compiler options I thought about are only related to the jsr-305 annotations, own ones are not possible.
What's described in your mentioned ticket

https://youtrack.jetbrains.com/issue/KT-48623
seems to affect my trials: IDE (Intellij) shows nullable type hints (String?) but compiler does not complain on non-null safe access like value.length.

It's not consistent right now, so hopefully becomes better with Kotlin 1.7.
Also it seems like under some circumstances, nullable types are correctly inferred when Mutiny types are declared in Kotlin sources.
So for now, it's not possible to include type safety without shipping additional libraries, and even with them, it's not consistent between Intellij and the Kotlin compiler.
We could try to add @NotNull and @Nullable to smallrye-commons and propose to add those to

https://github.com/JetBrains/kotlin/blob/master/core/compiler.common.jvm/src/org/jetbrains/kotlin/load/java/JvmAnnotationNames.kt
(what would be really cool in my opinion).

@jponge, I would like to hear your opinion on this - and maybe if there's further added value on hinting nullable in Mutiny (or if there's already something present in other smallrye projects, that can be adopted.

Also I see that Uni.combine().all().unis(a,b,c).combinedWith { a,b,c -> fun()} always claims, that a,b,c are not nullable, but I don't use Unis with notNull().

Issue to be postponed for... some while.
See: https://github.com/smallrye/smallrye-mutiny/discussions/1052


Add dockerfile to examples

Simple Dockerfile along with Kuberenetes POD configuration.

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

Thanks for the feedback @robskillington , the suggestions helped to streamline the Dockfile. I have updated the PR with your suggestions as well as reorganize the file hierarchy to be more inline with the other repositories under this organization.

LGTM to me too.