Possible bug report

https://github.com/open-mmlab/OpenPCDet/blob/2400fdf22fb3279f0a274d4678d13bf547315276/pcdet/models/roi_heads/roi_head_template.py#L168
'batch_anchors[:, :, 6] = 0' should be added before passing to self.box_coder.decode_torch, since in the encode_torch, the rois_anchor is [0, 0, 0, dx, dy, dz, 0].
If I misunderstood, please correct me.
Thank you for your work!

This is not a bug.
https://github.com/open-mmlab/OpenPCDet/blob/2400fdf22fb3279f0a274d4678d13bf547315276/pcdet/models/roi_heads/roi_head_template.py#L145-L149
We set rois_anchor to [0, 0, 0, dx, dy, dz, 0] to get the rois with the canonical coordinate for encoding regression target. Note that here the gt_boxes_ct is also in the canonical coordinate system.
For the decoding process, actually

we could set batch_anchors[:, :, 6]=0 and then doing the above decoding process to get the decoded rcnn_boxes3d in canonical coordinate.

But with this scheme, we need another step to transform the rcnn_boxes3d[:, :, 6] to the original coordinate, which could be done by rcnn_boxes3d[:, :, 6] += fg_roi_boxes3d[:, :, 6]

However, if we don't set batch_anchors[:, :, 6]=0, then we only need to call the following codes:
https://github.com/open-mmlab/OpenPCDet/blob/2400fdf22fb3279f0a274d4678d13bf547315276/pcdet/models/roi_heads/roi_head_template.py#L168-L171

Oh, I understand. Thank you for your explanation. Closed.


Feature:  Line Numbers in Console Logs

Type of feature
✨ Feature
Current behavior
The current behavior logs statements without displaying the number of each statement.
Screenshot

Suggested feature
Add line numbers to console outputs (e.g., console.log()).
Screenshot

Benefits:

Faster debugging
Easier log tracing in large projects

Additional context
No response
Code of Conduct

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

Contributing Docs

[ ] I agree to follow this project's Contribution Docs

Thank you @iahmedgamal
This is indeed useful and achievable.
For JS it can be achieved without much effort.
demo: https://livecodes.io/?x=id/y6yiqh89xgc
However, line numbers will not be accurate for transformed code (e.g. TS, JSX, etc) unless we start providing source maps for compiled code (which is already planned).
So, I will keep this open for now till we provide source maps for compiled code and then we can provide line numbers for console logs/errors etc.
Thanks again for the suggestion.


Suppress Stack Traces

Hi,
For several production web apps I have, we're cleaning up the logs.  Lograge has been helpful in that.  However, stack traces are still being dumped.  We have gems like Honeybadger to handle exception reporting, so the stack trace just clutters the logs especially since the error message is included in the lograge output.
After doing a little searching, I couldn't find an obvious way via rails configuration to turn off the stack trace logging.  Even removing the action_dispatch.logger doesn't work, because it fails over to stderror.  The best I could come up with was to monkey patch ActionDispatch::DebugExceptions to disable the stack traces.
Is there a better approach?  Thanks.

@sallustfire Sadly not at this juncture. This is something I'm looking into at the moment, but will require some rework to achieve. I'm going to try and document an approach that works as-is for now, so hopefully I'll have something up over the next few days.

I appreciate it.  I'm happy to provide a pull request if we can articulate a viable long term solution.

Any update on this or found a better solution?


[WFLY-14399] Ensure the invocation of the common scripts are executed…

… in each script. Also add tests to ensure this.
https://issues.redhat.com/browse/WFLY-14399
Requires https://github.com/wildfly/wildfly-core/pull/4472
Analysis Doc: https://github.com/wildfly/wildfly-proposals/pull/369

/retest


Add gradient to normal

##DoD:

[x] Add gradient() to normal distribution
[x] Add proper unit tests
[ ] PR reviewed by team and merged to main

@jakobsj In order to adapt the suggestion from review in PR #542 , we need to add gradient() to Normal distribution. Could you help review the DoD here?

@chaozg Thanks, DoD approved!


Retain form data in case of browser crash or site being unreachable

We have a too large a form having several nested models and when the browser crashes or site is unreachable or some local network connectivity issue occurs, we lose all the form data and need to redo all of that. Isn't it possible to save the form data in local browser storage until the form is submitted successfully?

I suggest you resolve this with a browser addon. Google
save form chrome
save form firefox
You'll find plenty of options. Sorry i just don't think this responsability belongs to this gem.

Dup of #1139.


EAR upload for wsMarCava1.

Assembly review request

ToLID: wsMarCava1
Species: Marifugia cavatica
Project: ERGA-BGE
Affiliation: Sanger

Curated by @tommathers

Ok

Yes

Another complex annelid assembly, pacbio ultra low, hi-c from different individual, noisy... my respects to the curator, the assembly looks good.
Can you comment on the following:

What's the BUSCO database? (I will make a fix for these kind of cases in the next version of the EAR)
It's a little surprise to see that from the 11 big scaffolds, 3 are assigned to Annelida and the other 9 as Mollusca/Brachiopoda
SUPER_1 @ 0.64-0.72
SUPER_3 has a terminal section with little contact signal after the telomeric signal. Are those non-telomeric repeats after the telomere? The repeat density also seems to drop a little
SUPER_4 @ 143.34-143.496 can be unloc SUPER_3?
SUPER_5 @ 70.1 may belong to SUPER_3 around 17 Kbp?
SUPER_7 @ 30.1
SUPER_7 @ 100.8 are those non-telomeric repeats?

Again, complex curation, shout-out to the Sanger team.
Thanks!

Hi, thanks for looking at this. Just waiting for a new EAR to be generated then will upload.
RE. suggested changes:
What's the BUSCO database? (I will make a fix for these kind of cases in the next version of the EAR)
It's a little surprise to see that from the 11 big scaffolds, 3 are assigned to Annelida and the other 9 as Mollusca/Brachiopoda
Not sure about the BUSCO versions for generating the EAR.
SUPER_1 @ 0.64-0.72
This is not gapped, probably a difference between HIC and pacbio samples.
SUPER_3 has a terminal section with little contact signal after the telomeric signal. Are those non-telomeric repeats after the telomere? The repeat density also seems to drop a little
Not supported by HiC and there is a gap so I have moved this chunk in shrapnel.
SUPER_4 @ 143.34-143.496 can be unloc SUPER_3?
This is not gapped so possibly difference between the pacbio and HiC samples. The HiC also hits to multepl other locations so no unambiguous alternative. I suggest leavaing as is.
SUPER_5 @ 70.1 may belong to SUPER_3 around 17 Kbp?
Again, not gapped so I suggest leaving as is.
SUPER_7 @ 30.1
As above.
SUPER_7 @ 100.8 are those non-telomeric repeats?
I have chopped this off and moved to shrapnel.

Yes great, thanks.

Hi @tommathers please remember to regenerate the PDF so we can merge this one

It's being produced now! :)


No project type

After installing the "Mobile development with C++" workload on both the 2017 and 2019 community version of Visual Studio, the openGL ES template does not appear, please update the document with more detailed steps

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

ID: e9d1fa38-809e-5525-1241-d2dca23c705d
Version Independent ID: a3b2385f-5cf3-7ac6-ebce-d71dc39c83d9
Content: Build an OpenGL ES application on Android and iOS
Content Source: docs/cross-platform/build-an-opengl-es-application-on-android-and-ios.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@montablac
Sorry you're having trouble. I expect the problem is either that you haven't installed the iOS components, or you have the Android filter set in your New Project dialog.
Hidden in the first paragraph of the Requirements section is this sentence: "To get the OpenGL ES templates, and to build for iOS, include the optional C++ iOS development tools." If you didn't install the iOS components, you can use the Install more tools and features link at the bottom of the list of templates to launch the Visual Studio Installer and add them to Visual Studio.
The next problem is that you won't see the OpenGLES Application template if you have "Android" selected for your Platform filter in the New Project dialog. I consider this a bug in the template - it's missing the Android tag. You either need to select iOS or All platforms in the center drop-down filter above the list of templates. Once your solution is created, you don't actually have to build the iOS project; it's safe to delete that project from the solution if you only want to build for Android.


text errors in chapter 1

Errors in Chapter 1:
Section: Overview of Jupyter Notebook
programming instead programing:
Jupyter Notebook is becoming increasingly popular as a successful User Interface (UI) for Python programing.

Text below figure 1.5
Wrong library name: np.arange() instead of np.arramge():
Next we will learn four NumPy functions: np.arramge(), np.zeros(), np.ones(), and np.linspace().

Section: The np.linspace() function
Incorrect representation under the first mathematical statement:
Text Formula_B17397_01_001 is useless at this point

Section: Pandas functions for exploring a DataFrame
Subsection: The .info() function
function info() must be lowercase:
If you run adult_df.Info(), ...

Section: Pandas functions for exploring a DataFrame
Subsection: Histograms and boxplots to visualize numerical columns
Wrong function adult_df.age.box() instead of adult_df.age.plot.box():
To create the boxplot for the age column, all you need to change is the last part of the code: adult_df.age.box(). Give it a try.

Text below figure 1.34
Function parameter "Normalize" must be lowercase:
To get the relative frequency table, all you need to do is to specify that you want the table to be normalized: .value_counts(Normalize = True). Give it a try!

Text above figure 1.37
Variable CapitalNet must be begin with lowercase:
As we are only interested in the correlations between education_num, lifeNoEd, and CapitalNet, the last line of the code has removed other columns before running the .corr() function.

some lines later: Text below figure 1.37
Variable CapitalNet must be again begin with lowercase:
... the correlation between education_num and CapitalNet is higher, at 0.117891.

inside figure 1.38:
functions .var() and .describe() must be lowercase

Subsection under figure 1.44 Multi-level access
spelling error "sizable" instead "sizeable":
In this subchapter, we gathered sizable exposure to multi-level indexing and columns.

Thank you very much for this valuable feedback. We are finalizing the book and all of these will be fixed in that version.


fix: route stderr to stderr and not stdout when using WithStandardStreams

Is there any reason why c.StderrWriter is routed to &c.stdout and not &c.stderr ?

Hey @thomasnemer 👋
Thanks for the PR. Yes, that is odd. Looking through commit history it looks to be a bug..maybe?? @SimonBaeumer on the surface I can't tell if this was intentional or not. Care to provide some insight? On the surface I don't see why it would write like this.

Nice, thanks a lot :)


Create DR Plan

Create disaster recovery plan for Moodle:

Backups
Fail to location/different pods
Confirm restore process
Confirm persistent storage options with BCDevExchange (silver/gold)
Confirm timelines for silver > gold upgrade

Additionally, confirm how other products are handling DR.

Need to confirm what is required (impacts of using OpenShift, silver vs. gold).

Merging in to-dos from separate back-up ticket.

Document back-up task questions
Provide best practice recommendations
Jared to review Freshworks for strategy docs we can leverage

Need to check the status, comments needed for backup, automation, newer things, etc. wip - Warren, Kunal to update.
Automated backups not in place for the database and files. Warren is doing manual backups to mitigate this for now.
Database reversion has some issues with data migrations, its also causing an issue with manually adding users.
Updated moodle config to match a compatible version for 5.7
There was a build error yesterday that is being worked on. It is fixed by Warren, Red Hat has locked Warren out
WIP

Automated database backups now complete for DEV
Tasks remaining

Database backups for TEST and PROD

File backups for moodle ( @kkapoor-fresh )
@warrenchristian1telus and @kkapoor-fresh to finish documentation on backup and restore process and move this documentation into markdown files in github

Automated backups have been implemented across all namespaces (dev, test, prod) and documentation has been published to provide instructions for manual restoration of files and/or database.
backups of files and databases are done daily to a PVC using netapp-file-backup storage, which will also be backed up daily for redundancy and disaster recovery. BCDevOps will need to be contacted to access the netapp-file-backup files in the case of disaster recovery where local PVC data is lost, or if backups are required beyond what is stored in the accessible PVC.
https://teams.microsoft.com/l/entity/com.microsoft.teamspace.tab.wiki/tab::3d2b2d27-f743-4212-8fe9-12d3305396ad?context={"subEntityId"%3A"{\"pageId\"%3A2%2C\"sectionId\"%3A12%2C\"origin\"%3A2}"%2C"channelId"%3A"19%3A4ae78e8f77764b8193ae97b9eb5e54bb%40thread.tacv2"}&tenantId=6fdb5200-3d0d-4a8a-b036-d3685e359adc


Image rotations are not recognized

Addition of an image with EXIF rotation data produces a wrongly rotated image. Ensure the EXIF rotation data detection.

Fixed in https://github.com/axelpale/tresdb/pull/111/commits/74aefd610045750ce4ee21f9deac6cfa916ee572


View Controller Introspection is Inconsistent

I have determined there is a timing issue present when attempting to introspect a UIKit view controller.
Sometimes when UIKitIntrospectionViewController. updateUIViewController(_:context:) is called the view controller's parent is not set yet and its view is not in the view hierarchy yet (hasn't been added to the window). This means that there are times when the customization never gets applied because the selector failed to find the target.
UIKitIntrospectionView works around this issue by applying the customizations as part of a moveToWindowHandler set on the IntrospectionUIView.
I was able to fix this issue by updating UIKitIntrospectionViewController to also use its view's moveToWindowHandler when apply customizations. In addition, I updated both UIKitIntrospectionView and UIKitIntrospectionViewController to set their handlers up front in their respective makeUIView(Controller) methods rather than delaying it until updateUIView(Controller) is called.
See pull request #165

This has now been fixed. Thanks for getting this across the finish line @davdroman!

@rzulkoski no worries! I'll do some CI maintenance over the weekend and tag a new release by Monday.


Add DistanceUnitFormatter and DurationUnitFormatter, two react compon…

…ents to automatically choose the best unit for a value
They also allow clicking on the values to cycle between the different possible units. Example usage is shown in transit routing output for the walking mode. If code and UX seems satisfactory to you, I will use these components in many other parts of transition.
Demo:
https://github.com/chairemobilite/transition/assets/545502/b3cd1a0c-8627-4cf4-87f6-093245efe79e
Fixes #775

I could also add one for speeds : m/s, km/h, mph, etc

Very nice!

Verify code lint though

It was better before I ran yarn format
If we don't like this formatting we have to change the parameters to prettier eslint!

added SpeedUnitFormatter too

@tahini  fixed :)


can not cleanup cilium route and netlink by command "cilium cleanup"

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
After uninstalling the cilium CNI, I want to clean up the related route/net links/BPF programs, etc.
but get an error when running the command cilium cleanup, and the output is as follows:
root@master:~# ./cilium cleanup
Error: invalid argument
Warning: Destructive operation. You are about to remove:
- tc filters
cilium_net [{LinkIndex: 4, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3}]
cilium_host [{LinkIndex: 5, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3} {LinkIndex: 5, Handle: 0:1, Parent: ffff:fff3, Priority: 1, Protocol: 3}]
cilium_vxlan [{LinkIndex: 6, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3} {LinkIndex: 6, Handle: 0:1, Parent: ffff:fff3, Priority: 1, Protocol: 3}]
lxc9b167a37feab [{LinkIndex: 10, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3}]
enp0s3 [{LinkIndex: 2, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3} {LinkIndex: 2, Handle: 0:1, Parent: ffff:fff3, Priority: 1, Protocol: 3}]

- mounted cgroupv2 at /run/cilium/cgroupv2
- library code in /var/lib/cilium
- endpoint state in /var/run/cilium
- CNI configuration at /etc/cni/net.d/10-cilium-cni.conf, /etc/cni/net.d/00-cilium-cni.conf, /etc/cni/net.d/05-cilium-cni.conf, /etc/cni/net.d/05-cilium.conf
- all BPF maps in /sys/fs/bpf/tc/globals containing 'cilium_' and 'cilium_tunnel_map'
- mounted bpffs at /sys/fs/bpf
The command is non-revertible, do you want to continue [y/N]?
y
removed tc filter {LinkIndex: 2, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3} of enp0s3
removed tc filter {LinkIndex: 2, Handle: 0:1, Parent: ffff:fff3, Priority: 1, Protocol: 3} of enp0s3
removed tc filter {LinkIndex: 4, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3} of cilium_net
removed tc filter {LinkIndex: 5, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3} of cilium_host
removed tc filter {LinkIndex: 5, Handle: 0:1, Parent: ffff:fff3, Priority: 1, Protocol: 3} of cilium_host
removed tc filter {LinkIndex: 6, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3} of cilium_vxlan
removed tc filter {LinkIndex: 6, Handle: 0:1, Parent: ffff:fff3, Priority: 1, Protocol: 3} of cilium_vxlan
removed tc filter {LinkIndex: 10, Handle: 0:1, Parent: ffff:fff2, Priority: 1, Protocol: 3} of lxc9b167a37feab
INFO[0003] Trying to unmount /run/cilium/cgroupv2
removed map cilium_call_policy
removed map cilium_calls_00504
removed map cilium_calls_03899
removed map cilium_calls_hostns_00062
removed map cilium_calls_netdev_00002
removed map cilium_calls_netdev_00004
removed map cilium_calls_overlay_2
removed map cilium_cgroups_connect4
removed map cilium_cgroups_connect6
removed map cilium_cgroups_post_bind4
removed map cilium_cgroups_post_bind6
removed map cilium_cgroups_recvmsg4
removed map cilium_cgroups_recvmsg6
removed map cilium_cgroups_sendmsg4
removed map cilium_cgroups_sendmsg6
removed map cilium_ct4_global
removed map cilium_ct_any4_global
removed map cilium_encrypt_state
removed map cilium_events
removed map cilium_ipcache
removed map cilium_ipv4_frag_datagrams
removed map cilium_lb4_affinity
removed map cilium_lb4_backends_v2
removed map cilium_lb4_reverse_nat
removed map cilium_lb4_reverse_sk
removed map cilium_lb4_services_v2
removed map cilium_lb4_source_range
removed map cilium_lb_affinity_match
removed map cilium_lxc
removed map cilium_metrics
removed map cilium_nodeport_neigh4
removed map cilium_policy_00062
removed map cilium_policy_00504
removed map cilium_policy_03899
removed map cilium_signals
removed map cilium_snat_v4_external
removed map cilium_tunnel_map

I think we should note that there is an error Error: invalid argument in the output, and no log shows that will delete the route and Netlink.
in the end, the route and NetLinks have still existed:
root@master:~# ip route
default via <IP_ADDRESS> dev enp0s3 proto dhcp src <IP_ADDRESS> metric 100
blackhole <IP_ADDRESS>/8
<IP_ADDRESS>/21 dev enp0s3 proto kernel scope link src <IP_ADDRESS>
<IP_ADDRESS> dev enp0s3 proto dhcp scope link src <IP_ADDRESS> metric 100
<IP_ADDRESS>/16 dev docker0 proto kernel scope link src <IP_ADDRESS> linkdown
<IP_ADDRESS>/24 via <IP_ADDRESS> dev cilium_host src <IP_ADDRESS>
<IP_ADDRESS> dev cilium_host scope link
root@master:~# ifconfig | grep lxc
lxc9b167a37feab: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

Cilium Version
version 1.11.5
Kernel Version
Linux master 5.4.0-113-generic #127-Ubuntu SMP Wed May 18 14:30:56 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
v.1.23.6
Sysdump
No response
Relevant log output
No response
Anything else?
there is a new k8s cluster installed by command:
helm upgrade cilium cilium/cilium --version 1.11.5 \
--namespace kube-system \
--set kubeProxyReplacement=strict \
--set bpf.masquerade=true \
--set k8sServiceHost=xxx.xxx.xxx.xxx --set k8sServicePort=6443 \
--set hubble.relay.enabled=false --set hubble.ui.enabled=false \
--set prometheus.enabled=false --set hubble.metrics.enabled="{dns,drop,tcp,flow,icmp,http}" \
--set operator.prometheus.enabled=false \
--set ipam.mode=cluster-pool --set ipam.operator.clusterPoolIPv4PodCIDRList=<IP_ADDRESS>/16 \
--set ipam.operator.clusterPoolIPv4MaskSize=24

Code of Conduct

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

it looks like there get an error in https://github.com/cilium/cilium/blob/master/cilium/cmd/cleanup.go#L415 when a blackhole route is encountered.
After removing the blackhole route, the command works well, all routes and NetLinks related cilium are deleted.


Prepare release branch

Automated changes by create-pull-request GitHub action

bors merge

bors merge

bors cancel


Remove Stack Trace Printing In Task Servlet To Remove Potential Security Vulnerability

Problem:
Information from a stack trace propagates to an external user. Stack traces can unintentionally reveal implementation details that are useful to an attacker for developing a subsequent exploit.
Solution:
Remove printing of stack trace in TaskServlet

@cwilbur12 Thanks for your contribution!
The admin interface is not supposed to be exposed to the world. It should be protected so that only you can access it.
I agree that the information in the task servlet can be used for exploration of the system, but if an attacker has access to the admin interface of your Dropwizard application, I think you're already in quite some trouble.
Any further thoughts on this?

@cwilbur12 Thanks for your contribution!
The admin interface is not supposed to be exposed to the world. It should be protected so that only you can access it.

Not supposed to be, but reality is that it will for various reasons.

I agree that the information in the task servlet can be used for exploration of the system, but if an attacker has access to the admin interface of your Dropwizard application, I think you're already in quite some trouble.
Any further thoughts on this?

Defense in depth and secure by default are good reasons, not exposing information that is being logged just a few lines above is IMHO a good practice.
I'd go even further and remove  output.println(e.getMessage()); as well, and print generic message that something went wrong. My 2¢

We've made this a configuration setting instead of disabling printing the stack trace completely.
Your input/review on #3037 would be appreciated. 😃

@cwilbur12 Thanks for your contribution!
The admin interface is not supposed to be exposed to the world. It should be protected so that only you can access it.

Not supposed to be, but reality is that it will for various reasons.

I agree that the information in the task servlet can be used for exploration of the system, but if an attacker has access to the admin interface of your Dropwizard application, I think you're already in quite some trouble.
Any further thoughts on this?

I agree completely here you are probably in real tough shape if they have access to the admin interface. At the same time I just thought it was better practice to just remove it and obfuscate with a more generic logger based message that is already being logged above if there wasn't a very strong reason to keep it.

Defense in depth and secure by default are good reasons, not exposing information that is being logged just a few lines above is IMHO a good practice.
I'd go even further and remove output.println(e.getMessage()); as well, and print generic message that something went wrong. My 2¢

My original thought was also to remove output.println(e.getMessage()); as well but that broke test SslReloadAppTest.badReloadDoesNotChangeTheServerCertificate() which was beyond my desired scope of digging into the issue so I just added it back in and removed what I thought was a larger vulnerability which was the stack trace itself.
I am completely fine closing if there are better reasons to making it configurable I was just removing from a "good practice" perspective. All valuable points raised for keeping it though. Thanks for the feedback guys! Keep up the amazing work.


bug-03 fix bearer logger main file

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Can't switch Menu to English after remove the package

and there is no "Language" option in the help menu.

——Sublime Text Build 3114 with OS X 10.11.5

You need to swith to English before uninstall this plugins. You can install it and uninstall it again.
In the future version, I will make it to swith automatically to English when uninstalling.


Modifying serializers as JS functions, models as interfaces

Thanks for starting the work here! Since this is still in draft, I've only sampled the PR for now. This is great progress. My main concern at this point is we've lost the discriminator capability (effectively the mapping between an odata type and the right deserialization method). I think adding back (and updating) that indirection layer would solve some of the issues you've outlined in your comments. Let me know if you want me to develop more on that aspect.

Yes, can you give an example of this?
Why do you need this exactly?
Each RequestBuilder action is tied to specific model types, and serializer/deserializer method.

Thanks for starting the work here! Since this is still in draft, I've only sampled the PR for now. This is great progress. My main concern at this point is we've lost the discriminator capability (effectively the mapping between an odata type and the right deserialization method). I think adding back (and updating) that indirection layer would solve some of the issues you've outlined in your comments. Let me know if you want me to develop more on that aspect.

Yes, can you give an example of this?
Why do you need this exactly? Each RequestBuilder action is tied to specific model types, and serializer/deserializer method.

Let me expand on this.
If you GET /groups/id/members, this describes returning Collection(directoryObject) in OData terms. The returned type will be a DirectoryObjectCollectionResponse, with a value property of type DirectoryObject[].
In reality, this collection will never contain directory objects, it'll contain User, ServicePrincipal and other types that derive from directory object. Each of those types have properties that need to be deserialized properly.
We can tell that an entry is a user or service principal because the service returns an @odata.type property (called instance annotation in OData linguo), that contains something like #microsoft.graph.User.
We can use that value to map to the right deserialization method, this is effectively what the discriminator method createXXXFromDiscriminatorValue is for.
here is roughly what we had today (before your current changes)
export function createDirectoryObjectFromDiscriminatorValue(parseNode: ParseNode | undefined) : User {
    if(!parseNode) throw new Error("parseNode cannot be undefined");
    const discriminatorProperty = parseNode.getChildValue("@odata.type");
    const discriminatorValue = discriminatorProperty.getStringValue();
    switch (discriminatorValue) {
         case '#microsoft.graph.User': return new User();
     // other derived types from directory object
    }
    return new DirectoryObject();
}

Notice how this news up the right type? I think this needs to be updated to return the reference to the right deserialization method instead.
And we need to roll back the change to keep passing this method, instead of the deserialization method directly.
I hope that clarifies the point, don't hesitate if you have further comments/questions.

Thanks for starting the work here! Since this is still in draft, I've only sampled the PR for now. This is great progress. My main concern at this point is we've lost the discriminator capability (effectively the mapping between an odata type and the right deserialization method). I think adding back (and updating) that indirection layer would solve some of the issues you've outlined in your comments. Let me know if you want me to develop more on that aspect.

Yes, can you give an example of this?
Why do you need this exactly? Each RequestBuilder action is tied to specific model types, and serializer/deserializer method.

Let me expand on this.
If you GET /groups/id/members, this describes returning Collection(directoryObject) in OData terms. The returned type will be a DirectoryObjectCollectionResponse, with a value property of type DirectoryObject[]. In reality, this collection will never contain directory objects, it'll contain User, ServicePrincipal and other types that derive from directory object. Each of those types have properties that need to be deserialized properly. We can tell that an entry is a user or service principal because the service returns an @odata.type property (called instance annotation in OData linguo), that contains something like #microsoft.graph.User. We can use that value to map to the right deserialization method, this is effectively what the discriminator method createXXXFromDiscriminatorValue is for.
here is roughly what we had today (before your current changes)
export function createDirectoryObjectFromDiscriminatorValue(parseNode: ParseNode | undefined) : User {
    if(!parseNode) throw new Error("parseNode cannot be undefined");
    const discriminatorProperty = parseNode.getChildValue("@odata.type");
    const discriminatorValue = discriminatorProperty.getStringValue();
    switch (discriminatorValue) {
         case '#microsoft.graph.User': return new User();
     // other derived types from directory object
    }
    return new DirectoryObject();
}

Notice how this news up the right type? I think this needs to be updated to return the reference to the right deserialization method instead. And we need to roll back the change to keep passing this method, instead of the deserialization method directly.
I hope that clarifies the point, don't hesitate if you have further comments/questions.

I changed the ParsableFactory to return  the deserializer function of the model instead of the model instance.

The build here are showing nicely the intermittent generation issue with case and package: https://github.com/microsoft/kiota-typescript/actions/runs/3999492551/jobs/6863470231


Various improvements

summary of changes on this branch:

settings window
main menu and pause menu are now separated to make it less confusing
tool for download new songs from inside the game using beatsaver.com api
sample playlist removed so there is a single playlist
button to search songs on the playlist
saber tail effect with semi-transparent shader that uses alpha scissors, wich should be faster (need testing on quest 1)
events support for animated background
background experimental texture that simulate radiance from the map lights using a single shader (need testing on quest 1)
colors can be changed and affects all objects that uses the palette
wall's new shader with alpha scissors semi-transparent shader (need testing on quest 1)
new end score screen
bug fixes and small improvements
shader for cutted cubes that compute way faster than CSG

https://user-images.githubusercontent.com/26260718/104232094-cde42d80-541d-11eb-9290-757d537a4cdc.mp4

This looks really amazing!
I started testing on Quest 1. My findings so far:
With glow deactivate the performance seems good even with the dynamic background and the saber tails activated (at least in songs with few notes). My suggestion would be to have glow deactivated by default for now.
When this is merged I can update to the newest oculus godot plugin. This will allow to check if we are running on a Quest 1 or Quest 2 and we could change the defaults depending on the device. This will also allow to activate 90hz mode on Quest 2. I think we should then also display a performance warning with glow on Quest 1 (or remove the option completly on Quest 1).
Performance with walls so far looked fine on Quest 1.

This looks really amazing!
I started testing on Quest 1. My findings so far:
With glow deactivate the performance seems good even with the dynamic background and the saber tails activated (at least in songs with few notes). My suggestion would be to have glow deactivated by default for now.
When this is merged I can update to the newest oculus godot plugin. This will allow to check if we are running on a Quest 1 or Quest 2 and we could change the defaults depending on the device. This will also allow to activate 90hz mode on Quest 2. I think we should then also display a performance warning with glow on Quest 1 (or remove the option completly on Quest 1).
Performance with walls so far looked fine on Quest 1.

there is it, also reduced background predendered light map size so it uses less vram
i'll add an option to delete downloaded songs that i think is needed and after that and some code clean i think it will be ready to review

there is it, also reduced background predendered light map size so it uses less vram
i'll add an option to delete downloaded songs that i think is needed and after that and some code clean i think it will be ready to review

i think i can replace the cube cut function for a shader based cut that will be quite a lot faster.

i think i can replace the cube cut function for a shader based cut that will be quite a lot faster.

performance comparative between CSG and shader performance, i am having some troubles to get the cut angle, it kind of work right now but sometimes (when the cut is far from good) it shows the cut on the wrong direction, how could i correctly get the cut angle?
https://user-images.githubusercontent.com/26260718/104383894-96997d80-54fe-11eb-9b74-6ba119e914a1.mp4

performance comparative between CSG and shader performance, i am having some troubles to get the cut angle, it kind of work right now but sometimes (when the cut is far from good) it shows the cut on the wrong direction, how could i correctly get the cut angle?
https://user-images.githubusercontent.com/26260718/104383894-96997d80-54fe-11eb-9b74-6ba119e914a1.mp4

ok i figure it out and now is pretty accurate, i think that that's the last change that i wanted to do
https://user-images.githubusercontent.com/26260718/104394652-0e72a280-5515-11eb-8173-7b1d27b0cc33.mp4

ok i figure it out and now is pretty accurate, i think that that's the last change that i wanted to do
https://user-images.githubusercontent.com/26260718/104394652-0e72a280-5515-11eb-8173-7b1d27b0cc33.mp4

Awesome! Great work. I think we can merge your changes now and if you want to do more changes you just create new pull requests for individual improvements.

Awesome! Great work. I think we can merge your changes now and if you want to do more changes you just create new pull requests for individual improvements.

i agree :)

i agree :)

Done. If you want to continue making changes you should delete your current branch and create a new one from master.

Done. If you want to continue making changes you should delete your current branch and create a new one from master.


Disaster Recovery

Includes automated backup and restore of every environment, plus documentation

All issues relating to this Epic have been resolved and closed.


On Edit and create new the params are having changed names

Hello @dziraf ,is there any way that i can change the column name only on list and show but for new and edit the column name remains as it is in the database.(Using typerom)

do you mean the labels?

done , thank you for the reply


Add MatchingFilesDatasetOp

This PR aims to add MatchingFilesDatasetOp to improve the performance of Dataset.list_files, which needs to scan the entire directory tree and load the filenames into memory before the next operation starts. More details can be found at (https://github.com/tensorflow/tensorflow/issues/17810).
MatchingFilesDatasetOp could yield the matching files in a sorted order.
The initial performance test is in below , where width is the number of dirs at each level, and depth is the number of nested dirs.

when width = 1000 and depth = 2:

-- MatchingFilesDataset:
read first filename: time: 16.06 ms
read second filename: time: 0.52 ms
read 998 more filenames: time: 336.51 ms (0.34 ms per iteration)

-- Dataset.list_files():
read first filename: time: 253.91 ms
read second filename: time: 0.27 ms
read 998 more filenames: time: 135.77 ms (0.14 ms per iteration)

when width = 1000 and depth = 20:

MatchingFilesDataset:

read first filename: time: 22.16 ms
read second filename: time: 3.09 ms
read 998 more filenames: time: 2269.14 ms (2.27 ms per iteration)

Dataset.list_files():

read first filename: time: 1860.96 ms
read second filename: time: 0.38 ms
read 998 more filenames: time: 127.23 ms (0.13 ms per iteration)

The performance test-related functions (e.g., testPerformance) in tensorflow/python/data/kernel_tests/matching_files_dataset_op_test.py will be removed later.

@frreiss and @BryanCutler Could you help review this PR when you have time?


Visualizations for the numerical datasets

Hi, I am a GSSOC'21 participant and I want to create visualizations for the numerical datasets that are used in this project.
I will do this by using libraries like matplotlib, seaborn, and plotly in pyhton.

Can I work on this issue?


Getting stuck on these errors when using the 'sudo nixos-rebuild switch --flake' command

How do I solve this?
Thanks

You're running out of memory trying to build 8 cosmic apps at once presumably at 8 cores each (i.e. 64 threads)
Did you set up the substituter correctly according to readme? If so, you can also try to adjust your flake inputs like the readme specifies to ensure you will always used a cached nixpkgs revision

I copied all the code to a flake.nix file according to the readme. I didn't understand what else I'm supposed to do. I've copied the configuration.nix and the hardware-configuration nix to the same folder where I've kept the flake.nix file.

Did you follow this line?
https://github.com/lilyinstarlight/nixos-cosmic/blob/b4f5f62726ada74385f2eec846b47b7fafa876b6/readme.md?plain=1#L43

Add the nixos module, not the options. Copy-pasting the flake should do that

I've created a folder called Flakes located in the home directory and these are the files from that. Flakes folder.zip

Remove following from configuration.nix:
  services.desktopManager.cosmic.enable = true;
  services.displayManager.cosmic-greeter.enable = true;

Perform nixos-rebuild test, add deleted lines back to configuration.nix and do rebuild switch, preferably with -j 1 argument  (or any other sane value for number of jobs that won't overstress your PC)


PWM on Special Channels?

Hello, I am using an STM32F031K6 and I am trying to modify the pwm example to output complementary pwm signals on PA7 and PA8 (since PA8 is on TIM1_CH1 and PA7 is on TIM1_CH1N).
I cannot figure out how to do this, when I try to add PA7 to the channels declaration the pwm::tim1 function yells at me.
I have determined any pin on CH1, 2, 3, or 4 are accepted, but any on BKIN, ETR or CH1N are not.
Am I going about this the wrong way? Is there a different way to configure pins to use these special channels?
Thanks!

It seems that the exact functionality I am talking about is in the f4 HAL here.
The interface is exactly what I would expect, why does the f0 HAL not have this?

This HAL is very much on the backburner, especially compared to the f4 HAL where this was added actually just a few weeks ago.

I see, I am very new to Rust but I will do my best to contribute.
I will leave this issue open until the desired functionality is added.


Broken link anchors break others

The second link anchor works on its own, but when the first (invalid) link anchor is present, the second stops working as well.

Closing as this issue should be fixed in the current version


TorchModuleWrapper and mixed precision

It looks like TorchModuleWrapper and setting mixed precision via keras do not work together. See
import os
os.environ['KERAS_BACKEND'] = 'torch'

import numpy as np
from monai.networks.nets import SwinUNETR
import keras_core as keras

if __name__ == '__main__':
    keras.mixed_precision.set_global_policy('mixed_float16')
    input_shape = (2, 96, 96, 96)
    inputs = keras.layers.Input(shape=input_shape)
    net = SwinUNETR(img_size=(96,96,96), in_channels=2, out_channels=1, feature_size=48)
    x = keras.layers.TorchModuleWrapper(net)(inputs)
    # x = keras.layers.Conv3D(filters=1, kernel_size=(1, 1, 1))(inputs)
    outputs = keras.layers.Activation('linear', dtype='float32')(x)

    model = keras.models.Model(inputs=inputs, outputs=outputs)

    my_input = np.random.rand(4, 2, 96, 96, 96)
    prediction = model(my_input)

    model.summary()

This results in

RuntimeError: Exception encountered when calling TorchModuleWrapper.call().
Could not automatically infer the output shape / dtype of 'torch_module_wrapper' (of type TorchModuleWrapper). Either the TorchModuleWrapper.call() method is incorrect, or you need to implement the TorchModuleWrapper.compute_output_spec() / compute_output_shape() method. Error encountered:
Input type (torch.cuda.HalfTensor) and weight type (torch.cuda.FloatTensor) should be the same
Arguments received by TorchModuleWrapper.call():
• args=('<KerasTensor shape=(None, 2, 96, 96, 96), dtype=float16, sparse=None, name=keras_tensor>',)
• kwargs=<class 'inspect._empty'>

Hi @dmus , Thanks for the issue!
It seems it is more of an issue of the TorchModuleWrapper or the SwinUENTR itself.
It fails with or without the mixed precision setting.
Do you have a code snippet using the SwinUENTR just with torch?
I am having trouble running it even without Keras.

Closing since unable to reproduce the error.
Feel free to reopen if anyone finds the bug still exists.


upgrade traderjoe

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
This pr upgrade TraderJoe to use sdk V2.
[ch41010]
Tests performed by the developer:

Curl test
End-to-end testing

Tips for QA testing:

Curl test
End-to-end testing

closing in favour of https://github.com/hummingbot/gateway/pull/131


Token Mismatch Exception on adding/updating menu builder

Laravel Version: 5.4
Voyager Version: ^0.11.14
PHP Version: 5.6.25
Database Driver & Version: MySQL 5.7.14

Description:
When I add new menu item or updates existing menu item to 'Menu Builder (admin) ' , after filling up all the details in form on submitting form it gives TokenMismatchException

Steps To Reproduce:

From sidebar Tools->Menu Builder->admin click on 'Builder' button.
Then Select 'New Menu Item' and fill all form fields.
On click of 'Submit' button it shows the Token MismatchException
And it also logout from admin panel continuously

Please help me, I am new to this.

@chaitalipatil, is this still an issue for you? My guess is it's a configuration issue in how you have your site set up locally.  We would have to troubleshoot the issue, so it's best suited as a discussion in the help channel in our slack group

Labels: possible bug
Close (user didn't respond)


Use v0.20.0 of the aws-otel-collector image

According to https://github.com/aws-observability/aws-otel-collector, awsprometheusremotewriteexporter is removed in v0.21.0, which we used in ecs-fargate-adot-config.yaml. Hence, we need to specify the aws-otel-collector image to a version < v0.21.0.
Issue #, if available:
N/A
Description of changes:
According to https://github.com/aws-observability/aws-otel-collector, awsprometheusremotewriteexporter is removed in v0.21.0, which we used in ecs-fargate-adot-config.yaml. Hence, we need to specify the aws-otel-collector image to a version < v0.21.0.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Fixed in #4


Invalid regular expressions in voice routes

In Step 3 and Step 7 of Teams/direct-routing-analog-devices.md, invalid regular expressions are given in the example commands:
PS C:\> New-CsOnlineVoiceRoute -Identity analog-interop -NumberPattern "^\+1(425)(\d{7}])$" -OnlinePstnGatewayList sbc.contoso.com -Priority 1 -OnlinePstnUsages "Interop"
PS C:\> New-CsOnlineVoiceRoute -Identity analog-interop -NumberPattern "^\+1(4254)(\d{6}])$"  -OnlinePstnGatewayList sbc.contoso.com -Priority 1 -OnlinePstnUsages "Interop"

The square bracket should be removed from both patterns:
PS C:\> New-CsOnlineVoiceRoute -Identity analog-interop -NumberPattern "^\+1(425)(\d{7})$" -OnlinePstnGatewayList sbc.contoso.com -Priority 1 -OnlinePstnUsages "Interop"
PS C:\> New-CsOnlineVoiceRoute -Identity analog-interop -NumberPattern "^\+1(4254)(\d{6})$"  -OnlinePstnGatewayList sbc.contoso.com -Priority 1 -OnlinePstnUsages "Interop"

Additionally, the grouping is unnecessary, so the patterns could be simplified to:
PS C:\> New-CsOnlineVoiceRoute -Identity analog-interop -NumberPattern "^\+1425\d{7}$" -OnlinePstnGatewayList sbc.contoso.com -Priority 1 -OnlinePstnUsages "Interop"
PS C:\> New-CsOnlineVoiceRoute -Identity analog-interop -NumberPattern "^\+14254\d{6}$"  -OnlinePstnGatewayList sbc.contoso.com -Priority 1 -OnlinePstnUsages "Interop"

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

ID: ea0bc170-d9d9-c17a-adc8-d37cb5fe3df5
Version Independent ID: 3c761043-bea5-0cfb-d85e-13671ed0fe9a
Content: Direct Routing - Connecting analog devices - Microsoft Teams
Content Source: Teams/direct-routing-analog-devices.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@moorereason  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@moorereason  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @moorereason, thank you for your feedback.
I'm removing the square bracket as it's clearly a typo. About the grouping, it's not required but usually used in our documentation to provide easier visibility.


[Implementation] (Proposal 2)  Add Benchmark Pipeline

What type of PR is this?
kind/feature

What this PR does / why we need it:
It will give us a alternative route to use kubernetes manifests for the benchmark jobs instead of reusing github workflow.
With this we are trying to use the manifest location in github or any public facing endpoint from where we can get them
Which issue(s) this PR fixes:
Addresses part of #121

Special notes for your reviewer (optional):
Created this for finding alternative route for the current proposal 2 impl
Refer: #124, https://github.com/cncf-tags/green-reviews-tooling/issues/121#issuecomment-2476378468

@dipankardas011 could you rebase with main to get CI to pass please?  :)


Remove finalizer from monitoring-config Argo app.

This isn't needed (for monitoring config) and just seems to cause deadlocks when deleting or moving the app.
\the_architect{this is the sixth time I've kubectl edited out the finaliser on the monitoring chart and I'm becoming very efficient at it}
#620.

My understanding is that this finaliser makes Argo delete the App resources if the App is deleted (i.e. a cascaded deletion) - how come this isn't something we want for the monitoring-config App? Seems like a sensible thing to have to make sure resources are cleaned. (Unless its being buggy and just isn't working.)

All it seems to do is deadlock when trying to delete the app 🤷

\the_matrix_architect{this will be the sixth time we've destroyed it, and we have become exceedingly efficient at it}

(my understanding is the same fwiw)


[Feature Request] Show photo selection order

like this https://github.com/mikaoj/BSImagePicker

Hi @tomoyuki28jp. I'm currently working on the next major release that would support Photos framework. Will try to look into this suggestion afterward. Thank you.

Glad to hear that! Thanks for your reply @chiunam :)

@chiunam Thanks a lot!

@tomoyuki28jp hope you like this look-and-feel. It is actually brought from Facebook app.

@chiunam Works as expected! Thanks :)


can not install brew in mac osx!!!!

in my mac ,use terminal to install brew , always give this error:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused, i tried all the way to resolve it but no works,so please help me

Please fill out the issue template.


Improved documentation to NSViewExtensions

🚀
Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions are written in Swift 5.6.
[x] New extensions support iOS 12.0+ / tvOS 12.0+ / macOS 10.13+ / watchOS 4.0+, or use @available if not.
[x] I have added tests for new extensions, and they passed.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All extensions are declared as public.
[ ] I have added a changelog entry describing my changes.

          2 Warnings

:warning:
Consider adding tests for new extensions or updating existing tests for a modified SwifterSwift extension

:warning:
The source files have been modified. Please consider adding a CHANGELOG entry if necessary.

          1 Message

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

  Generated by :no_entry_sign: Danger

I don't think we really need an improvement for this documentation. It's fairly straightforward...

Ok, No problem. There is some place on your project that you need help and that I can help?

@herlandro sorry for the very late reply. If you want to help please check the Issues and see what you can take. Thanks :)


Upvote doesn't take into effect after list refreshed

1\ submit a new post, with 1 point.
2\ another person up-vote the post, get 2 points on the screen.
3\ The up-voted person refresh the page, the up-voted icon shown as voted, but the counter back to 1 point.

If that other person is voting via the same IP, then the behavior is expected as the new vote counts as cheating.

we made a test with all different IPs

the 1st Person submitted a post with 1 point.
the 2nd Person up-voted to make it change from 1 point to 2 points.
the 3nd Person up-voted to make it change  from 2 points to 3 points.
the 4&5 person open the page at almost the same time, and there was 3 points shown on the screen, they up-voted and the count changed from 3 points to 2 points.

now all 5 person get a up-voted icon. but there are 2 points.

If a user is seeing the voted icon but the points number is not updated (after refresh of course) it means that the anti-cheating function is returning true. It is an expected behavior.

in my previous test , the points not only not updated but also declined,
and what do you mean by same IP?
can people in the same intranet be treated as same IP?
Can users visit my hosted Voten sourcing from a same URL Hyper-Link be treated as same IP?

ok. problem solved you're right. the ip captured in upvoted table is the docker's ip


Use DifferentiationInterface

Removes AD backend-specific code (except rrules)
Merge https://github.com/SciML/SimpleNonlinearSolve.jl/pull/147 first
SimpleHalley now supports in place problems
More backends are now supported by default

TODOs

[x] Update Halley tests to add the in place versions
[x] Add Halley to 23 test problems

Any issues with DI integration @avik-pal ?


No way to convert between integers and floats

Reported in the Discord. The numeric conversion typeclasses only have instances for numeric types.

Fixed by #439


INVISIBLE_RECAPTCHA_BADGEHIDE=true squaks a bit with Vue

Hello there,
I have split up @captchaHTML & @captchaScripts so that Laravel + Vue doesn't throw any errors.
But the problem arises again if you set INVISIBLE_RECAPTCHA_BADGEHIDE to true.
This implements the following code in the template:
<style>.grecaptcha-badge{display:none;!important}</style>
Any chance we can render this out of the template (maybe with a blade directive in the header).
Right now I solved this by manually putting it in my stylesheet.
This is the Vue error:
- Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <style>, as they will not be parsed.

Hi @aFluxx ,
Hi @aFluxx ,
I think the best way to hide the badge in vue is to turn INVISIBLE_RECAPTCHA_BADGEHIDE off. And apply <style>.grecaptcha-badge{display:none;!important}</style> in your vue files.


Add Light-Dark Functionality

I can Add Light Dark Mode to all of the pages which adds another feature to this website and which just gives two choices to the user as whats its preferable UI is either light or dark.

@K-jais could you provide pictures or sample code about what changes you want to implement ?


Auto render loop references old Cesium private variables

If the auto render loop is enabled, it will constantly throw errors due to referencing surface._tileLoadQueue, which no longer exists in Cesium.
To reproduce, load the ol3cesium example, then start the render loop:
ol3d.enableAutoRenderLoop()
Break on caught exceptions and you'll see the problem. It looks like there is now a _tileLoadQueue[High|Medium|Low], so it will hopefully be as simple as checking all three.

Thanks for the report. Are you willing to create a PR with the fix?

I probably won't get to it until next week given my current work load, but I could submit a PR for it then.

@gberaudo Sorry for the delay - had some app release work to finish first. PR is ready when you have a moment to review.


How to post requests with JSON to WebServices

I am having plans of implementing a JSON object submitted to my server side. how to do this ? My understanding of Fetch / XMLHttpRequest doesn't give this a feasibility

There are plenty of examples to learn about fetch and XHR: https://www.google.com/?#q=fetch+post+json

Sorry, if it is a dump question. Examples for fetch() api work in the tabris.js dev app (through scratchpad). but the same code once built on local, does it fire the request (i checked the logs in server). Am I have to do any npm install ?

fetch is built in to the Tabris.js JS engine.  So long as you are building against 1.7.0 or newer you will be able to use fetch without having to install anything else.
Are you receiving any JS errors in the client?  Can you add some logging to determine if the code that calls your fetch statement is actually being executed?

page.on('appear', fetchProducts);
function fetchProducts(){
textView.set("text", "To fire "+url + ''+ fetch);
fetch(url).then(function(response) {
return response.json();
}).then(function(json) {
console.log(json);
textView.set("text", "Returned "+json.results.length);
});
}
The above text is printed that is it going to fetch that URL.. Even seeing the 'fetch' js contents. But not going through.

The code snippet you posted looks good. But you should always add a .catch(function(err) { ... }) statement, otherwise errors will be swallowed. This might also help track down the problem.


Add the possibility to share objects in the Research app

@Doppen, The URL to the objects, are already shareable. So this could be a simple button that copies the URL, and a message "The URL is copied". Is that what you want with this button? Or is it more complex?


systest: merge systest module into root module

enables reusing code from go-spacemesh in systest without additional complexity dependencies  https://github.com/spacemeshos/go-spacemesh/pull/3250.
the size of the go-spacemesh binary remains the same.

as i read the code change, there is no need to update systest's README. correct?

right, it surprisingly worked without changing makefile commands

bors merge


Improving the About Us Page

I will redesign the UI of the about us page, by adding proper fonts, boxes colours and re aligning the content.

Changed added:


Write custom connector

Write a custom connector to have more control over what data is provided and how.
Improve message handling.

Removed from milestone.
Reason: Change with C# Version to enhance performance by yield'ing? results async. PRIO: FK support


Beta testing - submit button in log-in page of the web

I think there might be a minor bug about the submit button on the home page/login page of the web. Seems like every time I click the button it would refresh and become a new page, so if I click the submit button 10 times, I would need to go back 10 times to the original page before I enter the web.

We'll have to take a look at this post-collaboration phase. I'll consider it a trivial bug because nothing malicious can come of it and it's not something we can consistently expect from users. Thank you.


dialog: 1.3-20180621 -> 1.3-20181107

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dialog/versions.
meta.description for dialog is: '"Display dialog boxes from shell"'.

Checks done (click to expand)

built on NixOS
/nix/store/pa27g7qjd07sbgzhd8vjsva1jk7b6zb7-dialog-1.3-20181107/bin/dialog passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 1.3-20181107 with grep in /nix/store/pa27g7qjd07sbgzhd8vjsva1jk7b6zb7-dialog-1.3-20181107
directory tree listing: https://gist.github.com/6d86efc0cf8db43938a144ec5100bff2
du listing: https://gist.github.com/48e16987785ff0d1e5544d85c831d843

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

10 total rebuild path(s)
3 package rebuild(s)
3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
certbot
dialog
icesl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pa27g7qjd07sbgzhd8vjsva1jk7b6zb7-dialog-1.3-20181107 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A dialog https://github.com/r-ryantm/nixpkgs/archive/14fbddc2322a968cc3eaff4d7cd38f8c07eb0c82.tar.gz

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

cc @spacefrogg for testing.

built and tested locally :+1:


[IA-3451] Persistent disk monthly cost showing unknown on env delete.

Description
When a user goes to delete an environment, the persistent disk monthly cost shows unknown.
Solution
The issue is the diskType is being returned as a string, e.g. 'pd-standard' when it's really expecting the object listed in pdTypes.
Use pdTypes.fromString() in the disk.details() method to return the proper object.

Tested on PR site and works as expected
:shipit:


feat: revive long lasting session nodejs

Change-Id: I8a2355209e009e78bd81edcfcb3197a4438833b6
Dialogflow CX sample & test for reviving a long-lasting session

Also, we should include a link to the sample in our main repo README.


Add & use a global blog timezone

It's time :clock10: for us to finally add proper timezone support to Ghost. The original main issue for this (with a great deal of discussion) is here: https://github.com/TryGhost/Ghost/issues/1265.
Other related issues which may or may not be helpful:

Add timezone dropdown to settings #2360
Determine the best list of time zones for use in Ghost #2359
An ancient PR #2387

The timezone problem:
The problem we face with timezones revolves almost entirely around published dates.
Take the following scenario:

A user in UTC-8 (San Fran) opens their post settings menu, and sets the published at date to be 8pm on Dec 31st 2015.
Ghost correctly stores that as 4am Jan 1st 2016 UTC.
The blog is set to use Casper, which doesn't have localisation in the theme.
They share their post straight away and all the readers see it marked as published in the future!

This gets more confusing when post scheduling comes into play. Take the example of a San Fran startup blog. They like to publish posts at lunchtime for their readership which is mostly also in San Fran. They hire a writer in Singapore, who is in UTC+8.

The writer creates their post, and sets the published at date to be 12:30pm (lunchtime) on Feb 1st 2016 (a date that is in the future).
Ghost correctly stores that as 4:30am Feb 1st 2016 UTC.
The scheduler will publish the post at 4:30am Feb 1st 2016 UTC which lunchtime in Singapore, but for the San Fran readership, that's 8:30pm on the previous day.
Meanwhile the post itself will output on the frontend saying it was posted at 4:30am.

There are two underlying problems here:

There's no way to tell Ghost what timezone to use when outputting a date in your theme (other than using localisation in the theme), or anywhere else that a date might be output.

When you set a date in the PSM, there's no way to know whether that's using your timezone, the server's timezone, or the blog's timezone (which doesn't exist yet). It actually uses your own timezone, but then stores UTC, which makes things work sort of correctly, but is confusing.

We're going to solve this the same way that Twitter, Tumblr, WP, Slack etc all do. Add a setting to the general settings, and use this to output all dates everywhere, including when setting the published at date.
The Timezone Setting
The timezone setting itself will take the form of a dropdown list, exactly the same as you see in Tumblr or Slack.
Tumblr:

The setting should exist under general settings in the Ghost admin
This setting should be a dropdown list
The format should be (UTC<offset>) List, Of, Cities just like Tumblr
The list should contain exactly the same entries as Tumblr
The default should be GMT London (the closest real TZ to UTC and the middle of the list)
The text under the dropdown should read "The local time here is currently HH:mm am/pm" - the time should reflect the TZ selected, and should ideally tick over each minute (like on Buffer)

The Post Settings Menu
In the post settings menu, the date picker needs to be updated to use the new global blog timezone instead of the user's timezone.
That means, if I'm in UTC+2, and I login to my blog which is set to GMT, when I create a new draft the PSM should show me the time in GMT, not in UTC+2. Equally if I set a post to publish at 2pm, this should be 2pm GMT not 2pm UTC+2 i.e.12pm GMT.
The Date Helper
There are actually 2 date helpers in Ghost:

/core/server/helpers/date.js -> used in themes
/core/client/app/helpers/gh-format-timeago.js -> used in the admin panel

Both of the Date helpers need to be updated to take the timezone into account. As a result, the date output should always be correct according to the blog's timezone.

this is going to be rad.

Hi @AileenCGN, @ErisDS!
This is a really great improvement, as a longtime Ghost user from Hungary I'm looking forward to finally set my blog to my local timezone.
May I point to a possible shortcoming of your current implementation? I've checked the commit (7d20553651e7263ea5fde4017cbe97695d9d8a89), and if I'm not mistaken, utcOffset is used to calculate the local time, which, I understand, is incorrect.
The thing is that the UTC offset is not fixed, but affected by the daylight saving time, e.g. currently in the UK the offset is 0, but after 27th of March it will be 60.
To make things worse, the start of daylight saving time depends on the Country/region, e.g. in the US it starts on 10th March, or if I'm correct there is no daylight saving time in Egypt at all.
The best thing to do in my opinion is to use moment-timezone, which can handle this.
Here is an example:
var m = moment('2016-03-20T10:22');
console.log(m.utcOffset(-300).isDST());      // false
console.log(m.tz("US/Eastern").isDST());     // true
console.log(m.tz("Europe/Dublin").isDST());  // false

Not handling the DST properly can lead to several issues, including misleading information for the users and incorrect post scheduling.
Not to mention the sort of an edge case, when a user from the UK sets the publishedAt property to March 27th 2:30, which is kind of non-existing because at 2:00 the time is shifted to 3:00, will the post be published or not?

Hey @szelpe, this kind of constructive feedback is incredibly helpful, thanks for taking the time, much appreciated :+1:

Another thing to consider (if it hasn't been already) is users who chose to have the date of posting in their URL's.
Take for instance my migration to GhostPro from a server running in UTC+10 (AEST). Several of my posts ended up being back a day so the old URL now returned a 404.
ie http://example.com/2016/02/01/somepost/ -> http://example.com/2016/01/31/somepost/
So, when timezones get enabled in blogs, what is going to happen to posts that might have their URL's changed in this scenario? Are they just going to return 404's? Is it going to be possible to add remaps or something?

This was going to be a quick comment and then I did some more testing (so bear with me)
In response to @Mooash:
Part 1
On master (w/o the changes from #6421 added), I set a post's published date to yesterday at 11pm (I'm in GMT-6 timezone), and published it. With date included in my post permalinks, it showed up as /2016/03/17/post-name/).
I then added the changes from #6421 on top of master. The permalink didn't change; however, the shown published date inside the post-settings-menu did (it changed to today at 4am -> the time difference between GMT-6 and the default timezone of GMT - daylight savings time adjusted.). Also, when viewing the list of posts in the frontend or the actual post itself, the "date published" shows that it was published today.
I then went into settings/general and set the timezone of my blog back to GMT-6, and then all of the dates in the places returned to what they were before I added the changes from the PR.
tl;dr - The timezone PR doesn't change permalinks/urls of published posts that were published before the code changes occured
Part 2:
I then tested to see if a new post with the PR changes was affected by the timezone setting. It wasn't actually. With a timezone of GMT, I set the post's published date to 2AM today. The permalink showed up as yesterday, in line with the current server timezone. This might actually be an issue b/c if the server is hosted in a timezone different from that of the client, then permalinks would not reflect any timezone changes, which might be confusing.
So....while the original question won't happen, it might cause other errors....
My idea on how to fix this:
If dates are included in permalinks, then handle them based on the timezone set in settings. As a stopgap to prevent 404's on previous posts, possibly do a 301 redirect based on the server's timezone to the actual timezone.
Pros with this behavior:

Permalinks are set relative to the timezone of the blog
any timezone changes will be reflected in the permalinks

Cons:

for people that don't know about the change, all of the permalinks would change until they changed their timezone back to what it was before the update (unless we implemented the 304 redirection idea)
if the timezone of the server is different than the timezone of the client than any posts before the change would 404 with date-enabled permalinks (again, unless we implemented the 304 redirection idea)

Does it make sense, to allow permalinks being changed afterwards? I think it would make more sense, to always reflect the server UTC time in the permalinks. When they are used as a link somewhere and the user changes his timezone, the link should still be the same. What do you think?

I guess that does make sense, yeah. And honestly it would only make a difference in the url for just the people that use dates in the permalinks. As long as it doesn't break existing links (which it doesn't) it should be fine

Could you find any further issues with the permalinks? I tested it as well, and the dated permalinks always show the UTC server time. Of course, this could be confusing, if the user is not aware of that, but at least it should prevent the permalinks from breaking if a user changes his timezone. As I couldn't find any further issues with that, I think it's working fine now and there's no need for a 'fix'. Is that ok for you, @acburdine?

@aileen that sounds good to me, but I'll defer to @erisds 's judgement before merging the PR :smile:

Sorry, I know this is waiting for a comment from me, I've been mulling it over. Although it's not a bug, per se, it seems to be a big missing piece of the timezones puzzle and it doesn't appear to have an easy solution.
Up until now, we haven't had a concept of timezone setting, we've always used the server, so permalinks using the server timezone was OK. Now that we have a timezone setting, it seems to me that it would be the user's expectation that their post URL would reflect their timezone setting.
E.g. if in January I write a post just after midnight to say 'Happy New Year' and I'm in Spain and have set my timezone to UTC+1, I wouldn't expect my happy new year post to have a url of 2016/12/31/happy-new-year/.
Therefore, although it's not changing permalinks, and is not a bug, it still breaks user expectations. Therefore I'd rather not merge the timezones PR in until we have a clear idea how to do this extra piece. Otherwise one will definitely go out without the other and it could get harder to reconcile the behaviour.
There are two possible ways I see of fixing this:
One is implementing 301 redirects from server time to the blog-setting time as suggested by @acburdine. The major downside to this is that it only accounts for a single timezone change.
The second is to store a reference to which timezone was set when the post was published. My first idea here is to have a published_tz field added to posts which defaults to the server timezone (so all existing posts would have it set to the server timezone). And then any future posts get whatever the timezone setting is on the blog at the time the post is published. The downside here is storing additional data which means complexity & also having to figure out what to do with imports/exports.
I think this calls for a bit of research into how these things are handled elsewhere. If anyone has any ideas or suggestions or examples of handling of timezones in other platforms, please chime in!

Found some discussions about dated permalinks regarding the timezones issue:

https://code.djangoproject.com/ticket/18794
https://github.com/jekyll/jekyll/issues/492
http://programmers.stackexchange.com/questions/161643/which-timezone-is-used-for-permalinks-of-posts

Thanks for the pre-work @ErisDS and @acburdine. Here is my conclusion of how things can work together.
Why we need UTC at application level (https://github.com/TryGhost/Ghost/pull/6421#issuecomment-212541046)

right now we store dates in the database based on the local server time
Ghost(Pro) always stores UTC in the DB because our servers are configured that way
self installed ghosts store the dates in any timezone depending on the server setup. that was a plus until now because we didn't support active timezone setting. so blogger just configured their server to the timezone they needed for their correct blog timezone
now that we offer timezones as a setting, we should use UTC from application perspective
a good reason is: default scheduling will not work when we don’t use UTC as default because:

CASE:

server is configured to run in GMT+2, but active timezone is GMT-6 (so your blog runs in GMT-6 timezone)
imagine now is 2016-01-01 2PM GMT-6
you now want to schedule a post for 2016-01-01 5PM GMT-6 (so for 3 hours later)
ember admin will send this date over to the backend as UTC (which is 2016-01-01 11PM)
because the server is configured as GMT+2, the DB would store 2016-01-02 1AM
the default scheduler would publish the post at 2016-01-02 1AM (which is in GMT-6 2016-01-01 7PM)
but we expect the post to get published for 2016-01-01 5PM GMT-6
so the post would get published 2 hours too late!
this only happens if the server is not configured to UTC, so only to self installed ghosts
but still we want to ensure that if we ship features, they should work on Ghost(Pro) and on self hosted ghosts

Because of this case we should ship the ghost node application running in UTC.
Either we force the user to change the system time (which may not work, because some people will not read the docs good enough or are not able to change it) or we force UTC in the node process. For example we can add UTC support by adding process.env.TZ = 'UTC' before any date is used. I will read into known issues later how we can avoid running into trouble.
When we change the process to run in UTC, we need to convert all existing posts in the database to be in UTC, if the local server time is not UTC. That means we need a migration script. The migration script will read the timezone of the server. Then we transform all post dates into UTC and update them. The rest will work automatically because every blog who gets this new ghost update, will have a default timezone in the settings (which is Dublin TZ). But permalinks will break afterwards. Thats a very good reason to implement the redirect option. The redirect idea is the simplest solution we can offer and it will solve a lot of edge case.
redirect broken permalink and scheduling

every time a reader opens a permalink from the web, the server will compare the date permalink prefix  (/:year/:month/:date) and if not equal, it will redirect to the one that is valid (based on the current timezone setting)
we always find a post based on slug (or id), so the date prefix in the url actually doesn't matter
lets do a big example

CASE:

the new year example
your blog timezone is GMT+1
your server is running on Ghost(Pro) hosting (so node runs with UTC)
you schedule a post for 2016-1-1 12:00AM
the database stores it as 2015-12-31 11:00PM (which is UTC)
because the permalink would be based on current timezone setting, the link would be /2016/01/01/happy-new-year if the post gets published (because transforming 11:00PM UTC back to GMT+1, would result in day 2016-01-01 instead of 2015-12-31. (thats good)
now you change the active timezone of your blog to GMT-4
if we don't change the old UTC date 2015-12-31 11:00PM, the post would get published 4 hours too early!!!
thats why we need to listen on active timezone changes
in this case the post published_at in the database needs to be changed to 2016-01-01 4AM
the valid permalink for this post would be 2016-01-01 4AM UTC ---> 2016-01-01 12AM GMT-4 --> /2016-01-01/slug (which is correct)

Regarding to imports from wordpress blogs or existing non hosted ghost blogs:
When we support the redirect feature, importing data is not a problem at all. Because we can redirect every permalink to the correct url on the fly.
The only thing we should add is a meta attribute in the JSON file in which timezone the dates in the JSON file are stored to ensure we can convert the dates to correct UTC values.

@AileenCGN
Here is a list of what needs to be done to get it work:

implement the new redirect logic for permalink in /controllers/frontend/index
we have a util fn urlPathForPost which calculates the permalink based on a post based on server timezone, this fn needs to be extended to calculate the url based on blog timezone
update all scheduled posts published_at fields when blog owner changes the timezone settings, this needs to trigger a reschedule event (post.js model already triggers all kinds of schedule events)

I will implement the UTC force on application level and care about the importer.
I’m happy for feedback and edge cases which cannot be handled with this strategy.


Talk to Agent Issue

Hi,
We used the examples from PowerVirtualAgentsSamples/BuildYourOwnCanvasSamples/2.location-and-file-uploading/
We just having issue on PVA inbuilt Escalate to Agent command as it does not escalate the bot conversation to agent in omnichannel. We also checked using the code snippet of livechat generated in omnichannel and it escalated fine when we connect our PVA bot.
My concern is that escalate to agent is not supported in webchat or do we need further configuration to set it up?
Thank you.

Have you followed the https://learn.microsoft.com/en-us/training/modules/omnichannel-power-virtual-agents documentation?
As far as I am aware, when you do use Omnichannel for Customer Service, you will need to use the widget from Omnichannel. (https://learn.microsoft.com/en-us/training/modules/omnichannel-chat/). If this does not work as expected, it is best to create a support ticket.


Impossible to create a pdf using #onLoadEventFired

I faced with a problem using the primer of pdf generation using #onLoadEventFired event.
The problem is in page generation using ReactJS. Components rendering takes for about a 2 seconds but the PDF output looks like a loading page:

As a workaround, we are creating the CustomEvent at #componentDidMount ReactJS component lifecycle step with name, for instance "mounted":
... event = new CustomEvent(typeArg, customEventInit); dispatchEvent(event) ...
This event is logging at the absolutely correct time to the page for a generation. Nevertheless, no one event of Page instance handles this custom event. Moreover, I've tried to handle this event using DOM events. Unfortunately, no one handler helps me.
I've been searching a lot for a decision and found that using Puppeteer we may use #exposeFunction method of page object to handle simply custom events.
Could you please help me to find the correct solution?
I've used the code sample that you suggested for pdf generation.
Thank you.

Hi,
you can add binding via addBinding method on the Runtime. This will expose binding name on the window object in the page. In this following example I'm adding onCdtContinue binding, so window.onCdtContinue will be a function that can be invoked on web page side, window.onCdtContinue(''). After invoking that, onBindingCalled listener argument will be executed:
    final Runtime runtime = devToolsService.getRuntime();
    runtime.enable();

    page.onLoadEventFired(event -> {
      runtime.addBinding("onCdtContinue");
      runtime.onBindingCalled(new EventHandler<BindingCalled>() {
        @Override
        public void onEvent(BindingCalled event) {
          // Make sure event name is onCdtContinue
        }
      });
    });

@kklisura,
We found the other one solution, simply talking this is a workaround.
We are adding to localStorage the item in #componentDidMount method:
localStorage.addItem("ready", "1");
After this, we are able to handle it using the DOMStorage:
`final Page page = devToolsService.getPage();
page.enable();
    final DOMStorage domStorage = devToolsService.getDOMStorage();
    domStorage.enable();
    domStorage.onDomStorageItemAdded(event -> {
        if (ChromeLocalStorageItem.READY.getItem().equalsIgnoreCase(event.getKey())) {
        //pdf generation logic
        devToolsService.close();

}
});
    page.navigate(url);`

Thank you.


Feature request: also show XML code value for keybinds

This app would be super useful for people programming VoiceAttack commands for Elite if it could also show the XML entry for any given keybind (and quickly copy it to clipboard), because those are used with programming VoiceAttack in combination with bindED. (I believe they are the 'code' values in your ActionMappings.json file). Perhaps optional since not everyone needs these values.
For example a voice command to lower landing gear; instead of telling VA to press a specific key like "press L", you can look up the XML entry for it which is 'LandingGearToggle'. With bindED in VoiceAttack that key will be a variable available as 'edLandingGearToggle'. This will make the VoiceAttack command work with any keybinds you have set up in-game and can be shared with other players without having to be edited to their own keybinds.
Finding the correct keybind XML entry is a bit annoying currently as you need to dig though the XML bindings file, and since this app makes the bindings easily searchable it would be perfect for this VoiceAttack/bindED use case.

@DaftMav  This looks super easy to add.  I have the data already.  I read through the BindED docs.  It seems like you just need to include the ed prefix to all of the element names from the *.binds file.
I'll get a quick build done for this tonight.  I'll just add a column BindED Variable.

Yeah bindED adds the 'ed' prefix to its variables used in VoiceAttack. The time consuming part is usually finding which element name you're looking for, so a column with the BindED variable would be perfect! 👍

I just added the VoiceAttack/BindED Variable column: https://github.com/ghorsey/EdBindings/releases/latest


Static files on proxy server

Hi Vincent,
Is it possible to put the manifest.json and sw.js on a seperate proxy server which forwards all requests to the ORDS?
Problem is, that I can't put any files in the root directory due to company restrictions but I would love to implement some PWA features.
Thanks

I want to explore more ways to store manifest.json and sw.js, and putting them on a seperate proxy server might be a good solution. I'm also exploring using ORDS to serve the two files, with a dummy html page that only redirects to the APEX app.
I would be happy to hear your feedback if you try before me.
I also think if you are serious about implementing PWA features, you can convince your DBA about opening the doc_root to you.

I'll try the proxy server approach.
The problem is, that our instance is used by multiple applications therefore they don't want any custom changes for a single app, which is understandable but stops new features to be implemented :(.

Hi!
along the  same line, there is a sample PWA app hosted in apex.oracle.com (https://apex.oracle.com/pls/apex/f?p=144628:1:110374005330206:::::)...  I am doing a sample PWA app using your awesome  guide, also hosted in apex.oracle.com, but don't know how to put the manifest and sw files a the root dir.  Any idea how get to the root dir in apex.oracle.com?(!!!)
Regards

apex.oracle.com is a sandbox environment in which you have no db access. You will not be able to put the service worker and the manifest there. Any other environment you can use for yourself?

I haven't done it myself on the Oracle Cloud but I have talked about it with a DBA & Cloud Specialist and there should not be any problem!
If you find a way to put the files there, I would love to see a tutorial ;)
Thanks!

Hi,
Thx for your guid, I'm new in Apex and I'm trying to make an existing App as a PWA App but I dont know where to put the manifest and sw files, I'm using tomcat8. Can you please guide me ?
Thanks.

Are you using ORDS Standalone or Glassfish? If you are using something else, I'll have to check with a DBA and get back to you

I'm using Tomcat.

@MohamedSubhi I don't know the answer. I'll get back to you when our DBA returns from vacation...

Okay, Thx.

@lcapriles:  did you succeed putting the files on the reverse proxy?

Hi! with the reverse proxy forwarding to apex.oracle.com I was only able to get half of the job: I was able to serve my app and the manifest/sw files, but when hitting submit  I always got an "session expired" error: some how it seems that the cookies were not getting through....  I tried reverse proxying with both  httpd and  nginx with always more or less the same results...  So I switched to my shiny new XE 18c with apex/ords 18 and today I begin the PWA thing!

Anyone else successful with that approach?


Upgrade intelephense to v1.9

Thank you for maintaining this awesome package!
Right now, the underlying intelephense language server is pinned towards version ~1.8. However, with the beginning of 2023, the intelephense maintainer released v1.9. Most importantly, it come with PHP v8.2 support.
Would you mind upgrade intelephense to v1.9?

Ok, I will upgrade today @rtucek

@marlonfan Hi, I've raised a PR to upgrade intelephense to 1.9 if you could please take a look at it: https://github.com/marlonfan/coc-phpls/pull/120 Thanks :smile:
I've been using it with my vim and it works perfectly :partying_face:

@lewissteele Just now, the new version upgrade was completed

Can you upgrade it to the latest version? There's a bug with stubs and has been fixed a while ago; it cannot recognize builtin functions such as rand() and such.


New category - Defense

I was looking to add Tekever, a Portuguese company that builds Unmanned Aerial Systems and satellites mainly for maritime surveillance and intelligence/defense purposes, You can check their website here.
While there's a "Sea" category, I would argue that this company's primary focus on intelligence and defense makes it a better fit in a more specialized, new category. For that reason,  I suggest creating a new category such as "Defense" or "Intelligence and Surveillance", to better reflect this company and others in a similar position.

I would say that this would be a plus.
It is a very specific sector but nonetheless a lot of people specialize, or want to specialize in it.
This also reminds me of "AeroSpace" sector. Both attract a very specialized group of engineers, possible interchangeable between them.
The only "downside" is how many companies will there be that hire in Portugal? 😄
But that's something for contributors to fill in.

I'd argue that the number of companies is not relevant here since we already have categories with only one or two companies.
The precedent has already been set.
But as you said, let's wait for the maintainers to decide.

Regarding this company
Does anyone know more companies related to drones/robots, mostly about autonomous exploration or just programming them for something


Remove dependency on atum

The import of atum needs to be in a separate file/class so it's only run if the mod is found at runtime.

Also I put atum into a libs folder so clean doesn't remove it.


Is there a way to uncheck them all？

About this issue

Briefly describe the issue
How can the issue be reproduced / sample code

Details

[ ] Used library version
[ ] Used support library version
[ ] Used gradle build tools version
[ ] Used tooling / Android Studio version
[ ] Other used libraries, potential conflicting libraries

Checklist

[ ] Searched for similar issues
[ ] Checked out the sample application
[ ] Read the README
[ ] Checked out the CHANGELOG
[ ] Checked out the MIGRATION GUIDE

Please follow the issue template.
But I assume you meant: https://github.com/mikepenz/FastAdapter/blob/develop/library-core/src/main/java/com/mikepenz/fastadapter/select/SelectExtension.kt#L355

Ok, this will solve my problem, thank you, but this method is outdated, is there any other way to replace it
------------------ 原始邮件 ------------------
发件人:                                                                                "mikepenz/FastAdapter"<EMAIL_ADDRESS>发送时间: 2020年9月23日(星期三) 下午4:06
收件人<EMAIL_ADDRESS>抄送: "NightLiar"<1286465087<EMAIL_ADDRESS>主题: Re: [mikepenz/FastAdapter] Is there a way to uncheck them all？ (#920)
Please follow the issue template.
But I assume you meant: https://github.com/mikepenz/FastAdapter/blob/develop/library-core/src/main/java/com/mikepenz/fastadapter/select/SelectExtension.kt#L355
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

why is this method outdated?

Your 3.3.1 library USES @deprecated in AndroidX to mark that the method is expired or out of date

Oh, I am using FastAdapter. I should use SelectExtension. I am wrong


Stream

I will add more JavaDoc in the near future, but for now this PullRequest is just for discussion

Wow, thank you for your huge amount of work. I'll take a look at it at my leisure - but it may take a while


Can i use quaggaJS on JSP?

Hello Delvelopers.
I'm a college student working on a project to create a web app with jsp.
I trying to get barcode number for a product using jsp, but it does not work.
According to the guide, quaggaJS can use script tags
I tried to create the following example script that includes dist / quagga.min.js but it doesn't work.
https://serratus.github.io/quaggaJS/v1.0.0-beta.1/examples/scan-to-input/
I copied this page to see if it worked, but it failed.
this is the best way for my project.
I would appreciate it if you could tell me how to use this as jsp.
:My development environment is tomcat and jsp in eclipse.

We will need a better description of "it doesn't work" to be able to help you.  I doubt that it's anything related to JSP, as long as the HTML the client is receiving is correct.

thank you for reply.
i tried copy that web page. but nothing happens when I press the button.
this is my jsp code.
`

<form>

    EAN:
    <input id="isbn_input" class="isbn" type="text" />
    <button type="button" class="icon-barcode button scan"> </button>

</form>

`

"nothing happens" isn't really a description here, I think you'll need to learn to use your browser's debugger to see what the source of the problem is.  I'm going to guess that most likely you're not loading it from a secure server (https) which is necessary for camera access in browser.  As you can see from the link above, that exact code works fine, and whatever software is serving it isn't relevant, so you'll need to look at the javascript console in chrome or whatever to see what is failing.

Yes, you can use it with JSP. Java Server Pages (JSP) is just a convenience format for creating a Java servlet that returns HTML code to the client. The returned code is no different than if you had coded the web page's content manually. JSP does not interpret, modify, or run any of the HTML or JavaScript code on the server side.
If you want to remove JSP from the equation as a possible cause of why it might not be working for you, simply create a plain HTML page and try to get the scanning to work from there first. Really, tho, there is no difference between a standard HTML page and a JSP page as far as the browser is concerned. The results are identical.


null error when opening obverse in chrome extension

When opening the obverse tab in the chrome extension, the following error is displayed.
Error: ENOENT: no such file or directory, open 'c:\automationTesting\obverse\tests\undefined\data-model\app-map.json'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at c:\automationTesting\obverse\chrome-extension\app.js:47:19
    at Layer.handle [as handle_request] (c:\automationTesting\obverse\node_modules\express\lib\router\layer.js:95:5)
    at next (c:\automationTesting\obverse\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (c:\automationTesting\obverse\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (c:\automationTesting\obverse\node_modules\express\lib\router\layer.js:95:5)
    at c:\automationTesting\obverse\node_modules\express\lib\router\index.js:281:22
    at param (c:\automationTesting\obverse\node_modules\express\lib\router\index.js:354:14)
    at param (c:\automationTesting\obverse\node_modules\express\lib\router\index.js:365:14)

this error is harmless, although it is annoying.  There is a branch remove_chrome_backend, which should solve this issue once it gets merged in.


Migrate the JSON literal report to proper types

This makes it more plausible for this format to be made available in a subcrate to allow other libraries/tools to easily deserialize it. Also makes it more obvious the places where we're being weirdly inconsistent or exposing random internals because I was lazy/hasty.
A weird side-effect of this is that the order of the fields got shuffled around. It seems the json macro will sort fields by name, while proper derives use the decl order. The latter seems preferred anyway, but unfortunately we take a huge churn to the snapshots, obfuscating that this is a semantic noop.

This is part 1 of the required support of #330 which I wanted to split out because it churns all the test files :(

Added doc-comments to all the new types

I added FIXMEs for the places you pointed out.
I agree we should do a second pass on the schema before shipping an MVP of the bot/webapp. I don't expect the MVP to ship soon (lots of back and forth discussion and iteration on the design is inevitable), so I think landing this as-is to streamline future work on the schema is a good idea.
(I have some vague ideas around auto-generating json schemas and stuff so maybe a new library/tool is in the cards here.)


parseHash dosen't parse the hash query

parseHash parses query params from the main URL not from the hash part
For example this common use-case http://example.com/app/#items?filter=cats
It cannot be implemented using this module.
In my case parseLocation always returns Nothing if the hash query used.
urlToRoute : Parser (Route -> a) a
urlToRoute =
    oneOf
        [ map MainRoute top
        , map ItemListRoute (s "items" <?> stringParam "filter")
        , map ItemRoute (s "items" </> string)
        , map AboutRoute (s "about")
        ]

parseLocation : Location -> Route
parseLocation location =
    parseHash urlToRoute  location

I expect the function with the name "parseHash" parses hash only, but instead, it parses the "location.search" as I can see here
https://github.com/evancz/url-parser/blob/master/src/UrlParser.elm#L353
The workaround I use is this (not very elegant, sorry)
fixLocationQuery : Location -> Location
fixLocationQuery location =
    let
        hash =
            String.split "?" location.hash
                |> List.head
                |> Maybe.withDefault ""

        search =
            String.split "?" location.hash
                |> List.drop 1
                |> String.join "?"
                |> String.append "?"
    in
        { location | hash = hash, search = search }

Thanks @SergKam, ran into the same thing.
Could we possibly update the documentation?

I just ran into the same problem. Thanks @SergKam for quick workaround!

I ran into the same problem. Rewriting the code using path params because of this issue.

I've lost my whole day tinkering this issue & never thought it might be that the browser processes hash & search in this manner.
This is my function for normalizing the Navigation.Location, it will give you the correct and same location with both cases #hello?q=world & ?q=world#hello:
    fixLocation : Navigation.Location -> Navigation.Location
    fixLocation location =
        case String.split "?" location.hash of
            [ hash, search ] ->
                { location
                    | search = ("?" ++ search)
                    , hash = hash
                }

            _ ->
                location

This actually in my opinion messes a lot with people diving into making SPA/PWA's in Elm.
Since libraries such as elm-lang/navigation actually favor the approach of hashed routing, this behaviour should be documented, here or in elm-lang/navigation.

@SergKam thanks a lot, this was making me crazy

Also took several hours for me to figure out this was the problem, glad this issue was here...

I think this repository is replaced with https://github.com/elm/url. The issues have to be tested, and new issues have to be created if they're still existing.


Added my profile into readme.md and added a JAVA code

Added my profile into readme.md and added a JAVA code of all snake and ladder paths from one position to other

Nice work, thank you! 🙌


Set locale via application configuration

It is set as a header like the secret key

Thanks @r-icarus <3


Fails importing valid SBML document

Issue description
<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level3/version2/core" level="3" version="2">
  <model id="Apoptosis" name="Apoptosis" timeUnits="second" extentUnits="mole">
    <listOfParameters>
      <parameter id="foo" units="dimensionless" constant="true"/>
    </listOfParameters>
    <listOfInitialAssignments>
      <initialAssignment symbol="foo">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <apply>
            <times/>
            <cn> 3 </cn>
            <cn> 2 </cn>
          </apply>
        </math>
      </initialAssignment>
    </listOfInitialAssignments>
  </model>
</sbml>

The above SBML document fails to be imported in heta which produces the following error:
[error]	No required "num" property for "foo" of Const.

However, the document is valid. My understanding is that heta complains that "foo" has constant=true while having no value attribute set, the value being set by an InitialAssignment. This is however valid per the SBML L3V2 specifications.
Packages

heta-compiler: 0.9.1

Yes, you interpretation seems correct. There is a mismatch between SBML and Heta formats.
Maybe it should be imported as
foo @Record { units: dimensionless,  boundary: true} .= 3 * 2;

but now
foo @Const { units: dimensionless };

add fix as above. Will be published in new release


Having Trouble when using FGA on Mumu Nebula Emulator (Could not Choose Folder)

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
CN
FGA build number
1599
Describe the bug

Video
.
Device model
Mumu Nebula <IP_ADDRESS>
Android version
7
Screen size
No response
RAM
No response

Choose "Show internal storage" and then tap the 3 lines in the top left.

选择"显示内部存储空间"，然后点按左上角的3行。

It looks just the same.

This is how it normally looks.
We can't help you with this issue as we only support Memu and Nox officially.