doc: Naming Conventions [RFC]

Add naming conventions for functions and variables.
This is mostly based on
 https://barrgroup.com/embedded-systems/books/embedded-c-coding-standard/procedure-rules

and a few other sources, so most of this is based on common conventions used across many projects and the industry.
The idea is to work through that and add more rules and adapt some of the listed rules to Zephyr if not completely applicable.

At a meta level: IANAL, but this is pretty nearly verbatim from sections 6 and 7 of the referenced source, but this is not acknowledged in the text.  The document license is pretty clear it needs to be.

If you fail to include these required copyright markings and notations, you agree that such copies are unauthorized copies of the copyright material and that these unauthorized copies infringe Barr Group’s copyright of the Document.

At a meta level: IANAL, but this is pretty nearly verbatim from sections 6 and 7 of the referenced source, but this is not acknowledged in the text.  The document license is pretty clear it needs to be.

If you fail to include these required copyright markings and notations, you agree that such copies are unauthorized copies of the copyright material and that these unauthorized copies infringe Barr Group’s copyright of the Document.

t a meta level: IANAL, but this is pretty nearly verbatim from sections 6 and 7 of the referenced source, but this is not acknowledged in the text. The document license is pretty clear it needs to be.

yes, I am aware of that, the final version will have to be out own wording, this source was used just for inspiration.

t a meta level: IANAL, but this is pretty nearly verbatim from sections 6 and 7 of the referenced source, but this is not acknowledged in the text. The document license is pretty clear it needs to be.

yes, I am aware of that, the final version will have to be out own wording, this source was used just for inspiration.

t a meta level: IANAL, but this is pretty nearly verbatim from sections 6 and 7 of the referenced source, but this is not acknowledged in the text. The document license is pretty clear it needs to be.

yes, I am aware of that, the final version will have to be out own wording, this source was used just for inspiration.

In order to make sure that none of the wording slips in unwittingly, maybe we should add a "Imported from the Barr Group's coding guidelines" for the time being, that we can remove once we make sure that none of the original text is in the PR anymore.

@nashif @carlescufi
Any hope of progress on this?
We are trying to unify the API for le-audio, so a conclusion on function naming would be very helpful.
I think there are three parts to a name (feel free to disagree with my terms for these):

the "module", which I would say typically is the name of the (header?) file where the function is declared.  Examples: "bt_gatt", "bt_mcc" (blueooth media control client), "bt_ots", "shell", "net"
the "noun" - the  that something is done to.
the "action" - whatever is done.

(A thing to clarify regarding the "action" is whether this can also contain more than a verb, e.g. the "write_byte" that has been mentioned, or the "write_without_response" from GATT.)
I will assume that there is consensus that the "module" shall come first.  But what is the order of the two next ones?  Do we do
<module>_<noun>_<action>, or do we do <modules>_<action>_<noun>?
An example from the module where I am considering renaming functions:
This is a function in the bluetooth media control client, to read the playing order. Do I do
bt_mcc_read_playing_order(), or bt_mcc_playing_order_read()?
I have a preference for the last one, because i feel it groups better.  The "module" is the most significatn part, the "noun" the second most significant, and the "action" the least significant.
In a sorted list, I prefer all functions that deal with the playing order to be grouped together, rather than all "read" functions being grouped together.
(I have an even stronger preference for consistency, so if the other solution is chosen and used, I am happy with that as well.)

@asbjornsabo in the pinctrl API we are going with <module>_<action>_<noun>:
https://github.com/zephyrproject-rtos/zephyr/pull/37572#issuecomment-929368812

@nashif Any plan on reopening this again, or does it stay closed now?

I'm adding yet another naming convention issue.  I believe we need naming convention for Zephyr modules.

Is it OK to use first-come-first-served?
Or would it be better to use Java or GNOME like com.example.mymodule? (this becomes COM_EXAMPLE_MYMODULE.)

Or, let user resolve issues if they have?


Basic mat-icon not showing in UCBrowser v11.5

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Basic mat-icon not showing in UCBrowser v11.5
What is the current behavior?
Basic mat-icon should be showing in UCBrowser v11.5 just like SVG mat-icon
What are the steps to reproduce?
Install UCBrowser v11.5 in your mobile device and visit https://material.angular.io/components/icon/overview
What is the use-case or motivation for changing an existing behavior?
Angular seems to be supporting this browser I don't think why mat-icon shouldn't.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 5.1.1
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router
@angular/cdk: 5.0.1
@angular/cli: 1.6.1
@angular/flex-layout: 2.0.0-beta.10-4905443
@angular/material: 5.0.1
@angular-devkit/build-optimizer: 0.0.36
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.42
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.1
@schematics/angular: 0.1.11
@schematics/schematics: 0.0.11
typescript: 2.4.2
webpack: 3.10.0
Is there anything else we should know?
None

I can see the issue on Android platform.

@iamkdev is right. I'm not sure on Windows and iOS.

It seems some issue with service worker. It's an issue of UC or https://material.angular.io I don't know.
By the way https://vmware.github.io/clarity/ and https://ng-bootstrap.github.io loads without error. I didn't check each component. Also I will not able to do more as the dev uc browser is in Chinese.


network stop sending power after a while

i'm using version 1.12.2-3.0.19-21 on enigmatica 2 expert skyblock 1.27a. i'm on ssp and the flux network will stop sending power after a while. i've tried deleting all the networks, resetting the flux points and plugs, remaking new ones.
i only have 4 point and 2 plugs; 1 plug for my nuclearcraft fusion reactor and 1 for my draconic orb. 1 point for the nuclearcraft fusion reactor, 1 for my AE2 system, 1 for my crafting machines and 1 for my draconic orb.
all have the same priority of 0, all the chunks are loaded using ftbutilities

i have the same issue and sometimes i can fix it by restarting my server, but this is not a good solution

also using 1.12.2-3.0.19-21 on skyfactory 4 single player and this issue happens on occasion when using nuclearcraft fusion reactor from the sky cities dimension. it will work just fine until i place another point and it seems to "fall over" and the reactor cannot add power to the network. some times going to the dimension fixes it sometimes i must re-set the network.
this problem was not an issue when using other generators and seems to only happen when pulling power from nuclearcraft.
Hope that may shed some light as to where the issue is.

Currently experiencing the same (or similar issue) in SkyFactory 4 using flux networks 1.12.2-3.0.19-21
I have a Mekanism Induction Matrix set up in a Compact Machine. I have one 'generators' network that takes energy from all of my various generators and feeds it into my Induction Matrix's input side. The output feeds into another network that powers machines around my base. On occasion the output will simply stop sending power at all.
Now, on this output side I've connected a Cryo-stabilized flux duct and the Flux Plug for the main network is attached to that. It does not receive any power. A secondary network plug is also connected to the flux-duct. It is getting power. In fact it's pulling about 14k without issue. But my main network isn't getting anything. Bear in mind that the current output capacity of the induction matrix is in the millions of RF, so the main Flux network absolutely should be getting power too.
This does appear to happen when I change dimensions. So if I pop into the compact machine to check on things, then pop out... there's a good chance things break when I leave.

Same exact issue in Sky Adventures. Also Wireless charging is still broke.
Flux Networks version 1.12.2-3.0.19-21
262

Same exact issue in StoneBlock 2.
Flux Networks version 1.12.2-3.0.19-21

Same exact issue in StoneBlock 2.
Flux Networks version 1.12.2-3.0.19-21

Test it with 4.0.7, and backup your world first

Workings good so far BloCamLimb. Still need to test further.


兌換完面試後，沒有顯示在已兌換的面試列表（應該是快取問題）

Sorry, can't read that. 🙁 Do you have a way to provide an English translation?

Sorry, can't read that. 🙁 Do you have a way to provide an English translation?

@loilo I'm sorry, this issue from other repository, I post this issue to wrong place.


Failing to start service

I've updated my Arch system a few days ago and if I remember correctly the hostapd service was updated.
After this when I try to start the service, it fails with the following error messages:
Aug 10 10:06:18 VivoBook dnsmasq[1610]: cleared cache
Aug 10 10:06:18 VivoBook bash[1546]: hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlp2s0.conf.uu...d_ctrl
Aug 10 10:06:18 VivoBook bash[1546]: Configuration file: /tmp/create_ap.wlp2s0.conf.uuIUe9iH/hostapd.conf
Aug 10 10:06:18 VivoBook bash[1546]: nl80211: Could not configure driver mode
Aug 10 10:06:18 VivoBook bash[1546]: nl80211 driver initialization failed.
Aug 10 10:06:18 VivoBook bash[1546]: hostapd_free_hapd_data: Interface wlp2s0ap wasn't started
Aug 10 10:06:18 VivoBook bash[1546]: ERROR: Failed to run hostapd, maybe a program is interfering.
Aug 10 10:06:18 VivoBook bash[1546]: Doing cleanup...
Aug 10 10:06:20 VivoBook systemd[1]: create_ap.service: main process exited, code

If I try to start the service multiple times it can manage to start properly. I figure it must be a bug with the hostapd package. However I don't know how to get a complete log of the service, so I can't know what is happening.

nano -w hs.sh
#!/bin/bash
nmcli r wifi off
rfkill unblock wlan
killall -9 wpa_supplicant
screen -d -m -S  ap create_ap -w 2 -c 9 wlan0 eth0 Illuminati confirmed1337!
ctrl+x
chmod +x hs.sh
./hs.sh
That should do it, seems wpa_supplicant and others, refuse to work with a GUI/DE based machine. I strongly suggest avoiding using any distros that come with network-manager


Adjust Red 5

Compared to variant 5 of the other colours, Red 5 looks a bit washed out. I've used Red 6 for now, as it compliments the other variants 5's better at the moment.

I agree. I'll reflect on version 2 that I'm working on right now.


Unable to see non-menu UI elements on load

Chrome Linux 74.0.3729.108 (Official Build) (64-bit)
Repro steps:
Navigate to https://gravitongame.netlify.com/
Expected:
A button to start the game.
Actual:
Background colour fades to light grey making it impossible to see the non-menu UI elements.

Images are not disabled in my browser.
Same thing happens in Firefox 60.6.

Looks like a  element is being animated from opacity: 0% to opacity: initial and that's hiding everything.

I don't repro this on Chrome dev Android.

wow this is the first time we've seen it happen. Thanks for the report will take a look tomorrow !

@surma was this fixed in #339?

Yes! Thanks for flagging.


latest_testflight_buildnumber " You have to specify a new version number error"

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I have read the Contribution Guidelines

I am getting an error while trying to fetch the latest TestFlight build number, its always asking for you have to specify new version number
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[Login to iTunes Connect<EMAIL_ADDRESS>[15:45:59]: Login successful
[15:45:59]: You have to specify a new version number]
if I specify the version number as 5.5.0 ,it is returning the incremented build number as 2 but the latest build number for version 5.5.0 is '54'
Environment
Stack

Key
Value

OS
10.12.4

Ruby
2.4.1

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.4 (16E195)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.38.0
🚫 Update available

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.2.1

terminal-table
1.8.0

plist
3.3.0

CFPropertyList
2.3.5

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.12.0

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.1

faraday_middleware
<IP_ADDRESS>

json
2.1.0

io-console
0.4.6

excon
0.57.0

openssl
2.0.3

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.0

I think you have to specify the version if you have multiple versions already published. I had the same error message, so I just provided the current version of my app to latest_testflight_build_number like the example below:
    version = get_version_number
    latestBuildNumber = latest_testflight_build_number(version: version)
    increment_build_number(
      build_number: latestBuildNumber + 1
    )

    gym

    testflight(skip_waiting_for_build_processing: true)

The latest_testflight_build_number doesn't return the right build number:-Fetching the latest build number for version
[09:46:56]: Latest upload is build number: 1
if I specify the version number as 5.5.0 ,it is returning the incremented build number as 2 but the latest build number for version 5.5.0 is '54'

Also how can I mention workspace instead of project in the increment_build_number step

For some reason latest_testflight_build_number() always returns 1. Looks like it's iTunesConnect bug

latest_testflight_build_number returns 1 too (((

This has started happening to me:
[15:11:40]: --------------------------------------------
[15:11:40]: --- Step: latest_testflight_build_number ---
[15:11:40]: --------------------------------------------
[15:11:40]: Login to iTunes Connect<EMAIL_ADDRESS>[15:11:42]: Login successful
[15:11:55]: You have to specify a new version number

This is my script:
  build_number = latest_testflight_build_number(
      app_identifier: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
  ) + 1

  increment_build_number({
    xcodeproj: 'ios/project.xcodeproj',
    build_number: build_number
  })

Okay I answered my own question, this fixed it for me, and it's objectively better:
  project = 'ios/project.xcodeproj'

  build_number = latest_testflight_build_number(
      app_identifier: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
      version: get_version_number(xcodeproj: project)
  ) + 1

  increment_build_number({
    xcodeproj: project,
    build_number: build_number
  })

Actually never mind, that finds the build to be 1? (This has been working perfectly for months until today)
[15:27:08]: --------------------------------
[15:27:08]: --- Step: get_version_number ---
[15:27:08]: --------------------------------
[15:27:08]: $ cd ~/dev/xxx/ios && agvtool what-marketing-version -terse
......
[15:27:09]: --------------------------------------------
[15:27:09]: --- Step: latest_testflight_build_number ---
[15:27:09]: --------------------------------------------
[15:27:09]: Login to iTunes Connect<EMAIL_ADDRESS>[15:27:12]: Login successful
[15:27:12]: Fetching the latest build number for version 1.0 (<-- This is the correct version)
[15:27:26]: Latest upload is build number: 1 (<-- This is wrong!)
[15:27:26]: ------------------------------------
[15:27:26]: --- Step: increment_build_number ---
[15:27:26]: ------------------------------------
Current version of project XXX is:
    1

I can confirm that this is a bug

Hey everyone, I was just about to look into this, and it seems like the issue is resolved now, even when not providing the version. Could you test it again, and let me know if it's resolved?

Confirmed, it's working again!

Awesome 👍

I'm still seeing this issue, using fastlane 2.56.0.
It looks like everything returns 1, even for versions that don't exist.
This should return 11:
[15:35:23]: Login successful [15:35:24]: Fetching the latest build number for version 6.34 [15:35:30]: Latest upload is build number: 1
This should return an error possibly?
[15:35:46]: Login successful [15:35:47]: Fetching the latest build number for version asdasidki [15:35:52]: Latest upload is build number: 1
Using the command like so: current = latest_testflight_build_number(username: "...", app_identifier: "...", version: "6.34")

Confirm. The issue still happening to me as well using 2.56.0.

I'm using the 2.59.0 version and happening with me too.

Same issue here. Running macOS 10.13 and version 2.59.0

Also having this issue in 2.61 in High Sierra.

I am having this issue with version 2.62.1 .

Hey folks! Could you share the output from your command line so we can have some more context? Also, running things with --verbose would be helpful! 🚀

Hey @ohayon as you ask, follow the output
This is my lane:
lane :currentBuild do
      build = latest_testflight_build_number(version: "5.3.1", live: false, app_identifier: "br.com.xxxxxx")
      puts "########"
      puts build
      puts "########"
end

And this is the output:
INFO [2017-11-01 10:01:40.73]: --------------------------------------------
INFO [2017-11-01 10:01:40.73]: --- Step: latest_testflight_build_number ---
INFO [2017-11-01 10:01:40.73]: --------------------------------------------
INFO [2017-11-01 10:01:40.74]: Login to iTunes Connect<EMAIL_ADDRESS>Looking for iTunes Connect Team with ID XXXXXXX
INFO [2017-11-01 10:01:45.52]: Login successful
INFO [2017-11-01 10:01:46.40]: Fetching the latest build number for version 5.3.1
INFO [2017-11-01 10:01:48.18]: Latest upload is build number: 1
INFO [2017-11-01 10:01:48.22]: ########
INFO [2017-11-01 10:01:48.27]: 1
INFO [2017-11-01 10:01:48.32]: ########
INFO [2017-11-01 10:01:48.32]: Successfully generated documentation at path '/Users/marceloreis/Mobile/Xxxxxx/Novissimo/fastlane/README.md'

+------+------------------------+-------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | Verifying required     | 0           |
|      | fastlane version       |             |
| 2    | default_platform       | 0           |
| 3    | xcode_select           | 0           |
| 4    | xcversion              | 1           |
| 5    | latest_testflight_bui  | 7           |
|      | ld_number              |             |
+------+------------------------+-------------+

How can you see, the function returns build 1, but my last build from version 5.3.1 is 17, not 1

Hey @marcelofabri - thanks for sending this output its definitely helpful. I ran this lane with my own bundle ID and version number and the build number came back as expected. What is the current state of your app in TestFlight? Mine is in "Prepare For Submission"

@ohayon as for me, when I try to fetch a build number for the version which isn't released - it works as expected.
The issue reproduces for me only for the versions which are already released to the store, it always returns build number equals to 1 for such versions.

Could this be because live: false is a parameter in the call to the latest_testflight_build_number action? When I pass true to that parameter, it works as expected for my live version.

I didn't set the live parameter at all :/
Now when I pass true  everything works as expected, thanks @ohayon!

No problem! Glad you're back up and running!

Hi @ohayon, the problem is be cause I need fetch the build from my app in development. When I put true works like a charm, but when put false (that is my case) don't works.


Intermittent failure to change pipeline state

I'm using a DMM 37UX250-ML camera board with a Raspberry Pi 4. Usually, it has no issues starting the pipeline, but after a repeated number of times of changing states (Playing to Paused to Ready and back again) I get the following error:
tcambin name=source ! capsfilter name=caps !  appsink name=sink
video/x-raw,format=GRAY8,width=1216,height=1024,binning=2x2,framerate=60/1
Error starting pipeline. (<enum GST_STATE_CHANGE_ASYNC of type Gst.StateChangeReturn>, state=<enum GST_STATE_PAUSED of type Gst.State>, pending=<enum GST_STATE_PLAYING of type Gst.State>)

I never have any errors going from Ready to Paused. What could be causing it to hang?
I'm trying to catch the behavior in a log file, but I think I didn't have the debug level set high enough. I'll update with that when I get it.

Hello
Can you please let me know the tcambin version? Run tcam-ctrl -l
Also can you please post a minimal reproducible sample script? Even if I have an idea about what you are doing?
Thank you in advance!
Stefan

Sure!
tcambin version:
Versions:
        Tcam:   1.1.1_master/ee45fcf7_rev_4142
        Aravis: 0.8_version_e977fa4
        Modules:        gst_aravis_arvu3v_v4l2_libusb_tools_doc_tests

I am not using aravis.
Camera initialization:
# initialize callback function and TIS
IC = ImageCallback(False, None)
Tis = TIS()

# Set callback function and open device.
Tis.set_image_callback(on_new_image, self.IC)

# select camera
Tis.open_device(serial_number, height, width, framerate, SinkFormats.GRAY8, binning=binning, showvideo=False)

# Start Pipeline
Tis.set_property("TriggerMode", "Off")
IC.busy = True
Tis.start_pipeline()

# Set Properties
Tis.set_property("TriggerMode", "On")
# and set whatever other properties here

time.sleep(0.1)
IC.busy = False

I slightly modified the Gst caps function to enable binning:
caps = Gst.Caps.from_string('video/x-raw,format=%s,width=%d,height=%d,binning=2x2,framerate=%s' % (self.sinkformat.value, self.width, self.height, self.framerate))

When I take an picture right now I'm simply using software triggers:
Tis.execute_command("TriggerSoftware")

And then for starting and stopping the camera I go from Ready => Paused => Playing then Playing => Paused => Ready.
def start_pipeline(self):
    """
    Start the pipeline, so the video runs
    """
    self._setcaps()
    if self.pipeline.get_state(5000000000)[1] != Gst.State.READY:
        self.pipeline.set_state(Gst.State.READY)
    self.pipeline.set_state(Gst.State.PAUSED)
    self.pipeline.set_state(Gst.State.PLAYING)
    error = self.pipeline.get_state(5000000000)
    if error[1] != Gst.State.PLAYING:
        print("Error starting pipeline. {0}".format(error))
        return False
    return True

def stop_pipeline(self):
    self.pipeline.set_state(Gst.State.PAUSED)
    self.pipeline.set_state(Gst.State.READY)

So in total my main loop is like:
# start camera
cam = Camera(serial_number = "12345",
             height = 1216,
             width = 1024,
             framerate = "60/1",
             binning = True)

# take pictures
foo()

# on exit
Tis.stop_pipeline()

The hang up happens both when stopping and starting the camera in the main code or when running the program multiple times. Right now I have eliminated starting and stopping the camera in the same program to try to isolate the error.

Hello teawizardry,
i tried to reproduce your issue but it is working on my machine.
But for some code optimization you can skip the step of state paused. Because if you set from playing to ready it will walk also through paused.
As you mentioned before "I'm trying to catch the behavior in a log file, but I think I didn't have the debug level set high enough. I'll update with that when I get it."
for logging you should use GST_DEBUG=:3,tcam:5
If you could let us know what the logging says we appreciate it.
Thank you in advance!
Kevin

Additionally i like to add something to my last message.
Because i saw you are working on PI with a usb camera. Is the camera connected directly to the Pi or is it connected to a powered usb hub?
In case of the direct connection there may be some issues with the power supply for the camera. That could cause the problem you occure.

It is connected directly to the Pi. Is there a way to see if power supply issues are the problem? And if so, how much power does it need?

Hello teawizardry,
well there can be issues caused by the power supply to the Pi but typically are power saving mechanisms.
You may check this Website which provides already many informations about power supply problems with a Pi:
https://pimylifeup.com/raspberry-pi-low-voltage-warning/
However, as i can see you are using tiscamera 1.1 and the udev rules should disable the power saving mechanisms for our cameras.
To be on the sure site i suggest to connect the camera to a powered usb hub and check if the camera works fine then.
How is it about your logging results?
Is there any output you may provide to us?
Best Regards
Kevin

Hello

And then for starting and stopping the camera I go from Ready => Paused => Playing then Playing => Paused => Ready.

Going into pause state explicitly is not necessary in this situation, therefore, you may remove that from your code.
If the camera is in trigger mode, it can happen, that starting the pipeline fails, because all modules may need a frame to prepare themself. Thus a state change to playing is never achieved. I suggest to disable trigger mode, start the stream and if the stream is in state playing, enable the trigger mode.  Same goes for stopping the stream. Disable the trigger mode, then stop the stream.  I see, you did that for starting the stream already.
I do not think, it is a power issue. If so, you saw a four color icon in the upper right corner on the screen.
Stefan

I will try that and see if it fixes the issue. I'm unsure why but the gst log is not actually logging anything.

Did you run
export GST_DEBUG=:3,tcam:5
before starting your script? In the same terminal?
Stefan


About the signal handler in t.Safe()

I want to send an http request when my cli program exits unexpectedly, but it is found that the signal handler cannot be  executed correctly after using t.Safe()，So I made a demo：
package main

import (
	"fmt"
	"io"
	"os"
	"os/exec"
	"os/signal"
	"syscall"
	"time"

	"k8s.io/kubernetes/pkg/kubectl/util/term"
)

func setupTTY() term.TTY {
	var out io.Writer
	var in io.Reader
	t := term.TTY{
		Out: out,
	}
	t.In = in
	t.Raw = true
	stdin := os.Stdin
	stdout := os.Stdout
	in = stdin
	t.In = stdin
	if out != nil {
		out = stdout
		t.Out = stdout
	}
	return t
}

func main() {
	c := make(chan os.Signal)
	signal.Notify(c, syscall.SIGHUP)
	go func() {
		<-c
		cmd := exec.Command("curl", "http://<IP_ADDRESS>:9898")
		cmd.Run()
		os.Exit(0)
	}()

	t := setupTTY()
	fn := func() error {
		fmt.Println("process start...")
		sum := 0
		for {
			sum++
			fmt.Println("sum:", sum)
			time.Sleep(time.Second)
		}
		return nil //for return only
	}

	t.Safe(fn)
}

after run, I will execute nc -lvvp 9898 locally and send SIGHUP(kill -1 PID), but i did not receive this request
So how can I handle the signal correctly?

It doesn't look like this question is related to kubectl, but rather to signal handling in go.
/close

It doesn't look like this question is related to kubectl, but rather to signal handling in go.
/close

No, later investigation found that the problem was in this place
pkg/util/interrupt/interrupt.go
Will handle these signals by default

No, later investigation found that the problem was in this place
pkg/util/interrupt/interrupt.go
Will handle these signals by default


[UX-Improvement] Getting "User is typing" even when they aren't

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

Action Performed:

Login to New Expensify in two devices with different accounts
Open chat room for both of them

Use one of the account

Type your message
Press enter
It'll show *User* is typing for the second account

Expected Result:
Shouldn't show *User* is typing again
Actual Result:
https://user-images.githubusercontent.com/28243942/127275411-729801cc-7986-468f-acda-0e71cd6f6c4f.mp4
Workaround:
Visual Issue
Platform:
Where is this issue occurring?

[x] Web
[x] iOS
[x] Android
[x] Desktop App
[x] Mobile Web

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @flaviadefaria (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Proposal
Explaination

It's happening because when we submit we update the comment here to clear the message
https://github.com/Expensify/App/blob/d35ab90a400585b1984c310b98a72ca483b3861f/src/pages/home/report/ReportActionCompose.js#L419

And because of that we're firing debouncedBroadcastUserIsTyping here. Which ultimately results in unnecessary *User* is typing status
https://github.com/Expensify/App/blob/d35ab90a400585b1984c310b98a72ca483b3861f/src/pages/home/report/ReportActionCompose.js#L310

Solution

We can fix this by calling the debouncedBroadcastUserIsTyping function only when comment is not empty

      if (newComment) {
            this.debouncedBroadcastUserIsTyping();
        }

Seems less of a priority, but makes sense to fix this.

Triggered auto assignment to @chiragsalian (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Putting on hold for week-ish while we focus on internal priorities.

Triggered auto assignment to @francoisl (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Taking off hold.
Agree with @flaviadefaria Seems less of a priority, but makes sense to fix this. (if we can)
@francoisl what do you think?

Yep I agree too, it's not broken to the point of preventing you from using the app, but it makes sense to fix.

Triggered auto assignment to @tgolen (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@tgolen , I know you're swamped now, no rush on this, it's currently a `weekly', please review @aman-atg 's proposal when ya can. https://github.com/Expensify/App/issues/4267#issuecomment-888058630

The proposal looks good to me. 🟢 👍

d'oh, forgot to paste the Upwork link before.  @aman-atg can you apply here plz and drop a comment in this issue once you have? https://www.upwork.com/jobs/~01fecedda11d93aa95

Submitted the proposal on Upwork.

How accurate do we need to be? This is a chat app not an MMORPG :trollface:

Haha, haven't seen this of behaviour on any other chat app though.

Haha, haven't seen this type of behaviour on any other chat app though.

Do you often chat with yourself when using these other chat apps? To be clear, I don't mind fixing this, but seems unlikely anyone would notice unless they were searching for flaws. I just wonder how many real users would notice or care.

@tgolen, @mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

Hired @aman-atg in Upwork and assigned. Heads ups, we're prioritizing some internal work this week so Tim might not be available for a review til next week.

Paid @aman-atg in Upwork with the bonus for reporting the issue. Closing cuz the PR looks like it was deployed to production


Code review

{Meta issue} for a code review to tag a few people with. Would be great to suggestion

any code improvements?
point out if any code is not clear?
some 'nice to haves' that would make things better

If you prefer I can make a PR for you to add notes, up to you
@aspasia
@samizdis
@liamreeves
Already notes issues:

#1
#2
#5
#6
(future work) #3

Just added this PR #7 so its easier to comment


Add undirected version of Paths Between query

As it's explained in the related paper, Paths Between query can be simplified for undirected search, so let's add that version as well. As a result, we'll have DIRECTED and UNDIRECTED versions of the Paths Between query like in Paths From To query.

We separated the issue about purifying / pruning incorrect paths. This simply addresses an undirected version for the query. Please check and close if OK.


Update UserGuide

Codecov Report
Base: 58.94% // Head: 58.94% // No change to project coverage :thumbsup:

Coverage data is based on head (215b0eb) compared to base (3af535c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #108   +/-   ##
=========================================
  Coverage     58.94%   58.94%
  Complexity      616      616
=========================================
  Files           129      129
  Lines          2414     2414
  Branches        292      292
=========================================
  Hits           1423     1423
  Misses          892      892
  Partials         99       99

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


can we export annotated image as jpeg or png

i want to store the annotated image in the database, so for that we need as a jpeg as output

Would be a very useful function. Just what I need as well.

i want to store the annotated image in the database, so for that we need as a jpeg as output

have you done it yet?

Any idea how to do it?


The import CcoDashboardAzureConnector.Management matches no exports. Did you miss a module reference?

Describe the bug
Hello
To start off, I tried the suggestions in these previous;y submitted issues.
https://github.com/Azure/CCOInsights/issues/220
https://github.com/Azure/CCOInsights/issues/175
https://github.com/Azure/CCOInsights/issues/229
I also went through the setup videos https://www.youtube.com/watch?v=TzIbdpDQX5U and https://www.youtube.com/watch?v=z5pez0kl8_s
I am able to select my tenant name and login with no issues however I keep getting this error.
I changed the my PowerBI security settings , the privacy settings and the data Source settings.
What am I missing?
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10 Enterprise
Browser : I am using PowerBI desktop
Version [e.g. 22]

Additional context
I even created the two PowerBI folders for good measure but still getting the error.

I resolved the issue by restarting my machine

I resolved the issue by restarting my machine


Complain when concrete or symbolic used without simplification

It should be an error to use the concrete or symbolic attributes without the simplification attribute.

After discussion with Tom we have amended this rule so that function rules without simplification can be concrete or symbolic iff all rules for that function have that attribute.


Fix re-assemble string

A fairly obvious type. Rakudo even tells you how to fix it :-)

WOW, what a DUH!  :-)   Thanks!


json / CSV links are broken in Datasette 0.50

e.g. on https://latest.datasette.io/fixtures/sortable
That export link block is  broken. The HTML is:

  This data as json,
  CSV (advanced)

This commit broke it: https://github.com/simonw/datasette/commit/8f97b9b58e77f82fef1f10e9c9f6754b993544b6#diff-ed4bb3a97b7efa4d45be6a6ea6f4636cL114-R165

Since this is an urgent fix that needs to go out I've marked the base_url tests as xfail. I need to solve those separately, see #900 and various other bug reports.

I missed the links on the query page: https://latest.datasette.io/fixtures?sql=select+pk1%2C+pk2%2C+pk3%2C+content+from+compound_three_primary_keys+order+by+pk1%2C+pk2%2C+pk3+limit+101


Metadata for images shredded on image redownload request

When we are starting vm from image which is not in store, we are downloading it, storing in bolt it's metadata then we are starting vm, but if for some reason this vm will not start, kubelet will resend request to start container and then we can notice that there is also request for redownload for image (maybe something is broken with ImagesList) which ends with shredding of information about image file location in bolt. This ends with broken domain xml for vm with empty value for image file path.

This is because we are trying to return last error in https://github.com/Mirantis/virtlet/blob/03f2d1ebb636a596d9f3c7d81305ec853ae36416/pkg/libvirttools/image.go#L143 in non error situation caused by https://github.com/Mirantis/virtlet/blob/03f2d1ebb636a596d9f3c7d81305ec853ae36416/pkg/libvirttools/image.c#L45
get last error returns then nil if virStorageVolLookupByName returned something.


exec format error in docker for arm64

Upon clean install of redis commander on docker 18.09.x for linux/arm64, rediscommander immediately fails with "exec forma error".
Is it possible to run rediscommander on an arm64 architecture?  Perhaps with an env flag or something?
Thanks

Dockerhub does not provide multi plattform images for Redis Commander right now - only for amd64. Therefore you have to build the arm64 image for yourself.
Self build image should be working then... but i did only a short test on RasPi with debian/armhf.
btw - if you know a service to auto-build images for other architectures than amd64 or do it right at docker hub auto-build service i would be interessted to hear...

I just tested it and you can build an image just replacing node:8-alpine by arm32v7/node:8-alpine and it works perfectly

With the new base image of alpine:3.11 (startting from version 0.7.0) it should work out-of-the-box as this image is available for arm and arm64 too.

I temporary push a public image on docker hub awaiting official release for arm.
npjonath/redis-commander:v0.7.1

finally multi-arch images available and automatically build via github action.
Currently published to GitHub Container Registry only but will try to reenable Dockerhub too.
https://github.com/joeferner/redis-commander/pkgs/container/redis-commander


Update documentation and add release notes

This commit updates the documentation theme to match the current theme
that the qiskit project is using. It also takes the opportunity to add
the release notes to the documentation. We previously were only
publishing the release documentation on the github release page which
has limitations. Moving forward we'll use reno to automate the
generation of release notes.
TODO:

[ ] Finish release notes conversion to sphinx rst

Pull Request Test Coverage Report for Build 399401862

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.85%

Totals

Change from base Build 399276806:
0.0%

Covered Lines:
3094

Relevant Lines:
3262

💛  - Coveralls


Sheet displayed wrong at change of turn-Savage Worlds

The popup sheet displayed at the start of a new turn is the first sheet of the last turn. SO is A was first this turn and B last, then in the new turn B was first it would still show A. Corrects after first character correctly. Savage Worlds with new cards every turn.

Still same issue above. Add in that it looks like it is stopping the reshuffle of the action deck so the table selection runs out (deck is expended).

PS I am using 8.6 and 19.3.

Turn marker is good now, but same issue first listed at start of turn applies.

Im not sure ill be able to fix this, but ill take a look

Not sure if this will help you but Kobold Works - Ready Up seems to work correctly with the change of turn. ??  :)

Argh wrong button...


Add impl http_body::Body for hyper::Body

This adds a http_body::Body impl for hypers Body. This should
allow us to start moving to a more generic body trait based on
BufStream and http-body.
cc @seanmonstar

GitCop 😭 idk what is wrong.

Don't worry about GitCop, I always fix it as part of the squash step.

@seanmonstar so do you suggest a blanket impl of Body for T: Payload? Otherwise those changes seem fine, will get to them soon.

No, I mean instead of having poll_trailers have duplicate code, do like this:
impl http_body::Body for Body {
    fn poll_trailers(&mut self) -> Poll<Option<HeaderMap>, Self::Error> {
        Payload::poll_trailers(self)
    }
    // etc...
}

@seanmonstar I think I've addressed all your comments. Should be good for another pass.

@seanmonstar I addressed your comment and reverted the rustfmt. Only issue is that h2 introduced breaking changes for 1.26. We can try to pin it to an older version?

Just finished publishing a new h2 version that should work on Rust 1.26, so I gave CI a nudge.

Woot, green! Thanks!


Make the video stream resolution adjustable

Using wallpanel, discovered that my nexus 7 2013 will flip its video on its head when changing from portrait to landscape. If I adjust for landscape, portrait is on its head.
also my cams supply 1920x1080 (back) & 1280x768 (front), but the stream only gives 640x480. Would love to be able to adjust that.  Like streaming with low resolution and frame rate, but changing over to hi-res and 30fps with motion detected. such stuff....
btw, if you keep up the work, pls provide a way to support your work

i have the same issue of the stream of 640x480 for fire 10 7th and 9th gen, they both stock wise give much better resolutions from the cam to their cam app.
on top of that the picture in wallpannel is so dart is basically unusable. compared with the stock photo app, that is okay, not doing great in dark mode, but okay.

Just to note down here:
I suspect that the issue with this is that the app is still using the very old Camera API instead of using Camera2 or CameraX. Most likely if the app implements the newer APIs it would be a lot better at handling higher resolutions and using features like proper white balancing, etc. However then KitKat support has to be dropped. This has to be looked into this further first.

I am interested in this as well. I load the front camera video stream into go2rtc/ frigate and would love to be able to get full resolution. I am on a Fire HD 8 Karnak with Lineage OS and I believe the front cam resolution is supposed to be 1920x1080. Let me know if you need someone to test. I have three of the same tablets i use as wall panels.


Plugin - Schedule decorator capability for hourly and daily

Leveraging async lib https://asyncz.tarsild.io

blocked by https://github.com/python-semantic-release/python-semantic-release/issues/646

Initial release done for talkytrend. Capability to be added at plugin level to ease usage.


Added Colombia Holidays

Added the Colombia's holidays. There's a situation with some holidays due to the "Emiliany Law" they are moved to the following monday if it is not monday, so a function to deal with that was added.

No worries. Make sure your fork is in sync with this package:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
You could always try a new branch from main and make a new PR

Done.

Could you verify if the dates are correct in the generated snapshot? At the moment the test is failing

Could you verify if the dates are correct in the generated snapshot? At the moment the test is failing

@Nielsvanpach The dates are correct, the problem seems to be with the data types for emiliani

Could you verify if the dates are correct in the generated snapshot? At the moment the test is failing

@Nielsvanpach The dates are correct, the problem seems to be with the data types for emilianiHoliday() params.
If we change to
private function emilianiHoliday(CarbonImmutable|null $date = null)

??

I'm not aware of the situation in Colombia. I'll leave this PR open for other Colombians to discuss

Ok, I did some extra reviews and it seems there was some problems with "Dia de San José" date, and also because all Emiliani dates timezone were not set. So @Nielsvanpach @luisprmat , I guess everything should work fine now.

Hi @alvleont, your change of 'March 19' to 'March 20' for "Día de san José" may work but it is not the right thing to do. Testing with your code I also found an error in 2026 with the day of the "Reyes magos"; in the snapshot it is obtained on "2026-01-05" but it should be "2026-01-12".
Reviewing I found the following problems for which I propose these solutions:
Problem 1 - The delays of one day in some cases are due to the creation of the dates on the GitHub actions test server, since if it is very close at midnight it is created for the next day and therefore it does not match the snapshot. Solution: After creating the date with CarbonImmutable chain the ->startOfDay() method to reset the time to 00:00:00 so I no longer see the need to use timezone.
Problem 2 - The phpstan analysis fails because the data type of the method CarbonImmutable::createFromFormat returns an union type CarbonImmutable|false but the emilianiHoliday method expects a parameter with only CarbonImmutable type. Solution: Use the method CarbonImmutable::createFromDate($year, $month, $day, $timezone?), this method returns only CarbonImmutable and it does not generate problems with phpstan.
CONCLUSION
This is my proposal for src/Countries/Colombia.php
<?php

namespace Spatie\Holidays\Countries;

use Carbon\CarbonImmutable;

class Colombia extends Country
{
    public function countryCode(): string
    {
        return 'co';
    }

    protected function allHolidays(int $year): array
    {
        return array_merge([
            'Año Nuevo' => '01-01',
            'Día del Trabajo' => '05-01',
            'Día de la independencia' => '07-20',
            'Batalla de Boyacá' => '08-07',
            'Inmaculada Concepción' => '12-08',
            'Navidad' => '12-25',
        ], $this->variableHolidays($year));
    }

    /** @return array<string, CarbonImmutable> */
    protected function variableHolidays(int $year): array
    {
        $easter = $this->easter($year);

        return [
            'Reyes Magos' => $this->emilianiHoliday(CarbonImmutable::createFromDate($year, 1, 6)->startOfDay()),
            'Día de San José' => $this->emilianiHoliday(CarbonImmutable::createFromDate($year, 3, 19)->startOfDay()),
            'San Pedro y San Pablo' => $this->emilianiHoliday(CarbonImmutable::createFromDate($year, 6, 29)->startOfDay()),
            'Asunción de la Virgen' => $this->emilianiHoliday(CarbonImmutable::createFromDate($year, 8, 15)->startOfDay()),
            'Día de la raza' => $this->emilianiHoliday(CarbonImmutable::createFromDate($year, 10, 12)->startOfDay()),
            'Todos los santos' => $this->emilianiHoliday(CarbonImmutable::createFromDate($year, 11, 1)->startOfDay()),
            'Independencia de Cartagena' => $this->emilianiHoliday(CarbonImmutable::createFromDate($year, 11, 11)->startOfDay()),
            'Jueves Santo' => $easter->subDays(3),
            'Viernes Santo' => $easter->subDays(2),
            'Ascención de Jesús' => $easter->addDays(43),
            'Corpus Christi' => $easter->addDays(64),
            'Sagrado corazón de Jesús' => $easter->addDays(71),

        ];
    }

    /** @return CarbonImmutable */
    private function emilianiHoliday(CarbonImmutable $date): CarbonImmutable
    {
        if ($date->is('Monday')) {
            return $date;
        } else {
            return $date->next('Monday');
        }
    }
}

I also suggest changing emilianiHoliday to something more descriptive like movableHoliday or something, but it's not as relevant.

@Nielsvanpach please review!


Argument for legend - > pt.bg

Even if points are styled with an outline and background (col='black' and bg='yellow') the legend symbol only displays black outline.
gs <- gsplot() %>%
points(1,2,col='black',bg='yellow',pt.bg='yellow', pch=21, legend.name='test legend item') %>%
legend()

The bg parameter is actually suppose to be bg of "device region". Maybe we should actually replace the bgCol function with a 'overarching' argument bg like we discussed with axes and others:
gs <- gsplot(axes=FALSE, bg="yellow") %>%
  points(1,2)

So, the col argument (black) is being passed on correctly.

@lindsaycarr you want to take a crack at this? If you do, there are some other obvious things that could be improved in the legend function. Stop by and we can chat.

@ldecicco-USGS I've got something else I am finishing up today, can we chat tomorrow after standup?

Sure


Rule.Selector now accepts string array instead of string

Fixes #533
Breaking change to the API, now selector accepts string array instead of string

Love this, to avoid the breaking change can we make CSS.selector include the array and CSS.selector* accept the array as argument?
The ppx should always generate the selector*, wdyt?
I'm unsure what's a decent name for selector* (maybe selectorMany? dunno, totally up to you)

yup agreed 100%, i think selectorMany should be good enuf


[Feat]: Number Range of profile appearances

What feature?
I have an idea why don't we set a range of profile appearances ? As I can see, there are a lot of profiles on one single page, and if I am wanting to scroll, it is not scrolling smoothly, it's kinda lagging a lot in my laptop. A feature of range setting of viewing a particular number of profiles rather than altogether on a single page could resolve this issue. (As I assume, the latest profile additions appear at the top). Although searchbar is also an option, but this feature would enhance the user experience.
Add screenshots
Add screenshots:

something like this, I used in one of my projects.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Yeah there are a lot profiles on a single page. We can add pagination after a particular number of profiles. What do you say?
No matter where are profiles added. They are appearing randomly.

yes, that sounds good! Like some 20 profiles on page at a time.

Should I assign you?

Yes, will work on it! Thanks

implemented the feature, just need to know where the positions of the "Previous" and "Next" Button would be?

I think after the particular amount profiles are displayed than we can show the buttons.

yeah at the bottom after profiles are displayed.

solved the issue, you can reviw and merge 👍

changes done, you can review👍


Fix and enable RunAsGroup in test cluster

need to backport this to 1.12 as well
@mrunalp PTAL

We need #1848 before going with this one even if I verified tests failures in #1848 are now fixed with this PR. Hold on

lint failure in travis :/

/test all

/test integration_rhel

@runcom I think we can avoid the two calls by doing the following since we can exploit the fact that group set by CRI is always an int.

Set containerUser to only the userName or imageName or numeric Uid. We don't ever create or pass "user:group".
When CRI sends us group, we add it to the spec and we are done with it.
We just pass the user but not the group to getUserInfo which calls GetExecUser only once to get back the user and the additional groups. We ignore the gid returned by it.
wdyt?

@runcom I think we can avoid the two calls by doing the following since we can exploit the fact that group set by CRI is always an int.

Set containerUser to only the userName or imageName or numeric Uid. We don't ever create or pass "user:group".
When CRI sends us group, we add it to the spec and we are done with it.
We just pass the user but not the group to getUserInfo which calls GetExecUser only once to get back the user and the additional groups. We ignore the gid returned by it.
wdyt?

if it works, yeah, I'm ok doing that, I don't want to break the current implementation. I'll modify the code according to your points and see if it breaks or not! Thanks

@krmayankk This should take care of runasgroup in CRI-O.


New setup without social media configured results in error saving entry

Set things up with the github URL and everything installed fine in a new project. Configured settings as per the readme file and created the dev log storage and screen capture storage. Ran the scene to create a new entry. When I clicked on "Post Devlog Only" I get a NullReferenceException:
NullReferenceException: Object reference not set to an instance of an object
WizardsCode.DevLogger.EntryPanel.AppendDevlog (System.Boolean withTweet, System.Boolean withDiscord) (at Library/PackageCache/org.wizardscode.devlogger@3f8bc43f3e/DevLogger/Editor/EntryPanel/EntryPanel.cs:172)
WizardsCode.DevLogger.EntryPanel.DevLogPostingGUI () (at Library/PackageCache/org.wizardscode.devlogger@3f8bc43f3e/DevLogger/Editor/EntryPanel/EntryPanel.cs:117)
WizardsCode.DevLogger.DevLoggerWindow.OnGUI () (at Library/PackageCache/org.wizardscode.devlogger@3f8bc43f3e/DevLogger/Editor/DevLoggerWindow.cs:146)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at :0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <8d21067e8d9c494db25a2b2485216e63>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <8d21067e8d9c494db25a2b2485216e63>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <8d21067e8d9c494db25a2b2485216e63>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <8d21067e8d9c494db25a2b2485216e63>:0)
UnityEditor.DockArea.OldOnGUI () (at <8d21067e8d9c494db25a2b2485216e63>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at :0)
This is with or without media captured. Restarted the project and tried a bunch of different options (neither Twitter or Discord is setup at this point) and always get the same error.
The error is weird because the line it dies on is enumerating through the ScreenCaptures.Count which lead me to think I had to have a screen capture in the devlog for it to work but like I said, having it blank or having a screen capture makes no difference.

I'm really sorry, I only just saw this. I fixed a bug that sounds like this some time ago. I believe the error trapping will prevent this situation happening now.


What is the purpose of disableMigrationsChecking ()?

even if you do not change the table structure, all columns are deleted when you upgrade the database version. why ?

It can be useful when you develop your application and the database scheme frequently change. You can remove disableMigrationsChecking() before releasing your app.

I removed it before releasing and the application failed again and closed. Sorry, but this library is a complete waste of time and I don't want to waste more time with this library. I wish you good work.


Problem with Order Attributes after deploying app.

Please list the package(s) involved in the issue, and include the version you are using
@shopify/app: 3.57.1
@shopify/cli: 3.57.1
@shopify/ui-extensions: 2024.1.2
@shopify/ui-extensions-react: 2024.1.2
Describe the bug
We've built an app that based on cart attribute displays specific information on Thank You and Order Status pages. Everything looks good on development store when we run tests. We use cart attributes that are set in the custom checkout links, like this: https://store.myshopify.com/cart/48162535702810:2?checkout[shipping_address][country]=UK&attributes[fslink]=44480315949225:1
When we deploy the app on production stores this is not working though - the box is not shown. Is there anything else we're missing out that should be configured specifically for production stores?
Orders on production stores do contain mentioned order attributes when we view their details.
Expected behavior
Same behavior on development and production store.
Additional context
Sample code:
import {useCallback, useEffect, useState} from 'react';
import {
  reactExtension,
  Banner,
  InlineStack,
  View,
  Heading,
  Text,
  Button,
  useStorage,
  useApi,
  useAttributeValues,
} from '@shopify/ui-extensions-react/checkout';

const thankYouBlock = reactExtension("purchase.thank-you.block.render", () => <Attribution />);
export { thankYouBlock };

function Attribution() {
let secondLink = '';
  const [lsLink] = useAttributeValues(['fslink']

  if(lsLink !== undefined) {
    secondLink += lsLink;
  }

  let finalLink = 'https://store.myshopify.com/cart/'+secondLink;

  if(secondLink == '') {
    return null;
  }

  return (
    <View border="base" borderWidth="1" padding="base" borderRadius="base">
      <Text>Lorem Ipsum</Text>
      <InlineStack inlineAlignment="end">
          <Button kind="primary" appearance="monochrome" to={ finalLink }>Submit</Button>
      </InlineStack>
    </View>
  );
}

Thank you for your report. There is a known issue with some permalink metadata not persisting into checkouts and the team is looking into it. I cannot provide an estimate for when this will be resolved though.


Pipette update merge on main

Added decorators to require the tool to be the active one before actions are performed with it. For Pipette tool, a stir function was added, as well as a decorator to require a tip for certain action to be completed. Included docstrings to Pipette and Labware modules.


EnvironmentVariablesConfigurationSource replaces _ with .

EnvironmentVariablesConfigurationSource replaces _ in the environment variable name with .:
https://github.com/cfg4j/cfg4j/blob/6998251f81f75d404e77aa7a3e29aa757f3e29d3/cfg4j-core/src/main/java/org/cfg4j/source/system/EnvironmentVariablesConfigurationSource.java#L73-L83
Unless I missed something, this behavior was not documented at: http://www.javadoc.io/doc/org.cfg4j/cfg4j-core/4.4.0
Thoughts:
a) Why do this in the first place?
b) If the property name is going to be mangled, perhaps also converting to lowercase would be more "expected" per typical Java system property standards?
Thanks,
Brock

a) It makes sense to do it that way because of the standard convention. ENV variables are typical separated by "_" and the keys in the property files are typically separated by "."
b) agreed. lowercase would be a better choice to maintain the standards.
Perhaps you should send a Pull Request

+1

I think that replacing _ with . is the right thing to do, as it respects the conventions of using _ as a word separator in environment variable names and links that nicely with the existing convention in properties files of using . to express hierarchy. I also agree that converting to lower case would be the right thing to do, and wrote https://github.com/ExpediaDotCom/haystack-pipes/blob/master/json-transformer/src/main/java/com/expedia/www/haystack/pipes/jsonTransformer/ChangeEnvVarsToLowerCaseConfigurationSource.java. I'm not totally happy with this implementation...it feels like it ought to leverage the Environment class in cfg4j, but that was problematic because trying to do so insisted on file hierarchy existing which isn't a requirement for environment variable based configuration...but the class works for our use case.

Darn, this tripped me up too.  Would be nice if in addition to replacing _ in ENV var with . in property, it also lowercased the property name.
So unless your file-based foo.properties has the same casing as the ENV-based (which for most people is UPPERCASE_WITH_UNDERSCORE), when you try and merge, you get 2 sets of properties instead of ENV overwriting file.  This forces you to have uppercased properties in foo.properties which is not ideal/conventional.


Does not seem to report latest score to leaderboard

Perhaps, there is a delay or it reports the score after start-up, because now my score has updated.


Add a --js-emit-wasm option and a corresponding using directive

[x] run ./mill -i generate-reference-doc.run in order to generate doc correctly
[x] check directive tags (should vs experimental)
[x]  directive doc
[x] test
[x] pass CI

@Gedochao I think I might have gotten to the stage where I need some help / advice / review if I may once the CI has run through.
I added an emits WASM test. To actually run the WASM, I think we'd need node 22. Whilst I was rather gung-ho trampling the scala-ji-cli gha to add node 22, I'm far more hesitant about doing so for Scala CLI itself.
https://github.com/Quafadas/scala-cli/blob/cb64e000c0dbacc9e7ba831c83b85d82ba70c9b2/modules/integration/src/test/scala/scala/cli/integration/RunScalaJsTestDefinitions.scala#L327-L328
I'm proposing to not actually run the WASM emitted in this test suite, rather only test that the file exists. Execution is tested in the underlying js-cli project so it's arguably a duplication. If you feel strongly about it then I'll have to go through specifying some node versions...
The second thing, is that I noticed a test failure on windows BSP on the last time out. I don't think that is me, but I'm also not qualified to diagnose what's happening there. I think CI should go green for my set of changes.
Finally, I'm not sure if any extra documentation is needed beyond what scala-cli demands as the minimal set it will pass CI with? Perhaps not, as sjrd covered that in the release notes?
Outside of those points, I believe this would be ready for review / merge ...

@Quafadas thanks a lot for attending to this!

@Gedochao Pleasure - thanks for the support :-).


Dockerize it!

Just a base dockerfile so one can run this in docker simply by doing docker build . & then docker run IMAGE.
This requires that you've set up your config.json properly.

Looks like there's already a few PR's for this. Closing this in favor of one of the others.


[Bug] Fix invalid classes

[ ] #25
[ ] #32
[ ] #40

We should probably validate the pydantic schema against everything in db.json so that it cant happen

@xxori nah we still want to keep invalid data in db, like weekend classes we just get rid of the invalid classes and keep the valid classes at api.


*: configure server gRPC keepalive, optimize client endpoint switch

keepalive timed-out is connectivity.TransientFailure
in gRPC; it keeps retrying (calling Balancer.Up) until
success. This is problematic in multi-endpoint balancer
with an endpoint being blackholed. Balancer can get stuck
retrying blackholed endpoint, taking several seconds to
find healthy ones.
Prioritize healthy endpoints on endpoints-notify.
Then gRPC balancer connects to the healthy one first,
without fruitless retries on blackholed endpoints.
Reorder endpoints while keeping the original, so
this shouldn't break anything.
Plus, adding docs on how current balancer works with
gRPC retrial logic and its error handling.

I was expecting passing ordered endpoints would enforce trigger gRPC to pin first address but turns out failing in following case:

Client.New(ep1)
Notify ep1
Notify Add ep1
Pin ep1
Blackhole ep1
SetEndpoints(ep1,ep2)
Notify ep2,ep1
Notify Add ep2
Pin ep1 (expects ep2)
Notify channel <- ep1
Notify Del ep2
Notify tearDown ep2

When we notify both ep1 and ep2, we don't have control which gets pinned first.
Close this for now, to not trigger CI runs.
Will try something else.


Reduce flake8 max-line-length

Description
Reduce flake8 max-line-length
When I set up the project, the max line length was 152 and I decreased it by one.
Changed Behaviour
max line length is reduced by 1 and creates an error when we run this command
make flake8
Fixes
Reduce flake8 max-line-length
Fixes # (issue)
#3105
Type of change
Choose which options apply, and delete the ones which do not apply.

Code maintenance/cleanup

when you've reduced the maximum line length by one, and now see errors in flake8, you shoudl go through and fix each of those errors, until flake8 is working again.
Then submit those fixes as part of this pull request.

Thank you for the suggestion.
I had the impression that the task simply required changing the value, which would have been a very trivial task if I had been aware that fixing those errors was the main task.
I understand the true nature of the task, I am more than willing to contribute to the project in any way I can.


Allow composer to use http (fixes travis)

This PR allows packages to be downloaded over http.
This is needed because of secure-http was introduced in composer.

Closing as we fixed the Travis setup by avoiding the need for non-https URLs instead.


Fix resource status not enhanced for calls to /api/k8s/{kind}/get route

Changes Proposed

The pointer address returned from EnhanceStatus is now correctly set, following the same structure adopted in Resources function of /pkg/dashboard/handlers/helmHandlers.go

Check List

[x] The title of my pull request is a short description of the changes
[x] This PR relates to some issue: Closes #516
[ ] I have documented the changes made (if applicable)
[ ] I have covered the changes with unit tests

After looking a bit into it, I don't see this code called at all. Did you find the use action when it's called?

@undera I just limited my search to backend while testing the REST API for understanding purposes.
Now that I look into frontend, I don't find any usage either. I don't know if it makes sense then to apply a fix to something that is still not in a final state or will be removed... I assumed that the endpoint was used because it existed. In any case, if you want to keep the call to EnhanceStatus inside the function, that piece of code will have to be fixed.

Let's have it fixed anyway. Probably the endpoint should be marked as deprecated.

Thank you for reporting this inconsistency!

Let's have it fixed anyway. Probably the endpoint should be marked as deprecated.

Thank you for reporting this inconsistency!

The pleasure is mine! Rather excuse me, I still have a lot to learn in order to contribute better in the project and on github in general :slightly_smiling_face:


DS-10200 Add new logstream-only fields to Logs docs Log fields

This adds new logstream-only fields to Logs docs Log fields, synced from internal repo.

Sorry I've been backlogged. I would like to review this and suggest a few changes. Will try to review tomorrow!

@crwaters16 Let's update the templates in the internal logshare-api repo.
This PR is merely just syncing from there, and I can refresh after all updates are done there.

Regenerated from internal logshare-api repo.
This is ready to merge.


Notebook context keys must not be global

open a notebook
focus find viewlet
select cmd+f
:bug: the notebook editor starts search

(the same is likely true for nb diff editors)
The culprit are these context keys: https://github.com/microsoft/vscode/blob/65e283212409e65a7c90b59831d671b7dd2ded9b/src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts#L221-L223
The are updated in the global context key service, not in the context key service of the editor group. Without further testing I believe that  NOTEBOOK_EDITOR_FOCUSED is the better context key

We don't have such context keys anymore.

We now check activeEditor for active notebook.

focus find viewlet
select cmd+f
🐛 the notebook editor starts search

This is actually the same as Text Editor. Focusing on the search viewlet will not change activeEditor.


Karls comments on documentation

The following is a just comments on the documentation.

I had real questions when I saw the name ...-tars and could not figure out where the tars came from until reading section 1.1.  I don't have a better name right now but I suggest putting the definitiion of tars right at the top of the documentation.
Andy: DONE - updated paragraph on index page and used that in intro section and on README.

First sentence.  This package is going to be difficult to explain in any case unless someone has actually used the whole thing before.  However, the lead to the documentation should be clear that:
a. This is a pytest plugin
b. It provides package for flexible definition of servers and groups of servers (Is this servers or ore generally targets including servers)  that allows test definition against all or selected parts of the defined servers.
c. You need something more in that leading I think to get the idea through. but not sure what yet.
Andy: DONE - updated paragraph on index page and used that in intro section and on README.

Section.  1.1

Paragraph 1 - Move the tars defintion to the top of the documentation
Andy: DONE

Paragraph 2 - Move th list of things it does (define servers, group the servers, define a default group or server to the top. This is what is important, not the YAML.
Andy: The paragraph says what it does and what its format is, in one sentence. I could move the information about the format into a second sentence, but it seems more fluent if I don't. NOT CHANGED.

Paragraph-4 - What is the difference between description and access_via or is it just a way to break out the description in two parts?
Andy: DONE - Added one-line descriptions and that contact_name and access-via are optional.

I wonder if there is a better word than "details" for the section where the user defines the target  (definitions, settings, description (not so dood), etc.)
Andy: DONE - changed it to "user_defined".

Paragraph-5, security - "If you want to put the server definition file into a repository, you do not want" I would replace this with something more direct like "This Framework does not provide security for protected information like passwords but ..."
Andy: DONE but differently. I don't like that suggestion, because it can be misread by the casual reader to say there is no security possible. Changed the text to a more neutral tone and described the two approaches more simply and understandably.

about paragraph 8 ("The server_definition parameter of the test function is a ServerDefinition object that encapsulates the server definition that is to be used for the test. ")  try  "The server_definiton parameter of the test function is a ServerDefinition object from the file for test of a single server.  Pytest will invoke the test function for all servers that are to be tested.
Andy: DONE - nearly as proposed

"You can also build your own pytest fixtures on top of this one that provide for for example an open session with the server
a. This is first time this plugin is described as a fixture (on top of this one).  Second. make general statement about building on top in first sentence and example in second sentence.
Andy: DONE - a. the previous paragraph now states explicitly that it is a fixture, b. Split the sentences and improved them.

"Last but not least, the server definition file to be used and t" Drop the last but not least.
Andy: DONE

Section 2.1  The general part of this just repeats what was in section. I wonder if the usage of 2.1 and the similar part of 1 should not be given just once.
Andy: DISCUSSION Let me state my intention: I wanted the intro to be the same as the README, and thus it needs to be a reasonably complete but not so detailed description that can be read on its own and leave only details unanswered but not miss any of the major points. The usage then somehow needs to start providing more details. I started the usage from the perspective of a user writing test functions, that is why it starts with that and moves things like writing the server definition file down. Yes, there is some repetition as a result.
Section 2.2 "Server groups may be put into server groups at arbitrary nesting depth, as long as there is no infinite recursion anywhere."  Something better than "infinite recursion anywhere"  How about just recursion.,
Andy: DONE - changed to: "as long as there is no cycle (i.e. the resulting graph of server groups must be a tree)."
Section 2.4
"When the server definition file is placed in a repository, any server secrets such as passwords, private keys, etc. should not be in that file in clear text form."  Replace with "Server secrets such as passwords, private keys, placed into this file may be publicly available and generally should be protected".
Andy: DONE - changed to: "If the server definition file is stored in a repository, it should not contain any passwords or other secrets in clear text."
That is as far as I got today.
General: Is there a way to say do all of them without a specific group "All" or something similar???
Andy: No. If you think that is needed, open an issue.

Apart from the discussion item, PR #37 addresses all of the comments as described above.


Can not change ownership of Payload Cloud project

Link to reproduction
payload cloud
Describe the Bug
I am trying to change the ownership of my payload cloud project, from my account to a team. After changing the ownership it continuously loads with the title: INITIAL DEPLOYMENT IN PROGRESS and the status: Setting up your project.
It never stops loading and if I refresh the page and go back to my projects it is still on my account and the ownership is set back to my email.
To Reproduce
Change ownership of your payload cloud project from a user to a team.
Payload Version
Cloud
Adapters and Plugins
Payload Cloud

@dylankuipers Can you please provide the project ID from Settings -> Billing? I can look into this.

@denolfe Yes, this is my project ID: 654b6e7ca24033b20bf2b720

@denolfe When I try to change ownership again now, it actually loads instantly and sends me back to my overview of projects (in my team), but then when I check the ownership again it's set back to my email.

Hey @dylankuipers , if this is still an issue, please email<EMAIL_ADDRESS>Moving projects to a different team can be done by support.


docs(next): Migration instruction

Adds documentation for migrating from Svelte 4 -> Svelte 5. Aims to fix #1437.

Needed to add a <PMRemove/> component for the docs

Opening this as a draft right now to collect feedback so let me know what you think.
Right now this PR assumes #1421 merges with update changes otherwise add command should be used.

This is a great guide! I do have one mild suggestion for wording within this guide. Instead of saying "We got rid of svelte-headless-table in favor of @tanstack/table-core", I suggest stating "svelte-headless-table has been removed in favor of @tanstack/table-core." This cleans up the verbiage a little bit in my opinion

This is a great guide! I do have one mild suggestion for wording within this guide. Instead of saying "We got rid of svelte-headless-table in favor of @tanstack/table-core", I suggest stating "svelte-headless-table has been removed in favor of @tanstack/table-core." This cleans up the verbiage a little bit in my opinion

I agree that sounds better.

@huntabyte should I just go ahead and change the instruction to use the add command instead? If #1421 merges I can come back and fix that another time.

Good to go now!

For whatever reason #1437 wasn't closed by this PR.


Run dummy model on other new diseases

Similarly to #300, we should run the dummy model with exaggerated risk factor intervention values on the other new diseases to check those as well. IHD behaves as expected, as in #300, but IHD is not diagnosed as 'problematic'. Some other diseases which are 'problematic' are as follows:

ischemicstroke
subarachnoidhaemorrhage
intercerebralhaemorrhage
stomachcancer

Run the dummy model on these with exaggerated intervention, as in #300.

Ah yes, thanks for that!


added securityhub:GetEnabledStandards to self.security_hub_lambda_policy

This Merge Request adds the "securityhub:GetEnabledStandards" permission to the self.security_hub_lambda_policy managed policy. This is necessary to address an issue where the list_disabled_rules() function was unable to retrieve the list of disabled rules from AWS Security Hub due to insufficient permissions.
The updated policy statement now includes the following actions:
iam.PolicyStatement(
actions=[
"securityhub:GetFindings",
"securityhub:BatchImportFindings",
"securityhub:GetEnabledStandards",
],

Scott please review the update of the security_hub_lambda_policy iam.PolicyStatement  which had    "securityhub:GetEnabledStandards" added to resolve the step 1 from not being able to retrieve disabled rules.


Android RTSP black screen

have you found any solution bro?

I've been having the same issue, I need to stream video from an ip camera but the rtsp isn't working on Android and I keep getting a black screen.

I've been having the same issue, I need to stream video from an ip camera but the rtsp isn't working on Android and I keep getting a black screen.

i managed to get RTSP video on android with the react-native-vlc-media-player

i managed to get RTSP video on android with the react-native-vlc-media-player


Installation .Net Core on Debian 11 32-bit

I have an production gaming server using Debian 11 (Bullseye) i386 (steamcmd and some issues reasons), In that case I need to compile one of tools using .Net Core 3.1 for it. Unfortunatly I haven't found any microsoft repository for it or any compilation instructions.

To my knowledge Microsoft doesn't support .NET Core on linux-x86, but there is a thread over at https://github.com/dotnet/source-build/issues/1235 where some people are trying to build the SDK from source, and https://github.com/dotnet/runtime/issues/7335 for just the runtime.

The supported versions and architectures are listed at https://docs.microsoft.com/en-us/dotnet/core/install/dependencies?tabs=netcore31&pivots=os-linux
/cc @leecow


Tests needed

Hi we need a test for:

[ ] search

[x] get_captions

[ ] get_playlists

[x] get_videos_from_playlist

[ ] get_subscriptions

[ ] get_featured_channels

[ ] get_video_captions

[ ] get_recommended_videos

Search has a lot of arguments, and get_captions does not use the API!

This is a topic that needs revisiting.
Thanks to @Michael98Liu for writing up how tests and travis work.
The current tests are incomplete or don't cover enough of the functions.
For example, test_video_methods does not actually test anything.
Also need to figure out whose key is being used in Travis.

Closed because replaced with #16


Resolving '//' in xcconfig values so that urls can be used

The problem is that // are treated as comments in a xcconfig file.
As a consequence, any config values that are urls like https://google.com will be interpreted as https: by xcode from the xcconfig file.
This PR solves it by inserting an empty variable $() between the double slashes // (see this stack Q&A). The regex replace is done in BuildXCConfig.rb
Best regards,
Derk

this is great. can some one get this in? @pedro @erickreutz


A lot of errors from skeleton modifications

Right now, you will see errors like this:
Bone2D node cache is out of date. Attempting to update...

There is already an open issue on godot repo: https://github.com/godotengine/godot/issues/73247

Should be fixed in godot 4.3. The linked issue was closed.

Is this the same issue? I'm using 4.2.2 on linux mint with a fresh project.
I get this error when I run a scene with the softbody2d using icon.svg with no modifications.

Then at the very end I also have this

It is usable, before 4.3 there is a warning, harmless. After 4.3 the warning doesn't spam anymore. If anything the warning just might affect performance a bit(because its logging so much)

Thanks for the info, much appreciated.


Dev

@iHaroon29 - Updated OpenAI API call as the app wasn't working as the previous OpenAI API call got deprecated


bump up the version of entry by large value so that transfer of range takes precedence

bump up the version of entry by large value so that transfer of range takes precedence (if there is any conflict in merging entry) over other operations on the entry
that increments the version
Fixes #3612

rebased to 2.5 branch


Option to have feeds by tags/categories

I would like to have a feed such as /blog/feed/MyGreatTag

@benbalter, any thoughts here? I have no thoughts other than "seems neat, but is it core to this plugin?"

Been thinking about this a lot lately (category- or tag-specific views).
On the one hand, this is a staple of how many blogs have functioned for the past ten years. The only reason Jekyll blogs traditionally don't do this (or e.g., have the full content of the post on the index page, or paginate) is because Jekyll doesn't support that easily. Instead, most Jekyll blogs don't paginate, don't have category indexes, and simply list the titles/dates of posts when in list views. It's a technical constraint influencing behavior.
On the other hand, one could argue the only reason we've been trained to do that, is because it's been a prevalent feature in WordPress for about 10 years, and as developers, we're trained to never ever, ever remove a feature. Since it exists in WordPress, and thus exists in most blogs, it must exist in Jekyll.
I've been struggling with this looking at GitHub's own blog, which is currently not Jekyll, and has category archives (and I believe category-specific RSS feeds). Looking at actual usage, it's negligible (less than 1%). The same is true for pagination (basically nobody clicks into the 2nd page for any blog view).
It'd be interesting to make the qualitative case for where such features are used in practice, rather than the philosophical case for why these features should exist in theory. I'm torn however, because if a developer does a bake off between WordPress and Jekyll, absent significant education, WordPress is going to "win" each time.
It's almost as if we have to support the feature, because it's always been a feature of blogs, not because anyone uses it.
All that said, @nasht00, what's your use case? (and are you using any other index/archive plugins that might be better suited to implement the functionality via an API?)

Thanks @benbalter for truly considering :)
My use-case is exactly the one you covered. We are migrating from Wordpress, and people are subscribed to tag-specific RSS feeds today. But also I think it's a nice feature in any case. For technical blogs that cover various topics, it's nice that you can subscribe to a specific topic.
Since the time I posted this question here, things I've changed. I realized that restricting myself to GitHub-approved plugins only was becoming harder, so I switched to offline (Travis)  build (and upload the generated HTML).
With this I was able to switch to Jekyll 3 and start writing my own custom plugins.
This what my plugin looks like so far:
module Jekyll
  # This generates a Page showing all blog posts for a specific tag
  class TagPage < Page
    def initialize(site, base, dir, tag)
      @site = site
      @base = base
      @dir = dir
      @name = 'index.html'

      process(@name)
      read_yaml(File.join(base, '_layouts'), 'tagpage.html')
      data['tag'] = tag

      data['title'] = tag.dup.tr! '_', ' '
      data['filterByTag'] = "#{tag}"
    end
  end

  # This generates an Atom feed for a specific tag
  class TagAtom < Page
    def initialize(site, base, dir, tag)
      @site = site
      @base = base
      @dir = dir
      @name = "#{tag}.xml"

      process(@name)
      read_yaml(File.join(base, '_layouts'), 'atom.html')
      data['tag'] = tag

      data['title'] = "#{tag}"
      data['filterByTag'] = "#{tag}"
    end
  end

  class TagPageGenerator < Generator
    safe true

    # Generate tag page and atom feed for each tag used in the blogs
    def generate(site)
      if site.layouts.key? 'tagpage'
        site.tags.each_key do |tag|
          site.pages << TagPage.new(site, site.source, File.join('blog/tag', tag), tag)
          site.pages << TagAtom.new(site, site.source, File.join('blog/atom'), tag)
        end
      end
    end
  end
end

We are migrating from Wordpress, and people are subscribed to tag-specific RSS feeds today

Do you have any stats on how many users subscribe to tag-specific feeds versus the primary feed, versus overall readership (either for your own site, or in general)? Totally get that it's a valid use case, I'm just wondering if it's not a 1% or 2% use case, that may support a minority of features at the cost of significant complexity.

Unfortunately I don't have statistic for my RSS feeds. I see there are Wordpress plugins to do that, but I am running in a multi-tenant environment and getting new plugins approved is a hassle.

How would this work, exactly?
Would the plugin generate a different feed for each tag & category by default?
Would a site opt-in to generating a feed for a particular tag/category? What would that look like in the config? What would the default permalink for each of these feeds be, and would there be a way to override that default?
Would each new feed contain all posts from a particular tag/category, or would it cap posts to 10 just like the primary feed?
Would the plugin add a Liquid tag to generate the autodiscovery <link> for each new feed, as is currently done for the primary feed?
What would the feed <title> and <id> be for each new feed?
Rather than doing all of this in this plugin, is there an easy way for somebody to write a small plugin that uses the same feed template we do for additional feeds?

A common use case is if you had a linkblog section and original articles. Some people only want the original content, some just the links, some a combined feed.
I'd agree a mechanism to choose which category to create a feed would be optimal, vs a feed for every tag/cat.

80% is a pretty high threshold.  My requirement is for r-bloggers which requires a RSS feed containing only R-related blogs.  I could just make one by hand, but I could make the same argument about an RSS feed in general.

Similar to @jamiefolson, there are many sites that attempt to aggregate the RSS feeds of people in their community (i.e. with http://www.planetplanet.org/). On most of these sites, it is recommended to provide an RSS feed pointing at a category/tag containing only posts relevant to that group.

The use case @nhandler describes is exactly my own use case. Planet PostgreSQL wants a feed of just my PostgreSQL-related posts, not my random movie reviews or 'look what I got on Kickstarter' posts :)

FYI, our website being open source, feel free to see what we ended up doing:
https://github.com/MobileFirst-Platform-Developer-Center/DevCenter/blob/master/_plugins/TagPage.rb
This plugin generated both an Atom feed and a web page for each tag.

I also would like a feed for just one of my tags so I can add it to an topic aggregator.

I actually got this to work. What I did was create a 'feed.tag.xml' for each of the tags I have on my blog. Once created, jekyll build just builds them. I didn't have to configure or tweak anything. You can see an example at https://gist.github.com/hunleyd/95d2081d339bddd45dd4189275892a13

Any update on this. I am also in need of this.
This issue is in open state for more that an year. 😞 😞 😞

@sasivarnan A PR would be welcome :+1:

@hunleyd that is exactly what I want to do! I am very new to jekyll, I was wondering if you could tell me how I can go about setting this up? What do I put in my _config.yml? Thanks a lot!

I just started using Jekyll and ran into this, so I filed a simple PR to add category support for this project.

You can just use normal templates to sort this out,without using any plug-in at all?
Eg:
This is the template that gives an RSS feed with only my julia posts -- which is all I need for the aggregator
https://github.com/oxinabox/oxinabox.github.io/blob/master/rssfeed_julia.xml#L13

@mortenson you may be interested in https://github.com/snaptortoise/jekyll-rss-feeds which contains a feed.category.xml example drop-in template you could adapt for your needs.

Seem @mortenson has working solution for categories feed. Does it worked?

@oxinabox and @hunleyd solution worked

Given a blog post tagged bitcoin and a collection called Deal with some deals tagged bitcoin would one expect to see all taxonomic content, and would that necessitate the implementation of #124 prior to a PR for segmented feeds?
Also, given the Atom spec supports category, which can hold taxonomy terms, it seems splitting a feed could also—and perhaps more appropriately—performed at the reader level. YMMV


[LiveComponent] Add better error message when hydrating dates

Q
A

Bug fix?
no

New feature?
yes

Issues
-

License
MIT

Instead of
Return value must be of type ?object, bool returned"

return a proper error message
The model path "createdAt" was sent invalid date data "0" or in an invalid format. Make sure it's a valid date and it matches the expected format "Y. m. d.".

Not sure if it's a bugfix or feature. Maybe the wording can be tweaked.

Love this! Thank you Gábor!


Dashboards - Get main stats by Division return 404

division exists and active
request
  https://dev.ehealth.world/reports/stats/division/4214cfa0-c06b-4670-a7e7-030f17da83b5 \
  -H 'api-key: UXhEczJacXh3Ri9SUkc4enhHTVVpQT09' \
  -H 'authorization: Bearer RlRxbDFJM1FpaW8wM292NVlvN2VpZz09' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'postman-token: e647c991-e368-b85e-cf71-dfcf3c42dcf0'

response
    "meta": {
        "url": "http://dev.ehealth.world/reports/stats/division/4214cfa0-c06b-4670-a7e7-030f17da83b5",
        "type": "object",
        "request_id": "oa5hd85vb2pidia51tppigata0h9td8g",
        "code": 404
    },
    "error": {
        "type": "not_found"
    }
}```

Replication problem
Solved
{"meta":{"url":"http://dev.ehealth.world/reports/stats/division/4214cfa0-c06b-4670-a7e7-030f17da83b5","type":"object","request_id":"hbjspor8qujult5351q786emg802jqqn","code":200},"data":{"stats":{"msps":1,"doctors":1,"declarations":0},"division":{"name":"","id":"4214cfa0-c06b-4670-a7e7-030f17da83b5"}}}%


reload method

If some layout is changed by enquire and then content is reloaded (e.g. with ajax) there should be some reload method to run matching rules again.
Example code:
enquire.register('some query',{
    match: function() { $('#my-id .my-class').addClass('another-class-1'); },
    unmatch: function() { $('#my-id .my-class').addClass('another-class-2'); }
});
$('#my-id').load('/ajax-url', function(){ enquire.reload(); });

At the moment after ajax loading we dont have neither .another-class-1 or .another-class-2 on loaded elements

Are you trying to load different content into the same section based on size?  I'm trying to do something similar.  It seems setup/defer won't work in this case.
I haven't started using it yet, but can't you just do math: loadA and unmatch loadB?


Adding torrents

It'd a nice feature to be able to add torrents by pasting a magnet or locating a .torrent file.
I see that TorrentCmd::AddTorrent is currently implemented, but there are no keybinds or UI to invoke it.

For now, the best way to add torrent that I've found is using transmission-remote -a file.torrent but I think it should be incorporated into the transg-tui itself

I think using i as keybind is a good choice. vim use i to insert.


Cobblestone generators

We got a request for cobblestone generators in CE and since that would be addon territory and BWR seems tailor fit and I know you didn't think of the lava pillow issue, I'm creating this issue :)

Right now, to get cobblestone in BTW, you need loose stone and nether sludge, pack the loose stone into loose cobble and use a block dispenser to apply the nether sludge. The only part that's not renewable in BWR is loose stones I think, so if some late game method is added to get a hold of those, cobblestone generators are possible


Update dial-plans-routing-overview.md

Fixes #https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9590
Fixed typo

Learn Build status updates of commit 1c1b1bc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/dial-plans-routing-overview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

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


Conda-store garbage collection

https://github.com/Quansight/quansight-internal-support/issues/46
Can you modify README so I can hack on conda-store ?

Remove the symlinks in /home/conda/environments. I will in the near future be implementing a garbage collect feature similar to docker to remove no longer used environments.
costrouchov@quansight.com@jupyter-costrouchov-40quansight-2ecom:/home/conda/environments$ ls -la
total 24
drwxr-xr-x 2 0 0 4096 Sep  3 21:28 .
drwxr-xr-x 5 0 0 4096 Sep  3 17:12 ..
lrwxrwxrwx 1 0 0   88 Sep  3 21:22 cudev -> /home/conda/store/be4703f80324bd11148efc58fc6d12cec4e76db0e9e2ab627e9870017363d34e-cudev
lrwxrwxrwx 1 0 0   90 Sep  3 21:28 default -> /home/conda/store/2a5c4f7f7f9a84791943c9430f0b8894d23ad54100e7e236af73bd4f2bdd5e1b-default
lrwxrwxrwx 1 0 0   93 Sep  3 19:22 sixtynorth -> /home/conda/store/fdb9413f700026cec99a17e8232f9ebfbba855c1cecc7cd1b885666fd07fcaa1-sixtynorth
lrwxrwxrwx 1 0 0   91 Sep  3 21:25 training -> /home/conda/store/f82453760e5e8d25c668eb43cb7bfc98a8170b9b8562369aaab4dbaca10e0122-training

Needs support for two types of collection:

old builds (say older than x days)
n oldest builds to be remove (keep m latest builds for each environment)

Depends on https://github.com/Quansight/conda-store/issues/22

Partially implemented in https://github.com/Quansight/conda-store/pull/94. Now need a cron job to check for unused builds and what that build condition might be.

@costrouc is this still valid?