text:
RFC for metrics list

We should discuss which metrics need to be collected

Relevant for the 'blockchain as a service' project.
We may consider both 'service' metrics like avg commitment time, current tps, avg block size etc and 'business metrics' such as ISI ranking, token holders ranking, users ranking (by transaction volume). Though those business ones rather consider realtime analytics.

source: gharchive/issue

authors: Mingela eadventurous

repo: hyperledger/iroha

license_type: permissive

license_source: github-api


text:
[UX] iroha2 CD is broken on RC.9 release

GIT commit hash
d537360
Minimum working example
There is the current config.json that is used via docker deployment by CD process. It is originally based on this template
{
  "TORII": {
    "P2P_ADDR": "0.0.0.0:1337",
    "API_URL": "0.0.0.0:8080",
    "TELEMETRY_URL": "0.0.0.0:8180",
    "MAX_TRANSACTION_SIZE": 32768,
    "MAX_CONTENT_LEN": 16384000
  },
  "SUMERAGI": {
    "SUMERAGI_COMMIT_TIME_MS": 10000,
    "TRUSTED_PEERS": [
    {
        "address": "s1.tst.iroha2.iroha.tech:1337",
        "public_key": "ed01201c61faf8fe94e253b93114240394f79a607b7fa55f9e5a41ebec74b88055768b"
    },
    {
        "address": "s2.tst.iroha2.iroha.tech:1337",
        "public_key": "ed0120cc25624d62896d3a0bfd8940f928dc2abf27cc57cefeb442aa96d9081aae58a1"
    },
    {
        "address": "s3.tst.iroha2.iroha.tech:1337",
        "public_key": "ed0120faca9e8aa83225cb4d16d67f27dd4f93fc30ffa11adc1f5c88fd5495ecc91020"
    },
    {
        "address": "s4.tst.iroha2.iroha.tech:1337",
        "public_key": "ed01208e351a70b6a603ed285d666b8d689b680865913ba03ce29fb7d13a166c4e7f1f"
    }
]
  },
  "KURA": {
    "INIT_MODE": "strict",
    "BLOCK_STORE_PATH": "/storage"
  },
  "BLOCK_SYNC": {
    "GOSSIP_PERIOD_MS": 10000,
    "BATCH_SIZE": 4
  },
  "PUBLIC_KEY": "ed01201c61faf8fe94e253b93114240394f79a607b7fa55f9e5a41ebec74b88055768b",
  "PRIVATE_KEY": {
    "digest_function": "ed25519",
    "payload": "282ed9f3cf92811c3818dbc4ae594ed59dc1a2f78e4241e31924e101d6b1fb831c61faf8fe94e253b93114240394f79a607b7fa55f9e5a41ebec74b88055768b"
},
  "GENESIS": {
    "ACCOUNT_PUBLIC_KEY": "ed01204cffd0ee429b1bdd36b3910ec570852b8bb63f18750341772fb46bc856c5caaf",
    "ACCOUNT_PRIVATE_KEY": {
    "digest_function": "ed25519",
    "payload": "d748e18ce60cb30dea3e73c9019b7af45a8d465e3d71bcc9a5ef99a008205e534cffd0ee429b1bdd36b3910ec570852b8bb63f18750341772fb46bc856c5caaf"
}
    }
  }

Please tell us what we should add/change in this config template. If the problem in TORII values, how they have to be?
We also notice some new values that were added to config.json: are they mandatory and how to interpret them correctly?
Expected behaviour
We expected to have the working iroha2 deployment both on docker and kubernetes deployment. At least for lts tag, but the problem affect on all three dev, stable and lts versions.
Actual behaviour
docker container is under endless restarting (the same behavior for k8s pod).
Operating system
Ubuntu 22.04
LibC type and version
No response
Current environment
Docker Hub
Logs in JSON format
iroha2 failed container log:
Error: Proxy failed at build stage due to: queue

Location:
    /iroha/cli/src/lib.rs:157:9

Who can help?
@appetrosyan @s8sato

Please refer to the config.json that is provided with the repo for a reference to how the configuration needs to be adjusted

Please tell which fields should be strictly mandatory that the current config.json doesn't have (or may be all of them are mandatory now).


text:
MST: assume state diff recieved

Signed-off-by: Mikhail Boldyrev miboldyrev@gmail.com

Description of the Change
quick and dirty fix for a flaw in MST propagation. before this change, any diff sent once would be recent eternally until MST is completed or invalidated, because the sender would never know if the recipient got the diff.

Benefits

Possible Drawbacks
hopefully fixes enormous resource usage in MST propagation.

Usage Examples or Tests [optional]

Alternate Designs [optional]

implemented in #442

source: gharchive/pull-request


text:
Allow Executor to recover after a TP Crash.

This PR currently only works for python transaction processor. If solution is approved handling of TpPings will need to be added to all other sdks.
A monitor socket is listening for disconnect events and notifies the executor that it should check all connected transaction processors to see if they are still connected. This is done by sending a TpPing response and waiting for a TpPingResponse is returned. If a transaction processor is found to not be connected, it should be removed from processors and all pending futures are set to an internal error (causing them to be rescheduled on a new processor).
The reasons that this ping message is needed, is that the zmq disconnect event only returns the following information: remote endpoint, event int, and a FD. I was not able to correlate a FD with a connection id for the transaction processor. Also a rest_api starts up/disconnects it creates the same type of connect/disconnect event as a transaction processor.
Open issues I am looking for feed back on:
Currently, while waiting for the future to be set or a timeout to occur the executor thread is locked up waiting to know if a transaction processor should be removed. For example if the timeout is set to 10 seconds (the current timeout), and a processor crashes, it will take 10 seconds to continue processing.

Yes, I wanted to make sure the approach was approved before touching all the sdks. @peterschwarz

👍

repo: hyperledger/sawtooth-core


text:
Initial "Track New Fish" Form

Adds a new form for adding a new fish to the system.  This does not submit the transaction, but sets up the framework for doing so, minus the transaction creation and submission.
Additionally, updates the gitignore to include the JS artifacts.

@peterschwarz I also wouldn't mind a few comments. Just some quick descriptions for the functions would probably be enough.

authors: delventhalz peterschwarz


text:
Add non-extended chacha20poly1305

Also updates chacha20poly1305 crate to 0.4.1

@andrewwhitehead Thanks for this PR. Is there a compatibility reason or streaming reason for using chacha20poly1305? In most cases xchacha20poly1305 is preferred except in those two cases.

@mikelodder7 Yes, it's for compatibility with the current Indy pack/unpack, which advertises xchacha but doesn't actually use it.

@mikelodder7 Yes, it's for compatibility with the current Indy pack/unpack, which advertises xchacha but doesn't actually use it.

Yeahhhhh.... Sorry bout that headache. Maybe we can make it consistent eventually?

@kdenhartog  Because the nonce is detached, it would be pretty easy to support both by checking its length first (12 or 24 bytes).

Also the updated pack/unpack exists here now:
https://github.com/bcgov/indy-shared-rs/blob/master/indy-utils/src/pack/alg.rs
It uses the crypto_box crate to create/open the nacl crypto box, and implements the sealed box manually.

@kdenhartog Because the nonce is detached, it would be pretty easy to support both by checking its length first (12 or 24 bytes).

We could just add support for both rather than relying on the implementation supporting only xchacha as well. I think it would be good to not indicate the wrong type of algorithm being used in the headers if it's possible to get everyone doing that.

authors: andrewwhitehead kdenhartog mikelodder7

repo: hyperledger/ursa


text:
binds stop working after scrolling

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
Hyprland, built from branch main at commit 0f594732b063a90d44df8c5d402d658f27471dfe  (props: bump version to 0.43.0).
Date: 2024-09-08
Tag: v0.43.0, commits: 0f594732b063a90d44df8c5d402d658f27471dfe

flags: (if any)

System Information:
System name: Linux
Node name: BifrostMini
Release: 6.6.52
Version: #1-NixOS SMP PREEMPT_DYNAMIC Wed Sep 18 17:24:10 UTC 2024

GPU information:
00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405] (prog-if 00 [VGA controller])
	Subsystem: VMware SVGA II Adapter [15ad:0405]

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240926.1925c60"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"

plugins:

======Config-Start======

Config File: /home/fern/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/4a86f7kq7757fjwf5zzwk0jxixn4330n-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
$mod=Super_R
dwindle {
  force_split=2
  preserve_split=true
  pseudotile=true
}

input {
  kb_layout=se
}
binds=$mod, q, killactive
binds=$mod, m, exit
binds=$mod, Return, exec, foot
binds=$mod, f, exec, firefox
binds=$mod, m, togglesplit
binds=$mod, left, movefocus, l
binds=$mod, right, movefocus, r
binds=$mod, up, movefocus, u
binds=$mod, down, movefocus, d
binds=$mod, h, movefocus, l
binds=$mod, l, movefocus, r
binds=$mod, k, movefocus, u
binds=$mod, j, movefocus, d
binds=$mod&Shift_L, left, movewindow, l
binds=$mod&Shift_L, right, movewindow, r
binds=$mod&Shift_L, up, movewindow, u
binds=$mod&Shift_L, down, movewindow, d
binds=$mod&Shift_L, h, movewindow, l
binds=$mod&Shift_L, l, movewindow, r
binds=$mod&Shift_L, k, movewindow, u
binds=$mod&Shift_L, j, movewindow, d
binds=$mod,1,workspace,1
binds=$mod&Shift_L,1,movetoworkspace,1
binds=$mod&Control_L,1,movetoworkspacesilent,1
binds=$mod,2,workspace,2
binds=$mod&Shift_L,2,movetoworkspace,2
binds=$mod&Control_L,2,movetoworkspacesilent,2
binds=$mod,3,workspace,3
binds=$mod&Shift_L,3,movetoworkspace,3
binds=$mod&Control_L,3,movetoworkspacesilent,3
binds=$mod,4,workspace,4
binds=$mod&Shift_L,4,movetoworkspace,4
binds=$mod&Control_L,4,movetoworkspacesilent,4
binds=$mod,5,workspace,5
binds=$mod&Shift_L,5,movetoworkspace,5
binds=$mod&Control_L,5,movetoworkspacesilent,5
binds=$mod,6,workspace,6
binds=$mod&Shift_L,6,movetoworkspace,6
binds=$mod&Control_L,6,movetoworkspacesilent,6
binds=$mod,7,workspace,7
binds=$mod&Shift_L,7,movetoworkspace,7
binds=$mod&Control_L,7,movetoworkspacesilent,7
binds=$mod,8,workspace,8
binds=$mod&Shift_L,8,movetoworkspace,8
binds=$mod&Control_L,8,movetoworkspacesilent,8
binds=$mod,9,workspace,9
binds=$mod&Shift_L,9,movetoworkspace,9
binds=$mod&Control_L,9,movetoworkspacesilent,9
binds=$mod,0,workspace,10
binds=$mod&Shift_L,0,movetoworkspace,10
binds=$mod&Control_L,0,movetoworkspacesilent,10

======Config-End========

Description
After scrolling (does not matter where), any "binds = " stop working until a mouse button is clicked. This is not an issue with the vm or nix since it also occurs in the host (which uses arch).
How to reproduce

Set a binding via "binds = "... .
Attempt to use the binding (this works)
Scroll
Attempt to use the binding (this does not work)
Click with any mouse button
Attempt to use the binding (this works)

Crash reports, logs, images, videos
No response

what

authors: SvenskOstkakaMedSylt vaxerski

repo: hyprwm/Hyprland


text:
Focus restored incorrectly after closing floating window

How to reproduce
To make sure no shenanigans going on with the mouse I've set input:follow_mouse = 0 and input:float_switch_override_focus = 0, but it doesn't seem to matter for this issue (happens on defaults too).

Open 3 windows, focus the 3rd

+-----------------+-------+
|                 |       |
|                 |  [3]  |
|                 |       |
|        1        +-------+
|                 |       |
|                 |   2   |
|                 |       |
+-----------------+-------+

Open and close floating window

Now window 2 is focused

Expected behavior
Window 3 should be focused (window that was originally focused should receive the focus back).
Demo
https://user-images.githubusercontent.com/14999778/194760983-4703df29-5f3f-414a-b7b1-cc86f332194a.mp4
Also, it doesn't happen with e.g. wofi.
System

Arch Linux latest
linux-zen 5.19.13
nvidia-dkms 515.76-1 (Instructions from the wiki applied except fixes for flickering)
Hyprland https://github.com/hyprwm/Hyprland/commit/90f2259f5e4b8d4c1c51db8d463a7a7e47624bce, generated config + bindings

Real use case
For me it's opening copyq show in floating window to select clipboard's content from history.

that's intended behavior

Okay, is there a way to force it to give the focus to the previously focused window, after float is closed?

The only sort of way I see so far is listening on socket2 for activewindow, recording hyprctl -j activewindow | jq -r '.address, .floating', and on closewindow if window was floating calling hyprctl dispatch focuswindow address:__previous__.
But is there a better way?

probably not. Hyprland does not record the "last tiled window"
But since this script works and isn't very heavy, I think this should not be an issue.

Sure, I didn't expect to figure out the solution so fast after I opened the issue, otherwise I wouldn't have opened it.

don't worry :P

authors: MahouShoujoMivutilde vaxerski


text:
handle mouse on decorations

handles mouse actions inside decorations, to allow further decoration integration and avoid future duplicated code
don't think will cause any new issues since it mostly moves the code

decided to remove onEndDragWindow final nesting with grouped windows
now each decoration can do what it wishes when a window gets dragged onto it
haven't found any issues yet, but probably needs more testing


text:
chore(deps): update all non-major dependencies

This PR contains the following updates:

Package
Type
Update
Change

@types/node (source)
devDependencies
patch
^20.12.6 -> ^20.12.7

typescript (source)
devDependencies
patch
^5.4.4 -> ^5.4.5

Release Notes

Microsoft/TypeScript (typescript)
v5.4.5: TypeScript 5.4.5
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript 5.4.0 (Beta).
fixed issues query for Typescript 5.4.1 (RC).
fixed issues query for Typescript 5.4.2 (Stable).
fixed issues query for Typescript 5.4.3 (Stable).
fixed issues query for Typescript 5.4.4 (Stable).
fixed issues query for Typescript 5.4.5 (Stable).

Downloads are available on:

NuGet package

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Hywax Assistant.

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

Project coverage is 100.00%. Comparing base (2b55f06) to head (93d6da6).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #29   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          146       146
  Branches        25        26    +1
=========================================
  Hits           146       146

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

authors: codecov-commenter hywax-assistant

repo: hywax/muuto

license: MIT


text:
Playback of DRM test is failing.

Playback of Protected content under Flash is failing. I'd like to know if there is a  work around required such as installing ChromeOS Flash.

PepperFlash from desktop Chrome doesn't have DRM support, while PepperFlash from ChromeOS does.
If you have libpepflashplayer.so file, you can check for support by calling
strings -a libpepflashplayer.so | grep PPB_Flash_DRM

Version from ChromeOS have output like:
PPB_Flash_DRM;1.1
PPB_Flash_DRM;1.0

while for desktop one there is nothing.

Adobe is now offering Pepper Flash as an independent download from Chromium.

Is this Pepper Flash unable to do DRM?

Unable.
Test is the same, there should be string PPB_Flash_DRM inside a binary. Both i386 and x86-64 versions I tried have no such string inside.
You still can download ChromeOS recovery image directly from Google. It has PepperFlash inside.

This issue was about Flash plugin itself unable to do DRM-related computations. It's required to use version at from ChromeOS, since PepperFlash for desktop Chrome have no DRM-related code compiled in.
Additionally, there is another issue with DRM, #359. Reason is unknown. Probably, something Firefox-related, since drm test page works in Firefox 52 ESR on my machine.

authors: Zombie-Ryushu i-rinat

repo: i-rinat/freshplayerplugin


text:
not seeing a line on the chart

hello. i have created a line chart. and pass the following points to it.
appending 19.0 at 1456318414.0 appending 18.0 at 1456318606.0 appending 19.0 at 1456318922.0 appending 19.0 at 1456318938.0 appending 19.0 at 1456319210.0 appending 19.0 at 1456319336.0 appending 19.0 at 1456319529.0 appending 19.0 at 1456319836.0 appending 31.0 at 1456319905.0 appending 31.0 at 1456320096.0 appending 26.0 at 1456322045.0 appending 24.0 at 1456404427.0 appending 23.0 at 1456404509.0 appending 24.0 at 1456406438.0 appending 24.0 at 1456406630.0 appending 19.0 at 1456406937.0 appending 20.0 at 1456407697.0 appending 20.0 at 1456407786.0 appending 18.0 at 1456491564.0 appending 19.0 at 1456491757.0 appending 19.0 at 1456492308.0 appending 18.0 at 1456495339.0 appending 18.0 at 1456495444.0 appending 18.0 at 1456495636.0 found lo psi = 18.0 on 1456318414.0 found hi psi = 31.0 on 1456495636.0 lowest Date = 1456318414.0 hightes Date = 1456495636.0 scales are set at 22152.75 and 1.625
here is the code
`Alamofire.request(.GET, url, parameters: ["id": site.pressureSensorID])
.responseJSON { response in
//print(response.result)   // result of response serialization
            // handle network problem
            switch response.result {
            case .Success(_):
                print("success code back from api server for sites request")
            case .Failure(_):
                let alertView = UIAlertController(title: "Connect Error", message: "Network error, please try again", preferredStyle: .Alert)
                let alertAction = UIAlertAction(title: "OK", style: .Default) { _ in
                }
                alertView.addAction(alertAction)
                self.presentViewController(alertView, animated: true) {}
            }

            if let jsonResult = response.result.value {
                //print(response.result.value!)

                let arrayOfJSONDataPlots = JSON(jsonResult)

                for (key, item) in arrayOfJSONDataPlots {
                    var timestamp: Double = item[1].double!
                    let psi: Double = item[0].double!

                    // set the initial values for my comparison variables
                    if lowestDate == 0 {
                        lowestValue = psi
                        highestValue = psi
                        lowestDate = timestamp
                        highestDate = timestamp
                    }

                    if highestValue < psi{
                       highestValue = psi
                    }

                    if lowestValue > psi{
                       lowestValue = psi
                    }

                    if timestamp < lowestDate{
                        lowestDate = timestamp
                    }

                    if timestamp > highestDate {
                        highestDate = timestamp
                    }

                    print("appending \(psi) at \(timestamp)")
                    self.arrayOfPlotPoints.append((psi, timestamp))
                }

    print("found lo psi = \(lowestValue) on \(lowestDate)")
    print("found hi psi = \(highestValue) on \(highestDate)")
    print("lowest Date = \(lowestDate)")
    print("hightes Date = \(highestDate)")

    var xScale: Double = (highestDate - lowestDate)
    var yScale: Double = (highestValue - lowestValue)

    xScale = xScale / 8.0
    yScale = yScale / 8.0

    if xScale < 1 {
        xScale = 1
    }
    if yScale < 1 {
        yScale = 1
    }

    print("scales are set at \(xScale) and \(yScale)")

    /*
    let chartConfig = ChartConfigXY(
        xAxisConfig: ChartAxisConfig(from: 0, to: 14, by: 2),
        yAxisConfig: ChartAxisConfig(from: 0, to: 15, by: 2)
    )
    */

    let chartConfig = ChartConfigXY(
        xAxisConfig: ChartAxisConfig(from: lowestDate, to: highestDate, by: xScale),
        yAxisConfig: ChartAxisConfig(from: lowestValue, to: highestValue, by: yScale)
    )

    let chart = LineChart(
        frame: CGRectMake(0, 70, 300, 500),
        chartConfig: chartConfig,
        xTitle: "X axis",
        yTitle: "Y axis",
        lines: [
        //(chartPoints: [(2.0, 10.6), (4.2, 5.1), (7.3, 3.0), (8.1, 5.5), (14.0, 8.0)], color: UIColor.redColor()),
        (chartPoints: self.arrayOfPlotPoints, color: UIColor.blueColor())
        ]

    )

    self.lineChartView.addSubview(chart.view)
    self.chart = chart

            }
            else {
                print("JSON data is nil.")
            }
    } // end of json sites request`

the scales and axis lables are showing up, but i cannot see the line.
would appreciate any help with this

Looks like you are setting the range you want for y in the x axis and the other way... btw you can also adjust the chart settings to provide enough spacing, such that the labels are not cut at the edges.

you were correct. thanks

authors: i-schuetz skrite

repo: i-schuetz/SwiftCharts

license_source: bigquery


text:
🛑 Local Files is down

In 0582a14, Local Files (https://ustc-files.ibugone.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Local Files is back up in 3f95eac.

repo: iBug-Bot/status


text:
Подписи интерфейсов

Если между двумя свитчами больше одного линка то подписи интерфейсов накладываются друг на друга. это видно на вашем скриншоте devnet_marathon_endgame/samples/sample_link_details.png между SW01-SW02. Можете подсказать как решить данную проблему.
Так же если обнаружили через lldp телефоны с одинаковым system name делается ложная связанность. Ну это касается не только телефонов просто заметил на них

Да, о проблеме с наложением лейблов знаю, изящного решения пока что нет. При необходимости, эту информацию можно уточнить при нажатии на линк в выпадающем меню: оно содержит информацию об интерфейсах, к которым относится линк.
С точки зрения логики, заложенной в скрипт, это ожидаемо. Предполагается, что system name для различных устройств совпадать не должен (если только это не члены стека). Cisco-устройства, как правило, анонсируют в этом TLV свой хостнейм. А что видно от подобных IP-телефонов в LLDP и поддается ли это поведение изменению на их стороне?

Подскажи еще есть ли решение в моей ситуации. Есть сетка на объекте порядка 100 коммутаторов там коммутаторы распределены по нескольким кольцам. после работы скрипта в целом получаю кашу. Я так понимаю именно за распределение объектов отвечает dataProcessor: 'force' и ничего лучше тут не придумаешь? Я думал о том чтобы кольца сворачивать в группы типа как в демо описан Hierarchy NodeSet.

Я думал о том чтобы кольца сворачивать в группы типа как в демо описан Hierarchy NodeSet.

Это вариант. Но нужно дописать логику, по которой скрипт сможет определить Node в нужный NodeSet.
Помимо этого, можно поиграться и с базовой сортировкой по уровням. Это описано в конце ридми (NX_LAYER_SORT_ORDER).  Так можно разнести часть коммутаторов в пространстве. Скажем, часть отнести к switch_ring01_level01, часть -  к switch_ring01_level02.

authors: iDebugAll uvinva


text:
🛑 OBEC Academy is down

In 49be7c6, OBEC Academy (https://dlp.obec.go.th) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OBEC Academy is back up in 1b18da3.


text:
How do I redirect after logout?

I'm working on a project with React and Django. I want to be redirected to the main page when I log out. Please help me ...

@wopa7210 are you working with Django framework or do you mean by "Django" here the Django Rest Framework to build backend APIs ? My answer will depend on your answer :)

repo: iMerica/dj-rest-auth


text:
Update scalafmt-core to 3.5.9

Updates org.scalameta:scalafmt-core from 3.5.8 to 3.5.9.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #381 (8a02a07) into master (a8a42f6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #381   +/-   ##
=======================================
  Coverage   84.61%   84.61%
=======================================
  Files          35       35
  Lines         221      221
  Branches       10       10
=======================================
  Hits          187      187
  Misses         34       34

Flag
Coverage Δ

unittests
84.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter scala-steward

repo: iRevive/fmq


text:
Update fs2-io to 3.6.1

Updates co.fs2:fs2-io from 3.4.0 to 3.6.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2", artifactId = "fs2-io" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "co.fs2", artifactId = "fs2-io" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #430.


text:
Make adding create 3 messages a mandatory step rather than recommended

For the Create 3 we should encourage users to load create3 messages, not have it buried at the end of a suggestion

Thank you for this contribution! Hope you are continuing to enjoy your Create 3 robot.

authors: brianlmerritt shamlian


text:
Steam Guard support

This is a mega-issue describing parts which we need to implement to get Steam Guard support fully working
V1:

[X] Generating TOTP codes
[X] Adding a new authenticator if none are present
[X] Removing authenticator
[X] Recovery code display
[ ] Trading confirmations

V2:

[X] Moving authenticator from other devices
[X] "Authorized Devices": session list
[ ] "Authorized Devices": dedicated session page with revoke options
[X] Mobile Confirmation: polling for new auth sessions
[X] Mobile Confirmation: confirmation UI and actually signing in
[X] Sign in using QR

Custom (not related to official app parity:)

[ ] .mafile support (export/import): requires multi account supported

V1, but won't be implemented:

Home screen widget: Glance is not ready yet + no need for it

V2, but won't be implemented:

Pushes: needs FCM
Google Maps in Mobile Confirmation UI: needs FCM and Maps SDK
Multi-account support: needs global rework of application's session handling

also import otp token from bitwarden could be nice https://bitwarden.com/help/authenticator-keys/#steam-guard-totps

authors: iTaysonLab muznyo

repo: iTaysonLab/jetisteam


text:
website: Update input documentation & demos

Add input demos for the different options.
Update documentation, include adding hyperlinks to other mentioned components.

There are some merge conflicts.

repo: iTwin/iTwinUI


text:
Merge 'master' branch into 'io-fix-build-to-yaml'

The branch 'io-fix-build-to-yaml' has the YAML that is used to generate and validate the itwinjs-core docs. Currently, build is failing as the branch is not sync with master that has the latest fixes for docs according to the new version of '@bentley/bemetalsmith'

Just trying to understand this, why is the YAML thats used to generate/validate core docs not on master? Do we generate/validate/publish docs from a branch and not master?

repo: iTwin/itwinjs-core


text:
Update gather-docs.yaml

Update gather-docs.yaml branchName value to release/4.4.x after first successful patch release

what happened to the goal for automating this?

the previous gather docs yaml update is different than this one and happens in 2 separate phases of the release process, meaning the automation steps also need to go in different automation pipelines. This one in particular should be part of finalize-release automation. I still plan to incorporate both this cycle, just haven't gotten around to it yet 😄


text:
QQ登录后再QQ退出，然后再QQ登录拉不起QQ授权登录页，显示为空白页

你好，我使用本插件的时候，出现：QQ登录后再QQ退出，然后再QQ登录拉不起QQ授权登录页，显示为空白页
我换用了你插件里面的***example_www/***测试了也是一样的问题。
测试环境:
 ios 9.1
 iphone6
 cordova 5.3.3

麻烦你确认一下是不是插件的问题，或者是ios 9兼容的问题？
因为我用iPhone4 ios8.4测试是没有问题的。
一下是重新QQ登录显示的空白页：

@lianghuiyuan  感谢反馈，最近腾讯官方SDK有更新，支持iOS9 的一些东东，这几天我会抽空更新一个插件版本

@iVanPan 刚刚对比了一下ios8.4，确切的说是没有拉起这个页面：
http://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=1104708258&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=m_authorize&ucheck=1&fall_to_wv=1&response_type=token&sdkv=2.9&switch=1&state=test&client_id=1104708258&redirect_uri=auth%3A%2F%2Fwww.qq.com&status_machine=iPhone7%2C2&status_version=9&status_os=9.1&display=mobile&scope=get_user_info%2Cget_simple_userinfo%2Cadd_album%2Cadd_idol%2Cadd_one_blog%2Cadd_pic_t%2Cadd_share%2Cadd_topic%2Ccheck_page_fans%2Cdel_idol%2Cdel_t%2Cget_fanslist%2Cget_idollist%2Cget_info%2Cget_other_info%2Cget_repost_list%2Clist_album%2Cupload_pic%2Cget_vip_info%2Cget_vip_rich_info%2Cget_intimate_friends_weibo%2Cmatch_nick_tips_weibo&sdkp=i
辛苦了，期待早日更新。感谢！

@lianghuiyuan  新版本已经更新了, 支持iOS 9 biteCode, 页面没有拉起应该是白名单问题，已经解决，在我的iPhone上面测试通过了。你可以测试一下，有任何问题 欢迎反馈

@chengrenz 新版本已更新，app store 提交问题是腾讯SDK的问题，应该在新版本的SDK里面解决了，希望可以测试 反馈

@iVanPan 更新了插件测试了一下，该问题已解决。非常感谢，辛苦了！

authors: iVanPan lianghuiyuan

license: mit


text:
分享成功没有图片

手机上有安装微博客户端，能分享成功，但是没有图片，调用如下
var args = {};
args.url = "http://www.baidu.com";
args.title = "Baidu";
args.description = "This is Baidu";
args.imageUrl = "https://www.baidu.com/img/bdlogo.png";
args.defaultText = "abcdefg";
YCWeibo.shareToWeibo(function () {
alert("share success");
}, function (failReason) {
alert(failReason);
}, args);

@zhengjh  看这里 https://github.com/sinaweibosdk/weibo_android_sdk/blob/master/常见问题 FAQ.md

@iVanPan 看了下，如果不是想要这种linkcard的模式，而是链接
做为内容显示，而图片则是类似于发微博时上传图片的效果，如图，是否可实现？

@zhengjh  这个要你自己查看微博文档接口了

你给的Demo里面，Android下点击分享没有响应。然后我打到自己的项目里面也木成功，不知道是不是跟手机有关系，用的红米note。

@huawin03 你的签名正确嘛？跟手机Rom会有一定关系的
—
Sent from Mailbox
On Fri, Nov 27, 2015 at 7:00 PM, huawin03 notifications@github.com
wrote:

你给的Demo里面，Android下点击分享没有响应。然后我打到自己的项目里面也木成功，不知道是不是跟手机有关系，用的红米note。
Reply to this email directly or view it on GitHub:
https://github.com/iVanPan/cordova_weibo/issues/7#issuecomment-160114559

@iVanPan 好的，非常感谢呀~~~

authors: huawin03 iVanPan zhengjh


text:
ivh-treeview-expanded-attribute not honored when using ivhTreeviewMgr.expand()

If you set a custom expandedAttribute using the view attribute ivh-treeview-expanded-attribute, when using functions like ivhTreeviewMgr.expand() and ivhTreeviewMgr.expandTo(), they update the default __ivhTreeviewExpanded property instead of the custom one defined.  It appears the custom  expandedAttribute is only honored if you configure it through the ivhTreeviewOptionsProvider.

Sorry, not sure I'm following you. Would you mind creating an example using our template jsbin/plunkr/etc.? I added some tests to verify this is behaving as intended:

https://github.com/iVantage/angular-ivh-treeview/blob/master/test/spec/directives/ivh-treeview.js#L97-L105
https://github.com/iVantage/angular-ivh-treeview/blob/master/test/spec/directives/ivh-treeview.js#L97-L105

Keep in mind that if you are using ivhTreeviewMgr in your own code you must tell the manager which property it should use for expanding/collapsing (as in the last example).

I did notice the optional overriding opts parameter.  I guess I assumed using ivh-treeview-expanded-attribute as a directive attribute would behave the same way as setting expandedAttribute in the ivhTreeviewOptionsProvider--completely overriding the default behavior of that option and not require always passing in the override through the opts parameter.
The issue I see is that it doesn't make sense to have an ivh-treeview-expanded-attribute directive attribute if it does not use it at all times (like it does when setting expandedAttribute in the ivhTreeviewOptionsProvider).

Specifying a new default option with ivhTreeviewOptionsProvider is just as you say: overriding a global default. We can safely use these new values everywhere.
The thing with the attribute level option is that it's local to a particular tree instance.
You can, for example, have multiple trees (that maybe even use the same data!) which each use different attributes for tracking expanded/collapsed states. So we want to keep these settings sandboxed.
Coupling view attributes to the service behavior would also create undesirable race conditions:

ivhTreeviewMgr.expand(...) --- uses existing defaults
view is processed
ivhTreeviewMgr.expand(...) --- now uses values specified in view...?

In general I don't think it's a great practice to assume your e.g. controller (or arguably worse, service) knows anything about your view - or even assume a particular view has been compiled and linked. So when you want to use ivhTreeviewMgr to manipulate tree data and that data has attributes which differ from the registered defaults, it's appropriate to have to provide that information to the manager.

Thanks for the explanation.  It makes sense.  You can close this.

Sorry for the confusion, I'll revisit the docs and see if I can make this behavior more clear.

authors: cgatesman jtrussell

repo: iVantage/angular-ivh-treeview


text:
Problems with AMD scope

when using AMD, functions are under scope not under global window.
This should work but does not , ReferenceError: cy is not defined
 require(['jquery', 'cytoscape', 'cytoscape-expand-collapse'], function ($, cytoscape, expandCollapse) {
   expandCollapse(cytoscape, $); // register extension
   $('#cy').cytoscape({
     ready: function () {
       var cy = this; // scoped cy
       cy.expandCollapse();
     }
   });
 });

This one works because of window.cy = this;
 require(['jquery', 'cytoscape', 'cytoscape-expand-collapse'], function ($, cytoscape, expandCollapse) {
   expandCollapse(cytoscape, $); // register extension
   $('#cy').cytoscape({
     ready: function () {
       window.cy = this; // expandCollpase only works if this line is defined
       var cy = this;
       cy.expandCollapse();
     }
   });
 });

This is confusing because there could be multiple instances of cy running in tabs for example.
expandCollpase should accept the cy it is being provided with, instead of looking for window.cy
JSFIDDLE: https://jsfiddle.net/bababalcksheep/ypgdkcup/3/

this plugin does not work because of  window.cy with AMD when using bootstrap tabs for example, where each tab created dynamically has a cytoscape js and only last tab gets this control and rest don't

@djangosdk Thank you for repoting the problem. I think that the problem was not specific to AMD. It seems to be solved now. If you are agree we can close the issue.

@metincansiper . Fixes error now.
Seems to fix issue but i am still unable to make it work with tabs. I think i will find out more and post new issue if any

@djangosdk thanks it would be great.

authors: djangosdk metincansiper


text:
Website refresh

Goals

Address some cosmetic quality issues with assets and layout
Improve sidebar so it's easier to navigate
Improve clarity and structure of documentation pages
Improve how the secondary documentation menu works (appears on mobile devices)

I'm not a professional designer so and don't want to fall into the trap of futzing around too much without any reason but I didn't feel I'd gotten to the point where I wanted to with some of initial style customisations I'd done. The changes aren't major (and could all still use some help from an actual designer) but I feel like they are an improvement.
Before / After
Homepage (Desktop)

Homepage (Mobile)

### Documentation (Desktop)

### Documentation (Mobile)

I've cleaned up some CSS issues impacting how the site appeared on some mobile devices (i.e. with smaller screens) and overridden a bunch of CSS to make the documentation menus nicer on mobile, as that feature isn't in a good state in Docusaurus 2 alpha yet (it's weird, and by default you get two hamburger menus on a page!).
The pages are a little cleaner, and font sizes on some elements (like table of contents) are larger and easier to read, and items on the sidebar are highlighted in a much better way. I've added screenshots to the PR.
I appreciate a lot of this hard coded CSS is instant technical debt; it probably makes sense to look at it again at a point whenever we update Docusaurus and/or the version of the theme we are using.
When we update Docusaurus at some point I'm sure a lot of the issues will end up being addressed that makes these hacks redundant and probably will clash so reviewing and stripping them out then seems like a good time to do that (as they will need refactoring at that point anyway).
I am not averse to anyone cleaning up what we have in the meantime, but am also okay to live with it like this given we are using an alpha release of Docusaurus v2 and I expect things to change/break and need to be redone anyway.

repo: iaincollins/next-auth

license: ISC


text:
Add instructions to install using conda

I've recently created a bioconda package for pywgsim, since I needed it as a dependency for another package.
Here's a PR in case you'd like to add instructions on how to install it.

thanks a lot, much appreciated

authors: ialbert tdido

repo: ialbert/pywgsim


text:
added noisy filepath tests

The purpose of this PR was to reproduce an issue whereby stacktrace includes long (noisy) filepaths.
Several months ago I started to resolve this issue and reproduced the issue with the test here, however, currently, the long filepaths aren't seen in the stack trace when running the tests today.

newer versions of node appear to strip the query string in the stacktrace and maybe this issue can be ignore

repo: iambumblehead/esmock


text:
What's the Contentful structure you're referring to?

Code can be used as a reference for other Gatsby projects, but this repo will not work out-of-the-box without replicating the Contentful data structure.

Hi Matthias,
Really digging this. I'd love to use it as a basis to redo my portfolio and learn some new skills with Gatsby/Contentful/Netlify.
Would you be open to share/extrapolate on the Contentful structure you're referring to?
Thanks in advance for your help!

Hello guys,
I really avoid to ask for help but I don't get this..
I installed gatsby @iammatthias lasted package, changed the contentful IDs, changed the contentful structure of content to fit what's specified in one of the upper comment.
But then when i run "Gastby develop/build" I get the following error :
...
success building schema - 0.205 s
⠋ createPages
error UNHANDLED REJECTION
TypeError: Cannot read property 'allContentfulPost' of undefined

gatsby-node.js:18 graphql.then.result
C:/Users/Nicolas BURGI/today/gatsby-node.js:18:19

I don't understand what to do.. I thought that maybe it's because there wasn't any data in contentful so I created some, but no changes. Did I forget something? What am I doing wrong ?
I would really apreciate some help.

This repo is not intended to be a starter—it is the codebase for my personal site. It is left public to serve as an educational resource. Feel free to take a look at how things work, so you can build your own, but support is no longer provided.
If you would like to quickly bootstrap a Gatsby + Contentful + Netlify project, I recommend the fantastic GCN starter. It has an MIT license, unlike this project.

authors: Kowai iammatthias jpvalery


text:
[Verbesserung] Terminsuche: Mehrere Vermittlungscodes (mehrere Gruppen) Gleichzeitig prüfen

Hallo in die Runde,
Leider hat Baden-Württemberg seine Impfzentren in 5 verschiedene Gruppen eingeteilt, die geografisch nicht wirklich logisch von einander getrennt sind.
Darum habe ich nun 2 verschiedene Vermittlungscodes, für 2 verschiedene Gruppen.
Anscheinend gibt es aber nicht die Möglichkeit in 2 Gruppen gleichzeitig mit 2 Codes zu suchen (oder habe ich etwas falsch verstanden/gemacht?).
Wäre es möglich ein solches Feature noch mit einzubauen?
Danke für dieses geniale Tool schon jetzt!

Kommt mit Version 1.2, in v1.2.2 (Beta) ist das Feature schon implementiert

https://github.com/iamnotturner/vaccipy/releases/tag/v1.2.6
Ist jetzt auch in der GUI drin :)

super, ich lasse das Ticket noch offen, bis es den sprung von Beta in den release geschafft hat.
die v1.2.2 (WIN10, cli) ist bei mir leider nicht gestartet (ohne error direkt wieder verschwunden)
126 habe ich noch nciht getestet

Sind mittlerweile sogar bei 1.2.8, hatten da ein paar Problemchen 😁

repo: iamnotturner/vaccipy


text:
fix: Allow PascalCase variables for React components

Fixes #101

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
Broader support for PBN XML format

Some important things are not supported/handled in the PBN XML format:

[x] More than one puzzle in a puzzle set
[x] Puzzles with only an image and no clues
[x] Puzzle metadata (description, copyright, etc.) (supported in parsing but not displayed in the UI)

I'm going to declare this done as of c15ce89bf8d29335858b5a521ca85ac1b1ebf3aa and make a separate issue for handling notes.


text:
Copy pattern from other route

It would be great if there was the possibility to copy/move a pattern from one route to other, in order to minimize work while creating patterns with similar itineraries.
It could be done either by duplicating a pattern and then assigning it to other route, or copying a pattern directly from another route or even bringing the patterns when you duplicate a route, as it was discussed in #259.

Hi @gbragaalves, We agree. It's a large missing use case to be able to copy patterns across routes. We have this in our roadmap, and I will update this issue when we have added the feature. Thanks for opening an issue for this!

authors: gbragaalves philip-cline

repo: ibi-group/datatools-ui


text:
YYModel  如何处理多类型列表的数据

一个属性 是数组 数组里包含多种类型的数据 如何处理

映射关系不能直接写出来的话，可以实现 modelCustomTransformFromDictionary 来手动处理。

authors: ibireme juvham

repo: ibireme/YYModel


text:
add datamgr code to create and populate tables for system tests

See: https://github.com/ibis-project/ibis/blob/98e2cd84478f9c8325879bb5b77527a23145f419/ci/datamgr.py#L484-L617 from ibis-framework 1.4.0

We might want to do this as part of the test fixtures, instead. Either way, we need some way of populating these data.

@tswast I started to look at this while getting my dev environment set up.  Ok to proceed implementing this to get the test data populated?
@pytest.fixture(scope='session')
def bqclient(client):
    return client.client

@pytest.fixture(scope='session')
def testing_dataset(bqclient):
    dataset_ref = bigquery.DatasetReference(bqclient.project, DATASET_ID)
    try:
        bqclient.get_dataset(dataset_ref)
    except NotFound:
        bqclient.create_dataset(dataset_ref)
    yield dataset_ref
    bqclient.delete_dataset(dataset_ref, delete_contents=True)

@pytest.fixture(scope='session')
def date_table(testing_dataset):
    return bigquery.TableReference(testing_dataset, 'date_column_parted')

@pytest.fixture(autouse=True, scope='session')
def create_date_table(bqclient, date_table):
    table = bigquery.Table(date_table)
    table.schema = [
        bigquery.SchemaField('my_date_parted_col', 'DATE'),
        bigquery.SchemaField('string_col', 'STRING'),
        bigquery.SchemaField('int_col', 'INTEGER'),
    ]
    table.time_partitioning = bigquery.TimePartitioning(
        field='my_date_parted_col'
    )
    bqclient.create_table(table, exists_ok=True)

@pytest.fixture(scope='session')
def timestamp_table(testing_dataset):
    return bigquery.TableReference(testing_dataset, 'timestamp_column_parted')

@pytest.fixture(autouse=True, scope='session')
def create_timestamp_table(bqclient, timestamp_table):
    table = bigquery.Table(timestamp_table)
    table.schema = [
        bigquery.SchemaField('my_timestamp_parted_col', 'DATE'),
        bigquery.SchemaField('string_col', 'STRING'),
        bigquery.SchemaField('int_col', 'INTEGER'),
    ]
    table.time_partitioning = bigquery.TimePartitioning(
        field='my_timestamp_parted_col'
    )
    bqclient.create_table(table, exists_ok=True)

@loudinb Fixtures like that in tests/system/conftest.py sound perfect.

/take

Closed by #60

authors: loudinb tswast

repo: ibis-project/ibis-bigquery


text:
change footer in README.MD

change footer in README.MD

change footer in README.MD


text:
Custom operators inbouwen

https://github.com/fousa/gpxkit/blob/master/Sources/Parser/Extensions/Operators.swift

Close issue because we are going to use something from @fousa

repo: icapps/ios-air-rivet


text:
🛑 Proxy is down

In 9a1f632, Proxy (https://proxy.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in e9cdad6.

repo: icarephone/upptime


text:
🛑 Proxy is down

In 4360030, Proxy (https://proxy.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in abb1010.


text:
🛑 Icarephone is down

In 35e38ad, Icarephone (https://www.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Icarephone is back up in 33a880a.


text:
Join us on Slack

We're creating an ice_cube Slack to bring contributors together. Click below to join:
https://join.slack.com/t/icecube-corp/shared_invite/zt-1e1vf3y7m-DFgFJWUTiq1rbBaStEoiXg

"This link is no longer active."

Here's a new one: https://join.slack.com/t/icecube-corp/shared_invite/zt-118ro0kvr-AKGf14JskPuLa07fLEFaJA

Sorry for the trouble @kkurian - not sure how to get a permanent link but I can look into it

@pacso link is not working, how can I join?

@pacso @seejohnrun I am interested in joining as well.

@thibaudclement / @vl3 - I've updated the link, should work now

New link?

Sorry ... updated link valid for the next 30 days - https://join.slack.com/t/icecube-corp/shared_invite/zt-1zas03xpd-wSnGLohR2OplO844OTxLXg
I'll update the main one too

Sorry to ask again but is there a new link for this?

@xiaochuanyu - https://join.slack.com/t/icecube-corp/shared_invite/zt-2hnc5v6z7-K0kxsfdfN56ps68AMJzh2Q will work for the next 30 days

new link please!

new link please!

Also requesting new link please :)

I'm just getting on a flight, but will update the link as soon as I'm at my hotel.

New link - https://join.slack.com/t/icecube-corp/shared_invite/zt-2vqckjvpw-YLuopzAY74Aog7T2fB9p9g
I've updated the top comment too, and will delete these comments in a few days.

authors: ctmaloney gap777 kkurian nicholejeannine pacso seejohnrun thibaudclement vl3 xiaochuanyu


text:
模板信息优化

问题描述
模板的名称不太表意：

建议的解决方案

Scaffold Lite => Fusion Design Lite
Scaffold Simple => Simple

附加信息
物料源数据是根据  https://github.com/alibaba-fusion/materials 内的模板包 package.json 生成的
可以提 PR 或 issue 到该仓库。

https://github.com/alibaba-fusion/materials/pull/35

repo: ice-lab/iceworks


text:
If hash is found it wont submit

sock is not defined here :)
if hash < target :
# init a connection to ckpool
logg('[] Block {} solved.'.format(work_on+1))
logg('[] Block hash: {}'.format(hash))
logg('[] Blockheader: {}'.format(blockheader))
payload = bytes('{"params": ["'+address+'", "'+ctx.job_id+'", "'+ctx.extranonce2
+'", "'+ctx.ntime+'", "'+nonce+'"], "id": 1, "method": "mining.submit"}\n', 'utf-8')
logg('[] Payload: {}'.format(payload))
sock.sendall(payload)
ret = sock.recv(1024)

ctx.extranonce2 also not defined

Updated in #13


text:
Restricted Data Download - user experience

reported by ellie@orcaweb.org.uk  (broken into 3 chunks below)
Hello, I've been testing the request/download process and this are some of the things I noticed:
When we receive data requests, we can only see them and grant/deny them if we follow the link in the email and only the table header shows up with no information in it if I try to view the data requests via manage > view list of download requests. This could be a problem where the email goes into a generic, shared inbox where there are multiple people with access who might mistakenly delete incoming data requests as happened to me a few times as I was testing it.
When I get the email back after I accept or deny my request, it only says it's been updated and when I follow the link, it only shows me the name of what I requested and not whether it's been accepted or denied and there is also no download link if I accept my request. I tried requesting the same data again in case that's how you download it once the request is accepted but it doesn't seem to be so I haven't been able to get a restricted dataset even if I unlock it for me (maybe I'm missing something though)? Seems to work fine for open access data.
From a requester perspective, if you select Globicephala you just get sightings of unidentified Globicephala and not the sightings of pilot whales that have been identified to the species level as well which I think could confuse people who might be expecting unidentified pilot whales AND pilot whales identified to the species level. Similarly, if you ask for Delphinidae, you only get unidentified dolphins and not all the species that are in that family and so on. Hope this helps, Ellie

When we receive data requests, we can only see them and grant/deny them if we follow the link in the email and only the table header shows up with no information in it if I try to view the data requests via manage > view list of download requests. This could be a problem where the email goes into a generic, shared inbox where there are multiple people with access who might mistakenly delete incoming data requests as happened to me a few times as I was testing it.

Solution: @cmspinto to add a hyperlink to the data request against the requestID 'view data requested', and add a column for requester email

When I get the email back after I accept or deny my request, it only says it's been updated and when I follow the link, it only shows me the name of what I requested and not whether it's been accepted or denied and there is also no download link if I accept my request. I tried requesting the same data again in case that's how you download it once the request is accepted but it doesn't seem to be so I haven't been able to get a restricted dataset even if I unlock it for me (maybe I'm missing something though)? Seems to work fine for open access data.

This is a bug - when only restricted data needs to be refactored

From a requester perspective, if you select Globicephala you just get sightings of unidentified Globicephala and not the sightings of pilot whales that have been identified to the species level as well which I think could confuse people who might be expecting unidentified pilot whales AND pilot whales identified to the species level. Similarly, if you ask for Delphinidae, you only get unidentified dolphins and not all the species that are in that family and so on. Hope this helps, Ellie

to test in the dropdown: sort by taxon hierarchy and species within the order/family and then indent at each taxon level so that it is clear there is a nesting. When you select a higher taxon level, it should then select all taxon in the lower hierarchy.

We have now a new proposal for the species  dropdown
Two of the main changes are:

it shows all the taxon with indication of what rank the display name is filtering.

The filter will apply to the records of that rank but also so all the children of that rank, example: a filter of Balaenopteridae  (Family) will filter for all the records submitted of that species.

thanks @cmspinto the functionality looks good. The one thing that would make logical sense is if the sorting of the different hierarchies was based on the order/family/species etc. So in your example the list would appear:
.....
Balaenopteridae (family)
Balaenoptera (genus)
Balaenoptera Borealise (species)
....etc.
the title of the dropdown would also need to change to 'taxonomic classification' or something like that

Sorry, can we talk this in the meeting?
I think I know what you mean, but if we could talk it in the next sprint would be good.

@cmspinto remove these levels:

Done.

Done.

authors: cmspinto neil-ices-dk

repo: ices-tools-dev/cetaceans


text:
Allow for Irregular Tiles with ColMajor ordering

Describe the problem you are solving
Several algorithms (e.g. heev) require ColMajor cyclic grid orderings, but do not seem (?) to require regular tiling (apart from row/col tilings being equal). Currently, the only way to inform SLATE that a grid is ColMajor is to invoke a specific set of constructors, e.g.
https://github.com/icl-utk-edu/slate/blob/57ea922b4a10876ba990a41648590ef36019acdd/include/slate/BaseMatrix.hh#L88-L101
i.e. it is not currently possible to construct a cyclic mapping with irregular tiles.
Describe your proposed solution
Expose analogous constructors which expose tileMb /tileNb with cyclic process mappings.

It shouldn't be a problem to add a constructor that allows 2D cyclic with irregular tiles, e.g.,
HermitianMatrix A( uplo, n, tileNb, order, p, q, mpi_comm );

where tileNb is a function, and p, q are integers specifying the grid layout.

repo: icl-utk-edu/slate


text:
Publish APKs for xr_v2 to itch

[CI BUILD]

Upon merging, make sure there's a [CI BUILD] in the commit message

repo: icosa-gallery/open-brush


text:
fix cluster tests

Pull Request Description
This PR will make all cluster tests pass again.
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?

For your record, the cluster tests on Falcon:
Return code: 0
PASS adaptiveSobol
ALL PASSED
[wangc@falcon2 cluster_tests]$

I would like to keep this PR open until the sklearn has been updated on Falcon. @PaulTalbot-INL @alfoa

Job Test qsubs on 504c478 : invalidated by @wangcj05
the new libraries is updated, now test the cluster tests

The qsub tests is all passing now.

Job Test linux on 504c478 : invalidated by @alfoa
build failed?

approved

authors: alfoa moosebuild wangcj05

repo: idaholab/raven


text:
On/Off Flag

Greate Script  :D  :idea:  :mrgreen:  !!! - Use it on rPi Zero W and raspbian Lite
I changed it a bit ... to be able to switch the repeater on and off.
Added to ur Script:

near Line 39

startFile="$execDir/start

near Line 334

if [ -f "$StartFile" ]; then
    echo "[Remove]: $StartFile"
    rm -f $netStartFile
fi

and near Line 585

# Create startup script without repeater mode
cat > $StartFile <<EOF

# booting rPi without repeater mode

# Output the standard errors and messages of rc.local executions to rc.local.log file.
exec 2> $rcLocalLogFile
exec 1>&2

#Start dhcpcd. Again, a 5-second sleep
echo "Starting dhcpcd service..."
systemctl start dhcpcd.service
sleep 20

echo "Starting dnsmasq service..."
systemctl restart dnsmasq.service
#systemctl start dnsmasq.service

echo "Enabling netStop service..."
systemctl enable netStop.service
systemctl start netStop.service

echo "Start DONE"
bash -c 'echo "\$(date +"%Y-%m-%d %T") - REPEATER MODE DEACTIVATED" >>  $netLogFile'
EOF

chmod ug+x $StartFile

I know, most of them is copy and paste, but i'm not a dev or Something and my english is also bad ^^

To the end i replaced ur line in /etc/rc.local

 /bash/bin /home/pi/network-setup/bin/netStart

with

# Repeater Mode Switch
_DATEI=repeater || true
If [ -f "/boot/$_DATEI" ]; then
   /bin/bash /home/pi/network-setup/bin/netStart
else
   /bin/bash /home/pi/network-setup/bin/start
fi

Now i can easy switch on/off the repeater mode, with a flag in /boot...
Maybe you like this idea .. I would be glad, if you would integrate it in your script. :mrgreen:

Hi, thanks for your feedback!
I am a bit confused with your suggestion to integrate the changes.
Please elaborate so that, I can have a work around on your feedback.
Thanks
Pankaj

Closing issue since, there is no further active followup from user.


text:
Updated import statements

Updates import statements to align with chatgpt-wrapper's new file structure.

Thanks a lot for letting us know!

This is currently a breaking change. OpenAI endpoint supports only one message to be processed at a time, resulting in conversation history to be lost. This update will be possible only after the conversation history is provided with each new prompt. Instead, the installation guidelines are updated to install a specific version of the chatgpt-wrapper.

authors: idilsulo kyledenis

repo: idilsulo/ChatGPTify


text:
在安卓上连续向上滑动时候，突然向下滑动 直接回到顶部

用的是neastedscrollviewx 这个组件

用的是neastedscrollviewx 这个组件

更新下nested_scroll_view_x.dart文件的代码，记得过来反馈下问题是否修复。


text:
Include additional test references for PvModel

resolves #590

!test


text:
Use squants for integration

Resolves #627

!test


text:
env template for MongoDB

can you add a template for .env regarding addition for a mongodb for cloud sync?

anything would work. it's schemaless, you can just have one from Atlas

well, anything would simply not work. try this as env and tell me if it works:
ANYTHING="tryme"
SOMETHING="lalala"

For everyone else, this specific env template would work:
NEXTAUTH_SECRET: Copy-paste the output of openssl rand -base64 32
NEXTAUTH_URL: Change to your FQDN where yout F1 Manager calculator runs
DISCORD_CLIENT_ID: Navigate to: https://discord.com/developers/applications and create new application. In OAuth2 section you get CLIENT ID to fill in here.
DISCORD_CLIENT_SECRET: In the same OAuth2 section described above you also get CLIENT SECRET to fill in here.
AUTH_DATABASE_NAME="f1setup"
NEXTAUTH_SECRET=""
NEXTAUTH_URL="https://f1setup.yourdomain"
DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
MONGODB_URI="mongodb://localhost:27017"

Sorry, I just mean that any valid mongodb connection strings would work for the URI thing;
I'm also planning to make the MongoDB part optional (or on a separate project) if people want to take part in the development or want to fork/self-host it.

authors: iebb manuelkamp


text:
Reagir a colisão entre personagem(ns) e objetos do cenário

Em #12, há a detecção de colisões entre personagem(ns) e objetos do cenário. Aqui, deve haver um desdobramento desses eventos, como perder energia, adicionar um objeto ao inventário etc. Dependente, obviamente, de #12.
Nos jogos baseados em texto, esta tarefa se refere às ações disparadas quando um link ou área clicável é acionada.

Coleta de itens o faz desaparecer e toca um som.

repo: ifscgf/Gravity-Falls


text:
dmon-agent hardcoded log dir

Logging directory is hardcoded in dmon-agent to stormLogDir = '/home/ubuntu/apache-storm-0.9.5/logs'.

It reads the env variable STORM_LOG if it is none the default is used (/home/ubuntu/apache-storm-0.9.5/logs)


text:
Display plugins meta-ticket

Original report (archived issue) by Deanna Hood (Bitbucket: d_hood).

Objective is a widget that lets you load various "displays" (something that paints on the render window, e.g. a grid). Each display will have some common properties (e.g. checkbox for toggling visibility), and potentially some custom properties specific to its plugin (e.g. colour of a grid).
Subtasks:

[✔] #137 DisplayPlugin base class, sample displays (grid, realtime factor), and minimal loader. Minimum functionality, not the most "beautiful" widget.

Limitations:

Piggybacking on loading of generic Plugins.
The list of displays to load can be specific in the config file, but not the configuration of the displays.
RealtimeFactorDisplay using MoveableText instead of an overlay of some form.

Issues:

[✔] Displays widget's layout (displays not aligning to top, not expanding correctly).
[✔] Correct size of Displays widget when using DisplayPlugins with expandable properties, e.g. displays can expand beyond the bottom of the screen. Should use scroll area,  see #32 (#32).
[✔ ] RealtimeFactorDisplay disable not working.
[✔] RealtimeFactorDisplay crash on initialisation in some demos.

[✔] #144 Custom Plugin type/loading (so DisplayPlugins don't pollute the list of Plugins available).
[✔] #143 Call SetVisible on each display's root Visual when visibility checkbox is toggled (needs to be implemented in ign-rendering: #69 ✔).
[✔] #146 UI enhancements
[✔] #148 Loading initial properties of displays from config file.
[✔] #148 Saving/loading configuration of Displays widget.
[ ] #150 RTF Display using/mimicking Overlay instead of MoveableText. (Requires ability to attach visuals to camera in ign-rendering: #88 ✔)
[ ] Implement OriginDisplay (available downstream)

This ticket refers to ign-gui0, which is no longer under development, so I'll close it. But it could be a good reference to the ign-rviz work that @Sarath18 is doing. CC @ahcorde .
Here's the DisplayPlugin base class: https://github.com/ignitionrobotics/ign-gui/blob/ign-gui0/include/ignition/gui/DisplayPlugin.hh

authors: chapulina osrf-migration

repo: ignitionrobotics/ign-gui


text:
Silence CMake policy CMP0072

🦟 Bug fix

Fixes #360

Summary

Calling cmake_policy is complicated in this situation because the find_package call is made in a different scope, within ign_find_package. Setting the variable directly does the trick though. See https://github.com/ignitionrobotics/ign-rendering/issues/360#issuecomment-1006278927.
This doesn't solve the problem for downstream projects though. I didn't find a way of passing variables to ignition-component-config.cmake.in.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

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

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-03-25-fortress-edifice-citadel/1343/1

authors: chapulina osrf-triage

repo: ignitionrobotics/ign-rendering


text:
Lidar unit test segfaults on Homebrew

Original report (archived issue) by Javier Iván Choclin (Bitbucket: Javier Choclin).

Description
Lidar unit test segfaults on Homebrew.
Expected behavior:
It shouldn't be an issue since Lidar is a class that should be used with GPU and CPU lidar.
Actual behavior:
There is a segfault when the unit test is run.
5: Test command: /Users/jenkins/workspace/ignition_sensors-ci-pr_any-homebrew-amd64/build/bin/UNIT_Lidar_TEST "--gtest_output=xml:/Users/jenkins/workspace/ignition_sensors-ci-pr_any-homebrew-amd64/build/test_results/UNIT_Lidar_TEST.xml"
5: Test timeout computed to be: 240
5: [==========] Running 1 test from 1 test case.
5: [----------] Global test environment set-up.
5: [----------] 1 test from Lidar_TEST
5: [ RUN      ] Lidar_TEST.CreateLaser
5: [Err] [Manager.hh:111] SDF sensor type does not match template type
5: /Users/jenkins/workspace/ignition_sensors-ci-pr_any-homebrew-amd64/ign-sensors/src/Lidar_TEST.cc:127: Failure
5: Value of: sensor != nullptr
5:   Actual: false
5: Expected: true
 5/14 Test  #5: UNIT_Lidar_TEST .............................***Exception: SegFault  0.10 sec

Reproduces how often:
On every Jenkins run.
Versions
Ignition sensors 1

@mjcarroll I'd like to look into this; I think I remember you mentioning that you had investigated it before? Let me know if you have any debugging tips.

fix in #60

authors: osrf-migration scpeters

repo: ignitionrobotics/ign-sensors


text:
Choose which Ignition collection to invoke from command line

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).

Summary
Ignition Tools allows us to have multiple versions of a library installed and usable side-by-side. But picking the versions could be made simpler if this package understood the concept of Ignition collections (acropolis, blueprint, citadel, etc...).
Motivation
Right now, the user can check all the versions available for a specific library with --versions, then pick which one to use with --force-version. Since each command comes from a different library, and each library has a different version on a given collection, it's inconvenient to remember or check the version for all individual commands.
For example, to use Citadel commands:
ign topic --force-version 8.0.0 ...
ign gui --force-version 3.0.0 ...
ign msgs --force-version 5.1.0 ...

It would be much more convenient to do something like this:
ign topic --citadel ...
ign gui --citadel ...
ign msgs --citadel ...

Describe alternatives you've considered
Something like this would need to be implemented at the ign-tools level, because it requires knowledge of all different versions for a library. But we may not want to hardcode the concept of collections in here, in case we want to support libraries which are not part of a collection.
One way I can think of implementing this would be to have aliases between versions and collections. When a user installs the igntion-citadel package, that package could install the list of aliases. This way, neither ign-tools nor the individual libraries need to know about collections.

Something like this would need to be implemented at the ign-tools level, because it requires knowledge of all different versions for a library.

Actually I think this could be accomplished using the metapackages that we have for each collection (i.e. https://github.com/ignitionrobotics/ign-edifice/), because that knows about all the versions that go into a release.

repo: ignitionrobotics/ign-tools


text:
TimescaleDB is a Timeseries database

Updated the right category of TimescaleDB : Timeseries instead of Other

duplicate

authors: abensrhir vordimous

repo: igorbarinov/awesome-data-engineering


text:
Can the response format be standardized?

Can the response format be standardized?
When I use crud_router in FastAPI+SQLAlchemy+MySQL, the returned message data is inconsistent, which can easily cause front-end call discrimination and processing. For example, when updating, if the ID does not exist, crud_router does not return an error message. When deleting an ID object that does not exist, the backend will report an error, which will cause unpredictable problems in the front-end and back-end. However, fastapi_crudrouter seems to handle this well, but in terms of flexibility and adaptability to new environments, fastcrud is definitely better.
At this point, I would like to ask if the author is willing to unify and improve the response format and some error handling.

This can be done. We'll get to it eventually, but you can tackle it if you want

authors: fzbird igorbenav

repo: igorbenav/fastcrud


text:
did not get the box (401)

Hello,
I get this error, I get the box file with no Pb with FF with a login/password from http://xxx.com/vagrant/akd_box.box
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'akd_box' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'akd_box' (v0) for provider: virtualbox
    default: Downloading: http://xxx.com/vagrant/akd_box.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
The requested URL returned error: 401 Authorization Required

curl see correctly the 401::
$ curl http://xxx.com/vagrant/akd_box.box
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Authorization Required</title>
</head><body>
h1>Authorization Required</h1...
$

to make it work I had to put the login:password in the URI:
config.vm.box_url = "http://login:passwd@xxx.com/vagrant/my_box.box".with_basic_authentication

Please, try the following configuration:
Vagrant.configure("2") do |config|
  config.vm.box = "my_box"
  config.vm.box_url = "http://server.com/my_box.box".with_basic_authentication.to_s
end

I developed it a long time ago... At that time vagrant called the to_s method before downloading the box... So, if you explicitly call it, it could work.

authors: LuisBL igorbonadio


text:
auto mode rules should be except container per tab not per origin

Describe the bug
If one of the rules matched the origin/the main url of the tab so temp container is not applied to it, every other request from that origin should also without temp container.
However, it is not now.
To Reproduce
Steps to reproduce the behavior:

Enable auto mode and add ^https://www.apkmirror.com/.* to rules.
Visit https://www.apkmirror.com/ .
After some redirector, the tab url will be https://challenges.cloudflare.com/.+ with one temp container.

Expected behavior
Just as title.
Desktop (please complete the following information):

Version 1.1.20

Auto Mode is working as designed. The website is triggering a redirect from a un-containered tab and auto-mode is re-opening this tab with a non-whitelisted url into a new temporary container.
I think, you can still do what you want, by just opening a temp container in advance.

on the preference page, change the toolbar action to open a new empty temp container
click the toolbar button, to open a empty new temp container
visit  https://www.apkmirror.com in the temp container

Since tabs, which are already opened in a temp container are ignored by auto-mode handling, you can use this, to open a temp container, that doenst care about further navigation and redirects. Everything will stay in one container.

I am really debatting in my head if auto-mode is such a good idea or even necessary, since firefox already has total cookie protection enabled aka. seperates cookies per site. There is not much of a point of using seperate containers for each url, except if you want to use mutliple logins at the same site or just want to visit a site, without any cookies. I suspect many people are unaware of this ... and might think container provide an addional level of security ... which they dont AFAIK. And this feature only seems to increase this misconception.

In that case i might just remove the feature, since it seems to have a higher potential to cause troubles with other addons then it's worth.

So i am not 100% convinced that it is worth to re-add the url-list.

Hi! I've just found the auto-mode is removed and seen this post.
I'm fan of this feature since I'd like to isolate my Google logins (e.g. gmail) and Google search.
I always search in temporary containers so that Google cannot (maybe) track me easily with logged-in searching page.
Not sure if you have any suggestion on this kind of scenario but auto-mode is convenient instead of manual open. And it does not harm keeping there. ;)

@agitoxin
@ivysrono
This is a common problem for all kinds of software
https://xkcd.com/1172/
The question is how to best resolve this.

Well..IMO, a toggle to enable/disable for personalization is optimal. ;)

Ok, i'll re-add it, BUT i wont support or fix any kind of compatability issues with other container addons.

authors: agitoxin igorlogius ivysrono

repo: igorlogius/open-in-temp-container


text:
Update typesafe:config to 1.4.0

Updates com.typesafe:config from 1.3.4 to 1.4.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe", artifactId = "config" } ]

labels: semver-minor

Coverage decreased (-0.2%) to 94.874% when pulling d3e98ee9736a28f330aa251bd48e1369347c60d5 on scala-steward:update/typesafe-1.4.0 into 5f72dc378fc2f3cf36c73954216272d9a8291020 on iheartradio:master.

Coverage decreased (-0.2%) to 94.874% when pulling d3e98ee9736a28f330aa251bd48e1369347c60d5 on scala-steward:update/typesafe-1.4.0 into 5f72dc378fc2f3cf36c73954216272d9a8291020 on iheartradio:master.

authors: coveralls scala-steward

repo: iheartradio/ficus


text:
I can't run it on macOS Sonoma

I try. to run the bot on macOS but dependencies like pywin32 can't install, ctypes.windll trouble, and more, can u give a guide or run it on macOS, please, im try but doesn't works

macOS support is not here yet. It will be out in the next week or two. Until then it can't be run on mac unless you fork it and fix the issues manually.

Anyway vanguard on mac is planned for the end of 2024

Vanguard is not coming to mac according to https://www.leagueoflegends.com/en-us/news/dev/dev-vanguard-x-lol-retrospective/ . They are basically just calling packman (the og anti-cheat) vanguard 2, its completely harmless.

@RigobertoEHA1 the bot should run on MacOS in the latest release v4.0.0+

Yeah, just checked you're right. No kernel access = no memory inspection. It's going to be a mess for them to detect Python stuff, as macOS is much better protected than Windows.
Riot also likes to sue cheat/bot platforms when they have no other options.

macOS support is not here yet. It will be out in the next week or two. Until then it can't be run on mac unless you fork it and fix the issues manually.

Yeah, just checked you're right. No kernel access = no memory inspection. It's going to be a mess for them to detect Python stuff, as macOS is much better protected than Windows.
Riot also likes to sue cheat/bot platforms when they have no other options.

Vanguard is not coming to mac according to https://www.leagueoflegends.com/en-us/news/dev/dev-vanguard-x-lol-retrospective/ . They are basically just calling packman (the og anti-cheat) vanguard 2, its completely harmless.

Yeah, just checked you're right. No kernel access = no memory inspection. It's going to be a mess for them to detect Python stuff, as macOS is much better protected than Windows.
Riot also likes to sue cheat/bot platforms when they have no other options.

repo: iholston/lol-bot


text:
图片很大的时候无法显示

W/OpenGLRenderer: Bitmap too large to be uploaded into a texture (6000x4000, max=4096x4096)

能给个demo吗？非常感谢。

调用代码么？
    @Override
    public void onThumbPictureClick(ImageView i, List<ImageView> imageGroupList, List<String> urlList) {
        vImageWatcher.show(i, imageGroupList, urlList);
    }

出问题的图片就是分辨路 6000*4000，大小 2.7M，别的图片没问题的

@Override
                public void onResourceReady(Bitmap resource) {
                    final int sourceDefaultWidth, sourceDefaultHeight, sourceDefaultTranslateX, sourceDefaultTranslateY;
                    int resourceImageWidth = resource.getWidth();
                    int resourceImageHeight = resource.getHeight();
                    if (resourceImageWidth * 1f / resourceImageHeight > mWidth * 1f / mHeight) {
                        sourceDefaultWidth = mWidth;
                        sourceDefaultHeight = (int) (sourceDefaultWidth * 1f / resourceImageWidth * resourceImageHeight);
                        sourceDefaultTranslateX = 0;
                        sourceDefaultTranslateY = (mHeight - sourceDefaultHeight) / 2;
                        imageView.setTag(R.id.image_orientation, "horizontal");
                    } else {
                        sourceDefaultHeight = mHeight;
                        sourceDefaultWidth = (int) (sourceDefaultHeight * 1f / resourceImageHeight * resourceImageWidth);
                        sourceDefaultTranslateY = 0;
                        sourceDefaultTranslateX = (mWidth - sourceDefaultWidth) / 2;
                        imageView.setTag(R.id.image_orientation, "vertical");
                    }
                    imageView.setImageBitmap(resource);
                    notifyItemChangedState(pos, false, false);

                    ViewState vsDefault = ViewState.write(imageView, ViewState.STATE_DEFAULT).width(sourceDefaultWidth).height(sourceDefaultHeight)
                            .translationX(sourceDefaultTranslateX).translationY(sourceDefaultTranslateY);
                    if (isPlayEnterAnimation) {
                        animSourceViewStateTransform(imageView, vsDefault);
                    } else {
                        ViewState.restore(imageView, vsDefault.mTag);
                        imageView.setAlpha(0f);
                        imageView.animate().alpha(1).start();
                    }
                }

看了一下，应该是我的问题吧，没有考虑  图片大小超过了屏幕尺寸的情况。
好的 ，我会调试的， 可能几天，十几天更新。

@AlphaGao1993 在  imageView.setImageBitmap(resource); 之前，应该对resource的大小先处理一下吧。我应该漏了这里。  你是导入源码方式使用的吗？ 对不起 还是我自己太菜了

我本地也有 Glide ，直接拷贝的源码，这个组件还是挺好的，我反正写不出来，你还是挺厉害的

那你可以调试  断点 onResourceReady 开始。  还有 为什么会加载2.7M的网络图。 我感觉这件事件本身就有点不对吧。 加载的图片url应该都是自己控制过后上传给后台的吧。

/**
 * 图片辅助工具 提供压缩和上传功能
 */
class PictureHelper {
    companion object {
        fun compress(originUrl: String): Publisher<String> {
            return Publisher { s ->
                Tiny.getInstance().source(File(originUrl)).asFile().compress { isSuccess, outfile ->
                    if (isSuccess) {
                        s.onNext(outfile)
                    } else {
                        Toast.makeText(App.get(), "源文件受损或内存不足导致压缩失败，请重试或换一张\n" + originUrl, Toast.LENGTH_SHORT).show()
                    }
                    s.onComplete()
                }
            }
        }

        fun upload(uploadUrl: String, ti: PictureUploadTokenInfo,
                   upProgressHandler: UpProgressHandler = UpProgressHandler { _, percent -> EventBus.getDefault().post(BusEvent(Bus.PICTURE_UPLOADING, uploadUrl, percent)) }): Publisher<String> {
            return Publisher { s ->
                UploadManager().put(File(uploadUrl), null, ti.token, { _, _, response ->
                    val remoteUrl = "http://" + ti.site + "/" + response.getString("key")
                    Const.logd("PictureHelper upload resp $remoteUrl ${response.getString("key")}")
                    s.onNext(remoteUrl)
                    s.onComplete()
                }, UploadOptions(null, null, false, upProgressHandler, null))
            }
        }
    }
}

// 大图上传
                        val data = arrayOf("/storage/emulated/0/DCIM/Camera/LYY_8843.JPG", "/storage/emulated/0/DCIM/Camera/LYY_8841.JPG", "/storage/emulated/0/DCIM/Camera/LYY_8818.JPG", "/storage/emulated/0/DCIM/Camera/LYY_8850.JPG", "/storage/emulated/0/DCIM/Camera/LYY_8846.JPG", "/storage/emulated/0/DCIM/Camera/LYY_8822.JPG", "/storage/emulated/0/DCIM/Camera/LYY_8829.JPG", "/storage/emulated/0/DCIM/Camera/LYY_8821.JPG", "/storage/emulated/0/DCIM/Camera/LYY_8839.JPG")
                        val pictureUrlList = Arrays.asList(*data)

                        Flowable.create(FlowableOnSubscribe<String> { e ->
                            for (originUrl in pictureUrlList) {
                                e.onNext(originUrl)
                            }
                            e.onComplete()
                        }, BackpressureStrategy.BUFFER)
                                .flatMap { originUrl -> PictureHelper.compress(originUrl) }
                                .flatMap { compressedUrl -> PictureHelper.upload(compressedUrl, o) }
                                .subscribe(object : Subscriber<String> {
                                    internal lateinit var subscription: Subscription

                                    override fun onSubscribe(s: Subscription) {
                                        Const.logd("onSubscribe")
                                        subscription = s
                                        s.request(2)
                                    }

                                    override fun onNext(s: String) {
                                        Const.logd("onNext " + s)
                                        subscription.request(2)
                                    }

                                    override fun onError(t: Throwable) {
                                        Const.loge("onError " + t.message)
                                    }

                                    override fun onComplete() {
                                        Const.logd("onComplete")
                                    }
                                })

 'com.qiniu:qiniu-android-sdk:7.3.3'   上传
'com.zxy.android:tiny:0.0.6' 压缩
ps:题外话， 批量压缩上传图片代码分享

@ielse  兄弟你真是太好心了~

我更希望你们大家都能帮忙改代码，也会自己改呀。祝你越来越强

好的
    Best Regards,
    高彦强

在2017年07月26日 18:26，else 写道：
我更希望你们大家都能帮忙改代码，也会自己改呀。祝你越来越强
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ielse 好的

@AlphaGao1993
https://github.com/bumptech/glide/issues/547
If you're loading into SimpleTarget, notice that the implicit size in the default constructor is SIZE_ORIGINAL, try a more reasonable size in the overloaded constructor.
这个问题是加载的图片太大了，hold不住的原因吧。
https://github.com/bumptech/glide/issues/2313
现在 ImageWatcher.Loader 被抽出来啦，你可以预先设定对应uri所加载的宽高。
方案如2313。
但其实更优的方案应是加载的uri图片本身尺寸就是适合手机的尺寸
比如
https://developer.qiniu.com/dora/manual/1279/basic-processing-images-imageview2

repo: iielse/DemoProjects


text:
Depth First Traversal [Java]

Fixed #99
By submitting this pull request I confirm I've read and complied with the below requirements.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.

The process you are using will produce the result. But I think that it would be better if you proceed with the standard boilerplate method for graph search, which is using a stack in the case of DFS.
Also, it would be better if you generalize this to any problem. For example, if I wish to use your code for solving n-queens problem, I just have to define that how will I produce next set of states from current state and a method to check whether some node is visited or not.
@aviaryan @Monal5031 : Views?

if you proceed with the standard boilerplate method for graph search, which is using a stack in the case of DFS

I used the recursive method to implement.Yes, there is many ways to implement.
But I didn't see any standard for using the only Stack on the implement.
Please, can you share the link if there?

a method to check whether some node is visited or not.

I did not get it.Do you mean by creating an adjacency matrix for that in the method after visiting

share the link

share the link

I don't know of some link, but using a small data structure would prove to be more effective than stacking up a lot of function call with all the variables declared in them. Also, stack implementation for DFS is something that is explained in every graph theory course there is. The current implementation is not incorrect, and it's not necessary to change it. But changing it would be good.
Regarding the second query: In this problem, you have some well-defined nodes and you used an array (visited) to store them, but you wouldn't be able to do do this if things get large (8 number problem - 9! nodes). So it would be better to introduce a better way to do this thing. Just an example -
    public bool isVisited(Node node) {
        for(int i = 0; i < this.visited.size(); i++) {
            Node temp = this.visited.get(i);
            if(someMethodToCompare(node, temp)
                return True;
        }
        return False;
    }

@singhpratyush Yes, it would be much better to create a generalized one.
It would be much helpful while using this implementation for different questions or algorithms.

@jsroyal What's the status of this PR?

Thanks, @aviaryan .
Little bit busy but that's okay.
Yes, I'm on it.

@aviaryan @Monal5031 @singhpratyush Review it.

@yashLadha remove test from Codacy  Yash-LadhaOrganization/algos

All classes and interfaces must belong to a named package

@jsroyal Sorry but i was just trying to explore codacy. I mistakenly added this repo. I am removing it from my organisation Now. Sorry for inconvenience.

Regarding the second query: In this problem, you have some well-defined nodes and you used an array (visited) to store them, but you wouldn't be able to do do this if things get large (8 number problem - 9! nodes). So it would be better to introduce a better way to do this thing.

Ping @aviaryan @singhpratyush

@aviaryan

authors: Monal5031 aviaryan jsroyal singhpratyush yashLadha

repo: iiitv/algos


text:
在64位WIN7系统下安装HEXO出现错误

我是在64位WIN7系统下安装的：
1.安装Git
到[官网]https://git-scm.com/download/win)下载 Git，一路默认选项安装。使用的是Git-2.11.0.3-64-bit
2.安装Node.js
到官网下载 Node.js，保持默认设置即可，一路Next。使用的是node-v6.2.0-x64
3.安装Hexo
Git 和 Node.js 都安装好后,首先创建一个用于存放博客文件的文件夹(比如取名 hexo），然后进入 hexo 文件夹，下面开始安装并使用 Hexo。右键选择Git Bash Here，弹出Git Bash窗口；执行命令：
npm install hexo-cli -g
出现两个错误
npm WARN optional Skipping failed optional dependency /hexo-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12

这是怎么回事呢？有没前辈能帮忙看下？

不用理会它们，你已经安装成功了。

不要在意警告……错误才需要考虑……

@Adiwon   @sky-admin 谢谢两位的回复

authors: Adiwon sky-admin yusmile

repo: iissnan/hexo-theme-next


text:
Failed to import react 18.2.0 types

Failing module
import React from "https://esm.sh/react@18.2.0";
import ReactDOMServer from "https://esm.sh/react-dom@18.2.0/server";

Error message
Related with https://github.com/lumeland/lume/issues/237
Looks like the types of React 18.2.0 don't exists, so Deno is continuously trying to download them
Download https://esm.sh/v90/@types/react-dom@~18.2/server~.d.ts
Download https://esm.sh/v90/@types/react@~18.2/index.d.ts
Download https://esm.sh/v90/@types/react-dom@~18.2/server~.d.ts
Download https://esm.sh/v90/@types/react@~18.2/index.d.ts

Maybe esm should detect the absence of types to don't include them if they don't exist. Or download the latest available version of types (react 18.0).
Additional info

esm.sh version: 90
Deno version: 1.24.2

this should be fixed in v91 updates, can you please try again?

Seems to work fine. Thanks!

authors: ije oscarotero


text:
Naming things: lobby_screen/dashboard/smartpanel

It looks as though we are heading towards branding the thing I call a lobby_screen and @abrahammartin calls a dashboard as 'SmartPanel'. Before it's too late, we might want to consider moving http:///dashboard/ to http:///smartpanel/

agree

Pr #36 submitted


text:
🛑 Penyanyi VF v3 is down

In e888655, Penyanyi VF v3 (https://discord-musicbot.nexter32.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Penyanyi VF v3 is back up in ac0eba5.


text:
Clean build files

In this PR:

I did some cleanup in the build file;
I added the linkImage function. I don't know if it is cross-platform;
I renamed out of memory to OOM because OOM is used in the standard library;
I added build.zig.zon. In the paths I put LICENSE (as on gyro.zzz), but the file is named LICENCE. Maybe we need to make a PR for that.

Thanks already, will take a closer look on friday!

authors: Reokodoku ikskuh


text:
🛑 VPS2_QWEB is down

In 6cc2373, VPS2_QWEB ($VPS2_QWEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VPS2_QWEB is back up in b40140d after 12 minutes.


text:
Reformat the project code according to the linting rules

Following #29.
@vitkarpov, I’m going to do this on my own as I have some time. Are you OK with this?

Updated the code, will make the PR after merging #23.

Absolutely. I woun't then.

Make a pr :)

Make a pr :)

@vitkarpov It’s too early yet because the code from #23 should also be processed in this PR.

Do you mean that you make codestyle changes in #23 ?

Nope, I didn’t. I’m going to merge #23 before creating a PR for #34 (this issue) so that my PR for #34 can also reformat the code from #23. If I merge the PR for #34 now, I’ll have to re-run npm run codestyle and re-fix the issues again after merging #23.
On the other hand, I can open the PR for #34 now and then just update it when #23 is merged. I’ll do it this way.

Okay :)

#35

Done.

authors: iamakulov vitkarpov

repo: ilyabirman/Likely


text:
🛑 Web STIS is down

In f5d90d8, Web STIS (https://stis.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web STIS is back up in 22c5c36.

repo: im-perativa/stis-uptime


text:
Inverted y axis

Is it possible to add an invert axis feature, so you can have a y axis with an origin in the top left corner. This would also render the x axis + horizontal titles to the top.
I currently somehow achieved it by setting minY to the negative max value and multiply each value with -1. But the x axis and horizontal values are still on the bottom.

I think if we support top and right titles you can solve your issue,
Currently we support onluy bottom and left titles, but if we support top and right, you can clear bottom titles and enable top imstead, then you can invert your chart with this solution :
Imagine you have 0 to 10 values on the y axis,
minY = 0,
maxY = 10,
And convert your points y values:
point.y = maxY - point.y
, and also draw left titles with reversed values.

Yes, that would help. Are you planning to add support for top and right titles?

Yes, we can have this.

I will mark this issue as a enhancement to add top and right titles

Awesome, thank you!
Any plans in which version you probably add this feature?

No idea about that but it will add as soons as possible (maybe next versiom)

Also pull requests are welcome,
I will be happy if the community contribute on the library

Hi dude, how's it going?
I did it in 0.1.3 version, check it out.
,
I close this Issue,
Thanks for your patience.

authors: Triipaxx imaNNeoFighT


text:
Rename cLLi and mDCv chunks

These two chunks have just been renamed to cLLI and mDCV respectively:

https://github.com/w3c/png/pull/473
https://github.com/w3c/png/pull/474

Shouldn't be a big deal to fix, especially since we haven't done a release since merging support for them

Thanks for catching this!  /cc @ccameron-chromium

authors: anforowicz fintelia

repo: image-rs/image-png


text:
Fix define check for GCC symbol visibility

Define the __attribute__ symbol visibility (for GCC) by checking for GCC itself, instead of different OSes (which might also have different compilers).
Clang should define __GNUC__ as well for GCC compatibility, so this should cause no regressions (while fixing the symbols visibility on any OS which uses GCC).

Merged de9491e67825687918a35d49a72daca698f112a7

authors: malcolmhumphreys pinotree

repo: imageworks/OpenColorIO


text:
capturePictureWithCompletition spells completion wrong

should be capturePictureWithCompletion

I was going to fix this in my pull request. But then they'd have to bump the version to 3. I still have some massive changes that will hopefully be accepted that has all this fixed as well.

@saturnial, @iamtomcat Those mispellings are resolved in version 2.2.4.

authors: iamtomcat saturnial torrao

repo: imaginary-cloud/CameraManager


text:
Wrong initialisation

Describe the bug
When the component is initialised, it is not always displayed correctly. The image, the canvas, the map component and the areas are always there, but sometimes neither the div#img-mapper container nor the canvas has any height, so the areas are not displayed, it is as if they were not there. You have to refresh the page to make it work correctly.
Expected behavior
The component should initialise correctly from the beginning, without the need to refresh the page.
Screenshots

Additional context
As you can see in the image, the component is placed inside a container with a grey background, as the content has no height, the coloured container has no height either. Although the image is visible.

I'll try, but you can see that behaviour in the live Storybook example as well. https://img-mapper.github.io/react-docs/?path=/story/examples-simple--simple

I'm also running into this issue. I assumed there was an issue using this in react-grid-layout / react-resizable wrappers and having ImageMapper completing before knowing parent height, but it's interesting that it is happening in the Storybook link as well.
First render has 0 height and width. Subsequent renders work as expected.

In the first render, you will never get the actual height but after the first render, it will get that and present all the things to the screen.

I am experiencing the same issue.
Anyone found a solution\workaround?

Hello
I am working on this issue but in the meantime please downgrade the package to v1.3.0, it's working fine.
https://www.npmjs.com/package/react-img-mapper/v/1.3.0

i been strugling with the issue too, i fixed this by giving width and hieght props

Hello @albmat @majilan37 @rafyzg @KeithHubert Resolved in V1.5.0
Please check and free feel to reopen if you found any bugs related to this issue.

authors: KeithHubert NishargShah albmat majilan37 rafyzg

repo: img-mapper/react-img-mapper


text:
Allow gravity to be relative

Since we can use Crop with relative values (0-1) it'd be great to also make gravity support those.
Let's take this 200x200 Image as an example:

Using these settings crop:0.5:0.5/g:nowe:100:100 we're just getting the blue square because (as far as I understand it) imgproxy will use the coordinate (100|100) as a gravity point and then crops 50% of the whole image width to the right and 50% of the image height to the bottom resulting in the Points (100|100) and (200|200) as boundaries.
It'd be great if we could also use relative values for the gravity, so that crop:0.5:0.5/g:nowe:0.5:0.5 results in the same output. Any thoughts about this or is it already possible and I am just overseeing something?

Hey @dunklesToast!
I believe, the fp gravity type is what you are looking for

Hey @DarthSim
Thanks for the prompt reply - I actually fiddled around with fp but seems that i cannot use it due to this

that define the coordinates of the center of the resulting image

Just to give some more context what I am trying to do:
We're using react-image-crop in our frontend to get a cropping area of images. This package outputs the selected crop in either pixels or percentages and uses the top left (northwest) as origin.
The output of the cropper can look something like this:
{
    "unit": "%",
    "x": 33,
    "y": 0,
    "width": 66,
    "height": 50
}

The according selection would be this

With the "normal" gravity options supporting relative values, I could easily do something like crop:0.66:0.5/g:nowe:0.33:0.
I've validated this approach by using absolute values as I know the proportions of this example image: Using crop:0.66:0.50/g:nowe:66:0 (66px as the image is 200px wide and 33% of that is 66) results in the correctly cropped image

Since fp uses the center of the already cropped image, I'd need to do some calculations based on the images width and the cropped center point to the calculate the correct fp values where I am not currently sure how to it - I'll play around with that a bit, but if you have any ideas or suggestions let me know. IMO having gravity support relative values as well would be the easiest as it allows to define the origin but I'll try using. fp.

If all the coordinates returned by react-image-crop are relative to the image dimensions, then the fp coordinates will be (x + width/2) / 100 and (y + height/2) / 100

oh yea that works. thanks a lot!

authors: DarthSim dunklesToast

repo: imgproxy/imgproxy