"ClickHouse response without column types" when using CSV format

Carlos N reported below issue on Telegram:
Carlos N, [28.01.21 05:44]
Hello, I am seeing the following exception when I use the CSV format for the response of my queries:

Caused by: java.lang.IllegalArgumentException: ClickHouse response without column types
 at ru.yandex.clickhouse.response.ClickHouseResultSet.<init>(ClickHouseResultSet.java:111)
 at ru.yandex.clickhouse.ClickHouseStatementImpl.createResultSet(ClickHouseStatementImpl.java:899)
 at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:122)

Carlos N, [28.01.21 05:44]
Has anybody found the issue before? It only happens with some of the most complex queries. I run.

Carlos N, [28.01.21 05:45]
I am using the default jdbc driver

Carlos N, [28.01.21 05:44]
Hello, I am seeing the following exception when I use the CSV format for the response of my queries:

Caused by: java.lang.IllegalArgumentException: ClickHouse response without column types
 at ru.yandex.clickhouse.response.ClickHouseResultSet.<init>(ClickHouseResultSet.java:111)
 at ru.yandex.clickhouse.ClickHouseStatementImpl.createResultSet(ClickHouseStatementImpl.java:899)
 at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:122)

Carlos N, [28.01.21 05:44]
Has anybody found the issue before? It only happens with some of the most complex queries. I run.

Carlos N, [28.01.21 05:45]
I am using the default jdbc driver

Carlos N, [28.01.21 08:58]
[In reply to Zhichun Wu]
Yes, we are using FORMAT because we wanted CSVWithNames, the issue doesn't occur without the FORMAT parameter. Is there a way for it to work with that parameter? This is the full query.
select
    ...
from (
    ...
) as act
join ...
order by ...
 limit ? offset ?
FORMAT CSVWithNames

Denny Crane [Junior support specialist at Altinity (NB,Canada)], [28.01.21 08:59]
The fact that following is working in JDBC

select 1 a, 'aaa' b
from numbers(2)
FORMAT CSVWithNames

Is a bug and must be fixed. To avoid confusion.

What‘s the purpose of specifying a custom format when working with the JDBC driver? The driver exposes the response via ResultSet, no matter what format was given. I agree that current behavior is broken, though.

@zhicwu Hi! Is it possible to download csv file of "select ... FORMAT CSV" via clickhouse-jdbc?

@zhicwu Hi! Is it possible to download csv file of "select ... FORMAT CSV" via clickhouse-jdbc?

I think it's doable using extended API. I'll give it a shot tonight.

Hi @zhicwu! Do you have any progress on this?

Hi @zhicwu! Do you have any progress on this?

Thanks for your patience and sorry for no update for months. Fortunately, progress being made, stability and performance are improved, along with a few enhancements to the API, so now this can be simplified as following:
ClickHouseClient.dump(
  ClickHouseNode.builder()
    .withHost("my.ch.server")
    .withPort(ClickHouseProtocol.GRPC, 9100)
    .withDatabase("my_db")
    .build(),
  "select * from my_table",
  ClickHouseFormat.CSV,
  ClickHouseCompression.NONE,
  "/tmp/mytable.csv");

Note: compression is currently not supported very well, see ClickHouse/ClickHouse#28671 for details.
Now I'm still adding features and testing the client. If your work is somehow blocked by this, I can upload a version this weekend for you to play with. However, please be aware that the client is experimental, and you may have to upgrade ClickHouse server to a version containing changes from ClickHouse/ClickHouse#27064.


AzureCore should maybe integrate with VSCode accounts

VSCode Accounts Added

Thoughts?

My gut instinct is "yes" since it's likely that this is something they're going to be using across the app so it seems to make sense to hook into this if we can. Have you been able to look at all into what that would take? Is this something that other extensions can contribute to?


[VL][VCPKG] error stacktrace empty string problem when build with vcpkg

Problem description

Please describe how you were trying to build velox and what issue occured

When running with gluten library build with vcpkg, exeception stacktrace threw from velox side will by empty. The problem exists in current CI pipeline:

The reason of empty stack is lack of libdwarf. According to the code in velox, it needs folly built with libdrawf and libelf to get symbol from address.
https://github.com/facebookincubator/velox/blob/763c19c0c767035ce03573ca2dc852b1303eeb6f/velox/common/process/StackTrace.cpp#L17-L25
https://github.com/facebookincubator/velox/blob/763c19c0c767035ce03573ca2dc852b1303eeb6f/velox/common/process/StackTrace.cpp#L158-L184
But in current vcpkg building pipeline, folly does not build with libdrawf, as we can see in folly-config.h created by cmake.
/* #undef FOLLY_HAVE_DWARF */
#define FOLLY_HAVE_ELF 1
#define FOLLY_HAVE_SWAPCONTEXT 1
#define FOLLY_HAVE_BACKTRACE 1
#define FOLLY_USE_SYMBOLIZER 1
#define FOLLY_DEMANGLE_MAX_SYMBOL_SIZE 1024

A possible fix is adding libdwarf dependency in folly vcpkg.json manifest which was removed in PR https://github.com/apache/incubator-gluten/pull/5314/files
System information
Velox System Info v0.0.2
Commit: d4d3bee96dd40d127545d513bd7a688123c2ff14
CMake Version: 3.17.5
System: Linux-3.10.0-957.el7.x86_64
Arch: x86_64
CPU Name: Model name: Intel Core Processor (Skylake, IBRS)
C++ Compiler: /opt/rh/devtoolset-9/root/usr/bin/c++
C++ Compiler Version: 9.3.1
C Compiler: /opt/rh/devtoolset-9/root/usr/bin/cc
C Compiler Version: 9.3.1
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt
CMake log
No response

Thanks for your findings. And AFAIK we still need to switch to e.g., RelWithDebInfo build to obtain the symbols in CI. We are using Release so far if I remember correctly.

AFAIK, cmake build with Release does not strip .symtab section of output file. I guess velox only needs  .symtab section to get the symbol of address , and doesn't need debug info.
https://github.com/facebookincubator/velox/blob/763c19c0c767035ce03573ca2dc852b1303eeb6f/velox/common/process/StackTrace.cpp#L158-L184
Sample error stacktrace looks like below :


[CELEBORN-1199][FOLLOWUP] Disabled the plugin AddMetaInfLicenseFiles for shaded clients

What changes were proposed in this pull request?
As title
Why are the changes needed?
https://github.com/apache/incubator-celeborn/pull/2189#issuecomment-1870940496
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually tested

Thanks, merged to main/0.4


Cannot save media directly in Camera Roll, it creates an album and puts media into that

Hi Yusuf,
Hope you are doing great! And thanks for your great work "NatCorder - Video Recording API", we purchased it!
On Android I am trying to save images and videos directly into Camera Roll, not under any album. So I wrote code as follows -
var payload = new SavePayload();
I did not set any album here, but it still creates album "Movies" and "Pictures" and puts the medias into those albums. How can I put media directly into Camera Roll, not under any album?
Thank you so much in advance!!

Hey @arif69eee , what device and OS version are you running on? If you're on Android, then this is the default behaviour from Android: https://github.com/natsuite/NatShare/blob/1.2.5/Android/NatShare/src/main/java/api/natsuite/natshare/SavePayload.java#L66-L75

Hi Yusuf,
Thanks for quick response!
I cannot not see the issue in my Android but the issue was seen in my client's phone, I don't know which version and model he is using.
But I could just solved it. The issue was, when I was setting no album, the NatShare was saving the medias outside of the DCIM folder of Android. So some android devices were not showing the medias in the gallery directly but under an album "Movies" or "Pictures". Now I just put an album name, so it creates that album under the DCIM folder and the gallery app is showing the media directly in the gallery as well as under the newly created album.
Thanks!

Hm that sounds good. I'm closing this issue.

Yes please. Thanks!


Add aria-describedby attribute to date input

When using a screen reader you are able to type in a date but you don't know about any restrictions the date component might have.
This pull request adds the ability to inform screen reader users about the constraints of the component they are using via the aria-describedby attribute.
Any text passed into the new screenReaderInputMessage prop will be read out when a screen reader user interacts with the input.
Closes #261

Coverage remained the same at 84.857% when pulling 93eaca7f4c843c9acc069bde3d56c74d6a67c539 on allanpope:master into 67c0fb5b4ac0d5752fef7196a037693ae2861108 on airbnb:master.

Coverage remained the same at 84.857% when pulling 93eaca7f4c843c9acc069bde3d56c74d6a67c539 on allanpope:master into 67c0fb5b4ac0d5752fef7196a037693ae2861108 on airbnb:master.

@backwardok or @wyattdanger would you mind taking a look at this PR as our resident a11y experts?

Coverage increased (+0.02%) to 85.16% when pulling 53e29c7b90db0fdad4a829fa695a9d69453858c9 on allanpope:master into 0bd70728e50566d96df2f5aa8e13925fa26d3583 on airbnb:master.

Coverage increased (+0.02%) to 85.16% when pulling 73b69843b93400bc7f2866631d13fd13db1b2142 on allanpope:master into 0bd70728e50566d96df2f5aa8e13925fa26d3583 on airbnb:master.

Great! Please rebase, squash, write a solid commit message, and then we'll be good to ship. Thank you Allan

@wyattdanger @ljharb Thanks for taking a look at it.
I've just rebased, squashed & committed.

Coverage increased (+0.02%) to 85.16% when pulling 823032880ead06c46efe35d04f8011c6c1db595d on allanpope:master into 0bd70728e50566d96df2f5aa8e13925fa26d3583 on airbnb:master.

Coverage increased (+0.02%) to 86.926% when pulling 31307c8b2a4aee83c897a3d10e6f675f7710d17d on allanpope:master into a7eeda25a303030793b995beef6c9f9fc1cecc1f on airbnb:master.

Coverage increased (+0.02%) to 86.926% when pulling ab9c5d96e389c9a88a5a86224a6052aa8b4287e2 on allanpope:master into a7eeda25a303030793b995beef6c9f9fc1cecc1f on airbnb:master.


HLS: Adding more smooth action software integration

Signed-off-by: Frank Haverkamp<EMAIL_ADDRESS>

Failing test-cases are, as far as I saw, caused by different issues with timing and not the Makefile changes in this set of patches.


unvell.ReoGrid.Drawing.RichText Can't find

unvell.ReoGrid.Drawing contains Text
How can I use the funtion of RichText?
sheet["B2"] = new Drawing.RichText() xxx
The link https://reogrid.net/document/rich-format-text/  no help

You can try the full class name unvell.ReoGrid.Drawing.RichText.

Make sure you using the latest version binary, either one of following:

Downloaded from ReoGrid webiste
Built from latest source code, that can be download from here
Installed from NuGet

The source code contains the RichText class, so make sure you are using correct DLL file.


ci(lint): Fix golint error

Description
This PR fixes #435
Notes for Reviewers
Signed commits

[X] Yes, I signed my commits.

@gyohuangxin ready for another try

@gyohuangxin new attempt

@gyohuangxin here we go
if you check the first steps it works as expected, the golonglint-ci action also covering the following linters by default so we can remove duplicates:

errcheck
gosimple
govet
ineffassign
staticcheck
unused

see here https://github.com/service-mesh-performance/service-mesh-performance/actions/runs/10646469733/job/29522941402#step:5:27
starting to work on test part

@lekaf974 Great jobs!

@gyohuangxin new update

remove duplicate action
Attempt fix kind cluster creation

@lekaf974 The CI piplines are green. Thanks for your great contribution 👍 👍 👍


Use wxGETTEXT_IN_CONTEXT() for "Needs work"

Take advantage of wxWidgets 3.1.1's support for translation contexts
and use it for "Needs Work"/"Needs work".
This very string has been troublesome with Finnish, as the translation
would need to be different in the editing area and in statistics.
There's probably one more "Needs work" entry in the closed-source statistics page.

I am confident I couldn't write a commit message that satisfies you anyway, so feel free to
rephrase.)

Thanks!
This addresses #384.
It would be nice if you could explain why the strings are ambiguous in Finnish, because that isn't obvious to non-Finns like me, and contexts like "editing_area" or "manager" don't add much in terms of contextual information. Is it verb vs X or something else? What if it gets added elsewhere, how to treat it then? What about Edit → Translation needs work, which one is it? Understanding this would help me with both proper contextualization in the future, and with grasping the severity.
Severity matters, because this isn't as simple as just applying the patch. Loosing existing translations is something I can handle at Crowdin, hopefully, but the larger problem is that wx-3.1.1 is unstable.  Until API-stable wx-3.2.0 is released, I can't make modern enough wx version a requirement on Unix.
Which means that until then, the only way to do this is by defining own version of wxGETTEXT_IN_CONTEXT (an avenue towards that can be seen on line 1375 here). That's worth doing for really bad stuff, but maybe isn't worth the hassle for some tiny nitpicking. I am incompetent to make that judgement call without more information, and would thus appreciate some informative help.

I am confident I couldn't write a commit message that satisfies you anyway, so feel free to
rephrase.)

I can't say I appreciate such snide remarks in such inappropriate places. Feel free to vent as much as you want in the PR description & comments, but adding it into the commit message itself?
As for the subject of the snideness, I always and consistently only ask that commit messages follow widely recognized, universally accepted and amply documented git commit message guidelines that are thoughtfully explained and backed by rational arguments — those, as I suspect you know, boil down to some formatting and, indeed, "explaining what the commit does and why".

It would be nice if you could explain why the strings are ambiguous in Finnish, because that isn't obvious to non-Finns like me, and contexts like "editing_area" or "manager" don't add much in terms of contextual information.

Yes, I am not sure what the context is really meant to contain... The gettext documentation suggests it is something pretty short, and presumably it is not intended to be a substitute for the translator comments.

Is it verb vs X or something else?

In Finnish, "needs work" conveniently translates with one word, an adjective. And here the ambiguity is about singular vs. plural, as in the editing area the meaning is "[this one] needs work", while e.g. in the statistics it's "[this many items whose status is] needs work". It is not a huge problem, the translation is just a little awkward in one place or another, depending on the choice between singular/plural. Other items in the statistics are in plural.

What if it gets added elsewhere, how to treat it then? What about Edit → Translation needs work, which one is it?

If exactly the same string gets added elsewhere, then I suppose it would be wise to have it with a context. Assuming the menu item's exact string is only used in one place, then there is no ambiguity to solve.

Severity matters, because this isn't as simple as just applying the patch. Until API-stable wx-3.2.0 is released, I can't make modern enough wx version a requirement on Unix.

Once I noticed that Poedit's git version uses 3.1 series, I kind of assumed using its new features is permitted, but I'm painfully aware of the practical difficulties of adopting an ABI-unstable 3.1 on Unix.

Which means that until then, the only way to do this is by defining own version of wxGETTEXT_IN_CONTEXT
That's worth doing for really bad stuff, but maybe isn't worth the hassle for some tiny nitpicking.

Certainly not worth doing for just this one string in Finnish (and I don't recall there would be any other similar strings to worry about currently).

I am confident I couldn't write a commit message that satisfies you anyway, so feel free to
rephrase.)

I can't say I appreciate such snide remarks in such inappropriate places. Feel free to vent as much as you want in the PR description & comments, but adding it into the commit message itself?

I know you are strict about commit messages following the guidelines, and in the past I have failed even when attempting to follow the guidelines you were referring to back then (probably this one. As a result, here you chose to publicly announce my failure, even though you apparently only added a newline to wrap the text (an obvious mistake on my side), and removed the trailing period of the summary line (which was not explicitly forbidden by the guideline at the time).

Certainly not worth doing for just this one string in Finnish (and I don't recall there would be any other similar strings to worry about currently).

I realized there's a way to do it compatibly with wx-3.0: use context only for one of the strings, and fall back to context-less string with old wx versions.
Is my understanding correct, then, that "Needs work" in the main UI is singular, and the ones in both the manager (in your patch; column header) and in statistics (row header) are the same, plural?

I realized there's a way to do it compatibly with wx-3.0: use context only for one of the strings, and fall back to context-less string with old wx versions.
Is my understanding correct, then, that "Needs work" in the main UI is singular, and the ones in both the manager (in your patch; column header) and in statistics (row header) are the same, plural?

Yes, that is correct.

I committed the disambiguation in 95ae719, with you as the author — it is the simplified version discussed above, but still substantially your work.
Note that at Crowdin, the string didn't show up as new one due to peculiarities of what Crowdin sees as duplicate or not. It is editable there, but pre-filled with the identical translation. Had I known how Crowdin behaves before, I wouldn't have waited this long with committing the fix: I expected it to appear as a new string, requiring translations, and didn't want to break existing localizations in 2.4.x series. That turned out to be a non-issue and I could have merged it much sooner :(
Anyway: Thanks again for both the PR and the explanations!


Updated Readme

Description
Added the mentor for Product Management.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules

Reviewer: Vinit Shahdeo

@goyalmuskan Please change the PR title.

done @vinitshahdeo :)

@goyalmuskan Great!
Merging this.


fix(OrganicResults): Update desc selector and fix other minor issues

As title says. I'll be rewriting this package "soon", so I won't fix the desktop search parser or reverse image search right now.

Hai! Will the upcoming rewrite include reduced reliance on selectors? I've noticed those need to be maintained frequently and was wondering if you had a separate solution in mind.


Restructure Project

Purpose
Restructure project so we can support both nodejs and web environments.
Changes

Split the SDK into a common package and a nodejs package.
Added a "web" package that can be bundled for web. (Currently just exposes everything from the common package)

Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
[ ] (If necessary) I have updated the CHANGELOG.

If I run
yarn test

then it fails.

They should run now, though they fail because the nodes have been updated.


c++ error with conversion to integer

Using latest anaconda python, latest boost, latest pythran and
latest clang, the following code snippet causes a compile error:
import numpy
pythran export bug(float[])
def bug(x):
    ints=numpy.zeros(5,'int')
    ints[0]=int(numpy.floor(x))

    return ints

#print bug(2.1)
The error is as follows:
%pythran bug.py
CRITICAL Leave the vessel! Women and children first!
C++ compiler failed to compile translated code.
E: Compile error!
******** Command line was: ********
'clang' '/tmp/tmpXBA5cx.cpp' '-I/opt/anaconda/include/python2.7' '-I/opt/anaconda/lib/python2.7/site-packages/numpy/core/include/numpy' '-I/opt/anaconda/lib/python2.7/site-packages/.' '-I/opt/anaconda/lib/python2.7/site-packages/pythran' '-I/opt/anaconda/lib/python2.7/site-packages/pythran/pythonic/patch' '-DENABLE_PYTHON_MODULE' '-DUSE_GMP' '-O2' '-g' '-std=c++11' '-O2' '-shared' '-o' 'bug.so' '-L/opt/anaconda/lib/python2.7/config' '-lpthread' '-ldl' '-lutil' '-lpython2.7' '-lboost_python' '-lgmp' '-lgmpxx' '-fPIC' '-ltcmalloc_minimal'
******** Output :  ********
In file included from /tmp/tmpXBA5cx.cpp:11:
/opt/anaconda/lib/python2.7/site-packages/pythran/pythonic/builtin/int_.hpp:13:24: error: no viable conversion from 'pythonic::types::numpy_expr<pythonic::numpy::proxy::floor, pythonic::types::ndarray<double, 1> >' to 'long'
return t;
^
/opt/anaconda/lib/python2.7/site-packages/pythran/pythonic/builtin/int_.hpp:25:38: note: in instantiation of function template specialization 'pythonic::builtin::int_<pythonic::types::numpy_expr<pythonic::numpy::proxy::floor, pythonic::types::ndarray<double, 1> > >' requested here
PROXY(pythonic::builtin, int_);
^
/opt/anaconda/lib/python2.7/site-packages/pythran/pythonic/utils/proxy.hpp:21:35: note: expanded from macro 'PROXY'
#define PROXY(ns,f) FPROXY(ns, f, f)
^
/opt/anaconda/lib/python2.7/site-packages/pythran/pythonic/utils/proxy.hpp:15:28: note: expanded from macro 'FPROXY'
return ns::f(std::forward(types)...);
^
/tmp/tmpXBA5cx.cpp:66:25: note: in instantiation of function template specialization 'pythonic::builtin::proxy::int_::operator()<pythonic::types::numpy_expr<pythonic::numpy::proxy::floor, pythonic::types::ndarray<double, 1> > >' requested here
std::get<0>(ints) = pythonic::builtin::proxy::int_{}(pythonic::numpy::proxy::floor{}(x));
^
/tmp/tmpXBA5cx.cpp:77:30: note: in instantiation of function template specialization '__pythran_bug::bug::operator()<pythonic::types::ndarray<double, 1> >' requested here
return __pythran_bug::bug()(a0);
^
1 error generated.

Thanks for the bug report---I can reproduce the error, it is due to the __builtin__.int function not being overloaded for numpy.ndarray.

(as a side note, calling numpy.zeros with a dtype given as a string is not supported, you must use numpy.zeros(10, numpy.int) instead.)

There's also a typo in your code, as you're assigning a ndarray to an int. So the code I used for the bugfix is
import numpy
#pythran export bug(float[])

def bug(x):

    ints=numpy.zeros((5,5),numpy.int32)
    ints[0]=numpy.int32(numpy.floor(x))

    return ints

does that match your needs? (it turns out the _builtin__.int function does not support conversion of ndarray in Python either)

Hi Serge,
yes, if this works it will fit my needs,
thanks.
After gaining some experience with pythran, I can say it produces fast
code as expected.
For convenience of development, I have two suggestions that  would help
me a lot if implemented:

one should be able import self-generated pythran modules in pythran
(see also issue Extra need of PYTHONPATH #403)
I could not get that working. If it worked this would allow splitting a
file with many defs into smaller files and
to compile them in parallel to get better turnaround time for debugging.
Once all the split functions compile, one can compile also the whole file.
there would be a consistency check between the

pythran export xxxx
line and the
def xxxx
line already at the beginning when python syntax is checked.
Currently, if  an argument is missing or is an array instead of a scalar
in the # pythran line,
this is not detected by pythran but the underlying c++ compiler, often a
few minutes later.
If such issues were checked early before or during generation of the AST
tree it would reduce turnaround time a lot.
Kind regards,
Leo
Am 20.03.2015 um 07:39 schrieb serge-sans-paille:

There's also a typo in your code, as you're assigning a |ndarray| to
an |int|. So the code I used for the bugfix is
import  numpy
#pythran export bug(float[])
def  bug(x):
 ints=numpy.zeros((5,5),numpy.int32)
 ints[0]=numpy.int32(numpy.floor(x))

 return  ints

does that match your needs? (it turns out the |builtin_.int|
function does not support conversion of ndarray in Python either)
—
Reply to this email directly or view it on GitHub
https://github.com/serge-sans-paille/pythran/issues/409#issuecomment-83938994.

--
Ao. Prof. Dr. Leopold Haimberger
Department of Meteorology and Geophysics
Althanstrasse 14 1090 Wien
AUSTRIA
Tel. +43 1 4277 53712
Mobile: +43<PHONE_NUMBER>
Fax +43 1 4277 9537
www: http://imgw.univie.ac.at/

Hi leohaim,
Thanks for these feedback.
About #403, this issue is validating before being merged in the master branch but as you say, we do not support Pythran module imported in another Pythran module. I think there are few reasons for this:

As it is compiled, with module a loading module b and module c loading module b, if you update b for something in a, it has some risk to break your module b. (Well it is not a really good argument because it may happen in Python too)
If we import Pythran module, it will disable some inter-procedural optimizations. (Ok, it is user choices...)
How can we specify if we want to import the Python module or the Pythran one? (I think this is the only real blocking issue)
The import of custom modules is very recent in the master branch of Pythran so we didn't have enough feedback to continue on it. But hopefully, you are here :-)

For the second point, for now, the typing part is forwarded to the C++ compiler. We plan to change this but I didn't succeed for now. I should try again soon.
Thanks
Pierrick

Thanks! I will try asap.
Leo
Am 26.03.2015 um 21:19 schrieb pbrunet:

Closed #409 https://github.com/serge-sans-paille/pythran/issues/409
via #410 https://github.com/serge-sans-paille/pythran/pull/410.
—
Reply to this email directly or view it on GitHub
https://github.com/serge-sans-paille/pythran/issues/409#event-266300403.

--
Ao. Prof. Dr. Leopold Haimberger
Department of Meteorology and Geophysics
Althanstrasse 14 1090 Wien
AUSTRIA
Tel. +43 1 4277 53712
Mobile: +43<PHONE_NUMBER>
Fax +43 1 4277 9537
www: http://imgw.univie.ac.at/


add requirement for billing setup

Initially I was getting errors, and didn't realise that while I had an API key, I didn't have billing enabled in OpenAI. Thought this might help others.

Thanks for this!


task breaks authselect, which is critical to detect modifications to the auth stack

I'm uncertain how to properly fix this other than create a new custom authselect profile, however modifying the password-auth and system-auth files is not the correct way.
https://github.com/ansible-lockdown/RHEL8-CIS/blob/bc4cdf885ce563ec9682caf65131bda9cb38277e/tasks/prelim.yml#L238
this task modifies the pam stack and then authselect check will fail and report tampering with the authentication stack. This is important for intrusion detection to detect when the pam stack is not configured to the profile.
this also breaks the ability for authselect to enable/disable features from other automation.

hi @karlg100
Thanks for raising this issue, i am rewritting this section on how the authselect actually works, so you can pass it a profile you already have and it discovers any potential issues. Although standard it creates a backup bewfore any changes.
The problem is many people havnt moved to using authselect, so we are trying to cater for as many as possible.
Please feel free to try out the new branch, should be there later today/ tomorrow morning and feedback see if thats an improvement on the way it works.
The options in defaults main are greatly reduced.
many thanks
uk-bolly

Merged to main
many thanks
uk-bolly


Dynamic device discovery + support multiple ODrives

This supports dynamic discovery of ODrives (ie devices connecting/disconnecting/reconnecting/rebooting while the program is running). It also adds support for interfacing with multiple ODrives simultaneously and adds a reboot button per ODrive.
This builds upon (but pretty much re-does) #9
This fixes #4

Any thoughts about this @falkoschindler @rodja?

@falkoschindler is currently not in the office. He will have a look early next week.


master --> live

Docs Build status updates of commit 48d5f26:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/console-virtual-terminal-sequences.md
:white_check_mark:Succeeded
View

docs/createconsolescreenbuffer.md
:white_check_mark:Succeeded
View

docs/creating-a-pseudoconsole-session.md
:white_check_mark:Succeeded
View

docs/getlargestconsolewindowsize.md
:white_check_mark:Succeeded
View

docs/handlerroutine.md
:white_check_mark:Succeeded
View

docs/low-level-console-input-functions.md
:white_check_mark:Succeeded
View

docs/low-level-console-output-functions.md
:white_check_mark:Succeeded
View

docs/registering-a-control-handler-function.md
:white_check_mark:Succeeded
View

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.


Checkbox -> item.indexOf is not a function

OS: Mac High Sierra 10.13.4
Node.js: v8.9.4
Vuesax: ^3.0.46
Browser: Chrome 67.0.3396.62 (Official Build) (64-bit)
Package Manager: npm

When using a checkbox component (Vuesax is globally registered), I get the item.indexOf is not a function error.
{{ user.first_name }} {{ user.last_name }}
The checkboxes are correctly styled and can be checked. This issue occurs when clicking to remove the check.

You could pass me a sample of the code to verify how the error occurs and fix it, thank you very much for the contribution

Already the problem is solved thank you very much for the contribution, please check if it works as it should thanks


Problems while building opendetection on windows platform

I am trying to build opendetection in Microsoft Visual Studio 2012. Here are the issues:

missing header files glob.h, sys/time.h and sys/cdefs.h in windows.
These header files are availble in ubuntu so it will not generate an error while building opendetection on ubuntu.

Error: typename cannot be used outside a template declaration in ODDetection.h

Hi,
Our code is only supported for linux now. By the end of September, we are hoping to support (at least get things running) windows platform as well.
Meanwhile you can implement your own glob function for windows (with unix glob like functionalities) by following this SO post:
http://stackoverflow.com/questions/15052998/what-to-substitute-for-glob-t-and-glob-on-port-to-windows
Thanks,
Kripa

Hello,
Are there any news concerning windows support?
Regards,
Lena


Add distribution development process overview

The process of producing a ROS 2 distribution is long and full of work, but until know it has been mostly hidden from the ROS community. Not intentionally, just that it wasn't advertised.
This PR adds a high-level overview of the process, with space to check off items as they are completed. This will give the community more insight into the work that goes into producing a new distribution of ROS 2, along with rough updates on progress.

Would Release-Process.rst be an entirely separate page or included in the Iron Irwini page somehow?

I would think it'd be a separate page.

It looks like there's two things happening in this document,

Outlining the steps for producing a new ROS release
Maintaining an active checklist of what steps have been done for Iron

IMO, these two things could be separate. We could maintain a distro-agnostic set of steps that live in the docs (1), and separately a checklist for Iron (based on (1)). I think maintaining (2) in a GitHub issue would be less cumbersome to update, e.g. updating the checklist and adding comments about progress.

I've created a ticket for Iron Irwini that can document the process and progress; it looks like it would duplicate a lot of the standard checklist issue, so I think we should just use the Iron checklist issue. I've updated the PR to put the process overview in its own page and reference it (and the issue) from the Iron page.


Install Error

Issue Type
Build/Install
Source
source
Secretflow Version
latest
OS Platform and Distribution
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
What happend and What you expected to happen.
When I use "pip install -U secretflow":
ERROR: Could not find a version that satisfies the requirement secretflow (from versions: none)
ERROR: No matching distribution found for secretflow

Reproduction code to reproduce the issue.
pip install -U secretflow

Hi Hiramdu,
Can you fill-in OS Platform info in issue template?
Best

x86_64

x86_64

Could you also provide OS and Python version?
All those informations in the issue template can really help us identify issues in time.
Thanks
~A

Linux
VERSION="2018.03"
Python 3.6.13
Is it what you ask?

Linux VERSION="2018.03" Python 3.6.13 Is it what you ask?

Yes. Secretflow requires Python 3.8, you can use miniconda to setup a Python 3.8 virtual env


Integrate tests with a local Firebase instance

This looks promising https://www.firebase.com/blog/2015-04-24-end-to-end-testing-firebase-server.html

Possible way for accessing an actual firebase instance without exposing the key to github:
A config file inside the project that points to an environmental variable FIREBASE_CONF, which points to a file containing the auth information (probably most convenient in JSON format)

@bar9 pushed the change, all the details are in README. Let me know if this works for you, if so we can close this.


Changed text in options (About, Fullscreen, Change Background) to relevant icons along with tooltip text.

Motivation
I felt that the existing options were a bit too verbose and instead of text, icons would be a better option.
Changes
In this PR, I have changed the text for the options at the bottom-right of the page (About, Fullscreen & Change Background), to relevant icons pointing to the option, along with a tooltip text to signify what the option does.
Before -

After -

Additional Comments
Do let me know if there are some additional changes can be made. Thank you!

Wow, surely you pay attention to the details, @bigsbunny :) Thank you!


POST a new pet

Description

Removed pet_types table and added pet_breed to pet_table, adjusted seeds accordingly.
POST pet route working

Type

[ ] This is a bugfix.
[x] This is a new feature.
[ ] This is part of a feature.

Organization

[ ] Have you linked this pull request to a Trello card?
[x] Have you named the branch in the format of feature/describe_feature_or_change OR bug/describe_bug_this_is_fixing

Review

[ ] Is this a work in progress?
[x] Is this ready to be reviewed?
[x] Have you added two reviewers to this pull request?

for some reason, my .idea file was not ignored even though I put in in the .gitignore.  We will have to manually remove it from main after the merge.


feat: add debug logging of requests/responses

This commit adds debug logging of outbound requests and inbound
responses.  These will be logged if log level "debug" is enabled.
BREAKING CHANGE: several methods added to Logger interface
Several methods were added to the Go core's Logger interface:
SetLogLevel(), GetLogLevel(), IsLogLevelEnabled(),
IsDebugEnabled(), IsInfoEnabled(), IsWarnEnabled(), IsErrorEnabled()
These additional methods will need to be added to any
user implementations of the Logger interface.
BREAKING CHANGE: additional parameter added to NewLogger() signature
The NewLogger() function has a new parameter "stderrLogger".
Any calls to NewLogger() will need to be modified to include the
new parameter.
  If you
have old generated Go code that still uses these methods, then you should continue
using version 4 of the Go core, or regenerate your SDK code using a new version of the
SDK generator.

I think that is the longest commit message I've ever written :1st_place_medal:

I think that is the longest commit message I've ever written :1st_place_medal:

I think you need to update your comment to reflect your updated implementation

Good catch.  I updated the comment.   I fixed it in one place initially, but missed the second place :)

I think you need to update your comment to reflect your updated implementation

Good catch.  I updated the comment.   I fixed it in one place initially, but missed the second place :)

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Recommend a project and compilation configuration

Really happy to stumble across this project while wrestling with the official Notion SDK in ts.
Unfortunately, though, I can't get my project configurations correct to build my project with the generated code. I'm not sure if it's NodeNext or something else, but files are not linking -- I think because the lack of explicit file extensions. That said, even after adding .js to imports throughout, I'm getting a lot of errors about implicit 'any' type.
Would love an example project or similar to just use as a template even.
Config:
{
  "compilerOptions": {
    "strict": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "preserveWatchOutput": true,
    "noEmit": true,
    "module": "NodeNext",
    "target": "ES2021",
    "moduleResolution": "NodeNext",
    "sourceMap": true,
    "outDir": "build",
    "rootDir": ".",
    "paths": {
      "#root/*": ["./src/*"]
    }
  },
  "include": ["src/**/*"]
}

And an excerpt of the errors:
src/notion-sdk/core/src/generic-db.ts(39,19): error TS7008: Member 't' implicitly has an 'any' type.
src/notion-sdk/core/src/p-throttle.ts(44,9): error TS7034: Variable 'strictTicks' implicitly has type 'any[]' in some locations where its type cannot be determined.
src/notion-sdk/core/src/p-throttle.ts(50,41): error TS7005: Variable 'strictTicks' implicitly has an 'any[]' type.
src/notion-sdk/core/src/p-throttle.ts(62,31): error TS7005: Variable 'strictTicks' implicitly has an 'any[]' type.
src/notion-sdk/core/src/p-throttle.ts(65,5): error TS7005: Variable 'strictTicks' implicitly has an 'any[]' type.
src/notion-sdk/core/src/p-throttle.ts(74,11): error TS7006: Parameter 'function_' implicitly has an 'any' type.
src/notion-sdk/core/src/p-throttle.ts(75,33): error TS7019: Rest parameter 'arguments_' implicitly has an 'any[]' type.
src/notion-sdk/core/src/p-throttle.ts(77,51): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
src/notion-sdk/core/src/p-throttle.ts(80,11): error TS7034: Variable 'timeoutId' implicitly has type 'any' in some locations where its type cannot be determined.
src/notion-sdk/core/src/p-throttle.ts(84,35): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
src/notion-sdk/core/src/p-throttle.ts(85,24): error TS7005: Variable 'timeoutId' implicitly has an 'any' type.
src/notion-sdk/core/src/p-throttle.ts(106,7): error TS7005: Variable 'strictTicks' implicitly has an 'any[]' type.
src/notion-sdk/dbs/support-requests/db.ts(30,11): error TS7053: Element implicitly has an 'any' type because expression of type '"and" | "or"' can't be used to index type '{}'.
  Property 'and' does not exist on type '{}'.
src/notion-sdk/dbs/support-requests/db.ts(39,26): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ readonly due: "date"; readonly resolved: "date"; readonly assignee: "people"; readonly contactName: "rich_text"; readonly tags: "multi_select"; readonly email: "email"; readonly description: "rich_text"; ... 4 more ...; readonly replyTs: "rich_text"; }'.
  No index signature with a parameter of type 'string' was found on type '{ readonly due: "date"; readonly resolved: "date"; readonly assignee: "people"; readonly contactName: "rich_text"; readonly tags: "multi_select"; readonly email: "email"; readonly description: "rich_text"; ... 4 more ...; readonly replyTs: "rich_text"; }'.
src/notion-sdk/dbs/support-requests/db.ts

Well, tsup seems happier with everything. If anyone else runs into this, try using it instead of tsc.
Here is the command in package.json:
"dev": "tsup src/main.ts --watch --onSuccess \"node dist/main.cjs\"",


Saving unmanaged object throws exception

How frequently does the bug occur?
All the time
Description
Recently updated Realm from v10.7.6 to v10.25.2 and code that was previously working now throws an exception;
Object has been deleted or invalidated
Specifically, the exception is raised when saving an unmanaged object.
Stacktrace & log output
0x0000000109168884 in RLMVerifyAttached(RLMObjectBase*) at /Users/admin/Documents/Code/app/Pods/Realm/include/RLMObject_Private.hpp:42
0x00000001091684dc in RLMDynamicValidatedSet at /Users/admin/Documents/Code/app/Pods/Realm/Realm/RLMAccessor.mm:670
0x00000001092449e0 in RLMObjectBaseSetObjectForKeyedSubscript at /Users/admin/Documents/Code/app/Pods/Realm/Realm/RLMObjectBase.mm:459
0x000000010923f108 in -[RLMObject setObject:forKeyedSubscript:] at /Users/admin/Documents/Code/app/Pods/Realm/Realm/RLMObject.mm:96
0x0000000105a1f2e4 in __42-[appContentRepository addOrUpdateObject:]_block_invoke at /Users/admin/Documents/Code/app/appKit/appContentRepository.m:387
0x00000001093c889c in -[RLMRealm transactionWithoutNotifying:block:error:] at /Users/admin/Documents/Code/app/Pods/Realm/Realm/RLMRealm.mm:729
0x00000001093c8724 in -[RLMRealm transactionWithBlock:error:] at /Users/admin/Documents/Code/app/Pods/Realm/Realm/RLMRealm.mm:720
0x00000001093c868c in -[RLMRealm transactionWithBlock:] at /Users/admin/Documents/Code/app/Pods/Realm/Realm/RLMRealm.mm:716
0x0000000105a1f110 in -[appContentRepository addOrUpdateObject:] at /Users/admin/Documents/Code/app/appKit/appContentRepository.m:376
0x0000000104c1f9dc in -[appContentViewModel saveappContentSearchHistory:] at /Users/admin/Documents/Code/app/app/appContentViewModel.m:169
0x0000000104c091e8 in -[appContentVC execSearch:] at /Users/admin/Documents/Code/app/app/appContentVC.m:771
0x0000000104c16048 in -[appContentVC textFieldShouldReturn:] at /Users/admin/Documents/Code/app/app/appContentVC.m:2326
0x000000019bc30890 in -[UITextField keyboardInput:shouldInsertText:isMarkedText:] ()
0x000000019b8027f4 in -[UIKeyboardImpl callShouldInsertText:] ()
0x000000019b815304 in -[UIKeyboardImpl addWordTerminator:afterSpace:afterAccepappgCandidate:elapsedTime:executionContext:] ()
0x000000019b01fe78 in -[UIKeyboardTaskExecutionContext returnExecutionToParentWithInfo:] ()
0x000000019b813aa4 in -[UIKeyboardImpl acceptAutocorrectionForWordTerminator:executionContextPassingTIKeyboardCandidate:] ()
0x000000019b81335c in -[UIKeyboardImpl addInputEvent:executionContext:] ()
0x000000019b812e8c in __81-[UIKeyboardImpl addInputString:withFlags:withInputManagerHint:executionContext:]_block_invoke ()
0x000000019b01fe78 in -[UIKeyboardTaskExecutionContext returnExecutionToParentWithInfo:] ()
0x000000019b812e48 in -[UIKeyboardImpl addInputString:withFlags:withInputManagerHint:executionContext:] ()
0x000000019b825c24 in -[UIKeyboardImpl handleKeyWithString:forKeyEvent:executionContext:] ()
0x000000019b7fcb74 in -[UIKeyboardImpl performOperations:withTexappputSource:] ()
0x000000019b825458 in -[UIKeyboardImpl handleKeyEvent:executionContext:] ()
0x000000019b8247d8 in __33-[UIKeyboardImpl handleKeyEvent:]_block_invoke ()
0x000000019b8245d4 in -[UIKeyboardImpl _handleKeyEvent:executionContext:] ()
0x000000019b77e128 in -[UIKeyboardLayoutStar completeRetestForTouchUp:timestamp:interval:executionContext:] ()
0x000000019b82e4f8 in __45-[UIKeyboardLayout touchUpTaskForTouchState:]_block_invoke ()
0x000000019b82e63c in __28-[UIKeyboardLayout touchUp:]_block_invoke ()
0x000000019b047e9c in -[UIKeyboardTaskEntry execute:] ()
0x000000019aef4b44 in -[UIKeyboardTaskQueue conappueExecutionOnMainThread] ()
0x000000019ac03008 in -[UIKeyboardLayout touchUp:] ()
0x000000019b82e208 in -[UIKeyboardLayout _touchEndedProcessingForTouches:] ()
0x000000019ac19e60 in -[UIWindow _sendTouchesForEvent:] ()
0x000000019ac4b100 in -[UIWindow sendEvent:] ()
0x000000019adf8ae4 in -[UIApplication sendEvent:] ()
0x000000019ac1e9ec in __dispatchPreprocessedEventFromEventQueue ()
0x000000019ac1371c in __processEventQueue ()
0x000000019ba63470 in updateCycleEntry ()
0x000000019b281084 in _UIUpdateSequenceRun ()
0x000000019b906cb0 in schedulerStepScheduledMainSection ()
0x000000019b906478 in runloopSourceCallback ()
0x00000001986f3f04 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
0x0000000198704c90 in __CFRunLoopDoSource0 ()
0x000000019863e184 in __CFRunLoopDoSources0 ()
0x0000000198643b4c in __CFRunLoopRun ()
0x00000001986576b8 in CFRunLoopRunSpecific ()
0x00000001b46f1374 in GSEventRunModal ()
0x000000019afbce88 in -[UIApplication _run] ()
0x000000019ad3e5ec in UIApplicationMain ()
0x0000000104b810ec in main at /Users/admin/Documents/Code/app/app/main.m:16
0x0000000105351ce4 in start ()

Can you reproduce the bug?
Yes, always
Reproduction Steps
Pseudo code that results in the exception;
AppContentSearchHistory *history = [[AppContentSearchHistory alloc] init];
history.text = query;
[viewModel saveTinContentSearchHistory:history];
history = nil;

The viewModel call leads to an abstract class method to save the object, which is where the exception is raised;
- (void) addOrUpdateObject:(RLMObject*) object
{
  [realm transactionWithBlock:^
      {
          if (!object[@"_id"])
          {
              object[@"_id"] = [RLMObjectId objectId];
          }

          if (!object[@"_partition"])
          {
              object[@"_partition"] = partitionId; // ****EXCEPTION****
          }

          [realm addOrUpdateObject:object];
      }];
}

We can work around the exception with the following change to the addOrUpdateObject method;
        if (!object[@"_partition"])
        {
            if (object.realm)
            {
                object[@"_partition"] = partitionId;
            }
            else
            {
                [object setValue:partitionId forKey:@"_partition"];
            }
        }

Version
10.25.2
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
iOS 15.4.1
Build environment
Xcode version: 13.3.1
Dependency manager and version: Cocoapods v1.11.2

You're hitting the object->_realm || object.class == object->_objectSchema.accessorClass branch in RLMObjectBaseSetObjectForKeyedSubscript(), and it'd be helpful to know what the value of all of those are. For unmanaged objects, object->_realm should be nil, class_getName(object.class) should be "AppContentSearchHistory", and class_getName(object->_objectSchema.accessorClass) should be something like "RLM:Managed 1 AppContentSearchHistory" (the actual number will vary). Note that just printing the values in the debugger without class_getName() will print the prettified names and not the actual ones.

@tgoyne here's the object print out;
Printing description of object:
(RLMObject) RLMObject = {
  RLMObjectBase = {
    NSObject = {
      isa = AppContentSearchHistory
    }
    _row = {
      m_table = {
        realm::ConstTableRef = {
          m_table = nil
          m_instance_version = 0
        }
      }
      m_key = (value = -1)
      m_mem = (m_addr = 0x0000000000000000, m_ref = 0)
      m_row_ndx =<PHONE_NUMBER>3709551615
      m_storage_version =<PHONE_NUMBER>3709551615
      m_valid = false
    }
    _observationInfo = nil
    _info = nil
    _realm = nil
    _objectSchema = 0x00000002810fa880
    _lastAccessedNames = nil
  }
}

Printing description of object->_objectSchema:
_isSwiftClass	bool	false
_objectStoreName	std::string	""
_isEmbedded	BOOL	NO	false
_properties	__NSArrayI *	4 elements	0x000000028305f3c0
_className	__NSCFString *	"AppContentSearchHistory"	0x0000000283e92e60
_primaryKeyProperty	RLMProperty *	0x2815de0d0	0x00000002815de0d0
_allPropertiesByName	__NSDictionaryM *	4 key/value pairs	0x0000000283e84720
_objectClass	Class	AppContentSearchHistory	0x0000000102d25948
_accessorClass	Class	AppContentSearchHistory	0x0000000102d25948
_unmanagedClass	Class	AppContentSearchHistory	0x0000000102d25948
_computedProperties	__NSArray0 *	0 elements	0x00000001f2718000
_swiftGenericProperties	NSArray *	nil	0x0000000000000000

Are you opening your Realm with objectClasses set on your config? The schema there doesn't have the initialization done which happens when a Realm is first opened, so perhaps we have a bug related to that.

@tgoyne yes, objectClasses is set on the Realm config.

Okay, I think I can see why this'd be breaking then.


BE | Fix model admins with translatable fields

Expected result: Model (admins) with translatable fields in Django Admin should only display translation fields (in each language) without the original field (that is not linked to any specific language).
Actual result:

Fixed


macOS packaged Mu fails at running tkinter / turtle

See https://github.com/indygreg/python-build-standalone/issues/68

CONFIRMED WORKAROUND:

Setting the TCL_LIBRARY environment variable in macOS' app bundle template "executable script".

For example, hand-editing packaged Mu's Mu Editor.app/Contents/MacOS/Mu Editor script from...
#!/bin/sh

exec "$(dirname "$0")/../Resources/Python/bin/python3.7" -m mu "$@"

to:
#!/bin/sh

export TCL_LIBRARY="$(dirname "$0")/../Resources/Python/lib/tcl8.6/"
exec "$(dirname "$0")/../Resources/Python/bin/python3.7" -m mu "$@"

Makes turtle work from Mu's REPL. :-)

CONFIRMED WORKAROUND:

Setting the TCL_LIBRARY environment variable in macOS' app bundle template "executable script".

For example, hand-editing packaged Mu's Mu Editor.app/Contents/MacOS/Mu Editor script from...
#!/bin/sh

exec "$(dirname "$0")/../Resources/Python/bin/python3.7" -m mu "$@"

to:
#!/bin/sh

export TCL_LIBRARY="$(dirname "$0")/../Resources/Python/lib/tcl8.6/"
exec "$(dirname "$0")/../Resources/Python/bin/python3.7" -m mu "$@"

Makes turtle work from Mu's REPL. :-)

UPDATE:

The above mentioned TCL_LIBRARY environment variable and its need is now documented in the Python Build Standalone docs -- good.
I left an outstanding thought/question to the author -- wondering if there could be a way to avoid setting the environment variable (one can hope, right?). :-)

HOWEVER:

The likely near-term solution will be setting the TCL_LIBRARY environment variable and living with that.

UPDATE:

The above mentioned TCL_LIBRARY environment variable and its need is now documented in the Python Build Standalone docs -- good.
I left an outstanding thought/question to the author -- wondering if there could be a way to avoid setting the environment variable (one can hope, right?). :-)

HOWEVER:

The likely near-term solution will be setting the TCL_LIBRARY environment variable and living with that.

(self-note)
What looked like a quick fix -- grabbing the path to the PBS Tcl library from the PYTHON.json meta-data file, and using it in the macOS app bundle template -- actually requires a little bit more of work. Why:

The current process is 1. instantiate the macOS bundle template, 2. extract the PBS distribution into it, 3. make adjustments/deletions/moves based on the PBS' PYTHON.json file, etc.
This obviously won't work becase step 1. needs info from step 2./3.

Thus, a probable new approach, might be 1. extract the PBS distribution somewhere, 2. clean it up based on PYTHON.json, 3. instantiate the macOS app bundle template now knowing where the Tcl library will end up, 4. move the cleaned up PBS extracted distribution into the instantiated app bundle, etc.
sigh... :-)

(self-note)
What looked like a quick fix -- grabbing the path to the PBS Tcl library from the PYTHON.json meta-data file, and using it in the macOS app bundle template -- actually requires a little bit more of work. Why:

The current process is 1. instantiate the macOS bundle template, 2. extract the PBS distribution into it, 3. make adjustments/deletions/moves based on the PBS' PYTHON.json file, etc.
This obviously won't work becase step 1. needs info from step 2./3.

Thus, a probable new approach, might be 1. extract the PBS distribution somewhere, 2. clean it up based on PYTHON.json, 3. instantiate the macOS app bundle template now knowing where the Tcl library will end up, 4. move the cleaned up PBS extracted distribution into the instantiated app bundle, etc.
sigh... :-)

Keep this on hold until #128 is addressed.

Keep this on hold until #128 is addressed.

Closing after having merged #133.

Closing after having merged #133.


i keep getting this issue is there anyway to fix it ?

I got this issue too, my 3 accounts can't login now. so sad

getting this now for no reason :/


Creation of issue template

There is no issue template if you want to add one please let me know

@Sloth-Panda Instead just add readme files in the projects which does not have one.

@Sloth-Panda Instead just add readme files in the projects which does not have one.


scarb releases are not statically linked

Problem
we are trying to use cairo and scarb Github releases in some of our build processes to save time, and although cairo Github releases are statically linked, scarb releases are not and only work in some environments:
        linux-vdso.so.1 (0x00007fff3eb56000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f33f6f4f000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f33f6f4a000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f33f6f45000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f33f5919000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f33f6f40000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f33f56f1000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f33f6f7b000)

Steps
No response
Possible Solution(s)
build scarb releases with musl, eg https://github.com/starkware-libs/cairo/blob/05867c82de42d5ee5cfa953dcca1cb826402f74b/.github/workflows/artifacts.yml#L14
Notes
No response
Version
No response

Hey! We are hesitant to publish, or at least commit to, musl builds, because Scarb is/is going soon to use quite more system-specific stuff and we are afraid we will hit incompatibility/behaviour issues between glibc and musl builds. I guess you're using Alpine in your build process? May I ask what are your reasons stopping you from using glibc-based distros?
I'd like to get to know user needs (musl support is a rare feature request as for now) before we decide whether we will commit to it 😄
duplicates #286

Hmm, for compiler plugins as packages we plan to end up dynamically building Rust code and using dlopen to load generated libraries. Won't this need extra support on your side anyway?

although that link mentions users must have rustup, vs users must have cargo and rustc - so maybe that would be an issue with the implementation you have in mind.

yes, that's one of things that I'm afraid of can be problematic for you; but on the other hand we didn't find a better solution to the general problem

we currently have no problem building rust code, but for Github based projects that provide release binaries (and that aren't available on native package managers), we've been using them to speed up our compilation and release process... since this was the only release binary we came across that was dynamically linked, was hoping it could be resolved if not intentional 😄

We can publish musl builds starting with next Scarb version (it's a matter of uncommenting these lines: https://github.com/software-mansion/scarb/blob/main/.github/workflows/release.yml#L48-L51); but we will definitely not offer general support for these for a long time (until we will be sure that this will indeed work flawlessly when every potentially affected feature will be used by many people). Are you OK with that?


Port everything to JSON - ScholarX page

This is a sub-issue for issue #170
port the text information in to JSON files so we can move them to our new website after it is built and at the same time have information to be used in the current version of the website.

I will do this

done

Well done @jeevanthask


react-native support?

Hello, is this package compatible with react native?
I cannot get it work.

Hello, is this package compatible with react native?
I cannot get it work.

There are too many requirements to view an svg format on React-Native. React-Icomoon does not work on React Native. It is for the web only. @kockok

As of version 2.2.2 this is now possible. @kockok

As of version 2.2.2 this is now possible. @kockok


T2

Thanks for the PR.  I am not interested in adding travis to the repo, but the use of npm scripts is definitely an improvement over the makefile usage.  If you remove the travis stuff, delete the makefile, and squash your commits, I'll merge your PR.

Closing this PR.  I just cherry-picked your respective commit for updating the package.json to use the npm script directly.  Thanks.

No problem, thanks!


add quick_start_new_user.md

添加新手快速开始说明文档，并添加相应的config文件

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.dongshuilong seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


docker-compose fails when running in integrated terminal

from: https://github.com/Microsoft/vscode-docker/issues/212, see https://github.com/Microsoft/vscode-docker/issues/212#issuecomment-364928473 specifically.
Windows
Insiders: 1.21.0
Docker, Docker Compose versions:

Create a docker-compose.yml file:
version: '3'

services:
  redis:
    image: "redis:alpine"

Then run:
docker compose -f docker-compose.yml up -d --build

Results:
D:\src\stickerapp>docker-compose -f docker-compose.1.yml up -d --build
Pulling redis (redis:alpine)...
alpine: Pulling from library/redis
ff3a5c916c92: Extracting [=====================>                             ]  884.7kB/2.066MB
aae70a2e6027: Download complete
87c655da471c: Download complete
a0bd51ac7350: Waiting
Traceback (most recent call last):
  File "docker-compose", line 6, in <module>
  File "compose\cli\main.py", line 71, in main
  File "compose\cli\main.py", line 124, in perform_command
  File "compose\cli\main.py", line 959, in up
  File "compose\project.py", line 452, in up
  File "compose\service.py", line 318, in ensure_image_exists
  File "compose\service.py", line 1081, in pull
  File "compose\progress_stream.py", line 44, in stream_output
  File "compose\progress_stream.py", line 63, in print_output_event
  File "codecs.py", line 370, in write
  File "site-packages\colorama\ansitowin32.py", line 40, in write
  File "site-packages\colorama\ansitowin32.py", line 141, in write
  File "site-packages\colorama\ansitowin32.py", line 169, in write_and_convert
  File "site-packages\colorama\ansitowin32.py", line 174, in write_plain_text
IOError: [Errno 0] Error
Failed to execute script docker-compose

When running from the normal command prompt (cmd.exe) it works fine.
To clean up after a successful run, so as to repeat the process:
docker compose -f docker-compose.yml down
docker rmi redis:alpine

Duplicate https://github.com/Microsoft/vscode/issues/36630


feat: a new "update" command.

The "update" command will write any file that already exists.  It still checks that the existing file is a valid edx_lint-written file, so it won't destroy local edits.

This is ready for review.


chore/fix: re-enable linting for backend

Description
This PR re-enables linting for the backend (disabled 4 months ago in https://github.com/open-webui/open-webui/pull/368 because "too many issues") using Ruff, and fixes the issues it finds. Each commit should be fine to review in isolation, if this PR otherwise feels too large. Most of the cumulative diff is reordering imports.
I deliberately disabled some rules for the time being, though, with TODO notes that they really ought to be fixed; bare try:except:s for one are a bad habit, since they catch e.g. KeyboardInterrupts, so chances are the backend will ignore attempts of stopping it if the signal lands in a suitable place 😅
Conversely, more rules could be added later.
It also switches formatting from black to ruff (they're 99.x% compatible, but ruff is a lot faster and formats some things in a neater way). The formatting actually found a couple of stray commas that inadvertently turned some logging statements into no-op 1-tuple constructions... 😄
For CI, I made sure that the pinned versions from requirements.txt are used for Ruff – before this, CI could install a different version of Black than what requirements.txt said.
Testing
Since there is no test suite, all I really could do is test the app runs fine with these changes.
I ran under coverage (coverage run -m uvicorn main:app ...), which gave me a coverage of about 49%.
Dependencies
black was dropped in favor of ruff; technically, Ruff should be a development-time dependency only, but there is no requirements-dev.txt or similar and Black was in the runtime deps, so I didn't change that.

Changelog Entry
Changed

Python code is now linted and formatted using Ruff.

@cheahjs Please let me know if there's any interest in getting this merged (I see there's adjacent work in https://github.com/open-webui/open-webui/pull/2182) so I know whether or not to keep rebasing this.

Rebased on dev. cc @cheahjs @tjbck

@tjbck Rebased once more on dev.

@tjbck have we reached a decision on this?


TypeError: Failed to fetch while trying to load a project

ill send the project file in a few hours i was trying to load my game at school

OK I think It's a project issue.

it seems it has to do with the wifi as it loads on vpn

it has to do with the school wifi it loaded on vpn


Review does not update username for author

I added review into a course without using pen name.
I edited the profile username.
The review does not fetch my new username so it shows user_8 like it does not update.

So what I got is still user_8 not new username which may cause confusion for other users.

oh noh

Solved in #211


Suggestion: documenting the (actual, expected) order for all languages

This applies to all languages for which the test framework boils down to functions in the form : assert_equal(actual, expected).
For some languages (e.g. Python, JS, C ...) the order is (actual, expected), for some others (Java, C# ...)  the order is (expected, actual). This results in a lot of mistakes; issues complaining that "actual and expected are flipped" are widespread.
It is hard to remember the order for the dozens of languages that codewars support, especially when trying to fix issues in a language with which one is not familiar.
My suggestion is to add a page in the codewars docs that would contain a table listing the parameters' order for each language to which it applies, so that it can be checked quickly.
For example something like this:

Language
Parameters order

C
(actual, expected)

C#
(expected, actual)

JavaScript
(actual, expected)

Java
(expected, actual)

Python
(actual, expected)

Alternatively, this could be added on a per-language basis on each language's doc page.

Every language supported by Codewars (https://docs.codewars.com/languages) has its documentation page. The page for every language mentions what testing framework is used, and what assertion library is used. For home-grown frameworks, like Codewars Python Testing Framework, documentation should contain reference of test utilities, assertions, etc. (like here for Python). For external frameworks and libraries, authors are expected to refer to documentation provided by these (C uses Criterion, C# uses NUnit, Java uses JUnit, etc.). Ideally, Codewars docs should contain links to home page of all external libraries provided by runner.
So basically things you are asking for are already (mostly) documented. If something is not, for some language, or some framework, it should be added, but for majority of cases I think it's already there.
Did you find any language or test framework which is not documented, or not linked, clearly enough in Codewars docs?

Obviously, after a certain amount of research, I will end up finding the documentation snippet I'm looking for.
If you want a specific example : the documentation for C# is just a link to nunit.org. After a bunch of additional clicks, I will land on https://docs.nunit.org/articles/nunit/writing-tests/assertions/classic-assertions/Assert.AreEqual.html that will tell me what I want to know. But the reality is, that there are dozens of C# katas with expected and actual flipped, probably because it's the other way around in most languages.
I just thought documenting it clearly and concisely somewhere would help alleviate the problem, especially when fixing language versions in which one is not familiar (not everyone can remember the details of 40+ frameworks).
Anyway, that was just an idea...

Don't get me wrong, I am not saying your idea is bad. What I am saying is that I am not sure that such page would help. Your proposal basically boils down to adding a documentation page for people who did not bother to read docs in the first place.
Additionally, order of expected and actual is not the only thing translators get wrong, and it will be difficult to create a summary of all most important aspects of all testing frameworks on a single page.
The amount of "expected and actual are swapped" has significantly decreased compared to what it used to be several months ago. I'd risk a statement that many (but obviously not all) occurrences of such issue have already been identified, and fixed. When you find any new one, just raise an issue and someone will fix it.


wav was ignored as it contains only silence (although it's loud)

hey there,
trying out this project for the first time. I'm getting this message:

Warning: /data/projects/Traumarsenal/corpus/269171.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.

File is pretty loud (-6 dBFS I think). It's stereo 48 kHz floating point. Is that a problem perhaps?
But I also tried a normalised version of that file, saved in 16-bit int. Same problem.

Ah, found this same issue: #159
Adding --silence_threshold=0 works.


more_questions_added_by_chaitanya

I have added some more questions for DSA 450 Extension hope it helps

Closing this PR as you have added questions in the other PR.


[TVM] const auto p -> const auto& p

Clang 10 was complaining about about copies being made in the range for loops. The warning can be removed by making the variable a const reference.

Thanks @hlu1 !


We need to specify the peer address for BLE transport in bindings.

false

https://github.com/project-chip/connectedhomeip/blob/f0f5de0d79ae1c51d7fddbf70900ebac0acd899a/src/controller/CHIPDeviceController.cpp#L782-L787

This issue was generated by todo-issue based on a TODO comment in f0f5de0d79ae1c51d7fddbf70900ebac0acd899a.

Not clear this is required for V1.0, given this is passing tests and cert presently? Moving out.


Description of migrations is missing

Describe the bug
On the Configuration page of the docs, the "2. A basic example of migrations folder" section is missing a description of what migrations are, both:

In a general sense (general definition of migrations)
In terms of SafeQL - what does SafeQL do with migrations and what behavior can the user expect / not expect?

To Reproduce
Steps to reproduce the behavior:

Navigate to the docs page above
Look for an explanation of migrations

Expected behavior
Migrations are explained
Screenshots
--
Desktop (please complete the following information):

OS: n/a
PostgreSQL version: n/a
Version: n/a

Additional context
--

I think explaining terms such as "migrations" are a bit out of scope for SafeQL since I'm not trying to teach developers about SQL but rather give them a DX solution.
I believe the Configuration page should be as practical as possible. Although, I won't mind if there was a brief explanation (a sentence or two) about the topic with a follow-up to an FAQ page.

I think explaining terms such as "migrations" are a bit out of scope for SafeQL since I'm not trying to teach developers about SQL but rather give them a DX solution.

Ok, I just meant a single sentence about this, but I understand if you don't want to include this information.

I believe the Configuration page should be as practical as possible.

Totally agree! But the Configuration page should definitely have a description about what each thing does. Currently it is unexplained and undocumented - and as an experienced developer I still don't understand what this feature is, even after you wrote to me on Twitter about it 😬

I see. Documentation was never my strong side. I'll try to be as descriptive as possible here, and maybe we can find a way to make it clearer in the docs:
I support two ways of analyzing the queries. Either by supplying a database URL or by migrations folder.
When you supply a database URL, the plugin does the following actions:

It connects to the database.
It fetches the database columns with additional metadata.
It runs query descriptions on all of the queries. Doing so won't execute the query. Instead, it will fetch a description of the query, which then be used for type inference.
It parses the query to an AST to look for LEFT joins, so it can determine which properties are nullable (query description won't cover it). In the future, it will play a more significant role.
It does some computations and generates the appropriate TypeScript types.

Now the fun part - migrations:
Schema migrations are a way of managing your database changes chronologically. Like Git, it helps track down how the database was built. It's the source of truth of your database declaration.
In other words, if you run your migrations against an empty schema, you'll get a database that represents the migrations folder.
How to run migrations?
Migration can have one or more statements (ALTER, CREATE, etc.). We run migrations like how we run queries.
Why it matters when using SafeQL?
Since we can't query against migration files (since they are only a set of instructions rather than an actual database), we need to create a database (we'll call it a shadow database) based on a set of instructions written in the migrations. Once we have a database, we can do what's written in the steps above.
Every time we decide we want to make a change in the migrations, we restart the ESLint server (or re-run in the terminal). Each time, it will drop (if it exists) the shadow database to avoid conflicts and recreate it (I want to improve this part, although it's pretty fast).
In other words, if we manually create a database based on the migrations folder and supply the database URL instead, if will work the same (until you decide to make some changes in the database or the migrations).
To create a database, we have to connect to Postgres. To connect to Postgres, we have to connect to an existing database. Which database will always exist? postgres. That's why SafeQL requires supplying a connection URL. It also requires databaseName, the "shadow database" that will be recreated and dropped every time. I have an open issue (https://github.com/ts-safeql/safeql/issues/8) that will either simplify this step or make it more confusing.

Nice, lots of detail there! I think this is definitely enough. Also, this is what I assumed that SafeQL was doing from what I could gather, so that's good too.

fixed in https://github.com/ts-safeql/safeql/pull/48
see https://safeql.dev/api/index.html#connections-migrationsdir

Thanks!
I guess 2 things are still open for me here:

Maybe the new guide page can be linked to from the 2. A basic example of migrations folder section?
The new documentation doesn't really describe what formats are allowed for migrations. Eg. can I use ley or another arbitrary tool for my migrations? Can I write my migration files in TypeScript? Can I write my migration files in SQL?

Hey,
About 1 - Feel free to submit a PR or open a new issue for it
About 2 - Migration strategy is currently not supported; only raw (.sql) files are. If you feel like this should be supported, open a new issue for it (as it's currently out of the scope of this issue).

Ok I'll open a PR for both of these - documenting that only .sql migrations are supported

Open at #49


Coverage report not being sent to coveralls

16 09 2022 17:25:59.048:INFO [coveralls.io]: uploading...
16 09 2022 17:25:59.048:INFO [coveralls.io]: 422 --- {"message":"Couldn't find a repository matching this job.","error":true}

This will be our prototype solution and we will lean on it for #224, #129, and #213.


Improve Intake Source

@yougis Since you are likely the only real user right now. Do you mind if I simply rename filename to uri here?


uperf client pods are not being created in pod2service network perf tests

Pod2service Network perf (uperf)test for ibm-cloud on ocp412 fail as the uperf-client pods are not being created.
test -->https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/scale-ci/job/e2e-benchmarking-multibranch-pipeline/job/network-perf/369/console
https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/scale-ci/job/e2e-benchmarking-multibranch-pipeline/job/network-perf/368/
@qiliRedHat @paigerube14 @mffiedler @rsevilla87

I created an ibm 4.13 cluster while testing some other things, is the 'uperf-client' seen below what you were missing? Wonder why it wouldn't work for 4.12 but would for 4.13
 % oc get pods -n benchmark-operator
NAME                                            READY   STATUS    RESTARTS   AGE
backpack-37a49c24-44t64                         1/1     Running   0          2m25s
backpack-37a49c24-9rwvp                         1/1     Running   0          2m25s
backpack-37a49c24-c2jtw                         1/1     Running   0          2m25s
backpack-37a49c24-np4h8                         1/1     Running   0          2m25s
backpack-37a49c24-qvr4f                         1/1     Running   0          2m25s
backpack-37a49c24-szbjd                         1/1     Running   0          2m25s
benchmark-controller-manager-7d694c6b9c-94qxg   2/2     Running   0          3m41s
uperf-client-<IP_ADDRESS>-37a49c24-hbhnm       1/1     Running   0          32s
uperf-server-0-37a49c24-z4zhr                   1/1     Running   0          63s

Looking on kibana from one of the runs you listed I do see a field that says "client_node:sn-npt-ibm412-fs4fv-worker-3-4lgbl", not sure if that's accurate or the data is found

@SachinNinganure Hav you described the pod and got some events to check what happens to the pod?

BTW: Is that an ibm-cloud specific issue?

@paigerube14    the test you executed also failed client pod did not start there as-well . Looks like you tried to get the results when the test started and client pods looked good at the start but not after that.
11-17 02:47:57.645  ripsaw-cli:ripsaw.models.benchmark:ERROR :: Benchmark exception: The benchmark uperf-pod2svc-2 timed out
11-17 02:47:57.645  Wed Nov 16 21:17:57 UTC 2022 Benchmark failed, dumping workload more recent logs
11-17 02:47:57.944  NAME                            READY   STATUS    RESTARTS   AGE
11-17 02:47:57.944  uperf-server-0-37a49c24-psdrt   1/1     Running   0          122m
11-17 02:47:57.944  uperf-server-1-37a49c24-9sprz   1/1     Running   0          122m
11-17 02:47:58.245  Wed Nov 16 21:17:58 UTC 2022 Writing pod logs in /tmp/tmp.3mXNBirbJq/uperf-server-0-37a49c24-psdrt.log

@qiliRedHat for now I am seeing them on 412 ibm-ocp , 410 and 411 looked good.

Investigating IBM cloud 4.12 today

From your log file, the backpack pod had problem that worth digging.
162m        Warning   Unhealthy           pod/backpack-fa5f3f56-xlwlp                          Readiness probe failed: ls: cannot access '/tmp/indexed': No such file or directory
122m        Normal    Killing             pod/backpack-fa5f3f56-xlwlp                          Stopping container backpack

In the failed Jenkins jobs log you provided, uperf-pod2svc-1 all completed while uperf-pod2svc-2 timed out. They are 2 same runs given Pairs defaults to 2, curious about what are the differences between the 2 runs.

added the log files from benchmark-controller-manager from 2 different tests one from aws where we see pod2svc test success and the other from ibm-412 which is failing to start client-pods
[
aws-412-npt-pass.log.gz
ibm-412-npt-fail.log.gz
]

Try running with METADATA_COLLECTION=false

I the aws-412-npt-pass.log.gz, I saw the info about the uperf-client batch job
{"level":"info","ts":1668759356.2989795,"logger":"proxy","msg":"Cache miss: batch/v1, Kind=Job, benchmark-operator/uperf-client-<IP_ADDRESS>-194d3529"}
While in the ibm-412-npt-fail.log.gz, I can't find info about uperf-client. So the pod is 'missing' because the batch job is not created.

This issue is still present, reopening.

METADATA_COLLECTION=false
I am running network tests(pod2svc) for cluster on 413 ocp.
I hit the same error as the uperf_client pods fail to start/get created.
[sninganu@sninganu ~]$ oc logs -f benchmark-controller-manager-86d495644c-x922k -c manager|less|grep "Cache miss"
{"level":"info","ts":1679406911.4110515,"logger":"proxy","msg":"Cache miss: apps/v1, Kind=DaemonSet, benchmark-operator/backpack-0cc4bd2b"}
{"level":"info","ts":1679406912.2812552,"logger":"proxy","msg":"Cache miss: apps/v1, Kind=DaemonSet, benchmark-operator/backpack-0cc4bd2b"}
{"level":"info","ts":1679406975.843491,"logger":"proxy","msg":"Cache miss: /v1, Kind=Service, benchmark-operator/uperf-service-0-0cc4bd2b"}
{"level":"info","ts":1679406976.8609834,"logger":"proxy","msg":"Cache miss: batch/v1, Kind=Job, benchmark-operator/uperf-server-0-0cc4bd2b"}
{"level":"info","ts":1679406982.1258848,"logger":"proxy","msg":"Cache miss: /v1, Kind=ConfigMap, benchmark-operator/uperf-test-0-0cc4bd2b"}
Test Link --> https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/scale-ci/job/e2e-benchmarking-multibranch-pipeline/job/network-perf/651/parameters/
the result is same when run manually aswell


Coordinates are sometimes highlighted as phone number

RecyclerView messes this up somehow. Need to investigate.

alternative: only show one format in the larger TextView


Python package name change

https://github.com/ascoderu/lokole/blob/1c189e0f9ec689fce98e8b7c47152678bcf00aca/install.py#L484
https://github.com/iiab/iiab/commit/80c75fd6f80f704e09944947101c50c68a699669

root@box:/# apt list bcrypt
Listing... Done
root@box:/# apt list python3-bcrypt
Listing... Done
python3-bcrypt/hirsute,now 3.1.7-4 arm64 [installed]

python3-bcrypt

@adamsclafani ran into a related bug overnight.
Can someone make a recommendation or PR here?
Thanks!
cc: deldesir


ACDC dataset

It seems that your ADCD data set is not put, and both connections are open with BraTS

sorry, i have updated the link, please kindly check


Npm / yarn

Removed Yarn
Renamed NPM to NPM / Yarn
Added Yarn notice to NPM /Yarn

NB!
I have no idea why my fa5 PR gets included.
I did not add changes to the fa5 file in my npmyarn nor commit the file?

Thanks @0dp !


#28 Updates names and adds descriptions

This is looking good, @shabbyjoon! There are just a couple things left, but since I was having trouble explaining them, I thought I'd make the changes and see what you think:

the HTML id attribute has to be unique for the whole page, so I've changed it to something different from each of the <p> tags
screen readers only recognize descriptions when they're declared with the aria-describedby attribute. I've added that to each <fieldset> element. Now, they each reference the new <p> tags, so screen readers will describe each set of form fields by reading the text in the paragraph
In JSX, the "single quote" character needs to be written with an HTML character code. I've replaced the two occurrences with '

Do those changes look alright to you?

This is looking good, @shabbyjoon! There are just a couple things left, but since I was having trouble explaining them, I thought I'd make the changes and see what you think:

the HTML id attribute has to be unique for the whole page, so I've changed it to something different from each of the <p> tags
screen readers only recognize descriptions when they're declared with the aria-describedby attribute. I've added that to each <fieldset> element. Now, they each reference the new <p> tags, so screen readers will describe each set of form fields by reading the text in the paragraph
In JSX, the "single quote" character needs to be written with an HTML character code. I've replaced the two occurrences with '

Do those changes look alright to you?

I'm sorry I missed this! They do and thank you for the explanation!

Thanks for the patch!


languages.python with unstable package crashes

Describe the bug
I want to use devenv to setup a development environment for a Python project. Instead of the somewhat outdated Python 3.12.x version from the stable nixpkgs input, I want to use the latest Python version from nixpkgs-unstable. Somehow, there is an error with setting up the Python virtual environment:

Logs
  direnv: loading ~/projets/SportsTracker/.envrc
  direnv: loading https://raw.githubusercontent.com/cachix/devenv/95f329d49a8a5289d31e0982652f7058a189bfca/direnvrc (sha256-d+8cBpDfDBj41inrADaJt+bDWhOktwslgoP5YiGJ1v0=)
  direnv: using devenv
  direnv: .envrc changed, reloading
  warning: creating lock file '/home/dany/projets/SportsTracker/devenv.lock'
  direnv: ([/nix/store/kj5k2wvwvqh2vnfndm82dpcr4canwyrn-direnv-2.34.0/bin/direnv export zsh]) is taking a while to execute. Use CTRL-C to give up.
  • Using Cachix: devenv

  copying path '/nix/store/wwrqmysh0dfkszbal1kdk3qid2xa95fx-devenv-1.3.1' from 'https://devenv.cachix.org'
  building '/nix/store/vj4hlgba88342g1gxlmn77mqiqy1zf1f-devenv-python-virtualenv.drv'
  building '/nix/store/pw1cpxi2w5gsvz2zg7rmgn6cksmp9cxy-devenv-shell-env.drv'
  direnv: updated devenv shell cache
  Running tasks     devenv:enterShell
  Failed            devenv:python:virtualenv 113ms
  Dependency failed devenv:enterShell
  1 Failed, 1 Dependency Failed              113.22ms

  --- devenv:python:virtualenv failed with error: Task exited with status: exit status: 134
  --- devenv:python:virtualenv stdout:
  0000.11: ~/projets/SportsTracker ~/projets/SportsTracker
  0000.10: Python interpreter changed, rebuilding Python venv...
  0000.10: /nix/store/k47xf6hdvrl1w363ldj1zk977jvdwmdc-python3-3.12.6-env/bin/python3.12 -m venv --upgrade-deps /home/dany/projets/SportsTracker/.devenv/state/venv
  --- devenv:python:virtualenv stderr:
  0000.10: *** stack smashing detected ***: terminated
  0000.00: /nix/store/zb4qc5rxr4888rk42mrnfj5y6p61vjw6-devenv-python-virtualenv: line 29: 102657 Aborted                 (core dumped) /nix/store/k47xf6hdvrl1w363ldj1zk977jvdwmdc-python3-3.12.6-env/bin/python3.12 -m venv --upgrade-deps "$VENV_PATH"
  ---

To reproduce

devenv.nix
{ pkgs, lib, config, inputs, ... }:

let
  # To use packages from nixpkgs-unstable
  pkgs-unstable = import inputs.nixpkgs-unstable { system = pkgs.stdenv.system; };
in
{
  # Setup languages and their tools - https://devenv.sh/languages/
  languages.python = {
    enable = true;
    package = pkgs-unstable.python312;
    # Enable Python virtual environment
    venv = {
      enable = true;
      requirements = ./requirements.txt;
    };
  };
}

devenv.yaml
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
inputs:
  nixpkgs:
    url: github:cachix/devenv-nixpkgs/rolling
  nixpkgs-unstable:
    url: github:nixos/nixpkgs/nixpkgs-unstable

devenv.lock
{
  "nodes": {
    "devenv": {
      "locked": {
        "dir": "src/modules",
        "lastModified":<PHONE_NUMBER>,
        "owner": "cachix",
        "repo": "devenv",
        "rev": "7250dbb33f62c30dec5cf1191b0947b76bec5248",
        "type": "github"
      },
      "original": {
        "dir": "src/modules",
        "owner": "cachix",
        "repo": "devenv",
        "type": "github"
      }
    },
    "flake-compat": {
      "flake": false,
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "owner": "edolstra",
        "repo": "flake-compat",
        "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
        "type": "github"
      },
      "original": {
        "owner": "edolstra",
        "repo": "flake-compat",
        "type": "github"
      }
    },
    "gitignore": {
      "inputs": {
        "nixpkgs": [
          "pre-commit-hooks",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "owner": "hercules-ci",
        "repo": "gitignore.nix",
        "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
        "type": "github"
      },
      "original": {
        "owner": "hercules-ci",
        "repo": "gitignore.nix",
        "type": "github"
      }
    },
    "nixpkgs": {
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "owner": "cachix",
        "repo": "devenv-nixpkgs",
        "rev": "4267e705586473d3e5c8d50299e71503f16a6fb6",
        "type": "github"
      },
      "original": {
        "owner": "cachix",
        "ref": "rolling",
        "repo": "devenv-nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs-stable": {
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "080166c15633801df010977d9d7474b4a6c549d7",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixos-24.05",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs-unstable": {
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "owner": "nixos",
        "repo": "nixpkgs",
        "rev": "2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53",
        "type": "github"
      },
      "original": {
        "owner": "nixos",
        "ref": "nixpkgs-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "pre-commit-hooks": {
      "inputs": {
        "flake-compat": "flake-compat",
        "gitignore": "gitignore",
        "nixpkgs": [
          "nixpkgs"
        ],
        "nixpkgs-stable": "nixpkgs-stable"
      },
      "locked": {
        "lastModified":<PHONE_NUMBER>,
        "owner": "cachix",
        "repo": "pre-commit-hooks.nix",
        "rev": "af8a16fe5c264f5e9e18bcee2859b40a656876cf",
        "type": "github"
      },
      "original": {
        "owner": "cachix",
        "repo": "pre-commit-hooks.nix",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "devenv": "devenv",
        "nixpkgs": "nixpkgs",
        "nixpkgs-unstable": "nixpkgs-unstable",
        "pre-commit-hooks": "pre-commit-hooks"
      }
    }
  },
  "root": "root",
  "version": 7
}

Version
1.3.1

Could you try using languages.python.version = "3.12.7";? Does that work?

I would like to avoid specifying the Python version, since it's building a derivation which takes about 10 minutes to complete. It does work, but it's not a great developer experience.

Which architecture and OS are you running? These should be substituted from our cache if I remember correctly.

My OS is NixOS and the architecture is x86_64.

You can try using https://github.com/cachix/devenv-nixpkgs/pull/9

Just did some debugging with @domenkozar in Discord and we found that disabling manylinux (languages.python.manylinux.enable = false) fixed the issue for me. I can now run python --version without a coredump. May be worth trying @dmarcoux. I did not need the rolling-bump branch of the nixpkgs either.


pixi list should print a warning or fail when lockfile is not up to date

After manually tinkering in pixi.toml, pixi list doesn't reflect these changes unless I run pixi install. Maybe a warning like Warning: your lockfile is not up to date. Please run 'pixi install' to update your lockfile could be nice.

Should it even self install or just throw a warning?

I guess we could also do self-install on pixi list. I don't have strong opinions on that but maybe it's better since we do it like this for other cases as well 🤷🏻


Invalid links to pictures in UploadBinaryData.rst

The links to the pictures in UploadBinaryData.rst are invalid. These pictures do not exist.
Do we intend to upload them, or we'd rather remove the links?

@jhlegarreta Checking on this page, all links and pictures seem valid:
https://itk.org/ITKExamples/Documentation/Contribute/UploadBinaryData.html
Can we close this issue?

Yes Matt. Everything looks OK. Closing the issue.


Paper Elements don't appear on site

Hello everyone,
I am using the Polymer Paper Elements in a test web app. The link is http://illuminationdesignstudio.com/testing/. At least for me, on Google Chrome, the site works fine and all of the elements appear. On mobile - specifically iPhone, the text appears, but it is not stylized as Paper Elements. I used both Safari and Chrome on iOS 8.1.2 and I get the same problem on both. I have tried using the "unresolved" attribute in the body tag, but that just leaves me with a blank screen. Could somebody help please? I can upload screenshots if needed. Thanks.

Hi @illuminationdesign
The ShadowDOM polyfill isn't included in the webcomponents-lite.js, so just replacing it with webcomponents.js should work.

Thanks @VandeurenGlenn, worked like a charm. I appreciate the help. :+1:


Retry to connect to redis in case of connection errors

This change retries the connection in case it dropped. The underlying library has no retry logic incorporated.
I added this only on the rpoplpush step because it's where the error usually comes out, but can also be implemented around the other redis commands

Turns out we were using version 0.0.3 and the current 0.0.7 already passes retry_on_timeout=True to the redis client which should fix this.
If the problem with the timeout happens again we'll try with something like this. I agree that retrying and having some delay is a good idea, but then maybe should be in the underlying redis library


fix: Fix issue causing the importing of Skate into Node to fail.

It shouldn't fail to import / require() even though it may not be able to create custom elements.
fixes #893

does this mean server side rendering is coming?!

@bengummer not yet, but it means that it can at least be imported into SSR apps without causing issues.


[Core Rulebook] I didn't get the core rulebook

I bought the Core Rulebook from Cubicle 7 games, i got the activation code, activated it in my account, yet the foundry application still says that i don't own it.From: Someone18foundry: 11.315wfrp4e: 7.1.2Active Modules:

Not related to the WFRP system or its modules itself, please seek troubleshooting advice from the Foundry discord.


Fixes #543

I changed throw Exception with Log.e() and also made PlayerUiController hidden.

Why hiding the UI?
The configuration is still not valid, I'm not sure that logging the error is enough.

Can you send this PR on the dev branch?

Hi @PierfrancescoSoffritti,
I hide the ui because it shows buffer progressbar, seekbar, fullscreen button etc. i think we must hide the ui.
The logging the exception just blocks the crashing app, all progress are same. Maybe we can add toast,snack or other useful ui messages.

I see the reason why to hide the UI and not allow the app to crash. Is it however an expected behavior for invalid configuration of an XML layout?
I think the best solution would be that

when no video id is provided, the view shows a "missing video icon" (whatever that might be),
when a video id is fetched (over the internet for example), a loading video indicator (like default UI) is shown, and
when a video id is present just the typical behavior.

The app should in these cases never crash, whether autoPlay is true or not, because there is a state for "missing video id", which makes the relation between videoId and autoPlay complementary and not interdependent .
In that case, the PR is on the right way and apply a feasible change.
@furkanaskin is the class configured in that way, that shows up again the UI when a video ID is provided in a later state from e.g. the user? Because just hiding the UI might prevent later use of the UI (without showing them up again).

@malliaridis, you are right. My solution isn't solve all cases like providing video id in a later state, hiding whole ui isn't a good idea. Your solution looks fine, i'll implement your solution to my pr and then i'll notify you.

Hi @malliaridis , @PierfrancescoSoffritti ,
I thought placing a text with an icon in left corner of screen will be nice for users. Icon took from Material Design icons and if you agree with me i'll send my changes. This icon and text will be visible only when videoId is missing.
I want your ideas about text and icon.

when no video id is provided, the view shows a "missing video icon" (whatever that might be),

I would avoid doing this. We are building a library on top of the YouTube player, so the default behaviour should be whatever the YouTube player does. If they show nothing we should probably show nothing as well.

You are right. After all, adding custom elements will just irritate the users. The default behavior of the website is to redirect to the user to the start page. I don't know what the default behavior of an iframe is in that case.
In our case we could

Leave a black view, to prevent layout modifications that only messes up with users' layouts, or
hide the whole player, which however might change the users' layout and mess it up.

Throwing an exception is of course an option too. See however my reason not to do so.

I moved the if statement to onAttachedToWindow and now result looks like this :
 2020-10-05 08:31:58.593 26926-26926/com.pierfrancescosoffritti.aytplayersample E/AndroidRuntime: FATAL EXCEPTION: main     Process: com.pierfrancescosoffritti.aytplayersample, PID: 26926     java.lang.IllegalArgumentException: videoId is not set but autoPlay is set to true. This combination is not possible.         at com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView.onAttachedToWindow(YouTubePlayerView.kt:103)         at android.view.View.dispatchAttachedToWindow(View.java:19553)         at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3430)         at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)         at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)         at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)         at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)         at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)         at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)         at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2028)         at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1721)         at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7598)         at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)         at android.view.Choreographer.doCallbacks(Choreographer.java:790)         at android.view.Choreographer.doFrame(Choreographer.java:725)         at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951)         at android.os.Handler.handleCallback(Handler.java:883)         at android.os.Handler.dispatchMessage(Handler.java:100)         at android.os.Looper.loop(Looper.java:214)         at android.app.ActivityThread.main(ActivityThread.java:7356)         at java.lang.reflect.Method.invoke(Native Method)         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) 2020-10-05 08:31:58.675 2012-2114/system_process E/InputDispatcher: channel '63f94cf com.pierfrancescosoffritti.aytplayersample/com.psoffritti.librarysampleapptemplate.core.SampleAppTemplateActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2020-10-05 08:31:58.676 2012-2114/system_process E/InputDispatcher: channel '26ea403 com.pierfrancescosoffritti.aytplayersample/com.pierfrancescosoffritti.androidyoutubeplayer.core.sampleapp.examples.simpleExample.SimpleExampleActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2020-10-05 08:31:58.908 2167-2670/com.google.android.gms.persistent E/ModuleIdSetter: exception when setting module id     java.lang.IllegalStateException: Unable to get current module info in ModuleManager created with non-module Context         at com.google.android.chimera.config.ModuleManager.getCurrentModule(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):2)         at aewd.a(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):4)         at aewg.b(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):9)         at aeso.a(Unknown Source:0)         at rpm.a(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):0)         at rlv.c(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):1)         at rlt.b(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):1)         at rok.b(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):6)         at rok.c(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):6)         at rok.a(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):63)         at roo.handleMessage(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):71)         at android.os.Handler.dispatchMessage(Handler.java:103)         at aekz.a(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):2)         at aekz.dispatchMessage(:com.google.android.gms<EMAIL_ADDRESS>(040700-319035315):14)         at android.os.Looper.loop(Looper.java:214)         at android.os.HandlerThread.run(HandlerThread.java:67)


Migrate DNS query table

Currently, Cloud DNS activity data is saved in an internal Plx table and we query it via BQ-plx bridge. The bridge is being deprecated and we are asked to use BQ-TS federation instead.
Per b/322853331, I've created a BQ table in the same project that Nomulus runs, which exposes the same data in the Plx table. This means that we can query this table directly without going through the bridge, and open source the code as a result.
There is a corresponding change in Git-on-Borg to update the config file and remove the Java code that performs the query via BQ-plx bridge:
https://team-review.git.corp.google.com/c/domain-registry-eng/nomulus-internal/+/2312377

This change is

Merged as https://github.com/google/nomulus/pull/2543.