Image loading thread panics when given a non-image payload

I tried inlyne on the README.md of my glyphana crate.
It looks like it chokes on the inlined PNG.  I get:
"name" = "inlyne"
"operating_system" = "Ubuntu 23.10 (mantic) [64-bit]"
"crate_version" = "0.3.3"
"explanation" = """
Panic occurred in file '/home/moritz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/inlyne-0.3.3/src/image/mod.rs' at line 213
"""
"cause" = "called `Result::unwrap()` on an `Err` value: ParsingFailed(ParserError(UnknownToken(TextPos { row: 1, col: 1 })))"
"method" = "Panic"
"backtrace" = """

   0: 0x5564542066d3 - core::result::unwrap_failed::ha4f4d0d3df67138e
                at /rustc/e9013ac0e402ef449c5d00251d687289599137df/library/core/src/result.rs:1649
   1: 0x5564533877e9 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc09602336b08cc26
   2: 0x556453469d14 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h27a94b36ed1f5707
   3: 0x5564541dd875 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he3e410b3c6d7ab8b
                at /rustc/e9013ac0e402ef449c5d00251d687289599137df/library/alloc/src/boxed.rs:2007
                 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9192100527b5956f
                at /rustc/e9013ac0e402ef449c5d00251d687289599137df/library/alloc/src/boxed.rs:2007
                 - std::sys::unix::thread::Thread::new::thread_start::h51e269f565ae77c2
                at /rustc/e9013ac0e402ef449c5d00251d687289599137df/library/std/src/sys/unix/thread.rs:108
   4: 0x7fb233897ada - start_thread
                at ./nptl/pthread_create.c:444
   5: 0x7fb23392847c - __GI___clone3
                at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
   6:        0x0 - <unresolved>"""

Thanks for the crash report!
You're right that it's inlyne choking on the PNG, although I think this is more of github papering over an issue instead of inlyne doing anything wrong. The image link you're using is actually returning a JSON payload which is causing the image parsing to get confused and choke. Github just recognizes the address and can make things work anyways, but it doesn't work everywhere like comments e.g.

Glyphana

Glyphana is a tool to search for and discover unicode glyphs.
It is inspired by the macOS Character Viewer
which I sorely miss on Linux and Windows.

or if you were to publish to something like crates.io. Considering how spotty the support for handling this is I think it would be better if the README was switched to using either of the following links instead

https://github.com/virtualritz/glyphana/blob/master/screenshot.png?raw=true
https://raw.githubusercontent.com/virtualritz/glyphana/master/screenshot.png

Aside: Also worth mentioning that inlyne currently doesn't visually indicate that an image failed loading, but it probably should

Considering how spotty the support for handling this is I think it would be better if the README was switched to using either of the following links instead [...]

Good point. I changed to the other format you suggested.
I.e. this can be closed unless you want to keep it open to track the ungraceful exit of inlyne in case of the other URL.

unless you want to keep it open to track the ungraceful exit of inlyne in case of the other URL.

That's my intention as long as you don't mind me keeping your issue open for longer!


Use case-insensitive search for ETag header

The code still needs to be replaced with proper header parsing. However, for now, we settle for switching to case-insensitive parsing and adding checks for return codes.

@rw2 - apologies, it appears I forgot to link this PR to the original issue so you may have missed the notification I posted it over the weekend.
Even if you ended up going a different route for the fix itself in the meantime, I think there's value in the second commit (which provides unit test coverage for lower-case headers).


how long will it take , to google(android) to give the path normally for usb ,like windows

how long will it take , to google(android) to give the path normally for usb ,like windows
i know due to loose usb phone otg, pendrive can be removed(without user intention)

First of all, I am not affiliated with Google in any way nor am I part of Android development, so I do not know.
Second, this works already for a lot of devices e.g. Samsung, Huawei and Sony.

i developed the project of piracy protection software, for 100 pendrive daily sending client, and send one pendrive succsessfuly as a demo to the byuer,
but as a final doubt in client mind, they dont want runtimpermission message to be shown
and is it possible to run dex file any how from usb
if u help me in this and i get the project
then i can pay u on monthly basis (100  to 150) dollor per month

If you want to read from USB you obviously need to have permission to do so. Android takes a different approach compared to Windows where everything is allowed by default and resulted in a significant amount of malware and viruses I guess. That is why there is no way around this permission in Android.
As far as I know it is not possible to run apps without installing them except in google play (https://developer.android.com/topic/google-play-instant)


Added comparison functions for complex types

Added >, <, >=, <= comparisons for array and row types.

Accidentally created duplicate PR #11241 , closing this one


linked list helper codes file added

kindly merge my request please....

Hi @deepak-kr-26 , Kindly add your C++ or java files in the second branch and Create a pull request there


Redundant library on node-red website

Good morning,
I have some interest in the library you developped for node-red, though I have found two libraries, containing the exact description with the same proposed nodes. The GitHub links are linked to this github. However both node-red libraries show different versions:
node-red-contrib-fs-ops-coco    the most recent
node-red-contrib-fs-ops         maybe the original one.
Can you please clarify this? Which one is regularly maintained, why having two different libraries. Any issues with compatibility?
kind regards,
Sylvain

@sylvanoMTL its a bit of a mess.

node-red-contrib-fs-ops-coco...

According to NPM, node-red-contrib-fs-ops-coco was published by @nofr1ends
It has the same version number and the package.json still points back here
it doesnt appear to be any different (assuming the source in this fork https://github.com/NoFr1ends/node-red-contrib-fs-ops is the code used when published to NPM)

In summary, it appears to be a clone with only a name change.
Perhaps @NoFr1ends intends on adding new functionality?
Perhaps @NoFr1ends felt this original branch was dead an intends on adding improvements?
Its hard to tell since the only immediately visible difference is the name.
For now, I will personally stick with the original (this one node-red-contrib-fs-ops)
@DeanCording what are your thoughts on this?

The node-red-contrib-fs-ops-coco is a temporary push to npm of the pr #18
That it links to the same repository and used the same version is wrong and an issue which I addressed, thanks for noticing that.

Hi @NoFr1ends thanks for the feedback.

The node-red-contrib-fs-ops-coco is a temporary push to npm

Do you mean if your PR #18 is accepted and integrated into node-red-contrib-fs-ops you will retire your fork?
The thing is, you have published it to NPM with node-red in the key words so it has appeared in the pallete for users to install - hence the confusion the op (and others) face.
Perhaps (for the benefit of everyone) @DeanCording could permit you to contribute to the original then only one version would be maintained?

It seems like @DeanCording is inactive thats why I pushed it to npm in the first place.

Thanks for these reply,
I am quite new to node-red.
What would be the best to ensure the integrity of my code for future releases? I am working with node-red-contrib-fs-ops-coco.

If you don’t need any of the fixes or added features it’s fine to stick with this one (which seems to be unmaintained).
The added features and fixes are stated in the readme of my fork.

Pull requests have been merged and a new version published.
Thanks, and sorry for the time taken to process this, what with life and everything else.


Assumes navigation bar is translucent.

Method slk_adjustContentConfigurationIfNeeded assumes that the height of the navigation bar is required for the bottom inset. When in actual fact if the navigation bar is not translucent, no inset is required.

@dzenbot yeah it means I have 64pt's more space at the top of the scroll.

Seems to be all good.

Fixed #195


[tool_crash] FileSystemException: Cannot copy file to 'C:\Users\gaura\Desktop\Flutter_proj\flutter_application_5\android\app\src\main\res\mipmap-hdpi\ic_launcher.png', OS Error: Access is denied., errno = 5

Command
flutter create --ios-language swift --android-language kotlin .

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot copy file to 'C:\Users\gaura\Desktop\Flutter_proj\flutter_application_5\android\app\src\main\res\mipmap-hdpi\ic_launcher.png', OS Error: Access is denied.
, errno = 5
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.copySync (dart:io/file_impl.dart:340:5)
#2      ForwardingFile.copySync (package:file/src/forwarding/forwarding_file.dart:30:50)
#3      ForwardingFile.copySync (package:file/src/forwarding/forwarding_file.dart:30:50)
#4      Template.render.<anonymous closure> (package:flutter_tools/src/template.dart:267:18)
#5      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
#6      Template.render (package:flutter_tools/src/template.dart:190:24)
#7      CreateCommand._renderTemplate (package:flutter_tools/src/commands/create.dart:799:21)
#8      _rootRunUnary (dart:async/zone.dart:1198:47)
#9      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#10     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#11     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#12     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#13     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#14     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#15     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#16     Template.fromName (package:flutter_tools/src/template.dart)
#17     _rootRunUnary (dart:async/zone.dart:1198:47)
#18     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#19     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#21     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#22     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#23     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#24     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)

[✓] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.804], locale en-IN)
    • Flutter version 1.22.6 at C:\src\flutter\flutter
    • Framework revision 9b2d32b605 (4 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\gaura\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    ✗ No Java Development Kit (JDK) found; You must have the environment variable JAVA_HOME set and the java binary in your PATH. You can download the JDK from https://www.oracle.com/technetwork/java/javase/downloads/.

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

[✓] VS Code (version 1.53.2)
    • VS Code at C:\Users\gaura\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

Flutter Application Metadata
No pubspec in working directory.

Duplicate of https://github.com/flutter/flutter/issues/69116


Race The Sun [PCSE00461]

App summary

App name: Race The Sun
App serial: PCSE00461
App version: 1.00

Vita3K summary

Version: v0.1.8
Build number: 3305
Commit hash: https://github.com/vita3k/vita3k/commit/eb28b844
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: ?
OS: Windows 10/macOS/Linux Distro, Kernel Version?
CPU: 1200
GPU: AMD/NVIDIA/Intel?
RAM: 8 GB

Issues

Screenshots

Log
Recommended labels

Reproducible

invalid report


macOS custom file icons reset not auto triggered.

VSCode Version: 1.28.1
OS Version: macOS Mojave 10.14.1 Beta (18B45d)

Description:
New update brings custom font icons in OS explorers in Windows and macOS. But, after updating and restarting, the icons DID not replace with the new ones.
So, I cleared icon cache with
sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder

Does this issue occur when all extensions are disabled?
Yes

Great, I did the same once, seems to work fine.


Fund the ySupport team

Scope
ySupport represents a group of Yearn moderators across Discord, Telegram, and Reddit who are the first responders for user issues, community builders, town criers, and educators for those who are new to DeFi and Yearn.
The folks in ySupport are always there to support the users, be it helping folks deposit into a vault, teaching someone how an approval works, or guiding a user how to use Etherscan to initiate a transaction when the Web UI is wonky. Furthermore, they keep our community tightknit during the quieter times, whether that is engaging with the community with memes or helping Yearn host some of the most compelling discussions you can find in a crypto Discord.
This cohort of folks represent a group of long-time Yearn contributors, veterans of our Coordinape compensation system. The ySupport team has a proven track record and as a long-time contributor myself, I believe in funding ySupport for their impact with our users.
Plan
The action plan for ySupport for this quarter is engagement with the community, upselling Yearn to new users, providing critical user support, triaging issues to the development team, and making Yearn the most attractive Discord/Telegram/Reddit community in crypto.
We see the bear market as an opportunity to build stronger positivity in the community. FUD is rampant during these times, but it is important that we stay optimistic in our channels and build up Yearns brand as the safest, most stable place to earn yield no matter the market conditions.
Deadline
2022-08-31
People
List of ySupportoooors to be eligible for payments:

crolev
jyhelper
arberx
oldfrog
pp
fugggginoooob
vany

Multisig signers (4 of 5):

crolev
jyhelper
vany
kx9x*
dark ghosty*

*kx9x and dark ghosty are not eligible for payment, just helping with multisig signing
Note: we have 4 of 5 so each quorum includes one person not being paid (i.e. kx9x or dark ghosty).
Money
Our current plans are to use all of the funds on a Coordinape-style monthly disbursement, where we vote based on impact for the given month.
$12,000 a month across 7 ySupport staff represents about $1714 per person a month. This helps us keep a similar amount of budget spent on support in previous Coordinape cycles, while also factoring in broader push to tighten budget overall.
Amount
36000
Wallet address
0xbd7B3Bc2C4581Fd173362c830AE45fB9506B3dA5
Reporting

[X] I agree to post weekly updates

The support team has been great and I consistently hear that Yearn has great and fast response/support from both our telegram and discord support channels. I support this proposal for funding the ySupport team.

The support team has done and continues to do a herculean effort which few if any other projects can match. At the risk of sounding like a shill (but I am for ySupport) they work tirelessly answering questions from the most basic to those quite advanced providing legitimacy to Yearn in spite of market turbulence/FUD. Beyond that I've also seen first hand the value the team brings in surfacing issues seen by general users for the dev team. Cultivating an engaged & informed community is paramount and I'm confident in this team to continuing carrying out their duties.

Losing such a great, knowledgeable and dedicated team as ySupport would be one the most significant losses of this bera. We need to fund these guys and continue building IMO.

Would you mind changing the amount to 30 000? Generally, important one to approve but yearn is planning to make larger cuts internally, too.


Pass -mod=vendor instead of -mod vendor

This ensures that the same syntax is used for all the invocations, making grepping easier to find all the occurrences.

needs a rebase


DX: Application - better display version when displaying gitSha

before the change of this PR, but after #6222 :
ker@dus:~/github/PHP-CS-Fixer λ ./php-cs-fixer.phar
PHP CS Fixer 3.5.0 The Creation by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 8.0.13 (333f15e)

it's misleading, as 333f15e is gitSha of Fixer, not of PHP runtime

Coverage increased (+0.0004%) to 93.149% when pulling a489d756d8235faf13e008362ab012a8474f088f on keradus:app_ver into 333f15e07c866e33e2765e84ba1e0b88e6a3af3b on FriendsOfPHP:master.

looks good, but the smoke test need updating as well now ; )

Thank you @keradus.


CLI - system error -8

To Reproduce
Run one of the CLI commands (e.g pnpx fumadocs config / init)
Immediate Error
Current vs. Expected behavior
pnpm: Command failed with Unknown system error -8: fumadocs config
spawn Unknown system error -8
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at Object.spawn (node:child_process:762:9)
    at execa (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:19996:32)
    at default_1 (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:20224:38)
    at Object.handler [as dlx] (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:224948:35)
    at async /Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:234540:21
    at async main (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:234499:34)
    at async runPnpm (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:234770:5)
    at async /Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:234762:7

Provide environment information
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:11 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6020
  Available memory (MB): 65536
  Available CPU cores: 24
Binaries:
  Node: 20.18.0
  npm: 10.8.2
  Yarn: 4.4.0
  pnpm: 9.12.1
Relevant Packages:
  next: 15.0.0 // Latest available version is detected (15.0.0).
  eslint-config-next: N/A
  react: 19.0.0-rc-cd22717c-20241013
  react-dom: 19.0.0-rc-cd22717c-20241013
  typescript: 5.6.2
Next.js Config:
  output: N/A

### Which area(s) are affected? (Select all that apply)

CLI (create-fumadocs-app)

### Additional context

_No response_

Does pnpm dlx and npx work?

This is me trying to run pnpm dlx / npx

Checked it again on CodeSandbox, it should be working now. Please notify me if the issue still occurs.


apachestreampipes/sources-vehicle-simulator:0.92.0-SNAPSHOT not found

Apache StreamPipes version
dev (current development state)
Affected StreamPipes components
Processing Elements
What happened?
Similar as #778
When attempting to run docker-compose -f docker-compose.full.yml up -d, I received the following error message:
 - sources-vehicle-simulator Error                                                                                3.2s
Error response from daemon: manifest for apachestreampipes/sources-vehicle-simulator:0.92.0-SNAPSHOT not found: manifest unknown: manifest unknown

After further investigation on apachestreampipes/sources-vehicle-simulator Tags | Docker Hub, it appears that the latest available version is 0.69.0.
How to reproduce?

Yes, I am willing to submit a PR!

thanks a lot for reporting @loststar 🙏🏼
We really appreciate your interest to contribute here.
Do you need any help to get started?

thanks a lot for reporting @loststar 🙏🏼 We really appreciate your interest to contribute here. Do you need any help to get started?

Hi @bossenti, thank you for reaching out. Yes, I would appreciate some help. 🙏🏼
I think the root cause of the issue may be that sources-vehicle-simulator is not included in streampipes/.github/workflows/build.yml. As I noticed, the source code of this image is continually updated. So I assume adding this task to build.yml like Task: Build and Push Docker Image sources-watertank-simulator can solve the problem.
Do you and have any concern about this? @bossenti @tenthe

I'm not entirely sure here if sources-vehicle-simulator should still be part of the full deployment or if it was not properly removed 🤔
@dominikriemer @tenthe what are your thoughts here?

Hello @loststar,
thank you very much.
You are right, it seems that the Docker image is not currently built.
I think we need to decide if we want to include this container in the full release or not.
My suggestion would be that we remove it for future releases, but as long as it is part of docker-compose.ym, we should provide a container.
What do you think about this?

Hi, @tenthe, I agree with you. It is a good idea to remove it before deciding if it is necessary.

Hi @bossenti and @tenthe, it looks like there aren't any more opinions, so I went ahead and submitted a PR based on our earlier discussion.

@loststar awesome, thanks a lot!


[DOC] upgrade mxnet dependency to 1.5.0

Description
upgrade mxnet dependency to 1.5.0
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[ ] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Changes

[x] upgrade mxnet dependency to 1.5.0

Found link check problems in job PR-842/3:
(line    7) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    7) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    3) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line   19) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   21) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line  442) broken    https://www.aclweb.org/anthology/P02-1040.pdf)[1 - 404 Client Error: Not Found for url: https://www.aclweb.org/anthology/P02-1040.pdf)%5B1
(line   92) broken    https://nlp.stanford.edu/pubs/glove.pdf)[2 - 404 Client Error: NOT FOUND for url: https://nlp.stanford.edu/pubs/glove.pdf)%5B2
(line  208) broken    https://www.bioinf.jku.at/publications/older/2604.pdf)[3 - 404 Client Error: Not Found for url: https://www.bioinf.jku.at/publications/older/2604.pdf)%5B3

Job PR-842/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-842/3/index.html

@eric-haibin-lin there is an issue with float16 support for the bert finetune scripst on mxnet 1.5 mxnet.base.MXNetError: [15:30:30] src/operator/tensor/./ordering_op-inl.h:551: This operation does not support float16

There was a fix for AMP which is added to mxnet after 1.5 code freeze. I can help fix the script.

Found link check problems in job PR-842/4:
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    7) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    3) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    7) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line    4) broken    https://gluebenchmark.com/tasks - 404 Client Error: Not Found for url: https://gluebenchmark.com/tasks
(line   19) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   21) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line  442) broken    https://www.aclweb.org/anthology/P02-1040.pdf)[1 - 404 Client Error: Not Found for url: https://www.aclweb.org/anthology/P02-1040.pdf)%5B1
(line   92) broken    https://nlp.stanford.edu/pubs/glove.pdf)[2 - 404 Client Error: NOT FOUND for url: https://nlp.stanford.edu/pubs/glove.pdf)%5B2
(line  208) broken    https://www.bioinf.jku.at/publications/older/2604.pdf)[3 - 404 Client Error: Not Found for url: https://www.bioinf.jku.at/publications/older/2604.pdf)%5B3

Job PR-842/4 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-842/4/index.html

Found link check problems in job PR-842/5:
(line   19) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   21) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line  442) broken    https://www.aclweb.org/anthology/P02-1040.pdf)[1 - 404 Client Error: Not Found for url: https://www.aclweb.org/anthology/P02-1040.pdf)%5B1
(line   92) broken    https://nlp.stanford.edu/pubs/glove.pdf)[2 - 404 Client Error: NOT FOUND for url: https://nlp.stanford.edu/pubs/glove.pdf)%5B2
(line  208) broken    https://www.bioinf.jku.at/publications/older/2604.pdf)[3 - 404 Client Error: Not Found for url: https://www.bioinf.jku.at/publications/older/2604.pdf)%5B3

Job PR-842/5 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-842/5/index.html

@szha could you please update cuda on the CI server. The current version is untested for mxnet 1.5 and may be responsible for the out of memory errors
http://ci.mxnet.io/blue/organizations/jenkins/GluonNLP-py3-gpu-integration/detail/PR-848/7/

Found link check problems in job PR-842/13:
(line   19) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   21) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line  442) broken    https://www.aclweb.org/anthology/P02-1040.pdf)[1 - 404 Client Error: Not Found for url: https://www.aclweb.org/anthology/P02-1040.pdf)%5B1
(line   92) broken    https://nlp.stanford.edu/pubs/glove.pdf)[2 - 404 Client Error: NOT FOUND for url: https://nlp.stanford.edu/pubs/glove.pdf)%5B2
(line  208) broken    https://www.bioinf.jku.at/publications/older/2604.pdf)[3 - 404 Client Error: Not Found for url: https://www.bioinf.jku.at/publications/older/2604.pdf)%5B3

Job PR-842/13 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-842/13/index.html

Found link check problems in job PR-842/15:
(line   19) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   21) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line  442) broken    https://www.aclweb.org/anthology/P02-1040.pdf)[1 - 404 Client Error: Not Found for url: https://www.aclweb.org/anthology/P02-1040.pdf)%5B1
(line   92) broken    https://nlp.stanford.edu/pubs/glove.pdf)[2 - 404 Client Error: NOT FOUND for url: https://nlp.stanford.edu/pubs/glove.pdf)%5B2
(line  208) broken    https://www.bioinf.jku.at/publications/older/2604.pdf)[3 - 404 Client Error: Not Found for url: https://www.bioinf.jku.at/publications/older/2604.pdf)%5B3

Job PR-842/15 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-842/15/index.html

Found link check problems in job PR-842/16:
(line   19) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line    5) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line   21) broken    https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/ - 404 Client Error: Not Found for url: https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/
(line  442) broken    https://www.aclweb.org/anthology/P02-1040.pdf)[1 - 404 Client Error: Not Found for url: https://www.aclweb.org/anthology/P02-1040.pdf)%5B1
(line   92) broken    https://nlp.stanford.edu/pubs/glove.pdf)[2 - 404 Client Error: NOT FOUND for url: https://nlp.stanford.edu/pubs/glove.pdf)%5B2
(line  208) broken    https://www.bioinf.jku.at/publications/older/2604.pdf)[3 - 404 Client Error: Not Found for url: https://www.bioinf.jku.at/publications/older/2604.pdf)%5B3

Job PR-842/16 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-842/16/index.html


Cursor line is not showing up in Vim

Hi! I love this theme, I got it for vim, tmux, iTerm, git and for some reason in vim my cursor line is not highlighting just the block cursor is.  Also my status line seems to be a different color and I'm not sure what I have done wrong :(
If you have any ideas I'd appreciate them.
Here is a screenshot of what vim look like for me:

@BrandonShega The colors shown in the screenshot are not Nova colors; it is also missing the default status line color. My guess is the plugin wasn't installed correctly, or an old version of Vim is installed (without true color support). What do you get when you run vim --version in your shell? You should get 8.0 or above. Have you gone through each of the steps and notes on  https://trevordmiller.com/projects/nova?

@BrandonShega Also, does running inside tmux look differently than outside of tmux? If so, tmux doesn't have the right config or is an old version without true color support. Please see the instructions on the website ^ for Tmux as well as Vim.

I thought the colors were looking a little off... I'll let you know what the output is tomorrow and redo the install as well.

@BrandonShega Ok. My guess is you are either have an old version of Vim or Tmux or both. Vim should be 8.0.0+ and tmux should be 2.2+. If you are on a Mac, I recommend using Homebrew (ie brew install vim && brew install tmux) to get the latest of each. Then just make sure your ~/.vimrc has:
{Plugin Manager} 'trevordmiller/nova-vim'
colorscheme nova

Example: https://github.com/trevordmiller/nova-vim/blob/master/assets/.vimrc
And your .tmux.conf has:

set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set -g pane-border-style 'fg=brightblack,bg=black'
set -g pane-active-border-style 'fg=brightwhite,bg=black'
set -g status-style 'fg=brightblack,bg=black'
set -g message-style 'fg=cyan, bg=black'
set -g clock-mode-colour cyan

Example: https://github.com/trevordmiller/nova-tmux/blob/master/assets/.tmux.conf
It should look like the example screenshots here: https://trevordmiller.com/projects/nova

Closing for now as I assume this will fix the problem, but feel free to reopen if it doesn't :) Thanks for using Nova.

Hi @trevordmiller, ok so I have vim 8.0 with patches 1-456 installed via homebrew and tmux 2.3 installed via homebrew.  Vim looks the same installed both in and outside of tmux.  One thing I did notice and I think this was mentioned in another issue or a google post but if I don't have set notermguicolors at the bottom of  my ~/.vimrc then all of the colors are just gone.
Here are links to my .vimrc and .tmux.conf if you'd like to take a look at them. (I actually use a predefined dotfile package so I have a .vimrc and .vimrc.local as well as .tmux.conf and .tmux.conf.local, I will link them both maybe there is something in the default prohibiting this)
vimrc: https://gist.github.com/BrandonShega/0777e48014354ac3fa9e71509ccf982b
vimrc.local: https://gist.github.com/BrandonShega/7935fc9fe3f12540ec34f5b0fe96c9f2
tmux.conf: https://gist.github.com/BrandonShega/f4e00bcbc6d0719a8960238c6f73c11b
tmux.conf.local: https://gist.github.com/BrandonShega/b3a2a882ff4fc9e0863e49c46ae5155e
I know there are probably some duplicate lines between the 2 versions, I'm still working on cleaning that up.  Let me know if you see anything that stands out though.
Thanks!

Never mind I removed the nova-vim folder from my bundle folder and then reinstalled it and now it seems to be working ¯_(ツ)_/¯.

@BrandonShega Ok good glad you got it working :) Will close this issue. Hope it works well for you.


FirestoreUI Sample and Integration Tests

These are missing, and should be added to demonstrate usage of the FirestoreUI library and ensure correctness.

+1 for this, I seem to be running into some InconsistencyExceptions and I'm having troubles figuring out what I setup incorrectly.

@liukaichi if you open a new issue with the crashes you're running into I'm happy to help you troubleshoot.

@morganchen12 That'd be awesome! I'm not at my computer now but I opened a stack overflow question for it. I'll make an issue on it later.
If you have time to look at the question first, it's here: https://stackoverflow.com/questions/48570406/nsinternalinconsistencyexception-on-first-load-firestoreui-uicollectionvie

There's nothing wrong with the code you've posted in the StackOverflow question. Can you share a full project that I can compile and run?


chore(main): release 0.3.0

:robot: I have created a release beep boop
0.3.0 (2023-11-17)
Documentation

updating README.md with add-sample-hits subcommand documentation (2df8bc5)

Features

adding ListOfSampleGraphs class (0b29530)
adding SampleGraph class (e673f36)
adding subcommand add-sample-hits (34c25b9)

Bug Fixes

adding SampleGraph.from_subcommunity_graph() (398d863)
fixing BaseGraph.get_induced_components() (d9e277c)
fixing HTML sample filters production (8db01bc)
fixing OutputProducer.produce_subcommunities_visualisation() typing (90875c4)
fixing SampleGraph constructor (f5edfb0)
removing unused tag in index_template.html (33d9690)

Code Refactoring

adding attribute description to BaseGraph instead of computing it when producing visualiation (a2496fc)
adding attribute path to BaseGraph instead of computing it when producing the visualisation (4367bc0)
adding method ListOfGraphs.get_graphs_sorted_by_size() instead of computing this during visualisation (69d1db7)
big refactor in OutputProducer, using the previous changes to produce visualisation (750a8de)
graph parameter in BaseGraph classes and its subclasses is now properly typed as Optional (09f92cf)
ListOfSampleGraphs -> SampleGraphs (9062ca2)
removing old code to add sample hits from BaseGraph (4445907)

Tests

adding add-sample-hits integration test (f700e88)
adding subcommunities pickle to test data (d216dcc)
updating test data (6e33af4)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/leoisl/plasnet/releases/tag/v0.3.0 :sunflower:


Cannot install with NPM when added as github dependency

For my JS project, I cannot use yarn and have to use NPM in my project and I wanted to specify txwrapper as a GitHub dependency but because of the files field in package.json, npm considers only the lib folder (for more check here). Is it possible to remove that field?
For reference, i removed it here and then specified it as GH dependency and a postinstall script in my package.json like below (I see its not cross platform) and I am able to use it.
"scripts": {
    .......,
    "postinstall": "cd node_modules/@substrate/txwrapper && npm run build && cd -"
},

"dependencies": {
     "@substrate/txwrapper": "github:lovesh/txwrapper#with-npm",
....
}

@lovesh can you elaborate why you want to install source code from github and not use the npm package?
I see the issue you are having, but in normal circumstances we don't expect users to transpile TS to JS  so trimming the package by shipping just the JS is reasonable.

I wanted the package with @polkadot/api version 3.1.1 as a dependency which hasn't been released yet

Gotchya, I will make a release soon.
Unfortunate that npm doesn't have resolution support the way yarn does.

Took at bumping polkadot-js/api and seems like there are some breaking changes to internals of metadata. Will try and update in the next 24 hours

Thank you @emostov

This PR has @polkadot/api 3.2.2: https://github.com/paritytech/txwrapper/pull/352

Thanks @emostov

@lovesh & @EvanXzj also just published a version with @polkadot/api 3.1.1 to npm


[WIP] Increase padding between title and intro text by 30px

Changes

Changes margin_bottom to option 4 for page title which adds margin of $gutter
Removes raw HTML for govuk-govspeak in favour of component.

Notes

Changes will require new version of components
GovSpeak component has additional styling such as larger text and margin bottom. However this makes the page more readable.

What
The intro text and page title are currently jammed together on the step by step overview page e.g. https://www.gov.uk/report-treasure-step-by-step
We should increase the padding between the two.
Why
One of our goals this quarter is to optimise the user-facing step by step pattern.
Ticket: https://trello.com/c/rybSrXTF/699-increase-padding-between-title-and-intro-text-by-30px

DO NOT MERGE UNTIL COMPONENT HAS BEEN UPDATED :)


Restructure tests and some maintenance.

Coverage decreased (-3.07%) to 56.551% when pulling f46d4125e30023ef43110a086f01940b3bda92ff on michakraus:master into fc9ce02947e2912e516202f9a02b0bd365def85e on DDMGNI:master.


Fixed api to call correct url. Added additional diablo 3 api calls

Api calls were not working since null url was called every time.
Also added some new diablo 3 api calls.

Thanks and good job. The null url bug is due to my refactoring and didn't notice I made a mistake, thanks.


no negative values allowed in mo.ui.table

Describe the bug
using plotly to return a list of dicts when values in graph are highlighted.
these values are used in calculations that are then output to a table mo.ui.table displayed under the graph.
if the values are negative in the table (i.e. calculating rate of change etc), a "math domain error" is returned and the field in the table is left blank, along with all successive fields in the table.
I have troubleshooted with print statements and it should be fine. issue goes away when I introduce abs(x)
Environment
{
"marimo": "0.4.1",
"OS": "Windows",
"OS Version": "10",
"Processor": ",
"Python Version": "3.11.8",
"Binaries": {
"Browser": "",
"Node": "v20.11.1"
},
"Requirements": {
"click": "8.1.7",
"importlib-resources": "5.7.0",
"jedi": "0.19.1",
"markdown": "3.5.2",
"pymdown-extensions": "10.7.1",
"pygments": "2.17.2",
"tomlkit": "0.12.3",
"uvicorn": "0.28.0",
"starlette": "0.37.2",
"websocket": "missing",
"typing-extensions": "4.8.0",
"black": "24.2.0"
}
}
Code to reproduce
df = selection_to_dataframe(plot.value)
table = mo.ui.table(df)
where selectrion to dataframe disseminates data into values for the dataframe

I cannot repro this: https://marimo.app/l/yq95qy
Can you include a full snippet of code with the reproduction?

Closing as we cannot reproduce with the given code


Dynamic re-compilation fails after react-scripts 2.1.5 upgrade

Dynamic compilation problem since upgrading to react-scripts 2.1.5 (has been working fine for years previously). Have done a completely fresh "create-react-app" and re-applied my code but exactly the same problem.
App compiles and runs fine with "npm start"
Compiled successfully!
You can now view freemaths in the browser.
Local:            http://localhost:3000/
On Your Network:  http://<IP_ADDRESS>:3000/
Note that the development build is not optimized.
To create a production build, use npm run build.
but if I save a file even with no changes ....
Failed to compile.
./src/FreeMaths.js
Line 101:  Parsing error: Unexpected token
99 |       {this.state.message?<div name="alert" className={"alert alert-dismissible alert-"+this.state.message.type}>
100 |       <button type="button" className="close" onClick={this.state.message.close?this.state.message.close:()=>this.setState({message:null})} data-dismiss="alert">×

101 |       {this.state.message.text}:null}
|                                        ^
102 |       {this.showPage()}
103 |       {this.showModal()}
104 |       {this.state.password&&this.state.modal!=='mail'?<Password auth={()=>this.setState({log:fm.user.log,password:null})} close={()=>this.setState({log:null,password:null})}/>:null}
=================================================

if I stop and re-start ...
Compiled successfully!
You can now view freemaths in the browser.
Local:            http://localhost:3000/
On Your Network:  http://<IP_ADDRESS>:3000/
Note that the development build is not optimized.
To create a production build, use npm run build.
npm version: 6.7.0
*** tried this but doesn't work*** npx create-react-app --info:
Please specify the project directory:
index

I think I have sorted this - typescript package is missing (which makes sense as typescript is the issue 2.1.5 was working on). When I  "npm install typescript" all is fine.
To reproduce just create a new project (e.g. npx create-react-app app2.1.5)
cd into the new project and run "npm list":
...
npm ERR! peer dep missing: typescript@*, required by<EMAIL_ADDRESS>To fix simply npm install typescript

Spoke too soon. Problem has returned despite installing typescript.
It doesn't always happen immediately. Can take a few saves before the compilation breaks. I'll try 2.1.4 when I get chance to see if it is just a 2.1.5 issue.

Hi @freemaths please install eslint 5.12.0 as Dev Dependency it worked for me.

Re-installed node, deleted global node_modules and now all appears to be fine. Will close tomorrow assuming all still fine after a day of development work.


MultiProgressBar misses a '\n' for the last progress bar

When you look at the image, you see the percent sign behind the last progress row.
Thats my prompt sign which is on the wrong line.
You can also see this in the following screenshots from running the MultiProgressBar in a deno test:

I'll add a small PR for this.

Hmm, I'm currently analyzing what problem there is with drawing the progress bars.
Try to put 3 progress bars in the test. You should see that it is broken now, as it is for me.
The third progress bar does not render while 1 &2 are, despite the data being in the array.
also, after rendering of all three bars is complete, the next prompt will be on the same line as the 3rd progress bar, which appears in one complete rendering at the end.
Maybe this is an issue with ANSI escape sequences used while drawing, I experimented with this on the weekend and tried to refactor it completely and it is another kind of complicated sometimes.
I now have a solution, which is able to render 3 progress bars independently of one another from 1 readable stream for each bar, containing the completed prgress, however,
Since my test uses fast-firing timers the rendering is sometimes a bit laggy.
Also, printing console logs messes up the rendering of the bars, so this has to still be adjusted.
If you're interested at looking into my refactoring, I can give you a WIP PR, if you want :)

Three progress bars is ok. Maybe you can try another computer


Feature Req: Http Post for change in location service settings

Sometimes a user may unintentionally switch off location service.
In such cases it would be great if this plugin

Could either start the parent app if it not in the background already.
Http Post update about the change to a custom url.
Add another column in present local sql storage table, this column would contain change in location service setting. If there is no change, this column would be null.

Hope this makes sense.

@mauron85 Can you please share your opinion on this?
I think the following makes much more sense:

Log changes in location service or GPS turned on or off in a separate column/parameter in the callback. Other parameters or columns would be null.
Whenever a change occurs, try to send immediate update to server. If network's not available or sending fails, store the update in local database.

@mauron85 I am trying to find watchLocationMode implementation in the code. Currently this function is only triggered when the app is active or in background. No way to log users changes in location settings when the app is closed. Looking forward to know what you think.

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.

Can you please reopen this issue.


Possible conflict with "CarryCapacity".

It seems like Player Corpse is not working properly (e.g. no corpse and no death marker sometimes) if "CarryCapacity" is installed as well. CopyGirl, the author of CC said she needs a break from VS, so maybe you could fix this on your side. I am getting the following error in the console sometimes (from CC):

[Error] Mod exception: OnPlayerDeath
17.10.2022 14:25:26 [Error] Exception: System.MissingFieldException: Field not found: 'Vintagestory.API.Common.Entities.EntityServerProperties.Attributes'.
at CarryCapacity.Common.DeathHandler.OnPlayerDeath(IPlayer player, DamageSource source)
at Vintagestory.API.Common.PlayerDeathDelegate.Invoke(IServerPlayer byPlayer, DamageSource damageSource)
at Vintagestory.Server.ServerEventManager.TriggerPlayerDeath(IServerPlayer player, DamageSource source) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ServerEventManager.cs:line 750

The problem is related to CarryCapacity. Most likely, his crash blocks further receiving of events and the death handling code from PlayerCropse does not run.
P.S. If this happens occasionally, then it most likely does not work if something is held in the hands or hanging on the back

I won't be able to fix it on my end, CC requires recompilation due to API change

I opened PR with updated CC v0.6.6, this should fix conflict with PlayerCorpse on 1.17 (at least on 1.17.9)

I'll try  bypass CarryCapacity event registration time. Or you can try the version from PR, but it will not be available via autoload on servers

Am 22.10.2022 01:40 schrieb DArkHekRoMaNT @.***>:
I'll try  bypass CarryCapacity event registration time. Or you can try the version from PR, but it will not be available via autoload on servers
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>
CopyGirl said that she will not continue modding for VS at the moment and that CC is open source, so if you are interested in fixing it and upload it to the moddb, you could. See official forum post.Am 22.10.2022 01:40 schrieb DArkHekRoMaNT @.>:
I'll try  bypass CarryCapacity event registration time. Or you can try the version from PR, but it will not be available via autoload on servers
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Your email response doesn't seem to work correctly. What did you want to say?

I reduced the Execute Order from default 0.1 to 0.099, this is earlier than CarryCapacity and might fix the problem

Fixed in 1.5.2


Switch SunCard to 24hr time format

Got this email from user:

Hi!
I really like your beta of Lively Weather.
But the "sun" dial would be really much better if it had 24-hours support.
Many people in the northern Europe (Norway here) use english language but the country has 24-hour clocks and does not use AM/PM.

It depends on system settings, yes.

My [Windows 10] system shows AM/PM, but the app shows 24hr time.  ?

I am not sure, this is what I am using:
https://learn.microsoft.com/en-us/dotnet/api/system.datetime.toshorttimestring?view=net-8.0


Selecting the same tag multiple times clears all instances of the tag from selection

To reproduce:

See http://jsfiddle.net/NathanFriend/rLmztr2d/
Select a value from the dropdown more than once (i.e. January, January)

The second time a tag is selected, all instances of the tag are cleared from the selection.  I would expect the tag to either be added twice or for the second tag to not be added at all.

Actually, this is the expected behavior.  I missed that the selected items in the dropdown are highlighted to show their "selected" status and selecting an item "twice" is actually just unselecting the option.


Assorted python updates related to python310

Motivation for this change
Fix two packages for python3.10 that were not currently building.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

[bump]

python310Package.mpi4py doesn't build on master, but does now build on this branch.
A lot of other packages seems to be broken though.
 All of the updated packages build here on this PR for me ( nix build -f . python310Packages.catalogue python310Packages.h5py python310Packages.imagecodecs-lite python310Packages.mpi4py python310Packages.sfepy  --keep-going), but it looks like they didn't for you.

All packages listed seem to build now after the latest changes (using nix-build). I don't know about dependencies as nixpkgs-review seems to take forever. I'll try running it overnight.

After running nixpkgs-review the only packages that fail to build are the following

python310Packages.caffe
python310Packages.fenics
python310Packages.fipy
python310Packages.nilearn
python310Packages.qiskit-aqua
python310Packages.qiskit-nature
python310Packages.spacy
python310Packages.textacy
python310Packages.thinc
python39Packages.fenics
python39Packages.qiskit
python39Packages.spacy
python39Packages.spacy-transformers
python39Packages.textacy
python39Packages.thinc

All of those packages fail to build on master so no regressions in this PR as far as I can tell.


Show key metrics after running .merge(...)....execute()

Feature request
Overview
When executing the .execute() method of the DeltaMergeBuilder() class, please return some statistics about what was actually changed on the target Delta Table. Such as the number of rows deleted/inserted/updated/etc.
Motivation
I take inspiration from the .executeCompaction() and .executeZOrderBy() methods of the DeltaOptimizeBuilder() class. As documented (here and here), these methods will "DataFrame containing the OPTIMIZE execution metrics".
In a similar context, when I run deltaTable.merge(...).whenMatchedUpdateAll().whenNotMatchedInsertAll().execute(), I'd like to know exactly what changes were made to the target Delta table.
Showing things like:

How many rows were Updated
How many rows were Inserted
How many rows were Deleted
How many rows were in the Delta Table before the merge
How many rows are there in the Delta Table after the merge
etc

That way, I can check exactly what changes were made to my table, and how that table is changing over time.
Further details
To implement this feature, changes will need to be made to the self._jbuilder attribute of the DeltaMergeBuilder() class.
Example
Setup
>>> from pyspark.sql import SparkSession
>>> import pandas as pd
>>> from delta import DeltaTable
>>> spark = SparkSession.builder.getOrCreate()
>>> df1 = spark.createDataFrame(
...     pd.DataFrame({
...         "id": [1,2,3,4,5,6,7,8,9,10],
...         "value": ["1","2","3","4","5","6","7","8","9","10"],
...     })
... )
>>> df2 = spark.createDataFrame(
...     pd.DataFrame({
...         "id": [6,7,8,9,10,11,12,13,14,15],
...         "value": ["16","17","18","19","110","111","112","113","114","115"]
...     })
...  )
>>> df1.write.mode("overwrite").format("delta").save("/temp/df1")
>>> df3 = DeltaTable.forPath(spark, "/temp/df1")
>>> df1.show()
+-----+--------+
|  id |  value |
+-----+--------+
|   1 |  "1"   |
|   2 |  "2"   |
|   3 |  "3"   |
|   4 |  "4"   |
|   5 |  "5"   |
|   6 |  "6"   |
|   7 |  "7"   |
|   8 |  "8"   |
|   9 |  "9"   |
|  10 |  "10"  |
+-----+--------+
>>> df2.show()
+-----+--------+
|  id |  value |
+-----+--------+
|   6 |  "16"  |
|   7 |  "17"  |
|   8 |  "18"  |
|   9 |  "19"  |
|  10 |  "110" |
|  11 |  "111" |
|  12 |  "112" |
|  13 |  "113" |
|  14 |  "114" |
|  15 |  "115" |
+-----+--------+
>>> df3.toDF().show()
+-----+--------+
|  id |  value |
+-----+--------+
|   1 |  "1"   |
|   2 |  "2"   |
|   3 |  "3"   |
|   4 |  "4"   |
|   5 |  "5"   |
|   6 |  "6"   |
|   7 |  "7"   |
|   8 |  "8"   |
|   9 |  "9"   |
|  10 |  "10"  |
+-----+--------+

Current Implementation
>>> results = (
...     df3.alias("dlt")
...     .merge(
...         df2.alias("spk"),
...         "dlt.id = spk.id",
...     )
...     .whenMatchedUpdateAll()
...     .whenNotMatchedInsertAll()
...     .execute()
... )
>>> print(results)
None
>>> spark.read.format("delta").load("/tmp/df1").show()
+-----+--------+
|  id |  value |
+-----+--------+
|   1 |  "1"   |
|   2 |  "2"   |
|   3 |  "3"   |
|   4 |  "4"   |
|   5 |  "5"   |
|   6 |  "16"  |
|   7 |  "17"  |
|   8 |  "18"  |
|   9 |  "19"  |
|  10 |  "110" |
|  11 |  "111" |
|  12 |  "112" |
|  13 |  "113" |
|  14 |  "114" |
|  15 |  "115" |
+-----+--------+

Future Implementation
The DataFrame in the results object is only a suggestion. The future shape/style/metics/etc could be a little bit different. This is just an indication of something like what I'd like to see returned from the .execute() method.
results = (
    df3.alias("dlt")
    .merge(
        df2.alias("spk"),
        "dlt.id = spk.id",
    )
    .whenMatchedUpdateAll()
    .whenNotMatchedInsertAll()
    .execute()
)
print(results)
+------------------+--------+
|           metric |  value |
+------------------+--------+
|  "Starting Rows" |  10    |
|  "Rows inserted" |  5     |
|  "Rows updated"  |  5     |
|  "Rows deleted"  |  0     |
|  "Ending Rows"   |  15    |
+------------------+--------+
spark.read.format("delta").load("/tmp/df1").show()
+-----+--------+
|  id |  value |
+-----+--------+
|   1 |  "1"   |
|   2 |  "2"   |
|   3 |  "3"   |
|   4 |  "4"   |
|   5 |  "5"   |
|   6 |  "16"  |
|   7 |  "17"  |
|   8 |  "18"  |
|   9 |  "19"  |
|  10 |  "110" |
|  11 |  "111" |
|  12 |  "112" |
|  13 |  "113" |
|  14 |  "114" |
|  15 |  "115" |
+-----+--------+

Willingness to contribute
The Delta Lake Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature?

[ ] Yes. I can contribute this feature independently.
[ ] Yes. I would be willing to contribute this feature with guidance from the Delta Lake community.
[x] No. I cannot contribute this feature at this time.

Sorry, I'm not very familiar with Java programming, and I would really struggle to implement this feature on my own.

This seems like a logical addition considering we just added return metrics to the merge SQL command in the 2.1.0 release. We can leave this open and see if anyone wants to work on it.

@allisonport-db can you assign it to me ?

Regarding this and #1389 we can't change our current APIs to return the operation metrics since changing the return type is a breaking change for the Scala APIs.
Instead of adding new methods to support returning these metrics and increasing our API surface, the better solution is to directly support programmatic APIs in spark for update/delete/merge which are already supported in SQL. We've opened SPARK-40937 to track this
cc: @sherlockbeard


@return tag should not be included for constructors

Where javadoc specifications need to be followed, @return tags should not be included for constructors. http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#@return

Note: it doesn't make sense for JavaScript constructors either (new class syntax names them 'constructor', which makes them easy to find).


Building proxy classes from NodeSet2.xml file

I know, the model compiler does require the corresponding *model.xml file in order to create the NodeSet2.xml file and proxy classes.
Since companion specs must not provide the valid model.xml file, the UA-ModelCompiler is useless in that case. Unless we write the companion spec model by ourselves.
I am talking about the machinery companion spec, which can be found here: https://github.com/OPCFoundation/UA-Nodeset/tree/v1.04/Machinery
My question is, is there any official OPCFoundation tool which is capable in creating the c# proxy classes based on the NodeSet2.xml files? or will there be support in the UA-ModelCompiler?
What i see is that we seem to be forced to used any commercial sdk which creates different proxy classes incompatible to the official OPCFoundation c# stack.
So whats the purpose of the C# Stack on github, by providing an incomplete toolchain?
If somebody has any information about the intention/current sate, i would be very thankful!
In the meantime we have managed to write the corresponding model for a few companion specs we want to support. But once the companion specs changes, we need to manually adjust those models...

Hi  @pgrimmert
I have the same issue with MachineVision NodeSet.
No, there is no official converter from NodeSet2 format to ModelDesign format. I already raised this issue during an OPC Foundation TAC meeting. Nevertheless, I know that @mpostol has a solution with ASMD to convert NodeSet2 to ModelDesign. My tests during last summer were not successful but we need to go forward.
This issue is also linked to #48. The problem is that the ModelDesign format was not updated completely to follow the NodeSet2 format. So even if we had a tool to convert NodeSet to ModelDesign, some modifications on the Model compiler shall be necessary.
I know that @randy-armstrong  made a very good work with the design of the Model Compiler. I don't criticize. My point is that i am not sure a lot of guys are able to modify this model compiler.
I am really interested to continue the discussion on the subject.

@eoursel, thanks for mentioning my work. I apologize to have to postpone further work with ASMD, but currently, my priority is to continue with Azure Gateway Implementation 1.0 and the description of my findings in an article. More you can get from:
Azure Gateway DataRepository Implementation
@.. Instead of using the ASMD for conversion purpose try the tool Address Space Prototyping Tool (asp.exe)  published as the:
Semantic-Data ModelDesign Export 5.1.0
The installation package is available as UAAddressSpacePrototyping-5-01.exe - added as the aaset to the release.
To harmonize our activity let me know how urgent your work is.
My general concern is that the OPC UA IM model development process should be modified,  but, unfortunately, OPC Foundation is driven by private companies so any innovation is very hard to deploy.

Thank you for the feedback and helpful links. I will close this issue for now.

Thank you for the feedback and helpful links. I will close this issue for now.

@pgrimmert, @eoursel, let me inform you that I have just resumed work on OPC UA Information Models Compliance Testing.  The result is open source so it will fill the gap hopefully.
Review the list of tasks and let me know about your priorities.
Follow the mpostol/ASMD#120 to get details.
Concluding, I am pretty sure that in some cases recovering the ModelDesign files from UANotSet is impossible, therefore intentionally ModelDesign files are not officially available. @pgrimmert you are 100% right, but as a community the only we could do is making the recovery ModelDesign file as simple as possible. It is my goal.
I agree to close the issue. We can do nothing more about this issue here.

@pgrimmert, @eoursel, let me inform you that I have just resumed work on OPC UA Information Models Compliance Testing.  The result is open source so it will fill the gap hopefully.
Review the list of tasks and let me know about your priorities.
Follow the mpostol/ASMD#120 to get details.
Concluding, I am pretty sure that in some cases recovering the ModelDesign files from UANotSet is impossible, therefore intentionally ModelDesign files are not officially available. @pgrimmert you are 100% right, but as a community the only we could do is making the recovery ModelDesign file as simple as possible. It is my goal.
I agree to close the issue. We can do nothing more about this issue here.

Hi @pgrimmert, @eoursel
I returned to work on Information Models. You will be available shortly to discuss your issue
Is it still valid?
Consider in mpostol/ASMD#158


Why ™?

Why ™ here? TM ( ™ ) For waiting for brand approval from government.

Trying to be a Brand , May be in Future..


NavigationViewItem still shows an Empty Flyout when selected in Left Compact mode even if it has no child menu items

Describe the bug

Binding the NavigationViewItem's MenuItemsSource to an empty collection still shows an empty flyout when selected in Left Compact mode.
Steps to reproduce the bug

Steps to reproduce the behavior:

Create a NavigationView in left compact mode.
Bind an empty Collection to a NavigationViewItem
Click on the NavigationViewItem, it will show an empty flyout

Expected behavior

If the NavigationViewItem has no children, it should not show an empty flyout when selected in Left Compact mode
Screenshots

Version Info

NuGet package version:

Microsoft.UI.Xaml 2.5.0-prerelease.201027002

Windows app type:

UWP
Win32

Yes
No

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)
Yes

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

I would like to look into this.


Implement templating for the preview component.

Description

Use mustache.js for templating the email, and showdown.js to
render it to HTML.
Motivation and Context

The preview component must be able to render the email on the screen.
To achieve this, I used a template engine, and to render it, I used a
Markdown library.
How Has This Been Tested?

Manually in the Chrome browser.
Screenshots:

None yet. I will post one, once the component is complete.
Types of changes

New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Code cleanup / Refactoring
Documentation

Checklist:

[] I have updated the documentation accordingly.
[] I have written unit tests

Superseded by #3.


Add French locale

Hi to all, I made the translation in french, be indulgent it's the first time I use GitHub

@AxelPilop thank you for the translations, they look great!


Create a form for core members to directly post a job on the website

Hi, you need to create a form for some selected core members to directly post, update and remove a job post, on the website, just like we discussed it on discord.
If you have any questions, let me know on discord. Thank you!

I'm closing this, as we don't need to work on this until designs are finished.


Show all processes in ubuntu.

exports.lookup = function (query, callback) {
-line  var exeArgs = query.psargs || ['l'];
+line  var exeArgs = query.psargs || ['lx'];
Without the x only processes with a tty will show.

will update in the next release, you can use the option psargs to change the option for the moment

0.1.6 released https://github.com/neekey/ps/pull/48


Issue template

#63
Pull Request Description
Description:
This pull request adds multiple issue templates to the project, improving the workflow for creating standardized issues. The templates guide contributors to submit well-structured bug reports, feature requests, and other types of issues.

Added three issue templates in the .github/templates/issue_template/ directory.

bug_report.md: For reporting bugs in the project.
feature_request.md: For submitting feature requests or improvements.
other_issue.md: A general template for any other types of issues not covered by the above categories.

These templates will help ensure that contributors provide the necessary details when reporting issues, leading to better organization and more effective problem resolution.
Key Changes:

[x] Added: .github/templates/issue_template/bug_report.md
[x] Added: .github/templates/issue_template/feature_request.md
[x] Added: .github/templates/issue_template/other_issue.md

Related Issue(s)
No related issues were directly resolved by this pull request.
Screenshots (if applicable)
No screenshots are necessary for this PR.
Testing
Not applicable. This change only adds markdown files for GitHub issue templates.
Type of Changes

[x] Documentation update (adding issue templates)

Checklist

[x] I have read the contribution guidelines
[x] My code follows the project’s coding style
[x] I have performed a self-review of my code
[x] My changes generate no new warnings
[x] All new and existing tests passed (N/A)

Additional Notes
The added issue templates aim to streamline the process of reporting bugs, requesting features, and submitting other issues by providing clear guidelines and structure for contributors.

Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


Don't send empty tags or values to InfluxDB

If receiving a syslog message that has the ident field empty the influxdb plugin will try to send the following line:
syslog,host=fwtpcore1b,ident= message=\"BLAHBLAHBLAH\"<PHONE_NUMBER>

The fact that the ident tag is empty results in this error:
2015-12-04 08:22:42 -0500 [warn]: temporarily failed to flush the buffer. next_retry=2015-12-04 08:22:44 -0500 error_class="InfluxDB::Error" error="partial write:\nunable to parse 'syslog,host=fwtpcore1b,ident= message=\"BLAHBLAHBLAH\"<PHONE_NUMBER>': missing tag value\n" plugin_id="object:166e6d4"

The change makes sure an empty tag or field/value is never written out to InfluxDB.

Hi
I update your code but error:
2015-12-07 13:30:31 +0700 [warn]: temporarily failed to flush the buffer. next_retry=2015-12-07 13:30:51 +0700 error_class="NoMethodError" error="undefined method empty?' for 392299:Fixnum" plugin_id="object:3f842fb4eea0"   2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-influxdb-0.2.2/lib/fluent/plugin/out_influxdb.rb:63:in block (2 levels) in write'
2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-influxdb-0.2.2/lib/fluent/plugin/out_influxdb.rb:63:in select'   2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-influxdb-0.2.2/lib/fluent/plugin/out_influxdb.rb:63:in block in write'
2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/buffer.rb:117:in each'   2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/buffer.rb:117:in block in msgpack_each'
2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/plugin/buf_file.rb:64:in open'   2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/buffer.rb:114:in msgpack_each'
2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-influxdb-0.2.2/lib/fluent/plugin/out_influxdb.rb:56:in write'   2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/buffer.rb:325:in write_chunk'
2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/buffer.rb:304:in pop'   2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/output.rb:321:in try_flush'
2015-12-07 13:30:31 +0700 [warn]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.12/lib/fluent/output.rb:140:in run' 2015-12-07 13:30:51 +0700 [warn]: temporarily failed to flush the buffer. next_retry=2015-12-07 13:31:32 +0700 error_class="NoMethodError" error="undefined method empty?' for 392299:Fixnum" plugin_id="object:3f842fb4eea0"
2015-12-07 13:30:51 +0700 [warn]: suppressed same stacktrace
2015-12-07 13:31:32 +0700 [warn]: temporarily failed to flush the buffer. next_retry=2015-12-07 13:32:50 +0700 error_class="NoMethodError" error="undefined method empty?' for 392299:Fixnum" plugin_id="object:3f842fb4eea0"   2015-12-07 13:31:32 +0700 [warn]: suppressed same stacktrace 2015-12-07 13:32:50 +0700 [warn]: temporarily failed to flush the buffer. next_retry=2015-12-07 13:35:15 +0700 error_class="NoMethodError" error="undefined method empty?' for 392299:Fixnum" plugin_id="object:3f842fb4eea0"
2015-12-07 13:32:50 +0700 [warn]: suppressed same stacktrace
Why you don't replace empty value with nil (string), 0 (integer) ?
As i know , influxdb contiunous query require all elements of message must appear.
Thanks & best regards

Such validation should be implemented by influxdb-ruby library?

Hi
I used fluent-influxdb-plugin with influxdb version 0.9.5 is good, no problems
But yesterday i update influxdb version 0.9.6-nightly-9637446, fluend-influxdb-plugin has some error with empty value of tags:
2015-12-07 01:15:38 +0700 [warn]: temporarily failed to flush the buffer. next_retry=2015-12-07 04:05:22 +0700 error_class="InfluxDB::Error" error="{"error":"partial write:\nunable to parse 'cdn.stream1.mecloud.vn,node=mc01,schema=http,domain=cdn.stream1.mecloud.vn,uri=,status=404,cache=,ip=<IP_ADDRESS>,nation=US,region=New\\ York,agent=Mozilha/5.0\\ (iPhone;\\ CPU\\ iPhone\\ OS\\ 9_1\\ like\\ Mac\\ OS\\ X)\\ AppleWebKit/601.1.46\\ (KHTML\\,\\ like\\ Gecko)\\ Mobile)13B143\\ [FBAN/FBIOS;FBAV/<IP_ADDRESS>.96;FBBV/18289579;FBDV/iPhone7\\,1;FBMD/iPhone;FBSN/iPhone\\ OS;FBSV/9.1;FBSS/3;\\ FBCR/T-Mobile;FBID/phone;FBLC/vi_VN;FBOP/5],ran=386194 ssec=1449415502,byte=316,ust=0,usl=0,hit=0,xx2=0,xx3=0,xx4=1,xx5=0,byteos=316,bytevn=0,req=1,reqvn=0,reqos=1<PHONE_NUMBER>': missing tag value"}\n" plugin_id="object:3fa476c43d6c"
2015-12-07 01:15:38 +0700 [warn]: suppressed same stacktrace
Problem is not caused by agent field (because i updated  https://github.com/influxdb/influxdb-ruby/pull/119 ), about "uri" field with empty value. And as i know , influxdb contiunous query require all elements of message must appear.
Thanks & regards

If influxdb changes their validation mechanizm, influxdb-ruby should support it.

@hiepsikhokhao Re: NoMethodError: Oops, I didn't factor numbers in there; I only considered strings. My bad. I guess something like Rails' blank method would have been more appropriate.

@repeatedly You bring up a good point. Perhaps it is more appropriate for the influxdb-ruby library to support this. I will try to run some test later to determine if the validation mechanism has changed recently (which it might have based on @hiepsikhokhao's latest comment). I have come onto the InfluxDB scene quite recently so it could be that the "empty field" situation is a new one.

@hiepsikhokhao I did some tests and both 0.9.5 and <IP_ADDRESS> give off an error when sending a tag with no value after the '=' sign. Since 0.8.0 used another format altogether I guess this behaviour has been present from the beginning of the 0.9 branch.

@hiepsikhokhao @repeatedly I did some quick tests and sent the following line (containing no value for the machine tag key):
curl -X POST 'http://localhost:8086/write?db=mydb' --data-binary 'temperature,machine=,type=assembly internal=22,external=130<PHONE_NUMBER>005000035'

<IP_ADDRESS> accepted it without complaining; however, 0.9.5 complained. So it looks like they modified the validation starting with the latter version.
In the following GitHub issue for InfluxDB documentation (https://github.com/influxdb/influxdb.com/issues/135) they clearly state that tag values cannot be empty.

Hi,
Thanks for your reply
So what we can do now :D
Regards

Hi,
@radcool . Can you fix error ( error_class="NoMethodError" error="undefined method empty?' for 392299:Fixnum" ) ?
Regards

@hiepsikhokhao I have posted a question (https://goo.gl/YEGmlY) on the InfluxDB Google Group to get the opinion of others on who's responsibility it should be to sanitize data before posting it to InfluxDB. Let's see what people answer.

@hiepsikhokhao Try this diff to see if it fixes your Fixnum error:
diff --git a/lib/fluent/plugin/out_influxdb.rb b/lib/fluent/plugin/out_influxdb.rb
index 0c83b70..9329f00 100644
--- a/lib/fluent/plugin/out_influxdb.rb
+++ b/lib/fluent/plugin/out_influxdb.rb
@@ -60,8 +60,8 @@ class Fluent::InfluxdbOutput < Fluent::BufferedOutput
       if tag_keys.empty?
         point[:values] = record
       else
-        point[:tags] = record.select{|k,v| @tag_keys.include?(k)}
-        point[:values] = record.select{|k,v| !@tag_keys.include?(k)}
+        point[:tags] = record.select{|k,v| @tag_keys.include?(k) && ((v.is_a?(String) && !v.empty?) || !v.is_a?(String))}
+        point[:values] = record.select{|k,v| !@tag_keys.include?(k) && ((v.is_a?(String) && !v.empty?) || !v.is_a?(String))}
       end
       points << point
     end

Disclaimer: I don't normally code in Ruby and know very little of it, so I'm not sure if this is correct or not.

Hi,
Thank @radcool so much. Your code worked, but Influxdb CQ did not because it require all elements (tags & key) defined in query must be appear in message :(
Regards

@hiepsikhokhao Perhaps you could try modifying the(se) emtpy field(s) within Fluentd, before you have them shipped out to Influx. You could use fluent-plugin-grep to look for specific fields with empty values and then modify them with record_transformer to put in some dummy/placeholder value that would make sure they eventually get written out to InfluxDB.

Hi
@radcool:  i used many plugins in fluentd , so i dont want to add more plugins because i afraid of bad performance. I will think about it.
Thanks for your advise.

I have opened https://github.com/influxdb/influxdb-ruby/issues/124.

Got a reply back on the InfluxDB Google Groups by someone from InfluxDB that said:
"I think ideally both systems should recognize the missing tag value and throw an error before submitting the points to the database."
I think this makes sense so I have opened https://github.com/fangli/fluent-plugin-influxdb/issues/37.


questions about run_eval.py

Hello, excellent work!
But I have the following problems in operation. Can you answer them?thanks
2022-10-21 18:23:03.523703: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2022-10-21 18:23:04.678118: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/usr/local/cuda/lib64
2022-10-21 18:23:04.678288: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/usr/local/cuda/lib64
2022-10-21 18:23:04.678303: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Processing 1 / 65...
I1021 18:23:51.411981<PHONE_NUMBER>94624 xla_bridge.py:357] Unable to initialize backend 'tpu_driver': NOT_FOUND: Unable to find driver in registry given worker:
I1021 18:23:51.413208<PHONE_NUMBER>94624 xla_bridge.py:357] Unable to initialize backend 'cuda': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I1021 18:23:51.413419<PHONE_NUMBER>94624 xla_bridge.py:357] Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I1021 18:23:51.453943<PHONE_NUMBER>94624 xla_bridge.py:357] Unable to initialize backend 'tpu': INVALID_ARGUMENT: TpuPlatform is not available.
I1021 18:23:51.454329<PHONE_NUMBER>94624 xla_bridge.py:357] Unable to initialize backend 'plugin': xla_extension has no attributes named get_plugin_device_client. Compile TensorFlow with //tensorflow/compiler/xla/python:enable_plugin_device set to true (defaults to false) to enable this.
W1021 18:23:51.454519<PHONE_NUMBER>94624 xla_bridge.py:364] No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
Killed

i have the same problem

i have the same problem
have you solved it yet


Event after signup & before login

One of my applications needs back compatibility with old account system written a long time ago.
For example: after signup I need to duplicate data to the old account database.
And another one: before login I need to check old account database for user + password matching and if it's true -> create password in new account system.
Dont you know, is there any way to bind event listeners for such cases in Yii without modifying your code?
I suppose there is only way to create a fork and update it manually everytime ( -_-) or create additional actions/bash scripts & etc.

You can extend the SignupController and override the afterSignup method. To use your own controller you can use the controllerMap.


Arrow-head animation

Describe the project you want to add with tech stack

This project contains an arrow head animation.Can you assign this task to me?
Expected behavior

Screenshots (optional)

https://github.com/pranjay-poddar/Dev-Geeks/assets/128773151/834802fe-923c-446f-8543-d380ef66ec68
Additional context (optional )

@MohitGupta121
@TusharKesarwani Can you assign this task to me?

@MohitGupta121 ,@TusharKesarwani Can you Please assign this task to me?As Gssoc contribution period is going to end..this issues can level me up ..Please assign this issue to me...Please.


Make cassandra write consistency configurable

What kind of issue is this?

[ ] Question. This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn't working the way you expect it to, use Gitter
or Stack Overflow. https://gitter.im/openzipkin/zipkin https://stackoverflow.com/questions/tagged/zipkin

[ ] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests
get fixed and stay fixed. If you have a solution in mind, skip raising an issue and open a
pull request instead.

[x] Feature Request. First, look at existing issues to see if the feature has been requested
before. If you don't find anything, tell us what problem you’re trying to solve. Often a
solution already exists! Don’t send pull requests to implement new features without first
getting our support. Sometimes we leave features out on purpose to keep the project small.

For Zipkin firehose we use a RF of 1 to keep writes and disk requirements to a minimum. The current code uses consistency ONE or LOCAL_ONE, meaning it'll fail to write if we do a rolling restart of the cluster.
We'd like to set it to ANY, so writes will still work and hints should take care of forwarding the write when the node comes back up.
In any case I think making the consistency configurable via env variable like everything else could be something useful to people in general.
cc @michaelsembwever for comments

Fyi originally schema install was optional because the defaults were not
good for production only tests (ex rf 1 is for test readback). I think in
some other issue there were some people discussing setup better for prod.
If we do start implying the default schema is production grade, then yeah
we can do some poor person's templating like we do in elasticsearch.
However, partial changes get a bit complex to apply so people may still end
up in a position of having their own private copy of schema.. just
mentioning config impact.
Another option is to employ another tool if exists in cassandra ecosystem
for managing partial schema updates etc.
Anyway I am also interested in what are good things, what is low hanging
fruit etc.

I'm not using the default schema. I changed the keyspace to use the NetworkTopologyStrategy, but I still want RF=1.
I think I haven't explained myself well, what I want to make configurable is https://github.com/openzipkin/zipkin/blob/f309c19345069eb09604f09858d427bdb1d3e18a/zipkin-storage/zipkin2_cassandra/src/main/java/zipkin2/storage/cassandra/DefaultSessionFactory.java#L126

Ahh.. is this the only change you need? It would be easier to punch a hole
for this enum than map a configuration object for all c* options or add a
dependency on spring config that likely would break once v4 of the driver
is out.
Also we can better explain why (we have limited config but at least
recently try to explain why something matters.
On 16 Feb 2018 1:52 pm, "Daniele"<EMAIL_ADDRESS>wrote:

I'm not using the default schema. I changed the keyspace to use the
NetworkTopologyStrategy, but I still want RF=1.
I think I haven't explained myself well, what I want to make configurable
is https://github.com/openzipkin/zipkin/blob/
f309c19345069eb09604f09858d427bdb1d3e18a/zipkin-storage/
zipkin2_cassandra/src/main/java/zipkin2/storage/cassandra/
DefaultSessionFactory.java#L126
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/zipkin/issues/1920#issuecomment-366150439,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD614pfXoUhe8obDnTIiQy18kFbzZV8ks5tVReKgaJpZM4SH3zp
.

Hi @drolando,
i'm hesitant about the request here for a number of reasons.

'ConsistencyLevel.ANY' is strongly frowned upon. And I'm unaware of any actually using it, so can't speak to it's popularity and stability in the C* codebase.
RF=1 is not recommended. There's a reason the code logs a warning if RF remains at 1.

For what you're trying to achieve it would be smarted (imo) to use the Zipkin collector, or the kafka transport, as the buffering mechanism as you perform a rolling restart. ('ConsistencyLevel.ANY' really can't be recommended for such buffering.)
For example you could turn off the collector while performing the rolling restart (if insisting on RF=1). Maybe the collector fails gracefully (it does have a retry mechanism in place) and handles the rolling restart already?
Anyway, because this is a improvement request to accept a situation that breaks two recommendations i'd be uneasy about agreeing to it.

@michaelsembwever my idea was to allow people to configure it to whatever they want, so they could simply set CASSANDRA_CONSISTENCY=QUORUM or CASSANDRA_CONSISTENCY=ANY.
What level they set then it's not a zipkin concern, all consistency levels come with different guarantees and tradeoffs.

@drolando because things land in support there probably is at least a little cause to have concern about setting traps. Usually we document settings with advice on how to use them. If the advice is to please don't use this, it certainly would come at odds with this. It is our concern because we don't have paid support crew to unwind things and all knobs are a way to shoot one's self. We do get a lot of questions we aren't directly responsible for.
To your point though.. have you found anything mick said to be helpful? In hindsight do you really want to set this, and under what circumstance would you. Can you help write advice?
If purely experimental in nature (like what if we click XX?), that's fine but maybe not something to bake in a flag for. We support each thing and it does impact the future, limits how we can change drivers etc. Appreciate your insight regardless and happy to assist if folks stepping back can recommend in good faith exposing this.

This issue seems to have reached a conclusion to not do this. @drolando feel free to share how you went about tackling this if you think it's still relevant.


Kotlin 2.0 Migration and other libraries updates

Closing as there is https://github.com/mirzemehdi/KMPAuth/pull/23


Lookup case sensitivity

I had data like "Celiac disease" and tried finding a match with
disease_bionty = bt.Disease(source="mondo", version="2023-02-06")
disease_bionty_lookup = disease_bionty.lookup()

but I could not find any matches with disease_bionty_lookup.Celiac[...]. The actual match is disease_bionty_lookup.celiac_disease  -> lower case. I know how the lookup is constructed, but is there any reasonable way to make the match easier? Sure, fuzzy matching would have found this super easily with case_sensitive=False

I'd like to further point out that the result is: DOID:10608 (using MONDO atm). In other words, filtering only for MONDO ids may not be the right thing to do with the MONDO ontology. I'll need to check this out.

Thank you for raising it! I also really don't like that lookup is case-sensitive, maybe namedtuple isn't the ideal way to go (it was just the most lightweight implementation with autocompletion).
Need to look into more!

I found a good implementation! https://stackoverflow.com/a/32107024
I'd just switch to this one, it also perfectly avoided conversion to pythonic keys that doesn't allow special characters, because one can do both lookup. and lookup[""]!


chore: update VS Code folder to use templates

We should not provide the files directly, as people may have different set-ups and custom workspace configuration.
If you need to maintain the current behavior  just copy the files without the .template part.

CC @sadym-chromium  @jrandolf, please create be advice is your IDE does not auto-format or similar it may be due to this change.


New version: Mozilla.Firefox.DeveloperEdition version 132.0 (132.0b4)

Created by 🥟 Dumplings in workflow run #8632.

Log
Updated: 132.0b3 → 132.0b4
Submitting WinGet manifests
Found existing pull requests:
New version: Mozilla.Firefox.DeveloperEdition version 132.0 (132.0b3) - https://github.com/microsoft/winget-pkgs/pull/177928
New version: Mozilla.Firefox.DeveloperEdition version 132.0 (132.0b2) - https://github.com/microsoft/winget-pkgs/pull/176974
New version: Mozilla.Firefox.DeveloperEdition version 132.0 (132.0b1) - https://github.com/microsoft/winget-pkgs/pull/176203
The existing pull requests are ignored as the version is updated while the real version isn't
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate of #179429;