Can't install 'oauth2' dependency

When I try to do mix deps.get the following error appears:
** (Mix) Hex dependency resolution failed, relax the version requirements or unlock dependencies

I am getting the same error. I've tried using {:oauth2, "~> 0.0.3"} and  {:oauth2, github: "scrogson/oauth2"}

same error here.


Add citation

This should be picked up automatically by zenodo, which should fix the list of authors.
Feel free to directly push any more details, both generally and your specific author details e.g. orcids.

ignore the comment is just randon copy past from my clipboard


torch.nn.functional.softmax()

At least have a proper title and description.

At least have a proper title and description.

This issue is tracked by main issue #2628, is that ok?


Rack attack

@Pralish please also investigate why the server is unhealthy after terminating a request from rack-timeout.
The request times out:
A Rack::Timeout::RequestTimeoutException occurred in content#show:

  Request ran for longer than 15000ms
  config/initializers/rack_timeout.rb:21:in `call'

and the puma Server hangs, and is unable to serve subsequent requests

🧪 test plan

set ERROR_PER_MINUTE=1 and REQUEST_PER_MINUTE=2 ⌛
user should not be able to raise more than 1 error a minute, or make more than 2 requests per minute ⌛


Fix typos and drop trailing space on several files.

Not sure what editor you use. But trailing spaces have no life IMHO.

Thanks for fixing my dirty typing ;-) I use QT Creator.


Does RCCpp work with DLLs?

I was wondering if this only works with .exe applications or if it also works when the RCCppMainloop.cpp is in a dll

RCC++ can work with the runtime compiled code in a DLL, but I don't have any examples of this. Note that the main project website for RCC++ is here: https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus

thanks :)


BSC gas price estimation doesn't work 🔥

Description
https://bscgas.info/gas API requests are failing with a 401 because an API key is required.
It falls back to 1 so you can still make a transaction.
Environment

Browser: Chrome
Wallet: MetaMask

Screenshots

can be closed


CON-2656 ProductGrid and ProductList were refactored to allow an opt-…

…out of Infinite Loading
Corrected some proptypes and styling

Coverage decreased (-0.04%) to 21.269% when pulling 01b492e28c16d95c41782769eb3e90a0d9d3ee5f on CON-2656-Product-Widgets-are-not-shown into c7e853f4043fed198d5bb1331711b27ea5ba91e3 on master.

Coverage decreased (-0.04%) to 21.269% when pulling 425f1d554848e6e25003238dab674aac1d33ccbe on CON-2656-Product-Widgets-are-not-shown into c7e853f4043fed198d5bb1331711b27ea5ba91e3 on master.

Coverage decreased (-0.04%) to 21.269% when pulling 06d75daf6cca75333ef196b7359cb2a671289cbd on CON-2656-Product-Widgets-are-not-shown into c7e853f4043fed198d5bb1331711b27ea5ba91e3 on master.


[Search] Fix sorting not working on Search

Details
This PR implements 2 separate fixes, both sorting related

regression: sorting was completely broken because we missed actually calling the sorting function in this PR: https://github.com/Expensify/App/pull/46406/files#diff-45b3b78b48b630c32789e00793e0c947cc46c853d057e945f0ecdd0287ebb750
sorting is working in api only for type: expense status: all so I'm disabling the UI for any other status (Note: the app currently only supports Expenses as type so no need for special logic for it)

There is no UI changes here, only logic related to how to sort, so I provided screens for web only.
Fixed Issues

$ https://github.com/Expensify/App/issues/46720
PROPOSAL:
Tests

go to Search
verify that sorting by columns works correctly for Expenses, status: ALL
verify that it's not possible to sort for any other status

Offline tests

QA Steps

go to Search
verify that sorting by columns works correctly for Expenses, status: ALL
verify that it's not possible to sort for any other status

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari
status !== ALL -> no sorting

status is ALL -> sorting works

status is ALL -> no sorting works

MacOS: Desktop

@ikevin127 will review this one

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/luacmartins in version: 9.0.18-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 9.0.18-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Question

Hello!
I saw you just Startern this api.
May I ask on how I can open a trade/position with your api on iqoption ?
Kind regards,
Gelsas

Just saw that it is what you want to implement next, may I ask you when that update will come?
Thanks!
Kind regards,
Gelsas

I haven't implemented the part to open the trade, but that will be the next thing I am going to add when I get some free time, maybe in a day or two most probably!

Thank you for the quick answer. I will wait patiently for your update!
Are we possible then to check the status of the trade aswell? I mean to check if won or lost ?
Kind regards,
Gelsas

Yes you can check the status, when you open a position it's status will be stored in IQOption.positions, when the position is closed it is updated as well and you can check if it's a win or lose,

Ah okay, what will IQoption.position return when there would be more then one position open?
Thanks for the answers! Really appreciate it!
Kind regards,
Gelsas

It will be a dictionary with position id's as keys and it's details as values, mostly for now those will be raw values I receive from server example mostly like this
{3476462611 : [{'amount':<PHONE_NUMBER>, 'id':<PHONE_NUMBER>, 'refund': 0, 'currency': 'USD', 'currency_char': '$', 'active_id': 76, 'active': 'EURUSD-OTC', 'value': 1.178595, 'exp_value': 1.178595, 'dir': 'call', 'created':<PHONE_NUMBER>, 'expired':<PHONE_NUMBER>, 'exp_time':<PHONE_NUMBER>, 'type_name': 'turbo', 'type': 'front.TU', 'profit': 100, 'profit_amount': 1000, 'win_amount': 1830, 'loose_amount': 0, 'sum': 1000, 'win': 'equal', 'now':<PHONE_NUMBER>, 'user_id': 25071253, 'game_state': 0, 'profit_income': 183, 'profit_return': 0, 'option_type_id': 3, 'site_id': 1, 'is_demo': False, 'user_balance_id': 43426144, 'client_platform_id': 9, 're_track': ''}]}

Ah okay i understand! Thank you.

I was busy and couldn't get free time, I implemented the method to place binary positions, for now, I will implement the digital and forex positions in a few days.

Is there a connection to Metatrader 4 planned? (https://www.metatrader4.com/en) I could really need such a bridge.

I think this project is going to concentrate on IQOption, for now at least, so not in the near future

Could you give me a json msg for digital and buyback?

Thanks for quick reply, I would like a strucure message to open_position(put/call) of digital


[Compatibility] Smith Hammers for BetterNether

Given that you are the developer of both BetterNether and BetterEnd, I would love to see this mod's smith hammers be made available for BetterNether's tool material types: Cincinnasite, Cincinnasite-diamond and Nether ruby.~

As this should be done from BetterNether side I put this suggestion here


Feature: Realtime Collaboration

It's a huge task to build, but it would be amazing if you could have multiple users edit a single Godot project at once as opposed to using Git.
It would be similar to Google Docs, where any changes made in a project would update instantly across all connected users.
To avoid having to invest in servers for this, the host user could port forward their IP and share it with other users to connect and collaborate.
This can be seen in an engine called Superpowers HTML5.

Godot is designed with the total opposite mindset. It lets you split your
game in scenes, so each part of the team does what they do best, and each
owns their owns scenes (game designer, programmer, artist, etc). This makes
real time collaboration pointless by design.
On Thu, Nov 17, 2016 at 2:59 PM, RobotUnderscore<EMAIL_ADDRESS>wrote:

It's a huge task to build, but it would be amazing if you could have
multiple users edit a single Godot project at once as opposed to using Git.
It would be similar to Google Docs, where any changes made in a project
would update instantly across all connected users.
To avoid having to invest in servers for this, the host user could port
forward their IP and share it with other users to connect and collaborate.
This can be seen in an engine called Superpowers HTML5.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/7139, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2xY2tLyKcbTQ5AE6Mtgi1-_5sV1kks5q_JYCgaJpZM4K1nfC
.

Alright, that clears things up.

Alright, that clears things up.

I guess, but it would still be nice to have that functionality. It would make it more accesible for all people

@iniyanijoseph Please don't bump issues without contributing significant new information. Use the :+1: reaction button on the first post instead.


added catalog items

Signed-off-by: Aditya Chatterjee<EMAIL_ADDRESS>Description
Added the catalog items here. Didn't know the type so I added both of them to "deployment" for now and also didn't fill in the caveats.
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@warunicorn19 will you see that these are "public" designs entered into Meshery Cloud (by importing into Meshery and flagging as public)?

// @acald-creator

@acald-creator will you carry this forward in @warunicorn19's absence? He has stepped away from all code contributions here.

@leecalcote okay i can

@acald-creator let me know if you're not able to add commits to this PR.

I tried but can't make changes.

I tried but can't make changes.

Permissions updated.

What do we want to do here?

Considering where the catalog is today, what do we want to do here?

@warunicorn19?


ModuleNotFoundError: No module named 'atoti.cube'

Steps to reproduce
I just re-installed atoti on my env and I get the below error upon import of the atoti library:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In [1], line 5
      1 import os
      3 # from atoti_plus import ADVANCED_APP_EXTENSION
----> 5 import atoti as tt
File ~\AppData\Roaming\Python\Python39\site-packages\atoti_init_.py:26
10 typecheck(BaseSession)
12 from atoti_query import (
13     Auth as Auth,
14     BasicAuthentication as BasicAuthentication,
(...)
23     TokenAuthentication as TokenAuthentication,
24 )
---> 26 from . import (  # pylint: disable=redefined-builtin
27     agg as agg,
28     array as array,
29     experimental as experimental,
30     math as math,
31     scope as scope,
32     string as string,
33     type as type,
34 )
35 from ._eula import (
36     EULA as license,
37     hide_new_eula_message as hide_new_eula_message,
38     hide_new_license_agreement_message as hide_new_license_agreement_message,
39     print_eula_message,
40 )
41 from ._measure_metadata import *
File ~\AppData\Roaming\Python\Python39\site-packages\atoti\experimental_init_.py:6
1 """
2 Warning:
3     Experimental features are subject to breaking changes (even removals) in minor and/or patch releases.
4 """
----> 6 from . import (
7     _distributed as _distributed,
8     agg as agg,
9     finance as finance,
10     stats as stats,
11 )
File ~\AppData\Roaming\Python\Python39\site-packages\atoti\experimental_distributed_init_.py:9
1 """
2 atoti supports distributed clusters with several data cubes and one query cube.
3
4 This is not the same as a query session: in a query session, the query cube connects to a remote data cube and query its content, while in a distributed setup, multiple data cubes can join a distributed cluster where a distributed cube can be queried to retrieve the union of their data.
5 """
7 from future import annotations
----> 9 from ...cube import Cube
10 from .cube import *
11 from .session import *
ModuleNotFoundError: No module named 'atoti.cube'

Environment
atoti                     0.7.2
atoti-aws                 0.7.2
atoti-azure               0.7.2
atoti-core                0.7.2
atoti-gcp                 0.7.2
atoti-jupyterlab          0.7.2
atoti-kafka               0.7.2
atoti-plus                0.7.2
atoti-query               0.7.2
atoti-sql                 0.7.2

Hi Hui Fang, I don't think there is anything wrong with 0.7.2 since we have some telemetry events coming from it and have received no complaints apart from this one.

How did you install it Conda/pip/Poetry, which version of this tool?
Can you try a new fresh install, clearing the cache of your package manager first?

Hi @tibdex,
I had 0.7.2 running in conda perfectly. Then I tried to install the DirectQuery plugin without credential.
It installed an older version of DirectQuery, which results in my atoti getting rolled back.
So I uninstalled and re-installed atoti and directQuery with credential after, encountering this exception.
I just deleted my conda env and re-created a new env. It's working now.


Adding Cohere.ai text processor

#53 PR merged

https://github.com/Knowly-ai/langtorch/issues/115


Outdated QDK extension automatically installed on VS code and cannot automatically update

Transferring issue submitted here:
https://github.com/microsoft/qsharp-compiler/issues/427

VSCode Version: macOS 10.13.6
OS Version: Visual Studio Code 1.25.0

Unable to update the QDK on macOS. Tried uninstalling and reinstalling but not resolved.
To Reproduce

Install an earlier version of the QDK.  0.2.118063001 was installed (yes, from June 2018).

Try to install a newer version.

Uninstall/reinstall procedures don't give you a newer version.

Automatic updates don't pull in anything new.

Expected behavior
Automatic update should pull the QDK extension. I should also be able to upgrade.

Does this issue occur when all extensions are disabled?: Yes/No

QDK isn't bundled with VS Code, also you're on an ancient version, maybe that's causing your issue?

@tpetchel Could it be your VS Code was old?


Daemonize Antennas

As Antennas is only required during the initial Plex DVR setup, what benefit would bring to run Antennas as a daemon?


Roadmaps: persist col widths to localstorage

fix: roadmap generator transposing rows and columns

#4039

This pull request introduces 1 alert when merging a4e0b0a81721e3f765884d6d5496026d395cf8b2 into dc0e90109c745bc1b6c6e89c633524a1ed8cf96a - view on LGTM.com
new alerts:

1 for Unused variable, import, function or class

Comment posted by LGTM.com


IE11 Not enough width for the label in some cases

The plugin is working but the size is quite big for some labels. It is not the case for other browsers.
See the official examples: http://bootstrapswitch.com/examples.html

For some reason 'ON' takes too much space with IE11, I manually change the width to 46px and the switch looks good again.
It was fixed to 45px but not enough, it is 44px with Firefox and it works fine. The computation of this dynamic value needs to be adapted to IE 11.

I have the same problem with IE11 on the OFF part. It seems that the font used is slightly bigger, so if I  force 13px in this css property : ".bootstrap-switch .bootstrap-switch-label", it works ...

Yes I have added this ugly quick fix hack, font size 13px was not enough in my case, I used 12px.
/** Hack ie 10 and > **/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
 .bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-label {font-size:12px}
}

Any idea when a fix will be released ?

Run into the same issue today. overriding the following works for me. The content was set to "\200b"
.bootstrap-switch span::before {
    content: normal;
}

While digging into same issue I found using blank space HTML Code " " helped.
• I had to make checkbox adhere to col-md-2 size
• I had to keep labels in one line in contrast to above shown snapshots where ON and OFF moved to two rows.
• I tried different tweaks like:
//$("#controlId").bootstrapSwitch({ "handleWidth": "110", "labelWidth": "110" });
Solution worked for me
• Surround label text e.g. "Repeat" as shown with above HTML code
• When left enabled side button label is sized to appropriate bootstrap width, the right disabled side's label length doesn't matter
Snap attached,


Change from API URL to Search URL for profiles

This resolves the issue with the update that broke #45 - may not be the best way, but it works and requires minimal changes.

Awesome thanks man! This solution is perfect.


Miscellaneous straightening up, mostly for the sake of API docs

Current coverage is 50.65%

Merging #6 into master will decrease coverage by -1.45% as of 4adca0a

Powered by Codecov

Current coverage is 51.75%

Merging topic/cleaning into master will decrease coverage by -0.35% as of 021f936

Powered by Codecov


Bump libGDX project files to default to Java 1.7

Please ensure you have given all the following requested information in your report.
Issue details
As described at
(http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=25857&sid=35f8facdf61ae0641f629dc612fb0a68)
https://github.com/libgdx/libgdx/wiki/Setting-up-your-Development-Environment-(Eclipse%2C-Intellij-IDEA%2C-NetBeans)
The default instructions for libGDX install indicate Java 1.7 is required, but the default Gradle files reference 1.6, which causes noise in builds and confusion.
I would be happy to take a stab at a PR for this, just leave a comment if you would like me to do that.
Reproduction steps/code
Build any project with the standard Setup tool.
Version of LibGDX and/or relevant dependencies
1.9.5+
Please select the affected platforms
All or N/A, depending on how you look at it.

You need Jdk 1.7, but you can compile with 6 source level for maximum compatibility (which is what is set by default)

Not sure where to continue discussion (badlogic forum thread or this issue).
At the origin of my question, I had issues compiling at source level 6 with jdk 7 because I was using stuff not available in jdk 6 : Integer.compare() was one of these. And eclipse didn't complains about that.
I tried with gdx-ai for instance and they use @SafeVarargs which is available since jdk7. Then gdx-ai wouldn't run on jre6. Eclipse show compilation errors when using jdk6 but not when using jdk7.
So using  a jdk that doesn't strictly match source level can lead to some issues.

Using Java 7 APIs prevents running on Android versions lower than 19 because they aren't supported there. That said, Java 7 language features are supported (because they are backwards compatible at the bytecode level). We aim for maximum compatibility with our supported platforms - would rather it fail at compile time than at runtime.


Problem: FlyCI macOS runners shutting down next month

See the announcement:
https://flyci.net/blohttpsg/flyci-discontinue-macos-runners
Solution: switch to WarpBuild's runners

No difference between this and #611


Modify the description of Source Han Sans

The description of Source Han Sans should be rewrite as “Sans serif font family for Pan-CJK texts”.

I'll take this up. Where should I update it?

@sounak98 The descriptions are here: data/featured.json. Please submit a PR with your change.

Is this resolved?

Just now, It's not  :(


Add WriteDeadline

TestTinyReadBuffer test hangs (atleast on Windows), yet I don't understand why.

Comments?

Strange, i'm trying to figure out why.

Yes, I know why.
You cannot just return the num of bytes written by s.conn.Write to the caller.
You have to sub the header size.

Thanks, fixed.
Let me know if there is anything else you want addressed.
Also, what would be your appetite to adding:
        LocalAddr() Addr
        RemoteAddr() Addr

to satisfy net.Conn?
I know this works for generic streams, yet I'd be surprised if anyone uses it outside of the networking context.

Current coverage is 91.43% (diff: 70.51%)

Merging #5 into master will decrease coverage by 5.87%

@@             master         #5   diff @@
==========================================
  Files             4          4
  Lines           298        362    +64
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            290        331    +41
- Misses            7         28    +21
- Partials          1          3     +2

Powered by Codecov. Last update 60c611f...1b7ecbc

you cannot just simply n:   n - headerSize, what if n is smaller than headerSize?

LocalAddr() Addr
RemoteAddr() Addr

i think just return nil would be ok, because streams are not addressable.

Addressed.

looks good to me.


Use bulk_create_reviewers() on submission creation to save some queries.

Fixes https://github.com/HyphaApp/hypha/issues/3255

FYI, this works for the test case I had that caused the original failing


bug: empty source manager in newly joined compute nodes

If we reschedule source actors to newly joined CN, there will be anther thing need to be considering: the local source manager in new CN does not contains related source desc.

Exactly. Do we have sync mechanism for sources now? 😢

Nope, only RPC calls. 🥵 Or we can let CN subscribe source info, it's a little bit costly but works.

I'm not sure which pattern will be better for this, subscribing the source info, or totally removing the local source manager. As it's only required for table sources now, we may find a workaround way for this. 🤔

Totally removing the local source manager seems not that easy currently, especially for table sources.
IMO, if using subscribe mode, since create_source RPC in CN side is still needed for creating source ddl request (replacing with notification is not reliable as we discussed before), this will bring different behaviors between scheduling source actor and creating source. And CN should only subscribe source snapshot and not source info changes, which is quit weird.
If using RPC call here, we'd better make create_source able to accept duplicate sources. Because we might reschedule actors in same source multi times.
Originally posted by @yezizp2012 in https://github.com/risingwavelabs/risingwave/issues/5226#issuecomment-1241848086

This should be fixed by #5654 and #5849.


adding code_of conduct.md

A Code of Conduct ensures inclusivity, prevents harassment, clarifies behavioral expectations, encourages professionalism, and fosters a safe, welcoming community for contributors.
plz assisn me this issue under gsoc-extended , level 1 , hacktoberfest-accepted tag

Duplicate #25.


Use dependency injection to allow alternative json parser or encoder

Allow a custom/alternative JSON encode/decode function to be specified when sending a response or parsing a request. The response.json function gets an extra optional keyword argument dumps, with obvious default. When parsing a request, instead of the property request.json a method request.load_json(loads=<new loads>) can be used.
My use case is returning results from calculations, stored as numpy arrays or pandas dataframes. The pandas library has a nice JSON encode/decode module (derived from ujson) which will sensibly (and quickly) handle numpy arrays.
import numpy as np
import pandas as pd
import sanic

def a_response_handler(request)
    request_data = request.load_json(loads=pd.json.loads)

# processing would go here

    response_data = {
        "first": np.array([0.0, 1.0, 4.0]),
        "second": np.random.uniform(0, 1, 10)
    }
    return sanic.response.json(response_data, dumps=pd.json.dumps)

This relates to issue #905, but wasn't inspired by it

Also, sorry for the username confusion, chiuczek is my personal account and intelliHugh is for work use, but they're both me!


Hourly forecast - precipitation always 0

First of all: Great integration. Thank you very much for your work.
I encountered one issue: Sadly the hourly forecast doesn't provide the correct precipitation. It's always showing as 0.
Example Daily forecast:
     - condition: rainy
      datetime: "2024-07-16T00:00:00"
      wind_bearing: null
      temperature: 24
      templow: 18
      precipitation: 8.8

Example Hourly forecast (same day):
    - condition: rainy
      datetime: "2024-07-16T00:00:00+00:00"
      wind_bearing: 195
      temperature: 19.4
      templow: 18.3
      wind_speed: 6.3
      precipitation: 0
    - condition: pouring
      datetime: "2024-07-16T01:00:00+00:00"
      wind_bearing: 195
      temperature: 18.6
      templow: 17.7
      wind_speed: 4.8
      precipitation: 0
    - condition: pouring
      datetime: "2024-07-16T02:00:00+00:00"
      wind_bearing: 195
      temperature: 18
      templow: 17.1
      wind_speed: 4.8
      precipitation: 0
    - condition: pouring
      datetime: "2024-07-16T03:00:00+00:00"
      wind_bearing: 195
      temperature: 17.6
      templow: 16.8
      wind_speed: 4.8
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T04:00:00+00:00"
      wind_bearing: 163
      temperature: 17.6
      templow: 16.7
      wind_speed: 4.5
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T05:00:00+00:00"
      wind_bearing: 163
      temperature: 17.9
      templow: 16.8
      wind_speed: 4.5
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T06:00:00+00:00"
      wind_bearing: 163
      temperature: 18.7
      templow: 17.1
      wind_speed: 4.5
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T07:00:00+00:00"
      wind_bearing: 43
      temperature: 19.8
      templow: 17.7
      wind_speed: 5.2
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T08:00:00+00:00"
      wind_bearing: 43
      temperature: 21.2
      templow: 18.4
      wind_speed: 5.2
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T09:00:00+00:00"
      wind_bearing: 43
      temperature: 22.5
      templow: 19.1
      wind_speed: 5.2
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T10:00:00+00:00"
      wind_bearing: 38
      temperature: 23.6
      templow: 19.8
      wind_speed: 10.1
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T11:00:00+00:00"
      wind_bearing: 38
      temperature: 24.3
      templow: 20.2
      wind_speed: 10.1
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T12:00:00+00:00"
      wind_bearing: 38
      temperature: 24.4
      templow: 20.4
      wind_speed: 10.1
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T13:00:00+00:00"
      wind_bearing: 35
      temperature: 24.1
      templow: 20.3
      wind_speed: 17.3
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T14:00:00+00:00"
      wind_bearing: 35
      temperature: 23.3
      templow: 20
      wind_speed: 17.3
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T15:00:00+00:00"
      wind_bearing: 35
      temperature: 22.3
      templow: 19.5
      wind_speed: 17.3
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T16:00:00+00:00"
      wind_bearing: 33
      temperature: 21.3
      templow: 18.9
      wind_speed: 13.4
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T17:00:00+00:00"
      wind_bearing: 33
      temperature: 20.3
      templow: 18.4
      wind_speed: 13.4
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T18:00:00+00:00"
      wind_bearing: 33
      temperature: 19.5
      templow: 17.9
      wind_speed: 13.4
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T19:00:00+00:00"
      wind_bearing: 42
      temperature: 18.8
      templow: 17.5
      wind_speed: 8.9
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T20:00:00+00:00"
      wind_bearing: 42
      temperature: 18.3
      templow: 17.2
      wind_speed: 8.9
      precipitation: 0
    - condition: rainy
      datetime: "2024-07-16T21:00:00+00:00"
      wind_bearing: 42
      temperature: 17.9
      templow: 16.9
      wind_speed: 8.9
      precipitation: 0
    - condition: cloudy
      datetime: "2024-07-16T22:00:00+00:00"
      wind_bearing: 31
      temperature: 17.6
      templow: 16.6
      wind_speed: 5.6
      precipitation: 0
    - condition: cloudy
      datetime: "2024-07-16T23:00:00+00:00"
      wind_bearing: 31
      temperature: 17.3
      templow: 16.4
      wind_speed: 5.6
      precipitation: 0

Can you please show debug level output for the module where the response from MeteoSwiss is visible? It's pretty common for their API to return 0 precipitation as forecast.

You are indeed correct, the API returns 0 precipitation very often. Seems very odd to me if it rains the whole day and every hour there is 0 precipitation in the forecast. But you don't have any influence on that.

Maybe we should default to "precipitationMax" variable which tends to show larger numbers, but then I'm afraid it would be overestimating the probability :/


HARP-7835: Fix toggle tilt button

@harpgl-bot retest this please

Codecov Report

Merging #1418 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #1418   +/-   ##
=======================================
  Coverage   55.63%   55.63%
=======================================
  Files         258      258
  Lines       23812    23812
  Branches     5327     5327
=======================================
  Hits        13248    13248
  Misses      10564    10564

Impacted Files
Coverage Δ

@here/harp-map-controls/lib/MapControls.ts
23.59% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[FLINK-34681][cdc][doc] add standalone.md under deployment directory.

add standalone.md

It has already been added https://github.com/apache/flink-cdc/blob/master/docs/content.zh/docs/deployment/standalone.md

Please also add standalone.md which is an empty file in content.zh

I will create a following PR to support Chinese language with this document and the previously merged documents.


Secure message support for application data (SPDM 1.1.2)

I'm in the middle of adding support for the secured messages (encryption and MAC), calculated all the secret keys, completing implementing KEY_EXCHANGE, and FINISH RSP (SPDM Responder).
To start with, I'm only adding support to decode the message received and encode, and send the response back to the requester.
Here the message is just application data (not supporting SPDM CMD in a secure session for now)
Can you please help me understand
1)what application data (message blob) can REQUESTER send?
2)what the responder can decode, and save the plain text and what does the responder needs to encode and send the response
Or an practical usage where the requester sends application data and what does the responder do after decoding the meesage.
Thanks in advance

Does that mean the only application data (message) that REQUESTER can encode and send the responder in the SESSION will be the one highlighted in yellow?
Requester cannot just send a random data (Let say "abcdgsjkghurbvonroeiveo" as plain text) use this as a message, encode and send it RESPONDER??

You can send SPDM vendor defined message (e.g. IDE_KM or TDISP defined in PCI-SIG), or PMCI message (e.g. PLDM).

Thanks for the quick response, @jyao1 - Can you answer this - "Does that mean the only application data (message) that REQUESTER can encode and send the responder in the SESSION will be the one highlighted in yellow"
Refer the above figure for the context

Does that mean the only application data (message) that REQUESTER can encode and send the responder in the SESSION will be the one highlighted in yellow

No.
In this table, you can find lots of other SPDM command, such as "GET_MEASUREMENT", "HEARTBEAT", etc. They can be sent.
In this table, "All other" == "All other SPDM command defined in this spec".
NOTE: "All other" != "All other application data", because the definition of "application data" is out of scope.

Thanks


Unable to Trade GDAX.LTC-USD or GDAX.BTC-USD, not retrieving balance

Live trading not recognizing currency balance or assets on GDAX.LTC-USD
With margin turned on or off.
When trying to manually trade, getting "not enough currency balance to buy!"
ETH/USD works fine.

@nevernotkev did you by accident select the wrong API key profile? It should be default.
To verify, go to https://www.gdax.com/settings/api

select "Default" profile
create new key with "View" and "Trade" permissions checked
update your conf.js

Closing due to no response and feedback supplied. Feel free to leave a comment in case you are still having issues, and of course we will re-open if this is still a problem.

I've tried your suggestion and still seeing issue. Even have margin turned on.


Add unit tests and enhance PR help message functionality

PR Type
Tests, Enhancement

Description

Added unit tests for extract_header function in test_pr_help_message.py.
Added unit tests for PRHelpMessage class initialization and run method without OpenAI key.
Added pytest-asyncio to requirements.txt to support asynchronous tests.

Changes walkthrough 📝
Relevant filesTests

test_pr_help_message.pyAdd unit tests for PR help message functionality

tests/unittest/test_pr_help_message.py
Added unit tests for extract_header function.  Added unit tests for PRHelpMessage class initialization.  Added unit tests for PRHelpMessage class run method without OpenAI key.

+66/-0

Dependencies

requirements.txtAdd pytest-asyncio to requirements

requirements.txt

Added pytest-asyncio dependency.

+1/-0

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

/help how to do a custom label in PR Agent?

/ask does it make sense that the test_pr_help_message_run_no_openai_key() doesn't have asserts?

/improve

/describe
--pr_description.generate_ai_title=true

/review

/review
auto_approve

Preparing PR description...

PR Description updated to latest commit (https://github.com/Codium-ai/pr-agent/commit/276a8694541c6843d6a58f9f4a1d42aa29824f26)

[ ] Copy walkthrough table to "Files Changed" Tab

Preparing PR description...

Preparing PR description...

Generating PR code suggestions
Work in progress ...

Generating PR code suggestions
Work in progress ...

Generating PR code suggestions
Work in progress ...

Generating PR code suggestions
Work in progress ...

Generating PR code suggestions
Work in progress ...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...


Browser mode showing blank page

Describe the bug
When using browser mode, the browser window pops up with a blank page regardless of the test status.

I guess it's because the iframe's src assignment was removed in this PR?
Reproduction
It's just a basic setup so I'm just pasting the files here:
{
  "name": "vitest-ui-bug",
  "version": "1.0.0",
  "type": "module",
  "scripts": {
    "test": "vitest"
  },
  "devDependencies": {
    "vitest": "^1.3.1"
  }
}

import { test, expect } from 'vitest';

test('foo', () => {
  expect(window.innerWidth).toBeGreaterThan(0);
});

npx vitest --browser=chrome

The test passed normally.
System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz
    Memory: 3.48 GB / 15.80 GB
  Binaries:
    Node: 18.19.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\scoop\apps\yarn\current\bin\yarn.CMD
    npm: 10.2.5 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (121.0.2277.128)
    Internet Explorer: 11.0.19041.3636
  npmPackages:
    vitest: ^1.3.1 => 1.3.1

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Did you try passing down --ui flag?

same here, got 404 on .js file on coverage.

I just tried and it opened the UI in my default browser (Edge), this might not be the expected behavior because in previous Vitest
versions the UI would be opened in the same browser that runs tests.
Previously I was using Vitest v1.0.1 and it worked fine without passing the --ui flag.

Hope I will have time later to provide more information, but the current issue is that after upgrading from 1.1.3 to 1.3.1, sometimes the blank screen issue occurs. It seems there are no errors in the console, but the body is empty.

I am guessing this might be because 4f40177e06d57787394e1da5ceb0355d67acd6aa changed the position where the test container is rendered, so it is always after the UI iframe (previously it was just rendered... wherever, I suppose).
cc @sheremet-va

I looked into it, and does the final packaging relate to this 'index.html' file? Can it be adjusted?


saving template as file with specific location

So I work with mailer and sidekiq. I try to make the file not as attachment in the mail, but as a url that leads to a function in a controller so it can send file to the user after it was saved locally.
I didn't see anything like that in the documentation and no matter what I try I get errors like 'undefined url' or 'no implicit conversion of nil into String'.
I searched every issue here and questions on stackoverflow and didn't find an answer.
I have a location I prepared and saved and I want to tell the template somehow to save it in this specific location so I can access it later when the user click on the download link.
Relevant parts of my code:
Job:
def perform(export_args)
  begin
    account = Admin::Account.find_by(id: export_args[:account_id])
    account.connect_to_target_db
    request_id = export_args[:request_id].to_s
    request = ExportRequest.find_by(id: request_id)
    accounts = System::Export.new.get_items_for_server_report(export_args)
    file_location = request.create_file_location(export_to_csv)
    # request.data = here need to tell the template to insert data
    request.update(data: file_location)
    email = Admin::ReportMailer.export_server_report(member, request_id, accounts, file_location)
    if (email.deliver)
      request.update(sent: true)
    end
  ensure
    ActiveRecord::Base.clear_active_connections!
  end
end

Mailer:
  def export_server_report(member, request_id, accounts, file_location)
    @member = member
    @title = "Export"
    @header = subject = "Your Export is Ready"
    @link = "#{AppConfig['host']}/system/exports/download_collection?request_id=#{request_id}"
    mail(:to => member.email, :subject => subject) do |format|
      format.html
    end
  end

download function:
  def download_collection
    request_id = params[:request_id] || params[:request]
    request ||= ExportRequest.find_by(id: request_id)
    if request
      file = request.data #the data is the export file location
      if AppConfig['host_assets_on_s3']
        redirect_to file
      else
          send_file(file, type: "application/vnd.ms-excel", x_sendfile: true)
      end
    else
      flash[:error] = "The export request was not found for this account. Make sure you are logged in to the account which created the export."
      redirect_to '/'
    end
  end

In rails 4 we used the paperclip gem, which is now deprecated in favor of ActiveStorage in rails 5. Active Storage has some helper methods that will help : https://guides.rubyonrails.org/active_storage_overview.html

@Kuassari If you are looking to write a template to a file, look at something like this:
https://gist.github.com/straydogstudio/323139591f2cc5d48fbc
or
https://gist.github.com/straydogstudio/dceb775ead81470cea70
I assume you'll do that in your job.
Then you'll have to read and serve the file in a controller action. That should be pretty straight forward.


Error when starting Peloton server

Hello,
I am getting started with Peloton and have some issues when I tried to bring up peloton server. I followed the installation instruction for vagrant. Installation completed successfully with no error. But when I tried to bring up by typing $pelont, I received two error messages complaining about loading root_crt and server certificate, as shown below:
vagrant@vagrant-ubuntu-trusty-64:~$ peloton -port 5432
2018-02-06 22:03:45 [src/network/peloton_server.cpp:128:SSLInit] ERROR - Exception when loading root_crt!
2018-02-06 22:03:45 [src/network/peloton_server.cpp:137:SSLInit] INFO  - certificate file path /peloton/data/server.crt
2018-02-06 22:03:45 [src/network/peloton_server.cpp:140:SSLInit] ERROR - Exception when loading server certificate!
2018-02-06 22:03:45 [src/network/peloton_server.cpp:267:SetupServer] INFO  - Listening on port 5432
Initially, I thought the errors were fake since the last message seemed to imply the server was running. However, when I brought up the client and attempted to connect by
$psql "sslmode=disable" -U postgres
I received following error message:
psql: could not connect to server: No such file or directory. Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I don't think the server is running, despite the "listen" message. But I am not sure why. Any help is greatly appreciated! Thanks!
Thanks,
Zilu

Also, I noticed the timestamp is wrong. My local machine is 1hr earlier than the timestamp printed out.

You need to connect to it on the right port:
psql "sslmode=disable" -U postgres -h localhost -p 15721

I will fix the wiki instructions.


Make the @yamada-ui/typography component headless

script: make-component-headless
package: @yamada-ui/typography
Description
Currently, the @yamada-ui/typography component has minimal styles set within the component's source code.
We want to make this style transferable to the theme and make the component headless, enabling more flexible UI customization.
Problem Statement/Justification
By making the @yamada-ui/typography component headless, we can achieve more flexible styling tailored to the project.
Proposed Solution or API
The styles within the component are mostly defined by css: CSSUIObject and set to a prop named __css. We will transfer these styles to the packages/theme/src/components.
The code below is just an example and not the actual code.
packages/components/input/src/input-group.tsx
const css: CSSUIObject = {
- width: "100%",
- display: "flex",
- position: "relative",
  ...styles.container,
}

packages/theme/src/components/input.ts
baseStyle: {
  container: {
+   width: "100%",
+   display: "flex",
+   position: "relative",
  },
  field: {
    width: "100%",
    minWidth: 0,
    outline: 0,
    position: "relative",
    appearance: "none",
    transitionProperty: "common",
    transitionDuration: "normal",
    _disabled: {
      opacity: 0.4,
      cursor: "not-allowed",
    },
  },
  element: {
    color: ["blackAlpha.600", "whiteAlpha.700"],
  },
},

[!TIP]
In cases where the styles within the component are dynamically changed, there may be instances where it is not possible to transfer the styles to the theme.
In such cases, it needs to be discussed in this issue. Please feel free to send comments to this issue.

Additional Information
The @yamada-ui/typography component exists in packages/components/typography/src. You need to check all the components in this folder and if they contain styles internally, you need to modify them.
This change could have a significant impact on projects using Yamada UI, so we will work on it within the scope of v2.0.
Please create the branch for working on this issue from the remote branch v2.0, and direct your pull requests to the v2.0 branch as well.
Please select major for the changeset and create a pull request.

@yamada-ui/typography has no style internally.


update crt and key files. New expiry year: 2027

What is this PR About?
Certificate expiration date
How do we test this?
Follow the steps in https://github.com/sabre1041/openshift-logforwarding-splunk after update the helm chart
cc: @redhat-cop/day-in-the-life

/lgtm
/approve
🤘


Support Array types

Hi,
I tried to use ConnectorX to load dataframe from a postgreSQL database with the following code:
import connectorx as cx

tableName   = "semantic_search"
dataFrame = cx.read_sql('postgresql://postgres:postgres@localhost:5432/embeddings_sts_tf', "select * from " + tableName)

but got the following error:
thread '<unnamed>' panicked at 'not implemented: _float8', connectorx/src/sources/postgres/typesystem.rs:78:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
  File "/home/matthieu/Code/Python/postgreSQL_creation.py", line 142, in <module>
    dataFrame = cx.read_sql('postgresql://{user}:{pw}@{host}:5432/{db}'.format(host=conn_info["host"], db=conn_info["database"], user=conn_info["user"], pw=conn_info["password"]), "select * from " + tableName)
  File "/home/matthieu/anaconda3/envs/sts-transformers-gpu-fresh/lib/python3.8/site-packages/connectorx/__init__.py", line 99, in read_sql
    result = _read_sql(
pyo3_runtime.PanicException: not implemented: _float8

Thanks for helping!

Hi @Matthieu-Tinycoaching, it seems like type _float8 refers to the Array type in postgres (Float8Array), which we do not support yet. Will add this in our next release (0.2.1).

Hi @wangxiaoying thanks for the feedback. Could you estimate the date of next release?
Thanks!

Hi @wangxiaoying thanks for the feedback. Could you estimate the date of next release?
Thanks!

@Matthieu-Tinycoaching sorry for the waiting! We just released the connectorx-0.2.1a1 which included both FloatArray and IntArray type in Postgres. You can try it by using pip install -U connectorx==0.2.1a1.
If all tests go well, we plan to release the 0.2.1 version in early October. Please feel free to have a try and let us know if you found any issue.


Modify distribution pom to include services

We have found that there was an issue running quickstarts. Specifically, once the code was compiled with mvn install -DskipTests -Pbin-dist -Pbuild-shaded-jar, running ./build/bin/quick-start-batch.sh produced an error on Lucene indexes.
The reason is well known: While parent pom configures the shading plugin as:
          <transformers>
            <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
            <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
              <mainClass>${mainClass}</mainClass>
              <manifestEntries>
                <Multi-Release>true</Multi-Release>
              </manifestEntries>
            </transformer>
          </transformers>

Pinot distribution does:
              <transformers>
                <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
              </transformers>

Which implicitly overrides the parent config. It can be seen with mvn help:effective-pom | grep -A 12 '<artifactId>maven-shade-plugin</artifactId>'
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.2.1</version>
        <executions>
          <execution>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <transformers>
                <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />
              </transformers>
              <relocations>
                <relocation>

This PR makes the override explicit (by adding combine.self="override") and copies the ServicesResourceTransformer transformer.
The new effective pom is:
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.2.1</version>
        <executions>
          <execution>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <transformers combine.self="override">
                <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />
                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
              </transformers>
              <relocations>

While solving this issue I've found that there is another important transformer that is not being included: the manifest transformer. That means that the distribution is not using multi-release jar, which we also detected as problematic.
I'm not fixing that problem here because when I added I found new issues given that multi-release jars slightly change the final URIs. I'll try to open a second PR on Monday to fix that.

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

Comparison is base (4ad36c3) 61.61% compared to head (e19921c) 46.40%.
Report is 3 commits behind head on master.

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12289       +/-   ##
=============================================
- Coverage     61.61%   46.40%   -15.22%
+ Complexity     1152      945      -207
=============================================
  Files          2415     1808      -607
  Lines        131331    95304    -36027
  Branches      20266    15396     -4870
=============================================
- Hits          80922    44225    -36697
- Misses        44491    47907     +3416
+ Partials       5918     3172     -2746

Flag
Coverage Δ

custom-integration1
?

integration
?

integration1
?

integration2
?

java-11
?

java-21
46.40% <ø> (-15.09%)
:arrow_down:

skip-bytebuffers-false
46.40% <ø> (-15.21%)
:arrow_down:

skip-bytebuffers-true
?

temurin
46.40% <ø> (-15.22%)
:arrow_down:

unittests
46.40% <ø> (-15.21%)
:arrow_down:

unittests1
46.40% <ø> (-0.21%)
:arrow_down:

unittests2
?

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

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


[terra-form-select] Script error on selecting value and moving cursor point

Bug Report
Description

Getting script error on select terra-form-select field value "Uncaught TypeError: Cannot set property 'innerText' of null"
Steps to Reproduce

Select value from terra-form-select and move mouse cursor on selecting value.
Make sure move cursor instantly after selecting value.

Additional Context / Screenshots

I will share video through email if it required. Can't share solution video screen in public website.
Please refer attachment for reference of error and stack flow.

Expected Behavior

On selecting it should not throw any error.
Possible Solution

N/A
Environment

Component Name and Version: blood-loss-inventory and 1.0.3
Browser Name and Version: Cross browsers IE, Firefox, Safari and Chrome(latest version)
Node/npm Version: Node 10.11.0/npm 6.4.1
Webpack Version: ^4.6.0
Operating System and version (desktop or mobile): Mac Desktop

@ Mentions

N/A

Previously we were using terra-form-select 4.4.0 and it was working fine. After updating terra-form-select version 5.6.0 we are seeing this error.


Jupyter notebook doesn't load env variables

Does this issue occur when all extensions are disabled?: Can't check because i only have a remote ssh access to the concerned computer.

VS Code Version:
Version: 1.62.1
Commit: f4af3cbf5a99787542e2a30fe1fd37cd644cc31f
Date: 2021-11-05T10:56:50.217Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.4.0-89-generic snap (Ubuntu 18.04.5 LTS)

I'm not sure how to reproduce this issue since it mysteriously stopped working overnight. Anyway, here what happens:

I'm running vs-code remotely via SSH. I'm running python inside a venv. I have a variable inside my .bashrc file alike:

export SOME_VARIABLE=/some/path/

so that in a python file, os.getenv('SOME_VARIABLE') works just fine.

However inside a jupyter notebook (with the good kernel), this variable is set to None. If it can help, the PYTHONPATH is:
/path/to/my/home/.vscode-server/extensions/ms-toolsai.jupyter-2021.10.1101450599/pythonFiles:/path/to/my/home/.vscode-server/extensions/ms-toolsai.jupyter-2021.10.1101450599/pythonFiles/lib/python

I tried setting:

    "terminal.integrated.inheritEnv": true,
    "terminal.integrated.defaultProfile.linux": "bash",

in the json settings file but it didn't change anything.
I guess this is a jupyter bug since it works in a python file.

Thanks for the bug.
Can you include the output of the 'jupyter' output tab? We should be starting the venv the same way as normal python but something might not be working.

Having the same issue.

Having the same issue.
Has anyone come across a solution?

We don't run your bash rc script before starting a kernel. You'd need to launch VS code from a bash shell and then it should inherit it.

Even if I export the environment variables through the terminal within VSCode before or while the jupyter notebook is active, I am unable to access them.

Even if I export the environment variables through the terminal within VSCode before or while the jupyter notebook is active, I am unable to access them.

Sorry I'm not following what you're doing here.
VS code itself has to be started from a terminal with the environment variables set. Like so:
rich@CORTANA:~/test$ export FOO=BAR
rich@CORTANA:~/test$ code . <-- This is launching VS code from this folder. It will inherit FOO=BAR

@rchiodo I am ssh into a remote machine with VSCode, not launching from the machine. Then I open the notebook and attempt to access the environment variables. I have tried:

setting them in .bashrc
exporting them through a terminal in VSCode before opening the jupyter notebook
exporting them through a terminal in VSCode after opening the jupyter notebook

I am having no success with any of those approaches.

Sorry but that's not supported. Your .bashrc won't be run before we start a kernel.
You could workaround this by setting this value to set some environment variables:
"jupyter.runStartupCommands": []

Or we could change this issue to an enhancement and add an option to run a kernel from a shell script instead of launching it directly.

This issue  is likely relevant too. It seems weird to me to run a kernel from a shell script, but an .env should work.

I agree, that feels weird. Thank you for the redirect. I will take a look.

I'm not sure if this is the same problem, but for me in a notebook in VS Code import os; print(os.environ['PATH']) outputs /Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/Users/onno/mpi/.venv/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
(a ridiculous output)
In the integrated terminal, with the same virtual environment activated, python -c "import os; print(os.environ['PATH'])" outputs /Users/onno/mpi/.venv/bin:/Users/onno/.pyenv/shims:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/homebrew/bin:/opt/homebrew/sbin.
(Critically, the TeX directory is missing in the notebook. This is not set in .zshrc, but in /etc/profile). When I open a jupyter notebook in the browser from the terminal, I get the correct path, the same as Python in the terminal gives me. I even started VS Code by typing code .
I'm not sure what to do.. I tried restarting everything including my computer, but nothing changed.

@rchiodo That is the Perfect answer. The content of .bashrc used to be pre-loaded to the Jupyter before, but it stopped working for some reason. Lunching VSCode from a bash terminal fixed the issue for me. Many thanks.

I find it amazing that something as basic as using ~/.bashrc to load env variables in a remote VS code server with Azure cloud ML is made so difficult it's basically impossible. Instead you can use python-dotenv:
from dotenv import load_dotenv

load_dotenv()

You need a .env file in the directly you're running this from (or specify the path I think in load_dotenv). The file should have pairs like API_KEY="12345".

The same issue was reproduced again, and the solution is in this comment
https://github.com/microsoft/vscode-jupyter/issues/9774#issuecomment-1110328329


Stop exporting development files

GitHub ZIP downloads
Composer package

This is how to test.
git archive HEAD | tar --list --exclude="src" --exclude="src/*"

Thx again for your contribution :)


Install all CRAN dependencies for "fhpredict"

With the code below I got all CRAN dependencies for the R package kwb-r/fhpredict@master. Including these should improve the speed of the later installation of fhpredict as most of its >100 dependencies are already there.
install.packages(c("packrat", "remotes"), repo = "https://cloud.r-project.org")
remotes::install_github("kwb-r/pkgmeta")

pkgs_kwb <- pkgmeta::get_github_packages()

remotes::install_github("kwb-r/fhpredict")

deps_fhpredict <- packrat:::recursivePackageDependencies("fhpredict", .libPaths())

deps_fhpredict_cran <- deps_fhpredict[! deps_fhpredict %in% pkgs_kwb$name]

cran_pkgs <- paste("'", deps_fhpredict_cran, "'", sep = "", collapse = ", ")

cran_install <- sprintf("R -e install.packages(pkgs = c(%s), repo ='$MRAN')", cran_pkgs)

writeLines(cran_install, "cran_install.txt")

This change is

Thanks 🚀 . I'll test this out later on. The build is failing due to missing credentials on your account (I guess). I'll create a new PR with your code (not right now stuck in something else).

@fabianmoronzirfas maybe you can check if the Docker build works with these changes?


Fixing break with less-loader@6

Fix https://github.com/storybookjs/presets/issues/133, what https://github.com/storybookjs/presets/pull/134 tried to do.

The build is maybe failing because the addon still requires less-loader@5: https://github.com/storybookjs/presets/blob/master/packages/preset-ant-design/package.json#L40
Maybe this dep (and also others) should be moved to peerDependencies to use the version provided by the user's project?
It looks like there is a brand new way to handle that with ant 4.x, with craco-less: https://ant.design/docs/react/use-with-create-react-app, maybe the preset should be reworked a bit to use it instead of the current outdated way?
@7mllm7 I'm not an ant user but I can maybe help you to get this up to date and working.

The build is maybe failing because the addon still requires less-loader@5: https://github.com/storybookjs/presets/blob/master/packages/preset-ant-design/package.json#L40
Maybe this dep (and also others) should be moved to peerDependencies to use the version provided by the user's project?
It looks like there is a brand new way to handle that with ant 4.x, with craco-less: https://ant.design/docs/react/use-with-create-react-app, maybe the preset should be reworked a bit to use it instead of the current outdated way?
@7mllm7 I'm not an ant user but I can maybe help you to get this up to date and working.

👍

Merged in https://github.com/storybookjs/presets/pull/185, will be released soon 🚀 .


library still maintained ?

i am seeing a lot of unanswered issues
and even some PR's
is this library still maintained ?
Or should we consider creating a community fork ?
regards

Hello @jnischler
To be honest I dont have the time anymore for maintaining this project. In fact I've been looking for collaborators https://github.com/felHR85/UsbSerial/issues/313
If someone want to create a fork for UsbSerial it would be a good idea


:pencil: add Yiwei to the contrib list

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


added analytic content GCP DNS

Proposed Changes
Analytic content for GCP DNS

@aprakash13 ,please review Analytic Rules ,thanks.

Workbook query is failing, please update it, thanks.

Workbook query is failing, please look into it, thanks.

@spsocprime : Can you please resolve the comments... Thanks!!

Workbook query is failing, please look into it, thanks.

@spsocprime please address my comment.

Workbook query is failing, please look into it, thanks.

@spsocprime please address my comment.

This is default field ingested via API. Probably you have some issue during the ingestion in your environment as it was with Snowflake custom table schema. Could you please double-check this?

@aprakash13 Please review and approve analytic rules. thanks.


[PE-D][Tester B] Not enough visuals in User Guide

There are not enough visuals in the User Guide; perhaps screenshots of examples and their outcomes can be added?

Labels: severity.Medium type.DocumentationBug
original: jorrdansoh/ped#6

This UG bug has been fixed.


Update Block Breaking Stage Pipeline

Updates the breaking stage pipeline to match what is currently within 1.20.6. Also add a bit more information about the events fired.

Preview URL: https://pr-96.neoforged-docs-previews.pages.dev

There will be incoming changes to this area when I rebase the BlockDropsEvent PR against 1.20.6; not sure if you want to wait for that or adjust it after the fact

There will be incoming changes to this area when I rebase the BlockDropsEvent PR against 1.20.6; not sure if you want to wait for that or adjust it after the fact

I don't think that will change this pipeline in terms of how things are executed. It will only add an additional event line. So, unless the event is coming out within the next few days, I think just judge it on the current structure of NeoForge.

Bundled in #108


Plugin throwing build error in Andriod and IOS platform

Expected Behaviour
The plugin should allow the platform to run properly
Actual Behaviour
The build fail in Android and ios
FOR IOS 👍
** BUILD FAILED **
The following build commands failed:
Ld build/emulator/Common\ Areas.app/Common\ Areas normal x86_64
(1 failure)
(node:8865) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/admin/Projects/commonarea/commonareas-phonegap/platforms/ios/cordova/build-debug.xcconfig,-workspace,Common Areas.xcworkspace,-scheme,Common Areas,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/admin/Projects/commonarea/commonareas-phonegap/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/admin/Projects/commonarea/commonareas-phonegap/platforms/ios/build/sharedpch
(node:8865) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8865) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Reproduce Scenario (including but not limited to)
Install the plugin for platform<EMAIL_ADDRESS>cordova 7.0.0
Steps to Reproduce
run the cordova command for installing the plugin
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 8.0 and ios 11.2
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Mi A1
Cordova CLI version and cordova platform version
cordova --version                                    # e.g. 6.0.0
cordova platform version android                     # e.g. 4.1.1

cordova version 7.0.0
cordova android versions 6.4.0
cordova ios 4.5.4
Plugin version
plugin verision 2.1.3
cordova plugin version | grep phonegap-plugin-push   # e.g. 1.5.3
Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem

@Gamerakki please upgrade to cordova CLI 7.1.0. Plugin 2.1.x or higher requires it. If that fixes the issue please close this issue.

I have cordova 8.0.0 and still I got this message:
Plugin doesn't support this project's cordova-android version. cordova-android: 7.0.0, failed version requirement: >=7.1.0
Skipping 'phonegap-plugin-push' for android

When I execute cordova -v, I got:
8.0.0
What can be?

@gersonmontenegro do cordova platforms and you will see you have cordova-android 7.0.0. You would need to do:
cordova platform rm android
cordova platform add<EMAIL_ADDRESS>
Then try adding the push plugin to your repo.

@macdonst Thnx you for reply its working now so closing this issue


Allow more examples to be generated on Windows

Make file paths OS-agnostic
fs is available by default in example generation but not regular arangosh. A proper example should include var fs = require("fs"); because that's what a user would need to run, but it actually unsets the global fs variable (because of JS weirdness?), leading to errors. Rename the variable name in the tooling? Or not polute the global scope in general?
https://github.com/arangodb/arangodb/blob/devel/Documentation/Scripts/exampleHeader.js
Every accidental name collision may cause trouble. Helper functions do need to be available, however. Unsure whether side-effects are a necessity or if eval() could be sandboxed with an IIFE...
Do any existing examples need a require("fs") if we remove fs from the global scope?
Hot backup-related examples can't be fixed as they fail because the feature isn't available on Windows

Somewhat related: https://github.com/arangodb/arangodb/pull/16778

Analyzer examples cannot be generated, see #1063.
The only other known use of file paths is for a debug dump example (absolute path) and #1414 (relative path).
There is no visible use of the fs module in any example, only in invisible asserts.
fs.getTempPath() returns a different path in every arangosh process, which is a potential issue for the new tooling.
Closing, since the new tooling will run in Docker anyway.


Mixed cluster in CI

Goal
This is a subgoal of https://github.com/input-output-hk/cardano-node/issues/211
We want an integration test for the Legacy/OBFT to Shelley/OBFT transition phase.
This means that we want to run a cluster configuration with two segments -- nodes running cardano-sl and nodes running cardano-node -- with having a number of cardano-byron-proxy connecting those.
Implementation
The entire cluster is supposed to run in a NixOS test on a single machine, to lighten load on CI & make the test faster.
The cluster has to share the same genesis, for obvious reasons, so cardano-sl nodes must use external genesis.  Preferably we should use a genesis with configuration as close to mainnet as possible (to make the testing maximally relevant).
Deliverable
The final PR that enables this functionality is  https://github.com/input-output-hk/cardano-node/pull/269

Previous updates were given in the umbrella issue:

https://github.com/input-output-hk/cardano-node/issues/211#issuecomment-541475085
https://github.com/input-output-hk/cardano-node/issues/211#issuecomment-541712391
https://github.com/input-output-hk/cardano-node/issues/211#issuecomment-541716324
https://github.com/input-output-hk/cardano-node/issues/211#issuecomment-541826995
https://github.com/input-output-hk/cardano-node/issues/211#issuecomment-542323047
https://github.com/input-output-hk/cardano-node/issues/211#issuecomment-542790700

Legacy cluster bringup trouble
There are two problems, in two different contexts:

Nodes not creating blocks, in a single-machine-multi-node context,
Nodes failing to start, rejecting their (freshly-made) databases as malformed.

Nodes not creating blocks, in a single-machine-multi-node context
This setup has a fair number of divergence from the well-established road, mainly in the deployment part:

the iohk-ops part was heavily changed -- due to the necessity to pack everything in a single machine,
network-transport-tcp was modified to not do the claimed/DNS/numeric address check,

Branches in related repos:

https://github.com/input-output-hk/cardano-sl/tree/serge/ci-genesis
https://github.com/input-output-hk/iohk-ops/tree/serge/cardano-cluster
https://github.com/input-output-hk/cardano-node/tree/serge/mainnet-ci
https://github.com/deepfire/network-transport-tcp/tree/serge/drop-extra-check

Nodes failing to start, rejecting their (freshly-made) databases as malformed.
This setup is fairly traditional, except it also includes the network-transport-tcp changes -- although the DB-related failure is arguably unrelated.
Branches in related repos:

https://github.com/input-output-hk/cardano-sl/tree/serge/ci-genesis
https://github.com/input-output-hk/iohk-ops/tree/serge/external-genesis
https://github.com/deepfire/network-transport-tcp/tree/serge/drop-extra-check

There is some evidence that the error is caused by DB state loss, so is really a node misbehavior:

The error comes from Pos.DB.Block.GState.BlockExtra.getFirstGenesisBlockHash https://github.com/input-output-hk/cardano-sl/blob/51ad7c0503b1c52a75a6eb36096c407934136468/db/src/Pos/DB/Block/GState/BlockExtra.hs#L125
Adding tracing shows evidence that this function returns different values for the same input:

for getFirstGenesisBlockHash, it is always called with the same argument:
Untitled.txt
for its callee, resolveForwardLink: ```
resolveForwardLink = Just (AbstractHash 1a28c5b6d7b982396995008f856640cc68fbaf923ddbde42ac232b69d972863c), linkKey "e/fl/X A\160s\156\184\207\152\161v\169\144\248\169\v,\166\SYN\229A>#w\214\200HA\196k[&\176" [cardano-sl.MonadPseudoRandom:Error:ThreadId 149] [2019-10-17 15:33:47.21 UTC] rollbackSsc: most genesis block is passed to rollback getFirstGenesisBlockHash: genesisHash: AbstractHash 41a0739cb8cf98a176a990f8a90b2ca616e5413e2377d6c84841c46b5b6026b0 resolveForwardLink = Nothing, linkKey "e/fl/X A\160s\156\184\207\152\161v\169\144\248\169\v,\166\SYN\229A>#w\214\200HA\196k[&\176"
[cardano-sl.consolidate:Error:ThreadId 119] [2019-10-17 15:34:02.20 UTC] DBMalformed "Can't retrieve genesis block, maybe db is not initialized?"

I.e. we query the block DB twice, and it's a `Just`, then a `Nothing`.

So the next step is to find the mutator that does the damage.

After adding a tracepoint that @intricate suggested (at https://github.com/input-output-hk/cardano-sl/commit/016b38c3ba925d544d4f88996c7d85339f0ced18#diff-a9e07ec6470d6fa7c4708aada702011eR185):
getFirstGenesisBlockHash: genesisHash: AbstractHash 41a0739cb8cf98a176a990f8a90b2ca616e5413e2377d6c84841c46b5b6026b0
rezzzolveForwardLink = Just (AbstractHash 1a28c5b6d7b982396995008f856640cc68fbaf923ddbde42ac232b69d972863c), linkKey "e/fl/X A\160s\156\184\207\152\161v\169\144\248\169\v,\166\SYN\229A>#w\214\200HA\196k[`&\176"
    previous block: 41a0739cb8cf98a176a990f8a90b2ca616e5413e2377d6c84841c46b5b6026b0
    epoch: #0
    difficulty: 0

[cardano-sl.node:Info:ThreadId 141] [2019-10-16 16:32:43.19 UTC] Difference between current slot and tip slot is: 0
[cardano-sl.node:Debug:ThreadId 137] [2019-10-16 16:32:43.19 UTC] There are no new confirmed update proposals for our application
[cardano-sl.node:Info:ThreadId 150] [2019-10-16 16:32:43.19 UTC] blundLocation: about to call getConsolidateCheckPoint
getFirstGenesisBlockHash: genesisHash: AbstractHash 41a0739cb8cf98a176a990f8a90b2ca616e5413e2377d6c84841c46b5b6026b0
rezzzolveForwardLink = Just (AbstractHash 1a28c5b6d7b982396995008f856640cc68fbaf923ddbde42ac232b69d972863c), linkKey "e/fl/X A\160s\156\184\207\152\161v\169\144\248\169\v,\166\SYN\229A>#w\214\200HA\196k[`&\176"
Rocks.Del: "e/fl/X A\160s\156\184\207\152\161v\169\144\248\169\v,\166\SYN\229A>#w\214\200HA\196k[`&\176"
[cardano-sl.node:Info:ThreadId 150] [2019-10-16 16:32:43.19 UTC] blundLocation: about to call getConsolidateCheckPoint
[cardano-sl.MonadPseudoRandom:Error:ThreadId 150] [2019-10-16 16:32:43.19 UTC] rollbackSsc: most genesis block is passed to rollback
^C

[cardano-sl.diffusion:Error:ThreadId 122] [2019-10-16 16:32:48.81 UTC] stopping with exception AsyncCancelled

..i.e. the Genesis point is erased from the DB!
Rocks.Del: "e/fl/X A\160s\156\184\207\152\161v\169\144\248\169\v,\166\SYN\229A>#w\214\200HA\196k[&\176"`

https://github.com/input-output-hk/cardano-sl/blob/master/lib/src/Pos/Worker/Block.hs#L220 is the caller that drops the genesis point:

Pos.Worker.Block.dropObftEbb
Pos.DB.Block.Logic.rollbackBlocks
Pos.DB.Block.Logic.Internal.rollbackBlocksUnsafe
Pos.DB.Block.Slog.Logic.slogRollbackBlocks

So, at least the naive, first approach at interpretation looks like this --
￼￼￼
￼￼1. OBFT mode assumes that the the EBB is always present,
2. during cluster startup this does not hold

Fix for DBMalformed "Can't retrieve genesis block, maybe db is not initialized?" error is in https://github.com/input-output-hk/cardano-sl/pull/4247

The final deliverable is in: https://github.com/input-output-hk/cardano-node/pull/269

Documentation for running the CI cluster locally is at:
https://github.com/input-output-hk/cardano-node/blob/serge/mainnet-ci/scripts/README.org#ci-cluster

https://github.com/input-output-hk/cardano-sl/issues/4251 is a conditional blocker for merging of the cardano-sl dependency PR.

https://github.com/input-output-hk/iohk-nix/issues/237 -- a nasty caching bug that prevents local runs of the CI cluster (post-rebase).

https://github.com/input-output-hk/cardano-node/pull/269 was merged.


Default CSS for <progress> element causes CPU to spike.

This is on OS X, version 10.10.3 (Yosemite).
As shown in the animated GIF, enabling the following CSS style (which is present for <progress> elements) causes the CPU usage to spike:
-webkit-animation: animate-stripes 5s linear infinite;

From the Chrome profiling tools, you can see that all of the <progress> elements are being redrawn continuously while this CSS is being applied. Once it is removed, the CPU usage goes back down to zero and the redraw ends.
Outright removing this style only affects the display of indeterminate progress bars, as they appear to be designed to have a "barber poll" animation.
Something should be done so that package developers who introduce the use of a <progress> element do not inadvertently burn CPU.

I think the problem is that when adding a <progress> the animation runs forever and updates background-position which causes repaints.
Something that might help:

Only run the animation when there is no value. Or maybe package authors have to explicitly add a class.. like .is-buffering to trigger an animation.
Try to use transforms instead of background-position so it doesn't need constant repaints.

I was curious if not styling the progress bar would be better. Turns out it may be even worse.

I did notice that the transform:rotate based spinners I use in isotope don't trigger repaints while the default gifs do, although I don't see a difference in CPU usage. There should be a cheap way to make an indeterminate bar. Also, this: http://www.html5rocks.com/en/tutorials/speed/high-performance-animations/

Try to use the :indeterminate pseudo selector instead of running the animation by default and removing it on [value]

You can style the animation on :not([value]), that accomplishes the same.

Try to use transforms instead of background-position so it doesn't need constant repaints.

I tried that but it doesn't change as much as I'd hoped re: repaints or cpu usage. Perhaps I'm missing something?

@-webkit-keyframes animate {
  0% {-webkit-transform: translate(-50%);}
  100% {-webkit-transform: translate(0);}
}
progress {
  position: relative;
  -webkit-appearance: none;
  height: @progress-height;
  border-radius: @progress-height;
  overflow: hidden;
  background-color: @level-3-bg;
  border: 1px solid @stroke;
  &:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: @progress-height - 2px;
    -webkit-animation: animate 5s alternate ease-in-out infinite;
    background-image:
       linear-gradient(-45deg, transparent 33%, @progress-buffer-color 33%,
       @progress-buffer-color 66%, transparent 66%);
    background-size: 24px @progress-height, 100% 100%, 100% 100%;
    border-radius: @progress-height;
  }
}

As a test, I tried to just animate a <div>, like http://codepen.io/simurai/pen/de9522d286f3167c6eebd070060bcc02?editors=110 and CPU still spikes. Not a lot, but still too much for something that potentially runs infinitely.
I guess the problem is that if a package just drops a <progress> and for some reason, never adds a value, the animation will keep going forever. That progress might not even be visible. So here a couple options I can think of:

Remove the animation
Remove the animation by default, but keep it as opt-in. Like packages would need to add an is-buffering class or so.
Use a steps() animation. It would be more like a blinking, like once a seconds and not 60fps.
Not use an infinite iteration-count, maybe animate just for 10min or so. If a value isn't set till then, the animation would stop.

4 sounds good to me. Really, if a progress has no value for more than like 20 seconds I'd consider it hung anyway. Just drop the animation after a sensible period, that's better than draining a battery for no reason.

Ok, this is super odd.
I thought yesterday only the buffering progress was an issue, but today also the ones with a value keep repainting forever. I can't get the green repaint border to disappear, even when no animation is used. The only way is to manually change the value attribute in the DevTools.
Hmmm.. does the <progress> element use some kind of internal animation (requestAnimationFrame?) that is hard to stop? If so maybe Atom needs a custom progress component with performance in mind.

After some more testing: It's really random and depends on the environment. There is no repainting on a <progress> with a value if:

the progress section in the Styleguide is collapsed when reloading and then expanded.
Or when the tree-view is hidden but the section is not collapsed.
Or when atom-pane-container atom-pane .item-views is changed from display: flex to display: block. Or `

4 sounds good to me.

ok, yeah.. let's do that, regardless of the repainting issue above.

Closing this. The core + some community themes should get some fixes.
If the repainting/CPU spike still happens in certain packages, feel free to comment again. As seen above, it can depend on where the <progress> gets added.

Adding -webkit-appearance: none; removes the constant repainting for me. From that point, there are pseudo-selectors you can use to style the progress element. This post outlines them well: https://css-tricks.com/html5-progress-element/
Disabling the animation entirely might work, but it's an inexact solution.

An opt-in animated class like Boostrap's progress class uses seems like the best alternative to me. 6 seconds is arbitrary, and it doesn't give a user of the <progress> a possibility to keep it running.
Also, adding transform: translate3d(0, 0, 0); on progress puts it into its own rendering layer and ensures the continuous repainting is scoped only to that box. It seemed to reduce CPU usage 20% relative to not forcing it into its own layer.

An opt-in animated class like Boostrap's progress class uses seems like the best alternative to me.

Opt-in would be great, but currently there is no official "progress" component in Atom. It's up to themes to decide if they wanna restyle the native <progress> element. Adding a "progress" component like Bootstrap's is a good idea. We should look into that. :+1:

6 seconds is arbitrary, and it doesn't give a user of the  a possibility to keep it running.

A package author could keep the animation running forever with:
.my-package progress:indeterminate {
  -webkit-animation-iteration-count: infinite;
}

Having a certain limit by default just avoids the risk of adding a <progress> and then forgetting to remove it. Or when it just gets hidden with opacity or so.

Also, adding transform: translate3d(0, 0, 0); on progress puts it into its own rendering layer and ensures the continuous repainting is scoped only to that box. It seemed to reduce CPU usage 20% relative to not forcing it into its own layer.

AFAIK, forcing an own layer is good for animating transform and opacity, but not when there are repaints needed. Otherwise there will be repaint > push texture to GPU > repaint > push texture to GPU etc. and start to fill up memory. Maybe changing the design could be considered to remove the need for repaints.

Maybe changing the design could be considered to remove the need for repaints.

Basically if you expect to show a progress bar without a progress for a while, you should consider showing a spinner. Those are quite easy to animate cheaply.

Those are quite easy to animate cheaply.

Yeah.. probably good idea to replace the GitHub spinner gifs for that reason.


Replace OpenEdge ABL grammar

Description
The original OpenEdge ABL grammr is no longer maintained and the maintainer has now deleted the repository. This PR switches out for an actively maintained replacement - https://github.com/chriscamicas/abl-tmlanguage - that is currently the base for the VSCode, Atom, Sublime and TextMate.
A slight tweak is needed in the grammar compiler as the grammar is not stored in the path we expect and I've forced the addition to get around the really long regex in the grammar (I'll log an issue upstream next).
Checklist:

[x] I am changing the source of a syntax highlighting grammar

Old: using a fork of the original repo
New: using the new grammar source

/cc @chriscamicas FYI as the maintainer of the new grammar... your grammar will now be used by GitHub.com once this PR has been merged 🎉
Fixes https://github.com/github/linguist/issues/4846

Thanks @lildude I'm so glad some part of my work will be avalaible to the large community of github users 😍


libratbag: init at v0.9.903

Motivation for this change
Libratbag is a daemon and utility for configuring DPI, buttons, etc. of programmable gaming mice.
Things done
Added package for libratbag and service module ratbagd.
Added piper: gtk frontend app for ratbagctl

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

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

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

See also https://github.com/NixOS/nixpkgs/issues/35516

I've included your suggestions, thanks.

Do you plan to package piper as well? It would be nice to have some app to test if this is working.

I was going to do that too. Would that be a separate PR? Libratbag package does have a command line that I have tested with my Logitech G403.

For closely related packages like this, a single PR is fine.

I am aware of the issue and it will be fixed in the next meson release (#46020). At the moment we try to fix this by adding python before meson in nativeBuildInputs but I am not sure 100% sure it will work for Python programs. What expression do you have?

Pushed my expression for piper

I patched out 2 lines from meson.build. One is it can't verify python gobject is installed. This must have something to do with pkg-config? I don't know how any of that works. And the other line includes a script that does something with gtk-update-icon-cache which fails. I think we don't need icon cache in the store anyways?

Yep, only packages listed in build inputs get added to the PKG_CONFIG_PATH. You can add pygobject there.
Right, gtk-update-icon-cache is not good for us, we have hicolor-icon-theme setup hook removing the generated cache file for us, though, maybe we should still run the file in case the glib-compile-schemas is ever uncommented. See, for example, this for how to make it runnable:
https://github.com/NixOS/nixpkgs/blob/874b045cc891e45f7e391a9fca16aa69b45320ff/pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix#L29-L32

Ok I've fixed up piper, using the python builder now. It works with my logitech mouse.

Is there anything else I need to do? Should I squash commits or anything?

Each package should be in separate commit, otherwise it looks good.

Thank you.


Publish Major version (v1.0.0)

I think once all the current issues are closed and meilisearch v1.2.0 lands, It would be a great Idea to make this package stable and start publishing major versions of it (v1.0.0)
cc @brunoocasali

Hi @ahmednfwela
I wrote this guide a few weeks ago, which talks about the stability of our SDKs and how we will handle versioning now after v1.
In summary, this is what we are looking for in every SDK, but so far, I would like to wait a little longer to give this SDK the stable stamp.
Thinking more about the subject, Dart 3 is coming, and there are some changes I would like to make to the code before a possible v1. Also, as I stated in the guide, I would like to collect more data before making that commitment!
Do you have a customer or a particular use case needing a v1 for this SDK?

well it's not really a requirement for me to have v1, it's merely a suggestion, I also agree it's better to wait for dart 3.

thanks, that would be very kind of you!
I will email the details

I will close this issue since I believe this package will become stable soon alongside other integrations.
Also, is a desire to make all the integrations stable, so I don't see the point of keeping this issue especially... open :D


Support type defs with companions (#204)

This enables macro expansion for types that have companion objects.
Not only will compilation actually succeed with an @identity macro, but the companion will be accessible to the macro user exactly how Defn.Class companions are handled.
Given that I had to modify code which affects the old scalamacro macros, I have a feeling that they did not support this either. I did not test the old macros, only the scalameta macros.

Can Defn.Type have companion objects?

@olafurpg I'm not sure how it works exactly under the hood, but scalac obviously expects types to have companions, or else this bug would not exist.
2.11 is green, 2.12 is not. I need to modify Namers.scala in the 2.12 sources, however the file is drastically different from 2.11 in regards to how weakEnsureCompanionObject now depends on companionModuleDef inside scala.tools.nsc.Typechecker which must take a ClassDef.

I was looking in the wrong place, it's identical

@olafurpg Side note: the drone badge on the README is failing to render?

I'm a bit late to the party, but could you guys explain the background behind this change? In the language specification, only classes and traits can have companions, so I'm unsure whether we should pretend that type members have companions too.

@xeno-by Perhaps to allow for this use case


Mixer logging should use a request-id to prefix log statements

Mixer uses glog for logging.
It would be useful if we could follow equivalent of trace root span in the log files.
There are several alternatives, envoy injects a X-transaction-id header, which can be used to identify a request istio wide.
Mixer could also generate a request UUID or use one that is available from the grpc Server.

is that transaction header available for non-HTTP traffic as well?


Changes to support Laravel 5.8

The version would need to increment to 6.* as there are potential breaking changes.  Hope you approve.

Codecov Report

Merging #110 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #110   +/-   ##
=======================================
  Coverage   76.12%   76.12%
=======================================
  Files          15       15
  Lines         356      356
=======================================
  Hits          271      271
  Misses         85       85

Continue to review full report at Codecov.

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

I guess since this no longer supports anything less than 5.8.* (without possibly changing the User foreign key integer size), then the documentation needs updating.


Where to define type?

The README & code references config.type [1] [2] while the schema says should be in options.  Update the schema to define type at top level?
[1] connector
[2] sender

Actually, there are some references to settings.options.type.  Not clear to me why we want a general options instead explicitly defining settings in the schema.  Maybe to allow for something like new Kafka.Producer(Object.assign({}, defaults, settings.options)?


Issue with Codebuild timeouts after repeating module.eks.null_resource.wait_for_cluster[0]: Still creating

I have issues
I'm submitting a...

[ ] bug report
[ ] feature request
[x] support request - read the FAQ first!
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
Running eks module in codebuild and getting a repeat of this until an hour later and codebuild times out: module.eks.null_resource.wait_for_cluster[0]: Still creating... [1m0s elapsed]·[0m·[0m]
This happens after successfully creating the egress "module.eks.aws_security_group_rule.workers_egress_internet"
This was after the successful creation of the cluster as I see it in EKS.
module.eks.aws_eks_cluster.this[0]: Creation complete after 11m47s
I have set this in my eks module:
wait_for_cluster_cmd              = "until curl -k -s $ENDPOINT/healthz >/dev/null; do sleep 4; done"
Didn't seem to make a difference. I can't tell how it is getting stuck or on what. The trace logs don't seem to lead me to any good solution.
If this is a bug, how to reproduce? Please include a code sample if relevant.
What's the expected behavior?
To not spin on waiting.
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details
Codebuild AWS Linux

Affected module version:
OS: linux
Terraform version: .12

Any other relevant info

Terraform needs to be able to communicate with the cluster in order to create the aws-auth ConfigMap. So this is probably a networking issue.
I haven't used CodeBuild.
Is your build environment allowing outgoing internet connections? You need to have cluster_endpoint_public_access = true (default).
Or does your build have internal access to the VPC where you created the cluster if you have cluster_endpoint_public_access = false and cluster_endpoint_private_access = true?
You can stop the module from attempting to create the configmap with manage_aws_auth  = false but then you must create it yourself before worker nodes will be able to join the cluster.

Thanks I believe I got past that issue, but when running I still dont get the worker nodes registered in my node group just an empty cluster. My codebuild log shows a creation of an AWS auth config:
awsauth.txt
My worker config in my cluster looks like this:
worker_groups = [
{
name          = "workers"
instance_type = "t3.small"
asg_max_size  = 2
additional_security_group_ids = ["sg-0bd04c3bd332225aaa"]
iam_instance_profile_name     = "NodeInstanceRole"
kubelet_extra_args  = "--node-labels=node.kubernetes.io/lifecycle=normal"
}
]
}

Sorry fory lack of understanding on the topic still a bit new to EKS. I believe I use worker nodes self managed by using the worker nodes setup above. Correct? Otherwise I could create my own managed node group module. Thanks for the help.