Add tests that ensure recursion uses tail calls

I feel the pain, not too far ago, hitting those crashes...
On the language side, https://github.com/fsharp/fslang-suggestions/issues/721 would come very handy for this kind of stuff (if you haven't upvoted), also, given how F# lean on that, it would definitely be nice feature to have.
Is there a plan to put those asserts in place in terms of implementing such tests? Or is it having tests that exercise code with models that are large enough as to produce such issues?

I feel the pain, not too far ago, hitting those crashes...
On the language side, https://github.com/fsharp/fslang-suggestions/issues/721 would come very handy for this kind of stuff (if you haven't upvoted), also, given how F# lean on that, it would definitely be nice feature to have.
Is there a plan to put those asserts in place in terms of implementing such tests? Or is it having tests that exercise code with models that are large enough as to produce such issues?

I knew that such an F# language suggestion existed, but I hadn't upvoted it.  Thanks for the link.
Since that attribute or language feature doesn't exist yet, I was planning to creating tests that exercise the code using sufficiently large instances of the relevant types.  It is certainly more work than using that attribute but also not hard.

I knew that such an F# language suggestion existed, but I hadn't upvoted it.  Thanks for the link.
Since that attribute or language feature doesn't exist yet, I was planning to creating tests that exercise the code using sufficiently large instances of the relevant types.  It is certainly more work than using that attribute but also not hard.

@TysonMN, the suggestion for [] has been implemented; on next release of FSharp.Core, it can be adorned in the library, and next release of compiler will have it as static check, maybe only in preview version initially.

Nice. Can you share a link to that?


Open API format flag for YAML

When emitting to Open API you don't get a choice between JSON and YAML. Is it possible to add a flag to support this ?

Believe we talked about this some time ago but got forgotten. I think we could also decide to emit yaml depending on the configured output file extension(.json or .yml/ .yaml) + maybe an explicit flag.

That would be great

est: 3
pri: 1

@claudiababescu This is currently schedule for the early December release


fix: update to new meta-schema

Codecov Report

Merging #207 (521cb6f) into master (87ea0ac) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #207   +/-   ##
=======================================
  Coverage   66.66%   66.66%
=======================================
  Files           1        1
  Lines          60       60
  Branches       12       12
=======================================
  Hits           40       40
  Misses         20       20

Continue to review full report at Codecov.

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

:tada: This PR is included in version 1.0.5 :tada:
The release is available on:

GitHub release
1.0.5
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Is there a workaround to determine if a field has been set but is null before #557 is completed?

Problem statement
For a PATCH handler I'm trying to determine whether a field has been set (to null) or is not set at all. I saw there's work going on in #557 which looks to solve exactly the same problem 🙇 but obviously isn't exactly a trivial change.
Is there a way to work around this temporarily, getting/creating a map of the fields that have been set or something like that?
Swagger specification
The snipped below is just how I defined the request body.
  MyUpdateParams:
    description: Entity to perform changes on an existing resource.
    type: object
    properties:
      profile_id:
        description: |
          Profile id the resource should be assigned to or null for anonymous resources.
          If provided but set to null it will be changed whereas if the field is unset, no
          change will be performed.
        type: string
        format: uuid
        x-nullable: true

patch atm is not supported :(

Has work already been done on it?  I don't need it quite yet, but will probably be implementing one before too much longer.

most of the implementation exists in #557 but the tests suite isn't complete yet.
As a side effect it would also make the entire go-swagger generated codebase much more performant because it uses mailru/easyjson
The branch in that PR contains breaking changes which is why I didn't continue with it yet, but because openapi 3 will be released at the end of the month, I wanted to move that work into openapi 3 implementation.

Thank you for the quick response! Great to hear it will be part of the OpenAPI 3 implementation.


When input notebook is located in a subfolder the input file link could not be shown properly.

Description
If customer use a notebook from a subfolder rather the Jupyter home folder. After the job output is downloaded, input link could not be displayed properly.
Reproduce
Simply use a notebook in any subfolder.

Thanks @edwardps we will have a look.

Feel free to resolve if it's not caused by OSS extension. Seems the issue is caused by integration with OSS extension(not OSS issue).

Yes, this issue looks like it's being caused by your custom backend implementation not downloading the input file on download.


Offer types

Adds types for Bolt 12 offers and invoice requests (but not invoice yet).
Depends on #598

Replace by #602 that removes the dependence on Postman


[v2] Case insensitive completion

Since upgrading to v2, I have noticed that path completion has become case-sensitive.
source ~/.zplug/init.zsh
zplug "b4b4r07/zplug"
zplug check || zplug install
zplug load --verbose

tachikoma% uname -a
Linux tachikoma 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
tachikoma% zsh --version
zsh 5.1.1 (x86_64-ubuntu-linux-gnu)

What's the recommended way to turn case-insensitive completion back on?

I have noticed that path completion has become case-sensitive.
Would you give us some more details?

Sure. For example, typing ~/d<TAB> should return ~/Desktop, but it doesn't. ~/D<TAB> does.
This was the previous behaviour of zplug, without needing any particular configuration,if I'm not mistaken.

When would you use path completion though? The only case I can think of is if you want to do local plugins in which case you should just directly execute source from the terminal. If you're talking about path completions in general that is out of the scope of zplug. AFAIK zplug doesn't change the case sensitivity (at least intentionally).

Yes @NigoroJr , I'm talking about path completions at the prompt. As a matter of fact, after the upgrade I've had more than one "core setting" changed - the one mentioned above, and the keybindings being set to vim.
I'm not sure, but maybe v1 was somehow touching those settings, and with the upgrade to v2 they've been reset to their defaults?

That's very likely that it's due to oh-my-zsh (#168 may be related). It does a lot of weird stuff.

I see, that might definitely be it, since after switching to v2 I ditched all OMZ plugins and themes. I guess this can be closed then!
Thanks a lot!


Allow to configure yara's make tool

This is another approach to remove hardocoded call of make to build yara. This approach uses the same make by default but introduces YARA_MAKE_PROGRAM option which can be used to specify a path to gmake for example.
Thus, when CMake produces a set of makefile, it reuses CMAKE_MAKE_PROGRAM to respect a global -jXXX option.

Thanks, although the tests fail at the moment, I merged it - it looks fine, and the tests are broken - we are working on it.

@PeterMatula I've used this patch at MacPorts for a while => it is fine :)


Error when syncing variation with '/' in variation id

Q
A

issue or Enhancement
issue

Version
2.2

When syncing articles having a variation with an id that contains a '/' (in our case "20173_Beige/Braun"), an exception is raised:
[2017-08-22 21:02:12] plentyconnector.ERROR: Command failed: HandleProductCommand {"adapterName":"ShopwareAdapter","transferObject":"96f892fd-73f0-4ecc-ad41-80911950fe70","exception":"[object] (PlentyConnector\\Connector\\ValidatorService\\Exception\\InvalidDataException(code: 0): PlentyConnector\\Connector\\TransferObject\\Product\\Product ObjectIdentifier: 96f892fd-73f0-4ecc-ad41-80911950fe70 Value \"20173_Beige/Braun\" does not match expression. Path: product.variation.number at /var/www/web1/htdocs/shopware/custom/plugins/PlentyConnector/Connector/ValidatorService/Exception/InvalidDataException.php:45)"}

Replacing the '/' with an '_', the sync works.

Hallo Franz,
according to Shopware "/" is not a allowed char:
http://community.shopware.com/Artikelnummern-in-Shopware_detail_642.html
Best regards,
Jochen


[CS2103T-W12-4] Serenity

Serenity helps CS2101 tutors manage their classes by providing a suite of administrative and educational tools. It is optimized for CLI users who type fast.

Codecov Report

Merging #87 into master will decrease coverage by 17.34%.
The diff coverage is 34.31%.

@@              Coverage Diff              @@
##             master      #87       +/-   ##
=============================================
- Coverage     72.31%   54.96%   -17.35%
- Complexity      400      494       +94
=============================================
  Files            70      111       +41
  Lines          1228     2003      +775
  Branches        124      217       +93
=============================================
+ Hits            888     1101      +213
- Misses          308      847      +539
- Partials         32       55       +23

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/seedu/address/Main.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

src/main/java/seedu/address/MainApp.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...c/main/java/seedu/address/commons/core/Config.java
68.18% <0.00%> (ø)
7.00 <0.00> (ø)

...n/java/seedu/address/commons/core/GuiSettings.java
69.23% <0.00%> (ø)
5.00 <0.00> (ø)

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...n/java/seedu/address/commons/core/index/Index.java
100.00% <ø> (ø)
10.00 <0.00> (ø)

...ss/commons/exceptions/DataConversionException.java
100.00% <ø> (ø)
1.00 <0.00> (ø)

...ress/commons/exceptions/IllegalValueException.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...ava/seedu/address/commons/util/CollectionUtil.java
87.50% <ø> (ø)
5.00 <0.00> (ø)

...main/java/seedu/address/commons/util/FileUtil.java
77.27% <ø> (ø)
9.00 <0.00> (ø)

... and 135 more

Continue to review full report at Codecov.

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


Add value POST in URL - Why

In file javascript (cmis.0.2.0), you have add the line below :
if (!multipart) {
req.send = req.query;
}
After that : var req = _http('POST', url).type('form');
I like to know why, and if possible go back.
Thank you

this code has been added in e4b40fc to address compatibility issues with Nuxeo CMS, which issues do you have with it?


Handle Azure URLs for chinacloud

closes #7518

Good Catch @N-o-Z. We build Azure clients using hardcoded string here, so we'll need to accept the url for it to work properly.

Good Catch @N-o-Z. We build Azure clients using hardcoded string here, so we'll need to accept the url for it to work properly.

Note that it is also used in the client cache

@itaiad200 another thing I forgot!
If I'm not mistaken there are some validations for the namespace in the GUI, we probably need to adapt those as well

@itaiad200 another thing I forgot! If I'm not mistaken there are some validations for the namespace in the GUI, we probably need to adapt those as well

Thanks @N-o-Z . I took these into account. It's dynamically read through ValidityRegex & ImportValidityRegex. Made more changes to address it more specifically and block other domains. PTAL

Docs Preview fails due to unrelated error in one of the deps


THREESCALE-10605: Add support for sentinels in Async mode

Sentinels are not supported in asnyc mode. This adds support by using Async::Redis::SentinelClient
Jira: THREESCALE-10605
How to verify:

Follow the instructions from https://github.com/socketry/async-redis/pull/29 to launch the sentinels
Set the next variables in the .env file:

CONFIG_QUEUES_MASTER_NAME=redis://mymaster
CONFIG_QUEUES_SENTINEL_HOSTS=redis://localhost:9000,redis://localhost:9001,redis://localhost:9002
CONFIG_REDIS_PROXY=redis://mymaster
CONFIG_REDIS_SENTINEL_HOSTS=redis://localhost:9000,redis://localhost:9001,redis://localhost:9002

Launch the worker and the listener.
Launch all other tools: server, sidekiq, sphinx, apicast, etc.
curl apicast and check from porta that hits are being registered properly

I created a podman-compose file based on the instructions above
https://gist.github.com/mayorova/e76f78d85626b08b3476bfc5285733ac

I created a podman-compose file based on the instructions above https://gist.github.com/mayorova/e76f78d85626b08b3476bfc5285733ac

Thanks, that's useful


Cannot access "non-node" arguments in drop down widgets evaluation

There has to be a balance between amount of cached values and optimal memory usage. As such the PR

#9410

added following reasoning and provides access only to argument values already assigned to some other node. @jdunkerley points out that's not enough:
make_format_selector table display=Display.Always cache=Nothing =
    columns = cache.if_not_nothing <| cache "columns"

  @columns (Widget_Helpers.make_column_name_multi_selector add_regex=True)
    @locale Locale.default_widget
    @format Widget_Helpers.make_format_selector
    format : Vector (Text | Integer | Regex) | Text | Integer | Regex -> Text | Date_Time_Formatter | Column -> Locale -> Boolean -> Problem_Behavior -> Table ! Date_Time_Format_Parse_Error | Illegal_Argument
    format self columns format:(Text | Date_Time_Formatter | Column)="" locale=Locale.default error_on_missing_columns=True on_problems=Report_Warning =

Workaround:

Are you calling operator.format [ "x", "y" ]?
Try to move [ ... ] into its own node.

I've created a small project to play with the drop down arguments. Download as AccessArgumentsDropDown.zip and unzip. The code in question is:
from Standard.Base import all
from Standard.Base.Metadata import all
import Standard.Visualization

type T
    @b for_b
    as_list a b = [a, b]

for_b s cache=Nothing =
    me = [ "self", s ]
    a = ["a", cache "a"]
    b = ["b", cache "b"]
    make [1, "dva", me, a, b]

make values:Vector =
    make_option value = Choice.Option value.to_text value.pretty
    dbg values.to_text
    Widget.Single_Choice (values.map make_option) Nothing Display.Always

main =

    integer1 = 11
    node1 = T.as_list 436 1
    [node1, _]

foreign js dbg info = """
    debugger;

The first thing to notice is that evaluation of the @b widget content happens at UUID 83b40fc8-1b02-418e-8e0d-80f153bc2504 (index 496, size 9) which represents  T.as_list - however when this node is evaluated, its arguments 436 and 1 aren't yet computed. There is also d872a8e8-47ea-4c0c-b3ef-a20df2ab4c3b which represents the whole T.as_list 436 1. If we want the drop down visualization to access the arguments, shouldn't we evaluate the visualization for the whole expression, @Frizi and @farmaazon?

@jdunkerley, @marthasharkey - if you want to experiment with accessing arguments like 436, try it with this patch:
diff --git engine/runtime-instrument-common/src/main/java/org/enso/interpreter/instrument/RuntimeCache.java engine/runtime-instrument-common/src/main/java/org/enso/interpreter/instrument/RuntimeCache.java
index da2f8e2447..985a02d943 100644
--- engine/runtime-instrument-common/src/main/java/org/enso/interpreter/instrument/RuntimeCache.java
+++ engine/runtime-instrument-common/src/main/java/org/enso/interpreter/instrument/RuntimeCache.java
@@ -38,14 +38,8 @@ public final class RuntimeCache implements java.util.function.Function<String, O
       valuesToKeys.put(value, key);
       return true;
     } else {
-      var otherId = valuesToKeys.get(value);
-      var otherValue = cache.get(otherId);
-      if (otherValue != null && otherValue.get() == value) {
-        // if the value is already cached for another UUID, cache it
-        // for this expression UUID as well
-        var ref = new WeakReference<>(value);
-        expressions.put(key, ref);
-      }
+      var ref = new WeakReference<>(value);
+      expressions.put(key, ref);
       return false;
     }
   }

it does seem to work to some extend (values may be outdated, or missing from time to time). It should be good enough for testing.

The first thing to notice is that evaluation of the @b widget content happens at UUID 83b40fc8-1b02-418e-8e0d-80f153bc2504 (index 496, size 9) which represents T.as_list

By evaluation you mean on what value get_widget_json is called? Then it's even stranger, because according to our code it should be called on self argument, that is T in this case.

The first thing to notice is that evaluation of the @b widget content happens at UUID 83b40fc8-1b02-418e-8e0d-80f153bc2504 (index 496, size 9) which represents T.as_list

By evaluation you mean on what value get_widget_json is called?

Yes. get_widget_json calls into @b annotation.

Then it's even stranger, because according to our code it should be called on self argument, that is T in this case.

I guess you are right (and I am a bit too). Both these UUIDs are on the program evaluation stack. The evaluation of T.as_list calls LHS - e.g. T.


Download/Upload/Stream refactor

I wondered how to PR this, it is impossible to separate into smaller pieces, so please have a good look at the following and let's discuss. It is the last of my changes, nothing more in the pipeline, but I have left the worst one for the last. Big bad ugly PR's are more a thing for the maintainer than for a contributer :-)) BTW: This is not IBM z/OS specific, but I am currently actually using it to improve the users experience with my FTP client.
This replaces PR #817 which I closed in order to create a "tidier" and more complete PR.
In order to get progress information even on ASCII download transfers and to reduce the number of redundant calls to GetFileSize(...) I needed to do the following:
In DownloadFileInternal(...):
Separate the decision to get the file size from the decision of when to read to the end.
Thus:
get the file length (unless already known = supplied by caller) if progress is required, regardless of ASCII or Binary. If file length is "already known", just use that. If no progress is requested, and there is no file length, OpenRead(...) will do it internally.
Pass the file length (which might be zero, this replaces the original bool true) to OpenRead(....) and modify that function to understand that information.
set the read to end decision, when there is no file length, or when ASCII transfer or when IBM z/OS.
In OpenRead(...):
Refactor and remove uneeded function overloads.
Reflect all relevant removals and changes to IFtpClient.cs.
Add new master function prototype which takes the file length (and remove bool checkIfFileExists)
Since all callers of OpenRead(...) other than DownloadFileInternal(...) use true for the now redundant parameter checkIfFileExists, it can be removed. The needed information is already self-contained in the new parameter fileLen. This combines the previous information fileLen > 0 - the entire file length is now passed to OpenRead(...).
The previous logic was strange anyway: Why should a file length greater that zero cause ANOTHER GetFileSize(...). The known file size was already gotten once, so why again? It is only done in the code to set the stream length.
Essentialy the same logic was applied to OpenWrite(...) and OpenAppend(...) but the needed changes were much less complex. I also expanded PR #814 to cover these two functions - although in theory this problem can really only happen in OpenAppend(...).

This looks much more mature than your previous changes for the file length issue. Thanks for the excellent work as usual!

Released.
https://www.nuget.org/packages/FluentFTP/36.0.0

Thanks. I will monitor for any problems that arise.

That's a good idea, I will do that and submit a PR to doc that.
I will also check the code to make sure this works in all cases.

@MrJul see #826 and thanks for the heads up

I actually took the decision (in the latest incarnation of #826), to bring back the old methods and to add the new one - so @MrJul you can decide which call type you prefer. Depends on what Robin decides, though, too.

Updated to v36.1.0 and used the new-old bool overload, everything works fine. Thanks for taking my feedback into account and the quick turnaround! :)


[main] Upgrade to latest dependencies

Release -pradnyavmw
/cc knative-sandbox/eventing-writers
/assign knative-sandbox/eventing-writers
Produced by: knative-sandbox/knobots/actions/update-deps

/skip-review
/lgtm
/approve


Failed to parse line

My Android phone exports my contact (list) / address book into a vcf file. Some of them have entries like this (an "utf-8 encoded printable" string on its own) where vobjects fails to parse the extra line:
% pip list | grep vobject
vobject                               <IP_ADDRESS>

% python
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vobject
>>> t = """
... BEGIN:VCARD
... VERSION:2.1
... N:Muster;Max;;;
... FN:Max Muster
... ADR;WORK;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:;;=65=66=
... =31=37=30=31=;;;;
... END:VCARD
... """
>>> v = vobject.readOne(t)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jkirk/software/venv3/lib/python3.5/site-packages/vobject/base.py", line 1156, in readOne
    allowQP))
  File "/home/jkirk/software/venv3/lib/python3.5/site-packages/vobject/base.py", line 1101, in readComponents
    vline = textLineToContentLine(line, n)
  File "/home/jkirk/software/venv3/lib/python3.5/site-packages/vobject/base.py", line 925, in textLineToContentLine
    return ContentLine(*parseLine(text, n), **{'encoded': True,
  File "/home/jkirk/software/venv3/lib/python3.5/site-packages/vobject/base.py", line 813, in parseLine
    raise ParseError("Failed to parse line: {0!s}".format(line), lineNumber)
vobject.base.ParseError: At line 7: Failed to parse line: =31=37=30=31=;;;;

Please note that the (source) address field has no newline (and if it had one it would have been quoted with =0A=) and that this example is simplified, the actual line gets broken after about 23 "utf quotes" (some characters consists of two "utf quotes" like ß = =C3=9F=).
"Merging" the lines (I removed the leading and the last = of the extra line) like this lead to the following:
>>> m = """
... BEGIN:VCARD
... VERSION:2.1
... N:Muster;Max;;;
... FN:Max Muster
... ADR;WORK;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:;;=65=66=31=37=30=31;;;;
... END:VCARD
... """
>>> v.readOne(m)
>>> v.prettyPrint()
 VCARD
    N:  Max  Muster
    FN: Max Muster
    VERSION: 2.1
    ADR: ef1701
,
    params for  ADR:
       CHARSET ['UTF-8']

Please notice the , in the extra line. Why is that?
I've copy/pasted and anonymized the content from the vcf which was in "fileformat" dos. The same happens if read the file. I am using Debian/stretch and running vobject in pip environment.

We're seeing the same issue with a lot of VCards in the wild.

Does allowQP=True fix the parse error?

@olafhering Well, kind of 'better':
% python
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vobject
>>> t = """
... BEGIN:VCARD
... VERSION:2.1
... N:Muster;Max;;;
... FN:Max Muster
... ADR;WORK;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:;;=65=66=
... =31=37=30=31=;;;;
... END:VCARD
... """
>>> v = vobject.readOne(t, allowQP = True)
>>> v.prettyPrint()
 VCARD
    VERSION: 2.1
    N:  Max  Muster
    FN: Max Muster
    ADR: ef1701=
,
    params for  ADR:
       CHARSET ['UTF-8']

The output is quite similar to what happened when I manually merged the line, but here a = sign is appended to the address line. And still , is added in new line.
(Somehow unrelated to this issue, but worth mentioning: N:  Max  Muster consists of two white spaces between first name and surname and between N: and first name. Yes, Gitlab only shows one white space in between in the previous sentence, see the code above.)

Does allowQP=True fix the parse error?

At line 45: Failed to parse line: =DB=8C
I had a similar problem and this parameter fixed it
thanks!


Can't make simple "Hello World" program to work

I followed the instructions in README, and I got no any message in OpenOCD Console from STM32.
$ openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg
Open On-Chip Debugger 0.12.0
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
WARNING: interface/stlink-v2.cfg is deprecated, please switch to interface/stlink.cfg
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
Info : STLINK V2J44S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.095141
Info : [stm32f1x.cpu] Cortex-M3 r1p1 processor detected
Info : [stm32f1x.cpu] target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32f1x.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
[stm32f1x.cpu] halted due to debug-request, current mode: Handler HardFault
xPSR: 0x61000003 pc: 0x0800019c msp: 0x20004fd4
Info : device id = 0x10006412
Info : flash size = 32 KiB
Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"
[stm32f1x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000130 msp: 0x20005000, semihosting
[stm32f1x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000130 msp: 0x20005000, semihosting

memory.x file:
MEMORY
{
  FLASH : ORIGIN = 0x08000000, LENGTH = 32K
  RAM : ORIGIN = 0x20000000, LENGTH = 20K
}

$ cargo run
warning: `/home/bpm140/projects/stm32/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
     Running `/home/bpm140/Downloads/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-gdb target/thumbv7m-none-eabi/debug/stm32`
GNU gdb (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) <IP_ADDRESS>40526-git
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.linaro.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from target/thumbv7m-none-eabi/debug/stm32...
0x08001cb4 in cortex_m_rt::HardFault_ (ef=0x0) at src/lib.rs:1046
1046        loop {}
semihosting is enabled
semihosting is enabled
Loading section .vector_table, size 0x130 lma 0x8000000
Loading section .text, size 0x1b88 lma 0x8000130
Loading section .rodata, size 0x6a0 lma 0x8001cb8
Start address 0x08000130, load size 9048
Transfer rate: 14 KB/sec, 3016 bytes/write.
Single stepping until exit from function Reset,
which has no line number information.
halted: PC: 0x0800018e
cortex_m_rt::DefaultPreInit () at src/lib.rs:1058
1058    pub unsafe extern "C" fn DefaultPreInit() {}
(gdb) continue
Continuing.

Cargo.toml
[package]
name = "stm32"
version = "0.1.0"
edition = "2021"

[package.metadata]
chip = "STM32F103C6"

[dependencies]
embedded-hal = "0.2.7"
nb = "1"
cortex-m = "0.7.6"
cortex-m-rt = "0.7.1"
panic-halt = "0.2.0"

[dependencies.stm32f1xx-hal]
version = "0.10.0"
features = ["rt", "stm32f103"]

[dependencies.cortex-m-semihosting]
version = "0.5.0"

[dependencies.panic-semihosting]
version = "0.5.0"

Rust version: rustc 1.81.0-nightly (aa1d4f682 2024-07-03)
Board and MCU: STM32C6T6A Bluepill
Flasher/Probe: STLINK v2
OS: OpenSUSE Tumbleweed

Issue resolved!
The problem hiding in memory.x linker settings. For STM32C6T6A You need set RAM to 10K instead of 20K.
Here a fixed memory.x file for STM32C6T6:
MEMORY
{
  FLASH : ORIGIN = 0x08000000, LENGTH = 32K
  RAM : ORIGIN = 0x20000000, LENGTH = 10K
}


List creator remove item

As a list creator, I need a way to remove an item from the list via SMS because I don't need it purchased

Should be doable if the message sent by the user starts with remove or delete followed by 1 or more items


COULD NOT FIND session.key - Timed Out.

Hey All.
Attacker
OS = Kali Linux 2021.1
Kernel = 5.10.0-kali4-amd64
Environment = Laptop (main os)
Target
OS = Windows 10 pro
build = 19041.804
Antivirus = off
Firewall = off
Environment = virtualbox 6.1.18
Host = Ubuntu 20.04.2 LTS
Issue
Could not find session key.
(koadic: sta/js/mshta)# verbose 1
[*] Verbose mode: On
[v] handler::handle() - Incoming HTTP from ('<IP_ADDRESS>', 49705)
[v] handler::parse_params() - Host header present: <IP_ADDRESS>:9999
[v] handler::handle_new_session()
[+] Zombie 1: Staging new connection (<IP_ADDRESS>) on Stager 0
[v] handler::reply() - sending status 200 with 27031 bytes to ('<IP_ADDRESS>', 49705)
[v] handler::handle() - Incoming HTTP from ('<IP_ADDRESS>', 49706)
[v] handler::parse_params() - COULD NOT FIND session.key = 2aefff9f55a745e0ab9decf81f354c8a;DZGSZWXOEL=;
[v] handler::reply() - sending status 404 with 0 bytes to ('<IP_ADDRESS>', 49706)
[v] handler::handle() - Incoming HTTP from ('<IP_ADDRESS>', 49707)
[v] handler::parse_params() - COULD NOT FIND session.key = 2aefff9f55a745e0ab9decf81f354c8a;DZGSZWXOEL=;\..\..\..\./mshtml,RunHTMLApplication
[v] handler::reply() - sending status 404 with 0 bytes to ('<IP_ADDRESS>', 49707)
[!] Zombie 1: Timed out.
(koadic: sta/js/mshta)#

Please advise.
Thanks.

Looks like the issue is in urllib.parse.parse_qs for later versions of Python 3. https://docs.python.org/3/library/urllib.parse.html
We take advantage of the fact that urllib.parse_qs, for versions of Python < 3.9.2, allows for both ';' and '&' characters as separators. Our payloads use ';' as a separator. This behavior has apparently changed in later versions of Python 3 to add a separator parameter and defaulting to '&'. I'm not sure how the payloads would be affected if I changed the separator, and it's frustrating that Python has decided to break this functionality.
I'm gonna remove the dependency on urllib here and write a simple parser for the query string.

Pushed a fix bdce981e2759e04ebf98f5608a04365a3d818e59. Try pulling and running again.


Trouble with finding more than 1 duplicates

Say, I have 100 images. If the 50th image is a duplicate of the 1st image, the hash for the images from 51 to 100 is not being calculated. Multiple duplicates are not being calculated.

Hi @Yukti-09,
yes this correct. However internally the hash for all images is  calculated but only the hash for the duplicates is written along with their filename into the csv. The csv file only contains the duplicate files, not files that only appear once.


Access token not visible/generated

I am previously generated 2 access tokens, now I am trying to setup a third one but it does not show after creation (see red circle):

If I refresh the page it only shows 2 in the circled area.

Hello, sorry for the late response.
I have just tested creating and deleting some personal access tokens, which worked for me.
Does the problem still persist?

Happened for another user as well. Cannot reproduce currently.

It would help to know the userid and an approximate timestamp to check the logs. Should be on another channel, like teams.

The DataHUB was updated since this issue was created. Does the problem still occur?

Comment from a user today:

I was trying to create a personal access token in my profile on the https://git.nfdi4plants.org/ page. After going through the process to create an access token, I would see a message stating "Your new project access token has been created" and see that the number had changed indicating that 1 access token was active for my project, however, there would be no access tokens below. After refreshing the page, the number would change back to 0, and the page would look the same as before going through the access token creation process. I experimented a bit, and it seems that the maximum length of time that an access token can be active before expiration is one year, otherwise the token will not be created. However, there was no error message stating this, or no time limit visible in the creation page that would indicate this, which was confusing.

So I guess, the issue persists.

That's valuable feedback, thanks! I will look into the expiration date and see if that is indeed the problem.

It looks like this is an issue with the current GitLab version the DataHUB runs on. This should be fixed after the update during the next maintenance break, which we intend to carry out next week. If an access token with an invalid expiration date is specified, it will then look like this:


Inertial scrolling fix

@danwalmsley Can you verify this? We have so many PRs hanging and this is literally a one liner.

@MarchingCube @kekekeks why does this not target master?

Good question, I didn't even realize that this targets 0.9.

The change is already in master (https://github.com/AvaloniaUI/Avalonia/pull/3594/files)


Add companion ops for refined "new types"

Refined has a trait called RefinedTypeOps which enables users to create their own zero-additional-cost types on top of refined types:
type Age = Int Refined Positive
object Age extends RefinedTypeOps[Age, Int]

val age: Age = Age(18)
val invalidAge: Age = Age(-15) //Compile-time error

For now, Iron does not provide such elegant mechanism for "refined new types" and people combine it with libraries like Sprout.
Iron could provide something similar:
type Age = Int :| Positive
object Age extends RefinedTypeOps[Int, Age] //Or better: RefinedTypeOps[Age]

It would synergize greatly with opaque types:
opaque type Temperature = Double :| Positive
object Temperature extends RefinedTypeOps[Double, Temperature]

opaque type Moisture = Double :| Positive
object Moisture extends RefinedTypeOps[Double, Moisture]

val temperature = Temperature(25)
val moisture = Moisture(4)

val invalidTemperature: Temperature = Moisture(5) //Error at compile-time because Moisture not <:< Temperature, even if they're both Double :| Positive

Finally, extension methods would allow libraries to attach custom methods to the companion:
val tempEither: Either[String, Temperature] = Temperature.either(15)
val tempValidation: Validation[String, Temperature] = Temperature.validation(15) //From ZIO Module
// etc...

@Iltotore
Hi!
I actively used refined (without RefinedTypeOps though). And looking for Iron as alternative to refined+newtypes combination.
"good first issue" label nudges me to give it a try :)
Any recommendations on what I should study (in the lib) before tackling the task itself?

Need help with understanding how constraints supposed to work.
I played around with the snippet:
class RefinedTypeOps[A, C]

extension [A, C](ops: RefinedTypeOps[A, C]) {
  inline def from(a: A)(implicit c: Constraint[A, C]): Either[String, A :| C] = a.refineEither[C]
}

It works for atomical predicates but not for iron types like type Temperature = Int :| Positive.
I expected to find clues in refineEither-like functions because I was thinking that 2.refineEither[Temperature] would work. But it works with predicates as well.
I can't state any particular question but it is somewhere around "should be IronType decomposed to use Constraint for IronType's predicate?"

@Iltotore
https://github.com/Iltotore/iron/pull/118 - please take a look at the comments (in the code).
RefinedTypeOps looks in the following way:
extension [A, C](ops: RefinedTypeOps[A, IronType[A, C]])
  inline def either(a: A)(using inline constraint: Constraint[A, C]): Either[String, A :| C] = a.refineEither[C]
  inline def apply(inline value: A)(using inline constraint: Constraint[A, C]): A :| C =
    autoRefine(value)

So, constructing is enabled:
val result: Either[String, Temperature] = Temperature.either(2.0)
val temperatureFromApply: Temperature = Temperature(2)

But adding opaque brakes compiling.
Even val t: Temperature = 2 stops to work, hence I not sure if it is something that should be tackled in terms of the feature.
Am I missing something?

Even val t: Temperature = 2 stops to work, hence I not sure if it is something that should be tackled in terms of the feature.

This is intented.
About the apply and either methods, does the error still occur if you define them inside the trait instead of making them extension methods?


When we implement ensembling, allow the user to pass in either a dict or a list

if a dict, the attribute names will be the name that will be used in ml_for_analytics, with _prediction appended.
if a list, we'll just manually add in ensembled_prediction_1 for each feature.
make sure this conforms with the api laid out in https://github.com/ClimbsRocks/auto_ml/issues/47

nixed. implemented in a different way that i'm happier with.


My artifacts are not being scanned at all

Tried scanning my artifacts but it just skips them over after going to the artifact page and then just leaving the inventory page and going back to paimon menu.
Error message:
Insufficient items found in artifact inventory
at InventoryKamera.ArtifactScraper.GetPageOfItems()
at InventoryKamera.ArtifactScraper.ScanArtifacts(Int32 count)
at InventoryKamera.InventoryKamera.GatherData()

Happened to me too but I fixed it by moving the Genshin game folder to other drive. Make sure it's not on C drive.

What if I only have one drive? I'm on laptop.

Please check out the V1.2.2 release. It has fixes that aim to eliminate the Insufficient items found error. Please let us know if it fixes your problem so that we may close this issue.

Please check out the V1.2.2 release. It has fixes that aim to eliminate the Insufficient items found error. Please let us know if it fixes your problem so that we may close this issue.

Yes this update was able to solve the problem. Thank you!


Design Role and Designate one person to focus on security for all Clouds

Describe the issue
We need a person to own and manage all security logs and settings for the variety of clouds
Owner for security operations management (compliance, cloud monitoring, cloud watch) <- Ownership is key missing piece
Ownership of key platform infrastructure and features
Which Sprint Priority is this issue related to?
The 'Milestone' should clearly list Sprint Priorities - which one is this issue related to?
Additional context
Add any other context, attachments or screenshots
Definition of done
Full time dedication
One person
Learning earlier than later
Code as settings in GitHub

Notes from discussion with Todd.  Requires refinement in order to estimate


Migrated to napari plugin engine version 0.2.0

No major issues during migration.
Removed the napari_experimental_provide_dock_widget function and coresponding tests.
Updated requirements and setup.cfg to current state.

Codecov Report

Merging #8 (bde31d0) into main (21da60d) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         3    -1
  Lines          218       208   -10
=========================================
- Hits           218       208   -10

Impacted Files
Coverage Δ

src/napari_time_series_plotter/_dock_widget.py
100.00% <100.00%> (ø)

...ari_time_series_plotter/_tests/test_dock_widget.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


WIP: Fix issue 910

Not ready for review.
This is a work around to allow multiple range sensors with per-point timing.
3D part is not implemented (but equivalent when we are happy with a solution).
Fixes=910

Abandoned in favor of #961


Updating metadata

Function "updateNFT" has to:

Read NFT metadata
Read IPFS
Unpin IPFS
Pin new metadata
Updata NFT metadata accordingly

For step 1: @karnie6 maybe you can just insert the code you came up with to view the NFT?
Step 3: still throws an error. Not sure why


Add support for QNX Neutrino to master branch

@gh-tr This is your patch plus fixes for compiler warnings.
⚠ There have been some merge conflicts ⚠

I think libc is missing symbols (multicast?) that I did not find in the c header files

Ah, OK, I thought you had yanked out all ipv6 support but I see now that the v6 mreq was only for membership which isn't supported.  Makes sense.  QNX does support a TCP_KEEPALIVE, it's just implemented via a timespec.  Perhaps something like this:
diff --git a/src/lib.rs b/src/lib.rs index 706a463..0b08a0f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -388,7 +388,7 @@ impl<'a> DerefMut for MaybeUninitSlice<'a> {  /// See [Socket::set_tcp_keepalive`].
#[derive(Debug, Clone)]
pub struct TcpKeepalive {

#[cfg_attr(any(target_os = "openbsd", target_os = "nto"), allow(dead_code))]

#[cfg_attr(target_os = "openbsd", allow(dead_code))]
time: Option,
#[cfg(not(any(
target_os = "openbsd",
diff --git a/src/sys/unix.rs b/src/sys/unix.rs
index bb33ea4..47b3674 100644
--- a/src/sys/unix.rs
+++ b/src/sys/unix.rs
@@ -176,7 +176,7 @@ pub(crate) use libc::{TCP_KEEPCNT, TCP_KEEPINTVL};
// See this type in the Windows file.
pub(crate) type Bool = c_int;

-#[cfg(target_vendor = "apple")]
+#[cfg(any(target_vendor = "apple", target_os = "nto"))]
use libc::TCP_KEEPALIVE as KEEPALIVE_TIME;
#[cfg(not(any(
target_vendor = "apple",
@@ -919,6 +919,12 @@ pub(crate) fn set_tcp_keepalive(fd: Socket, keepalive: &TcpKeepalive) -> io::Res
unsafe { setsockopt(fd, libc::IPPROTO_TCP, KEEPALIVE_TIME, secs)? }
}

#[cfg(target_os = "nto")]
if let Some(time) = keepalive.time {

   let secs = into_timeval(Some(time));

   unsafe { setsockopt(fd, libc::IPPROTO_TCP, KEEPALIVE_TIME, secs)? }

}
#[cfg(any(
target_os = "android",
target_os = "dragonfly",
~                                             `

Great, thank you so much! Your proposal is now included and I will check for the same change in the 0.4 branch

0.4 should be fine now, but master (this PR) needed another fix to compile with --all-features.

0.4 should be fine now, but master (this PR) needed another fix to compile with --all-features.

I can't seem to create a review for this one.  Yep, there is no accept4 on QNX.  Change accepted.


Add auth config

Fixes https://github.com/containerd/cri/issues/723.
Fixes https://github.com/containerd/cri/issues/835.
/cc @dmcgowan for the resolver change.
This PR:

Change cri plugin to use containerd docker resolver instead of our own fork. This gets rid of a lot of code duplication and maintenance overhead.
Make default registry credential configurable in the config file.

I'll mark this 1.11 and cherrypick into 1.11. Containerd 1.2 is our real release, I think it is fine to add new features before that.

Just updated containerd version to use https://github.com/containerd/cri/issues/835.
Re-apply LGTM.


Bump Gradle to version 7.5.1

Summary of changes
Changes introduced in this pull request:

Bump Gradle to version 7.5.1 in all Java-based benchmarks using Gradle.

Other information and links

https://docs.gradle.org/7.5/release-notes.html
https://docs.gradle.org/7.5.1/release-notes.html

@LesnyRumcajs The new vert.x benchmark is already using Gradle 7.5.1.
https://github.com/LesnyRumcajs/grpc_bench/blob/ec55b5697b39616a7de22df1f232dad37b704a1b/java_vertx_grpc_bench/gradle/wrapper/gradle-wrapper.properties

@LesnyRumcajs The new vert.x benchmark is already using Gradle 7.5.1.
https://github.com/LesnyRumcajs/grpc_bench/blob/ec55b5697b39616a7de22df1f232dad37b704a1b/java_vertx_grpc_bench/gradle/wrapper/gradle-wrapper.properties

Alright, all good then!


sentence and word ecnoder.

I can only see the word level encoder. Am I missing something? There should be two Bi-GRU layers right?

Hi @saxenarohit ,
There is just one layer in the example, but multiple layers can be used with ease.
The encoder is word-level, indeed. What's wrong with that? The overall idea is to apply attention to specific words, so it makes sense to work on word level rather than character or sentence level (the last one is possible though for large texts)

I see what you mean, it's not an exact implementation of an algorithm from "Hierarchical Attention Network". It's more simple example of attention use.


test(is-empty): added unit tests for .isEmpty

resolves #14

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Potential bug in error-bound sampler

Describe the bug
Hi, when I try to use ErrorBoundSampler in this repo, I encoutered the nan in get_dstar() function. In detail, the nan is from the
torch.sqrt(area_before_sqrt[mask]) and some values inside area_before_sqrt[mask] are lower than 0.
However, I checked the implementation of your sampler with the original VolSDF repo, and I think it's the same and also the same as in the paper. I also think there shouldn't be negative values in area_before_sqrt[mask] based on the implementation.
I don't know if this is because of some python mechanism, I attached a screenshot below to show the strange case I encoutered.
To Reproduce
I use my own dataset but I think this problem is not relevant to the specific data, I can send you the .npy files of the dists, a, b and c from this forward with nan bug, so you can reproduce this bug.
Screenshots

Additional context
As the screenshot above shows, I also don't understand why area_before_sqrt[mask] has negative values, but using (area_before_sqrt * mask)[mask] won't have this result. And the d_star from area_before_sqrt[mask] will have nan because of the square root operation on the negative values.
Looking forward to your reply!

Hi, I found that after switching to another slurm node, there won't be this problem. Which is really weird, but I will regard this problem as solved for now, thanks for the reply!


Livewire using main flasher

Thanks for creating this awesome alert.
I saw in docs that livewire can only use toastr or sweetalert?
Is it possible to use the main flasher (the one with white background and left border color) ?
thanks

Hello Jonathan, thanks for your words.
Yes, you can use the main flasher just use the flash() helper method :
namespace App\Http\Livewire;

use Livewire\Component;

class MyComponent extends Component
{
    public function someAction()
    {
        flash()->addSuccess('notification using flasher theme');
    }

    public function render()
    {
        return view('livewire.my_component');
    }
}


python3Packages.subarulink: 0.4.3 -> 0.5.0

Description of changes
https://github.com/G-Two/subarulink/releases/tag/v0.5.0

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.subaru
python310Packages.subarulink
python39Packages.subarulink


x/mod: TestCreateFromDirSpecial/ignore_symlink failing on wasip1-wasm-wasmtime

This test is failing consistently, see https://build.golang.org/?repo=golang.org%2Fx%2Fmod.
Sample: https://build.golang.org/log/ee8bf87a4deeaf417d36761289c1fb43ff648869
--- FAIL: TestCreateFromDirSpecial (0.01s)
    --- FAIL: TestCreateFromDirSpecial/ignore_symlink (0.00s)
        zip_test.go:543: symlink /tmp/TestCreateFromDirSpecialignore_symlink3388003329/001 /tmp/TestCreateFromDirSpecialignore_symlink3388003329/001/link: Operation not permitted
FAIL
FAIL	golang.org/x/mod/zip	6.086s
FAIL

Note that wasip1-wasm-wazero is OK.
cc @golang/wasm

Hm, symlink tests should be disabled on the wasmtime runner, courtesy of https://go.googlesource.com/go/+/refs/heads/master/src/internal/testenv/testenv_notwin.go#16. Does this test check for symlink support before running?

Does this test check for symlink support before running?

It checks after the fact, with the operation allowed to fail after the fact based on a hard-coded list of runtime.GOOS:
https://cs.opensource.google/go/x/mod/+/master:zip/zip_test.go;l=538-545;drc=ad6fd61f94f8fdf6926f5dee6e45bdd13add2f9f
Probably that list should explicitly list the GOOS values for which Symlink is expected to always succeed, instead of its current behavior of explicitly listing the ones for which it is allowed to fail. That would make it more robust to new GOOS values going forward.


Bug Report: i have a problem

If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows ('x64')
What version of the game are you using? Look in the bottom left corner of the main menu.
KE 1.5.2 FNF <IP_ADDRESS>
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
Deprecations
Please describe your issue. Provide extensive detail and images if possible.
Basically,lime test works but lime build will not work due to these deprecations
is there a workaround for this?

nothing bad there. just deprecations
are you sure its not building

nothing bad there. just deprecations
are you sure its not building

I'm kinda having the same problem as him
Apparently lime test works but lime build doesn't due to these deprecations,or for other reasons that I do not know


Run tests scheduled every other day

This way we can see sudden breakages outside PRs

I don't disagree, I'm just curious which breakage would have been caught by this in the past?

I don't disagree, I'm just curious which breakage would have been caught by this in the past?

for example https://github.com/SUSE/BCI-tests/commit/016adec0cc3e2e1e639b6911677469d3f0fd859c but there were several.


Encrypt public key before saving to cache

Description
This will prevent the cached public key from being modified on a rooted device
Links
SDKCF-1094
Checklist

[x] I have read the contributing guidelines.
[x] I wrote/updated tests for new/changed code
[x] I ran ./gradlew check without errors

Codecov Report

Merging #12 into master will decrease coverage by 8.54%.
The diff coverage is 55.91%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   82.72%   74.18%   -8.55%
==========================================
  Files          13       15       +2
  Lines         220      306      +86
  Branches       16       17       +1
==========================================
+ Hits          182      227      +45
- Misses         36       75      +39
- Partials        2        4       +2

Impacted Files
Coverage Δ

...ile/remoteconfig/verification/SignatureVerifier.kt
100% <100%> (ø)
:arrow_up:

...mobile/remoteconfig/verification/ConfigVerifier.kt
93.33% <100%> (-0.79%)
:arrow_down:

...mobile/remoteconfig/verification/PublicKeyCache.kt
56.52% <36.36%> (-22.05%)
:arrow_down:

...h/mobile/remoteconfig/verification/RsaEncryptor.kt
51.28% <51.28%> (ø)

...h/mobile/remoteconfig/verification/AesEncryptor.kt
63.41% <63.41%> (ø)

Continue to review full report at Codecov.

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

Codecov Report

Merging #12 into master will decrease coverage by 8.54%.
The diff coverage is 55.91%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   82.72%   74.18%   -8.55%
==========================================
  Files          13       15       +2
  Lines         220      306      +86
  Branches       16       17       +1
==========================================
+ Hits          182      227      +45
- Misses         36       75      +39
- Partials        2        4       +2

Impacted Files
Coverage Δ

...ile/remoteconfig/verification/SignatureVerifier.kt
100% <100%> (ø)
:arrow_up:

...mobile/remoteconfig/verification/ConfigVerifier.kt
93.33% <100%> (-0.79%)
:arrow_down:

...mobile/remoteconfig/verification/PublicKeyCache.kt
56.52% <36.36%> (-22.05%)
:arrow_down:

...h/mobile/remoteconfig/verification/RsaEncryptor.kt
51.28% <51.28%> (ø)

...h/mobile/remoteconfig/verification/AesEncryptor.kt
63.41% <63.41%> (ø)

Continue to review full report at Codecov.

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


Multiple tags with the same name

Bug Report
Expected behaviour
Web service should reject adding a tag with the same name as an existing one.  Additionally a response with all the new tags would be nice.
Actual behaviour
Web service adds the tag with the same name.
Steps to reproduce the behaviour

Go to a tool in manual mode
Add a tag with 'Version Tag' as 123
Add another tag with 'Version Tag' as 123
Now there are 2 tags with the same name.  By extension, adding a test parameter file will add the file to both tags

Environment (Browser or OS and Dockstore version)
DockstoreUI - 1.2.3-1-gd39f3b2
DockstoreApi - 1.2.3
DockstoreUI2 also

Adding a valid tag now returns all tags
Adding an exiting tag results in "Rollback of tag creation due to duplicate name"
#1604  for other tag issues


Not set from this.state

...InputField
ref='homologadorNome'
label='Homologador'
placeholder='Informe o Nome'
value={this.state.formData.homologadorNome}...

...InputField
ref='homologadorNome'
label='Homologador'
placeholder='Informe o Nome'
value={this.state.formData.homologadorNome} ...

it return empty in input field ;/

im getting the initial values from:
await fetch(base_url + '/select')
.then((response) => {
return response.json();
})
.then((row) => {
and after set:
this.setState({formData:data})

How could I set an initial value from an api?

??

@andrebassi
I was struggling with the same thing. Take a look at https://github.com/MichaelCereda/react-native-form-generator/blob/master/examples/FormView.js#L99
You can set the field programmatically using the refs:
this.refs.theRefOfYourForm.refs.theRefOfYourInput.setValue("value");

@mbeech Thank you for your help!

@mbeech -> And how could this work before render () to load the information before View rendering?


Web Components: Integrate ProfileAPI into Masthead

Detailed description

Describe in detail the issue you're having.

After a closer look, it looks like the ProfileAPI is not getting called in order to determine the authenticated state of the user.

Is this a feature request (new component, new icon), a bug, or a general
issue?

Bug

Is this issue related to a specific component?

Masthead

What did you expect to happen? What happened instead? What would you like to
see changed?

Replace the authenticated property and have that completely driven by the ProfileAPI call.
Also need to doublecheck, but the profile menu items should be driven by the translation file.
Steps to reproduce the issue

Step one
Step two
Step three
etc.

Additional information

Screenshots or code
Notes

@asudoh would you be able to look at this one? If not can see if someone else can pick up.

@jeffchew Sure I can take a look.


Implement game ticks

Write the main update function to calculate how many game ticks have gone by since last call.
A game tick being a time of either 0.1 or 0.2 seconds.
This should increase the overall performance of the game.

@thimovss  I've introduced the update throttle. However, it does not seem to meaningfully impact the current FPS performance of the game: the draw() call is simply very heavy right now.
Closing this issue since we can do an optimization run after the Engine MVP milestone is reached, and this particular issue is addressed.


Last edit location enhancement

Enhancement suggestion: Might it be possible to add a Last Edit Location button as well? The icon should be a left arrow with an asterisk (as in Eclipse).

Thanks for your suggestion!
I like your idea. I experimented with the asterisk and looked up how it looks like in Eclipse. I think it won't be very noticeable or even confusing for users with the VSCode icon theme.

Also, I played with different icons and came up with this variant.

Tell me what you think :)
All VSCode icons can be found here

Thanks for looking in to this! I think the arrow with the asterisk looks more clean, and it will be immediately understood by all the Eclipse holdovers out there. Maybe the asterisk could be a tiny bit bigger. (Move the arrow a pixel to the right to make room, perhaps?). Just suggestions :)

I had a go at it:

I don't know, maybe it's too much :)

Yeah, the problem is that all icons have to be squares of 16x16 pixels.
Okay, I cut the arrow a bit. Looks good

The Last Edit Location icon will be available as a checkbox option 😉

Just pushed the update to Marketplace.
Enjoy ;)

I just updated and tested, it works perfectly. Nice touch with the configuration and multiple icon styles. Thanks for doing this!


GH-40937: [Java] Implement Holder-based functions for ViewVarCharVector

GitHub Issue: #40937

@vibhatha @lidavidm Could you review this PR?

@lidavidm PR LGTM, please take a look.

PR LGTM. Just a few minor suggestions. Thanks for working on this.

Thanks for your review.

@vibhatha @lidavidm  I think the code to support ViewVarBinaryHolder is nearly duplicate of this PR. Do you prefer to fix it in this one or submit another PR.

@ViggoC let's do it here.

Whichever is easier for you.


Updates for Long ray (S38)

@Moniker1998 fyi

P15 (perfectly normal) should be false
removed P24 (which had a slightly sloppy justification) and replaced with P23
removed P56 (meager), as it can be deduced
replaced P28 (first countable) with P82 (locally metrizable).  Gives another example for https://topology.pi-base.org/spaces?q=loc metr%2B~metr

I just realized we need to fix S153 (open long ray) also.  Will do an additional commit.

How so? The extended long line is not $T_6$, but the long line is.

What's the copy of $\omega_1$ in the long line? As far as I know, $\omega_1\times {0}$ is discrete for example.

@Moniker1998 did some of your comments just disappeared?  Maybe a glitch in my computer?

I thought that commenting on your code directly would be better.

I just realized we need to fix S153 (open long ray) also. Will do an additional commit.

converted to draft until you're ready

@Moniker1998 Got your previous comments from emails.  So here is what I think.
$Y=\omega_1\times\{0\}$ is a copy of $\omega_1$ in the long ray $X$.  It is homeomorphic to $\omega_1$ with the order topology because the subspace topology coincides with the order topology from $Y$ in this case.  The non-limit ordinals are isolated points.  And for any limit ordinal $\alpha<\omega_1$, a nbhd of it in $X$ contains an interval $[\beta,\alpha]\subseteq Y$ for some $\beta<\alpha$.
Does that make sense?
(I have to step out for a bit, will resume when I come back)

I think you're right. There must be an error in Counter-examples in topology.

I think you're right. There must be an error in Counter-examples in topology.

Actually item 4 of space 45 in Counterexamples explicitly says the space is not perfectly normal.

Are you using the version from 1970? In mine it says that although $L^$ is not perfectly normal, $L$ is. Where $L^$ is the extended long line, and $L$ is the long line.

Fix for S153 now added.  Also asserted that S38 is not locally Euclidean.

Oops, after approving, I noticed @StevenClontz with an orange dot in the "Reviewers" section. I'll skip the "Squash and merge" to allow other comments.

I trust your judgement Chris. If an issue arises we can deal in a separate PR.


Use prod registry only for release images

Description
Currently every post-main run will create an image in the prod registry. That images are not meant to be used in a release, so that should be avoided.
Also
Proposal:

post-main job/image should use dev registry to not pollute the registry

Reasons

Attachments

Release Notes

The prow setup does not support that. The feature will be available as part of major refactorings in that area. Not worth have having an individual ticket open here


Not working on Safari

Issue for tracking Safari support in js-ipfs: https://github.com/ipfs/js-ipfs/issues/995


Create a CONTRIBUTE.md file.

Beginners face issues in forking the code and raising PRs. Adding a contribute.md file would help fix this problem. It should contain how to fork and clone repositories, raise PRs and the steps to be followed while making the PRs. Something similar to this.

I would like to take this task.

Make it like the one mentioned in the link. Also add the content of this photo in the end:

You'll be using markdown in this task, so get familiar with it.


Discomfort between left eye and right eye: Plants

Plants are causing discomfort.
It is related to the distance between the camera and the plant.

Related to LOD (Level of detail).
Disabling LOD with the code below solved the discomfort.
foreach (GameObject obj in GameObject.FindObjectsOfType<GameObject>())
{
    LODGroup lodGroup = obj.GetComponent<LODGroup>();
    if (lodGroup != null)
    {
        if (0 < lods.Length)
        {
            lodGroup.SetLODs(new LOD[] { lods[0] });
            lodGroup.RecalculateBounds();
        }
    }
}

Purpose achieved, closing.


Use imageio v2 api to silence Deprecation Waring

Description

This PR switch to directly use imageio v2 API to prevent test fail because of deprecation warnings.
  E       DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning dissapear) use `import imageio.v2 as imageio` or call `imageio.v2.imread` directly.

Type of change

[x] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

https://github.com/napari/napari/runs/6449319602?check_suite_focus=true#step:9:101
How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

@Czaki is the pytest update intentional?

@Czaki is the pytest update intentional?

Yes, but version selection was arbitrary. I remember that I have a problem with the napari test on the old pytest, but cannot find which version is problematic.
Also, the current pytest-faulthandler package is a dummy package to ensure pytest is in version at least 5.0.

going to merge.  I don't see pytest version bump as problematic (and easily revertible since it's not a runtime dep)

@Czaki not more checks but it would be nice to separate concerns in general. Given the context it looked like it was related to the new imageio version but from the sound of it it's a completely different issue.


Bump Lodash dependency to ^4.17.5

Not that I have any objections, but semver calculation will resolve the same version for both ^4.14 and ^4.17, which is 4.x.x, so this PR doesn't really change anything in the user's bode_module dir.

Weird... 😕
I checked https://github.com/npm/node-semver#caret-ranges-123-025-004
It says ^1.2.x := >=1.2.0 <2.0.0
So it should bump Lodash reqs at least to 4.17.x
Or am I wrong?


"failed to download game log" for all recent logs

All recent game logs I've attempted to review have met the same error, some examples
https://game.mahjongsoul.com/?paipu=jmkknr-0uq5x768-xy1e-66df-fifg-qlqmkkooupzu_a413602829_2
https://game.mahjongsoul.com/?paipu=jmkknq-ytqw35z7-4708-69b8-ic9c-glpkjuxqqovp_a413602829_2

Same for me. Seems majsoul updated their log format.

Fixed.


Add "system" to the completion list for plugin "chruby"

Detect system Ruby in default PATH, and provide "system" completion if Ruby is found. Tested with the Dockerfile.

@webframp Any suggestion?

Seems reasonable to me, I didn't have this particular need but it looks good.

So no one want to test it out by now?

@mcornella Any more suggestions?

That's great, thanks for your contribution!


Search by name

Hello
How do you search by name with friends?
Firestore isn't able to search by contains a text
I read your code and I think all users come and do filtration locally.
Am I sure? or how to do that else?
Thank you

We still use RTDB, although plans to update to Firestore in future. We create a separate index for name and surname in both orders.


Store images used in documentation inside repository.

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

1.0.1
GitHub release

Your semantic-release bot :package::rocket:


check makemigration

check this https://docs.djangoproject.com/en/1.7/topics/migrations/#adding-migrations-to-apps

Done at least on django-th-twitter where i changes thé size of 2columns.


[BUG] "could not determine the shape of object type 'memoryview'" when converting random generated & zero & ones array to PyTorch tensor

Describe the bug
When a mlx.core.array is created by random, zeros or ones, using torch.tensor(memoryview(a)) to convert it to PyTorch tensor will trigger this error
To Reproduce
Include code snippet
import mlx.core as mx
import torch

a = mx.zeros([3, 5])
b = mx.ones([5, 10])
c = mx.random.normal([2, 4])

torch.tensor(memoryview(a))
torch.tensor(memoryview(b))
torch.tensor(memoryview(c))

Expected behavior
Successfully convert to PyTorch tensors
Desktop (please complete the following information):

OS Version: MacOS 14.1.2
Version 0.0.7.dev202417

I followed #403 and used the dev version, but the error is still there.
Additional context
I noticed if the array is one dimensional then the conversion won't fail.

I think this is due to PyTorch doesn't support memoryview very well: https://github.com/pytorch/pytorch/issues/34651
I tried with numpy and it seems to be correct:

so I guess this is not mlx's problem.
Nonetheless maybe we should note this in "Conversion to NumPy and Other Frameworks" and wait for PyTorch to correctly implement this?

I will add a warning about this in the docs!

Docs are updated. Closing as this is a PyTorch issue.


Detail session management

Wiki page on session management, e.g what pippo implicitly does for us and what we must explicitly do.

A session is mainly a cookie (JSESSIONID) that has some data on the server
Data on server is so far only "email" or "resetemail" - used for authentication
Server uses in-memory session store (sessions are destroyed on reboot/update)

 #22 Detail session management


Unable to load the map via android on react-native 0.26.0

I am getting issue on load the react native map on my android.
I have added the key to my AndroidManifest.xml.
which is generated from
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
from the google api console, I have tried both the android key and browser key.

I am using
"react-native": "^0.26.0",
"react-native-maps": "^0.4.2"
on my view
import MapView from 'react-native-maps';
<MapView
style={styles.map}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}
/>
AirMapView
AirMapManager

after I recompile it from android studio it works like as expected. instead of running 'react-native run-android'


diff and migrate not available in the console application

Hi and thank you first of all for this module! We make extensive use of it. Is there any reason why the commands diff and migrate aren't allowed in the route of the genAction? Thanks in advance for your answer!

Well the routes programmed in the module's routing config are just basic. You can run the Propel bin file directly with any of its real parameters. It was too complex to convert to ZF2 routes at the time of writing this module and i no longer use Propel myself so the project is dead. Perhaps you should fork it and edit it to make it better.
-----Original Message-----
From: "netbrothers-tr"<EMAIL_ADDRESS>Sent: Tuesday, September 6, 2016 3:31pm
To: "MarshallHouse/zpropel"<EMAIL_ADDRESS>Subject: [MarshallHouse/zpropel] diff and migrate not available in the console application (#1)
Hi and thank you first of all for this module! We make extensive use of it. Is there any reason why the commands diff and migrate aren't allowed in the  route of the genAction ? Thanks in advance for your answer!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly,  view it on GitHub , or  mute the thread .

Okay, good to know and thanks for the reply!


Use scanpy hvg with batch key instead of scib package

It would be easier to understand what's going on if this function used the scanpy hvg function
https://github.com/openproblems-bio/openproblems/blob/2d7198652875e48c63b6b6d6ab440eec27bafda0/openproblems/tasks/_batch_integration/batch_integration_graph/methods/_utils.py#L1
sc.pp.highly_variable_genes(adata, batch_key=batch, n_top_genes=G, flavor="cell_ranger")

Good point... I think this is actually nearly equivalent to the scib function. Goekcen and I wrote this at the same time.


AttributeError: 'nuitka_resource_reader_files' object has no attribute 'suffix'

The said error occured when we run nuitka compiled exe . Here the code uses pathlib Path.
if file_path.is_file() and file_path.suffix == ".svg":

AttributeError: 'nuitka_resource_reader_files' object has no attribute 'suffix'

Not able to use file_path.match("*.svg") too. That also produces same kind of error.
2.4.2
Commercial: None
Python: 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)]
Flavor: CPython Official
Executable: D:\N312\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
Nuitka-Scons: For Python version 3.12 MSVC 14.3 or later is required, not 14.2 which is too old.
Version C compiler: ~\AppData\Local\Nuitka\Nuitka\Cache\DOWNLO~1\gcc\x86_64\13.2.0-16.0.6-11.0.1-msvcrt-r1\mingw64\bin\gcc.exe (gcc 13.2.0).

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback on whether this is working is very welcome. Please do not share plans to do it; only confirm or deny that it is working.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback on whether this is working is very welcome. Please do not share plans to do it; only confirm or deny that it is working.

Thanks. It is working on factory branch (2.5rc4).

Part of the current hotfix release 2.4.9


is Vue 2 still supported ?

I've tested your example downgrading to vue 2.7.10 and it doesn't work (but no errors in console sadly) So I wonder if it's still supported.
If only vue 3 is supported please update the doc to make it explicit

It is supported in v1: https://jsfiddle.net/posva/j2uc3dkv/, v2 is vue 3 only
Updated the demo for Vue 3


sprintfix: 升级 Django3 依赖组件适配

Codecov Report

Merging #298 (35dee53) into V2.1.356-rc (82bc8b3) will increase coverage by 0.02%.
The diff coverage is 56.57%.

@@               Coverage Diff               @@
##           V2.1.356-rc     #298      +/-   ##
===============================================
+ Coverage        62.46%   62.48%   +0.02%
===============================================
  Files              239      245       +6
  Lines            19783    19888     +105
===============================================
+ Hits             12358    12428      +70
- Misses            7425     7460      +35

Impacted Files
Coverage Δ

...s/backend/components/collections/bulk_job_redis.py
75.82% <ø> (ø)

apps/core/encrypt/handlers.py
100.00% <ø> (ø)

apps/utils/encrypt/rsa.py
91.30% <ø> (ø)

apps/core/files/storage.py
79.79% <25.00%> (-7.56%)
:arrow_down:

apps/node_man/periodic_tasks/utils.py
30.61% <30.61%> (ø)

apps/node_man/periodic_tasks/update_proxy_file.py
42.64% <32.55%> (+17.25%)
:arrow_up:

apps/backend/plugin/handler.py
58.53% <58.53%> (ø)

apps/backend/plugin/views.py
34.66% <68.75%> (-1.63%)
:arrow_down:

apps/backend/plugin/serializers.py
76.21% <71.42%> (+0.73%)
:arrow_up:

apps/node_man/handlers/meta.py
92.64% <78.57%> (-1.11%)
:arrow_down:

... and 20 more

Continue to review full report at Codecov.

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


Improve PowerToys Run calculator

Description of the new feature / enhancement
Improve the calculator so it can handle more complex expressions. For example:
(40 - 80)/(7e2*3)
So it can understand at least:
brackets
exponents
Similar to that understood by the Windows scientific calculator or at least the one in OneNote.
Scenario when this would be used?
Whilst programming, debugging and inspecting logs I often have to do simple calculations.
Supporting information
No response

Thanks for your message. This is a Duplicate of an other issue. Additional comments may be added there. /dup #2265


merge from 00-dev into main

:tada: This issue has been resolved in version 0.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Auto clean old inserted data

Please consider to provide the ability to clean the database of the old collections.

Stix2arango now allow to vaccum database using stix2arango.feed.vaccum method


Incorrect check asText on ArrayNode element

Here you're checking contributors are not empty:
https://github.com/frictionlessdata/datapackage-java/blob/main/src/main/java/io/frictionlessdata/datapackage/Package.java#L775
That doesn't look like a correct way to do that. Contributors is ArrayNode which derived from ContainerNode and asText implemented there as:
@Override
public String asText() { return ""; }

https://github.com/FasterXML/jackson-databind/blob/2.15/src/main/java/com/fasterxml/jackson/databind/node/ContainerNode.java#L41
I think the right way would be:
!jsonNodeSource.get(Package.JSON_KEY_CONTRIBUTORS).isEmpty()

@iSnow

Needs test cases
valid concern, unfortunately down on my list of prios.


Fix colorscale

Pull in https://github.com/Yelp/terraform-provider-signalform/pull/36
r? @sjung-stripe
cc @choo-stripe @stripe/observability

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 4 committers have signed the CLA.:x: ChimeraCoder:x: drmorr0:x: rahulravindran0108:x: timmowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add PR commit message check to workflow

Is your feature request related to a problem? Please describe.
Add check on commit messages of PR to make sure each begin with a issue number
[#nnn] or [NO-ISSUE]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
Optional. A clear and concise description of any alternative solutions or features you've considered.
Additional context
Optional. Add any other context or screenshots about the feature request here.

I am closing this issue as it is already implemented in https://github.com/artemiscloud/activemq-artemis-broker-image/commit/1a4647b1e62bc7c5fb381c31e962619c1dacb99b


Documenting repo management process

Since we have updated the way we handle branching in this repository, we should add a page to the docs on how everything works in this repository.
Roughly:

All typos/docs changes that are relevant to the 'current' and future releases are made against master
Changes for the next release are always made against release-next
We periodically merge master into release-next
When releasing version v0.X, we:

create branch release-0.(X-1) by branching from master
merge master into release-next one final time
update config on release-next to include the release-0.(X-1) branch (and any other changes required)
merge release-next into master

From there, the process repeats.
This process means that:

master is always the currently published version of the docs
release-next is always the docs for the next version of the docs
release-0.X contains 'old' documentation versions and merges to these branches is ~never done (unless there's some exceptional circumstances that require it)

We should also add a link to update docsearch

/kind documentation
/priority important-longterm

This has totally changed since this issue was raised.
The only important branches now are master and release-next. I'll raise a PR to document that in the README of the website (it's mentioned in the release process but not in the website README). Will close this straight away.


⚠ Processors has degraded performance

In a58cb95, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 50 ms

Resolved: Processors performance has improved in 56447a9.


Feature/icon address

ICON (ICX) Integration
-Address Generation
-Transaction Formation (TODO)
-Transaction Signing (TODO)

Codecov Report

Merging #64 into master will decrease coverage by 0.13%.
The diff coverage is 81.92%.

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
- Coverage   86.78%   86.64%   -0.14%
==========================================
  Files          81       85       +4
  Lines        2935     3018      +83
==========================================
+ Hits         2547     2615      +68
- Misses        388      403      +15

Impacted Files
Coverage Δ

Sources/Ethereum/PublicKey+Ethereum.swift
100% <ø> (ø)
:arrow_up:

Sources/BlockchainFactory.swift
0% <0%> (ø)
:arrow_up:

Tests/SlipTests.swift
100% <100%> (ø)
:arrow_up:

Tests/PurposeTests.swift
100% <100%> (ø)
:arrow_up:

Tests/Icon/IconAddressTests.swift
100% <100%> (ø)

Tests/CryptoTests.swift
100% <100%> (ø)
:arrow_up:

Sources/Crypto.m
95.95% <100%> (+0.17%)
:arrow_up:

Tests/HDWalletTests.swift
100% <100%> (ø)
:arrow_up:

Sources/Icon/Icon.swift
40% <40%> (ø)

Sources/Icon/IconAddress.swift
78.57% <78.57%> (ø)

... and 5 more

Continue to review full report at Codecov.

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


add rbac support

As project usage increased, we started to get internal requests to restrict the projects that should be visible to a specific user. Currently, it is not possible. We want to avoid forcing users to duplicate all the permissions, so the most reasonable approach is re-using RBAC from ArgoCD itself.

Additionally, for now, let's implement it in the context of already existing keycloak integration.


how do i interact with a document?

I have SecureAI tools working and I'm able to select a document directly then ask questions for the model and get my reply.
How can I do this with the tool you created?

Hi @jersam
Have you looked at my readme file? Or more specifically this screenshot?
https://github.com/JLeine/open-webui/blob/main/docs/paperless/query-tool.png
This should give you an idea of how to use the tool. It depends on your documents within paperless and how you have tagged or categorised them.

Yes of course.
This project https://github.com/SecureAI-Tools/SecureAI-Tools let's you
interface to the document from search,  find the document,  select it and
ask questions.
I didn't see this function
On Wed, Oct 2, 2024, 4:48 AM Jonas Leine @.***> wrote:

Hi @jersam https://github.com/jersam
Have you looked at my readme file? Or more specifically this screenshot?
https://github.com/JLeine/open-webui/blob/main/docs/paperless/query-tool.png
This should give you an idea of how to use the tool. It depends on your
documents within paperless and how you have tagged or categorised them.
—
Reply to this email directly, view it on GitHub
https://github.com/JLeine/open-webui/issues/9#issuecomment-2388446919,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEG4H4DATIRRQ5V7BPICIK3ZZPMR3AVCNFSM6AAAAABO36O436VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBYGQ2DMOJRHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


[single-machine-performance] Add experimental DogStatsD dropped-data checks

What does this PR do?
This PR adds a new regression detector experiment for DogStatsD over UDP. Both this and the existing UDS DogStatsD experiment are configured with a 'check' to verify that the number of bytes reported by agent roughly matches the number of bytes that was sent by the load generator. These checks are experimental and will not impact regression pass/fail status.
Reviewer's Checklist

[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] Changed code has automated tests for its functionality.
[x] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[x] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[x] If applicable, the need-change/operator and need-change/helm labels have been applied.
[x] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[x] If applicable, the config template has been updated.

/cc @scottopell This will get the UDP & UDS DogStatsD 'lost bytes' checks into an experimental section on agent regression reports


added user list

We'll discuss you work at monday. I can't merge it right now because its too messy.


Headers sometimes don't get written to CSV file

file.tell() sometimes evals to True when the headers haven't actually been written to file, which causes a few dodgy exceptions when trying to sort the file (or reading off of it to get the usernames to add to processed)
Tracebacks:
When running it normally:
(venv)erkghlerngm44:~/workspace/r-anime-soulmate-finder (master) $ python3 -m soulmate_finder USER --ftf 15 --quiet --buffer-size 1024
Retrieving comment ids for FTF: Free Talk Fridays - Week of September 08, 2017 (6yr7ff)
...
Retrieving comment ids for FTF: Free Talk Fridays - Week of June 02, 2017 (6eqwxj)
Traceback (most recent call last):
  File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/workspace/r-anime-soulmate-finder/soulmate_finder/__main__.py", line 293, in <module>
    main(comments, **vars(args))
  File "/home/ubuntu/workspace/r-anime-soulmate-finder/soulmate_finder/__main__.py", line 202, in main
    reverse=True)
  File "/home/ubuntu/workspace/r-anime-soulmate-finder/soulmate_finder/__main__.py", line 201, in <lambda>
    sorted_data = sorted(reader, key=lambda d: float(d["affinity"]),
KeyError: 'affinity'

When trying to re-run after exception raised:
(venv)erkghlerngm44:~/workspace/r-anime-soulmate-finder (master) $ python3 -m soulmate_finder USER --ftf 15 --buffer-size 1024
Retrieving comment ids for FTF: Free Talk Fridays - Week of September 08, 2017 (6yr7ff)
...
Retrieving comment ids for FTF: Free Talk Fridays - Week of June 02, 2017 (6eqwxj)
Traceback (most recent call last):
  File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/ubuntu/workspace/r-anime-soulmate-finder/soulmate_finder/__main__.py", line 293, in <module>
    main(comments, **vars(args))
  File "/home/ubuntu/workspace/r-anime-soulmate-finder/soulmate_finder/__main__.py", line 152, in main
    user = row["reddit"]
KeyError: 'reddit'

Options:

See what's causing file.tell() to eval True when we don't want it to be True, and patch up
Replace the if file.tell(): with something like if file.read().startswith(",".join(const.HEADERS)): (which is a bit messy but should do the job), which will eval to False if no headers, and will write them in.

Hmmmm...

Can't reproduce and don't know how to reproduce
The only way I know to "fix it" would be to take the if file.read().startswith(",".join(const.HEADERS)): suggestion, and modify it (because we're opening it in bytes mode and it doesn't like plain strings being written to file) to make if file.read().startswith(b",".join([x.encode() for x in const.HEADERS])):, which is some ugly stuff.
Even if I do come up with something that looks nice and works well, the problem is writing it to file when there's already csv rows in there (which can happen because the above got raised, but then again, I can't repro to confirm), as the header won't automatically get written in to row 1, but appended to the end of the file due to the file being opened up with a+b. I'd have to perform some dodgy operations to get it to insert into the correct place.

I guess the only thing that can be done is to write the headers in manually.

Closing. Will reopen if I think of something...

 It's not because file.tell() evals to True, it's because the file doesn't get flushed when the headers do get written in...


Null values when reading parquet file generated by spark

Version: Parquet.Net v3.2.0
Runtime Version: .Net Framework 4.7.1
parquet-file.zip
OS: Windows
Expected behavior
Library should load the file and have no nulls in the word column. The original parquet file doesn't contain any null values.
Actual behavior
about 100k values are populated, rest of the array is null.
Steps to reproduce the behavior

Step 1. Load file
Step 2. find nulls :(

Code snippet reproducing the behavior

private static void ReadFile()
      {
         var sv = new DataField<String>("word");
         using (var reader = ParquetReader.OpenFromFile(@"C:\testdata\test_parquet\part-00000-9fba442c-dc6a-417a-977b-bd346dc84907-c000.gz.parquet"))
         {
            var schema = reader.Schema;
            var cl = new List<DataColumn>();

            using (ParquetRowGroupReader rgr = reader.OpenRowGroupReader(0))
            {
               var d = rgr.ReadColumn(sv);
               var g = (string[])(d.Data);

               log.Info(g.Length.ToString());

               for (var index = 0; index < g.Length; index++)
               {
                  var s = g[index];
                  if (string.IsNullOrEmpty(s))
                  {
                     // this should not happen
                     log.Warn($"null at {index}");
                     break;
                  }
               }
            }
         }
      }

just confirmed that v2.1.4 works

I'm not sure if this is relevant but stepping through the code it seems that DataColumnReader::Read is only reading the first data page
DataPageHeader(, Num_values: 103069, Encoding: PLAIN_DICTIONARY, Definition_level_encoding: RLE, Repetition_level_encoding: BIT_PACKED, Statistics: Statistics(Max: System.Byte[], Min: System.Byte[], Null_count: 0))
If I change
int totalCount = Math.Max(
               (colData.values == null ? 0 : colData.values.Length) +
               (colData.indexes == null ? 0 : colData.indexesOffset),
               (colData.definitions == null ? 0 : colData.definitions.Length));
            if (totalCount >= maxValues) break; //limit reached

to
int totalCount = Math.Max(
               (colData.values == null ? 0 : colData.values.Length) +
               (colData.indexes == null ? 0 : colData.indexesOffset),
               (colData.definitions == null ? 0 : colData.definitionsOffset)); // <-- changed this
            if (totalCount >= maxValues) break; //limit reached```

on DataColumnReader line 97 then it reads three pages with 103069, 102878 and 28299 values which add to the total number of elements (234246), but it throws an IndexOutOfRange exception on the last item batch. Now, I have no idea about parquet internals but these are 5-bit packed dictionary references. Could it be that the bit-count is wrong somewhere, making the counters go out of sync and finally throwing when processing the last page?

I remember someone else raised similar issue but we couldn't reproduce it, now looks we got down to it with your sample file so thank you :) I'll run this tomorrow and feed back here. Item count in parquet seems to be weird in places, sometimes it will contain more elements, probably aligned to 8  bit boundary?

Btw we have integration tests comparing with Spark libs but theyre new and not everything is covered so far, will be a good candidate.


KAFKA-7897; Do not write epoch start offset for older message format versions

When an older message format is in use, we should disable the leader epoch cache so that we resort to truncation by high watermark. Previously we updated the cache for all versions when a broker became leader for a partition. This can cause large and unnecessary truncations after leader changes because we relied on the presence of any cached epoch in order to tell whether to use the improved truncation logic possible with the OffsetsForLeaderEpoch API.
Note this is a simplified fix than what was merged to trunk in #6232 since the branches have diverged significantly. Rather than removing the epoch cache file, we guard usage of the cache with the record version.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I'm finding it hard to verify whether or not a replica would truncate to the high watermark offset.
In AbstractFetcherThread#maybeTruncate(), we would call handlePartitionsWithErrors() which would call this:
def handlePartitionsWithErrors(partitions: Iterable[TopicPartition]) {
    if (partitions.nonEmpty)
      delayPartitions(partitions, brokerConfig.replicaFetchBackoffMs.toLong)
  }

It won't go into the if (epochRequests.nonEmpty) { and call the parent maybeTruncate(leaderEpochs) which would actually truncate the log.
Does this mean that the logs with the newer message format won't get truncated?

@stanislavkozlovski Yeah, good point. Looks like 2.0 doesn't have the same logic to filter undefined epochs. Let me see what I can do.


test on linux

Sorry not clear how to test on Linux.
Instructions provided are for Windows.

Paraphrasing the 'Windows instructions' or looking at .travis.yml, and assuming string-view lite sources are in in ~/string-view-lite:
mkdir ~/build-string_view-lite && cd ~/build-string_view-lite
cmake -G "Unix Makefiles" -DSTRINGVIEW_LITE_OPT_SELECT_NONSTD=ON -DSTRINGVIEW_LITE_OPT_BUILD_TESTS=ON -DSTRINGVIEW_LITE_OPT_BUILD_EXAMPLES=OFF ~/string-view-lite
cmake --build .
ctest --output-on-failure

Thank you. It works on RHEL 6 gcc 6.
But fails on gcc 4.4 - but no problem.

The lowest version of gcc that is tested via Travis is gcc 4.8; that one succeeds.


Eddysone UID beacon

Hi guys, haven't had much luck creating an Eddystone UID beacon for ESP32 with this library, is it supported, if not can you suggest a library that could be used? TIA

Hi @AdamMiltonBarker eddystone uid is supported the same way as the other beacons. There is no direct api for this however.
If you post your code I can help you with it.

OK thanks will keep working on it. Having a bit of a nightmare lol. Yesterday using a project based on the URL example the accuracy was great, I was able to position myself pretty accurately using an Android scanner, looks like it was a freak, today the accuracy is terrible. Had spent a lot of time working on RPI beacons for indoor positioning and came to the conclusion beacons are simply no good for this task, thought my luck was in yesterday, sadly it seems not.
Thanks for the offer, I am working right now but will upload code tomorrow. Speak soon.

@AdamMiltonBarker any updates on this?

Closing as stale.


flag to disable stdout capture during tests

I'm not entirely sure how to get this working in chrome.
I couldn't even normal chrome usage when testing. I attempted in windows and the WSL environment with Chrome 58.

I'm not entirely sure how to get this working in chrome.

You mean how to pass the --nocapture? I haven't tried it, but I'm guessing that we'd have to set Module['arguments'] and pass the --nocapture there just as it's passed to a real tests executable. (If you look at the DEFAULT_TEST_INDEX_HTML you can see that I'm currently setting print, printErr and onExit on Module - that's where you'd set the arguments.)

I couldn't even normal chrome usage when testing.

Do you mean that running tests through Chrome on Windows doesn't work at all? (Assuming your other PR is merged in.)

I added --nocapture to Module['arguments'].

Do you mean that running tests through Chrome on Windows doesn't work at all? (Assuming your other PR is merged in.)

Ya chrome launches but the tests don't. For native windows this makes sense, the chrome dev blog says that headless doesn't work on windows yet. In WSL I get a time out with "No such process", I'm not entirely sure if chrome is supposed to work in WSL though.

Ya chrome launches but the tests don't.

Hmm... this is strange. Even if your copy of Chrome doesn't support headless it should work - without headless support it'll just flash an empty page at you while it's running the tests (or at least that's how it works on Linux if you have Chrome which doesn't support headless).
Could you perhaps play with the the arguments which we're passing to Chrome and see if that might help? Also you could try to go into Chrome's developer tools and see if an exception was thrown or something. (If you replace the --app=$URL parameter with $URL it should run with the menu visible, I think.)
(On a side note the whole way we're running tests in Chrome right now is definitely suboptimal and I do plan to rework it sooner or later. Instead of doing it the way it's done right now I'd be better to connect to Chrome using the Chrome Debugging Protocol and control it through that; I haven't had the time to investigate this yet though.)

I've been thinking about this. It may be better to add a pass through argument like cargo does so that not every flag that the test runner supports needs to be promoted to a cargo web flag. For instance, cargo test -- --nocapture could become cargo web test -- --nocapture. I couldn't find an obvious way to do this with clap though. I'll do some more digging though.

Figured it out. The most recent commit will just pass through anything after -- to the test harness.

Requested changes made.

Thanks!


adjusting all the icon images on the home page in mobile devices

Assigned to you @Ab2602

Update @Ab2602?

Update @Ab2602?

Done


next performs step instead?

Hello and thanks a bunch for this project!
I am trying to switch our project to this gem after realizing too late that Zeitwerk does not support byebug.
I am having a little bit of trouble however, namely it seems like next and step do the exact same thing.
next

step

This is a bit unfortunate as it would be really helpful to be able to step over some of these statements for debugging. Have you seen this before? Could some other gem be potentially interfering with break or something like that? We are on Ruby 2.7.2 using standard MRI.

I also have this problem.

I is broken at least for Ruby 2.7+. Too much life is happening to me right now, and I'm slow on the break side. A new official ruby debugger is in the works and you may keep an eye on it: https://github.com/ruby/debug. I'll at least try to take a look here, but I cannot promise a timely fix.
I'm really sorry, folks! ✌

@gsamokovarov All good, thanks so much for the update.

Should be fixed in 0.30.0. Sorry for taking so long to respond and feel free to reopen the issue if the problem persists.