Indicator IsVisible Property Nonfunctional

Setting the IsVisible property in the indicator XAML does not have effect, as the IsVisible property is set automatically regardless.
The issue occurs in IndicatorsControl.cs : 217 - ResetVisibility()
Suggestion:
Make a private property that respects the XAML state and view models property change notification that ResetVisibility() respects.
Example of Intended Implementation:
                <cards:CarouselView ItemsSource="{Binding ConnectedDevices}" SelectedIndex="{Binding SelectedIndex}" SlideShowDuration="0" IsCyclical="False" VerticalOptions="Start">

                    <cards:CarouselView.ItemTemplate>
                        <DataTemplate>
                            <ContentView>
                                <StackLayout HorizontalOptions="Center" VerticalOptions="Start" Margin="0,0,0,40">

                                    <!-- Stuff -->
                                </StackLayout>
                            </ContentView>
                        </DataTemplate>

                    </cards:CarouselView.ItemTemplate>

                    <cardcontrols:IndicatorsControl ToFadeDuration="0" Margin="0" VerticalOptions="End" IsVisible="{Binding IndicatorVisible}" />

                </cards:CarouselView>

@InnerScript hm, do you need to make it invisible sometimes?
don't set ToFadeDuration="0", just remove this property and you will be able to manage IsVisible yourself

@AndreiMisiukevich
Setting ToFadeDuration as you suggested does not make IsVisible functional. (v 2.1.2)
My use case for hiding the indicator is that in our app, often there will be only one item is the list. The dot below the select in this case isn't useful and not visually appealing.
    public bool IndicatorVisible
    {
        get {
            return _connectedDevices.Count > 1;
        }
    }

@InnerScript so, in this case you can made binding ToFadeDuration to ItemsCount...
sounds difficult
Ok, i think, we can add new property..

@AndreiMisiukevich
As I suggested in the opening post, I think tracking the intended state of IsVisible as a non-visible/non-bndingable property is the best result
In that way, you can then change the appearance as intended. For example, if there are properties set for fade, possibly when IsVisible changes state, the fade animation is played for all
To be clear, developers would expect IsVisible to function, rather than a new externally bound property name (if that's what you were thinking)

@AndreiMisiukevich
As I suggested in the opening post, I think tracking the intended state of IsVisible flag is the best result
In that way, you can then change the appearance as intended. For example, if there are properties set for fade, possibly when IsVisible changes state, the fade animation is played for all
To be clear, developers would expect IsVisible to function, rather than a new externally bound property name (if that's what you were thinking)

but how can we achieve it? :) it is possible at all?

Ok, i think, i will add new properties
*MinimumVisibleIndicators (-1) and MaximumVisibleIndicators (-1)
And you will be able to manage visibility state

I think you're correct... Was looking into how to override the base IsVisible property, and it just wasn't as clean as I had initially thought it would be.
Using a new property MinimumVisibleIndicators would be a much cleaner code implementation internally.

docs: https://github.com/AndreiMisiukevich/CardView/blob/master/docs/IndicatorsControl.md

👍
I agree it's a good idea to keep the minimum default at 1, so it behaves identically for previous API users.
Is there anything I can do to help implement/test?

@InnerScript yes, please
could you please install latest nuget version and test this new feature :)

@AndreiMisiukevich
I just got a chance to test the MinimumVisibleIndicatorsCount just now. It is verified.

When not set, works as previous (regression)
When set to 2, works as I hoped when opening this issue
When a second is added to the list at runtime, the indicator appears
When a second item is removed from the list at runtime, the indicator disappears

Thank you very much for implementing this change so quickly! 👍 👍

@InnerScript thanks :)


Atom crashes when opening the "select file" modal

Describe the bug
Atom crashes when opening a "save file", "open file" modal with an error printed in the journal. I did a bisection and it looks like it has been introduced in e8e569ce79897885fe9f59dd164413f9b7298c4c
To Reproduce
Steps to reproduce the behavior:

Open atom
Create a new file
Try to save file

OR

Open atom
File -> Add Project Folder...

Expected behavior
Modal opens.
Additional context
The error printed in the journal. There might be some noise but there is an error in libglib-2.0.so.0.6200.4 and a core dump
Jul 06 19:50:06 playa kernel: traps: atom[21060] trap int3 ip:7f9a7fe29c75 sp:7ffe01f194a0 error:0 in libglib-2.0.so.0.6200.4[7f9a7fdf0000+80000]
Jul 06 19:50:06 playa systemd[1]: Started Process Core Dump (PID 21332/UID 0).
Jul 06 19:50:06 playa xsession[2285]: /nix/store/mynp9jqx52adr2q4klxlrh1fgzwgd0j0-atom-1.42.0/bin/.atom-wrapped: line 192: 21060 Trace/breakpoint trap   (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
Jul 06 19:50:06 playa xsession[2285]: Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank"
Jul 06 19:50:06 playa xsession[2285]: ** Message: 19:48:47.454: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Jul 06 19:50:06 playa xsession[2285]: ** Message: 19:48:47.455: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Jul 06 19:50:06 playa xsession[2285]: ** Message: 19:48:47.456: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Jul 06 19:50:06 playa xsession[2285]: ** Message: 19:48:47.458: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Jul 06 19:50:06 playa xsession[2285]: ** Message: 19:48:47.459: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Jul 06 19:50:06 playa xsession[2285]: (atom:21060): GLib-GIO-ERROR **: 19:50:06.312: No GSettings schemas are installed on the system
Jul 06 19:50:06 playa xsession[2285]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51831, resource id: 138412033, major code: 15 (QueryTree), minor code: 0
Jul 06 19:50:06 playa xsession[2285]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51835, resource id: 138412033, major code: 18 (ChangeProperty), minor code: 0
Jul 06 19:50:07 playa systemd-coredump[21333]: Process 21060 (atom) of user 1000 dumped core

This is the bisection log:
git bisect start
# bad: [a1b8dae54aedcae9acc0618abc08ad9fe13fdc37] alt-ergo: 2.3.0 → 2.3.1
git bisect bad a1b8dae54aedcae9acc0618abc08ad9fe13fdc37
# good: [db75eb4257161252246ee02deaf2dd91149714f1] Merge pull request #82741 from hercules-ci/backport-20.03-80102
git bisect good db75eb4257161252246ee02deaf2dd91149714f1
# bad: [97f65b2de9c30a3376bb17f6085a74f5eddfb04c] Merge pull request #82848 from aanderse/zhf/rsyslog
git bisect bad 97f65b2de9c30a3376bb17f6085a74f5eddfb04c
# bad: [ec0923f9830bc5ce68b5067fd68ba95a7942cc06] Merge pull request #82676 from veprbl/pr/texlive_2019_final_20.03
git bisect bad ec0923f9830bc5ce68b5067fd68ba95a7942cc06
# bad: [26a5a71da51626302dd27ffccfd71dd1865fcd28] tomcat8: 8.5.42 -> 8.5.51
git bisect bad 26a5a71da51626302dd27ffccfd71dd1865fcd28
# bad: [a0adbb1bdb92561b525dfc7dd3bfff880c5d956e] libarchive: 3.4.1 -> 3.4.2
git bisect bad a0adbb1bdb92561b525dfc7dd3bfff880c5d956e
# bad: [0c3057c59dd407a5e6b3c1a1a423d544961ea922] Merge pull request #81266 from Frostman/20.03-go-1.14
git bisect bad 0c3057c59dd407a5e6b3c1a1a423d544961ea922
# good: [e378b239f6c94d0e1e49f1f9bf2646b347a205d4] grafana: switch to latest go
git bisect good e378b239f6c94d0e1e49f1f9bf2646b347a205d4
# bad: [e8e569ce79897885fe9f59dd164413f9b7298c4c] wrapGAppsHook: Fix #78803
git bisect bad e8e569ce79897885fe9f59dd164413f9b7298c4c
# good: [e78f26b977155d091345c033d807658651bbd372] Merge branch 'release-20.03' into staging-20.03
git bisect good e78f26b977155d091345c033d807658651bbd372
# first bad commit: [e8e569ce79897885fe9f59dd164413f9b7298c4c] wrapGAppsHook: Fix #78803

Notify maintainers
@worldofpeace
Metadata

system: "x86_64-linux"
host os: Linux 5.4.49, NixOS, 20.03.2447.afa9ca61924 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.6
channels(zarel): "nixpkgs-20.09pre232692.7db146538e4"
channels(root): "nixos-20.03.2447.afa9ca61924"
nixpkgs: /home/zarel/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: atom

That commit caused a regression but that should have been fixed by https://github.com/NixOS/nixpkgs/commit/e544e03110063eee62ca1f1b407c4f7e0739c432
What is the content of atom/electron file? There should be gtk's gsettings-schemas in XDG_DATA_DIRS.

@jtojnar thank you for your help!
in  the XDG_DATA_DIRS looks like there is no gsettings-schemas:
[zarel@playa:~/code/nixpkgs]$ echo $XDG_DATA_DIRS | tr ':' "\n" | grep -i setting

[zarel@playa:~/code/nixpkgs]$ echo $XDG_DATA_DIRS | tr ':' "\n" | grep -i schema

[zarel@playa:~/code/nixpkgs]$ echo $XDG_DATA_DIRS | tr ':' "\n" | grep -i gtk

I don't understand what is the atom/electron file you're referring to, where can I find it?

I meant that you should check /bin/atom in the atom package.
But now I looked into it and the issue is that Atom does not use the generic builder which all setup hooks depend on but does its own thing:
https://github.com/NixOS/nixpkgs/blob/7403a99091311e09add64ef591d3f6503b223b46/pkgs/applications/editors/atom/default.nix#L44-L73
In particular, it does not run preFixupPhases, which is necessary for wrapGAppsHook to work.
cc Atom maintainers @offline @nequissimus @ysndr


Make deleted_at column as timestamp

Deleted_at column is also timestamp, e.g. for SoftDeletingTrait.

Thanks!


Merge #4214, #4199 to series/0.22

Since I broke it last time, PRing like an adult this time.

Going to merge this to unbreak the build, but I'm still unhappy about making the relative URI absolute.

Going to merge this to unbreak the build, but I'm still unhappy about making the relative URI absolute.


安装不了

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

Command "python setup.py egg_info" failed with error code 1 in
*********\sinaweibopy\

I also met that problem,how to solve?

换py2.7


Added Attempt & Guard to Auth

Very useful Laravel 5.2 methods that are not in the snippets.

Okay fixed the snippets.


Remove menu actions from inputToolbar.contentView.textView

I want add custom menu action to JSQMessagesCollectionViewCell:
[JSQMessagesCollectionViewCell registerMenuAction:@selector(customAction:)]; (see in your demo code), then custom menu actions showing in content menu inputToolbar.contentView.textView.
How not showing custom action in inputToolbar.contentView.textView?

This would be awesome, but if memory serves, this is tied to how Apple has setup the hierarchy of things.

Hey @lobyncev :smile:
I'm cleaning up old issues and trying to finish the next release of the library. I'm sorry I don't have time to respond to all questions.
I'm going to close this issue, but the community should feel free to continue the discussion.
Other ways to get help:

Ask on StackOverflow with the jsqmessagesviewcontroller tag
See the FAQ
Search previous questions

I believe @wdcurry is correct. Unfortunately, I can't confirm right now.

Hi guys! I found a way to add additional menu items to bubbles exclude inputToolbar.contentView.textView without touch any code of original JSQMessagesViewController.
In my subclass (for example DemoMessagesViewController) I added a private category at the top class:
/**

Category for using private members to handle appearing menu by long tap
*/
@interface JSQMessagesViewController (Private)
@property (nonatomic, readonly) NSIndexPath *selectedIndexPathForMenu;

(void)jsq_didReceiveMenuWillShowNotification:(NSNotification *)notification;
@end

@implementation DemoMessagesViewController

(void)viewDidLoad {
[super viewDidLoad];
// Register additional long tap menu actions
[JSQMessagesCollectionViewCell registerMenuAction:@selector(customAction:)];
}

#pragma mark - Private

(void)jsq_didReceiveMenuWillShowNotification:(NSNotification *)notification {
// Setup menuItems for bubble cell
if (super.selectedIndexPathForMenu) {
[UIMenuController sharedMenuController].menuItems = @[ [[UIMenuItem alloc] initWithTitle:@"Custom Action"
action:@selector(customAction:)] ];
}
[super jsq_didReceiveMenuWillShowNotification:notification];
// Setup menuItems for input TextView
[UIMenuController sharedMenuController].menuItems = nil;
}
@end

I tried any variants. But this one works for me.

Thanks for the update @dterekhov !
Maybe the library can provide a method that clients can override?
- (void)didReceiveMenuWillShowNotification:(NSNotification *)notification forIndexPath:(NSIndexPath *)indexPath;

The private method can call this, and clients can override to do what you've done here.
Would this work for you? Would you like to submit a PR for this?

This would be very welcome..

@jessesquires Take a look at #1563.
Thoughts:

existing behavior is preserved.. if you are adding a custom menu item in your JSQMessagesViewController subclass, it will show up for all cells and the inputView.
I don't know if the collectionView's datasource was the right place to put this
as an alternative, registerAction could take an additional parameter for the menu item's name and we could handle this automatically

Based on #1563 (a breaking change) going to bump this to v8.0 😄

Ok, but FWIW, it doesn't break anything. The protocol is optional and the behavior of one's menus is unchanged if you don't implement the new function.


compare results between season 1950-2024

Proposed new feature or change:
In the original structure of the results table, it has a column called race_id that made it possible to compare different seasons.
Is there any way to return data with the range from 1950 to the current date?

Very good. Thank you so much!


openView indicator in clock view

Is your feature request related to a problem? Please describe.
You have no indicator if you selected the minutes part and are on seconds view.
This is especially confusing when you click the preselected time or the seconds part equals your selected or preselected minutes part.
For hours/minutes the user can interpret the scale (less than ideal) or (on mobile) the toolbar highlight, but minutes and seconds are displayed the same.
Displaying AM/PM on minutes and seconds view adds to the confusion.
Describe the solution you'd like
Some indicator what the clock view is displaying (e.g. "Hour"/"Minute"/"Second" above or even better inside ("h"/"min"/"sec"?) the clock.
Hide AM/PM on minutes and seconds.
Describe alternatives you've considered
Replacing the ToolbarComponent.

Doesn't it work for you?

From what I understand, the issue is with the desktop version only. Should we close as a duplicate of #1860?

No, it is not the duplicate. It is about missing arrows.
I think it should be just closed.

@dmtrKovalenko I believe the issue about the missing context. From what I understand arrows won't solve the issue. It works on mobile because the current "segment" is highlighted

Yes, it's about missing context. When testing multiple configurations this view was not obvious to some and led to multiple clicks as the user was figuring out what to do.
Is this minutes? If you know the control you will guess it quickly, but if you don't it lets the user pause for a moment.

I think this would be far more obvious:

As for the mobile picker the highlight helps, but

Seconds are not part of the default toolbar when using DateTime with seconds
The highlight is not not as easy to spot for those with impaired (color) vision
When the user clicks for going from '07:30:30' to '07:30:30' it is not as obvious as it could be that the component noticed the click and moved on. Therefore the user clicks again. If he wanted to change '07:30:30' to let's say '07:30:45' this repeated click for minutes finishes and closes the control so that he has to reopen it.

@ph-fritsche Alright, awesome, thanks for the extra context, let's solve this problem by removing the clock view on desktop: #1860.


update cimgui to 1.47

Updated cimgui especially for password edit fields.

Thanks! I'll implement the rest of 1.47 changes soon


Fix indentation weirdness in GPT-2 example.

Minor patch, not sure how it originally managed to sneak in in the first place.

Thanks @cynthia!


Improve code file structure (Draft)

[ ] Move components such as ButtonV2 to Care UI

(yet to add more things that can be moved...)

assign this to me

Closing as would be addressed in #8418


execute syz-executor failed when testing gvisor

I want to use syzkaller to test gvisor, but it failed with the following error message:
machine check: failed to run executor version: failed to start /syz-executor [/syz-executor version]: fork/exec /syz-executor: no such file or directory.

Then  I try to execute the syz-executor with runsc and still failed:
FATAL ERROR: error getting processes for container: error executing command "/syz-executor" in sandbox: no such file or directory
error getting processes for container: error executing command "/syz-executor" in sandbox: no such file or directory

I found that if I executed the go program with runsc in gvisor started with syzkaller, it will work, and if I want to execute c/c++ program it will failed.
How can I do for this?
Following is my config
  1 {
  2         "name": "gvisor",
  3         "target": "linux/amd64",
  4         "http": ":12345",
  5         "workdir": "/workdir,
  6         "image": "/usr/local/bin/runsc",
  7         "syzkaller": "/syzkaller/",
  8         "cover": false,
  9         "procs": 8,
 10         "type": "gvisor",
 11         "vm": {
 12                 "count": 1,
 13                 "runsc_args": "-platform=ptrace"
 14         }
 15 }

Can you run any other C/C++ program in runsc? If not, then it does not look to be anyhow related to syzkaller.
Is your resulting syz-executor binary in bin/linux_amd64/syz-executor statically linked? That may be a potential reason for failure to start a binary.

Can you run any other C/C++ program in runsc? If not, then it does not look to be anyhow related to syzkaller.
Is your resulting syz-executor binary in bin/linux_amd64/syz-executor statically linked? That may be a potential reason for failure to start a binary.

I can't run any c/c++ program in runsc when the runsc is started by syz-manager.
But if I start runsc with my config(like a standard runc config), I can run c/c++ program.
The gvisor  I used is from upstream.
How can I run syzkaller with gvisor? Is there  anything I should pay special attantion to ?

You need to pay attention to static linking of programs.

You need to pay attention to static linking of programs.

Thanks, I will try

When I compiled the C program with -static, it worked.

When I compiled C program with -static, it worked


[Feature]: Switch to etherface for signature lookup

Please check the following

[X] This is not a duplicate request
[X] I have checked that this is not in development

Type a detailed explanation of your feature request here.
I suggest to switch to etherface. As it's stated in the repository, they collect more signatures than 4bytes and openchain.xyz so it could resolve more of them. There are also error signatures.

I'll look into this today.


brew fix commas

i messed up in #3265, commas between authors got deleted, this is a fix.

Thanks @5e-Cleric ! Merging this!


Layer rule to move layer with workspace slide

Description
It would be nice to be able to decide whether or not layers (like your wallpaper or your bar) move with your windows when you switch workspaces. For example, in macOS, the wallpaper and menu bar move during the workspace swipe animation and appear duplicated for each workspace, but the Dock doesn't. Hyprexpo also duplicates layers for its overview similar to what this feature would do.

I would love to see this being implemented!
For now, here is a bash script for swww that uses layerIn and layerOut slide animation.
Showcase
default bezier
https://github.com/user-attachments/assets/fecc9216-61c1-4bfe-a334-3e2a849d5498
linear bezier
https://github.com/user-attachments/assets/8ca919f9-7636-4a15-8d34-b93e8d7b1abb
Script
#!/usr/bin/env bash

bezier=default
# for linear bezier add "bezier = linear, 0, 0, 1, 1"
# to animations in hyprland.conf
# bezier=linear

direction="$1"  # right left top/up bottom/down
ds=2            # the amount of ds (1ds = 100ms) the animation will take
delay=0.00      # delay in seconds

revert() {
    case "$1" in

    right)
        printf '%s\n' left
        ;;
    left)
        printf '%s\n' right
        ;;
    top)
        printf '%s\n' bottom
        ;;
    bottom)
        printf '%s\n' top
        ;;
    esac
}

direction="${direction/up/top}"
direction="${direction/down/bottom}"

# Workaround to prevent fading out
# hyprctl keyword animation "fadeLayersOut, 0"
# ^ this hides layer as fast as possible
hyprctl keyword animation "fadeLayersOut, 1, 1000, $bezier" &

hyprctl keyword animation "fadeLayersIn, 0" &
hyprctl keyword animation "layersIn, 1, $ds, $bezier, slide $(revert $direction)" &
hyprctl keyword animation "layersOut, 1, $ds, $bezier, slide" &
wait

# "swww kill" is 7 times slower than pkill
# and 17 times slower than killall
killall swww-daemon
sleep "$delay"
swww-daemon &

# Comment for parallax animation:
hyprctl keyword animation "layersIn, 1, $ds, $bezier, slide $direction" &

Usage
Trigger with workspace switching
bind = SUPER, right, workspace, +1
bind = SUPER, right, exec, /path/to/script.sh right

Or combine with existing scripts/plugins
bind = SUPER, up, exec, /path/to/script.sh up; /path/to/switch_workspace up


Add manage_mailname parameter  to README (#186)

Update documentation with missing parameter manage_mailname to resolve issue #186

Hey @wobblesprout thanks for the PR! Would you mind adding the documentation in init.pp as well so we can convert them to puppet-strings format in the future?


Wednesday 07-02-2024 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

Good morning...

Good morning!!

Good morning

hey

Good morning

hello

good morning

Good Morning!

Good morning

gm

👋

hi

good morning


feat: added hash at the end of the filepath

Added uniq hash at the end of the file path

Thanks! Published as v0.3.1.


Update deployment.yaml

Passing through the securityContext and annotation parameters for better configurability of the final deployment/pods

Just looking to better adhere to security standards, often requires editing securityContext or using annotations to exclude from checks.


feat: Create a mix task to pull uploads from SimpliGov

Asana ticket: Pull existing documents from SimpliGov
Page over workflow results.
Upload each file to our S3 bucket, nested by workflow ID such that they
can be manually found later if need be.

@krisrjohnson21 Happy to walk through this in-person if that would be easier. I can also show you it working on my machine.


Error in boutique_inventory_test.rb

The test on line 24 capitalizes a 'Names' array; this causes it to err out with a DynamicConstant error

My mistake--I must have introduced it while doing the exercise. Sorry..

No problem!  Thanks for the thoughts!


Add identifiable information to dev mode check log messages

Currently there's no way to tell where a warning logged to console came from.
React Redux tries to log as much as it knows about a given selector to assist identifying it - we should do the same with Reselect (at the very least a stack would be useful).

i've opened https://github.com/reduxjs/reselect/pull/653 but the tests aren't behaving the way I'd like - if you could spot any mistakes I've made I'd appreciate it

Sure I'll look at it.


PARQUET-2423: [C++][Parquet] Avoid allocating buffer obeject in RecordReader's SkipRecords

Rationale for this change
Currently each invocation of SkipRecords() for non-repeated fields would create a new buffer object. I think it probably worths to keep the buffer object alive and just resize it for each skip, as the buffer is just a bitmap for values.
The following table shows the Mean/Median time (ns) of the newly added benchmark, RecordReaderReadAndSkipRecords,  with 10 runs.

Repetition/BatchSize/LevelSize is the benchmark configs indicating REQUIRED or OPTIONAL or REPETED /  number of records to read-and-skip / total number of levels to read-and-skip /.
Mean/Median_Change/Base is the Mean / Median execution time for Change (from this PR) and Base (the existing behavior): the Change keeps a 128 bytes buffer for the validity bitmap inside each RecordReader  (so 4MB if 32k columns are doing skip) while Base creates a new buffer every time.
The most relevant configs are those with Repetition = 1 where the field is OPTIONAL and thus would trigger the validity bitmap logic. BatchSize = N means the reader is ReadRecords(N)-then-SkipRecords(N). The existing microbenchmark is kind of limited as it does not cover the case where read and skip both happens (more importantly, the read can buffer some levels such that the later skip will exercise the validity bitmap logic).
-- As shown below, the change outperforms base when the BatchSize is less than the 128 bytes (i.e., for Reading/Skiping less than 1024 records), as it only needs at most one allocation per reader.  When BatchSize becomes larger, there's no big difference .

Repetition/BatchSize/LevelSize
Mean_Change
Mean_Base
Median_Change
Median_Base

2/1000/80000
22858348
23691574
22877186
23687536

0/1000/80000
274746
283581
279540
282879

1/1/80000
163270333
380440702
163414720
380213133

1/10/80000
26135681
47668511
26087651
47613742

1/100/80000
7987122
10366953
7962741
10323108

1/1000/80000
5758291
6340187
5755887
6337878

1/1/1000000
2040818817
4419985759
2028161694
4393000843

1/10/1000000
329876889
561332947
330240472
558960336

1/100/1000000
99315070
131074628
99292394
130112840

1/1000/1000000
73828928
81090167
73848905
81086980

1/5000/1000000
70293861
74091992
70249484
74137811

What changes are included in this PR?
change a stack buffer object to a private member in recordreader.
New microbenchmark for RecordReader's read and skip.
Are these changes tested?
microbenchmarks
Are there any user-facing changes?
no

@emkornfield could you please also review this? thanks

Do we have the benchmark result?

Do we have the benchmark result?

will add soon. i read the test parameter wrong so i'll run it again

@jp0317 could we maybe add a new benchmark for this case (also I don't quite understand what each column in the table represents could you give some more definitions)?

@jp0317 could we maybe add a new benchmark for this case (also I don't quite understand what each column in the table represents could you give some more definitions)?

Oh sorry I see you did add a new benchmark, thank you

give some more definitions?

Added more explanations to the pr description. PTAL. Thanks!

LGTM except https://github.com/apache/arrow/pull/39818/files#r1471348768 , previously I prefer not shrink to fit, but it could be a bit complex when we have too many columns.
When allocating a bit buffer greater than 128KB, can we just discard it like before? (This making user reading with larger batch size not being affected)

LGTM except https://github.com/apache/arrow/pull/39818/files#r1471348768 , previously I prefer not shrink to fit, but it could be a bit complex when we have too many columns.
When allocating a bit buffer greater than 128KB, can we just discard it like before? (This making user reading with larger batch size not being affected)

Good point, thanks! Changed as suggested to free the buffer if it exceeds the defined limit. PTAL

Looks ok to me, also cc @pitrou

changed to batch-skip instead of resizing buffer, as per @pitrou suggested (I had to reduce the buffer size to 64 Bytes to make the tests actually doing multiple batches of skips, because the number of buffered rows is always less that kMinLevelBatchSize).
for BatchSize less than 512, the improvement is still there. For BatchSize 1000 and 5000, the median time slightly increased to 78554904 and  74765553.

Hi, could anyone help review the latest changes using batch-skipping per pitrou suggested? thanks.

Wait... we're actually not using the decoded validity bits at all, right? We're just counting the number of defined levels. So, instead of bothering with a decoding buffer, why not just write a separate function that counts the number of levels above a certain value?

Wait... we're actually not using the decoded validity bits at all, right? We're just counting the number of defined levels. So, instead of bothering with a decoding buffer, why not just write a separate function that counts the number of levels above a certain value?

Sharp observation! I was too focused on the buffer and did realize that the whole chunk of codes are unnecessary. Thanks @pitrou !  I'll update the change correspondingly soon.

Hi @pitrou , i changed to directly count the number of values. could you please take another look at this? I ran the microbenchmark and confirmed that it has the basically the same improvement on performance.

@jp0317 I've done a couple minor changes. Is this ok to you?

Sure, thanks for the changes


enhancement(search-improvements): Improvements on search - FRONT-2785

I agree with having an external js to have this scripts inside it, but how we will deliver it? do you have any suggestions ? @planctus

@planctus In order to overwrite the visibility hidden in inline style on offcanvas, I needed to add important in scss and disable the stylelint no-declaration-important on that file.


No Cliff House debugging

Only HoloLens covered, trying to debug a UWP app using a WMR headset. Attaching to it in Visual Studio not working.

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

ID: 2154095e-1d68-7c41-a41b-a24a1fc1a984
Version Independent ID: d677a6ce-d535-92e2-373e-5b504658a50a
Content: Updating 2D UWP apps for Windows Mixed Reality - Mixed Reality
Content Source: mixed-reality-docs/mr-dev-docs/develop/porting-apps/building-2d-apps.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @mattzmsft
Microsoft Alias: mazeller

this page https://docs.microsoft.com/en-us/windows/mixed-reality/develop/advanced-concepts/using-visual-studio?tabs=hl2#debugging-an-installed-or-running-app contains steps on how to debug UWP for WMR headsets and or emulators

Thank you, was attaching to the wrong object for sure,
Kirk
From: CCheles @.>
Sent: Monday, May 9, 2022 11:50 AM
To: MicrosoftDocs/mixed-reality @.>
Cc: kcovert @.>; Author @.>
Subject: Re: [MicrosoftDocs/mixed-reality] No Cliff House debugging (Issue #570)
this page https://docs.microsoft.com/en-us/windows/mixed-reality/develop/advanced-concepts/using-visual-studio?tabs=hl2#debugging-an-installed-or-running-apphttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmixed-reality%2Fdevelop%2Fadvanced-concepts%2Fusing-visual-studio%3Ftabs%3Dhl2%23debugging-an-installed-or-running-app&data=05|01||510731e88a8e45cbe2cd08da31d39cfe|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637877082189974899|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=TqYAGlRKm0hxzCZzpucLCHcCa5KFhLRdnJ%2FuOqCRfYs%3D&reserved=0 contains steps on how to debug UWP for WMR headsets and or emulators

Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmixed-reality%2Fissues%2F570%23issuecomment-1121275525&data=05|01||510731e88a8e45cbe2cd08da31d39cfe|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637877082190131135|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=TjWWu25Gwqxuz5KFctumkUnLoZZEqI6rG6lM3UOs2Uk%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAMDUQMSLW7DBNJ2K4Y2TZLVJEX3RANCNFSM5TILWMXQ&data=05|01||510731e88a8e45cbe2cd08da31d39cfe|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637877082190131135|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=wtOb%2F%2FUhSzwekChvCmVFQS2%2BfVW7ZR9ai%2BtJApL5WNU%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Closing issue as it seems resolved.


Title on mouseover not working.

Hi, just to say that the mouseover tip "Share Location" is not working (it can be seen in the demo too).
Thanks you for the plugin, it works perfect out of this little detail :+1:

thanks for the heads up!


Incorrect determination of variable type in Set Variable and subsequent errors/value conversion on save

Describe the Bug with repro steps
Load provided workflow, in new designer it mixes up variable types in Set Variable steps. Set record from registration and Set record from user info steps assign JSON to object type variable and values are set to object, but if you look into Code View for these two steps in the designer, it thinks it's a string type and converts value to string, as well saving it this way and messing up the workflow.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Does not let me post JSON here, says it is too long

https://dsh.bounceme.net/bug.json

Screenshots or Videos
No response
Browser
Edge
Additional context
No response

Looks like this is related to #4644 so linking and closing this one just in favor of using that one for tracking. Thank you for the report :)


Hotfix/post mortem

When you have a mismatch between version of WPRest and configuration of python api, you will not have a match with url and request goes into post_mortem.
Postmortem, generate "reason" variable in unicode format, but "unicode" is no longer supported in python3
{solved with lambda}
Postmortem, in python2, generate an error with concatenation of string, str + unicode = error
{solved with reason.encode('utf8')}

+1

Hey all,
I'd like to apologise for neglecting this PR. I'll do my best today to integrate these changes into my fork along with the rest of the improvements that have happened since then.
The project which I made this repo for uses python2, and my test automated cases are not exhaustive enough to cover some of the python3 specific problems that underpin this, so I'll also be adding more test cases to increase coverage.
The solution that is proposed in this PR works specifically on Python3 but not Python2, which is why I need to re-work it to use six.text_type instead of str.
Thanks.

All done! Please feel free to test / submit a failing test.
Thanks.


Help needed for creating a package for gentoo

I'm trying to pack this up for gentoo and had a few questions about how to best package it.
A few things that come to mind

Should I make two separate packages for jax and jaxlib ?
If I want to keep them as the same package (jax) can I just use the jax release archives and then use the jaxlib from inside that instead of downloading the second archives? I assume that if I do them separately, I should download the separate archives.
There are a lot of build time options available to jaxlib compilation.

What versions of bazel are supported? When I tried to compile it manually without bazel, it tried downloading bazel-2.0.0 even when later bazel releases are available.
What versions of gcc are supported?
What versions of CUDA are supported?

I am asking this as these are important when installing tensorflow, which is very painful to compile, to say the least.
Would love to get this running in gentoo.
Thanks,
Aisha

Bumping for attention :-/

If I were going to make such a package, I would probably package jax and jaxlib together. They have a fairly close integration with each other, and for those who simply want to install a package from their distribution, I see no reason to separate them.
jax and jaxlib are both built from the same source tree, so you should only need to download the source once.
For jaxlib, the build requirements are mostly the same as TensorFlow's build requirements in terms of gcc/clang versions. We explicitly pin a bazel version in our build script (3.1.0, same as TF). That's not to say things wouldn't work with other versions, but we test that one.  For CUDA, we always try to support the same release as TF, but we also try to provide wheels for other versions even though they are somewhat less tested.
Hope that helps!


absolutely do not process non-pe files even when --format pe

as reported in #641, the user can override the file format detection and provide --format pe even when the underlying file is clearly not a PE. we should detect this scenario and either:

warn very loudly that this is not a PE, or
refuse to pass analysis to vivisect

I prefer 2. because I think it's best to minimize potential confusion and be explicit about what capa can and can't do.


bug: Test aplicacion

Type: bug
Ionic Version: 2.x
Platform: android 4.4 webview
Test Aplicación, andriod

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!


Any way to embed synced lyrics into the file metadata?

That's what happens

Yes, set "Preferences -> OpenLyrics -> Saving -> Save method" to "Save to tag"

The only option that appears is "Debug logging enabled". I'm new to foobar2000, am I looking in the wrong place?

Got it, I didn't see I needed to expand the submenu. All I was getting was "Debug logging enabled. Thank you so much.


Timestamps

Thank you for this work -- شكرا! I tested this briefly and found the results to be quite good. Is there any way to get time-stamped results? (My use case is forced alignment)

Hey @mustafa0x , unfortunately we don't have that yet. You will have to dig the code for such output. Maybe this issue is helpful https://github.com/pytorch/fairseq/issues/2965

شكرا جزيلا


python312Packages.mailchecker: 6.0.9 -> 6.0.11

Changelog: https://github.com/FGRibreau/mailchecker/blob/v6.0.11/CHANGELOG.md

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 347285 run on x86_64-linux 1

8 packages built:

python311Packages.mailchecker
python311Packages.mailchecker.dist
python311Packages.python-benedict
python311Packages.python-benedict.dist
python312Packages.mailchecker
python312Packages.mailchecker.dist
python312Packages.python-benedict
python312Packages.python-benedict.dist


v1.9.0 doesn't support for old version Linux.

suggest ninja building with static stdlibc++, and along with relative old glibc.
or even more, static link to glibc

Duplicate of #1533.


Spring failure due to NPE in thymeleaf

@Peter-B-Kessler reported a failure in spring, with the following top of stack trace:
[2m2024-09-26 17:12:04.796 [0;39m  [31mERROR [0;39m  [35m2871432 [0;39m  [2m--- [0;39m  [2m[io-8080-exec-22] [0;39m  [36morg.thymeleaf.TemplateEngine             [0;39m  [2m: [0;39m [THYMELEAF][http-nio-8080-exec-22] Exception processing template "welcome": Cannot read the array length because "a" is null

java.lang.NullPointerException: Cannot read the array length because "a" is null
	at java.base/java.util.Arrays.fill(Arrays.java:3181) ~[na:na]
	at org.thymeleaf.context.WebEngineContext$RequestAttributesVariablesMap.<init>(WebEngineContext.java:668) ~[thymeleaf-3.0.15.RELEASE.jar!/:3.0.15.RELEASE]
	at org.thymeleaf.context.WebEngineContext.<init>(WebEngineContext.java:144) ~[thymeleaf-3.0.15.RELEASE.jar!/:3.0.15.RELEASE]
	at org.thymeleaf.context.StandardEngineContextFactory.createEngineContext(StandardEngineContextFactory.java:96) ~[thymeleaf-3.0.15.RELEASE.jar!/:3.0.15.RELEASE]
	at org.thymeleaf.engine.EngineContextManager.createEngineContextIfNeeded(EngineContextManager.java:86) ~[thymeleaf-3.0.15.RELEASE.jar!/:3.0.15.RELEASE]
	at org.thymeleaf.engine.EngineContextManager.prepareEngineContext(EngineContextManager.java:49) ~[thymeleaf-3.0.15.RELEASE.jar!/:3.0.15.RELEASE]

The relevant line of code in thymeleaf is here.   The relevant field should have been initialized just a few lines prior.

I am not a Java memory model lawyer, but the code in org.thymeleaf.context.WebEngineContext$RequestAttributesVariablesMap. looks like it should not cause an issue.  A new instance is being constructed (rather than race between reading in one thread and writing in another thread), so
`this.levelSizes = new int[DEFAULT_LEVELS_SIZE];`

should have a non-null value by the time the constructor gets to
`Arrays.fill(this.levelSizes, 0);`

Usually this.levelSizes does have a non-null value, because the code rarely (~0.1%) gets a NullPointerException.
Is the race in the software (interpretation, compilation, deoptimization, re-compilation) or in the hardware?

It would be interesting to know whether this was JVM-specific, GC-specific or compiler-specific.  It's possible that this is a GC/compiler corner case.

@Peter-B-Kessler since it seems possible that this is a JVM bug, can you please report the JDK version you used?  Also if you're able to report on sensitivity to JDK version that would be great.

I was trying to catch up on this one but I cannot build the tip, I was doing "ant clean spring" and it ends up like this:
 [exec] complete:
 [exec]       [jar] Updating jar: /mnt/central/uploads/ecaspole/dacapobench/benchmarks/dacapo-evaluation-git-59ab7e97-dirty.jar
 [exec]
 [exec] all:
 [exec]
 [exec] BUILD SUCCESSFUL
 [exec] Total time: 1 minute 0 seconds
 [echo] spring: PASS
 [exec] Traceback (most recent call last):
 [exec]   File "LauncherGenerator.py", line 113, in <module>
 [exec]     sys.exit(main())
 [exec]   File "LauncherGenerator.py", line 99, in main
 [exec]     md5_file = zipfile.Path(harness_jar, benchmark_md5_name)
 [exec] AttributeError: module 'zipfile' has no attribute 'Path'

BUILD FAILED
/mnt/central/uploads/ecaspole/dacapobench/benchmarks/build.xml:605: The following error occurred while executing this line:
/mnt/central/uploads/ecaspole/dacapobench/benchmarks/build.xml:661: exec returned: 1
Total time: 1 minute 19 seconds
$ python --version
Python 3.6.8
I am running on some version of Oracle Linux 8, and "ant -p" succeeds, which I thought was how the dependencies were verified. Is there any advice about this? Thanks.

@ericcaspole I've merged @caizixian's fix.
What you did is correct.  Unfortunately I did not notice this new dependency --- you're the first to report it.  So it was not checked for.  Zixian addressed the issue by removing that dependency.
@liufengyun FYI.

I have run spring over 600 times times today with the mr1 branch tip and cannot repro this exception in JDK 23 LTS. Peter said he only got this exception once ever in the same build that contained this bug https://bugs.openjdk.org/browse/JDK-8339349.
This JDK bug is being worked on now and I am not sure that we will be able to repro this thymeleaf exception at all, since the bug caused a crash far more often than this exception. So I would consider to close this as "cannot reproduce" etc and let's see what happens.

Closing as cannot reproduce.


Support Unicode delimiters

This PR adds support for the Unicode versions of \lfloor, \rfloor, \lceil, \rceil, \lgroup, \rgroup, \lmoustache, \rmoustache, \ulcorner, \urcorner, \llcorner, and \lrcorner.
All the mappings agree with unicode math

And to refresh some visual confirmation:

@edemaine  Tests are revised toBuild. Should be good to go.

Thanks @ronkok!


Python binding for hash_samples (locality sensitive hash)

Hi, Davis! First of all thank You for a nice job!
I'm interested in developing the python direction of Dlib. Therefore, I have the following request.
Could You implement a python binding for working with DLib algorithms of Locality-sensitive hashing? First of all, the hash_samples algorithm.

The python bindings are in tools/python/src and are relatively easy to add to.  I'm busy with other things, so I'm probably not going to do this any time soon.  But you are welcome to do it and submit a PR :)

I'd love to do it, but I did not deal with C ++ :(


It works for me on localhost, but I haven't reindexed in a long time. Not sure if that's relevant. Currently reindexing on the dev server sounds blameworthy.

Ahh, @oblodgett  if you think its due to the rebuilding of the index, you can probably close this.

Well the index is done and the link still does not work... I am trying to get access to the logs at the moment to figure out what's going on.


Fixed #34140 -- Format python code blocks in documentation files under docs/releases

Ticket #34140 -- part of it
What have I done?
This is a "child" of https://github.com/django/django/pull/16261
As discussed in there (long comments thread, sorry) I applied the:

manual changes for blacken-docs to work
the changes by blacken-docs command

in two separate commits.
Edit: Third commit fixes an error that I couldn't replicate locally with make html -- it needed the whole sphinx-build command. I expect this commit to be squashed on merge.
In order for the PR to not be huge, I worked on and applied the changes only to the docs/releases directory (and all its children).
So the objective of this PR is twofold:

Agree that this is the right direction going forward. If it is, we can split the work into separate PRs based on structure of the docs and the current output of blacken-docs command when ran over the whole docs directory.
Merge this PR 🙏

Thanks for the help so far @carltongibson @felixxm @adamchainz @pauloxnet @benjaoming @smithdc1

I think the release notes are perhaps the only exception to code formatting because they reflect very old versions of the code based on very old Python versions. I would leave them as the last step if not completely excluded from this activity.

@pauloxnet I agree, makes sense. What do you think about the approach? I.e. steps 1 & 2 above?

Thanks for this @jvzammit! I didn't get to it this week, but you're on my list for next. 🎁

@pauloxnet I agree, makes sense. What do you think about the approach? I.e. steps 1 & 2 above?

Steps 1 & 2 make sense to me, maybe we can start from a small module and see what happen.

Closing in favour of https://github.com/django/django/pull/16496


Icons are not visible with PublishTrimmed

I had a technical question, I was testing this icon library and I have tested that activating "PublishTrimmed" when publishing the application does not show the icons, is there a solution for this? Applications with this activated take up much less space. With other icon libraries like fluentui this does not happen.
example:
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
  <PropertyGroup>
    <Configuration>Release</Configuration>
    <Platform>Any CPU</Platform>
    <PublishDir>bin\Release\net8.0\publish\win-x64\</PublishDir>
    <PublishProtocol>FileSystem</PublishProtocol>
    <_TargetId>Folder</_TargetId>
    <TargetFramework>net8.0</TargetFramework>
    <RuntimeIdentifier>win-x64</RuntimeIdentifier>
    <SelfContained>true</SelfContained>
    <PublishSingleFile>true</PublishSingleFile>
    <PublishReadyToRun>true</PublishReadyToRun>
    <PublishTrimmed>true</PublishTrimmed>
    <BuiltInComInteropSupport>true</BuiltInComInteropSupport>
  </PropertyGroup>
</Project>

The difference between FluentUI and this library is that FluentUI is using an icon-font while this library is using the Avalonia Canvas and Path components. Maybe those two components do not work well with trimming.

I refactored the way icons are rendered. I did a quick test with the new version 9.0.0 and the icons were shown.
@danijerez would you confirm on your end?

Nice 👍


Adding Stage Changes

NOT AN ISSUE< BUT AN IDEA?
This might be a long shot, but with all the Schedule updates and the constant changing of stages, is there maybe a way that this integration could display what time the next loadshedding stage will be.
eg
Stage 1 00:00 - 05:00
Stage 3 05:00 - 16:00
Stage 4 16:00 - 00:00
So we are on stage 3, so the next load shed is like 22:00 - 00:30
but if stage 4 comes into play, that would bring the next Load shedding to 16:00 - 18:30
because stage 3 dosent have the 16:00 - 18:30. Hope that made sense.
If its possible, then the awesome code your wrote for the Schedule display on the front end, that could show the new stage in another colour or bold italic?
Any thoughts on this?

With a reliable data source it would be possible, but just like there's no reliable way to get CoCT stages that are sometimes lower than the Eskom stages, there's no reliable way to get what the next stage is going to be.  Parsing Tweets or websites requires that the format be consistent or the parser will break.  Currently I'm not aware of a reliable source.

The m9st rel7able fir me us eskomsepush app. Maybe where they get there source?
Sent from my Galaxy
-------- Original message --------
From: Werner Pieterson @.>
Date: 14/07/2022 09:58 (GMT+02:00)
To: "wernerhp/ha.integration.load_shedding" @.>
Cc: DravenSA @.>, Author @.>
Subject: Re: [wernerhp/ha.integration.load_shedding] Adding Stage Changes (Issue #20)
With a reliable data source it would be possible, but just like there's no reliable way to get CoCT stages that are sometimes lower than the Eskom stages, there's no reliable way to get what the next stage is going to be. Parsing Tweets or websites requires that the format be consistent or the parser will break. Currently I'm not aware of a reliable source.
—
Reply to this email directly, view it on GitHubhttps://github.com/wernerhp/ha.integration.load_shedding/issues/20#issuecomment-1184123176, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGEIOCQK73WR5LQYMZH5M73VT7CCTANCNFSM53RHN36A.
You are receiving this because you authored the thread.Message ID: @.***>

They are a business with over 2M customers and push adds to generate an income as well as provide their Business API at upwards of R10k.  They won't simply give up their data or sources.  I've reached out to them in the past to enquire about their API.  A public API may be in the works for the future, but no idea when that will be.  They have spent much time (since 2015) and effort to gather and refine the data (very likely in a similar way as I am doing it here), which still breaks sometimes when formats change and then need to be fixed.  They likely also have people who can manually update this information in a database based on announcements that Eskom makes.
Looks like City Power might actually have the data in a semi-reliable format.  Will need to monitor it.
Eskom Twitter
Tweet

Screenshot

City Power

Screenshot

Code

Date
	Day
	Start Time
	End Date
	Stage

Yup they really need to start publishing this information in a more accessible format for developers. We can't all be expected to import these schedules manually like monkeys behind a keyboard. The schedules are inconvenient enough as it is, the least they could do is publish them in standard formats like CSV, ICS, or even XLS for pete's sake. This is BS!

City of Cape Town schedules have a format to them and can be generated, so no need for a CSV or to manually import them.  @tiaanv did a python port of another library, which I used for CocT.  You can check out the code here.
City of Tshwane seems to have a similar structure, but with some differences.  Days 1-31 (CoCT is 1-16 and 17-31).   I'm trying to understand this and figured out Stage 1, but every stage is slightly different.  Feel free to check out the CoCT lib and create pull requests if you figure it out.
I assume most metros will use similar ways to generate the schedules.  Then it just comes down to which area/group your suburb falls in.
Stages is the dynamic component that would be great if they just provided an API instead of posting tweets etc.

Stages is the dynamic component that would be great if they just provided an API instead of posting tweets etc.

This is what I'm referring to yes. Eskom needs to release these national rolling stages timetables in a more accessible format that is always up-to-date. Stuff like this is too dynamic to interpret manually unless you have someone extremely dedicated or paid to do it

My two cents worth on the OP.  Firstly I don't think the integration should be a visible source of load-shedding schedules etc....  There are many apps/tools out there that can give you that.  The critical part is the sensor that assists your system in making decisions.  Are we load-shedding? When is my power going to be off next....  I think for the most part this is catered for, barring stage adjustments that take place.
The current stage of load-shedding, correlated to a schedule, to tell you when (on the current stage) you can expect load-shedding is kind of the best we can do for now.  With Eskom dynamically changing this on short notice, there is no programmatic way of predicting anything else reliably.  I would love nothing more than for this to be predictable, but I doubt it will happen. on top of that Local municipalities have also added an additional layer of unpredictability.
Having a more accurate COCT "current stage" would be a step up.  The COCT have an app, that I have tried to reverse engineer, but it has nothing in it, it's just HTML that's packaged.   It in turn does some calls to an API to get the COCT stage, but that's using SSL (expected)... try as I might, I could not get inside the SSL, even with a MITM attach, since they seem to use pre-seeded certificates... So I can't see the URL or packet contents, unfortunately..
Long and short is that at least right now, there is no reliable way to get to the real stage, not even for "right NOW", let alone for in a few hours.  even if you could it's a pretty fluid situation, and probably would not be reliable enough.
My practical experience is the following.  I use my load-shedding status to get my house in shape an hour before load-shedding kicks in..  I have a solar PV system and batteries, so ensuring the batteries are topped up is key.  The rest of the actions I take when the power actually goes off, rather than when the load-shedding schedule says the power will go off..
I would be interested to hear your individual use cases...

It's a little experimental, but give v0.5.0 a go...roll back to v0.4.1 if it breaks 🤪

Added the stage forecast for the next few days. It's very experimental, but you can Redownload and install master via HACS

Hi @wernerhp
So awesome that we now have the option to include the Stage forecast. Amazing work!
In my opinion however, we need a third type of widget... Basically a "schedule" which takes the "stage forecast" into account, which will then provide the simplest and most succinct schedule to the user of what they are most likely to expect and when.
This should be implemented on the library level, so that it can also be used for automation purposes eg for industrial, medial equipment etc.
I've been dabbling around a bit with your example script and noticed that with Eskom as the provider, it's only possible to request a schedule for a single stage at a time. This isn't the case with City Power, where the full timetable (schedule for all stages) is returned at once.
So I think the solution is to create new functions, ie forecast_schedule_handler and forecast_search_handler which then basically calculates a "max stage" from get_stage_forecast(), and then requests separate schedules from provider for each stage between 1..max_stage, and finally compares the data from all the calendars against the stage_forecast parameters (which stages at what times) to produce a precise forecast for an area, rather than being limited to only the stage forecast itself, and a schedule for only the current stage
I'm making some progress and will be happy to submit a merge request if this is a feature you'd be interested in but don't have the time to develop.   However, my coding is nowhere near your level, so I think first prizet would be if you could expand the library to do this yourself :) Your thoughts on this?

OK I hacked something together at https://gitlab.com/fragtion/load-shedding/-/blob/dev/examples/main.py
Function of interest is forecast_search_handler which is called by @app.route('/forecast_schedule'). Still need to adapt forecast_schedule_handler
Not sure if you would want to implement this natively within the library itself as opposed to a script like this? Seems like a must-have for the home assistant plugin at least, IMO

@fragtion

In my opinion however, we need a third type of widget... Basically a "schedule" which takes the "stage forecast" into account, which will then provide the simplest and most succinct schedule to the user of what they are most likely to expect and when.

We'll get there.  This was just a quick proof of concept to see if it holds up.  The data is scraped from City Power's website, so there's no guarantee that it will work in the long term.  There's no point in building elaborate things if we don't have reliable data.  I'll probably iterate on this, when I have time, to get only the relevant schedules for the area.

I've been dabbling around a bit with your example.py script and noticed that with Eskom as the provider, it's only possible to request a schedule for a single stage at a time. This isn't the case with City Power, where the full timetable (schedule for all stages) can be returned at once if you don't include a stage in the URL request (directly via browser). I'm sure there are other providers where this limitation could also present itself.

The stage forecast is part of the citypower lib because the data is scraped form City Power's website.  If you call the libs directly then you'll only get data that's available for them.
The load_shedding module abstracts things away from providers.  Since we can only get this data from city power, it gets called internally irrespective of the provider you pass in.  The readme on the dev branch is more current than master.

Having a more accurate COCT "current stage" would be a step up. The COCT have an app, that I have tried to reverse engineer, but it has nothing in it, it's just HTML that's packaged. It in turn does some calls to an API to get the COCT stage, but that's using SSL (expected)... try as I might, I could not get inside the SSL, even with a MITM attach, since they seem to use pre-seeded certificates... So I can't see the URL or packet contents, unfortunately..

No need to reverse engineer the app. You only need to grab the logs (it logs A LOT) and I was able to find the endpoint.
You can see it in the works on https://github.com/tinuva/ha-coct-loadshedding which is mostly based on your and sweartjean's HA integrations.
That said, the ESP public API for private individuals are in beta testing now and Werner does have the details. I think ESP will have the most reliable information, and includes the same future stages that the ESP app shows.

Having a more accurate COCT "current stage" would be a step up. The COCT have an app, that I have tried to reverse engineer, but it has nothing in it, it's just HTML that's packaged. It in turn does some calls to an API to get the COCT stage, but that's using SSL (expected)... try as I might, I could not get inside the SSL, even with a MITM attach, since they seem to use pre-seeded certificates... So I can't see the URL or packet contents, unfortunately..

No need to reverse engineer the app. You only need to grab the logs (it logs A LOT) and I was able to find the endpoint. You can see it in the works on https://github.com/tinuva/ha-coct-loadshedding which is mostly based on your and sweartjean's HA integrations.
That said, the ESP public API for private individuals are in beta testing now and Werner does have the details. I think ESP will have the most reliable information, and includes the same future stages that the ESP app shows.

Nice Work!!!  Will check it out.... Love it when I'm the dumbest guy in the room!

 v0.6.0-dev (Pre-release) - Feedback


ArrayIndexOutOfBoundsException : null

I have a player of my pack, Create on a Potato PC, who is playing on a 3rd party server and she crashes sometimes if she uses /rtp from FTB. It seems flywheel is throwing an error ArrayIndexOutOfBoundsException : null
Minecraft: 1.116.5
Forge: 36.2.9
Mod List

alexsmobs-1.12.1
allomancy-4.3.2
angelring-1.16.5-<IP_ADDRESS>
Apotheosis-1.16.5-4.8.0
appleskin-forge-mc1.16.x-2.1.0
architectury-1.23.33-forge
armorpointspp-1.16.5-2.0.0
BiomesOPlenty-1.16.5-<IP_ADDRESS>2-universal
BorderlessWindow-1.16.5-1.2.1
Botania-1.16.5-419
bwncr-1.16.5-3.10.16
charginggadgets-1.3.0
citadel-1.8.1-1.16.5
cloth-config-4.11.26-forge
Clumps-<IP_ADDRESS>
comforts-forge-1.16.5-<IP_ADDRESS>
Controlling-<IP_ADDRESS>
CookingForBlockheads_1.16.5-9.3.4
craftingstation-4.1.1
CraftingTweaks_1.16.5-12.2.1
crashutilities-3.12
create-mc1.16.5_v0.3.2f
createaddition-1.16.5-20211122b
createplus-1.16.4_v<IP_ADDRESS>
Cucumber-1.16.4-4.1.10
curios-forge-1.16.5-<IP_ADDRESS>
CustomStartingGear-1.16.5-2.0.3-universal
DefaultOptions_1.16.5-12.2.1
Disenchanting-forge-1.16.5-1.7.2
fancymenu_2.3.3_MC_1.16.2-1.16.5
FarmingForBlockheads_1.16.5-7.3.1
FastLeafDecay-v25
FastWorkbench-1.16.4-4.5.1
feruchemy-1.2.2
flywheel-1.16-0.2.4
forbidden_arcanus-16.2.0-beta-4
ftb-backups-<IP_ADDRESS>
ftb-chunks-forge-1605.3.2-build.57
ftb-essentials-1605.1.4-build.20
ftb-library-forge-1605.3.3-build.74
ftb-quests-forge-1605.3.5-build.64
ftb-ranks-1605.1.4-build.12-forge
ftb-teams-forge-1605.2.2-build.32
ftb-ultimine-forge-1605.3.0-build.25
gardenofglass-1.7
globalxp-1.16.5-v1.8
gravestone-1.16.5-1.0.7
invtweaks-1.16.4-1.0.1
item-filters-forge-1605.2.5-build.9
jei-1.16.5-<IP_ADDRESS>
konkrete_1.3.0_MC_1.16.2-1.16.5
kotlin_libraries-1.0-6
kubejs-create-1605.1.2-build.7
kubejs-forge-1605.3.18-build.141
metalbarrels-1.16.2-3.3b
moredragoneggs-1.4
moreoverlays-1.18.15-mc1.16.5
Morpheus-1.16.5-4.2.70
MouseTweaks-2.14-mc1.16.2
OpenLoader-1.16.5-9.0.3
OptiFine_1.16.5_HD_U_G8
pamhc2foodcore-1.16.3-1.0.2
Patchouli-1.16.4-53.2
PickleTweaks-1.16.5-5.2.5
Placebo-1.16.5-4.6.0
polymorph-forge-1.16.5-0.25
reap-1.16.5-1.0.1
ReAuth-1.16-Forge-3.9.3
refinedstorage-1.9.15
refinedstorageaddons-0.7.3
repurposed_structures_forge-3.2.5+1.16.5
rhino-forge-1605.1.4-build.63
rsrequestify-1.16.5-2.1.3
ServerTabInfo-1.16.4-1.3.3
shutupexperimentalsettings-1.0.3
silent-gear-1.16.5-2.6.30
silent-lib-1.16.3-4.9.6
SilentGems-1.16.3-3.7.16
SoL-Carrot-1.16.5-1.10.1
sounddeviceoptions-1.4.3
StorageDrawers-1.16.3-8.3.0
theoneprobe-1.16-3.1.4
torchmaster-2.3.8
u_team_core-1.16.5-<IP_ADDRESS>
useful_backpacks-1.16.5-<IP_ADDRESS>
valhelsia_core-16.0.11
WaterStrainer-1.16.3-10.0.0
windowlogging-mc1.16.3_v0.0.4
Wyrmroost-1.16.3-1.2.11
Xaeros_Minimap_21.22.2_Forge_1.16.5
XaerosWorldMap_1.18.3_Forge_1.16.5

crash-2021-12-01_17.57.26-client.txt
https://crashy.net/RpgBg7TF4gqL9aJifJQg

Duplicate of #23, seems like this user is still on Flywheel 0.2.0


build: test and advertise Python 3.12 support

A basic pull request adding Python 3.12 to tested versions as well as proper PyPI classifiers for Python 3.12 support advertisement.
No functional changes

By the way, I think the tests are failing now because of the most recent mypy version. See also https://github.com/copier-org/copier/pull/1286#issuecomment-1673306751.

Yep, exactly. PR updated with minimal lock change.
Sorry for the multiple trials, I don't have other mean to test against Windows and MacOS.

One CI job is failing though, I'm not quite sure why. It seems to be related to the pip vendored by Python 3.12. https://github.com/pypa/pip/issues/11501 looks like the same problem. I wonder why only the Ubuntu job is failing.

I think virtualenv needed an update, so I just did poetry update virtualenv.
For reference, the idea comes from https://github.com/pre-commit/pre-commit/issues/3041

I try to contribute as much as possible to tools I use, even for small tasks.
Given I contribute to those tools, I benefit too from housekeeping and maintenance.
Anyway, I'm pleased to help !


[iot]: Some tests are flaky

There seems to be issues when many instances of the tests are running in parallel.
Example here: https://source.cloud.google.com/results/invocations/579fb838-8af8-40ad-973c-4d5bbeaead68/log

Some other failures here: https://source.cloud.google.com/results/invocations/ba87b5e7-6598-48bb-9430-18ea2710c5c4/log


🚀 Feature: Horizontally Scaling the catalog

🔖 Feature description
Hi! It's David from Doordash. I have some questions on behalf of my team to the Backstage team on how you recommend we support 2 simultaneous goals.

Goal 1: Horizontally scale Backstage. We would like to have more than 2+ instances of the Backstage Backend running at all times for seamless green/blue deployments, better reliability, and the assurance that we can always take on more scale by spinning up more machines.

Goal 2: Support Write operations on catalog entities via the UI. We would like to support Upserts to catalog data from our backstage app itself.

So far, as we understand it Backstage's Catalog is not built to be horizontally scaled. This is because:

After all entities have been processed, entities live in the Backstage backend's in-memory cache. Therefore, different compute nodes of Backstage Backend will not be reading from the same source. While Backstage supports using Redis to share a cache Between Entity Processors, the final processed entities still live in an in-memory cache (that cannot be configured).

For as long as each compute node running a Backstage Catalog backend has its own in-memory cache, there will be cache invalidation issues after we upsert an entity.

Example:
1. Backstage FE App makes a request to update the name of an entity.
2. The request is handled by Backstage Backend instance A. This backend forwards the request to our backing CRUD service. It invalidates the cached entity in it's its in-memory catalog cache.
3. Backstage FE App makes a read request to the changed entity, but the request gets routed to Backstage Backend instance B, which shows the old name.

Question

Will the Backstage catalog plugin expose a way to use a Redis cache to hold entities?
Has Spotify or other advanced Backstage users experienced this problem?

Thanks.
🎤 Context
See Feature Description above.
Architecture

 ┌─────────────────┐     ┌─────┐     ┌────────────────┐       ┌───────────────┐
 │                 ├─────►     ├─────►                ├───────►               │
 │ Backstage React │     │     │     │ Backstage node │       │  Entity CRUD  │
 │     App         │     │     │     │   Backend 1    │ ┌─────►    Service    │
 │                 │     │     │     │                │ │     │               │
 └─────────────────┘     │     │     └────────────────┘ │     └───────────────┘
                         │     │                        │
                         │     │     ┌────────────────┐ │
                         │     │     │                │ │
                         │ LB  ├─────► Backstage node ├─┘
                         │     │     │   Backend 2    │
                         │     │     │                │
                         │     │     └────────────────┘
                         │     │
                         │     │     ┌────────────────┐
                         │     │     │      ...       │
                         │     │     │                │
                         └─────┘     └────────────────┘

✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Let me wind back a couple of assumptions first 😅 The catalog IS horizontally scalable. It stores the result in the database which it then also uses for the read API. The work of processing entities is also scaled out across the available nodes. There are a few more details about options and constraints in the deployment scaling docs.

Will the Backstage catalog plugin expose a way to use a Redis cache to hold entities?

The cache does not hold any entities, but depending on the setup it may hold cache data that helps speed up the catalog processing. You can read more about the different available options and how to configure them here.

Has Spotify or other advanced Backstage users experienced this problem?

For this I'm assuming you're talking about an Upsert API, otherwise it's covered above 😁
Early on we used to have an API for mutating entities directly, but didn't like that approach and have since removed it. It is however possible to implement using a separate EntityProvider with it's own Upsert API and storage, more on that here.

Thanks Rugvip!
You were right, the catalog does have ready made support to plug in a PSQL database! This is great news! I checked our app, and it looks like we're still using the SQLite client, which is why it's acting as a per-compute-node datasource. But this looks like a trivial change.
Thanks for the correction.

Hi David! I'm Seve a PM on Backstage. I wanted to ask if you or someone from your team would be willing to talk through your Backstage experience at Doordash? I'd be very interested to learn more from you all!
Feel free to book time on my calendar or reach out to me via email<EMAIL_ADDRESS>

Going to close this as I think the original issue has been resolves. Let us know if we missed anything, and don't hesitate to open a new issue for other discussions!


feat(builder): validate operators at startup time

What this PR does / why we need it:
For an operator chain:
in -> operators[0].In()
operators[0].Out() -> operators[1].In()
...
operators[N].Out() -> out

Parameter types and result types are checked at startup time now.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #73
Special notes for your reviewer:
/assign @yejiayu
/assign @Jimexist
/area framwork
/kind enhancement
/priority P1
Release note:

Check parameters and results of operators at startup time

/lgtm


Add data for case-insensitive modifier of CSS attribute selectors

Testcase: http://jsbin.com/zutuna/edit?html,css,output
Refs #1058.

Thanks!

@Fyrd "Data pending review" label can be removed 😄 http://caniuse.com/#feat=css-case-insensitive

Done, thanks @cvrebert!


Add pixi support

Description
Starting from #88 but run from an upstream branch
Seeing issues

[ ] pixi list only shows base environment
[x] python -m pip install -e . isn't installing package into test environment
[x] pytest might not picking up editable installation, if it exists

Thanks!


[Testing] Start making test cases (and travis setup) backend agnostic.

Problem: We currently automatically test mostly the tf-versions of our Components and Agents. PyTorch is not well represented in our test cases, which can lead to uncaught bugs. E.g. our travis testing container is tf-based and does not even have PyTorch installed.
Solution: Start converting all test cases from currently pure tf-based to a more flexible setup, where the same test case can be used on both backends. Note that most tests should already be working under both backends, but this needs to be - yes - tested.

The problem is different ways of handling batch ranks e.g. in neural networks. This might however change in PyTorch 1.0.
One option is to handle shape conversions in the main test class (if it's always the same conversion).

Have begun moving torch tests into travis, and pending some special cases can start moving other tests soon.


Portal Accelerator fix for VPN Gateway regional deployments

Overview/Summary
Portal Accelerator fix for VPN Gateway regional deployments - removing the region check for regional deployments as all regions support this (as opposed to AZ deployments).
This PR fixes/adds/changes/removes

Updating Portal Accelerator

Breaking Changes

N/A

Testing Evidence

Testing URLs
Azure Public

As part of this Pull Request I have

[X] Checked for duplicate Pull Requests
[X] Associated it with relevant issues, for tracking and closure.
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Performed testing and provided evidence.
[X] Ensured contribution guidance is followed.
[X] Updated relevant and associated documentation.
[X] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

Replaced by #1520


[WIP] Pass correct plan ID in deprovision request (for both deleting and orphan mitigation)

Reopening the PR #1803 that was reverted.

/retest

Jenkins build is green, retesting to see if there is any flakiness.

Merging the PR again.
The integration tests flakiness is due to this block:
            t.Parallel()
            if tc.asyncForBindings {
                // Enable the AsyncBindingOperations feature
                utilfeature.DefaultFeatureGate.Set(fmt.Sprintf("%v=true", scfeatures.AsyncBindingOperations))
                defer utilfeature.DefaultFeatureGate.Set(fmt.Sprintf("%v=false", scfeatures.AsyncBindingOperations))
            }

i.e. parallel tests concurrently mutating the static utilfeature.DefaultFeatureGate object.


Bootstrap reboot stylesheet is imported twice

Bug Report
Expected behavior/code
Bootstrap reboot stylesheet should be imported only once from Sass sources.
Actual Behavior
Currently the main.scss source imports Bootstrap reboot stylesheet twice:
https://github.com/openfun/richie/blob/fb0725cc3f9d78f9e3fdc192c7170b3060cfb08a/src/frontend/scss/_main.scss#L22
Steps to Reproduce

Open previously given url to file source
Look at line 18 and 22
You will see the same exact lines which import Bootstrap reset

Environment

Richie version: 1.11.0
Platform: Any

Possible Solution
Just remove the second identical lines.

Solved by https://github.com/openfun/richie/pull/947


Migrate wiki to GitHub Pages + MkDocs ❤

Hi! I've been using this awesome library for over two years now for work (and sometimes for personal use). One of my former colleagues even went through all of the trouble and red-tape of open sourcing Flowbius 🤯
We've been using the wiki as our main point of reference when working with Mobius and for when we onboard folks into the team. It's great. I have no complaints. The wiki is very well organized and does the job just fine. However, I think we can improve on it 😁
Why migrate the wiki to GitHub Pages + MkDocs?
Why "fix" something that is not broken? This is one of the all-time most frequently asked questions in software development (IMO). As I mentioned, the wiki is fine. I am not saying the wiki "needs to be fixed". So then why?
MkDocs, in particular the Material for MkDocs...

is used by a lot of companies and successful OSS.

Atlassian, AWS, Binance, Bloomberg, CERN, Datadog, Google, ING, Intel, LinkedIn, Microsoft, Mozilla, Netflix, Salesforce, SoundCloud, Square, Zalando
Google's Accompanist, Arduino, AutoKeras, BFE, CentOS, Crystal, Electron, FastAPI, Knative, Kubernetes, kSQL, Nokogiri, OpenFaaS, Pi-Hole, Pydantic, Renovate, Traefik, Vapor, ZeroNet, WTF
I'm sure Spotify is probably using it for some of the newer FOSS projects.

is searchable
looks and feels better than the wiki in desktop and mobile (IMO)
you get a free website out of it

I will not talk about the pros and cons of GitHub wiki vs GitHub Pages. It's up to you to do that research if you care. It's mostly just preference and opinions, IMO anyways 🤭
You get this work for free
I think that you are all aware of MkDocs and have probably considered or are considering using it. Maybe ya'll just don't have the time to do it or just can't be bothered to fix something that ain't broke. Or maybe you even prefer the wiki and are consciously making the decision to use it instead of GitHub Pages + MkDocs.
Either way, I've already done the work for you 🤗. It's been a pleasure to be able to have the opportunity to do this work for one of my all-time favorite FOSS projects. I had fun doing it. As a bonus, I learned even more about Mobius in the process. Regardless of whether you merge my PR or not, thanks for everything 🍻
If you do decide to migrate, you can just merge my PR (or just use it as reference). More info including demo videos and next steps are in the PR.
https://github.com/spotify/mobius/pull/154
Here is what it looks like in my fork; https://vestrel00.github.io/mobius/

Hey @vestrel00, amazing work you did here, truly appreciated!
I've already checked and it looks much better than the old wiki 🙂
We'll finish your PR review and merge it soon 🙏🏼

WOW 🤯 Thanks @renatanunes-spotify ! I'm super stoked to have been able to contribute a tiny bit to this piece of art!
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤


cp: cannot stat 'tmp/lib/modules/5.10.17-

Annoying Errors when I compile the image.
cp: cannot stat 'tmp/lib/modules/5.10.17-v7+/kernel/drivers/net/phy': No such file or directory
cp: cannot stat 'tmp/lib/modules/5.10.17-v7l+/kernel/drivers/net/phy': No such file or directory
cp: cannot stat 'tmp/lib/modules/5.10.17-v8+/kernel/drivers/net/phy': No such file or directory
cp: cannot stat 'tmp/lib/modules/5.10.17-v7+/kernel/drivers/hwmon/hwmon.ko': No such file or directory
cp: cannot stat 'tmp/lib/modules/5.10.17+/kernel/drivers/hwmon/hwmon.ko': No such file or directory
cp: cannot stat 'tmp/lib/modules/5.10.17-v7l+/kernel/drivers/hwmon/hwmon.ko': No such file or directory
cp: cannot stat 'tmp/lib/modules/5.10.17-v8+/kernel/drivers/hwmon/hwmon.ko': No such file or directory
cp: cannot stat 'tmp/bin/mkfs.btrfs': No such file or directory

I am having the same issues. I solved hwmon error but the rest are still there.

This worked for me: sed -ibak s/\/hwmon\.ko/\/raspberrypi-hwmon\.ko/ build.sh

Hmm 😞 .
Now also running into cp: cannot stat 'tmp/lib/modules/5.10.17-v8+/kernel/drivers/net/phy': No such file or directory

@Mausy5043 I already told you to comment out those lines. Read my previous comment. I am using the generated image for a month, no issue faced till now.

@Scientist786 : I understand that your fix works for you. But for the general case this is not enough.
The installer will hold four net directories in raspberrypi-ua-netinst/build_dir/tmp/lib/modules:
$ find . -wholename "*/kernel/drivers/net"
./5.10.17-v8+/kernel/drivers/net
./5.10.17-v7+/kernel/drivers/net
./5.10.17-v7l+/kernel/drivers/net
./5.10.17+/kernel/drivers/net

and only one of them holds a phy directory:
$ find . -wholename "*/kernel/drivers/net/phy"
./5.10.17+/kernel/drivers/net/phy

So, although your fix may work, it will fail for those using the 5.10.17+ kernel.

This line needs to be changed:
https://github.com/FooDeas/raspberrypi-ua-netinst/blob/15b8f30d8b436f081b0d49cf55ca2af84b0a112c/build.sh#L41
to:
eval cp --preserve=xattr,timestamps -r "${1//kernel\*/${kernel}}" "${2//kernel\*/${kernel}}"  || true

This will still output the copying error during the build, but it will not abort it.
And to also tackle OPs final error. This line:
https://github.com/FooDeas/raspberrypi-ua-netinst/blob/15b8f30d8b436f081b0d49cf55ca2af84b0a112c/build.sh#L221
should be changes to cp --preserve=xattr,timestamps tmp/sbin/mkfs.btrfs rootfs/bin/ because the executable was moved.


Get rid of the redundant async keyword

Summary
Typo.
Test plan
N/A

Codecov Report

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

@@           Coverage Diff           @@
##           master    #6710   +/-   ##
=======================================
  Coverage   63.68%   63.68%
=======================================
  Files         235      235
  Lines        9003     9003
  Branches        3        4    +1
=======================================
  Hits         5734     5734
  Misses       3268     3268
  Partials        1        1

Continue to review full report at Codecov.

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


I have errors compiling and saving the quadversity code in arduino

I am having trouble saving the code to the arduino. I have tried several versions of the IDE (1.6.8, 1.6 and 1.5) but I have not been successful with any ... Can you tell me a version of the IDE with which you are sure you can compile and save the code without "redefined" errors?

Looks like the last time I committed to quadversity was July 2018.  Try 1.8.5 which was the current release back then.
https://www.arduino.cc/en/Main/OldSoftwareReleases
https://www.arduino.cc/en/Main/ReleaseNotes

TKS @JyeSmith
I installed version 1.8.5. Also the libraries that are attached in the rar and the adafruit 1306 and gfx libraries that this requests. Many errors remain that there are redefinitions.
This is the first to come out, but there are many more similar ones:
Arduino:1.8.5 (Windows 8.1), Tarjeta:"Arduino Nano, ATmega328P"
In file included from sketch\ui.h:7:0,
             from F:\FENIX-rx5808-pro-diversity-quadversity\FENIX-rx5808-pro-diversity-quadversity\src\rx5808-pro-diversity\rx5808-pro-diversity.ino:44:

C:\Users\Elena\Documents\Arduino\libraries\TVout/TVout.h:50:0: warning: "WHITE" redefined
#define WHITE     1
^

hello @juanvivo
can you please say, wich versions of libraries did you install?
seeems i tried many combinations of adafruit 1306 and gfx libraries, but still have warnings in compilation (and not working receiver).
I tried 1306 - 1.2.7 (and all near it) and GFX 1.2.9-1.4.14 - but no success

all libraries are in the latest version except one. But I don't remember which one, when I get home I look at it and tell you ...
Enviado desde Yahoo Mail con Android
El mié., jun. 24, 2020 a 16:23, Sergey<EMAIL_ADDRESS>escribió:
hello @juanvivo
can you please say, wich versions of libraries did you install?
seeems i tried many combinations of adafruit 1306 and gfx libraries, but still have warnings in compilation (and not working receiver).
I tried 1306 - 1.2.7 (and all near it) and GFX 1.2.9-1.4.14 - but no success
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

the version that worked for me was adafruit 1306 july 2018. It seems to me to remember that later I tried with some later versions and it also worked well.

thank you for the answer.
I can found:
Adafruit_SSD1306-1.1.2 2016-12-05
Adafruit_SSD1306-1.2.0 2018-11-08
I cannot find the version from jule, so seems it should be 1.1.2 version...
GFX - the latest?
And what branch of code did you build? develop or master?

Tried all this versions, but still unsucsessfull (get many warnings during compiling, and then white snow on the screen). It would be fine, if you find the working versions :)
IDE 1.8.5 and 1.8.12

thank you =)

The versión that i use without problems is 1.3.0 in 1.8.12 ide .

I was also having compiler errors until I read this. I downgraded from the current Adafruit GFX lib (1.10) to 1.3.0, and it compiles now.

I also found working versions. this was Adafruit_SSD1306 1.1.2 and Adafruit_GFX 1.2.2

When I compiled the source code, I reported this wrong, what's going on?
new.cpp.o (symbol from plugin): In function operator new(unsigned int)': (.text+0x0): multiple definition of operator new(unsigned int, void*)'
sketch\state.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1

When I compiled the source code, I reported this wrong, what's going on?
new.cpp.o (symbol from plugin): In function operator new(unsigned int)': (.text+0x0): multiple definition of operator new(unsigned int, void*)' sketch\state.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1

I had the same error, but just now I've been able to compile, just downgrade your Adafruit_SSD1306 and Adafruit_GFX libraries. The versions that worked for me are Adafruit_SSD1306 1.1.2 and Adafruit_GFX 1.2.3


Bug: Ionic v1.0.0 : $ionicGoBack($event) throws an error

TypeError: Cannot read property 'viewId' of undefined
at Object.goBack (vendors.js:52298)
at Scope.$rootScope.$ionicGoBack (vendors.js:52535)
at $parseFunctionCall (vendors.js:30250)
at vendors.js:60979
at Scope.$eval (vendors.js:32306)
at Scope.$apply (vendors.js:32405)
at HTMLButtonElement.listener (vendors.js:60978)
at Object.triggerEvent [as trigger] (vendors.js:10017)
at Object.tapGesture [as handler] (vendors.js:10913)
at Object.detect (vendors.js:10595)
Code excerpt:
goBack: function(backCount) {
if (isDefined(backCount) && backCount !== -1) {
if (backCount > -1) return;
    var currentHistory = viewHistory.histories[this.currentHistoryId()];
    var newCursor = currentHistory.cursor + backCount + 1;
    if (newCursor < 1) {
      newCursor = 1;
    }

    currentHistory.cursor = newCursor;

-----> setNavViews(currentHistory.stack[newCursor].viewId);
    var cursor = newCursor - 1;
    var clearStateIds = [];
    var fwdView = getViewById(currentHistory.stack[cursor].forwardViewId);
    while (fwdView) {
      clearStateIds.push(fwdView.stateId || fwdView.viewId);
      cursor++;
      if (cursor >= currentHistory.stack.length) break;
      fwdView = getViewById(currentHistory.stack[cursor].forwardViewId);
    }

    var self = this;
    if (clearStateIds.length) {
      $timeout(function() {
        self.clearCache(clearStateIds);
      }, 600);
    }
  }

  viewHistory.backView && viewHistory.backView.go();
},

Greetings @palkush!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Are you calling $ionicGoBack from within your app? The param shouldn't be an $event anymore

Greetings @palkush!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


[zh] sync and update statefulset.md

update based on English version of statefulset.md

added a block inside #stable-network-id
sync tables and blocks
added a sentence in #parallel-pod-management

welcome all the comments :)

/lgtm


Fix for PR #382 [scuttling]

1) Fix the bug
PR #382 code modifications introduce a bug where the array of props to scuttle is no longer an array of props but an array of arrays of props:
props = [a,b,c, d,e,f] // beofer bug introduced
props = [[a,b,c], [d,e,f]] // after bug introduced

This canceled scuttling completely, because instead of attempting to redefine a certain property my_prop:
Object.defineProperty(window, 'my_prop', {})

We ended up with:
Object.defineProperty(window, ['my_prop'], {})

commit introducing the bug reference
2) Improve and fix tests to work with scuttling feature for packages browserify,core,node
Tests infra was not compatible to work in scuttling mode, and the browserify infra required further adjustments to serve us in the future more simply:

rewrite the scuttling tests to actually do their job
change runScenarios calls so that each scenario will determine for itself whether to apply scuttling mode or not (instead of current situation where scuttling can be turned on/off only for all scenarios)
fix browserify testing infra so that it'll rely on the local versions of core/node/lavapack/browserify deps rather than the ones from npm (made it very hard to test modifications to both browserify package and another package in a single pr)
extend testing infra to not only allow expected failure, but also test the failure exception to include a certain rgx
fix testing infra to allow passing array arguments via cli (so we can pass scuttleGlobalThisExceptions arg)
extend testing infra vm globalThis to allow access to real global object in tests exclusively (here's why)
split back __lavamoatDebugOptions__ and __lavamoatSecurityOptions__ and only replace the __lavamoatSecurityOptions__ placeholder if was explicitly required (this is because both lavapack and core can set __lavamoatSecurityOptions__, but since one uses the other potentially, then one must sometimes skip the replacement in order to allow the other to successfully set it)
remove LavaPack from the avoidForLavaMoatCompatibility, and freeze it instead to @kumavis's request

@weizman nice catch - sorry to introduce this bug

this change reintroduces the exceptions, we shouldn't need exceptions for normal usage. in the case that we need them for the kernel, we should capture before scuttling and pull it from there

since directories are modified after install, tests may break if deps change


Can't get my build to use the unirest-java-version of org-apache.http.client instead of the one shipped with Android (I'm at API 16)

Hi,
I'm having trouble with unirest-java on API level 16. I have compiled a JAR unirest-java-1.4.6-SNAPSHOT-withDependency-ShadedForAndroid with all dependencies and also some Apache-libs shaded - but I'm still getting errors about my app not finding org.apache.http.client.methods.HttpRequestBase.releaseConnection. Which I have concluded is due to it using the built-in apache-libs instead of the ones I compiled in with the unirest-JAR.
LogCat:
[http://pastebin.com/5MCSa7eg]
unirest-java/pom.xml:
[http://pastebin.com/ThHZn3sN]

Please follow the link http://blog.mashape.com/using-unirest-java-for-your-android-projects/


How do we connect to the Samsung Health?

There are related questions on the blog. Check it out from here:
https://forum.developer.samsung.com/t/developer-i-d-access-code/22023/5

Not possible


Error Help

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

I got such an error when I was doing the create your application phase, I looked for a solution all day but I could not find the solution, I am using windows 11

The error message is saying there is no SDK found. Have you downloaded and installed the SDK as instructed on the previous step? If so, we can look into other possible root causes.

I installed the SDK as requested but the error still persists
Windows için Postahttps://go.microsoft.com/fwlink/?LinkId=550986 ile gönderildi
Kimden: Maira @.>
Gönderilme: 14 Mart 2023 Salı 04:50
Kime: @.>
Bilgi: Ahmet akif @.>; @.>
Konu: Re: [dotnet/core] Error Help (Issue #8279)
The error message is saying there is no SDK found. Have you downloaded and installed the SDK as instructed on the previous step? If so, we can look into other possible root causes.
—
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/core/issues/8279#issuecomment-1467220156, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYQABIW6JWUPCSZH7ZBOGD3W37FHZANCNFSM6AAAAAAVZTOWHE.
You are receiving this because you authored the thread.Message ID: @.***>

Check if it's a path issue, run the where.exe dotnet command and if your system is x64 and the x86 path returns first, please follow the steps at https://github.com/dotnet/core/issues/5962#issuecomment-780084535 to fix the issue.
Let us know how that goes.


Fix LevelSprite unselection bug

Fixed in commit https://github.com/Sygmei/ObEngine/commit/4a1c73b494a05980c355ef3a8293b206a2c7d300


playback_progress_bar option is ignored

@aome510 Sorry to bother you again :(
Describe the bug
playback_progress_bar doesn't respect configuration options set by the user.
To Reproduce
Set the variable playback_progress_bar in theme.toml to anything but the default. Start the player and watch the default values being applied to the UI progress bar.
Expected behavior
The options in the config file should be honored.
Log and backtrace
Reference log, https://pastebin.com/4bn7Qcxx
Screenshots

The config file is shown in the screenshots but, if you want to look closer you can find it here
Notice in the screenshots, that if I reverse fg and bg (screenshot 1 and 2) the UI looks exactly the same.
Environment

OS: NetBSD
Application version: 0.11.0
Application features: portaudio

EDIT
Actually, it doesn't respect the defaults either. The foreground should be Green on defaults but, it's White.

Reproduced on Void linux. Binary built with cargo build --release --no-default-features --features alsa-backend
v0.10.0

v0.11.0

Hi pin, thanks for reporting. Should be fixed by #121.
The bug was because of a typo in https://github.com/aome510/spotify-player/pull/121/commits/44a1a6f257fcfdf73765da6e293a63bf034f018d#diff-82d73b66336ce17de09822c7a042192a440ac81555460ae4b725e6b5d0cda3efL234.

If no bug is reported by eod, I can release a new minor version.

@aome510 Thanks! Just re-built from git-HEAD and it's fixed.

@0323pin released https://github.com/aome510/spotify-player/releases/tag/v0.11.1

@aome510 On my way to work right now, will update the package tonight. Thanks!

Updated and merged now.


typesense: 27.0 -> 27.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for typesense is: Typesense is a fast, typo-tolerant search engine for building delightful search experiences
meta.homepage for typesense is: https://typesense.org
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 27.1 with grep in /nix/store/l7nxrfzdljc9zw7w8c8r846wwdvkn4h8-typesense-27.1
found 27.1 in filename of file in /nix/store/l7nxrfzdljc9zw7w8c8r846wwdvkn4h8-typesense-27.1

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

typesense

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l7nxrfzdljc9zw7w8c8r846wwdvkn4h8-typesense-27.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/d4a3b76cc4cecf39c20813199ec521414c58973e#typesense

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

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

1 package built:

typesense

Maintainer pings
cc @oddlama for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 345318 run on x86_64-linux 1
1 package built:

typesense


Add a Gitter chat badge to README.md

infosupport/stryker now has a Chat Room on Gitter
@nicojs has just created a chat room. You can visit it here: https://gitter.im/infosupport/stryker.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

I already added it by hand.