Cloudflare KV Session Storage not working.

Hey,
I can't get Cloudflare KV session storage to work in a test install (after having problems updating working project).
Am stupid? Did find bug?
Steps to Reproduce the Bug or Issue

Take a current, fresh remix cloudflare install (2.12.1)
(npx create-remix@latest --template remix-run/remix/templates/cloudflare)
add a wrangler.toml with cloudflare bindings, remix-auth (3.7.0) and remix-auth-form(1.5.0) and make sure it runs npm run dev
add a loader with

export const loader = async ({request, context}) => {
// TEST KV FUNTIONALITY, WRITE->READ TO KV

  console.log(''context.cloudflare.env.KV_SESSION_DEFAULT)
  await context.cloudflare.env.KV_SESSION_DEFAULT.put('test','text')
  await console.log(await context.cloudflare.env.KV_SESSION_DEFAULT.get('test'))
};

produces in console:
KV BINDING: ProxyStub { name: 'KvNamespace', poisoned: false } // OK, vite knows about KV binding

KV BINDING: text //  AND writing/reading to KV works

So: KV itself works.
Replacing loader with
export const loader = async ({request, context}) => {
  //GET USER SESSION
  const authenticator =await getAuth(context)
  const userSession = await  authenticator.isAuthenticated(request);
  console.log('session', userSession)
  return false;
};

produces in console:
TypeError: this.sessionStorage.getSession is not a function // HOWEVER using KV with authenticator doesn't

Why?
The authenticator is instantiated by
 const authenticator =
   new Authenticator<TUserSession | Error | null>(context.cloudflare.env.KV_SESSION_DEFAULT, {
        sessionKey: "sessionKey", // keep in sync
        sessionErrorKey: "sessionErrorKey", // keep in sync
    });

So, the same, working (above) KV, but remix-auth stays angry and just won't take it anymore.
Anyone can help?
Expected behavior
No errors
Platform
macOS

What is context.cloudflare.env.KV_SESSION_DEFAULT? It has to be a SessionStorage object.

Makes sense, now that you say it.
Fixed and works.
Don't know what I merged or rewrote there.
Anyway, it does what I want. Thanks!


[ROX-11011] Add new service for suppressing node vulns

Description

New datastore for node vulns
New service for node vulns
Refactor and fixes to image vulns APIs for backward compatibility (when cve name and ID were the same)
Changelog

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
~Evaluated and added CHANGELOG entry if required~
~Determined and documented upgrade steps~
~Documented user facing changes~

If any of these don't apply, please comment below.
Testing Performed
unit

See confusion over sometimes the node suppression cache has id and other times it has cve name, which will be different in PG right? Due to cve:os namespacing

Clarified. See comments. We never stored cve name as a field. I added a new field to distinguish between the two. Up until now, id was same as the public cve id. But this is not the case anymore.


conv_encode exceeds the expected code rate

Please, could you resolve my misunderstanding:
when I try to use the method conv_encode()  for the binary stream array([1., 0., 1., 0., 0., 1., 1.]) the code rate exceed the 1/2:
from numpy import *

memory = array([6])
g_matrix = array([[0o171, 0o133]])
trellis = Trellis(memory, g_matrix)
print(conv_encode([1., 0., 1., 0., 0., 1., 1.], trellis))

output:  [1 1 1 0 0 0 0 1 1 1 0 1 1 0 0 0 1 1 1 1 0 1 1 0 1 1]
So, code rate k/n = 7 / 26
Do I use the considered method incorrectly?

Ok, that relates to the termination bits.
Closed.


Chinese (simplified & traditional) Localization

Forked ages ago and finally remembered to do this xD
Traditional chinese might have some tiny issues since I'm mandarin speaker, but should be all good.

thanks ;)


kubelet logs shows errors

9045 docker.go:327] Start docker client with request timeout=2m0s
9045 server.go:487] Could not load kubeconfig file /var/lib/kubelet/kubeconfig: stat /var/lib/kubelet/kubeconfig: no such file
9045 server.go:448] Could not load kubernetes auth path /var/lib/kubelet/kubernetes_auth: stat /var/lib/kubelet/kubernetes_aut
9045 manager.go:138] cAdvisor running in container: "/system.slice/kubelet.service"
9045 manager.go:146] unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp [::1]:15441: getsock
9045 fs.go:139] Filesystem partitions: map[/dev/mapper/centos-root:{mountpoint:/ major:253 minor:0 fsType:xfs blockSize:0} /de
9045 manager.go:192] Machine: {NumCores:12 CpuFrequency:2700000 MemoryCapacity:67282030592 MachineID:2f281170da08447facacf42ef
:eno2 MacAddress:54:ab:3a:0a:01:8f Speed:10000 Mtu:1500} {Name:flannel.1 MacAddress:76:30:7c:f6:42:31 Speed:0 Mtu:1450}] Topology:
9045 manager.go:198] Version: {KernelVersion:3.10.0-327.el7.x86_64 ContainerOsVersion:CentOS Linux 7 (Core) DockerVersion:1.10
9045 server.go:768] Watching apiserver
9045 kubelet.go:561] Hairpin mode set to "promiscuous-bridge" but configureCBR0 is false, falling back to "hairpin-veth"
9045 kubelet.go:384] Hairpin mode set to "hairpin-veth"
9045 docker_manager.go:235] Setting dockerRoot to /var/lib/docker
9045 server.go:730] Started kubelet v1.3.4
9045 kubelet.go:933] Image garbage collection failed: unable to find data for container /
9045 server.go:117] Starting to listen on <IP_ADDRESS>:10250
9045 fs_resource_analyzer.go:66] Starting FS ResourceAnalyzer
9045 status_manager.go:123] Starting to sync pod status with apiserver
9045 kubelet.go:2470] Starting kubelet main sync loop.
9045 kubelet.go:2479] skipping pod synchronization - [network state unknown container runtime is down]
9045 volume_manager.go:216] Starting Kubelet Volume Manager
9045 kubelet.go:2366] Failed to check if disk space is available for the runtime: failed to get fs info for "runtime": unable
9045 kubelet.go:2374] Failed to check if disk space is available on the root partition: failed to get fs info for "root": unab
9045 kubelet.go:1187] Node kubernetes-2 was previously registered
9045 factory.go:224] devicemapper filesystem stats will not be reported: unable to find thin_ls binary
9045 factory.go:228] Registering Docker factory
9045 manager.go:240] Registration of the rkt container factory failed: unable to communicate with Rkt api service: rkt: cannot
9045 factory.go:54] Registering systemd factory
9045 factory.go:86] Registering Raw factory
9045 manager.go:1072] Started watching for new ooms in manager
9045 oomparser.go:185] oomparser using systemd
9045 manager.go:281] Starting recovery of all containers
9045 manager.go:286] Recovery completed
9045 container.go:352] Failed to create summary reader for "/system.slice/docker-8f939ca0be05d52f81d75eef62b18c33f2c6a8bb406d3

why is this closed?
am seeing the same error logs, is there any fix for this?

Sorry I thought I left a comment.  Is this about documentation?  You probably don't want to create this issue for the documentation repo.  I suspect you want the github.com/kubernetes/kubernetes repo.

am looking for a approach how this has been solved. am getting this log in kubectl "Failed to check if disk space is available for the runtime: failed to get fs info for "runtime": unable"


Fix file size calculation for var itemSizeBytes

This var hasn't been changed in PR #708

/azp run

May be in the future we should do global code align, i mean move all const to top of file, check file names for casing, and check fields, constructors and methods order according to code convention


ImportError: libXrender.so.1: cannot open shared object file: No such file or directory

I tried both pip install -U git+https://github.com/albu/albumentations and pip install albumentations in paperspace but while importing the library i get this error :

ImportError                               Traceback (most recent call last)
 in
67
68 #from albumentations import (HorizontalFlip,VerticalFlip,Cutout,SmallestMaxSize,ToGray,CenterCrop, ShiftScaleRotate,RandomBrightnessContrast, Blur,Normalize, Resize, Compose, GaussNoise)
---> 69 from albumentations.pytorch import ToTensor
70
71 warnings.filterwarnings("ignore")
/usr/local/lib/python3.6/dist-packages/albumentations/init.py in
3 version = '0.3.3'
4
----> 5 from .core.composition import *
6 from .core.transforms_interface import *
7 from .core.serialization import *
/usr/local/lib/python3.6/dist-packages/albumentations/core/composition.py in
8 from albumentations.core.serialization import SerializableMeta
9 from albumentations.core.six import add_metaclass
---> 10 from albumentations.core.transforms_interface import DualTransform
11 from albumentations.core.utils import format_args, Params
12 from albumentations.augmentations.bbox_utils import BboxProcessor
/usr/local/lib/python3.6/dist-packages/albumentations/core/transforms_interface.py in
3 import random
4
----> 5 import cv2
6
7 from albumentations.core.serialization import SerializableMeta
/usr/local/lib/python3.6/dist-packages/cv2/init.py in
1 import importlib
2
----> 3 from .cv2 import *
4 from .data import *
5
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory

Maybe in your system does not installed libXrender. Try install it.
sudo apt-get install libfontconfig1 libxrender1

i don't find any sudo installing option in paperspace,i am running jupyter notebook and i can do pip install commands there.any help please? @Dipet

You may try write !sudo apt-get install libxrender1 from jupyter.

i have solved my problem,thanks @Dipet
i found terminal option in homepage


Invalid window handle error when reopening an image with a Glutin-based window open

How to reproduce:

Open a Glutin-based window
Save the image
Quit
Reopen
==> we get an infinite amount of empty windows popping out with the title Invalid window handle

Should work now (let's test)

works for me. very cool!


feat: introduce java.time methods

This PR introduces java.time alternatives to existing org.threeten.bp.* methods, as well as switching internal variables (if any) to java.time
The main constraint is to keep the changes backwards compatible, so for each existing threeten method "method1(org.threeten.bp.Duration)" we will add an alternative with a Duration (or Timestamp when applicable) suffix: "method1Duration(java.time.Duration)".
For most cases, the implementation will be held in the java.time method and the old threeten method will just delegate the call to it. However, for the case of abstract classes, the implementation will be kept in the threeten method to avoid breaking changes (i.e. users that already overloaded the method in their user code).

Samples/checkstyle has been failing in other PRs as well
see https://github.com/googleapis/java-logging/actions/runs/11917969552/job/33214317931?pr=1729
see https://github.com/googleapis/java-logging/pull/1728


Project alive ?

Hi,
is the project still alive ?
Julia is now in version 1.2 and node-julia compatibility reaches 0.3.

good idea but lack of will ...
Now Julia would be more popular so if anyone want to fork and raise compability to the latest versions please,
let us know :)


Fix - SQLDataNode write

Problems:

Insert list/tuple: Incorrect SQL syntax
Insert dict: Table columns are not automatically loaded so it cannot map the values to correct column, so null is inserted everywhere.

Fix:

Table autoload: Now load all table columns after connected to database so insert_dicts will work.
Insert list/tuple: Fix SQL syntax, remove insert_lists method and convert lists to tuples instead.

Improvements:

Refactor _write logic, convert everything to a list first if it is not a list (except pd.DataFrame).

The tests are failing because of mocking issues. The Table object cannot use the mock Engine object.

The dataframe conversion is already there before so nothing really changes. We can use the to_sql of dataframe https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_sql.html if it has better performance.
Let's merge this to fix the current issue first.


Android FPS Test

We need a proper frame time test for Android.  Something that can load a style, warm it up, and render for a defined period and measure the frame rate.

The Kotlin has a setOnFpsChangedListener callback that makes this relatively uncomplicated. I'll run it while doing a tour. I want to calculate average FPS and 1% low. Feedback welcome.

The render test FPS probes might also be interesting to revive.  https://github.com/maplibre/maplibre-native/blob/f0490ac7852c929d9fcf7927351aa6cf7b73f9e7/render-test/parser.cpp#L1185C53-L1185C63


Feature: storage graphs

Great app! Been using it more often on mobile rather than reaching out for a desktop login for the quick check on devices.
As title says, it would be nice to be able to view storage/disk usage graphs

This should be fixed in this PR: https://github.com/librenms/librenms/pull/8728

Works for me now. Related to #11


Question: Is there any support for previous transAPI type functionality?

With the libnetconf2/Netopeer2 tool set, how do we add custom C API code like the previous transAPI?

Hi,
sure it is, it should even support some additional features, but that is all a part of sysrepo now.
Regards,
Michal


Custom route instead of url_for

Hi,
This helps fix issue 20. I added some simple tests, but since I'm not familiar with rspec, I wasn't able to fully test the code. I hope you can add the proper tests or point me in the right path :)

Any news on this one? It helps fix a couple of issues for us :)

I'm using it in production right now, it works great. +1

Any updates here?

+1
Could really use this.  Kaminari as it is can't tell the difference between two :collection nested routes handled by the same controller.
Am I reading this code right?  What happens when you don't pass in :route?

+1

That change is probably useful, but the problem should be fixed in a more general way, see #182.
Probably including current params should be configurable (and from my perspective, turned off by default).

This still works for me. If you want to work differently, make it work. Otherwise, this is working as is and would be good to have sooner rather than later.

+1 - Really need it :)


getKnowledgeAssetsWithPagination can not finish due to node restart

This is related to https://github.com/OriginTrail/ot-node/issues/3336.
I have nodes which can not complete getKnowledgeAssetsWithPagination due to node restart. But the reason of node restart is unclear. The typical picture looks like this, where node is going thru assets and then start from the beginning.
[2024-10-22 23:33:00] DEBUG:  getKnowledgeAssetsWithPagination(paranetId=0xcfe8acbdce1f467aedaf662e91de26e6f7f2bfad2edf2f3a69e803ebfb229bc1, offset=10800, limit=50) call has been successfully exe
[2024-10-22 23:33:17] DEBUG:  getKnowledgeAssetsWithPagination(paranetId=0xcfe8acbdce1f467aedaf662e91de26e6f7f2bfad2edf2f3a69e803ebfb229bc1, offset=10850, limit=50) call has been successfully exe
[2024-10-22 23:33:32] DEBUG:  getKnowledgeAssetsWithPagination(paranetId=0xcfe8acbdce1f467aedaf662e91de26e6f7f2bfad2edf2f3a69e803ebfb229bc1, offset=10900, limit=50) call has been successfully exe
[2024-10-23 00:43:14] DEBUG:  getKnowledgeAssetsWithPagination(paranetId=0xcfe8acbdce1f467aedaf662e91de26e6f7f2bfad2edf2f3a69e803ebfb229bc1, offset=0, limit=50) call has been successfully execute
[2024-10-23 00:43:35] DEBUG:  getKnowledgeAssetsWithPagination(paranetId=0xcfe8acbdce1f467aedaf662e91de26e6f7f2bfad2edf2f3a69e803ebfb229bc1, offset=50, limit=50) call has been successfully execut
[2024-10-23 00:43:53] DEBUG:  getKnowledgeAssetsWithPagination(paranetId=0xcfe8acbdce1f467aedaf662e91de26e6f7f2bfad2edf2f3a69e803ebfb229bc1, offset=100, limit=50) call has been successfully execu
[2024-10-23 00:44:13] DEBUG:  getKnowledgeAssetsWithPagination(paranetId=0xcfe8acbdce1f467aedaf662e91de26e6f7f2bfad2edf2f3a69e803ebfb229bc1, offset=150, limit=50) call has been successfully execu
The trouble is - there is no failure code or failure description in some cases

In other cases seems to be MySQL timeout:

This should be addressed with #3347


maven module separation

I propose separating the maven modules (as is partly already done by "javet-core") as follows:
Provide a separate module for each combination of OS and architecture by "classifier" coordinate. The only module containing Java code would then be "javet-core".

This is the decision that I've being thinking for long time, but haven't convinced myself on.
The current approach only requires one dependency. A one line config can exclude the duplicated code from 2+ dependencies.
The new approach requires at least 2 dependencies. That adds more work to the users and to me because I'll have to package all of them separately. As the release publishing process is not completely automated, I'll spend 2x-3x more time on that. Please consider I've been doing that for free for many years.

Thank you.
Full publishing automation would be of great help for yourself of course.
Don't get me wrong: I highly appreciate your great work!
I will consider implementing your proposal in our CI/CD pipeline.

Thank you.
Some other users also tweak their CI/CD systems this way.
Complete automation currently is impossible for me.

Some OS / CPU Arch require special build env and process that github doesn't support.
I don't have the resource to set up everything locally.

It has come to the reality since v4.


Prometheus

This is a fairly significant rework of the Prometheus chart. Goal is to provide decent defaults while allowing for thorough customization. Comments on my approach are extremely welcome.
Changes/additions include:

Separate Pods for Alertmanager & Server (including resource requests & limits)
Separate ConfigMaps for Alertmanager & Server

All entries come from (and are overridable by) values.yaml

Separate (optional) Ingresses for Alertmanager & Server
Use configmap-reload to trigger config reloads
Customizable annotations on Server Pod and both Ingresses
Customizable args for Server container

TODO:

[x] User-provided TLS Secrets
[x] Documentation in values.yaml and README
[x] NOTES.txt
[x] Testing

@fgrzadkowski @piosz

Awesome stuff @mgoodness! I'm going to do some thorough review tomorrow. If you get the NOTES.txt done in this PR we can migrate this to stable.

@fabxc FYI

At this point I think the chart is functionally complete. It works on my cluster!
I'll begin documenting values, but would sure appreciate a review before I get too far along. Hit me up in Slack for any real-time discussion.

I will review this today.

cc @fabxc

Pretty sure I addressed all comments. Work continues on README and NOTES. Hopefully this weekend.

I don't have too much Prometheus knowledge at this stage. @jimmidyson @fabxc could you kindly review the Prometheus runtime/config pieces?

@mgoodness Updates looks great. Just an outstanding question on whether or not the PVs should be enabled be default

Since the replicas are currently hardcoded to 1 in each deployment we can enable the PVs by default. There will have to be some changes if we want to be able to support redundancy.

I'll default-enable PVs.
README is coming along. Options are fully documented; just need to add instructions for enabling TLS on the Ingresses. Then I'll start on NOTES.txt.

I've been using the chart for the last few days and it rocks! Thanks @mgoodness!
Things that aren't working (for me):

The default service target appears to be doing a label replace that ends up trying to scrape http://blackbox:80/probe which is not working. I found the line in the config which seems like its not quite right but also I dont know what the intent was.
Its using port 80 for prometheus service which is a bit confusing since the default is 9090, took me a bit of poking to configure Grafana properly
I havent yet had a successful config map reload despite multiple updates
I couldn't get the alertmanager to fire but still looking into it

I was probably a bit hasty in adding that default Prometheus config, and
didn't check it as thoroughly as I should have. Apologies.
The blackbox portion should come out since we don't install that exporter
as part of the chart. I'll review the rest and make sure it's legit. Ditto
for configmap-reload.
Prometheus 1.3 was released today and includes changes to K8s service
discovery. I may just move the chart to that version.
On Tue, Nov 1, 2016, 18:29 Vic Iglesias<EMAIL_ADDRESS>wrote:
I've been using the chart for the last few days and it rocks! Thanks
@mgoodness https://github.com/mgoodness!
Things that aren't working (for me):

The default service target appears to be doing a label replace that
ends up trying to scrape http://blackbox:80/probe which is not working.
I found the line in the config which seems like its not quite right but
also I dont know what the intent was.
Its using port 80 for prometheus service which is a bit confusing
since the default is 9090, took me a bit of poking to configure Grafana
properly
I havent yet had a successful config map reload despite multiple
updates
I couldn't get the alertmanager to fire but still looking into it

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/charts/pull/151#issuecomment-257729950, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACpx2aJVW40pY0WvqnLI47VgRQ63rpe1ks5q58tdgaJpZM4Kfb2f
.

@mgoodness I've just submitted an updated example config for 1.3.0 in https://github.com/prometheus/prometheus/pull/2148 if you want to upgrade - I think it's a good idea tbh (but remember to remove the example blackbox exporter part of the config if you're not using that).

@viglesiasce:

I havent yet had a successful config map reload despite multiple updates

Are you sure the configmap had been updated in mounted volume? It's an async process that can take a while sometimes.

@jimmidyson you know I cant say that I ever waited "a while" before killing the pod myself. What is the cycle time? Mintues? Is there anything I can/should be looking for in the log?

I havent yet had a successful config map reload despite multiple updates

Are you sure the configmap had been updated in mounted volume? It's an async process that can take a while sometimes.

Alternatively, if configmap-reload reports (through logs) that it's detecting the changes and triggering the webhook, it could be that the config is bad and Prometheus is ignoring it.

Just retried with removing the blackbox section and after about 2 minutes things reloaded as expected. Thanks for the pointers @jimmidyson @mgoodness. For reference here is what I saw in the logs:
2016/11/02 18:11:40 config map updated
2016/11/02 18:11:40 successfully triggered reload

I was also able to nail down why alerts werent firing. The alertmanager service is set to be hosted on 80 but 9093 is configured in the Prom deployment file. I say we set alertmanager (and prom) services to use their default ports.

What is the cycle time?

I can't remember... it should be configurable too somewhere, cluster wide configuration (but I can't remember where!).

I say we set alertmanager (and prom) services to use their default ports.

I personally prefer using the default proto ports (e.g. 80 for http services) but am not precious about it.

Yeah not a huge deal either way as long as they match up. I just got tripped up when setting up Grafana as I had expected to point it at the default Prom port.

Commented the blackbox exporter config, fixed the alertmanager port, enabled PVCs by default.
No 1.3.0 yet, nor HA Alertmanager (which was released recently). And I apparently lost all the changes I made to the README. So I have something to do on the way to & during KubeCon.

One pattern I was just discussing with @viglesiasce was the use of an "extra args" iterator to allow people to inject arbitrary Prometheus flags (that don't require templatized values themselves)
just a proof of the idea for your consideration:
https://github.com/kubernetes/charts/compare/master...ptone:template-iteration?expand=1

@ptone @viglesiasce I like that much more than feeding in raw YAML. Might try it in a few other places. Thanks!

Updated README and added NOTES. I can't validate NOTES, though, because my helm (v2.0.0-beta.1) doesn't seem to output it after install/update.

@viglesiasce Edits enabled.

This LGTM. Would someone else mind giving it a test run?

@k8s-bot ok to test

@k8s-bot ok to test

Looks like there is an issue with CI when moving things from incubator->stable. I tested this manually.

LGTM


Improve Quick Open search

Make it sort by similarity with best match on top.
Closes #5488.

@kubecz3k can you test this?

@vnen will test in the morning!

@vnen Sorry for delay, just tested this, it works like a charm!


Logging uploaded images

Is your feature request related to a problem? Please describe.

It's easy to lose i.nuuls.com links for images uploaded through chatterino.
Describe the solution you'd like

I would like for all links for uploaded images to be saved in a file somewhere on the user's file system.
Describe alternatives you've considered

Searching the logs for all i.nuuls.com links coming from accounts registered in the client, that has an advantage of showing the context, while the disadvantage is that to find the links all the logs files would have to be searched, which takes a lot of CPU time.
Additional context

This could be done by opening a CSV file in append mode and writing a new line whenever uploading an image.

I suggest it should also save the name of the channel that the link was sent in.

I mean it technically doesn't send the link anywhere, it just uploads the image and copies the image to clipboard and pastes it in that chat input box. I guess a system which saves all links you send would also be nice maybe?

Tried my best and created #1712 to add this feature.


How do I split a LabeledVideoDataset class object?

Hi, I'm trying to use the HMDB51 dataset, but it only has a train and test split.  I'd like to create a validation split as well.
What's the best way to split a LabeledVideoDataset?
Normally, I'd use torch.utils.data.random_split on a torch Dataset class, but Pytorchvideo uses a LabeledVideoDataset class instead.  Specifically, there is no __len__ method, so I can't use torch.utils.data.random_split, since it complains of not having the __len__ method, and possibly other things it requires.
Thanks for the help!

Hi Eric, I had this problem before and finally, I tried class LimitDataset and followed the tutorial. It works now, but not totally sure. Hope it helps.


Enhance SendMoneyResult to contain all packets sent and received in a STREAM

It would be nice to be able to introspect the SendMoneyResult to see a Collection of STREAM request/response packets, and possibly decrypted frames so that the sender can see all of the request/response flow for a given sendMoney operation.

Closing this ticket for now since these packets will be stored into a datastore of some sort, and finding them or querying them should be done in that system as opposed to putting them all into the SendMoneyResult object.


Remove Fleek from Docs

Summary
Since Fleek is deprecated, removing it from Global docs
How was it tested?
devbox run build

Resolves #2085


Add: Tele Maroc

Channel Name
Tele Maroc
Alternative Names (optional)
Télé Maroc
Network (optional)
No response
Owners (optional)
No response
Country
ES
Subdivision (optional)
No response
City (optional)
Madrid
Broadcast Area
c/ES;c/MA
Languages
spa;ara
Categories (optional)
general
NSFW
FALSE
Launched (optional)
2017-05-26
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://www.telemaroc.tv/liveTV
Logo
https://upload.wikimedia.org/wikipedia/commons/8/8f/Logotelemaroc.jpeg
Notes
No response

Already in the database: https://iptv-org.github.io/channels/ma/TeleMaroc


Ensure the privates folder's existance

The enable build a droid image from privates build, changes are made to
the docker file assuming the existence of the ./privates folder. To
ensure the build success, the folder's existence should be ensured. This
change add a readme file to keep this folder in the git repository while
not private packages are added.
This is simplier solution, comparing to a if-else structure in the
Docker file.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6333
This is an experimental preview for @microsoft users.

The dev branch failure is caused by a false assumption I made in the Dockerfile for the droid build. This is the fix to address it. I will not wait for the approval and merge as soon as the CI passes since this is addressing a build failure on the CI.


(PDF) export location

Hello,
sorry for this stupid request, but can anyone tell me where I do find the pdf exports? I cannot find it in my logseq-graph folder nor in the ~/.logseq neither in my downloads.

did you mean my plugin's pdf export? currently this plugin does not have this feature

If I edit a drawing from logseq (click on the edit button which shows up on mouseover) draw.io will open. Then I can go to File → Export as → PDF
This is visible at least, but does not seem to work. Not sure how/if this is related to your plugin tbh...

I tested it. it may be an issue of my plugin. but when I export other types, it will sussess. it will take some time to explore why.

I think this is a bug from drawio's embeded mode. when I update drawio to latest version, pdf can't be downloaded. other formats can be downloaded.


Swagger UI page does not show when using Swashbuckle.AspNetCore for .net core web api stateless service in Azure Service Fabric

OS: Windows 10 (Version 1703; OS Build 16281.1000)
Visual Studio Version: 15.3.3 (VS 2017)
Swashbuckle.AspNetCore Nuget Version: 1.0.0
Service Fabric Version: <IP_ADDRESS>94
Service Fabric Version SDK: <IP_ADDRESS>94

Create a service fabric application and choose 'Stateless ASP.NET Core' service template
Select  'Web API' ASP.NET Code 2.0.
This creates a service fab app project along with 'Web1' web api project.
Notice that Web1 project's target environment is set to .net framework 4.7 (even though we selected asp.net core 2.0).
Run the app and a browser is launched with 'localhost:port/api/values' and the response (["value1", "value2"]) is shown. Good so far.
Next add a nuget package Swashbuckle.AspNetCore Nuget Version: 1.0.0
In ConfigureServices method of Startup.cs file, change the code to:

            services.AddMvc();
            services.AddSwaggerGen(options =>
            {
                options.SwaggerDoc("v1", new Info { Title = "My API", Version = "v1" });
            });

In Configure method of Startup.cs file, change the code to:

            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            app.UseMvc();
            app.UseSwagger();
            app.UseSwaggerUI(options =>
            {
                options.SwaggerEndpoint("/swagger/v1/swagger.json", "My API");
            });

Run the code. The endpoint (localhost:port/api/values) works as expected.
The endpoint (http://localhost:port/swagger/v1/swagger.json) works as expected.
The endpoint (http://localhost:port/swagger) causes 500 internal server error.
The endpoint (http://localhost:port/swagger/ui) causes 404 resource not found error.

I found that I needed to install nuget package Microsoft.AspNetCore.StaticFiles 2.0.0 (which will replace 1.0.0). Once I did that, the swagger page came up.

i just had the same issue, installing static files 2.0.0 fixed the problem
thanks @rudeGit

I am having a similar issue, though not with Service Fabric. When I publish locally to a folder or to my Ubuntu prod. server, none of the Swagger UI static files are landing in a wwwroot folder like I'd expect. I tried adding the StaticFiles nuget package as suggested, with still no luck. Any other ideas on this? My source: https://github.com/collinbarrett/FilterLists/tree/master/src/FilterLists.Api

Strange, I do have Swashbuckle.AspNetCore installed but Swagger UI was not working.
Installing "Swashbuckle.AspNetCore.SwaggerUI" separately fixed the issue.

I had the same problem, Delete vs folder and it is working again. I am sure this is the perfect solution.

I tracked down the real issue to the Microsoft.AspNetCore.StaticFiles nuget here. When sending static files it only sends a partial response for part of file. Below is the http response headers from the sever:
HEAD /swagger/swagger-ui-bundle.js

HTTP/1.1 200 OK
Content-Length: 939878
Content-Range: bytes 19796-939877/939878
Content-Type: application/javascript
Last-Modified: Wed, 07 Nov 2018 15:25:06 GMT
Accept-Ranges: bytes
ETag: "1d476ae0fa32266"
Server: Kestrel
Date: Wed, 12 Dec 2018 13:49:11 GMT

{262,544 bytes of the JS file}

This is an invalid http response so the browser assumes the TCP connection was dropped mid way through the response. However, since the request was partially downloaded, additional requests to fetch the file will continue to download the remaining parts of the file. At some point all of the file will be downloaded and cached. At that point additional requests to fetch the file will get a 304 response and nothing will actually be downloaded.
What the server should do it set the content-length header to match the actual length of the body instead of the length of the file. This will signal to the browser it will need to make additional http requests to fetch the remaining parts of the file.


Improve test coverage on CPU, use mocks.

This PR updates the unit tests to cover more of the code base. Specifically, it introduces tests the clear_return function, keyboard_routines function, and a basic test of the draw_sprites function. Requirements file updated to use the mock package.

Coverage increased (+7.08%) to 73.538% when pulling 520782cb4087ab2ed03337ec12cc56931936005b on improve-test-coverage into ad2b4e18ed2fcbc5fe28438341e6b924d433326a on master.


Use minimal images for RHEL mockbuild

Now that we have minimal images built by osbuild-compsoer for CI, let's
use those for RHEL mock builds.
This PR depends on osbuild/osbuild-composer#808 to merge first.

A couple of image tests failed, but they are not related to the mock build.

Tests failed on temporary TestCrossArchDepsolve failure (#814).

I added an adjustment for fastestmirror that should fix #817.

@teg The failures are unrelated in Schutzbot (still working to fix those), but this one looks like it's building via mock properly.


Adding labelField and valueField props to enable users to pass custom objec…

Adding labelField and valueField props to enable users to pass custom objects. ex: {id: 1 ,text: 'some label'}
Updated labelField and valueField props in storybook

hi @jackkoppa any progress in this matter? can I do somthing to facilitate the issue?

hi @jackkoppa any progress in this matter? can I do somthing to facilitate the issue?

Hi @Felixclement! Thanks for your patience! With the holidays & starting back up, I've been a bit delayed. But I'll set next week as my goal for getting to this. We've discussed this PR internally, and we're happy to take this approach - I just need to test locally a bit, and then make some slight naming tweaks. We also have the benefit of being able to add specs now, now that #58 is done, which is exciting - hopefully we can include those.
If you'd like to take a stab at adding some very basic specs, feel free to do so! Otherwise, I'll target next week for that as well.
The Jest files are here: https://github.com/politico/vue-accessible-selects/tree/main/specs
We'd be looking for things along the lines of "when props are passed in to target different object properties for value or label, the component still functions as expected & still sets appropriate aria attributes"

Hi @Felixclement! Thanks for your patience! With the holidays & starting back up, I've been a bit delayed. But I'll set next week as my goal for getting to this. We've discussed this PR internally, and we're happy to take this approach - I just need to test locally a bit, and then make some slight naming tweaks. We also have the benefit of being able to add specs now, now that #58 is done, which is exciting - hopefully we can include those.
If you'd like to take a stab at adding some very basic specs, feel free to do so! Otherwise, I'll target next week for that as well.
The Jest files are here: https://github.com/politico/vue-accessible-selects/tree/main/specs
We'd be looking for things along the lines of "when props are passed in to target different object properties for value or label, the component still functions as expected & still sets appropriate aria attributes"

finally getting to this 🤦
Will have an update later today, hopefully, for now just resolved a remaining merge conflict...

Hi have noticed a scroll issue on multiselect when using keyboard arrows also! I opened an issue

Thanks @Felixclement! Really appreciate your work on this! (& will look at #74 as well)
I think we're about ready to go - I've cherry-picked your original commit to a new PR, because this one looks like it got some indentation issues during a merge resolution
Here's the new PR: #75
It'll still have your original commit - we're excited to have a new contributor!
So let's review there, and we can merge. My only change is switching from valueField -> uniqueIdField, because I wanted to indicate for future users the purpose of that property.
I also have some follow-up PRs now!

Add a lot of specs: #76
And improve the way we compare options to see what's selected: #77

But those can be merged later. Let's focus on getting #75 merged :+1:

Thanks again, Felix! Declining this PR, because the fix was already merged in #75


Progress failure

Required Information
Class: Goldsmith
Level: 60
Craftsmanship: 251 + 10 = 261
Control: 583 + 54 = 637
CP: 283
Recipe Name: [58] Rarefied Hardsilver Pole
Recipe Level: 58
Solver Seed: 5394
Expected Behaviour
Should End with a progress of 504
Actual Behaviour
Ends ingame with a progress of 477
Steps To Reproduce
(Example: Buffs, Food, Synthesis Condition, Simulator/Solver Options if different from default)
Food: Beet Soup
Startquality: 950

Will close it, as it was a human error. FFXIV shows the already added buff of the food in the attribute part of the character screen. With this the food was added twice.


add a book to salvage

About the PR
it uh adds a book i guess
a bit cringe to self insert like that but there's literally no lore on the wiki or anywhere
Screenshots

Changelog
:cl: router

add: Added an epistemics book to salvage and mail. Hope you like reading about the noosphere.

kind of surprised there isn't a random spawner somewhere for all of the salvage books


[YouTube] Strange aria2c throttling even on dedicated server

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
When i download 4K video, i have full download speed, but if i download on 720p, speed throttling at 4x time.
I have 200 MBit/s on my dedicated server.
Audio is always downloading at 500 KB/s.
Why low video / audio formats not downloading at full speed?
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
root@host:/mnt/ytdlp# yt-dlp -vU --downloader aria2c -F https://www.youtube.com/watch?v=A2_yg19Pu7Y
[debug] Command-line config: ['-vU', '--downloader', 'aria2c', '-F', 'https://www.youtube.com/watch?v=A2_yg19Pu7Y']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out UTF-8, error UTF-8, screen UTF-8
[debug] yt-dlp version<EMAIL_ADDRESS>[01aba2519] (zip)
[debug] Python 3.7.3 (CPython x86_64 64bit) - Linux-5.10.0-0.deb10.23-rt-amd64-x86_64-with-debian-10.13 (OpenSSL 1.1.1n  15 Mar 2022, glibc 2.28)
[debug] exe versions: ffmpeg 4.1.11-0, ffprobe 4.1.11-0
[debug] Optional libraries: Crypto-broken 2.6.1, certifi-2018.08.24, secretstorage-2.3.1, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1845 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 6774b889af8aec948511256bde94834063bb4729ea1e0a89a5b79e38a71e3593
yt-dlp is up to date<EMAIL_ADDRESS>[youtube] Extracting URL: https://www.youtube.com/watch?v=A2_yg19Pu7Y
[youtube] A2_yg19Pu7Y: Downloading webpage
[youtube] A2_yg19Pu7Y: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] Available formats for A2_yg19Pu7Y:
ID  EXT   RESOLUTION FPS CH │   FILESIZE    TBR PROTO │ VCODEC           VBR ACODEC      ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb2 mhtml 48x27        0    │                   mhtml │ images                                   storyboard
sb1 mhtml 80x45        0    │                   mhtml │ images                                   storyboard
sb0 mhtml 160x90       0    │                   mhtml │ images                                   storyboard
139 m4a   audio only      2 │   13.74MiB    49k https │ audio only           mp4a.40.5   49k 22k low, ANDR, m4a_dash
249 webm  audio only      2 │   12.29MiB    44k https │ audio only           opus        44k 48k low, ANDR, webm_dash
250 webm  audio only      2 │   16.27MiB    58k https │ audio only           opus        58k 48k low, ANDR, webm_dash
140 m4a   audio only      2 │   36.47MiB   129k https │ audio only           mp4a.40.2  129k 44k medium, ANDR, m4a_dash
251 webm  audio only      2 │   33.31MiB   118k https │ audio only           opus       118k 48k medium, ANDR, webm_dash
17  3gp   176x144      6  1 │   22.38MiB    79k https │ mp4v.20.3        79k mp4a.40.2       22k 144p, ANDR
394 mp4   256x144     25    │   20.14MiB    72k https │ av01.0.00M.08    72k video only          144p, ANDR, mp4_dash
160 mp4   256x144     25    │   13.71MiB    49k https │ avc1.4d400c      49k video only          144p, ANDR, mp4_dash
278 webm  256x144     25    │   24.34MiB    86k https │ vp9              86k video only          144p, ANDR, webm_dash
395 mp4   426x240     25    │   36.14MiB   128k https │ av01.0.00M.08   128k video only          240p, ANDR, mp4_dash
133 mp4   426x240     25    │   32.20MiB   114k https │ avc1.4d4015     114k video only          240p, ANDR, mp4_dash
242 webm  426x240     25    │   44.41MiB   158k https │ vp9             158k video only          240p, ANDR, webm_dash
396 mp4   640x360     25    │   81.04MiB   288k https │ av01.0.01M.08   288k video only          360p, ANDR, mp4_dash
134 mp4   640x360     25    │   71.20MiB   253k https │ avc1.4d401e     253k video only          360p, ANDR, mp4_dash
18  mp4   640x360     25  2 │ ~110.16MiB   382k https │ avc1.42001E     382k mp4a.40.2       44k 360p, ANDR
243 webm  640x360     25    │  110.22MiB   391k https │ vp9             391k video only          360p, ANDR, webm_dash
397 mp4   854x480     25    │  162.45MiB   577k https │ av01.0.04M.08   577k video only          480p, ANDR, mp4_dash
135 mp4   854x480     25    │  138.67MiB   492k https │ avc1.4d401e     492k video only          480p, ANDR, mp4_dash
244 webm  854x480     25    │  207.04MiB   735k https │ vp9             735k video only          480p, ANDR, webm_dash
22  mp4   1280x720    25  2 │ ~308.08MiB  1068k https │ avc1.64001F    1068k mp4a.40.2       44k 720p, ANDR
398 mp4   1280x720    25    │  357.14MiB  1268k https │ av01.0.05M.08  1268k video only          720p, ANDR, mp4_dash
136 mp4   1280x720    25    │  264.51MiB   939k https │ avc1.4d401f     939k video only          720p, ANDR, mp4_dash
247 webm  1280x720    25    │  417.04MiB  1481k https │ vp9            1481k video only          720p, ANDR, webm_dash
399 mp4   1920x1080   25    │  676.53MiB  2402k https │ av01.0.08M.08  2402k video only          1080p, ANDR, mp4_dash
137 mp4   1920x1080   25    │    1.14GiB  4155k https │ avc1.640028    4155k video only          1080p, ANDR, mp4_dash
248 webm  1920x1080   25    │  734.27MiB  2607k https │ vp9            2607k video only          1080p, ANDR, webm_dash
400 mp4   2560x1440   25    │    2.14GiB  7780k https │ av01.0.12M.08  7780k video only          1440p, ANDR, mp4_dash
271 webm  2560x1440   25    │    2.40GiB  8713k https │ vp9            8713k video only          1440p, ANDR, webm_dash
401 mp4   3840x2160   25    │    4.21GiB 15307k https │ av01.0.12M.08 15307k video only          2160p, ANDR, mp4_dash
313 webm  3840x2160   25    │    4.80GiB 17467k https │ vp9           17467k video only          2160p, ANDR, webm_dash

root@host:/mnt/ytdlp# yt-dlp --downloader aria2c -f 401 https://www.youtube.com/watch?v=A2_yg19Pu7Y
[youtube] Extracting URL: https://www.youtube.com/watch?v=A2_yg19Pu7Y
[youtube] A2_yg19Pu7Y: Downloading webpage
[youtube] A2_yg19Pu7Y: Downloading android player API JSON
[info] A2_yg19Pu7Y: Downloading 1 format(s): 401
[download] Destination: 4K Golden Sunrise - Nature Relaxation Video - Relaxing Sea Ocean Waves Sounds - NO MUSIC - UHD 2160p [A2_yg19Pu7Y].mp4
[#d56891 308MiB/4.2GiB(7%) CN:16 DL:22MiB ETA:2m55s]

root@host:/mnt/ytdlp# yt-dlp --downloader aria2c -f 247 https://www.youtube.com/watch?v=A2_yg19Pu7Y
[youtube] Extracting URL: https://www.youtube.com/watch?v=A2_yg19Pu7Y
[youtube] A2_yg19Pu7Y: Downloading webpage
[youtube] A2_yg19Pu7Y: Downloading android player API JSON
[info] A2_yg19Pu7Y: Downloading 1 format(s): 247
[download] Destination: 4K Golden Sunrise - Nature Relaxation Video - Relaxing Sea Ocean Waves Sounds - NO MUSIC - UHD 2160p [A2_yg19Pu7Y].webm
[#fc1e5c 53MiB/417MiB(12%) CN:16 DL:5.5MiB ETA:1m5s]

root@host:/mnt/ytdlp# yt-dlp --downloader aria2c -f 140 https://www.youtube.com/watch?v=RAX_I4AgjiU
[youtube] Extracting URL: https://www.youtube.com/watch?v=RAX_I4AgjiU
[youtube] RAX_I4AgjiU: Downloading webpage
[youtube] RAX_I4AgjiU: Downloading android player API JSON
[info] RAX_I4AgjiU: Downloading 1 format(s): 140
[download] Destination: 8 Hours of Relaxing Campfire by a Lake at Sunset in 4k UHD, Stress Relief, Meditation & Deep Sleep [RAX_I4AgjiU].m4a
[#f47f2d 8.2MiB/444MiB(1%) CN:16 DL:504KiB ETA:14m46s]

root@host:/mnt/ytdlp# aria2c -v
aria2 version 1.36.0
Copyright (C) 2006, 2019 Tatsuhiro Tsujikawa

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

** Configuration **
Enabled Features: BitTorrent, GZip, HTTPS, Message Digest, Metalink, XML-RPC
Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5, adler32
Libraries: zlib/1.2.11 libxml2/2.9.4 OpenSSL/1.1.1n
Compiler: gcc 8.3.0
  built by  x86_64-pc-linux-gnu
  on        Jun 17 2023 15:38:54
System: Linux 5.10.0-0.deb10.23-rt-amd64 #1 SMP PREEMPT_RT Debian 5.10.179-1~deb10u1 (2023-05-26) x86_64

Report bugs to https://github.com/aria2/aria2/issues
Visit https://aria2.github.io/

yt-dlp --downloader aria2c -f 140 https://www.youtube.com/watch?v=RAX_I4AgjiU

With that command, I can reproduce the slow download speed with aria2c. But I get normal download speed with native http downloader.
aria2c doesn't use the 10M http chunk size that native uses to bypass one of youtube's layers of throttling, because of the nature of how aria2c downloads files (splitting a file into multiple concurrent downloads). This could be the reason for the slower download speed? Passing --downloader-args "aria2c:--min-split-size 10M" didn't seem to help any though.
I guess the workaround is: don't use aria2c

yt-dlp --downloader aria2c -f 140 https://www.youtube.com/watch?v=RAX_I4AgjiU

With that command, I can reproduce the slow download speed with aria2c. But I get normal download speed with native http downloader.
aria2c doesn't use the 10M http chunk size that native uses to bypass one of youtube's layers of throttling, because of the nature of how aria2c downloads files (splitting a file into multiple concurrent downloads). This could be the reason for the slower download speed? Passing --downloader-args "aria2c:--min-split-size 10M" didn't seem to help any though.
I guess the workaround is: don't use aria2c

I temporarily fixed the problem, I compiled aria2c without --max-connections 16 limit, and set aria2c with 64 connections via --downloader-args, works well.

I don't see an option in aria2 docs to control http chunk size. So nothing we can do.


switch element disabled doesn't work as expected

Even passing disabled={false} renders disabled element.
I had to have something like disabled={isDefault ? true : undefined} in order to get it working (isDefault has a bool value in my example.) So passing undefined instead of false works.

@rockneverdies55 thanks you it will be fixed in the next release.


App merged a Pull Request, something that should never happen

Squash Commit App should only add an extra commit to Pull Requests with one commit but it was found a pull request which was merged by the App:
https://github.com/octokit/request.js/pull/420

[x] Suspended the App in Octokit GitHub organization until the issue is solved
[x] Invalidated Private Keys associated to the app just in case this could be an attack
[ ] To check Begin logs @gr2m
[ ] To check octokit/request.js Webhook event logs @gr2m
[ ] Waiting answer to Github Community questions [1] [2]

One cool action would be to be more granular on which permissions has squash-commit-app. Right now, when giving read&write access to Contents is opening the door to add commits to a branch (necessary) but also to merge pull requests (undesired). Do you know if this is possible @gr2m? (I already posted the question in GitHub Community)

Reviewing Event details happened on the squash-commit-app I don't see any clue on who triggered that merge:
https://github.com/organizations/squash-commit-app/settings/apps/squash-commit-app/advanced -> and look for 2ab86410-0925-11ec-895e-e13d7a8e8253
Maybe we could check https://github.com/octokit/request.js/settings/hooks but I guess we will find the same webhook probably.
Do we have any kind of logs in Begin?

One cool action would be to be more granular on which permissions has squash-commit-app

Unfortunately the granularity of permissions is a known problem. I don't think there is a better permission that we can use right now.

https://github.com/octokit/request.js/settings/hooks

there are no manual webhooks setup
I also contacted support, they have tools like looking up requests authenticated by a certain actor I think, I hope they will be able to help us understand what's going on

I got a response from GitHub Support

good enough for me, I think we can close this issue now.

Nice! Mistery solved! I didn't know this pull_request.indirect_merge thing


typesripted useQuery not working

Using the following slightly edited react-query example provided via the docs, all it is doing is providing strongly typed parameters  -
const getPostById = async (key: string, { id }: { id: number }) => {
    const { data } = await axios.get(
        `https://jsonplaceholder.typicode.com/posts/${id}`
    );
    return data;
};

And after attempting to implement it as below
    const postId = 1;
    const { status, data, error, isFetching } = useQuery(
        Boolean(postId) && ["post", { id: postId }],
        getPostById
    );

I keep getting the following typescript error:
Argument of type '(key: string, { id }: { id: number; }) => Promise<any>' is not assignable to parameter of type 'QueryFunction<any, object>'.ts(2345)

I'm at my wits end trying to get this to work so any help would be greatly appreciated.
Also, after appending a "// @ts-nocheck" at the top of the page everything works as expected, so i do believe the library is working as intended, its just infuriating trying to get typescript and this library to play nice. As a reference im using 1.1.3 of react-query and 0.3.9 of @types/react-query.

Yeah those types are clearly out of date. I’m not sure how to make them work without updating them.

Ahh rightio thats a shame, cheers for the quick reply

Still not working on version 3.2.0

@Myzel394 Please upgrade to 3.3.0 and open a new issue with a codesandbox/info

I figured out that if you inline the function this problem goes away (as of v3.5.12):
const getPostById = async ({ id }: { id: number }) => {
    const { data } = await axios.get(
        `https://jsonplaceholder.typicode.com/posts/${id}`
    );
    return data;
}

const postId = 1;
const { status, data, error, isFetching } = useQuery(
    Boolean(postId) && ["post", { id: postId }],
    () => getPostById(postId)
);

I figured out that if you inline the function this problem goes away (as of v3.5.12):
const getPostById = async ({ id }: { id: number }) => {
    const { data } = await axios.get(
        `https://jsonplaceholder.typicode.com/posts/${id}`
    );
    return data;
}

const postId = 1;
const { status, data, error, isFetching } = useQuery(
    Boolean(postId) && ["post", { id: postId }],
    () => getPostById(postId)
);


Bump dependency versions

$Subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6903636678

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6903636678
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6904973898

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6904973898
Status: success


Vignettes not accessible from package

library(palmerpenguins)
sessionInfo()
#> R version 4.0.5 (2021-03-31)
#> Platform: x86_64-apple-darwin17.0 (64-bit)
#> Running under: macOS Mojave 10.14.6
#>
#> Matrix products: default
#> BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
#>
#> locale:
#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
#>
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base
#>
#> other attached packages:
#> [1] palmerpenguins_0.1.0
#>
#> loaded via a namespace (and not attached):
#>  [1] compiler_4.0.5  magrittr_1.5    tools_4.0.5     htmltools_0.5.0
#>  [5] yaml_2.2.1      stringi_1.4.6   rmarkdown_2.6   highr_0.8
#>  [9] knitr_1.29      stringr_1.4.0   xfun_0.15       digest_0.6.25
#> [13] rlang_0.4.7     evaluate_0.14
vignette(package = "palmerpenguins")
#> no vignettes found

Created on 2021-06-14 by the reprex package (v0.3.0)
This discussion may be relevant.

Thanks @statisfactions , we appreciate you reaching out. This was intentional on our end to minimize package dependencies (expecting that the package website will be the primary place that users access vignettes). The vignettes/ folder is currently in the .Rbuildignore file so that it does not end up on CRAN and in the package, and stays just for pkgdown website.

Thanks, that makes sense!
Maybe you could remove the references to vignette("examples") and vignette("art"), in the README, since the vignettes are not accessible in that way?


[sql] Number returns as null

When I do such request:
await db.select('SELECT COUNT(*) AS "count" FROM (SELECT * FROM "notes")');

The result is:
[{"count":null}]

I use #release branch

I'm not so sure if checking the column's declared type is the right approach. SQLite is dynamically typed, with the concept of type affinity (a preferred but not guaranteed type). Basically, the declared type is not necessarily the type that's returned. The affinity is determined by the declared type, but the type can be any string, with sometimes unexpected affinities.

Note that a declared type of "FLOATING POINT" would give INTEGER affinity, not REAL affinity, due to the "INT" at the end of "POINT". And the declared type of "STRING" has an affinity of NUMERIC, not TEXT.

So it's best to ignore the column type and instead check the type of the returned value.

we're not checking the declared type. column.type_info() is supposed to report back the real type (affinity), at least if i understood the inner workings of sqlx correctly...
I do agree that not checking the type would be better but i didn't find a way to do that with sqlx. This would also make it easier to support functions (like COUNT(*) from the issue description).

we're not checking the declared type.

Ah, then I misunderstood the code. My bad.

Yep, looks like it works.

Nice! No worries, I'm just grateful that Tauri and this plugin exists :)


Update Utils.php

If $out/$next is nullable then getNumberOfRequiredParameters() will return 3 for a valid error handler with a null $out/$next causing the error detection to fail unless you use the ErrorMiddlewareInterface.
I think it's intended to use getNumberOfParameters() here.
EDIT There's a few other places in that file that would need changed but I'll wait until I hear back from you.

I'll have to figure out the tests but wanted your (@weierophinney) input first.

@spiffyjr Error handlers are defined as having exactly four required parameters; i.e., the $out/$next argument is not nullable.
Interestingly, I'm considering making the $out/$next argument on middleware required; having it nullable means that technically you need to check to see if it's non-empty before you call it, which I think is a bit of a burden for development.

Alright, that's fine. I assumed the final argument ($next/out) was not required.
I agree with the last argument being required. It's become a pain to type return $next ? $next($req, $res) : $res; continually.


Update pureconfig-core to 0.17.8

About this PR
📦 Updates com.github.pureconfig:pureconfig-core from 0.17.7 to 0.17.8
📜 GitHub Release Notes - Changelog - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.pureconfig", artifactId = "pureconfig-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.pureconfig", artifactId = "pureconfig-core" }
}]

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

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

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
4932

Relevant Lines:
6712

💛  - Coveralls


Add TimePicker

Description
This is an input component that allows you to input and select the time.

https://element-plus.org/en-US/component/time-picker.html

Problem Statement/Justification
Currently, there is a DatePicker component to select dates, but no TimePicker component to select times.
Proposed Solution or API
No response
Alternatives
No response
Are you willing to participate in implementing this feature and create a pull request include the implementation?
None
Additional Information
No response

I've seen some plans for TimePicker, whether there are further plans for RangePicker(date and time), such as antd?


Listening to port through RDP

Hi
I have Quasar Rat setup on both the client and server side, and it'sworking beautifully when I listen to th3 port from a local session.
However today I tried RDPing to the same machine through the internet, and my server does not pick up the connection on the same port, on the same machine. I first tried via a VPN I set up, then I tried a direct connection using port forwarding.
Either way ... i can't catch the client communication through RDP,  even through everything works fine on the same machine with a local session
I'm fairly technical, but not a RDP expert. Anyone has ideas on what i should be investigating?

Sounds like you need to brush up on your basic networking.
When you say you tried "RDPing" to the machine through the internet....do you mean Remote Desktop Protocol or simply you tried to access the machine remote like Quasar.
Either way...it sounds like the machine you want to access remotely is behind a NAT and you will need to setup port forwarding. If that is a foreign concept to you (and it is, clearly) it makes me wonder what in the world you're doing compiling this code and trying to get it to run.....

Do you mean like port forwarding in ssh? I don't think MS RDP does support that.


Added links to the Profiler deep-dive YouTube video

Meh 😄 I'll revert or modify if there are later suggestions.


include references for where constants are obtained from in autogen_parameters.csv file

Atm it is not specified whether each parameter is identified from data, obtained from literature, or measurement. I plan on including another column in the autogen_parameters.csv file that references where the value comes from. The short reference messages in the file, such as "Blanco2016" will, be described in another file called data_references.txt.
By including this I can have a references "Identified_from_data" and "to_be_identified_from_data" So we can put checks in the autogeneration code that warns if the parameters used have not yet been identified from physiological data.

I cited all the references in the parameters_autogen.csv file.

Hi Soroush,
Thank you! Could you please specify what fork and branch you have done this in?


[v1.4.0 BETA] Issues syncing between FF & Chrome

Steps to reproduce

Create new sync on FF
Create new sync on Chrome (to pull down the bookmarks from step 1)
Make change to FF, let it sync
Make change to Chrome, it'll be blocked and it'll re-download the changes from FF
Do this a few more times on either side.

Expected behaviour
It's ok for current changes (adding/removing of a bookmark) to be lost but notified. Claiming things were out of sync and the previous change must be re-done.
Actual behaviour
I've done a bit of changes using the bookmarks bar between the 2 browsers, and I've found that there are times were a bookmark just gets lost. Is there parsing of the bookmark URL? The 2 that seem to be confused are

https://mail.google.com/mail/
https://mail.google.com/a/domain.com

Client app information
App Platform: (Chrome, Firefox, iOS, etc)
Chrome - Version 67.0.3396.79 (Developer Build) Fedora Project (64-bit)
FF - 61.0.1 (64-bit)
Other info
The testing I did was primarily within the Bookmarks bar area. Simply dragging URLs into the bar.

Thanks for raising this @matthewdavis. I've checked in a few bug fixes which I suspect can explain why you were seeing odd behaviour with missing bookmarks after conflicts were detected.
I've uploaded new executables to the release page, could I trouble you to uninstall your current version of v1.4.0 on both Chrome and Firefox, then install the new versions and see if you can re-create the issue?

Sorry just now getting back to you on this one. My initial tests seem to be good. I don't see anymore lost bookmarks. Good job! This feature looks to make it feature complete to be a proper xmarks replacement.

Glad to hear it @matthewdavis!

FYI @matthewdavis, I've uploaded new builds which have fixed a number of issues with automatic checking for sync updates between browsers which might have contributed to this issue.
I'm going to close this now but feel free to re-open if necessary.


[JuliaCon/proceedings-review] Performance metrics

Hi all,
q1) what is the reason behind focusing on T_eff and not on Gpts/s as commonly used in papers reporting stencil performance?
q2) Figure 2 shows that using the math-close notation, performance slightly drops compared to explicitly expressing the stencil computation. Where is this slowdown coming from?

Thank you for the questions, @georgebisbas.

q1) what is the reason behind focusing on T_eff and not on Gpts/s as commonly used in papers reporting stencil performance?

The reason is that for T_eff we can define in a straightforward fashion a theoretical upper bound, which is simply T_peak, the peak memory throughput of the hardware used.

q2) Figure 2 shows that using the math-close notation, performance slightly drops compared to explicitly expressing the stencil computation. Where is this slowdown coming from?

The slowdown is coming from the generation of slightly more complex code, for example for avoiding out-of-bounds accesses.

Thank you for your answers @omlins.
Regarding q1, is it possible to also add gpts/s for the experiments executed?
I think it would be a useful addition.

@georgebisbas : thank you for your suggestion. We will try to accommodate it in the same plot.

regarding q2, if one runs the code with deactivated bounds checking, should you regain performance?

regarding q2, if one runs the code with deactivated bounds checking, should you regain performance?

No this is explicit bounds checking that you cannot just deactivate


Failure in launching traffic-portal in dev-environment

I'm synced to 2.1.x latest. Ran grunt to launch the portal and the below appears  in the output. Probably as a result of the error, the portal show blank screen.
Running "browserify2:app-dev" (browserify2) task

Error: module "./modules/private/monitor/map" not found from "/root/work/git/traffic_control/traffic_portal/app/src/app.js"
File written to: ./app/dist/public/resources/assets/js/app.js

This will fail in more than a dev environment. Needs to be fixed ASAP.

@mitchell852 I'm assuming this doesn't exist in master since you only oped the one PR. Closing issue.


Waiting for the build to show up in the build list NOT WORKING

Hi,
I have a lane that uploads the versions to Testflight.
This does not work properly because the lane does not end, while in AppStore Connect the process is finished, this does not automatically accept it:
[12:45:50]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[12:46:21]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[12:46:52]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[12:47:23]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[12:47:53]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
....

🚫 fastlane environment 🚫
Stack

Key
Value

OS
12.4

Ruby
3.1.2

Bundler?
false

Git
git version 2.32.1 (Apple Git-133)

Installation Source
/opt/homebrew/Cellar/fastlane/2.208.0/libexec/bin/fastlane

Host
macOS 12.4 (21F79)

Ruby Lib Dir
/opt/homebrew/Cellar/ruby/3.1.2/lib

OpenSSL Version
OpenSSL 1.1.1n  15 Mar 2022

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

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

Xcode Version
13.4.1

Swift Version
5.6.1

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.208.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

error_highlight
0.3.0

did_you_mean
1.6.1

atomos
0.1.3

rexml
3.2.5

CFPropertyList
3.0.5

claide
1.1.0

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.22.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.8.0

terminal-table
1.8.0

plist
3.6.0

public_suffix
4.0.7

addressable
2.8.0

multipart-post
2.0.0

word_wrap
1.0.0

optparse
0.1.1

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
2.0.3

commander
4.6.0

excon
0.92.3

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

faraday-multipart
1.0.4

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.5

faraday-cookie_jar
0.0.7

faraday_middleware
1.2.0

fastimage
2.2.6

gh_inspector
1.1.3

mini_magick
4.11.0

naturally
2.2.1

rubyzip
2.3.2

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
2.3.11

simctl
1.6.8

jwt
2.4.1

uber
0.1.0

declarative
0.0.20

trailblazer-option
0.1.2

representable
3.2.0

retriable
3.1.2

mini_mime
1.1.2

memoist
0.16.2

multi_json
1.15.0

os
1.1.4

signet
0.17.0

googleauth
1.2.0

httpclient
2.8.3

webrick
1.7.0

google-apis-core
0.7.0

google-apis-playcustomapp_v1
0.10.0

google-apis-androidpublisher_v3
0.25.0

google-cloud-env
1.6.0

google-cloud-errors
1.2.0

google-cloud-core
1.6.0

google-apis-iamcredentials_v1
0.13.0

google-apis-storage_v1
0.18.0

rake
13.0.6

digest-crc
0.6.4

google-cloud-storage
1.37.0

emoji_regex
3.2.3

jmespath
1.6.1

aws-partitions
1.608.0

aws-eventstream
1.2.0

aws-sigv4
1.5.0

aws-sdk-core
3.131.3

aws-sdk-kms
1.58.0

aws-sdk-s3
1.114.0

set
1.0.2

json
2.6.2

forwardable
1.3.2

logger
1.5.0

pathname
0.2.0

shellwords
0.1.0

cgi
0.3.1

date
3.2.2

timeout
0.2.0

stringio
3.0.1

securerandom
0.1.1

uri
0.11.0

openssl
3.0.0

digest
3.1.0

io-nonblock
0.1.0

ipaddr
1.2.4

io-wait
0.2.1

zlib
2.1.1

resolv
0.2.1

time
0.2.0

open-uri
0.2.0

mutex_m
0.1.1

net-protocol
0.1.2

net-http
0.2.0

ostruct
0.5.2

english
0.7.1

erb
2.2.3

strscan
3.0.1

abbrev
0.1.0

io-console
0.5.11

tempfile
0.1.2

delegate
0.2.0

fileutils
1.6.0

tmpdir
0.1.2

base64
0.1.1

singleton
0.1.1

open3
0.1.1

nkf
0.1.1

prettyprint
0.1.1

pp
0.3.0

find
0.1.1

yaml
0.2.0

psych
4.0.3

generated on: 2022-07-28

I face the same issue, did you find solution


Total Commander 11.10 Crack With License Key Free Download

Total Commander 11.10 Crack With License Key Free Download
Total Commander License Key Support’s proxy Servers while working with FTP can set the right time you desire for the connection and disconnection consequently. Also, you can directly change the title; many files conserve the articles of a text file like glue and cut large files. Please note that the file manager feature makes it easy to continue all sorts of plug-ins you can log precisely into the application to display the image. it’s more beneficial for working with multimedia information. Total Commander Crack is the latest powerful fantastic file manager software that offers you an excellent file management system. It assists you with a unique way to manage the files of your PC system with an innovative and robust style.
Download Now

▶▶DOWNLOAD Full Setup🢃
▶▶Free Crack Download📥
.
.
.
.


feat: Support Parallel Segment Fetching

closes https://github.com/shaka-project/shaka-player/issues/4658.
This solution is inspired by abandoned PR https://github.com/shaka-project/shaka-player/pull/2809, which implements segment prefetching ahead of current play head.

Thanks for your patience, I'll try to review it throughout this week.

I skimmed this PR, and it looks interesting and well-constructed.  You've designed something that appears to address most of my concerns, it defaults to 0 (good for low-memory devices), and the prefetcher cleans up after itself so it doesn't hold onto an unbounded number of segments.  This could also be useful in a future implementation of #880 (preload API).
I haven't read it in detail, and I have some deadlines to get AV sync fixes done this week before we go on holidays at Google.  But I will come back to this in January for a detailed review, and I expect this is something that will ultimately ship in Shaka Player.
Thanks for your contribution!

Thanks @joeyparrish !
Assuming this change goes into main branch in January, when a new version that has the change will be released ?
Asking so we can plan accordingly in case the change is not expected to be released soon.
Thanks !

We can make a feature release at any time.  We don't have a fixed release cycle.

@tyrelltle can you rebase and resolve the conflicts? Thanks!

@avelad yes I just rebased now

@theodab thanks for the comments !
Agree all of them and will make sure address them early next week

@theodab thanks for the comments ! Agree all of them and will make sure address them early next week

addressed some of the comments, will finish other ones by tomorrow

Thanks for the work, by the way.

Thanks for the comments I updated all of them. Let me know if any other suggestions :)


Is it possible to ensure that a runtime is installed using this package?

I would like users to install WebView2 when installing my app.
https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution
Is it something we can do?
Anyway thank you for your work!

hello
Yes, you can use WebView2 in your flutter app, and use msix to install it.
you can use the webview_windows package to add WebView2 to your app.

install webview_windows
replace your main.dart content with this example code
test it... and then install the msix package and create msix installer

result:

Thank you for the answer!
I’m already using the webview_windows package, but Webview2 is not included in it, we have to install it separately

i see, let me check..

See MSIX support for WebView2 is lacking at the moment
In the meantime, you can install it at runtime as describe in your link,
first check if WebView2 Runtime is already install, if not, install it (silently).

install dependencies:

dependencies:
  ffi: ^1.1.2
  win32: ^2.3.0

download the WebView2 Runtime installer (click on "Get the Link") and save it in your project assets folder (lets say in "myAssets/MicrosoftEdgeWebview2Setup.exe")
update the msix configuration field assets_directory_path for example:

msix_config:
  assets_directory_path: 'C:\Users\me\Desktop\flutter_again\myAssets'

in your project, create a file webview_install.dart with the code:

import 'dart:ffi';
import 'dart:io';
import 'package:ffi/ffi.dart';
import 'package:win32/win32.dart';

bool isWebView2RuntimeIsInstalled() {
  var webView2RuntimeRegKey =
      r'SOFTWARE\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
          .toNativeUtf16();
  var webView2RuntimeReg64Key =
      r'SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
          .toNativeUtf16();
  final phKey = calloc<HANDLE>();

  var isInstalled = RegOpenKeyEx(HKEY_LOCAL_MACHINE, webView2RuntimeRegKey, 0, KEY_READ, phKey) ==
          ERROR_SUCCESS ||
      RegOpenKeyEx(HKEY_LOCAL_MACHINE, webView2RuntimeReg64Key, 0, KEY_READ, phKey) ==
          ERROR_SUCCESS;

  free(phKey);
  free(webView2RuntimeRegKey);
  free(webView2RuntimeReg64Key);

  return isInstalled;
}

Future installWebView2() async {
  await Process.run('myAssets/MicrosoftEdgeWebview2Setup.exe', ['/silent', '/install']); // remove '/silent' for interactable installation
}

in your code (at the very start), execute the code (and show some loading icon until its finish to install):

import 'webview_install.dart';

if (!isWebView2RuntimeIsInstalled()) {
     await installWebView2();
 }

btw, its recommended to add needed WebView capabilities in your msix configuration, for example:
msix_config:
  assets_directory_path: 'C:\Users\me\Desktop\flutter_again\myAssets'
  capabilities: 'internetClient, internetClientServer, privateNetworkClientServer, enterpriseAuthentication, sharedUserCertificates, enterpriseCloudSSO, location, microphone, webcam'

Wow thank you so much for this detailed answer!


Define a clear End of of Life / Supported versions policy and documentation

Currently there is no place to look for the supported versions by OpenSearch, or is currently just the latest release supported?
Old project has a good and clear reference of supported versions and a specific plan https://www.elastic.co/support/eol
Describe the solution you'd like
There should be a clear document mentioning the current supported versions, if there is any rule to support latest 2-n releases and even if there is any LTS kind of support for older versions (E.g. 1.0)

Thanks, @julian-alarcon .  Good suggestion.   Flagging for @elfisher

I'm moving this to https://github.com/opensearch-project/project-website since that's where we should publish this.


JAVA-1354: JSON date parsing - support for timezones other than 'Z'

This is an elaborated version of first fix (which only used 'X' in parsing pattern). Right now it works best on java 1.7+ but has some fallback code to support java 1.6 as well. Quick performance tests shows that on java 1.6 it is around 3 times slower than original version.

As of MongoDB 3.0 mongoexport outputs dates in Zulu time:
 ~$ /mongodb/mongodb-3.0.default/bin/mongoexport -d test -c d
{"_id":{"$oid":"58c1e8ef28489b68ac9feeb8"},"d":{"$date":"2017-03-09T23:44:47.898Z"}}

Since MongoDB 2.6 (the release prior to 3.0) will be EOLed this fall, I'm not convinced that this issue should be addressed at all.
I'm going to close this PR, but please let us know if you have a use case that really requires this, and we can reconsider.


Fix: Session expiry set to 2 hours

Summary | Résumé
fixes: #3574
The NextAuth middleware was using the default value of 30 days for session length even though the main NextAuth configuration in the app was set to 2 hours.  This was creating a condition where the middleware would overwrite the JWT token expiry and the effectively remove the 2 hour limitaiton.
Fix:

Explicitly set the session length for the JWT in the middleware configuration

Test instructions | Instructions pour tester la modification

Verify next auth session cookie in Staging will have expiry set for 30 days after logging in.
Ensure PR Review environment has same cookie set for 2 hours after logging in.

Unresolved questions / Out of scope | Questions non résolues ou hors sujet

Dig deeper into the code base of Auth JS to see if there is a way to reduce the possible duplication of setting cookies between the middleware running on Edge and the Node application.

good catch


Pushing new schema via console stuck at "A deployment is in progress"

How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
v16.17.1
Amplify CLI Version
12.2.3
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes were made.
Describe the bug
I am using AWS Amplify to provision my services. I pushed a new schema into my "dev" environment using the CLI but am facing this issue:
🛑 A deployment is in progress.
🛑 If the prior rollback was aborted, run:
🛑 "amplify push --iterative-rollback" to rollback the prior deployment
🛑 "amplify push --force" to re-deploy
All the logs say  "UPDATE_COMPLETE" and even amplify push --force or --iterative-rollback does not work as they give this same error.
Expected behavior
New schema change to be visible and live in my environment with no deployment issues. No deployment is visibly in progress at the moment and it has been over 8 hours.
Reproduction steps

Change existing schema to:

type User
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
auth_id: String!
role: String
membership_plan: String
membership_status: String
payment_plan: String
payment_status: String
email: String!
name: String
phone: String
birthday: String
sex: String
configuration: Configuration
setting: Setting
conditions: [Condition]
dimensions: [Dimension]
routines: [Routine]
entries: [Entry]
images: [Image]
products: [Product]
medications: [Medication]
symptoms: [Symptom]
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Configuration
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
user_id: ID!
last_onboarding_phase_completed: String
default_condition: String
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Setting
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
user_id: ID!
biometric_protection_enabled: Boolean
privacy_mode_enabled: Boolean
blur_mode_enabled: Boolean
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Product
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
product_id: String!
user_id: ID!
title: String
category: String
ingredients: String
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Medication
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
medication_id: String!
user_id: ID!
title: String
form: String
strength: Float
strength_unit: String
active_ingredients: String
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Symptom
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
symptom_id: String!
user_id: ID!
title: String
description: String
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Dimension
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
user_id: ID!
title: String
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Routine
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
user_id: ID!
linked_date: AWSDateTime
executed_time: AWSDateTime
entries: [Entry]
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Condition
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
user_id: ID!
title: String
default_camera: String
dimensions: [Dimension]
routines: [Routine]
products: [Product]
medications: [Medication]
symptoms: [Symptom]
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Entry
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
user_id: ID!
condition_id: ID!
routine_id: ID!
linked_date: AWSDateTime
summary: String
dimensions: [Dimension]
products: [Product]
medications: [Medication]
symptoms: [Symptom]
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}
type Image
@model(timestamps: { createdAt: "created_at", updatedAt: "updated_at" })
@auth(
rules: [
{ allow: owner, operations: [read, create, update, delete] }
{ allow: groups, groups: ["Admin"], provider: userPools }
{ allow: public, provider: iam, operations: [read] }
]
) {
id: ID!
user_id: ID!
entry_id: ID
routine_id: ID
dimension_id: ID
linked_date: AWSDateTime
captured_date: AWSDateTime
original_size: String
file_name: String
metadata: String
created_at: AWSDateTime
updated_at: AWSDateTime
version: Int
}

Amplify push in CLI

Project Identifier
Project Identifier: 1562bf7aa6bff9533573b303fc4c2dfd
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Following this stack overflow comment and it worked -- https://stackoverflow.com/questions/67591571/aws-amplify-cannot-iteratively-rollback-as-the-following-step-does-not-contai
Deleted deployment-state.json from S3 bucket


Fix remote subnet tracking, other stuff

PR Description

Fix the GossipTopicDasPeerCustodyTracker to track remote subscribtions periodically
P2PConfig.getDasExtraCustodySubnetCount: cap the value in the config to avoid overflows
SimpleSidecarRetriever: Add more synchronized
SimpleSidecarRetriever: add logging stats on the number of custody peers available for columns

and in DataColumnSidecarSubnetBackboneSubscriber.getTotalSubnetCount()


analyzer_benchmark flutter_repo_batch_maximum & flutter_repo_watch_maximum regressions...

As of https://github.com/flutter/flutter/pull/58812.
 I'm also thinking that this is a candidate for rebaseling.

This is continuing to regress further. Raising priority.

This has recovered as of https://github.com/flutter/flutter/pull/60564.


Outdated documentation (example section)

Current behaviour
The documentation section example does not show the new release example.
Expected behaviour
The documentation section example is up to date accordingly latest release, and follow default behavior.
How to reproduce?
Suggestion(s)/solution(s) [Optional]
Checklist (after created issue)

[x] Added label(s)
[x] Added to project
[x] Added to milestone

Closed with: https://github.com/fredrikhgrelland/terraform-nomad-minio/pull/84

Reopening: https://github.com/fredrikhgrelland/terraform-nomad-minio/pull/88#issuecomment-725269091


test(client): added test for unix domain sockets

This PR addresses issue #6088

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Can't execute embulk if I install with gem install

Problem
The latest(0.8.20) embulk can't execute if I install with gem install.
I got the following exception.
~/.rbenv/shims/embulk
NameError: missing class name (`org.embulk.EmbulkVersion')
  method_missing at org/jruby/javasupport/JavaPackage.java:261
           usage at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/embulk-0.8.20/lib/embulk/command/embulk_run.rb:364
             run at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/embulk-0.8.20/lib/embulk/command/embulk_run.rb:17
          <main> at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/embulk-0.8.20/lib/embulk/command/embulk_main.rb:2
         require at org/jruby/RubyKernel.java:956
          (root) at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
          <main> at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
            load at org/jruby/RubyKernel.java:974
          <main> at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/bin/embulk:22

Why this exception raise?
The command refer version information before load java class org.embulk.EmbulkVersion.

execute bin/embulk

require 'embulk/command/embulk_main'

call usage method
refer org.embulk.EmbulkVersion::VERSION

Environment
ProductName:	Mac OS X
ProductVersion:	10.12.4
BuildVersion:	16E195

ruby -v
jruby <IP_ADDRESS> (2.3.1) 2016-09-07 036ce39 Java HotSpot(TM) 64-Bit Server VM 25.112-b16 on 1.8.0_112-b16 +jit [darwin-x86_64]

Embulk 0.8.20
gem install embulk
Successfully installed embulk-0.8.20
1 gem installed

~/.rbenv/shims/embulk
NameError: missing class name (`org.embulk.EmbulkVersion')
  method_missing at org/jruby/javasupport/JavaPackage.java:261
           usage at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/embulk-0.8.20/lib/embulk/command/embulk_run.rb:364
             run at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/embulk-0.8.20/lib/embulk/command/embulk_run.rb:17
          <main> at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/embulk-0.8.20/lib/embulk/command/embulk_main.rb:2
         require at org/jruby/RubyKernel.java:956
          (root) at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
          <main> at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
            load at org/jruby/RubyKernel.java:974
          <main> at /Users/user/.rbenv/versions/jruby-<IP_ADDRESS>/bin/embulk:22

Embulk 0.8.18
gem install embulk -v 0.8.18
Fetching: bundler-1.14.6.gem (100%)
Successfully installed bundler-1.14.6
Fetching: msgpack-0.7.6-java.gem (100%)
Successfully installed msgpack-0.7.6-java
Fetching: liquid-3.0.6.gem (100%)
Successfully installed liquid-3.0.6
Fetching: rjack-icu-<IP_ADDRESS>-java.gem (100%)
Successfully installed rjack-icu-<IP_ADDRESS>-java
Fetching: embulk-0.8.18-java.gem (100%)
Successfully installed embulk-0.8.18-java
5 gems installed

~/.rbenv/shims/embulk
Embulk v0.8.18
Usage: embulk [-vm-options] <command> [--options]
Commands:
   mkbundle   <directory>                             # create a new plugin bundle environment.
   bundle     [directory]                             # update a plugin bundle environment.
   run        <config.yml>                            # run a bulk load transaction.
   cleanup    <config.yml>                            # cleanup resume state.
   preview    <config.yml>                            # dry-run the bulk load without output and show preview.
   guess      <partial-config.yml> -o <output.yml>    # guess missing parameters to create a complete configuration file.
   gem        <install | list | help>                 # install a plugin or show installed plugins.
                                                      # plugin path is
   new        <category> <name>                       # generates new plugin template
   migrate    <path>                                  # modify plugin code to use the latest Embulk plugin API
   example    [path]                                  # creates an example config file and csv file to try embulk.
   selfupdate [version]                               # upgrades embulk to the latest released version or to the specified version.

VM options:
   -J-O                             Disable JVM optimizations to speed up startup time (enabled by default if command is 'run')
   -J+O                             Enable JVM optimizations to speed up throughput
   -J...                            Set JVM options (use -J-help to see available options)
   -R...                            Set JRuby options (use -R--help to see available options)

Use `<command> --help` to see description of the commands.

Note
Reported-by: sesame

gist
twitter

@hiroyuki-sato Thanks.
Although we plan to remove this embulk.gem in the next major release (v0.9?), but it is unexpected breakage during v0.8. Will have a look!

@dmikurube Thank.
I recommended sesame to use jar version.
(sesame is the original reporter this issue.)
Twitter written in Japanese.