selectDates in viewDidLoad has a slight delay

I found an answer #2 here.
I'm calling
self.calendarView.selectDates(from: firstDate, to: lastDate, triggerSelectionDelegate: false, keepSelectionIfMultiSelectionAllowed: true)

in viewDidLoad in main thread (not in block). So before the cells are getting selected there is a very small delay.. Is there any way to have it selected "faster" ? As I know viewDidLoad is the earliest step of lifecycle.. So I wonder if it's possible.
Thanks!

Hmm.
Keep in mind that wht ever you tell me, I try to re-create it on the sample app. On the sample app, there is no delay when selecting cells like this. Can you tell me more what you are doing on viewDidLoad?

things that I do that are related to calendar in viewdidload:
     self.calendarView.dataSource = self         self.calendarView.delegate = self         self.calendarView.registerCellViewXib(file: dateCellXibIdentifier)         self.calendarView.direction = .vertical         self.calendarView.allowsMultipleSelection  = true         self.calendarView.rangeSelectionWillBeUsed = true         self.calendarView.scrollingMode = .nonStopTo(customInterval: 0, withResistance: 0.2)         self.calendarView.itemSize = 50         self.calendarView.scrollToDate(firstDate, triggerScrollToDateDelegate: false, animateScroll: false, preferredScrollPosition: .centeredVertically , completionHandler: nil)         self.calendarView.selectDates(from: firstDate, to: lastDate, triggerSelectionDelegate: false, keepSelectionIfMultiSelectionAllowed: true)
the other stuff in viewdidload is not related to the calendar.
Also I'm thinking can it be due to overloaded willDisplayCell func? Because when using iphone 5 the calendar is laggy on scrolling (the newer devices are OK). So i think may be delay is due to heavy willDisplayCell func. on iphone SE there is a delay also (but there is not lags on scrolling)
hope it helps..

@tungfam This library is tested on an old iPhone 4s. And scroll performance its awesome. The library was build with speed in mind.
If you are lagging on iPhone5 then you are doing something else your app.
Your viewDidLoad code looks good.
So can you show me what your willDisplayCell looks like?
I can help you get your calendar scrolling smoothly even on an iPhone 4s.

Yeah your lib is definitely great. so that's why i think it is a heavy  willDiplay func.. there is too much code lol:
func calendar(_ calendar: JTAppleCalendarView, willDisplayCell cell: JTAppleDayCellView, date: Date, cellState: CellState) {
        let dateCell = cell as! CalendarDateCellView

        // Setup Cell text
        dateCell.dayLabel.text = cellState.text

        self.handleSelection(cell: cell, cellState: cellState)

        if self.calendar.isDateInToday(date)    {
            if cellState.dateBelongsTo == .thisMonth    { // added this cuz it was adding word "today" for outdated date
                if cellState.isSelected {
                    dateCell.todayLabel.textColor = whiteColor
                } else  {
                    dateCell.todayLabel.textColor = grayColor
                }
                dateCell.todayLabel.isHidden = false
            }
        } else  {
            dateCell.todayLabel.isHidden = true
        }
    }

func handleSelection(cell: JTAppleDayCellView?, cellState: CellState) {
        let myCustomCell = cell as! CalendarDateCellView
        switch cellState.selectedPosition() {
        case .full: // full in my case is when selecting 1 date (first)
            self.showSelectedAndBlueView(.single, cell: myCustomCell)
            myCustomCell.isUserInteractionEnabled = false
        case  .left:
            // when it's the left date in range then we need to show right blue view
            self.showSelectedAndBlueView(.right, cell: myCustomCell)
            myCustomCell.isUserInteractionEnabled = false
        case  .right:
            // when it's the right date in range then we need to show left blue view
            self.showSelectedAndBlueView(.left, cell: myCustomCell)
            myCustomCell.isUserInteractionEnabled = false
        case .middle:
            self.showSelectedAndBlueView(.full, cell: myCustomCell)
            myCustomCell.isUserInteractionEnabled = true
        default:
            myCustomCell.selectedView.isHidden = true
            if !cellState.isSelected    {
                myCustomCell.todayLabel.textColor = grayColor
            }
            myCustomCell.fullBlueView.isHidden = true
            myCustomCell.leftBlueView.isHidden = true
            myCustomCell.rightBlueView.isHidden = true
            myCustomCell.isUserInteractionEnabled = true
        }

        if cellState.isSelected {
            if cellState.dateBelongsTo != .thisMonth    {
                // no selection or anything for outdates
                myCustomCell.selectedView.isHidden = true
                myCustomCell.dayLabel.textColor = grayColor
                myCustomCell.fullBlueView.isHidden = true
                myCustomCell.leftBlueView.isHidden = true
                myCustomCell.rightBlueView.isHidden = true
            }
        } else {
            if cellState.dateBelongsTo == .thisMonth {

                myCustomCell.dayLabel.textColor = self.blackColor
                myCustomCell.isUserInteractionEnabled = true

                if cellState.date < Date()  { // disable selection before today
                    if self.calendar.isDateInToday(cellState.date)    {
                        // allow to choose 'today'
                        myCustomCell.isUserInteractionEnabled = true
                    } else  {
                        // disable choosing dates before Today.
                        myCustomCell.isUserInteractionEnabled = false
                        myCustomCell.dayLabel.textColor = self.grayColor
                    }
                }
            } else {
                myCustomCell.dayLabel.textColor = self.grayColor
                myCustomCell.isUserInteractionEnabled = false
                myCustomCell.selectedView.isHidden = true
            }
        }

        // disabling selection of dates before first date and before "today"
        if cellState.date < self.firstDate!  { // selection before first date
            if self.fromOrToDate == .from    {
                // if we are in FROM screen then user can choose any date but not the date earlier than 'today'
                if cellState.date < Date()  {
                    if !self.calendar.isDateInToday(cellState.date)    {
                        // disable choosing dates before Today. but allow to choose 'today'
                        myCustomCell.isUserInteractionEnabled = false
                    } else  {
                        if cellState.dateBelongsTo == .thisMonth {
                            myCustomCell.isUserInteractionEnabled = true
                        } else  {
                            // added this cuz it was allowing to choose the gray date "today"
                            myCustomCell.isUserInteractionEnabled = false
                        }
                    }
                }
            } else  {
                // if we are in TO screen then user can't choose the dates before FROM
                myCustomCell.isUserInteractionEnabled = false
                myCustomCell.dayLabel.textColor = self.grayColor

                if cellState.isSelected { // if we don't do this it will make gray the text of first date
                    myCustomCell.dayLabel.textColor = self.whiteColor
                }
            }
        }
    }

If it's too heavy you think, just let me know i'll try to optimize it :)
Thanks

ok. heading to work now. I'll be looking at it in about an hour or so. Bad traffic. :/

OK i will look at it some more after work.
But for now, can you remove this from here?
        // disabling selection of dates before first date and before "today"
        if cellState.date < self.firstDate!  { // selection before first date
            if self.fromOrToDate == .from    {
                // if we are in FROM screen then user can choose any date but not the date earlier than 'today'
                if cellState.date < Date()  {
                    if !self.calendar.isDateInToday(cellState.date)    {
                        // disable choosing dates before Today. but allow to choose 'today'
                        myCustomCell.isUserInteractionEnabled = false
                    } else  {
                        if cellState.dateBelongsTo == .thisMonth {
                            myCustomCell.isUserInteractionEnabled = true
                        } else  {
                            // added this cuz it was allowing to choose the gray date "today"
                            myCustomCell.isUserInteractionEnabled = false
                        }
                    }
                }
            } else  {
                // if we are in TO screen then user can't choose the dates before FROM
                myCustomCell.isUserInteractionEnabled = false
                myCustomCell.dayLabel.textColor = self.grayColor

                if cellState.isSelected { // if we don't do this it will make gray the text of first date
                    myCustomCell.dayLabel.textColor = self.whiteColor
                }
            }
        }

A better way to makes date cells unselectable is to implement this delegate function
func calendar(_ calendar: JTAppleCalendarView, shouldSelectDate date: Date, cell: JTAppleDayCellView, cellState: CellState) -> Bool {
     // Return true or false based on your criteria
}

got it. will try this delegate method.

yes. cached. did read your tutorials :)) hehe

thanks!

reg. caching.. is it correct what I think is caching? 👍
class ALCalendarViewController: UIViewController, JTAppleCalendarViewDataSource, JTAppleCalendarViewDelegate {

let whiteColor = UIColor.white
let blackColor = UIColor.black
let grayColor = UIColor(red: 202/255, green: 202/255, blue: 202/255, alpha: 1)

override func viewDidLoad() {
....

I made the changes as you advised. I will close for now. Will need to test on another device (which is not available now). Hope moving it to delegate method shouldSelect helped :)

I made the changes as you advised. I will close for now. Will need to test on another device (which is not available now). Hope moving it to delegate method shouldSelect helped :)

This part can also be removed, since you can put it in the shouldSelect delegate
                myCustomCell.dayLabel.textColor = self.blackColor
                myCustomCell.isUserInteractionEnabled = true

                if cellState.date < Date()  { // disable selection before today
                    if self.calendar.isDateInToday(cellState.date)    {
                        // allow to choose 'today'
                        myCustomCell.isUserInteractionEnabled = true
                    } else  {
                        // disable choosing dates before Today.
                        myCustomCell.isUserInteractionEnabled = false
                        myCustomCell.dayLabel.textColor = self.grayColor
                    }
                }

yep :) i did it. all the isUserInteractionEnabled convrrted to shouldSelect. thanks!

Ok, so just to confirm.
After the changes, there is still the following?

iPhoneSE does not lag on scroll ?
iPhone5 does lag on scroll ?

Also, concerning the initial delay, can you tell me what is your startBoundry date and your endBoundary date in you configureCalendar function ?

it's good

can't test right now. will let you know once tested

let startDate = dateFormatter.date(from: "2017 01 01")! // You can use date generated from a formatter
let endDate = dateFormatter.date(from: "2020 12 31")!   // You can also use dates created from this function

hmm may be I should change the date startDate to something like "today minus 1 month" and endDate to something like "today + 6 months" (business logic may allow this). so the calendar will be smaller and smoother ?

@tungfam nah its ok. I have put ranges up to 25-30 years with no problems.
But yes, putting a roaming date with +6 months will make definitely make your loadTime faster, but your scroll/lag performance depends on how heavy your willDisplayCell delegate is.
I wish i could test your app on my iPhone 4s device, so that i can see places to improve on speed, but I guess your code is already top secret or company protected.

@patchthecode got it. let me test on iphone 5 and see how it goes. I will close for now i think. thanks a lot for help.


Controller login needs integration tests

Need integration tests against controller login model to ensure that endpoints API continues to work.

We're tracking test gaps through code coverage reports.


merge package from arlac77/npm-package-template

package.json

chore(devDependencies): update rollup:^0.59.4 from template
chore(devDependencies): add rollup-plugin-babel:^3.0.4 from template
chore(devDependencies): add rollup-plugin-json:^3.0.0 from template
chore(devDependencies): add babel-preset-env:^1.6.1 from template

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ror Group project

we are a group of two-person @tarek102 and @a-laarabi
Our kanban board

Set up the kanaban projects
Assign tasks to each member

STATUS: APPROVED 🟢 ✔
Hi @a-laarabi @tarek102 👋,
This milestone is complete!  Your kanban board has been created successfully, and the tasks are divided equally 👏
There is nothing else to say other than... it's time to start building your project :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Coerce other data to bytes in ensure_text

To handle array types in ensure_text that do not support the Python buffer protocol, it can be handy to coerce them to bytes using the tobytes method. This way we know we have a bytes object that can be decoded.
TODO:

[ ] Unit tests and/or doctests in docstrings
[ ] tox -e py38 passes locally
[ ] tox -e py27 passes locally
[ ] Docstrings and API docs for any new/modified user-facing classes and functions
[ ] Changes documented in docs/release.rst
[ ] tox -e docs passes locally
[ ] AppVeyor and Travis CI passes
[ ] Test coverage to 100% (Coveralls passes)

To provide a variation of this without copying (unless necessary), have pushed a second commit. This only forces data to bytes if memoryview is not an option.

This is ready for review if anyone has a chance to look. 🙂

Superseded by PR ( https://github.com/zarr-developers/numcodecs/pull/305 )


fix(#70): change inheritance order

Fixing "Cannot read property 'value' of undefined"

Also, have changed the code for better readability. It is hard to understand the place, where anything is in one line.


Error on sendCall function

I always get this error
The operation couldn’t be completed. (com.apple.CallKit.error.requesttransaction error 7.)fail
I'm using the lastest version of S.O and xCode
Thanks!

@videmort That error refers to maximumCallGroupsReached. CordovaCall only allows 1 call group. I'm assuming that you're not actually trying to allow more than 1 call group, and that this is just a bug either in your code or in CordovaCall. I would try to create a new project, and call sendCall without any other code to see if you can get this function to work.

@dmarcs  fist of all thanks for your quick response.
My proyect is blank, only init and sendCall to test the callKit, so ... i don't know how i get maximumCallGroupsReached. :S

@videmort No problem. I just created a new project and added the following code to onDeviceReady
cordova.plugins.CordovaCall.sendCall('Daniel Marcus', function(success) {
  alert(success);
}, function(err) {
  alert(err);
});

When I run this code, the app alerts "Outgoing call successful". And if I click on the home button, I see a green bar at the top that says "Touch to return to call". When I duplicate the call as shown below, I first get the "Outgoing call successful" alert followed by "The operation couldn’t be completed. (com.apple.CallKit.error.requesttransaction error 7.)". This is expected because you're only allowed to have one call at a time.
cordova.plugins.CordovaCall.sendCall('Daniel Marcus', function(success) {
  alert(success);
}, function(err) {
  alert(err);
});

cordova.plugins.CordovaCall.sendCall('Daniel Marcus', function(success) {
  alert(success);
}, function(err) {
  alert(err);
});

Also don't forget to call connectCall when the WebRTC video chat starts. When the call ends you need to call endCall, otherwise you'll end up calling sendCall more than once, which is the cause of that error message.


[Feature Request] Schedule a show at specific time on selectable days, with examples.

With the all amazing filler types (pad and tail) which set this virtual TV channel TV Tuner provider unique, is there any plan to add a feature where one can specify a show to start at a specific time and on which day. This reminds me of the cable TV schedule back in the 90's - early 2000's before the thought of Internet video streaming even came to mind, where one had to sit in front of a television on time just to catch the next fresh episode. One could also schedule in a way so that Weekend shows will be different than weekdays, e.g. anime marathon in the Morning, sports shows at late night.
E.g.
Schedule show to always start at specific time on selectable days.
Selection type: I would imagine one would select  using Calendar style drop down menu, similar to how we schedule meetings on Google Calender/Teams.
Selectable Fields:

Days: Drop-down picker Calendar style
Months: Drop-down picker Calendar style
Recurring mode: 1) Play in chronological order until all the episodes is finished 2) Random

Example of Schedule for [Channel X]
-----------
Mon-Fri
-----------
8-9AM - SmartCollection -> Kids Shows
...
9-10PM - SmartCollection-> Smallville
10PM-11PM - SmartCollection-> Heroes
12AM-3AM - SmartCollection -> Late Night TV Shows

-----------
Sat-Sun
-----------
8AM-11AM - SmartCollection -> Anime Shows
...
9PM-12AM - SmartCollection-> Movies Released Since 2020
12AM-3AM - SmartCollection -> FIFA World Cup

I'd love this feature.

Planning for a new block scheduling feature has started. I will consider the examples noted here, but if anyone has other scheduling needs please hop in the discord #block-scheduling channel and let me know.


Clear button shown on disabled select

I have ui-select with ng-disabled =false.
Select itself behave as expected - so i cannot select another value.
But clear  button (allow-clear=true) is still shown and working!
Suggestion:
I have fixed it in my own app - by changing setAllowClear function to set $select.allowClear to false if $select.disabled is true.
Next step is to call setAllowClear function from inside of $select.disabled watcher.
Please evaluate this bug and fix it.
thanks

For me the clear button does not show when the input is disabled

which version are you using? i have found it in latest release
2015-06-08 13:01 GMT+02:00 Sam Blowes<EMAIL_ADDRESS>
For me the clear button does not show when the input is disabled
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ui-select/issues/980#issuecomment-109951115
.

Closing due to lack of reproduction in Plunker - feel free to open a new issue with a Plunker if it is still a problem.


ci: add coverity scan

Coverity Scan has limits on the frequency of build submissions (https://scan.coverity.com/faq#frequency), so I've configured weekly scans for now. If there are less than 4 daily commits to the master branch, we could also run a scan on every commit to the master branch.
Resolves #46

Nice! It's a pity that this is only visible to us though. Better would be automatic feedback to contributors on PRs, but for that we can perhaps use other analyzers later.

We can set the access to mode to "readonly for all" (Project Settings -> Edit -> Project Access). I'm not sure if that means public or for all logged in Coverity Scan users though.
Regarding PRs: Afaics there is no notion of multiple builds, I could only open the report of the last analyzed build. Coverity Scan looks quite old imho, but the static analysis of it is really great (and I don't know any free alternatives).


'Cannot write to file ""' occurs in some circumstances

Issue Reproduce Instructions
After triggering "Start recording button the recording instantly failed and show the error message, in the console the following message is printed:
(audio-recorder:16519): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

This issue is still reproduced after removing ~/snap/audio-recorder folder.

Hello,
I am ready to debug the problem.
Please tell me the ""' in Chinese language (which I can copy & paste).
BTW: Thanks making the snap package.
Latest version is 3.0.4.
Most kindly
Moma Antero
Developer of audio-recorder

Re-hi Lin-Buo-Ren,
I cannot re-produce it here on version 3.0.4.
I tried it with various Chinese folder names in the settings, like:  /home/moma/我的文 件夹 名称
They all worked fine.  I used Google-translate.
Please tell me if you have more findings.
Kindly
Moma Antero
Portugal

The actual saving directory is /home/buo-ren/音樂/錄音, which is essentially /home/buo-ren/Music/Recordings

I would suggest holding back this issue until I successfully build a new release of the snaps, it's been a while and the runtime may have changed a lot.

I fixed one thing in v3.0.5.
It now creates all subpaths (right) when these are written in the Audio folder setting.
//Moma


graph with multiple same direction edges (but different feature) between two nodes

To whom it may concern.
I have a question regarding the usage of multiple edges which all are from same source node and heading to another same target node. (visual explanation below)

In case where they have different edge features(2 x 1) to others, is this concept of "duplicated edges" recognised during GNN training? Or the duplicity is ignored and they deal with training as a single consensus edge?
Kind regards
Charyeong Heo

It' s been a while since I've been involved in the project but I think the data model lets you create training data with distinct edge sets to the same (source, destination) sets of nodes, and to create a custom model treating them separately if you want.

Let me confirm Martin's answer. Library supports parallel edges (multiple edges that connect the same pair of nodes) and there could be multiple edge sets (with unique names) that connect the same pair of node sets. There is no special treatment for the parallel edges, e.g.
import tensorflow as tf
import tensorflow_gnn as tfgnn

# edges: 0->0, 0->0, 0->1, 0->1
gt = tfgnn.homogeneous(
    tf.constant([0, 0, 0, 0]),
    tf.constant([0, 0, 1, 1]),
    edge_features={'feat': tf.constant([1, 2, 3, 4])},
    node_set_sizes=tf.constant([2]),
)
# result: 3=1+2, 7=3+4
tfgnn.pool_edges_to_node(gt, 'edges', tfgnn.TARGET, feature_name='feat')

Many thanks to @blais and @aferludin. How thoughtful you guys are!
With a help from example code, I understood how pooling originally treats the parallel edges distinct from one another.
I might want to make certain the parallel edges are processed separately by customising the model.
Thank you for answering my silly question :)


Changed the Color struct.

Resolves #45 #42
I also added constructors, which required modifying a small part of raygui.

Ah, thanks for the PR. However, raylib/package.d is auto-generated and I don't want to put custom code there. This is why e.g. Vector2 is located in raylib_types.
Can you move it there, and then change the generating.md appropriately?

I moved it to raylib_types and changed the markdown file too.

It was mentioned that maybe Color.init should be all 0s (including alpha)_. I'm thinking we should make that the case, and just have the default parameter for alpha be 255 in the constructor. What do you think?
Making one byte not be zero can have an effect on default initializers in things that contain a Color. When you have to set something to all 0 it's pretty efficient.

Looks good! I'm considering whether this will be released as a point release or wait for a major release, because technically it breaks code (the raygui code being an example).

Maybe a point release? I also want to work on the Linear mixin, so maybe these two could go together.

It was mentioned that maybe Color.init should be all 0s (including alpha). I'm thinking we should make that the case, and just have the default parameter for alpha be 255 in the constructor. What do you think?
Making one byte not be zero can have an effect on default initializers in things that contain a Color. When you have to set something to all 0 it's pretty efficient.

a=255 will also break some code. Everything being zero makes more sense if we don't want that. There used to be #42 , but with how things are built now (constructors), that's not an issue anymore. I prefer a=0, but it's a better idea to ask on Discord for that.


Add version to logs

closes #664

Having some fun with this one... how about output similar to:
[0000]  INFO syft version: 0.32.0-SNAPSHOT-cdaee9b
[0000] DEBUG   ├── buildDate: 2021-12-14T02:53:03Z
[0000] DEBUG   ├── compiler: gc
[0000] DEBUG   ├── gitCommit: cdaee9b6b1e5dad116893ee53597acfa9e9a0c96
[0000] DEBUG   ├── gitTreeState: dirty
[0000] DEBUG   ├── goVersion: go1.17.3
[0000] DEBUG   ├── platform: darwin/amd64
[0000] DEBUG   └── version: 0.32.0-SNAPSHOT-cdaee9b
[0000] DEBUG no new syft update available

Notice the tree info shows up as debug and the top row is info. I mocked up how one way do that here: https://github.com/anchore/syft/commit/c62f3ec127de76a00949dfe9b159dcdde22f9b7e

This probably happened while pulling Syft's changes into my fork :/
The fix AFAIK is blocked until I merge this PR https://github.com/anchore/syft/pull/694

This probably happened while pulling Syft's changes into my fork :/
The fix AFAIK is blocked until I merge this PR #694

Is it true that the unwanted code is isolated to commit f4e60ec? Could you rebase your branch to drop this commit, leaving just the other commit (cdaee9b)? That way this PR isn't necessarily blocked by other PRs.

I've made a couple mistakes with the rebase. I recreated the PR via a branch: https://github.com/anchore/syft/pull/715


HDDS-10422. Fix some warnings about exposing internal representation in hdds-common

What changes were proposed in this pull request?
Fix some Spotbugs (4.x) warnings that code may expose internal representation.  Notable changes:

~OzoneQuota used to initalize contents of QuotaList, moved to the latter~ (deferred to HDDS-10896)
~move creation of mutable metrics objects to PerformanceMetrics~ (deferred to HDDS-10897)

Also remove unused hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/BatchOperation.java (seems to be outdated duplicate of hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/BatchOperation.java).
https://issues.apache.org/jira/browse/HDDS-10422
How was this patch tested?
CI:
https://github.com/adoroszlai/ozone/actions/runs/8200024023

Thanks @szetszwo for the review.  Deferred some changes that can be logically grouped to separate tasks: HDDS-10896, HDDS-10897 and HDDS-10899.

Thanks @szetszwo for reviewing and merging this.


[BugFix] Fix table load metrics missing for transaction load

Why I'm doing:
A transaction stream load using prepare interface, the table metrics starrocks_fe_table_load_rows and starrocks_fe_table_load_bytes are missing.
What I'm doing:
Update table metrics in GlobalTransactionMgr.commitPreparedTransaction() which is called after prepare
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@wyb could you review this pr?


Minor Bug? Total = Available + Unconfirmed but available includes unconfirmed as well

let's say:
I have 1k in a wallet as available balance
I move 2k in.
My available balance now says 3k, though 2k of those are unconfirmed.
Total now says 5k -- the 3k available balance + 2k unconfirmed balance.
Once the unconfirmed gets confirmed, Total = Available and everything reads as it should:
3k available
3k total
I have seen this happen twice in two different wallets.
Does this happen with anyone else?

I think its related to #774

I just had this occur in v<IP_ADDRESS>-unk .
Happened with 6 different transactions, wallet was a full node with ~40 live connections.


Infinite windows

I loaded the asdf system from my quicklisp to avoid downloading duplicates packages with the make command, i got no errors at all, and i managed to run (lispkit:main) and (lispkit:do-main) with the same results: it starts opening infinite lispkit windows until i kill the process with "pkill -9 sbcl"
This also happens when i compile with help of the Makefile and run ./lispkit.
This happens on both StumpWM and XFCE4
In the console, i get the following errors:
(lispkit:24082): Gtk-WARNING **: Overriding tab label for notebook

(lispkit:24082): Gtk-WARNING **: Overriding tab label for notebook

(lispkit:24082): Gtk-WARNING **: Attempting to add a widget with type GtkLabel to a container of type GtkBox, but the widget is already inside a container of type GtkBox, please remove the widget from its existing container first.

(process:24092): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'SoupCookieJar'

(process:24092): libsoup-CRITICAL **: soup_cookie_jar_get_cookies: assertion 'SOUP_IS_COOKIE_JAR (jar)' failed

What version(s) of webkit are you using?

Latest commit: 86f464b596553cbee9639ba83722624607df61c3

@LaloHao webkit, not lispkit. Which version of webkit are you using?

Sorry, that triggered my dyslexia.
I tried 3 webkit packages from the Arch Linux Repositories:
webkit2gtk-2.12.2-1
webkitgtk-2.4.11-1
webkitgtk2-2.4.11-1
They seem to deliver these libraries (respectively)
libwebkit2gtk-4.0.so
libwebkitgtk-3.0.so
libwebkitgtk-1.0.so

And you have the issue on all versions of the library?
Did you build lispkit manually? make should give you everything you need.
Do you have any custom configuration?

The only one that compiles with make is libwebkit2gtk-4.0.so (webkit2gtk-2.12.2-1), the other two says target 'deps' failed.
I haven't modified any file, i literally cloned lispkit and executed make

I'll check it out myself, thanks for the notification.

@LaloHao I tried it myself and it compiled and I did not get infinite windows.
Can you clone clean and do make deps and put all the output in this ticket, please?

It's strange: make success but make deps fails
I think quicklisp is not downloading
This is the output
Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD
                                               "main thread" RUNNING
                                                {1002AACD43}>:
  Couldn't load
  #P"/home/hao/dev/lisp/lispkit/.quicklocal/quicklisp/setup.lisp": file does
  not exist.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1002AACD43}>
0: ((LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX))
1: (SB-IMPL::CALL-WITH-SANE-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {1002ACC8EB}>)
2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN SB-DEBUG::FUNCALL-WITH-DEBUG-IO-SYNTAX) {1002ACC8BB}>)
3: (PRINT-BACKTRACE :STREAM #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {100016B503}> :START 0 :FROM :INTERRUPTED-FRAME :COUNT NIL :PRINT-THREAD T :PRINT-FRAME-SOURCE NIL :METHOD-FRAME-STYLE NIL)
4: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-INT:SIMPLE-FILE-ERROR "~@<Couldn't load ~S: file does not exist.~@:>" {1002AB4183}> #<unavailable argument>)
5: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SB-INT:SIMPLE-FILE-ERROR "~@<Couldn't load ~S: file does not exist.~@:>" {1002AB4183}>)
6: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-FILE-ERROR "~@<Couldn't load ~S: file does not exist.~@:>" {1002AB4183}>)
7: (ERROR SB-INT:SIMPLE-FILE-ERROR :PATHNAME #P"/home/hao/dev/lisp/lispkit/.quicklocal/quicklisp/setup.lisp" :FORMAT-CONTROL "~@<Couldn't load ~S: file does not exist.~@:>" :FORMAT-ARGUMENTS (#P"/home/hao/dev/lisp/lispkit/.quicklocal/quicklisp/setup.lisp"))
8: (LOAD #P"/home/hao/dev/lisp/lispkit/.quicklocal/quicklisp/setup.lisp" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTERNAL-FORMAT :DEFAULT)
9: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:LOAD . "/home/hao/dev/lisp/lispkit/.quicklocal/quicklisp/setup.lisp") (:EVAL . "(push \"/home/hao/dev/lisp/lispkit/\" asdf:*central-registry*)") (:EVAL . "(ql:quickload :lispkit)") (:EVAL . "(quit)")))
10: (SB-IMPL::TOPLEVEL-INIT)
11: ((FLET #:WITHOUT-INTERRUPTS-BODY-82 :IN SAVE-LISP-AND-DIE))
12: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting
Makefile:80: fallo en las instrucciones para el objetivo 'deps'
make: *** [deps] Error 1

How are you invoking the Makefile?
Try just using make alone.

I just fixed the make deps target with 2482dbeabc79667407dabe7765dfbffc16584b08 to have the correct dependency targets to build Quicklisp beforehand.

Previous output is from make deps
If i do make alone i get a larger output (with no errors)
https://gist.github.com/LaloHao/247ea5b96ebb9c0b211ec8d29ec66a52
Here's make deps again with 2482dbeabc79667407dabe7765dfbffc16584b08
https://gist.github.com/LaloHao/6f5117e989a30911cc3468d755fbce8b

That's the correct output. Everything looks like it's building fine.
Next step:
What are the keys you press to trigger the infinite loop?

I dont get the chance to do/press anything before the windows start poping up
I just run ./lispkit and then it happens

Any chance you could get me a short video of it happening?

https://youtu.be/u7qFUvUar4I

This was probably caused by some WM i had installed, i formatted my computer and the problem seems to be fixed

Great! I had this in my todo list and occasionally tried to reproduce with no results. Glad it's fixed!

I had installed several WM (i3wm, stumpwm) and DE (xfce, kde, gnome, lxde) to test them, one of them or most likely the combination of them screwed it up


HelmRelease with partial match semver expression based on prerelease string

I use semantic versioning for my Helm charts in the form of x.y.z-<prerelease>+<build>, for example 1.0.0-feature-foo+11.
With this, at any one time there may be several features may be under development in separate feature branches. The development stream is identified in the semver prerelease string.
Each of these development streams may have multiple builds published, with each build incrementing a build number as denoted by the +N semver build metadata.
The following listing shows an example in which there are two feature branches: feature-foo and feature-bar, each with several builds.
$ helm search repo project-foobar --devel -l
NAME                            CHART VERSION           APP VERSION     DESCRIPTION
servicekit/project-foobar       1.0.0-feature-foo+12    1.0.0           Helm chart for project foobar
servicekit/project-foobar       1.0.0-feature-foo+11    1.0.0           Helm chart for project foobar
servicekit/project-foobar       1.0.0-feature-foo+10    1.0.0           Helm chart for project foobar
servicekit/project-foobar       1.0.0-feature-bar+22    1.0.0           Helm chart for project foobar
servicekit/project-foobar       1.0.0-feature-bar+21    1.0.0           Helm chart for project foobar
servicekit/project-foobar       1.0.0-feature-bar+20    1.0.0           Helm chart for project foobar

I would like to be able to deploy a HelmRelease with the version field set to match the latest build for a particular prerelease string.
For example, I deployed the following HelmRelease with version ^1.0.0-feature-bar+20 and I expect it to deploy the latest build matching the feature-bar prerelease string, in this case 1.0.0-feature-bar+22.
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: project-foobar
  namespace: foobar
spec:
  chart:
    spec:
      chart: project-foobar
      reconcileStrategy: ChartVersion
      sourceRef:
        kind: HelmRepository
        name: foobar
      version: "^1.0.0-feature-bar+20"
  interval: 1m0s
  values: {}

However, when I deploy the above HelmRelease, rather than deploying a 1.0.0-feature-bar+X release, Flux deploys the 1.0.0-feature-foo+12 release. Note the 'Last Applied Version' in the output below.
$ kubectl -n foobar describe helmreleases.helm.toolkit.fluxcd.io project-foobar | grep "1.0.0"
      Version:  ^1.0.0-feature-bar.20
  Last Applied Revision:           1.0.0-feature-foo+12
  Last Attempted Revision:         1.0.0-feature-foo+12

I have also tried excluding the build number (semver build meta) from the semver expression i.e., ^1.0.0-feature-bar but Flux still deploys 1.0.0-feature-foo+12.
Flux deploys the correct version if I update the HelmRelease version to be an exact match string, such as 1.0.0-feature-bar+22; however I would like to be able to use the ^ expression such that Flux deploys the latest build (+N).
Am I misunderstanding how the semver expressions should behave or is it a bug that Flux is deploying feature-foo when I have defined feature-bar?
Any input would be greatly appreciated.

Just realized that I mistakenly opened this issue under the flux2-multi-tenancy project. Closing it and moving it over to the flux2 project.


[Info] MMBot test script

For what it's worth, if you're interested, I made a test script relying on your library at https://github.com/dhondta/malicious-macro-tester.
It allows to complement the prediction with the detection rate from VirusTotal and to produce a report in various different output formats (Markdown, HTML, XML, JSON, PDF).

We are very interested in making this a function that's available in mmbot would you be willing to work with us to get it added?

Hi,
I can help you in function of your requirements and my available time.
What feature would you like to get added exactly ?


Robot to not stop immediately as program ends (MEDIUM priority)

When the student’s program has completed, the robot stops dead immediately. It would be better (more realistic) if there could be an implicit “set power to both motors to zero” executed and execution ends when the robot then stops.

fixed by #147


Temporarily remove "modify" Booster sections

@rhoads-zach This guidance is one that I stand behind, but I think we're scoped too widely for Summit.
The instructions to enhance the Boosters in an expert mode open up some questions:

How do we test the docs to ensure they leave the user with functioning apps?
How do we keep changes to the instructions in sync?
Do we attempt these for all Missions for consistency?

Let's scope ourselves down, remove these sections for now, and revisit to do this in a comprehensive fashion later.  Cool?

@ALRubinger since #20 resolved this issue, i'm closing


PP-9260 Add event subscriber queue message receiver

Add a receiver Managed class which starts a ScheduledExecutorService to
poll an SQS queue for event messages and all required config for this.
The event messages expected have the same structure as event messages in
Ledger. The Event model for deserialisation only currently deserialises
the fields that we expect adminusers to consume.

Drive by comment: we discussed moving the generic SQS polling logic in to commons - is that still something you're considering?

Drive by comment: we discussed moving the generic SQS polling logic in to commons - is that still something you're considering?

Already moved the core duplicated stuff to commons https://github.com/alphagov/pay-java-commons/commit/764253fffd5d49f85219a86c5a4196dc1630a5c9
There's possibly more that could be generified and shared, but there was a line I had to draw somewhere with how much it would help us to generify and share more.

Was going to move some of the config classes to commons too, but was worried this might tie our hands too much if we wanted to change some things for an individual app. Might still be worth doing that..


Blue/Green deployment with Istio

In the doc I see Blue green deployment is supported with kubernetes networking only and not using istio. Is this still a limitation?
I am trying to deploy application in blue green deployment model and since we are using istio i am looking at a way to handle it.
Flagger looked good but istio support for blue green deployment is what missing for us to incorporate

I see a commit https://github.com/weaveworks/flagger/pull/305
Is this available in 0.19.0 helm chart?

Yes it's been shipped in 0.19.0

Hi. Does latest doc has procedure how to do it?
Well let me elaborate what are we trying to achieve.
Our application is shipped as docker image in helm charts. Users would get v1 of the app in helm chart and is deployed in "Blue" namespace, once v2 is available it should be deployed to "Green" namespace and istio rules should be adjusted.
Once user accepts new version which might take a day or two live traffic needs to be switched to "Green" deployment.
Is this doable using flagger?

Nop, Flagger doesn't work across namespaces. The canary CRD is an extension to the Kubernetes Deployment kind, as deployments are scoped to a single namespace so does a canary release.

Ok. Thanks for the confirmation. Will look into alternatives

So the blue/green using kubernetes in doc is for same namespace.?


Profile - System allows you to save a dot instead of any information for home address fields

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/15880
Action Performed:

Go to URL https://staging.new.expensify.com/
Login with any account
Go to Settings -> Profile -> Personal details -> Home address
Enter dots . in any field -> Save

Expected Result:
An error is shown
Actual Result:
The information is saved
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/229877033-893a64df-0002-4f4f-ade1-4d62745ac892.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @slafortune (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@Prince-Mendiratta QA team found this issue while executing the PR above. We want to check with Engeneers if it's expected behavior.

I assigned myself b/c I worked on this page in the recent past
In OldDot we don't validate exactly what's in these address fields, just that they're > 1 character & < 50 characters. So I think it's fine not to have explicit regex for every single field, or else we should probably do that for all forms in the App.

Since this is reported by applause, there will be no payout for reporting.  Will there still be a C+ for review on this @Beamanator ?  If not, I'll unassign myself.

@slafortune yes exactly right, this is not a "bug" anyway so you can unassign yourself, I'll just keep this open till @kbecciv can confirm we are good to go - I'm not sure if we need to update any testrail cases or if we can just close this out

@Beamanator it doesn't need to update TestRail

Ok great sounds good! Let's close this then 👍


Fix k8s build

Awesome, was just about to take another look :-)

Interesting this fixes the build, but has the same failure as #359


Add required 'labels' field to scheduled CI, update next run date

See also #298. This should fail at 10pm today and open an issue this time, then we'll update it to remove the intentional failure and perhaps set the scheduled date to something more useful.

r? @therealprof
(rust-highfive has picked a reviewer for you, use r? to override)


A [user] wants to be able to edit the existing event (in a new event edit page) by clicking the event div on the dashboard and being redirected to the editing form.

Create settings page that renders a list of events to be edited, deleted, etc.


Dependency on mediact modules, but not specified.

Heya,
After requiring the package, it seems that this requires the mediact/coding-standard-magento2, mediact/testing-suite/ and mediact/coding-standard-magento1 for example in
vendor/youwe/testing-suite/src/Installer/FilesInstaller.php
[
           './vendor/mediact/coding-standard-magento2/src/MediactMagento2/phpmd.xml',
           './vendor/mediact/coding-standard/src/MediaCT/phpmd.xml',
           './vendor/youwe/coding-standard-magento2/src/Magento2/phpmd.xml'
],

But the mediact package is abandoned, are you guys planning on migrating the coding standards into a youwe package?
If not perhaps it's an idea to include the mediact packages as a required sub dependency?
Would love to hear your thoughts about this.

@wahidnory what error / problem are you experiencing? The lines of code you reference specifically deal with the migration from the mediact/ namespace into youwe/ / this package. As far as I know, the relevant packages are already listed in composer.json here.

I think that's the problem, I don't have any migration from mediact, I'm simply requiring the testingsuite without having a mediact package present. And that would mean that you guys are expecting a mediact package which isn't really present.
Because then it errors out on trying to locate the file. Here's the error.
PHP Fatal error:  Uncaught _HumbugBox2e6990dfd7a2\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException: The file "vendor/mediact/testing-suite/config/default/grumphp.yml" does not exist

Should this perhaps be caught and not error out like this?

@wahidnory thanks for providing the error message. What steps do you take to get this? I'd like to get this problem fixed. Can you confirm what version of this package you're using, and any other details that would help me reproduce the issue.

@fredden Thanks for your response but it seems that there was a small legacy issue where we still had a couple of mediact packages in allowed-plugins.
After requiring the testings-suite it triggered the error above.
So removing the mediact from allowed-plugins list. Fixes the error.
Sorry to raise an issue about this, seemed like it was on me :sweat_smile:

Great. Thanks for the update. Do you recall (or can you extract from version control) what packages were conflicting / causing the problem? We can probably adjust composer.json files to (try to) avoid this problem going forward.

Ah wait one moment, it seems that after getting past composer install, the phpcs is now asking for mediact files.
GrumPHP is sniffing your code!

Running tasks with priority 0!
==============================

Running task 1/1: phpcs... ✘

phpcs
=====

ERROR: Referenced sniff "./vendor/mediact/coding-standard-magento2/src/MediactMagento2" does not exist

Run "phpcs --help" for usage information
To skip commit checks, add -n or --no-verify flag to commit command

There seems to be something still remnant or relevant in the youwe/testing-suite package
Currently we're using the following version.
 "name": "youwe/testing-suite",
 "version": "2.17.1",

@wahidnory please can you provide some instructions for how I can reproduce this? So far I've not been able to get all these errors locally / on my set-up. It sounds like you may have some left-over MediaCT-branded packages / configuration in your project.

Ah crap, my bad again :sweat_smile: , as I've opened up the phpcs.xml I find the following line
<rule ref="./vendor/mediact/coding-standard-magento2/src/MediactMagento2"/>

You're completely right and this is all legacy stuff still present.
So I'm missing the coding standard for magento2 https://github.com/YouweGit/coding-standard-magento2
Thank you for your time and energy in trying to figure it out with me :smile:


Sodium Crashes on World Startup

Describe the Bug
If I have sodium & iris installed, it lets me launch, but as soon as I open a world or server it immediately crashes.
Reproduction Steps

Install create + sodium + iris
Run game
Open world

Expected Result
Immediate crash
Screenshots and Videos
No response
Crash Report or Log
https://pastebin.com/KqWKmN48
Operating System
EndeavorOS Linux
Mod Version
0.4.0c
Minecraft Version
1.18.1
Other Mods
Fabric API
Additional Context
No response

this will be fixed with the next flywheel update


Communicator login loop

We follow the installation instruction and when we try to login from Teams we see that is trying to login but in the end is just logout again ( is like  a login loop ). Any idea why we can't login to Teams?
Any help is appreciated.

Hi @gaulic,
Thanks for raising the query, can you please check if the Application ID URI is added correctly under Expose an API section of the app, also we would suggest you re-verify the steps mentioned for Set-Up Authentication.
https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/wiki/Deployment-guide#3-set-up-authentication

We did all buy the book but like I said the login is working. Problem is that  after 1 second the app log off and the same over and over. Never happen this and we deploy couple of time in the same way.

Hi @gaulic,
Thanks for confirming, can you please login to Teams in browser and check if you're able to sign in to CC app, also please check and share any errors if you get in the browser console (press F12 in your keyboard and navigate to console and network tab)

Closing this issue due to inactivity, please create a new one if issue still persists.


Banner title text consistency update on Windows and Chrome

I think the banner title needs an update on both Windows NavPay and Chrome extension.  Cant confirm what is on other releases.
Current title banner on Windows:

suggest change to "NavPay - Nav Coin thin Wallet"  * or use lite instead of thin.
current title banner on Chrome extension:

suggest adding "NavPay - Nav Coin thin Wallet"  * or use lite instead of thin.
EXTRA: could also update the Nav Coin Core Wallet.(would you prefer seperate issue opened in Navcoin-core section?)

suggest change to "NavCore - Nav Coin Full Node Wallet"   *also update logo to match NavPay
Essentially having a consistent banner title is what I think should be done, whether my suggestions are used is up to the team.
Cheers,
Bocyaj.

update the site title in the index.html "Nav Pay - Nav Coin Thin Client"

done


chore: Lower the urllib3 pin to 1.26.9

Description
This pull request lowers the urllib3 pin in eng/ci_tools.txt and eng/test_tools.txt from 1.26.16 and 1.26.9.
This to unblock #32770, since azure-ai-generative depends transitively on azureml-core which currently has urllib3==1.26.9 as its allowed upper bound.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

Just kicked a nightly run for the other checks. If this checks out as expected, will merge this PR.


gnome3 and gnome3-lite: problem occured and cannot launch

This occurs on fresh installations of FreeBSD 13.0-RELEASE, quarterly packages, on both my physical desktop and Virtualbox VM, at the "test X11" step as well as every reboot:

Happy to provide more info if requested ;)

The problem is the gnome3-lite port is gone, replaced with FLAVORS.  desktop-installer should have terminated because of this, but it's not getting proper exit status from the package install.  I added a hack to the WIP port to install gnome3-lite properly.  I'll add proper support for FLAVORS to the next release.  Your quick fix for now:
auto-freebsd-wip-checkout git
wip-reinstall-port auto-admin
wip-reinstall-port desktop-installer

Fix committed.  Thanks for the report!

I think we need to reopen this: I tried out gnome3 (no -lite) and it is showing the same error. Not sure if it is the script or the ports themselves though ;)

What version of desktop-installer are you running?

Here's the problem:
<EMAIL_ADDRESS>/home/bacon/Prog/Src/desktop-installer 585 # pkg install gnome3
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'gnome3' have been found in the repositories

I'm updating auto-mark-package-critical to return non-zero if the specified package is not installed.  This will cause desktop-installer to terminate when a critical package fails to install, but allow it to continue for others.

Add added an enhancement to wip/auto-admin so that auto-install-packages will attempt to install deps via pkg when building from source in fall-back mode.  This will greatly reduce the wait for ports with many dependencies.  Didn't help with gnome3, though, since something is actually broken (some dep of gnome-utils that scrolled away before I could see).  Gnome users will just have to wait until the port is fixed.

Didn't help with gnome3, though, since something is actually broken

deskutils/gnome-todo:
In file included from ../src/plugins/all-tasks-panel/all-tasks-panel-plugin.c:24:
../src/gnome-todo.h:24:10: fatal error: 'gtd-enum-types.h' file not found
mcl

Seems rather non-essential.  I'd be inclined to remove it from the depends until it's fixed so we have a gnome3 package available again ASAP.


Guns dont fire.

When I attempt to fire a gun, the following message appears:
NullReferenceException: Object reference not set to an instance of an object
Magazine.SortingBulletInMagazine () (at Assets/_VRtwix/Scripts/Interactables/Magazine.cs:73)
Magazine.GetBullet () (at Assets/_VRtwix/Scripts/Interactables/Magazine.cs:147)
PrimitiveWeapon.LoadBullet () (at Assets/_VRtwix/Scripts/Interactables/PrimitiveWeapon.cs:68)
UnityEngine.Events.InvokableCall.Invoke () (at <94c5f4c38cdc42d2b006f8badef04394>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <94c5f4c38cdc42d2b006f8badef04394>:0)
ManualReload.FixedUpdate () (at Assets/_VRtwix/Scripts/Interactables/ManualReload.cs:81)

Renaming Bullet_12 to Bullet removes the error from the logs but still wont allow guns to fire.
I have been tweaking stuff such as enabling "active" and messing with other components but I really cant figure it out.
I asked around and this appears to be a consistent issue across all users.
Ps, it appears you guys are using Polygon files (the shaders folder for example) without the correct licence, I suggest it is replaced with a legal alternative.

Thanks for report, will look into

Sorry for late answer, I think I found the problem.
You need to assign new actions "Trigger" and "TriggerClick" by:
Window => SteamVR Input => add actions
And then setup bindings:
Open Binging UI" => Current Binding => Trigger => Add ( Click - triggerclick, Pull - trigger )

Please verify if that's gonna help ( will add it to readme ).
About synty studios shader thanks for suggestion, will replace next commit!


[Test] Update in-memory tests to use a different entity instance for concurrency checks

Due to #13098
Fixes #13053

@Eilon @natemcmaster This is a test-only fix to 2.1 for a flaky test; I will notify shiproom. Should I hold off on merging this for any reason?

I can't think of a reason to hold off. :shipit:


Add proper CLI entrypoint to make use as a CLI tool easier

It seems the package doesn't declare a CLI entrypoint, making it not as easy to use as it could be.
Please add typo.py as an entrypoint so that I can just pipx install the tool:
 pipx install ail-typo-squatting

And run for example as ail-typo ...

Good point, we will update it.


Create Dataset issues on ubuntu 16.04 ("folder does not exist")

Hi!
Decided to give DIGITS 5 a try on Ubuntu 16.04.2
On clean installation of 16.04.2 installed everything as described on nvidia's website
When trying to run DIGITS got the following error:
$ digits-devserver
  ___ ___ ___ ___ _____ ___
 |   \_ _/ __|_ _|_   _/ __|
 | |) | | (_ || |  | | \__ \
 |___/___\___|___| |_| |___/ 5.0.0

"/usr/lib/python2.7/dist-packages/digits/jobs" is not a valid value for jobs_dir.
Set the envvar DIGITS_JOBS_DIR to fix your configuration.
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/digits/__main__.py", line 66, in <module>
    main()
  File "/usr/lib/python2.7/dist-packages/digits/__main__.py", line 49, in main
    import digits.config
  File "/usr/lib/python2.7/dist-packages/digits/config/__init__.py", line 9, in <module>
    from . import jobs_dir
  File "/usr/lib/python2.7/dist-packages/digits/config/jobs_dir.py", line 27, in <module>
    os.makedirs(value)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/digits/jobs'

Even though config file shows different jobs dir
# DIGITS systemd service
[Unit]
Description=DIGITS server
After=local-fs.target network.target

[Service]
User=www-data
Environment="DIGITS_JOBS_DIR=/var/lib/digits/jobs"
Environment="DIGITS_LOGFILE_FILENAME=/var/log/digits/digits.log"
ExecStart=/usr/bin/python -m digits -p 34448
Restart=on-failure
ExecStop=/bin/kill -INT $MAINPID

[Install]
WantedBy=multi-user.target

Nevertheless DIGITS runs fine with sudo.

digits-devserver is just a thin wrapper around the command python -m digits. It's not going to use any systemd settings. It will start on port 5000 by default.
The deb package installs a systemd service (check status with systemctl status digits.service). It should be running at ports 34448 and 80.

Cool, thanks!


DateTimes with milliseconds and regex

Since the change at one poinst that set DateParseHandling to None was later removed, validating properties with datetime values that have a RegEx pattern that expects milliseconds to be there does not work. I was able to work around this by parsing the JSON myself first with those serializer settings, but I still would think this would be considered a bug.
Here's an example schema and json:
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "required": [
    "my_datetime"
  ],
  "properties": {
    "my_datetime": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
    }
  }
}

{
  "my_datetime": "2018-12-19T16:58:07.270Z"
}

You need to use the Validate(string) with a string parameter to correctly validate datetime with custom regexes, are you doing that?

that set DateParseHandling to None was later removed

What do you mean by that? Has this been removed from NJsonSchema?

https://github.com/RSuter/NJsonSchema/pull/268
but I don't think the author of the PR is correct about JToken.Parse

Oh shit, you are right... this shouldnt have been removed.

Released soon: https://github.com/RSuter/NJsonSchema/pull/907


UF-315: add support to IsElement for WorkbenchScreen component

btw: the trick here is use Errai ElementWrapperWidget

please Jenkins re-test (error isn't related to this)

+1


Update teams-outlook-email-integration.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/6703
Added link

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@cichur PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Added Workshop subscribe, unsubscribe and download suspend

Added Workshop subscribe, unsubscribe and download suspend

Sorry for the late merge; holidays and all.


Dead variable [phab:D1056]

Created by salguarnieri at 2016-09-15 23:19:47:

fromberger accepted this revision at 2016-09-16 01:47:33

salguarnieri closed via commit cebfbc8a9437bda1ab950c770b0bb0797a338f7b at 2016-09-16 02:05:28


AwesomeWM: client API

These will require dealing with clients, so with wlc that means interacting with WlcView. Like the outputs API, this will change when we move to wlroots so don't get dependent on the implementation details of WlcView.
The only thing necessary for basic rc.lua is get though, so this is something we can put off until rc.lua starts throwing more errors as we fill in the rest of the API.
Functions

[ ] get
[ ] keys
[ ] isvisible
[ ] geometry
[ ] apply_size_hints
[ ] tags
[ ] kill
[ ] swap
[ ] raise
[ ] lower
[ ] unmanange
[ ] titlebar_top
[ ] titlebar_right
[ ] titlebar_bottom
[ ] titlebar_left
[ ] get_icon
[ ] name
[ ] transient_for
[ ] skip_taskbar
[ ] content
[ ] type_
[ ] class
[ ] instance
[ ] role
[ ] pid
[ ] leader_window
[ ] machine
[ ] icon_name
[ ] screen
[ ] hidden
[ ] minimized
[ ] fullscreen
[ ] modal
[ ] group_window
[ ] maximized
[ ] maximized_horizontal
[ ] maximized_vertical
[ ] icon
[ ] icon_sizes
[ ] ontop
[ ] above
[ ] below
[ ] sticky
[ ] size_hints_honor
[ ] urgent
[ ] size_hints
[ ] focusable
[ ] shape_bounding
[ ] shape_clip
[ ] shape_input
[ ] startup_id
[ ] client_shape_bounding
[ ] client_shape_clip
[ ] first_tag

Sorry for letting you wait so long. Is your description still valid or did something change since then?

Nothing has changed since then, should still be the same.
If you run into issues feel free to reach out on #awesome on OFTC

How can I get Lua to recognize the data as client and not as table?

I think this was already handled in the mean time, but I do not have the time to look into it right now.

psychon is correct, that has been fixed (apologies, I only glanced at the issue and forgot the original problem)


Fixes weird sizing of message bubbles. Closes #1682

Pull request checklist

[X] All tests pass. Demo project builds and runs.
[X] I have resolved any merge conflicts.
[X] I have followed the coding style, and reviewed the contributing guidelines. Confirmation: 💪😎👊

This fixes issue #1682 .
What's in this pull request?

Changed Setting label to better reflect what It does. Fixed Message bubble color for tailless images. Fixed sizing of bubbles inconsistency.

mmm Ok I will look further into why this issue is happening.

👍 cool, going to close this out for now. let's open a new PR if we find another fix

I swear even apple struggles with this one. I get my last message behind the input bar in messages. 🤗


remove appbar2

appbar2 endpoint is deprecated. We need to remove it.

This does mean we will not be able to track users in the future, as Intercom was also depending on these values. We can still send messages back & forth, there is no way to know who's who on Intercom (from docs at least)

@iannbing & @JelteMX - can/should we also remove the implementation of Intercom here, since it no longer works on the docs site?

Just saw your email @JelteMX (didn't show up here): This does mean we will not be able to track users in the future, as Intercom was also depending on these values. We can still send messages back & forth, there is no way to know who's who on Intercom (from docs at least)
@iannbing is this an issue for your team/unit as far as Intercom usage/ownership?


VERIFY_NONE is insecure, and no longer necessary

I don't get any warnings with VERIFY_PEER, so default to that since it is secure and doesn't seem to have any downsides.

Agreed


Return all repositories in user repos API endpoint for Gitea administrators

Currently there is no way for Gitea server administrator to see or access repositories in drone, only where he is directly added in organization even he can access them from Gitea web interface. This makes it very hard to administer drone with large number of repositories.

http://example.com/admin/repos shows all repos for server admin in Gitea Web interface:
https://github.com/go-gitea/gitea/blob/6a4de37f7e790716c35f1dc4a0aeacfe4b4a1415/routers/admin/repos.go#L22-L32
Should be possible to refactor that so you could then have the API return just the repos list and not the entire template

Drone uses same logic as collaboration, hence why.
This is very dangerous procedure; enabling repository via admin account will mark you as repository owner within Drone database!

Also note that Gitea is not Drone; doing this would affect all Drone instances, even those owned by user, leaking data to them by creating entry for repository name and their owner in Drone's database.

we can create a new api endpoint similar to https://try.gitea.io/api/swagger#/admin/adminGetAllUsers

GET /admin/repos

As per discussion in Discord with @CirnoT it should most probably be implemented in Drone side.
Other option could be to have this as setting (disabled by default) when Gitea is used as private instance with single gitea and drone instances.

I would never return all repos via USER Repo API but in generel it would be a good feature for an Admin api endpoint - will create a pull
and yes this has nothing to do with the main issue witch should be implemented by drone

I agree, would be nice if Drone could allow admin user to view all repos that are currently in database.

Closing this as my use-case has been covered by drone/drone-ui#334


We need to test everything on Windows

Some samples appear not to work on windows.  See #766

Notice: this issue has been closed because it has been inactive for 676 days. You may reopen this issue if it has been closed in error.


Improve preStart hook by taking unconditionally all xml modifications

What this PR does / why we need it:
In order to ensure that we forward arbitrary Domain XML modifications, don't deserialize the modified domain xml again when we receive it from the preStart hook.
Since e.g. the metadata can under some conditions change, and we
persist the whole domain xml with the change, we need to call the
prestart hook also in these scenarios.
The prestart hooks needed to be written in an idempotent way because they are executed
at-least-once. It should therefore not introduce problems with existing prestart hooks.
In the future we should not write kubevirt specific metadata. We can directly persist it in memory of virt-launcher.
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 #
Special notes for your reviewer:
Release note:
Take all modifcations to the domain xml in the preStart hook into account

@rmohr the PR and first's commit message is not complete. I see you did some changes related to migration too. Also switching from util.SetDomainSpec(l.virConn, vmi, *domainSpec) to l.setDomainSpecWithHooks(vmi, domainSpec). Could you put those in a separate commit or at least elaborate more?

@phoracek if @rmohr does not mind. Do you think you coudl take over this PR and finish it?

@phoracek @fabiand, updated the commit description. @phoracek elaborated why these changes are needed to pass all domain xml modifications from the webhook. The webhook was already called before for migrations, but I had to move it out of the function where it was part of before, so for migrations nothing changed just the code is rearranged. I hope it is clear now with the more extensive PR description.

@phoracek ping.

ci test please

In the future we should not write kubevirt specific metadata. We can directly persist it in memory of virt-launcher.

Whenever we deserialize the domain, would we then inject the in memory metadata back into the domain struct as if it was persisted by libvirtd?

Whenever we deserialize the domain, would we then inject the in memory metadata back into the domain struct as if it was persisted by libvirtd?

Yes.


Fix magic calibration

This pull request changes the extractor type from the LocalPeakWindowSum to SlidingWindowMaxSum which is used in MARS analyses, and disables the integration correction. Also, a correction factor is applied to DL1 images which is derived from the difference of the conversion factors 1.165 (= 0.0155/0.0133) between MARS and simtel.

thx for implementing it @YoshikiOhtani
for the moment we can keep it like this, but it might be needed in the next steps to apply somewhat different factors for M1 and M2

Hi @jsitarek, yes sure, so far I will recheck the energy correlation by using this factor for both M1 and M2, but let's discuss later if they need to be changed


Sceneform SceneView light

How can I reference the default light of a SceneView?

search for the Sun node ... the official documentation has details about the Sun which is your default light

I did that, i even disable it. For some reason there is still other light that's illuminating the scene.

Sceneform does not currently have a way of disabling or replacing the default light probes, or spherical harmonics which are the source of the lighting that you are seeing.
Would you add some more info on what you're trying to do that requires disabling or replacing the lighting in the scene so we can make sure to consider that as we work on future features to support more customizable lighting?
I'll mark this as a feature request to track adding the ability to customize lighting.

@tpsiaki any progress on this request?


Error with multiple vessel segments and merge_junction_simple type in venous_svc

With the merge_junction_simple type for venous_svc, the program tries to merge into a single v_in instead of getting v_in_1 and v_in_2 separately. It should use venous type (not merge type) even with multiple vessel segments.

I will create an error message for when users try to set the first venous vessel after a terminal as a merge_type. Or switch the type back to venous automatically. The reason this doesn't work is I've generalised the first venous connection so it can have as many inputs as possible from multiple terminals.
The multiple vessel junction will be generalised with Beatrice Ghitti's work.


SLOMNI-15 Bootstrap pipeline on Cirrus

FYI, I also plan to merge #10 (updating our fork with changes from upstream), but this PR has minimal changes to build a binary functionally similar to the previous one we used.


Help: Debugging currency components

Current Behavior
I am doing debugging atm and testing the js currency components. Ive compared them to the output from my go code and minus some very miniscule rounding (at like 20 decimal places), things seem to add up. I have also taken the current sc rate renterd is pulling from siacentral to compare to what the ui is doing.
See https://gist.github.com/pcfreak30/92eee34d30f7a46ca10bf9022a769b7a
I have 1 question and 1 concern:
Question:
How do I get a console.log of the sc amount at the end, because im getting 0, regardless of any number i pass to toString.
Concern:
I am seeing possible inaccuracies on how things are being computed in the UI, or im definitely making a mistake somewhere. Everything looks right broken down to byte per block, but the UI shows a bit different when thats taken back and reconstructed? There is also the fact that renterd seems to truncate the max sc storage number in hastings (in api and in the settings table json data) after a certain decimal point?
Kudos.
Expected Behavior
n/a
Steps to Reproduce
No response
Version
26cc954
What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?
Ubuntu
Autopilot Config
n/a
Bus Config
n/a
Contract Set Contracts
n/a
Anything else?
No response

//const avgSCRate = new BigNumber("0.009598540503976240011111");
const avgSCRate = new BigNumber("0.007160071032");
const maxPrice = new BigNumber(5);
let storagePrice = maxPrice.div(avgSCRate);
console.log("after rate", storagePrice.toString());
storagePrice = storagePrice.div(3);
console.log("after redundancy",storagePrice.toString());
storagePrice = storagePrice.div(TiBToBytes(1));
console.log("after tb",storagePrice.toString());
storagePrice = storagePrice.div(monthsToBlocks(1));
console.log("after blocks",storagePrice.toString());
console.log(toSiacoins(storagePrice, scDecimalPlaces).toString());

@pcfreak30 to match the UI:
const avgSCRate = new BigNumber("0.007160071032");
const maxPrice = new BigNumber(5);
let storagePrice = maxPrice.div(avgSCRate);
console.log("after rate", storagePrice.toString());

// Remove redundancy division, the UI does not include redundancy, see screenshot below.
- storagePrice = storagePrice.div(3);
- console.log("after redundancy",storagePrice.toString());

// The UI uses TB not TiB
- storagePrice = storagePrice.div(TiBToBytes(1));
+ storagePrice = storagePrice.div(TBToBytes(1));

console.log("after tb",storagePrice.toString());
storagePrice = storagePrice.div(monthsToBlocks(1));
console.log("after blocks",storagePrice.toString());

// toSiacoins converts hastings to siacoins, you are already operating on siacoins
- console.log(toSiacoins(storagePrice, scDecimalPlaces).toString());
+ console.log(storagePrice.toString());
// equals: 0.00000000000016164747559551968 SC

// If you want hastings you can do:
+ console.log(toHastings(storagePrice).toString());
// equals:<PHONE_NUMBER>96 H


[SPARK-40936][SQL][TESTS] Refactor AnalysisTest#assertAnalysisErrorClass by reusing the SparkFunSuite#checkError

What changes were proposed in this pull request?
This pr aims to refactor  AnalysisTest#assertAnalysisErrorClass method by reusing the checkError method in SparkFunSuite.
On the other hand, the signature of AnalysisTest#assertAnalysisErrorClass method is changed from
protected def assertAnalysisErrorClass(
      inputPlan: LogicalPlan,
      expectedErrorClass: String,
      expectedMessageParameters: Map[String, String],
      caseSensitive: Boolean = true,
      line: Int = -1,
      pos: Int = -1): Unit

to
protected def assertAnalysisErrorClass(
      inputPlan: LogicalPlan,
      expectedErrorClass: String,
      expectedMessageParameters: Map[String, String],
      queryContext: Array[QueryContext] = Array.empty,
      caseSensitive: Boolean = true): Unit

Then when we need to use queryContext instead of line + pos for assertion
Why are the changes needed?
assertAnalysisErrorClass and checkError does the same work.
Does this PR introduce any user-facing change?
No,  just for test
How was this patch tested?

Pass GitHub Actions

cc @MaxGekk @HyukjinKwon @dongjoon-hyun Think again, does this refactor look more simple?

assertAnalysisErrorClass

Sounds good, let me try.  Set this to draft first and will ping you when it can be reviewed @MaxGekk

@MaxGekk
Refactor assertAnalysisErrorClass method:

Reuse checkError in assertAnalysisErrorClass
Use queryContext instead of line + pos in assertAnalysisErrorClass  method  signature
Fixed related tests

Please review this  if you have time, thanks ~

Waiting for Ci.

+1, LGTM. Merging to master.
Thank you, @LuciferYang.


局部样式

How to set the default to local style
ex:[name].module.less  -->[name].less

Hi @Ljhhhhhh, the current implementation of addLessLoader is not flexible enough to support that change.
Specifically, there are two loader objects defined, one of which is for .less and the other which is for .module.less.
We would need to modify that to enable a user to decide how to handle that situation, so they could choose to only use .less for modules-enabled files, or something of that nature.
I don't have time to handle this change right now, but if you or someone else would like to pick up the issue, I'd love to help walk you through the changes needed.

Going to close this because I haven't heard back. Feel free to re-open.


EH crash in integration tests

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=288192&view=results
crash-dump-windows-x64-integration-1.zip

Merging to https://github.com/microsoft/vscode/issues/192119


CName Truncates Dashes

When attempting to run the below DNS import, it improperly truncates any CName record with a hyphen (dash, "-").

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

ID: 5e7a82c4-2bed-a8c7-6ce9-9bd895771337
Version Independent ID: 5233a0b2-fc92-efb5-8d8d-8c53d5e68109
Content: Import and export a domain zone file to Azure DNS using Azure CLI
Content Source: articles/dns/dns-import-export.md
Service: dns
GitHub Login: @vhorne
Microsoft Alias: victorh

@CAIU-RStumpf Can you give me an example of a record that was improperly truncated? I want to reproduce this behavior.

Sure.
Here are some records that I would have exported from MS DNS and then attempted to import using the script:
Name (.caiu.org): dasdmoodle
Type: CNAME
Value: apache-cluster.caiu.org
Expected: dasdmoodle.caiu.org CNAME apache-cluster.caiu.org
Result: dasdmoodle.caiu.org CNAME apache.caiu.org
--
Name (.caiu.org): alio-esp
Type: CNAME
Value: alio-app12c.caiu.org
Expected: alio-esp.caiu.org CNAME alio-app12c.caiu.org
Result: alio-esp.caiu.org CNAME alio.caiu.org
--
Name (.caiu.org): app0212-staging
Type: CNAME
Value: IIS-Cluster.caiu.org
Expected: app0212-staging.caiu.org CNAME IIS-Cluster.caiu.org
Result: app0212-staging.caiu.org CNAME IIS.caiu.org
I don't have that exact export in front of me, but hopefully this helps to explain the behavior. Let me know if you need something more specific.

@CAIU-RStumpf I was able to import dashes without an issue using this process.
Name: travtest
Type: CNAME
Value: apache-cluster.travzone.azure.
Expected: apache-cluster.travzone.azure.
Result: apache-cluster.travzone.azure.
Your best bet to go forward with this issue is to open a support request so they can look into your import in more detail. If you do not have a support plan, please let me know!

@CAIU-RStumpf We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Partial Autocomplete

In my SCSS file, autocomplete works to some extent, but the property isn't followed by a colon and space after it. Is there some way to fix this?

Nevermind, autocomplete suggestions only pop up if they appear elsewhere in the file. Otherwise, there is no autocompletion with this plugin. I see this issue is already open. https://github.com/P233/Syntax-highlighting-for-Sass/issues/93


Suggestions for additional features

I was thinking maybe we could keep running code in the python shell after the script has been run. So for example let's say I have a couple of definitions I want to work with inside the python script, and let's say that it's a nested dictionary object loaded from json text. I think I would want to be able to continue interacting with the shell to continue navigating through my own code and testing it.
For example:
The python script:
the_json = dict
The shell:
the_json[key][key][key][key][some index #][key][key]
error message or object being returned
And maybe instead of ending the shell right away, we could exit the shell through the ESC key or ctrl+w  would be nice.

Good idea. Try to use the command python -i  {file} in settings.

I'm sort of new to programming, so I'm not exactly sure what you mean. Mind pointing me in the right direction here? LOL.

python.exe  provides a option -i to let it behave as you mentioned.
So it can be simply configured in
Atom - Settings(ctrl+,) - package - atom-python-run - Settings - Command of f6,
and change the value to python -i {file}.

Is there a way to lock the commands to files with only the .py extension?

The current edition will only response to .py files.
See atom-python-run.js Line 69~72

It's possible to bind the commands to the grammar scope in the keybindings. Any chance we could have the global keymap disabled?

I see what you mean. However, it may take some time for me to do it.

This is great for small applications. As your code base grows in size and complexity, you should consider using TDD, or Test Driven Development, as you progress to automate the process of testing your code.
You can use pytest to start and migrate to using unittest as you become more comfortable with the testing approach. I recently dove head first in to unittest and its amazing. It saves so much time.
A quick google search with the query python unittest tutorial should point you in the right direction.
When you are ready to test your app by looking at edge cases through use of your app and are purposefully attempting to break things, thats when this module really shines.
As foreshadow mentioned, you can accomplish this using python -i {file}.
I'm fairly certain this may not work with the latest cp binary because it refuses to handle any arguments given to python. Although, it hasn't been made public, so I don't see this really being an issue.
If the arguments fail, then at least you'll know why.

Extension filter is added in v0.8.1.
The matter of global keymap in still under consideration.


regex_revalidate immutable rules confusing

Through traffic control we have a limited way for end users to issue revalidations.  Unfortunately the regex_revalidate plugin as-is will skip new rules with a certain regex if that rule has already been loaded.  If an end user sets a 30 day revalidation for a live linear asset manifest endpoint the reissue has no effect and we end up issuing a new equivalent regex but different regex to start new invalidations.
Based on communication with the traffic control team it may be best for the regex_revalidate plugin to be able to switch from first rule wins to last rule wins and also to "reset" the revalidation if the end time is changed.

Here is what we are experienceing:
Path: /opt/trafficserver/etc/trafficserver/regex_revalidate.config

http://my.origin.net/foo.png<PHONE_NUMBER> <-- this rule was created on 11/13 with an expiration of 11/30 (the invalidation may occur at anytime betwen 11/13 - 11/30)
http://my.origin.net/foo.png<PHONE_NUMBER> <-- this rule was created because the user needed to invalidate foo.png AGAIN...but it is blocked until 11/30 due to rule #1

Since we don't really know when the invalidation for rule #1 occurs, we leave that rule in until it expires....which basically blocks subsequent rules...

I'll change this to what we know is a mess, which is duplicated rules will be constantly reloaded.

Just ensure non duplicate rules in a file being loaded.


Question about Without TerminalAPI

Hi, I want to ask, can I make it without TerminalAPI?
because TerminalAPI creates a bug in NewTerminal.
and basically TerminalAPI created a bug for the "terminal scan command".

Hi, thanks for reaching out! You're absolutely free to modify the StockOverview mod to work without TerminalAPI. The mod is released under the MIT License, so you can adapt it as needed. Just remember to include the original copyright notice and license text in your distribution.
What is the "terminal scan command" bug you mentioned though?


BackPressed issue

Hi Folks,
when the user clicks the back button on the barcode scanning screen, the onKeyDown (in CaptureActivity) will react to it and the activity will be closed.
But the next Activity will capture the onBackPressed event, therefore it will be closed as well.
So with one back click, 2 Activity are closed.
With this modification we get the expected result:
So we handle the exit on the onBackPressed and not on the onKeyDown:
@override
public void onBackPressed() {
if (source == IntentSource.NATIVE_APP_INTENT) {
setResult(RESULT_CANCELED);
finish();
}
if ((source == IntentSource.NONE || source == IntentSource.ZXING_LINK) && lastResult != null) {
restartPreviewAfterDelay(0L);
}
super.onBackPressed();
}
@override
public boolean onKeyDown(int keyCode, KeyEvent event) {
switch (keyCode) {
/* case KeyEvent.KEYCODE_BACK:
if (source == IntentSource.NATIVE_APP_INTENT) {
setResult(RESULT_CANCELED);
finish();
return true;
}
if ((source == IntentSource.NONE || source == IntentSource.ZXING_LINK) && lastResult != null) {
restartPreviewAfterDelay(0L);
return true;
}
break;*/
case KeyEvent.KEYCODE_FOCUS:

Also possible workaround inside web application is to push history state before showing scanner.
const randomObject= {scanner: true};
window.history.pushState(randomObject, '', '/your-current-relative-url');


Add panel configuration checks

Closes #2822
Replaces previous PR #4226

Now merges without conflicts

Added checking of snippet models (not in original PR)

Also added .vscode folder to gitignore

Do the tests still pass?  Yes

Does the code comply with the style guide? (Run make lint from the Wagtail root) - Done

For Python changes: Have you added tests to cover the new/fixed behaviour? - Yes

For new features: Has the documentation been updated accordingly? - N/A documentation already exists, this reinforces the documentation with Django checks.

@mikedingjan ready for review again :) thank you

@lb- thanks! LGTM!

Thanks @mikedingjan

@mikedingjan - should I update the changelog for this one?


⚠ Bofrost.fr has degraded performance

In d89235e, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 932 ms

Resolved: Bofrost.fr performance has improved in 2d8849b after 7 minutes.


"TypeError: pino.transport is not a function" in Next.js

Hey, I'm trying to connect Pino with Baselime transport to Next.js app
I have "TypeError: pino.transport is not a function"
Implementation of the logger
const pino = require("pino");

const t = pino.transport({
  target: "@baselime/pino-transport",
  options: { baselimeApiKey: process.env.NEXT_PUBLIC_BASELIME_KEY as string },
});

export const logger = pino(t);

Next: 14.0.3
Pino 8.16.1
"@baselime/node-opentelemetry": "^0.2.13",
"@baselime/pino-transport": "^0.1.5",
"@baselime/react-rum": "^0.2.5",
"@opentelemetry/api": "1.6.0",
"@opentelemetry/auto-instrumentations-node": "^0.40.0",

Hi @lkostrowski
thanks for raising the issue, can I just confirm pino is installed in this project?

Repro I am working on https://github.com/lkostrowski/baselime-test

Hey @lkostrowski thanks for reporting this, I am taking a look and trying to get your reproduction working on my machine.

One thing to check though, this won't work well when deployed to Vercel if that is your intention. The pino-transports batch but have no idea that the serverless runtime will just exit after responding to the request
https://vercel.com/integrations/baselime This will forward the logs with no code changes.

@Ankcorn I see,
So if I use pino, you recommend to apply standard console.log stream in Vercel, so log drain can pick this up?

The pino-transports batch but have no idea that the serverless runtime will just exit after responding to the request

This part is tricky I know, if you like to achieve that, there are packages like Sentry that monkey-patches serverless responses to flush logs

Yes, Pino without a transport will work on vercel :)
It's better to write logs via the drain because that is completely asynchronous.
Interesting do you have an example where the sentry patches the response for next.js?

https://github.com/getsentry/sentry-javascript/blob/6f4edf883f639c2da00fb1eb3ac1062fce211439/packages/nextjs/src/common/wrapRouteHandlerWithSentry.ts

I think this webpack plugin would resolve your issue https://www.npmjs.com/package/pino-webpack-plugin

I think this webpack plugin would resolve your issue npmjs.com/package/pino-webpack-plugin

Thanks, I will check this out. I think you can mention this in docs too


Create a voting strategy using Worldcoin attestation

The voting strategy would give 1 as voting power for each verified person on Worldcoin.

Are there any docs or some discord server? Really hard to find out anything about this project.

Docs: https://id.worldcoin.org/docs/js
Discord: https://discord.gg/worldcoin

Hey @bonustrack, I know some devs who'd be interested in working on this. Is there a budget for fixing this issue, and if so, how much?
I'd put this issue up on OpenQ.
Thanks!

@ef3n9r98 We can pay $400 for this bounty

@bonustrack awesome! I'll put it up.

@bonustrack awesome! Thanks for letting me know - I've now minted it on OpenQ.


refactor: use JerseyJsonLdInterceptor in DSP controllers

What this PR changes/adds
use JerseyJsonLdInterceptor in DSP controllers
Why it does that
refactoring
Further notes

refactored the DSP error response creation as well.

Linked Issue(s)
Closes #3156
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Patch coverage: 1.20% and project coverage change: -4.59 :warning:

Comparison is base (9a8722a) 65.22% compared to head (62b05bf) 60.64%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3161      +/-   ##
==========================================
- Coverage   65.22%   60.64%   -4.59%
==========================================
  Files         832      833       +1
  Lines       16747    16741       -6
  Branches      924      922       -2
==========================================
- Hits        10924    10153     -771
- Misses       5448     6234     +786
+ Partials      375      354      -21

Impacted Files
Coverage Δ

...junit/extensions/DependencyInjectionExtension.java
0.00% <0.00%> (ø)

.../dsp/api/configuration/error/DspErrorResponse.java
0.00% <0.00%> (ø)

...otocol/dsp/catalog/api/DspCatalogApiExtension.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...atalog/api/controller/DspCatalogApiController.java
0.00% <0.00%> (-79.63%)
:arrow_down:

...ispatcher/delegate/CatalogRequestHttpDelegate.java
81.81% <ø> (ø)

...sp/negotiation/api/DspNegotiationApiExtension.java
0.00% <0.00%> (ø)

...on/api/controller/DspNegotiationApiController.java
0.00% <0.00%> (-93.75%)
:arrow_down:

...ferprocess/api/DspTransferProcessApiExtension.java
0.00% <0.00%> (ø)

...pi/controller/DspTransferProcessApiController.java
0.00% <0.00%> (-93.26%)
:arrow_down:

...pi/configuration/DspApiConfigurationExtension.java
94.11% <100.00%> (+0.36%)
:arrow_up:

... and 27 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Extensions AWS and AZURE are empty/leading to 404 error.


TypeError: Cannot convert undefined or null to object

I'm using the transform-runtime plugin for my library, and I get an error like this:
[nix-shell:~/Projects/js-virtualfs]$ npm run rollup

><EMAIL_ADDRESS>rollup /home/cmcdragonkai/Projects/js-virtualfs
> rollup --config

🚨   'default' is not exported by node_modules/babel-runtime/core-js/set-immediate.js
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
lib/VirtualFS.js (4:7)
2: import _Set from 'babel-runtime/core-js/set';
3: import _extends from 'babel-runtime/helpers/extends';
4: import _setImmediate from 'babel-runtime/core-js/set-immediate';
          ^
5: /** @module VirtualFS */

I have babel-runtime in my package.json dependencies.
It does work if I remove resolve or use:
      resolve({
        modulesOnly: true
      }),

I'm confused where to report this error, is this from rollup, is it from babel, is it from core-js?
I'm not using the commonjs plugin here so the wiki link doesn't lead me anywhere.

This has some relationship to: https://github.com/rollup/rollup-plugin-babel/issues/13
In there, the solution was to use the npm plugin which is no the resolve plugin. But here this error occurs when I add in the resolve plugin, it seems maybe the set immediate module in core-js is not standardised.

With this configuration:
import fs from 'fs';
import babel from 'rollup-plugin-babel';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';

const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8'));

export default [
  {
    input: 'lib/VirtualFS.js',
    output: {
      file: 'dist/VirtualFS.js',
      format: 'cjs'
    },
    external: Object.keys(packageJson.dependencies),
    plugins: [
      babel({
        babelrc: false,
        // exclude: 'node_modules/**',
        runtimeHelpers: true,
        plugins: ['transform-object-rest-spread', 'transform-runtime'],
        presets: [
          'flow',
          ['env', {
            modules: false,
            targets: {
              node: '6.0.0'
            }
          }]
        ]
      }),
      resolve({
        preferBuiltins: true
      }),
      commonjs()
    ]
  }
];

I get this error:
[!] TypeError: Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
    at Function.from (native)
    at Identifier.hasEffectsWhenMutated (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/rollup/dist/rollup.js:6885:10)
    at MemberExpression.hasEffectsWhenAssigned (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/rollup/dist/rollup.js:7148:22)
    at AssignmentExpression.hasEffects (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/rollup/dist/rollup.js:5979:51)
    at included.someChild.child (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/rollup/dist/rollup.js:5699:58)
    at keys.some.key (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/rollup/dist/rollup.js:5786:11)
    at Array.some (native)
    at ExpressionStatement.someChild (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/rollup/dist/rollup.js:5779:20)
    at ExpressionStatement.hasEffects (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/rollup/dist/rollup.js:5699:32)
    at ExpressionStatement.shouldBeIncluded (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/rollup/dist/rollup.js:5775:15)

This is now fixed with the latest rollup version 0.51.3.


v0.5 roadmap

Documentation

[x] Update serializer docs and de-emphasize legacy serializers

Deprecations

[ ] search_fields will only accept a list

Search fields continues to support the old thing for now but it's not documented, can remove in a later minor release.


Missing error handling of failed MQTT subscribes

Describe the Bug
The callback on the mqttClient.subscribe() call receives an argument granted. This array must be checked for each topic's qos value, because this might be value 128 saying that this topic subscribe has failed (Reference: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718071  SUBACK packet payload format, “Allowed return code: 0x80 Failure”). This must be checked for explicitly, but currently isn’t done.
Steps To Reproduce
Steps to reproduce the behavior:

Set up a broker that does topic-specific permission checks
Set up a username/password to be used for the vrpc client that is allowed to log into the broker, but does not have topic permission on the topics needed for vrpc
Run the vrpc agent and/or client. Observe that it doesn't print any error. Upon trying to access any of the VrpcAgent's classes, one just gets the infamous Function call "...()" timed out (> 6000 ms)

Expected Behavior
If the MQTT subscription fails, there must be a clear error event from the VrpcAgent and VrpcClient objects so that the application code can decide what to do, such as restarting the whole Vrpc connection or such.

Thank you @cstim !
I am fine with the suggested behavior and the code-content of the PR! Before merging, please see my minor comment there.


Docker container runs into error

When I run the docker Container as described, I get a 'FATAL: could not open shared Memory Segment "/PostgreSQL.1804289383": Permission denied' error, which forces the container top stop. Because I am not able to start and exec a bash to fix that locally, the only way to get that running would be to define my own dockerfile-layer on top of it and fix that error as described in http://www.sysadminguide.net/postgres-9-4-failed-to-start-in-container-how-to-fix/
Would be great, if it works out-of-the-box

Hi @pinkerltm, did you try running with a shared memory volume? e.g.,
docker run -v /dev/shm:/dev/shm pipelinedb/pipelinedb:0.9.7

Hi @derekjn ... that may be the problem. I used docker because it's the only way to install a development server on my windows box. I'm using docker for windows and mapped /dev/shm to a simple volume I've created with '''docker volume create...''' on my docker machine host. This volume might not behave exactly like a shared memory

@pinkerltm got it. Can you let us know where you end up with this? We're happy to take a deeper look if there's a problem somewhere.


Eliminate warnings

One false buffer size warning from cppcheck
Unused const-s spotted by gcc7
Unused increment result spotted by clang4

this is about half-way with warnings x86_64 only, there are still _16 kernels todo and all arch-specific left out and I will try at least popular cross targets, one a weekend.


fireCustomEvent method called from the next,prev,zoomIn,zoomout,rotate functions

fireCustomEvent method called from the next,prev,zoomIn,zoomout,rotate functions

please lint (check indents) and squash the commits.