handle multiple types in term aggregation

Benchmark comparison. They are not completely comparable, though, since the mixed type is implicitly optional
mixed_type has 10% of the terms replaced with numbers.
test aggregation::agg_bench::bench::bench_aggregation_terms_many_json_mixed_type_with_sub_agg                            ... bench: 170,356,921 ns/iter (+/- 12,102,718)
test aggregation::agg_bench::bench::bench_aggregation_terms_many_json_mixed_type_with_sub_agg_multi                      ... bench: 231,250,693 ns/iter (+/- 40,667,655)
test aggregation::agg_bench::bench::bench_aggregation_terms_many_json_mixed_type_with_sub_agg_opt                        ... bench: 221,529,839 ns/iter (+/- 19,894,629)
test aggregation::agg_bench::bench::bench_aggregation_terms_many_json_mixed_type_with_sub_agg_sparse                     ... bench:  46,758,620 ns/iter (+/- 21,263,777)
test aggregation::agg_bench::bench::bench_aggregation_terms_many_with_sub_agg                                            ... bench: 132,741,211 ns/iter (+/- 10,870,663)
test aggregation::agg_bench::bench::bench_aggregation_terms_many_with_sub_agg_multi                                      ... bench: 200,348,048 ns/iter (+/- 35,380,004)
test aggregation::agg_bench::bench::bench_aggregation_terms_many_with_sub_agg_opt                                        ... bench: 188,603,351 ns/iter (+/- 10,479,821)
test aggregation::agg_bench::bench::bench_aggregation_terms_many_with_sub_agg_sparse                                     ... bench:  28,905,110 ns/iter (+/- 3,805,932)

Codecov Report

Merging #2041 (4e372fd) into main (00c5df6) will decrease coverage by 0.01%.
The diff coverage is 94.94%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #2041      +/-   ##
==========================================
- Coverage   94.43%   94.43%   -0.01%
==========================================
  Files         319      319
  Lines       59469    59614     +145
==========================================
+ Hits        56160    56296     +136
- Misses       3309     3318       +9

Impacted Files
Coverage Δ

src/fastfield/readers.rs
90.84% <89.47%> (-0.50%)
:arrow_down:

src/aggregation/bucket/term_agg.rs
98.49% <89.70%> (-0.65%)
:arrow_down:

src/aggregation/agg_bench.rs
100.00% <100.00%> (ø)

src/aggregation/agg_req_with_accessor.rs
100.00% <100.00%> (ø)

src/aggregation/agg_tests.rs
100.00% <100.00%> (ø)

src/aggregation/segment_agg_result.rs
95.68% <100.00%> (+0.29%)
:arrow_up:

... and 3 files with indirect coverage changes


Update reference-data-schema.md

Docs Build status updates of commit 81f24b0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

academic-services/graph/reference-data-schema.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit 64caa0b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

academic-services/graph/reference-data-schema.md
:white_check_mark:Succeeded

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

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

File
Status
Preview URL
Details

academic-services/graph/reference-data-schema.md
:white_check_mark:Succeeded

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


binary search for GridBased algo

@benjaminulmer @yenong-amd
I have modified binary search algorithm for grid based.
binary search smallest greater M first, then binary search smallest greater N, then search nearest K.
feel free to add comments or commits.

@aazz44ss The search code should be identical, just moved to a different spot. My initial testing suggests this works, but I'll be doing some more in-depth verification as well.

@aazz44ss Feel free to squash-merge whenever ready


Run Arbitrary Parsing Scripts on Binary Files

Background
Malware is often packed or encrypted using custom algorithms on specific sections within a dropper binary. It would be nice to arbitrarily specify extracting/unpacking/decrypting/decoding scripts against binaries scanned by Binary Alert.
~~ Case 1 ~~
It is common for python scripts to be compiled using pyinstaller or py2app to create a single binary executable for both MacOS and Windows platforms. Instead of writing signatures on the compiled code (which can often reduce signal strength), it would be nice to run code to decompile the binary and then run Yara signatures on the resulting files.
For example of scripts to be applied before the Yara scanning occurs, see the 2 unpacker/decompiler scripts here https://github.com/countercept/python-exe-unpacker.
Desired Change
Support for the addition of arbitrary code to be run against binaries before Yara scanning occurs. Ideally, this should be recursive as some malicious payloads can be packed more than one time.

@austinbyers I wanted to tag you on this issue. Thanks!


Hw7

I have completed home work for week 7. please check and do let me know if there is any thing to fix.
much thanks ken

Kentaro, it looks like your code has not accomplished any of the goals of assignment 7. For assignment 7, please refer to:
https://lms.cga.school/courses/4413/assignments/229243
Your code only accomplishes some of the objectives we set in lesson 6. To complete HW 6, check the requirements here:
https://lms.cga.school/courses/4413/assignments/227182
I don't know how to grade your HW as it has not accomplished any of the goals of either the 6th and the 7th assignment.
In the future, please refer to the requirements and the steps I listed on canvas, and if you have bugs, join office hours or submit draft pull requests so that I can help.


Improve loading/saving of settings by using bytes instead of string for read/writes

Summary of the Pull Request
Improve loading/saving of settings by using bytes instead of string for read/writes.
PR Checklist

[ ] Applies to #xxx
[x] CLA signed. If not, go over here and sign the CLA
[x] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
I saw we are currently using Strings as buffer for reading/writing (json) settings, this can be optimized by using byte arrays, this PR implements the improvement.
Quick performance check against the settings.json of PowerToys.
https://gist.github.com/royvou/f83bffcb73365014a0fd39e4dc034044

Method
Mean
Error
StdDev
Gen 0
Gen 1
Gen 2
Allocated

ReadBytes_Indented
402.7 us
7.25 us
6.78 us
1.4648
-
-
5.66 KB

ReadBytes
399.0 us
7.10 us
6.64 us
1.4648
-
-
5.66 KB

ReadString
413.9 us
7.46 us
6.98 us
5.8594
-
-
19.06 KB

Validation Steps Performed

Manually Opened the (new) settings app
Validate Settings are correctly read
Change some settings in PT Run Module (max results 4 to 5)
Close the (new) settings app
Open the Live settings App
Validate PT Run settings

Added unit test which does a string write + read + byte write + read and compares all results.

@ryanbodrug-microsoft thoughts?
@royvou just sanity checking, it won't break existing settings, correct?

looks like CI timed out for some reason, rekicking that off

@crutkas when I was developing this feature I have not had any issues where my settings were reset. (I was sometimes even running the old settings app with my version of PowerToys run and updates in settings were behaving correctly.
The test added should simulate a string is saved and later read and compare it to the original + both save operations.
Might be worth it to double validate it with an installer build.

@royvou can you explain the performance check table better? What is the Gen 0 column? Are these before numbers or after numbers?
Tangent question (brace yourself!): why are json files used for settings and not the registry?

@KevinHake this is the MemoryDiagnoser from Benchmark.NET, it shows the following data.

Allocated contains the size of allocated managed memory. Stackalloc/native heap allocations are not included. It’s per single invocation, inclusive.
The Gen X column contains the number of Gen X collections per 1 000 Operations. If the value is equal 1, then it means that GC collects memory once per one thousand of benchmark invocations in generation X. BenchmarkDotNet is using some heuristic when running benchmarks, so the number of invocations can be different for different runs. Scaling makes the results comparable. (So where in memory is it located and how 'easy' is it to clean for the GC)

(Source:  https://adamsitnik.com/the-new-Memory-Diagnoser/#how-to-read-the-results by the Author of that plugin/diagnoser )
The rows in the table compare three methods in the file https://gist.github.com/royvou/f83bffcb73365014a0fd39e4dc034044 (ReadBytes_Indented, ReadBytes and ReadString) i've compared. So this is comparing, reading/writing with bytes, bytes but also indented and string (not indented, because it makes almost not difference when using bytes)
Hope this makes it clear !

Ah yes that's more clear, thanks :)  So around 3.6% less time. The fewer garbage collections seems maybe related to the smaller amount of memory allocated (~3.4x less)

Yes! All logic related to reading/saving setting can now be found in one file.
Other then that it's mainly not allocating new strings (but use the bytearray directly as buffer). Which causes less memory used and a small performance gain.
Only thing to note is that the settings UI can also write the settings file, but it does not indent the output (and the c++ api does not have an easy setting for that?) .

@martinchrzan do you approve? Can this be merged?

we have a few changes coming in and the pending release that makes me want to hold until the next release.  This will let us test it a lot more.

@crutkas thanks for the update, let me know when it's unblocked then I'll do a rebase on master 👍
Probably some other features / bugs are important because this is mainly the reading of the settings once /twice and once more when settings are updated.

lets rebase here and i want @ryanbodrug-microsoft  to take a look here.

Rebased it but could not completely check the build locally, the settings app is throwing some build error.
Let's see what the build server says before you can check :)

@enricogior as this could impact other items that use the C++ json readers, i'm a bit worries on taking this in without unit tests that a save then read from CPP
Due to that, I view heavy risk for what i don't know is a noticeable perf gain

@crutkas
code improvements are always welcomed, but at present, with the IO abstraction PR pending and other high priority work, it would be better to not spend time on a optimization that is not providing noticeable perf gain as you said.

I would consider this a code maintenance/best practice check-in. The performance check is just to verify performance impact is not a reason to reject it (I wish a lot more check-ins did some performance checks :)). Code debt happens when clean ups like this are blocked. Tho I agree it should be unit tested (so should the existing code!), and I'm not about to write the tests :)
If the only criteria for code changes are adding features and fixing bugs, eventually the code base becomes unmanageable (features and bugfixes become more and more difficult).


The Google Single Sign-on Integration is broken

If you go here: https://developer.onsip.com/signup and try to sign in through google, you'll get an error.

Not a SIP.js issue, but we will have our team take a look. Thanks.


Enabled .MP4 in cli video config list

Though not necessary, made it possible to include mp4 files of lower- and upper-case. Also added catch for invalid video files.

looks good


installer GHA workflow seems to be broken

https://github.com/dipdup-io/dipdup/actions/runs/4768412821/jobs/8477710408

Fixed in aux/6.5.5-to-next


Reactions from me parsed incorrectly sometimes 1.7.0 alpha

from shadow07, on big sur, shows the wrong display name in the reaction details menu popup

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @tneot01 in #feedback.

Confirming you fixed this @tneotia

Yes it is done


nereidsSupport rewrite by mv nested materialized view

Proposed changes
Support query rewritting by nested materialized view.
Such as inner_mv def is as following

        select
        l_linenumber,
        o_custkey,
        o_orderkey,
        o_orderstatus,
        l_partkey,
        l_suppkey,
        l_orderkey
        from lineitem
        inner join orders on lineitem.l_orderkey = orders.o_orderkey;

the mv1_0 def is as following:

        select
        l_linenumber,
        o_custkey,
        o_orderkey,
        o_orderstatus,
        l_partkey,
        l_suppkey,
        l_orderkey,
        ps_availqty
        from inner_mv
        inner join partsupp on l_partkey = ps_partkey AND l_suppkey = ps_suppkey;

for the following query, both inner_mv and mv1_0 can be successful when query rewritting by materialized view，and cbo will chose mv1_0 finally.

       select lineitem.l_linenumber
        from lineitem
        inner join orders on l_orderkey = o_orderkey
        inner join partsupp on  l_partkey = ps_partkey AND l_suppkey = ps_suppkey
        where o_orderstatus = 'o' AND l_linenumber in (1, 2, 3, 4, 5)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


URLs in reopened drafts are bracket expanded not delimited (recursively)

Expected behavior
URLs in drafts are left as written or is delimited once according to common practice and recommendations (RFC 3986, app. C).
The recommendation and long standing practice (tracing back to an appendix of W3C's URL specification from 1994 which the RFC builds upon) is to delimit URLs using angle brackets to allow a somewhat consistent interpretation (introduces some robustness to especially added line breaks).
Actual behavior
Every URL present in a draft is expanded, not delimited, with a space and itself in angle brackets when it is reopened for editing. Such that fx. http://example.com becomes http://example.com <http://example.com>.
The expansion is even recursive, so when reopening a saved draft for the second time this occurs again for both the original URL and the URL in brackets such that fx. http://example.com <http://example.com> becomes http://example.com <http://example.com> <http://example.com <http://example.com>>, and this will continue.
This seems to me to be a misunderstanding trying to provide a rendered representative text for an URL, like the anchor text of a HTML anchor or a Markdown hyperlink. A bit like Markdown's "autolink" which uses angle brackets as a shortcut to creating HTML hyperlinks with the URL as duplicate anchor text in the rendering. However, I think K9 is not intended to do any interpreting of the text here. And I'll be surprised if this has has anything to do with the IMAP store (gmail).
As a side note, it also looks like Wordpress has been discussing the use of angle brackets in links being sent, and they lost.
Steps to reproduce

First edit; Write new mail containing an URL (body="Http://example.com"), see screenshot 1
Save as draft (back->Save as draft or menu->Save as draft), see screenshot 2
Second edit; Reopen draft message, observe the expanded URL yielding one duplicate, write some more text ("Test"), see screenshot 3
Save as draft (back->Save as draft or menu->Save as draft), see screenshot 4
Third edit; Reopen draft message, observe the two URLs each expanded yielding 3 duplicates, see screenshot 5
Continue editing, if this is your idea of fun ;)

Environment

K-9 Mail version: 5.717, see screenshot 6
Android version: 7.0, see screenshot 7
Account type (IMAP, POP3, WebDAV/Exchange): IMAP (gmail)
Phone model: Samsung Galaxy S8, SM-G950F

Screenshots
Done using Danish (dansk) locale.
Quick parlour;

skrive = write
fra = from
til = to
kladder = drafts

1 - first edit

2 - saved first edit

3 - second edit

4 - saved second edit

5 - third edit

6 - K9 version

7 - Android version

Please take some time to retrieve logs and attach them here:
Could do if it shows not to be easily reproducible.

@mikini I found place where happens dupliacating but I still have no correct fix for that.
Please tell me did you have any experience with duplicating another messages?

@GNUDimarik Dmitry, are you asking whether I have experienced this only once?
I see this happen consistently for every draft I start writing in K9 and then subsequently edit in K9.
If that is not your question, could you please elaborate?
I have just upgraded to K9 5.718, which does not change the behaviour.
Another test:
Start the message draft from another client (here: gmail web UI), including an URL in body, then edit the draft in K9.
This scenario doesn't seem to trigger the bracket delimitation attempt when entering edit mode, the mail body is left as is. Below screenshots depicts the identical message in Gmail and K9, which differs from the behaviour for a local draft described above where URLs are delimited. Besides that, the draft isn't stored correctly to IMAP on saving in K9, as described in #4871, maybe the differing behaviour is related to this?

No. Asked if another messages without URL was duplicated

@mikini I was wrong peviously. It's HTML => text conversion issue. Now It needs to be fixed correctly.

With the default settings K-9 Mail will create a draft containing both a text/plain part and a text/html part. When converting the user-entered text to HTML the app transforms URLs into clickable links. So https://domain.example will become https://domain.example.
When opening a draft that contains a text/html part K-9 Mail will use that to populate the compose UI. To do so the app has to convert the HTML back to plain text (because K-9 Mail does not support rich text editing). Right now this code converts links like link text to link text <https://domain.example>. That seems like a reasonable thing to do for links where the link text is different from the URL. Doing it for links where the link text is equal to the URL leads to the reported behavior.
Converting such links to just the URL (https://domain.example -> https://domain.example) should fix this issue.
Other links like link text will still be converted to link text <https://domain.example>. And on saving as draft (or sending the message) to link text <https://domain.example>. But converting that to text again (with the proposed change) will again lead to link text <https://domain.example>.

Thanks. Will change the PR


Add docs for Microsoft.Dnx.Watcher/dnx-watch

I guess here: https://docs.asp.net/en/latest/dnx/commands.html#global-commands-details

This might be a good spot for @tuespetre methods for setting up IIS (not Express) with dnx-watch.
References:
https://github.com/tuespetre/dnx-watch-iis
https://github.com/aspnet/Hosting/issues/364#issuecomment-158733918
https://github.com/aspnet/Hosting/issues/364#issuecomment-158765267

Unfortunately I believe dnx-watch is broken for RC1 and it is getting replaced for RC2. @victorhurdugaci  can you confirm?

dnx-watch is not broken :) The only big known issue is when running on OSX on CoreCLR: https://github.com/aspnet/dnx-watch/issues/21 and the CLR team is working on a fix.

Also, can you document how to run dnx from a parent folder? It doesn't seem to have a -p as dnx doex.

Holding off on this until we see what this tool looks like in the .NET CLI world.

@danroth27
@tuespetre and I discussed his scenario of using watch with IIS 10 local for his build-and-refresh experience at https://github.com/tuespetre/dnx-watch-iis/issues/2 ... and I hope he'll take that forward with the changes in RC2. It rocks for a shop scenario where a normal IIS server isn't available or desired. When the time comes, I hope you'll decide to link him in somehow or have him or someone write up his approach for the official docs.

DNX is going away with the move to .NET CLI, but there will still be a watch command/tool. Need to figure out if this tool will be part of the .NET CLI and if the docs belong here or somewhere else.

@tuespetre If you end up refactoring for a possible dotnet cli watch system for local IIS and you need a test :monkey:; ping me, and I'll give your revision a shot when you get there.

@GuardRex cool, I will probably be waiting for RC2 to revisit it

Dropping this to P1 since this is a tool and not technically part of the runtime.


Set maximum number of learners of AdaBoost

Is your feature request related to a problem?
It's not possible to set the maximum number of learners of AdaBoost.
Desired solution

Add a new parameter maximum_number_of_learners: int to the initializer of safeds.ml.classification.AdaBoost and safeds.ml.regression.AdaBoost
Raise a value error if maximum_number_of_learners < 1
Pass it along to n_estimators of the wrapped scikit-learn model in the fit method

Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

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

v0.12.0
GitHub release

Your semantic-release bot :package::rocket:


Only upload changed metadata into AA from Uwazi

Currently in the metadata-manager service, the entity metadata gets downloaded, compared to the previous submission, and resent in full if it's not an exact much. This means all metadata (per-entity) gets re-uploaded if any of it has changed, which is a problem because it means the timestamp of old attestations keep shifting. It also increases database size.
Forensically this isn't a problem since the old timestamps are still available due to an append-only log being used. But it's still not the behaviour we want.

Alternatively, if the behaviour described above is the one we want, we could also think of "showing the log" in the UI.

I think keeping timestamps as old as possible without having to dive into the history of the database is probably simpler and more useful.


Usage with GitHub Actions

It would be great if the README clarified how to use Vercel project/org tokens to run the publish step as part of a GitHub Action - or, how this plugin could be used in combination with the actively maintained https://github.com/BetaHuhn/deploy-to-vercel-action

This is a great idea - I'll add this to the README.

https://github.com/simonw/datasette-publish-vercel/blob/main/README.md#using-this-with-github-actions

Thanks @simonw ! :man_dancing:


CC video Not Download

Video Marked As  CC is not downloading with youtube-dl

Carefully read new issue template and provide all requested info.

where is new issue template please provide me direct link

Where you just typed your first post.

see youtube-dl https://www.youtube.com/watch?v=ZK4uGLpkAKk   this video is not downloading https://www.dropbox.com/s/p8opbroqyjeyint/Screenshot 2016-04-24 12.20.28.png?dl=0
see this screenshot on top video which is marked as CC its not downloading with youtube-dl please give me correct command o download this type of video please help me :(

Post the command you use and the results. And please paste texts but not screenshots. Don't forget to include -v in your commands. For example:
youtube-dl -v "https://www.youtube.com/watch?v=ZK4uGLpkAKk"


Better intro to guides on /guides/ page

if you are a high schooler start here
if you are a transfer start here
if you are looking for jobs go here
something like that so its easier for whoever comes in to get the right content

also pages like "academics" or "career" could be a little nicer if they had blocks instead of links

IS this closed now?

No
On Sun, Jul 12, 2020 at 8:28 PM Ming<EMAIL_ADDRESS>wrote:

IS this closed now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PittCSWiki/pittcswiki/issues/176#issuecomment-657300231,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKKYLYTQAWXD43PKS77RODR3JIMVANCNFSM4OQ6ACMA
.


logistics98 stackelberg compilation bug

It looks like the logistics98 domain can sometimes get kinda stuck compiling the domain?
Not sure why it happens, however it means the domain basically gets no meta actions verified

Solution: Simply dont use the domain


apiresource api lead to agent apiserver request rate limit

What did you do?
Several api response slow, it take at most 15s to response.
What did you expect to see?
/api-resources should be cached at agent side
Environment

Kubegems version: v1.21.4

Closed by f6bed7fc32976c552f34117b736a971039673373


There were too many records in the sign info table for ID {float(id)}, which appears " TypeError: float() argument must be a string or a number, not 'tuple'

I was trying to build a route network based on TomTom when I got this error :
Traceback (most recent call last):
File "", line 466, in execute
File "M:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 435, in process_multinet_data
self._populate_signposts_and_signposts_streets()
File "M:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 148, in wrapper
return inner_func()
File "M:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 141, in inner_func
return_val = func(*args, **kwargs)
File "M:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 1678, in _populate_signposts_and_signposts_streets
raise ex
File "M:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 1622, in _populate_signposts_and_signposts_streets
f"There were too many records in the sign info table for ID {float(id)}, which appears "
TypeError: float() argument must be a string or a number, not 'tuple'
Failed to execute (ProcessMultiNet).

any ideas ?
thx
Koen

Hello @kvdmdi2.  I'm investigating this issue.  I understand the technical reason this error is happening in the code, but I don't understand what data configuration would lead to the problem in the first place.  Would it be possible for you to share your data with me so I can debug it?  I can provide a secure file transfer option if needed.

seems to be the arcgis pro version.  version 2.9 works with warnings, version 3.2.1 gives error

Based on what the code is doing, I suspect it's related to the version of the pandas package included in the python environment included in ArcGIS Pro.  Pro 3.2 has a newer version of pandas.  We ran into some other issues elsewhere when this pandas version change occurred.  I'm not really sure what's going on here, and without being able to reproduce the problem, I can't really fix it.  Are you able to share your data with me?

Hi,
It runs 2 steps more, but hen it crashed again

Start Time: 05 March 2024 07:14:03
Validating inputs...
Inputs validated successfully.
Creating output geodatabase and feature dataset at C:\ArcGis\TT_2023_12_Route_Network_2024_03_05_BE2.gdb\Routing...
Reading and grouping restrictions table...
Reading and grouping maneuver paths table...
Copying input network geometry feature class to target feature dataset...
Populating restriction and historical traffic fields in streets...
Reading and indexing Streets table...
Creating turn feature class...
Populating turn feature class...
Creating road forks table...
Populating road forks table...
Creating Signposts feature class...
Creating Signposts_Streets table...
Populating Signposts feature class and Signposts_Streets table...
There were too many records in the sign info table for ID<PHONE_NUMBER>3079.0, which appears in the sign path table. The signpost (ObjectID 4) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>5482.0, which appears in the sign path table. The signpost (ObjectID 10) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>8922.0, which appears in the sign path table. The signpost (ObjectID 138) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>8946.0, which appears in the sign path table. The signpost (ObjectID 139) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>2696.0, which appears in the sign path table. The signpost (ObjectID 153) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>3891.0, which appears in the sign path table. The signpost (ObjectID 250) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>2713.0, which appears in the sign path table. The signpost (ObjectID 328) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>5408.0, which appears in the sign path table. The signpost (ObjectID 431) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>5822.0, which appears in the sign path table. The signpost (ObjectID 435) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>6969.0, which appears in the sign path table. The signpost (ObjectID 500) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>9701.0, which appears in the sign path table. The signpost (ObjectID 787) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>6348.0, which appears in the sign path table. The signpost (ObjectID 805) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>9429.0, which appears in the sign path table. The signpost (ObjectID 841) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>5687.0, which appears in the sign path table. The signpost (ObjectID 1010) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>1300.0, which appears in the sign path table. The signpost (ObjectID 1123) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>3945.0, which appears in the sign path table. The signpost (ObjectID 1194) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>2921.0, which appears in the sign path table. The signpost (ObjectID 1220) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>0812.0, which appears in the sign path table. The signpost (ObjectID 1239) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>7471.0, which appears in the sign path table. The signpost (ObjectID 1416) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>7010.0, which appears in the sign path table. The signpost (ObjectID 1484) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>2541.0, which appears in the sign path table. The signpost (ObjectID 1515) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>8703.0, which appears in the sign path table. The signpost (ObjectID 1537) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>6218.0, which appears in the sign path table. The signpost (ObjectID 1642) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>6305.0, which appears in the sign path table. The signpost (ObjectID 1718) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>0390.0, which appears in the sign path table. The signpost (ObjectID 2040) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>7121.0, which appears in the sign path table. The signpost (ObjectID 2085) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>9285.0, which appears in the sign path table. The signpost (ObjectID 2120) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>2555.0, which appears in the sign path table. The signpost (ObjectID 2309) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>1934.0, which appears in the sign path table. The signpost (ObjectID 2359) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>3913.0, which appears in the sign path table. The signpost (ObjectID 2402) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>7501.0, which appears in the sign path table. The signpost (ObjectID 2439) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>0345.0, which appears in the sign path table. The signpost (ObjectID 2458) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>5301.0, which appears in the sign path table. The signpost (ObjectID 2486) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>1859.0, which appears in the sign path table. The signpost (ObjectID 2526) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>2488.0, which appears in the sign path table. The signpost (ObjectID 2585) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>9032.0, which appears in the sign path table. The signpost (ObjectID 2629) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>2485.0, which appears in the sign path table. The signpost (ObjectID 2668) will be truncated.
There were too many records in the sign info table for ID<PHONE_NUMBER>5357.0, which appears in the sign path table. The signpost (ObjectID 2686) will be truncated.
Creating and populating Streets_DailyProfiles table...
Creating and populating DailyProfiles table...
Traceback (most recent call last):
File "", line 466, in execute
File "C:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 440, in process_multinet_data
self._create_and_populate_profiles_table()
File "C:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 148, in wrapper
return inner_func()
File "C:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 141, in inner_func
return_val = func(*args, **kwargs)
File "C:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 749, in _create_and_populate_profiles_table
cur.insertRow(new_row)
TypeError: value #0 - unsupported type: tuple
Failed to execute (ProcessMultiNet).
Failed at 05 March 2024 07:24:47 (Elapsed Time: 10 minutes 44 seconds)

No worries.  I'm glad to be of use.  It went wrong again :
There were too many records in the sign info table for ID<PHONE_NUMBER>5357.0, which appears in the sign path table. The signpost (ObjectID 2686) will be truncated.
Creating and populating Streets_DailyProfiles table...
Creating and populating DailyProfiles table...
Traceback (most recent call last):
File "", line 466, in execute
File "C:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 440, in process_multinet_data
self._create_and_populate_profiles_table()
File "C:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 148, in wrapper
return inner_func()
File "C:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 141, in inner_func
return_val = func(*args, **kwargs)
File "C:\street-data-processing-tools-pro-v1.0.3\street-data-processing-tools-pro-v1.0.3\for-ArcGIS-Pro\Process_MultiNet.py", line 749, in _create_and_populate_profiles_table
f"{profile_id}. The missing values have been filled in with a value of 1."
TypeError: value #0 - unsupported type: tuple
Failed to execute (ProcessMultiNet).

No worries. I'm glad to be of use. The last changes did the trick !

Fixed in https://github.com/Esri/street-data-processing-tools/pull/57


I the client is not active, it falsifies the client selection list

now I block the fields and inform that the client is inactive


Extend vault-pki-client to support upload to Rancher

Hi,
What about to extend this simple and cool vault nodejs client to support upload to Rancher ?
https://github.com/issacg/vault-pki-client
So far I have just an idea and dirty draft, run it as container/service, provide access to PKI via ENV variables both to Vault and Rancher (create/update certificate periodically). Is there anybody else who would use it ?
Simple update of existing certificate:
https://github.com/VAdamec/vault-pki-client

https://github.com/VAdamec/rancher-catalog-test


OOM on neutrino sync

Background
I'm running into an OOM when attempting to run ./lncli create with a neutrino backend on a memory constrained system. AFAIK the neutrino backend should be running on phones so it's a bit concerning.
Your environment

version of lnd lnd version 0.14.1-beta commit=v0.14.1-beta
which operating system (uname -a on *Nix) Linux 5.9.6-1-ec2 #1 SMP Fri, 06 Nov 2020 10:48:50 +0000 x86_64 GNU/Linux
version of btcd, bitcoind, or other backend Neutrino
any other relevant environment details

$ free -h
               total        used        free      shared  buff/cache   available
Mem:           451Mi       196Mi       145Mi       0.0Ki       109Mi       242Mi
Swap:             0B          0B          0B

$ cat ~/.lnd/lnd.conf
[Bitcoin]
bitcoin.active=1
bitcoin.mainnet=1
bitcoin.node=neutrino

Steps to reproduce

./lncli create
Enter wallet creation details.
Observe lnd being killed:

2021-11-28 13:38:55.356 [INF] BTCN: New valid peer <IP_ADDRESS>:8333 (outbound) (/Satoshi:22.0.0/)
2021-11-28 13:39:01.203 [INF] BTCN: Lost peer <IP_ADDRESS>:8333 (outbound)
2021-11-28 13:39:01.531 [INF] BTCN: New valid peer <IP_ADDRESS>:8333 (outbound) (/btcwire:0.5.0/btcd:0.20.1/)
2021-11-28 13:39:01.685 [INF] BTCN: Lost peer <IP_ADDRESS>:8333 (outbound)
2021-11-28 13:39:02.245 [WRN] BTCN: Banning peer <IP_ADDRESS>:8333: duration=48h0m0s, reason=peer was unable to serve compact filters
2021-11-28 13:39:02.247 [INF] BTCN: Lost peer <IP_ADDRESS>:8333 (outbound)
2021-11-28 13:39:02.819 [INF] BTCN: New valid peer <IP_ADDRESS>:8333 (outbound) (/Satoshi:0.21.1/)
Killed

Expected behaviour
Not OOM.
Actual behaviour
OOM:
$ dmesg | grep "Out of memory"
[33273206.386189] Out of memory: Killed process 1836477 (lnd) total-vm:1217004kB, anon-rss:226684kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:900kB oom_score_adj:0

have You tried start with lnd.conf below flag :
; Don't use the in-memory graph cache for path finding. Much slower but uses
; less RAM. Can only be used with a bolt database backend.
; db.no-graph-cache=true

Yup. I've searched for memory in the default config file and found 5 references. The obvious config's to change was:
[Bitcoin]
bitcoin.active=1
bitcoin.mainnet=1
bitcoin.node=neutrino

[Application Options]
ignore-historical-gossip-filters=true

[db]
db.no-graph-cache=true

and still get:
2021-11-29 14:25:22.696 [INF] BTCN: New valid peer <IP_ADDRESS>:8333 (outbound) (/Satoshi:0.21.1/)
2021-11-29 14:25:22.730 [INF] BTCN: 34 addresses found from DNS seed x49.seed.bitcoin.jonasschnelli.ch
2021-11-29 14:25:23.007 [INF] BTCN: 37 addresses found from DNS seed x49.seed.bitcoinstats.com
2021-11-29 14:25:23.878 [INF] BTCN: Lost peer <IP_ADDRESS>:8333 (outbound)
2021-11-29 14:25:23.992 [INF] BTCN: 36 addresses found from DNS seed dnsseed.bitcoin.dashjr.org
2021-11-29 14:25:24.218 [INF] BTCN: New valid peer <IP_ADDRESS>:8333 (outbound) (/Satoshi:0.21.1/)
Killed

and
[33363004.830585] Out of memory: Killed process 1841907 (lnd) total-vm:1217132kB, anon-rss:234272kB, file-rss:92kB, shmem-rss:0kB, UID:1001 pgtables:900kB oom_score_adj:0
[33363004.842323] oom_reaper: reaped process 1841907 (lnd), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

There are some others but they seem to account for 10's of MB of memory. Not really the GiB's worth I'm seeing.

Do you only see this one or two seconds after issuing the create command? Or do you also see this if you just start lnd and let it run the full Neutrino sync, without issuing any commands (such as unlocking or creating a wallet)?
I suspect this might not be Neutrino itself but the memory intensive scrypt operation for encrypting the wallet content. You can verify if that is the problem by compiling with make install tags=rpctest (that'll crank down the number of scrypt invocations, don't use on mainnet!).

From your initial message, your machine only has 200 MB of RAM or so that lnd can actually use. This isn't sufficient as the scrypt operation itself can take up that amount, and also depending on your kernel setitngs, a portion is reserved for kernel operation.

[33273206.386189] Out of memory: Killed process 1836477 (lnd) total-vm:1217004kB, anon-rss:226684kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:900kB oom_score_adj:0

lnd was killed after using just 226 MB of RAM. You either need to add some swap, or use a machine with more RAM. You can confirm this by using the build tag referenced above.

Works after adding 1GiB swap. Thanks for the suggestion.


I need to build to specified file. How should I do?

Hi I have a question.
This is not an issue only a question.
I need to build app to main.js and main.css.
But now it build app to main.hashname.js and main.hashname.js.
How can I set ? Where?

npm run eject
edit production config

I would not suggest you do this. These hashes ensure your browser won't cache assets when you deploy a new version.
Take a look at build/asset-manifest.json. There are all filenames and their fingerprinted versions. You can use it by your other scripts/backends/etc.

I don’t recommend removing hashes because they are there for a reason. But indeed you could eject and do so.


Fix typos in the documentation

Type of PR (feature, enhancement, bug fix, etc.)
enhancement
Description
Fixed a few typos in the documentation
Fixes # (issue)
Why should this be added
Explain value.
Checklist

[x] My code follows the style guidelines of this project
[x] Checks (StandardRB & Prettier-Standard) are passing

@dlt thanks for the catches! Good eye. 👁


Changing the securitymode to oauth2 don't seem to work.

Hi,
I'm trying to set the securitymode to oauth2, but after the identity server validate my credential and redirect me to the "idm" web site, i don't seem to be authenticate at all. The only change i did, is to change the securitymode to oauth2 in your source file :
        var rand = new System.Random();
        var svc = new InMemoryIdentityManagerService(Users.Get(rand.Next(5000, 20000)), Roles.Get(rand.Next(15)));
        idm.UseIdentityManager(new IdentityManagerConfiguration
        {
            IdentityManagerFactory = () => svc,
            SecurityMode = SecurityMode.OAuth2,
            OAuth2Configuration = new OAuth2Configuration
            {
                AuthorizationUrl = "http://localhost:17457/ids/connect/authorize",
                Issuer = "https://idsrv3.com",
                Audience = "https://idsrv3.com/resources",
                ClientId = "idmgr",
                SigningCert = Cert.Load(),
                Scope = "idmgr",
                //PersistToken = true,
                //AutomaticallyRenewToken = true
            }
        });
    });

Is there something else i need to change to make it work?
Best regards,

Hi Brock, any luck on the 'IdentityManager + Membership Reboot + OAuth2' for dummies example?  I completely understand if not, but was just checking.

No sorry -- IdSvr went RC this week and I'm trying to get the IdMgr code bases back up in sync with all the other libraries. There's a series of things that need to be done (in order) before I can get these things sorted out.

Any progress on the walk-through? It works for me locally, but when I publish IM to Azure all I get is "{"message":"An error has occurred."}". So, my problem is a little different than described above, but an IM/IS walth-through would definitely be helpful. Thanks!

How about you start writing one - so Brock can fill in the blanks.

Was that directed at me?

yes

This issue is moot due to the security changes made today. If you have other problems, please open a new issue.


Lightclient, BeaconState and aggregation

Looking at the current BeaconState (https://github.com/ethereum/eth2.0-specs/blob/c1a3b29145c84c6ac4422314b7b54898ac9f6693/specs/core/0_beacon-chain.md), the fields are defined the following way:
{
    # Misc
    'slot': 'uint64',
    'genesis_time': 'uint64',
    'fork_data': ForkData,  # For versioning hard forks

    # Validator registry
    'validator_registry': [ValidatorRecord],
    'validator_registry_latest_change_slot': 'uint64',
    'validator_registry_exit_count': 'uint64',
    'validator_registry_delta_chain_tip': 'hash32',  # For light clients to track deltas
    ...
}

And BeaconBlocks are defined this way:
{
    ## Header ##
    'slot': 'uint64',
    # Skip list of ancestor beacon block hashes
    # i'th item is the most recent ancestor whose slot is a multiple of 2**i for i = 0, ..., 31
    'parent_root': 'hash32',
    'state_root': 'hash32',
    'randao_reveal': 'hash32',
    'candidate_pow_receipt_root': 'hash32',
    'signature': ['uint384'],

    ## Body ##
    'body': BeaconBlockBody,
}

Notice that it's mentioning signature and not aggregate_signature like in SlashableVoteData and Attestation so it may be quite huge.
What is the state that light clients must keep track of?

it may be quite huge

signature is the proposer signature. It is a single signature from just one party and is 96 bytes. The aggregate signatures are in the attestations.

I think some of this confusion might be because of how the signature serialization is specified: as an open-ended list of uint384 - it might make sense to be more specific here once the serialization settles down, and possibly have a custom serialization type for signatures and keys, much like we have hash32

@djrtwo Can we specify the signature as a ('uint64', 'unint64')?

uint384 or hash48 would be better

@JustinDrake but signature is supposed to be point over G1, so its uncompressed size is 96 bytes, but compressed size is only 48 bytes?

As a fixed tuple? We don't currently have support for this in SSZ
Could define a new container type Signature:
{
    'z1': 'uint384',
    'z2': 'uint384',
}

This would also require slight modifications to either the functions in bls_signature.md or how we pass params into the functions when calling

@djrtwo More verbose but feels like a small win :)

I guess this is where I have to make the mandatory notice that an object adds 4 bytes to the serialization over a custom type (uint768?). That said, I don't think this is a very convincing argument given the fairly limited use of signatures - I'd consider it's a win in terms of clarity however. What would be done with public keys in this scenario? remain a single uint384?

I'll put in the mandatory efficiency note pointing out that we'll have 4 extra bytes of length in the ssz serialization going with a container instead of adding uint768 or whatever it should be called.
That said, we don't have that many signatures around - however, one option is to move away from hash32 (in bytes) and uint384 (in bits) and instead settle on a single, fixed-length array type (bytesNN) that we could use for situations like this

one option is to move away from hash32 (in bytes) and uint384 (in bits) and instead settle on a single, fixed-length array type (bytesNN) that we could use for situations like this.

In summary:

Option 1:

pubkey: uint384
signature: list of uint384

Option 2:

pubkey: uint384
signature: uint768

Option 3:

pubkey: bytes48
signature: bytes96

Option 4:

pubkey: uint384
signature: BLSSignature, where Signature is:

{
    'z1': 'uint384',
    'z2': 'uint384',
}

Any other options?
If we use (4), IMO I don't want to mix SSZ serialization object into BLS spec, it's should be isolated.

Option 5: same as option 4 but with bytes48 as the two point types in Signature

I'm in favor of defining bytesNN type in SSZ and also using a Signature datastructure with two bytes48 points (z1, z2).
Agreed @hwwhww. Should keep SSZ datastructures isolated in the core spec


Draft: Add PRNGKey64 function

Draft of a PRNGKey64 function, which would require key inputs to be 64-bit

Stale?


Switch VolumeFsVersion enum fields to proper standard

Will delete the old fields in a separate PR later today.

👍


[.netcore 2 preview 2] FromForm does not honor attribute DataMember(Name)

When using FromFormAttribute on a controller POST method, the Name property on DataMemberAttribute is not considered.
Using the following controller:
[Route("my")]
public class MyController : Controller
{
    [HttpPost]
    [Route("")]
    public IActionResult Create([FromForm]Person request)
    {
        return Ok(request);
    }
}

[DataContract]
public class Person
{
    [DataMember(Name="full_name")]
    public string FullName { get; set;}
}

An HTTP request like this:
POST /my HTTP/1.1
Host: localhost:5000
Content-Type: application/x-www-form-urlencoded

full_name=John+Doe

will return {  "full_name": null  }.  I would expect it to return the value "John Doe" instead of null.
But if I use the FromBody attribute in the Create method, instead of FromForm, it will work as expected:
public IActionResult Create([FromBody]Person request) ...

POST /my HTTP/1.1
Host: localhost:5000
Content-Type: application/json

{ "full_name": "John Doe" }

will return {  "full_name": "John Doe"  }.
Package version: 2.0.0-preview2-006497 (dotnet --version)
Operating system: Windows 10
IIS Version: I am using dotnet run from the command line

Hi @altenstedt , the [DataContract] and [DataMember] attributes are supported by only some specific serializers/deserializers, such as the DataContract XML/JSON serializers, and I think that Json.NET has some support for those attributes as well. These attributes are not supported by the Form Body deserializer.
@rynowak / @dougbu - could this be done maybe using the [Bind] attribute, e.g. [Bind(Prefix = "full_name")]?

@Eilon - you're thinking of [ModelBinder(...)] but yes

could this be done maybe using the [Bind] attribute, e.g. [Bind(Prefix = "full_name")]?

but yes

… though not when using [FromBody]. Once the BodyModelBinder is chosen, it defers everything to the deserializer. And, none of the deserializers support our [ModelBinder] attributes.
Separately, users can probably get [DataMember] working with [FromForm] and similar if they use part of our XML formatting support. Specifically, users could add a DataMemberRequiredBindingMetadataProvider to the MvcOptions.ModelMetadataDetailsProviders. Haven't tried it…

Ok, thanks for this clarification.  I thought it was odd that there was a lack of symmetry here since DataContract/DataMember works for FromBody, but not for FromForm.  I note that JsonProperty(PropertyName="full_name") works for both cases, which is what we are using in the current Web API code.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3851

Questions ?
Please refer to the Backport tool documentation


Callbacks not working

For some reason callbacks are not working. Any of them. Not even that Debug.log in line 13.
Am I doing something wrong or is it still to be fixed? :thinking:

Use this callback function
func _receive_message(tag, from, key, data):
    if tag == "FrogSquare":
        print("From: ", from, " Key: ", key, " Data: ", data)

Good idea, but sadly it didn't work. The login window appears, the connection is supposed to fail and a "false" callback should appear.

There is no callback for login failure..!
On Sat, Jun 15, 2019, 8:16 AM Flávio Freitas<EMAIL_ADDRESS>wrote:

Good idea, but sadly it didn't work. The login window appears, the
connection is supposed to fail and a "false" callback should appear.
[image: image]
https://user-images.githubusercontent.com/4502942/59546069-94c0a000-8efe-11e9-9f41-30bbe3dd87e5.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FrogSquare/GodotGoogleService/issues/22?email_source=notifications&email_token=ACNHWPQC2N6WS5IPM7FY2ZLP2RJYNA5CNFSM4HYOCEO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYOYNA#issuecomment-502328372,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACNHWPXFGTTZ4DQFD3J3H4LP2RJYNANCNFSM4HYOCEOQ
.

Sorry :sweat_smile:
Oh, my bad! The false is at disconnect, I misread it.
I guess there is no other way to test callbacks aside uploading a new version to Play Store and waiting another day for Google's approval. :sob:
Guess Imma code my own "connection_fail" callback (if possible)

Actually you can create PR for connection fail callback under
handleSignInResult function..
On Sat, Jun 15, 2019, 8:28 AM Flávio Freitas<EMAIL_ADDRESS>wrote:

Sorry 😅
Oh, my bad! The false is at disconnect, I misread it.
I guess there is no other way to test callbacks aside uploading a new
version to Play Store and waiting another day for Google's approval. 😭
Guess Imma code my own "connection_fail" callback (if possible)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FrogSquare/GodotGoogleService/issues/22?email_source=notifications&email_token=ACNHWPTGYGUBCUVNVVKI6MLP2RLGLA5CNFSM4HYOCEO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYO5PY#issuecomment-502329023,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACNHWPWY63YYHP5ZRJNVON3P2RLGLANCNFSM4HYOCEOQ
.

Ty, that's exactly what I was going for. :+1:

Yeeey, it worked. Thanks. :grin:
Now I can start coding for real.

Oh, one more thing. Your example seems to use an outdated tag:


[BUG]

Description
The cloud-service-broker-aws-1.0.1 logs passwords in plain text.
Expected Behavior
Passwords should be obfuscated.
Actual Behavior
Snippet from log (I've replace the password with PLAINTEXTPASSWORD):
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.\n\nOutputs:\n\nhostname = csb-postgresql-55433951-ba33-4fae-aa93-7bc80835a025.cgfksd50wmdy.us-east-1.rds.amazonaws.com\nname = vsbdb\npassword = PLAINTEXTPASSWORD\nport = 5432\nstatus = created db vsbdb (id: csb-postgresql-55433951-ba33-4fae-aa93-7bc80835a025) on server csb-postgresql-55433951-ba33-4fae-aa93-7bc80835a025.cgfksd50wmdy.us-east-1.rds.amazonaws.com URL: https://us-east-1.console.aws.amazon.com/rds/home?region=us-east-1#database:id=csb-postgresql-55433951-ba33-4fae-aa93-7bc80835a025;is-cluster=false\nuse_tls = true\nusername = SHiFbgscXWXZMQCI\n"}}
Possible Fix

Steps to Reproduce

Create a service such as Postgres
2.Look at the logs in the cloud-service-broker-aws-1.0.1 application in the system org

Context

Your Environment

Version used: OpsManager 2.10.3 TAS 2.10.8
Operating System and version (desktop):
Link to your project (if public):
Platform (Azure/AWS/GCP): AWS
Applicable Services:

This was fixed as part of https://github.com/cloudfoundry-incubator/cloud-service-broker/issues/156, but doesn't look like we released an AWS tile with the fix. Will get that done.

This was fixed as part of https://github.com/cloudfoundry-incubator/cloud-service-broker/issues/156, but doesn't look like we released an AWS tile with the fix. Will get that done.


Create a scala-collections DSL

I'm thinking this should look similar to Slick's DSL, if not exactly like slick's DSL.

The information found in @tpolecat's presentation "Pure Functional Database Programming
… with Fixpoint Types" may help with this.  I can imagine decorating the query structure with information about arity of the select and types of the columns if possible.

First steps towards doing this involve making a Schema abstraction so that the code has a model of the database.


Add missing items to main menu and use ellipsis

Adds some missing menu items to the default menu. Also adds a ‘Enter full screen’ item with shortcut (closes #388). I also replaced triple dots on menu-item labels with the ellipsis character (…).

Looks great :) thanks!


firefly-iii: 6.1.21 -> 6.1.22, firefly-iii-data-importer: 1.5.6 -> 1.5.7

nixos/firefly-iii: Changes to clear cache more consistently upon updates
nixos/firefly-iii-data-importer: Changes to clear cache more consistently upon updates
firefly-iii changelog: https://github.com/firefly-iii/firefly-iii/compare/v6.1.21...v6.1.22
firefly-iii-data-importer changelog: https://github.com/firefly-iii/data-importer/compare/v1.5.6...v1.5.7
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

LGTM.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355838

x86_64-linux

:fast_forward: 1 package blacklisted:

nixos-install-tools

:white_check_mark: 2 packages built:

firefly-iii
firefly-iii-data-importer


selinux issues

Signed-off-by: baude<EMAIL_ADDRESS>

@rh-atomic-bot r+

@rh-atomic-bot r+

@rh-atomic-bot r+


Error/warning colours

Hi, wonder if someone can enlighten me with a strange issue.
ST3 v3059
SublimeLinter v3.4.24
Have noticed when I open exact same file the text highlighting code colours are a lottery.  They seem to change indiscriminently between yellow and red.  No apparent reason, no apparent pattern to it.
Best illustrated with two images of same simple bit of code:
First, error codes correctly highlighted in red

Second, error codes incorrectly highlighted in yellow

Another example showing incorrect colouring

At one point I thought a pattern was emerging whereby if I opened by double-clicking file from system it showed errors as yellow  but if I opened from within ST (File>Open File...) it correctly showed errors in red.  But that doesn't seem to be the case now and it just seems to be random.
Can confirm relevant user settings as:
"error_color": "D02000"
"warning_color": "DDB700"
Have removed sublimelinter package and reinstalled but no joy.
Any ideas please?

I don't think overlapping linters like this, where they agree on what's wrong but not on the severity level, is very common or something we want to really support.


Unepected Nuxt downgraded version

Previously, running yarn create nuxt-app myApp installs Nuxt v2.4.0 but today for example I noticed you downgraded to Nuxt v2.0.0. I did not change the development environment so I can not understand this behavior.
This and that do not provide any clarification to this issue.
Can you please explain why ?
Thank you,
Billal BEGUERADJ

Can't reproduce. If you are referring to the package.json, please read my comment where I've sent you before.


ColumnMapping to nested field

I want to map colMaps.put("client_id", "client.id");
then, the framework would do client = new Client() and client.setId(resultset.getString('id')

@felipear89 How do you deal with this ?
I want to map a column for a nested proprty in a class !
Regards

@helenoalves @felipear89 sorry for hijacking that but simpleflatmapper has sql2o support and provide inner object mapping see http://simpleflatmapper.org/0108-getting-started-sql2o.html


Overhaul data synchronization over XMPP

Is your feature request related to a problem? Please describe.
This feature offers synchronization functionality of feeds, entries, read status etc.
Describe the solution you would like
Utilize XMPP as a platform for data synchronization.
Describe alternatives you have considered
No.
Additional context
My name is Schimon, and I am a co-founder of project Blasta.
Blasta is an collaborative annotation management system (i.e. bookmarks manager) which purpose is to make bookmarks accessible from anywhere.
The experiment of Blasta has been successfull and I intend to write an extension the Falkon browser.
I advise to stongly consider to utilize the XMPP platform as a system to synchronize browser data, including bookmarks, history, tabs, cookies, password etc.
Chris:

XMPP?

Schimon:

Yes. XMPP, the Extensible Messaging and Presence Protocol.

Chris:

This must be a mistake.

Schimon:

There is no mistake!

Please. Watch the video presentation for the technicalities or visit these resources:

https://blasta.woodpeckersnest.eu/help/about/xmpp/pubsub
https://blasta.woodpeckersnest.eu/help/about/xmpp/atomsub

Code
https://git.xmpp-it.net/sch/Blasta

Video
https://video.xmpp-it.net/w/cfozoUeVLFbBFMCCSCJ1Dn

Instance
https://blasta.woodpeckersnest.eu

Resources:

https://portal.mozz.us/gemini/woodpeckersnest.space/~schapps/journal/2024-11-28-xmpp-for-browsers.gmi
https://github.com/jarun/buku/discussions/795

Why was this ticket close?
May you kindly provide a reason for closing this ticket?

I am sorry. I copy and paste this exact post for various of news readers and browsers.
At the bottom of the article, I have posted a list of projects and progress.
Please. See https://portal.mozz.us/gemini/woodpeckersnest.space/~schapps/journal/2024-11-28-xmpp-for-browsers.gmi


fire event before redirect, instead of using a listener

as @csokol commented here: https://github.com/caelum/vraptor-jpa/pull/30#issuecomment-75960260

" I think we could deprecate that listener and that method to
add the listener and create a new event to fire before redirect.

thoughts?

I like this idea =)

I don't know if solves because using events we can't change the flow. The same problem we have in caelum/vraptor-jpa#13.


Separation of Znode and Wallet libraries

Currently the code for Znode's depends on Wallet functionality being enabled; As a result, passing the disable-wallet flag to configure will cause the build to fail outright (see https://github.com/zcoinofficial/zcoin/issues/204).
Myself and @devwarrior777 propose a two step process forward:
(1) initially disable the disable-wallet option; this will ensure building regardless of flags passed to configure
(2) work towards separation of Znode functionality into a separate library
Part (1) is contained in this pull request.

(2) work towards separation of Znode functionality into a separate library
.. if feasible ;-)

@nopslide @psolstice Please comment on your views. Would also be a good idea to take a look at latest Dash code as to how this is implemented.

@psolstice Should we look into this now or later when we refactor?


Name flag not working

I do not get the expected Name: MyName at the beginning of the whoami http response.
I am testing a complex traefik scenario and have multiple whoami containers running and want to tag each one clearly with the Name option.
docker run -d -P --name whoami -e name="MyName" traefik/whoami

curl <IP_ADDRESS>:59707
Hostname: f98a3f6efd8a
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
RemoteAddr: <IP_ADDRESS>:39884
GET / HTTP/1.1
Host: <IP_ADDRESS>:59707
User-Agent: curl/7.68.0
Accept: */*

In app.go:
207
208	if name != "" {
209		_, _ = fmt.Fprintln(w, "Name:", name)
210	}
211
212	hostname, _ := os.Hostname()
213	_, _ = fmt.Fprintln(w, "Hostname:", hostname)

Steve.

$ docker run --help
Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container

Options:
...
  -e, --env list                       Set environment variables
...

the env var for the name is WHOAMI_NAME.
$ docker run -d -p 80:80 --name whoami -e WHOAMI_NAME="MyName" traefik/whoami
$ curl localhost:80
Name: MyName
Hostname: d306b50f3fc9
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
RemoteAddr: <IP_ADDRESS>:50208
GET / HTTP/1.1
Host: localhost
User-Agent: curl/7.83.1
Accept: */*

I suggest the README.md have a better example:
replace
docker run -d -P --name iamfoo traefik/whoami

with
docker run -d -P --name containername traefik/whoami --name reportedname

Steve.


No EPS Keys in create menu

I wanted to give this awesome package a go but when I imported there was no EPS key option on the create menu.
When I relaunched it had to enter safe mode, Keep in mind I only have this and Mirror installed.
I'm sure it's just a compatibility issue with my Unity / mirror version so I was wondering what mirror and Unity version the creator is using for their game. Thanks in advance!

I wanted to give this awesome package a go but when I imported there was no EPS key option on the create menu.
When I relaunched it had to enter safe mode, Keep in mind I only have this and Mirror installed.
I'm sure it's just a compatibility issue with my Unity / mirror version so I was wondering what mirror and Unity version the creator is using for their game. Thanks in advance!

We are using Mirror LTS which is version 46. But the transport can also be made compatible with newers versions easily, in the methods that have compile errors just reorder the arguments as the order has changed.

Thanks! I'll give it a try later

Is this the correct version? https://github.com/vis2k/Mirror/releases/tag/v46.0.0

I got it working now, Thank you for your help earlier and of course making the package!
Is it possible to authenticate without the epic games authentication window?I plan to make a VR game but platforms such as Quest 2 cannot open pages in game (That I am aware of). And again, thanks so much for sharing this amazing package it's a dream come true really

I got it working now, Thank you for your help earlier and of course making the package!
Is it possible to authenticate without the epic games authentication window?I plan to make a VR game but platforms such as Quest 2 cannot open pages in game (That I am aware of).
Will "Persistent Auth" do the trick?
And again, thanks so much for sharing this amazing package it's a dream come true really

Yes, in the EOSSDKComponent you can set the credential type. You could either do device id which requires no login or steam/oculus login depending for which platforms you develop.


Rename Infra project to Iac (Infra as code)

@msangtarash
please provide enough amount of description in this issue for others to understand what's the problem.
and mention what project is this issue for (at least in the title), we have 3 major projects atm.
and also add the appropriate labels to the issue.

The name of TodoTemplate.Infra should be changed to TodoTemplate.Iac


Suggestion: Notification every time indexing occurs is a bit much

I'm not sure how hard it is to add a config entry for notification verbosity, but that would be awesome.
I deleted this line in my install:
https://github.com/brumik/obsidian-ollama-chat/blob/60c61795aef1e7df1b551a03eece47ea9f0d796e/src/Ollama.ts#L61
so I only get popups for indexing errors instead of every time I type something.

Good point, on mobile I see it bit annoying. I will look into making it optional.

Released in: https://github.com/brumik/obsidian-ollama-chat/releases/tag/0.1.1


Added possibility to enable thanos StoreAPI port

Currently only ports 9201 and 9202 are enabled and it is not possible to enable a port with the helm chart to use the Thanos StoreAPI according to the configuration in
https://github.com/timescale/promscale/blob/master/docs/configuration.md using the param thanos.store-api.server-address.
I added the port configuration in the values.yaml and updated the deployment and service template, by default port will be set on false.
I already performed some test configuring the Thanos StoreAPI with:
config:
  thanos.store-api.server-address: ":9203"

service:
  thanosStoreAPI:
    enabled: true
    port: 9203

then checking the logs:
level=info ts=2022-09-19T16:22:29.822Z caller=runner.go:162 msg="Started Rule-Manager"
level=info ts=2022-09-19T16:22:29.822Z caller=runner.go:266 msg="Started Prometheus remote-storage HTTP server" listening-port=:9201
level=info ts=2022-09-19T16:22:29.822Z caller=rules.go:209 msg="Starting rule manager..."
level=info ts=2022-09-19T16:22:29.822Z caller=runner.go:247 msg="Started OpenTelemetry OTLP GRPC server" listening-port=:9202
level=info ts=2022-09-19T16:22:29.822Z caller=runner.go:204 msg="Started Thanos StoreAPI GRPC server" listening-port=:9203

Thanos StoreAPI is enabled and using the new configuration the service enabled the port to access the API.
service:
NAME               TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)                      AGE
test-promscale     ClusterIP   <IP_ADDRESS>   <none>        9201/TCP,9202/TCP,9203/TCP   41s

Then Thanos query is able to connect to promscale.
Signed-off-by: Kadaffy Talavera<EMAIL_ADDRESS>

What this PR does / why we need it
Currently only ports 9201 and 9202 are enabled and it is not possible to enable a port using the helm chart to use the Thanos StoreAPI according to the configuration in
https://github.com/timescale/promscale/blob/master/docs/configuration.md using the param thanos.store-api.server-address.
This PR adds the possibility to enable a port to use the Thanos StoreAPI
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
Special notes for your reviewer
Checklist

[x] Chart Version bumped
[x] CLA signed

@kadaffy if you can run make promscale-mixin and check in that change as well I think that will fix the CI failure.

It works @nhudson thanks for the help.

Done @nhudson, thanks.


puncttable.rs -> unicode 15.1.0 (+mk_puncttable.py -> python3)

This updates puncttable.rs to unicode 15.1.0.
To do this I updated the python script to python3 (since I don't have python2 installed).
I also adjust it slightly so that it matches rustfmt (which got run against the puncttable.rs file at some point).
The python3 stuff could be a separate PR since it's technically not really related.

I see this right. What do you think, @raphlinus?
Thanks!


Avoid extra piping with grep

Matching on "[p]attern"  will not include the grep itself from the process list.
https://unix.stackexchange.com/questions/74185/how-can-i-prevent-grep-from-showing-up-in-ps-results

Could you please perform the PR against develop branch?


RPiPlay not responding to HTTP requests

While attempting to receive server capabilities from RPiPlay:
Accepted IPv4 client on socket 24
Local: <IP_ADDRESS>
Remote: <IP_ADDRESS>
httpd receiving on socket 24
conn_request
httpd didn't get response
httpd receiving on socket 24
Connection closed for socket 24
Destroying connection

The client's connection hangs and times out, as it receives no data.
Test method:
RPiPlay started: ./rpiplay -b on -d
Locate the listening port: lsof | grep rpiplay | grep TCP
Send HTTP request: http <IP_ADDRESS>:44103/info (replace port with one from prior command, try any path, like /stream.xml and /server-info, none appear to respond)

Might be caused by a pairing requirement or client device identification missing...


[WIP] - Add viewer.py to Habitat-sim module

Motivation and Context
Currently, the interactive sim viewer (example/viewer.py) lives in the examples/ directory is therefore not exposed within the habitat_sim python module. As such, it cannot be used with Habitat-sim conda build or imported and extended in Habitat-lab.
This PR copies the viewer code into the src_python directory and makes minor edits for code style and flaking requirements.
See Habitat-lab PR 1099 for example use as external module to extend.
TODO:
Once this is ready for merge we'll update documentation and possibly deprecate the examples/viewer.py.
How Has This Been Tested
With Habitat-sim module installed,

run the new viewer from its python file locally

python src_python/habitat_sim/viewer/viewer.py --dataset data/scene_datasets/mp3d_example/mp3d.scene_dataset_config.json --scene 17DRP5sb8fy

run the new viewer from the module:

python -m habitat_sim.viewer.viewer --dataset data/scene_datasets/mp3d_example/mp3d.scene_dataset_config.json --scene 17DRP5sb8fy

Issue: module run is currently failing with:

Platform::WindowlessEglContext: cannot make context current: EGL_BAD_ACCESS
Platform::WindowlessEglApplication::makeCurrent(): cannot make context current: EGL_BAD_ACCESS
Failed to make platform current

Likely related: we require the following to avoid this issue with the python file run:
flags = sys.getdlopenflags()
sys.setdlopenflags(flags | ctypes.RTLD_GLOBAL)

possibly the module run is picking things up differently.
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)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@mosra thoughts on the EGL issue with the running from the module?

I'm a strong supporter of this change! A couple of thoughts (from when I was thinking about this a few months ago):

Several of the current keybindings make sense for an example viewer, but might not be interesting for every viewer application, and it is helpful to have those keys free for different functionality. From that perspective, I think it could make sense to keep keybindings to a minimum in the base viewer class and add the remaining ones in an ExampleViewer subclass implemented in the examples/viewer.py file.
The same thing goes for the command line arguments. This makes sense for the example viewer, but maybe not for a base class definition inside src_python.

keep keybindings to a minimum in the base viewer class and add the remaining ones in an ExampleViewer subclass implemented in the examples/viewer.py file... The same thing goes for the command line arguments...

Thanks, I agree. I'll start a design doc to help plan which UI features should be core vs. example. :+1:

sys.setdlopenflags(flags | ctypes.RTLD_GLOBAL)

A bit of background, just to have the full picture here -- by default, Python loads every module in its own namespace (RTLD_LOCAL), making it impossible for a different module to see its globally exported symbols. This makes sense for security reasons. RTLD_GLOBAL disables that.
The other half of the problem that Habitat uses Magnum compiled statically, and while I eliminated most mutable globals, Magnum has still three left -- for the plugin manager, for logging redirection and for the GL context. Those, with Magnum being compiled statically, get one copy in the habitat_sim.so Python module and one in the magnum.so Python module, and then I have to do cursed things to make both modules refer to the same globals so operation done in one module is visible by the other. And those cursed things then only work with RTLD_GLOBAL. Without that, being each loaded in its own namespace, the modules would need to share a common address of the globals in some manual way, possibly by going through Python, and so far I didn't figure out a nice way to do this that wouldn't become a new problem on its own.
A real solution to all these problems would be to have Magnum compiled dynamically, but that was historically not an option as far as I remember. Maybe we could reconsider, it'd definitely fix 98 of 100 recurring nightmares I have :D
The EGL error is most probably related to the above -- EGL_BAD_MATCH is emitted if the context is already active in another thread, so it's possible that due to the global GL context not being shared properly between the two modules it was thinking the context wasn't active in another thread (while it actually was, for example in the background renderer if that's enabled in the build) and tried to use it.


clickhouse-client --query does not return results

I'm use the clickhouse-client in interactive mode and when I run a query with inner join between 2 subqueries, results are returned
However when I run the same query with batch mode i.e. 'clickhouse-client --query=""' no results are return in bash.
there's no error in the log and the access log looks the same for the 2 queries
can you see if you can replicate it?

I've found out whats wrong, when it run with batch mode the regexp get encode so \1 becomes \1 so nothing can be match.
you will need to put \\1 instead of \1

Also possible to pass query to stdin:
clickhouse-client < query.sql
That avoids shell escaping issues.


Linter for Package Coding Style

Linter for Package Coding Style
It would be great to have a linter to enforce the package coding style.
Originally posted by @ivorscott in https://github.com/dagger/dagger/discussions/2052#discussioncomment-2551102

This would be useful, but probably lower priority than language server / VSCode extension.


Block request release for management plane SDKs until the API spec is merged

After discussing with the management plane team we decided to go with https://github.com/Azure/azure-sdk-tools/issues/8469


net/http: Double slash in request leads Method to always be GET

Go version
go version go1.23.0 linux/amd64
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/user/.cache/go-build'
GOENV='/home/user/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/user/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/user/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.0'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/user/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/user/repos/testrepo/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3255200026=/tmp/go-build -gno-record-gcc-switches'

What did you do?
I accidentally created a double slash in an http request URL. I have written the following to reproduce:
Server server.go:
package main

import "net/http"

func main() {
	http.HandleFunc("/", func(rw http.ResponseWriter, req *http.Request) {
		if req.Method != http.MethodPost {
			rw.WriteHeader(http.StatusBadRequest)
			rw.Write([]byte("Wrong request type: " + req.Method))
		} else {
			rw.Write([]byte("Success"))
		}
	})

	err := http.ListenAndServe("localhost:8080", nil)
	if err != nil {
		panic(err)
	}
}

Client client.go:
package main

import (
	"fmt"
	"io"
	"net/http"
	"strings"
)

func main() {
	req, err := http.NewRequest(http.MethodPost, "http://localhost:8080/"+"/foo/bar", strings.NewReader("test"))
	if err != nil {
		panic(fmt.Errorf("Failed to create request: %v", err))
	}
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(fmt.Errorf("Failed to send request: %v", err))
	}
	buf, err := io.ReadAll(res.Body)
	if err != nil {
		panic(fmt.Errorf("Failed to read response body: %v", err))
	}
	fmt.Println(string(buf))
}

What did you see happen?
Server receives a GET request, with no errors on the client/server side
What did you expect to see?
Server receives a POST request, or possible an error when creating the request.

Related Issues and Documentation

net/http: request.Method is wrong when path start by // #29584
import/path: issue title #68253 (closed)
net/http: double escape of URL #25208 (closed)
net/http: Request method does not default to GET with http2 #31061 (closed)
net/http: redirect with 308 rather than 301 #60769
net/http: invalid http request methods accepted in NewRequest and NewRequestWithContext #44291 (closed)
affected/package: http #59759 (closed)
net/http: incorrectly redirect (301) if request payload include port number #51892
affected/package: net/http Cannot handle certain invalid request URLs #53179 (closed)
net/http: 301 redirect loses POST data #12456 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)


Add possibility to use it with CI

I would really like to have some option like maxTimeSinceNavSrart, value of which means speed expectation.
Using this option pwmetrics might throw some error Time (ms) since navigation start more then you expected, so improve your page perf.
This approach could be used for CI.

@paulirish don't you mind if I try to work on it?

:+1:


Change date format for email notification on events

Best format would probably be dd/mm/yyyy hh:MM instead of dd-th of month at hh:mm

would someone be able to help me set up my dev environment? would love to contribute!

what is your problem?

Hi Cian,
Thanks for getting back to me! I'm a junior dev looking to contribute to my
first open source project but for some reason I'm having trouble running
the docker container as per the directions here:
https://hub.docker.com/r/josmas/coderdojo-local-zen/.
Also below is a screenshot of what localhost/8000 displays in my browser,
which doesn't look right:
[image: Inline image 1]
Would you have time to pair for 15-20 minutes to troubleshoot? Thanks so
much!
On Tue, Oct 11, 2016 at 12:46 PM, Cian Butler<EMAIL_ADDRESS>wrote:

what is your problem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/CoderDojo/community-platform/issues/1061#issuecomment-253023963,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMb6AgDp5lfTnfMKoKg2Q73WgSQ3_xtGks5qy-eRgaJpZM4KQJ3H
.

--
Warm Regards,
Akash Trivedi
206.778.9699

The docker image seems to only contains the node env as well as the database.
Did you do the setup steps from https://github.com/CoderDojo/cp-local-development#code-setup to clone the repo and link it into the docker container ?
Afterwards, the only thing left to do is eiter a npm install and a ./localdev run zen from the bash of the the container

So I followed the setup steps and was able to get everything up and running
except docker - which I successfully installed but have not be able to to
link to. I think it's because I'm unclear on how to modify the following
script:
docker run -ti --rm \ --name zen \ -p 8000:8000 \ -p 4567:4567 \ -p
5432:5432 \ -v
/Users/jos/development/nodejs/cp-local-development:/home/jos/code
josmas/coderdojo-local-zen /bin/bash
Also, while the app is running on localhost/8000 it doesn't seem to be
loading correctly. I'm wondering if it has something to do with the
following line: "To build and run with the built code, you need to turn off
UI debugging, by running ./localdev.js run zen --uidebug=false." However
when I run that command in the node shell I am prompted with the
following: dquote>. Not sure what I'm supposed to enter here?
Thanks again for your help!
On Wed, Oct 12, 2016 at 2:08 AM, Wardormeur<EMAIL_ADDRESS>wrote:

The docker image seems to only contains the node env as well as the
database.
Did you do the setup steps from https://github.com/CoderDojo/
cp-local-development#code-setup to clone the repo and link it into the
docker container ?
Afterwards, the only thing left to do is eiter a npm install and a
./localdev run zen from the bash of the the container
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/CoderDojo/community-platform/issues/1061#issuecomment-253159880,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMb6AoOiZsbGSQ-VD0_wC1VI-6wjecZYks5qzKOjgaJpZM4KQJ3H
.

--
Warm Regards,
Akash Trivedi
206.778.9699

you need to replace /Users/jos/development/nodejs/cp-local-development with the path to cp-local-development on your own machine

Hello, is this issue still up?


Change Background Color For Better Readabilty

Problem?
The background Color is black which reduces the readability.

How to solve this?
We can change the background color to white for better readability.
Example:

What do you think? If it's okay, please assign me this issue.
@thisthat @mowies


Missing debug build type

Making a release build of an Android app works just fine. But when trying a debug build, I get the following Gradle error.
> Could not resolve all files for configuration ':drapi:debugRuntimeClasspath'.
   > Could not resolve com.soywiz.korlibs.klock:klock-android:1.5.0.
     Required by:
         project :drapi
      > Unable to find a matching variant of com.soywiz.korlibs.klock:klock-android:1.5.0:
          - Variant 'android-releaseApiElements' capability com.soywiz.korlibs.klock:klock-android:1.5.0:
              - Incompatible attributes:
                  - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found incompatible value 'release'.
                  - Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
              - Other attributes:
                  - Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
                  - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
                  - Found org.gradle.status 'release' but wasn't required.
                  - Required org.jetbrains.kotlin.platform.type 'androidJvm' and found compatible value 'androidJvm'.
          - Variant 'android-releaseRuntimeElements' capability com.soywiz.korlibs.klock:klock-android:1.5.0:
              - Incompatible attribute:
                  - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found incompatible value 'release'.
              - Other attributes:
                  - Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
                  - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
                  - Found org.gradle.status 'release' but wasn't required.
                  - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
                  - Required org.jetbrains.kotlin.platform.type 'androidJvm' and found compatible value 'androidJvm'.
          - Variant 'metadata-api' capability com.soywiz.korlibs.klock:klock-android:1.5.0:
              - Incompatible attributes:
                  - Required org.gradle.usage 'java-runtime' and found incompatible value 'kotlin-api'.
                  - Required org.jetbrains.kotlin.platform.type 'androidJvm' and found incompatible value 'common'.
              - Other attributes:
                  - Required com.android.build.api.attributes.BuildTypeAttr 'debug' but no value provided.
                  - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
                  - Found org.gradle.status 'release' but wasn't required.

The app:
https://github.com/clhols/drchannels/tree/klock-150
Execute:
./gradlew aMD

I tried to workaround by adding:
matchingFallbacks = listOf("release")
to the debug buildTypes in both androidApp and the drapi lib.
But then I get:
Duplicate class com.soywiz.klock.BuildConfig found in modules classes.jar (com.soywiz.korlibs.klock:klock-android-debug:1.5.0) and classes.jar (com.soywiz.korlibs.klock:klock-android:1.5.0)

Seeing com.soywiz.korlibs.klock:klock-android-debug above, which I didn't add myself, made me think that the dependency might be pull in automatically by the common klock. So I removed com.soywiz.korlibs.klock:klock-android from both androidMain and androidTest and sure enough. Everything works now. Both debug and release.


bug(flaky): Download progress counter fails to self update

Cortex version
v83
Describe the Bug
The download progress counter increments up to ~1-2 GB, then it stops self updating.
i.e. the values will be frozen and do not update.
Flaky, happens 1/2 times.
Solution: As a user, I can press enter and it resumes updating.
But it is going to confuse 70% of users who will think that the download has stalled/errored out. leading to a bad ux

Questions

What causes this issue? Feels like a terminal level issue, not us.
If it is unavoidable, should we put in some simple copy (e.g. press ENTER to refresh the counter)

Steps to Reproduce
No response
Screenshots / Logs
No response
What is your OS?

[X] MacOS
[X] Windows
[ ] Linux

What engine are you running?

[ ] cortex.llamacpp (default)
[ ] cortex.tensorrt-llm (Nvidia GPUs)
[ ] cortex.onnx (NPUs, DirectML)

Yeah, closing this as a non issue until actual users complain.


python310Packages.sunweg: 0.0.8 -> 0.0.11

Diff: https://github.com/rokam/sunweg/compare/refs/tags/0.0.8...0.0.11
Changelog: https://github.com/rokam/sunweg/releases/tag/0.0.11
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 218446 run on x86_64-linux 1

2 packages built:

python310Packages.sunweg
python311Packages.sunweg


Add FENCE.TSO RV32I instruction

Add optional RV32 instruction FENCE.TSO as fence_tso.
From the ISA:

The FENCE.TSO encoding was added as an optional extension to the original base FENCE instruction encoding. The base definition requires that implementations ignore any set bits and treat the FENCE as global, and so this is a backwards-compatible extension.

So it shouldn't break any existing implementations...

Hmm, that's interesting. We should probably be testing all other values of the FM field in that case, although testrig is some way away from being able to find memory ordering violations: it's only really single core for a start! At least we should check the other encodings don't trap, which I could imagine being a common mistake...


[stable/keycloak] how to add ca cert for connecting https sites

Is this a request for help?:
yes
Version of Helm and Kubernetes:
1.11.3
Which chart:
stable/keycloak
I am in corporate proxy environment, and my OpenID Auth URL is https (only provided).
Simple fix solution is add ca cert to keycloak docker image,
but docker image does not provide update-ca-certificates command.
So I have to do in kubernetes (helm chart),
I think I need run commands like
mkdir $JBOSS_HOME/.cacerts/
cp $JAVA_HOME/jre/lib/security/cacerts $JBOSS_HOME/.cacerts/
$JAVA_HOME/bin/keytool -keystore $JBOSS_HOME/.cacerts/cacerts -import -alias my -file /opt/jboss/cacert/ca.crt

ca.crt file is volume mounted from secret.
How to do this ?
And I need to use below options.
-Djavax.net.ssl.trustStore=$JBOSS_HOME/.cacerts/cacerts
-Djavax.net.ssl.trustStorePassword=changeit

I can handle this using extraArgs,
but I think it does not works actually.
For now, my values.yaml is
keycloak:
  basepath: keycloak
  username: keycloakadmin
  password: "1qaz2wsx"
  extraArgs: -Djavax.net.ssl.trustStore=/opt/jboss/keycloak/.cacerts/cacerts -Djavax.net.ssl.trustStorePassword=changeit
  extraEnv: |
    - name: https_proxy
      value: http://<IP_ADDRESS>:8080
    - name: PROXY_ADDRESS_FORWARDING
      value: "true"
  extraVolumes: |
    - name: scert
      secret:
        secretName: scert
  extraVolumeMounts: |
    - name: scert
      mountPath: /opt/jboss/.cacerts
      readOnly: true
  ingress:
    enabled: true
    path: /keycloak
    hosts:
    - test.net
    tls:
    - hosts:
      - test.net
      secretName: ingress-tls

Can anyone answer this part as I'm also facing the same issue.

Hey there,
I have been dealing with similar issue, working with recommended KC helm chart.
As stated in the KC docker docs:
Keycloak image allows you to specify both a private key and a certificate for serving HTTPS. In that case you need to provide two files:

tls.crt - a certificate
tls.key - a private key
Those files need to be mounted in /etc/x509/https directory. The image will automatically convert them into a Java keystore and reconfigure Wildfly to use it.

and
It is also possible to provide an additional CA bundle and setup Mutual TLS this way. In that case, you need to mount an additional volume (or multiple volumes) to the image. These volumes should contain all necessary crt files. The final step is to configure the X509_CA_BUNDLE environment variable to contain a list of the locations of the various CA certificate bundle files specified before, separated by space ().

This means, you need to store all the certs in a single secret, then mount the secret as files to appropriate destination:
The secret:
...
kind: Secret
name:  certs-secret-name
data:
  certA: <base64_encoded_certA_value>
  certB: <base64_encoded_certB_value>

Helm values:
extraVolumes: |
    ...
    - name: certs
      secret:
        secretName: certs-secret-name

extraVolumeMounts: |
   ...
    - name: certs
      mountPath: /etc/x509/https

extraEnv: |
    - name: X509_CA_BUNDLE
      value: /etc/x509/https/certA.pem /etc/x509/https/certB.pem

If you need to configure truststore settings you can manipulate those using jboss CLI:
 cli:
   ...
   custom: |
      /subsystem=keycloak-server/spi=truststore/provider=file/:write-attribute(name=properties.<prop-name>,value=<value>)

This can be useful in case you are using self signed PKIs - you might need to disable hostname verification, e.g.:
/subsystem=keycloak-server/spi=truststore/provider=file/:write-attribute(name=properties.hostname-verification-policy,value=ANY)


assistant_sdk failed, error: Error in HTTP transport completing operation

assistant_sdk failed, error: Error in HTTP transport completing operation

Can you provide more information about why this error occurred?

I deliberately tested the broken net ,When the network is good, grpc will automatically connect .
Although he had a little impact on my Internet socket, it was later OK

stream1 = std::shared_ptr<ClientReaderWriter<ConverseRequest, ConverseResponse>>(std::move(assistant->Converse(context)));
	::google::assistant::embedded::v1alpha1::ConverseConfig* converse_config = request1.mutable_config();
	converse_config->mutable_audio_in_config()->set_encoding(
		AudioInConfig::LINEAR16);
	converse_config->mutable_audio_in_config()->set_sample_rate_hertz(16000);
	converse_config->mutable_audio_out_config()->set_encoding(
		AudioOutConfig::MP3);
	converse_config->mutable_audio_out_config()->set_sample_rate_hertz(16000);
	stream1->Write(request1);

#Sleep(5 second)
         while (stream1->Read(&response))
         {}

         grpc::Status status = stream1->Finish();
	if (!status.ok()) {
		// Report the RPC failure.
		std::cerr << "assistant_sdk failed, error: " <<
			status.error_message() << std::endl;
		return;
	}

if sleep than more 5 seconde  than error error: Error in HTTP transport completing operation
grpc::Status status = stream1->Finish();
if (!status.ok()) {
// Report the RPC failure.
std::cerr << "assistant_sdk failed, error: " <<
status.error_message() << std::endl;
return;
}

If there is no response on the network from the gRPC call after a time, the connection will timeout.

you see from one side,i see. but  do you test in thread and for many times.have you  thought that

The sample app is designed to be a simple demonstration of the gRPC calls in C++. For a more robust implementation one may need to implement additional features.

“one may need to implement additional features.”  so hard, assistant grpc ,c++ template