WIP: Consolidate patches and add py3k patches

After some hacking around on the source and using swig, it seems we may have gotten Python 3.x support for this library. It needs some better testing. However, my testing locally suggests this may work. Let's see if this builds ok on CI at a minimum.
This includes some patches from Arch Linux ( https://aur.archlinux.org/cgit/aur.git/tree/?h=python-spams-svn ). However, they needed some tweaks. It turned out the easiest path forward was to change the SWIG files and regenerate the wrapper code. The result of this was transformed into patches.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I was looking for exactly this, if you need help I also re-hosted myself a patched version using the files from arch + latest swig (which works on my arch based laptop for what it is worth) over there https://github.com/samuelstjean/spams-python/releases/download/0.1/spams-python-v2.5-python3.zip
Just in case it might help, where is your build trouble happening? The version I linked here works fine on linux, unfortunately can't say for windows and mac. I actually doubt it would work on windows as-is, the base setup.py seems a bit hackish for this one as it pulls stuff from R.

So, I actually mirrored what is present from the SVN repo to this GitHub repo ( https://github.com/spams-org/spams-devel ). Was talking to one of the developers about it. Sounds like work on the original code base has stopped at present. So I'm trying to decide if I should fork it and do a release with these patches. Would welcome other people like yourself that are interested in seeing it keep going.
This patch is basically generated from this branch on my fork followed by a run of SWIG. The patch is very similar to the Arch Linux one IIRC. Ideally I would want to start generating this directly from source. So have some issues to sort out with SWIG if you are interested in helping. Unfortunately, it has been awhile since I looked. So would need to refresh myself as well as to why this was an issue.

Ah well, if you are familiar with the patching and build system of arch, it is just a fancier bash script. I generated this file by cloning the latest svn, using the latest swig, applying the python3 arch patch and zipping the whole thing (all part are automated, execept the last one).
Since the setup.py is fairly untouched, it does not produce valid wheels/sdist when run, but it does pip install with distutils though. That's why I think it would require a bit of work to run on windows, and then I found this repo which was trying to do just that.
I did not know they themselves had a github repo for it though, my fork predates that a bit for easy pip install as a dep of other projects, but this python3 file is form the latest svn even though the other download are just a rehost. Well if you ever wanna get this up and running again I can probably pitch in also.

may I ask what is the status of this Py3k patching project? Thanks.

In conda-forge, after a few discussions, it seems people don't like patching things to add Python 3 support. It should be possible with SWIG to avoid this dispute entirely. However I have lacked the time to pursue it. If someone wants to try a PR along those lines, I would be happy to explore it with them.

They also have a new 2.6 release with python 3 patches already applied
internally (and the git version has python 3.6/numpy 1.12 support).
It could be useful to try to upstream the work already done, their patches
are pretty much the ones from the archlinux AUR + small other stuff.
2017-04-06 15:47 GMT+02:00 jakirkham<EMAIL_ADDRESS>
In conda-forge, after a few discussions, it seems people don't like
patching things to add Python 3 support. It should be possible with SWIG to
avoid this dispute entirely. However I have lacked the time to pursue it.
If someone wants to try a PR along those lines, I would be happy to explore
it with them.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/python-spams-feedstock/pull/1#issuecomment-292179530,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC4-6Ku_3FwtSFryoZQBfik28PgpULIUks5rtOzggaJpZM4I8GJQ
.

I had emailed them a couple years back with some patches and explanations to which they later responded. It was unclear at the time whether there would be further development or not (not uncommon with academic projects like this one). So it's good to hear there was and they addressed a few things. Maybe they even used the same patches. If they have a new release that fixes things, it makes more sense to try that then.

They also have a public gitlab over here
https://gitlab.inria.fr/thoth/spams-devel/tree/master
I sent them some patches to include, so that's why I guessed they used them
(partly they mentioned). Anyway, you also had some stuff about making it
build on windows, so maybe you could try sending them that to ease
maintenance in here.
This person is now in charge of the python version :
https://gitlab.inria.fr/gdurif
You can find his email easily over there gitlab, which I won't post here
because bots.
2017-04-06 16:12 GMT+02:00 jakirkham<EMAIL_ADDRESS>
I had emailed them a couple years back with some patches and explanations
to which they later responded. It was unclear at the time whether there
would be further development or not (not uncommon with academic projects
like this one). So it's good to hear there was and they addressed a few
things. Maybe they even used the same patches. If they have a new release
that fixes things, it makes more sense to try that then.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/python-spams-feedstock/pull/1#issuecomment-292187037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC4-6Nq2BXLFzSBXOy4rdpeRpO-thzoqks5rtPLngaJpZM4I8GJQ
.

is it possible that we simply base the py3k version of spams on their official py3k branch, since they have done all the hard work for it?

I thought they already have a release for it. Is that correct @samuelstjean?

Yes, they have a python and python 3 folder, I find it personally a bit hard to follow though as the script calls symlink all over the folders and they have a bunch of readmes everywhere.
This is the main patch file https://gitlab.inria.fr/thoth/spams-devel/blob/master/swig/python/python.patch
Current release spams 2.6 is split between py2 and py3, but they want to have a single one for the next one (presumably called spams 2.7). The git version also works for numpy 1.12 (and 2.6 does not if memory serves), some fortran ordering stuff was broken due to numpy changes.

Ah yes on their official page
http://spams-devel.gforge.inria.fr/downloads.html
Works for numpy < 1.12 and no windows build though :/ But hey at least it
is still alive instead of people like us patching left and right and making
non compatible version (I also have my own custom patches and fork which
nobody except me (should) use).
Hopefully we can pool together stuff and make it work upstream for good.
2017-04-06 16:51 GMT+02:00 jakirkham<EMAIL_ADDRESS>
I thought they already have a release for it. Is that correct
@samuelstjean https://github.com/samuelstjean?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/python-spams-feedstock/pull/1#issuecomment-292199087,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC4-6LrVdKEVxY3506nBOzi4lwtVCumzks5rtPv0gaJpZM4I8GJQ
.

Alright, closing this out. Working on releasing 2.6 in PR ( https://github.com/conda-forge/python-spams-feedstock/pull/11 ). Would appreciate your feedback over there.

@samuelstjean

Works for numpy < 1.12 and no windows build though

where do you find that it can't work with numpy 1.12?

I thinks @samuelstjean is referring to this patch that we need to work with NumPy. Based on my notes, this was necessary to even build with NumPy 1.10 and is still needed for NumPy 1.11 and 1.12. Have updated the patch for 2.6 (as things moved around) and it seems to work with 1.11 and 1.12. Would note that this patch would not even be necessary if we used swig to build this package directly from source.

That's possible regarding the patch, my comment referred to the fact that the original version (currently released) had not this, and it was on the deprecation route since numpy 1.10. Starting with 1.12, the way they check strides changed and it would build, but crash midway when accessing any function doing linear algebra (i.e. everything).
The guy from spams fixed it in the git version, which is not released yet, but it is fully possible that this patch fixes it, I have to admit I never tried this particular build here. The upstream git fixes the ordering, but some tests won't run due to something else breaking with numpy 1.12 changes (as opposed to everything without the patch).

Well, if you figure out what the change was, I'd be happy to tack on a patch in the 2.6 release. ( https://github.com/conda-forge/python-spams-feedstock/pull/11 )

So the only thing I'm seeing w.r.t. NumPy striding issues is this commit, which we are definitely including in our patch. Please let me know if this what you were referring to or if it was something else, @samuelstjean.

Seems to be it, would not be surprised if it is your patch in the first place (had I realized that I would not have struggled on my side to make it work...), I told them to go fetch some of your stuff here as needed indeed. But yeah that would have been the main offender I'd guess.

Cool. Funny that you should mention collaborating with them. I just sent an email to Ghislain with the address I could find (an Inria one?). Anyways maybe we can start discussing migrating patches over there way. Can cc anyone who has interest on the email thread.

Yep that's the guy, you can add me if you want, i've been testing that the stuff is numpy 1.12 compliant already, so he should remember me. Apparently they picked it back up for development (or at least he joined to maintain the project) as I understood from what he told me.


FEATURE: Give hotspot operators insight into usage activity

I want to create a quick and dirty way for people to see if their hotspot is being used.  In the long term- I'd like to add the ability to use a paperwhite screen that tells you:

How many people are currently connected
How many people have connected previously
How many people have re-connected
How many people have visited the web page
How many people have visited the Forum, the stream, the individual files, etc.

For now, I'm going to focus on just setting up Lighttpd to expose a password protected, SSL encrypted page that renders the raw logs.
//todo: activate SSL certificate for the server (maybe I already have this? lighttpd
Setup instructions:
https://linuxhint.com/setup-ssl-lighttpd/
//todo: tune Lighttpd to expose the /tmp/hostapd.log file
//todo: tune Lighttpd to expose the /var/log/lighttpd/na-internet-in-a-box.local.access.log file
https://github.com/Mark-Pugner/NA_Internet_In_A_Box/blob/main/etc/lighttpd/lighttpd.conf

Set the symlinks.  Rebooted device.  Discovered that the /tmp/hostapd.log reverts back to root:root.  Need to ensure perms are correct post reboot

//todo: add a symlink for /tmp/dnsmasq.log
Also- I don't think the page is properly writing to the log file for the main page.  Entries seem to be exclusively for intercepted network traffic


chore(aws): improve IAM Resource Policy public logic

Context
We were using different logics for checks where the public access on resource policies have to be verified.
Therefore, in some check Prowler was not checking the conditions.
Unify all those logics into a single function: is_policy_public function.
Description
is_policy_public function allows to check if a resource policy is public and customize the checking with additional not allowed actions (it always checks *), an AWS Account to check if it is restrict in the policy condition and if the cross account access is allowed or not.

Consolidate function is_public_access_allowed to is_policy_public function.
Use is_policy_public function in checks where the IAM Resource Policy must be verified.
Use is_condition_block_restrictive, is_condition_block_restrictive_organization and is_condition_restricting_from_private_ip in is_policy_public function.
Replace has_secure_conditions by is_condition_block_restrictive, is_condition_block_restrictive_organization and is_condition_restricting_from_private_ip functions.

Checklist

Are there new checks included in this PR? Yes / No

If so, do we need to update permissions for the provider? Please review this carefully.

[ ] Review if the code is being covered by tests.
[ ] Review if code is being documented following this specification https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
[ ] Review if backport is needed.

License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

[ ] Call the is_condition_block_restrictive function with is_cross_account_allowed = True to the awslambda_function_not_publicly_accessible check.
[ ] Improve the is_condition_block_restrictive to handle S3 ARNs which does not contains the AWS Account Number.

The second point cannot be addressed since S3 ARNs do not contain AWS account IDs.


[Feature]: Badge Widget

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
A new Badge widget and table column, to show the status or progress of a certain entity or action.

Why should this be worked on?
A Badge is a small, visual element used to highlight important information or status updates within products. It features colors, and a short text label, and is often displayed in a corner or alongside other content. The badge can be used to indicate new or unread messages, notifications, or other important information. It can also be used to highlight the status of a task or project, such as "completed" or "in progress."

Thanks for the feature request! This seems to be duplicate of #4333 so I'll close this in favor of that

Hey there @Nikhil-Nandagopal, thanks for the update! I see that that request is specifically about adding a "Tags" column to the table. Besides the usage in the Table, I also have the need of a standalone Badge widget.
Furthermore, one can argue that Badge and Tags are different UI elements.

Hey there, I agree with @danguilherme here are some key differences between a Badge and a Tag/Chip IMO:
Badge

Purpose: Badges are typically used to highlight specific pieces of information, such as status indicators, notifications, or counts. They often represent some form of dynamic or contextual information.
Appearance: Badges are usually small, often circular or rounded rectangles, with concise text or simple icons to convey the associated message. They can have various colors to indicate different states or types of information.
Usage: They are commonly applied to indicate new items, alerts, notifications, or the status of an element, such as "New," "Sale," "Hot," or displaying a numerical count.
Interaction: Badges are generally not interactive elements and are primarily used for display purposes.

Tag/Chip

Purpose: Tags or chips are used to categorize, filter, or organize content. They are often applied to represent keywords, categories, or attributes associated with an item.
Appearance: Tags/chips are typically rectangular or pill-shaped elements with text that describe the content or context they represent. They may have a background color to differentiate various categories or types.
Usage: They are frequently used for filtering content, creating a visual hierarchy, or enabling users to search or identify items based on specific criteria.
Interaction: Tags or chips can be interactive, allowing users to remove or add filters, navigate to related content, or trigger specific actions associated with the tagged item.

In summary, badges primarily emphasize status or dynamic information, while tags/chips are more often used for categorization and content organization purposes.


TypeScript Bot Tests Should Return Perf Numbers

user test this, test this, and test dt should all come back with numbers that compare the baselines. @amcasey has opinions on what would be useful here.

See also #34775.


Automated Package Upgrade

:tada: This PR is included in version 25.4.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Best way to create watchers from outside sentinl application

If we have to create watchers through our own application. Can someone suggest best way to do it
way1: Call Sentinl create watcher api's from application.
way2: create watcher in watcher index of elasticsearch using elastic search query with raw body of watcher.
if we use way2 will it affect the listing api of sentinl from fetching watchers in UI.
Thanks in advance

Hi @seshu3564 thanks for using SENTINL and participating other issue discussions with advice.
Creating watchers via our API might be tricky unless your application is also a Kibana/Kibi plugin or at least an authenticated client to them - upcoming versions bring authentication and impersonation of users so this becomes quite relevant. Method 2 might end up being the easiest to start with, and since SENTINL refreshes the indices the watcher and its alarms should display in the UI. If this is not the case, please provide an example and we'll help you sort it out.

Cool what intrigued me is sentinl storing watcher in different docs like Later in one doc and transform in one doc and action in other doc. so should i store all in same doc or multiple docs

Those are not different docs tho, watchers are self-contained objects.

Thanks for qucik response i will start by creating watchers in es watcher index

Closing issue but curious if you ever achieved this - could be interesting to extend our Wiki. Thanks!


added some common math functions to Vector2 and unit tests

We could add the functions "angle/direction" and "unit", but these are useful without those for now


LuckpermsBungee has 1000000 problems.

Didn't fix
Description

Without too many words, i applied manually litebans and other plugin permissions (since luckpermsbungee wasn't detecting it as normal) and still wasn't working.
Reproduction steps

Just download a plugin bungee side, luckpermsbungee and setup manually permissions (since they will not appear)
Expected behaviour

I expected that permissions will show as normal like luckperms bukkit but they didn't work.
Environment details

Waterfall latest version.

Server type/version: ExampleSpigot running version 1.12.2 build ???
LuckPerms version: ``
Waterfall latest version with luckpermsbungee 5.3.16

No errors or nothing.
Any other relevant details

Without too many words

Definitely not enough words, definitely.
Please close this and fill out the issue form in full, with detailed descriptions and all fields complete. Thanks.

This would be due to BungeeCord not providing a way to explicitly register permissions I believe, not an issue with LuckPerms Bungee.


Editor incorrectly guesses Portuguese words as cyrillic 1251 encoding

Issue Type: Bug
VS Code incorrectly guesses file content as cyrillic, when it should be "Western 1252".
For the same file, Sublime Text correctly detects encoding.
To repro:

Open any text editor, such as notepad or even vscode.
Save file with word ´´´função´´´ (which means function in Portuguese) in Windows 1252 encoding. Close file.
Open file in vscode.

VS Code version: Code 1.30.0 (c6e592b2b5770e40a98cb9c2715a8ef89aec3d74, 2018-12-11T22:29:11.253Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz (8 x 2195)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.87GB (3.36GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

code-runner
for
0.9.5

terminal
for
0.0.10

matlab
Gim
0.9.0

r
Mik
0.0.5

python
ms-
2018.11.0

shell-launcher
Tyr
0.2.0

markdown-pdf
yza
1.2.0

(2 theme extensions excluded)

Sublime Text has a settings parameter that's called "fallback_encoding":
 // The encoding to use when the encoding can't be determined automatically.     // ASCII, UTF-8 and UTF-16 encodings will be automatically detected.     "fallback_encoding": "Western (Windows 1252)",
Perhaps there could be a default fallback encoding for vscode as well in cases where it is known to fail.

We are using https://github.com/ashtuchkin/iconv-lite as library, maybe you could report a reproducible issue to them.

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to the code. As such, I will go ahead and close it. If you can identify the component that is causing the issue, please report it upstream:

for UI, OS integration: https://github.com/electron/electron
for Rendering: https://bugs.chromium.org/p/chromium/issues/list
for file IO: https://github.com/nodejs/node

Thanks for understanding.

How can I identify the cause? I'm not a JavaScript programar, I have no idea where it's coming from! All I know is that I've seen little interest so far into fixing these types of bugs.


Replace Grunt with npm scripts

I actually know how they work now! Plus after #14 we won't need any fancy documentation tasks.

Added in 8da180349531c683f2da9f1886bfb9d79cb7faf7


"Join Our Community" is floating between "Get Involved" and "Tutorials"; should be at bottomg

Steps taken/Steps to reproduce
Visit web site https://pyrsia.io/docs/tutorials/quick-installation/
Expected Behavior
"Join our community" at bottom. "Documentation Overview" at top.
Experienced Instance of the bug
Browser

We need to revert #683  but thats blocked by https://github.com/pyrsia/pyrsia.github.io/issues/63 which will allow us to control the setting


test/cases/ubi-wsl: public ip fixes

Use the "Standard" public ip sku, as "Basic" produces warnings.
Spin until the vm gets assigned a valid ipv4 address.

Looking at the test, the retry counter for the host went all the way up to 9 (out of 10). Maybe more tries would be prudent ._.


Bug: [HOT issue]

Describe the Bug (required):
It's run infinity
Have you followed the https://github.com/thebrumby/HotWalletClaimer/issues/166 (required):
Yes
Steps to Reproduce (required):
CHROME DRIVER INITIALISED: Try not to exit the script before it detaches.
Step 102 - Backup restored successfully.
Step 102 - Attempting to find the chat window message input box...
Step 102 - Timeout while attempting to find the chat window message input box.
Step 102 - Failed to find the message input box.
Step 102 - Retried after restoring backup, but still failed to send the '/start' command.
Step 103 - Attempting to open a link for the app: //a[@href='https://t.me/herewalletbot/app']...
Step 103 - Failed to find the 'Open Wallet' button within the expected timeframe.
Step 104 - Attempting to click the 'Launch' button (probably not present)...
Step 104 - Timeout while attempting to click the 'Launch' button (probably not present).
Step 105 - Attempting to switch to the app's iFrame within 'popup-body'...
Step 105 - Failed to find or switch to the iframe within 'popup-body' within the timeout period.
Step 106 - Found 0 elements with XPath: (//div[div/img[contains(@src, '/ft/near.png')]])//p[last()] for obtain your 'Near' Balance
Step {self.step} - The 'near' variable is empty or not defined.
Step 107 - Attempting to click the 'storage' link...
Step 107 - Timeout while attempting to click the 'storage' link.
Step 108 - Found 0 elements with XPath: //p[contains(text(), 'HOT')]/following-sibling::img/following-sibling::p for get balance
Step 109 - Found 0 elements with XPath: //div[div[p[text()='Storage']]]//p[last()] for get profit per hour
Step 109 - An error occurred: expected string or bytes-like object
Step 110 - Found 0 elements with XPath: //div[contains(., 'Storage')]//p[contains(., 'Filled') or contains(., 'to fill')] for get the wait time
Error encountered: expected string or bytes-like object
Session released: ./selenium/HOT:wallet.tg
CHROME DRIVER DETACHED: It is now safe to exit the script.
Session released: ./selenium/HOT:wallet.tg
31 August - 10:07 | Need to wait until 31 August - 12:07 before the next claim attempt. Approximately 120 minutes.
[10:07] Waiting for 15 more minutes...

If

HI When I add HOT IT's got this error

Telegram web changed the format for games, you'll need to update your code.

Hi Hot still got errors

This error means it did not find the value expected, if the error presists, you need to check your screenshots for this session to find out what the problem is.

Hi when add the HOT, Its stuck on login screen

HOT:vina4: Step 102 - Successfully able to open a link for the app..
HOT:vina4: Step 103 - Attempting to click the 'Launch' button (probably not present)...
HOT:vina4: Step 103 - Successfully clicked click the 'Launch' button (probably not present).
HOT:vina4: Step 104 - Attempting to switch to the app's iFrame within 'web-app-body'...
HOT:vina4: Step 104 - Was successfully able to switch to the app's iFrame within 'web-app-body'.
HOT:vina4: Step 105 - Found 0 elements with XPath: (//div[div/img[contains(@src, '/ft/near.png')]])//p[last()] for obtain your 'Near' Balance
HOT:vina4: Step {self.step} - The 'near' variable is empty or not defined.
HOT:vina4: Step 106 - Attempting to click the 'storage' link...
HOT:vina4: Step 106 - Timeout while attempting to click the 'storage' link.
HOT:vina4: Step 107 - Found 0 elements with XPath: //p[contains(text(), 'HOT')]/following-sibling::img/following-sibling::p for get balance
HOT:vina4: Step 108 - Found 0 elements with XPath: //div[div[p[text()='Storage']]]//p[last()] for get profit per hour
HOT:vina4: Step 108 - An error occurred: expected string or bytes-like object, got 'bool'
HOT:vina4: Step 109 - Found 0 elements with XPath: //div[contains(., 'Storage')]//p[contains(., 'Filled') or contains(., 'to fill')] for get the wait time
HOT:vina4: Error encountered: expected string or bytes-like object, got 'bool'
HOT:vina4: Session released: ./selenium/HOT:vina4
CHROME DRIVER DETACHED: It is now safe to exit the script.

Thanks, I'll added a work around for requests and will add it to the Docker at some point.

Thanks, I'll added a work around for requests and will add it to the Docker at some point.

I have a similar problem. I can't create a single session because I can't go further than the login window in the screenshots.


Compilation problem when adding tf2 package

Issue template

Hardware description: ESP32
RTOS: FreeRTOS
Installation type:
Version or commit hash: galactic

Steps to reproduce the issue
I would like to add tf2 package to the build.
I have updated extra_packages.repo as such :
repositories:
  tf2:
    type: git
    url: https://github.com/ros2/geometry2
    version: galactic

I cleaned the build and made a pio run
Expected behavior
Build OK
Actual behavior
The compilation failed complaining about hpp (geom_msg) files not found in the code of tf2. Indeed they are present with the .h extension but not the hpp extension.
Trying to patch tf2 to replace hpp by h include failed also (complain about the namespace usage of tf2).
It seams that idl is producing c file and not cpp files, any clue ? or something I miss ?
Thanks in advance !

https://github.com/ros2/geometry2 has a lot of packages, which one do you want to use?

Any update on this?

Error while compiling with extra_packages.repos:
repositories:
  control_msgs:
    type: git
    url: https://github.com/ros-controls/control_msgs
    version: humble

  geometry2:
    type: git
    url: https://github.com/ros2/geometry2
    version: humble

Get Error:

--- stderr: tf2
CMake Error at CMakeLists.txt:14 (find_package):
  By not providing "Findconsole_bridge_vendor.cmake" in CMAKE_MODULE_PATH
  this project has asked CMake to find a package configuration file provided
  by "console_bridge_vendor", but CMake did not find one.

  Could not find a package configuration file provided by
  "console_bridge_vendor" with any of the following names:

    console_bridge_vendorConfig.cmake
    console_bridge_vendor-config.cmake

  Add the installation prefix of "console_bridge_vendor" to CMAKE_PREFIX_PATH
  or set "console_bridge_vendor_DIR" to a directory containing one of the
  above files.  If "console_bridge_vendor" provides a separate development
  package or SDK, be sure it has been installed.

---
Failed   <<< tf2 [0.57s, exited with code 1]

Tried Ros2 Humble, but still not work with geometry2.
The controll message works fine.

https://github.com/ros2/geometry2 has a lot of packages, which one do you want to use?

i want to use tf2

tf2 depends on cpp layers and it is not directly portable to micro-ROS. You will need to port it or write a compatible implementation


Updates for cedar-policy/cedar#1026

Also added a unit test for get_lists
Issue #, if available:
Description of changes:

looks like list order is not deterministic for that test

looks like list order is not deterministic for that test. (or maybe you just got the order wrong lol)

Good catch. Fixing it.


Created basic next.js app, added login field, created logic for handling improper email styling and form submissions.

The components/login.js file contains the "Login" React component which provides an email address, password, and sufficient scripting to perform the required email validation tasks. The email field is set to type="email", which will check for email formatting on submission of the form. While the user is typing, the email is continually evaluated for validity, and if it is not a valid format (except if empty) the box will illuminate red while the user is typing.

Initial pull request for login form. See comments in the request.


Programming Error at /projectspublicreport/

Uploading ProgrammingError at projectspublicreport.pdf…

Fixed on dev which will be promoted to CAT and PROD
URL: https://uno-cpi-dev.herokuapp.com/projectspublicreport/


Bootstrap modal is not working properly without reload the page. Need a complete solution for bootstrap modal.

Please visit ourbazaar.net/cropperTest.html click on an image, rotate it. it's working fine but if you close the modal open another image and try to rotate again it will rotate twice in one click, close the modal and open another modal by clicking an image try to rotate it will rotate three times, same case for zoom in and zoom out. I think the problem is for bs-modal. you can get the code from https://gist.github.com/muradhassan/1693f614e72ac015d6fd. I can't use jsfiddle because Cross-Origin Resource problem is occurring for image.

I think you had bound too much click events on the same button...

Thank you,
I also think so. But could you please help me out. I have tried a lot to solve the problem but couldn't. Please check the small jquery code from https://gist.github.com/muradhassan/1693f614e72ac015d6fd, if you can give me any suggesstion.


Graceful handling for KeyboardInterrupts with async functions

We weren't canceling the task inside asyncio.run on receiving KeyboardInterrupts.
Before:

After:

oh interesting – and nice fix!


apiCheck Failed!

I get an injection error when I attempt to use formly bootstrap. The error is simply a broken link. Decoding the url, I get the message:
formlyConfig.setWrapper apiCheck failed! Argument value must be object

Please reproduce this issue: http://help.angular-formly.com it's helpful to know what versions you're using as well.

Here is a plunker with the same issue I have in my code.
http://plnkr.co/edit/OBcOe7OuQ0RPk1V2hrew

There was recently a new feature in angular-formly to the apiCheck api for wrappers and types. You cannot use angular-formly 6.19.0 with angular-formly-templates-bootstrap 6.0.0 (which your example is doing) because 6.0.0 is using features that 6.20.0 introduced. I recommend that you upgrade the two of these at the same time anytime you upgrade one of them. (and use exact versions rather than version ranges). Here's your example except using the latest versions of both: http://plnkr.co/edit/NmjoKttNrFHsXPmsm1nH?p=preview
Here's the changelog for 6.20.0: http://changelog.angular-formly.com#6200


Repository name

Why does this repository have the same name as https://github.com/osrf/docker_images ? @ruffsl @tfoote

I think this was an early version. @ruffsl we don't need this version anymore right?

This is where all the templates are hosted

Like @scpeters mentioned, this is where my PR with all the template code is pointed to: https://github.com/ros-infrastructure/docker_images/pull/1
Perhaps we could take this time and think where and how we want to separate and store the template code for ROS, Gazebo, DRCSim + and future OSRF docker template code?

cc @j-rivero
We keep a lot of gazebo build scripts in osrf/release-tools on bitbucket, but I wouldn't mind keeping our templates next to the ROS ones in order to mutually benefit from improvements.

Keeping them in one place would make it easier to share a lot of the sippit permatives.

It sounds like we should update the readme on this repo to be clear it holds the templates used to generate the images in the osrf repo and link to it.

Should the templates be moved to the osrf/docker_images repo?

yea... its outgrown ros-infrastructure a bit.
Having them under osrf/docker_images or osrf/* would probably clearer.
Additionally, we could also clean out the "docs" and "offical-images" repos in ros-industrial too. The PRs to docker-library for image mannince might best come from OSRF rather than ros-infrastructure?

Yeah, I can move those repos as is. They do make a little bit more sense to be branded osrf with gazebo inside as well, and being hosted on the osrf dockerhub account.

I think keeping the templates separate from the generated output is a good idea. The templates want to be under a very strong version control while the generated output will generate a lot of noise when reviewing changes.

That makes sense; they don't have to be in the same repository. Should we move this to osrf/docker_templates?

@scpeters +1

I agree with your proposed solution. Seems like the scope if the whole OSRF, so under osrf/ sounds a good solution to me.

bump

Sounds good. I'll rename and transfer it.

Moved. Part two of this is to rename the python modules in the code.


Default Helena server timing out?

The extension runs smoothly the overwhelming part of the time. Occasionally it stalls, and when looking at the output of the developer console, it appears that the server kaofang.cs.berkeley.edu:8080 times out arbitrarily:

From my understanding, kaofang is currently the place where a default instance of the Helena Server is running, for purposes of simplifying the installation of the Helena extension. I am guessing that perhaps the server is overwhelmed by traffic. If this is correct, I can think of two suggestions to improve this issue:

Error reporting to the user, to explain the temporary problem. (I think otherwise, such interactions risk undermining the trust of the non-CS users of this system.)

I wonder if it would make sense to transition the Helena server to a serverless type of instance, so that it would scale exactly based with demand.

I know we're talking about this via other channels, but just in case anyone else runs across this issue...this results from running an old version of the Chrome extension that's still pointed at an old server.  We've since upgraded to a new AWS setup.  Getting the latest version of the extension should fix this!  :)

Created this pull request to address the problem (an outdated submodule):
https://github.com/schasins/helena/pull/24

Nice catch!  I should have thought of this!


Make extended FAB's icon optional

Makes the FloatingActionButton.extended icon parameter optional instead of required.
Fixes #27710

@HansMuller Test has been added.

@HansMuller Do you have time to re-review this PR? ⁄(⁄ ⁄•⁄ω⁄•⁄ ⁄)⁄

This fix looks good (nice test). I'm going fix one trivial formatting problem and then land it.


⚠ Tachidesk Server has degraded performance

In 093a7eb, Tachidesk Server (https://tachidesk.culturecloud.eu.org) experienced degraded performance:

HTTP code: 502
Response time: 23608 ms

Resolved: Tachidesk Server performance has improved in 7a7c203.


feat: Backspace key

Great job! Thanks so much!!!!

#63

@iFgR Could you bump the version so that the backspace key is available on npm? :)


Codewalker

How to open files from bob74 on Codewalker to have the position of the doors to be able to close/open them
Thank you

You can't, this resource only contains lua (scripts) files.
However, you can copy/paste the coordinates inside codewalker (they are at
the top of the wiki pages or at the top of most lua files).
Le mar. 26 mai 2020 à 03:06, Tom2012d<EMAIL_ADDRESS>a écrit :

How to open files from bob74 on Codewalker to have the position of the
doors to be able to close/open them
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bob74/bob74_ipl/issues/27, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACIO7L4NF3P4KFN7CCLY6N3RTMIXXANCNFSM4NJ4B6RQ
.


[WIP] Implement OjEncoder

Oj::StreamWriter doesn't support adding a key when no object is declared
nor pushing a string (which includes a key like "key": "value")
Thus I have no idea how to implement OJ encoder
Here is what I have tried

This commit should pass most tests except the capture test due to extra new line char
add by
https://github.com/ohler55/oj/blob/83227e7570ea7609d25f11bdbc71cba7e8f16a60/ext/oj/string_writer.c#L231
No option to change this behaviour
Not sure how you want to make it pass

Awesome, reviewing now

Let me know your thoughts on the above, I'll start updates for the test and try to come up with a test case for the stack in the encoder

Moved to_output to bottom
Changed inject & capture test to test for multiple properties

This is looking good, think I can do a performance comparison and probably a release including OJ tomorrow.

need to update travis config to fix failed build first :)

How do I actually select OJ Encoder?
require the encoder file?

You can either:

Just require Oj and it should find it automatically by looking for both Oj and Wankel and only coming up with Oj

Explicitly set it with: TurboStreamer.set_default_encoder(:json, :oj) or TurboStreamer.set_default_encoder(:json, TurboStreamer::OjEncoder)

I am also working on the performance test and will have those sometime this evening

TurboStreamer.set_default_encoder(:json, :oj)
Will set @@default_encoders[mime] to {json: :oj}
Then TurboStreamer.default_encoder_for(:json) will return :oj
:oj.new(@output_buffer) = boom

Are you on master or your branch, I've update your branch so it accepts a symbol.
https://github.com/PikachuEXE/turbostreamer/blob/feature/oj-encoder/lib/turbostreamer.rb#L201

Oh ya I was looking at master :P

Got our first performance report! I took the test from https://github.com/rails/jbuilder/pull/54 and here are the results:

I'll probably add performance test to the repo then do a release. One thing that test doesn't test is performance when it needs to capture which might show some difference between Oj and Wankel since Oj requires instantiation of a new StreamWriter

Good to see a performance report :)
Can't wait to see result of the capture test

Am running another performance test and ran into an issue:
  json.object! do
    json.cached do
      json.cache! 'tscached' do
        json.array! 0..100 do |i|
          json.object! do
            json.a i
            json.b i
            json.c i
            json.d i
            json.e i

            json.subitems 0..100 do |j|
              json.object! do
                json.f i.to_s * j
                json.g i.to_s * j
                json.h i.to_s * j
                json.i i.to_s * j
                json.j i.to_s * j
              end
            end
          end
        end
      end
    end
  end

fails with:
/lib/turbostreamer/encoders/oj.rb:46:in `push_array': Can not push onto an Object without a key. (StandardError)
	from /lib/turbostreamer/encoders/oj.rb:46:in `array_open'
	from /lib/turbostreamer.rb:124:in `array!'
	from /lib/turbostreamer/template.rb:44:in `array!'

I'm looking into it I think it's writing a cached key with an array value

The test is wrong when we cache in TurboStreamer inside an object we need to cache both the key and value.

Do I have change/fix some code?

So ran the performance test based on https://github.com/rails/jbuilder/issues/289#issuecomment-146000448

I'm not sure what's going on with Oj in TurboStreamer yet and I don't know the internals of Oj, but a few ideas:

In inject we write to Oj, does Oj try to validate that? Not sure there is a way we can skip it and write directly to the IO.
The Regexes in the OjEncoder may have a cost
Instantiate may have a cost
Test is broken

Let me try to run the performance task locally and test again after making some changes
Oh I need to install gnuplot

Yea sorry, I just made analyzer to quick test ips/memory/allocations/gc in one fell swoop and just use gnuplot. I'd like to remove that dependency but don't have time right now to do that

It's fine for me just need doc update afterward if gnuplot is required

Maybe it's this regex:
      key_value_match_data = /\A"(\w+?)":(.+)\Z/.match(string)

we don't need to capture the whole thing right, just the key? It' probably allocating memory to capture both matches and we just need the key.

Got error with gnuplot :S
gnuplot> set terminal pngcairo enhanced font "arial,12" fontscale 1.0 size 900, 1300
                      ^
         line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list

WARNING: Plotting with an 'unknown' terminal.
No output will be generated. Please select a terminal with 'set terminal'.

gnuplot> set terminal pngcairo enhanced font "arial,12" fontscale 1.0 size 900, 1300
                      ^
         line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list

WARNING: Plotting with an 'unknown' terminal.
No output will be generated. Please select a terminal with 'set terminal'.

What OS are you on?

If your using homebrew:
brew install gnuplog --with-cairo

Ya I found it too after searching a bit
Running the task again

Stopped capturing value but still slow
dirk

rolftimmermans

It's also worth noting that rolftimmermans's test is great.
The dirk test really just testing caching performance and that's it, and general use will be a mix of both. So I'd consider this as needing optimization, but releasable.

Let me try to optimize it for a few days first
Not really that urgent to use it

At least I make it faster with ruby 2.4
Let me test it with 2.3 too
dirk

rolftimmermans

@malomalo
Finally got it working with similar performance to Wankel encoder!
Usage of Regexp is really a great impact on performance
rolftimmermans

dirk

I think I have done enough optimization now
What's needed next?

Awesome! I’ll take a look at it in the next couple of days.
On Tue, Dec 5, 2017 at 17:26 PikachuEXE<EMAIL_ADDRESS>wrote:

I think I have done enough optimization now
What's needed next?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/malomalo/turbostreamer/pull/1#issuecomment-349499059,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAACzAVyyPAtqUqN5aSmLVQniceNYkJTks5s9e1TgaJpZM4QrK_o
.

Cool so I fixed one of the test, and that improves OJ more. Think we could get more performance if we didn't have to do the trimming of the captures and instantiate another code, but I think that those would have to be changes to OJ itself.
Here are my results:

This is good to go. I'll merge and release tomorrow.
Thanks for the work!

Also need to update doc for using OJ as encoder?

Ah yea, I added a changelog, but yea the readme needs to be updated.

Was just thinking we might be able to make things faster and simpler and skip the regexes if we add a class that just passes all the calls to it to an output, with the ability to substitute the output.
like:
class IODirector
  attr_accessor :io

  delegate to: :io

  def initialize(io)
    @io = io
  end
end

What are your thoughts?

readme update to include Oj support and how to choose an encoder

What's the expected usage on IODirector?
Also noticed that capture in OJ encoder rely on output.string
Not sure if it should be changed


mssh connection : how to specify ssh key?

I am trying out a connection via

It requires my ssh key but there is no option to provide that via the mssh command line tool
Maybe I am going about it the wrong way.

@nyue The mssh command automatically synchronizes ssh keys for you. You'll aws creds setup locally and the EC2 Instance connect CLI installed pip install ec2instanceconnectcli. Then it just works!
If you'd prefer to use normal SSH just grab the head node ip from the instances tab and SSH like:
ssh -i ~/.ssh/id_rsa ec2-user@ip


can't install

I don't use / know enough about GO to troubleshoot this:
go install github.com/maaslalani/invoice@main
returns:
can't load package: package github.com/maaslalani/invoice@main: cannot use path@version syntax in GOPATH mode
Ubuntu 20.04 LTS, x64, go version go1.13.8 linux/amd64

Can you try installing a more up to date version of Go?

If you aren't able to update Go, you can grab a binary from: https://github.com/maaslalani/invoice/releases

Why did you close the issue before I've had a chance to respond? :)
What version of Go are you on? Because from what I've read, newer versions are what is the problem since they added this GOPATH thing and then broke your prev install instructions.


Fixed jsonrpc Error handling

Coverage increased (+2.2%) to 53.233% when pulling 609d08e988bf8c5ade303b86efcac786a5d9e95e on RomanZacharia:err_handling into 86776e8be3d0bf4b4b9f67a468b9a256246b7ac7 on ethereum:develop.

Can we close this?


expose Optic enhancements in 9.0-4

fromSQL(), fromSPARQL(), sqlCondition(), and bug fixes.

The Java equivalent of the SJS or XQY tests added in 9.0-4 should be sufficient.


[FR Datetime] A daterange starting with the = sign (like "= An") gives stack overflow

"= An" (with the space) gives a stack overflow

working on this


Older code in documentations

Remove core-icon

What page is this on?

Looks like the paper-button API docs.
This appears to be fixed in master, so should get fixed with the next catalog update.

@ebidel https://elements.polymer-project.org/elements/paper-button

Catalog has been updated with the latest element releases


Recoverable token

🚀 Description
Add ERC20 token behavior to withdraw other ERC20 compliant token was sended to the smart contract.
it use heritage from StandardToken.sol.
Add method function recoverToken(address _token) public onlyOwner returns (bool)
_token address of the other ERC20 token have been send to this contract, this function call transfer and send token to the owner of this contract.
This PR is just the time https://github.com/ethereum/EIPs/issues/223 will be finish, I think it should be usefull during this time.
Fixes #748

[x] 📘 I've reviewed the OpenZeppelin Contributor Guidelines
[x] ✅ I've added tests where applicable to test my new functionality.
[x] 📖 I've made sure that my contracts are well-documented.
[x] 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:all:fix).

Hi @julesGoullee! I'm still not sure what the intent behind this PR is, was your idea to make a token that allows recovery of other tokens sent to it? That seems oddly specific and contrived, is there a particular reason why you feel this use case should be supported by OpenZeppelin?

Closing due to inactivity: also, if the intent behind this is what I suspect it is, this is a duplicate of HasNoTokens.


How much power is required for speakers?

Research what speakers we could use and how much power those speakers would consume.

Any updates?

This could be a speaker that could work with a raspberry pie it would take 3 watts.
https://www.amazon.com/Computer-Speaker-Enhanced-Portable-Windows/dp/B086JXJ1LF/

Nice! Please add that to the website. Thanks!


Messed up Texture

As can be seen above, the newest CCTweaks has somehow a messed up renderer

Ok. That is weird. Can you give me a mod list please? I'd say at a guess that I'm forgetting to bind textures or something - though that block has no custom renderer so this is very odd.

Here is my complete log: http://puu.sh/j3H6t/0340fb6426.log
All loaded mods should be in there.
Btw, this problem didn't exist in the beta you had before this release

Curiouser and curiouser. I can't see anything wrong with it on my end - I know this normally works correctly - but I'll double check. You have one ton of mods installed :stuck_out_tongue_winking_eye:.

I know  :stuck_out_tongue_winking_eye:
I would have more if my pc couldtake it

I'm hoping to get version 0.2.1 out in the next week or so, also trying to close #36, so can you test then. I'll reopen and hope for the best if it isn't fixed then.

@Nathan1852 Can you confirm or deny if this is fixed with 0.2.1?

Yes, this is fixed in the newest version

Yeay :tada:!


DLL Hooking known address

I'm trying to hook to a known address instead of getting the address by GetProcAddress().
Here is my code:
// this is my approach from detours.
typedef int(__cdecl *pKey)(int, int, int);
pKey realKey = (pKey)(0x600000);
signed int __cdecl myKey(int a1, int a2, int a3);

// _NativeInjectionEntryPoint@4 to be imported
extern "C" void __declspec(dllexport) __stdcall NativeInjectionEntryPoint(REMOTE_ENTRY_INFO* inRemoteInfo);

void __stdcall NativeInjectionEntryPoint(REMOTE_ENTRY_INFO* inRemoteInfo)
{
	OutputDebugStringA("STARTED!!!!");

	HOOK_TRACE_INFO hHook = { NULL };

	NTSTATUS result = LhInstallHook(&realKey, myKey, NULL, &hHook);
	if (FAILED(result))
	{
		OutputDebugStringA("HOOK FAILED");
		return;
	}

	return;
}

signed int __cdecl myKey(int a1, int a2, int a3)
{
	char msgbuf[100];
	sprintf_s(msgbuf, "!!!!!!! %d %d %d !!!!!!!!!!!\n", a1, a2, a3);
	OutputDebugStringA(msgbuf);

	return realKey(a1, a2, a3);
}

So, why doesn't this work? Also how to embed EasyHook32.dll into my dll so I will only have 1 .dll?

I hooked my dll to the application via adding an import to the import table with LordPE.

@majimboo did you take a look at the C++ remote hook tutorial?
Most likely it is because you have not setup the thread ACLs using: LhSetExclusiveACL and although you have installed the hook, no threads are being directed to it yet.

@spazzarama I did read the tutorial. Thought those were not important. Anyway, is there a way that EasyHook.dll won't get created but instead embedded into my dll? I'm using visual studio.

@majimboo static linking is not supported, and EasyHook remote hooking works off the assumption that EasyHook dll is available (it is injected first to bootstrap your dll).


Strip control characters from notifications

Removes 0-31 and 127 ascii characters as they appear as unrenderable boxes in notifications (at least in Chrome).
Ref: https://en.wikipedia.org/wiki/ASCII#Control_characters

Requested review from either @maxpoulin64 or @YaManicKill.


Fixed typo affecting class name of ‘PT-PT’ locale.

PT-PT locale: ‘badge bg-dark text-light comic-neue’ missing one letter. Typo causes incorrect class output.

Please reopen this PR

@nickspaargaren I have reopened the pull request. What is required to approve the merge or close?

@nickspaargaren I have reopened the pull request. What is required to approve the merge or close?

Somewone like @jwiechers, @bobdos or @qlpqlp to review this PR & merge. Let's leave this open until they see this. The change is perfectly correct.


Unlighthouse stuck at "Waiting for routes..." screen

Describe the bug
Describe the bug
unlighthouse dashboard does not load any data, and no error message at all is ever displayed, when using on a Linux distribution with Chromium installed. The default browser on this machine is Firefox.
The problem happens regardless of the website scanned.
npx unlighthouse --site https://ambience.sk
ℹ Using system chrome located at: /usr/bin/chromium-browser.                                             Unlighthouse 6:22:16 AM
✔ Successfully connected to https://ambience.sk. (Status: 200).                                          Unlighthouse 6:22:17 AM
ℹ Found /robots.txt, using entries. Sitemaps: 1, Groups: 1.                                              Unlighthouse 6:22:19 AM
ℹ Discovered 118 routes from 1 sitemap.                                                                  Unlighthouse 6:22:22 AM
ℹ Disabling crawler mode as sitemap has been provided.                                                   Unlighthouse 6:22:22 AM

Nothing happens. This screenshot was taken after 3 minutes:

Reproduction
No response
System / Nuxt Info
System:
OS: Linux 6.5 KDE neon 5.27
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.5.1 - /usr/bin/node
npm: 9.8.1 - /usr/local/bin/npm
Browsers:
Brave Browser: XXXXXXX

(clearly this fails as well as there are other 3 browsers installed, however no Chrome, only Chromium)

Hi, please try the latest version (v0.11)


[WIP][SPARK-30009][CORE][SQL] Support different floating-point Ordering for Scala 2.12 / 2.13

What changes were proposed in this pull request?
Make separate source trees for Scala 2.12/2.13 in order to accommodate mutually-incompatible support for Ordering of double, float.
Note: This isn't the last change that will need a split source tree for 2.13. But this particular change could go several ways:

(Split source tree)
Inline the Scala 2.12 implementation
Reflection

For this change alone any are possible, and splitting the source tree is a bit overkill. But if it will be necessary for other JIRAs (see umbrella SPARK-25075), then it might be the easiest way to implement this.
Why are the changes needed?
Scala 2.13 split Ordering.Double into Ordering.Double.TotalOrdering and Ordering.Double.IeeeOrdering. Neither can be used in a single build that supports 2.12 and 2.13.
TotalOrdering works like java.lang.Double.compare. IeeeOrdering works like Scala 2.12 Ordering.Double. They differ in how NaN is handled - compares always above other values? or always compares as 'false'? In theory they have different uses: TotalOrdering is important if floating-point values are sorted. IeeeOrdering behaves like 2.12 and JVM comparison operators.
I chose TotalOrdering as I think we care more about stable sorting, and because elsewhere we rely on java.lang comparisons. It is also possible to support with two methods.
Does this PR introduce any user-facing change?
Pending tests, will see if it obviously affects any sort order. We need to see if it changes NaN sort order.
How was this patch tested?
Existing tests so far.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19202/
Test PASSed.

Test build #114364 has started for PR 26654 at commit 2432d65.

Test build #114364 has finished for PR 26654 at commit 2432d65.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114364/
Test FAILed.

Test build #114367 has started for PR 26654 at commit 57fc3f9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19206/
Test PASSed.

Test build #114367 has finished for PR 26654 at commit 57fc3f9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114367/
Test PASSed.

It seems reasonable to me.
BTW, how can we let Jenkins test with Scala 2.13 as well?

We can make a Jenkins job later; it's not nearly passing yet. I am testing locally on 2.13.  There is at least one large change that I want to hold until after branch-3.0 is cut, and at least one we can't resolve yet. These changes are relatively easy ones with little or no impact on 2.12.

Shall we remove [WIP] from the PR title?

Yep, sounds like there's no objection to this approach.

How about the code gen results? Are they consistent?
@cloud-fan @rednaxelafx

@gatorsmile good question. This change won't affect Scala 2.12 at all. How it affects 2.13 is still unknown; it isn't compilable just yet, so can't run the tests. The compile changes are large enough that I'm tackling them iteratively, but, at the end we may revise the 2.13 changes to ensure correctness, etc. This is a good example.

In codegen we use Utils.nanSafeCompareDoubles. Shall we simply implement Ordering by our own using the same method? Then it's guaranteed that codegen and interpreted code paths have the same behavior.

Yeah, that method does what TotalOrdering does. We could adopt it instead of using Scala 2.13 TotalOrdering; it won't matter.
But the two sites that changed here used Scala 2.12's Ordering.Double, which does not work like that method. For the SorterSuite? won't matter. For numerics.scala, it could matter.
We can either leave this in place to maintain 2.12 behavior, or if we think that the current 2.12 behavior in numerics.scala is a bit wrong and inconsistent, we can instead standardize on the Utils method everywhere and remove the need for OrderingUtil. (There will be other reasons we need the parallel build tree though.)
WDYT?

hmm, if the codegen and interpreted behavior is already inconsistent now with scala 2.12, it's a serious bug. @viirya @maropu can you take a look?

Some extra context. Here's the key difference between the two 2.13 orderings:
scala> Ordering.Double.TotalOrdering.compare(Double.NaN, Double.MaxValue)
res5: Int = 1
scala> Ordering.Double.TotalOrdering.gt(Double.NaN, Double.MaxValue)
res6: Boolean = true
scala> Ordering.Double.IeeeOrdering.compare(Double.NaN, Double.MaxValue)
res7: Int = 1
scala> Ordering.Double.IeeeOrdering.gt(Double.NaN, Double.MaxValue)
res8: Boolean = false

The weird thing is IeeeOrdering tries to work like the <, <=, etc operators, but still uses java.lang.Double.compare for compare, which seems internally inconsistent.
Scala 2.12's implementation of Ordering.Double looks the same as IeeeOrdering:
  trait DoubleOrdering extends Ordering[Double] {
    outer =>

    def compare(x: Double, y: Double) = java.lang.Double.compare(x, y)

    override def lteq(x: Double, y: Double): Boolean = x <= y
    override def gteq(x: Double, y: Double): Boolean = x >= y
    override def lt(x: Double, y: Double): Boolean = x < y
    override def gt(x: Double, y: Double): Boolean = x > y
   ...

TotalOrdering delegates all of that to the result of java.lang.Double.compare, which appears to already handle NaNs consistently by sorting them above all other non-NaN values.
Actually, do we need Utils.nanSafeCompareDoubles then, if it's the same?
So, back to the point: the question is whether this difference matters in the current build. The difference arises in a few places:

Double/FloatExactNumeric in numerics.scala used in Double/FloatType as their 'exactNumeric' implementation
Double/FloatType, which define an ordering based on Utils.nanSafeCompareXXX, but also use things like DoubleAsIfIntegral which inherits from DoubleOrdering.

I don't know if these two occurrences' ordering actually matters, as on a glance, it looks like these objects do not use them for ordering. I don't know the details enough to figure whether there is a subtle issue there.
I didn't immediately see a test which exercises something like sorting NaNs with non-NaN values, and am not sure how to write it to check code gen vs interpreted. But that would tell us one way or the other whether there is an issue.
In any event, it seems like:

The choice of TotalOrdering in 2.13 is good as it's consistent with Double.compare, Utils.nanSafeCompareDoubles
We will have to see whether 2.13 tests pass later! and revisit if not
We might even be able to remove nanSafeCompareDoubles for simplicity, but not important

hmm, if the codegen and interpreted behavior is already inconsistent now with scala 2.12, it's a serious bug. @viirya @maropu can you take a look?

You mean current master? I compared Utils.nanSafeCompareDoubles with DoubleExactNumeric.compare:
left: -1.7976931348623157E308, right: NaN, compare(codegen): -1, compare(interpreted): -1
left: NaN, right: -1.7976931348623157E308, compare(codegen): 1, compare(interpreted): 1
left: 1.7976931348623157E308, right: NaN, compare(codegen): -1, compare(interpreted): -1
left: NaN, right: 1.7976931348623157E308, compare(codegen): 1, compare(interpreted): 1
left: NaN, right: NaN, compare(codegen): 0, compare(interpreted): 0

Yeah, that's to be expected; the compare functionality hasn't changed. (I think it highlights that Double.compare already does what Utils.nanSafeCompareDoubles does?) The question I think is whether the definition of lt, lteq, etc matters to Spark. I mean, we know it behaves differently in the two Scala 2.13 implementations: IeeeOrdering follows JVM operators, TotalOrdering follows compare. I just don't know if their usage in Spark matters at all, like, whether this ever determines how two doubles compare outside of a sorting task.

The ANSI/SQL standard seems to define the order,  -Infinity<1.0<Infinity<Nan=Nan.
PgSQL follows that order now;
IEEE754 specifies that NaN should not compare equal to any other floating-point value
(including NaN). In order to allow floating-point values to be sorted and used
in tree-based indexes, PostgreSQL treats NaN values as equal, and greater
than all non-NaN values.

postgres=# insert into t values ('-NaN'), ('-Infinity'), ('+Infinity'), ('+NaN'), ('1.0');
INSERT 0 5
postgres=# select * from t;
     v
-----------
       NaN
 -Infinity
  Infinity
       NaN
         1
(5 rows)

postgres=# select * from t order by v;
     v
-----------
 -Infinity
         1
  Infinity
       NaN
       NaN
(5 rows)

Oracle and Spark currently follow this, too. So, in terms of the SQL behaviours,
the most important thing, I think is, to keep this order when switching from 2.12 to 2.13.

@maropu yep that's good, I don't expect that changes. What about the equivalent of SELECT Infinity < Nan? that kind of case is the worry, if anything. But this seems to work consistently:
val df = spark.createDataFrame(Seq(Double.MinValue, Double.MaxValue, Double.NaN).map(Tuple1(_)))
df.select($"_1" < Double.NaN).show()

+----------+
|(_1 < NaN)|
+----------+
|      true|
|      true|
|     false|
+----------+

Yea, that should be consisntent. Nan is the maximum value among double/float values including infinity in terms of SQL. So, the result above is correct and that's the same with the Pg one;
postgres=# select * from t;
     v
-----------
 -Infinity
  Infinity
    1e-307
    1e+308
       NaN
(5 rows)

postgres=# select v < 'NaN' from t;
 ?column?
----------
 t
 t
 t
 t
 f
(5 rows)

Anyway, the fix in this pr looks pretty reasonable to me.


Add tracker to lab link on the modern-bpf blog

What type of PR is this?
/kind content
Any specific area of the project related to this PR?
/area blog
What this PR does / why we need it:
Add tracker to lab link on the modern-bpf blog

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: pmusa
Once this PR has been reviewed and has the lgtm label, please assign vjjmiras for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 2add48a48107067644b4f3f9745b550bdbdd47c1

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: pmusa, vjjmiras
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [vjjmiras]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, pmusa, vjjmiras
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [leogr,vjjmiras]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Closing and reopening to trigger the CI
/close

@leogr: Closed this PR.

In response to this:

Closing and reopening to trigger the CI
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/reopen

@leogr: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


[SPARK-5697] Configurable registration retry interval and max attempts

Before, the Spark Driver would attempt to connect 3 times to the master,
with 20 seconds between each attempt, and if the master did not respond,
the driver would give up.
In practice, however, users may have a long queue of jobs or a busy
network that makes giving up this early unreasonable. Users should
choose to allow the driver to wait a longer time to eventually have its
registration be processed by the master node. The user does not need to
manually resubmit jobs as often if they set the timeout and number of
retries to higher numbers, as long as they are willing to accept that a
job may fail later if the master truly does crash or become unreachable.

Let me know if I should document these configurations somewhere.

Test build #27126 has started for   PR 4481 at commit 4cb5bf8.

This patch merges cleanly.

Test build #27126 has finished for   PR 4481 at commit 4cb5bf8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27126/
Test PASSed.

Could you describe in more detail the circumstances where you see that the master is overloaded and unable to accept connections? In general the master is a very lightweight component in Spark, I'm really surprised there was ever a case where this didn't just succeed the first time (outside of an all-out failure of the master).

Messages being lost because of an unreliable network can make the driver's messages hey lost and thus the driver retires even when the master is alive. Also we have a decent number of Spark contexts being created and stopped frequently, which can make the master's akka  message queue become a bottleneck.
We have had a few cases when the driver gave up but the master launched executors anyways, meaning if the driver had just waited a little longer, it could have proceeded with the job.

(typos because I typed this on my phone, will fix in a bit)
(hey = get, retire = retries)

@mccheah for our use case what values would you set these to?  Just bump the retry count up to like 10?

Just increase it depending on the environment. Of course the user should exercise discretion - if the retry count needs to be very high there's likely something very wrong in their system.

Hey Matt, Sorry I'm still a bit confused. Basically my concern is that we're trying to ignore an underlying bug by adding a configuration option, which is something we really try not to do.
Is it the case that you regularly have unreliable network connectivity inside of your cluster? Spark overall assumes that nodes can establish reliable TCP connections to one another. Do you actually have TCP flows that are terminated from within the network as a regular occurrence? It's very hard for me to imagine a modern hardware cluster where this is the case.
The second explanation you gave was the Akka message queue. Akka in general should be able to process thousands of messages per second which is way more than anyone would reasonably submit to the standalone cluster manager. It's possible that we are in some way blocking inside of our actors in a way that is severely limiting throughput. If that is the case, then we should identify and fix the bug.
Are you seeing specific akka timeouts or some type of error message that could help pin down what is happening? My guess is that there is just something buggy about job submission, and ideally we should fix that instead of trying to add more knobs to turn to work around it.
If you have a reproduction of this behavior that would actually be the best. I.e. a stress test or something that could identify what is going on.

If there's not going to be follow up along these lines, would you mind closing the PR?
(Aside: we now have a new syntax for specifying time properties, FWIW.)


crypto/sha3: add support for Keccak hash function

Keccak uses a different domain separation byte as the NIST-
standardized SHA-3 hashing function.

This supersedes #28


transitively pinned minimatch 3.0.4 dependency is causing rush audit to fail.

Describe the bug
Our transitive dependencies now include<EMAIL_ADDRESS>which has a ReDos vulnerability
https://github.com/advisories/GHSA-f8q6-p94x-37v3
To Reproduce
run rush audit in master. You'll fail on this:
https://github.com/advisories/GHSA-f8q6-p94x-37v3
Expected behavior
No failure
Additional context
we could use pnpm.overrides but we'd have to upgrade our rush version and downstream consumers of our build tools will still have to manually fix.

the transitive dep pinning this recursive-readdir has gone 5 years without a publish and apparently had this minimatch vulnerability listed as an issue since march:
https://github.com/jergason/recursive-readdir/issues
so I'm not sure how long or if they will provide an update. @aruniverse you expressed being concerned that our build-tool consumers would need any override we ourselves add to our package manager.
https://github.com/jergason/recursive-readdir/pull/85
does not seem to be any contributor response yet to this issue.

also as a note, this is a create-react-app transitive dependency because the dependency path goes through react-dev-tools

i didn't realize this was also a transitive dep coming from cra... thats going to be a pain.
for those that arent using cra, and using our build tools theyll still run into this issue.
@mattbjordan @evelynpreslar-bentley would be nice to refactor out the need for the recursive-readdir from itwin/build-tools if possible

I do not want to fork and continuously maintain them. the one fork we have now is already a pain


Update ibm_catalog.json with support_details

Description
Changes already made directly in partner centre, but making here too for consistency:

Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

:tada: This PR is included in version 1.1.1 :tada:
The release is available on:

GitHub release
v1.1.1

Your semantic-release bot :package::rocket:


Fixed Saving into existing directories

Editor would previously fail to save properly into a folder that already exists. Resolved.
NOTE: I had to install a new library into public, so npm needs to reinstall.

Hey - I had a dumb issue merging these automatically so I've merged them manually - I'm closing the pull request but your changes are in.


Slide Drawer does not scroll

About the problem
When a Slide Drawer has content opening outside the boundaries of the screen, the user will want to scroll.
Cannot scroll by swiping on the Slide Drawer
Did you try it outside of {N} Playground?
No.
(Don't know how, I'm at Lesson 1 - Step 3 of the online playground tutorial)
Which browser are you using?
Nativescript Playground Preview app
Are there any errors/warnings logged in your browser console?
N/A (in app preview)
Which platform(s) does your issue occur on?
iOS (in app preview)
Are there any entries logged in the Device Logs tab?
Yes
[iPhone]: 'NativeScript-Vue has "Vue.config.silent" set to true, to see output logs set it to false.'
[iPhone]: 'utils.ios.getter() is deprecated; use the respective native property instead'
Please provide the following information shown in the devices tab in the playground:

Model iPhone 6
OS version: Latest as of 10-Jul-2019
Preview app version: Latest as of 10-Jul-2019
Runtime version: huh (?)

Please tell us how to recreate the issue with as much detail as possible.
https://play.nativescript.org/?template=play-vue&id=f9dNoq&v=5

You have add the side drawer out site of the <StackLayout class="home-panel"> you can check this saved session https://play.nativescript.org/?template=play-vue&id=f9dNoq&v=6
Hope this helps.


Problem with laravel 5.6.3

Hi,
Thanks for creating this package! I tried to install it on Laravel 5.6.3 but got this error:
`nicolasbeauvais/laravel-botscout 1.1.0 requires illuminate/contracts ~5.1.0|~5.2.0|~5.3.0|~5.4.0|~5.5.0 -> satisfiable by illuminate/contracts[v5.1.1, v5.1.13, v5.1.16

Installation request for laravel/framework (locked at v5.6.3, required as 5.6.*) -> satisfiable by laravel/framework[v5.6.3].`

Any ideas?

This issue should be fixed now, thank you


PAXSB-87 - bump swissbox to v1.8.2

Note:
it needs also the additional Maven dependency reference, that is no longer inherited automatically from swissbox

Apparently not needed, since CI server builds fine. Still suspiscious.


Crash when creating world with the new Fabric API

Describe the bug
Crash when creating world
To Reproduce
Create a World
Expected behavior
A clear and concise description of what you expected to happen.
Mod version:
1.4.1
Fabric API version:
0.46.3
Minecraft version:
1.18.1
Crash Report :
https://crashy.net/BSbnBHwon5QetERJl7y6?raw

This should be fixed in latest version.


create a post with node.js on twitter

need to have the function for sending a twitter with twitter API
The developer key have been created DM me if you want it

https://www.tabnine.com/code/javascript/functions/twit/Twit/post


saving database to storage - ANDROID

Describe the bug
HI, at first, thanks for your work.
I am new to IONIC, and I am not sure how to save created sql database to storage of android.
I sucessfully created database and imported data from json api.
Also loading data from database works correctly, but is stored only for one session.
Somewhere I read that db.close() should store data automatically or I neet something more?
Thanks for advance.

@dodo-sofranko Are you talking Web app or Android App? in Android the database is automatically created under the  data/data/YOUR_PACKAGE/databases. and it is there when you re-open the app except if you have delete it. You are mixing with the Web plugin where here you need to db.close() or db.saveToStore()to save the in-memory database to the store

@jepiqueau thanks for confirmation that it should work this way. I finally found typo which caused that.
Thanks again for your work


modify setCurrent

force param num to Number

Out of interest, did you have a case where this caused an issue?

@michaelbromley
In that case pageRander is a String . when i click the .nextBtn, pagination.current + 1 turn out to be  11 not 2
上一页
下一页
<input type="text" ng-model="pageRander">
GO

Thanks, that makes sense.

Ok, thanks. btw, can you update to the bower ?

Done - v.0.6.1

@michaelbromley nice buddy..


await in <script type="module>

oxc thinks that "await" is not allowed here. I disagree.
    <script type="module">
        // @ts-check
        const mod = await import(...);

Looks like we need to update partial loaders to check for type="module". I assume you found this when running oxlint?

Looks like we need to update partial loaders to check for type="module". I assume you found this when running oxlint?

Yes, the oxc vscode extension.

What kind of file is this? vue, HTML, etc?

What kind of file is this? vue, HTML, etc?

HTML

@lborgman can you provide the full filename and file content? I cannot reproduce this without more context.

@Boshen
There is an example here: https://github.com/lborgman/oxc-await

Is this what you are seeing? This is not coming from oxc (I have oxc extension disabled).

Close as can't repro.

Thanks. I missed that it was not from oxc. Sorry.


Ios13 cannot get orientation properly

Ios13 can't get image 'Orientation' correctly by selecting any (large, medium, small) of image size

https://juejin.im/post/5ec26d3c6fb9a043681f83c2

Ios13 can't get image 'Orientation' correctly by selecting any (large, medium, small) of image size

https://juejin.im/post/5ec26d3c6fb9a043681f83c2


Add the ability to authenticate the OH Agbot based on it's exchange credentials

The OH agbot is not a node, and not a user, it is a different kind of entity that has it's own login credentials. The agbot's identity is not defined within the Exchange's set of known users, it is defined with the /agbots/ resources.

Resolved by https://github.com/open-horizon/vault-exchange-auth/pull/6


can't use --modern without html plugin / renaming the files still breaks --modern

Version
3.0.0-rc.3
Reproduction link
https://codepen.io/anon/pen/zaXgNz
Steps to reproduce
https://codepen.io/anon/pen/zaXgNz
What is expected?
Having the modern bundle built.
What is actually happening?

--modern doesn't work without the html plugin
keeping the html plugin and using node_modules/.bin/vue-cli-service build --modern doesn't generate any 'modern' bundle, only the legacy one

a config file copied into a code pen is not a valid reproduction. Please provide one.
More than two sentences of description would also be helpful to understand what the perceived problem is.

@LinusBorg
With the codepen config you need to run node_modules/.bin/vue-cli-service build --modern .
It will error out with TypeError: Cannot read property 'tapAsync' of undefined like on #1331
The thing is that I do want to use the --modern option that creates two bundles, and not the library target that doesn't do that.
As a workaround I can keep the html plugin, just ignoring the generated html, but, since I'm using custom filenames, the Modern bundle isn't generated.

I can see the first problem as the ModernModePlugin we use assumes the html plugin to be present.
But I won't try and replicate your sitution from a config file. Bug reports require runnable code as a reproduction. Those are the rules, I kindly ask you to follow them to keep our workload maintainable.

@LinusBorg I'm confused how the code isn't reproducible.
The current setup is a default vue-cli setup with router, with the codepen config as an overwrite for generating static files. It doesn't use any custom code other than the generated one by vue-cli.
Is there any other way of making it easier for it to reproduce ? Would a git repo with the code be better ?

The current setup is a default vue-cli setup with router,

How am I supposed to know?

It doesn't use any custom code other than the generated one by vue-cli.

How am I supposed to know?

Would a git repo with the code be better ?

Yes. Becaus then we don't have to wonder if you actually provided all the details, which many, many people don't (often accidentally)
I guess for now I see the problem though.

The current setup is a default vue-cli setup with router,

How am I supposed to know?

It doesn't use any custom code other than the generated one by vue-cli.

How am I supposed to know?

Would a git repo with the code be better ?

Yes. Becaus then we don't have to wonder if you actually provided all the details, which many, many people don't (often accidentally)
I guess for now I see the problem though.

@LinusBorg
My bad I assumed it's the base setup and that the explanation was clear. Here's a repo with the exact code https://github.com/CoolGoose/vue-cli-modern-issue
What I was assuming is that even if somebody renames the javascript files, it would still create both bundles.
Let me know if you need any help reproducing it. I understand that it can be a pita to hunt down random bugs.
Thanks

That's intended, if you want to use modern mode you must use the HTML plugin. There's no workaround and there's intention in supporting your desired usage.

Hey Evan, two things:

With the HTML plugin but with custom filenames should modern still work?
Would a merge request with the functionality be accepted? Imho generating two files for manual inclusion is in scope of the project.

Thanks

You'd think modern mode would be supported for usage where index generation isn't desired (like on every server rendered site). Not everyone using Vue CLI is writing SPAs.

FYI concerning OP's original request about being able to rename files:
That's now possible by using the process.env.VUE_CLI_MODERN_BUILD env variable which we made part of the public API a while ago:
module.exports = {
  lintOnSave: false,
  assetsDir: assetsDir,

  configureWebpack() {
    const legacy = process.env.VUE_CLI_MODERN_BUILD ? "" : ".legacy";
    return {
      output: {
        filename: assetsDir + `/[name]${legacy}.js`,
        chunkFilename: assetsDir + `/[name]${legacy}.js`
      }
    };
  },

  chainWebpack: config => {
    if (config.plugins.has("extract-css")) {
      const legacy = process.env.VUE_CLI_MODERN_BUILD ? "" : ".legacy";
      const extractCSSPlugin = config.plugin("extract-css");
      extractCSSPlugin &&
        extractCSSPlugin.tap(() => [
          {
            filename: assetsDir + `/[name]${legacy}.css`,
            chunkFilename: assetsDir + `/[name]${legacy}.css`
          }
        ]);
    }
  }
};

If you really want a way to skip the html generation (while simply ignoring it would be easier imho), feel free to work on an implementation and send a PR:
Requirements:

plugin removable through user webpack config
does no add another config option to vue.config.js.


hdfs_connect not defined

Hi,
I am using HDFS.jl package for connecting with HDFS.
I used this code :
Pkg.add("HDFS")
using HDFS
fs = hdfs_connect("localhost",9000)
But it's showing "hdfs_connect not defined".
I think julia is not able to find "libhdfs.jl" file. In fact there is no such file in my system.
Am I missing something?
Regards,
Pankaj

Hello All,
I understand that the post is 2 years old, but I ma facing similar issue, and I have tried all the options under my belt, still no success. I have hadoop 2.6, and I have installed it successfully with out any issues. I tried executing hadoop fs -ls, I get below error:::---
+++++++++++++++++++++++
hadoop fs -ls
Error: missing server' JVM at /usr/java/jdk1.8.0_91/jre/lib/amd64/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components
++++++++++++++++++++++++
I cd to /home/hadoop/hadoop/lib/native/, and executed
ldd libhdfs.so,,,,,, I got below output.
    linux-vdso.so.1 =>  (0x00007fffceb44000)
    libjvm.so => not found
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe14bbd3000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fe14b83f000)
    /lib64/ld-linux-x86-64.so.2 (0x0000003bf2a00000)

So, I created a soft link to the library as below::::::
sudo ln -s /usr/java/jdk1.8.0_91/jre/lib/amd64/server/libjvm.so /lib64/libjvm.so
It went fine, but when I do the "ldd", I get same error.
I cd to "/usr/java/jdk1.8.0_91/jre/lib/amd64/server/" to check, if the libjvm.so is there, I couldn't find,but I saw ../libjsig.so in there, so i copied  libjvm.so from /lib64 to "/usr/java/jdk1.8.0_91/jre/lib/amd64/server/" , but I still the same errors . I am not sure what am I doing incorrect.

My JAVA_HOME
echo $JAVA_HOME
/usr/java/jdk1.8.0_91/


Thesmi in the last line of the script block is not recognized

Before You File a Bug Report Please Confirm You Have Done The Following...

[X] I have tried restarting my IDE and the issue persists.
[X] I have updated to the latest version of the packages.

What version of ESLint are you using?
8.23.0
What version of eslint-plugin-astro are you using?
0.18.0
What did you do?

Configuration
module.exports = {
  /** @type { import('eslint').Linter.Config } */
  rules: {
    semi: ['error', 'never'],
  },
  overrides: [
    {
      files: ['*.astro'],
      parser: 'astro-eslint-parser',
    },
  ],
}

---
console.log('Hello 1')
console.log('Hello 2');
---

What did you expect to happen?
Recognize the semi of the last statement line like a normal js file.
What actually happened?
Cannot recognize the last line of the statement
Link to Minimal Reproducible Example
https://stackblitz.com/edit/node-qjzrj8?file=index.astro
Run pnpm lint to see the result
Additional comments
I think it's a parser error, but I'm not sure.

Thank you for posting the issue. Apparently the semi rule doesn't recognize .astro's --- token. Therefore it is incompatible with  semi: ['error', 'never']. I think we need to create an extended semi rule.v


🔍 Documentation update

I thought the landing page of the documentation needed a refresh. Please let me know what you think

Comment: You added a breakpoint at the end of each line. I'm wondering if this introduces a line change on the website. If this is the case, it might cause problems when looking at the website on a large/small display.

What is the way again to visualize the documentation altered by my changes? Do I have to compile locally?

Yep, https://github.com/Cloud-Drift/clouddrift/blob/main/CONTRIBUTING.md#building-documentation-locally.

Yep, https://github.com/Cloud-Drift/clouddrift/blob/main/CONTRIBUTING.md#building-documentation-locally.

Thanks! I think our library has gone to such a level that I cannot keep track anymore.

Yep, https://github.com/Cloud-Drift/clouddrift/blob/main/CONTRIBUTING.md#building-documentation-locally.

Thanks! I think our library has gone to such a level that I cannot keep track anymore.

I wonder a bit if maybe we could make this a bit easier. One way I could think of is to add a Launch Configuration (VS Code specific config) that has a configuration for each of our project tasks: like building, testing formatting, linting, generate-docs`, etc...

Yep, https://github.com/Cloud-Drift/clouddrift/blob/main/CONTRIBUTING.md#building-documentation-locally.

Thanks! I think our library has gone to such a level that I cannot keep track anymore.

At least, every time it happens we can make sure things are properly documented! :D

I am trying to build the documentation locally following the instructions and I am getting this error. Any clue?
selipot@UM-LYXV49RHY5:~/projects.git/clouddrift/docs $ make html
Running Sphinx v7.2.6
making output directory... done
[autosummary] generating autosummary for: api.rst, datasets.rst, index.rst, install.rst, usage.rst

Extension error (sphinx.ext.autosummary):
Handler <function process_generate_options at 0x107404ea0> for event 'builder-inited' threw an exception (exception: no module named clouddrift.adapters)
make: *** [html] Error 2
selipot@UM-LYXV49RHY5:~/projects.git/clouddrift/docs $ ls ..
CONTRIBUTING.md                 clouddrift                      ellipse_test.py                 output2.png                     test_function.py
LICENSE                         debug_output_alicanto.txt       environment.yml                 pyproject.toml                  tests
README.md                       docs                            make_ragged.py                  scratch.py                      transfer_examples.py
selipot@UM-LYXV49RHY5:~/projects.git/clouddrift/docs $ ls ../clouddrift/
__init__.py     _version.py     datasets.py     pairs.py        ragged.py       signal.py       transfer_kpp.py
__pycache__     adapters        kinematics.py   plotting.py     raggedarray.py  sphere.py       wavelet.py
selipot@UM-LYXV49RHY5:~/projects.git/clouddrift/docs $

I am trying to build the documentation locally following the instructions and I am getting this error. Any clue?
selipot@UM-LYXV49RHY5:~/projects.git/clouddrift/docs $ make html
Running Sphinx v7.2.6
making output directory... done
[autosummary] generating autosummary for: api.rst, datasets.rst, index.rst, install.rst, usage.rst

Extension error (sphinx.ext.autosummary):
Handler <function process_generate_options at 0x107404ea0> for event 'builder-inited' threw an exception (exception: no module named clouddrift.adapters)
make: *** [html] Error 2
selipot@UM-LYXV49RHY5:~/projects.git/clouddrift/docs $ ls ..
CONTRIBUTING.md                 clouddrift                      ellipse_test.py                 output2.png                     test_function.py
LICENSE                         debug_output_alicanto.txt       environment.yml                 pyproject.toml                  tests
README.md                       docs                            make_ragged.py                  scratch.py                      transfer_examples.py
selipot@UM-LYXV49RHY5:~/projects.git/clouddrift/docs $ ls ../clouddrift/
__init__.py     _version.py     datasets.py     pairs.py        ragged.py       signal.py       transfer_kpp.py
__pycache__     adapters        kinematics.py   plotting.py     raggedarray.py  sphere.py       wavelet.py
selipot@UM-LYXV49RHY5:~/projects.git/clouddrift/docs $

Make sure to have installed the clouddrift library (you need to build it first, more info here. Alternatively with the new vscode tasks I've added to the project you can do this with one click. see video:
Screencast from 04-12-2024 02:27:34 PM.webm

I don't remember having to manually build install wheels like this... I did the following:
from clouddrift/docs/
conda create -n test
conda activate test
conda install clouddrift
pip install -r requirements.txt
make html

and it completed fine. So, I think as long as you have clouddrift install in the current environment it should work.

If @kevinsantana11 you see the new text looks good after building the documentation please merge.

I don't remember having to manually build install wheels like this... I did the following:
from clouddrift/docs/
conda create -n test
conda activate test
conda install clouddrift
pip install -r requirements.txt
make html

and it completed fine. So, I think as long as you have clouddrift install in the current environment it should work.

Here I build and install the package locally so that it uses the local version of the library instead of the latest clouddrift distribution package in the PYPI repository. I do this because I'm fairly certain the site generation process uses the defined code and the docstrings defined in the installed library to generate parts of the documentation.
I think so long as your only testing changes in the docs folder the method you mentioned above will work.

OK, I see why you did it like this.
But if you look at the documentation's CI, it is only updated when a new version is released. We did it this way so we don't have online documentation that does not represent the library's current API if someone installs it from pypi/conda-forge. So, in the end, using the latest package should probably be the way to test it.

OK, I see why you did it like this.
But if you look at the documentation's CI, it is only updated when a new version is released. We did it this way so we don't have online documentation that does not represent the library's current API if someone installs it from pypi/conda-forge. So, in the end, using the latest package should probably be the way to test it.

I recently made a change to how this worked where we build the package in the action and install the .whl file to the environment generating the docs.
I'm not sure how we would go about testing/inspecting the doc generation against local code changes to the library without installing a local build of the clouddrift package.


Proposed: Allow parameter changes to running scripts

I've been playing around with implementing closed-loop speed control of motors in pigpio script (tons of fun; brings back my assembly language days).  It's very useful to use PROCP on a running script to monitor its status (how far has the motor moved?).  I think it would open up some interesting possibilities if the reverse communication direction were possible:  Allow the user to overwrite (some of the) parameters of a script while the script is running.  In my application, for instance, this would allow run-time adjustment of the desired speed without the glitch of stopping & restarting the script.
I can think of two possible implementation approaches:

Add a new command (PROCU?) called similarly to PROCR.  Unlike PROCR, the script would not need to be in the PI_SCRIPT_INITING state.  PROCU would alter the value of the first n parameters (however many are passed to PROCU).
Instead of adding a new command, modify PROCR so it can be called on a running script.

The implementation would be complicated a little bit by dealing with race conditions, and I admit I haven't thought through all the details yet.  It might be necessary to double-buffer the parameter updates and add a new script-only command to act as a synchronization point (this command would lock the mutex, copy any "pending" parameter updates over the real parameters, and unlock the mutex).
I'd be interested in developing this feature and submitting a PR, if it seems like something that would be accepted/useful.  Thoughts?

Hello dbbnrl,
if you have so much fun, maybe ou can tell me how I get back data/results from the script via socket (iisue #168)? ;-)
Joachim

I'll reply in #168.

This will be added to V66.
PI_CMD_PROCU
gpioUpdateScript (C)
update_script (Python, pdif2)
PROCU (pigs)


We need to handle recipe fall-off.

Consider whether CratingRecipes should have fall-offs.
For example, imagine the following recipe;
In: Bucket of Water, Flour
Out: Dough
...but what happens to the bucket of water? Perhaps it comes back as an empty bucket.
If so, this should be modeled, perhaps by having recipes produce multiple outputs.

Perhaps there should be a tuple pairing an itemID with its quantity.
Input and output could then both be lists of these tuples.

Done as of 80a9e66.