feat: implement clipboard change listener

Overview

Closes https://github.com/react-native-clipboard/clipboard/issues/92
Implement change listeners to get notified on the JS side when the clipboard has changed. Thanks to https://github.com/stefanc96/react-native-clipboard-listener for the amazing idea.
Test Plan

Tested on the iOS simulator using the example project.
Tested on a real iOS device (iPhone 12 Pro, 14.4.x), using an internal project (as the example can't be run on a device)
Tested on a real Android device (Pixel 5, Android 11) using an internal project (as the example project doesn't even work with the run-android command)
Looking forward to getting this reviewed and merged.

@Naturalclar can you review this and merge asap? We currently have to manually copy the dist folder from installing through github due to typescript needing to be compiled first which is quite annoying!

Any news?

@Naturalclar have you published this npm yet?

@cristianoccazinsp thanks for the wait! this change has been published as v1.8.0 :tada:

hi @cristianoccazinsp & @Naturalclar,
Can you provide a small snippet on how to use this feature, please?
10q

https://github.com/react-native-clipboard/clipboard/blob/master/example/App.tsx#L34
I suggest not using this change though until https://github.com/react-native-clipboard/clipboard/pull/105 is merged as there's a bug right now when using the listener .remove method. Using removeAll still works fine.


Error loading init.fnl looking in .config/fnlm/fnl instead of .config/nvim/fnl

I'm getting this on running neovim:
Error detected while processing /Users/alpha/.dotfiles/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /Users/alpha/.dotfiles/.config/nvim/init.lua:2: module 'init' not found:...hare/nvim/site/pack/alpha/start/hotpot/lua/hotpot/fs.lua:3: fs.read-file! i
o.open failed:/Users/alpha/.config/fnlm/fnl/init.fnl

        no file './init.lua'
        no file '/opt/homebrew/share/luajit-2.1/init.lua'
        no file '/usr/local/share/lua/5.1/init.lua'
        no file '/usr/local/share/lua/5.1/init/init.lua'
        no file '/opt/homebrew/share/lua/5.1/init.lua'
        no file '/opt/homebrew/share/lua/5.1/init/init.lua'
        no file './init.so'
        no file '/usr/local/lib/lua/5.1/init.so'
        no file '/opt/homebrew/lib/lua/5.1/init.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        /Users/alpha/.dotfiles/.config/nvim/init.lua:2: in main chunk

I've worked around this for now by symlinking .config/fnlm to .config/nvim, but any suggestions for where to look to figure out what's happening here would be appreciated!

Is this an up to date representation of your config, last updated 3 weeks ago? https://github.com/kejadlen/dotfiles/tree/main/.config/nvim
Are you starting nvim with any custom NVIM_APP_NAME? Are you using any .hotpot.lua file?

This is an issue because your file is called init.fnl but is not inside a subdirectory, eg normally you would have x/init.fnl, then require x would require that file.
For now you can work around it by renaming init.fnl to something else (eg: config.fnl) then requiring that instead while I look at a fix.

Should be fixed in 9d40515

Thanks, confirmed that it works: https://git.kejadlen.dev/alpha/dotfiles/commit/abc86643ee1af5dbaeffb94e7f9ee44e5c656ca6
And appreciate the effort of finding my dotfiles, even! 😲


Input still has "vi__character--selected" class after disabling input through inputProps

Hi!
I have case when input looks as active, hovewer it is not focused anymore. This can be replicated when disabling input through inputProps, for exmaple during validation:
<VerificationInput inputProps={{ disabled: isValidatingPin }} />

The issue is that disabling input causes input to de-focus, however onBlur is not called (using Chrome).
If I understand correctly this callback is not invoked in such case: https://github.com/andreaswilli/react-verification-input/blob/master/src/index.js#L119C1-L122C15
and input still has "selected" class: https://github.com/andreaswilli/react-verification-input/blob/master/src/index.js#L73
I was wondering if there is some workaround to remove "vi__character--selected" class from input? I was thinking also about preparing PR with logic like below more or less:
useEffect(() => {
  if(inputProps.disabled != null) {
    setActive(!inputProps.disabled);
  }
}, [inputProps.disabled]);

What do you think? Many thanks for great lib and help!

Hi, thanks for the report!
I was able to reproduce the issue.
Your suggestion seems like a valid option (not sure about the null check).
Another option might be to turn isActive into a function and use the focus state + disabled state to derive the result.
Let me know whether you'd like to work on this.

Hi, I will try to work on this: https://github.com/andreaswilli/react-verification-input/pull/137
PS. I changed account to personal one, sorry for confusion

Released 4.1.2


Modify AddIPv4EntryDifferentNINHG() to change order and specify network instances

Modify AddIPv4EntryDifferentNINHG() to create entries in the order NH, NHG and then IPv4 entry and ensure the NH and NHG have a network instances specified

Hi!
Please can you sign the Google CLA (either as an individual, or as your org) so that we can review and merge the code here.
Any questions on this, please let me know.
Thanks!
r.

I am working on it.  I found the group internally who manages this and I have submitted the request to be included under the CLA.

Great! Thanks very much! :-)

It looks like I will not be able to get approval for this.  Sorry.  I need to withdraw this pull request.


Disable sqlite test

For #5172

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@890a0c3). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #5178   +/-   ##
=========================================
  Coverage          ?   37.49%
=========================================
  Files             ?      309
  Lines             ?    45786
  Branches          ?        0
=========================================
  Hits              ?    17166
  Misses            ?    26158
  Partials          ?     2462

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 890a0c3...8da6dee. Read the comment docs.


feat: add environment configuration and support for multiple AI models

#20
Haven't been able to test it as I don't have a Fuel wallet key, so @Dhaiwat10 please test it out with a key from https://aistudio.google.com/
Also, sorry if my formatter messed things up!

thank you old friend @lakshyaag


ARGO_SECURE is not taken into account

Summary
When trying to disable the TLS functionnality of argo server, the documentation says you have 2 options:

pass an argument --secure=false
set an environment variable ARGO_SECURE=false

Since argo v3.0.0 the defaults is to enable TLS by default. I can revert to plain text using --secure=false but setting the ARGO_SECURE environement variable has absolutely no effect.
Diagnostics
$ oc version
Client Version: 4.7.2
Server Version: 4.5.5
Kubernetes Version: v1.18.3+08c38ef

argo v3.0.1 (manifest and image)

To reproduce: set the environement variable ARGO_SECURE=false to the deployment and check the log of the server POD. You'll see that secure option is still to "true".
Expected behavior
ARGO_SECURE environement variable is taken into account and set the secure option accordingly.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

workaround: --secure=false


xcode error for google+

Hello !
we added google plus with soomla profile, and we have some errors on xcode:
Undefined symbols for architecture armv7:
"_kGTLPlusCollectionVisible", referenced from:
-[SoomlaGooglePlus getContacts:fail:] in libSoomlaiOSProfileGoogle.a(SoomlaGooglePlus.o)
"_kGTLAuthScopePlusUserinfoProfile", referenced from:
-[SoomlaGooglePlus startGooglePlusAuth] in libSoomlaiOSProfileGoogle.a(SoomlaGooglePlus.o)
"OBJC_CLASS$_GTLQueryPlus", referenced from:
objc-class-ref in libSoomlaiOSProfileGoogle.a(SoomlaGooglePlus.o)
"_kGTLAuthScopePlusLogin", referenced from:
-[SoomlaGooglePlus startGooglePlusAuth] in libSoomlaiOSProfileGoogle.a(SoomlaGooglePlus.o)
"OBJC_CLASS$_GTLServicePlus", referenced from:
objc-class-ref in libSoomlaiOSProfileGoogle.a(SoomlaGooglePlus.o)
"OBJC_CLASS$_GPPShare", referenced from:
objc-class-ref in libSoomlaiOSProfileGoogle.a(SoomlaGooglePlus.o)
"OBJC_CLASS$_GPPURLHandler", referenced from:
objc-class-ref in libSoomlaiOSProfileGoogle.a(SoomlaGooglePlus.o)
"OBJC_CLASS$_GPPSignIn", referenced from:
objc-class-ref in libSoomlaiOSProfileGoogle.a(SoomlaGooglePlus.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
probably a framework which is missing, but I don't know which one ?
thx for your help :)

@robinDesBits did this solve your issue? can we close this?

@robinDesBits closing this, re-open if still relevant

Sorry, late answer. We solved all our problems by removing google + and twitter. Just Facebook is working fine, maybe we will try again later, but for now we have submitted our app without it.

This problem was solved? because I have the same problem, after upgrading xCode 8 SDK 1.7 this problem did not happen, I had to update the SDK because the previous version did not support the Bitcode of xCode
I use:
Unity v5.3.6
xCode v8.0
Soomla Core v1.0.12
Soomla Profile v2.1.7
OS X v10.11.6
Google Plus SDK 1.7.1
I followed the steps od Google plus ->  https://github.com/soomla/ios-profile#google-plus


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit f2580fc:
:clock10: Pending: waiting for processors (30 builds ahead of you)
:warning: Docs Build is busy, currently there are 30 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit f2580fc:
:clock10: Full build: the average full build time is 6 min(s) 56 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit f2580fc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Mention that App.razor always renders statically

Description
The App.razor component always renders statically. One implication is that any services included via @inject directives in _Imports.razor will be created more than once if App.razor's children contain a different render mode.
Everything I've seen about render modes up until now talked about how services would be created more than once if pre-rendering was enabled (once for pre-render and once for the regular render). So, the first paragraph above was unexpected.
ref: https://github.com/dotnet/aspnetcore/issues/53804#issuecomment-1932592019
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/components/render-modes.md
Document ID
7c9948a3-9886-8097-6014-492a4c21ea4e
Article author
@guardrex

Thanks @mrlife ... I'll get to this as soon as I can, but I'm buried in work at the moment. In the meantime, for ...

So, the first paragraph above was unexpected.

Can you clarify which paragraph?

Hi, @guardrex! Thank you, the paragraph referred to is:

The App.razor component always renders statically. One implication is that any services included via @inject directives in _Imports.razor will be created more than once if App.razor's children contain a different render mode.

Oh, I see :smile: ... that WAS the paragraph.

@mrlife ... I'm looking at this now.

Is the only workaround to @inject into each razor component instead of in _Imports.razor?

Did you try placing an _Imports.razor file with the service injection in the Pages folder and confirm that it won't apply to the App component from there?

Very well ... I'm working that idea into the PR that I'm working on. I'll ping you on the PR shortly and we can take a look at my ideas for addressing this situation.


docs: remove outdated tv docs

Since React Native for TV has been moved to a separate repository, information on how to develop for this library should not be included in the main React Native documentation. We should either remove this section entirely or add a link redirecting users to the react-native-tvos Wiki.

@Simek any thoughts on this one?

Let's make sure that @douglowder is fine with that change, and if wiki is a right place to redirect people.

@Simek the official react-native-tvos documentation links to their wiki, thats why I decided to add this link

I have in mind that we might want to split up the redirected group, between those, who use frameworks and those who are not, like we do in new setup environment sections.
For example, for Expo users, we got a dedicated guide on how to build TV apps - https://docs.expo.dev/guides/building-for-tv/.
Also, RN TV wiki seems to contains only one doc page, and rest are an external links do different resources, so it might be more valuable to link people into the doc file directly, which will guide them through the setup.

@Simek Sure, provide me please information on which of these two options we prefer. I would also like to note that if we redirect to TV Wiki, we won't have to worry about updating this subpage in the future, as all TV-related information will be then updated by the react-native-tvos community in their repo

@douglowder done ;))

done ;)) Should i update earlier docs versions?

@moskalakamil yes thanks, just the versions that Meta currently supports (I think that is 0.71 and up)

@douglowder finished, thanks for guidance!

@moskalakamil no problem! I approve the request, although I don't have access to do that in GitHub 😄

@Simek updated 👍

@Simek updated 👍

Hey @Simek, just following up on my PR — it’s been sitting for a while. Thanks!

Oh, sorry for missing that one, and thanks for the ping! 🙏
One last thing before shipping, can we also update the file for 0.75 release, so we got a full coverage?

https://github.com/facebook/react-native-website/blob/main/website/versioned_docs/version-0.75/building-for-tv.md

Sure! I’ve done this @Simek


Updated mission statements which fixes #95

Updated the README, about and banner home page with our new mission statements "Extending the ecosystem of Python Communities to Black and Colo(u)red Communities around the world."

@TimOsahenru - please run pre-commit to lint your code. (That will fix the failing test)

@TimOsahenru - Do you need help with getting the pre-commit passing?

@TimOsahenru - Do you need help with getting the pre-commit passing?

Yes please. When I run the command pre-commit run it takes forever without making changes to any file

@TimOsahenru - Do you need help with getting the pre-commit passing?

Yes please. When I run the command pre-commit run it takes forever without making changes to any file

did you run precommit run -a to update all

lol great minds. That should fix it.


For a 0.18.7 release

#556 #555

Codecov Report

Merging #557 (f04698b) into master (1512912) will decrease coverage by 5.60%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #557      +/-   ##
==========================================
- Coverage   84.89%   79.29%   -5.61%
==========================================
  Files          36       36
  Lines        3039     2371     -668
==========================================
- Hits         2580     1880     -700
- Misses        459      491      +32

Impacted Files
Coverage Δ

src/resampling.jl
75.58% <100.00%> (-12.46%)
:arrow_down:

src/composition/learning_networks/arrows.jl
0.00% <0.00%> (-73.34%)
:arrow_down:

src/utilities.jl
61.11% <0.00%> (-15.98%)
:arrow_down:

src/data/datasets.jl
88.88% <0.00%> (-11.12%)
:arrow_down:

src/composition/models/_wrapped_function.jl
22.22% <0.00%> (-11.12%)
:arrow_down:

src/composition/learning_networks/inspection.jl
76.31% <0.00%> (-9.96%)
:arrow_down:

src/composition/models/methods.jl
48.71% <0.00%> (-8.73%)
:arrow_down:

src/interface/data_utils.jl
86.95% <0.00%> (-7.49%)
:arrow_down:

src/measures/loss_functions_interface.jl
73.68% <0.00%> (-7.27%)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1512912...f04698b. Read the comment docs.


fix: more closely match mathlib3 behavior in tauto, improving performance

The iterateAtMost 3 in distribNot currently is not acting as intended, because iterations after the first one still use the same LocalDecl, so they have a no-longer-relevant type. This PR fixes that by passing the ldecl by userName,  analagous to how mathlib3 does it: https://github.com/leanprover-community/mathlib/blob/217daaf45adff6a74a82df0dab1506ed3d5e2eec/src/tactic/tauto.lean#L21-L22
The casesMatching and constructorMatching calls in the main loop need to have recursive := true in order to match the behavior of their counterparts in mathlib3. See the some () argument here: https://github.com/leanprover-community/mathlib/blob/217daaf45adff6a74a82df0dab1506ed3d5e2eec/src/tactic/tauto.lean#L226.

After this change, I observe tactic execution on Preoder.toCircularPreorder to drop from 6.8 seconds to 5.5 seconds.
Moreover, on this more difficult example, the current code on master fails (times out) while after this PR is applied, it succeeds:
example {α : Type} [Preorder α] (a b c : α) (x₀ x₁ x₂ : Prop)
 (this1 : x₀ → x₁ → a ≤ c)
 (this2 : x₁ → x₂ → b ≤ a)
 (this3 : x₂ → x₀ → c ≤ b) :
    ((x₀ ∧ ¬b ≤ a) ∧ x₁ ∧ ¬c ≤ b ∨
         (x₁ ∧ ¬c ≤ b) ∧ x₂ ∧ ¬a ≤ c ∨ (x₂ ∧ ¬a ≤ c) ∧ x₀ ∧ ¬b ≤ a ↔
       (x₀ ∧ x₁ ∨ x₁ ∧ x₂ ∨ x₂ ∧ x₀) ∧
         ¬(c ≤ b ∧ b ≤ a ∨ b ≤ a ∧ a ≤ c ∨ a ≤ c ∧ c ≤ b)) :=
by tauto

(I did not add this to tests/Tauto.lean because it takes 8.5 seconds to execute, which seems maybe too expensive for a test.)

When I try your example on this branch, I still get a large number of timeouts at isDefEq and then a failure. Same with  maxHeartbeats 1000000.

Never mind, after a lake clean the example works. Sorry for the noise.

bors r+


Empty values since 17th of Jan 2024

Hi,
I use from the integration only the two entities created:

w1000.export
w1000.import

Which shows me the total imported and exported energy on that day.
And last successful day is 16th of January, 2024.
I have enabled the debug log, and this is the output:
[core-ssh config]$ grep w1000 home-assistant.log
2024-01-19 15:36:46.126 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration w1000-energy-monitor which has not been tested by Home Assistant. This component might cause stabil
ity problems, be sure to disable it if you experience issues with Home Assistant
2024-01-19 15:36:56.760 DEBUG (MainThread) [custom_components.w1000-energy-monitor] reading report import
2024-01-19 15:36:58.777 DEBUG (MainThread) [custom_components.w1000-energy-monitor] resp status http 200
2024-01-19 15:36:58.860 DEBUG (MainThread) [custom_components.w1000-energy-monitor] found report import in workarea Workarea176
2024-01-19 15:36:58.860 DEBUG (MainThread) [custom_components.w1000-energy-monitor] found report export in workarea Workarea176
2024-01-19 15:36:59.768 DEBUG (MainThread) [custom_components.w1000-energy-monitor] registered sensor: sensor.w1000_import
2024-01-19 15:36:59.768 DEBUG (MainThread) [custom_components.w1000-energy-monitor] registered sensor: sensor.w1000_export
2024-01-19 15:36:59.770 DEBUG (MainThread) [custom_components.w1000-energy-monitor.sensor] None
2024-01-19 15:36:59.771 DEBUG (MainThread) [custom_components.w1000-energy-monitor.sensor] None
2024-01-19 15:36:59.784 DEBUG (MainThread) [custom_components.w1000-energy-monitor] import statistic: sensor.w1000_import count: 38
2024-01-19 15:36:59.785 DEBUG (MainThread) [custom_components.w1000-energy-monitor] reading report export
2024-01-19 15:37:00.082 DEBUG (MainThread) [custom_components.w1000-energy-monitor] import statistic: sensor.w1000_export count: 38
2024-01-19 15:37:00.083 DEBUG (MainThread) [custom_components.w1000-energy-monitor] Notifying all listeners
2024-01-19 15:37:00.093 DEBUG (MainThread) [custom_components.w1000-energy-monitor.sensor] {'state': None, 'unit': 'kWh', 'attributes': {'curve': 'HU000110-11-S00000000000001133408 DP_1-1:1.8.0*0', '
generated': None, 'state_class': 'total_increasing', 'device_class': 'energy'}}
2024-01-19 15:37:00.093 DEBUG (MainThread) [custom_components.w1000-energy-monitor.sensor] {'state': None, 'unit': 'kWh', 'attributes': {'curve': 'HU000110-11-S00000000000001133408 DP_1-1:2.8.0*0', '
generated': None, 'state_class': 'total_increasing', 'device_class': 'energy'}}

So the data is not updated, even though if I log in to the energy portal, I see valid total import, and export numbers for 17th, and for 18th as well.
Password not expired, using this tool since 2023. April, this is the first error like this for me.
Thanks
Sandor

Hm, today it succeeded.
2024-01-20 07:36:56.249 DEBUG (MainThread) [custom_components.w1000-energy-monitor] reading report import
2024-01-20 07:36:56.598 DEBUG (MainThread) [custom_components.w1000-energy-monitor] resp status http 200
2024-01-20 07:36:56.681 DEBUG (MainThread) [custom_components.w1000-energy-monitor] found report import in workarea Workarea176
2024-01-20 07:36:56.681 DEBUG (MainThread) [custom_components.w1000-energy-monitor] found report export in workarea Workarea176
2024-01-20 07:36:56.887 DEBUG (MainThread) [custom_components.w1000-energy-monitor] import statistic: sensor.w1000_import count: 30
2024-01-20 07:36:56.887 DEBUG (MainThread) [custom_components.w1000-energy-monitor] reading report export
2024-01-20 07:36:57.004 DEBUG (MainThread) [custom_components.w1000-energy-monitor] import statistic: sensor.w1000_export count: 30
2024-01-20 07:36:57.005 DEBUG (MainThread) [custom_components.w1000-energy-monitor] Notifying all listeners
2024-01-20 07:36:57.005 DEBUG (MainThread) [custom_components.w1000-energy-monitor.sensor] {'state': 14743.2, 'unit': 'kWh', 'attributes': {'curve': 'HU000110-11-S00000000000001133408 DP_1-1:1.8.00', 'generated': '2024-01-20T00:00:00', 'state_class': 'total_increasing', 'device_class': 'energy'}}
2024-01-20 07:36:57.005 DEBUG (MainThread) [custom_components.w1000-energy-monitor.sensor] {'state': 14538.5, 'unit': 'kWh', 'attributes': {'curve': 'HU000110-11-S00000000000001133408 DP_1-1:2.8.00', 'generated': '2024-01-20T00:00:00', 'state_class': 'total_increasing', 'device_class': 'energy'}}


will this project support http3?

http3 ist BASED (on udp), which means that it is much cooler than http1 and http2. do you intend to support this futuristic protocol?
but i rellay want to express my happiness about this project, because the world ABSOLUTELY NEEDS another webserver, we really don't have enough other options.

This project is dead.

this is very sad :(
i would ask you to mark the project as archived, so other people don't need to create an issue similar to this one.
if you are too scared of doing this, just add me as collaborator to the repo and i can help you with that.

no

i know where you live

Same!

well that's great
i might just come to your house in the middle of the night and archive this repo
(disclaimer for law enforcement: this is not an actual threat, giftzwerg02 and i are friends)

We are not friends :3

We are not friends :3

uwu


Export ktdocs

Export ktdocs to be served in the documentation.

https://kotlinlang.org/docs/dokka-gradle.html

Solved


hardcode 'managedIdentitiesDataPlaneAudienceResource' field of the azure runtime config to a dummy value.

Hardcode 'managedIdentitiesDataPlaneAudienceResource' field of the azure runtime config to a dummy value.
This is good enough for dev or int env.
Once templatize refactor and helm chart conversion is in place, the value will need to be parameterized.
What this PR does
Jira:
Link to demo recording:
Special notes for your reviewer

lgtm


Add ability to register more macros for error handling.

Also changes the typehint for registering a macro to callable, not just Closure.

There is also an adjustment to error handling in https://github.com/ctwillie/expo-server-sdk-php/pull/27

Thank you for your contribution! I definitely see how these additional handlers can be helpful in some cases, but I'm choosing to not merge as I feel the may lead to bug reports that are rooted in these handlers implementation.
Feel free to fork this repo and customize to your needs!


Remove unnecessary sqlite code

OptimizedUnicode has been an alias for str since Python 3.2 and is scheduled for removal in Python 3.12. The default factory is already str, so the line wasn't doing anything.
See python/cpython#92547.

Thanks @JelleZijlstra, @erlend-aasland


DISCUSSION: Backend

@imsamgarg
have you evaluated the potential of using ISAR as a backend for storing the cached Images?

Do you mean, for the web?

It support.
iOS, Android, Desktop, and FULL WEB SUPPORT!
On Thu, Nov 17, 2022, 17:45 Sam Garg @.***> wrote:

Do you mean, for the web?
—
Reply to this email directly, view it on GitHub
https://github.com/imsamgarg/firebase_cached_image/issues/4#issuecomment-1319305831,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJL6EZ366KI5LPZSJ5UCULTWI2YRBANCNFSM6AAAAAASDJMOHQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I think it would be overkill for such a small project.


st,stm32-adc: Add peripheral map to Analog.STM32x0_ADC

This is a complement to https://github.com/renode/renode-infrastructure/pull/94

@nandojve Is it possible for you to rebase this for the current version?

As I needed to use this fix to update the current platform descriptions, I did the rebase myself. Take a look at the link below:
https://github.com/antmicro/dts2repl/commit/29617a51f8b74b154f989afcc3c9824e49efafa2
Please let me know if is there any needed adjustment so I can push it there and we can use the updated version.


add syntax for string interpolation

something like https://github.com/rescript-lang/vim-rescript/pull/44

Is this about syntax highlighting?

Yes
On Tue, Jun 22, 2021, 7:54 AM Cristiano Calcagno @.***>
wrote:

Is this about syntax highlighting?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rescript-lang/rescript-vscode/issues/275#issuecomment-865498603,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFFSICOSPHWVTO5FNUIO23TT7655ANCNFSM46XRCQFA
.

@amiralies is this still relevant, or was this fixed by the recent changes to highlighting?

I'm not sure, as I vscode is not my main editor.
I think these cases should be covered.
let var = `hello ${name} how you doin?`

let var2 = j`hello ${name} how you doin?`

let var3 = j`hello $name how you doin?`

let varInvalid = `hello $name how you doin?`

let expr = `2 + 2 is ${Int.toString(2 + 2)}`

Right. Well, at least on my theme, it's not fully highlighted:

This is current vim behavior.

looks like var3 and expr case should be addressed, this might be tricky to implement in textmate grammars tho .

This is very close to being fixed in the semantic highlighting PR:

Will see if we can fix the $name case there too, so we can close this.


Implement LarrySay

Similar to Cowsay, except with Larry, and speech bubble is made of dollar signs.

Fixed with pull request #12


Move debug statement with blocking future.result() call to add_done_callback

Closes #4167

Thanks @jeffkpayne!

@lukesneeringer NP!  Funny, though, I was just working on a unit test to test that the calls actually happen asynchronously...  Should I continue with that and open a new PR?

It would be along the lines of:
def test_on_response():
    call_times = []

    def side_effect(*args, **kwargs):
        # list.append() is thread-safe.
        call_times.append(datetime.now())
        time.sleep(2)

    callback = mock.Mock(spec=())
    callback.side_effect = side_effect

    # Then, after the calls happen, test that the times are both more than a second ago, or something like that...

I would accept that as a system test. :-) And yes, additional PR is of course welcome.

P. S. pubsub 0.28.4 is going through CI to release now. (This was a serious enough bug that I wanted it out immediately.)

@lukesneeringer The Pub / Sub unit tests seem to be broken (or heisen-broken) on Python 2.7:

https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/3738
https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/3741


Added "LIKE" as a condition for where

Uses stripos for incase sensitive testing for string fields

Thanks @SolStis86


Support adding to existing test file

You can add to an existing implementation file, but the test generation doesn't support reading an existing test file and adding to it.

ah yes, the intent was not to create a test if one exists. should be a quick fix


duplicate metadata_props field in onnx model causes issue with import

The model "resnetv2_50x1_bit.goog_in21k_ft_in1k_vaiq" has a duplicated metadata_prop item, and causes the onnx checker in the importer to fail.
Will remove this metadata item in a one-off test info class. The test should now fail due to Numerics.

resolved with https://github.com/nod-ai/SHARK-TestSuite/pull/365


Expand row in right/left

is it possible to expand the row the other directions like right left or top like which bootstrap provides on expands with parameters

@prakashsurya-840 we don't have this feature so far and it's minor feature for me now. sorry. Any PR is welcome. thanks


How to create X509Certificate2 Object from a certificate stored in Azure key vault?

It is a great article, but it misses one important piece of information: how to handle unattended PS scripts running in Azure.
In such scenarios, the certificate is most likely to be stored in Azure key vault. The call to Connect-ExchangeOnline requires the certificate in X509 format. How to use PowerShell to retrieve the certificate in the required format?

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

ID: d2cfafdf-cbe9-2ffe-eabe-becc66d51728
Version Independent ID: 4a46c8a8-dc70-d877-271e-6679c465a6d5
Content: App-only authentication in Exchange Online PowerShell and Security & Compliance PowerShell
Content Source: exchange/docs-conceptual/app-only-auth-powershell-v2.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

@MightyGuru, you should open a support ticket about this. Report back here with any findings that will help improve the documentation.
Coming from another direction, connecting with managed identity is also an option for Exchange Online PowerShell and v3.0.0 of the module.

@MightyGuru Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Create PRIME NUMBERS BETWEEN TWO INTERVALS

_ No description provided. _

don't forget to star the repo


Local Ubuntu jammy and onwards .deb cannot be installed from "debs:" recipe section due to zstd compression

Working from my Void Linux system, I am doing my first pleasant experience with pkg2appimage.appimage for which I thank and congratulate you on such a beautiful project.
Sticking to the documentation, in my recipe I included the debs: section, which points to a local directory where I downloaded some official Ubuntu packages.
Now during appimage building I get this message
dpkg-deb: error: archive '<local DEB file name here>' uses unknown compression for member 'control.tar.zst', giving up

for each Ubuntu package I downloaded from jammy (22.04LTS) and subsequent sources mirrors while unpacking goes as expected for archives belonging to focal (20.04LTS) and earlier
Having never used Ubuntu, it took me a web search to find out why: starting from jammy, packages switched from xz to zstd compression format.
The most recent release pkg2appimage-1807-x86_64.AppImage is released Jun 2, 2021 so before jammy…
May we have a new release that could fix this current limitation?

Same problem here with a ppa. Maybe any work a round? Unpack deb manually before building the AppImage for example?

At this point in time, please use no newer distribution packages than 18.04 (bionic).


Can't find uuid_generate_v4() function despite extension being installed

Bug description
I'm trying to configure prisma to connect to a custom schema.  I'm able to specify "?schema=my_custom_schema" in the database url, but any time I try to run migrations, I get an error about uuid_generate_v4() not existing.
I have an existing database I'm trying to relegate this custom app to a different schema.  In this database, uuid-ossp extension does exist and the definition is on the public schema.
Here is the command I'm running:
$ prisma migrate dev --name init --create-only
Environment variables loaded from .env
Prisma schema loaded from database/schema.prisma
Datasource "db": PostgreSQL database "my_custom_database", schema "my_custom_schema" at "localhost:5432"

Prisma Migrate created the following migration without applying it<PHONE_NUMBER>2232_init

You can now edit it and apply it by running prisma migrate dev.

$ prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from database/schema.prisma
Datasource "db": PostgreSQL database "my_custom_database", schema "my_custom_schema" at "localhost:5432"

Error: P3006

Migration `20230508222232_init` failed to apply cleanly to the shadow database.
Error:
db error: ERROR: function public.uuid_generate_v4() does not exist
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
   0: sql_schema_connector::validate_migrations
           with namespaces=None
             at schema-engine/connectors/sql-schema-connector/src/lib.rs:309
   1: schema_core::state::DevDiagnostic
             at schema-engine/core/src/state.rs:266

Here is the prima.schema file:
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = "postgresql://my_custom_user:password@localhost:5432/my_custom_database?schema=my_custom_schema"
}

model User {
  id                String         @id @default(dbgenerated("public.uuid_generate_v4()")) @db.Uuid
  @@map("users")
}

If I try to connect to the database directly, I can see the extension, and can select from the function.
$ PGUSER=my_custom_user PGDATABASE=my_custom_database PGPASSOWRD=password psql
psql (13.4, server 10.6)
Type "help" for help.

my_custom_database=# \dx;
                                         List of installed extensions
        Name        | Version |   Schema   |                            Description
--------------------+---------+------------+-------------------------------------------------------------------
 btree_gin          | 1.2     | public     | support for indexing common datatypes in GIN
 btree_gist         | 1.5     | public     | support for indexing common datatypes in GiST
 hstore             | 1.4     | public     | data type for storing sets of (key, value) pairs
 ltree              | 1.1     | public     | data type for hierarchical tree-like structures
 pg_prewarm         | 1.1     | public     | prewarm relation data
 pg_stat_statements | 1.5     | public     | track execution statistics of all SQL statements executed
 pg_trgm            | 1.3     | public     | text similarity measurement and index searching based on trigrams
 pgcrypto           | 1.3     | public     | cryptographic functions
 plpgsql            | 1.0     | pg_catalog | PL/pgSQL procedural language
 tablefunc          | 1.0     | public     | functions that manipulate whole tables, including crosstab
 unaccent           | 1.1     | public     | text search dictionary that removes accents
 uuid-ossp          | 1.1     | public     | generate universally unique identifiers (UUIDs)
(12 rows)

my_custom_database=# set search_path = my_custom_schema;
SET
my_custom_database=# show search_path;
 search_path
-------------
 my_custom_schema
(1 row)

my_custom_database=# select * from uuid_generate_v4();
           uuid_generate_v4
--------------------------------------
 ae9e948f-ea0f-43ff-8c5b-c7c3005f507f
(1 row)

my_custom_database=#

I'm not sure if this is relevant, but the sql file it generates doesn't have any schema prefixes in the CREATE statement.
$ cat database/migrations/20230508222232_init/migration.sql
-- CreateTable
CREATE TABLE "users" (
    "id" UUID NOT NULL DEFAULT public.uuid_generate_v4(),
    CONSTRAINT "users_pkey" PRIMARY KEY ("id")
);

If I add SET search_path TO my_custom_schema to the top of the generated file, I'm able to run it fine in psql:
$ head -n 1 database/migrations/20230508222232_init/migration.sql
SET search_path TO my_custom_schema;
$ PGUSER=my_custom_user PGDATABASE=my_custom_database PGPASSOWRD=password psql -f database/migrations/20230508222232_init/migration.sql
SET
CREATE TYPE
$

And it looks like it shows up OK in the database.
Any ideas?
How to reproduce
Refer to "bug description" -- this includes prima.schema and things I've tried.
I'd speculate that the "schema" option when provided doesn't work very well to isolate models to a given schema.
Expected behavior
Ideally it works without finagling.
Prisma information

// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = "postgresql://my_custom_user:password@localhost:5432/my_custom_database?schema=my_custom_schema"
}

model User {
  id                String         @id @default(dbgenerated("public.uuid_generate_v4()")) @db.Uuid
  @@map("users")
}

Environment & setup

OS: Linux
Database: PostgreSQL
Node.js version: 16.16.0

Prisma Version
4.13.0

I think this is related to https://github.com/prisma/prisma/issues/6822
@tswaters Could you try the following (from the last comment in that linked issue):
Hello, I had the same problem, I think if you define the uuidOssp function in extentions by activating previewFeatures in schema.prisma as below, I think the problem will be solved.
generator client {
  provider = "prisma-client-js"
  previewFeatures = ["postgresqlExtensions"]
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
  extensions = [uuidOssp(map: "uuid-ossp")]
}

Note: When I solved this problem, I immediately started getting an error for a field with a one to one relation. If you get this error, please define a @unique for that field.
Hope this helps, Best regards!
Originally posted by @melihkizmaz in https://github.com/prisma/prisma/issues/6822#issuecomment-1370922713

Note: since PostgreSQL 13 gen_random_uuid() can be used to generate a UUID v4 without an extension https://www.postgresql.org/docs/current/functions-uuid.html

OK, I think I've figured it out.
I threw some "debug5" logs on the postgres server and set it to log any statement that gets emitted.  It's doing a "create database $shadow_db" ; "create schema $schema" then tries to run the sql file as-is.
I missed in the stderr there,  "failed to apply cleanly to the shadow database. " --  (emphasis mine) I thought it was running against the real database and that's why I was so confused when running the same sql script against the real database it worked properly... I thought there was a very wrong somewhere for it to raise that error.
I was able to fix this by changing the uuidOssp call slightly to include the schema the extension creates in -
extensions = [uuidOssp(map: "uuid-ossp", schema: "public")]

With that done, and after rebuilding the init migration, the following appears at the top of the sql file --
CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA "public";

And the migration runs cleanly on both the shadow db, and the real one.
One thing I thought was a little scary was all the extensions that exist in the public schema being mentioned with warning text -
Drift detected: Your database schema is not in sync with your migration history.

The following is a summary of the differences between the expected database schema given your migrations files, and the actual schema of the database.

It should be understood as the set of changes to get from the expected schema to the actual schema.

[+] Added extensions
  - btree_gin

[+] Added extensions
  - btree_gist

[+] Added extensions
  - hstore

[+] Added extensions
  - ltree

[+] Added extensions
  - pg_prewarm

[+] Added extensions
  - pg_stat_statements

[+] Added extensions
  - pg_trgm

[+] Added extensions
  - pgcrypto

[+] Added extensions
  - tablefunc

[+] Added extensions
  - unaccent

✔ We need to reset the "my_special_schema" schema at "localhost:5432"
Do you want to continue? All data will be lost. … yes

this is a very scary warning, and it makes it sound like prisma is about to drop extension cascade on all these extensions.... that would break the database, catastrophically....  After taking a backup of my database and running it, it seems like it didn't actually do anything, which is good....  I'd expect the query that checks for database drift would be filtered to just those entries in the provided "schema" -- but it seems to pick out public extensions as well?  That's probably a separate bug,
I'll close this.  Operator error.

Prisma did not make it easy for you. It should. I'll reopen this so we can consider it with the rest of the postgresqlExtensions feedback.

How does this work if you have multiple schemas?
This doesn't seem to work:
extensions = [uuidOssp(map: "uuid-ossp", schema: "public"), uuidOssp(map: "uuid-ossp", schema: "other")]

I tried according to @Jolg42, but the error still persists. I added the previewFeatures  and extensions lines, but nothing worked. I considerated to resolve, only for my studies, using a single migration.

It worked for me. Thanks alot @Jolg42.
My docker file for the reference.
version: '2'
services:
  db:
    image: postgres:14
    container_name: postgres14
    environment:
      POSTGRES_DB: postgres
      POSTGRES_USER: root
      POSTGRES_PASSWORD: password
      EXTRA_CONF: 'max_connections = 200'
    healthcheck:
      interval: 10s
      retries: 10
      test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\""
      timeout: 2s
    ports:
      - 5432:5432
    volumes:
      - postgredbdata:/var/lib/postgresql/data
volumes:
  postgredbdata:

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["multiSchema"]
}

datasource db {
  provider = "postgresql"
  url      = env("DIRECT_URL")
  schemas  = ["public"]
}

model Users {
  id                        String               @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
  first_name                String?
  last_name                 String?
  email                     String               @unique

  @@schema("public")
}

I used gen_random_uuid to generate the random uuid... and it worked I am not using any extensions or previewfeature... I hope this works for you all...

@AmitMirgal
Could you please provide the version of Prisma? A few months ago, it required an extension to work properly.

@abdullah-shiwani I guess this is why an extension is not needed for @AmitMirgal
Note: since PostgreSQL 13 gen_random_uuid() can be used to generate a UUID v4 without an extension https://www.postgresql.org/docs/current/functions-uuid.html
Originally posted by @Jolg42 in https://github.com/prisma/prisma/issues/19144#issuecomment-1559094929

@abdullah-shiwani  I hope @Jolg42  answered your question... Thanks for explanation @Jolg42 🙏🏽... That's correct  I am using postgreSQL 15 so I don't need it and it works pretty well without extension...
@abdullah-shiwani  To answer your question I am using the latest prisma version v5.13.0


add timeouts to init.sh and join_ep.sh

Signed-off-by: André Martins<EMAIL_ADDRESS>

@scanf To test what?

@aanm that the timeout actually occurs :)

@scanf I understand your concerns but on this case I would be basically testing go lib.

I think it's fine without a test


Support for xUnit

Hi @inyutin-maxim
Do you also have a draft/idea in your mind how support for other test frameworks would look like? If yes, I'd be glad if you could share it :) I'm willing to translate/adapt/provide our existing quick fixes for xUnit.
Cheers!

Hi @mu88
I planned to implement and debug the common engine of these fixes on NUnit, and then I was also going to do migrations for xUnit, this is also important for me, because in work projects we also use xUnit)

Okay, sounds great!
Please let me know if I can assist you in any way, okay?

@mu88 Of course I will be glad to work together on this

Any news about this, @inyutin-maxim ?

Hi @mu88 Now there is a lot of work and there is no strength left to deal with the project. I can offer you as a temporary solution the Meziantou.FluentAssertionsAnalyzers  package, I think later I will return to the project as a little raking up the task

All good @inyutin-maxim - take care about yourself, it's just code 🙂


fix: allow response headers  and fix headers not working in const requests

Description
fix: allow response headers  and fix headers not working in const requests
This PR fixes #325 , #323

@AntoineRR @cirospaciari , do you folks want to give it a final green light before we release a new version?
I really appreciate all your help 😄

@AntoineRR @cirospaciari , do you folks want to give it a final green light before we release a new version?
I really appreciate all your help smile

I think will work.
But my issue is with jsonify basically this is serializing and deserializing the headers without any need, in CPython this is really slow, even if Robyn can get all raw power of actix web (3.6 mi req/s in TechEmPower) will be limited to JSON serializer performance, the better JSON serializer performs about 1.5 mi req/s in TechEmPower, also is adding a lot of CPU usage, copying, and dynamic allocations. Rewriting now will be better than adding this to main and cause incompatibility issues in the future.

I agree with @cirospaciari, we shouldn't use jsonify for the headers.
Although I think it is already handled like this in Robyn currently (see this test route from the main branch for example) so there will already be an incompatibility issue. Can you confirm this @sansyrox ?
Also, refactoring to allow something else than a string may be a big refactor for issue #336, maybe it would be good to merge this and start a new PR to remove jsonify ?

I agree with @cirospaciari, we shouldn't use jsonify for the headers.
Although I think it is already handled like this in Robyn currently (see this test route from the main branch for example) so there will already be an incompatibility issue. Can you confirm this @sansyrox ?
Also, refactoring to allow something else than a string may be a big refactor for issue #336, maybe it would be good to merge this and start a new PR to remove jsonify ?

If already will be an incompatible issue so, merging and fix in a new PR is acceptable, but refactoring should be priority, I need to benchmark it first but the performance penalty will be huge without refactoring.

but refactoring should be priority, I need to benchmark it first but the performance penalty will be huge without refactoring.

Agreed.

Although I think it is already handled like this in Robyn currently (see this test route from the main branch for example) so there will already be an incompatibility issue.

Yep, yep.

Also, refactoring to allow something else than a string may be a big refactor for issue https://github.com/sansyrox/robyn/issues/336, maybe it would be good to merge this and start a new PR to remove jsonify ?

I have been working this for a few hours now. It is indeed a big refactor. :(
I think it makes sense to merge this one and refactor based on a priority.


Charging Station: Actions should be disabled on disconnected charging stations

@LucasBrazi06 This is working as intended before and after the Station is connected, so good on my end.

@LucasBrazi06 This is working as intended before and after the Station is connected, so good on my end.

Thanks!
Feel free to close the issue yourself ;-)

Thanks!
Feel free to close the issue yourself ;-)


prevent focus loss

during development, when modifying a class component hmr triggers a full-reload event on the ws connection. This event is picked up by the browserwindow will-navigate and causes chrome to steal focus. This change corrects that behaviour.

can you please share some reproduction steps?  Is ws connection workspace?

can you please share some reproduction steps?  Is ws connection workspace?

Sure if you modify ui/index.tsx you will see a full-reload event in the websocket dev tool view. In normal cases the reload will happen as usual and get a rerender but if you leave your dev env running for a while the hmr stops working and full-reload causes the will-navigate event to receive a url with an anchor # on the end which causes the handler to misinterpret it as an outside url click. This change makes the handler ignore local dev vite full-reload events.

I'm not sure exactly what puts the hash on the end of the url after a certain amount of time, but I have a hacky repro.

set the window location window.location='http://localhost:3334/index.html#' in chrome devtools.
Make a change to a react function component.

Before HMR would open a browser tab.
After HMR would reload only the changed function component.


support max of DistInt

code = @dice begin

    function uniform(bitrange::Int, bitwidth::Int)
        ans = fill(DistBool(dicecontext(), false), bitwidth)
        for i = 1:bitrange
            ans[i] = flip(0.5)
        end
        DistInt(ans)
    end

    a = uniform(3, 4)
    b = uniform(3, 4)
    max(a,b)
end

infer(code, :bdd)

ERROR: MethodError: no method matching isless(::DistInt, ::DistInt)

This issue is resolved in hybit-merge-main #198 and will be closed when the branch is merged.


KML parser not reliable with KML from Google Earth / by-hand creation.

I tried the KML parsing sample with content of my own, and it does not appear to be working correctly.
There should be 3 items displayed - one placemark and two lines.  But, right now, I'm only seeing one of the two lines.
here is my html (based on the KML and mobile examples):
<!DOCTYPE html>

<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<link rel="stylesheet" href="http://ol3js.org/en/master/build/ol.css" type="text/css">

<title>OpenLayers 3 example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

here is my map.js:
/*

To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/

var map;
var view;
var baseBing;
var vector;
function init() {
view = new ol.View2D({
    //projection: 'EPSG:4326',
    center: ol.proj.transform(
            [-95.512779, 30.174770], 'EPSG:4326', 'EPSG:3857'),
    zoom: 12
});

baseBing = new ol.layer.Tile({
    source: new ol.source.BingMaps({
        key: 'Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3',
        imagerySet: 'Road'
    })
});

vector = new ol.layer.Vector({
    source: new ol.source.KML({
        projection: 'EPSG:3857',
        url: './kml/FullCourse.kml'
    })
});

map = new ol.Map({
    layers: [baseBing, vector],
    renderer: ['canvas'],
    target: 'map',
    view: view
});

}
and here is the KML (FullCourse.kml), created by hand using Google Earth:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>FullCourse.kml</name>

</Pair>
<Pair>
<key>highlight</key>

</Pair>
</StyleMap>

</Pair>
<Pair>
<key>highlight</key>

</Pair>
</StyleMap>

</Pair>
<Pair>
<key>highlight</key>

</Pair>
</StyleMap>

<Folder>
<name>FullCourse</name>
<open>1</open>
<Placemark>
<name>Rest Area 1</name>
<LookAt>
<longitude>-95.41840039100222</longitude>
<latitude>30.2848434561907</latitude>
<altitude>0</altitude>
<heading>0.008026975849770827</heading>
<tilt>0</tilt>
<range>16290.59498252861</range>
<gx:altitudeMode>relativeToSeaFloor</gx:altitudeMode>
</LookAt>

<Point>
<gx:drawOrder>1</gx:drawOrder>
<coordinates>-95.40549076532433,30.28992989509337,0</coordinates>
</Point>
</Placemark>
<Placemark>
<name>Untitled Path</name>

<LineString>
<tessellate>1</tessellate>
<coordinates>
-95.47704813713017,30.20594080296321,0 -95.46257828220979,30.20671728834878,0 -95.44426328868127,30.20768596972974,0 -95.42436244981521,30.20845620666415,0 -95.40332461193827,30.20863744496418,0 -95.38301372290874,30.21612553340068,0 -95.38078123522966,30.21622636685515,0 -95.36503977037543,30.21236118364175,0 -95.36245520167449,30.21175012257637,0 -95.36034011906968,30.2120534814299,0 -95.35745296942943,30.21314914538863,0 -95.36091948076113,30.22474676297727,0 -95.38394029923555,30.24211810971707,0 -95.39615700282486,30.25298508226138,0 -95.39802174349283,30.25584006180288,0 -95.40379326405589,30.2641547603604,0 -95.40579103842212,30.26608423812064,0 -95.41625531617048,30.27431297069278,0 -95.42284016076631,30.28335216619541,0 -95.42479112514086,30.28706604718501,0 -95.43241774937428,30.28292337687036,0 -95.43608699042396,30.28268204677976,0 -95.44568288621157,30.28366052174678,0 -95.45612784555159,30.2809815300511,0 -95.45671341504595,30.25172712398154,0 -95.45813425829785,30.23613036470082,0 -95.46631308384374,30.23637668460386,0 -95.51115359111844,30.2295624919377,0 -95.50156757423135,30.21348004245457,0 -95.49593046634456,30.20617006170225,0 -95.49085669228177,30.20397638131422,0 -95.48493695671414,30.20348783616461,0 -95.48070765669769,30.20543577636089,0
</coordinates>
</LineString>
</Placemark>
<Placemark>
<name>line2</name>

<LineString>
<tessellate>1</tessellate>
<coordinates>
-95.42513354985506,30.28718305814868,0 -95.41952011850931,30.28960651952923,0 -95.41371942434978,30.29138302569886,0 -95.40960275825023,30.29251316646064,0 -95.40567295837576,30.2942894352764,0 -95.4032391524275,30.29671342330733,0 -95.40099124781354,30.30156141584664,0 -95.39799279362755,30.30931886566246,0 -95.40285265458789,30.32322172847633,0 -95.41614498738007,30.32063615197536,0 -95.42138652497411,30.31998931877307,0 -95.43074609116026,30.3191845885558,0 -95.43692320149421,30.31740572686698,0 -95.43018499695926,30.29687934339706,0 -95.42588185789377,30.28815274823035,0
</coordinates>
</LineString>
</Placemark>
</Folder>
</Document>
</kml>
Regards,
Peter

apologies for the lateness - thank you very much for fixing this issue!


Upload blobs

See attached Trello card for details.

 Store upload blobs

Pinging @pazaan for reviewing new changes since last review.


Type error on server console.  (No response on iOS client).  Using gpt3.5 turbo)

Fresh install.  iOS client not responding keeps  spinning.  Node version 18.17.1.
App console eventually shows " ERROR  Connection error: The network connection was lost."
Server console output below:
[1] [nodemon] restarting due to changes...
[1] [nodemon] restarting due to changes...
[1] [nodemon] restarting due to changes...
[1] [nodemon] starting `node dist/index.js`
[1] Server started on port 3050
[1] error:  TypeError: Cannot read properties of undefined (reading '0')
[1]     at /Users/.../rn-ai/server/dist/chat/gpt.js:73:46
[1]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@gopinaath just tested and seems to be working for me, did you configure your API key correctly in a .env file?

I'm pretty sure I did that.  I'll double check it again and get back.


influxdb metrics and events sinks should log errors

If a write fails in influxdb we get nothing in heapster logs and can guess the error using tcpdump and logs in influxdb.
The problem is this:
if _, err := sink.client.Write(bp); err != nil {
		if strings.Contains(err.Error(), dbNotFoundError) {
			sink.resetConnection()
		} else if _, _, err := sink.client.Ping(); err != nil {
			glog.Errorf("InfluxDB ping failed: %v", err)
			sink.resetConnection()
		}
	}

The error returned from the Write is never logged :(
I could submit PR if that helps :)

@jonaz thanks for reporting. I'm happy to accept your contribution.


Getting issue on like or dislike a answer.

I am getting issue on like or dislike a answer.when i click on like or dislike button then it did not change.its still same .

Normally, if there is no change, this should be a problem. Is there no indication of an error message when you click on it?

No i did not get any error when i click on like or dislike button.

@garg20garg Can you provide more information, such as how it was installed and deployed, what version was used, and what database, etc.. ,or any other operations. Is it unusable by any account click?
I have follow the docker-compose installation steps which are mentioned in the installation guide.
(https://answer.dev/docs/installation/).i am using my virtual instance for testing purpose.


Allow use of more predefined VS Code variables in include paths

The $workspaceFolder variable is already available for use in include paths. Would it be possible to allow the use of other predefined variables? I would find $fileDirname to be useful.

Sure, that's a good idea and should be straightforward. The change would primarily be located in getIncPaths in utils.ts. The only tricky part is that the includePaths is used in two different places. In addition to compilation results, it also is used for getting the list of importable modules for the entire workspace (e.g. autocompletion on use ...). I could adjust getIncPaths to skip paths with $fileDirname unless an input file is specified for compilation results. I'm happy to add it, unless you or anyone else wants to submit a pull request for this one.


Providing dynamic code completion items

Hi,
I'm wondering if it's possible to provide dynamic code completion depending on the input.
For example, I want to create a custom completion for jQuery style code like this:
$("button")
Let's assume I load a custom TS definition file that has a definition for the type button.
I want to be able to register a code completion provider that will analyze the text, realize the $ function refers to a button, and provide the button members from the definition file.
I can then do the same logic for other types of course, and completion for the following samples will work as well:
$("image")
$("input")
Is this possible in any way?
Thanks!

Yes, please see registerCompletionItemProvider. There is even a playground example for that: https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-completion-provider-example

Thanks! I'm aware of the API and the example, but I don't see how can I get an AST to do better analysis on what the user wrote, or how can I provide back a type so that intellisense will continue to work on the returned completion items.
I looked at the typescript worker code, and it seems like I may need to create my own worker and somehow use language services to map custom code to types ($('button') -> button type).
Does that make any sense?
Thanks, I know it's probably a bizarre question and I appreciate the help :)

You can use the builtin TS extra libs support if your strings are known upfront. If you need to do some custom runtime logic, you're going to need to implement something custom.
e.g. paste this at https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-javascript-defaults
// Add additonal d.ts files to the JavaScript language service and change.
// Also change the default compilation options.
// The sample below shows how a class Facts is declared and introduced
// to the system and how the compiler is told to use ES6 (target=2).

// validation settings
monaco.languages.typescript.javascriptDefaults.setDiagnosticsOptions({
	noSemanticValidation: true,
	noSyntaxValidation: false
});

// compiler options
monaco.languages.typescript.javascriptDefaults.setCompilerOptions({
	target: monaco.languages.typescript.ScriptTarget.ES6,
	allowNonTsExtensions: true
});

// extra libraries
monaco.languages.typescript.javascriptDefaults.addExtraLib([
	'declare function $(arg:"input"): HTMLInputElement;',
	'declare function $(arg:"button"): HTMLButtonElement;',
].join('\n'), 'filename/facts.d.ts');

var jsCode = [
	'var input = $("input");',
	'var button = $("button");',
].join('\n');

monaco.editor.create(document.getElementById("container"), {
	value: jsCode,
	language: "javascript"
});

Thanks for the reply, it's getting closer to what I'm looking for.
I think I wasn't clear in my first post, I apologize for that.
The argument for $ is not known at compile time, just like jQuery.
Meaning, the function can accept an id for an element, for example:
$('button1'), $('button2'), $('image1').
I have a map that maps button1 to a button type, button2 to a button type, image1 to an image type etc.
Let's assume I also have a TS definition file, with all the types.
I want to be able to tell the code completion engine, at runtime, that the return value for $('button1') is of type button.
Can I maybe do what you described with addExtraLib and call it at runtime, adding multiple declarations for all the ids I have whenever the ids list changes? Or is there a better way to do it?
Thanks again for all the help, it's much appreciated.


Delete protoc-3.3.0-osx-x86_64.zip

The file was added in a bad merge from the release-0.8 branch.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hklai
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS [hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, hklai
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS [geeknoid,hklai]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hklai: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-simple

prow/istio-pilot-e2e.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-simple

prow/istio-pilot-e2e.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
507b932809871adb52a70e9bfd42655c26915c27
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Adds an unsafe_code linting rule

This marks the use of unsafe code within the library as an error.

@dtolnay in the meantime you’ve removed it, may I ask why? As I can see the crate doesn’t use unsafe code and therefore it shouldn’t hurt

@dtolnay in the meantime you’ve removed it, may I ask why? As I can see the crate doesn’t use unsafe code and therefore it shouldn’t hurt

It appears to be this commit, which doesn't explain why.


Feature/e2e fix

fix time out issues on the remote test machine

Coverage remained the same at 80.64% when pulling fbcd02732223a067fdb2567d1cd26a007bbe31cb on feature/e2e-fix into a667045f018ae8cccc446743ea6c6eb77329ad3b on develop.


Set the response to re-write the entire message on each progress update to avoid data loss.

If any data was lost, recreating will restore them in a next response.

Already in development branch


Update github.com/relistan/go-director

This brings in the latest version of relistan/go-director to prevent this resource leak.

@relistan That's strange. I re-added you as a collaborator and it should work now, I hope!


can't override default settings by setting them in servers attribute

Default settings is a hash of default settings to be applied to to ALL instances. These can be overridden for each individual server in the servers attribute. If you are going to set logfile to a specific file, make sure to set syslog-enabled to no.
redisio['default_settings'] - { 'redis-option' => 'option setting' }

i couldn't override attributes like syslogenabled,maxmemory,maxmemorypolicy,maxmemorysamples. all these work under default_settings though. however, i need to specify different values  according to the server being configured.
im setting them in a role definition like this (knife role edit):
{
  "name": "redis-cache",
  "description": "Redis Cache server Role",
  "json_class": "Chef::Role",
  "default_attributes": {
    "redisio": {
      "version": "3.0.7",
      "job_control": "systemd",
      "default_settings": {

      },
      "servers": [
        {
          "port": "6379",
          "syslogenabled": "no",
          "maxmemory": "1000000000",
          "maxmemorypolicy": "volatile-ttl",
          "maxmemorysamples": "10"
        },
        {
          "port": "6380",
          "syslogenabled": "no",
          "maxmemory": "13000000000",
          "maxmemorypolicy": "volatile-lru",
          "maxmemorysamples": "10"
        }
      ]
    }
  },
  "override_attributes": {
  },
  "chef_type": "role",
  "run_list": [
    "recipe[redisio::default]",
    "recipe[redisio::enable]"
  ],
  "env_run_lists": {

  }
}

I had a similar issue, but it was hit or miss. I was able to override clusterenable in servers but I was not able to override logfile and syslogenabled. I had to specifically set my overrides for those in using:
default['redisio']['default']['logfile'] = '/var/log/redis/redis.log'
in a role cookbook.

I think the configuration file is protected in re-write by design. If the
config file is already here, the file is not regenerated after a change in
configuration.
Le 15 juin 2016 21:08, "Dann Washko"<EMAIL_ADDRESS>a écrit :

I had a similar issue, but it was hit or miss. I was able to override
clusterenable in servers but I was not able to override logfile and
syslogenabled. I had to specifically set my overrides for those in using:
default['redisio']['default']['logfile'] = '/var/log/redis/redis.log'
in a role cookbook.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brianbianco/redisio/issues/262#issuecomment-226288894,
or mute the thread
https://github.com/notifications/unsubscribe/ABCOetmSZKUKiY-3DBuV-Yjoz6m5zJa4ks5qME2mgaJpZM4IGT69
.

Yes that file is protected by breadcrumb, but if you delete the breadcrumb it will overwrite. That is not my problem. Like the original poster of the problem indicated, on the initial run, I am not able to override some of the settings using the servers hash. I noted the two specific ones that were not working for me:
loglevel
syslogenabled
I was not able to override those in the servers hash.

Can you test
In file : providers/configure.rb
After:
current = current_defaults_hash.merge(current_instance_hash)
Add:
p current
And  make a run to see the content  of  hash merge ?
Le 15 juin 2016 21:44, "Dann Washko"<EMAIL_ADDRESS>a écrit :

Yes that file is protected by breadcrumb, but if you delete the breadcrumb
it will overwrite. That is not my problem. Like the original poster of the
problem indicated, on the initial run, I am not able to override some of
the settings using the servers hash. I noted the two specific ones that
were not working for me:
loglevel
syslogenabled
I was not able to override those in the servers hash.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brianbianco/redisio/issues/262#issuecomment-226298361,
or mute the thread
https://github.com/notifications/unsubscribe/ABCOegmBULDzv4-YaIb523GwlUCw84buks5qMFYxgaJpZM4IGT69
.

Hmmm I just did this from the raw cookbook setting server overrides in the .kitchen.yml file and ti worked fine. I am going to have to try this in my role cookbook and see what the deal is. I will get back to you on this.

I am going to rescind my comment and say I am no longer having this problem. I am not sure why it was not working for me before but now the server hash is overriding the values as expected.

If you're no longer encountering this issue, I'll go ahead and close 👍


Support retrieval of relay information

NIP-11: Relay Information Document

Added support for NIP-11 in 0.6.0


Data sharing and re-use: Meet with DPLA to discuss transition to Rikolti and deprecation of Solr harvesting

Notes: https://docs.google.com/document/d/17kpRpl3-IbSovVXCZzBKN4EV4HfQcLElGzVDspK9-7U/edit?usp=sharing


Fake ping

I wanted you to put fake ping

no.

:(

if you want stuff so badly, add it yourself. or at least make stuff realistic. If you want fake latency and a working autobackstab, $20 = lbox = fake latency + auto backstab

can you increase the backtrack? you don't need much if you want it can even be small

hmm

Can you not put anything?

?

you can use lmaobox crack but need on other cheat
which can backstab on backtack because on lmaobox crack work fake latancy on 700

or you can use fake lag 22 tick in hvh + autobackstab range 1.0 + rage mode.

or you can take the nullcore project (only there you need to update offsents) from github.

send me the lmaobox crack and an injector that can inject it

lbox crack is probably outdated and detected

Still send me the link

why?

I'd prefer if this was the last time anybody linked a russian skid thread on this repo thanks.


Make engine version optional

Pull Request Description
Fixes this issue:

#7917

This is caused by the dashboard expecting engineVersion to be present, whereas it is actually optional.
Important Notes
This may have been fixed on the Project Manager side, so the bug may not be reproducible. To properly test that this fix works, an older project-manager (e.g 2023.2.1-nightly.2023.9.30) should be used.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

did some further testing and fixed some bugs

@PabloBuchu @indiv0 ping for visibility


Configure AWS instance inbound rules

I configured the inbound rules to allow all traffic (firewalld is already installed)


Add comment to help the developers facing issue when using flyway-core in APIJSON-MultiDataSource project

Add comment to help the developers facing issue when using flyway-core in APIJSON-MultiDataSource project.
It costs me a few hours to solve this issue.

Thank you for your contribution~


Bump to v1.6.0-RC1

As the title says

LGTM

LGTM assuming happy tests

/lgtm
/hold
hold cancel when tests pass.

/hold cancel


Additional confirmation for deletions

Checklist

[x] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated.
[x] Changelog entry has been written

Display more confirmation information when deleting resources from a Lagoon
Changelog Entry

Improvement - More verbose deletion confirmations
Closing issues
closes #99
closes #64

woohoo 💯

#64 mentions to display even more information, some of that information is only available if we run an initial query, this could add additional time to requests, as it would require running a discovery query to make sure it exists first.
Happy to implement this though if it would be more helpful

Yeah, that was my original intent, was to provide more information about what you are going to do, prior to just doing it. A read query makes perfect sense. Having the git URL for instance for project deletions is a good way to ensure you are doing the right thing.

Will merge this for now, but will look to add the additional sanity checks for #64


Move reports & dashboards to Cumulus

This moves the NPSP reports & dashboards metadata from the CumulusReports repository into Cumulus. This makes it possible to include them in the config_qa and config_managed flows and to test that they deploy successfully in feature builds. They used to be in the separate repository partly because that was necessary to have a separate installer for them, but MetaDeploy makes it possible for us to publish multiple installation plans from the same repository.
Some of the details of this include:

I added a deploy_reports task which deploys the metadata stored in unpackaged/config/reports
The contents of that folder are taken verbatim from CumulusReports master, except I did replace the npsp__ prefix with the %%%NAMESPACE%%% token so that it can be deployed with both managed and unmanaged NPSP using CCI's namespace injection.
I configured the deploy_reports task so that it will show up as an optional step in the new MetaDeploy installer plans, as well as a separate installation plan for reports & dashboards only that is more like the current one.
I realized that the metadata in unpackaged/config/trial was inadvertently disabling reports and activities for some objects by virtue of leaving enableReports and enableActivities out of the metadata instead of explicitly continuing to set it to true (see https://success.salesforce.com/issues_view?id=a1p3A000000IXGkQAO&title=excluding-enableactivities-and-enablereports-settings-from-customobject-metadata-incorrectly-disables-the-settings-in-target-org). This is now fixed so that these settings will stay the same as in the packaged metadata.

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

@davisagli I've never heard of this package, so I'm not sure I'm really qualified to "approve" it, other than to say that the metadata seems to make sense. Might need someone who is familiar with the reports to verify that it installs and works as expected.

@force2b that's ok, I mostly tagged you to make sure you're aware this is going in.

Ah. Makes sense. Thanks @davisagli


calling with IBAction

I am sorry I am new to program and don't know where to get help
I installed it with pod and it went great but as I called it with IBAction with perform segue after it, the lockscreen didnt show up and it perform the segue without the lockscreen,
Sorry for my bad english and here's my code
-(IBAction)enterPin: (UIButton*)sender{
[LTHPasscodeViewController useKeychain:NO];
if ([LTHPasscodeViewController doesPasscodeExist]) {
if ([LTHPasscodeViewController didPasscodeTimerEnd])
[[LTHPasscodeViewController sharedUser] showLockScreenWithAnimation:YES
withLogout:NO
andLogoutTitle:nil];
}
[self performSegueWithIdentifier:@"pinLogin" sender:nil];
}

I'm sorry, but I haven't really worked with IB, so LTHPasscodeViewController doesn't really support it.

I will close this now, sorry. Maybe I will add more support to IB in the future, but I wouldn't get my hopes too high about it.


How can I add github colorscheme repo?

I don't really understand how could I change the colorscheme. Let's say I have the theme's github repo. How should I proceed from that?

Hey @MattSom All you need to do is to clone the repo into the ~/.vim_runtime/sources_non_forked directory.
For example to install the awesome onedark theme:
$ cd ~/.vim_runtime/sources_non_forked && git clone https://github.com/joshdick/onedark.vim.git

Then to avoid polluting the base installation, create your own config file my_config.vim in the ~/.vim_runtime directory.
Inside my_config.vim add your preferred settings to override the default ones that come installed. e.g to use onedark  just add the line:
colorscheme onedark

I think that this method of extension applies to any plugin that is contained in a github repo


Authorizing subscriptions without allowing mutations

Which Category is your question related to?
GraphQL Transform: @auth
Amplify CLI Version
4.17.1
What AWS Services are you utilizing?

Amplify
AppSync
DynamoDB
Cognito

Within the Amplify framework I am using:

Auth
DataStore

Provide additional details e.g. code snippets
I am using Amplify and React Native to build a todo app. All users in this app share one todo list. Every user can create new todos, and mark todos as completed or uncompleted, but only the user who initially created the todo is allowed to delete it.
My schema looks like this:
type Todo
  @model
  @auth(rules: [{ allow: owner, operations: [create, delete] }])
{
  id: ID!
  name: String!
  completed: Boolean!
  owner: String
}

Problem:
Everything works fine but I can't figure out how to make the subscription part do what I want. It is my understanding that the create and delete operations listed in my schema also protects the subscriptions related to those. In this case: onCreate and onDelete. So basically only the owner of the todo can subscribe to those events. You can see how this is weird for the users of my app, because they won't see newly created todos until that todo is updated (since they are allowed to subscribe to onUpdate), and they wont know that a todo got deleted until they try and update that todo themselves.
I've read the following things:
https://github.com/aws-amplify/amplify-cli/issues/2636
https://aws-amplify.github.io/docs/cli-toolchain/graphql#authorizing-subscriptions
But I can't figure out how to make it where other users can still subscribe to onCreate and onDelete without being able to do the delete mutation, which seems like a trivial problem to me.

In the current implementation you can open them publicly, view below
type Todo
  @model(subscriptions: {
    onCreate: ["onCreateTodo"]
    onDelete: ["onDeleteTodo"]
    level: public })
  @auth(rules: [{ allow: owner, operations: [create, delete] }])
{
  id: ID!
  name: String!
  completed: Boolean!
  owner: String
}

This will create the subscriptions operations (onCreate and onDelete) and create resolvers for the subscription operations. Which you can edit to make your own custom resolver.

@SwaySway Thank you for your reply. I changed my schema to match your suggestion, but this gives me the following warning:
[WARN] 59:49.116 DataStore - Sync error subscription failed Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onCreateTodo'"}]}

Do I have to remove the owner field from the schema?
Note: I haven't edited any resolvers yet.

@SwaySway Do you have any advice on how to fix this? I really need this for a project I am working on.

Same issue here. I can't make the subscription work but I tried the workaround above and it works for me.
`type Reservation
@auth(rules: [
{allow: owner, operations: [create, delete]}
])
@model(subscriptions: {
onCreate: ["onCreateReservation"]
onDelete: ["onDeleteReservation"]
level: public })
@searchable  {
id: ID!
location: String
city: String
owner: String
requests: [Request] @connection (name: "ReservationRequests", keyField: "reservationID")
}`

@mkaschke Are you not getting any of the warnings I described above? Also, did you run the amplify codegen models or are you not using DataStore and or React Native?

Closing this issue as the PR addressed this has been merged and released into 4.21.1.

Closing this issue as the PR addressed this has been merged and released into 4.21.1.
Subscriptions can be allowed now by adding read.

@SwaySway I tried what you said but I get the following warning:
[WARN] 33:00.377 DataStore - Sync error subscription failed Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onDeleteSharedItem'"}]}

Here's the schema:
type SharedItem
  @model
  @auth(rules: [
    { allow: owner, identityClaim: "custom:user_id" },
    { allow: private, operations: [read] }
  ])
{
  id: ID!
  content: String
}

@SwaySway Can this be reopened?

@SwaySway With the following schema I get the same type of warning:
type SharedItem
  @model
  @auth(rules: [
    {
      allow: owner,
      identityClaim: "custom:user_id",
      operations: [create, update, delete]
    }
  ])
{
  id: ID!
  content: String
}

[WARN] 23:32.904 DataStore - Sync error subscription failed Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onUpdateSharedItem'"}]}

@mdoesburg Looked into this a bit more. Datastore is using the access token instead of using the idToken which contains fields for the custom claims.
This being marked as a feature request here: https://github.com/aws-amplify/amplify-js/issues/5231
Closing this issue in favor of the that feature request. Should you have any issues on anything else related to the CLI please feel free to comment below.

@SwaySway I don't understand. I configure amplify to use the other token:
Amplify.configure({
  ...awsConfig,
  graphql_headers: async () => {
    try {
      const session = await Auth.currentSession();
      const token = session.idToken.jwtToken;

      return { Authorization: token };
    } catch {}
  },
});

Are you saying that doesn't work with DataStore? If so, where is this documented?

@SwaySway Was support for this not added? https://github.com/aws-amplify/amplify-js/commit/fbbe244257694ce0697ff6cae930480c4012973a

@brene @Ashish-Nanda @undefobj @SwaySway @amhinson @manueliglesias Can someone please clarify the difference between tokens (idToken/accessToken), and if, and why it works or doesn't work with the DataStore? Much appreciated.

@SwaySway Went ahead and tried without identity claim, and sticking to access token. Check out the schema's and results below.
Schema 1
type SharedContent
  @model
  @auth(rules: [
    { allow: owner, operations: [create, update, delete] }
  ])
{
  id: ID!
  content: String
  owner: String
}

Generates the following subscriptions:
onCreateSharedContent: SharedContent @aws_subscribe(mutations: ["createSharedContent"])
onUpdateSharedContent: SharedContent @aws_subscribe(mutations: ["updateSharedContent"])
onDeleteSharedContent: SharedContent @aws_subscribe(mutations: ["deleteSharedContent"])

Results in these warnings:
[WARN] 38:14.669 DataStore - Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onDeleteSharedContent'"}]}
[WARN] 38:14.756 DataStore - Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onUpdateSharedContent'"}]}
[WARN] 38:14.802 DataStore - Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onCreateSharedContent'"}]}

Schema 2
type SharedContent
  @model
  @auth(rules: [
    { allow: owner, operations: [create, update, delete] },
    { allow: private, operations: [read] }
  ])
{
  id: ID!
  content: String
  owner: String
}

Generated the following subscriptions:
onCreateSharedContent: SharedContent @aws_subscribe(mutations: ["createSharedContent"])
onUpdateSharedContent: SharedContent @aws_subscribe(mutations: ["updateSharedContent"])
onDeleteSharedContent: SharedContent @aws_subscribe(mutations: ["deleteSharedContent"])

Results in these warnings:
[WARN] 53:08.331 DataStore - Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onCreateSharedContent'"}]}
[WARN] 53:08.358 DataStore - Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onDeleteSharedContent'"}]}
[WARN] 53:08.413 DataStore - Connection failed: {"errors":[{"message":"Validation error of type UnknownArgument: Unknown field argument owner @ 'onUpdateSharedContent'"}]}

Am I missing something here, because it seems like subscriptions with the above schema's don't work when using DataStore. Can we reopen this issue?

Hello @mdoesburg
I believe the DataStore warning might be related to adding the owner argument in the operation. This could be that the library is basing this of the fact that an owner rule exists.
Transferring this issue to the JS repo for visibility.


Onboard all hackEDU leaders onto Slack

From @jonleung on October 21, 2015 1:7
Especially

[ ] Cohort 2 Leaders

[ ] Add them to the #cohort-2

[ ] Make sure everyone has accepted their slack invite (see https://hackedu.slack.com/admin/invites)
[ ] Anyone else you think we should add

Mobile App

[ ] Make sure everyone has

[ ] Downloaded the mobile app
[ ] Has enabled push notifications

@hellyeah @zachlatta, what are your thoughts on adding this task for this week?
Copied from original issue: hackedu/hackedu#376

Do we want to add cohort 2 leaders now @hellyeah? I know we also have hackedu/hackedu#313 created.

Yes. Adding cohort 2 leaders today.

It seems that everyone on slack is fairly acquainted with it


Added reverse engineering - Issue #49

Pentesters arsenal tools - reverse engineering is a part of this chapter (#42) so we will not be adding the next one.

Good job!


InstallSSHKey is unable to access secure file that definitely exists

Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Environment
- If using VSTS, provide the account name, team project name, build definition name/build number:

Account name: digital-identification
Project name: digital-identification
Build definition name: admin-api
Build number: #1104

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name: Hosted VS2017

Issue Description
InstallSSHKey@0 seems to be unable to access the secure file. I've granted the Hosted VS2017 agent access to the secure file in question, but I see this:

Phase : Step input sshKeySecureFile references secure file idmee_machine_vsts_201805.key which could not be found. The secure file does not exist or has not been authorized for use.

I've tried various configurations, file names, tried adding extensions, granting global access, to no avail.
Error logs
Phase : Step input sshKeySecureFile references secure file idmee_machine_vsts_201805.key which could not be found. The secure file does not exist or has not been authorized for use.

I tested this and it is working fine for me.  Can you run with System.Debug=true and send us the full log file for the Install SSH Key step?  Also, how did you upload your private key?

Hi @brcrista, it seems that it might be due to the fact I'm doing this on a feature branch and that my default branch's .vsts-ci.yml doesn't reference the secureFile:
https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted-authz.md

Ok, that is helpful information.  Are you able to clone the build definition and set the default branch to your feature branch to see if that fixes the issue?

Or, I don't think you can clone YAML definitions.  But create a new definition, etc.

We have a better resource authorization experience coming in one to two sprints.
A workaround that covers most cases is, navigate to the build definition in the web, switch the default branch to your branch, save, revert back to your desired default branch, save again.  The act of saving the definition loads the file (from the default branch) and authorizes discovered resources.

Thanks guys.
We've had to set up our own npm registry to workaround this issue, which has been a bit of a time sink for us - but if we encounter another requirement where we need to reference secure files on feature branch builds then we'll try those steps above.

Just ran into this issue again after replacing a SSH key 😢

The workaround fixed it

You mean you set up your own npm registry?  I think I'm missing how NPM ties in here.

Reopening as it seems this is still happening to people

Sorry for not being clear @brcrista.  I had an existing job with a InstallSSHKey@0 task that was working fine, but when I replaced the SSH private key secure file a few days ago, the task started failing until I came across this issue and implemented @ericsciple's workaround of switching the branch in the build pipeline > save > restore the desired branch > save > trigger manual build.

Ok, thanks @tlindsay42 .  In that case, this is a known issue with our resource authorization that we are working to fix.  I'll mark this as closed again.

Still happening

@Gingonic does the workaround posted above fix it for you?


Governance program

Summary:
Governance is a program the chief purpose of which is to control the upgrade of other programs through democratic means.
It can also be used as an authority provider for mints and other forms of access control as well where we may want
a voting population to vote on disbursement of access or funds collectively.
Governance can handle arbitrary executions of code, but it's real power lies in the power to upgrade programs. It does this through executing commands to the bpf-upgradable-loader program.
Bpf-upgradable-loader allows any signer who has Upgrade authority over a Buffer account and the Program account itself
to upgrade it using its Upgrade command.
Governance accounts:

Proposal workflow:

I made some initial comments but I'm still a little confused overall TBH and trying to orient myself. It feels like we're trying to do shoot for something very generic but at the same time specializing parts of the interface for program upgrades, which I find unsettling design wise.

You are right we are aiming to create all purpose governance program but the prototype was focused on program upgrades. Given that I think we should specialise the parts of the api where it targets program upgrades explicitly. I'm thinking about the following structure:
Governance - Top level account aggregating governances for given governance tokens (for example MNGO or COMP)
ProgramGovernance - Governance account for program upgrades. Governance could have multiple of those for each program within the protocol and also other none program governances in future versions.
Please let me know what you think

I don't fully grok the Council yet and why we need it.

Council is a way to define an optional voting population which is different from the community of  main token holders
A practical application of this policy may be to have a very large population controlling
major version upgrades of Solana via normal SOL, for instance, but hot fixes be controlled via Council tokens,
of which there may be only 30, and which may be themselves minted and distributed via proposals by the governing population.

I don't fully grok the Council yet and why we need it.

Council is a way to define an optional voting population which is different from the community of main token holders
A practical application of this policy may be to have a very large population controlling
major version upgrades of Solana via normal SOL, for instance, but hot fixes be controlled via Council tokens,
of which there may be only 30, and which may be themselves minted and distributed via proposals by the governing population.

Thanks!  The hard coding of a Governance mint and a Council mint doesn't sit well with me yet. For example what if a 3rd body is needed for some applications, or a Council isn't needed.  Instead a Governance could just have 1 or more mints associated with it, and the mint that is used as the Governance mint vs Council mint is determining when a Proposal is created for that Governance account.

I don't fully grok the Council yet and why we need it.

Council is a way to define an optional voting population which is different from the community of main token holders
A practical application of this policy may be to have a very large population controlling
major version upgrades of Solana via normal SOL, for instance, but hot fixes be controlled via Council tokens,
of which there may be only 30, and which may be themselves minted and distributed via proposals by the governing population.

Thanks! The hard coding of a Governance mint and a Council mint doesn't sit well with me yet. For example what if a 3rd body is needed for some applications, or a Council isn't needed. Instead a Governance could just have 1 or more mints associated with it, and the mint that is used as the Governance mint vs Council mint is determining when a Proposal is created for that Governance account.

It's in fact like that. Both Governance and Council mints are provided externally when Governance is created with the Council being optional. So it's simplified version where you can have 1 or 2 mints and then when you crate a Proposal you decide which mint votes. I'm not sure if there is any value in making it 1 or N at the moment.

Hey, love the work on governance. I have a few thoughts that I was wondering if you would consider.
For every proposal. Users vote both with their wallet(1 vote) and with their sol(1 vote per sol). 66% of sol in the voting wallets have to vote yes for a proposal. 66% of the number of wallets voting have to vote yes for a proposal go through. THIS HELPS WITH PEOPLE WHO HAVE STAKE GETTING MORE OF A SAY, WHILE MAINTAINING PURE DEMOCRACY AS WELL
Additionally, for a proposal to go through, there must be a certain percentage of total SOL/wallets that vote for an improvement proposal in order for it to go through.
Additionally, I think voting should be able to happen without taking your SOL out of staking, so possibly a vote token could be minted when you stake.
I also think an election every few years for a handful of devs to a council would be a good way to establish some checks and balances! Then this council also has to vote 66% for a proposal for it to go through.
In my opinion, with governance, we should try to mimic the democratized governments of the world with the added twist that SOL and wallet number should have value in the voting system. Checks and balances are key!
Let me know what you think! I have never commented on github before, but believe I have some good ideas about a democratized and sustainable governance system.