dead loop in tdm_ub_att_ubuntu while execute python tree_cluster.py

There is a dead loop while execute python tree_cluster.py, the output is
Minbatch, batch size: 607, elapsed: 2.37421298027
Minbatch, batch size: 607, elapsed: 2.44371891022
Minbatch, batch size: 607, elapsed: 2.43994808197
Minbatch, batch size: 607, elapsed: 2.27980279922
Minbatch, batch size: 607, elapsed: 2.8827059269
Minbatch, batch size: 608, elapsed: 2.89527893066
Minbatch, batch size: 608, elapsed: 3.00607395172
Minbatch, batch size: 607, elapsed: 2.77252697945
Got empty job, pid: 12971, time: 0
Got empty job, pid: 12992, time: 0
Got empty job, pid: 12962, time: 0
Got empty job, pid: 13021, time: 0
Got empty job, pid: 13012, time: 0
Got empty job, pid: 13030, time: 0
Got empty job, pid: 13039, time: 0
Got empty job, pid: 13053, time: 0
Got empty job, pid: 13048, time: 0
Got empty job, pid: 13062, time: 0
Got empty job, pid: 13075, time: 0
Got empty job, pid: 12834, time: 0
Got empty job, pid: 13084, time: 0
Got empty job, pid: 13094, time: 0
Got empty job, pid: 12854, time: 0
Got empty job, pid: 13125, time: 0
Got empty job, pid: 13157, time: 0
Got empty job, pid: 13166, time: 0
Got empty job, pid: 13171, time: 0
Got empty job, pid: 13184, time: 0
Got empty job, pid: 12863, time: 0
Got empty job, pid: 12877, time: 0
Got empty job, pid: 12899, time: 0
Got empty job, pid: 12882, time: 0
Process 12926 exits
Process 12926 process 607 items
Process 12908 exits
Process 12908 process 607 items
Process 12917 exits
Process 12917 process 607 items
Process 12953 exits
Process 12953 process 607 items
Process 12944 exits
Process 12944 process 607 items
Process 12935 exits
Process 12935 process 608 items
Process 12868 exits
Process 12868 process 608 items
Process 12825 exits
Process 12825 process 607 items
Got empty job, pid: 12992, time: 1
Got empty job, pid: 12962, time: 1
Got empty job, pid: 12971, time: 1
Got empty job, pid: 13021, time: 1
Got empty job, pid: 13012, time: 1
Got empty job, pid: 13030, time: 1
Got empty job, pid: 13039, time: 1
Got empty job, pid: 13053, time: 1
Got empty job, pid: 13048, time: 1
Got empty job, pid: 13062, time: 1
Got empty job, pid: 13075, time: 1
Got empty job, pid: 12834, time: 1
Got empty job, pid: 13084, time: 1
Got empty job, pid: 13094, time: 1
Got empty job, pid: 12854, time: 1
Got empty job, pid: 13125, time: 1
Got empty job, pid: 13157, time: 1
Got empty job, pid: 13166, time: 1
Got empty job, pid: 13171, time: 1
Got empty job, pid: 13184, time: 1
Got empty job, pid: 12863, time: 1
Got empty job, pid: 12877, time: 1
Got empty job, pid: 12899, time: 1
Got empty job, pid: 12882, time: 1
Got empty job, pid: 12962, time: 2
Got empty job, pid: 12992, time: 2
Got empty job, pid: 13021, time: 2
Got empty job, pid: 13012, time: 2
Got empty job, pid: 12971, time: 2
Got empty job, pid: 13030, time: 2
Got empty job, pid: 13039, time: 2
Got empty job, pid: 13053, time: 2
Got empty job, pid: 13048, time: 2
Got empty job, pid: 13062, time: 2
Got empty job, pid: 13075, time: 2
Got empty job, pid: 12834, time: 2
Got empty job, pid: 13084, time: 2
Got empty job, pid: 13094, time: 2
Got empty job, pid: 12854, time: 2
Got empty job, pid: 13125, time: 2
Got empty job, pid: 13157, time: 2
Got empty job, pid: 13166, time: 2
Got empty job, pid: 13171, time: 2
Got empty job, pid: 13184, time: 2
Got empty job, pid: 12863, time: 2
Got empty job, pid: 12877, time: 2
Got empty job, pid: 12899, time: 2
Got empty job, pid: 12882, time: 2
Got empty job, pid: 12992, time: 3
Got empty job, pid: 12962, time: 3
Got empty job, pid: 13012, time: 3
Got empty job, pid: 12971, time: 3
Got empty job, pid: 13021, time: 3
Got empty job, pid: 13030, time: 3
Got empty job, pid: 13039, time: 3
Got empty job, pid: 13053, time: 3
Got empty job, pid: 13048, time: 3
Got empty job, pid: 13062, time: 3
Got empty job, pid: 13075, time: 3
Process 12834 exits
Process 12834 process 0 items
Got empty job, pid: 13084, time: 3
Got empty job, pid: 13094, time: 3
Process 12854 exits
Process 12854 process 0 items
Got empty job, pid: 13125, time: 3
Got empty job, pid: 13157, time: 3
Got empty job, pid: 13166, time: 3
Got empty job, pid: 13171, time: 3
Got empty job, pid: 13184, time: 3
Process 12863 exits
Process 12863 process 0 items
Process 12877 exits
Process 12877 process 0 items
Process 12899 exits
Process 12899 process 0 items
Process 12882 exits
Process 12882 process 0 items
Got empty job, pid: 13075, time: 17
Got empty job, pid: 13084, time: 17
Got empty job, pid: 13048, time: 17
Got empty job, pid: 13094, time: 17
Got empty job, pid: 13125, time: 17
Got empty job, pid: 13157, time: 17
Got empty job, pid: 13166, time: 17
Got empty job, pid: 13171, time: 17
Got empty job, pid: 13184, time: 17
Got empty job, pid: 13021, time: 18
Got empty job, pid: 13012, time: 18
Got empty job, pid: 12962, time: 18
Got empty job, pid: 13053, time: 18
Got empty job, pid: 12971, time: 18
Got empty job, pid: 13030, time: 18
Got empty job, pid: 13039, time: 18
Got empty job, pid: 12992, time: 18
Got empty job, pid: 13062, time: 18
Got empty job, pid: 13075, time: 18
Got empty job, pid: 13084, time: 18
Got empty job, pid: 13048, time: 18
Got empty job, pid: 13094, time: 18
Got empty job, pid: 13125, time: 18
Got empty job, pid: 13157, time: 18
Got empty job, pid: 13166, time: 18
Got empty job, pid: 13171, time: 18
Got empty job, pid: 13184, time: 18
Got empty job, pid: 13012, time: 19
Got empty job, pid: 12962, time: 19
Got empty job, pid: 13053, time: 19
Got empty job, pid: 12971, time: 19
Got empty job, pid: 13030, time: 19

The reason may be the input data set is small, but the parall parameter in data/tdm.json is large. So, if you use mock.dat as input, set parall to small num like 4 or 8.

Even with a large dataset, the parall parameter in data/tdm.json is smaller than cpu nums perfer. It's just a suggestion.

There is a dead loop while execute python tree_cluster.py, the output is
Minbatch, batch size: 607, elapsed: 2.37421298027
Minbatch, batch size: 607, elapsed: 2.44371891022
Minbatch, batch size: 607, elapsed: 2.43994808197
Minbatch, batch size: 607, elapsed: 2.27980279922
Minbatch, batch size: 607, elapsed: 2.8827059269
Minbatch, batch size: 608, elapsed: 2.89527893066
Minbatch, batch size: 608, elapsed: 3.00607395172
Minbatch, batch size: 607, elapsed: 2.77252697945
Got empty job, pid: 12971, time: 0
Got empty job, pid: 12992, time: 0
Got empty job, pid: 12962, time: 0
Got empty job, pid: 13021, time: 0
Got empty job, pid: 13012, time: 0
Got empty job, pid: 13030, time: 0
Got empty job, pid: 13039, time: 0
Got empty job, pid: 13053, time: 0
Got empty job, pid: 13048, time: 0
Got empty job, pid: 13062, time: 0
Got empty job, pid: 13075, time: 0
Got empty job, pid: 12834, time: 0
Got empty job, pid: 13084, time: 0
Got empty job, pid: 13094, time: 0
Got empty job, pid: 12854, time: 0
Got empty job, pid: 13125, time: 0
Got empty job, pid: 13157, time: 0
Got empty job, pid: 13166, time: 0
Got empty job, pid: 13171, time: 0
Got empty job, pid: 13184, time: 0
Got empty job, pid: 12863, time: 0
Got empty job, pid: 12877, time: 0
Got empty job, pid: 12899, time: 0
Got empty job, pid: 12882, time: 0
Process 12926 exits
Process 12926 process 607 items
Process 12908 exits
Process 12908 process 607 items
Process 12917 exits
Process 12917 process 607 items
Process 12953 exits
Process 12953 process 607 items
Process 12944 exits
Process 12944 process 607 items
Process 12935 exits
Process 12935 process 608 items
Process 12868 exits
Process 12868 process 608 items
Process 12825 exits
Process 12825 process 607 items
Got empty job, pid: 12992, time: 1
Got empty job, pid: 12962, time: 1
Got empty job, pid: 12971, time: 1
Got empty job, pid: 13021, time: 1
Got empty job, pid: 13012, time: 1
Got empty job, pid: 13030, time: 1
Got empty job, pid: 13039, time: 1
Got empty job, pid: 13053, time: 1
Got empty job, pid: 13048, time: 1
Got empty job, pid: 13062, time: 1
Got empty job, pid: 13075, time: 1
Got empty job, pid: 12834, time: 1
Got empty job, pid: 13084, time: 1
Got empty job, pid: 13094, time: 1
Got empty job, pid: 12854, time: 1
Got empty job, pid: 13125, time: 1
Got empty job, pid: 13157, time: 1
Got empty job, pid: 13166, time: 1
Got empty job, pid: 13171, time: 1
Got empty job, pid: 13184, time: 1
Got empty job, pid: 12863, time: 1
Got empty job, pid: 12877, time: 1
Got empty job, pid: 12899, time: 1
Got empty job, pid: 12882, time: 1
Got empty job, pid: 12962, time: 2
Got empty job, pid: 12992, time: 2
Got empty job, pid: 13021, time: 2
Got empty job, pid: 13012, time: 2
Got empty job, pid: 12971, time: 2
Got empty job, pid: 13030, time: 2
Got empty job, pid: 13039, time: 2
Got empty job, pid: 13053, time: 2
Got empty job, pid: 13048, time: 2
Got empty job, pid: 13062, time: 2
Got empty job, pid: 13075, time: 2
Got empty job, pid: 12834, time: 2
Got empty job, pid: 13084, time: 2
Got empty job, pid: 13094, time: 2
Got empty job, pid: 12854, time: 2
Got empty job, pid: 13125, time: 2
Got empty job, pid: 13157, time: 2
Got empty job, pid: 13166, time: 2
Got empty job, pid: 13171, time: 2
Got empty job, pid: 13184, time: 2
Got empty job, pid: 12863, time: 2
Got empty job, pid: 12877, time: 2
Got empty job, pid: 12899, time: 2
Got empty job, pid: 12882, time: 2
Got empty job, pid: 12992, time: 3
Got empty job, pid: 12962, time: 3
Got empty job, pid: 13012, time: 3
Got empty job, pid: 12971, time: 3
Got empty job, pid: 13021, time: 3
Got empty job, pid: 13030, time: 3
Got empty job, pid: 13039, time: 3
Got empty job, pid: 13053, time: 3
Got empty job, pid: 13048, time: 3
Got empty job, pid: 13062, time: 3
Got empty job, pid: 13075, time: 3
Process 12834 exits
Process 12834 process 0 items
Got empty job, pid: 13084, time: 3
Got empty job, pid: 13094, time: 3
Process 12854 exits
Process 12854 process 0 items
Got empty job, pid: 13125, time: 3
Got empty job, pid: 13157, time: 3
Got empty job, pid: 13166, time: 3
Got empty job, pid: 13171, time: 3
Got empty job, pid: 13184, time: 3
Process 12863 exits
Process 12863 process 0 items
Process 12877 exits
Process 12877 process 0 items
Process 12899 exits
Process 12899 process 0 items
Process 12882 exits
Process 12882 process 0 items
Got empty job, pid: 13075, time: 17
Got empty job, pid: 13084, time: 17
Got empty job, pid: 13048, time: 17
Got empty job, pid: 13094, time: 17
Got empty job, pid: 13125, time: 17
Got empty job, pid: 13157, time: 17
Got empty job, pid: 13166, time: 17
Got empty job, pid: 13171, time: 17
Got empty job, pid: 13184, time: 17
Got empty job, pid: 13021, time: 18
Got empty job, pid: 13012, time: 18
Got empty job, pid: 12962, time: 18
Got empty job, pid: 13053, time: 18
Got empty job, pid: 12971, time: 18
Got empty job, pid: 13030, time: 18
Got empty job, pid: 13039, time: 18
Got empty job, pid: 12992, time: 18
Got empty job, pid: 13062, time: 18
Got empty job, pid: 13075, time: 18
Got empty job, pid: 13084, time: 18
Got empty job, pid: 13048, time: 18
Got empty job, pid: 13094, time: 18
Got empty job, pid: 13125, time: 18
Got empty job, pid: 13157, time: 18
Got empty job, pid: 13166, time: 18
Got empty job, pid: 13171, time: 18
Got empty job, pid: 13184, time: 18
Got empty job, pid: 13012, time: 19
Got empty job, pid: 12962, time: 19
Got empty job, pid: 13053, time: 19
Got empty job, pid: 12971, time: 19
Got empty job, pid: 13030, time: 19

The reason may be the input data set is small, but the parall parameter in data/tdm.json is large. So, if you use mock.dat as input, set parall to small num like 4 or 8.

As you said, when the data set is small, you should change parall to small number. The reason of the dead loop is that a worker process is exited only when it has executed some tasks, when the data set is small, some worker can not get task.

Even with a large dataset, the parall parameter in data/tdm.json is smaller than cpu nums perfer. It's just a suggestion.

The data/tdm.json is only a example configuration, user should config it to suit their job


Upgrade to Cypress 9 and Webpack 5

Cant run the features files for now but everything else should work

Codecov Report

Merging #4 (e59a5b0) into main (1b5704c) will increase coverage by 0.90%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   85.00%   85.90%   +0.90%
==========================================
  Files           9       10       +1
  Lines         140      149       +9
==========================================
+ Hits          119      128       +9
  Misses         21       21

Flag
Coverage Δ

unittests
85.90% <ø> (+0.90%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

app/__init__.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Adding Kogito to Release list

Adding Kogito to the release list. It seems that the releasability is failed. Prow is configured and CI is green though. I'll take a look.

/lgtm

cc @ZhiminXiang @evankanderson

/lgtm
/approve


python3Packages.geocachingapi: init at 0.1.0

Motivation for this change
Python API to control the Geocaching API
https://github.com/Sholofly/geocachingapi-python
This could become a possible Home Assistant dependency (https://github.com/home-assistant/core/pull/50284).
Things done

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python38Packages.geocachingapi
python39Packages.geocachingapi


Update style.css//style

Please submit quality pull requests and read contributing.md file before creating pull request
Good luck 👍


This is perfect for a project I'm working on

Sorry, this isn't an issue just wanted to say this is an awesome project! (I couldn't find your email or personal site) I am currently developing a React version of Things 3 and this will work perfectly for my project. Thank you!
Check out the work in progress version here: https://things-mobx-qsljjkybik.now.sh
I'd love to hear your thoughts 😄

Hey Matthew!
Love the idea that someone is already using this library in a side project. Let me know if you have any problems so I can create a proper fix for it.
As for the link I think it's broken. I'm unable to access your project, but would love to try it out!
Kind regards
Jens


pg_partman: init at 4.1.0

Motivation for this change
To add pg_partman, a partition manager extension for Postgres.
Things done

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

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

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

Hi @thoughtpolice, I wanted to ask you for a review, but github overzealously did that (in my name, without my consent, nonetheless.) Still, please when you have the time, take a look, I've already tried it with postgresql 11 and it works like a charm.
Here's a short gif showing pg_partman built via this nix expression in a cluster where partitioning and retention was synced successfully from the master to the slaves:

@GrahamcOfBorg build postgresqlPackages.pg_partman


registry: Add Missing Rust Crates

We recently cleaned up our README, and started referencing the Registry, but we want to make sure that the crates are still in the registry.
Relates https://github.com/open-telemetry/opentelemetry-rust/issues/1582

@hdost you can fix the format issue either by running npm run fix:format or comment /fix:format on this PR

✅


WordPress init container to simplify SSL configuration

Init container added to simplify SSL configuration behind a reverse proxy
Modify post_install.md to document SSL configuration and Ingress modification

If your pull request concerns an existing Marketplace application, please make sure you have:

[x] Notified the Maintainer of the application in this pull request so that they are aware of your proposal.
[x] Outlined the changes you are proposing, and the reasons these are required (e.g. stability, compatibility with new versions of Kubernetes implementations, etc).
[x] Tested that the application works with the proposed updates applied (including a screenshot)

lgtm


Black background is displayed in dialog boxes

What was the ativity?
Open new playlist creation dialog box.
What was observed?
Black color is displayed behind the dialog box
Same problem occured, while opening delete dialog box in playlist.

Issue is identified in development mode. Thank file the issue

This issue recreated in asus mobile only.

I didn't face this in HTC One


Camera observations fail in jupyter (ipython) notebook

When a Jupyter notebook uses the %matplotlib notebook magic, the following error message results from trying to make a camera observation (even in the demos):
%matplotlib notebook
%run ./demos/bunny.py
/usr/local/depot/Python-3.5.1/lib/python3.5/site-packages/matplotlib/backend_bases.py:2445: MatplotlibDeprecationWarning: Using default event loop until function specific to this GUI is implemented
  warnings.warn(str, mplDeprecation)

---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
/home/jlovell/cherab/raysect/demos/bunny.py in <module>()
     69 camera.spectral_rays = 15
     70 camera.spectral_bins = 15
---> 71 camera.observe()
     72
     73 ioff()

/home/jlovell/cherab/raysect/raysect/optical/observer/base/observer.pyx in raysect.optical.observer.base.observer._ObserverBase.observe (raysect/optical/observer/base/observer.c:7202)()

/home/jlovell/cherab/raysect/raysect/optical/observer/base/observer.pyx in raysect.optical.observer.base.observer._ObserverBase.observe (raysect/optical/observer/base/observer.c:6906)()

/home/jlovell/cherab/raysect/raysect/optical/observer/base/observer.pyx in raysect.optical.observer.base.observer.Observer2D._initialise_pipelines (raysect/optical/observer/base/observer.c:18820)()

/home/jlovell/cherab/raysect/raysect/optical/observer/pipeline/rgb.pyx in raysect.optical.observer.pipeline.rgb.RGBPipeline2D.initialise (raysect/optical/observer/pipeline/rgb.c:6360)()

/home/jlovell/cherab/raysect/raysect/optical/observer/pipeline/rgb.pyx in raysect.optical.observer.pipeline.rgb.RGBPipeline2D._start_display (raysect/optical/observer/pipeline/rgb.c:7633)()

/usr/local/depot/Python-3.5.1/lib/python3.5/site-packages/matplotlib/pyplot.py in pause(interval)
    298                 canvas.draw()
    299             show(block=False)
--> 300             canvas.start_event_loop(interval)
    301             return
    302

/usr/local/depot/Python-3.5.1/lib/python3.5/site-packages/matplotlib/backends/backend_nbagg.py in start_event_loop(self, timeout)
    192
    193     def start_event_loop(self, timeout):
--> 194         FigureCanvasBase.start_event_loop_default(self, timeout)
    195
    196     def stop_event_loop(self):

/usr/local/depot/Python-3.5.1/lib/python3.5/site-packages/matplotlib/backend_bases.py in start_event_loop_default(self, timeout)
   2451         self._looping = True
   2452         while self._looping and counter * timestep < timeout:
-> 2453             self.flush_events()
   2454             time.sleep(timestep)
   2455             counter += 1

/usr/local/depot/Python-3.5.1/lib/python3.5/site-packages/matplotlib/backend_bases.py in flush_events(self)
   2400         backends with GUIs.
   2401         """
-> 2402         raise NotImplementedError
   2403
   2404     def start_event_loop(self, timeout):

NotImplementedError:

Perhaps the deprecation warning is relevant here?
Note too that if the %matplotlib notebook line is omitted, the demo seems to run (the matplotlib deprecation warning remains), but no output figure is produced.

It seems the pause() function does not actually need to be called for the notebook backend, which operates similarly to iPython's %pylab magic (i.e. updates to the plots are rendered immediately). Having checked on SO, the pause() and draw() functions are not even appropriate for such a backend, so I doubt I'll have much luck getting something implemented upstream in matplotlib anyway.
I can get camera.observe() to work in the notebook by placing a try/except guard around the calls to plt.pause() in the appropriate pipeline. Since the pause function is already a workaround for interactivity, I think it's reasonable to skip the workaround in instances where it isn't needed (and actually breaks the function):
# workaround for interactivity for QT backend
try:
    plt.pause(0.1)
except NotImplementedError:
    pass

Would you accept adding this for each of the relevant pipelines in a PR?


x86 build failure

x86 is doubtless not very important, but I found a regression with it in 1.5.
Building v1.5 (or 1.5.1) for x86 with gcc 6 in i686 Fedora 24, using  STATIC=0 OMP=0 PREFETCH=1 SYM=1 SSE=0, fails with:
   /builddir/build/BUILD/libxsmm-1.5.1/src/libxsmm_timer.c:49:5: error: inconsistent operand constraints in an 'asm'
        __asm__ __volatile__ ("rdtsc" : "=a"(CYCLE), "=d"(libxsmm_timer_rdtsc_hi_)); \
        ^
   /builddir/build/BUILD/libxsmm-1.5.1/src/libxsmm_timer.c:79:3: note: in expansion of macro 'LIBXSMM_TIMER_RDTSC'
      LIBXSMM_TIMER_RDTSC(result);
      ^~~~~~~~~~~~~~~~~~~

In case you're interested, I'm looking at this with RPM packaging for inclusion in Fedora https://bugzilla.redhat.com/show_bug.cgi?id=1389016.

Thanks for reporting!
First of all, there is a quality goal sounding like "it should compile everywhere", which includes different tool chains (compilers, etc), different Linux distributions (perhaps "outdated"), and more. This goal mean that s the code is occasionally checked to compile on 32-bit platforms. However, the library does not support IA-32 in general! The latter is due to the calling convention of our JIT-generated code, which is exposed to support any particular calling convention (this is btw also the blocker for missing JIT support under Windows).
Having said 32-bit is not supported in general, there is still value to use this library on 32-bit platforms:

Stand-alone out-of-place matrix transpose routines
Statically generated SMM kernels
Reference code for DNN
etc.

However, I doubt that an i686 package should be provided, and I strongly recommend to not provide 32-bit packages (i686 or whatever it is called)!

Thanks, and apologies that items are crossing here and on the package
review, where I'll note this.

As an exercise, I've fixed this in the master branch (though 32-bit remains unsupported, and very likely will not be supported ever).


Is kojiapi need blueprints?

Now I found the 'PostCompose' that composer kojiapi handle build image func has no blueprints or the bp is default value?
So I want to know if  kojiapi no need blueprints, if that what replace?
Thanks.
the related code:
// internal/kojiapi/server.go > PostCompose

// ...
bp := &blueprint.Blueprint{}
err = bp.Initialize()
if err != nil {
	panic("Could not initialize empty blueprint.")
}

//...

At the moment the koji API does not support customisations, which is why it just uses the standard blueprints. It only builds "plain" images. This is something we could in principle extend and allow customisations in the same way as tho composer api (internal/cloud/). Though we have not had a compelling use-case yet, so not sure if we want to go down that route, or if we should rather attempt to merge the two APIs into one.

OK, thanks reply


Godot 4 project convertor failing to load a music file

Godot version
4.0 RC1
System information
Linux Mint 20.3 Cinnamon
Issue description
Tried converting a 3.5 game to 4.0 RC1. The conversion popup menu closed after a few seconds, and trying to edit the game crashes the entire engine with the following errors, which seem to be related to one music file not loading:

Not sure what's causing the issue, because when I created a new project with only that file and converted it I didn't get these errors, but consistently get them when trying to convert that game.
Steps to reproduce

Download the reproduction project below
Import in Godot 4.0, and click "convert full project"
If the bug happens, the engine will crash whenever trying to edit or run the converted project

Minimal reproduction project
Music Convertor Crash Demo.zip

4.0 RC1 on Windows 10:
While many errors were prompted in console and the main scene wasn't loaded in the editor, I didn't had crash and was able to run the converted project.
Now, If I remove the ".import" folder and the files with ".import" extension before the "import & convert" process, most of the errors are gone and the main scene is successfully loaded.
For example, the ogg vorbis importer's name changed between 3.x & 4.x but the converter don't treat these "import" files :
https://github.com/godotengine/godot/blob/3.x/modules/stb_vorbis/resource_importer_ogg_vorbis.cpp#L37-L39
https://github.com/godotengine/godot/blob/master/modules/vorbis/resource_importer_ogg_vorbis.cpp#L44-L46
It may be a good idea to have the project converter removes the ".import" files/folder

You should not remove .import files, they hold information for your import configuration. By removing those files you reset them to defaults, even those which worked perfectly fine before. The folder you can remove, it's transient and is not used in Godot 4 (we now have .godot instead).

Ok. Just tried with only removing the import folder and had the same problems as initial report, so it seems that project converter should handle convertion for ".import" files too

The errors changed in godot 4.0.2: the music file does not create any issues anymore
my error log on Ubuntu 20.04, it's all .ttf (font) related:
  editor/export/editor_export.cpp:227 - Condition "!preset.is_valid()" is true. Continuing.
--- Debug adapter server started ---
--- GDScript language server started ---
  editor/editor_file_system.cpp:2267 - Condition "!importer.is_valid()" is true. Continuing.
  editor/editor_file_system.cpp:2267 - Condition "!importer.is_valid()" is true. Continuing.
  No loader found for resource: res://m6x11.ttf.
  scene/resources/resource_format_text.cpp:174 - res://MainMenu.tscn:10 - Parse Error: [ext_resource] referenced non-loaded resource at: res://m6x11.ttf
  scene/resources/resource_format_text.cpp:621 - res://MainMenu.tscn:10 - Parse Error: [ext_resource] referenced non-loaded resource at: res://m6x11.ttf
  Failed loading resource: res://MainMenu.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_data.cpp:574 - Index p_idx = 1 is out of bounds (edited_scene.size() = 1).

Fixed by #74580.


A JS mini project!

Hi! Sandeep, I wanted to add a JS mini 'Modal Window' project in your repo to contribute to open source and hactoberfest.

Sure, go ahead.
Do follow the guidelines and contributing steps.
Key things to keep in mind:

Create a separate branch
Create your project folder inside /public/Projects
The html file should be named index.html
When project is completed, take a screen shot or a gif and upload it to assets folder by giving proper name.
Finally your project folder should have a info.txt file with required fields (see template for reference)

Happy coding 🚀


Connection reset exception on websocket server

Ember server @ 1.0.0-M43
Connection resets are currently being logged as error in WebSocketHelpers:
https://github.com/http4s/http4s/blob/v1.0.0-M43/ember-server/shared/src/main/scala/org/http4s/ember/server/internal/WebSocketHelpers.scala#L104
Exception trace:
[info] java.io.IOException: Connection reset
[info] 	at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:425)
[info] 	at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:195)
[info] 	at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:217)
[info] 	at java.base/sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:312)
[info] 	at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113)
[info] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[info] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[info] 	at java.base/java.lang.Thread.run(Thread.java:840)
[info] 	at delay @ fs2.io.net.SocketCompanionPlatform$AsyncSocket.$anonfun$readChunk$1(SocketPlatform.scala:120)
[info] 	at async @ fs2.io.net.SocketCompanionPlatform$AsyncSocket.readChunk(SocketPlatform.scala:114)

Its hard to reproduce, basically closing the connection on client side while the underlying logic is trying to read from its connection
As this behavior is driven by the client, should this log level changed to debug, like the other cases (end of stream and broken pipe) - or is there any other way to catch this exception?

I can see that the errorHandler is not called by connection exception like this, should we change this logic to call errorHandler in order to be able to catch exceptions like this from outside?


fix(autoware_behavior_path_avoidance_by_lane_change_module): fix unusedFunction

Description
This is a fix based on cppcheck unusedFunction warnings.
planning/behavior_path_planner/autoware_behavior_path_avoidance_by_lane_change_module/src/interface.cpp:50:0: style: The function 'processOnEntry' is never used. [unusedFunction]
void AvoidanceByLaneChangeInterface::processOnEntry()
^

planning/behavior_path_planner/autoware_behavior_path_avoidance_by_lane_change_module/src/manager.cpp:191:0: style: The function 'createNewSceneModuleInstance' is never used. [unusedFunction]
AvoidanceByLaneChangeModuleManager::createNewSceneModuleInstance()
^

Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@satoshi-ota
Thank you for your confirmation.
I was able to solve the problem by moving the function used from ,hpp to .cpp, rather than deleting the function, so I used that method.
Since the package is different, I have fixed the problem in #8736.
I will close this PR.


Stabilize flaky polling tests

Description
Small update to polling tests that test timeouts to use a wider timeout range to give ample time for the test to run properly.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Avoid blinking

Hi, thank you for nice product!
But it is somehow dissapointment that features are blinking (it looks clear all and add all) in filtered case.
https://flatgeobuf.org/examples/openlayers/filtered.html
I read source code but I can't understand how to achieve this.
Is it possible?
If not, I want to have it as new feature.

It took me a second to understand what you meant - it seems specific to the openlayers demo.
The leaflet example doesn't exhibit the problem you're reporting, right? https://flatgeobuf.org/examples/leaflet/filtered.html
I'm not familiar with openlayers, but it looks like we're triggering a reload right after the initial load:

I've reworked the logic to what I think is the better way and it doesn't blink anymore.

Confirmed that the redundant load is gone. 👍


Creating VM with pxeboot mode fails validation

I am trying to create a VM in proxmox with pxe=true option. Followed the proxmox provider documentation pxe example but provider complains about cloud-init when I try applying the config.
Below is my resource definition
resource "proxmox_vm_qemu" "testvm1" {
    name                      = "auto1"
    agent                     = 0
    boot                      = "order=net0;scsi0"
    onboot                    = true
    oncreate                  = false
    memory                    = 2048
    cores                     = 2
    pxe                       = true
    target_node               = "test1"
    network {
        bridge    = "vmbr0"
        firewall  = false
        link_down = false
        model     = "virtio"
    }
}

proxmox_vm_qemu.testvm1: Creating...
╷
│ Error: cloud-init parameters only supported on clones or updates
│
│   with proxmox_vm_qemu.testvm1,
│   on main.tf line 60, in resource "proxmox_vm_qemu" "testvm1":
│   60: resource "proxmox_vm_qemu" "testvm1" {
│
╵

Provider version
proxmox = {
      source = "Telmate/proxmox"
      version = "2.9.13"
    }

To give a bit more information, I tested the same code in 2.9.11 and it worked.

it's a bug in 2.9.13, see this issue: https://github.com/Telmate/terraform-provider-proxmox/issues/701
it works fine if you use 2.9.10


donePublish fires twice

I've noticed unexpected behaviour regard to "donePublish" event.
Steps to reproduce:

Start stream (flv relayed by ffmpeg) forwarding to NMS
Getting donePublish 2 times.

Logs:
[8/18/2020, 10:58:10 AM] LOG [Redis Client]  Connected to Redis client on: [url]
8/18/2020 10:58:11 1194 [INFO] Node Media Trans Server started for apps: [ live ] , MediaRoot: /tmp/mediaroot, ffmpeg version: 4.2.1
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "preConnect"]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
8/18/2020 11:04:30 1194 [INFO] [rtmp connect] id=3N06YDS2 ip=::ffff:<IP_ADDRESS> app=live args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postConnect]]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on prePublish]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] New stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "postPublish"]]  id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [Transmuxing MP4] /live/8690093248329492-5f3bb400d85dfb0007889ab5 to /tmp/mediaroot/live/8690093248329492-5f3bb400d85dfb0007889ab5/2020-08-18-11-04-30.mp4
8/18/2020 11:04:30 1194 [INFO] [Transmuxing HLS] /live/8690093248329492-5f3bb400d85dfb0007889ab5 to /tmp/mediaroot/live/8690093248329492-5f3bb400d85dfb0007889ab5/index.m3u8
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "preConnect"]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
8/18/2020 11:04:30 1194 [INFO] [rtmp connect] id=IVSVHNAC ip=::ffff:<IP_ADDRESS> app=live args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postConnect]]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on prePlay]]  id=IVSVHNAC StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postPlay]]  id=IVSVHNAC StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [rtmp play] Join stream. id=IVSVHNAC streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5  streamId=1
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] Handle video. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 frame_type=1 codec_id=7 codec_name=H264 640x480
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] Handle audio. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 sound_format=10 sound_type=2 sound_size=1 sound_rate=3 codec_name=AAC 16000 1ch
8/18/2020 11:08:07 1194 [INFO] [rtmp publish] Close stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:08:07 1194 [INFO] [rtmp publish] Close stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  Warning! Event already fired for stream 3N06YDS2
8/18/2020 11:08:07 1194 [INFO] [rtmp disconnect] id=3N06YDS2
[8/18/2020, 11:08:07 AM] LOG [[NodeEvent on doneConnect]]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
8/18/2020 11:08:07 1194 [INFO] [rtmp play] Close stream. id=IVSVHNAC streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
8/18/2020 11:08:07 1194 [INFO] [rtmp disconnect] id=IVSVHNAC
[8/18/2020, 11:08:07 AM] LOG [[NodeEvent on doneConnect]]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
8/18/2020 11:08:07 1194 [INFO] [Transmuxing end] /live/8690093248329492-5f3bb400d85dfb0007889ab5

Need more info. What does you config object look like? donePublish is emitted in rtmpSession and is fired for each RTMP stream session. Could be emitted in other sessions too, but not sure off the top of my head.

My NMS configs:
nms: {
  logType: 3,

  rtmp: {
    port: process.env.MEDIA_SERVER_RTMP_PORT,
    chunk_size: 60000,
    gop_cache: true, // try editin to "false" to reduce latency
    ping: 30,
    ping_timeout: 60,
  },
  http: {
    port: process.env.MEDIA_SERVER_HTTP_PORT,
    mediaroot: process.env.MEDIA_SERVER_STORAGE,
    allow_origin: '*',
  },
  trans: {
    ffmpeg: process.env.MEDIA_SERVER_FFMPEG,
    tasks: [
      {
        app: 'live',

        // Record to mp4
        mp4Flags: '[movflags=faststart]',
        mp4: true,

        // Remux to HLS/DASH
        hls: true,
        hlsFlags: '[hls_time=2:hls_list_size=0:hls_flags=delete_segments]',
      },
    ],
  },
};

As we may see there're 2 rtmp sessions here:
[8/18/2020, 10:58:10 AM] LOG [Redis Client]  Connected to Redis client on: [REDIS URL]
8/18/2020 10:58:11 1194 [INFO] Node Media Trans Server started for apps: [ live ] , MediaRoot: [media-path], ffmpeg version: 4.2.1
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "preConnect"]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
8/18/2020 11:04:30 1194 [INFO] [rtmp connect] id=3N06YDS2 ip=::ffff:<IP_ADDRESS> app=live args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postConnect]]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on prePublish]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] New stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "postPublish"]]  id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [Transmuxing MP4] /live/8690093248329492-5f3bb400d85dfb0007889ab5 to [media-path]/live/8690093248329492-5f3bb400d85dfb0007889ab5/2020-08-18-11-04-30.mp4
8/18/2020 11:04:30 1194 [INFO] [Transmuxing HLS] /live/8690093248329492-5f3bb400d85dfb0007889ab5 to [media-path]/live/8690093248329492-5f3bb400d85dfb0007889ab5/index.m3u8
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "preConnect"]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
8/18/2020 11:04:30 1194 [INFO] [rtmp connect] id=IVSVHNAC ip=::ffff:<IP_ADDRESS> app=live args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postConnect]]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on prePlay]]  id=IVSVHNAC StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postPlay]]  id=IVSVHNAC StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [rtmp play] Join stream. id=IVSVHNAC streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5  streamId=1
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] Handle video. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 frame_type=1 codec_id=7 codec_name=H264 640x480
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] Handle audio. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 sound_format=10 sound_type=2 sound_size=1 sound_rate=3 codec_name=AAC 16000 1ch
8/18/2020 11:08:07 1194 [INFO] [rtmp publish] Close stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:08:07 1194 [INFO] [rtmp publish] Close stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  Warning! Event already fired for stream 3N06YDS2
8/18/2020 11:08:07 1194 [INFO] [rtmp disconnect] id=3N06YDS2
[8/18/2020, 11:08:07 AM] LOG [[NodeEvent on doneConnect]]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
8/18/2020 11:08:07 1194 [INFO] [rtmp play] Close stream. id=IVSVHNAC streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
8/18/2020 11:08:07 1194 [INFO] [rtmp disconnect] id=IVSVHNAC
[8/18/2020, 11:08:07 AM] LOG [[NodeEvent on doneConnect]]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
8/18/2020 11:08:07 1194 [INFO] [Transmuxing end] /live/8690093248329492-5f3bb400d85dfb0007889ab5

I'd like to know a cases when "preConnect" event being fired.

Need more info. What does you config object look like? donePublish is emitted in rtmpSession and is fired for each RTMP stream session. Could be emitted in other sessions too, but not sure off the top of my head.

My NMS configs:
nms: {
  logType: 3,

  rtmp: {
    port: process.env.MEDIA_SERVER_RTMP_PORT,
    chunk_size: 60000,
    gop_cache: true, // try editin to "false" to reduce latency
    ping: 30,
    ping_timeout: 60,
  },
  http: {
    port: process.env.MEDIA_SERVER_HTTP_PORT,
    mediaroot: process.env.MEDIA_SERVER_STORAGE,
    allow_origin: '*',
  },
  trans: {
    ffmpeg: process.env.MEDIA_SERVER_FFMPEG,
    tasks: [
      {
        app: 'live',

        // Record to mp4
        mp4Flags: '[movflags=faststart]',
        mp4: true,

        // Remux to HLS/DASH
        hls: true,
        hlsFlags: '[hls_time=2:hls_list_size=0:hls_flags=delete_segments]',
      },
    ],
  },
};

As we may see there're 2 rtmp sessions here:
[8/18/2020, 10:58:10 AM] LOG [Redis Client]  Connected to Redis client on: [REDIS URL]
8/18/2020 10:58:11 1194 [INFO] Node Media Trans Server started for apps: [ live ] , MediaRoot: [media-path], ffmpeg version: 4.2.1
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "preConnect"]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
8/18/2020 11:04:30 1194 [INFO] [rtmp connect] id=3N06YDS2 ip=::ffff:<IP_ADDRESS> app=live args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postConnect]]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on prePublish]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] New stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "postPublish"]]  id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [Transmuxing MP4] /live/8690093248329492-5f3bb400d85dfb0007889ab5 to [media-path]/live/8690093248329492-5f3bb400d85dfb0007889ab5/2020-08-18-11-04-30.mp4
8/18/2020 11:04:30 1194 [INFO] [Transmuxing HLS] /live/8690093248329492-5f3bb400d85dfb0007889ab5 to [media-path]/live/8690093248329492-5f3bb400d85dfb0007889ab5/index.m3u8
[8/18/2020, 11:04:30 AM] LOG [NMS. Event "preConnect"]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
8/18/2020 11:04:30 1194 [INFO] [rtmp connect] id=IVSVHNAC ip=::ffff:<IP_ADDRESS> app=live args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postConnect]]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on prePlay]]  id=IVSVHNAC StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
[8/18/2020, 11:04:30 AM] LOG [[NodeEvent on postPlay]]  id=IVSVHNAC StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:04:30 1194 [INFO] [rtmp play] Join stream. id=IVSVHNAC streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5  streamId=1
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] Handle video. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 frame_type=1 codec_id=7 codec_name=H264 640x480
8/18/2020 11:04:30 1194 [INFO] [rtmp publish] Handle audio. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 sound_format=10 sound_type=2 sound_size=1 sound_rate=3 codec_name=AAC 16000 1ch
8/18/2020 11:08:07 1194 [INFO] [rtmp publish] Close stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
8/18/2020 11:08:07 1194 [INFO] [rtmp publish] Close stream. id=3N06YDS2 streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  id=3N06YDS2 StreamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 args={}
[8/18/2020, 11:08:07 AM] LOG [NMS. Event "donePublish"]]  Warning! Event already fired for stream 3N06YDS2
8/18/2020 11:08:07 1194 [INFO] [rtmp disconnect] id=3N06YDS2
[8/18/2020, 11:08:07 AM] LOG [[NodeEvent on doneConnect]]  id=3N06YDS2 args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; Lavf58.29.100)","tcUrl":"rtmp://<IP_ADDRESS>:1935/live"}
8/18/2020 11:08:07 1194 [INFO] [rtmp play] Close stream. id=IVSVHNAC streamPath=/live/8690093248329492-5f3bb400d85dfb0007889ab5 streamId=1
8/18/2020 11:08:07 1194 [INFO] [rtmp disconnect] id=IVSVHNAC
[8/18/2020, 11:08:07 AM] LOG [[NodeEvent on doneConnect]]  id=IVSVHNAC args={"app":"live","flashVer":"LNX 9,0,124,2","tcUrl":"rtmp://<IP_ADDRESS>:1935/live","fpad":false,"capabilities":15,"audioCodecs":4071,"videoCodecs":252,"videoFunction":1}
8/18/2020 11:08:07 1194 [INFO] [Transmuxing end] /live/8690093248329492-5f3bb400d85dfb0007889ab5

I'd like to know a cases when "preConnect" event being fired.

Hi, @CodeBradley, @mznickolay ! Thats interesting, seems have same bug sometimes. Any resolves about this issue?

@CodeBradley any proposals how to solve it?

@CodeBradley any proposals how to solve it?


replace Object to object due (Object=any), add CompilationContext interface

@Delagen could you please remove unnecessary whitespace and line order changes so it's easier to see what has really changed?

@epoberezkin OK ) Webstorm autoformat ))

@blakeembrey could you please comment on "Object" vs "object"?

@epoberezkin It makes sense, added in TypeScript 2.2 (https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#object-type). It's much more useful than Object since pretty much everything extends from the type Object while object is a new type primitive (JavaScript primitives aren't assignable).

@blakeembrey @Delagen thank you

@epoberezkin You are welcome. Your project saves a lot of time in development. The only feature I still need is method of get a result schema with all macro resolved and all references included. I implemented some sort of this in my wrapper, but native method would be awesome

@Delagen see https://github.com/epoberezkin/ajv/blob/master/FAQ.md#generating-schemas-with-resolved-references-ref

@epoberezkin I read this note already. Thanks.


update release plan with engine update

Goes along with: https://github.com/microsoft/vscode-jupyter/pull/5354/files
to keep the release plan as fire and forget as possible.

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Merging over test failure as it's a markdown only fix to release plan.


CUDA_PATH v.s. ROCM_HOME

The naming convention is conflicting. Maybe better to use ROCM_PATH instead? It's used in ROCm docs (but only once)
https://rocmdocs.amd.com/en/latest/Deep_learning/Deep-learning.html?highlight=ROCM_PATH#install-rocm

Yeah the ROCm doc is as confusing as always...To add one more confusing data point, PyTorch uses both ROCM_HOME and ROCM_PATH 😂
https://github.com/pytorch/pytorch/search?q=ROCM_HOME
https://github.com/pytorch/pytorch/search?q=ROCM_PATH

I think we should also accept ROCM_PATH. Try grep -R /opt/rocm -e 'ROCM_PATH'.

I think we should also accept ROCM_PATH. Try grep -R /opt/rocm -e 'ROCM_PATH'.

Looks like hipconfig expects ROCM_PATH:
$ hipconfig -h
usage: hipconfig [OPTIONS]
  --path,  -p        : print HIP_PATH (use env var if set, else determine from hipconfig path)
  --rocmpath,  -R    : print ROCM_PATH (use env var if set, else determine from hip path or /opt/rocm)
  ...

Looks like hipconfig expects ROCM_PATH:
$ hipconfig -h
usage: hipconfig [OPTIONS]
  --path,  -p        : print HIP_PATH (use env var if set, else determine from hipconfig path)
  --rocmpath,  -R    : print ROCM_PATH (use env var if set, else determine from hip path or /opt/rocm)
  ...

Recommend using ROCM_PATH. I only see 3 projects using ROCM_HOME, one of which is CuPy.


Fix cnbc.py / add CNBCVideoIE extractor

Description of your pull request and other information

Fixes #8378 by rewriting the CNBC video extractor.

Removes CNBCIE, which is an extractor for a CNBC video platform that no longer exists.
Updates CNBCVideoIE

Adds tests
Supports author, channel, formats, ID (of course), upload date, URL (of course), title (of course), description, duration, timestamp, and thumbnails.

Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

CCing @Noor-5, @zhijinwuu, and @ruiminggu, who all worked on this (we split the work evenly0 and agreed to license their contributions under Unlicense.

Pls avoid force-pushing. If you happen to do so while someone's reviewing, GH just throws away the comments on the old commit. You can use as many commits as needed. We squash before merge


Add tests for Client._upload_file()

fixes #57

Coverage increased (+0.02%) to 97.578% when pulling f7290b11910dfda26497f055326b53574446be72 on Fak3:f57_tests into 7c7ce2b73e2c6c0e11f745d53e1c0397ebb7f88b on frictionlessdata:master.

Coverage decreased (-0.3%) to 97.27% when pulling 4a51290ebdde24bc46eea137d3191c99c04790d1 on Fak3:f57_tests into 7c7ce2b73e2c6c0e11f745d53e1c0397ebb7f88b on frictionlessdata:master.

Coverage increased (+0.03%) to 97.595% when pulling ecf7f973b254d19c1904c2c9ae476dc98351c74d on Fak3:f57_tests into 7c7ce2b73e2c6c0e11f745d53e1c0397ebb7f88b on frictionlessdata:master.

Coverage increased (+0.03%) to 97.595% when pulling ecf7f973b254d19c1904c2c9ae476dc98351c74d on Fak3:f57_tests into 7c7ce2b73e2c6c0e11f745d53e1c0397ebb7f88b on frictionlessdata:master.

Coverage increased (+0.03%) to 97.595% when pulling ecf7f973b254d19c1904c2c9ae476dc98351c74d on Fak3:f57_tests into 7c7ce2b73e2c6c0e11f745d53e1c0397ebb7f88b on frictionlessdata:master.

Coverage increased (+0.03%) to 97.595% when pulling 4fcfac2ab2182179093e8f69100c9c29f8a6d9f6 on Fak3:f57_tests into 7c7ce2b73e2c6c0e11f745d53e1c0397ebb7f88b on frictionlessdata:master.


How too windows

Hi this looks really cool
Could I please ask how do I set this up on a Windows pc?
I'm a complete noob and don't quite understand your github page.
Many thanks

npm install google-home-notifier
Install the bonjour SDK (https://developer.apple.com/download/more/?=Bonjour SDK for Windows)
That should be it


PR - Speech to Text and Teams Extension

Purpose

These changes include: speech-to-text via the web interface, a Teams extension, and updated README content.

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

Follow the updated steps on the README file.

Test the code

Follow the updated steps on the README file.

What to Check
Verify that the following are valid

When loading the web chat interface, verify the microphone icon is available. Click the icon and verify the microphone is working.

Other Information

This looks awesome I am going to try this out!

@ross-p-smith --- I added documentation for Teams local deployment.

This LGTM! @ross-p-smith Did you get a chance to try this out? Are you happy to merge?

Just want to add that @blessing-msft also contributed to this PR.

Thank you so much @hunterjam, @blessing-msft  and team for all the hard work to get this into the accelerator. This is an amazing functionality.


Errata (EFCore)

To read the data from C# code, you need to invoke BooksContext and access the Books property. With the
ToListAsync method, a list is returned from a task so that it doesn’t block the calling thread (code file Intro/
Program.cs):

It does block the calling thread as you already mentioned in chapter related to LINQ

Can you add the reference where it is described that the thread is blocked? With the async modifier, the code does not continue with the next statement until it is finished, but the thread is not blocked. The calling thread is available to do some other tasks. So, the statement it doesn't block the calling thread is correct.

Thanks for your response. Apparently, I understand your point wrong. I thought you mean that in ToList (or ToListAsync) method do not return the results Until we used foreach loop, And I also wrongly! considered thread as blocked since it is waits until the result returned. Sorry and Thanks about your time assigned to this issue. I need to review meaning of Blocking and Non-Blocking, I think. I find the following article useful for myself and appended it here just for documentation.
Async-Await

@abdollahkahne - you're welcome. Chapter 11, "Tasks and Asynchronous Programming", might help as well. Page 292, "Calling an Asynchronous Method":

... The code within this method does not continue before the GreetingAsync method is completed. However, you can reuse the thread that started the CallerWithAsync method. This thread is not blocked...

If you have more questions, you can add them to Discussions


Add cli option to install:release ...

... to only download the given shopware release (--unpack-only),
or to run the installer for an existing shopware source (--skip-download).
closes #120

thanks for your contribution @jkmw :+1: :blue_heart: :tada:
sorry that it took as so long to merge


Sections cannot contain a slash

I have added the following to my gitup.conf:
 49     "12/gitup-support" : {
 50         "host"       : "github.com",
 51         "repository" : "/michael-o/freebsd-src.git",
 52         "branch"     : "12/gitup-support",
 53         "target"     : "/usr/src",
 54         "ignores"    : [
 55             "sys/amd64/conf",
 56             "sys/arm64/conf",
 57             "sys/i386/conf",
 58             "sys/pc98/conf",
 59             "sys/powerpc/conf",
 60             "sys/riscv/conf",
 61             "sys/sparc64/conf",
 62         ]
 63     },

and did
root@bsd1srv:~/gitup (main %=)
# /gitup 12/gitup-support
# Host: github.com
# Port: 443
# Repository: /michael-o/freebsd-src.git
# Target: /usr/src
# Want: 43e9a678f101078352b7fbd1782f0edcd2614c87
# Branch: 12/gitup-support
# Action: clone
gitup: save_objects: write file failure /var/db/gitup/12/gitup-support.new: No such file or directory

The error is obvious /var/db/gitup/12/ does not exist. There are now three ways to solve:

Scan sections for allowed chars only
Create directory with parents a la mkdir -p
URI encode to avoid such issues (hard w/o library), here 12%fgitupsupport.

After # mkdir /var/db/gitup/12 it did work...:
root@bsd1srv:~/gitup (main %=)
# /gitup 12/gitup-support
# Host: github.com
# Port: 443
# Repository: /michael-o/freebsd-src.git
# Target: /usr/src
# Want: 43e9a678f101078352b7fbd1782f0edcd2614c87
# Branch: 12/gitup-support
# Action: clone
 * /usr/src/sys/conf/newvers.sh
 * /usr/src/usr.sbin/bootparamd/Makefile.inc
 * /usr/src/usr.sbin/bootparamd/bootparamd/bootparamd.c
 * /usr/src/usr.sbin/bootparamd/bootparamd/main.c
 * /usr/src/usr.sbin/bootparamd/callbootd/callbootd.c

I added code to URI encode any non-alphanumeric characters that appear in a section name plus added a code to rename an existing remote files list if a section name needs to be encoded for backwards compatibility.  How does it work for you now?

I added code to URI encode any non-alphanumeric characters that appear in a section name plus added a code to rename an existing remote files list if a section name needs to be encoded for backwards compatibility.  How does it work for you now?

LGTM:
# ls
12%2Fgitup%2Dsupport  current/              stable
root@bsd1srv:/var/db/gitup
# /gitup 12/gitup-support
# Host: github.com
# Port: 443
# Repository: /michael-o/freebsd-src.git
# Target: /usr/src
# Have: 43e9a678f101078352b7fbd1782f0edcd2614c87
# Want: 43e9a678f101078352b7fbd1782f0edcd2614c87
# Branch: 12/gitup-support

One could make it a bit better by reading RFC 3986:
pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims    = "!" / "$" / "&" / "'" / "(" / ")"
                 / "*" / "+" / "," / ";" / "="

but I will leave the decision up to you. It is good enough, I guess.

LGTM:
# ls
12%2Fgitup%2Dsupport  current/              stable
root@bsd1srv:/var/db/gitup
# /gitup 12/gitup-support
# Host: github.com
# Port: 443
# Repository: /michael-o/freebsd-src.git
# Target: /usr/src
# Have: 43e9a678f101078352b7fbd1782f0edcd2614c87
# Want: 43e9a678f101078352b7fbd1782f0edcd2614c87
# Branch: 12/gitup-support

One could make it a bit better by reading RFC 3986:
pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims    = "!" / "$" / "&" / "'" / "(" / ")"
                 / "*" / "+" / "," / ";" / "="

but I will leave the decision up to you. It is good enough, I guess.


Registration functionality feature

Is there a plan to release whole slide registration functionality soon? It is vital for all the projects my institute is dealing with where we have multiplex staining.
Thanks

We don't have any timeline in the short term.
There are a couple of approaches to this.  A single affine transform (or probably just rotation and translation) could be used between slides, or, since you often have tissue distortion between slides, you can have use a locally varying transform (though this will change measured lengths and areas).
We made a proof-of-concept demo where a user could mark corresponding points on multiple slides with different staining, then dynamically applied a rotation and translation to produce a good fit at a chosen center (the center of the viewport in the browser in the demo).


Accessing Credhub hash values in bosh links fails

Describe the bug
Accessing Credhub hash values in bosh links fails with Error: undefined method key?'`
To Reproduce

Deploy a bosh director with Credhub
Set the Credhub value credhub set -t json -v '{ "key": "test" }' -n /test/bosh/link/json
Build a zookeeper release from https://github.com/beyhan/zookeeper-release/commit/f90a58630ff774c72911486316c89a4477599601
and deploy it

Expected behavior
You can deploy the zookeeper release
Logs
Task logs:
Task 24
Task 24 | 13:54:19 | Error: undefined method `key?' for "((/test/bosh/link/json))":String
Task 24 Started  Thu Mar 12 13:54:19 UTC 2020

The tasks debug logs:
D, [2020-03-12T13:54:19.279009 #74240] [task:24] DEBUG -- DirectorJobRunner: (0.000185s) (conn:<PHONE_NUMBER>3980) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1584021259,"error":{"code":100,"message":"undefined method `key?'' for \"((/test/bosh/link/json))\":String"}}
') WHERE ("id" = 24)
D, [2020-03-12T13:54:19.279436 #74240] [task:24] DEBUG -- DirectorJobRunner: (0.000360s) (conn:<PHONE_NUMBER>3980) COMMIT
E, [2020-03-12T13:54:19.279550 #74240] [task:24] ERROR -- DirectorJobRunner: undefined method `key?' for "((/test/bosh/link/json))":String
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_helpers.rb:112:in `block in find_property'
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_helpers.rb:111:in `each'
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_helpers.rb:111:in `find_property'
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_helpers.rb:14:in `block in process_link_properties'
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_helpers.rb:12:in `each'
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_helpers.rb:12:in `process_link_properties'
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_providers_parser.rb:169:in `block in process_provider_definitions'
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_providers_parser.rb:148:in `each'
/var/vcap/data/packages/director/a2026fc29c49cefc8f1ace58f61c3d46684adc6b/gem_home/ruby/2.6.0/gems/bosh-director-0.0.0/lib/bosh/director/links/link_providers_parser.rb:148:in `process_provider_definitions'

Versions (please complete the following information):

Infrastructure: all
BOSH version: 270.12.0

Deployment info:
https://github.com/beyhan/zookeeper-release/commit/f90a58630ff774c72911486316c89a4477599601
Additional context
Links are resolved when the manifest is parsed:  https://github.com/cloudfoundry/bosh/blob/35bc60c6ddfda6fc67ba14d897dbd4cdc37684dd/src/bosh-director/lib/bosh/director/jobs/update_deployment.rb#L39
The interpolation of variables happens a bit later: https://github.com/cloudfoundry/bosh/blob/35bc60c6ddfda6fc67ba14d897dbd4cdc37684dd/src/bosh-director/lib/bosh/director/jobs/update_deployment.rb#L50
So we don’t have the Credhub value at the time, when links are built. Looking at the director code to support this will be quite an effort, but at least this could be documented in the bosh links section on bosh.io

A work around for this issue is to reference the Credhub hash key in the bosh manifest. E.g. the property definition from https://github.com/beyhan/zookeeper-release/commit/f90a58630ff774c72911486316c89a4477599601#diff-03676a7c3beb058a994e8550fe21cc07R30 could be changed to:
properties:
  test:
    key: ((/test/bosh/link/json.key))

I have created a pr in bosh-docs to document this issue.


Fix some IE tests

A few simple changes to fix specs in IE
For toRender specs, cast Uint8Array to Array for test fail message so we can see the values of the array in IE instead of expected [[Uint8Array]] to equal [[Uint8Array]]

Can someone merge this?  @lilleyse @ggetz ?

Thanks @lilleyse!  Ready


Display AAP version

Issue: AAH-1315
Display Ansible Automation Platform version in the About Modal.
(The AAP version is included in the API only if the VERSION file is in the system (path to file /etc/ansible-automation-platform/VERSION)
Depends on https://github.com/ansible/galaxy_ng/pull/1469

(though you may want to adjust the github labels to match the versions where the backend pr is backported (none?))


Use hashbrown::HashTable instead of RawTable

While this is functional, and gets rid of most unsafe (except our Slice casts), it also regresses some performance.


Question about the public API

Hello!
I am wondering if the public API has been exposed or not.
If it is available, how can I use the public API from my local machine?
minjeong@ubuntu:~$ curl https://api_public.bosh-lite.com:6106/v1/apps/9df61bc3-4bdb-484c-b4b8-21a147178fd1/policy --insecure
curl: (7) Failed to connect to api_public.bosh-lite.com port 6106: Connection refused

Related Commits

https://github.com/cloudfoundry-incubator/app-autoscaler/pull/263
https://github.com/cloudfoundry-incubator/app-autoscaler-release/pull/72

Thank you in advance!

@kmj940101 For "api_public" of https://api_public.bosh-lite.com:6106, is it the hostname of your apiserver? Currently the apiserver has no public hostname, and you can access it by its ip address.

@qibobo Thank you for your reply.
No. It is not the hostname. I thought an end point has been added.
What is this public API about? (Commit: https://github.com/cloudfoundry-incubator/app-autoscaler/pull/263)

@kmj940101 pr#263 is for public api and it still need oauth and some other code to be added before  its opening.


Add query name for fields

Allow for queryNames that differ from the variable name
@FlutterRouteField(queryName: 'user_last_name')
final String userLastName;

Released in 2.1.0


image_to_tensor with dataloader question

I'm a bit confused as to how kornia.image_to_tensor() is used with a data loader or if I should just use numpy's transpose method.
As it stands if I load an image in using opencv for my own dataset I get back a numpy array of shape (HxWxC), kornai.image_to_tensor will convert this into a tensor of shape (BxCxHxW). This works fine if you're not using pytorch's dataloader, but if you are then you it will automatically convert your numpy array into a torch tensor.
This mean that this function is not intended to be used inside a data augmentation pipeline? it works so long as I convert to numpy but that seems wasteful when I could just use numpy's transpose function within the dataset

the behaviour for this function cna be found here: https://github.com/arraiyopensource/kornia/blob/master/kornia/utils/image.py#L29-L37
it depends on the usage you want to make. All the operators in kornia are designed to perform in batch.

So let me explain what I'm trying to do. I want to use this for data augmentation and transforms. The issue that I'm facing are as follow.
I have a custom dataset
class DummyDataset(Dataset):
    def __init__(self, data_root=None):
        self.data_root = data_root
        self.image_data = self.data_root[image]
        self.label_data = self.data_root[label]

    def __len__(self):
        return len(self.data_index)

    def __getitem__(self, idx):
        # get data sample
        image_dir = self.image_data[idx]
        label = self.label_data[idx]
        # shape (224, 224, 3) bgr
        image = cv2.imread(image_dir)
        # shape (21,2) 21 keypoints pixel coordinates
        uv = np.array(label_dir)
        return dict(images=image, labels=uv)

# create the dataloader
dataset = DummyDataset()
dataloader = DataLoader(dataset, batch_size=4, shuffle=True)

The problem is that first if kornia.image_to_tensor inside the __getitem__ function then when I use the data loader I'll end up with an extra dimension since image_to_tensor adds in a batch, this could be fixed just using .squeeze(0) but then I'll end up with a tensor type and not able to use any torchvision transforms since they are for PIL images. If I try to use it outside the data loader, I am unable since the data loader automatically converts values from np.array into torch.Tensors and image_to_tensor only allows np.ndarray types. The other issue is that I can't use any of pytorchs builtin transforms since it does not support opencv but PIL instead.
I'm not sure what the pipeline should look like for but I had imaged that I would only do the data loading using opencv inside the getitem and all other transforms in nn.Sequential for both the image data and the label data such as:
image_transform = nn.Sequential(
    # to permute image from (BxHxWxC) to (BxCxHxW)
    kornia.image_to_tensor()
    kornia.BgrToRgb()
    kornia.color.AdjustBrightness(0.5),
    kornia.color.AdjustGamma(gamma=2.),
    kornia.color.AdjustContrast(0.7),
)

I'm not sure if the goal is to add things like support for scale/sheer/translation to images as well as for labels (keypoints/bboxes) for data augmentation

The problem is that first if kornia.image_to_tensor inside the getitem function then when I use the data loader I'll end up with an extra dimension since image_to_tensor adds in a batch, this could be fixed just using .squeeze(0) but then I'll end up with a tensor type and not able to use any torchvision transforms since they are for PIL images

You can try to do pil_image = Image.fromarray(img.squeeze(0).permute(1, 2, 0).numpy().astype('uint8')) and then pass these images to the torchvision transform
I am aware that this is a bit of an unclean solution, however...

I'm not sure if the goal is to add things like support for scale/sheer/translation to images as well as for labels (keypoints/bboxes) for data augmentation

We are actually working on that feature right now. It will be released in the next version and you will no longer need to use PIL Images for data augmentation with torchvion :smiley:

Makes sense, thanks! Looking forward to the next version so I can stop using PIL


feature/parcelableInKotlin -> dev

This change is

Review status: 1 of 2 files reviewed at latest revision, 1 unresolved discussion.

support/src/main/java/edu/byu/support/utils/Extensions.kt, line 44 at r1 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
int and double

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


New version: Torch_jll v1.10.2+0

Autogenerated JLL package registration

Registering JLL package Torch_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/Torch_jll.jl
Version: v1.10.2+0
Commit: d2b4405bdcfeaeb7111d3e1bb8b8278e98429e82
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/74872fcd38d2eeef78e4803031590a3c997e3ac5
Created by: @stemann

@giordano I guess protoc_jll should've been a dependency and not just a BuildDependency in https://github.com/JuliaPackaging/Yggdrasil/pull/4554 ?
ERROR: InitError: could not load library "/tmp/jl_xstMNU/artifacts/4763503ef82ecdf79e6f67c1ef679cd138c42b2b/lib/libtorch.so"
libprotobuf.so.24: cannot open shared object file: No such file or directory

Ugh, yes.  Well, that's how you find that out
[noblock]


test definition/extra-info one-shot retrieval

Problem

the component makes two separate requests to disambiguate and then to retrieve additional information (statements, definition etc.)

Solution
benchmark with :

test the parameter "full":True in request body;
test parallel requests (?);

default config:
real    0m2,647s
user    0m1,617s
sys     0m0,266s


Css fixies

mostly trades table styling like time format, external link icon, etc

There's a conflict with the TimeDisplay component we introduced this release, so the time styling should probably happen in there.

Just noticed @platschi's comment as well. Also a bit worried about the number of commits compared to the actual number of changes. Did we carry over some stuff from another branch?

Just noticed @platschi's comment as well. Also a bit worried about the number of commits compared to the actual number of changes. Did we carry over some stuff from another branch?

Yeah lots of overlap with #806.  I guess we should make sure to set up new branches once a PR is submitted

Just noticed @platschi's comment as well. Also a bit worried about the number of commits compared to the actual number of changes. Did we carry over some stuff from another branch?

Yeah lots of overlap with #806. I guess we should make sure to set up new branches once a PR is submitted

@asherism Can you look at this?


update chelsa url

Someone at CHELSA decided to change the url...

I think it needs a token now

We probably want a minor release that has this fix but not the upcoming breaking changes


Stream encountered HTTP error: 403

class Listener(tweepy.Stream):
    def on_status(self, status):
        print(status.user.screen_name + ": " + status.text)

stream_tweet = Listener(api_key, api_key_secret, access_token, access_token_secret)

keywords = ["2002", "#python"]

stream_tweet.sample()

I am getting "Stream encountered HTTP error: 403" when using the above code.
Other method such as home_timeline etc is working fine.
I am using tweepy 4.8.0 and python 3.9.10 on Mac OS.
I have Elavated Access of twitter developers api.
Is anyone experiencing the same errors or have any ideas for making the stream work?

I was also getting the same error.
I was also using tweepy.Streams but it has been deprecated if your App is new. After I changed to tweepy.StreamingClient and it was working well.

Are you using a Twitter Developer App created on or after last Friday (2022-04-29)?

Are you using a Twitter Developer App created on or after last Friday (2022-04-29)?

Yes! I just created the app yesterday!

I was also getting the same error while using tweepy.Streams but it has been deprecated if your App is new. After I changed to tweepy.StreamingClient and it was working well.

Could you share some of your code?
And are you enabling both OAuth 2.0 and OAuth 1.0a for your app?

兄弟你是中国人吗，如果是一起交流一下啊。我的微信：    Cc18991001        我跟你遇到了一模一样的问题

兄弟你是中国人吗？我跟你遇到一模一样的问题，我也是申请好了高级权限，然后使用此功能的，同样的是403. 加个微信啊： Cc18991001

Brother, are you Chinese? I have the exact same problem as you, I also applied for advanced permissions, and then used this function, the same is 403. Add a WeChat: Cc18991001

Brother, I have been working on this problem for a long time, and I haven't solved it yet. Can you add a WeChat or a telegram: @musk1992 Let's solve this problem together

New Apps:

will not be able to gain access to v1.1 statuses/sample and v1.1 statuses/filter

https://twittercommunity.com/t/deprecation-announcement-removing-compliance-messages-from-statuses-filter-and-retiring-statuses-sample-from-the-twitter-api-v1-1/170500
You'll have to use Twitter API v2.


"default_index": "logstash-*" will open too many shards

i have about 2 month of logs stored and opening logtrail it complains (actually ES is the one that complains) about too many shards
I can workaround by using default_index": "logstash-2017.* but this also means that i will have to put some cron limiting the index name to the current month
Is it possible to define something like logstash-YYYY.MM.DD-*. where the number of days to query is set by the default_time_range_in_days

might be because when it queries for /logtrail/hosts  it looks in all your indexes.  i updated my server.js in the following way to get around this.  in line 1 i have imported date format
var dateformat = require('dateformat');
and added the following method
/**

Takes a pattern of the form blah-* and converts it into a list of indexes with dates appended
*/
function toDatedIndexPattern(prefix, start, days, as) {
// alias
var self = this;
// sanity checks
if ((!prefix) || (!start) || (days < 0))
return;
// remove the star at the end
prefix = prefix.replace('*','');
// default
as = (as) ? as : 'string';
// indexes we care about
var indexes = [];
// how many millis are in one day
var DAY = 86400000;
// add the number of days
for (var index=0; index<days; index++) {
var date = new Date(start.getTime() + (index * DAY));
 // the 3rd arg 'true' ensures that we keep the date in UTC instead of local time
 var indexname = prefix + dateformat(date, 'yyyy.mm.dd', true);

 // add to set of indices
 indexes.push(indexname);

}
// return content
return as == 'string' ? indexes.join(',') : indexes;
}

then within the /logtrail/hosts route i modified it so that i use
  // how many millis are in one day
  var DAY = 86400000;

  // shrink down the number of indexes we will look at
  var start = new Date(new Date().getTime() - (DAY * selected_config.default_time_range_in_days));
  var indexes = toDatedIndexPattern(selected_config.es.default_index, start, selected_config.default_time_range_in_days, 'string');

then the hostAggRequest in the same method instead of
var hostAggRequest = {
index: index,
...
i use
var hostAggRequest = {
index: indexes,
ignore_unavailable:true,        <!-- very important as if 1 index in last N days is gone all would crash
...
this ensures that the query for hosts only uses the last 10 days.  You could also add another attribute into the logtrail.json file like system_time_range_in_days or something if you didnt want to tie it into default_time_range_in_days.
This will only query the last 10 days.

OK so i managed to get a rolling window working for that query as well.  Additional modifications are required.

update method $scope.seekAndSearch  in app.js. to add rehost update when date changes

...
setupHostsList();
$scope.hideDatePicker();

in function setupHostsList we need to add the seek time on where we are

var params = {
index: selected_index_config.es.default_index,
};
if ($scope.pickedDateTime)
params.seek = Date.create($scope.pickedDateTime).getTime();
...

need to update the server side server.js  insite the server.route('/logtrail/hosts') route

// how many millis are in one day
var DAY = 86400000;
// seek region
var start = null;
var indexes = null;
var seek = (request.query && request.query.seek) ? request.query.seek : null;
if (seek) {
// shrink down the number of indexes we will look at
start = new Date(request.query.seek - Math.floor( (DAY * selected_config.default_time_range_in_days) / 2 )    );
indexes = toDatedIndexPattern(selected_config.es.default_index, start, selected_config.default_time_range_in_days, 'string');
} else {
  // shrink down the number of indexes we will look at
  start = new Date(new Date().getTime() - (DAY * selected_config.default_time_range_in_days));
  indexes = toDatedIndexPattern(selected_config.es.default_index, start, selected_config.default_time_range_in_days, 'string');

}

And that should do it.  it will look for indexes before and after the seek time for systems

One last update.  You will want to update the callWithRequest handler in this function as well to

callWithRequest(request,'search',hostAggRequest).then(function (resp) {
//console.log(resp);//.aggregations.hosts.buckets);
reply({
ok: true,
resp: (resp.aggregations && resp.aggregations.hosts) ? resp.aggregations.hosts.buckets : []
});
}).catch(function (resp) {
if(resp.isBoom) {
reply(resp);
} else {
console.error("Error while fetching hosts",resp);
reply({
ok: false,
resp: resp
});
}
});

That way if the aggs does not return any data, your UI will still update to show no fields correctly
otherwise it would likely throw an error

@soulis-siluos any change to create a pull request with those changes, so that @sivasamyk can merge then?

@pdiniz13, does not look like this is in the repo. Could you contribute via a pull request?

Providing a PR as https://github.com/sivasamyk/logtrail/pull/428 on behalf of the changes of @soulis-siluos  above.


.net installation issue

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

What kind of issue are you having?

I got this
richasaklani@Richas-MacBook-Air ~ % ~$dotnet
zsh: permission denied: /Users/richasaklani

after installation - also I cant find the untitled folder


Add pages for all current research  projects

We might be current on this one. Are there any research projects we should reach out to directly that aren't on the website? @smash0190


Can't format export async function ...

Getting unexpected token
export async function get(path, suppressRedBox) {
  return bodyOf(request('get', path, null, suppressRedBox));
}

JSFMT Settings
{
  "autoformat": false,
  "extensions": [
    "js",
    "jsx",
    "sublime-settings"
  ],
  "options": {
    "jsx": {
      "alignWithFirstAttribute": true,
      "attrsOnSameLineAsTag": false,
      "firstAttributeOnSameLine": false,
      "formatJSX": true,
      "maxAttrsOnTag": 1
    },
    "plugins": [
      "esformatter-jsx"
    ]
  }
}

Other files work fine, it's only failing there

hi @octohedron,
what settings are u using? it seems to be working fine with<EMAIL_ADDRESS>It seems you're using sublime-jsfmt right?


Remove .DS_Store

I saw this and it annoyed me :D

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

Project coverage is 65.48%. Comparing base (1a12aa6) to head (1b4b36e).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #304      +/-   ##
==========================================
+ Coverage   64.80%   65.48%   +0.68%
==========================================
  Files         147      147
  Lines        9498     9384     -114
==========================================
- Hits         6155     6145      -10
+ Misses       3343     3239     -104

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

ty :)


ComfyUI's --cuda-device setting becomes ineffective with this extension

This extension interferes with the --cuda-device being set.  If I start with --cuda-device <nr>, images are generated with gpu 0 instead. I've bisected all my extensions and this is the culprit. Without this extension it just works.

Excelent! I can confirm the change works.


Intellisense doesn't work for some WinRT types.

	Uri testUri{ L"http://www.contoso.com" };
	WINRT_ASSERT(testUri.ToString() == L"http://www.contoso.com/");

When i type the above code ToString() isn't suggested, in fact nothing is after testUri.
Intellisense: 'No members available'
Edit: I notice that some methods are visible in other types. For example, the Visual type in UI.Composition shows via intellisense.

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

ID: 2a12e6aa-e62e-3602-5436-00325ee9e045
Version Independent ID: 8a769921-26b7-e1c7-a2f9-dd0dcdcb16b0
Content: Consume APIs with C++/WinRT - UWP app developer
Content Source: windows-apps-src/cpp-and-winrt-apis/consume-apis.md
Product: windows
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @Gavin-Williams, thank you for mentioning this issue. It actually is something that we're aware of and working on. Data such as this helps us prioritize efforts. So, in that spirit you could, if you like, bring this up on the Visual Studio User Voice feedback website, or in the Developer Community. Since this doesn't seem to be something that I can remedy in the documentation, do you mind if I close the issue? Thanks again! ~Steve

@Gavin-Williams, I'll go ahead and close this issue now since it's been a while and it feels as resolved as we can make it here. Please reopen if I made a mistake in closing. ~Steve

Yeah no worries, if you're aware of it already, then that's OK. Thanks.


Make luci-base standalone and separate admin-full

This PR contains two commits which are based on the discussion in https://github.com/openwrt/luci/issues/869.
luci-base is now sufficient to login and out and to review and apply or revert uci changes (made within LuCI).  It also has gained some additional code that are common among network and status.
The second comment splits luci-mod-admin-full into luci-mod-status and luci-mod-system and luci-mod-network.  For now luci-mod-admin-full is kept as a meta-package for upgrades, but I propose that the luci collections be modified to depend on the new modules and drop mod-admin-full entirely.
One thing that is in mod-admin-full that probably should be split into a separate app because
a) there is no good place for it, and
b) it's not necessarily good to have on by default (exposes every file to the web UI).
is the filebrowser thingy.

Looking into this now....

@jow- Thanks!  I was actually figuring it be at least a few more days because of 18.06.1

Please ignore the next push until I've tested it; I'm just verifying something with GitHub.

Still doing more complete testing though...I'm not sure I completely trust it yet, so consider it an RFC for now....

I ave been flashing a build with this and so far it looks quite well.

Great!  Thanks for looking at this.

Rebased, now to retest...

One little detail is that I'd like to redirect the default view to the first existing page and only then fallback to the placeholder page view. Not sure if I'll get around to it before holidays.

Yep, correct. Was thinking about extending dispatcher.lua to simply remember the first node it registers, then add a new firstnode() target and simply use that for /admin

Let me know if you don't get to it before your holidays and if I get time I'll try to whip something up (got a few other things earlier on my list right now).

@cshoredaniel - it took me a while but I finally merged your changes along with my firstnode() logic on top to autoselect the first suitable page.

Looks nice at the first glance.
I fixed the fallout to i18n scripts with 90e749c6
(scan for base.pot needs also the three new modules, as luci-mod-admin-full is now empty)

@hnyman - thanks a lot for fixing the fallout I left :)

@jow @hnyman  Thanks for all your help...be back more regularly in a few weeks, all going well.


Update README.md to use in codespaces device code

if not the codesapces azd auth login will fail
Purpose

Launch azd auth login in codespaces will failed, added the correct process to permit use azd auth login in codespaces

Does this introduce a breaking change?

[ ] Yes
[ x ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ x ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Codespaces should autodetect that device code must be used. If its not, thats a bug. Is this local Codespaces extension or in the browser?
cc @vhvb1989 @jongio

Codespaces should autodetect that device code must be used. If its not, thats a bug. Is this local Codespaces extension or in the browser?
cc @vhvb1989 @jongio

Within the browser @pamelafox .
azd checks if you are running in codespaces and in a web-browser and automatically set use-device-code=true
azd runs the command code --status, which would return: "The --status argument is not yet supported in browsers" and uses as a way to know about how vscode is running (web or non web).
As such, is vscode changes this behavior and implement code --status for the web, azd would stop knowing about it.

Codespaces should autodetect that device code must be used. If its not, thats a bug. Is this local Codespaces extension or in the browser?
cc @vhvb1989 @jongio

in the browser

Can you screenshot what happened when you ran azd auth login? Can you also screenshot the results of running code --status?

Closing this as we haven't heard back.


Please keep button on explorer after Obsidian restarted

I am comfortable using Obsidian thanks to your plugin.!!! Thanks for the simple amazing plugin!.
It is the eye icon that appears at the top of the navigation area, but it does not appear again until I turn the plugin on and off each time I restart the application.
Is it possible to have "Focus this File" added for files, for example, as it appears in the contextual menu when you right-click on a folder?

@ham1204 update the plugin and let me know if it works for you. button should be visible after restarting and changing the setting won't need a reload too


XLA_in_Python notebook fails to build in RTD with XLA shape error

The error is:
RuntimeError: Invalid argument: Argument does not match host shape or layout of computation parameter 0: want (f32[], f32[], s32[]), got f64[3]{0}

This notebook renders Ok if I open it in the public http://colab.research.google.com, and also on my laptop when running sphinx-build. Perhaps there is a version mismatch with jaxlib in RTD? In the RTD build logs linked above I see:
Collecting jaxlib
  Downloading jaxlib-0.1.39-cp37-none-manylinux2010_x86_64.whl

For now, I have disabled the RTD auto rendedering of the XLA_in_Python notebook.

@zhangqiaorjc recently revived this notebook, so I believe this issue is fixed.

@zhangqiaorjc recently revived this notebook, so I believe this issue is fixed.


Using only kanji->kana data

Thanks for the great project! I'm only interested in breaking down kanji into it's kana form. I don't need data about the parts of speech, pronunciation etc. There are currently 12 dictionary files (~17.8MB gzipped) and I want to bring the number down for my simple purposes.
I'm having trouble grasping if it's possible to uninclude the extra info and reduce the amount of dictionary data I need.
Are all the dictionaries critical for getting the kana, or will I be able to modify the code and still get just kana with less dictionary data?

Hmm so it seems the most critical elements for just getting the kana breakdown based on how I've understood the code thus far is the surface form, left id, right id, and cost.
        var surface_form = entry[0];
        var left_id = entry[1];
        var right_id = entry[2];
        var word_cost = entry[3];
        var feature = entry.slice(4).join(",");  // TODO Optimize

The other features (everything after the 4th element in the CSVs) seem to be only for informational output, and not needed for analysis?


Content in map modal is hidden

Not able to scroll/swipe to see all content + fix height on toolbar

https://github.com/ionic-team/ionic-framework/issues/24631


Documentation for a module or including README.md for a folder...

Seems logical to automatically include the README.md for a folder?  Or maybe not.
I'm having trouble configuring documentation for a module.
For a module that has an export default, how do I add docs?

I want to add documentation like this.
https://github.com/electricessence/TypeScript.NET/blob/master/source/System.Linq/README.md

Looks like a good idea to me, I would like to add this a new feature for the next version. Starting with TypeDoc 0.4 we will display the directory structure of modules in the documentation so it should be possible to pick up the readme files and display them.

That could work.  So how do I document modules in the meantime?

Hi, any progress on this one?

And how can I exclude this damn readme.md from my docs now. --exclude readme.md does not work (

@Dzenly You can create a stub readme with no content and use the --readme filename.md option to use the stub.

Or you can use --readme none as specified in the help output.

Oh, yeah. I forgot about that option. That's prefered.

Module documentation can be achieved as documented under Files on the site - https://typedoc.org/guides/doccomments/#files
/** @packageDocumentation
  * Module docs here
  */


composer

Please remove the jquery and bootstrap requirements as those are non existing packages without a vendor. Unless I'm doing something wrong?
Also on packagist the name bootstrap-growl is still in use.

In all honesty I havent done anything other than add this file to github. Others have put together the composer/bower/etc features.
If you know someone or are able to do this I would greatly appreciate it.

I'll adjust it and create a pull request tonight (depending on what timezone you live in :D )

#74 opened pull request


[Suggestion] Registering LootTables so that LootTweaker can access them?

Hi again,
Would it be possible to have this mod's mobs loottables be accessible by LootTweaker? Right now doing /mt loottables all doesn't dump the Loot Tables for the mobs or doesn't detect it. I know you said in the CurseForge description that it uses the vanilla JSON system, but I've always found that using Zenscript and LootTweaker to alter those JSON's to be much easier for me and kept things neater.
Thanks again,

Yeah i use loot table .json files, so i dont know why loot tweaker cant see them.
https://github.com/PrinceOfAmber/ERZ/tree/master/src/main/resources/assets/emberroot/loot_tables/entity
Which project are you using, seems like two versions for some reason?
https://www.curseforge.com/minecraft/mc-mods/loottweaker
or
https://www.curseforge.com/minecraft/mc-mods/loottabletweaker

I am using the first one, LootTweaker. Also maybe @Leviathan143 could provide more insight for whi the files aren't being detected.
I'm verifying this by starting up the game and doing /ct loottables all which dumps all of the available loottables into the modpack folder under the "dumps" folder.

@PrinceOfAmber
LootTweaker uses the global list of all built in loot tables in LootTableList to check if a loot table exists. All you need to do is register your loot tables by calling LootTableList.register() with the loot table's resource location as the argument.
Note: If you register the loot tables in the initializer of a static field, as vanilla does, please add a dummy method that you call in preinit to force the JVM to initialize the class. Otherwise they won't be registered when mods like LootTweaker check to make sure a table with a particular name exists.

Hey @PrinceOfAmber, just wanted to follow up on this, any luck on getting the loot tables exposed for LootTweaker? I stopped work on Interaction and working on the ATM team for their next expert pack, and wanted to alter some drop rates. Thanks!

https://minecraft.curseforge.com/projects/emberroot-zoo/files/2599195