refactor(user): finish user slice (DEV-671)

Resolves DEV-671
PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

darn... you already fixed thy typo in the PR title... ignore that bullet point then! ^^


Update composer dependencies

NB: this also allows hhvm builds to fail, as Travis uses an hhvm version (3.5.0) which is several months old and features a bug with abstract class reflection, causing PHPUnit to fail the abstract plugin tests.
Once Travis updates its internal hhvm release to >=3.7.1, this can be reverted.

Coverage decreased (-0.06%) to 98.01% when pulling 83a7cf5c247aa333890f03e65c2a9a23c722aacd on Renegade334:master+dependencies into c4e857f92d045cd6c879744f1291518714a5ca52 on phergie:master.

Coverage decreased (-0.06%) to 98.01% when pulling 83a7cf5c247aa333890f03e65c2a9a23c722aacd on Renegade334:master+dependencies into c4e857f92d045cd6c879744f1291518714a5ca52 on phergie:master.

Coverage decreased (-0.06%) to 98.01% when pulling 8bcbf04d559c2e327c39e0754943bce1691f8e55 on Renegade334:master+dependencies into c4e857f92d045cd6c879744f1291518714a5ca52 on phergie:master.

Coverage decreased (-0.06%) to 98.01% when pulling 8bcbf04d559c2e327c39e0754943bce1691f8e55 on Renegade334:master+dependencies into c4e857f92d045cd6c879744f1291518714a5ca52 on phergie:master.

Coverage decreased (-0.06%) to 98.01% when pulling a960301b313cd5a99403838f170891fb7c29783a on Renegade334:master+dependencies into c4e857f92d045cd6c879744f1291518714a5ca52 on phergie:master.


Swagger note about PostgREST operators

Related to https://github.com/PostgREST/postgrest/issues/1209. Add a note for this.

Not sure what to do about this. I mean the swagger-ui lists PostgREST documentation literally at the top, and this points right to the docs where there are some operators examples.
I guess the original issue is about "discoverability" because the "interactivity" is there. Also for discoverability one could add comments in the tables/columns indicating that eq is required.
For now I'll close.


Suggestions

Few things that I suggest:

Make the code case-insensitive. This would include changing the pattern by adding an "i" after the closing slash, and change other string comparison sections to make the subject match case of the comparison.
Add an optional "@" to the start of the pattern.
I preface my todo comments with "@" for IDE highlighting reasons.
Use named capture groups in the regular expression:
'/^TODO:?\s*(?P<date>[0-9]{4}-[0-9]{2}-[0-9]{2}):?(?P<comment>.*)$/'
You can then reference these names rather than integer indexes in the $matches array.
Details about it can be found here: https://www.php.net/manual/en/regexp.reference.subpatterns.php
Make your variable interpolation consistent.

Make the code case-insensitive. This would include changing the pattern by adding an "i" after the closing slash, and change other string comparison sections to make the subject match case of the comparison.

I did this intentionally to reduce the performance impact of the rule. it might make sense make it configurable so people which prefer e.g. lowercase // todo can be supported

2. Add an optional "@" to the start of the pattern.
I preface my todo comments with "@" for IDE highlighting reasons.

how do your comments look like, please provde a example

3. Use named capture groups in the regular expression:

I am fine with the pattern as is

4. Make your variable interpolation consistent.

feel free to provide a PR if this is something importan to you :-)

Add an optional "@" to the start of the pattern.
I preface my todo comments with "@" for IDE highlighting reasons.

I also add "@" for the same reason, it looks like this: https://www.jetbrains.com/help/phpstorm/using-todo.html#add_pattern_filter_todo
e.g. TODO@lars -> ...

I would love support for @todo, as that is the format we typically use.

I would love support for @todo, as that is the format we typically use.

could you give a complete example of how your comment looks like

Here is a couple of examples of an @todo from one of my projects:
/**
 * @todo - Convert to standard Drupal $content code.
 */
...
// @todo Decide to fix all the broken instances of class as a string

Some comments have the hyphen, some don't.

I made a pull request with my suggested changes, and added in support for php doc comments.
I tested this on a large project and saw no significant performance loss compared to PHPStan not using this plugin.


docs(prometheus) update the custom server block snippet

Assuming app/_hub/kong-inc/prometheus/index.md refers to the latest plugin version, this change should have been made to that file instead of app/_hub/kong-inc/prometheus/0.1-x.md made at https://github.com/Kong/docs.konghq.com/pull/1227

Also reverted #1227
Please review these changes @Kong/team-docs and @hbagdi


appWillResignActive() don't really stop Unity Player when GVR is used

I issue a weird bug on my native App.
First I've correctly embedded Unity App in my native iOS project. Using Unity 2017.1.2p2, iOS 11 Swift 4 and GVR 1.100.0.

I can Start Unity from native App and play with it
Quit Unity with button and back to native view and do...
Start / Stop VR in Unity Player

My issue is if I toggle on/off VR and quit Unity player as I did with my quit button, Unity pause, app back to native view, but touch support is always on Unity App. So App seems to be frozen !.
I've investigated and app is not frozen. Handler just don't back to native when VR is loaded.
If I start unity again from timer (just to test), unity app becomeActive and everything is working...

Problem happen only if I toggle VR mode. If I use Unity without loading GVR singleton, everything is working fine

Any idea to solve this issue ?
I post a more detailed issue on GVR git here

I want start a unity when i tap on the button in ios (objective c).
please help me . If Iam tapping the ios button for little bit late means it s not showing "made with unity " screen .i always want to show that "made with unity ".Intially i want to stop the unity to run i background?
mail<EMAIL_ADDRESS>


Editor #451 Rewrite GetDancerLEDData

What is this PR for?
pull request
What type of PR is it?
feature
Todos
None (bug maybe)
What is the Github issue?
#451
How should this be tested?
with editor or postman
Screenshots (if appropriate)
None
Questions

too many unwrap


feature - allow defining path for clone point

would have the option of cloning objects in sgit to subfolder.
something like following
sgit repo add --path subfolder/ <name> <url> <rev>

where --path defaults to ./
if nestling repos is utilized, closest root folder should be cloned first
sgit repo add --path repo/ subrepo https://git.example.com/subrepo.git master
sgit repo add --path . repo https://git.example.com/repo.git master

in above case, repo.git should be cloned first, since subrepo.git is dependant on it path-wise locally.
non-allowed characters or paths should be /../ anywhere in the path, working outside initialized folder shouldn't be allowed.

@holmboe The feature per say can still be applied but the part where we do this from the cli should be removed and replaced with just defining this within the configuration file instead.

Closing this in favor of the rewritten task #7


OPML

Add the feature that allows to load a OPML file like http://planet.python.org/opml.xml and create one trigger for each.
the wizard will be :

OPML file to load
Target service to choose and folder/tag to select
once it's done the description will contain:
the text property of the OPML source + "Rss to " + choosen Service name
Thus it will be easier to distinguish each of the Feeds in the list.

to use https://pypi.python.org/pypi/opml
todo too: Export data using Rss service in Opml

Added to my "Box Of Ideas"

Won't see the light


CameraX crash and functionality additions

cameraX crash on  small resolution which return empty list of camera selectors. how to get current resolution of current device resolution. Switch back camera while camera in a pause or how to switch to back camera while recording from camera .
Sorry for english mistakes.
Also crash on QMobile s6 android version 6.0  when we request camera QualitySelector.QUALITY_HIGHEST and QualitySelector.QUALITY_LOWEST because no other QualitySelector return by Camera HardWare.
Crash:
java.lang.IllegalStateException: Surface was requested when the Recorder had encountered error androidx.camera.video.internal.encoder.InvalidConfigException: Encoder cannot created: null
at androidx.camera.video.Recorder.onSurfaceRequested(Recorder.java:414)
at androidx.camera.video.VideoCapture.createPipeline(VideoCapture.java:388)
at androidx.camera.video.VideoCapture.resetPipeline(VideoCapture.java:435)
at androidx.camera.video.VideoCapture.lambda$createPipeline$0$VideoCapture(VideoCapture.java:403)
at androidx.camera.video.-$$Lambda$VideoCapture$6BBmhv2eFVUcrkw2nD0ve39oNMM.onError(lambda)
at androidx.camera.camera2.internal.Camera2CameraImpl.lambda$postSurfaceClosedError$13(Camera2CameraImpl.java:1153)
at androidx.camera.camera2.internal.-$$Lambda$Camera2CameraImpl$EQgjyk5vUNeY9hNKpGr93fYzUDE.run(lambda)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5728)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)

If there is no supported camera selectors, the sample exits ( could not continue ).  To get the resolution of the the selected QualitySelector, use QualitySelector.getResolution() after binding so you have the selected camera, and its CameraInfo. It is not supported to switching camera at run-time while capturing has started, but the feature is on the future release plan.
Do the above answer your questions?

Hey @Office-Murtaza, may you kindly create a ticket here so we we could follow up more with the issue? thank you!


randomly skip experiments

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue
There are complaints against arrays of small jobs in scavenge queues, which are
poorly handled on some clusters and get, for unclear reason, super high priority.
While this is due to the cluster, not to Nevergrad, I propose this simple workaround.
The following bash script:
#!/bin/bash
sbatch --array=0-79%7 --partition=learnlab --time=72:00:00  --job-name=$1 --gpus-per-task=0 --cpus-per-task=67 --wrap="python -m neverg
rad.benchmark $1 --num_workers=67 --plot --random_skip 0.1"
with argument $1 will run the experiment $1 with 90% experiment killed.
That way:

we launch jobs with 67 cores, not jobs with 1 core.
the walltime 72 hours is not a problem, because you run only 10% of experiments.
given the 79 jobs, you will get random replicas and everything should be covered. Anyway you can see what is going on in fight_all.png / fight_all_pure.png

How Has This Been Tested (if it applies)
Not much yet, I'm using a different hack for now, I'll check this one from now on.
Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CLA).
[x] All tests passed, and additional code has been covered with new tests.

I expect this will get even more complaints, using 1 cpu jobs has a much lower impact on the cluster

I agree that this should be true if the cluster is ok...


https://www.hackerrank.com/challenges/components-in-graph/problem

https://www.hackerrank.com/challenges/components-in-graph/problem
Level: Medium
Folder: Disjoint Union/Merging communities
Can I work on this in C++?


DST handling error for Dates in cells

Hi, guys
I'm living in Norway, which is in the Central European Timezone (CET). CET has Daylight Saving Time. That means that we move one hour forward at 2 o'clock the last Sunday in March, and we move one hour back at 2 o'clock the last Sunday in October. Even though EU recently voted to eliminate DST from 2021 and onwards, it will still exist for historical dates.
How to reproduce the bug in xlsx-populate
First, make sure that your browser is in the CET time zone, but other time zones with DST will probably have the same issue.
Then send in a Date objects to xlsx-populate with a time-of-day after the switch from standard time to DST on that day:
// 12 o'clock at Sunday 31 March 2019 (this date starting DST at 02:00)
var d = new Date(2019, 2, 31, 12, 0, 0, 0);

// Set date in cell
cell.value(d).style('numberFormat', 'yyyy-mm-dd hh:mm');

This is the output in the XLSX file (off by one hour; should be 12:00):
2019-03-31 11:00

Dates with time-of-day before the actual change to the DST are handled correctly.
Solution
Excel dates do not have the concept of time zones and time offsets. So, in my opinion, it must at least make sure that the hour in the resulting cell has a matching time-of-day for the date.
I have a fix available, but...
I've only tested it in CET. The test I wrote probably only makes sense in time zones that use DST and has an offset of +00:00 to +10:00. Time zones in +11:00 will probably fail for the tests if they use DST. If you have any suggestions on how to fix this, please let me know.
Do you still want me to make a PR?
Here's the commit: https://github.com/jonmd/xlsx-populate/commit/5d47af1f5a394c604966013663c3ec1f609235f4

Excel doesn't support timezones, it's not just DST. I'm in WEST timezone and half the year it's the same as UTC, the other half is UTC+1 (right now). What I believe it's the best, is to add the timezone delta and then store it.
For example, here it's now 9:58 WEST+01:00 (8:58 UTC). If we add +01:00 it will be 9:58 UTC. Excel will show 9:58. I'm going to make a try at adding a Sheet option to do this, but I make no guarantees at the moment.


Update CONTRIBUTING.md

corrected command for installing development version in windows

Thank you @hosseingt! :pie:


fix: missing null check on reference object

IMPORTANT: Always create an issue before a PR and provide enough information so that others can review
#425
Explain the details for making this change.
What existing problem does the pull request solve?

Add one or more files in the create booking form.
Remove all files.
Submit will crash on the backend because a string was sent instead of a binary object (file).

Test plan (required)
Demonstrate the code is solid.  Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

Add one or more files in the create booking form.
Remove all files.
Submit works correctly.

Closing issues
List all issues this PR resolves

closes #425

Pre-Merge checklist
Complete these items before requesting reviews

[ ] Static Analysis Rules Validated
[ x ] All commits follow naming conventions

Sub-tasks Checklist

[ x ] UI Implementation
[ x ] UI Test

The problem with the coverage is that there is a null check that never happens in production code, but for test purposes the createFileList is mocked but returns a value that never happens in prod code. I may have issues with how to mock a function return value from this module using jest. Maybe someone knows how?


hardware cursor - switch to cursor planes

Hi DisplayLink,
The hardware cursor is broken on Gnome 40++, hence the performance is not good. It looks like Gnome now requires the cursor to be passed via the cursor plane and not legacy API. This MR implements it.
Unfortunately it seems that the driver cannot advertise both APIs and let the compositor choose the one it wants (advertising both causes bug-check in DRM). I can see the need for a compile time switch between the two, but I do not know what rule I should implement (ideas?).
Anyway, it works on Gnome 41 (Fedora 35), Gnome 40 (Debian/Bookworm) and Gnome 3.38 (Debian/Bullseye, this one actually works with the old and new API). I have not tested any Ubuntu variants.
CI:

Style-check - OK (unrelated warning)
Kernel builds: 5.X OK, master fails (unrelated).

Thanks.
Piotr

Taking for verification


Response code 0 but ETHON is doing it right

I have an URL that if I try to download using Typhoeus I get a response code 0 and return code :got_nothing
2.2.3 :011 > Typhoeus.get("URL", followlocation: true)
D, [2018-11-08T16:50:27.376357 #8075] DEBUG -- : ETHON: performed EASY effective_url=URLresponse_code=0 return_code=got_nothing total_time=0.6354489999999999
 => #<Typhoeus::Response:0x00000006d22188 @options={:httpauth_avail=>0, :total_time=>0.6354489999999999, :starttransfer_time=>0.635439, :appconnect_time=>0.512635, :pretransfer_time=>0.512694, :connect_time=>0.248255, :namelookup_time=>0.127513, :redirect_time=>0.0, :effective_url=>"URL", :primary_ip=>"<IP_ADDRESS>", :response_code=>0, :request_size=>240, :redirect_count=>0, :return_code=>:got_nothing, :response_headers=>"", :response_body=>"", :debug_info=>#<Ethon::Easy::DebugInfo:0x00000005c86428 @messages=[]>}, @request=#<Typhoeus::Request:0x00000006d25338 @base_url="URL", @original_options={:followlocation=>true, :method=>:get}, @options={:followlocation=>true, :method=>:get, :headers=>{"User-Agent"=>"Typhoeus - https://github.com/typhoeus/typhoeus"}, :maxredirs=>50}, @response=#<Typhoeus::Response:0x00000006d22188 ...>, @on_complete=[], @on_failure=[]>>

but if I use Ethon it works as intended:
2.2.3 :009 > easy = Ethon::Easy.new(url: "URL")
 => #<Ethon::Easy:0x00000006578d88 @body_write_callback=#<Proc:0x000000065788b0@/home/ubuntu/.rvm/gems/ruby-2.2.3@builder/gems/ethon-0.8.1/lib/ethon/easy/callbacks.rb:38>, @handle=#<FFI::AutoPointer address=0x00000008d3bb70>, @header_write_callback=#<Proc:0x000000065785e0@/home/ubuntu/.rvm/gems/ruby-2.2.3@builder/gems/ethon-0.8.1/lib/ethon/easy/callbacks.rb:56>, @debug_callback=#<Proc:0x000000065782c0@/home/ubuntu/.rvm/gems/ruby-2.2.3@builder/gems/ethon-0.8.1/lib/ethon/easy/callbacks.rb:70>, @response_body="", @response_headers="", @headers_called=false, @debug_info=#<Ethon::Easy::DebugInfo:0x0000000656fe68 @messages=[]>, @url="URL">
2.2.3 :010 > easy.perform
D, [2018-11-08T16:39:28.714502 #8075] DEBUG -- : ETHON: performed EASY effective_url=URL response_code=200 return_code=ok total_time=9.919501
 => :ok

Any idea what could be the problem? If you want the URL I have to pass it in private.

One thing I noticed is that you are using followlocation in the Typhoeus example, but not the Ethon one. I assume thats just a copy and paste problem though. Right?

Maybe you have caching turned on?

I didn't use followlocation in ETHON, I added again and same response. :ok with ETHON and :got_nothing with Typhoeus.
We don't have cache enabled and that only happens with that URL. If I use that query in my browser, I get the file I'm trying to download.
As I said, if you want to do some tests I can provide the URL in private :)

Looks like the problem is related, one more time, to the User agent and a server blocking the request due to it. Thank you


chore: remove unnecessary modules from npm-shrinkwrap.json

Somehow some development dependencies slipped into the shrinkwrap file,
and in some cases, dependencies we don't use anymore didn't remove its
own now unneeded dependencies when running npm uninstall.
This PR carefully removes the packages that are not needed anymore,
which are a lot.
See: https://github.com/resin-io/etcher/issues/820
Signed-off-by: Juan Cruz Viotti<EMAIL_ADDRESS>

will this reduce the size of the binary considerably?
--
Alexandros Marinos
Founder & CEO, Resin.io
+1<PHONE_NUMBER>
@alexandrosm
On Wed, Jan 11, 2017 at 9:53 PM, Juan Cruz Viotti<EMAIL_ADDRESS>wrote:

Merged #1017 https://github.com/resin-io/etcher/pull/1017.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/pull/1017#event-919847315, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABLUCF3imWMRJhcYGanmz5toA_Jlg3EZks5rRU9RgaJpZM4LhA-q
.

The uncompressed size of the node_modules directory was reduced from 179M to 85M, which a huge win.
In terms of binary size, the GNU/Linux x86_64 AppImage was reduced from 68M to 54MB :tada:
I just noticed that the fact the development dependencies where included in the shrinkwrap file was caused by an NPM bug (v3). Upgrading to a later version (v4) correctly ignores dependencies of development dependencies, however it hangs at a later stage, causing the npm shrinkwrap command to be unusable.... I'll give yarn a try again. Hopefully the issues I encountered before were fixed and we can finally forget about this npm/shrinkwrap hell :/

that's nuts! great work juanchi! I assume we could investigate having a
blacklist of some big files chromium/electron includes which we could look
at deleting? (codecs, libraries, etc that are not supre relevant?)
--
Alexandros Marinos
Founder & CEO, Resin.io
+1<PHONE_NUMBER>
@alexandrosm
On Thu, Jan 12, 2017 at 4:28 PM, Juan Cruz Viotti<EMAIL_ADDRESS>wrote:

The uncompressed size of the node_modules directory was reduced from 179M
to 85M, which a huge win.
In terms of binary size, the GNU/Linux x86_64 AppImage was reduced from
68M to 54MB 🎉
I just noticed that the fact the development dependencies where included
in the shrinkwrap file was caused by an NPM bug (v3). Upgrading to a later
version (v4) correctly ignores dependencies of development dependencies,
however it hangs at a later stage, causing the npm shrinkwrap command to
be unusable.... I'll give yarn a try again. Hopefully the issues I
encountered before were fixed and we can finally forget about this
npm/shrinkwrap hell :/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/pull/1017#issuecomment-272210318, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABLUCOvgmcJnEmQvoNarTK2IdTd5aMMqks5rRlSogaJpZM4LhA-q
.

I think we can delete some ffmpeg stuff (although not sure its shipped on electron by default due to licensing issues). I'll definitely research if there is something more we can do. If we really want to reduce the Electron framework size by deleting unnecessary stuff, I think we can get REALLY good results by building Electron ourselves as part of an Etcher release, customizing certain build options and applying some patches to ignore certain stuff.

From what I can tell (I could be wrong) ffmpeg etc. is included because it's a runtime dependency of the Chrome/Chromium engine. So I wonder of there's scope for further size-reduction by disabling certain Chromium features and building that too? Although I suspect that'd massively increase build times? *shrug*
(or maybe that's already what @jviotti meant by building Electron ourselves?)

The Electron teams has pre-built Chromium packages that the Electron building system fetches from the internet to avoid having to re-compile the whole thing. Fiddling with Chromium might not be easy, but its certainly possible, and we can host our own pre-built versions of it so we only re-compile the Electron part.

OTOH, hopefully there's more low-hanging-fruit we can pluck to reduce the binary file-sizes, before we start needing to mess about with recompiling Chromium ;)


Getting a Bad Request when trying to connect with an application registration

So I am doing user authentication with the OAuth prompt, and currently, the authentication works for me. However, for some time, this did not work and I continuously got a bad request from my application.
https://token.botframework.com/.auth/web/redirect?error=invalid_request&error_description=AADSTS90008%3A+The+user+or+administrator+has+not+consented+to+use+the+application+with+ID+%2<App ID here. Removed for security issues>.+This+happened+because+application+is+misconfigured%3a+it+must+require+access+to+Windows+Azure+Active+Directory+by+specifying+at+least+%27Sign+in+and+read+user+profile%27+permission.%0d%0aTrace+ID%3a+<Trace ID here>%0d%0aCorrelation+ID%3a+<Correlation ID here>+%0d%0aTimestamp%3a+2019-07-30+17%3a36%3a16Z&error_uri=https%3a%2f%2flogin.microsoftonline.com%2ferror%3fcode%3d90008&state=1eff6eaa5b8e40ae91024b4623cb99e5
This is the URI I get, and it doesn't really make sense, since this now works for me, but does not work for other people trying to login. Would anyone happen to understand what is going on and why this is showing up, even when the application given provides AAD Sign in and Read user profile permissions?

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

ID: ddf2089c-a313-0abf-2ed3-8d7db5c4f677
Version Independent ID: f0b3a9ce-b1e3-7b3d-15a9-0b9e032aa4bd
Content: User authentication in the Azure Bot Service - Bot Service
Content Source: articles/v4sdk/bot-builder-concept-authentication.md
Service: bot-service
Sub-service: abs
GitHub Login: @JonathanFingold
Microsoft Alias: v-jofing

Never mind. This appears to stop occurring after a few minutes of waiting from the first attempt. Not sure why it occurred, and will close this issue for now. Will test with other users, and if it is recurring, will reopen.

Hi ,
Am getting the same "Bad request" in Sign In window. Please help. Am using the authentication code in Git hub.


Adding constants for front end to display booleans

For the most part, the variables match their front end empty variables, except one category of thresholds was missing, and all but T&WD have the same socioeconomic criteria, so that's m_ebsi:
    field_names.CLIMATE_THRESHOLD_EXCEEDED: "M_CLT_EOMI"
    field_names.ENERGY_THRESHOLD_EXCEEDED: "M_ENY_EOMI"
    field_names.TRAFFIC_THRESHOLD_EXCEEDED: "M_TRN_EOMI"
    field_names.HOUSING_THREHSOLD_EXCEEDED: "M_HSG_EOMI"
    field_names.POLLUTION_THRESHOLD_EXCEEDED: "M_PLN_EOMI"
    field_names.WATER_THRESHOLD_EXCEEDED: "M_WTR_EOMI"
    field_names.HEALTH_THRESHOLD_EXCEEDED: "M_HLTH_EOMI"
    field_names.WORKFORCE_THRESHOLD_EXCEEDED: "M_WKFC_EOMI"
    field_names.WORKFORCE_SOCIO_INDICATORS_EXCEEDED: "M_WKFC_EBSI"
    field_names.RMP_LOW_INCOME_LOW_HIGHER_ED_FIELD: "M_EBSI"

(TBD - update fixtures when done)

checked agreement with score for education and poverty line for several examples, see picture

@emma-nechamkin - qq
When checking the new booleans on this ticket all of them seem great!
When diffing the prod and staging tiles, two questions came up regarding:

M_EBSI
RMPLI

M_EBSI
If my understanding is correct it seems that M_EBSI is meant to capture the EXCEEDS BOTH SOCIAL INDICATORS for all categories except WFD_T. When connecting to the map, it seems to show false a few places even though CA_LT20 and FPL200S are both true, e.g.;

I might be misunderstanding something here. Am I using the right indicators?
RMPLI
It seems that this indicator was being used for the boolean for the Proximity RMP facilities indicator. Has this indicator's short-name changed? I think it might be missing in this build?

Or maybe I'm using the wrong field name?
Thank you!

Okay, last follow up for the night. I reran the score and these remain okay looking to me. See the variable distribution attached below.
My tiles.csv appears correct, so I'm wondering what's different about the local generation process vs. what's on staging?


hotfix for facebook shouldWaitForInit functionality

@aaustin fix for bug where initSession would hang on cold launch if universal link tapped

👍


ValueError: 636736 is not a valid SimpleMoveStates

I can get the overlay working, but it doesn't show any frame information

I accidentally created, try this bot
https://github.com/WAZAAAAA0/TekkenBot/releases
вс, 22 июл. 2018 г. в 20:11, karlcaga<EMAIL_ADDRESS>
I can get the overlay working, but it doesn't show any frame information
[image: image]
https://user-images.githubusercontent.com/8043126/43048122-996eb1b4-8db0-11e8-8a22-de5826311ef1.png
[image: image]
https://user-images.githubusercontent.com/8043126/43048137-ba933fae-8db0-11e8-9c01-e7ddb9295233.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/roguelike2d/TekkenBot/issues/72, or mute the thread
https://github.com/notifications/unsubscribe-auth/AnkXpvjCSWuIKtNji8p_hbUSwcdQGdJbks5uJLJKgaJpZM4VaEjG
.


Separate DidComm from Wallet

Currently, to use the wallet we need to configure didCommProvider and setup a lot of additional services that are not required if  DidComm is not needed. Separate DidComm from Wallet.

Closed with this pull request https://github.com/hyperledger/aries-framework-go/pull/3264


No Changelog

I've noticed there is no CHANGELOG.md file in this project and no changes are listed in releases. It's impossible to know if it's safe for us to upgrade the package to a newer version :D

Fixed in #250


Is the AzureStore being ported over from tusd to tusdotnet?

Hi,
Unfortunately not. There is a POC for a Azure store using append blobs here: https://github.com/smatsson/TusAzureStore

Okay, no worries, thank you very much for the help!

Feel free to port it and send a PR and I'll happily add it to this repo.


Properties retain escape characters when read from file

Java properties use the escape character '' to remove the special meaning of characters like ':'. An entry containing an URL will hence look like this in a properties file:
website = http\://en.wikipedia.org/

when read, the resulting object should be:
{ website : 'http://en.wikipedia.org' }

but instead the backslash is retained.

Ah good point. http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#load(java.io.Reader)
I don't know that I'll have time to add this any time soon but will get to it eventually. Feel free to make a pull request if inclined :)


BE-3507 missing extra fields sort

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 9 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 66.164%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

plugin/modelgen/models.go
6
9
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
4038

Relevant Lines:
6103

💛  - Coveralls


Version 0.0.41 of tree-sitter-abl

There is issue in the recent version of tree-sitter-abl, which breaks our formatter. Issue registered: https://github.com/usagi-coffee/tree-sitter-abl/issues/87


resuable input component and add github user search component

resuable input component and add github user search component

resuable input component and add github user search component


missing block test on startup

Summary
On startup, run a query like select round from block_header order by 1 asc; (ideally asynchronously) and emit error and exit if it detects a gap.
Scope/Requirements
Smallish new chunk of code.
Urgency/Relative Priority
Low, nice-to-have.

No longer applicable.


Fix reconciliation features

-Update timeout for dead nodes upon scheduler failover
-Make sure list of persistent tasks is accurate
-Better logging

@adam-mesos, please take a look, thanks!

Got a major question about the call to resetDeadNodeTimeStamps. @elingg please answer.

Please review when you have a chance, @adam-mesos. Thanks!

I still think we can get rid of reconciliationCompleted (new TODO/issue?), and we should have an issue to track a timestamp per dead JN/NN.
Otherwise, this looks shippable. :+1:

Thanks, @adam-mesos. I removed reconciliationCompleted (was a nice reduction in code). Feelf ree to take a look. Regarding the timestamp issue, let's discuss this some more. I see pros and cons to both solutions.

Talked to @adam-mesos, and we'll create a separate issue for the discussion of the design for the dead node/ node recovery timeouts. We should still be able to ship this PR.

Ship It! :ship:


Adds missing methods to mango historical data service

Status
Type
⚠ Core Change
Issue

Ready
Feature
No
#74

Problem
What problem are you trying to solve?
Missing methods to get recent perp trades for a mango account and spot open orders
Incorrect path to lib dlls on github release upload

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

159 of 170 (93.53%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 80.591%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

Solnet.Mango.Historical/Models/SpotOpenOrder.cs
25
26
96.15%

Solnet.Mango.Historical/Converters/PerpTradeJsonConverter.cs
82
84
97.62%

Solnet.Mango.Historical/Converters/StringToBigIntegerJsonConverter.cs
4
6
66.67%

Solnet.Mango.Historical/Converters/StringToByteJsonConverter.cs
4
6
66.67%

Solnet.Mango.Historical/Converters/StringToDateTimeJsonConverter.cs
4
6
66.67%

Solnet.Mango.Historical/Converters/StringToUlongJsonConverter.cs
4
6
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.6%

Covered Lines:
2441

Relevant Lines:
2983

💛  - Coveralls


srb rbi gems flags gems in rvm as jruby

Input
Running srb rbi gems in my Rails app at work.  We're using rvm and bundler.
Observed output
srb rbi gems throws a few warnings about Gems that can't be loaded but it eventually completes without an error.
Expected behavior
I expected there to be a new folder sorbet/rbi/gems and files in that folder for each gem it could successfully load and parse.

After stepping through in a debugger I found that Gems that were handled by RVM were matching this regular expression:
https://github.com/sorbet/sorbet/blob/b4b405a5e4576bb9980c4400d037ccca6fd22dee/gems/sorbet/lib/gem-generator-tracepoint/tracepoint_serializer.rb#L219
And so were being flagged as being part of the jruby standard library and thus none of my gems were written out to disk.
When I step through the loop that calls gem_from_location I see locations like:
"/Users/bob/.rvm/rubies/ruby-2.4.9/lib/ruby/2.4.0/x86_64-darwin18/io/nonblock.bundle"

Which are correctly matching the Ruby standard library regular expression.
But after getting through all of the standard library I see locations like
"/Users/bob/.rvm/gems/ruby-2.4.9/gems/activesupport-<IP_ADDRESS>/lib/active_support/core_ext/array/prepend_and_append.rb"

This is matching against jRuby and short-circuiting:
(byebug) location
"/Users/bob/.rvm/gems/ruby-2.4.9/gems/activesupport-<IP_ADDRESS>/lib/active_support/core_ext/array/prepend_and_append.rb"
(byebug) location&.match(/^.*\/(j?ruby)-([\d.]+)\//)
#<MatchData "/Users/bob/.rvm/gems/ruby-2.4.9/" 1:"ruby" 2:"2.4.9">

It would match against the last regular expression:
(byebug) location&.match(/^.*\/gems\/(?:ruby-)?[\d.]+(?:@[^\/]+)?(?:\/bundler)?\/gems\/([^\/]+)-([^-\/]+)\//i)
#<MatchData "/Users/bob/.rvm/gems/ruby-2.4.9/gems/activesupport-<IP_ADDRESS>/" 1:"activesupport" 2:"<IP_ADDRESS>">

But we've short-circuited before we get there.

Going to close this in favor of Tapioca
https://sorbet.org/blog/2022/07/27/srb-tapioca


fix: Prevent submission of sign-in screen when minimum values not yet entered

Closes #4690
This PR fixes a refinement to the sign-in functionality by preventing submission of the button until minimum required values are entered.

Looks good @Nithishvb, thanks for the PR, @pete-watters do you want to get this merged since you are assigned to the original issue?

Closing this as work done here https://github.com/leather-wallet/extension/pull/4709


[CI] Make Graviton3 default AArch64 job runner node

In order to support SVE testing, migrating the current default AArch64 nodes to Graviton3 based nodes. Using r7g.large instances which have the memory requirements to support the TVM workloads.

Thanks, it would be useful to have a analysis of cost and the way we structure the tests.
As of now running the UTs directly through e2e compilation can take up a lot of CI time. A lot of that comes from tests that are as a matter of fact integration tests that do not have to do with SVE.
Ideally we should isolate out a limited set of integration tests(e.g. via tests/arm_sve/) and only run those. There is also a preliminary solution via require_cuda tag, that optionally disables the related tests when they are not available. As such majority of tests do not have to go through the specific hw.

@tqchen the new instance type is slightly more expensive on paper, as detailed below:

CI
Instance Type
On-Demand
Reserved
Minimum Spot

ARM-GRAVITON3
r7g.large
$87.5270 monthly
$57.8890 monthly
$49.1290 monthly

ARM-SMALL
r6g.large
$82.3440 monthly
$51.9030 monthly
$48.0340 monthly

However, the new generation of instance has been proven to improve performance (see: Re:invent presentation). Which indicates this is an improvement for CI costs.
If you look at the diff, this replaces the r6g.large instances with r7g.large instances and does not add any additional nodes, replacing the existing AArch64 CI with a new instance type that can also run the SVE tests. That means the SVE tests will already be targeted appropriately to AArch64, and this isn't an entirely new set of nodes specifically catering to just SVE.

OK get it, seems to be good on this


Jobs queued with Model Id 0

Horizon Version: 5.10.5
Laravel Version: 9.43.0
PHP Version: 8.1.5
Redis Driver & Version: predis/phpredis (How do I check in forge? Not in composer.json) Redis version: 5.0.7
Database Driver & Version: mysql 8.0.21

Description:
When queueing jobs with a model, the queued job model id becomes 0 which resulted in the actual queued job not being able to be processed.

It doesn't happen all the time, but it happened frequently enough to become a problem for me. This happened right after I upgraded Laravel to 9.43.0. Previously it was working 100% of the time
Steps To Reproduce:
I merely queue it the normal way.
app(SendTelegramMessage::class)
    ->dispatch($log);

I have no idea how to troubleshoot further as it's not happening all the time.
Any help/clues will be greatly appreciated. Thanks!

What is the schema for App\MessageLog table?
How are you dispatching this job?
Can you share code your for this job? Specially constructor

Hello,
Thanks for replying!
Here's the Schema for MessageLog Table
Schema::create('message_logs', function (Blueprint $table) {
			$table->id();
			$table->foreignId('user_id')->nullable()->constrained()->onDelete('cascade');
			$table->string('channel')->index();
			$table->string('source')->index();
			$table->text('message')->nullable();
			$table->text('referrer')->nullable();
			$table->json('payload')->nullable();
			$table->json('headers')->nullable();
			$table->timestamps();
		});

Just a very typical model.
I dispatched the job using the following code as stated above
app(SendTelegramMessage::class)
    ->dispatch($log);

The constructor for the jobs looks like this
<?php

namespace App\Jobs;

class SendTelegramMessage implements ShouldQueue
{
    use Dispatchable;
    use InteractsWithQueue;
    use Queueable;
    use SerializesModels;

    /**
     * @var TelegramChat
     */
    public $log;

    /**
     * Create a new job instance.
     *
     * @param  MessageLog  $log
     */
    public function __construct(MessageLog $log)
    {
        $this->queue = 'message';

        $this->log = $log;
    }

}

Hope it helps!


Delete dotnet-preview Docker Hub repo

As part of the repo rename (see https://github.com/dotnet/dotnet-docker-nightly/issues/14), the dotnet-preview Docker Hub repo has been superseded by the dotnet-nightly Docker Hub repo. The old repo has been frozen, and the plan is to delete it after a period of time which allows developers who are using the repo to react to the change.

@dleeapho, @naamunds - I propose it is time we clean this up.  Thoughts?

I agree that we should delete the dotnet-preview repo now.  It looks like very few people are using it, and for the ones who are still using it, they're probably not aware of the dotnet-nightly repo, so this will force them to update.

The repo has been deleted.


templates: Add browser log params to e2e test template

This PR updates the e2e post-deploy test template to set two new environment variables, IQE_BROWSERLOG=1 and IQE_NETLOG=1, so that any UI test failures will automatically capture and send browser logs to our test reporting portal.

/retest


Fixed Chatbot not working bug

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #1320
Description
chat bot is not working due to some additional code implemented wrongly , i fixed it and done little changes to bot UI for betterment.
preview video attached after the work :
https://github.com/user-attachments/assets/6174221d-c2cd-4f40-9de1-081c28b34ec3

@Sakshar-Devgon Your pull request has been successfully merged!
Great contribution ! 🎉


Quesnelia requests

Added missing bold format.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.6 out of 7 committers have signed the CLA.:white_check_mark: brandonkatzir:white_check_mark: julianladisch:white_check_mark: Lmariomini:white_check_mark: inkuss:white_check_mark: sekjal:white_check_mark: c-tobias:x: Ian WallsIan Walls seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


LibSassBuilder stops building in Visual Studio when the project's considered to be 'up-to-date'.

I find that LibSassBuilder sometimes intermittently randomly stops building in Visual Studio. I can't figure out the exact trigger for this - sometimes it seems to work fine, but frequently it just stops working. So there are a million different ways to reproduce this, and I only hope that you can reproduce it in the same way that's causing me so many problems, but this particular set of steps seems to reproduce it consistently - I can only apologise for how convoluted this seems but this is the simplest CONSISTENT set of repro steps I've managed:
Visual Studio 2019, version 16.9.0.
LibSassBuilder 1.6.1.

Create a new C# console application in Visual Studio - choose .NET 5.0 as the target framework.
In Solution Explorer, right-click on the project, choose Add > New Item, and add a new SCSS style sheet, e.g. StyleSheet1.scss.
Add the LibSassBuilder NuGet package to the project.
Build the solution, and note that the CSS gets generated correctly.
Modify the SCSS then build the solution again; note that the CSS gets generated correctly again. So far so good.
Rght-click on the project in Solution Explorer and choose 'Edit Project File', then modify the project file in some way - e.g. add a blank line, then save the file.
Modify the SCSS file again.
Build the solution, and note that the CSS gets generated correctly.
Without making any more changes, build the solution again.
Modify the SCSS file again.
Build the solution, and note that the CSS does NOT get generated.

What's interesting here is that the build log message has now changed to '1 up-to-date'. Since we're not changing any code - only SCSS files - perhaps this makes sense??? But what I can't understand is why it seemed to behave differently earlier in the process and we could just change SCSS files and still trigger a build.

Unfortunately again this seems like a VS related issue.
I could replicate this issue without LibSassBuilder in a new console app with the following config:
<ItemGroup>
	<!-- extends watching group - https://docs.microsoft.com/en-us/aspnet/core/tutorials/dotnet-watch?view=aspnetcore-5.0#customize-files-list-to-watch -->
	<Watch Include="**\*.scss" Exclude="**\*.css" />
</ItemGroup>

It is really annoying yes, I have no idea why this happens, so if you do find more info please let me know!
As an alternative you could use dotnet watch run which seems to rebuild every time.

For me adding this to the project file helped, it bypasses VS up-to-date checks. Msbuild is almost as fast.
<PropertyGroup>
    <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup>

Haha, no worries, I just wrote the comment in the readme a while ago.
I think it should be expressed more clearly in the readme then, you should not have needed to file an issue in the first place.
We could even have switched DisableFastUpToDateCheck on in the package by default, however I feel that is not the correct solution either.

:-) you got me thinking!!!!
https://github.com/dotnet/project-system/blob/main/docs/up-to-date-check.md
I'll try to see if I can find time to try that.

That certainly looks interesting, and if it's possible to implement a solution which means that we don't need to use this workaround that of course that would be great :-)

Is it just me... after fixing #15 (1.6.2) I cannot reproduce this?
I am using visual studio 16.10.0 Preview 1.0.
Could you please check for me if I'm dreaming...

upgrade to 1.6.2
remove DisableFastUpToDateCheck from your project
close VS and reopen to be sure.

I agree @JelleHissink - I can't reproduce this since upgrading to 1.6.2 - either in my Blazor project or a console project using the repro steps above.
I guess this is good news!

I suspect informing VS about the filetype is already enough to get it on the designtime watch list :-)
We could close this issue for now, at least there is a pointer to a solution if it would ever become an issue again.
It might also be possible to remove the whole  and DisableFastUpToDateCheck comments from the Readme as that should now be covered by this package.

No problem, I'm glad it seems to be sorted.
I'll keep an eye out for any problems while I work with it over the coming days.
Thanks for all your help.

Always happy... and if there are any issues or wishes, feel free to report them

Magic! Could be a nice first-issue to help update the docs if you'd like to contribute @mooski 😃

Sure, I'd love to @johan-v-r - but now this issue has fixed itself I believe the only thing that needs doing is to remove the DisableFastUpToDateCheck section?


fix(CI): Tag based test execution & misc fixes for ppc64le/s390x CI

Description
Adds PreSystemTests() to p/z tests and other fixes.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Tested in CI

/test powervs-qa-e2e-tests

/test powervs-qa-e2e-tests

@mdafsanhossain this commit https://github.com/stackrox/stackrox/pull/7872/commits/33710bdf1e5f829d63bcb0364874901d17c482ca had errors because you also need to add handle_e2e_progress_failures=False to FinalPost.
I think the JUNIT results are missing because the custom-pz script runs each test separately which skips the gradle task like e.g. https://github.com/stackrox/stackrox/blob/ed55c1444a833f10d145168fa37a52bbfdbe7daa/qa-tests-backend/build.gradle#L129
I think you guys should tag the tests you want to run @Tag("PZ") and then create a task for it. As for example with testSMOKE. The @Tag() can be specified at the class or def level.
Can make_qa_e2e_test_runner_midstream() be removed as it is not used?

I think the JUNIT results are missing because the custom-pz script runs each test separately which skips the gradle task like e.g.
https://github.com/stackrox/stackrox/blob/ed55c1444a833f10d145168fa37a52bbfdbe7daa/qa-tests-backend/build.gradle#L129
I think you guys should tag the tests you want to run @Tag("PZ") and then create a task for it. As for example with testSMOKE. The @Tag() can be specified at the class or def level.
Can make_qa_e2e_test_runner_midstream() be removed as it is not used?
CC @pratham-m

We can remove it since the flow would be same as x86 eventually.

/test powervs-qa-e2e-tests

/test ocp-4-10-qa-e2e-tests
/test ocp-4-13-qa-e2e-tests

/test gke-sensor-integration-tests

/test gke-sensor-integration-tests

/test gke-nongroovy-e2e-tests

/test ibmcloudz-qa-e2e-tests

/test powervs-qa-e2e-tests

/test powervs-qa-e2e-tests
/test ocp-4-13-qa-e2e-tests

hi @gavin-stackrox can you kindly re-check the PR? we made changes to add PZ tag at class level (earlier it was at def level)

/test ocp-4-10-qa-e2e-tests

/test ocp-4-13-qa-e2e-tests

4.13 on X and 4.13 on P AdmissionControllerTest failure seems flaky. 4.10 on X passed.
Re-running 4.13 on X once more

/test ibmcloudz-qa-e2e-tests

Thanks Gavin for the approval. ALl CI checks have passed ✅ on X.
On P/Z the AdmissionControllerTest failure seems flaky.
Merging the PR.


Allow CA user to get series

If a capture agent user tries to run the series WOH, they will cause an UnauthorizedException. This commit fixes that by granting capture agent users the same exemption from permission checks for getting a series dublincore catalog that they already have for getting a series properties.
Resolves #4266
Your pull request should…

[x] have a concise title
[x] close an accompanying issue if one exists
[x] be against the correct branch
[x] pass automated tests
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits

Haven't tested it, but this PR may actually also fix the issue described in #4481.


[gtk:x64-windows] build failure

Host Environment

OS: Windows 11 Home
Compiler: Visual Studio 2022 inbuilt compiler (Visual C++)

To Reproduce
Steps to reproduce the behaviour:
.\vcpkg install gtkmm:x64-windows
Failure logs
PS C:\src\vcpkg> .\vcpkg install gtkmm:x64-windows
Computing installation plan...
The following packages will be built and installed:
  * gtk[core]:x64-windows -> 4.6.2
    gtkmm[core]:x64-windows -> 4.6.0
  * pangomm[core]:x64-windows -> 2.50.0#2
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\knina\AppData\Local\vcpkg\archives in 192.9 us. Use --debug to see more details.
Installing 1/3 gtk:x64-windows...
Building gtk[core]:x64-windows...
-- Downloading https://gitlab.gnome.org//GNOME/gtk/-/archive/aec7ca82007dbe07faee6be084d20758ebac2b91/gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz -> GNOME-gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' = off
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Downloading https://gitlab.gnome.org//GNOME/gtk/-/archive/aec7ca82007dbe07faee6be084d20758ebac2b91/gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz
Error: Failed to download from mirror set:
File does not have the expected hash:
             url : [ https://gitlab.gnome.org//GNOME/gtk/-/archive/aec7ca82007dbe07faee6be084d20758ebac2b91/gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz ]
       File path : [ C:\src\vcpkg\downloads\GNOME-gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz.7052.part ]
   Expected hash : [ 05ebba53e71a997b4dc04bc018f420f62d569cb66a2f3e713bd2b48abd7c0051f67939e42c812388bd0565d12a3f82b45731a086d3ab0e75d16eee200a3be95f ]
     Actual hash : [ 0a265650f9c4dd292d8917126acf258804b565e7c167fc1e7f54e789c1d901a3d89dbfb340784491a852493729ac40aeee7e9284d680fc1f3538f2362f52d39e ]

[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(751):
[DEBUG] Time in subprocesses: 0 us
[DEBUG] Time in parsing JSON: 2 us
[DEBUG] Time in JSON reader: 0 us
[DEBUG] Time in filesystem: 728 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 10.31 min (618803093 us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:24 (message):

      Failed to download file with error: 1
      If you use a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
         will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
         Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
         Change `http=address:port;https=address:port` to `address`, and fill the port number.

      3. Your proxy's remote server is out of service.

      In future vcpkg releases, if you are using Windows, you no longer need to set
      HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
      Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
      and (https://github.com/microsoft/vcpkg-tool/pull/77)

      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:249 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_from_gitlab.cmake:105 (vcpkg_download_distfile)
  ports/gtk/portfile.cmake:3 (vcpkg_from_gitlab)
  scripts/ports.cmake:146 (include)

error: building gtk:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
    https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+gtk
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[gtk]+Build+error
Include '[gtk] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
    vcpkg-tool version: 2022-05-05-67e17c1782801cf481be9ac0b3765dff3e4bdeb8
    vcpkg-scripts version: e78aa8421 2022-06-14 (37 minutes ago)

Additional context
It installed all the packages correctly, but it showed the error as mentioned in the log, so I closed and reopened it, but again same error, so I opened a issue here. I tried using git pull and vcpkg update, but no luck

@MasterNinad, Thanks for posting this issue, I can't repo your issue on my local machine:
-- Using msys root at C:/src/vcpkg/downloads/tools/msys2/9a1ec3f33446b195
-- Configuring x64-windows-dbg done
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Package x64-windows-dbg
-- Package x64-windows-rel
-- Fixing pkgconfig file: C:/src/vcpkg/packages/gtkmm_x64-windows/lib/pkgconfig/gtkmm-4.0.pc
-- Fixing pkgconfig file: C:/src/vcpkg/packages/gtkmm_x64-windows/debug/lib/pkgconfig/gtkmm-4.0.pc
-- Installing: C:/src/vcpkg/packages/gtkmm_x64-windows/share/gtkmm/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\vzhli17\AppData\Local\vcpkg\archives\cc\cc89bb68a917b6dfd1a28e08fee4d9089e84bedad0ac6cd78569594430818ac9.zip
Elapsed time to handle gtkmm:x64-windows: 4.333 min

Total elapsed time: 7.564 min

PS C:\src\vcpkg> .\vcpkg install gtkmm:x64-windows
Computing installation plan...
The following packages are already installed:
    gtkmm[core]:x64-windows -> 4.6.0
gtkmm:x64-windows is already installed
Restored 0 packages from C:\Users\vzhli17\AppData\Local\vcpkg\archives in 139.4 us. Use --debug to see more details.

Total elapsed time: 109.5 ms

PS C

Could you try if you can download https://gitlab.gnome.org//GNOME/gtk/-/archive/aec7ca82007dbe07faee6be084d20758ebac2b91/gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz manully?

Ok, I downloaded it, pls tell me the path where I have to move it

Ok, I downloaded it, pls tell me the path where I have to move it

Put in this path:C:\src\vcpkg\downloads

Ok, thanks, I think it is working, my current log -
PS C:\src\vcpkg> .\vcpkg install gtkmm:x64-windows
Computing installation plan...
The following packages will be built and installed:
  * gtk[core]:x64-windows -> 4.6.2
    gtkmm[core]:x64-windows -> 4.6.0
  * pangomm[core]:x64-windows -> 2.50.0#2
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\knina\AppData\Local\vcpkg\archives in 1.049 ms. Use --debug to see more details.
Installing 1/3 gtk:x64-windows...
Building gtk[core]:x64-windows...
-- Downloading https://gitlab.gnome.org//GNOME/gtk/-/archive/aec7ca82007dbe07faee6be084d20758ebac2b91/gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz -> GNOME-gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz...
-- Extracting source C:/src/vcpkg/downloads/GNOME-gtk-aec7ca82007dbe07faee6be084d20758ebac2b91.tar.gz
-- Applying patch 0001-build.patch
-- Applying patch 0002-windows-build.patch
-- Applying patch 0004-macos-build.patch
-- Using source at C:/src/vcpkg/buildtrees/gtk/src/58ebac2b91-58f2f5c120.clean
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst.
-- Using msys root at C:/src/vcpkg/downloads/tools/msys2/9a1ec3f33446b195
-- Found external ninja('1.10.2').
-- Getting CMake variables for x64-windows
-- Configuring x64-windows-dbg
-- Configuring x64-windows-dbg done
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Package x64-windows-dbg
-- Package x64-windows-rel


Xpath Example 3, expression 2 doesn't work in Mooncake environment

As titled, that expression doesn't work in Mooncake environment, The correct expression , according to local test ,is : /[local-name()="file" and namespace-uri()="http://contoso.com"]/[name()="location"], could you help double confirm. Thanks a lot!

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

ID: 03aa9e88-7fa0-56ab-f794-58f0c37b6d7a
Version Independent ID: 25c5ef5c-6ba4-f5ff-f94b-8f2818ec2feb
Content: Functions reference for Workflow Definition Language - Azure Logic Apps
Content Source: articles/logic-apps/workflow-definition-language-functions-reference.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@forester123 Thank you for your feedback! We will investigate and get back to you with our findings.

Offline synced with @KetanChawda-MSFT , need to contact Mooncake PG directly instead of here, thanks a lot for the help and I'm closing this issue


Image Picker GUI

Describe the feature
Create a image picker GUI where the user can pick 4 images of pets. It stores the images to the picked_images/pets directory.

git fetch origin
git checkout 1-image-picker-gui


Evaluate EE of Refactoring  the CLI main class

Trying to estimate how much work/time it will take to refactor cli.py
DoD

[x] Skeleton of the refactor
[x] EE of refactoring

Refactoring in Python CLI
• Extract main menu (1)
• Actions (5)
○ Wrap actions (e.g. init/login/load_policy) in  action class
○ An action has input, output, message, is_error
○ Review the attached illustration of the the resource/actions tree
○ Actions will get pre-mapped to their respective resource/action in the menu and will get executed by the without the need of a long if/else statements , the output will get delegated to the view.
• View (3)
○ View is an abstraction of how we display output to the user
○ Controller and actions remain indifference to how the output gets displayed
○ It enables a more fine grain control over the output in a single component
§ Use case automation needs only the output without any user interaction decoration
• State (un_initialized / initialized / logged_in) (3)
○ Upon CLI startup it will evaluate its state and enable the action  that can execute in the applicable state.
○ E.g. actions under the tree path init/login can execute in logged_in state
• Mode (testing/production) (1)
• Extract all messages out of the code to a separate file (4)
○ Each message will have its own id
○ The code will reference the messages using their ids.
○ E.g. set_variable action will return message id: 103 upon a successful completion of the execution
It will make  the code cleaner easy to maintain and i18n ready

Looks great and makes more sense in my 🧠 !
Actions:
I am missing a more low level design though and how things will connect. Would be really helpful to have a flow diagram here.
State:
How will the state be evaluated? will we have a config file?
Mode:
How will mode be determined? Will it be saved the same as state?
Extract all messages out of the code to a separate file
Don't understand the the example but do you mean all messages INFO/DEBUG/WARNING have their own codes?

@sigalsax

Does this mean the Controller won't be printing to STDOUT?
No.
There will be a single controller, commands , and a view

class View(object):

    @staticmethod
    def show_item(item_type, item, item_info):
        print('//////////////////////////////////////////////////////////////')
        print('Good news, we have some {}!'.format(item.upper()))
        print('{} INFO: {}'.format(item_type.upper(), item_info))
        print('//////////////////////////////////////////////////////////////')

class Controller(object):
    commands = {
     "init": new InitCommand(),
     "login": new LoginCommand(),
     "whoami": new WhoAmICommand()
   }
    def __init__(self, model, view):
        self.model = model
        self.view = view

    def execute_cmd(self, cmd, args):
        if commands[cmd].can_execute_on_state(current_state):
            output, message = commands[cmd].execute(args)
            self.view.show_command_output(output, message)
       else
           handle_cmd_not_allowed_on_state(commands[cmd])

class BaseCommand(object):
  def execute_on_state():
     return State.LOGGED_IN

class Login(BaseCommand):
    def execute_on_state():
       return State.INITIALIZED

class WhoAmICommand(BaseCommand):
   def name():
     return "whoami"

   def execute():
     return client.whoami()

How will mode be determined? Will it be saved the same as state?
State gets evaluated on startup?.
Mode (TEST/CI/PROD)? will be evaluated based on an env param as today but I suggest to create separate flow for each mode.
Use case: in CI mode , view will only print the output and not user facing messeages

Don't understand the the example but do you mean all messages INFO/DEBUG/WARNING have their own codes?
I was referring to user facing messages not log messages.

A couple of questions come to mind:

Each controller has its own logic.py file that holds the BL for each controller currently?

def execute_on_state():
     return State.LOGGED_IN

what does State look like? How is it set? For example, how is LOGGED_IN checked for each value?
IMO MODE should be part of a config file that holds the State. WDYT?

At a high level:

1 controller with commands (init, login, user...) and all command has actions (rorate-api-key, change password, etc). Each command has a function can_execute that decides if the action can be run

State:
State is decided if the files exist with proper content

Initialized/uninitialized
Login

View:

Responsibility - takes the result and in charge of printing to the user

Creates issues in R&D Boost

@eranha please add the link to the issues you created before closing so that way it will be easier to track 🙏


[NRFX-6220] Test

Jira: NRFX-6220
Ref: NRFX-6220

Not sure the relevance of this to zephyr? If you want to test something can you use https://github.com/zephyrproject-rtos/zephyr-testing ?

Not sure the relevance of this to zephyr? If you want to test something can you use https://github.com/zephyrproject-rtos/zephyr-testing ?

Thanks, I will clean this and try in testing space :)


Passing an anonymous sub as a sub arg generates bad code if the anonymous sub ends with an assignment statement

Passing an anonymous sub as a sub arg generates bad code if the anonymous sub ends with an assignment statement.  For example:
runit(text => sub {
    my ($arg) = @_;
    # comment line
    $result = $arg + 1;
}, 2);

Fixed in v1.022.


Compose 1.2. Check if the input method popup is correctly placed on the screen

In Compose 1.2 this method was deprecated, and it isn't called from anywhere now. This method sets the current position of the text, which is used to position the input method popup.

Switch to Chinese layout
Focus on some text field
Popup's position should be near the text field

Expected:

Actual:

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Adopt parity's libsecp256k1

Since maintainers of https://github.com/paritytech/libsecp256k1/issues/50 don't seem to be too active it looks like I need make a copy of the code in this repo to actually make a release. Here are the things I would like to try after copying it:

compile the multiplication tables into a binary format in build.rs and deserialize them in a const fn using #![feature(const_looping)] https://github.com/rust-lang/rust/issues/52000 rather than the weird stuff that happens now.
Rewrite some of the *_in_place functions so that they are more rust like e.g. neg_in_place just takes a &mut self.

Fixed in https://github.com/LLFourn/secp256kfun/commit/777fd6ca01320f9b048ab654704338ff59536170


Implement glimpse

Glimpse is the new microsoft profiling tool, it'd be cool to include it for dev purposes. So far it's quite broken so this branch will maintain until we can finalise the implementation.

Build 0.21.3 seems to do the trick, it's yet to be released on the main channel though, currently sitting in alpha.

Glimpse has been put on hold, as has scaffold.


feat: add env var to incorporate redis command's arguments

New boolean env var SPLUNK_REDIS_INCLUDE_COMMAND_ARGS.
If set to true, we'll use a custom dbStatementSerializer for redis instrumentation to include the command arguments. The default logic only included the command name.
db.statement attribute will become:
when the flag is disabled (by default): GET foo -> GET
when enabled: GET foo -> GET foo

Not sure if features like these need to absolutely be included in our distro.
Additionally, the serialization might be more naive than expected:

assert.strictEqual(
  `${[{ a: 123, }, null, undefined, () => { return 1; }].join(' ')}`,
  '[object Object]   () => { return 1; }'
);

A test would be nice.

What's the alternative?
In these cases it's either an argument error or the redis client will just convert the args to strings in the same fashion. E.g. () => {} will actually appear in redis in the same form. I've only added buffer sanitization here to avoid arbitrary binary data in attribute value strings.

Doing a new PR, CI is borked


Restore [a..b] list range syntax in Elm language definition

Quote from 1.8 release:

List Ranges
The [1..5] syntax has been removed.
So replace any occurance of [1..9] with List.range 1 9.

List.range is requires more typing and is more typo-prone given the mix of cases. Considering the limited number of code editors which have Elm syntax snippet packages this is doubly annoying.
[a..b] is a tried and tested approach which has worked for programmers for decades.
Please can we restore the classical range syntax to Elm? Or potentially, if it was producing significant compiler/lexer problems, settle for [a .. b] or [a...b]?

Like @process-bot says, I prefer to use issues are for tracking bugs. If you start revisiting choices and doing design discussion in this medium, it gets out of control. That said, I do not plan to flip-flop on that decision. Sorry if this message sounds curt.


Docs on improving compilation speed

With the --watch flag on, a recompile of an existing file generally takes 4 seconds now in our project.  This isn't terrible at all, but the wait time has grown since we started using it.
I was wondering what factors affect incremental compilation speed?  With TypeScript gaining widespread adoption, I think it'll be very important to developer experience to have a doc page detailing the main contributors to incremental compilation time and ways to improve it.
P.S. Note I meant incremental compilation speed with --watch, not a full recompile.

Just did some simple benchmarks with tsc --watch, here are the results:

Editing & saving a single TS file (tsconfig.json only watches this file):

11KB = really fast
3MB = ~3 seconds
6MB = ~6 seconds

Note: I padded out the file by basically copying & pasting a bunch of console.log statements.
I'm also working on a project which has about 3MB of TypeScript code spread across many files.  The incremental transpilation time is about 3-4 seconds as well, so it seems that 1MB of TypeScript code = 1 second of incremental transpilation time on my machine.  This seem to indicate that there is a fairly linear relationship between the size of the code being watched and compile time.
Now I checked how this might be affected by imports:

Saving a small TS file importing a 4MB file = slow (~4 seconds)
Saving a small TS file importing a small file which imports a 4MB file = still slow
Saving a small TS file importing an external package with large typings file (well just index.ts, not a true declarations file) = still slow
Saving a small TS file importing an external package with small typings file for a large codebase = very fast

So there you have it, one definite way to make compilation faster is to factor out the code to separate packages with declaration files.

It would be nice to know what types of things can cause a project to compile slowly. For example, if certain language features (large unions?? or generics?? or something else) will result in compilation slow-down, then developers can make decide if trade off is worth it.
Also, if some 3rd party libs are known to cause major slow downs, that would be good to know also.
At present, my #1 problem with TypeScript is the slow compile times. And the fact that the IDE is so slow to respond.

I just made a simple script that creates a typescript project, so I can parametrize certain characteristics. Then run tsc.
The only factor I found so far is file count and line count. Generics didn't do anything. Unions don't do anything.
Any idea that what else can I test?

Interesting. The file count thing. I tend to prefer lots of small files.
Might that be killing my perf?
On Sat, Jul 27, 2019 at 2:45 PM WEREMSOFT<EMAIL_ADDRESS>wrote:

I just made a simple script that creates a typescript project, so I can
parametrize certain characteristics. Then run tsc.
The only factor I found so far is file count and line count. Generics
didn't do anything. Unions don't do anything.
Any idea that what else can I test?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/TypeScript/issues/10878?email_source=notifications&email_token=AAA6DVIKHE3IY5JQLECIGHTQBS6W3A5CNFSM4CPMJMU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26TEEI#issuecomment-515715601,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA6DVM2ONWPOIZW3657IILQBS6W3ANCNFSM4CPMJMUQ
.

--
Dave Ford
Developer and Trainer
Smart Soft
https://smart-soft.com http://www.smart-soft.com
https://twitter.com/@daveford
https://medium.com/@daveford

@WEREMSOFT I recommend adding in tests for this["foo"], in particular like this:
class Foo {
    private _foo: number = 1;
}

class Bar extends Foo {
    private _bar: number = 2;
}

class Qux {
    public _qux!: Foo;

    public get qux(): this["_qux"] {
        return this._qux;
    }
}

class Corge extends Qux {
    public _qux!: Bar;
}

const x1: Foo = new Qux().qux;
const x2: Bar = new Corge().qux;

We use this pattern a lot. The things to parameterize are how deeply nested the class hierarchy is, how many methods use the this["foo"] type, and how big the classes are (e.g. number of methods/properties).

One interesting example is this change to the styled-components types, which increased compile time by 20x. Background discussion here: https://github.com/microsoft/TypeScript/issues/30663.
It would be interesting to explore why; I'd love some principles to avoid issues like that in my own code, and tools to find problematic types in general in large codebases. Issues aren't always going to be caused by an obvious dependency upgrade like this.


Add OneDrive support

Would you please support syncing with OneDrive?

To those watching this issue:
The account of this issue's author has been deleted.
If you want this feature, open a new issue or create a pull request. The latter is much better.


add support for okhttp

In use with node js it does not detect the requests it makes from a mobile application since the user-agent came from the client okHttp. increase the regex of Android to be able to identify those requests

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update index.md

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

default background

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding. ✈


[BUG] TypeError: Cannot read properties of undefined (reading 'customId')

Describe the bug
Pagination buttons do not work
Error message
TypeError: Cannot read properties of undefined (reading 'customId')
Sample of the code where it is used
new paginationWrapper()
.setInteraction(interaction)
.setPageList(pageList)
.setButtonList([
  new Discord.ButtonBuilder()
    .setCustomId('firstbtn')
    .setEmoji({ id: '959992408433627137' })
    .setStyle('Secondary'),
  new Discord.ButtonBuilder()
    .setCustomId('previousbtn')
    .setEmoji({ id: '924719153288458271' })
    .setStyle('Secondary'),
  new Discord.ButtonBuilder()
    .setCustomId('nextbtn')
    .setEmoji({ id: '924719286918987816' })
    .setStyle('Secondary'),
  new Discord.ButtonBuilder()
    .setCustomId('lastbtn')
    .setEmoji({ id: '959992408651755520' })
    .setStyle('Secondary'),
])
.paginate()

Additional info

discord.js version: 14.0.1
Pagination version: 1.3.1

Could you try updating discord.js to version 14.0.2 to see if this stops the error

I've found the issue and it seems to only affect interaction paginations so I'll get the package updated as soon as possible


Updating firmware on Linux - commands not working

BlueRetro firmware version
unknown
BlueRetro firmware specification
HW1
BlueRetro firmware variant
Universal
BlueRetro hardware type
External adapter with multiple hardwired cord
Manufacturer
Blueretro Core
System used
Multiple systems (This is the aliexpress core dongle, with separate cables for different systems)
Bluetooth controller brand & name
n/a
What is problem? (only list ONE problem per report)
System: Arch linux (latest, rolling) esptool installed via repos.

Extracted firmware (HW1)
Entered directory
Copy / Pasted the code from 'project documentation / usb serial flash' instructions, code listed on website is: esptool.py -p /dev/ttyUSB0 -b 460800 --before default_reset --after hard_reset --chip esp32  write_flash\ --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0xd000 ota_data_initial.bin 0x10000 BlueRetro.bin
Terminal output was: esptool: error: argument operation: invalid choice: 'write_flash--flash_mode' (choose from 'load_ram', 'dump_mem', 'read_mem', 'write_mem', 'write_flash', 'run', 'image_info', 'make_image', 'elf2image', 'read_mac', 'chip_id', 'flash_id', 'read_flash_status', 'write_flash_status', 'read_flash', 'verify_flash', 'erase_flash', 'erase_region', 'read_flash_sfdp', 'merge_bin', 'get_security_info', 'version')
I assumed the syntax was incorrect, tried removing the backslash after 'write_flash' and re-entered into the terminal, but this time output was: esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'bootloader.bin
I have noticed the required files are in different directories: Am I supposed to move all these files into one directory? Are the website instructions incomplete?

What did you expect to happen?
The firmware to flash
Attach files like logs or Bluetooth traces here
n/a

I'm going to close this issue because I updated by the web GUI. But I think the Linux instructions need updating with more detail because they assume that the user has experience flashing esp32 modules etc. the instructions should be written step by step, not missing anything out.


[P2PMoney] Remove airtable rows automatically on submission when the code isn't found in the Intake base

https://crownheightsmutualaid.slack.com/archives/C010AUQ6DFD/p1593712985422600

@mjmaurer
Could we have a look-ahead / drop down and not allow non-valid codes to begin with? is this possible?
Which tables/columns should I be looking at?

Since payment requests and delivery requests are in different bases, I don't think we could make either a drop-down or a validation in the form. Seems like linking between bases isn't supported: https://support.airtable.com/hc/en-us/articles/223299927-Can-I-link-between-different-Bases-
So, I think we would have to rely on something in our own app to look up if the request code matches up. However, I think it might be confusing for a payment request to simply not show up... if the request doesn't match, should we have the bot post an error message in the reimbursement channel? Or, if the requestor's Slack name is available, PM them?

So, I think we would have to rely on something in our own app to look up if the request code matches up. However, I think it might be confusing for a payment request to simply not show up... if the request doesn't match, should we have the bot post an error message in the reimbursement channel? Or, if the requestor's Slack name is available, PM them?

I should have added more context here! We currently detect if a request doesnt exist and will post a notification in slack to that effect.
This issue is just adding a PaymentRequest row deletion to the codeNotFound logic.


azd up ends up compiling the bicep to an ARM template twice

@vhvb1989 noticed during the hackathon that in the case of azd up we end up initializing the provisioning provider twice, because in our IoC container we register the provisioning providers and manager as transient.  Because of this, we end up compiling the bicep twice during up.  Once very early (before packaging starts) and then later when we actually run the logic for provision.  This is because both the implementation of up and provision call initialize on the provider, and each implementation is injected a separate copy of the provider.
@wbreza mentioned that at the time there was a reason we registered these transiently (and I think I recall a discussion about that on the PR at the time) but neither of us could recall if this was still something we needed to be doing.
We should look at if we can make these values singletons and then store "have you initialized yourself" state so calling Initialize() twice doesn't compile the bice twice.

Do we have idea how long this takes?  If significant, I'd say let's get this fixed soon.

@rajeshkamal5050 This seems significant. Can we need this prioritized for October?

@wbreza is this something we can get fixed for Oct 4 release?

I'd like to work on fixing this.

Part of the provisioning provider initialization process prompts the user for any missing requirements such as subscription id, location or other information required by the provisioning provider.
I believe we opted to initially include this here so that we collected required data as early as possible in the up flow vs waiting for the child provision command to be called.
This likely will work but unclear if this is the user experience we want for this scenario when an environment requirements have not been fully initialized.
Originally posted by @wbreza in https://github.com/Azure/azure-dev/pull/2844#discussion_r1350559765


Kucoin big trade only partially seen

A big red candle/trade(s) (total 70k) on Kucoin was partially missed:

Azero trade feed only shows these two trades (total only 13k) at or around 07:01:00 (UTC+1):

Thank you for detailed information! I will look into it soon.

I think the issue could be that I am parsing only 100 results using this api: https://api.kucoin.com/api/v1/market/histories?symbol=AZERO-USDT
Could be that more than 100 trades matched during this moment.
I couldn't find any documentation how to use skip/limit or paging there.
Parse speed is 1 req per 2 seconds.
That means I will have to improve it and run each exchange in separate thread with very little delays.
Will do that later this week when I have more time.

Better use websocket API: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
Already made a PoC in C# in just a few hours using this endpoint. It's pretty easy.

I see yeah this would be much better thank you.
I would need to find websocket api for mexc and gate as well.
On Mon, Nov 13, 2023 at 21:35 JannemanDev @.***> wrote:

Better use websocket API:
https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
Already made a PoC in C# in just a few hours using this endpoint. It's
pretty easy.
—
Reply to this email directly, view it on GitHub
https://github.com/0xFar5eer/AzeroTradeFeed/issues/1#issuecomment-1808176877,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZRKNY4URIQDZ3T3QXJJYLLYEIOZFAVCNFSM6AAAAAA7IWJOAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYGE3TMOBXG4
.
You are receiving this because you commented.Message ID:
@.***>


Text Search

MVP implementation of text search based on Bleve. There are many capabilities not included in this PR but anything beyond the basic text search should be added in additional PRs.
Resolves #428
Tasks

[ ] Use backend store for Bleve instead of creating a file
[ ] Hook up search.Index() and search.Delete() for quads write and delete
[ ] Hook up search configuration to Cayley configuration
[ ] Hookup search.Configuration to Cayley config file (and CLI?)
[ ] Documentation:

[x] Tutorial
[ ] Detailed documentation of configuration options

Open Questions

Which APIs should be exposed?
Comes to my mind /search and g.Search() but I may miss something

This change is

Bleve will only be implemented for in-memory and key-value backends for now.


Revert "Remove unneeded include from reports"

This reverts commit 3af1aeba691d9cd778889d12b8325057537d890c (from #13675 )
#13675 was not working properly with MiqReport#build_reportable_data. Columns were missing from the UI BZ 1422584 #14115
This PR adds the removed include values back into the report definitions.
They will be removed in the future once build_reportable_data has been fixed to read sort_cols or includes
/cc @gtanzillo @martinpovolny
links: https://www.pivotaltracker.com/n/projects/1619581

Looks good to me. Thx @kbrock :+1:

Looks good to me too 👍


Using a date type in the payload of a queue results in a string type

Bug Report
Current Behavior
When I set the input parameter of the Queue function to a date type and pass in a date to the enqueue function, the type of the parameter is a string.
Input Code

REPL or Repo link if applicable:

export default Queue(
  "api/generateRosterQueue", // the path of this API route
  async (date: Date) => {
    console.log(`Generate roster task executing for date: ${typeof date}`)
  }
)

await GenerateRosterQueue.enqueue(new Date())

Expected behavior/code
I expect the tyoeof date to return a Date type, but it returns a string
Environment

Quirrel version: 1.2.0
Node/npm version: 15.8.0 / 7.5.1

Additional context/Screenshots

Hi @scisteffan, thanks for opening this issue! Definitely a good idea. I'll put up a PR to integrate SuperJSON, that should solve it :)


subset bte

There are a couple of bte sub-sources that produce large numbers of edges, and these can be pretty messy.
For instance, if I look up BiologicalProcessOrActivity related to Glycerol in robokop, I get maybe 10 or 20 nodes. But BTE produces over 4000.
Some of those might be interesting? But I doubt it.  My guess is that this is mostly the fault of semmed, which I would argue we don't want as a first pass source anyway because it is not well curated.
So can we call bte in a way that says "don't give me semmed results"?  Maybe text-miner too.  I like both of these sources as either "I couldn't find anything else, let me try this last ditch" or as overlay sources.

BTE results for the query above: https://arax.ncats.io/?source=ARS&id=197faf1d-52f0-449d-ad30-ab892d1a03e3 (takes forever to load of course)

One idea is for Strider to filter results by provenance before returning, or to provide such constraints to BTE.

Closing. BTE doesn't provide a way to allow/disallow specific sub-sources. We've also implemented some internal filtering to remove promiscuous nodes.


Handle response type 204 no content

Close #331

This is looking good, thanks for the fix!

@tsauerwein You're welcome. Thanks for the quick merge.


Correction: Remove myHeading reassignment

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

In JavaScript Basics, in the "Supercharging our example website" section, we're told to add these two lines to the bottom of main.js:
let myButton = document.querySelector('button');  // line 1
let myHeading = document.querySelector('h1');    // line 2

However, I believe that Line 2 in the above snippet, let myHeading = document.querySelector('h1');, causes the example site to not behave as intended.
If I include Line 2 in main.js, the example site looks like this:

The heading no longer says, "Hello world!", I'm not prompted for my name when the page loads, and the image no longer changes when clicked.
If I do not include Line 2 in main.js, the example site works as intended. I'm prompted for my name and the image changes when clicked. It looks like this:

Here's my main.js with "Line 2" from above (line 18 in the code below) commented out:
const myHeading = document.querySelector('h1');
myHeading.textContent = 'Hello world!';

// Event: Change image when clicked
let myImage = document.querySelector('img');
// Assign anonymous function
myImage.onclick = function() {
    let mySrc = myImage.getAttribute('src');
    if(mySrc === 'images/firefox-icon.png') {
        myImage.setAttribute ('src','images/firefox2.png');
    } else {
        myImage.setAttribute ('src','images/firefox-icon.png');
    }
}

// Event: Personalized greeting when button clicked
let myButton = document.querySelector('button');
// let myHeading = document.querySelector('h1');
function setUserName() {
    let myName = prompt('Please enter your name.');
    if(!myName || myName === null) {
        setUserName();
    } else {
        localStorage.setItem('name', myName);
        myHeading.innerHTML = 'Mozilla is cool, ' + myName;
    }
}

if(!localStorage.getItem('name')) {
    setUserName();
} else {
    let storedName = localStorage.getItem('name');
    myHeading.textContent = 'Mozilla is cool, ' + storedName;
}

myButton.onclick = function() {
    setUserName();
}

Here's index.html:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>My test page</title>
    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
    <link href="styles/style.css" rel="stylesheet" type="text/css">

Mozilla is cool

At Mozilla, we’re a global community of

technologists

thinkers

builders

working together to keep the Internet alive and accessible, so people worldwide can be informed contributors and creators of the Web. We believe this act of human collaboration across an open platform is essential to individual growth and our collective future.

Read the Mozilla Manifesto to learn even more about the values and principles that guide the pursuit of our mission.

  <button>Change user</button>

Hi @everetr !
This issue is occuring because you didn't remove the "Hello world" example code from the main.js file before starting to implement the examples at the bottom of the article. In the "adding an image changer" section, it says "(If your "Hello world!" JavaScript is still there, delete it.)".
Maybe I could pull that instruction out to its own bullet point, so it is more obvious. What do you think?


Fix Date fields

The date fields are two different types right now -- strings or EDTF values.  Fix them to be one way or the other once a decision has been made on what type they should be.  And should they be the same type overall, everywhere (including Taxonomies)?
Task list:

[x] update the fields in drupal
[ ] update the rdf.mapping as well, so it can use the EDTF converter, if using EDTF

addressed with https://github.com/jhu-idc/idc-isle-dc/pull/57

addressed with https://github.com/jhu-idc/idc-isle-dc/pull/57


[ISSUE #4415] Add Promethus source connector

Fixes #4415 .
Motivation
Add Promethus source connector
Modifications
Add new source connector module for prometheus
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@xwm1992 @Alonexc please make a review, thanks


ci: don't run CI on markdown updates

No need to wait for CI to finish when we just add the missing changelog entry to a PR...

I've noticed a few style changes, maybe we should add lint for the workflow files to avoid them in the future.


Skip trying to load kind === external

When a module tries to load \0vite/preload-helper.js this module throws an error.
This PR skips trying to load that module with deno and lets vite handle it.

@marvinhagemeister Care to review this?


Add Andrew Wiles, Florence Nightingale, Thomas Edison to container na…

- What I did
I added names of three scientists to the pool of possible container names
Ran gofmt -s -w on modified file
- How I did it
Modified the list of names to add each name, along with a comment.
- How to verify it
Run the following command to generate an infinite stream of names
/go/src/github.com/docker/docker/pkg/namesgenerator/cmd/names-generator# sh -c "while true; do go run main.go; done;"
You should see the names of edison, nightingale, wiles come up
I noticed:
kickass_nightingale
elegant_edison
furious_wiles
- Description for the changelog
Add Andrew Wiles, Florence Nightingale, Thomas Edison to container names
British mathematician Andrew Wiles is notable for solving Fermat's Last
Theorem. Florence Nightingale was the first female inducted into the
Royal Statistical Society. Thomas Alva Edison was a prolific inventor,
noted for inventing the incandescent light bulb, the phonograph and the
motion picture camera (among many other).
Signed-off-by: Shourya Sarcar<EMAIL_ADDRESS>

LGTM, thanks!

LGTM


Transaction is not sent

Already 2 weeks watch This.How is it possible to send funds? How long do I have to wait for ONG or something?

You need to get at least 0.01 ONG to to send any transaction., such as claim your claimable ong or transfer ONT.


Change the industry field to location

Location is in terms of country.
Location class: added a Locale package for a validation method to check if location input is a valid country.

LGTM


Not able to see juice servers in plugin

No servers from juicessh in list its empty. Might have to do with a update from juicessh today

Same problem here.
The servers dont show up anymore in the list

Here's a quote from an email I got:
We have a fix for this, however it's taking Google a long time to approve
play store updates at the moment due to COVID.
You can download v3.1.2-beta2 directly from our website:
https://juicessh.com/changelog
This beta build includes the fix.
Apologies for the inconvenience
Paul
On Thu, 21 May 2020, 18:14 Longshot<EMAIL_ADDRESS>wrote:

Same problem here.
The servers dont show up anymore in the list
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Sonelli/juicessh-performancemonitor/issues/71#issuecomment-632232194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACVZQNS6DEJAGWZMDP5AJOTRSVOONANCNFSM4NG6HUXA
.

Resolved in the latest versions of JuiceSSH


ENH: info shows approx. mem size?

When you call a Pandas Dataframe's info method, it shows you an approximation of the memory usage:
df.info()
<class 'pandas.core.frame.DataFrame'>
MultiIndex: 17182 entries, (Vis/L, 0, -200) to (Vis/R, 241, 500)
Data columns (total 59 columns):
EEG 001    17182 non-null float64
EEG 002    17182 non-null float64
...
EEG 060    17182 non-null float64
dtypes: float64(59)
memory usage: 7.9+ MB

Would it in principle be possible to show something like this for MNE objects, for example, in the __repr__, the info's __repr__, or as a special private method?
Not a big thing, but might be cool for when you want to parallelize across data sets, or want to estimate if an operation will blow up your memoy.

That would be cool

+1

+1 from me too

You could probably get pretty far by basing the estimate off the logic used
by object_hash.
But that might be too slow. If it is, we can get a rougher estimate from
just don't .data or ._data, as the object dictates.
Are you on it? If not I can try soon.

Are you on it? If not I can try soon.

I don't know how I'd even approach this :) And I have a huge backlog of other stuff (EEGLAB IO fixes, ERP plot, my open PRs etc).

Closed by #3408


DSNP Schema Updates Question

The DSNP Schemas have updates due to changes in the specification for v1.3.0:
Parquet Schemas for Broadcast, Reply, etc... will use STRING instead of BYTE_ARRAY

STRING type is still BYTE_ARRAY under the hood
NOT the same as going from UTF8 type to STRING type which while different are considered just an update in Parquet

How does the Frequency community suggest this on the edge update should happen?
Options

~A. No schema publication update needed, the data is still the same, it is just interpretation of it~
B. New schema needs to be published
~C. Governance change to prior schemas (given that the schemas haven't been used yet)~

Suggested: New schema needs to be published
Related topics

Does Frequency need a way to deprecate or disable schemas?

Community Call Notes for 2024-09-19

Leaving this for interpretation (Option A) has two speaking against it

Cannot then read the schema from the chain
All might not do it

"New schema needs to be published"

Requires library updates
Requires an update to delegations if there are any

Root cause of the issue from DSNP

Less likely to cause issues with different serializations
DSNP community movement to get serializations standardized

Option Votes

A: 0
B: 8
C: 2


Minimally change pipeline definition for diffs

Since the pipeline definition is stored in JSON and JSON is unordered, every change to the pipeline definition could end up in large diffs. Instead of relying on the implicit order of keys in dictionaries, especially since the pipeline definition is also interacted with in Javascript, explicitly sort the keys.
Caveat: The order given by the user of the defined parameters is now also automatically sorted.

@ricklamers I wanted to get your opinion on automatically sorting the order of the parameters defined by the user. What do you think?

@ricklamers I wanted to get your opinion on automatically sorting the order of the parameters defined by the user. What do you think?

I like this!

I like this!


Core Tests: have a check for duplicate markers in inc files

A number of tests in the Core test directory identify a specific token via a /* testMarker */ like comment in the inc file(s).
When the test case file inc gets larger, it is quite easy to accidentally have a duplicate "test marker" comment in the file (non unique name) and the test would end up not testing what it should be testing and this would go unnoticed.
It would be good to have a minimal test - probably with a helper function running the actual test code in the AbstractMethodUnitTest class - to verify that an inc file doesn't contain duplicate test markers.
This would be a QA check on the tests, but can be run as a test itself.

Note: probably also good to have this available via PHPCSUtils as well.