[Feature Request] Parse Obsidian Reminder dates and send notifications as reminders

Hello,
I was wondering if it's feasible to include a feature that scans files and extracts Obsidian Reminder dates, like the ones in the default format: @(DD-MM-YYYY HH:mm), and then sends notifications when the selected date arrives. Is this something that can be added? It will be a tremendously useful feature and will make the app more complete.

Hi,
I added the reminder function.
You should be able to use all the date formats the Obsidian Reminder Plugin supports. I additionally added just the @hh:mm option that will default to the current day.
Setup
You will have to reinstall the app and reconfigure the widget. Depending on your Android Version, you will get asked to allow Notifications in the main app.
Disclaimer
I did not yet test the reliability of the notifications.
Currently, the notifications get queued by the widget itself.
There may be some Android sleep function or Battery Saving mode that prevents the notification to fire. If there is no widget, there will be no notifications.
Workflow
The widget should check for updated files every 30 Minutes on its own. During this process, new Reminders will be set. The best option is to manually update the widget.

Thank you very much!
I really appreciate all the work you are doing. I am finding this incredibly helpful and with the reminder notifications feature, it will be even more so.
Having the ability to receive reminder notifications on Android, in particular, has been something the community has been asking for a long time, and has been a crucial missing piece in my task management workflow with Obsidian, so I'm thrilled that it's finally here. So, thanks again!
We can leave this issue open for people to report any bugs they find regarding this functionality, or you can close it if you want. As you prefer.

Thank you for your nice feedback.
Let's keep this issue open, I doubt that everything works from the start ^^.

Problem:
If a task with reminder is deleted, the notification should be canceled as well.

I have not yet been able to test this functionality, as currently the TODOs are not visible within the widget for me; instead, only the text "No todos" is displayed. It's strange, especially considering that I tried without success to test it using a basic Markdown file identical to the one in the demo linked in the README, as well as inside a newly created vault in case some plugin was the problem.
Despite this issue, I have noticed that I am able to successfully open the file by clicking on the heading at the top of the widget, which suggests that the problem may not be related to an incorrect file path.
My tests were done using a Markdown file incorporating a date template formatted as {{dd}}-{{MM}}-{{yyyy}}} and using the latest version available. I also made sure that the file permission access was granted. It should be noted that my folder path contains spaces, but I also experimented with removing these spaces without success.
Is there a log generated by the app where I can check what is the cause of the problem?

Currently, there is no log. I will look into this.
My guess on this issue is a trailing space or something like that.
If you can open obsidian at the file, check the obsidian popup states, Opened file....
If you have updated the app, please try and clear all data and cache.

@YukiGasai note that:

@hh:mm
Will tag me!

Note sure I have the context or expertise or context to help directly, so I'll have to step aside and let folks smarter than me lend you a hand. ;)
However you need help getting open source software on hardware or bringing up cooperative dev environments, let me know.
https://m.youtube.com/watch?v=xwjhmpTD_z4

@RYSKZ I added basic logging that hopefully indicates a problem. The log should be written to /Documents/todo-widget-log/.
From what I was able to find, a real debugging should be done using logcat on a pc.

Hi @RYSKZ,
if the reminders work for you now, then I think we can close this issue.

Hi @RYSKZ, if the reminders work for you now, then I think we can close this issue.

Sorry for the delay in replying. Unfortunately, I am still unable to test the functionality, as the widget is still not working. I have followed your suggested steps, such as checking the trailing spaces and clearing the application cache and data, but the problem persists :(
I plan to examine the logs when I have some free time to find out what may be causing the problem. If I can't figure it out, I'll open another issue for this other problem in case you or somebody else can help me with the troubleshooting.
Feel free to close this issue, as the problem I'm facing is not related to the remainders, and if I or anyone else finds a problem with this in the future, we can always reopen it and take a look at it.


Ref wrapped ancestor plus safe wrapper destruction

Merge of #364 and #346: Fixes memory leaks and segfaults. Wrapped nodes maintain reference on nearest wrapped ancestor in order to reduce graph traversal required when destroying wrapper of node in detached graph.

Please review, @rc0x03 – thanks!

:+1: I think this is the ideal solution. This will keep things fast for parsing/searching and only a little overhead for manipulating documents while still having great segfault/memory leak protection. @teleological thanks for putting so much energy into this (especially the comprehensive tests). I think it will make libxmljs a more viable option for projects that require document creation/manipulation.

@rc0x03 Thank you for your collaboration on this issue, and for starting the ball rolling back in July! @defunctzombie Unless you object, I'd like to merge this along with #362 and #363 with an eye to the next release.

If you both agree this is good, then I have no objections.
On Saturday, December 5, 2015, Riley Martinez-Lynch <
<EMAIL_ADDRESS>wrote:

@rc0x03 https://github.com/rc0x03 Thank you for your collaboration on
this issue, and for starting the ball rolling back in July! @defunctzombie
https://github.com/defunctzombie Unless you object, I'd like to merge
this along with #362 https://github.com/polotek/libxmljs/pull/362 and
#363 https://github.com/polotek/libxmljs/pull/363 with an eye to the
next release.
—
Reply to this email directly or view it on GitHub
https://github.com/polotek/libxmljs/pull/365#issuecomment-162054320.

:+1: @teleological looks like you're good to merge once you squash the commits.


Carla 9 with Ubuntu 19.04 on Dell laptop - computer freezes, and must reboot

Hi,
I have a laptop (Dell 7490) with Ubuntu 19.X. I tried running Carla and it froze the entire computer.
Meaning - if I run it, I can sometimes actually use the AWSD keys to navigate the demo, but if I try anything else (say CTRL+TAB) the entire OS freezes and I have to reboot the machine.
I tried upgrading from 19.04 to 19.10 because I know some changes were made, but the same occurs there.
Now - I don't know if it is an OS issue (was it ever tested on Ubuntu 19.X?) or a hardware issue (it has intel graphics and not nVidia).
Is there something I can do? are there any logs I can raise and send for someone to have a look?
Thanks!
Ron

Out of memory? Is the disk active when it freezes? What specs does it have?

Hi,
I don't know if the disk is active because the computer totally freezes.... if you can help me in how to find the logs that can help.
The computer has 16gb of RAM so I doubt memory is the issue here....
I really wanted to run the carla on windows (I have dual boot) so that I can try and understand if it is a hardware issue or an OS thing, but I could not find any pre-built binaries and we don't have visual studio license here... (we build on linux...)

I'm sorry, but this is not really a good place to ask for general Linux support. This is the carla issue tracker. It tracks issues within Carla. And while Carla might trigger those issues, it's not likely to be the issue itself. A lot of information can be found online with a search for "ubuntu froze what do i do" or similar.
Like you don't think that memory is the issue. Have you checked? Googled for "linux memory usage monitor" or similar, tried a tool, started carla, checked if there's still free memory while it runs? 16 gig is not much. I'm running out of memory on my 16 gig machine using carla with my use case for example.

Let me make it clear,
This is NOT a linux issue. My ubuntu runs flawlessly no matter what I do, and as a programmer I do run some memory hogging programs and never encountered any issue,
Nevertheless once I run Carla, even when it is the only thing running on my computer, the computer freezes completely.
I suspect it is either an OS API that went bad or something similar
I didn’t even load anything specific to Carla...

Well, if you could monitor memory consumption while you start carla we could exclude the scenario that the machine is simply running out of memory and swapping heavily? That can make a system so unresponsive that it feels frozen. Because from your description I am not sure if your system is frozen or just really really slow. A lot of PCs/Notebooks have indicator lights somewhere to indicate hard disk activity, that's what my question about hard disk activity was aiming at.

Hi, so sorry for the late response but I had to create a presentation and was on my windows for the last few days.
Now I am back to Ubuntu and tried it again. so first time I tried to run Carla it actually ran pretty smoothly (except for the fact that I didn't know how to release the mouse from it)
Then I tried to change the window size and then it froze again. from the moment, even after I rebooted it started freezing the entire computer again
I did run it with the system monitor, the memory was at around 40% all along, regardless of whether it worked a bit or not.
I then thought maybe it was because I was using an external display, so I disconnected my laptop from the docking station and tried - but it was actually worse, it didn't even render a single frame before freezing the entire computer
I also tried taking a video but because it freezes everything the video file wasn't written to disk...
Any suggestion on how to debug it next?!

You can Alt + Tab to release the mouse.
How did you change the screen resolution? And of what? The CarlaUE4.sh server windows, or some client?
Did you disconnect the docking station while the simulator was running?

Okay, so some answers and updates....

How did you change the screen resolution? And of what? The CarlaUE4.sh server windows, or some client?
I did not change the screen resolution, I changed the size of the window (it was not on full screen) I changed the size of the CarleUE4 window

Did you disconnect the docking station while the simulator was running?
Of course not. I made sure all windows are closed, then disconnected and then tried it

Now for the update:

It seems that using the -opengl flag it does not freeze
When running as a server (using DISPLAY=:) and then using another window as client (Which is what we do with our system) it runs fluently without any issues

So it only happens without the -opengl (although I was sure I tested it before), and as a standalone window

is all about the GPU that you computer has. If you are running it with the CPU graphics, it will freeze.


Speed-up Download Repo Functionality

Is your feature request related to a problem?
Downloading all student repos of a single exercise takes multiple minutes, which is quite unhandy if somebody wants to download the submissions of all exercises of a course (e.g. to perform plagiarism checks in the end of the semester)
Describe the solution you'd like
I'm pretty sure the reason why downloading takes so long is this loop:
https://github.com/ls1intum/Artemis/blob/5a688d1ccb5d46a4b56e9bedbc28cb58854d7d66/src/main/java/de/tum/in/www1/artemis/service/ProgrammingExerciseExportService.java#L94-L111
Parallelizing the loop should resolve the problem.

@krusche Please reopen this issue, since fix was reverted in https://github.com/ls1intum/Artemis/pull/3370.

I don't know why the fix was reverted. We will investigate it


Fix #60

Correctly casts server time from long to int

Correct processing of the name of the dimension in which the player is


Pagination on composite type

Description
In the DB I have a column with a composite type.
I'm filtering/ordering on this column but the pagination was not working as expected.
I did this changes to fix this issue.
There are two commits:

one to show the problem
one to fix the problem

Checklist

[x] I added tests that cover my proposed changes.

I hope this can help :)
Thank you :)

There was an issue with ecto so I had to explict the fields. The bug has been solved so I can avoid the loop.
What do you prefer?
https://github.com/elixir-ecto/ecto/issues/4208#event-9532123091

Sorry, I didn't explain myself well.
I did
def build_cursor_dynamic_func_normal(fields) do
    for field <- Enum.uniq(fields) do

because it was not possible to use
field(r, ^field) <= type(^field_cursor, field(r, ^field))

inside build_cursor_dynamic_func_normal.
I think the current solution works fine so it is ok for me

It's fine for me, too, and we don't have to change the Ecto version requirement this way.

Thank you!


fix browser-specific Date() issues in notes

fixes #5154 by replacing "-" with "/" in note comment Date strings like "2018-07-05 20:27:09 UTC"

Looks good, thanks for the quick fix @thomas-hervey 👍
We do have a handful of other fixes like this scattered around the iD codebase, so it might be worth considering adding a library to work around the quirks of JavaScript date string parsing.. @kamicut suggested date-fns for this.  Feel free to evaluate it and send another PR if it's something you want to try!


RST-2361 - Changing dob validation

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RST-2361
Change description
Acceptending under 16 now, but not the ones born in the future.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

@zaparka I just approved this but just noticed that we should remove the full stop at the end of the message to keep it consistent with other error messages and to follow GDS


Moved the hardcoded coreos ami_id to a variable from kube public and private stack

The ami_id changes according to the region of Amazon, this PR moved the hardcoded CoreOS ami_id to a variable.

I would recommend considering defining separate variables, so the controller/worker can get separate AMIs (or the operator can control them separately). I would also consider making the variable name more generic, like ami or use a map as we do in other examples. Please also take note of the way I prefixed your commit message with ex/kube-stack-*, in this case your commit is updating the kube-stack-public and kube-stack-private example env. With a mega-module repo, these prefixes are really helpful.
My recommendations above can be addressed separately, this PR is fine to merge as-is, so I have.


Handling of Buttons changed

Which version of Room Card?
v1.07.00
Describe the bug
I used to use the tap_action toggle to activate a button.
Today I got an error message from HA that the service button/turn_off is not supported.
My Card Config:
type: custom:room-card
title: Draußen
show_state: false
info_entities:
  - sensor.temperatur_aussensensor
  - sensor.luftfeuchtigkeit_aussensensor
entities:
  - entity: button.garagentor
    tap_action:
      action: toggle

To Reproduce
Steps to reproduce the behavior:
Use a button with toggle
Expected behavior
Either toggle works for button, or a new action press is added specifically for buttons
Alternative Solution
I use a service call to press the button:
type: custom:room-card
title: Draußen
show_state: false
info_entities:
  - sensor.temperatur_aussensensor
  - sensor.luftfeuchtigkeit_aussensensor
entities:
  - entity: button.garagentor
    tap_action:
      action: call-service
      service: button.press
      service_data:
        entity_id: button.garagentor

When did it last work?

Hard to tell, I don't use it much as it seems. I didn't use it at least for tha past 3 weeks. I have no logger data beyond that.

Hmm ok because the actions are just passed to hass. I don't really do anything with them.

OK, so we need to use the service call in order to use buttons, right?
Maybe worth adding an example in the documentation to avoid further issues since buttons do not appear in the documentation yet.

You need to call the correct service that works for the button. Thats something you need to figure out yourself, not something that has anything to do with the card.

Sure and I already did, just thought having an example in the documentation could help others figuring it out faster.

Its already in there : https://github.com/marcokreeft87/room-card/wiki/Configuration#actions
Check the link to the lovelace actions

I installed today and ran into this same issue while configuring some room cards. I believe the toggle action is supported by button entities as I have other cards that use the same format mentioned above for them and they work perfectly fine:
tap_action:
    action: toggle

I also tested this by making a new button card for the button entity, it uses the same format and functions properly. yaml for button card config:
show_name: true
show_icon: true
type: button
tap_action:
  action: toggle
entity: button.nodered_821790affde5c453

Maybe this issue should be re-opened?


Chore/add python linter

Fixes #4 #5
Why do we need this PR?

Add python linter rule
Add CI workflow

How did you address the issue?

Add flake8 linter rule
Add github action workflow for CI
Add pre-commit for flake8
Add README.md document
Add PR template

PR readiness check list

[x] Did it pass the lint check?
[x] Did you test this PR?
[x] Did you explain the changes clearly?
[x] Did you reference the correct issues?

GitGuardian could be regardless here


log4j vulnerability issue in eleasticsearch and logstash docker container in zebrunner CE

Zebrunner CE 1.9
The following containers use a vulnerable version of log4j (2.11.1 & 2.13.3)
-elasticsearch
-logstash
We need a fix to be able to update the above docker container so it has a version of log4j without the vulnerability.

Hello there guys! I know that you are really busy but is there any development on that issue or any "plan" is the update of the reporting service 1.26.2 gonna be a definitive fix?

@jdpower1337, waiting for oss version of elatsicseach. logstash-oss seems available in rc
https://github.com/zebrunner/reporting/issues/2335

request resolved in https://github.com/zebrunner/reporting/issues/2335. latest reporting is part of the CE in develop and should be tested. ETA - Jan, 28.

Verified, fixed.


Configs for spawns may not work

Per a curseforge user:
I tried to make new mobs spawn in the structures, so I added then to the server config file if the mod like this:

[[spawns.desert_quarry]]
entity = "dungeons_mobs:mountaineer"
weight = 100
min = 1
max = 4

[[spawns.desert_quarry]]
entity = "hunterillager:hunterillager"
weight = 100
min = 1
max = 4

[[spawns.desert_quarry]]
entity = "savageandravage:skeleton_villager"
weight = 100
min = 1
max = 4

but when I checked (even in newly created worlds) I see no change, the config file still has all my additions, what am I doing wrong? is it even possible to add new mobs?

Obsolete in 1.18.1-<IP_ADDRESS> due to new json-based spawn configuration system


Registration verification / activation emails not being sent

There are no emails being sent for verification when users first register for the portal or try to activate their accounts... "Email is not activated, Activate the email once again".

Hello @Pinna3 Are you using your smtp server? Have the smtp settings been changed /Management.aspx?type=10? Also check the log svcNotify.log for errors.

I haven't changed the default SMTP settings. I also tried sending a test email but that didn't work either. Checking logs next...

var/log/onlyoffice/svcNotify.log:
2022-06-10 12:08:10,309 ERROR [129] ASC.Notify - Tenant: 1, To<EMAIL_ADDRESS>- System.TimeoutException: The operation has timed out.
  at MailKit.Net.SocketUtils.ConnectAsync (System.String host, System.Int32 port, System.Net.IPEndPoint localEndPoint, System.Int32 timeout, System.Boolean doAsync, System.Threading.CancellationToken cancellationToken) [0x000dc] in <eabb09d1c9ea4e16807c3441ccbaf11a>:0
  at MailKit.MailService.ConnectSocket (System.String host, System.Int32 port, System.Boolean doAsync, System.Threading.CancellationToken cancellationToken) [0x00179] in <eabb09d1c9ea4e16807c3441ccbaf11a>:0
  at MailKit.Net.Smtp.SmtpClient.ConnectAsync (System.String host, System.Int32 port, MailKit.Security.SecureSocketOptions options, System.Boolean doAsync, System.Threading.CancellationToken cancellationToken) [0x0014f] in <eabb09d1c9ea4e16807c3441ccbaf11a>:0
  at MailKit.Net.Smtp.SmtpClient.Connect (System.String host, System.Int32 port, MailKit.Security.SecureSocketOptions options, System.Threading.CancellationToken cancellationToken) [0x00012] in <eabb09d1c9ea4e16807c3441ccbaf11a>:0
  at ASC.Core.Notify.Senders.SmtpSender.Send (ASC.Notify.Messages.NotifyMessage m) [0x00073] in <93536df5eb3141aa902bfdaa852a8256>:0

Seems that 25 port used your server, or blocked it in firewall. Please check it.

Ah you're right, AWS blocks port25 and requires a formal repeal to unblock. Thank you!


Reduce noise when building clusters

Hi @choefele,
I've experienced some glitches when zooming. For the perfect clustering algorithm I'd expect clusters to grow on zooming out and clusters to get split on zooming in. In the current implementation huge clusters sometimes get split when zooming out. Even when the zoom change is quite small. In combination with a "move-in"/"move-out" animation (https://github.com/choefele/CCHMapClusterController/issues/10) this ends up getting noisy and confusing.
When using the debug grid, it's obvious why these weird (from a user's perspective) cluster changes occur on zooming. The grid lines move a lot whenever we zoom. We can see it in the following screenshots:
State 1: The annotation (pink marker) is in the upper right corner of its grid cell. On the left we have about half a grid cell to the screen border (green marker).

Now when I (very) slightly change the zoom, I get state 2: The grid position changed, so that the annotation (pink marker) is now in the upper middle of its grid cell. On the left the first grid cell almost aligns with the screen border (green) marker.

The screenshots show that we basically see the same map area in state 1 and state 2, however the grid position changed significantly. This can lead to unexpected (for the user who doesn't know about the clustering algorithm) cluster changes because some annotations might move into another grid cell.
I haven't spent too much time yet in figuring out how we can make the grid more "stable" to avoid this behaviour. So I was wondering if you've already spent some time/thoughts on that and if you have any ideas how to improve the grid placement after zooming to avoid undesired re-clustering on small zoom changes.
Cheers!

I have been grappling with the same thing, hoping for an update.  (Excellent lib otherwise)  The cell size parameter seems to have little or no effect.  I believe it's a limitation of using the grid-based algorithm.  I also have a maps app on android, which doesn't have this flaw.  Looking at the Google Map Utilities Library, it is using a "non-hierarchical distance-based" algorithm.  I am looking to see how feasible it would be to create a drop-in replacement for CCHMapClusterOperation that implements that instead.

@amishjake I had the same thought on exchanging CCHMapClusterOperation with a distance based algorithm. But before re-inventing the wheel I was wondering if anyone else has worked on that before. Have you already started/collected ideas etc? Let me know if I can be of any help.

@amishjake oh, I didn't get any notification when you changed your comment and linked me. I will check your work today and will send you feedback here!

I'm interested to see how the distance-based algorithm performs. I my experience, it certainly doesn't scale to several thousand annotations, but this might be acceptable for projects with less annotations and the need for a prettier distribution for clustered annotations.
Two notes:

Make sure you have set reuseExistingClusterAnnotations to YES. This will avoid creating new clustered annotations if an existing annotation can be reused. Disabling this will create even more noise.
To avoid changing clusters for small changes in the zoom level, you could implement a threshold for triggering a new cluster operation. This should be fairly straightforward to implement.

Thanks,
Claus

Claus,
Thanks for the feedback.  The version in my distancebased_production
branch has a few improvements, making it more responsive.  Including
correct handling of cluster re-use.  I've tried it with a few hundred so
far and will think about your suggestion.  Since users frequently like
to move in small increments, you don't want it to Never recalculate, so,
perhaps it should be threshold change "since last calculation".  That
could go in the Controller.  Additionally, I had modified the Controller
so that merely panning the map doesn't trigger a recalculation, only an
actual zoom will.  Again, there could be a threshold of panning related
to how much margin outside the visible map that is ready.
amishjake
On 4/20/2015 7:46 AM, Claus Höfele wrote:

I'm interested to see how the distance-based algorithm performs. I my
experience, it certainly doesn't scale to several thousand
annotations, but this might be acceptable for projects with less
annotations and the need for a prettier distribution for clustered
annotations.
Two notes:

Make sure you have set |reuseExistingClusterAnnotations| to |YES|.
This will avoid creating new clustered annotations if an existing
annotation can be reused. Disabling this will create even more noise.
To avoid changing clusters for small changes in the zoom level,
you could implement a threshold for triggering a new cluster
operation. This should be fairly straightforward to implement.

Thanks,
Claus
—
Reply to this email directly or view it on GitHub
https://github.com/choefele/CCHMapClusterController/issues/82#issuecomment-94431145.

Stephen Sheetz
"The devil can cite Scripture for his purpose."

William Shakespeare (1564-1616), The Merchant of Venice, I.iii

Closing this for now. Please reopen if there are new ideas on how to implement this. Thanks


Bad escaping of path for command.revealFileInOS

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.84.2
OS Version: Linux Mint 21.2 Cinnamon

Steps to Reproduce:

Open a new, empty folder in VSCode (let's call it project-folder)
Create a subfolder named # abc
Create a file within it (let's call it a)
Right-Click the file within the subfolder, select "Open Containing Folder"
The file-manager opens - displaying the project-folder
Create a subfolder named %3B%20%24%28touch%20file%29
Create a file within it (let's call it a)
Right-Click the file within the subfolder, select "Open Containing Folder"
An error is being shown by the os-filemanager (nemo): Could not find ".../project-folder/; $(touch file)/a". (... = masked by me)

This smells like a way to perform a shell-injection, but I was unable to reproduce this. This bug also occurs if any folder inside the path to the file to be revealed has a # in its name (very annoying for me).
I would like to perform a deeper analysis to discover how the underlying OS command is being executed (potentially discovering a way to perform the aforementioned shell-injection), but I was unable to locate the respective source code files.

I think we are now on an Electron version that includes https://github.com/electron/electron/pull/40527, curious if that closes this issue?

@bpasero Which electron version are you referring to? I was just able to reproduce this issue again with VSCode v1.85.1 / Electron v25.9.7.

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Oh, thank you very much! This indeed fixed the issue. Thanks!

congrats to fixing this!


SDK: Missing function to delete user?

I want to add a button to my app to allow users to delete their account. Would that be something that could be added to SDK (something like nhost.auth.deleteUser())? Or should this be done manually via the GraphQL api?
Thanks!

You can delete users directly from GraphQL or in the database directly.
This is the GraphQL query you would do:
mutation {
  deleteUser(id: "<user-id>") {
    id
  }
}

In a Nhost Function you can do the following:

const DELETE_USER = `
mutation ($userId: uuid!) {
  deleteUser(id: $userId) {
    id
  }
}
`

const { data, error } = await nhost.graphql.request(
  DELETE_USER,
  {
    userId: "<user-id>",
  },
  {
    headers: {
      "x-hasura-admin-secret": process.env.NHOST_ADMIN_SECRET,
    },
  }
);

(untested code)

Thanks @elitan ! Closing the issue.

Just for clarification: The functionality I want to implement is for users to delete their own accounts. Should this really be done with the admin secret in the client code? Or is the above code only to be run in backend services? What would be the recommended way for implementing a "delete your account" feature? Thanks :)

You should not embed the admin secret in client-side code.
In a function it's safe to do so given that it only runs on the server, it's encrypted, and it's short-lived. Having that said, a user can delete their own account as long as the user requesting account deletion has the same credentials as the account they want to delete (e.g. x-hasura-user-id and you figure this out by using Hasura permissions: https://docs.nhost.io/platform/database/permissions)

Thanks @guicurcio!

You can also set the GraphQL permissions so that users can delete their own row in the auth.users table via GraphQL.


Add request timeout to api-helper

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #287

PR #288   👈

This stack of pull requests is managed by Graphite.

Merge activity

Dec 23, 2:51 PM: @@NathanFlurry started a stack merge that includes this pull request via Graphite.


when use ./get, an error happen

Failed to get package version
Getting
-> Location: ubuntu-vivid-i386-libc6
-> ID:
-> Downloading package
Failed to download package from ubuntu-vivid-i386-libc6

I don't see why it should use ./tmp at all, can you post a ls -alih tmp/ in the libc-database directory?
I think the directory is the remainder of some old code, I will push a commit that removes it from the repository.

I believe this should be resolved, please re-open if not

emmm,it works perfectly.


ComboBox in Wayland (Sway) session

Describe the bug
I run Avalonia app with ComboBox in Sway session (from terminal emulator using dotnet run command). If I click on ComboBox several times (trying to select its items) then window of my app is closing with a lot of messages in terminal emulator like:
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
libGL error: failed to create drawable
...
Then I press ^C
130 user@mypc ~/src/failapp
And sometimes Wayland graphical session is closing with errors as I can see in console terminal:
00:00:28.906 [xwayland/xwm.c:1398] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 189, value 4194305
(EE)
(EE) Backtrace:
(EE) 0: Xwayland (0x5626cae00000+0x15d543) [0x5626caf5d543]
(EE) 1: Xwayland (0x5626cae00000+0x15d63e) [0x5626caf5d63e]
(EE) 2: /usr/lib/libc.so.6 (0x7f437d10d000+0x3d6a0) [0x7f437d14a6a0]
(EE) 3: Xwayland (0x5626cae00000+0x8c580) [0x5626cae8c580]
(EE) 4: Xwayland (0x5626cae00000+0x9716e) [0x5626cae9716e]
(EE) 5: Xwayland (0x5626cae00000+0x9edfb) [0x5626cae9edfb]
(EE) 6: Xwayland (0x5626cae00000+0x315a9) [0x5626cae315a9]
(EE) 7: /usr/lib/libc.so.6 (__libc_start_main+0xf2) [0x7f437d135152]
(EE) 8: Xwayland (0x5626cae00000+0x328be) [0x5626cae328be]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(WW) Option "-listen" for file descriptors is deprecated
Please use "-listenfd" instead.
(WW) Option "-listen" for file descriptors is deprecated
Please use "-listenfd" instead.
glamor: No eglstream capable devices found
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning           Unsupported maximum keycode 569, clipping
>                   X11 cannot support keycodes above 255
Errors from xkbcomp are not fatal to the X server
00:02:13.246 [xwayland/xwm.c:1398] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 196, value 4194657
Gdk-Message: 01:15:20.795: Error reading events from display: Обрыв канала
139 user@mypc ~ % 00:00:00.028
[commmon/ipc-client.c:67] Unable to connect to /run/user/1000/sway-ipc.1000.559.lock
00:00:00.000 [commmon/ipc-client.c:67] Unable to connect to /run/user/1000/sway-ipc.1000.559.lock
To Reproduce
Steps to reproduce the behavior:

Install dotnet-sdk from AUR
Create avalonia app using dotnet new avalonia.mvvm -n nameoftheapp
Slightly change nameoftheapp.csproj and Program.cs to use avalonia 0.10.0-rc1 (by default it uses 0.9.12) and net5.0
Add <ComboBox/> tag (even without items) to MainWindow.xaml
Start sway using exec sway command
Run nameoftheapp app with ComboBox via dotnet run from your terminal emulator
Interact with ComboBox click on it several times, selecting it items.

Desktop (please complete the following information):

OS: Linux (Arch linux, kernel 5.10.3-arch1-1)
Avalonia version 0.10.0-rc1
Xwayland version 1.20.99 (12099001)
Sway version 1.5.1
Dotnet is from AUR (5.0.101)
I've tried to use Intel GPU and AMD GPU

Does the window itself gets closed or only the combobox? Do you see the combobox at all?
A segfault in Xwayland definitely means a bug in Xwayland.

Does the window itself gets closed or only the combobox? Do you see the combobox at all?
A segfault in Xwayland definitely means a bug in Xwayland.

Just tried Avalonia 0.9.12 and got:
user@mypc ~/src/Failonia2 % dotnet run
libGL error: failed to create drawable
libGL error: failed to create drawable
Unhandled exception. Avalonia.OpenGL.OpenGlException: glXMakeContextCurrent failed
   at Avalonia.X11.Glx.GlxContext.MakeCurrent(IntPtr xid)
   at Avalonia.X11.Glx.GlxGlPlatformSurface.RenderTarget.BeginDraw()
   at Avalonia.Skia.GlRenderTarget.CreateDrawingContext(IVisualBrushRenderer visualBrushRenderer)
   at Avalonia.Rendering.DeferredRenderer.EnsureDrawingContext(IDrawingContextImpl& context)
   at Avalonia.Rendering.DeferredRenderer.UpdateRenderLayersAndConsumeSceneIfNeeded(IDrawingContextImpl& context, Boolean recursiveCall)
   at Avalonia.Rendering.DeferredRenderer.Render(Boolean forceComposite)
   at Avalonia.Rendering.DeferredRenderer.Paint(Rect rect)
   at Avalonia.Controls.TopLevel.HandlePaint(Rect rect)
   at Avalonia.X11.X11Window.DoPaint()
   at Avalonia.X11.X11Window.<OnEventSync>b__81_0()
   at Avalonia.Threading.JobRunner.RunJobs(Nullable``1 priority)
   at Avalonia.X11.X11PlatformThreading.HandleX11(CancellationToken cancellationToken)
   at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
   at Failonia2.Program.Main(String[] args) in /home/user/src/Failonia2/Program.cs:line 14
dotnet run  4,94s user 0,60s system 63% cpu 8,717 total
134 user@mypc ~/src/Failonia2 %
And if I use dotnet-sdk 3.1.8 (from official Arch repository), instead of getting any errors my screen freezes and I have to hard reset my PC :-(

Just tried Avalonia 0.9.12 and got:
user@mypc ~/src/Failonia2 % dotnet run
libGL error: failed to create drawable
libGL error: failed to create drawable
Unhandled exception. Avalonia.OpenGL.OpenGlException: glXMakeContextCurrent failed
   at Avalonia.X11.Glx.GlxContext.MakeCurrent(IntPtr xid)
   at Avalonia.X11.Glx.GlxGlPlatformSurface.RenderTarget.BeginDraw()
   at Avalonia.Skia.GlRenderTarget.CreateDrawingContext(IVisualBrushRenderer visualBrushRenderer)
   at Avalonia.Rendering.DeferredRenderer.EnsureDrawingContext(IDrawingContextImpl& context)
   at Avalonia.Rendering.DeferredRenderer.UpdateRenderLayersAndConsumeSceneIfNeeded(IDrawingContextImpl& context, Boolean recursiveCall)
   at Avalonia.Rendering.DeferredRenderer.Render(Boolean forceComposite)
   at Avalonia.Rendering.DeferredRenderer.Paint(Rect rect)
   at Avalonia.Controls.TopLevel.HandlePaint(Rect rect)
   at Avalonia.X11.X11Window.DoPaint()
   at Avalonia.X11.X11Window.<OnEventSync>b__81_0()
   at Avalonia.Threading.JobRunner.RunJobs(Nullable``1 priority)
   at Avalonia.X11.X11PlatformThreading.HandleX11(CancellationToken cancellationToken)
   at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
   at Failonia2.Program.Main(String[] args) in /home/user/src/Failonia2/Program.cs:line 14
dotnet run  4,94s user 0,60s system 63% cpu 8,717 total
134 user@mypc ~/src/Failonia2 %
And if I use dotnet-sdk 3.1.8 (from official Arch repository), instead of getting any errors my screen freezes and I have to hard reset my PC :-(

Does the window itself gets closed or only the combobox? Do you see the combobox at all?

Window itself gets closed. I can see the combobox, even can click on it once or twice.

Does the window itself gets closed or only the combobox? Do you see the combobox at all?

Window itself gets closed. I can see the combobox, even can click on it once or twice.

I guess Xwayland somehow gets confused about Avalonia using a separate thread for OpenGL drawing. Try adding
.With(new X11PlatformOptions
{
    UseDeferredRendering = false
})

to your BuildAvaloniaApp and see if it changes anything.

instead of getting any errors my screen freezes and I have to hard reset my PC

Screen freeze also indicates a bug in somewhere in Sway/Xwayland/libwayland, the overall level of Wayland's readiness for actual usage and reminds of the amount of false promises we've got over the decade.

I guess Xwayland somehow gets confused about Avalonia using a separate thread for OpenGL drawing. Try adding
.With(new X11PlatformOptions
{
    UseDeferredRendering = false
})

to your BuildAvaloniaApp and see if it changes anything.

instead of getting any errors my screen freezes and I have to hard reset my PC

Screen freeze also indicates a bug in somewhere in Sway/Xwayland/libwayland, the overall level of Wayland's readiness for actual usage and reminds of the amount of false promises we've got over the decade.

to your BuildAvaloniaApp and see if it changes anything.

It did not change anything.
But changing Arch linux pacakge from extra/xorg-xwayland 1.20.0.r800.ge4a9f0bb4-1 to aur/xorg-server-xwayland-dev 1.20.8-1 fixed the problem.
Thank You!

to your BuildAvaloniaApp and see if it changes anything.

It did not change anything.
But changing Arch linux pacakge from extra/xorg-xwayland 1.20.0.r800.ge4a9f0bb4-1 to aur/xorg-server-xwayland-dev 1.20.8-1 fixed the problem.
Thank You!


will helia support MFS?

got used to using the Mutable File System files with js-ipfs
will helia support files/mfs like js-ipfs did?

This discussion might be better suited for a post on https://discuss.ipfs.tech/c/help/helia/40

I put a quick MFS implementation together - check out the API docs.
By default it uses the same datastore key as js-ipfs so you should be able to load the MFS used by js-ipfs from the same repo if you need an upgrade path.
Please open any issues on the @helia/mfs repo - https://github.com/ipfs/helia-mfs

@achingbrain : Thanks for creating.  I made an issue to track making sure the repo is easily discoverable: https://github.com/ipfs/helia-mfs/issues/3


The crash of ploting the large data

Dear all, I got a window crash when I want to plot the complex data. I'm using mne 0.16.2 with python 3.6 under the Win 7 64 bit system.
The script and the data is download from the example, as follow:

import os.path as op
import numpy as np
import mne
data_path = op.join(mne.datasets.sample.data_path(), 'MEG', 'sample')
raw = mne.io.read_raw_fif(op.join(data_path, 'sample_audvis_raw.fif'),
preload=True)
raw.set_eeg_reference('average', projection=True)  # set EEG average reference

This line was OK.

raw.plot(block=True, lowpass=40)

While these two lines was crashed.

raw.plot(butterfly=True, group_by='position')
raw.plot_sensors(kind='3d', ch_type='mag', ch_groups='position')`

Anyone had got same problem?

Thank you for your prompt reply.
It seems like the blank figure window with no response.
I found a solution that we can work with the Jupyter notebook.
The reason for the program crash may be that there is something wrong with my python settings.


Adding a support for Codemagic CI

Adding a support for Codemagic to work with Danger.
Includes:

CI implementation for Codemagic
Docs on how to use danger on Codemagic
Tests for CI implementation
Changelog entry

Hey @orta, I see the TravisCI build failing with the following:
bundle exec danger --verbose
...
/home/travis/build/danger/danger/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/octokit/response/raise_error.rb:14:in `on_complete': GET https://api.github.com/repos/danger/danger/pulls/1303: 401 - Bad credentials // See: https://docs.github.com/rest (Octokit::Unauthorized)
The command "bundle exec danger --verbose" exited with 1.

Looks like some environment issue rather than connected to my changes. Would appreciate some assistance on resolving that. Thanks in advance!

I've got a support chat with GitHub about that, for now this looks good to me


Getting build "There was an issue connecting to your repo provider.." error

Before opening, please confirm:

[X] I have searched for duplicate or closed issues and discussions.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

JavaScript Framework
React
Amplify APIs
Authentication
Amplify Categories
auth
Environment information

# Put output below this line

  System:
    OS: macOS Sierra 10.12.6
    CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
    Memory: 107.70 MB / 8.00 GB
    Shell: 3.2.57 - /bin/sh
  Binaries:
    Node: 16.17.1 - /usr/local/bin/node
    npm: 8.15.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 103.0.5060.134
    Safari: 12.1.2
  npmPackages:
    @aws-amplify/ui-react: ^4.3.4 => 4.3.4
    @aws-amplify/ui-react-internal:  undefined ()
    @createnextapp/async-local-storage: ^1.0.1 => 1.0.1
    @stripe/stripe-js: ^1.46.0 => 1.46.0
    @testing-library/jest-dom: ^5.16.5 => 5.16.5
    @testing-library/react: ^13.4.0 => 13.4.0
    @testing-library/user-event: ^13.5.0 => 13.5.0
    aws-amplify: ^5.0.11 => 5.0.11
    axios: ^1.2.2 => 1.2.2 (0.26.0, 0.26.1)
    body-parser: ^1.20.1 => 1.20.1
    cors: ^2.8.5 => 2.8.5
    express: ^4.18.2 => 4.18.2
    jquery: ^3.6.1 => 3.6.1
    mdb-react-ui-kit: ^5.0.0 => 5.0.0
    openai: ^3.1.0 => 3.1.0
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    react-image-picker: ^1.1.1 => 1.1.1
    react-router-dom: ^6.4.2 => 6.4.2
    react-scripts: 5.0.1 => 5.0.1
    web-vitals: ^2.1.4 => 2.1.4
  npmGlobalPackages:
    @aws-amplify/cli: 10.5.2
    corepack: 0.12.1
    create-react-app: 5.0.1
    npm: 8.15.0

Describe the bug
Getting the following error when trying to build the app "There was an issue connecting to your repo provider, click "Reconnect repository" in General Settings, and then try your build again.".
When I remove Google Authentication everything works fine, I can build the app.

I make a amplify pull request with every Google Authentication change
Two days ago, the similar build error appear (I had both googleAppIdUserPool, googleAppSecretUserPool added to the Studio Authenticate section) :
"2023-01-25T23:12:23.088Z [WARNING]: - Building resource xxxxx
2023-01-25T23:12:23.178Z [WARNING]: ✔ Successfully pulled backend environment dev from the cloud.
2023-01-25T23:12:23.191Z [WARNING]: ✖ There was an error initializing your environment.
2023-01-25T23:12:23.200Z [INFO]: 🛑 Could not initialize categories for 'dev': auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
2023-01-25T23:12:23.200Z [INFO]: Resolution: Review the error message and stack trace for additional information.
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/"
Expected behavior
I want to be able to use the Google Amplify oAuth and build the app!
Reproduction steps

Google oAuth is not activated -- Build works
Activate Google oAtuh -- build does not work ( "There was an issue connecting to your repo provider, click "Reconnect repository" in General Settings, and then try your build again.". )
I delete the Google oAuth from the Authentication screen in Amplify studio  and make a pull request -- Build works

Code Snippet
// Put your code below this line.

Log output

// Put your logs below this line
....
latest attempt stopped at Cloning repository:
2023-01-26T00:27:11.188Z [INFO]: Successfully cleaned up Git credentials
2023-01-26T00:27:11.189Z [INFO]: # Checking for Git submodules at:
2023-01-26T00:27:11.199Z [INFO]: # Retrieving environment cache...
2023-01-26T00:27:11.760Z [INFO]: # Retrieved environment cache
2023-01-26T00:27:11.760Z [INFO]: ---- Setting Up SSM Secrets ----
2023-01-26T00:27:11.760Z [INFO]: SSM params {"Path":"/amplify/d2xdbl2vtd0mkx/dev/","WithDecryption":true}
2023-01-26T00:27:22.349Z [INFO]: # Node version 14 is available for installation
2023-01-26T00:27:22.430Z [INFO]: # Installing Node version 14
2023-01-26T00:27:29.059Z [INFO]: # Now using Node version 14
2023-01-26T00:27:30.104Z [WARNING]: Cannot find module<EMAIL_ADDRESS>                                    Require stack:
                                    - /snapshot/AWSMobilePioneerExecute/out/index.js
2023-01-26T00:27:30.105Z [INFO]: # Patching NPM package '@aws-amplify/cli' to 10.6.2...
2023-01-26T00:27:50.803Z [INFO]: # Done patching NPM package '@aws-amplify/cli' to version 10.6.2
ironment caching...
2023-01-26T00:28:13.512Z [INFO]: # Uploading environment cache artifact...
2023-01-26T00:28:13.655Z [INFO]: # Uploaded environment cache artifact
2023-01-26T00:28:13.655Z [INFO]: # Environment caching completed
Terminating logging...
----------
Earlier attempt stopped at backend (I was editing the google auth options in the Studio Authentication section):
2023-01-25T23:12:23.086Z [INFO]: ✅ GraphQL schema compiled successfully.
                                 Edit your schema at or place .graphql files in a directory at
2023-01-25T23:12:23.088Z [WARNING]: - Building resource auth/xxx
2023-01-25T23:12:23.178Z [WARNING]: ✔ Successfully pulled backend environment dev from the cloud.
2023-01-25T23:12:23.191Z [WARNING]: ✖ There was an error initializing your environment.
2023-01-25T23:12:23.200Z [INFO]: 🛑 Could not initialize categories for 'dev': auth headless is missing the following inputParams googleAppIdUserPool, googleAppSecretUserPool
2023-01-25T23:12:23.200Z [INFO]: Resolution: Review the error message and stack trace for additional information.
                                 Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/
2023-01-25T23:12:23.202Z [INFO]:
2023-01-25T23:12:23.202Z [INFO]: Session Identifier: xxxx
2023-01-25T23:12:23.316Z [ERROR]: !!! Build failed
2023-01-25T23:12:23.316Z [ERROR]: !!! Non-Zero Exit Code detected
2023-01-25T23:12:23.317Z [INFO]: # Starting environment caching...
2023-01-25T23:12:23.317Z [INFO]: # Uploading environment cache artifact...
2023-01-25T23:12:23.425Z [INFO]: # Uploaded environment cache artifact
2023-01-25T23:12:23.425Z [INFO]: # Environment caching completed
Terminating logging...

aws-exports.js
const awsmobile = {
"aws_project_region": "us-east-1",
"aws_appsync_graphqlEndpoint": "xxxxxxx,
"aws_appsync_region": "us-east-1",
"aws_appsync_authenticationType": "API_KEY",
"aws_appsync_apiKey": "xxxxxxxx",
"aws_cognito_identity_pool_id": "xxxxxxx",
"aws_cognito_region": "us-east-1",
"aws_user_pools_id": "xxxxxx",
"aws_user_pools_web_client_id": "xxxxxxxx",
"oauth": {
"domain": "xxxxxxx",
"scope": [
"phone",
"email",
"openid",
"profile",
"aws.cognito.signin.user.admin"
],
"redirectSignIn": "https://xxx/signin-success",
"redirectSignOut": "https://xxx/signout",
"responseType": "code"
},
"federationTarget": "COGNITO_USER_POOLS",
"aws_cognito_username_attributes": [
"EMAIL"
],
"aws_cognito_social_providers": [
"GOOGLE"
],
"aws_cognito_signup_attributes": [
"EMAIL"
],
"aws_cognito_mfa_configuration": "OFF",
"aws_cognito_mfa_types": [
"SMS"
],
"aws_cognito_password_protection_settings": {
"passwordPolicyMinLength": 6,
"passwordPolicyCharacters": []
},
"aws_cognito_verification_mechanisms": [
"EMAIL"
]
};
export default awsmobile;
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response

Hey @MarioStipetic :wave: thanks for raising this! As we begin to look into this in more depth, can you clarify whether the AMPLIFY_GOOGLE_* environment variables are added to Amplify Hosting?
https://docs.aws.amazon.com/amplify/latest/userguide/environment-variables.html#amplify-console-environment-variables

hi @josefaidt
yes, thank you!
I managed to fix the issue by reading those two pages:
https://github.com/aws-amplify/amplify-js/issues/7194
https://ntalam.com/2022/02/10/aws-amplify-error-headless-is-missing-the-following-inputparams/
Here is the solution:

In my opinion, this is a bug; why does Amplify automatically not add those environment variables?
How would I supposed to know that?
I never heard about that, lost one day because of this AWS Amplify bug.

Hey @MarioStipetic glad to hear that resolved the issue for you, and apologies for the rough experience! I agree with you in that this should be a smoother experience, and as such I've added the ops-auth label to this to track this pain point alongside our efforts to improve this workflow!
For now, I'll close this issue in favor of tracking some of our existing items under the auth and ops-auth labels.


Update dnscrypt-resolvers.csv

Added new public dnscrypt by ifreenet.online

Added, thanks!
https://ifreenet.online/ doesn't seem to have any contents yet. Will there be some informational content soon?
If not, it's probably better to remove the link from the entry.

Thanks,
I will add content about dnscrypt server in it


publish<EMAIL_ADDRESS>

Requested by: @Swatinem
Merge target: (default)
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave the #retract comment under this issue to retract the release (original issuer only).
Targets

[x] crates
[x] pypi
[ ] github

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

Trying one more time, otherwise skipping the github target again.

The release has been created manually on GitHub. Skipping the github target.


建议作者 Close 一些无意义的 Issue

建议作者 close 并 lock 掉纯属发表个人评论而没有的建设性 issue，现在 issue 太多，找关于文言的建议和提案的 issue 太难找。

It's also good to add a bot that closes invalid issue automatically.

https://kotritrona.github.io/postbar/bar.html?kw=LingDong-%2Fwenyan-lang

嗚呼，此帖須關矣。

I was hoping people would realize that their posts are not constructive, and close them themselves.  But I can see that's not happening :P I'll look into the bots.
Thanks

惨 ao 惨
Refer to my experience, issues list will turn into bbs sometimes. 😂

An issue guideline (i.e. .github/issue.md) would also help.

@LingDong-

I was hoping people would realize that their posts are not constructive, and close them themselves.

就像你说的， that's not happening. 事实上新开的 issue 的速度远远比 close 的多，所以现在 issue 区已经充斥着没用的 issue。如果不考虑开发的话当个论坛倒也没问题，主要是和 wenyan-lang 提案相关的那些 issue 越来越难找了，除非把建设性的讨论另挪他处，否则就需要积极关闭 issue。
close 并 lock issue 还可以鼓励更多人参与进来。现在这个情况一般人不敢 watch，一旦 watch 邮箱就会被打爆。而相反现在 issue 区各种 666 和撕逼则鼓励了人们开新 issue 来发表自己的看法，如果 issue 区非常整洁我觉得这种行为也会减少。

I'll look into the bots.

据我所知，我见过的 bot 唯一的功能都是如果不按照 issue 模板发帖，就立即关闭 issue。bot 并不能真正有效地过滤 spam。最后还是需要维护者来做这项工作。但这个工作量也没有想象的大，只要积极地清理，很快就能让这里回归秩序（notepad++ 被机器人刷版几千条也很快就清理完了）

@ExerciseBook

Refer to my experience, issues list will turn into bbs sometimes. joy

这个其实本不必发生在这里。因为你看 @LingDong- 每个 issue 都回复，只要他在浏览 issue 的时候随手点个 close 和 lock 就行了 :)
我相信 @LingDong- 如果现在还在回复 issue 的话一定也很受困扰，因为 spam 太多找一个要回复的 thread 要翻好多页，真的很难找。
如果需要协助的话我可以帮忙。

Hi everyone,
I manually closed all the irrelevant posts.
If your issue is closed, please don't take it personally.
For future issues: If you feel like complementing my work, thank you, but there is no need to open an issue, simply give me a star or tell your friend about it. If you feel like criticizing me, please use these two dedicated threads to do so: #174 #177
Thanks!


Setting the repository parameter "Clean" = true, doesn't clear the workspace

So by setting Clean = true, my understanding is that it should re use the same workspace but this isnt the case and it creates a brand new one on each run.
(my build does infact fail at building my project time, I don't know whether this affects this issue)

Are you using git or tfsvc?

tfsvc

That's currently by design. Scorch isn't available, so the current approach is recreate the workspace.

I am a Xamarin developer developing for iOS, Android, UWP so continuous integration is great for me to keep ontop of these 3 projects. but recreating a workspace every time means my Mac build server HD is filling up and my tfs workspaces look silly

yes, that's a bad bug.  it should tf scorch or if not available, delete the dir if clean.   on windows we scorch and if git we clean -fdx and reset head.

What is your scenario?  "Clean = true" currently should do those two things:

delete the dir -- so I need to find out why your HD is filling up.
delete the workspace and recreate -- can you please be more specific about "tf sworkspaces look silly"?  It should have removed every out of date workspace.

OK so some more info. I am only experiencing this on my mac. (Windows works as expected as you stated) I set the property "Clean = True" in the repositories tab. behavior I'm seeing is Brand new directory created, brand new workspace created.
Prepare Workspace log shows:
2016-05-11T14:44:03.207Z: running clean
2016-05-11T14:44:03.207Z: workspace name: ws_12_13
2016-05-11T14:44:17.632Z: getting code
2016-05-11T14:44:17.633Z: workspace name: ws_12_13
2016-05-11T14:44:22.837Z: Creating workspace ws_12_13
ever increasing the first number each run.
Hope that helps let me know if you need any more info

Although in addition to that. I am actually using the Windows Build agent provided by VSTS online

Are you running the same build definition in a pool that has both windows and mac build agents?
The workspace is per machine, so if you had a workspace created on a Windows build agent, it will create one workspace; but when the same build is run on Mac, you should see a new workspace created.

Yes I the workspaces work and that there should be one mapped to on Windows and one mapped on Mac. So let me clarify with whats happening. I am running the agent as a service so....
Today:
I do 3 seperate builds on Windows build agent.
End Result After all 3 builds: 1 directory created, 1 workspace created.
I do 3 seperate builds on my Mac build agent:
End Result after all 3 builds: 3 directories created, 3 workspaces created.
The problem is that the "Clean" setting is being ignored on the mac build agent

and yes my build definition is running in a pool that contains mac and windows build agents

2016-05-11T14:44:03.207Z: running clean
Clean flag isn't ignored.  The problem maybe because we are getting different source folder mapping each time.  The workspace format is "ws_agentId_sourcefolder" -> I assume the middle number never incremented in all those three runs and the last digit kept incrementing?

When we detect clean flag, we try to delete this path calculated from the source folder id, and recreate the workspace, but if the source folder id changed, we have no idea what was the original workspace path and name.

If the format is "ws_agentId_sourcefolder" then this just got even stranger. It would make more sense if it was "ws_sourcefolder_agentId". below is a screen shot of my TFS workspaces output.
GMPs = Mac Build Agent
GMP10 = Windows build agent.
The two windows build agent w/s are expected because of two different build definitions. as for the mac ones these are all from the same build agent

Sorry My bad! I meant the other way, it's ws_source_folder_id_agent_id!
This does indicate we are getting different source folder every time.  I will ask Eric and Bryan about that.

What version of the node agent are you using?
Can you run a build for a definition, capture the _work/sourcerootmappings folder, queue the same definition, capture that folder again? I can't remember if the GC folder is within the sourcerootmappings folder or sibling, please capture that both times as well (if one exists). The diff between the two will likely reveal why it's not reusing the same folder. Or you can zip and email to ersciple and I can analyze (at microsoft com).

What version of the node agent are you using?

Sorry I missed your question in the email. The version is in the package .json, e.g. "version": "0.6.5",

It looks like this may be the same issue: https://github.com/Microsoft/vso-agent/issues/305

Can you try out the new agent (different repo): https://github.com/Microsoft/vsts-agent

@JKennedy24

@ericsciple I've installed the new agent and at the "Get Sources" stage I'm getting the following error:

/Users/chrisjohn/myagent/externals/tee/tf eula -accept
Exit code 13 returned from process: file name '/Users/chrisjohn/myagent/externals/tee/tf', arguments 'workspaces -format:xml -collection:https://gmpsoftware.visualstudio.com/ -login:_,******** -noprompt'.

@JKennedy24 On the variables tab of your definition, can you set system.debug to true and run the build again?
I would expect some output from the command (in addition to non-zero exit code). The output of the command should be dumped already when it fails... system.debug will reveal the output regardless of whether it fails.

@ericsciple I have set debug = true and put the logs http://pastebin.com/i5TnXdjM

@JKennedy24 i've got a local repro. digging in now. sorry for the inconvenience.

The execute bit was missing on my externals/tee/tf. We shifted around how the externals were pulled in at build time, I'll have to go back and look at what the difference is.
As a workaround, it looks like you should be able to chmod +x /Users/chrisjohn/myagent/externals/tee/tf

I'm not sure how to use the workaround. I don't mind hanging on for a fix as the iOS build isnt vital at the moment. Let me know if you want me to try anything out

This is fixed in the latest drop: 2.101.0 https://github.com/Microsoft/vsts-agent


update the Android Gradle plugin to version 3.3.2 and Gradle to version 4.10.1.

As recommended by Android Studio 3.3.1,
To take advantage of the latest features, improvements, and security fixes, we strongly recommend that you update the Android Gradle plugin to version 3.3.2 and Gradle to version 4.10.1.

I made a program and I'm looking for something that help me reboot into it.
I could use a pin pal lol.

https://github.com/googlesamples/android-AppShortcuts/issues/32#issuecomment-482876581


Update to latest SDK Reference

Ref: https://github.com/ringcentral/ringcentral-csharp/issues/19

Rename methods, change some of them to properties
Fix AppVeyor issue
Refactor code, remove useless code
Update and test HTTP Method Tunneling

@LingForCC @grokify @kirill-konshin Could you please kindly review?
There are 66 unit tests in total, 61 are against mock data while the other 5 are against real API server. I have successfully run all of the unit tests using VS 2015 on Windows and Xamarin Studio on Mac.


Change starting point, camera, move gem

feat: make gem obvious for player, change camera angle

Closes #28
Includes new gem placement:

Fix the conflicts please and resubmit for a review.

The transition from main menu to main scene is bugged and there is an index out of bound error


Not a bug, but a grammatical error in the description

Not sure if this is the right place to make a comment about this, but the second paragraph beginning
with:
"JavaScript uses use the * symbol..."
The additional word 'use' is unnecessary. I'm noticing the same error in several of the following waypoints. Just FYI :)

several of the following waypoints

Sorry--which waypoints? Could you link to them please? Thanks for creating the issue!

Not sure how to link them, but these are the few I have found:
Waypoint: Subtract One Number from Another with JavaScript
Waypoint: Multiply Two Numbers with JavaScript
Waypoint: Divide One Number by Another with JavaScript
Hope this helps.

Thanks! Fixed it, should be merged soon.


Firestore add check if GoogleService-Info.plist isn't present

firebase_core: ^0.4.0+1
cloud_firestore: ^0.11.0+1
firebase_auth: ^0.11.0
firebase_messaging: ^5.0.1

Simple methods failing:
 final CollectionReference postRef = Firestore.instance.collection('Games');
        await Firestore.instance.runTransaction((Transaction tx) async {
          await tx.set(postRef.document(), data);
        });

Or

Firestore.instance.collection('Games').add(data);

Or

Firestore.instance.collection('Games').document('key').set(data);

On direct methods add/save there is not even error coming through. However if I try transaction i got:
Unhandled Exception: PlatformException(9, Transaction failed all retries., null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:564:7)
#1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:302:33)
<asynchronous suspension>
#2      Firestore.runTransaction (package:cloud_firestore/src/firestore.dart:116:10)
<asynchronous suspension>
#3      Core.saveGameObject.<anonymous closure> (package:bigrush/helpers/core.dart:208:34)
<asynchronous suspension>
#4      new Future.<anonymous closure> (dart:async/future.dart:176:37)
#5      _rootRun (dart:async/zone.dart:1120:38)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#8      _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#9      _rootRun (dart:async/zone.dart:1124:13)
#10     _CustomZone.run (dart:async/zone.dart:1021:19)
#11     _CustomZone.bind<…>

And if i try to do breakpoints in xcode i can go bit deeper and there was another exception
Printing description of error:
Error Domain=FIRFirestoreErrorDomain Code=9 "Transaction failed all retries." UserInfo={NSLocalizedDescription=Transaction failed all retries., NSUnderlyingError=0x600002de85a0 {Error Domain=FIRFirestoreErrorDomain Code=2 "An internal error has occurred, print and inspect the error details for more information." UserInfo={NSLocalizedDescription=An internal error has occurred, print and inspect the error details for more information.}}}

@rdev-software
The issue at https://github.com/flutter/flutter/issues/32673 has been closed and moved here. Future collaboration on this issue will be done here.

cc @Salakar one to handle into when core gets reworked.

Hey, our firebase_core rework has now landed on master via #2890 - we hope to start publishing preview releases to test out next week which should solve this issue (and others).
Thank you for raising this issue 👍


Fails to compile on Typescript 2.5 and 2.6

zone.js fails to compile on Typescript 2.5 and 2.6, and probably 2.4. ZoneAwarePromise doesn't correctly extend Promise, and TS 2.4+ issue errors.

has been fixed, will close


Windows terminal unbound keys are not being recorded by applications

Environment
Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Any other software?

Windows Terminal version 0.7.3291.0
Vim version 8.1.2102 (Windows vim, not WSL)
Steps to reproduce
Unbind a key chord the following way:
    "keybindings" :
    [
        {
            "command" : "none",
            "keys" :
            [
                "ctrl+shift+up"
            ]
        }
    ]

Expected behavior
The key chord should now be useable by applications running inside the Windows terminal. For example Vim or Emacs.
Actual behavior
The applications do not receive the key chord at all.

Can't reproduce this:

^[[1;6A is the encoding for Ctrl+Shift+Up.

(also: you said "no other software", but.. you didn't include your Terminal version, emacs verison, vim version, WSL distribution, whether you're using Windows vim/emacs or WSL vim/emacs, etc. Please fill out the template: it helps us help you, and we will close bugs that do not have enough information in them.)

I updated my original report with the missing information. Sorry about that! I didn't include it in my last report without a fuss so I figured it wasn't necessary.
When I try what you do in the screenshot you posted, I get no input at all. Same for inside vim. In vim you can type : and then do ctrl+k and then a key chord, it will tell you what key you pressed. When I try that in the Windows terminal I get nothing at all back, vim doesn't even know I pressed a key at all it seems.

I updated my original report with the missing information. Sorry about that! I didn't include it in my last report without a fuss so I figured it wasn't necessary but it's pretty clear it matters a lot!
In vim you can type : and then do ctrl+k and then a key chord and it will tell you what key you pressed. When I try that in the Windows terminal under windows I get nothing at all back, vim doesn't even know I pressed a key at all it seems.
When I try the same thing while running vim under WSL, the command correctly reports back that I pressed ctrl+shift+up.

Thanks for filling out the template! This is interesting. It might be #2397, but if it’s not it’s a similar codepath. Windows Vim receives keyboard events in a different way than WSL Vim.


Metrics Standardization Definition

Explore alignment with OpenTelemetry discussions for metric exporting standards.
@wengyao04 add more details to the issue

Duplicate of #32


Global Copy/cut and Paste

Feature Description
Make copy/cut and paste work globally.

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
@jauyong and @spacedmonkey to add details.
QA Instructions

This should be renamed to "Global paste for file upload" or such. The element-based copy/cut is already done.

This should be renamed to "Global paste for file upload" or such. The element-based copy/cut is already done.

I don't think it should. This ticket should handle all copy/cut/paste globally. As these things are so heavily linked.

Wrote it out here: https://docs.google.com/document/d/1_3-_v4zH6bW9hOplOO8wYxj8l4C0soMgEbD7XLiXrrg/edit#heading=h.y61q0s903u48
@spacedmonkey let me know if you can think of more edge cases, other than color picker and text inputs.