Detect changes in nodes and links

Once https://github.com/openwisp/netdiff/pull/88 is merged, add support for it here, ensuring changes in nodes and links are detected (write a test for it).
Once the build passes and the PR is ready to be merged, we can release a new version of netdiff and increase the minimum version required here.

Here's an update on this one.
I tested it with the netdiff patch: https://github.com/openwisp/netdiff/pull/88
Here's what I found that needs to be fixed:

1 test fails
node and link properties that have changed are not updated
node and links which have new properties do not show this


When importing report symbolize keys only in 'db_options:' section

Issue: After importing report columns defined in include section of report were not populated.
https://bugzilla.redhat.com/show_bug.cgi?id=1498471
Report generator expect keys in include: section of report to be string.
Importing report  (after https://github.com/ManageIQ/manageiq/pull/15273) change keys to symbols and include: section of report was skipped.
Fix: Symbolize keys only in db_options: section when importing report
\cc @gtanzillo
@miq-bot add-label bug, core, reporting, euwe/yes, fine/yes
BEFORE:

AFTER:

@miq-bot assign @gtanzillo

Euwe backport details:
$ git log -1
commit aa2d0e07994d2f8d7f3b01b228cb3316c75a853b
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Wed Oct 11 16:17:31 2017 -0400

    Merge pull request #16143 from yrudman/simbolize-only-db-options-section-when-importing-report

    When importing report symbolize keys only in 'db_options:' section
    (cherry picked from commit ce2d0a4c015138f45c82a371a75c5d77bf2a0265)

    https://bugzilla.redhat.com/show_bug.cgi?id=1501478

Fine backport details:
$ git log -1
commit caf0a3371aa1a99d4a3a05657e8518adb05adcfd
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Wed Oct 11 16:17:31 2017 -0400

    Merge pull request #16143 from yrudman/simbolize-only-db-options-section-when-importing-report

    When importing report symbolize keys only in 'db_options:' section
    (cherry picked from commit ce2d0a4c015138f45c82a371a75c5d77bf2a0265)

    https://bugzilla.redhat.com/show_bug.cgi?id=1501475


xwindow module makes other modules unclickable

Describe the issue
If I have xwindow on a bar, then it would block all click on that bar and prevent any other modules to be clicked on. And if the mouse cursor re-enter the bar, it will remain the same as when the click first happened: if I intend to click on a clickable module, the cursor turns to a pointer, nothing happen when I click, and the cursor remains the pointer shape when it re-enters the bar; similarly, the cursor remains normal shape if I first clicked on an empty space on the bar.
To Reproduce
A minimal but complete config with which the problem occurs:
[colors]
background      = ${xrdb:color0:#282828}
foreground      = ${xrdb:color15:#ebdbb2}
background-alt  = ${xrdb:color8:#928374}
foreground-alt  = ${xrdb:color7:#a89984}
primary         = ${xrdb:color4:#458588}
secondary       = ${xrdb:color12:#83a598}
alert           = ${xrdb:color11:#fabd2f}

[bar]
width = 100%
height = 20
fixed-center = true

background = ${colors.background}
foreground = ${colors.foreground}

line-size = 0
border-size = 0
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1

font-0 = NotoSansMono-Regular:pixelsize=9;2

[bar/test]
inherit = bar
bottom = true

modules-left =
modules-center =
modules-right = datetime xwindow

cursor-click = pointer
cursor-scroll = pointer

;;;;;;;;;;;;;; MODULES CONFIG ;;;;;;;;;;;;
[module/xwindow]
type = internal/xwindow

label = %title%
label-maxlen = 60
label-empty = ""

;type = custom/script
;interval = 2
;exec = xdotool getactivewindow getwindowname
;label-maxlen = 60

[module/datetime]
type = internal/date
interval = 5

format-prefix-foreground = ${colors.foreground-alt}

date = "%a, %d %b %Y"
date-alt = "%Y-%m-%d"

label = %date%

Polybar Log
Theres no warnings or errors when launching the bar, or at the time the bar is clicked on.
Environment:

WM: qtile
Output of polybar -vvv:

polybar 3.2.1

Features: +alsa +curl -i3 +mpd +network +pulseaudio +xkeyboard

X extensions: +randr (+monitors) -render -damage -sync -composite +xkb +xrm +xcursor

Build type: RelWithDebInfo
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -Wextra -Werror -Wno-noexcept-type -O2 -pedantic -pedantic-errors
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Hmm, very strange behaviour.
When you run polybar, can you add the -s flag to the command and post the output of that here (you can kill it after the first line appears). This will print out the intermediate format polybar uses to render the bar.


Expose API so we can draw to Compositor layer

Drawing to the compositor layer instead of the eye buffer is useful for a couple of things. An important use case is to render text more clearly. They already provide scripts for this in their Unity SDK called OVROverlay.

In order to expose this feature in Godot, we could extend Godot's Viewport  (e.g: OvrViewport) and have it backed by an ovr compositor layer.


ACCOUNT_JSON_INFO = 'https://www.instagram.com/{username}/?__a=1&__d=dis' no longer working

Hi there! It looks like that  ACCOUNT_JSON_INFO = 'https://www.instagram.com/{username}/?__a=1&__d=dis' is not working anymore.
Response is: Sorry, this page isn't available.
The link you followed may be broken, or the page may have been removed. Go back to Instagram.
Does anyone know what I should add to the URL  'https://www.instagram.com/{username}' to get account json info?
Tks!

I believe we're no longer in a golden age. We're now in a "shit age" due to Instagram's new rules. LOL. This HSON API will end soon!

Hi there! It looks like that ACCOUNT_JSON_INFO = 'https://www.instagram.com/{username}/?__a=1&__d=dis' is not working anymore.
Response is: Sorry, this page isn't available. The link you followed may be broken, or the page may have been removed. Go back to Instagram.
Does anyone know what I should add to the URL 'https://www.instagram.com/{username}' to get account json info?
Tks!

Hello, I also have the same issue. I think they have probably changed the magic URL parameters ?__a=1&__d=dis. I searched all over the internet and eventually found a solution on Reddit: https://www.reddit.com/r/webscraping/comments/19fgptv/comment/kjjy2v7/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
and on this web scraping service's blog: (https://scrapfly.io/blog/how-to-scrape-instagram/)https://scrapfly.io/blog/how-to-scrape-instagram/) and their github [https://github.com/scrapfly/scrapfly-scrapers/blob/main/instagram-scraper/instagram.py](https://github.com/scrapfly/scrapfly-scrapers/blob/main/instagram-scraper/instagram.py
To retrieve account information, you should proceed as follows:
curl -X GET "https://i.instagram.com/api/v1/users/web_profile_info/?username=google" \  -H "User-Agent: iphone_ua" \  -H "x-ig-app-id:<PHONE_NUMBER>92459"
You can try the curl request directly here https://reqbin.com/curl and you will see that the response is a JSON containing the information accessible via the old method '?__a=1&__d=dis.'
Personally, my Instagram bot is implemented in Java, and I had to update my code with the new method. You can do the same in PHP:
`function getUserInfo($username) {
$url = "https://i.instagram.com/api/v1/users/web_profile_info/?username=" . $username;
$userAgent = "iphone_ua";
$appId = "936619743392459";
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, [
    "User-Agent: $userAgent",
    "x-ig-app-id: $appId"
]);

$response = curl_exec($curl);

if ($response === false) {
    echo "Erreur Curl : " . curl_error($curl);
    curl_close($curl);
    return null;
}

curl_close($curl);
return $response;

}
`

It seems there is a formatting issue with the initial request I submitted.
Try this:
curl -X GET "https://i.instagram.com/api/v1/users/web_profile_info/?username=google"
-H "User-Agent: iphone_ua"
-H "x-ig-app-id:<PHONE_NUMBER>92459"
I just tried again, and it's working fine. Here's a screenshot:

It will end soon.
On Sun, Jan 28, 2024 at 1:20 PM bjmeo8 @.***> wrote:

It seems there is a formatting issue with the initial request I submitted.
Try this:
curl -X GET "
https://i.instagram.com/api/v1/users/web_profile_info/?username=google"
-H "User-Agent: iphone_ua"
-H "x-ig-app-id:<PHONE_NUMBER>92459"
I just tried again, and it's working fine. Here's a screenshot:
Screenshot.2024-01-28.at.11-16-25.Run.Curl.Commands.Online.png (view on
web)
https://github.com/postaddictme/instagram-php-scraper/assets/68184289/5dd81ba7-fe04-4aa9-8f49-cb7593725173
—
Reply to this email directly, view it on GitHub
https://github.com/postaddictme/instagram-php-scraper/issues/1134#issuecomment-1913545664,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT2Z5SCOAXULQAIP7MELYQYQ77AVCNFSM6AAAAABCKLT3PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGU2DKNRWGQ
.
You are receiving this because you commented.Message ID:
@.***>

You think? Why?

I have been using an Instagram scraper since 2015, which enabled me to earn $10,000 each month.
However, Instagram has recently started using AI to crack down on such activities. Although am were able to bypass the restrictions using residential proxies, Instagram is now taking further measures to put an end to this practice.
They started with hashtags and are now targeting users. It seems that even the workarounds will soon be eliminated.

Okay, I understand your point of view. But does that mean that all the bots, scraping services, etc., in the market will soon go extinct too? Wow, that will be a tough blow for many.

I agree with you. And yes
On Sun, Jan 28, 2024 at 1:53 PM bjmeo8 @.***> wrote:

Okay, I understand your point of view. But does that mean that all the
bots, scraping services, etc., in the market will soon go extinct too? Wow,
that will be a tough blow for many.
—
Reply to this email directly, view it on GitHub
https://github.com/postaddictme/instagram-php-scraper/issues/1134#issuecomment-1913553540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT2YYIHGYKC6ITPADJZDYQYU4BAVCNFSM6AAAAABCKLT3PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGU2TGNJUGA
.
You are receiving this because you commented.Message ID:
@.***>

@beshoo how were you able to earn that much money just by scraping instagram ? :o

"I didn't just scrape Instagram, I actually created a website called instaranker.com. It's a service where you can add your Instagram account and it will automatically engage with other users by liking, following, and saving their posts.
I was able to make around $300 to $400 a day from 2016 to 2020. However, things started to change after 2021 website closed at the end of 2021..
I have another website called viralcaption.com that only scrapes data. I had to remove two functions which were user information and tag information. but am sure I will close the service very soon.

I wasn't able to reproduce your steps. But it worked as an insight for me and I did as follows:

Changed my browser user-agent (try this browser extension for example: https://chromewebstore.google.com/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg) to this:

Mozilla/5.0 (Linux; Android 9; SM-A102U Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36 Instagram <IP_ADDRESS>.107 Android (28/9; 320dpi; 720x1468; samsung; SM-A102U; a10e; exynos7885; en_US; 239490550)

I pasted (without quotes) "https://i.instagram.com/api/v1/users/web_profile_info/?username={username}" on Chrome and I was able to get the JSON response. ({username} must be replaced by your target username)

To better visualize the results I recommend installing  JSON Beautifier & Editor extension on Chrome (https://chromewebstore.google.com/detail/json-beautifier-editor/lpopeocbeepakdnipejhlpcmifheolpl)

Yeah i found something called ?__user=0 it's probably useless information but maybe someone else can use this. Also ?__d=1 has a same kind of response.

__d has to be dis  only.
ps: __user=0 did nothing!

A bit ago have i always used __d=1 to get data too until it got patched and then i moved to __d=dis. I am not sure why it has been patched.

I have been using an Instagram scraper since 2015, which enabled me to earn $10,000 each month. However, Instagram has recently started using AI to crack down on such activities. Although am were able to bypass the restrictions using residential proxies, Instagram is now taking further measures to put an end to this practice. They started with hashtags and are now targeting users. It seems that even the workarounds will soon be eliminated.

@jfrenl

I heard you were talking about proxies and i was wondering if you had any cheap providers for proxies. Because it doesn't matter if it is residential proxies or datacenter ips.

@beshoo I am not sure if you do know something about this but somehow this instagram url https://www.instagram.com/nike/?__a=1&__d=dis response back as status code 201. But normally you would get a 404 page from instagram.

Even though, there is no json response....
On Wed, Feb 14, 2024, 8:15 PM jfrenl @.***> wrote:

@beshoo https://github.com/beshoo I am not sure if you do know
something about this but somehow this instagram url
https://www.instagram.com/nike/?__a=1&__d=dis response back as status
code 201. But normally you would get a 404 page from instagram.
—
Reply to this email directly, view it on GitHub
https://github.com/postaddictme/instagram-php-scraper/issues/1134#issuecomment-1944265062,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT225ORLZ45MJ3WYNRQ3YTTWMNAVCNFSM6AAAAABCKLT3PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBUGI3DKMBWGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yeah that's right but any idea why statuscode 201 created?

I am wondering how paid APIs like https://rapidapi.com/neotank/api/instagram130 work? I've checked it for a week and it seems to work pretty good, and /account-info endpoint returns exactly what https://i.instagram.com/api/v1/users/web_profile_info/ endpoint returns (I think)...

I am wondering how paid APIs like https://rapidapi.com/neotank/api/instagram130 work? I've checked it for a week and it seems to work pretty good, and /account-info endpoint returns exactly what https://i.instagram.com/api/v1/users/web_profile_info/ endpoint returns (I think)...

I am pretty sure the person uses lots of accounts in the backend and due to people paying every month he can keep this project up. But I have a different solution that doesn't cost me anything.

I am wondering how paid APIs like https://rapidapi.com/neotank/api/instagram130 work? I've checked it for a week and it seems to work pretty good, and /account-info endpoint returns exactly what https://i.instagram.com/api/v1/users/web_profile_info/ endpoint returns (I think)...

I am pretty sure the person uses lots of accounts in the backend and due to people paying every month he can keep this project up. But I have a different solution that doesn't cost me anything.

Can you share it?
I been looking for a bypass for ages now


Fix a syntax error

$for(babelfonts/pairs)$ will cause an error:
"template" (line 466, column 16):
unexpected "/"
expecting "." or ")$"

Sorry, there is no such issue with the Docker version.


Assets: Sound system

Optional: Can we try to create stereo effects?

Pretty much done, closing this


App Details pop up with multiple screenshots display the left scroll bar out of alignment.

STR-
Go to Adv App
Open Pop Up Details
RESULTS - Left Scroll bar is not aligned properly
EXPECTED RESULTS - Should be aligned properly.

When you have multiple screenshots, the left carousel bar is misaligned.

This is an issue of the carousel in the modal taking on the custom positioning of the carousel in the main Center screen.
@wski to fix, you can add
.modal .carousel-wrapper .prev { left: 0px; }
to https://github.com/ozone-development/ozp-center/blob/master/app/styles/_carousel.scss -thanks!

Passed on Latest

Passed on Latest

Passed on staging.


Does your blog have an RSS feed?

I would like to subscribe to https://alexplescan.com/posts/ via RSS.

Hey @simevidas - thanks for reaching out!
Yes, there's an RSS feed you can access at https://alexplescan.com/feed.xml
This was a bit hidden, so I've added a more prominent link to it on https://alexplescan.com/posts/ 😄


Update protocol to 1.12 and major changes

This pull request changes core concepts of the project but I thought I'd share my work anyway. There are a  few things to be fixed but most of the bot is working. You can find more details about the changes on my fork's page. Feel free to ask any questions. Thanks!

Cool


WAF listener policies get dropped (Listener configs erroneously overwritten when multiple ingresses are present for the same host)

Describe the bug
If multiple ingress objects with differing annotations exist for the same host, the configuration from the last encountered ingress object will overwrite the configuration from the previous ingresses instead of merging them.
As an example, WAF policies that are supposed to be applied to a listener do not get applied if a subsequent ingress with a name that causes it to be sorted later is present.
This is because a new listener config object is always created when processIngressRuleWithTLS is invoked in https://github.com/Azure/application-gateway-kubernetes-ingress/blob/8242b5613caa1e8232f1df69a968ec31f359f3b5/pkg/appgw/ingress_rules.go#L62
To Reproduce
Steps to reproduce the behavior:
Given
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    appgw.ingress.kubernetes.io/waf-policy-for-path: <policy1>
  name: ingress-a
spec:
  ingressClassName: azure-application-gateway
  rules:
  - host: <host>
    http:
      paths:
      - backend:
          service:
            name: service-a
            port:
              number: 80
        path: /*
        pathType: ImplementationSpecific
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    appgw.ingress.kubernetes.io/waf-policy-for-path: <policy2>
  name: ingress-z
spec:
  ingressClassName: azure-application-gateway
  rules:
  - host: <host>
    http:
      paths:
      - backend:
          service:
            name: service-b
            port:
              number: 80
        path: /foobar
        pathType: ImplementationSpecific

FirewallPolicy will not be set on the listener associated with host <host> because sorting by name guarantees that ingress-z gets processed after ingress-a.
Ingress Controller details

Output of kubectl describe pod <ingress controller> . The  pod name can be obtained by running helm list.

Containers:
  ingress-azure:
    Container ID:   containerd://6c292665be674834347c560c2b4c24937abdf9ce809777ced115929736fda7a9
    Image:          mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.5.0
    Image ID:       mcr.microsoft.com/azure-application-gateway/kubernetes-ingress@sha256:d3f2df83ef3e93acbd127208fcca607dbf825fa90a75de7e218aa05960555c97
    Port:           <none>
    Host Port:      <none>
    State:          Running
      Started:      Wed, 16 Mar 2022 15:33:46 +0800
    Ready:          True
    Restart Count:  0
    Liveness:       http-get http://:8123/health/alive delay=15s timeout=1s period=20s #success=1 #failure=3
    Readiness:      http-get http://:8123/health/ready delay=5s timeout=1s period=10s #success=1 #failure=3
    Environment Variables from:
      kube-system-cm-ingress-azure  ConfigMap  Optional: false
    Environment:
      AZURE_CLOUD_PROVIDER_LOCATION:  /etc/appgw/azure.json
      AGIC_POD_NAME:                  kube-system-ingress-azure-69d845c5c-lrmjs (v1:metadata.name)
      AGIC_POD_NAMESPACE:             kube-system (v1:metadata.namespace)
    Mounts:
      /etc/appgw/ from azure (ro)

Output of `kubectl logs .

I0316 07:58:59.357272 1 ingress_rules.go:41] Attach WAF policy: <policy> to listener: fl-56c96bb38b015f7a395426ef9c97e233

-- App Gwy config -- {
-- App Gwy config -- "id": "<redacted>/httpListeners/fl-56c96bb38b015f7a395426ef9c97e233",
-- App Gwy config -- "name": "fl-56c96bb38b015f7a395426ef9c97e233",
-- App Gwy config -- "properties": {
-- App Gwy config -- "frontendIPConfiguration": {
-- App Gwy config -- "id": "<redacted>/frontendIPConfigurations/appGatewayFrontendIP"
-- App Gwy config -- },
-- App Gwy config -- "frontendPort": {
-- App Gwy config -- "id": "<redacted>/frontendPorts/appGatewayFrontendPort"
-- App Gwy config -- },
-- App Gwy config -- "hostNames": [
-- App Gwy config -- "<host>"
-- App Gwy config -- ],

Note the missing:
-- App Gwy config -- "firewallPolicy": {
-- App Gwy config -- "id": "<policy1>"
-- App Gwy config -- },

Looks that we have the same issue with our AGIC 1.6.0. Previously we were able to add multiple ingresses with different WAF annotations, same host and some non-root paths and it correctly created the Route path configurations with attached WAF policy.
We used that to attach a couple of dozens dedicated policies on several hosts on some paths. Now we wanted to add another policy to some of that hosts on the root path / level and when we tried to do it exactly the same way as before, but with path: / it didn't attach the policy to the HTTPS listeners on all the hosts where the ingress was not the last in alphabetical order in the list of ingresses for that host, while the logs shows:
Attach WAF policy:  to listener:  for all of the new ingresses.


🐞 [Bug]:  loading nodes on mainnet stuck

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Dashboard
What happened?
I was trying to deploy a micro vm on mainnet the loading is stuck in loading node while saying press load nodes and no button with this label exist
Steps To Reproduce
in mainnet try to deploy a  microvm
which network/s did you face the problem on?
Main
version
2.4.2
Twin ID/s
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

Relevant log output
no logs

can we try it on a slow network?

@ashraffouda I tried multiple times on slow 3G network and couldn't reproduce the issue. Can you try again? and if faced the issue again, can you attach the logs from the Dashboard logs?

didn't happen with me again u can close until we see it again


Update postgres.md

Line 34: Added installation section for Power Apps and how to download the exact installer for Postgresql connector with power apps.

@bezhan-msft - Could you review this PR?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@oseghr
Add a #sign-off comment to signal that the PR is ready to go through final review and then go live.

Hi @DougKlopfenstein - In the public repo, the assigned reviewer should add a #sign-off comment. If you'd like @oseghr to confirm that the PR is ready to merge first though, we can wait for confirmation. Thanks!

@DougKlopfenstein, @bezhan-msft, @oseghr
Is this PR ready to merge?

#sign-off


[BUG]: User is not able to logout from the site.

Describe the bug
User is not able to logout after login to the site.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://conduct.iridium.software/'
Click on 'Sign In or Register'
After Sign In, click on hamburger icon and try to logout
You will not able to logout

Expected behavior
When user click on logout, user will logout from the site and redirected to the Sign In/ Register/ Home page.
Screenshots

Desktop:

OS: Windows 10 Home
Browser: Brave ( Version : 1.58.131 )

Fixed with https://github.com/IridiumIdentity/iridium-ui/commit/28d416201fdb7fedae103664c2a9778332eec434


Send relevant GCM messages on call start / accept / decline.

@jiayliu @chuckhays

@jiayliu @chuckhays PTAL

I likely made a lot of the same lint fixes you did, hope that doesn't cause too much pain.

hitting pause button to wait for Chuck's change to go in so I can merge it and add the last GCM call. Will be writing unit tests in the meantime.

Mine is merged now.

PTAL

.gitignore is still not in the change list.

But it shouldn't be in the changelist. Everything in out/ is already git ignored.
The previous update was to remove it from the CL (for when I found out that git ignoring tracked files doesn't do anything).
Am I missing something?

Haha, you are right. lgtm
On Fri, Feb 6, 2015 at 2:44 PM, Zeke Chin<EMAIL_ADDRESS>wrote:

But it shouldn't be in the changelist. Everything in out/ is already git
ignored.
The previous update was to remove it from the CL (for when I found out
that git ignoring tracked files doesn't do anything).
Am I missing something?
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/pull/40#issuecomment-73327107.

--
Jiayang Liu

LGTM as well.


[Bug]: When height is changed from minimum to a larger size input space is also expanded along with the label space

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
Drag and drop any of the Input type widgets and change height property to Auto height with limits, Change the Min height to a larger size than the actual height and observe the Input space is also getting expanded, but its different for the select type widgets.
Which one is the right way to get expanded, Input type widgets or the Select type widgets
Currency Input (Input, Phone input)
Date picker (Multi tree select, Multi select, Select, Tree select)

Hey @Sripriya93 I was checking this issue, it is the same expected behavior in the release, we shouldn't divert from anything different from the release (the screenshot is what we have in the release). So please close the issue if you agree.

Based on the comment above, closing this issue for dynamic height. But as part of release this is still an issue, so if we could push this issue to the concerned person, it could be solved in release. @rohitagarwal88 , could you help here please.


Stop words not being applied unless you pass language to Article

Wondering if this is normal behavior but I am not seeing stop words applied unless I pass in language= on the article creation. This code displays the behavior I'm seeing,
`from newspaper import Article
url = "http://www.finanzas.com/noticias/empresas/20180404/israel-chipre-grecia-quieren-3815802.html"
#Create an Article, download, parse, nlp
article = Article(url)
article.download()
article.parse()
article.nlp()
print(article.keywords)
#I get,
#['chipre', 'gasoducto', 'los', 'quieren', 'el', 'grecia', 'conecte', 'la', 'y', 'impulsar', 'que', 'israel', 'en', 'europa', 'del']
#stop words are included
print(article.meta_lang)
#I get,
#es
#lang detected correctly
#So I create a new Article w/ language set to article.meta_lang, download, parse, nlp again...
article = Article(url, fetch_images=False, language=article.meta_lang)
article.download()
article.parse()
article.nlp()
print(article.keywords)
#I get,
#['chipre', 'gasoducto', 'ámbito', 'quieren', 'yneten', 'grecia', 'tubería', 'conecte', 'tsipras', 'impulsar', 'última', 'israel', 'europa']
#stop words applied correctly`
Is this the expected behavior? I would think if newspaper could detect the language it should apply the language rather than having to create a new article, download, parse and nlp again which waste time and bandwidth.
Thanks!

Any news on that? I could reproduce the exact same behaviour. I got an article in german and the keywords were really weird. So I did the same op did and got better results. Unfortunately all words will be in lowercase as well.
Please let me know if there are any news on that.


Reloading  breaks Node integration

Repro Gist
This is similar to #1766.
Repeatedly calling <webview>.reload() breaks node integration. After breaking, things like window.process are unavailable inside the <webview>. E.g.
var wv = document.createElement("webview");
// ...
wv.reload();
wv.reload();

Holding a keyboard accelerator wired to reload() (e.g. ⌘R) causes the same breakage. (See repro gist)

I have an imperfect workaround via dom-ready:
// susceptible to this issue
ipc.on("reload-webview", function() {
  wv.reload();
});

// avoids this issue
wv.addEventListener("dom-ready", function() {
  ipc.once("reload-webview", function() {
    wv.reload();
  });
});

(I say "imperfect" because we should be able to reload before the DOM is ready.)

This is tested against 0.26.1 due to #1804.


Is there a way to keep the token appearance after resigning firstResponder?

Hello! I see that when the token view resigns first responder, the tokens become plain strings. Is there a way to keep the token appearance when it's no longer first responder?

set  tokenView.removesTokensOnEndEditing = false


What's the right syntax for parameterizing the column name in a WHERE ... IS NOT NULL query?

 AS element
		FROM ?
		WHERE ? IS NOT NULL
	`,
	name,
	"charge_green",
	name,
)

What did you expect to see?
The query returns results, replacing each of the question marks with the corresponding Go arguments to Query().
What did you see instead?
Go mangles the last ? and actually sends that raw to MySQL, which of course complains about invalid syntax.
Workaround
In order to resolve this Go standard library oddity, I am currently using fmt.Sprintf to generate the query. This works for this small example, but significantly increases the risk of system compromise by SQL injection.
Related
Originally, I tried to accomplish this using the upper ORM, but that API does not currently support DISTINCT on select columns:
https://github.com/upper/db/issues/338

I ran into that recently, the best I could come up with was checking column and/or table names with if strings.ContainsAny(name, ";()$%{}") { return error }.

We don't really use our issue tracker for questions. More people will see your question, and you will get better answers, if you ask on a forum rather than on the issue tracker. See https://golang.org/wiki/Questions.
In this case, most databases do not support placeholder values for table or column names. For column and table names, you probably want to be whitelisting which ones are valid, regardless, and not using any kind of user input. fmt.Sprintf with one of your whitelisted names is likely your safest bet, but this advice is provided without warranty of any kind.


[BUG] Context Menu position not updating

The postion of the menu dose not update if the menu is already open and the user right clicks in another location in the same target.
This works properly in the "Radix UI" implimentation where the location of the menu changes properly.
In shadcn, the menu keeps repoening in the inital location no matter where in the target container the user clicks.

@Taimoor-Tariq Can you maybe provide more details by attaching video or something? I'd like to look into this if possible.

@shadcn I'd like to check this out if this is a valid bug.

@Taimoor-Tariq @shadcn, The problem arises when you rapidly click within the context menu. Otherwise it works perfect.

can confirm that removing the data-[state=closed]:animate-out class fixes the issue

Yup, I've tested it. Removing the class fixes the bug but it will also remove the context menu's closing animation.

It seems this is the issue from Radix UI itself. @Taimoor-Tariq @shadcn, Do you guys think we can close this or you have something else in your mind to fix this?

this issue is from the tailwind-animate package so I think we can close this here

I've found this to be working in the latest documentation of radix UI: https://www.radix-ui.com/primitives/docs/components/context-menu
Updating Radix UI to the latest version however doesn't fix the issue in ShadCN


Promotions management

Fixes #36

@lonk Can you merge master into your branch so that it can be merged into master easily afterwards ?

@gjuchault Done

:+1:


Clean up the Reporting Tools

At some point, @youngmit  and @chris10mckenz built some new reporting tools. Awesome!
However, the project seems to be left unfinished, as we have the old reporting tools:

armi/bookkeeping/report/

data.py
html.py
reportingInterface.py
reportingUtils.py

But we also have the new reporting tools:

armi/bookkeeping/

newReportingUtils.py
newReportings.py
report.js

So, obviously, having the word "new" on those file indefinitely seems silly. But, more so, it would be 100% easier for ARMI users if we had one set of reporting tools, and not two completely independent ones.
There might have to be some survey of how our community uses our various reporting tools to do this work. But it is worth doing.

Ah, reporting. Yeah we should definitely merge and clean as appropriate. As we clean this up, it might make sense to have armi define some data structures that plugins can pass around with intent to report, and leave users the option to render reports with whatever reporting technology they want, given a bunch of packaged report data structures.

As a first step to the "merge and clean the reporting tools", I have moved all the "newReport" tools into the "reporting" package.
https://github.com/terrapower/armi/pull/867
Honestly, I don't know why the new stuff wasn't there to begin with.

I also note that armi/utils/reportPlotting.py imports extensively from the "old" armi reports tools.
I was also able to find downstream projects using:

from armi.bookkeeping import report

report.setData()
 report.CORE_RESOURCES
report.ECONOMICS
report.COST_ASSUMPTIONS
report.CORE_AVG_ENRICH
report.COST_ASSUMPTIONS
report.STRUCT_RESOURCES
report.CORE_RESOURCES
report.FUEL_CYC_COST

from armi.utils import reportPlotting

reportPlotting.createPlotMetaData
reportPlotting.plotAxialProfile

from armi.bookkeeping.report import reportingUtils

reportingUtils.getInterfaceStackSummary()

So, actually, outside of ARMI, I think the direction import usage of our reporting tools are pretty minor.  Mostly, we just have to support he above few things.  And most of the work will be reorganzing our internal usage.

Also, happily, I couldn't find anyone outside of ARMI using the "newReport" tools. So, we can change that dubious name to something else with ease.

Okay, this situation has gone on too long.
I can find no one anywhere using "newReports.py" or "newReportUtils.py", so the easiest solution is clearly to delete them. They will remain in Git history if someone wants them.  And since they are undocumented, I don't really know what they do or why they exist. Shame.

dialogue from @john-science to the reporting utils files 😄

I would like to see this implemented, if that counts for anything.

I would like to see this implemented, if that counts for anything.

Well, SOME project out there is telling me to code freeze.  #squint

You should(?) be clear to remove these, I think! We can talk more offline though, if you'd like.

@john-science / @keckler - Since reporting is so specific to a model or what a user wants from some analysis, would it make sense to plugin-ify this work so it's not lost to time in git commits?

@john-science some of our downstream users have told us that what gets spit out here
https://github.com/terrapower/armi/blob/f86ef61964cab1be8064468627906d85519788eb/armi/bookkeeping/report/reportingUtils.py#L743-L773
is actually flat out incorrect. So I think it's prudent that at least the old reporting tools get removed.


How can yaw offset be calculated from two quaternions?

I try to adjust yaw using API to eliminate drift of headset sensors so I need to set YawOffset.
I got 2 quaternions: phone quaternion and target quaternion.
I know how to get quaternion delta (delta * phone_quat == my tracker quat). My tracker is attached directly on front side of headset.
But I don't understand how to get yaw offset from delta quaternion or from two quaternions.
Using yaw component of delta (I use this: https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles) is not working: image shaking every frame and often rotate in half round in both directions.

Are you using RequestReadOnlyPhonePose or RequestReadOnlyPose? The first one is marked as obsolete because using it as yaw offset reference would result in rotation skipping (because the pose already contains offset). Second one contains raw pose with offset information alongside but not included into raw pose.
The offset should be relative to raw phone data, not the pose that already includes the offset. This is the only scenario that comes to my mind that would result in rotation jumping wildly.

Thanks a lot, using RequestReadOnlyPose was helpful.
However, there is a little tremor when I use yaw offsets.

A) If you set the often too often (for example every other frame), it may result in a slight shakiness. If I recall correctly, reprojection may be out of sync for one frame if offset was applied recently. If you do this too often, it would result in a tremor like this. But in this case, offset shouldn't really be needed because all reprojection-enabled devices have very high quality rotational sensors of their own.
B) Instead of setting the offset to target offset value in one call, you may want to ease the transition by remembering the target offset in some variable in your process but moving towards the target offset vector in small increments, for example by 0.1 degree per frame only (you need to play around with numbers a little bit or configure it dynamically, depending how drifty the phone sensor is). Maybe this will help to keep the transition smooth.


Remove BVal and related libraries from NOTICE, and the root project's lockfile

Forgot in #1609 to remove them from NOTICE, and root project's gradle.lockfile. (We're not going to release a new version v0.10.50 only for this. I'll be applied with the next required release.)

Thanks. Merging...


Proposal for LICENSE file

The lack of an explicit license is holding back a potential contributor from submitting patches: https://github.com/macvim-dev/macvim/issues/751#issuecomment-433118759
Looking thru the macvim repo, and from what appears to be common practice within the vim community, seems to indicate that the vim license in uganda.txt is considered a widely adopted default.
Consequently, I took the legalese from uganda.txt and |manual-copyright| and created a new LICENSE file.
Hope this helps,

This seems reasonable to me.

Thanks for the PR. I left some review comments mostly to clean it up a little bit.

Yes I did forget to. I added the comments.

Since the purpose of this file is to indicate the license that applies to the code,
I removed both the Summary section as proposed by @ychin and also the copyright declaration since it's still present in |manual-copyright|.


unhelpful error message creating service broker with incorrect json structure

Creating a service broker whose /v2/catalog incorrectly returns a map instead of a list under "services":
{"services" : {}}

gives,
$ cf create-service-broker my-service-broker my-user my-password https://example.com/broker
Creating service broker my-service-broker in org ORG / space SPACE as<EMAIL_ADDRESS>FAILED
Server error, status code: 500, error code: 10001, message: An unknown error occurred.

@erjoalgo should it say something like "Invalid Catalog"?

The error message has improved in the interim time since the problem was reported. It's now like this:
$ cf create-service-broker sb1 admin admin http://sb.bosh-lite.com
Creating service broker sb1 as admin...
FAILED
Server error, status code: 502, error code: 270012, message: Service broker catalog is invalid:
Service broker must provide at least one service

However, if I construct a non-empty hash of services, I'll most likely end up with UnknownError messages related to unexpected types.
There is an initiative to provide catalog schemas so that service broker providers can validate their own catalogs.
This makes more sense than having the cloud-controller duplicate the error-checking.
We're going to close this issue, but feel free to reopen if you have more comments.
@ericpromislow & @utako, CAPI team.


Unnecessary 'new()'

You can completely remove this block of code as this behavior can be replicated with Default::default()
https://github.com/S0raWasTaken/Threadripper-bot/blob/master/src/data_structs.rs#L20-L29

Yea, totally unnecessary, since I could simply #[derive(Default)] to replicate the false boolean statements as default

Fixed in #6


[BEAM-8894] exclude FlattenWithHeterogeneousCoders category because flatten does not re-encode (like all the other runners)

Waiting for a consensus on the model cf here. Excluding FlattenWithHeterogeneousCoders validates runner test like in all other runners (except direct runner and "old" spark runner that do not serialize in local mode).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.


Fix the res_name for workflow labels

Fixes #663

Coverage remained the same at 64.394% when pulling f441165b679a115e3b62e676c60b5a01c1eb06de on jainnikhil30:master into 0713d8561791bf0efed85fde4f71fd319fd7b694 on ansible:master.

Coverage remained the same at 64.394% when pulling f441165b679a115e3b62e676c60b5a01c1eb06de on jainnikhil30:master into 0713d8561791bf0efed85fde4f71fd319fd7b694 on ansible:master.

Coverage remained the same at 64.394% when pulling f441165b679a115e3b62e676c60b5a01c1eb06de on jainnikhil30:master into 0713d8561791bf0efed85fde4f71fd319fd7b694 on ansible:master.

Coverage remained the same at 64.394% when pulling f441165b679a115e3b62e676c60b5a01c1eb06de on jainnikhil30:master into 0713d8561791bf0efed85fde4f71fd319fd7b694 on ansible:master.

trying to test that this doesn't break CLI use...
$ tower-cli workflow associate_label --workflow="massively empty" --label=foo
Error: no such option: --workflow  Did you mean --workflow-job-template?
$ tower-cli workflow associate_label --workflow-job-template="massively empty" --label=foo
Traceback (most recent call last):
  File "/Users/alancoding/.virtualenvs/cli/bin/tower-cli", line 11, in <module>
    load_entry_point('ansible-tower-cli==3.3.3', 'console_scripts', 'tower-cli')()
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/ansible_tower_cli-3.3.3-py2.7.egg/tower_cli/cli/base.py", line 129, in invoke
    return super(TowerCLI, self).invoke(ctx)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 1064, in invoke
    sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 621, in make_context
    self.parse_args(ctx, args)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/ansible_tower_cli-3.3.3-py2.7.egg/tower_cli/cli/action.py", line 46, in parse_args
    return super(ActionSubcommand, self).parse_args(ctx, args)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 880, in parse_args
    value, args = param.handle_parse_result(ctx, opts, args)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 1396, in handle_parse_result
    value = self.full_process_value(ctx, value)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 1681, in full_process_value
    return Parameter.full_process_value(self, ctx, value)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 1365, in full_process_value
    value = self.process_value(ctx, value)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 1355, in process_value
    return self.type_cast_value(ctx, value)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 1344, in type_cast_value
    return _convert(value, (self.nargs != 1) + bool(self.multiple))
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/core.py", line 1342, in _convert
    return self.type(value, self, ctx)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/click/types.py", line 38, in __call__
    return self.convert(value, param, ctx)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/ansible_tower_cli-3.3.3-py2.7.egg/tower_cli/cli/types.py", line 128, in convert
    resource = tower_cli.get_resource(self.resource_name)
  File "/Users/alancoding/.virtualenvs/cli/lib/python2.7/site-packages/ansible_tower_cli-3.3.3-py2.7.egg/tower_cli/__init__.py", line 32, in get_resource
    module = importlib.import_module('tower_cli.resources.%s' % name)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named workflow_job_template

I get that the send command is a different use case, and it might be difficult to satisfy both.

@AlanCoding
My bad. Thanks for testing the cli use, which this PR is breaking. I think I can try to make change in send to accomplish this. I will update the PR.

@AlanCoding
I have made the change in send now. Instead of it using "workflow_job_template" it should use "workflow" when its associating and dissociating labels.

@john-westcott-iv
Could you please take a look at this ?

I wonder if we can get rid of this keyword_arg_template_id variable and use asset_type instead.

@AlanCoding
Yeah makes sense. I have removed keyword_arg_template_id and now it uses asset_type directly.


Interface Implementation Part 1

This is the first in a series of PRs intended to get Turing's internals working on a common interface. Currently there is no functional change, but it is a good idea to have the bones of the interface in the codebase for easier development later.
Also note that the basic interface (Interface.jl) is ultimately intended to move over to MCMCChains, once all of Turing's relevant internals are updated.
In this PR:

The basic interface.
A document which I'll be updating over time, containing a general guide to interface implementation.
A basic hook of Turing into the interface, which basically only moves us from Turing's native AbstractSampler type to the Interface version.

EDIT
I've copied below the beginnings of the design document for the interface, so people don't have to click around for it:
The Sampling Interface
Turing's sampling interface presents several structures and functions that one needs to overload in order to implement an interface-compatible sampler. Currently it is non-operational, but the intent is to have all of Turing's samplers using the API below.

A subtype of AbstractSampler, defined as a mutable struct containing state information
A subtype of AbstractTransition, which represents a single draw from the sampler
A function transition_type which returns the AbstractTransition type used by an implementation of an AbstractSampler
A function sample_init! which performs any necessary set up
A function step! which returns an AbstractTransition
A function sample_end! which handles any sampler wrap-up
A function MCMCChains.Chains which accepts an Array{AbstractTransition, 1} and returns an MCMCChains object

I've changed the part that instantiates the AbstractTransition vector to be an arbitrary function of the sample parameters, instead of requiring implementors to make some weird transition_type vector.

@cpfiffer Seems the tests are broken for Travis CI with recent commits.

That should do it. AppVeyor tests are failing on the MvNormal bug, but I think that's being fixed elsewhere.


Encoder and decoder are set globally

When specifying another encoder or decoder when opening a bolthold database, the encoder or decoder is changed globally over the project. This is a problem if you use multiple bolthold databases at the same time. For example, we use bolthold in our main application and one of the libraries we use in our tests also uses bolthold. The library however uses another encoder and decoder than we do.
A consequence of this is that as as soon as the library opens its database and changes the decoder, the database in our main application cannot be used anymore. It gives an error that information cannot be encoded or decoded anymore.
In the following code you can see that the encoder and decoder are set globally over the project:
https://github.com/timshannon/bolthold/blob/525de816b1a2c1cfbb67b5e9936a6b76e0c7f3e6/encode.go#L18-L19

Yeah the assumption was that only one encoder would ever be used.
Basically what you're looking for is for the encoder/decoder to set and tracked on a per store basis right?  You'd still set it as part of the options when you open the store.  So the API wouldn't change.

Yes exactly. The options are indeed already passed to each store independently, so that wouldn't have to change. The confusing element in my experience was that the options parameter gives the impression that options can differ over multiple stores. Therefore I was quite surprised of the actual behavior.

Fixed in #70


spring.cloud.stream.kafka.binder.brokers is ignored

Hi
please look at
https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/blob/13474bdafb82fb85d439c5a2a14e39c6992512dc/spring-cloud-stream-binder-kafka-core/src/main/java/org/springframework/cloud/stream/binder/kafka/properties/KafkaBinderConfigurationProperties.java#L407
it ignores spring.cloud.stream.kafka.binder.brokers if spring.kafka.bootstrap-servers is set, is it desired behaviour?

The binder configuration (spring.cloud.stream.kafka.binder.brokers) if present should take precedence over the Boot one. (spring.kafka.bootstrap-servers). The code you pointed to is special logic in which the binder checks for the presence of Kafka's bootstrap.servers already present in the configuration (potentially set by Spring Boot). If this configuration is present and the binder configuration for bootstrap server differs from the default value (localhost:9092), then take the binder-provided value. The bottom line is that the binder-provided value always wins.

cannot agree  with

If this configuration is present and the binder configuration for bootstrap server differs from the default value
look at

if (ObjectUtils.isEmpty(configuration.get(bootstrapServersConfig)) ||
				!kafkaConnectionString.equals("localhost:9092"))

if the config (spring.kafka.bootstrap-servers) is NOT present 'OR' the binder configuration for bootstrap server differs from the default value (localhost:9092), then take the binder-provided value
I 've testesd it, but it was 3.0.6 and spring.kafka.bootstrap-servers has prcedence.  3.0.6 is very close to current

The first check almost always is false as Boot will set the default even if spring.kafka.bootstrap-servers is missing from the app configuration. So, the second checks if the binder configuration provided a different value.
3.0.6 is an older release. 3.1.3 is the latest GA. In any case, if you are seeing issues, please provide a small reproducible sample where we can triage this issue further. Thanks!

perhaps you are right about current version, because 3.0.6
if (ObjectUtils.isEmpty(configuration.get(bootstrapServersConfig))) {
	configuration.put(bootstrapServersConfig, getKafkaConnectionString());
}

it was probably fixed

You are right. This was addressed only in the 3.0.9.RELEASE.  See this issue and the associated PR.

Closing the issue. Feel free to re-open if you see further issues.


bug in list_warehouses function

the function is not exposed yet but there're bugs in it:

it doesn't return df
it calls an api that doesn't exist

I think the right code is:
` def list_warehouses(workspace = None):
"""

Documentation is available here: https://github.com/m-kovalsky/fabric_cat_tools?tab=readme-ov-file#list_warehouses

"""

df = pd.DataFrame(columns=['Warehouse Name', 'Warehouse ID', 'Description', 'Connection Info', 'Created Date', 'Last Updated Time'])

if workspace == None:
    workspace_id = fabric.get_workspace_id()
    workspace = fabric.resolve_workspace_name(workspace_id)
else:
    workspace_id = fabric.resolve_workspace_id(workspace)

client = fabric.FabricRestClient()
response = client.get(f"/v1/workspaces/{workspace_id}/warehouses/")

for v in response.json()['value']:
    warehouse_id = v['id']
    warehouse_name = v['displayName']
    desc = v['description']
    prop = v['properties']
    connInfo = prop['connectionInfo']
    createdDate = prop['createdDate']
    lastUpdate = prop['lastUpdatedTime']

    new_data = {'Warehouse Name': warehouse_name, 'Warehouse ID': warehouse_id, 'Description': desc, 'Connection Info': connInfo, 'Created Date': createdDate, 'Last Updated Time': lastUpdate}
    df = pd.concat([df, pd.DataFrame(new_data, index=[0])], ignore_index=True)

return df

`

Ah, my mistake. This fix will go out in the next release. Thanks for reporting.

This is resolved in 0.4.0


ReferenceField: show linearProgress bar only if some data are fetched

The linearProgress bar was displayed whereas there was no data to fetch.
Thus the bar was displayed for ever. The only way to not have the
progress bar forever, was to set allowEmpty to true.
However, this was removing completely the waiting bar.
And this is not a good idea, because users will not see that data are loading.
So now, if allowEmpty is set, linearProgress is shown while the data
are loaded, and if there is no data to fetch the bar is hidden.
The behavior is not changed if allowEmpty is not set.

I don't understand the rationale. If the field isn't nullable, then the absence of reference in the render() function means that it's being fetched, thus showing the download bar makes sense. That's what was implemented previously. Your patch breaks that.
If the field is nullable, you have to use allowEmpty: true. Or am I missing something?

I confirm the problem, "linear progress" has strange behavior right now.

If the field is nullable, you have to use allowEmpty: true. Or am I missing something?
In that case "linear progress" component doesn't  show up at all, so users don't know if value is still loading or it's already loaded and equal "null".

Right, using allowEmpty here is wrong. But your patch is wrong, too.
Here is the rationale:

if the source is null, display nothing. We don't even call fetchReference() in that case, there is nothing to fetch.
if the source is not null, and the referenceRecord is null, it means that:
a. it's loading, so display loading, or
b. it's a reference to a non existing record (not supported so far), so display nothing
if the referenceRecord is not null, render the child component with it

How do we tell 2a from 2b? It's impossible with the current code. What we need to do is to change the default value of referenceValue to false instead of null. That way you can write the following algorithm:

if the source is null, display nothing, else
switch referenceRecord

case false, display <Loading>
case null, display nothing
case not null, render the child component with it

Do you agree?

What we need to do is to change the default value of referenceValue to false instead of null.

That won't work. If mapStateToProps returns null after fetching the reference, we'll get the default prop false.

The only way I can think of to fix this would be to store the fetching state in the redux store for every record. That means creating a record entry whenever asking for one with two properties: value and fetched.

Other solution: map the loading state to a component prop. When something is loading and the referenceRecord is null, show the loader. When nothing is loading, hide the loader.
This will look less performant than the current setting (where the loaders disappear one by one as the responses arrive), but solve the problem in a simple way.

Any update on this one?


Proper commands for Moodles

Hello ❤❤❤
Moodle commands work as following:
/moodle [apply|remove|toggle] [self|target|"Firstname Lastname"|"Firstname Lastname@world"] [moodle|preset|automation] ["moodleName"|"presetName"|"automationName"|"GUID"]
I know what a mess, but it's quite simple...
You can choose 3 actions:
apply
remove
toggle
You have 4 types of player selectors:
self
target
"Firstname Lastname"
"Firstname Lastname@Homeworld"
You have three element types:
moodle
preset
automation
And you have two element selectors:
"GUID"
"MOODLE|PRESET|AUTOMATION NAME"
If you want to apply a moodle to yourself you go:
/moodle apply self moodle "GUID OR NAME"
or if you instead want to apply it to your target you can simply go:
/moodle apply target moodle "GUID OR NAME"
Removing a moodle is also super easy:
/moodle remove self moodle "GUID OR NAME"
And there is a little option to toggle as well:
/moodle toggle self moodle "GUID OR NAME"
of course this is not all, the exact same features work for presets and automation
/moodle apply self preset "GUID OR NAME"
/moodle apply self automation "GUID OR NAME"
There is just one exception and that is that GUID's dont work for automation because well... duh!
There is more however! You dont just have to use self or target, you can also specify a name and world
/moodle apply "Firstname Lastname" moodle "GUID OR NAME"
/moodle apply "Firstname Lastname@Homeworld" moodle "GUID OR NAME"
There is one thing to note. Using "Firstname Lastname" will set automations to apply to any world.
Using "Firstname Lastname@Homeworld" will set automations to the specified world.
So: /moodle apply "Firstname Lastname" automation "GUID OR NAME" will result in the Any World selector
And: /moodle apply "Firstname Lastname@Homeworld" automation "GUID OR NAME" will result in the Specified World selector.
Toggle works on moodles, automations and presets.
In order to determine if a preset is active on a player I loop through every Status in the Preset and on the player, if one is missing I determine the Preset as INACTIVE.
There is also a new settings option: Display Command Feedback
With this on any typo's, syntax errors or error results will result in the chat.
There is also a /moodle help command that will show help.

Thank you for your contribution to Moodles! ❤


Incorrect behaviour of methods with params

Describe the bug
It is easier to describe the behaviour with code than writing 😅

Create a new Polyglot Notebook (.ipynb Notebook and C# as the kernel)
In the code section, paste the following code and execute it:void Function(params string[] args)
{
    Console.WriteLine(args.Length);
}

Add another code section, and paste the following code and execute it:Function();
Function("a");
Function("a", "b", "c");

As expected, the code should print0
1
3

Now change the first code section to add a string parameter to the method, it should look like the following:void Function(string name, params string[] args)
{
    Console.WriteLine(args.Length);
}

Execute the code in the first code section
Execute the code in the second code section, without modifying it
It prints the following, while it should raise compilation error0
0
2

Restart the runtime and execute the 2 code sections
It correctly raises compilation error: error CS7036: There is no argument given that corresponds to the required parameter 'name' of 'Function(string, params string[])'.

Please complete the following:
Which version of .NET Interactive are you using?
Version: 1.0.510102+2c9feb8daff54c194b638d355d18b5428480a786

Library version: 1.0.0-beta.24101.2+2c9feb8daff54c194b638d355d18b5428480a786

Build date: 2024-02-05T09:24:21.2311118Z

OS

[ ] Windows 11
[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Safari
[x] Not applicable

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[x] Visual Studio Code
[ ] Visual Studio Code Insiders
[ ] Visual Studio
[ ] Other (please specify)

Screenshots
None required.

This is working as intended but what's going on isn't intuitive.
C# Scripting doesn't allow you to redefine an existing method (though it does allow you to shadow one if it has the same signature). When you run the cell defining Function(params string[] args) and then again defining Function(string name, params string[] args), you're effectively adding an overload of Function. Both of them exist simultaneously in the notebook's backing compilations, resulting in this:
Function();                // calls Function(params string[] args)
Function("a");             // calls Function(string name, params string[] args)
Function("a", "b", "c");   // calls Function(string name, params string[] args)

When you restart the kernel, Function(params string[] args) no longer exists, so the call to Function() no longer compiles.

Thanks for your response, @jonsequitur, and the clear explanation. I appreciate it.

C# Scripting doesn't allow you to redefine an existing method

Could you kindly explain the reason?

C# Script creates an assembly for each code submission (which in the notebook corresponds to each time you run a cell.) Later submissions don't cause the earlier submissions to be recompiled. They're immutable.
Changing a pre-existing compilation isn't allowed because it could cause subsequent assemblies to no longer be bound correctly. It would put the program into an invalid state if you could remove a declared method (or any other symbol). Removing a method is effectively what would have been happening if re-running your cell containing the Function method caused the original definition to be changed.


print Redshift loading error

#3

[x] print Redshift loading error as applicable.
[x] fix a few lints (single quote etc) according to rubocop.
[x] expose an optional flag to ignore error and keep loading other tables into Redshift. useful for debug.

Thanks! I left a few comments. Let me know what you think.

Also, what's an example of the error message being caught?

@toothrot thanks for reviewing.  I've updated the pull request to improve the messaging.
an example redshift loading error output:
INFO:  Relation "some_table" already exists and will be skipped
Downloading some_table
Uploading some_table.1
Importing some_table
INFO:  Table "some_table_updating" does not exist and will be skipped
ERROR:  Load into table 'some_table' failed.  Check 'stl_load_errors' system table for details.
ERROR:  Last entry in Redshift's 'stl_load_errors' table:
	userid: 100
	slice: 0
	tbl: 112357
	starttime: 2016-07-19 20:07:36.182859
	session: 4595
	query: _n_
	filename: s3://_some_file_.psv.gz.1
	line_number: 11302
	colname: body
	type: varchar
	col_length: 65535
	position: 119
	raw_line: a|b|c|...
	raw_field_value: _some_raw_value_
	err_code: 1220
	err_reason: String contains invalid or unsupported UTF8 codepoints. Bad UTF8 hex sequence: ef bf bf (error 7)

INFO:  Skipping 'some_table' and continuing on.

the last INFO line only prints if WARN_ON_LOADING_ERROR is specified. for other exceptions, error and stacktrace will be printed.

@toothrot how's this one looking?

@toothrot ping?

I think I want to take another pass at this before merging it. I'll do that this week. Sorry for the delay.

@toothrot ping :)


additions to the Use spec

authWith?
use?
share out more details on auth syntax

maybe only support auth to one, since it simplifies the designer


move provider to main manifest, name dynamically from appid

This makes building riot with a different appid easier, or rather it makes it automatically installable alongside the main riot app.
Maybe the new provider authority should rather be ${applicationId}.VectorApp.provider not 100% if that makes a difference at all.

Gah, why does this have conflicts now? :roll_eyes:

Hello @Bubu ,
Thanks for the PR, I've also noticed that, and I've already done it here: 1a4acbb54a87493621a7c5ff1264677d59b66416, (it's not yet merged).
Benoît

Oh. Didn't see that. Then we can close this :-).
On September 10, 2018 9:41:13 AM GMT+02:00, Benoit Marty<EMAIL_ADDRESS>wrote:

Hello @Bubu ,>

Thanks for the PR, I've also noticed that, and I've already done it
here: 1a4acbb54a87493621a7c5ff1264677d59b66416, (it's not yet merged).>

Benoît>

Ok, thanks


Missing World2 figures in docs

In the documentation is missing the part Reproducing World2 figures.

Closed by #136 .


add ECO2 logo

为确保 Token Profile 的顺利通过，务必逐一确保以下检查项并补充项目资料：
.json 及 .png 文件检查项

[ ] logo 尺寸：120*120 px
[ ] logo 背景：透明
[ ] 代币有至少一笔成功的转账记录
[ ] 此项对于 ERC-20 项目方：合约地址有大小写（做 checksum）
[ ] .json 和 .png 文件名一致（包括大小写）

项目资料：
官方公告：https://www.eco2.cc/copy-of-14?lang=zh
团队背景：
郝轩正 创始人 2017年东盟十国环保金融创新奖得主
部队服役10年,复员涉足影视投资金融等行业,后期关注 金融创新,2012比特币进入中国后,成为国内资深玩家, 并一直思考相关的区块链应用创新。在2016年中国参与全 球抗暖化《巴黎协定》,以敏锐的眼光现绿色低碳商机, 并投资碳汇行业。在2017年中国宣布启动全国碳排放交易 时,觉得这是碳汇结合区块链的最佳时机,所以组织团队 发起ECO2,用区块链记录全球个人碳减排,碳本位的数字 加密资产。励志为全球气候环境做贡献。
林宇阳 共同创始人
台湾淡江大学硕士毕业,多年科技公司运营管理及国际品 牌推广经验。近年积极响应全球抗暖化的气候行动,專攻 国际碳排放权交易,融合区块链创新科技产生多赢综效。 陆续參與國內外碳交易、區塊鏈、节能环保的产官学界论 坛会议,在亚洲开发银行、世界银行等跨国峰会发表演说。
黄立其 共同创始人
奥地利Universität Innsbruck 国际经贸硕士、台湾政治大 学风险管理研究所法律组毕业。云科技、法律界、金融 业、教育圈等国内外跨领域的多元历练与丰硕成果。职司 资源整合、事业发展与销售。
项目基本情况：ECO2是致力对抗全球暖化的区块链数字加密资产，以发展碳汇产业、强化国际碳交易、增加碳中和实例和发展区块链碳市场应用为目标。ECO2的发行与碳汇产业发展有关，并且建构VER国际碳
交易平台(www.vertrade.org)，以区块链技术交易碳汇，让ECO2的流通有碳汇和碳市场价值支撑。ECO2是联合国气候变化框架公约 (UNFCCC) 旗下的气候链联盟 (Climate Chain Coalition, www.climatechaincoalition.io/membership-list) 核心会员，获得国际组织的肯定。
目前ECO2正在研发区块链碳账户和区块链环保标准，要实现全面去中心化的碳账户和碳标准审核，让全球碳减排机构可以用更快、更公开、更自由的方法交易碳汇和进行碳中和，达到全球温室气体减排的效果，让地球免于升温的危害。
媒体报道：https://technode.com/2019/02/26/betting-on-blockchain-to-simplify-carbon-trading/
收录的交易所：https://m.f-bbs.net/wap/#/tranLst
转账所需 Gas Limit（对 ERC-20 项目方）：（默认为 60000）

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[ ] logo dimensions: 120*120 px
[ ] logo background: Transparent
[ ] At least one transaction on the token contract
[ ] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[ ] Same document name for both .json and .png (Including capitalization)

Project background:
Project background:
Official announcement: https://www.eco2.cc/copy-of-14
Project team background:
Carl Hao
Founder Winner of the 2017 ASEAN 10th International Environmental Finance Innovation Award
Served 10 years in the military, after demobilization, he focused on the film and financial industries., and later focused on financial innovation. After Bitcoin entered China in 2012, he became a domestic senior investor and start to plan relevant blockchain innovation. In 2017 he won the ASEAN 1th International Environmental Finance Innovation Award. He has been invited to participate in seminars on blockchain and environmental topics in many cities, and for climate issue, he was the member of Chinese delegation in the UN COP24 in 2018.
Co-Founder: Neo Lin
MBA from Tamkang University, Taiwan (Research on International Carbon Trading). Application study on Blockchain Technology at Tsinghua University, Taiwan. Chinese delegation at the UN Climate Conference COP24. Has more than 10 years’ experience in operation management of technology company and international brand promotion. In recent years, he has been positively responding to global climate action, and focusing on international carbon credit transition with the blockchain technology to obtain a multi-win effect. He has also actively participated in conferences and forums related to carbon credit trading, blockchain, and energy conservation at home and abroad, and made speeches at cross-forums like Asian Development Bank, World Bank.
Co-founder & Strategy Director: Rich Huang
Master of International Management and Economics, Universität Innsbruck, Austria Master of Law, Risk Management and Insurance, NCCU, Taipei, Taiwan.Rich has diversified experiences and plentiful achievements in cloud technology, legal, financial educational and other industries. Rich is in charge of global business development and resource integration.
Project basic information: ECO2 is a blockchain cryptocurrency dedicated to fighting global warming, with the goal of developing carbon credits, strengthening international carbon trading, increasing carbon neutrality and developing blockchain carbon market applications. The issuance of ECO2 is related to the development of the carbon credits, and ECO2 is transaction tool of VER Trade, global carbon trading platform based on blockchain technology. so that the circulation of ECO2 has supported by the value of carbon credits and business circle of carbon market. ECO2 is also the core member of Climate Chain Coalition (www.climatechaincoalition.io/membership-list) under the United Nations Framework Convention on Climate Change (UNFCCC).
Now ECO2 is currently developing blockchain carbon accounts and blockchain environmental standards to achieve a fully decentralized carbon account and carbon standards. Allowing global eco organizations to trade carbon credits or offset their emissions in more fast, open and free way. To achieve the reduction of of greenhouse gas , prevent the earth from the danger of global warming.
Media publications:https://technode.com/2019/02/26/betting-on-blockchain-to-simplify-carbon-trading/
Tradable exchanges: https://m.f-bbs.net/wap/#/tranLst
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000)

请参考教程和模版，提交 json 和 logo。
教程链接：
https://github.com/consenlabs/token-profile#token-profile-guideline

抱歉，有些不明白，我有提交json和logo，但是就显示不出来
json https://github.com/thesamelin/token-profile/commit/e38076d3ecf54db3f9a47479ead4f49b7dfa114e
logo https://github.com/thesamelin/token-profile/commit/28a0beb3992f59f050b5a5d54ae696d237391850?short_path=3d39c5c#diff-3d39c5c6429a3111d0b3095653e8c359
请问是哪里的问题？我可以再重新提交，谢谢你


Is it possible to do saveAsSam() parallelly ?

I create a list of AlignmentDataset by loadParquet() with different FilterPredicate and try to save BAM file on HDFS using saveAsSam(). It works if I save the BAM files sequentially:
aDs.foreach(i => i.saveAsSam("a hdfs path", asType = Some(SamFormat.BAM), isSorted = true, asSingleFile = true, disableFastConcat = true))

but I got FileNotFoundException when I try to use par:
aDs.par.foreach(i => i.saveAsSam("a hdfs path", asType = Some(SamFormat.BAM), isSorted = true, asSingleFile = true, disableFastConcat = true))

The Exception complains about the specific file xxx.bam_head not found, and I'm guessing the reason is it will cause race condition on line 907 in AlignmentDataset.scala :
conf.set("org.bdgenomics.adam.rdd.read.bam_header_path", headPath.toString)

Thus, I modify line 823 in AlignmentDataset.scala from
val conf = rdd.context.hadoopConfiguration

to
val conf = new Configuration(rdd.context.hadoopConfiguration)

However, I got org.apache.spark.SparkException: Task failed while writing rows and java.lang.StackOverflowError, is there any chance to do saveAsSam() parallelly ?

Yes, headers are really a problem when attempting to write a partitioned file concurrently (SAM, BAM, CRAM, and VCF all included).  Writing to Parquet does not have this problem, but I don't think that helps your use case.
The details are in https://github.com/bigdatagenomics/adam/blob/master/adam-core/src/main/scala/org/bdgenomics/adam/util/FileMerger.scala and https://github.com/bigdatagenomics/adam/blob/master/adam-core/src/main/scala/org/bdgenomics/adam/util/ParallelFileMerger.scala.
That said, what kind of performance improvement are you expecting by writing multiple datasets in parallel?  Writing serially should already saturate the cluster, if the data are partitioned appropriately for the cluster size.

@heuermh thanks for your reply !

That said, what kind of performance improvement are you expecting by writing multiple datasets in parallel? Writing serially should already saturate the cluster, if the data are partitioned appropriately for the cluster size.

In my scenario it's possible to have thousands of BAM files to save on HDFS, so I try to save these files as quickly as possible.
Another question is according to the description of disableFastConcat, I shoud set disableFastConcat as true because asSingleFile is true and deferMerging is false in my case.
However, I check ParallelFileMerger.mergeFiles(), it seems ok to use as long as the data is on HDFS, do I misunderstand anything ?

disableFastConcat = true is only necessary on Hadoop file systems that don't support the operations used in ParallelFileMerger; we ran into at least one encrypted file system implementation that required this as a fall back.

@heuermh thanks for your help


Added PowerShell Commands

Added PowerShell commands, and conceptual tabs.

#Sign-off

@v-abdriaz , please take this PR out of draft mode when your updates are complete so I can merge it. Thank you.


Add method to squeak_store to get combined payment summary

https://github.com/squeaknode/squeaknode/pull/2159


Adding ReadMe for ingestion script.

I updated the disclaimer in all the readmes as well. Will work on getting the Usage section filled out shortly, but travelers would like me to fork using them as the owner not my ID so need to re-fork, figured Id merge in the progress for now


Cannot reslove method 'subscribe'

Hi all. When trying to run the simple observeSingleValueEvent method from the documentation, AndroidStudio gives me the following error.

Could anybody lead me as to where or what I am doing wrong?

It looks that you are importing RxFirebase to your gradle project, but you are not adding RxJava aswell. For that reason subscribe method is not in your project.
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'io.reactivex.rxjava2:rxjava:2.0.8'


⚠ Secret Website 1 has degraded performance

In 0ba5b72, Secret Website 1 ($SECRET_WEBSITE_1) experienced degraded performance:

HTTP code: 200
Response time: 4278 ms

Resolved: Secret Website 1 performance has improved in 175792e.


Add build.gradle instructions for all relevant combinations

Along with the CI workflow file, we should also generate build.gradle instructions to be used alongside for reading property files and environment variables.

Fixed in 2dfe6f4


Docker registry: add multiple releases

I'm currently working on a Python library (https://github.com/dirkmoors/pyejabberd) that implements the Ejabberd XMLRPC api. I would like to perform integration tests against multiple versions of Ejabberd. Could you please add more releases to your Docker registry? I'm testing against the branches currently, and now that is only 15.06 and latest.
Thanks in advance!

Great use case for this docker image. Docker registry releases are now up to date and pushed.

Awesome!


Remove .gcno files before a coverage run

Codecov Report

Merging #753 into master will increase coverage by 19.67%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #753       +/-   ##
===========================================
+ Coverage   41.94%   61.61%   +19.67%
===========================================
  Files          80       80
  Lines       16848    12738     -4110
  Branches     4209     2651     -1558
===========================================
+ Hits         7067     7849      +782
+ Misses       8033     3175     -4858
+ Partials     1748     1714       -34

Impacted Files
Coverage Δ

wasm/lib/src/browser_module.rs
0% <0%> (ø)
:arrow_up:

vm/src/stdlib/types.rs
0% <0%> (ø)
:arrow_up:

wasm/lib/src/vm_class.rs
0% <0%> (ø)
:arrow_up:

wasm/lib/src/convert.rs
0% <0%> (ø)
:arrow_up:

vm/src/stdlib/ast.rs
24.12% <0%> (+7.3%)
:arrow_up:

vm/src/stdlib/json.rs
65.21% <0%> (+7.61%)
:arrow_up:

src/main.rs
20% <0%> (+8.53%)
:arrow_up:

vm/src/exceptions.rs
46.92% <0%> (+9.42%)
:arrow_up:

vm/src/bytecode.rs
58.97% <0%> (+10.54%)
:arrow_up:

vm/src/obj/objsuper.rs
50% <0%> (+12.76%)
:arrow_up:

... and 47 more

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 5ef8220...c5203a4. Read the comment docs.


manager: check if /usr/local/bin/osism exsists

Closes osism/issues#418
Signed-off-by: Christian Berendt<EMAIL_ADDRESS>

This will not resolve the issue. The container is missing, not the wrapper script.


svg-react-loader with create-react-app - how to setup?

I am getting the non-whitespace error when importing my SVG file with create-react-app
Module build failed: Error: Non-whitespace before first tag.
I've ejected my app and am trying to modify the webpack.dev.config file to ignore running the standard file-loader on my svg files and run the svg-react-loader instead.
I found some code from this post and changed my filename to end in inline.svg, but trying to configure my webpack config doesn't seem to be working.
Here's my webpack config code:
// webpack.dev.config
oneOf: [
  {
    test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
    loader: require.resolve('url-loader'),
    options: {
      limit: 10000,
      name: 'static/media/[name].[hash:8].[ext]'
    }
  },
  {
    test: /\.inline\.svg$/,
    loader: require.resolve('svg-react-loader');
  },

  ....

  {
    exclude: [/\.js$/, /\.html$/, /\.json$/, /\.inline.svg$/],
    loader: require.resolve('file-loader'),
    options: {
      name: 'static/media/[name].[hash:8].[ext]'
    }
  }
]

I'm still getting the same whitespace error though. Thanks for any help.

I managed to solve this, using a simple fix in this post
Basically, just add a -! at the start of the import path.
For example this:
import Logo from '-!svg-react-loader!./logo.svg';

I should mention I didn't need to eject either
Thank u so much for that little text ↑, it worked for me either without of ejecting ttg
Just did:
npm install svg-react-loader -D

The !- solution works until you run tests, which fail with:
Cannot find module '-!svg-react-loader!../../images/my-con.svg' from 'MyComponent.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:179:17)
      at Object.<anonymous> (src/components/MyComponent/MyComponent.js:9:184)

Any known workaround?

@pauldcollins you are the svg life saver !


Second redis service is redundant

There are two redis services and one worker service. Worker service would start, resolve redis host name to an ip and use this ip until stopped. Second redis service is never going to be talked to.

I saw something like this at docker-stack.yml but I have some question about Redis IP used at Worker Services to connect to Redis.
There are twice Redis instance, I thing, Worker never discover a second Redis instance. May be, Redis shoud be configured as node of Redis if is possible.
Another thing is about Redis host name, the Vote App and Worker Services connect at redis host name. If at cluster have twice Redis instance, Vote every time connect to what Redis instance?
Some times when I vote, the vote is not computed, I guess, my vote was at another Redis which is not connected by Worker Services.
What you think about that @zavermax ?

If I understand the .NET worker correctly, it tries to reconnect on failure. So a changed ip address might be compensated. The Java worker doesn't seem to be resilient on connection errors, yet.
The fact that a worker can only connect to a single Redis instance indeed arises problems when votes go to the "other" instance. The worker just won't see any votes. I see several options here:

reduce the Redis replicas to a single instance
implement a Redis cluster, so that data will be synced between all replicas
enforce reconnects on the worker side, so that each Redis instance will be read over time. This wouldn't be the most elegant solution, but it has certain adavantages (no-cluster Redis setup, built-in resiliency)

At my demo enviroment I reduce the Redis replicas to a single instance and all work fine.
But, I guess the better solution is implement a Redis Cluster like you told us.
Another bad thing I see at .NET worker is that while(true) https://github.com/docker/example-voting-app/blob/master/worker/src/Worker/Program.cs#L29 it's cost lot of CPU unnecessary. May be implement something better.
I think change Redis for an RabbitMQ.

Fixed


Convert formatting.

Sourced from: https://modern.ircdocs.horse/formatting.html.

Format
IRC
Mattermost
Notes

Bold
0x02
**/__

Italics
0x1D
*/_

Underline
0x1F
Not supported

Strikethrough
0x1E
~~
IRC support only in Textual

Monospace
0x11
`
IRC support only in IRCCloud

Color
0x03
Not supported
Already stripped

Hex Color
0x04
Not supported
Coulnd't test; maybe already stripped?

Reverse
0x16
Not supported

Reset
0x0F
Non-trivial

Also something to take into account is that IRC format characters aren't paired; they are toggles. Only one is required to format an entire message (or starting from halfway in). In order to properly deal with this in mattermost, any message containing an odd number of the same format character (combination) should be terminated with that character in order to "close the tag".
The need for this makes the Reset character less work, since it is essentially the same functionality at an arbitrary point in the message.

@setpill, or anyone else, I have something which seems to work for me. Would you be willing to help test this out? https://github.com/42wim/matterircd/pull/546


Include the Resources folder with "--watch --run"

For the case when we run skpm build --watch --run would be good if the plugin could be launched again without actually re-building it.
This is useful for the case the plugin uses either external commands from the assets folder and any change to this command would be run again.
Thank you

it's a bit hard to know which command to re-run when an external file change tho

thinking a bit more about it and I don't think that's something I want to do, too much magic needed to determine which command to re-run and there are some cases where you actually don't want to re-run when assets change (webview for example).
So I'm closing this. Feel free to re-open if you have some argument that I might have missed


64-Bits MSI and EXE corrupted

When creating MSI and EXE package, based on pre-defined XML file, the generated file are reported as incompatible with 64-Bits Windows 10 with the general message, as described:
This app can't run on your PC
To find a version to your PC, check with the software published
Regarding 32 bits of the generated files, there's no problem with them.

Hello, I'm currently looking at the issue, and I'm unable to reproduce your error.  Can you please let me know which operating system you're working on, and if possible, let me know the steps you took when this error occurred.  Thanks.

Hi,
I'm testing the packages using Windows 10 Pro 64 Bits. All the tests we're done on W10.
The MSI gives no feedback about any error. MSIEXEC simply closes without any further notice (i have the no information setting enabled). The EXE gives me the error that i've attached in the last message.
Using the click-to-run with a downloaded source and the XML file the 64 bits package are installed correctly.
I'll try to run some tests in W7 64 bits to give you further information to help you detect and solve the problem.
Thank you

Could you zip up the exe you created, and post it on this thread, I'd like to try and run it on when of my test machines, also, a copy of the XML you used for import would be nice if it's not too much trouble.
Thanks.

In the following download, you'll find 3 files: MSI package, EXE package and XML that originated the files. The source is local and not a download, from de Defered Channel. Thanks
https://www.dropbox.com/s/iql5cgff87vcbxo/O36564Bitserror.zip?dl=0

Thank you for the files, I was able to re-create the error, so I'm going to see if I can rectify it.

After testing, I discovered that the reason your created files appear to be corrupt is because of the file size.  Since you're embedding the install with 4 different languages, the file size has been increased to over 2 GB.  The created applications from the toolkit are 32 bit apps, with a size limit of 2 GB.  I am currently working on a fix for this, in the mean time, as a work around, you'll want to not select the option for embedding the resource files, if you have a network drive that all your clients have access too, you can use the toolkit to download the resource files on the download tab to the shared drive, and set the Source Path on the products tab under optional at the top to the same network drive.  This will allow the your clients to have the created package install office, and it will retrieve the resource files from that network share.  I hope this helps.  Thanks.

Thank you for your feedback. Since that the app are 32 bits, it makes sense. My alternative at this time is to do has you're speaking. But since that i have SCCM and multiple locations where the links are weak, fragmentation would be needed and spesific scripts for each source location would be needed, and a lot of time lost. I prefer of a MSI/EXE solution in SCCM for 64 bits Office365 and i'll wait for an app new release to do further testing. Thanks for your help

Issue has been resolved and is part of the most current toolkit available for download.


Get RowAttrs without returning bit vector

Description
Currently, in order to get RowAttrs for a row, you have to perform the query:
Bitmap(frame="f", row=1)

This query returns something like:
{"results":[{"attrs":{"name":"row-one"},"bits":[101]}]}

There may be cases where a user wants to get the attrs for a Bitmap() query, but doesn't need the bits portion of the return.
Success criteria (What criteria will consider this ticket closeable?)
A user has the ability to lookup RowAttrs for a row_id. To be decided is whether this is a new endpoint specific to this functionality, or if we add a query argument (similar to columnAttrs) that will alter the return of a query.

Let's create a BitmapAttrs() function that performs the same action as Bitmap() except that it doesn't actually return the bits (i.e. it only returns the rowAttrs).

Does it make sense to remove attributes from the Bitmap result? So if a user is interested in bits, they can call Bitmap. If they are interested in attributes they can call BitmapAttrs.


Vite/Tailwind do not like font imports at the bottom of theme files

Current Behavior

Functionally this works, but Vite/Tailwind are not happy. This was a recent change by @AdrianGonz97. We'll aim to revert and silence this warning.
Steps To Reproduce
No response
Anything else?
No response

@AdrianGonz97 I'm going to plan to set aside some time Monday to review this myself if you don't get to it sooner.
We'll need to prioritize the end user experience (devs) over our doc site for now. Most devs won't be doing theme switching and this warning message will make folks think something is broken. Then we'll have support messages out the wazoo!
I'm fine with a duct tape fix if it gets us through the release on Tuesday. Then we can revisit a more permenant change after that if need be.

@endigo9740
The duct tape fix would be to do what I suggested a couple of days ago which would be to create a second file for each theme and import it into the exported theme file. I'll close my current PR for now (since I don't necessarily want to lose that progress) and make a new one for this temporary fix.


twint.token.RefreshTokenException: Could not find the Guest token in HTML

Hi,
I still have not been able to find a solution for this. Any help would be greatly appreciated.
Thank you!

Hi. I dont know if this could help you, but I recently implemented this code that scrapes almost all kind of infos on Twitter.

Hi. I dont know if this could help you, but I recently implemented this code that scrapes almost all kind of infos on Twitter.

I got

Hi. I dont know if this could help you, but I recently implemented this code that scrapes almost all kind of infos on Twitter.

Hi, I have a list of tweets and I need scrap count of likes, comments and retweets. How i can do that via your lib?

I got

Hi. I dont know if this could help you, but I recently implemented this code that scrapes almost all kind of infos on Twitter.

Hi, I have a list of tweets and I need scrap count of likes, comments and retweets. How i can do that via your lib?

Hi. I dont know if this could help you, but I recently implemented this code that scrapes almost all kind of infos on Twitter.

Hi Yassine, we have spoken before brother. I know about your tool, sadly I need to collect data using the location feature from Twint using Latitude and Longitude. I don't think your tool has that feature as of yet. Correct me if I am wrong please.

Hi. I dont know if this could help you, but I recently implemented this code that scrapes almost all kind of infos on Twitter.

Hi Yassine, we have spoken before brother. I know about your tool, sadly I need to collect data using the location feature from Twint using Latitude and Longitude. I don't think your tool has that feature as of yet. Correct me if I am wrong please.

This might help you. Check it

I was running into this most of today as well running Jupyter notebook, python 3.6 and at 3.8, w anaconda package installer. I created a new environment just for this task, python 3.8:
pip3 install twint
pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint
On restart of kernel and change of IP address via VPN/proxy, it started working briefly (16 tweets), then back to the same issue.
Here is my most recent full print out after last tweet (tweet 16) collected:
[!] No more data! Scraping will stop now.
found 0 deleted tweets in this search.
RefreshTokenException                     Traceback (most recent call last)
/var/folders/7z/866jzymn52zcbnymflj7xhbw0000gn/T/ipykernel_6392/906502173.py in
7     filename = str(str(target)+".csv")
8     c.Output = filename
----> 9     twint.run.Search(c)
~/.local/lib/python3.8/site-packages/twint/run.py in Search(config, callback)
408     config.Followers = False
409     config.Profile = False
--> 410     run(config, callback)
411     if config.Pandas_au:
412         storage.panda._autoget("tweet")
~/.local/lib/python3.8/site-packages/twint/run.py in run(config, callback)
327         raise
328
--> 329     get_event_loop().run_until_complete(Twint(config).main(callback))
330
331
~/.local/lib/python3.8/site-packages/twint/run.py in init(self, config)
34         # USAGE : to get a new guest token simply do self.token.refresh()
35         self.token = token.Token(config)
---> 36         self.token.refresh()
37         self.conn = db.Conn(config.Database)
38         self.d = datelock.Set(self.config.Until, self.config.Since)
~/.local/lib/python3.8/site-packages/twint/token.py in refresh(self)
67         else:
68             self.config.Guest_token = None
---> 69             raise RefreshTokenException('Could not find the Guest token in HTML')
RefreshTokenException: Could not find the Guest token in HTML

I am having the same issue on Dec 28, 2021.
I can't get it to work on Kali - the latest version with everything I need.
I can get it to work using Google Shell, but after one or two goes, I get the same error. A token, whatever.
File "/home/rangersmyth_74/.local/lib/python3.7/site-packages/twint/token.py", line 69, in refresh
raise RefreshTokenException('Could not find the Guest token in HTML')
twint.token.RefreshTokenException: Could not find the Guest token in HTML
Is there any fix for this please? I've spent 7 hours researching using 3 machines?
Thanks.

same issue for me

I'm having the same issue

Twint can no longer be used from around January 5th. Did the usage on the Twitter side change? Is there any solution?
The error is:
File "/Users/hogehoge/Library/Python/3.9/lib/python/site-packages/twint/token.py", line 69, in refresh
raise RefreshTokenException('Could not find the Guest token in HTML')
twint.token.RefreshTokenException: Could not find the Guest token in HTML

same for me

Same for me

same for me

Step to overcome this issue:

Uninstall the package: !pip uninstall -q twint -y
Install the package from: pip install -q --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint.
Follow these steps after that in this reply: https://github.com/twintproject/twint/issues/1061#issuecomment-1010716112


Test execution_plans::shuffle_writer::tests::test Fail

Describe the bug
run cargo test --no-default-features --features sled

To Reproduce
Steps to reproduce the behavior:
Expected behavior
All test pass
Additional context

I debug the code, find create_hashes func go into #[cfg(feature = "force_hash_collisions")]
I set #[cfg(not(feature = "force_hash_collisions"))] at the head of the test func still not work

@alamb  Sorry for bother you, could you have a look?

Ho @Ted-Jiang  -- I am not familiar with ballista. Do the tests pass for you if you remove the --features sled option?
It seems like @edrevo  or @andygrove  may be more familiar with this code

FWIW when I run cargo test --no-default-features --features sled locally (mac, Rust 1.55) I do not see any failures

@alamb  Thanks. It works for me to update rustc version from 1.54 to 1.55
I think its good to notify what version should use in Readme (or i not found it).

Yeah, we should definitely make it clear that we only test on the latest rust (whatever that happens to be). At this point we just don't have the maintenance bandwidth to maintain compatibility with older rust versions

Filed https://github.com/apache/arrow-datafusion/issues/1043 to track the doc improvement. Thanks for the report @Ted-Jiang . Closing this one for now

Feel glad to help the community become better.


Make maxWorkItemCommitBytes dynamic

Use the maxWorkItemCommitBytes value returned in the StreamingConfigTask, if there is one.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

R: @scwhittle

R: @aaltay


[Feature request] Convert sublime-snippet to sane-snippet

1. Request
It would be nice, if sublime-tinker-tools will support convert sublime-snippet to sane-snippet.
2. Justification
SaneSnippets more convenient for human readability, than default XML-based snippets. See example in SaneSnippets repository.
I have 20+ sublime-snippet files and I want quick convert them to sane-snippet format.
3. Expected behavior
For example, I run command in my terminal:
tinker-sane "*.sublime-snippet"

All files with extension sublime-snippet in current folder will convert to sane-snippet.
Thanks.

I'd rather add support in my atomizr, that's probably more appropriate. Thanks for suggesting!