Optimization: change ReconStats into a facet

We currently maintain global reconciliation statistics for each reconciled column, counting how many cells are matched to an existing entity, matched to a new entity or non-matched. In Java, this is stored in a ReconStats object.
For large projects, those recon statistics are expensive to keep up to date. For most actions which trigger a change of the reconciliation data, we need to recompute those statistics entirely, which involves doing a pass on the whole grid. As a user, this is frustrating because I do not actually need a precise count of those reconciliation statuses. For instance, when interactively reviewing reconciliation results for cells in a column, each matching action will trigger a re-count of the reconciliation statistics. Those updates can be optimized when we are matching a single cell, but not when matching all cells with a given value.
Proposed solution
As a user, I do not actually care about the exact number of cells in each status: in fact, the UI only displays a percentage when I hover the histogram in the column header.

Therefore, this information should be treated as a facet, for which we already have a sampling mechanism which prevents from scanning the entire table. I see multiple options to use the same mechanism for ReconStats:

[x] when computing the recon stats, only do it for a fixed maximal number of rows (like for the facets, but not configurable). This is easy to introduce but we are relying on a non-configurable parameter, which is not ideal.
[ ] remove the ReconStats object from the backend entirely, and let the frontend render it itself, by adding facets on its own and rendering them in place. This is more involved for the frontend, but would be much cleaner for the backend.

I propose to start with the first approach, leaving this issue open for the second.

@wetneb I recall that somewhere we talked about this long way back in the early days...(might have been before you joined @wetneb ) I'm surprised we don't have an issue already? Perhaps not, but the longstanding #821 is one of the symptoms that users face as you sorta mention in your initial summary above.  Our conversations were probably in some mailing list thread around the time that issue was made by Ruben.
Regardless, yes your proposal for completely removing the ReconStats object makes more sense to me and we even had a loose roadmap for Faceting by aspects of of various attributes like Type, but the old Freebase API had some issues if I recall and David had started on a custom Freebase App but dunno whatever happened to it.

Yes I think this could actually be a good opportunity to introduce more column-level stats, for instance we could have one to display the proportions of datatypes in each column.

I have started to work on this and opened a discussion on the forum about how to expose datatype statistics in the UI:
https://forum.openrefine.org/t/exposing-datatype-statistics-in-columns/265


broadcastUpdate does not seem to access/interpret response headers correctly, causing the plugin to not work as expected

Library Affected:
workbox.broadcastUpdate.Plugin
Browser & Platform:
Google Chrome v66.0.3359.139 for MacOS 10.13.4
Issue or Feature Request Description:
I am using the staleWhileRevalidate strategy in conjunction with the broadcastUpdate plugin, and have noticed that nearly all response headers are missing when being used by broadcastUpdate to determine whether or not a change has been made which should kick off the message broadcast process. I've set the route to a single resource for demonstration purposes.
In the service worker:
workbox.routing.registerRoute(
    new RegExp('https://dev.pamdas.org/api/v1.0/featureset/70be361cad7e457baa7c0457d8017b04'),
    workbox.strategies.staleWhileRevalidate({
        cacheName: 'test-cache',
        method: 'GET',
        plugins: [
            new workbox.broadcastUpdate.Plugin('subject-group-updates', {
                headersToCheck: ['etag', 'date'],
            }),
        ],
    }),
);

On first app load, the "welcome to workbox" dialogue appears and all is well--Workbox sees that the resource is not cached and grabs it from the server.
However, on app reload there is the following message: "Unable to determine where the response has been updated because none of the headers that would be checked are present."

When inspecting the network request, you can see that the previous cached request and the new request  have "etag" and "date" headers, which are the headers for which an update should be broadcast:

But when you crack into the broadcastUpdate source, you can see that the only existing headers on its cached and fresh values seem to be "content-type" and "content-language":

As such, despite the fact that both required headers necessary to broadcast a change ("date" and "etag") are present, no update is broadcast.

You're working with cross-origin resources, so the CORS protocol comes into play here.
By default, only the six simple response headers are exposed for CORS responses.
You can use the Access-Control-Expose-Headers response header to whitelist additional headers, and make them available by code that runs in your web app/service worker.
It looks like you're already setting Access-Control-Expose-Headers: x-das-download-filename, so it would just be a question of adding in the additional headers to that list when your server generates the response.

Am facing the same issue while using the workbox web pack plugin.
new workboxPlugin.GenerateSW({
  swDest: 'myServiceWorker.js',
  clientsClaim: true,
  skipWaiting: true,
  cleanupOutdatedCaches: true,
  runtimeCaching: [{
    urlPattern: /(platform-components)$/,
    handler: 'StaleWhileRevalidate',
    options: {
      cacheName: 'platform-components',
      broadcastUpdate: {
        channelName: 'test',
        options: {
          headersToCheck: ['content-length', 'date'],
        },
      },
    },
  }],
})

Am getting a error

Unable to determine where the response has been updated
because none of the headers that would be checked are present.

but when am using with custom service worker am getting the headers.
am able to print all expected headers
event.respondWith(
  caches.open(CACHE_NAME).then(cache => cache.match(event.request).then((response) => {
    const fetchPromise = fetch(event.request).then((networkResponse) => {
      console.log(networkResponse.headers.forEach((value, key) => console.log('networkResponse', {
        value,
        key
      })));
      cache.put(event.request, networkResponse.clone());
      return networkResponse;
    });
    return response || fetchPromise;
  })),
);

Am using Chrome Version 72.0.3626.109 (Official Build) (64-bit)


Replaced pencil with chevron-down #19888

Replaced pencil with fa-chevron-down #19888
The following tests were run:
./tools/test-all
./tools/lint zerver/lib/actions.py
./tools/test-backend zerver.tests.test_markdown.MarkdownTest.test_inline_youtube
./tools/test-backend MarkdownTest
./tools/test-js-with-puppeteer navigation.ts
./tools/test-js-with-node utils.js
For testing the linters
./tools/lint
./tools/lint static/js/compose.js
./tools/lint static/js/
The following UI change has been made:

Thanks for working on this @Arch0125!  The visuals looked good for that component, but broken for other instances of dropdown_list_widget; you need to be careful to look for this class of bug when making changes to a shared component.
I resolved those issues by adding a new additional changes to the CSS.

Thanks a lot for your help and support! I will keep that in mind while making future contributions.


Node.js Foundation Community Committee Meeting 2018-08-09

Time
UTC Thu 09-Aug-2018 16:00 (04:00 PM):

Timezone
Date/Time

US / Pacific
Thu 09-Aug-2018 09:00 (09:00 AM)

US / Mountain
Thu 09-Aug-2018 10:00 (10:00 AM)

US / Central
Thu 09-Aug-2018 11:00 (11:00 AM)

US / Eastern
Thu 09-Aug-2018 12:00 (12:00 PM)

London
Thu 09-Aug-2018 17:00 (05:00 PM)

Amsterdam
Thu 09-Aug-2018 18:00 (06:00 PM)

Moscow
Thu 09-Aug-2018 19:00 (07:00 PM)

Chennai
Thu 09-Aug-2018 21:30 (09:30 PM)

Hangzhou
Fri 10-Aug-2018 00:00 (12:00 AM)

Tokyo
Fri 10-Aug-2018 01:00 (01:00 AM)

Sydney
Fri 10-Aug-2018 02:00 (02:00 AM)

Or in your local time:

http://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Community Committee+Meeting+2018-08-09&iso=20180809T16
or http://www.wolframalpha.com/input/?i=04PM+UTC%2C+Aug+09%2C+2018+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1MzyPhdg2Thduk00vZCZRs-X4knp2tJAp0j5K1S45yM4/edit

Agenda
Extracted from cc-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
nodejs/community-committee

First pass at PARTNER_COMMUNITIES.md #352
Node.js - Call for Code? #358
Agenda Building – Node.js Foundation Individual Membership Meeting – Monday August 20th #358

nodejs/user-feedback

2018-07-16 Public User Feedback Meeting - General User Feedback #74

Invited

CommComm Members: @nodejs/community-committee

Observers/Guests
Feel free to attend meeting as a guest. A zoom link will be shared here few minutes before meeting.
Notes
The agenda comes from issues labelled with cc-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting

link for participants: Will be added a few minutes before meeting starts
For those who just want to watch:
youtube admin page: https://www.youtube.com/my_live_events?filter=schedule

Just coming back from Vacation and have too many open threads. Gotta miss this one. ❤

Join link for invited members: https://zoom.us/j/193588946

Sorry I missed the meeting, I was at a hackathon for IBM's Call for Code challenge.

Going to close this 👍


closes #40, ::conf params should be identitical to ::rule params.

Unless there is a genuine reason for the parameters to diverge between ::conf and ::rule resources, then this should bring in line both of them.
I have purposefully left out the su parameter but can be added.

@brahman81 thanks for the PR and sorry for the delay here. Can you please rebase?

@brahman81 if you're interested in this you can always cherry-pick the commit, rebase, and submit as a new PR. We're happy to review and merge that!

Hi,
I'm going to close this PR due to inactivity. Please reopen and rebase it if you're still interested.


Refactor RecursivePathwayElimination API

I'm not sure this should be integrated directly with BINNExplainer. It's additional functionality, so it might be good to keep it separate in it's own class, and we show the usage using documentation. that would also make it more flexible how we can interact with the data
Originally posted by @arnscott in https://github.com/InfectionMedicineProteomics/BINN/pull/9#discussion_r1193454779

Posted on board: https://github.com/orgs/InfectionMedicineProteomics/projects/2?pane=issue&itemId=28197680


Bump TGI version to 1.4.2 to support gemma models

Huggingface enabled gemma support in TGI 1.4.2: https://github.com/huggingface/text-generation-inference/releases/tag/v1.4.2

/assign @annapendleton

/gcbrun


Add LGM-SOC'21 score card in readme.md

Add LGM-SOC'21 score card in readme.md

@soumita1234 pls assign this issue to me.

@soumita1234 pls assign this issue to me.

Share me the SS

@soumita1234 pls assign this issue to me.

Share me the SS

@soumita1234

@ishitakapoor26 I dont want to add this on readme. this is not important for the project overview.


update AS scripts (set and get mute)

Coverage remained the same at 60.982% when pulling defac852dbe079a65abe27de03a4e7ea0c4b3fb5 on an1rk4:master into 37e69481941d900020518aabf05932f34a8c514e on johndyer:master.

PR merged. Thanks


fix convert "class" attribute

when set el.attrs.class = undefined it is still in Object.keys so next each-block fails.
delete attr fix this.

This is a no-go.

Don't mess with what's in the archive. It's used purely for maintaining past releases within the repo.
It was removed in favor for Arthur Clemens' template converter, which is kept much more current.


networkx module version problem in Mash_based family finding

Hi, @Magdoll
I installed Cogent using Anaconda recently and tested it with my own data. An error occured while running cmd in the bash file generated by generate_batch_cmd_for_Cogent_family_finding.py. Information is listed as follows.
"""
2.0
Expected output isoseq_flnc.fasta.s1000k30.dist already exists. Just use it.
making weight graph from  /share/nas1/yangch/test/Cogent/01.generate_bins/preCluster_out/1/isoseq_flnc.fasta.s1000k30.dist
graph contains 2 nodes, 1 edges
performing ncut on graph....
Traceback (most recent call last):
File "/share/nas1/yangch/bin/anaconda/envs/anaCogent/bin/process_kmer_to_graph.py", line 4, in
import('pkg_resources').run_script('Cogent==2.1', 'process_kmer_to_graph.py')
File "/share/nas1/yangch/bin/anaconda/envs/anaCogent/lib/python2.7/site-packages/pkg_resources/init.py", line 748, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/share/nas1/yangch/bin/anaconda/envs/anaCogent/lib/python2.7/site-packages/pkg_resources/init.py", line 1517, in run_script
exec(code, namespace, namespace)
File "/share/nas1/yangch/bin/anaconda/envs/anaCogent/lib/python2.7/site-packages/Cogent-2.1-py2.7.egg/EGG-INFO/scripts/process_kmer_to_graph.py", line 156, in
ncut_threshold=args.ncut_threshold)
File "/share/nas1/yangch/bin/anaconda/envs/anaCogent/lib/python2.7/site-packages/Cogent-2.1-py2.7.egg/EGG-INFO/scripts/process_kmer_to_graph.py", line 78, in family_finding
run_ncut(g, labels2_map, ncut_map, nodelist, ncut_threshold)
File "/share/nas1/yangch/bin/anaconda/envs/anaCogent/lib/python2.7/site-packages/Cogent-2.1-py2.7.egg/EGG-INFO/scripts/process_kmer_to_graph.py", line 17, in run_ncut
labels = np.array([i for i in G.nodes_iter()])
AttributeError: 'Graph' object has no attribute 'nodes_iter'
"""
It seems networkx-2.0 has removed the nodes_iter() method and now provides the the nodes() method instead. I replaced networkx-2.0 by installing networkx-1.11, but the same problem still happened. Any idea what might go wrong? Much appreciated!

Please downgrade to networkx-1.9 (I think 1.10 also work...guess not for 1.11).
You should be able to verify the networkx version will work if the following can be done:
>>> import networkx
>>> networkx.__version__
Out[5]: '1.9.1'
>>> x = networkx.Graph()
>>> x.add_edge(1, 2)
>>> x.degree().items()
Out[8]: [(1, 1), (2, 1)]

My mistake. I did not downgrade networkx in anaCogent environment. The command works fine with version 1.11. Thanks.

Hi Magdoll,
I am getting following error with "process_kmer_to_graph.py ". networkx is version 2.5.
Traceback (most recent call last):
File "/home/.conda/envs/anaCogent/bin/process_kmer_to_graph.py", line 4, in
import('pkg_resources').run_script('Cogent==6.1.0', 'process_kmer_to_graph.py')
File "/home/.conda/envs/anaCogent/lib/python3.7/site-packages/pkg_resources/init.py", line 665, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/.conda/envs/anaCogent/lib/python3.7/site-packages/pkg_resources/init.py", line 1463, in run_script
exec(code, namespace, namespace)
File "/home/.conda/envs/anaCogent/lib/python3.7/site-packages/Cogent-6.1.0-py3.7.egg/EGG-INFO/scripts/process_kmer_to_graph.py", line 155, in
ncut_threshold=args.ncut_threshold)
File "/home/.conda/envs/anaCogent/lib/python3.7/site-packages/Cogent-6.1.0-py3.7.egg/EGG-INFO/scripts/process_kmer_to_graph.py", line 76, in family_finding
for g in nx.connected_component_subgraphs(G):
AttributeError: module 'networkx' has no attribute 'connected_component_subgraphs'
Any help would be really great.
Thanks

Hi @B10inform ,
Cogent is currently working with networkx version 2.3. I think you may have to try a downgrade for now..
-Liz

I downgraded networkx to v2.3. It is working.
Thanks


405 it is impossible to change the min breakout and max breakout parameter in referral program

Please add comment to link issue with pull request.


Download not working

Required information

Distribution:
Distribution version:
The output of "lxc info" or if that fails:

Kernel version:
LXC version:
LXD version:
Storage backend in use:

Issue description
On lxd.readthedocs.io the download the document doesn't work properly. It only downloads 2 pages not the whole version
A brief description of the problem. Should include what you were
attempting to do, what you did, what happened and what you expected to
see happen.
Steps to reproduce

Step one click on the download as PDF or epub
Step two open downloaded file

Information to attach

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[ ] Output of the client with --debug
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

I can't speak for the epub download but pdf does work fine for me, I get this URL:
http://readthedocs.org/projects/lxd/downloads/pdf/latest/

Note that this is on readthedocs.org so we don't actually control any of that, let me know if the link above breaks as well for you, if so, maybe readthedocs has a bugtracker somewhere.

Hi I tried the link you gave and it gave me 5 pages and a few blank pages. Can you try your download again to see if it is at my 3nd that the fault is happening please?
Thanks
S
On July 6, 2018 1:19:31 PM UTC, "Stéphane Graber"<EMAIL_ADDRESS>wrote:

I can't speak for the epub download but pdf does work fine for me, I
get this URL:
http://readthedocs.org/projects/lxd/downloads/pdf/latest/
Note that this is on readthedocs.org so we don't actually control any
of that, let me know if the link above breaks as well for you, if so,
maybe readthedocs has a bugtracker somewhere.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/lxc/lxd/issues/4748#issuecomment-403031857

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Hmm, yeah, looks like that particular readthedocs feature is broken... I've turned it off entirely now so that you at least don't get an old (October 2016) empty pdf.

Again, this stuff is hosted and provided by readthedocs, we have no control over what's run on their server and so can't fix it ourselves. Disabling the feature until they fix it is the only thing we can do.


feat: add setupcheck function

We need some enviroment variables while testing and there is a possiblity that dev won't add .env file and running tests without those env vars will be useless.
So this function will check for every enviroment var we need while testing and if succeed then we will run the tests and if not we will simply skip those tests by raising a failure with a message "Env not found or whatever".

hey @Creatoon, can you assign this task to me. I am already into it.

@GaurKS Sure go ahead


Add ability to choose text color

Add the ability to change the text color.
Add options:

--text-color for all text on the badge

--text-color=black for passing single color
--text-color=#010101|#f2f2f2 for passing left and right colors

--label-text-color for label text
--value-text-color for value text

Implemented, but still need to update documentation.


feat(nuxi): detect bun package manager

🔗 Linked issue
n/a
❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Updates nuxi to detect the bun package manager
Adds instructions for users of the bun package manager.

Here's a successful run of nuxi upgrade on my local machine. Note how it detects bun and uses it for the upgrade command.
bun ../bin/nuxi.mjs upgrade
Nuxi 3.6.5                                                                                6:49:55 PM
ℹ Package Manager: bun 0.7.4                                                                                6:49:55 PM
ℹ Current nuxt version: [unknown]                                                                                6:49:55 PM
ℹ Installing latest Nuxt 3 release...                                                                                6:49:55 PM
bun add v0.7.4 (af23dab8)

 installed<EMAIL_ADDRESS>with binaries:
  - nuxi
  - nuxt

Nuxi 3.6.5                                                                                6:49:55 PM
✔ Types generated in .nuxt                                                                                6:49:56 PM
[1193.00ms] done
ℹ Cleaning up generated nuxt files and caches...                                                                                6:49:56 PM
ℹ Upgraded nuxt version: [unknown]                                                                                6:49:56 PM
✔ You're already using the latest version of nuxt.

Thanks Daniel!


[BUG] GameStop fails at Loggin In

Expected Behavior
Should log and wait for the product to be in stock.
Target and BestBuy tasks are working.
Actual Behaviour
GameStop fails at Loggin In. Please see the below error and steps to generate it.
Screenshots
Place any informational screenshots here.
Repro Steps
Product Link: https://www.gamestop.com/video-games/playstation-5/consoles/products/playstation-5/11108140.html?utm_source=rakutenls&utm_medium=affiliate&utm_content=NowInStock&utm_campaign=10&utm_kxconfid=tebx5rmj3&cid=afl_10000087&affID=77777&sourceID=AKGBlS8SPlM-9_iat2FI8MNlM3ehRrnDQw

Create a task
Click start in the action
GameStop opens in the new Chrome window
No login window appears
Log in fails with the below error

Error:
[2020-12-14 16:05:53][TASK 3] Starting GameStop
[2020-12-14 16:05:53][TASK 3] Logging In..
Traceback (most recent call last):
  File "C:\Users\ASUS\Downloads\PhoenixBot\pages\homepage.py", line 514, in run
    GameStop(self.task_id, self.status_signal, self.image_signal, self.product, profile, proxy, self.monitor_delay, self.error_delay, self.max_price)
  File "C:\Users\ASUS\Downloads\PhoenixBot\sites\gamestop.py", line 27, in __init__
    self.login()
  File "C:\Users\ASUS\Downloads\PhoenixBot\sites\gamestop.py", line 59, in login
    wait(self.browser, self.LONG_TIMEOUT).until(EC.element_to_be_clickable((By.LINK_TEXT, "MY ACCOUNT")))
  File "C:\Users\ASUS\Downloads\PhoenixBot\env\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:

The login option is also missing in the GameStop window opened by Selenium. GameStop detecting automated test software?
GameStop window opened by Selenium:

GameStop window opened manually:

Desktop Configuration

OS: Windows 10
Browser: Chrome
Version: 87.0.4280.88 (Official Build) (64-bit)

The issue is the browser sizing. If the window isn't the right size then the login is moved to the hamburger menu and doesn't appear after resizing. Solution is to add self.browser.maximize_window() at the start of the login. Haven't tested it yet but I assume the window can be resized back down after login is complete.


Bridging Assets to Scroll: A Beginner's Guide

What would you like us to add?
Introduction:
Scroll is a Layer 2 scaling solution for Ethereum, offering faster and cheaper transactions. However, moving funds between Scroll and other blockchains like Ethereum requires bridging, often leaving users confused about the process. This guide will explain different bridging options for beginners, focusing on security and ease of use.
Prerequisites:
A MetaMask wallet (or similar) with some ETH for gas fees.
Basic understanding of crypto wallets and blockchain terminology.
Bridging options:

Ren Protocol:

Pros: Widely used, integrates seamlessly with MetaMask, supports bridging various assets.
Cons: Higher fees compared to other options.
Steps:
Visit https://renprotocol.org/ and connect your MetaMask wallet.
Select the assets you want to bridge (e.g., ETH, USDC) and input the desired amount.
Choose "Scroll L2" as the destination network.
Review the transaction details and confirm.

Rainbow Bridge:

Pros: user-friendly interface, relatively low fees compared to Ren.
Cons: Limited asset support currently (primarily ETH and stablecoins).
Steps:
Visit https://en.wikipedia.org/wiki/Rainbow_Bridge_%28pets%29 and connect your MetaMask wallet.
Select the asset and amount you want to bridge.
Choose "Scroll L2" as the destination network.
Follow the on-screen instructions to confirm the transaction.
3. Orbiter Finance:
Pros: highly secure, permissionless bridge architecture.
Cons: Requires understanding of decentralized governance and voting for bridge parameters.
Steps:
Visit https://www.orbiter.finance/ and connect your MetaMask wallet.
Select the asset and amount you want to bridge.
Choose "Scroll L2" as the destination network.
Review the voting process and transaction details before confirming.
Remember:
Always double-check the network selection before bridging.
Consider transaction fees and bridge security before choosing an option.
Start with small amounts for testing before bridging larger sums.
Additional Resources:
Scroll Documentation: https://docs.scroll.io/en/developers/
Ren Protocol Docs: https://docs.renproject.io/ren/
Rainbow Bridge Docs: https://rainbowbridge.app/
Orbiter Finance Docs: https://orbiter-finance.medium.com/
How important it is?
Reasons for its importance:
Addresses a key user need: Bridging assets is a crucial step for users transitioning between Scroll and other blockchains. A clear and concise guide like mine simplifies this process, fostering wider adoption and user confidence.
Focuses on a beginner-friendly approach: Many users new to Scroll might find bridging intimidating. My tutorial caters to that audience, making the ecosystem more accessible and welcoming.
Highlights various bridging options: Providing an overview of different bridges empowers users to compare their features, fees, and security aspects before choosing the most suitable option.
Integrates with official resources: Linking to relevant documentation adds credibility and helps users delve deeper into specific bridges if needed.
Overall, my contribution addresses a practical need, educates users, and promotes informed participation in the Scroll ecosystem. While its impact can't be definitively quantified, it undoubtedly fills a valuable gap and empowers users within the growing Scroll community.

i can take this, kindly assign this to me

This is a great guide, and I encourage you to publish it on another channel. However the technical documentation is not the place to be endorsing specific bridges or protocols. We hope to have a place in the documentation for community-contributed guides soon.


Sample lane s route

🎉 New feature
Part of #1
Goes on top of #20
Summary
It adds the service /sample_lane_s_route to allow a LaneSRoute path to be sampled and obtain a vector of InertialPositions out of it.
Test it
Via unit tests.
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if it affects the public API)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Will sync and update soon this PR.

@francocipollone whenever you have a minute, I'll appreciate your review here.


Add labels to README.md

We should add the following labels to README.md:

StyleCI
TravisCI
Waffle

Closed by #4


Implement find pair

Closes #452

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

@BlakeGuilloud Thanks for making me aware. I think I fixed that before making the PR but forgot to git commit --amend
Everything should be good now. 👍

Thanks @damon-myers ! Do you mind opening up a new Issue for your skeleton method? Thanks!

@BlakeGuilloud, do I need to open a new one, or is #751 good?


Spectrogram looks different between wavesurfer.js 5.2.0 and wavesurfer.js 6.0.1

wavesurfer.js 5.2.0

wavesurfer.js 6.0.1

Spectrogram looks small
#code
var SpectrogramPlugin = window.WaveSurfer.spectrogram;
var wavesurfer = WaveSurfer.create({
    container: '#waveform',
    waveColor: 'violet',
    progressColor: 'purple',
    backgroundColor: 'rgba(0,0,0,.8)',
    pixelRatio: 1,
    plugins: [
        SpectrogramPlugin.create({
            container: '#spectrogram',
            fftSamples: 256
        })
    ]

})
var url = './audio.wav'
wavesurfer.load(url)

Caused by changes in #2424
@dofuuz can you take a look at this? If we can't fix the new implementation I'm afraid it'll have to be reverted.

Reverting #2424 is not a solution. Frequency label will be incorrect. And it will behavior differently with channel number.
As getting original samplerate is difficult, I suggest displaying spectrogram in 12kHz range by default.
And making option for display range soon or later.
This will draw spectrogram looks like 5.2.0.

Hi there, i cannot really find the parameter of setting the spectrogram in 12kHZ range by default, is any suggestion? Thank you.

Reverting #2424 is not a solution. Frequency label will be incorrect. And it will behavior differently with channel number.
As getting original samplerate is difficult, I suggest displaying spectrogram in 12kHz range by default. And making option for display range soon or later. This will draw spectrogram looks like 5.2.0.
Hi there, i cannot really find the parameter of setting the spectrogram in 12kHZ range by default, is any suggestion? Thank you.

@mINgthub It's just a suggestion for future improvement, not has been implemented.


Refactor Lint.

refer to:
https://github.com/zulip/zulip/pull/17506
Other requested changes seemed to be made by @andersk.
Thanks

Merged, thanks @LoopThrough-i-j!


gotosocial - mutuals only post visibility

https://docs.gotosocial.org/en/latest/user_guide/posts/

https://github.com/superseriousbusiness/gotosocial/blob/main/docs/api/swagger.yaml


packagist distribution

Hi, Paddy.
Here's a composer.json file for Mockery. If you have it, you can submit Mockery to packagist.org and then folks can install it automatically with composer tool.
It's quite cool because then other packages can use it as their dependency. And it will be autoloadable by default.
Cheers and good luck in 2012,
Dmitry.

+1 @padraic please merge this :D

You should squash these changes in a single commit file.
Besides that, #46 has got some keywords in there that would be nice to be added to your PR. =)
And of course, +1 on the PR itself!

+1 @padraic please merge it, if you don't then we will have no option but to fork your project

Great! Now we only need @padraic to merge it. ;-)

that can take another year :D last merge or change he did was in july last year, and the first PR after that in August was never merged not even commented on?
last of his comments was:
"I should be able to add something like that. Will add in time for next version - should be another week when I have the free time to roll out a maintainance release."
That week turned into months, ... :) lets hope he does it soon

I'm sure he will as soon as he has a chance to get to this. If you need mockery package now - you can temporary add our custom repo to your composer.json - its at http://packagist.projectshift.eu and already provides padraic/mockery

+1

\o/
Thanks!

Great! Now we should probably register the package at www.packagist.org to make it composer-installable.

do you want me to do it, I can do it
On Fri, Jan 20, 2012 at 2:54 PM, Dmitry Belyakov
<EMAIL_ADDRESS>wrote:

Great! Now we should probably register the package at www.packagist.org to make it composer-installable.

Reply to this email directly or view it on GitHub:
https://github.com/padraic/mockery/pull/44#issuecomment-3589415

cordoval: I guess better Padraic do it since he's the maintainer.
Update: he just tweeted that he will tomorrow after a few more commits.

mind his tomorrows can be next year
On Fri, Jan 20, 2012 at 3:00 PM, Dmitry Belyakov
<EMAIL_ADDRESS>wrote:

cordoval: I guess better Padraic do it since he's the maintainer.
Update: he just tweeted that he will tomorrow after a few more commits.

Reply to this email directly or view it on GitHub:
https://github.com/padraic/mockery/pull/44#issuecomment-3589537


Customized localIdentName in config

What problem does this feature solve?
Allows individual teams to customize the css module class naming conventions for their team. This enables teams to align with style guides / design system naming conventions such as BEM or SMACSS.
What does the proposed API look like?
Add it as an option in the css portion of the config. Then add it in the CSSLoaderResolver to take input or default to existing localIdentName.

Closed via #915


ImportError: No module named builtins

For compatibility with Python2.7, running pip install future fixed this error for me.
Maybe it's missing from the setup requirements.

Let me know if you still experience this issue. The last version supporting py27 will be 0.28.


az login --service-principal fails if password contains '>'

Describe the bug
When running az login with a password that contains >, a file is created in the working directory with whatever name follows the > character in the password.
It appears as if though the az cli for some reason executes the given password on the command line (!?!).
Command Name
az login
Errors:
AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app '<redacted>'.

Trace ID: 005770b3-2399-47b0-aca3-2e5945c96200

Correlation ID: e0b066ac-f486-4d25-8638-56348b35d030

Timestamp: 2023-05-08 11:30:53Z

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Minimal reproduction:

Run az login --service-principal --password 'abcd>ABCD'
⚠ Observe that a file called ABCD has been created in your working directory ⚠

For an actual account:

Create a service principal with a password containing > (e.g. abcd>ABCD)
Attempt to log in to the service principal using az login:
az login --service-principal -u 'id-of-sp' --password 'abcd>ABCD' --tenant 'id-of-tenant'
⚠ Observe that a file called ABCD has been created in your working directory ⚠

Expected Behavior
The service principal is successfully authenticated.
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.10.10
Installer: MSI

azure-cli 2.48.1

Extensions:
account 0.2.5
automation 0.2.1
ssh 1.1.3

Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0

Additional Context

Thank you for opening this issue, we will look into it.

This appears to be an issue with every single az command. A similar thing happens with:

Run az help 'foo>bar'
Observe that a file called bar has been created in your working directory.

I am running the az cli in PowerShell, and Get-Command az returns a path to az.cmd. My guess would be that this proxy script fails to escape its inputs correctly.

This is a typical issue of PowerShell. You need to escape the argument twice: '"foo>bar"'. See

https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively?tabs=bash%2Cbash2#use-quotation-marks-in-parameters
https://github.com/Azure/azure-cli/blob/dev/doc/quoting-issues-with-powershell.md


Document how to perform a full sync.

The current use cases do not cover how to sync all user data of current employees.
For example, any data prior to turning the connector on is not synced.
Department, location, etc. is not synced for current user, only for new transactions, right?
Request
Would it be possible to document how to perform an initial full sync?
Thanks

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

ID: 799c371a-a17e-08aa-ef56-86eef2395f7e
Version Independent ID: 1339cc93-712c-3a32-8321-dfd016a50ed4
Content: Tutorial: Configure Workday for automatic user provisioning with Azure Active Directory
Content Source: articles/active-directory/saas-apps/workday-inbound-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @cmmdesai
Microsoft Alias: chmutali

@aaroncalderon Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@aaroncalderon: I believe the "Clear current state and restart synchronization" option will accomplish this.

@aaroncalderon The very first time you run "initial sync" or whenever you run "full sync" with the option "Clear current state and restart synchronization" - the Workday connector retrieves data for all current active employees and contractors. After full sync is complete, the incremental sync, only looks for changes that have occurred since the last sync. The process is documented here - https://docs.microsoft.com/en-us/azure/active-directory/app-provisioning/how-provisioning-works#provisioning-cycles-initial-and-incremental

#please-close


Fix cross-compilation on macOS

Context
The macOS platform is now able to cross-compile between Intel and Arm architectures, but the build script doesn't allow it. This PR simply adds support for this use case.
Commit message
When cross-compiling on macOS, we got the following error:

Tried to install a target for the build machine in a cross build.

The problem was that the flag is_native wasn't correctly set.
The proposed solution is to rely on meson.is_cross_build() to set the is_native flag, instead of manually setting it depending on the host_system.

Closing in favor of https://github.com/gopro/gopro-lib-node.gl/pull/545


[Time Series #216] Pair programming domain tests

Pair programming with team Volt

@PerLysemose Hey Per. I found the right issue concerning pair programming with volt.

Got it :-)


Build Process Error "Undefined symbol: _AudioServicesPlaySystemSound"

After upgrading to v2.0.2 we are getting the following error  during the build process.

We've tried manually setting up iOS based on the docs but when we attempt to add RNReactNativeHapticFeedback.xcodeproj to the Libraries and move to the next step, it does not show up when we attempt to 'Link Binary To Libraries'. libRNReactNativeHapticFeedback.a is not listed as one of the libraries available.
We can also confirm that attempting to click on RNReactNativeHapticFeedback.xcodeproj in the Library dropdown yields a 'The file could not be opened.' popup.

This error also goes away if we manually link the Audiotoolbox.framework to the package. Any help would be appreciated.

same

Same error on xcode 15.0.1, RN 0.72.6, react-native-haptic-feedback 2.2.0.
And Same problem when manually setting up on IOS.

Same, Only iOS settings can fix this error.


ERROR Exception occurred while associating the repository

Receiving the following error in the workflow step for CodeGuru Reviewer:
2022-02-17 05:04:28,184 INFO No existing associations found for githubreponame, creating a new one
2022-02-17 05:07:43,485 ERROR Exception occurred while associating the repository
Traceback (most recent call last):
botocore.exceptions.WaiterError: Waiter RepositoryAssociationSucceeded failed: Max attempts exceeded. Previously accepted state: For expression "RepositoryAssociation.State" we matched expected path: "Associating"
2022-02-17 05:07:43,485 ERROR Exception occurred while executing
botocore.exceptions.WaiterError: Waiter RepositoryAssociationSucceeded failed: Max attempts exceeded. Previously accepted state: For expression "RepositoryAssociation.State" we matched expected path: "Associating"

Running aws codeguru-reviewer list-repository-associations I can see:
{
    "RepositoryAssociationSummaries": [
        {
            "AssociationArn": "arn:aws:codeguru-reviewer:ap-southeast-2:123456789012:association:abcde123-abcde123-abcde123-abcde123",
            "LastUpdatedTimeStamp": "2022-02-17T15:04:30.371000+10:00",
            "AssociationId": "abcde123-abcde123-abcde123-abcde123",
            "Name": "githubreponame",
            "Owner": "123456789012",
            "ProviderType": "S3Bucket",
            "State": "Failed"
        }
    ]
}

I had an incorrect S3 bucket in my github-actions.yml


Tomography count doesn't reach the expected number of tomography

Describe the bug
In some network configs, the number of tomographies still doesn't reach out the target count.
The reason could be the limit of simulation time but need investigation
EndNode1<-->QuantumChannel{cost=-1;distance=1km;fidelity=1;bellpair_per_sec=-1;tomography_time=-1;tomography_measurements=-1;actual_meas=939; GOD_clean_pair_total=939; GOD_X_pair_total=0; GOD_Y_pair_total=0; GOD_Z_pair_total=0;}<-->EndNode2; F=1; X=0; Z=0; Y=0
EndNode2<-->QuantumChannel{cost=-1;distance=1km;fidelity=1;bellpair_per_sec=-1;tomography_time=-1;tomography_measurements=-1;actual_meas=939; GOD_clean_pair_total=939; GOD_X_pair_total=0; GOD_Y_pair_total=0; GOD_Z_pair_total=0;}<-->EndNode1; F=1; X=0; Z=0; Y=0

To Reproduce
Steps to reproduce the behavior:
Working in a different branch. Let me add this part later
Expected behavior
Should reach expected number of tomography.
Desktop (please complete the following information):

OS:ubuntu on docker

Additional context
Add any other context about the problem here.

I think this does not happen anymore unless the number of buffers are not enough to execute the RuleSet. I will close this for now. If we can reproduce it later then we can reopen it.


Add ability to use custom easing function(s) with particle emitters

This PR

Updates the Documentation
Adds a new feature

Describe the changes below:
Internally EmitterOp uses GetEaseFunction which can handle eases as strings and as functions, and also can accept easeParams.

Makes sense! Merged :)


luigi: 2.8.13 -> 3.0.0

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/spotify/luigi/releases.
meta.description for luigi is: "Python package that helps you build complex pipelines of batch jobs"
meta.homepage for luigi is: "https://github.com/spotify/luigi"
meta.changelog for luigi is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.0.0 with grep in /nix/store/a2bvmhlc34091z5vbndb3wvgj1p2j9gm-luigi-3.0.0

directory tree listing: https://gist.github.com/efa7032d32d8aa2220c6486ef22ffa32

du listing: https://gist.github.com/0522cfc0eec3a99607d6670700856a45

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
luigi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/a2bvmhlc34091z5vbndb3wvgj1p2j9gm-luigi-3.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/a2bvmhlc34091z5vbndb3wvgj1p2j9gm-luigi-3.0.0
ls -la /nix/store/a2bvmhlc34091z5vbndb3wvgj1p2j9gm-luigi-3.0.0/bin

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

1 package built:
- luigi

Maintainer pings
cc @bhipple for testing.

Result of nixpkgs-review pr 90404 1

1 package built:
- luigi


 Seems to be from the latest update reworking chiseled bookshelves. (1.20.1)

latest.log
crash-2024-02-09_12.20.18-fml.txt

Every Compact needs to be updated. I already fixed this issue on their end, they just need to release the update.


getting started page

This is more of a recommendation.
I used to work with the alpha version and it took me awhile to figure out there is no webpack "stuff" here so I had to npm install everything. I read in the forum that webpack was eliminated from the starter products in order to make it easier for users (whatever that means LOL). I think that could've been nice to know before I started using it. Pretty much some mention in the docs about npm install.
Also I think it is useful to add, that in order to use (ionic start and not have issues) you have to have python 2 installed, because I had python 2 and 3 and it gave me errors (which I put as an issue and was fixed)

Hey thanks for the suggestions!
Curious about the python part. I could be mistaken, but I don't believe our CLI requires anything with python. You said you opened an issue? Could you link to it?

Not ionic CLI but I read node was written Python 2 as well as C++ as it was written in both under the hood. In fact you need Python 2 among other things install to build.
https://github.com/nodejs/node/blob/master/BUILDING.md

Ahh, in reference to building node from source. For most devs, they'll probably be running the installer from node's site or using some sorts of package manager. With those process, you already have a binary that gets installed so you shouldn't need to have python setup.
Going to close this for now.


Some of the wiki links are not clickable

The below wiki links are not clickable in HOME page [https://github.com/Project-Quantum/Quantum-Starter-Kit/wiki]:
[Getting Started](Getting Started)
[Project Layout](Project Layout)
Configuration and setup
[Application Properties](The application.properties file)
[Connection Properties](The connection.properties file)
[TestNG Configuration](Quantum TestNG File)
[Object Repository](Object Repository)
[Perfecto predefined steps](Perfecto predefined steps)
[Creating new steps](Creating customized steps)
[Utility methods](Java Utility classes)
Java samples

It's working fine now.


Error when installing IRL

Hi - I am getting the following errors when installing the interface reconstruction library - any suggestions?

Hello @giannis-bagkeris, what version of GCC are you using to compile IRL? It needs to support the C++17 standard to be able to compile the if constexpr statements.

Hi @fabienevrard. Thanks for your response. The GCC version I am using is 5.4.0 on Ubuntu 16.04.

Yes that's too old (if constexpr has only been supported since GCC 7). You have two options:

Use a more recent version of GCC.
Checkout an older version of IRL that only requires the C++14 standard.

Thank you!


TiKV can pause/resume grpc when necessary

What is changed and how it works?

Issue Number: Close #15086
What's Changed:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
Provides status APIs to start and stop tikv's grpc services

/release

cc @LykxSassinator

This pr can be dropped as the "https://github.com/tikv/tikv/pull/15088" has been ready for review and included all modifications in it.

close it. We're using #15088


Updated travis config for coveralls

CLA is valid!

Changes Unknown when pulling 7c2ffe58e5306d5d1779a86db7aaad0493092162 on jedireza:coveralls into ** on yahoo:master**.

:ship: after build passes

Changes Unknown when pulling b848391f5f970456f16e694d1cdb984d0fc0164f on jedireza:coveralls into ** on yahoo:master**.


Venmo?

TwoFactor.org lists Venmo as SMS and Software Implementation, but I believe the correct 2FA methods are SMS and e-mail.
https://help.venmo.com/customer/portal/articles/1910230-confirm-my-identity-on-sign-in-why

Closing in favor of #1098


CMake Error at /usr/bin/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137

Microsoft Windows [Version 10.0.20251.1]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\Users\polyt>pushd z:\repos
z:\repos>git clone http://github.com/ynqa/faiss-server.git
Cloning into 'faiss-server'...
warning: redirecting to https://github.com/ynqa/faiss-server.git/
remote: Enumerating objects: 284, done.
remote: Total 284 (delta 0), reused 0 (delta 0), pack-reused 284 eceiving objects:  79%
Receiving objects: 100% (284/284), 65.09 KiB | 1.42 MiB/s, done.
Resolving deltas: 100% (140/140), done.
z:\repos>cd faiss-server
z:\repos\faiss-server>docker build -t faiss-server .
..........
[ 95%] Performing configure step for 'faiss-server'
loading initial cache file /builder/build/faiss-server/tmp/faiss-server-cache-.cmake
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/bin/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/bin/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/bin/cmake/share/cmake-3.11/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:6 (find_package)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present.  A line of code such as
cmake_minimum_required(VERSION 3.11)

should be added at the top of the file.  The version specified may be lower
if you wish to support older CMake versions for this project.  For more
information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/builder/build/bin/CMakeFiles/CMakeOutput.log".
See also "/builder/build/bin/CMakeFiles/CMakeError.log".
CMakeFiles/faiss-server.dir/build.make:110: recipe for target 'faiss-server/src/faiss-server-stamp/faiss-server-configure' failed
CMakeFiles/Makefile2:71: recipe for target 'CMakeFiles/faiss-server.dir/all' failed
make[2]: *** [faiss-server/src/faiss-server-stamp/faiss-server-configure] Error 1
make[1]: *** [CMakeFiles/faiss-server.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/sh -c make' returned a non-zero code: 2

Or, you can download the full log from: https://1drv.ms/t/s!AqMx36ZH6wJMhbBQwAzvmafejlpgLw?e=ipkHyO


DNSRecord Comment Support

Current cloudflare-go version
v0.57.0
Description
It appears that you can fetch the comment for DNSRecord's from the API, but there doesn't appear to be support in the Go library.
The API also appears to support searching based on a comment.
Docs here: https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records
Use cases
I am using this with a custom script to support Dual WAN on my UXG-Pro.
Potential cloudflare-go usage
# This should just work like arguments passed into the search for listing, as well as exposing the Comment property of the request.

References
No response

Closing this as I didn't see #1151 which resolves this.


Fork Idea: Synchronized Text/Markdown Files

So I realize this is outside of the scope of Davros, but I've been pining for a really simple markdown editor that lets me edit from a folder on my computer and then backs it all up (Davros), but then ideally I could edit those files from within Sandstorm as well.
I suspect this is outside of the scope of Davros, but it would be cool to take the functionality that Davros supplies through a fork and focus it on something like this.
Thoughts?
Stretchgoals: Jekyll publishing to github, or something similar.

I'd be totally fine with a fork, but I also think this functionality might fit in well with the upcoming Powerbox feature in Sandstorm. Ideally for any file type, davros could ask sandstorm "do you have any apps installed that support markdown?" and then seamlessly send you into that app to edit.
(I've also thought about having frontend plugins for things like document editing, photo galleries, music playlists, etc but hopefully powerbox will be a more scalable solution)

I didn't realize Powerbox was a thing / in the works but it sounds like it would indeed be a good / much easier to implement solution for this. I'll wait to see what that will be.


Strange empty Annotator errors in Inspection window

When running bulk inspection with the plugin enabled there are strange empty Annotator errors detected for composer.json requires. There are no errors or warnings of any kind reported opening the file itself.
See screenshot:

The same as https://github.com/psliwa/idea-composer-plugin/issues/83 - it has been already fixed.


Ensure Amazon EKS public endpoint disabled

Possible check to target the following resource

[ ] aws_eks_cluster

closing, tracking in spreadsheet

closing, tracking in spreadsheet


[question] what's the best way to do Internationalization now

what's the best way to do Internationalization now?
Is there some examples to look?
Thanks, any help will be greatful

i18n is beyond Compose scope. You can use any approach suitable for Kotlin development

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


运行在浏览器 TypeError: Cannot call a class as a function

#16

Hi I am facing same issue. Any update on this?

Hi I am facing same issue. Any update on this?

Is the solution in #9 not ok?

thanks for the quick reply this works. How can I change the number layout in keyboard. for e.g
I want keyboard to be like
7 8 9
4 5 6
1 2 3
confirm

thanks for the quick reply this works. How can I change the number layout in keyboard. for e.g
I want keyboard to be like
7 8 9 4 5 6 1 2 3

The layout property is ready for you. Check out the demo code.


A new example to reduce mock duplicate creation in AsyncQueryForwardingServletTest.java

Description
Fixes #xxxx
Background (content of the issue)

Hello Druid Team,
Firstly, I want to extend my gratitude for your insights shared in the review comments of #15980 and #15187.
We respect the concerns about 'reducing only one line in each test' and its potential impact on readability, in light of this, I have prepared a new example that I believe aligns better with both the project's standards and the constructive guidance you've provided.
This new example reduces 5-6 lines per test case, and the total reduction is 33 lines in its file. I believe that this level of code reduction does not compromise test readability or integrity. Could it present a more compelling case for making these changes?
For instance, in test class AsyncQueryForwardingServletTest, the following mock setup:
errorMessage = "test exception message";
mockMapper = Mockito.mock(ObjectMapper.class);
request = Mockito.mock(HttpServletRequest.class);
response = Mockito.mock(HttpServletResponse.class);
outputStream = Mockito.mock(ServletOutputStream.class);
Mockito.when(response.getOutputStream()).thenReturn(outputStream);

is repeated in 6 test cases. To reduce this repetition and streamline the test setup process, I proposed moving these mock object creations to a @Before method. Like following:
java
 @Before
  public void setup() throws Exception
    lifecycle.start();
    ClientHolder holder = injector.getInstance(ClientHolder.class);
    client = holder.getClient();
    errorMessage = "test exception message";
    mockMapper = Mockito.mock(ObjectMapper.class);
    request = Mockito.mock(HttpServletRequest.class);
    response = Mockito.mock(HttpServletResponse.class);
    outputStream = Mockito.mock(ServletOutputStream.class);
    Mockito.when(response.getOutputStream()).thenReturn(outputStream);
  }

You can see the detailed modifications here.
With this modification, each test case is reduced by 5-6 lines. A total of 33 lines have been reduced. And does not reduce readability. could Druid consider this modification?

This PR addresses the issue #xxxx
Description
This PR is aimed at resolving issue #xxxx, which involves duplicate creation when creating objects in the AsyncQueryForwardingServletTest class. By suggestions from #15980 and #15187, This issue achieves a reduction of 5-6 lines per test case and a total of 33 lines across the file.
Solution
To reduce this repetition and streamline the test setup process, I proposed moving the duplicate creation mock object to a @Before method.
Key changed in this PR

Added: @Before method in AsyncQueryForwardingServletTest for centralized mock object creation.
Refactored: Reduced redundancy in mock object creation across 6 test cases in AsyncQueryForwardingServletTest, achieving a reduction of 5-6 lines per test case and a total of 33 lines across the file.

Thank you for considering this contribution. I look forward to your feedback and further discussions.
Best regards,

@kfaraz Thank you very much for your suggestions, your suggested teams are very useful.
I have made the changes to the 6test as you suggested.
The main modification was to create a private method and put the duplicate parts of the 6 tests in this private method.
I used a similar approach to what you suggested.
But the difference is that, considering using it in 6 different test cases, I let this method return ArgumentCaptor<Exception>
Like the following.
 private ArgumentCaptor<Exception> getArgumentCaptor(ServerConfig serverConfig,String errorMessage,boolean haverequest) throws IOException {
    ObjectMapper mockMapper = Mockito.mock(ObjectMapper.class);
    HttpServletResponse response = Mockito.mock(HttpServletResponse.class);
    ServletOutputStream outputStream = Mockito.mock(ServletOutputStream.class);
    Mockito.when(response.getOutputStream()).thenReturn(outputStream);
    final AsyncQueryForwardingServlet servlet = new AsyncQueryForwardingServlet(
            new MapQueryToolChestWarehouse(ImmutableMap.of()),
            mockMapper,
            TestHelper.makeSmileMapper(),
            null,
            null,
            null,
            new NoopServiceEmitter(),
            new NoopRequestLogger(),
            new DefaultGenericQueryMetricsFactory(),
            new AuthenticatorMapper(ImmutableMap.of()),
            new Properties(),
            serverConfig
    );
    Exception testException = new IllegalStateException(errorMessage);

    if(haverequest){
      HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
      Mockito.when(request.getAttribute(AuthConfig.DRUID_AUTHENTICATION_RESULT)).thenReturn(new AuthenticationResult("userA", "basic", "basic", null));
      IOException testException2 = new IOException(errorMessage);
      servlet.handleQueryParseException(request, response, mockMapper, testException2, false);
    }
    else {
      servlet.handleException(response, mockMapper, testException);
    }

    ArgumentCaptor<Exception> captor = ArgumentCaptor.forClass(Exception.class);
    Mockito.verify(mockMapper).writeValue(ArgumentMatchers.eq(outputStream), captor.capture());

    return captor;
  }

This way we only have to focus on whether or not the request was created.
Before calling this method, the test case looks like this.
 @Test
  public void testHandleQueryParseExceptionWithFilterDisabled() throws Exception
  {
    String errorMessage = "test exception message";
    ObjectMapper mockMapper = Mockito.mock(ObjectMapper.class);
    HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
    HttpServletResponse response = Mockito.mock(HttpServletResponse.class);
    ServletOutputStream outputStream = Mockito.mock(ServletOutputStream.class);
    Mockito.when(response.getOutputStream()).thenReturn(outputStream);
    final AsyncQueryForwardingServlet servlet = new AsyncQueryForwardingServlet(
        new MapQueryToolChestWarehouse(ImmutableMap.of()),
        mockMapper,
        TestHelper.makeSmileMapper(),
        null,
        null,
        null,
        new NoopServiceEmitter(),
        new NoopRequestLogger(),
        new DefaultGenericQueryMetricsFactory(),
        new AuthenticatorMapper(ImmutableMap.of()),
        new Properties(),
        new ServerConfig()
    );
    Mockito.when(request.getAttribute(AuthConfig.DRUID_AUTHENTICATION_RESULT)).thenReturn(new AuthenticationResult("userA", "basic", "basic", null));
    IOException testException = new IOException(errorMessage);
    servlet.handleQueryParseException(request, response, mockMapper, testException, false);
    ArgumentCaptor<Exception> captor = ArgumentCaptor.forClass(Exception.class);
    Mockito.verify(mockMapper).writeValue(ArgumentMatchers.eq(outputStream), captor.capture());
    Assert.assertTrue(captor.getValue() instanceof QueryException);
    Assert.assertEquals("Unknown exception", ((QueryException) captor.getValue()).getErrorCode());
    Assert.assertEquals(errorMessage, captor.getValue().getMessage());
    Assert.assertEquals(IOException.class.getName(), ((QueryException) captor.getValue()).getErrorClass());
  }

With modifications, the test looks like this.
  @Test
  public void testHandleQueryParseExceptionWithFilterDisabled() throws Exception
  {
    String errorMessage = "test exception message";
    boolean haveRequest=true;
    ServerConfig serverConfig= new ServerConfig();
    ArgumentCaptor<Exception> captor=getArgumentCaptor(serverConfig,errorMessage,haveRequest);
    Assert.assertTrue(captor.getValue() instanceof QueryException);
    Assert.assertEquals("Unknown exception", ((QueryException) captor.getValue()).getErrorCode());
    Assert.assertEquals(errorMessage, captor.getValue().getMessage());
    Assert.assertEquals(IOException.class.getName(), ((QueryException) captor.getValue()).getErrorClass());
  }

This change appears in six test cases, which can make each test case more concise and easy to read.
You can get the changes here
Again, thank you very much for your suggestions. I would be very grateful if you let me know if this change is worthwhile for submission pr.

This looks good, @gzhao9 ! Could you please create a PR against Apache Druid? It would be easier to review there.

This looks good, @gzhao9 ! Could you please create a PR against Apache Druid? It would be easier to review there.

This looks good, @gzhao9 ! Could you please create a PR against apache/druid? It would be easier to review there.

Ok, thanks a lot, I will create a PR!


arrow_shift = :end works poorly with larger edge width

Here's an example with edge width 4.

Automatically handling this is probably too much to ask. But perhaps we could have an argument that allowed us to fine-tune the positions starting with arrow_shift = :end? I think the correct way to handle this would be to simply move the end point of the arrow by some fixed pixel value, (I don't think it should scale with the radius of the destination node).

Do you mean the problem that the arrow is not really pointy anymore? Unfortunately that cannot be fixed by moving the arrowhead, as the underlying thick edge is drawn all the way to the center of the node position (as can be seen by choosing a transparent node Color, really ugly!). So we'd need to define new endpoints for the "edge lines", which do not coincide with the node position...

If you move the arrows, they're not actually pointy, but it looks like a pointy is just behind the state, which to my eye is aesthetically fine.
But I agree that the best fix would be to move the endpoints for the edge lines. Shouldn't it be pretty straightforward to move the endpoint to wherever the arrow ends up when using arrow_shift = :end? I'd be happy to work on a PR if you're open to it.

While I'm at it, maybe we should set the default endpoint to the edge of circle to allow for transparent nodes?

Yes, internally the :end option actually updates the arrow_shift observable to move the arrow along the line where 0 is the position of the src and 1 the position of the destination node (see update_arrow_shift function). The same observable could be used to calculate the line's endpoint in case of arrow_shift==:end.

While I'm at it, maybe we should set the default endpoint to the edge of circle to allow for transparent nodes?

That would be great! Unfortunatley, curvy lines, potential 3d plots, different node shapes and different canvases (dataspace vs. pixelspace) make it quite complex to calculate the intersection between node "surface" and edge path in general. @hdavid16 put quite some effort into the :end option for which he needed to calculate the same thing. He might have some insights on that!

OK so it sounds like there's interest in a PR. I will first look into whether it's possible to straightforwardly apply the existing code for arrow positioning to also position the end of the line. I'll test curvy and straight lines, but I think I'll restrict myself to 2d (also true for the current :end option I think).

The main code that calculates the edge of the destination node to land the arrowhead on its surface is:
https://github.com/MakieOrg/GraphMakie.jl/blob/804da2dc88c8508d9e17cfbdb4f4d388741649b5/src/recipes.jl#L747-L781
You should be able to calculate the new endpoint for the edge in a similar fashion. However, note that this get's complicated with non-circular nodes: https://github.com/MakieOrg/GraphMakie.jl/issues/115


test(bdd): move the openapi_client package into openapi

test(bdd): move the openapi_client package into openapi
use the openapi client directly so python can determine we're using the
correct type and avoids having to specify discard_unknown_keys=true.

fix(test): check if replica is deleted by checking the spec

fix(bdd): use actual openapi Topology types

bors merge


Fix view holder wrapper inaccessible

Hey there, just a small fix when using the library in a Kotlin project, Android Studio shows a nasty warning that ViewHolderWrapper is inaccessible. Looks like an issue with Java and Kotlin interop.

Hi, Sorry for the late reply... I'm not using ViewHolderWrapper directly, but the issue was that Kotlin was unable to access it.

like this


Refactor Error class definition

Landed in https://github.com/metarhia/impress/commit/c2368395d2a16bb88a5ca5b6366168def4c7f3a0


fix: build error

fix Build Error ( https://github.com/spearhead-ea/island-loggers/pull/6 )
node_modules/island-loggers/dist/loggers.d.ts(1,23): error TS2688: Cannot find type definition file for 'winston'.

[09:02:53] 'build' errored after 7.17 s
[09:02:53] Error: Command failed: tsc -p /drone/src/git.sphd.io/island/tencent-island

    at ChildProcess.exithandler (child_process.js:275:12)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npm ERR! code ELIFECYCLE

Coverage remained the same at 91.27% when pulling 3b97268366abb9638bba16b093b5372d0ec0260d on fix_buildError into 8f55fbe30e9d440189ea36a448dccf7fefe8abc3 on master.


C#: Fix detection of outdated release Godot API assemblies

Should fix the issue @akien-mga reported to me, and it may also fix some of the other release template issues reported the last month.

Thanks!

Should be changed like this I guess?
diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp
index 0a34404154..25f8141dc9 100644
--- a/modules/mono/mono_gd/gd_mono.cpp
+++ b/modules/mono/mono_gd/gd_mono.cpp
@@ -756,7 +756,7 @@ bool GDMono::_load_core_api_assembly(LoadedApiAssembly &r_loaded_api_assembly, c
        bool success = FileAccess::exists(assembly_path) &&
                                   load_assembly_from(CORE_API_ASSEMBLY_NAME, assembly_path, &r_loaded_api_assembly.assembly, p_refonly);
 #else
-       bool success = load_assembly(CORE_API_ASSEMBLY_NAME, &core_api_assembly, p_refonly);
+       bool success = load_assembly(CORE_API_ASSEMBLY_NAME, &r_loaded_api_assembly.assembly, p_refonly);
 #endif

        if (success) {

tools=no build fixed with 3cc94b2.


Discord link in README.md invalid

First of all I'd like to say that this is a really cool and interesting to watch open-source project. Thanks for sharing everything. I tried to join the Discord server but unfortunately the link in the README is invalid. I think you generated a temporarry invite and the time expired. Could you please make a pernament link to the Discord  @Machine-Hum ?

Hey sorry - The link should be updated on the readme! I'll post it below as well.
https://discord.gg/EtZT7mjNuM


Make msgpack, orjson & pyyaml optional

Description
As of 1.1.1 pyoak mandates msgpack, orjson & pyyaml and uses them for to/from methods of. the same name. However, this is excessive. Instead:

All of them should become an extras, with all extra that mimics the current behavior
node module should check for existence of said dependencies and conditionally create to/from_ methods
if orjson is not available, pyoak should fallback to python sodlib json

this may pose a slight challenge in terms of unifying the API and the output (indentation specifically)
the to/from_jsonb method should not exist without orjson

this is already done in v1.2.0, need to port it on top of v2

also done in the upcoming v3, closing


caban: show and edit all messages present in DBC files

Show and edit all messages in the DBC file, even if they are not in the data stream. (related discuss: https://github.com/commaai/openpilot/pull/28093#issuecomment-1534318700)

If the message does not have any data, the relevant column will be displayed as N/A:

Edit a DBC message without any data:

The following improvements have also been added:

re-fetchData only when the message ids changes. avoid calling expensive sort_messages for each update. (related discuss: https://github.com/commaai/openpilot/pull/28034#issuecomment-1534306748)
Disable the "reset filters" button when there is no filter.
add shortcut key to "reset filters" and "multiple line bytes"

Does filtering on data/count/freq still work after this? You need to re-evaluate the filters every time new messages come in.

These are a couple of issues I hadn't considered -_-b. it would consume >9% cpu on my laptop If recalculated and sorted every time. may have to change the way of optimization.

Now it can filter data/count/freq properly


'dmnorm_chol' not recognized as nimble function

When trying to use the nimble function 'dmnorm_chol' in building a model, I continue to get the following message and error:

defining model...
Registering the following user-provided distributions: dmnorm_chol
Error in FUN(X[[i]], ...) :
checkDistributionFunctions: density function for dmnorm_chol is not available.  It must be a nimbleFunction (with no setup code).

Code that produced the problem:
library(nimble)
library(coda)
library(MASS)

## simulate dataset
p <- 10    # number of predictors
n <- 100   # number of observations
X <- matrix(rnorm(p*n), nrow = n, ncol = p) # design matrix
true_betas <- seq(0.1, 1, length.out = p) # "true" parameters
true_sigma <- diag(rep(1,n)) # "true" covariance matrix
y <- mvrnorm(1, X %*% true_betas, true_sigma) # observations

## build model
# prior and likelihood distributions
mvn_code <- nimbleCode({
  # priors on beta and scalar for covariance matrix
  for(i in 1:p) beta[i] ~ dnorm(0, sd=100)
  sigma_scalar ~ dinvgamma(shape = 0.01, scale = 0.1)

  # covariance matrix
  sigma <- chol(sigma_scalar * diag(rep(1,n)))

  # likelihood
  for(j in 1:n) {
    y[j] ~ dmnorm_chol(inprod(beta[1:p], x[j, 1:p]), sigma, prec_param = FALSE)
  }
})

X <- sweep(X, 2, colMeans(X))
constants <- list(n = n, p = p, x = X)
data <- list(y = y)
inits <- list(beta = rep(0, p), sigma_scalar = 0.5)
mvn_model <- nimbleModel(mvn_code, constants = constants, data = data, inits = inits)

Upon execution of the last line ("mvn_model"), I receive the error message included above. I don't believe I should be receiving this error when using a nimble function (which 'dmnorm_chol' is).
OS, R version, and nimble package version:

Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
R version 4.0.1
nimble version 0.9.1

Any help/insight you could provide would be much appreciated -- thanks in advance!

There's a subtle distinction here between using the Cholesky version of dmnorm in a model versus in a nimbleFunction.
If you want to use the Cholesky version of dmnorm in a model, you simply specify:
y[1:n] ~ dmnorm(mu[1:n], cholesky = U[1:n,1:n], prec_param = 0)

in your model code.
You can see more details on different parameterizations of dmnorm that are available in the manual in Section <IP_ADDRESS>.
Use of dmnorm_chol is only if used directly in a nimbleFunction.

Thank you for the quick reply! I appreciate you explaining that distinction and how to go about implementing this in a model.


How do you build inference engine dll in such a way all its dependencies are in one folder? In other words, I won't need to run setupvars.bat everytime I want to use the dll...

As per the title, I would like to build a dll that don't need to run the setupvarsbat before the dll can be used. Is this possible??

Thank you very much!! I am sorry for posting such a noob question! Now I can use the dll without setupvars.bat by setting them manually in the env variables!


Set syslog for exit commands on log-level=debug

We have a flag, --syslog, for telling logrus to log to syslog as well as to the terminal. Previously, this flag also set the exit command for containers to use --syslog (otherwise all output from exit commands is lost). I attempted to replicate this with Podman v2.0, but quickly ran into circular import hell (the flag is defined in cmd/podman, I needed it in cmd/podman/containers, cmd/podman imports cmd/podman/containers already, etc). Instead, let's just set the syslog flag automatically on --log-level=debug so we log exit commands automatically when debug-level logs are requested. This is consistent with Conmon and seems to make sense.

LGTM

hold pending tests
/hold
/lgtm

/lgtm


I can not install the beautify plugin!!.

npm WARN deprecated<EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed!
npm WARN deprecated<EMAIL_ADDRESS>Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
npm ERR! Darwin 16.7.0
npm ERR! argv "/private/var/folders/5q/cpnv31tx7vdg6gqw4g5bsdhh0000gn/T/AppTranslocation/19B49AF1-137B-4CF0-9895-255D89BF3BD5/d/Atom.app/Contents/Resources/app/apm/bin/node" "/private/var/folders/5q/cpnv31tx7vdg6gqw4g5bsdhh0000gn/T/AppTranslocation/19B49AF1-137B-4CF0-9895-255D89BF3BD5/d/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/luismartinez/.atom/.apm/.apmrc" "--userconfig" "/Users/luismartinez/.atom/.apmrc" "install" "/private/var/folders/5q/cpnv31tx7vdg6gqw4g5bsdhh0000gn/T/d-11881-13844-8c6lsj.3vxuyds4i/package.tgz" "--runtime=electron" "--target=2.0.5" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code EREADFILE
npm ERR! Error extracting /Users/luismartinez/.atom/.apm/marko/4.13.3/package.tgz archive: ENOENT: no such file or directory, open '/Users/luismartinez/.atom/.apm/marko/4.13.3/package.tgz'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/5q/cpnv31tx7vdg6gqw4g5bsdhh0000gn/T/apm-install-dir-11881-13844-750qy6.jaen17zaor/npm-debug.log

Thanks for reaching out!
Because we treat our issues list as the Atom team's backlog, questions like this would be better for the official message board (https://discuss.atom.io/).  The package repository's issues list could be helpful too - in particular, it seems like the same error was reported here:
https://github.com/Glavin001/atom-beautify/issues/2219

We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:


How to use hellocharts as an external offline lib or jar?

I have alot of trouble with using this library as an offline external lib. Whatever I try to do in Android Studio everything fails. Is it possible to import it is a jar and add it as a library in Android Studio?

Hi, I believe it is possible, I've just tried that.

download release jar from releases section
copy it to the "libs" folder inside your project(yourProject->app->libs), it should be created by AndroidStudio
make sure you have "libs" folder added to your dependencies in build.gradle:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
}

In AndroidStudio switch to project files view, right click on hellocharts.jar in libs folder and select "synchronize hellocharts...jar"(you may also try to synchronize all gradle projects)

After above steps you should be able to use classes from the library in your own code.

Thanks man! What I did before was cloning the project online and via the zip. download.
I completely missed this releases section!

But there is still one problem! I cant edit in the classes. I thought that by adding it as a external lib, I should be able to do that?

Ok, so you can clone/download repository and include hellocharts-library module into your project in AndroidStudio(by adding hellocharts-library to settings.gradle). Or just download/clone repository, make changes in the library and generate jar using gradle task: "gradle clean jarRelease".

Thanks! It finally worked after many hours of battle! I had to tweak a little bit in the library's gradle file because it gave some errors about SDK VERSION, minSDK etc. but its done now!


[19.03 backport] Dockerfile: update to Go 1.13.8, Debian "Buster"

Opening as draft because of the above, and because current 19.03 engine is still on 1.12, so staging this for the "next" patch release
Backports of:

https://github.com/docker/libnetwork/pull/2512 Dockerfile: switch to debian "buster", and regenerate protobuf
https://github.com/docker/libnetwork/pull/2514 Dockerfile: update to Go 1.13.8

@arkodg @selansen @euanh all green now; PTAL

whoops; wrong one; let's merge the Go 1.12.7 one first

@arkodg @euanh @selansen this one ok to merge?


feat(pointcloud_preprocessor): enable to count empty pointclouds topic in concatenate pointclouds nodelet

Description

Problem

concatenate process exit with completing topics subscription or timeout
topic with empty pointclouds are returned and not counted as subscribed, so that the concatenate node will wait until timeout. This will cause a slight delay.

PR solutions

enable concatenate node to count empty pointclouds as well
Need some escape for the latter concatenation process

Related links

Tests performed

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@YoshiRi
I confirmed the delay was improved when one of input topics of concatenate node is empty.
The following logs show the frequency of output topic ( /sensing/lidar/concatenated/pointcloud )

Original code (

$ ros2 topic hz /sensing/lidar/concatenated/pointcloud -w 10
average rate: 7.855
	min: 0.096s max: 0.179s std dev: 0.02487s window: 9
average rate: 8.227
	min: 0.096s max: 0.163s std dev: 0.02371s window: 10
average rate: 8.633
	min: 0.088s max: 0.165s std dev: 0.02208s window: 10

With this PR

$ ros2 topic hz /sensing/lidar/concatenated/pointcloud -w 10
average rate: 9.987
	min: 0.083s max: 0.114s std dev: 0.00757s window: 10
average rate: 10.039
	min: 0.049s max: 0.151s std dev: 0.02364s window: 10
average rate: 9.926
	min: 0.091s max: 0.112s std dev: 0.00576s window: 10


The executable spec supporting both Plutus and no-Plutus ledger

I guess we agreed this is a good idea?

if we want to release shelley without plutus, then yes, we need to keep them separate.

I meant the executable spec which will have Plutus will have a parameter which can be toggled to allow it to operate the current Shelley-spec way, without Plutus.

I am hesitant to do that until Shelley is released.

I agree with Jared on this.
Would it be possible to have a parallel Plutus branch that includes Plutus functionality and routinely merges new functionality from master until after Shelley release when Plutus itself can be merged into master? I'd be happy to assist in any git merge conflict resolution.

I would be good with that. and thank you for the offer, I will quite likely need the help.

Parametrization of ledger types and rules over Era is now completed


fix clippy::wildcard_import firing on #[pyclass]

Closes #4701

I guess this does not need a changelog because it worked on 0.22?

Also not sure if we have a way to test this. I could not make it error on ui or hygiene tests.


Modify Sample Code Based on Variables

What would you like?
The current version generates "static" code for each language, based only on the url and method. Unfortunately, the url is simply: const url = props.baseUrl + props.path. This has the issue that any path parameters are left as-is in the code.
It would be great if the sample code could be updated to include the variables in the "try it" box. This way the code sample would be "complete". I think this would be done in much the same was as the OACodeBlock currently computes the URL for curl
Why is this needed?
If you copy-and-paste the code sample as-is, you will end up with an invalid URL if there are path parameters.
Also, it would be nice to mix-and-match such that you can remove the try it portion of the playground, but keep the sample code. This way people can "build" a request in their language of choice based on the variables form.
How could it be implemented?
I think you would need to extract (or just duplicate?) the code used to compute the curl information:
const curl = computed(() => {
  const headers = request.value.headers
  if (!headers?.['Content-Type']) {
    headers['Content-Type'] = 'application/json'
  }

  return fetchToCurl({
    method: props.method.toUpperCase(),
    url: request.value.url,
    headers,
    body: request.value.body ? formatJson(request.value.body) : null,
  })
})

Then pass this as a parameter to generateCodeSamples so that it can generate each code sample appropriately.
Other information
It would also be awesome to select which languages you want to support, and possibly even some way to provide the template for each language. I realize this is above-and-beyond, but something to think about if you're changing this.

Hi @wspeirs I'm working on it in #116 , can you please validate it via pkg-pr-new release?
It nows generates correct code for JavaScript/PHP/Python, and allows to customize lang list and the generator function, as mentioned in: https://vitepress-openapi-git-feature-cod-7dde87-enzo-notarios-projects.vercel.app/customizations/code-samples.html
Any feedback/suggestions are welcome!

For a few (Bruno & cURL at least), it seems to be duplicating the param

Ups, I forgot to remove a duplicated process from other component. It's now centralized and working fine so far:

Can you please re-validate from pkg-pr-new release?
Thanks for this!

It's now released in v0.0.3-alpha.48.
Thanks for reporting, any feedback is welcome!


The render effect（transparent aspect） is inconsistent on iOS and Android

Describe the bug
When iOS and Android are rendering the same 3D car model（the rendering parameters are also set the same as each other, through the filament framework）, all the glass o on iOS is entirely opaque, but the glass on Android is transparent. The effect is as follows,could you please tell me how to make my glass on ios transparent？ Thanks.
The effect is as follows,the first image is iOS,the second image is Android.

Reproduction the problem,  parameters as follows
`
RenderQuality renderQual = _view->getRenderQuality();
renderQual.hdrColorBuffer = QualityLevel::MEDIUM;
_view->setRenderQuality(renderQual);
// dynamic resolution often helps a lot
DynamicResolutionOptions dynamicResolutionOp = _view->getDynamicResolutionOptions();
dynamicResolutionOp.enabled = false;
dynamicResolutionOp.quality = QualityLevel::MEDIUM;
_view->setDynamicResolutionOptions(dynamicResolutionOp);

// MSAA is needed with dynamic resolution MEDIUM
MultiSampleAntiAliasingOptions multiSampleAntiAliasingOp = _view->getMultiSampleAntiAliasingOptions();
multiSampleAntiAliasingOp.enabled = true;
multiSampleAntiAliasingOp.sampleCount = 4;
_view->setMultiSampleAntiAliasingOptions(multiSampleAntiAliasingOp);

// FXAA is pretty cheap and helps a lot
_view->setAntiAliasing(AntiAliasing::FXAA);

 TemporalAntiAliasingOptions temporalAntiAliasingOp = _view->getTemporalAntiAliasingOptions();
 temporalAntiAliasingOp.enabled = false;
 _view->setTemporalAntiAliasingOptions(temporalAntiAliasingOp);

// ambient occlusion is the cheapest effect that adds a lot of quality
AmbientOcclusionOptions ambientOcclusionOp = _view->getAmbientOcclusionOptions();
ambientOcclusionOp.enabled = false;
_view->setAmbientOcclusionOptions(ambientOcclusionOp);

// bloom is pretty expensive but adds a fair amount of realism
BloomOptions bloomOp = _view->getBloomOptions();
bloomOp.enabled = true;
_view->setBloomOptions(bloomOp);

GuardBandOptions guardBandOp = _view->getGuardBandOptions();
guardBandOp.enabled = false;
_view->setGuardBandOptions(guardBandOp);

_view->setBlendMode(BlendMode::OPAQUE);`

Expected behavior
On iOS, the glass is translucent also, the same as on Android, all the time
Device and OS
iPhone12 iOS14, Xiaomi 11 Android 12

Is your model a glTF? Are you able to upload it here?

Thank you very much for your attention, My model is  glTF, but sorry, because the model file is confidential, I cannot upload it.
Lucky this problem has been solved in a slightly more complicated way,But I still don't know, what was the cause of the original bug, what do you speculate direction?
Here's how to do it.
1、use glass.mat to generate a new glass.inc
2、loading glass.inc
static constexpr uint8_t BAKED_COLOR_PACKAGE[] = {
#include "glass.inc"
};

3、generate a new glassInstance through glass.inc, Replacement origin glass material
filament::Material* mMaterial = Material::Builder()
        .package((void*) BAKED_COLOR_PACKAGE, sizeof(BAKED_COLOR_PACKAGE))
        .build(*_engine);
MaterialInstance* glassInstance = mMaterial->createInstance();
glassInstance->setParameter("baseColor", RgbaType::sRGB, {0.25f,0.25f,0.25f,0.7f});
// Output all nodes, Replacement glass material
RenderableManager& rcm = _engine->getRenderableManager();
const utils::Entity* entity1 = _asset->getEntities();
    for (int i = 0;i < _asset->getEntityCount(); i++) {
        Entity entity = *(entity1 + i);
        MaterialInstance* matIns = rcm.getMaterialInstanceAt(rcm.getInstance(entity), 0);
        if (matIns != NULL) {
            const char* name = matIns->getName();
            if (strcmp(name,"Material.003") == 0) {
                // instance is the self-created material and entity is the found glass material
                rcm.setMaterialInstanceAt(rcm.getInstance(entity), 0, glassInstance);
            }
        }
    }

Thank you very much for your attention, My model is glTF, but sorry, because the model file is confidential, I cannot upload it. Lucky this problem has been solved in a slightly more complicated way,But I still don't know, what was the cause of the original bug, what do you speculate direction? Here's how to do it. 1、use glass.mat to generate a new glass.inc 2、loading glass.inc
static constexpr uint8_t BAKED_COLOR_PACKAGE[] = {
#include "glass.inc"
};

3、generate a new glassInstance through glass.inc, Replacement origin glass material
filament::Material* mMaterial = Material::Builder()
        .package((void*) BAKED_COLOR_PACKAGE, sizeof(BAKED_COLOR_PACKAGE))
        .build(*_engine);
MaterialInstance* glassInstance = mMaterial->createInstance();
glassInstance->setParameter("baseColor", RgbaType::sRGB, {0.25f,0.25f,0.25f,0.7f});
// Output all nodes, Replacement glass material
RenderableManager& rcm = _engine->getRenderableManager();
const utils::Entity* entity1 = _asset->getEntities();
    for (int i = 0;i < _asset->getEntityCount(); i++) {
        Entity entity = *(entity1 + i);
        MaterialInstance* matIns = rcm.getMaterialInstanceAt(rcm.getInstance(entity), 0);
        if (matIns != NULL) {
            const char* name = matIns->getName();
            if (strcmp(name,"Material.003") == 0) {
                // instance is the self-created material and entity is the found glass material
                rcm.setMaterialInstanceAt(rcm.getInstance(entity), 0, glassInstance);
            }
        }
    }

Yes, i met same problem. Is there any progress about this inconsistent?

Have you try the opengl backend on ios device?


Change JFXCheckBox size

I can't find out how to do it  , here is an answer for simple CheckBox ( https://stackoverflow.com/questions/39078867/javafx-how-to-resize-a-checkbox )
For a simple JavaFX Check-box this css works great  but for JFXCheckBox not at all :
.medium-check-box > .box {
    -fx-padding: 2em 2em 3em 3em ;
}
.medium-check-box > .box > .mark {
    -fx-padding: 5em 5em 6em 6em;
}

Hello,
you can change it using the following css
.jfx-check-box .box{
    -fx-pref-height: 50;
    -fx-pref-width: 50;
}

.jfx-check-box .mark{
    -fx-max-width: 25;
    -fx-max-height: 20;
}

Regards,

I will try it thank youuuuuu

One small edit, i don't want all the JfxCheckboxes to change size just the one i apply the specific style for wxample above I added  'medium-check-box' :)

Yeah sure it's just an example for changing the size.
Regards,


MAP-1900

Add class especially for pre dumps
Make response body textarea 10 rows by default

closes #7


Conda prompt speedup and configuration

This PR makes the (Ana)conda prompt much faster and fully configurable. It now parses the CONDA_ENV_PATH variable which ends up much faster:
# Old
$ time (where conda | ack -o '(?<=envs/)[\w-]+(?=/bin)')
0.04s user 0.01s system 94% cpu 0.051 total

# New
$ time (if ! [ -z ${CONDA_ENV_PATH+x} ]; then basename $CONDA_ENV_PATH; fi)
0.00s user 0.00s system 85% cpu 0.002 total

This might not seem like a lot but a lot of active segments already make for a sluggish feeling prompt so every bit helps.
It now also has the following config values:

Variable
Default Value
Description

POWERLEVEL9K_ANACONDA_BG_COLOR
"green"
Background color of the segment.

POWERLEVEL9K_ANACONDA_FG_COLOR
"black"
Foreground color of the segment.

POWERLEVEL9K_ANACONDA_PREFIX
""
Prefix before the environment name.

POWERLEVEL9K_ANACONDA_LEFT_DELIMITER
"("
The left delimiter just before the environment name.

POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER
")"
The right delimiter just after the environment name.

Thus one can go from this  to for example this  and it is always nice to have options.

Cool thing! Thanks.
Just a few thoughts:

Our development branch is next. Could you rebase your PR onto that branch (or just submit a new PR from that branch).

You don't need explicit variables for foreground/background color, as the base left/right_prompt_segment got you already covered there. Every segment that uses that function has the ability to get it's colors overridden by defining a variable named POWERLEVEL9K_<segment_name>_<state>_BACKGROUND. "state" only if the segment has special states, of course.

Setting default values (as you did for the delimiter) could be done by using our set_default function. Saves a bit of typing..

You set the icon in POWERLEVEL9K_ANACONDA_PREFIX, right? I would use that as "visual identifier", which is the last parameter of $1_prompt_segment. The parameter should be a key of the icons array (defined in functions/icons.zsh; PYTHON_ICON, IMHO). The nice thing about that is, that the icon switches sides, if you display the segment on the left or the right. And users are still able to not display that icon by setting POWERLEVEL9K_PYTHON_ICON=''.

@krischer - Wow! Great work! This is going to be a really great contribution.
@dritter's feedback is good. Let us know if you need any help incorporating his suggestions. Once the PR is ready, I'm excited to get this merged.

Ah nice 😄  I totally missed the "Stylizing Your Prompt" section in the wiki. I'll act on all your suggestions - it might be until the weekend until I find the time though.
The example snake icon is an emoticon which not all terminals will be able to display. I'll look into another default choice.

Hey @krischer! I just wanted to check-in on this! I would really like to get this merged =)

Oops...I totally forgot about that - I've been happily using it after all ;-) You'll have it in a couple of minutes!


Discount factor in main.py might be misleading

Right now it indicates whether the env is done due to a timelimit, while in the update we use 0.99.

Yes, I think it's worth renaming it into mask.

Fixed in https://github.com/ikostrikov/jax-sac/commit/4789c28e14d870132bd111eee44e4270d369d6e1


shortcut to hide editor's tooltip hint

I've typed something, I've done reading the tooltip hint, and now I want some method to hide it, without using my mouse.

what do you mean by tooltip? Does Escape work for you?

I mean this:

And no, escape key doesn't work for me, maybe cause I'm using vim-mode plugin :-(

@glacjay You can probably configure the Vim extension or keybindings to make it work then.

OK, found that shift-esc can do this too.


zstack add host not have networkmanager and failed

when I use ansible-playbook add host, the result is
"msg": "cannot detect command to enable service NetworkManager, typo or init system potentially unknown", "failed": true
I think this is a bug. when system does't install NetworkManager, add host need return success. # #

Fixed. Will include in 1.0.3 release.