in tutorials/load_data/csv ,when trying twice, the test_data is different?

URL(s) with the issue:
https://tensorflow.google.cn/tutorials/load_data/csv
Description of issue (what needs changing):
Clear description
when run the last code :loop, retry it ,the result is different
then run the last code

list(test_data)[0][1][:10]
list(test_data)[0][1][:10]
why the test_data is not shuffled,but result is different

if this ,the actual label is not trustworthy

Duplicate of #

if duplicate,please tell me the original issue (๑>◡<๑)

Duplicate of #

if duplicate,please tell me the original issue (๑>◡<๑)

@trembous ,
Hello, yes test data is different every time the last code is run. Its the intended behavior.
If you can see the section  read the CSV data from the file and create a dataset data with batch_size of 5 is imported every time.

@trembous ,
Hello, yes test data is different every time the last code is run. Its the intended behavior.
If you can see the section read the CSV data from the file and create a dataset data with batch_size of 5 is imported every time.

thanks, but  I remain want to know that how to accquire the started label 'actual outcome',
so the example is not precise.
if this,I suggest the example will like give a record of csv '(feature , label)' , then the test data is stable
otherwise,the actual label is not trustworthy

@trembous This is intended behavior. I updated code to show the actual labels and corresponding features selected for prediction. When you run the last cell like this
Ran first time (last block)
predictions = model.predict(test_data)
show_batch(temp_dataset)
print("")
# Show some results
for prediction, survived in zip(predictions[:10], list(test_data)[0][1][:10]):
  print("Predicted survival: {:.2%}".format(prediction[0]),
        " | Actual outcome: ",
        ("SURVIVED" if bool(survived) else "DIED"))

The result is something like this (not exactly same as yours as the dataset frame may be different)
tf.Tensor([1 1 1 0 0], shape=(5,), dtype=int32)

age                 : [28. 19. 19. 28. 25.]
n_siblings_spouses  : [1. 1. 0. 0. 0.]
parch               : [0. 0. 2. 0. 0.]
fare                : [146.521  26.     26.283   8.05    7.05 ]

Predicted survival: 36.86%  | Actual outcome:  SURVIVED
Predicted survival: 12.31%  | Actual outcome:  DIED
Predicted survival: 41.52%  | Actual outcome:  DIED
Predicted survival: 36.76%  | Actual outcome:  DIED
Predicted survival: 5.32%  | Actual outcome:  SURVIVED

After that you are running code below #Show some results and not running the prediction code predictions = model.predict(test_data) again as follows
Ran second time (last block)
show_batch(temp_dataset)
print("")
# Show some results
for prediction, survived in zip(predictions[:10], list(test_data)[0][1][:10]):
  print("Predicted survival: {:.2%}".format(prediction[0]),
        " | Actual outcome: ",
        ("SURVIVED" if bool(survived) else "DIED"))

I have added show_batch(temp_dataset) to show which batch was selected for the second time execution.
 tf.Tensor([0 0 0 0 0], shape=(5,), dtype=int32)

age                 : [26.  28.5 46.  28.  33. ]
n_siblings_spouses  : [0. 0. 0. 0. 0.]
parch               : [0. 0. 0. 0. 0.]
fare                : [ 8.05   7.229 79.2    8.05  12.275]

Predicted survival: 36.86%  | Actual outcome:  DIED
Predicted survival: 12.31%  | Actual outcome:  SURVIVED
Predicted survival: 41.52%  | Actual outcome:  DIED
Predicted survival: 36.76%  | Actual outcome:  DIED
Predicted survival: 5.32%  | Actual outcome:  DIED

In the above two outputs, you could see that inputs (labels and features) are different between first execution and second execution. However, you didn't ran the prediction code  predictions = model.predict(test_data), so the predictions are same after first and second executions.
Here is the gist for your reference.
I am closing the issue as it was resolved. Please feel free to reopen if the issue persists again. Thanks!

@trembous This is intended behavior. I updated code to show the actual labels and corresponding features selected for prediction. When you run the last cell like this
Ran first time (last block)
predictions = model.predict(test_data)
show_batch(temp_dataset)
print("")
# Show some results
for prediction, survived in zip(predictions[:10], list(test_data)[0][1][:10]):
  print("Predicted survival: {:.2%}".format(prediction[0]),
        " | Actual outcome: ",
        ("SURVIVED" if bool(survived) else "DIED"))

The result is something like this (not exactly same as yours as the dataset frame may be different)
tf.Tensor([1 1 1 0 0], shape=(5,), dtype=int32)

age                 : [28. 19. 19. 28. 25.]
n_siblings_spouses  : [1. 1. 0. 0. 0.]
parch               : [0. 0. 2. 0. 0.]
fare                : [146.521  26.     26.283   8.05    7.05 ]

Predicted survival: 36.86%  | Actual outcome:  SURVIVED
Predicted survival: 12.31%  | Actual outcome:  DIED
Predicted survival: 41.52%  | Actual outcome:  DIED
Predicted survival: 36.76%  | Actual outcome:  DIED
Predicted survival: 5.32%  | Actual outcome:  SURVIVED

After that you are running code below #Show some results and not running the prediction code predictions = model.predict(test_data) again as follows
Ran second time (last block)
show_batch(temp_dataset)
print("")
# Show some results
for prediction, survived in zip(predictions[:10], list(test_data)[0][1][:10]):
  print("Predicted survival: {:.2%}".format(prediction[0]),
        " | Actual outcome: ",
        ("SURVIVED" if bool(survived) else "DIED"))

I have added show_batch(temp_dataset) to show which batch was selected for the second time execution.
 tf.Tensor([0 0 0 0 0], shape=(5,), dtype=int32)

age                 : [26.  28.5 46.  28.  33. ]
n_siblings_spouses  : [0. 0. 0. 0. 0.]
parch               : [0. 0. 0. 0. 0.]
fare                : [ 8.05   7.229 79.2    8.05  12.275]

Predicted survival: 36.86%  | Actual outcome:  DIED
Predicted survival: 12.31%  | Actual outcome:  SURVIVED
Predicted survival: 41.52%  | Actual outcome:  DIED
Predicted survival: 36.76%  | Actual outcome:  DIED
Predicted survival: 5.32%  | Actual outcome:  DIED

In the above two outputs, you could see that inputs (labels and features) are different between first execution and second execution. However, you didn't ran the prediction code predictions = model.predict(test_data), so the predictions are same after first and second executions.
Here is the gist for your reference.
I am closing the issue as it was resolved. Please feel free to reopen if the issue persists again. Thanks!

good job!


Write a tutorial or documentation on how to porting an HTML5/JS UI Component to VueJS Component to build a Vue UI Framework

What problem does this feature solve?
Help the community to grow
What does the proposed API look like?

We maintain a cookbook with such recipes on the website.
See vuejs/vuejs.org repository, you can post  it as a cookbook idea there

Darn, got here from google looking for some pointers. RIP


workbench.aspx not available

Hello, quick question, I was following the hello world tutorial and created a new dev tenant, after that I created a team site collection, however I still cant see workbench.aspx on Shared Documents.
what am I missing?

Ok, I missed something on the setup dev environment page, I already created the column on the doc library and uploaded the workbench, the page gets the warnin about unsafe scripts, however, I dont see the helloworld webpart there.

After some retries I started working, couldnt figure out what was wrong.


support check license header with RAT

support check license header with RAT

still have some problems, @coderzc
https://app.travis-ci.com/github/apache/incubator-hugegraph-computer/builds/257244354

still have some problems, @coderzc https://app.travis-ci.com/github/apache/incubator-hugegraph-computer/builds/257244354

@imbajin Can we remove travis-Ci?

@imbajin Can we remove travis-Ci?

after #190 merged, the travis-CI will disappear

is there something wrong?  the last commit only remove unused code @coderzc

is there something wrong?  the last commit only remove unused code @coderzc

try rerun it，network may bad sometime


Update for MongoDB 4

Hi, is it possible to get this package updated so that it can be used with the latest version of MongoDB?
Currently it will break because client.isConnected() is no longer a thing in version 4. (Details here)
The changelog mentions
Remove MongoClient.isConnected - calling connect is a no-op if already connected

I've been releasing v1.0.0 of this package. Glad to see your feedback on this package. Thanks.

Thanks a lot for this, I just had a look at the changes you made and I noticed two things that seem to be not inline with Mongodb 4 changes.
From what I understand, client.isConnected has been completely removed and you just call client.connect() at all times, if there is already a connection, it will do nothing.

     if (!client.isConnected || !client.isConnected()) {
       await client.connect();
     }

Also on line 118, you are setting user property but this has been changed to username in the latest version.


[Feature] Add options to runtime

We should propose options to the user at runtime :

-n : dry-run : do nothing to files, just list
-fix : try to fix files
-d : try to delete/quarantine file

To be continued...

-n : dry-run : do nothing to files, just list

If none of -fix or -d is used, the -n option is quite useless.
Plus, -n is not very accurage. We should just keep --dry-run.
For the other:

-d --delete
-f --fix


Design System > CSS issue for font size

Design System > CSS issue for font size

@trivenikulkarni @rameshwarkamandar  This bug includes css file changes so can not be tested on dev or stage , so closing this


[Cutouts] New API service dedicated to cutouts only

Recent PR (#120 ) enables downloading cutouts as 2D array with alert data -- but ideally we would like to have a dedicated service to download cutouts for immediate inspection. The query will require the following parameters:

candid (or last alert given objectId)
type (Science, Template, or Difference)
format (PNG, or JPEG)

Something else? @karpov-sv

I'd also add the following parameters:

cmap (matplotlib colormap)
min_cut / max_cut (percentiles for min/max values, to be used like vmin,vmax = np.percentile(data, [min_cut, max_cut]), and then passing them to imshow. Default values should be like [0.5, 99.5], which is sensible for most cases
stretch (linear / log / asinh / sqrt, for different flux stretching options, probably to be passed to astropy simple_norm or so)

Also, would be nice to have FITS as a possible format too.

Thanks, it is noted!

@karpov-sv there is a new service to download cutouts (PNG, FITS, or just data array) --> #130
Let me know if this is useful!

Done in #130


Question Memory requirements for large RouterDb

Is it realistic to hope, that it will be possible to load a  contracted RouterDb of whole Europe on normal consumer PCs (win/osx) or even mobile devices?
Despite the filesize, how would the memory requirements be?
It seems that its controlled here
RouterDb Deserialize(Stream stream, RouterDbProfile profile)
but in which way?

This is related to this issue:
https://github.com/itinero/routing/issues/247
Basically now you have the option between:

Load everything in memory.
Read everything from a stream on-the-fly.

1 is what is usually done when building something server-side with Itinero and 2 is what is done on mobile.
Issue #247 is to have a look at what can be done to something in between. For example to partially load the data critical for fast routing in memory and leave the rest for reading from the routerdb. For most scenarios that have a single user in a desktop app 2 should suffice when having contracted profiles.
Europe I estimate between 7-14GB depending on what profiles you want. If you contracted profiles on top of this it would increase even more.

What I learned so far, that using this RouterDb Deserialize(Stream stream)  loads the whole routerdb in memory.
But what are the RouterDbProfile doing, if using RouterDb Deserialize(Stream stream, RouterDbProfile profile)  ?
NoCache: lowest memory requirement
MobileLowEnd: ?
MobileHighEnd: ?
Default: ?

It's exactly those three that need an update in #247
Currently they are useless because they all perform worse than NoCache when at the same time using more memory but I think we can improve on that.

Ok, thanks,  just wanted to clarify.

Sure, np :+1:
Closing this in favour of #247, feel free to reopen if you have other questions.


cache key error because of different "uname" command output

uname -mrsv  command produces different output for same architecture workflow.
Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64 x86_64
Darwin 20.6.0 Darwin Kernel Version 20.6.0: Tue Feb 22 21:10:41 PST 2022; root:xnu-7195.141.26~1/RELEASE_X86_64 x86_64

Option -v part is different but they are usually same for most case.
Should we remove -v option?

Now install-and-cache action uses uname -mrs to get cache key.


Keypress generates 3 dots after resuming from suspend

Using hypridle and hyprlock. After coming back from suspend, every keypress generates 3 characters in the input box, and I'm not able to login again.
hypridle.conf
general {
    ignore_dbus_inhibit = false             # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
}

# Screenlock
listener {
    timeout = 300                            # in seconds
    on-timeout = hyprlock # command to run when timeout has passed
    # on-resume = notify-send "Welcome back to your desktop!"  # command to run when activity is detected after timeout has fired.
}

# Suspend
listener {
    timeout = 420                            # in seconds
    on-timeout = systemctl suspend # command to run when timeout has passed
    # on-resume = notify-send "Welcome back to your desktop!"  # command to run when activity is detected after timeout has fired.
}

hyprlock.conf
general {
    hide_cursor = true
    grace = 30
}

background {
    monitor =
    path = /home/kaspernyhus/.config/hypr/wallpaper/1920x1080-dark-archlinux.png
    color = rgba(25, 20, 20, 1.0)

    blur_passes = 3 # 0 disables blurring
    blur_size = 1
    noise = 0.0
    contrast = 0.2916
    brightness = 0.2172
    vibrancy = 0.1696
    vibrancy_darkness = 0.0
}

input-field {
    monitor =
    size = 200, 50
    outline_thickness = 1
    dots_size = 0.25 # Scale of input-field height, 0.2 - 0.8
    dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
    dots_center = true
    outer_color = rgb(28, 28, 28)
    inner_color = rgb(92, 83, 74)
    font_color = rgb(fb, f1, c7)
    fade_on_empty = true
    placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
    hide_input = false
    position = 0, -260
    halign = center
    valign = center
}

hyperland.log
[LOG] Instance Signature: 84ab8d11e8951a6551d1e1bf87796a8589da6d47_1709285433
[LOG] Hyprland PID: 1052
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: archlinux
[LOG] Release: 6.7.6-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:31:48 +0000

[LOG] GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a60] (rev 01) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107GLM [RTX A2000 Mobile] [10de:25b8] (rev a1) (prog-if 00 [VGA controller])

[WARN] Warning: you're using an NVIDIA GPU. Make sure you follow the instructions on the wiki if anything is amiss.

[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG]
Current splash: J'remue le ciel, le jour, la nuit.

[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] [hookSystem] New hook event registered: configReloaded
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 19.12µs. Estimated average calc time: 0.08µs.
[LOG] Creating the ConfigManager!
[LOG] NOTE: further logs to stdout / logfile are disabled by default. Use debug:disable_logs and debug:enable_stdout_logs to override this.

https://github.com/hyprwm/hyprlock/issues/66


Add option to propagate OffsetOutOfRange error

When consuming a partition using a consumer group, the code
handles ErrOffsetOutOfRange errors by resetting to the "initial"
position, as specified by user (i.e. either oldest or newest available
offset). This, however, can be very dangerous. Say a consumer has
consumed up to offset 100 on replica A but replica B has only
replicated up to offset 99 due to temporary under-replication. During
a rebalance, sarama can end up with an offset out-of-range error if it
fetches partition metadata from replica B since the desired offset of
100 is greater than the newest offset of 99. The sarama consumer would
reset the offset in this case, which can cause reprocessing of old
data, especially if the initial offset is configured as "oldest".
This commit adds a config flag to disable this automatic reset. In the
above case, the consumer will be able to proceed normally after the
data replicates.

recreation of https://github.com/Shopify/sarama/pull/1183 because it is still actual and needed. Nobody was against this change, but it ended up in a stalled state and closed.

@dkolistratova hmm, whilst it may or may not be desirable, it seems like we match the behaviour of the Java kafka-client at the moment?
Isn't this PR adding functionality similar to unmerged https://github.com/apache/kafka/pull/9006 that came out of KAFKA-3370?

@dnwe we've coped with the CLA, can it be reviewed/discussed?
I looked closer into the KAFKA-3370 and yes, it has connection with the current issue, it is about the line " 2) needs to be avoid (i.e. people need to be notified upon offsets out-of-range rather than silently offset reset"

@dnwe Looks like unmerged https://github.com/apache/kafka/pull/9006 will reset offsets to nearest value. But it also might be not what we need. What is this PR is adding is more similar to OffsetResetStrategy.None


Team update: @DustinCampbell

/cc @DustinCampbell
Mind reviewing? Twitter handle maybe?
See: https://git.io/vK4iS

Thanks!

FWIW, is all of this team still relevant? cc @david-driscoll


Unable to use cni-metric-helper with default configuration

Description
I'm unable to use the [cni-metric-helper](https://github.com/aws/amazon-vpc-cni-k8s/blob/master/cmd/cni-metrics-helper/README.md]
The default config for security group ingress rule doesn't allow port 61678 from cluster to node
If your request is for a new feature, please use the Feature request template.

[x] ✋ I have searched the open/closed issues and my issue is not listed.

Reproduction Code [Required]
Install eks cluster with default config
Install cni-metric-helper following instructions https://github.com/terraform-aws-modules/terraform-aws-eks/
In my case the cni-metric-helper was not able to communicate and printed the following logs
Failed to grab CNI endpoint: the server is currently unable to handle the request (get pods aws-node-ktpbn:61678)"}
Failed to grab CNI endpoint: the server is currently unable to handle the request (get pods aws-node-4tjv5:61678)"}

Expected behavior
To be able to get metrics from vpc-cni ip address allocations
Actual behavior
I can't get metrics
Additional context
Issue to add more docs about this requirement https://github.com/aws/amazon-vpc-cni-k8s/issues/2208
I was able to fix the problem by adding a security group ingress rule to allow inbound to nodes from cluster for port tcp 61678
I think the code to update to fix is located here https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/node_groups.tf#L74-L106

please see comment here https://github.com/terraform-aws-modules/terraform-aws-eks/pull/2395#discussion_r1069400312
At this time, we will not be adding this to the recommended security group rules


Wrong language is used by the app, Spanish instead of English

Dev Home version
<IP_ADDRESS>
Windows build number
10.0.22624.1755
Other software
OS Build Version: 10.0.22624.1755.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16
Steps to reproduce the bug
I have Windows 11 with an English UK locale; I added Spanish as second language for the keyboard and spelling support when setting up the OS.
when I launch the app, the app then uses Spanish by default instead of English.
Below is how the language setup is in my computer

Expected result
The App should display in English instead of Spanish
Actual result
The App displays in Spanish
Included System Information
CPU: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz
Physical Memory: 7.87GB (1.49GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_<IP_ADDRESS>_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_<IP_ADDRESS>_x64__8wekyb3d8bbwe

whilst researching the locale setup in my computer to document this bug, I realise US English was setup as third in the list, as seen in the imaged attached in the issue, I then closed the app, reordered this by putting US English second, launched the app again and now the display language is English.
I don't know if this is the expected behavior, but for sure it doesn't "feel right" from a user experience point of view.
this same behavior happens in Windows Terminal (in their case, they allow to override the language setup in their preference, but still annoying) but it also trickles down to other apps like winget.
this reordering fixed those behaviors as well.
I wonder if, for apps with basic language support (meaning English, but not all the English locales), would there be a way to map to those umbrella languages rather than trickle down to the next one down?
below is the reordered list which delivers the desired behavior.

Since Dev Home doesn't include any language settings, the language used is picked by the operating system. From this report, it seems that since I don't believe we publish a UK English translation, the OS is falling back to Spanish, since it's listed second. It seems like the ask is for Windows to see that US English is on the list, and fallback to it regardless of language order. This would be a Windows feature and not something Dev Home can affect, so I'm going to close the issue. If someone likes, they can open an issue in Feedback Hub with this request.


add files, commit files and index queries

Also removed the make dependencies step from bblfsh, as it is no longer necessary.
Because this tests commit_files and async = false on indexes, v0.14.0 is required, so I changed the test version to the latest RC we have right now.

Now it starts pilosa container and should work, but turns out it's failing to create the indexes due to key too large errors. This is probably an error on gitbase side, having the keys being extremely large for files table.

Added instructions in the README regarding the pilosa usage.
Sadly, this won't pass until https://github.com/src-d/gitbase/pull/382 is merged and released and I change the version in the tests.

Tests fixed 🎉


User Avatar component with associated menu

How about adding a user-avatar component, that displays e.g. a photo in a roundel.
It would be great to have an associated menu, maybe similar to the overflow menu.

Hi @gmosx , could you provide a screenshot of the intended design? And do you have design guidelines, tested outcomes of this requested pattern?

Something like that:
http://hig.autodesk.com/web/components/avatars

Gotcha! The team has talked about adding in an icon component, which may fit this need.
We will keep this noted for future releases, but since there is no user research or to support this claim, closing this issue for now.


Compile any necessary documentations and resources into Miro

Make file reusable first, then design specifically for RRT
Also might be good to bring awareness to how P&C do their onboarding process
Pull in relevant resources from SharePoint, Bixal Library, etc.

Relevant stuff in SharePoint and Bixal Library, etc.

Make FigJam (or Miro) file reusable first, then design specifically for RRT.

Iteration 1
Initially, we wanted to create an onboarding experience for new hires in FigJam, but because of it's immaturity, we opted to prioritize creating something in Miro first, and then recreating it with FigJam. For the first iteration, the focus involved compiling useful resources from Bixal and specifcially, the Human-Centered Design (HCD) team.
We met with a recent new hire on the HCD team, as well as her "onboarding manager". From these preliminary interviews, we built upon some of these existing needs and resources.
Below are some of the tools and features we included into the board and files:
Features:

Introductions

What to expect
Team bios and photos
New hire - moodboard
New hire - user manual

Resources

How-to Timesheet & PTO
HCD org chart
To-do list

Resources:
Bixal-specific

Bixal Library

People & Culture
Bixal Media (Bixal Beat, Lunch&Learns, Bixal podcast, etc)

Bixal Techbook

Bixal Service desk

HCD-specfic

UXD Team Handbook site and wiki
Bixal Methods
U.S. Web Design System
Microsoft Teams channels
Rapid Response GitHub wiki
Figma HCD team

If you're new to the gov't space

21st Century IDEA
Digital Services Playbook
18F Guides
PRA Law

Onboarding Miro file and notes
Onboarding Miro file for Karen

Iteration 2
Based on the feedback from Iteration 1, we focused on these areas for Iteration 2:

Added Bixal branding for visual appeal
Added a "Manager's to-do" board

contains tasks to complete prior to a new hire's arrival

Iteration 3
During Iteration 3, we met with some HCD leadership who were involved with the onboarding process for a retro on the project's current state. Overall, we heard good feedback and discovered there was interest from other teams outside of HCD.
What we did:

created an onboarding template for reuse (within HCD) based on the information from Iteration 2.

Themes from Iteration 2:
Getting to know the rest of the HCD team
What we heard:

Curiosity around getting to know the team and the projects they're working on.

What we did:

During an HCD sync, we were able to get most of the team to complete their user manuals.

Improving task boards
What we heard:

Questions around waiting on clearances.
What to do about "mundane" tasks?

What we did:

Reorganized some of the tasks on the manager and new hire boards.

Iteration 4
In Iteration 4, we questioned what the "definition of done" looked like for this project in the interim of Bixal's reorganization (also preparing Demi and Brianna for potential offboarding to other projects). So for this "final" iteration, we focused on enhancing the experience from the previous feedbacks:
Organized the manager task board

Updated information around the Bixal Buddy

We decided to make this optional if leaders did not feel the need to have one. We've also included a template that excludes the Bixal Buddy. View updated template, as of 02.14.22.

Added a legend to better distinguish between tasks and help prioritize what to complete prior to the new hire's start date.
Added a task for an "end of the first week" check-in to help define when onboarding is completed/done.

Separated resources into three categories: HCD-specific, People&Culture-specific, and government resources.

Added a "designer toolkit" to the HCD resources page.
Updated information on the P&C resources page: added tutorial links for timesheets, the Bixal library, and the Bixal org chart.
Added additional resources to the Government resources page.

Other

Improved the Bixal branding: updated visuals, colors, and typography.
Cleaned up the new hire tasks. Also included a more defined legend.
Updated the HCD org chart.
Restructured the user manual.

Things to consider
A lot of questions came up while working on this project and we think they're worth considering for future iterations:

HMW make this onboarding experience more intentional?

HMW create a seamless transition from P&C onboarding > HCD onboarding (this project) > project-specific onboarding?
How do we know when onboarding is "complete"? When the to-do list is completed?
HMW use the existing content/data from the user manuals?
Where do the "dead" boards live after they're done?

How do we prevent unnecessary storage space from being taken up?
Can we create another 'team' in Miro to group together all the onboarding boards (& ensure that there are proper sharing permissions so that everyone in HCD can access them)?
Or is it possible to create folders within Miro teams to organize the boards?

Is this the best route to take for an onboarding experience?

How would version control look like?
Is this inclusive?


0.30.0

1.Fix bug
2.Bitmap3
3.Window Handle

window做了有什么用,编程做gui了啊

No,only Window Handle.

event只能兼听鼠标鼠标和方向键.而其方向键不知道什么字母表示

例子,在win下.点一下左键,全都打印出来了.好像一个eve在作用一样 环境:win8.1 x64

If you can please do not ask questions in Chinese,Please do not ask questions in the plan(The plan will close when in 0.30.0,Your problems close too.) and Please star it,Your star is recognized by the author.Window Handle in the busy development.Some problems may be delayed,Because the author's time is limited,C Cross-platform Development is difficult and Need to be familiar with many systems,I hope you understand me.


Proposal: Type bound functions

With the advent of functions with insert/update/delete, it's very tempting to be able to define functions on types themselves.
Schema
type Movie {
  title: str;
  multi actors: Actor;
  multi reviews: Review;
  getWithRating: function() {
    select Movie {
      title,
      actors: {
        name
      },
      rating := math::mean(.reviews.score)
    }
  }
}

And then:
with m := (select Movie limit 1), select m.withRating()

I know it's possible to do a similar behavior by passing a movie as the first parameter. But it's extremely convenient this way. And it would enable moving more of the business logic to the database with a minimal cognitive overhead.
If a schema has 40 types and each type has 2-3 functions:

Currently, a developer would have to browse through 80-120 functions to find one to use.
But with this, he wouldn't have to think about it. Plus it would be possible to get autocomplete in queries and client libraries ...

I don't have any stats, but I don't think people define functions all that much either in Postgres nor other databases. Maybe because ORMs don't expose that in a nice way, or maybe they'd rather implement stuff in the programming language.
I think this would be aligned with EdgeDB because it enables offloading more to the database while preserving programming language ergonomics.

One drawback is maybe the schema size being too big. But it's already possible to split the same schema across multiple files.
And maybe (different request) it's possible to add something like this to allow more flexibility
extend type User {
  changePassword: function(old: str, new: str) {}
}


BenOlden-Cooligan.NAPS2(NotAnotherPDFScanner2) version 6.1.2

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Please remove (NotAnotherPDFScanner2)


Add healthcheck in Docker

Hi, it would be nice to have a simple, built-in healthcheck in the Docker image.
It has neither curl nor wget installed so it's not as trivial as just adding curl -f http://localhost:5000 || exit 1 as the healthcheck.
Thank you.

It also does not have nc. It's a really small change but would help a lot.

For anyone else looking, this has proven to be a viable alternative:
python3 -c "import sys, urllib.request; sys.exit(1) if '<title>Change Detection</title>' not in urllib.request.urlopen('http://localhost:5000').read().decode('utf-8') else sys.exit(0)"

as in the compose:
healthcheck:
  test: [
    "CMD-SHELL",
    "python3 -c \"import sys, urllib.request; sys.exit(1) if '<title>Change Detection</title>' not in urllib.request.urlopen('http://localhost:5000').read().decode('utf-8') else sys.exit(0)\""
      ]
  interval: 1m
  timeout: 10s
  retries: 3
  start_period: 20s

Works. The docker run version would be the following:
--health-cmd="python3 -c 'import sys, urllib.request; sys.exit(1) if \"<title>Change Detection</title>\" not in urllib.request.urlopen(\"http://localhost:5000\").read().decode(\"utf-8\") else sys.exit(0)'"
You need to escape the quotation marks.

So according to my research/experiments, docker does not restart the container just because you have a healthcheck and     restart: on-failure in your docker-compose.yml

@dgtlmoon yes I believe you are right, IMHO the key is to enable publishing of the health status via some method, so that we can make decisions or take actions ourselves based on the status.  I believe kubernetes can make better use of the healthcheck natively.
See discussion here which provides a few options for people to enact restarts external to the docker system itself.
In an ideal situation we would be able to query a new unauthenticated API endpoint like /api/v1/status that gave a simple true/false response along with a corresponding HTTP 200 or 500 code, and then include curl in the container.  The reason the endpoint needs to be unauthenticated is to avoid hard-coding the API key into the docker-compose.yaml file or similar. Curl's --fail parameter would then trigger an exit (1) based on the 500 status.
If the status api endpoint is not something you are willing to build, we can still implement a rudimentary healthcheck as long as curl is in the container.


main branch breaks custom_attributes (at least for Slurm)

On Python 3.10 on Linux, I am able to use the custom_attributes kwarg in JobAttributes as-expected on PSI/J 0.9.0 (from PyPI) but not on 3109e7c09d8ef6f46bbeac06890b101662d356c6. The only thing I am changing, to the best of my knowledge, is the PSI/J version on the remote machine.
The script I am running is as follows:
from psij import Job, JobAttributes, JobExecutor, JobSpec, ResourceSpecV1

job_executor = JobExecutor.get_instance("slurm")
job = Job(
    JobSpec(
        name="test",
        executable="/bin/date",
        resources=ResourceSpecV1(node_count = 1),
        attributes=JobAttributes(project_name = 'matgen', custom_attributes = {'slurm.constraint': 'cpu', 'slurm.qos': 'debug'}),
        launcher="single",
    )
)

job_executor.submit(job)
native_id = job.native_id
print(native_id)

On PSI/J 0.9.0, everything works as expected. However, on the main branch, the custom_attributes do not get set. A comparison of the Slurm submit scripts generated by PSI/J are shown below.
0.9.0:
!/bin/bash

#SBATCH --export=ALL

#SBATCH --exclusive

#SBATCH --nodes=1

#SBATCH --time=0:10:00

#SBATCH --account="matgen"

#SBATCH --constraint="cpu"
#SBATCH --qos="debug"

#SBATCH -e /dev/null
#SBATCH -o /dev/null

exec &>> "/global/homes/r/rosen/.psij/work/slurm/$SLURM_JOB_ID.out"

/bin/bash /global/homes/r/rosen/.psij/work/f65b111560da52a6d41f52a732be0faf4914eb6d7af2230a8de326017979e684/single_launch.sh 4a4e3076-17f5-41da-97c0-b9d9bd8584e9 '' '' '' /dev/null /dev/null /dev/null /bin/date

echo "$?" > "/global/homes/r/rosen/.psij/work/slurm/$SLURM_JOB_ID.ec"

main:
#!/bin/bash

#SBATCH --export=ALL

#SBATCH --exclusive

#SBATCH --nodes=1

#SBATCH --time=0:10:0

#SBATCH --account="matgen"

#SBATCH -e /dev/null
#SBATCH -o /dev/null

exec &>> "/global/homes/r/rosen/.psij/work/slurm/$SLURM_JOB_ID.out"

/bin/bash /global/homes/r/rosen/.psij/work/f65b111560da52a6d41f52a732be0faf4914eb6d7af2230a8de326017979e684/single_launch.sh 772de4e0-5634-45ad-9ba9-920fa1f5643f '' '' '' /dev/null /dev/null /dev/null /bin/date

echo "$?" > "/global/homes/r/rosen/.psij/work/slurm/$SLURM_JOB_ID.ec"

In the latter case, I (unsurprisingly) get the following instead of the printed native ID:

Cell In[1], line 14
      3 job_executor = JobExecutor.get_instance("slurm")
      4 job = Job(
      5     JobSpec(
      6         name="test",
   (...)
     11     )
     12 )
---> 14 job_executor.submit(job)
     15 native_id = job.native_id
     16 print(native_id)

File /global/common/software/matgen/rosen/miniconda/envs/test2/lib/python3.10/site-packages/psij/executors/batch/batch_scheduler_executor.py:215, in BatchSchedulerExecutor.submit(self, job)
    212     self._set_job_status(job, JobStatus(JobState.QUEUED,
    213                                         metadata={'native_id': job.native_id}))
    214 except subprocess.CalledProcessError as ex:
--> 215     raise SubmitException(ex.output) from None
    217 self._queue_poll_thread.register_job(job)

SubmitException: sbatch: error: Job request does not match any supported policy.
sbatch: error: Batch job submission failed: Unspecified error

For the record, this is on Perlmutter at NERSC.

Thanks for spotting this. I'll check. This should have had a test.

See #419.
It's unclear what happened. My suspicion is the templating library (pystache) changed how it does things, but I have not spent any time investigating that part. I changed the templates to be more straightforwardly conformant to the mustache spec, which seems to make it work on main.

Thanks! I tried to give it a quick look earlier and was very perplexed as well. Your suspicion is my best guess as well. Either way, tests are there and pass so that's awesome. Much appreciated!


Create new texture from id?

I'm trying to port some glium code to gfx because I suspect a bug but can't find a corresponding method.
In glium, it is possible to render an externally created texture (from the same context) with just its texture ID (a c_uint ):
https://docs.rs/glium/0.25.1/glium/texture/texture2d/struct.Texture2d.html#method.from_id
I don't have the best understanding of what's going on behind the scenes for gfx, but nothing really pops out at me on how to create a gfx_texture from my id. Any help?

There is no type called gfx_texture in our crates. Are you using Piston? If that's the case, you should be aware that pre-ll version of gfx-rs is now deprecated (see our blog for more background, e.g. https://gfx-rs.github.io/2019/06/12/anniversary-5.html). We recommend users to check wgpu-rs or rendy for the graphics options.
As to your original question, external GL textures aren't supported officially. The actual type is public: https://github.com/gfx-rs/gfx/blob/009243e52e57381dad46365b56ee024c36b5d9a2/src/backend/gl/src/lib.rs#L103 , so you can technically construct NewTexture::Texture(your_id) and then convince the handle manager to use it, but I would not recommend going there unless strictly necessary.

Unfortunately I'm holed into having to support OpenGL (gstreamer for the texture source). I'm using Piston which works with glium, raw opengl, and the v0.17.1 of gfx and 0.8 of gfx_core. There's not a whole lot of room to move in the gui space.
If I moved from Conrod to ggez, I could bump up to
gfx = "0.18"
gfx_core = "0.9"
gfx_device_gl = "0.16"

Still though, I would need to create textures from an existing texture ID not created by the renderer itself. Would either of these versions change how easy it is to render the texture to window?
Instead of just grabbing the texture ID, I can actually return the buffer
https://docs.rs/gstreamer/0.14.3/gstreamer/buffer/struct.Buffer.html
https://docs.rs/gstreamer/0.14.3/gstreamer/buffer/struct.BufferRef.html
but I'm worried that this will copy the data off the gpu, into system memory, and then back onto the gpu when I go to render. Can you peek at at buffer ref and see if there's a better way of rendering it from the buffer with the old gfx and maybe with wgpu-rs/rendy?

I'm using Piston which works with glium, raw opengl, and the v0.17.1 of gfx and 0.8 of gfx_core.

You can try going the path I described. IIRC there was a commercial client doing video rendering with gfx pre-ll, and they were passing through the GL textures, so there is a way to get this work... but it's not well polished.
Overall, why are you even porting from glium to gfx pre-ll? Neither is actively supported today.


topics: add regular expressions

I think this is a good addition!

Thanks @robphoenix

no worries, thanks @ErikSchierboom @Insti


array handling: deleting and moving

currently, merging arrays works great for newsfeeds, but not great for things like a kanban. That's because when arrays are merged, they follow a basic set of rules:

if the document already exists in the array, overwrite the old doc fields with new ones, maintaining position
otherwise, append the new doc to the array

For a kanban, we'd expect different handling. For example:

if something is deleted, remove it from the original array
if something is moved, move it

Currently, this is manageable by using hash tables {1: {foo: 'bar'}}, but that requires some back-end schema changes. It'd be nicer if it worked with arrays, too.

without making the user tell us what kind of mutation it is, we can use a heuristic to detect deletions and changes with pretty darn good (perfect?) accuracy.

when merging states, if the new state is a subset of the old state, it's a change or deletion
if it's a change or deletion, we no longer want to maintain the old order, we simply overwrite the old array with the new array

done!


how to attach DAP process

I start my DebugAdapter process with --inspect=6010, but i can't attach the DAP process.
createDebugAdapterDescriptor(session: vscode.DebugSession, executable: vscode.DebugAdapterExecutable | undefined): vscode.ProviderResult<vscode.DebugAdapterDescriptor> {

		executable?.args.push("--max-old-space-size=8192");
		if(PremiumFeatures.getInstance().isEnabled()) {
			executable?.args.push("--premium");
		}

		if (process.env.NODE_ENV != "production") {
			executable?.args.push('--nolazy');
			executable?.args.push("--inspect=6010");
		}

		executable?.args.push("--storagePath=" + this.storagePath);
		executable?.args.push("--extensionPath=" + this.extensionPath);
		return executable;
	}

LSP process start in the same way with --inspect=6009 which i can attach it.
I'm wondering why one of these two processes can be attached, but the other one can't

/jsDebugLogs

Please collect trace logs using the following instructions:

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

You're pass in --inspect with your other user-defined arguments. Note that when spawning Node or any Node-esque program, --inspect must be passed after the executable and before the script you want to execute in order to be handled by Node.


Trying to download discography, getting: AttributeError: 'NoneType' object has no attribute 'string'

Bug Description
When trying to download a discography, bandcamp-dl is returning the error message: "AttributeError: 'NoneType' object has no attribute 'string'".
To Reproduce
Command to reproduce the behavior:
bandcamp-dl https://<artist>.bandcamp.com/
Expected behavior
Attempting to run the command will return the AttributeError message.
Logs
Traceback (most recent call last):
  File "/home/curtis/.local/bin/bandcamp-dl", line 8, in <module>
    sys.exit(main())
  File "/home/curtis/.local/lib/python3.10/site-packages/bandcamp_dl/__main__.py", line 98, in main
    album_list.append(bandcamp.parse(url, not arguments['--no-art'], arguments['--embed-lyrics'],
  File "/home/curtis/.local/lib/python3.10/site-packages/bandcamp_dl/bandcamp.py", line 42, in parse
    bandcamp_json = BandcampJSON(self.soup, debugging).generate()
  File "/home/curtis/.local/lib/python3.10/site-packages/bandcamp_dl/bandcampjson.py", line 17, in generate
    self.get_js()
  File "/home/curtis/.local/lib/python3.10/site-packages/bandcamp_dl/bandcampjson.py", line 28, in get_js
    embedded_scripts_raw = [self.body.find("script", {"type": "application/ld+json"}).string]
AttributeError: 'NoneType' object has no attribute 'string'

Desktop:

OS: Linux Mint
Version: 21.3 (Virginia)
Python Version: 3.10.12

This is fixed in my PR: https://github.com/iheanyi/bandcamp-dl/pull/234
Command line is: bandcamp-dl --artist [subdomain] music
Otherwise, the command will fail because no "URL" is parsed.

The PR has merged, so I think this can be closed @Evolution0


Rack Applications not supported?

How can we make Rack applications plus ActiveRecord work with nulldb?

This is a "passively maintained" gem.
So whilst I won't actively maintain and fix things, I'm more than happy to ensure Pull Requests are merged in and those who do want to contribute (even becoming a maintainer) can do so.
So unfortunately you'll need to review the code and work this out and submit a Pull Request or others might be able to assist you.

I got this working with my sinatra app with my config/database.yml set with adapter: nulldb and a configuration looking like:
require 'activerecord-nulldb-adapter'
NullDB.configure do |ndb|
  def ndb.project_root
    MyApp.root
  end
end

depends on your app how you make note of its root, but you can probably just return '.' for project_root though.


Proposal: Meta information for container objects

I think it'll be helpful to store some meta-information about dependency in a container. Some ideas where you can use this information:

Aliases for DI frameworks (dry-auto_inject in our case);
Store graph of all dependencies in a dependency. After we can calculate what we need to load and check before current dep and it will provide to detect "dependency deadlock" (when A dependency load B dependency and B dependency load A);
Rules for DI framework (hello java). For example, it can allow loading dependency in specific scope:

container.register('users.repositories.users', only_in: 'users.operations.*') { ... }

module Books
  module Operations
    class Create
      include Import['users.repositories.users'] # => raise error on booting
    end
  end
end

Passing context into dependencies
Etc

WDYT? I can implement simple PoC for meta information, and after that we can start play with it if you like the idea

👍 to meta-data and anything that's needed for better instrospection capabilities. When it comes to aliases and rules, I'm not sure to be honest. How would aliases work? In dry-auto_inject, it's configured per-constructor (so every object can ask for its own aliases for its deps). Rules sound intriguing but I don't know what kind of use cases it covers. I recently built an ACL system on top of container (from dry-system) so maybe this is something similar. You'd have to tell me more about what you're thinking :)

🎉  I think, next step for meta is understand what API we want to see in containers and how to store all this data.
Aliases: Just my idea but it can be helpful for avoid breaking changes. For example, we have hashid key in a container. If something changes and we introduce other hashid instance, for example, member_hashid we will update all this code in 2 steps. Change key to member_hashid and create an alias to hashid in the first iteration. And change hashid to member_hashid in all places without any problems in the next iteration.
Rules: for example, we have 2 different domains, books and users. We create users.repositories.users and what to use this repository in books domain. With rules, we can "protect" some not public domain dependencies for calling it from other domains.

hey, have no idea now. But this first thing from my brain: we can use magic comments for set setting 🤔

I thought about that too, but there's one issue with magic comments: the classes become aware of the container.
To be fair, we already have the auto_register: false magic comment, and that's fine.
I think we should just have a DSL to configure auto registered components


#hex tags for container/host colors

It would be helpful if tags applied to containers could change their visual representation somehow. A simple idea would be to check for "color=#hexvalue" and use that as the container/host background color.
And yes, this would be entirely at the user's discretion and possibly hideous, but would make it so much easier to keep track of service deployments on crowded hosts.

Closing due to inactivity.  We are also adding a new 2.0 UI soon.


DOC: linalg.solve_discrete_lyapunov: dead reference link

Issue with current documentation:
Reference [1] of the documentation of solve_discrete_lyapunov (https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.solve_discrete_lyapunov.html) points to a broken link.
In any case, I do not see any reference to lyapunov functions in that book (that I found at this link: http://mayoral.iae-csic.org/timeseries2021/hamilton.pdf)
Idea or request for content:
I have found the direct formula explicitly written down only on Wikipedia: https://en.wikipedia.org/wiki/Lyapunov_equation#Discrete_time
It is also reported in appendix A.2 of this preprint of mine: https://arxiv.org/pdf/2403.14833.pdf

PR with any link fixes/documentation improvements well come

I'm new to open source and looking to contribute to this project. Mind if I open a PR?


Timestamps incorrect on videos downloaded from playback server

Which version are you using?
v1.5.0
Which operating system are you using?

[ ] Linux amd64 standard
[x] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
Videos downloaded from playback server have incorrect timestamps
Describe how to replicate the issue

start the server with recordings enabled
publish an SRT stream (haven't tested other stream types)
download a video with curl (I downloaded a 10s sample as sample.mp4)
inspect the downloaded video with ffprobe: ffprobe -show_frames -show_entries frame=key_frame,pts,pkt_dts,best_effort_timestamp sample.mp4

Example output:
[FRAME]
key_frame=1
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=2946
best_effort_timestamp=2946
[/FRAME]
[FRAME]
key_frame=0
pts=2946
pkt_dts=14946
best_effort_timestamp=14946
[/FRAME]
[FRAME]
key_frame=0
pts=5946
pkt_dts=17945
best_effort_timestamp=17945
[/FRAME]
[FRAME]
key_frame=0
pts=17946
pkt_dts=20944
best_effort_timestamp=20944

Notice that pts remains the same for the first 26 frames and pkt_dts and best_effort_timestamp for the first 25. After that, timestamps appear to increase as expected. I would expect timestamps to increase at normal intervals from the start of the file. I have verified that the content of the frames appears correct, but the timestamps are not. I have noticed that the number of frames that report the same timestamp varies with different time ranges.
If you need sample videos or streams, I can provide.
Did you attach the server logs?

no (I saw no useful logs in the server)
Did you attach a network dump?

no, that seems less helpful here
Lastly, thanks for this amazing project.

Hello,

Notice that pts remains the same for the first 26 frames and pkt_dts and best_effort_timestamp for the first 25

Yes, your analysis is perfectly right, but this behavior is intentional. In most video codecs, a frame can be decoded only after a previous key frame has been decoded, therefore, when you request a frame corresponding to a certain absolute time, and this frame is not a key frame, the server searches for a previous key frame and prepends it to the file, with a duration equal to zero, together with all frames in between that and the desired frame, in order to decode and hide them instantly:
[key frame] [non-key frame] [non-key frame] [non-key frame] [non-key frame] .... [non-key frame, desired]
I've been looking for a better solution in order to avoid sending frames with a duration equal to zero, but for the moment i found none.
I'm certain that the key frame has to be sent to clients, but i agree with you that using a duration equal to zero may cause issues with some clients.

Ahh, that makes sense (and part of why I included whether a frame was a key frame). I was expecting the timestamps to start incrementing when a key frame was found, but that was not it. It includes a key frame and doesn't increment timestamps until it's the time requested. Clever.
As you stated, I think the issue is that the frames still have pkt_duration=3000 and I'm not sure of the effect of setting that to zero.
Regardless, for our purposes, the previous keyframe would be an acceptable place to start from. Would you consider adding an option to request the video with a start time floored to the previous keyframe as the start (but with duration from the requested start time)?

Hi. I just noticed I have some other videos that start with negative pts. By some searching, it appears that's how other software handles this issue. That is, rather than giving all frames before the start time a pts of 0, it may be more correct for them to have a relatively correct pts that goes into the negative.


Missing vCore SQL DB sizes in documentation

This article details the information for all vCore SQL DBs:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-single-databases
However, there are a number of vCore SQL DB sizes that are available that are not documented here:
BC_Gen4_3
BC_Gen4_5
BC_Gen4_6
BC_Gen4_7
BC_Gen4_9
BC_Gen4_10
BC_Gen5_6
BC_Gen5_10
BC_Gen5_12
BC_Gen5_14
BC_Gen5_18
GP_Gen4_3
GP_Gen4_5
GP_Gen4_6
GP_Gen4_7
GP_Gen4_9
GP_Gen4_10
GP_Gen5_6
GP_Gen5_10
GP_Gen5_12
GP_Gen5_14
GP_Gen5_18
HS_Gen4_3
HS_Gen4_5
HS_Gen4_6
HS_Gen4_7
HS_Gen4_9
HS_Gen4_10
HS_Gen5_6
HS_Gen5_10
HS_Gen5_12
HS_Gen5_14
HS_Gen5_18
Can you update the documentation with the storage and compute details for these machine sizes?

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

ID: 5676aae7-73bc-c084-174b-50ba4fd7be77
Version Independent ID: 0998f821-0f03-a833-b4b3-0d6ebd9468e5
Content: Azure SQL Database vCore-based resource limits - single database
Content Source: articles/sql-database/sql-database-vcore-resource-limits-single-databases.md
Service: sql-database
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@kchewett Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@kchewett thanks - I am well aware of this - I am waiting for engineering to sign off on the updated docs (for a number of days now)
Carl

January – due to the holidays
From: Kelsey Hewett<EMAIL_ADDRESS>Sent: Monday, December 17, 2018 2:28 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Carl Rabeler<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Missing vCore SQL DB sizes in documentation (#20662)
@CarlRabelerhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCarlRabeler&data=02|01|Carl.Rabeler%40microsoft.com|5626db5962314125554508d6646ee06e|72f988bf86f141af91ab2d7cd011db47|1|0|636806824712668890&sdata=vG1TekecjF4vE7fM%2FDvEch%2FYiTVMXoZDIY4x7iS6yGk%3D&reserved=0 any ETA on when the docs will be updated?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F20662%23issuecomment-448022916&data=02|01|Carl.Rabeler%40microsoft.com|5626db5962314125554508d6646ee06e|72f988bf86f141af91ab2d7cd011db47|1|0|636806824712678903&sdata=PEbsW7OBgsxkaI%2BLJJMFZgDqkE77or%2BN%2FQcBgaS6Ltw%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMCBn5oMnZa8q-tXSMJFoTiCO0PGyky0ks5u6BplgaJpZM4ZSePB&data=02|01|Carl.Rabeler%40microsoft.com|5626db5962314125554508d6646ee06e|72f988bf86f141af91ab2d7cd011db47|1|0|636806824712688907&sdata=i%2FJ9I%2BLM5QxKfqCKXZz2YGEYxB8SSfqqHTxnCQt6bSw%3D&reserved=0.

Any updates here on an ETA?

Waiting for engineering PMs to return from holidays. This is part of a bigger update.
Carl
From: Kelsey Hewett<EMAIL_ADDRESS>Sent: Wednesday, January 2, 2019 7:06 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Carl Rabeler<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Missing vCore SQL DB sizes in documentation (#20662)
Any updates here on an ETA?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F20662%23issuecomment-450886745&data=02|01|Carl.Rabeler%40microsoft.com|5d3174fd0c7d49ff258a08d670c3c9f5|72f988bf86f141af91ab2d7cd011db47|1|0|636820383542219936&sdata=GQFY3bf3lhvFWN%2B885a1JGvFfpowlqHCbTLaw9Kyb1w%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMCBnwJ2TAkbEs6HToEKzZQ5F7oYFcBTks5u_MrQgaJpZM4ZSePB&data=02|01|Carl.Rabeler%40microsoft.com|5d3174fd0c7d49ff258a08d670c3c9f5|72f988bf86f141af91ab2d7cd011db47|1|0|636820383542229948&sdata=vseGM2I36zu9e8YR%2FUTURvvbUP6nXL%2B5gEJ4kOIzDVw%3D&reserved=0.


Bash Syntax HighLight error

Steps to reproduce
a=$'\e'
echo "${a@Q}"

Expected behaviour
"@Q" This section is not marked as an error, which is bash's allowed syntax, which you can find in its manual
Version of Vim
8.2.4919
Environment
Os: Ubuntu 22.04
Shell: Bash-5.1.16
Logs and stack traces
No response

I'm afraid that I haven't seen that syntax before and the bash manual is quite large. Please elucidate on what its supposed to do. When I ran your code snippet, I got line 3: ${a@Q}: bad substitution (I have a #! /bin/bash on top).

Under Parameter Expansion
       ${parameter@operator}
              Parameter transformation.  The expansion is either a transformation of the value of
              parameter or information about parameter itself, depending on the value  of  opera‐
              tor.  Each operator is a single letter:

              U      The  expansion is a string that is the value of parameter with lowercase al‐
                     phabetic characters converted to uppercase.
              u      The expansion is a string that is the value  of  parameter  with  the  first
                     character converted to uppercase, if it is alphabetic.
              L      The  expansion is a string that is the value of parameter with uppercase al‐
                     phabetic characters converted to lowercase.
              Q      The expansion is a string that is the value of parameter quoted in a  format
                     that can be reused as input.
              E      The  expansion is a string that is the value of parameter with backslash es‐
                     cape sequences expanded as with the $'...' quoting mechanism.
              P      The expansion is a string that is the result of expanding the value  of  pa‐
                     rameter as if it were a prompt string (see PROMPTING below).
              A      The  expansion is a string in the form of an assignment statement or declare
                     command that, if evaluated, will recreate parameter with its attributes  and
                     value.
              K      Produces a possibly-quoted version of the value of parameter, except that it
                     prints the values of indexed and associative arrays as a sequence of  quoted
                     key-value pairs (see Arrays above).
              a      The expansion is a string consisting of flag values representing parameter's
                     attributes.

              If parameter is @ or *, the operation is applied to each  positional  parameter  in
              turn,  and  the expansion is the resultant list.  If parameter is an array variable
              subscripted with @ or *, the operation is applied to each member of  the  array  in
              turn, and the expansion is the resultant list.

              The  result of the expansion is subject to word splitting and pathname expansion as
              described below.

I'm afraid that I haven't seen that syntax before and the bash manual is quite large. Please elucidate on what its supposed to do. When I ran your code snippet, I got line 3: ${a@Q}: bad substitution (I have a #! /bin/bash on top).

Syntax highlighting broke after updating to version 9.0.1302. Rolled back to version 9.0.1182 archlinux.

@TAforever I think it's another issue. See #11937.

@TAforever I think it's another issue. See #11937.

@k-takata Thank you! problem solved

I also have the same problem

I also have the same problem

@scrawld Same problem as what? This issue is about echo "${a@Q}", and fixed as indicated in #11937

Duplicate of #10551.

this seems to be fixed by https://github.com/vim/vim/commit/dd60c365cd2630794be84d63c4fe287124a30b97#diff-650e28e4ad6a5c9241345580a7136ff18b5629f3b4910a5b5a455828bca5e517


Use offsets rather than counts, np.clip

Not tested, need to setup some tests

Lemme know when you've tested it and I'll merge.
We can work on tests with CI once we've got everything more or less in place.

Going to merge this now so I can build up the continuous integration.


Aw, shoot. You don't have access<EMAIL_ADDRESS>How to access the documents

rt

Hi, could you review if you can access now??

i have similar issue, cant access certain pages

Hello, Could you fix it?
Aw, shoot. You don't have access with
<EMAIL_ADDRESS>


Add authorization via central OPA instance

@tpoliaw I suggest we get this merged before #13 and then I'll adjust that

@tpoliaw I suggest we get this merged before #13 and then I'll adjust that

Sure, I'm still scattering tests over it but it should be good to go in soon


https support

Library doesn't support ssl/tls, are you planing to fix it?

@zhuchinskyi  Thanks, I've added https support in 1.31.3


Confusing instructions regarding "Entity ID"

The Azure AD Entity ID that you copy in "Configure Azure AD single sign-on" section 6, is NOT the Entity ID you'd need to fill in "Configure Syncplicity Single Sign-On" section 3.c.  Instead, you'll need to fill in the Entity ID you defined/customized in "Configure Azure AD single sign-on" section 4.b. In another word, it's the Syncplicity Entity ID that's needed on BOTH side of configuration.

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

ID: fe62d8ed-7a0c-99c2-bdfd-3c8c7b2df939
Version Independent ID: 6798148c-2274-5af9-b182-fa21bdc78848
Content: Tutorial: Azure Active Directory integration with Syncplicity
Content Source: articles/active-directory/saas-apps/syncplicity-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

Thanks for the feedback! We are currently investigating and will update you shortly.

@DvExplorer We have updated the article as suggested, please review.
#please-close


Does Grav have custom content types?

Hi! I am new to grav and just wondering if i can make custom content types like custom post types of a wordpress. so instead of having just post, pages. I can make custom like business or directories?
or am i looking at it the wrong way. Sorry. Noob here. I am new to flat file cms. hope someone can guide me thanks.

Grav is completely flexible in regards to custom content types.  You can create whatever you like.  Take a look at this:
http://learn.getgrav.org/content/headers#custom-page-headers

Oops, didn't mean to close that just now..

Regarding your twitter question:
Every page in Grav is represented by a template that defines how that is output.  So a Page can be a blog list, a blog item, a contact page, a standard page, whatever you decide your site needs.
Each page is a markdown file (.md) with a YAML frontmatter section at the top. This frontmatter defines the standard page headers, plus you can put in custom stuff (or post types if you use the WordPress naming).  There are no restrictions or limits on this other than that they should be valid YAML.
Because this is unstructured by default, you would have to use the same structure in like pages.  If you use the admin panel, you can create a blueprint (see Antimatter theme's blueprints/ folder for examples).  These are again YAML files that define fields so they can be rendered as forms.  The whole of the admin is defined by these files, you can see many other examples in system/blueprints.
Hope this helps!!

Sorry but you lost me there. I still quite don't understand. Maybe I am looking it at the wrong way. I have been working to much with wordpress.
But if i were to use the admin plugin? will all the content types be on just the pages?
or will it have its own post types?
like post -> to just see all the posts
page -> just pages
custom post type 1 => for just this type
I checked the linked that you gave but i still cant follow? Do you specify it to the header?

read my post above, i think we replied at the same time.

so does it mean if i have a post type of listings and business. If I am using the admin plugin.
it will all still be at the pages
Page

Listing
-- Listing Posts
Business
-- Business Posts

or will it be
Page

My pages

Listing

Listing 1
Listing 2

Business

Business 1
Business 2

Can the administration page be themed as well?
Can grav also be used for creating web applications?

The admin shows all the pages as the folder structure dictates.  however you can filter by page type:

Currently the admin cannot be themed.  This is something we plan on adding in the Pro version of the admin plugin.
Grav can be used to build web applications, but that's a very broad term.  Basically you can build pretty much anything as a custom plugin.  For example the admin is just a plugin for Grav.

Wow. I am excited to try it now. Thanks for the fast support. =)

Hi! I am trying grav right now but i am encountering some errors. I am using easyphp as a local server.
I created a virtual host called mygrav.com
but when i try to access it by mygrav.com I get a ERR_CONNECTION_REFUSED
I am only able to view the site if i use http://<IP_ADDRESS>/my portable files/grav-test/

Already got it working. Thanks!

When creating a modular page. will it have its own fields in the admin page? can i edit the modular pages fields from the admin?

Of course. Install the one-page skeleton, install the admin plugin, then navigate to one of the modular pages and you will see a custom tab.  Check out 'features' modular type for example

Hi rhukster. I have the same issue. I'd like to create some custom content ("case studies" for example) and to be able to list them in the admin panel, not under the menu item "Pages" but with a root menu item called "Case studies". There I'd like to be able to create and list some "case studies" items. And in my twig files, call them with a "casestudy" variable (for example) like the "page" variable.
Is that possible? And how? Thanks!

@rhukster

I am trying to do precisely what you had noted in this screenshot (trying to create Wordpressy content types), but I am not finding this filterable content interface.
Where does this exist from within the Grav Admin gui?

@kelseyurgorenci
In the admin, choose the "Pages" tab in the side bar. Then you'll see it at the top of the panel just above the section where all your pages are listed

@fireraccoon I see it! Thanks. I love Grav btw. What an incredible alternative to a huge clunky Wordpress site.

I'd have a question realted to this, is there a way out of the box to customise the Add Page button/menu to allow to create custom pages directly using predefined settings based on these blueprints.
For example the menu by default has these choices:

Add Page
Add Folder
Add Modular

I'd like to add things like
Add Blog Post
Which would automatically set things up so that page would be created inside the blog/ directory
with an "Item" page template etc..
Do I need a custom plugin in order to accomplish this?

@fireraccoon this is currently not possible. You can open an issue on the Admin plugin repo for this.


C-sets as a topos

For any C, the category of C-sets is an elementary topos, sometimes called a "combinatorial topos." We should implement all this structure.
We already have finite limits (#271) and finite colimits (#273), which leaves

exponentials
subobject classifiers

So, intuitionist logic is it's own reward obviously, but why is this useful?

I have no particular need at the moment but I figure it will come in handy at some point.

Leaving a comment here so that we remember this: topoi are adhesive categories, so the general idea of graph rewriting should work in an arbitrary C-set https://en.wikipedia.org/wiki/Adhesive_category.

For FinSet this was an exercise level problem. Are there general formulas for these constructions somewhere?

I looked into exponentials in C-Set. As you might expect, there is a general construction, but it seems a fair bit harder than exponentials in FinSet. Unlike limits and colimits, exponentials in C-Set are not computed pointwise.
The construction is covered in Section 8.7 of Awodey's CT book, and worked examples for several different graphs are in Reyes, Reyes, and Zolfagahari, Section 4.3.
If I understand correctly, the construction requires enumerating all the morphisms between two C-sets, so it's also computationally hard! OTOH, computing morphisms between C-sets is something I've been wanting to get into for a while, so it could be fun.

Yeah in FinSet you have the fact that Y^X is iso to Y*Y...*Y so that actually leads to a very simple construction. That seems like is true because the indexing category of FinSet is discrete. Our products functionality is like julia's built in CartesianIndex/LinearIndex functionality. Further evidence that "Finset is the category of array indexing." I guess it makes sense that exponentials aren't computed pointwise. The complexity of graph theory has to come from somewhere.


1.10 about lightwegh modpacks

this is to you adian 1.10 needs a lot of ram to run heavy mods like yours and take a really long time compared to 1.7.10 so its extremely hard to make a mod pack with this mod so can you please decrease the size of ram needed by decreasing non needed objects and clean the code especcialy in 1.10.2

i have modpack with mek. list is 93mods and runs fine. yes it takes longer to load than a comparable 1.7 pack but it works fine. its not mek using the memory, its forge.

FTB has started to include Mekanism in it's packs... So, you must be doing something wrong Blue if your modpack can't handle Mekanism in it. FTB has no problems with Mekanism LOL

Not a real PR /close @aidancbrady


Context manager methods no longer work

Pylance 2020.12.1 throws an internal error with the following code:
from contextlib import contextmanager

class Hello:
    @contextmanager
    def foo(self):
        yield

with Hello().foo():
    pass

TypeError: Cannot read property 'category' of undefined
    at Object.isUnknown (pyright-internal/src/analyzer/types.ts:1486:17)
    at isPartlyUnknown (pyright-internal/src/analyzer/typeUtils.ts:1362:9)
    at Object.isPartlyUnknown (pyright-internal/src/analyzer/typeUtils.ts:1410:21)
    at reportPossibleUnknownAssignment (pyright-internal/src/analyzer/typeEvaluator.ts:8712:20)
    at getTypeFromMemberAccessWithBaseType (pyright-internal/src/analyzer/typeEvaluator.ts:3816:13)
    at getTypeFromMemberAccess (pyright-internal/src/analyzer/typeEvaluator.ts:3551:34)
    at getTypeOfExpression (pyright-internal/src/analyzer/typeEvaluator.ts:815:30)
    at getTypeFromCall (pyright-internal/src/analyzer/typeEvaluator.ts:5004:32)
    at getTypeOfExpression (pyright-internal/src/analyzer/typeEvaluator.ts:825:30)
    at Vt (pyright-internal/src/analyzer/typeEvaluator.ts:11442:24)

Thanks for the bug report. This is caused by a recent regression that slipped through our tests. It will be fixed in the next release.

This issue has been fixed in version 2020.12.2, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#2020122-11-december-2020


Create messages.json

{
"ExtDesc": {
"message": "TweetDeck Enhancer adds a beautiful new TweetDeck interface, designed for Material Design, and adds other usability features.",
"description": "TDE's description"
},
"ButtonHoverTitle": {
"message": "TweetDeck Quick Launch (Added by Enhancer, disable with Right Click > Hide Button)",
"description": "Text that appears when hovering over the 'Quick Launch' tweetdeck button"
},
"TDSettings": {
"message": "TweetDeck Settings",
"description": ""
},
"EnhancerSettings": {
"message": "Enhancer Settings",
"description": ""
},
"SignOut": {
"message": "Sign Out",
"description": ""
},
"TDAccUpgrade": {
"message": "Switch to Twitter Account",
"description": ""
},
"YourAccounts": {
"message": "Your Accounts",
"description": ""
},
"KBShortcuts": {
"message": "Keyboard Shortcuts",
"description": ""
},
"AddColumn": {
"message": "Add Column",
"description": ""
},
"EnhancerUpgrading": {
"message": "Enhancer is Upgrading...",
"description": ""
},
"FixingNavDrawer": {
"message": "Personalizing Enhancer",
"description": ""
},
"ExpandedViewWarning1": {
"message": "Hi! You're seeing this because you're using the expanded tab view. The expanded tab view is currently not supported in TweetDeck Enhancer due to its new horizontal App Bar.",
"description": ""
},
"ExpandedViewWarning2": {
"message": "To restore the regular tab view, please press the X key on your keyboard, and TweetDeck will fix it automatically. Thank you^^",
"description": ""
},
"Conversation": {
"message": "Conversation",
"description": ""
},
"Interactions": {
"message": "Interactions",
"description": ""
},
"People": {
"message": "People",
"description": ""
},
"Tweet": {
"message": "Tweet",
"description": ""
},
"About": {
"message": "About",
"description": ""
}
}

Just close this pull @dangeredwolf


Add JMESPath extractor feature

Ready for merge assuming tests pass @marklz
Adds feature from https://github.com/svanoort/pyresttest/issues/78
Replaces https://github.com/svanoort/pyresttest/pull/137

@marklz Finally I've got the last of the import issues and python3 compatibility quirks resolved.  This is now going into mainline, and then onto PyPi once installation tests pass.
Note that I subtly changed one of the behaviors: JMESPath extractors return python objects like the other extractors do (not string representations of datastructures).  This makes it behave like the other extractors do.


无法正常拦截Github的文件下载，比如release下载

Describe the bug
点击release中的文件下载时，拦截到的下载链接有问题导致不能下载。
To Reproduce
Steps to reproduce the behavior:

Go to alexhua/Aria2-Explorer: An aria2 download task management extension for chromium based browser
Click on Aria2Explore-V2.0.2.crx to download.
Click the Download button.
See the error

Expected behavior
No error.
Screenshots
https://user-images.githubusercontent.com/35998162/233928789-4e992121-9996-4386-aad8-bafe84e19b29.mp4
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 102.0.5005.167

Additional context
Add any other context about the problem here.

I am on brave and facing the same problem, haven't been able to download anything from GitHub for a few days.

感谢反馈，可以复现， 可能是URL传给AriaNG编解码的时候出了问题。

To NewComer:
This is a very good example of submitting a question, hoping everyone can refer to it.


Trying to download playlist from pornhub

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.01.02. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[X ] I've verified and I assure that I'm running youtube-dl 2019.01.02

Before submitting an issue make sure you have:

[X ] At least skimmed through the README, most notably the FAQ and BUGS sections
[X ] Searched the bugtracker for similar issues including closed ones
[X ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[X ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):

- Playlist: https://www.pornhubpremium.com/playlist/47277961

 youtube-dl -u Smaloney https://www.pornhub.com/playlist/47277961 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'https://www.pornhub.com/playlist/47277961', u'--verbose']
Type account password and press [Return]:
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.02
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-43-generic-x86_64-with-LinuxMint-19.1-tessa
[debug] exe versions: none
[debug] Proxy map: {}
[PornHubPlaylist] 47277961: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 605, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2212, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

youtube-dl https://www.pornhub.com/playlist/34691191 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.pornhub.com/playlist/34691191', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.04.07
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {}
[PornHubPlaylist] 34691191: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed'),))
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbwh57p\build\youtube_dl\extractor\common.py", line 626, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbwh57p\build\youtube_dl\YoutubeDL.py", line 2227, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbwh57p\build\youtube_dl\utils.py", line 1140, in https_open
File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open


fix(configuration): add query param configuration for rpc url

fixes #56

:tada: This PR is included in version 1.0.14 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[FEAT] Cluster utilities

Problem description
When in cluster mode it would be useful to know if the running node is the leader and all the deployed actors.
Solution description
It could be useful to expose the cluster engine from the local actor system to query if running in the leader node.
The method actor system.Actors() returns only the locally deployed actors and it would useful to retrieve all the deployed actors in the cluster.
As the method returns []PID inside PID structure could be useful to have the actor kind to filter out the required actors.
Alternative solutions
These are requirements of an ongoing project, no viable alternative solution yet apart from maintaining a parallel structure with the required information.
Additional context

@webfrank Happy New Year 2025 and thanks for opening the issue. Maybe we could expand on this https://github.com/Tochemey/goakt/blob/main/client/client.go which is the cluster client.

Also PID does return the kind in term of the underlying actor https://github.com/Tochemey/goakt/blob/main/actors/pid.go#L256.


JS kills navigation on slow connections

All the added JS magic kills navigation on slow connections.

Create a basic blank app, run build, run serve
Using Chrome, select "Slow 3G"  and "Disable cache"
Now, the pages starts to load. In a few seconds it appears, but it is not possible to click on any of the blog posts until about 40+ seconds. There is simply no UX feedback or anything, user can click and just wait and nothing, absolutely nothing happens. The browser doesn't show loading, there are no warnings, just nothing.

If you wait a lot eventually the page loads and you can navigate.
If I remove all the JS magic with
find . -name '*.js' -delete

everything becomes usable again.

What's causing this is the low priority of code split template requests. I'm not sure how to fix this yet but I'll be working on it in the coming week

@tannerlinsley There is still a situation where this isn’t solved; if the URL you are prefetching has a lot of data, then trying to navigate to it before all that data has been downloaded results in a 404. This is the issue my users are constantly experiencing on https://destinyclanwarfare.com. If you visit the homepage, scroll down to one of the team names and click on it before the routeData loads you will get a 404. I’ve tried setting prefetch={false} on these links too, but that just causes a 404 100% of the time


Allow to override AX_USE_COMPAT_GL from user's CMakeLists.txt

Which branch your pull-request should merge into?

dev: Current 2.x BugFixs or Features

Describe your changes
This change enables users to override AX_USE_COMPAT_GL option from user's CMakeLists.txt. We need to be able to force the use of OpenGL on macOS, because we have shader graph editor, that generates and previews shaders in runtime.
Current fix is probably not optimal, so I'm willing to change it if you can suggest a better way to implement it.
Issue ticket number and link
N/A
Checklist before requesting a review
For each PR

[ ] Add Copyright if it missed:
- "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

[ ] I have performed a self-review of my code.
Optional:

[ ] I have checked readme and add important infos to this PR.
[ ] I have added/adapted some tests too.

For core/new feature PR

[ ] I have checked readme and add important infos to this PR.
[ ] I have added thorough tests.

the original code is optional variable, so you can set it to TRUE as a cache variable at your cmake file

I've tried overriding the value in project's CMakeLists.txt file with: set(AX_USE_COMPAT_GL ON) and set(AX_USE_COMPAT_GL ON CACHE BOOL "enable AX_USE_COMPAT_GL" FORCE), but cmake_dependent_option() call always overrides the value (I've printed it before and after the call).

I've tried overriding the value in project's CMakeLists.txt file with: set(AX_USE_COMPAT_GL ON) and set(AX_USE_COMPAT_GL ON CACHE BOOL "enable AX_USE_COMPAT_GL" FORCE), but cmake_dependent_option() call always overrides the value (I've printed it before and after the call).

cmake_dependent_option won't allow the option to be set by the user unless all the items in the dependency list are true, which in this case is the requirement to have "WIN32" set.  No matter what you do, it won't work in it's current form.
Perhaps change that entire block to something like this may work:
if(WIN32)
    option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" ON)
elseif(MACOSX)
    option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" OFF)
else()
    set(AX_USE_COMPAT_GL OFF CACHE BOOL "Whether use compatibility GL as render backend" FORCE)
endif()

Yeah, it's probably a better solution. If everyone agrees, I can change it to that.

does double OFF works?

Sorry, I'm not sure what you mean.

does double OFF works?

Sorry, I'm not sure what you mean.

discard me

I have test on windows, it's works from command line cmake -B buildtest -DAX_USE_COMPAT_GL=ON and cmake:
cmake_dependent_option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" ON "MACOS" OFF)

I have test on windows, it's works from command line cmake -B buildtest -DAX_USE_COMPAT_GL=ON and cmake:
cmake_dependent_option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" ON "MACOS" OFF)

Shouldn't it be "OFF" by default for MACOSX?
cmake_dependent_option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" OFF "MACOS" OFF)
Also, do you mean add both lines in core/CMakeLists.txt, one for WIN32 and another for MACOSX?
cmake_dependent_option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" ON "WIN32" OFF)
cmake_dependent_option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" OFF "MACOS" OFF)`

Or did you mean something else?

sorry my mistake: the value in CMakeCache is correct, and type is :INTERNAL, but in cmake config step incorrect

WIN32

maybe a mistake use of cmake_dependent_option: https://cmake.org/cmake/help/latest/module/CMakeDependentOption.html

Better solution is:

AXPlatform.cmake insert follow code at line:59

if (NOT DEFINED WIN32)
    set(WIN32 FALSE)
endif()

cmake_dependent_option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" ${WIN32} "WIN32 OR APPLE" OFF)

3. cmake_dependent_option(AX_USE_COMPAT_GL "Whether use compatibility GL as render backend" ${WIN32} "WIN32 OR APPLE" OFF)

Oh! Yes that's a good solution.  I didn't notice that you could use conditional operators (the OR) inside the dependency section.

Pushed the latest solution that was discussed.


fix: Correct wallet redirect in sendToWebWallet

The current waltid-portal project contains a hardcoded wallet URL. This change fixes the redirect to use the provided NEXT_PUBLIC_WALLET.

Thanks @waltkb 👍


windows git bash Ctrl-C doesn't terminate process

VSCode Version: 1.7.1
OS Version: Windows 8.1

Steps to Reproduce:

"terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe"
Ctrl-C doesn't work for terminating a process (such as cordova run).

Moved upstream https://github.com/Tyriar/pty.js/issues/7


update prop passing for vue example

match examples by Svelte, React & Angular

Nice catch ! Thanks !!


Could not load available plugins

Hi!
First off all, really good job. Terminal looks and feels awesome. Just installed, and I do really love it.
But found a problem with plugin, it's can not load available plugins from npmjs.com.
Here is errors from dev-tools's console:
GET https://www.npmjs.com/-/search?text=keywords:terminus-plugin+&from=0&size=1000 404 ()
ERROR Error: Request failed with status code 404

Installed version from deb:
$ apt show terminus
Package: terminus
Version: 1.0.0-alpha.43-276
Status: install ok installed
Priority: extra
Section: default
Maintainer: Eugene Pankov<EMAIL_ADDRESS>Installed-Size: 205 MB
Depends: screen, gconf2, gconf-service, libnotify4, libappindicator1, libxtst6, libnss3, python-gnomekeyring, tmux
Homepage: https://github.com/eugeny/terminus
License: unknown
Vendor: Eugene Pankov<EMAIL_ADDRESS>Download-Size: неизвестно
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: A terminal for a modern age

Thank you for the report, npmjs.org have changed their API recently. Now fixed.


Out of date info

My view of the Azure Portal has "SSH Password" not "password" etc. for Add local user.
I think the docs are out of date with the current portal version.

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

ID: e7d93704-cc4c-04a0-beb4-84983853cbb1
Version Independent ID: c999a603-b02d-a56d-1bef-0cd4916b6a2b
Content: Connect to Azure Blob Storage using SFTP (preview)
Content Source: articles/storage/blobs/secure-file-transfer-protocol-support-how-to.md
Service: storage
Sub-service: blobs
GitHub Login: @normesta
Microsoft Alias: normesta

@asherk-kxs Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@asherk-kxs Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thank you for reporting. I fixed the outdated screenshot. Thx again!
#please-close


[ci] add check for pending migrations

Add a check to ensure that all the makemigrations are done and there is "No changes detected" in the migrations.
The command to check this would be:

python manage.py makemigrations --dry-run <module-name> where is optional <module-name> would be passed as an arguement.

Can remove this: https://github.com/openwisp/django-ipam/blob/5db21591c40d80b8d26630034c8116c404b63820/.travis.yml#L30 after solving this issue.

@atb00ker you read my mind!
We should add this, probably as a function to the openwisp-qa-checks script.
The script should capture the output, print it and ensure that No changes detected is present or fail (return a non zero exit code).
This issue should be resolved after https://github.com/openwisp/openwisp-utils/pull/51 is merged.

This feature should check for the presence of manage.py in the tests directory, if manage.py is not present it shall do nothing.


Switch from PyQt5 to PySide6

This should make licensing less of a concern.
The change looks like it will be trivial, but it could break everything, so I should be careful.

Partially completed with 0.12.0. One of the primary dependencies (VTK?) depends on PyQt.


Only apply low gravity when holding jump while player has positive y velocity

Switches to normal player gravity, if the player's y velocity is below 0.0 (this value should eventually be configurable via a settings file).

Player gravity now depends on the player's y velocity and if the jump button is being pressed, instead of if the player is currently in the "jumping" state.
This means, for example, if the player is jumping on a jumppad, they release the jump button and re-press it again, then the jump gravity will be used again. Previously, the jump gravity would only be used after the player jumped and while they didn't let go of the jump button.


chore(transform_conformance): skip custom presets

#3001  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite

Merge activity

Apr 16, 5:21 AM EDT: @Boshen merged this pull request with Graphite.


--latest-stamps permission error

Describe the bug
running with  --latest-stamps gives permission error.
it runs fine the first time. not any time after that.
runs fine without --latest-stamps. runs fine with --fast-update.
To Reproduce
Steps to reproduce the behavior:
args.txt
--login=
--password=
--stories
--highlights
--igtv
--no-captions
--sanitize-paths
--no-video-thumbnails
--no-iphone
--latest-stamps
nymphzhu
kittycatmayb
olivelingerie
pastel.bunni
dentelle.doll
Expected behavior
I expect it to download the newest posts
Error messages and tracebacks
D:\insta>cmd /k instaloader +args.txt
Using latest stamps from nymphzhu.
Loaded session from C:\Users\user\AppData\Local\Instaloader\session-user.
Logged in as user.
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\Scripts\instaloader-script.py", line 33, in
sys.exit(load_entry_point('instaloader==4.9', 'console_scripts', 'instaloader')())
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader_main_.py", line 471, in main
main(loader,
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader_main.py", line 182, in _main
profile = instaloader.check_profile_id(target, latest_stamps)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader\instaloader.py", line 1357, in check_profile_id
latest_stamps.save_profile_id(profile.username, profile.userid)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader\lateststamps.py", line 46, in save_profile_id
self._save()
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader\lateststamps.py", line 28, in _save
with open(self.file, 'w') as f:
PermissionError: [Errno 13] Permission denied: 'nymphzhu'
Instaloader version
4.9

--latest-stamps takes an (optional) argument specifying the file in which to save the timestamps. In your case, nymphzhu is being considered as a filename, and it seems you don't have write permissions in the current directory.
Either add a -- before the profiles to stop option parsing (... --latest-stamps -- nymphzhu ...) or move that options before another (if what follows is another option, the command line parser knows no argument has been passed to --latest-stamps: ... --no-video-thumbnails --latest-stamps --no-iphone nymphzhu ...).