python test from docker image not working

Hi, I pulled the docker image. The programs in the example folder run nicely. However if I try to run TASO on an ONNX model, for example by calling python python/test.py I get
Traceback (most recent call last):
  File "python/test.py", line 1, in <module>
    import taso
  File "/usr/TASO/python/taso/__init__.py", line 1, in <module>
    from .core import *
ModuleNotFoundError: No module named 'taso.core'

I tried to recompile the project but I am still getting the same error.

Thanks for trying TASO. The error is because there is a folder called taso in /usr/TASO/python'. So when you run test.py, python will look for modules inside the taso folder. An easy way to fix this is to move test.py` to a different folder. I have updated this in the source code and docker.

Thanks for the quick update! I saw that you moved the ONNX test into example. I tried and now I get the following:
Traceback (most recent call last):
  File "onnx_test.py", line 4, in <module>
    old_model = taso.load_onnx("airline.onnx")
AttributeError: module 'taso' has no attribute 'load_onnx'

Thanks for reporting error --- this is due to a name mismatch between our document and the Python API. I have fixed the naming issue, and you now should be able to use load_onnx to load an ONNX file.

Thanks it worked! I have another problem now, I will fill another issue.

I don't believe this was fixed in the docker image yet! I run into the same issue when trying to use the python shell from the docker image

Hi @jiazhihao ,
I successfully installed taso from source, when i run it to verify with command "import taso"
It throws the below error:
taso/init.py", line 1, in
from .core import *
ModuleNotFoundError: No module named 'taso.core'.
Any help here?
Thanks,
Vinayak

@vinayak618 It seems you may not have Cython installed --- it currently returns a warning instead of a error when you install the TASO python package. Can you please verify that you have Cython?

Hi @jiazhihao ,
Checked with cython, it's installed and the version is 0.29.14
pip install cython
Requirement already satisfied: cython in /home/ubuntu/anaconda3/lib/python3.7/site-packages (0.29.14)
Error:
/taso/__init__.py", line 1, in <module>     from .core import * ModuleNotFoundError: No module named 'taso.core'

Hi  @jiazhihao ,
I am using the docker image,
I generate alexnet.onnx by
from torch.autograd import Variable
import torch.onnx
import torchvision

dummy_input = Variable(torch.randn(10, 3, 224, 224)).cuda()
model = torchvision.models.alexnet(pretrained=True).cuda()

input_names = [ "actual_input_1" ] + [ "learned_%d" % i for i in range(16) ]
output_names = [ "output1" ]

torch.onnx.export(model, dummy_input, "alexnet.onnx", verbose=True, input_names=input_names, output_names=output_names)

Then I run
model2 = taso.load_onnx("alexnet.onnx")

the following error appears:
>>> model2 = taso.load_onnx("alexnet.onnx")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/lib/python3.7/site-packages/taso-0.1.0-py3.7-linux-x86_64.egg/taso/__init__.py", line 730, in load_onnx
    assert len(node_list) == len(model.graph.node), "Internal error when reording ONNX operators"
AssertionError: Internal error when reording ONNX operators


Document more twilight_http methods

Adds documentation to the Client struct, as well as the structs returned by methods on the Client struct. This PR is currently a draft. Comments and suggestions are dearly suggested.

Marking this ready to review, the +- has already grown too large. The rest of the documentation and further fixups will be done on separate branches and with separate PRs.

Marking this ready to review, the +- has already grown too large. The rest of the documentation and further fixups will be done on separate branches and with separate PRs.


fix Code in Theming Examples does not have a corresponding output

This resolves issue #1597. The code in docs did not correspond to the actual output. Futhermore the code was outdated, resulting in not doing what it was intended to do.
Before:

After:

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Server Side Layout Definition

I'm thinking of dynamic layouts, which customer can change the layout of their application whenever they want to.
So I thought of a "layout definition protocol" using json.
The problem is with the reflection support in flutter.
LDP example
Map decodedJson = {
    "cname": "Text",
    "args": [
        "hello"
    ]
};

dynamic node;
if (decodedJson["cname"] == "Text") {
    String content = decodedJson["args"][0];
    node = new Text(content );
}

Can you suggest better techniques other than code generation?
example generated code:
ClassesTable = {
    "Text": _$Text
};

class _$Text {
    static Text build(j) {
        String data = j["args"][0];
        TextStyle style = _$TextStyle.build(j);
        TextDirection textDirection = _$TextDirection.build(j);
        ...

        return new Text(
            data,
            style: style,
            textDirection: textDirection,
            ...
        );
    }
}

https://github.com/flipkart-incubator/proteus
Proteus is meant to be a drop-in replacement for Android’s LayoutInflater; but unlike the compiled XML layouts bundled in the APK, Proteus inflates layouts at runtime. With Proteus, you can control your Apps layout from the backend (no WebViews). Forget the boilerplate code to findViewById, cast it to a TextView, and then setText(). Proteus has runtime data bindings and formatters. Plugin in your own custom views and attributes and functions to flavour proteus to your requirements.

Hello team, is there any update on the above milestone? Will there be any package to write server driven ui code in next few months? @zoechi


Add directory for flame graphs and add bash scripts

Add directory for flame graphs and add bash scripts.

@falloutdurham
Conflict resolved.


Upgrading to OTP 24 - returning "Key exchange failed" error on connecting.

This is not a bug, but adding this for anyone experiencing the same issue in the future.
OTP 24 disabled public key ssh-rsa  per default: https://github.com/erlang/otp/commit/59285df73841273adb111996cdb590ae1b86742b and it needs to be added manually if you are using it.
Is it worth it to add update the readme to add ssh-rsa to the config when upgrading to OTP 24?`
modify_algorithms: [
   append: [
      public_key: [:"ssh-rsa"]
    ]
]

Thank you!!! It would be so wonderful if this were emphasized in the docs. Took me a while to arrive here. 😅

Thank you, this helped me!

Sorry for replying so late but I've been out of the Elixir game for a couple of months. I added a hint to the readme. Thanks everyone!

Thank you @tlux !!!


Support invitations for conversations

to test

Load invites at startup, add /join /leave support for requests


demo gh-938

Enrich security-webflux with @EnableReactiveMethodSecurity to demo https://github.com/spring-projects-experimental/spring-native/issues/938

Closing this PR as the related issue has been close.
@eleftherias I will let you add @EnableReactiveMethodSecurity in the security sample if you think that's worth to.


Idea about hovering effect helpers and responsive helpers

I just wonder how do you think about some helpers like .red-hover/.primary-hover/.primary-hover-text. Will you think this is a very narrow use case that does not worth the disk space to be covered at mainline of this lib?
.red-hover:hover {
  background-color: red !important;
}
.red-hover-text:hover {
  color: red !important;
}
.primary-hover:hover {
  background-color: var(--primary) !important;
}
.primary-hover-text:hover {
  color: var(--primary) !important;
}

BTW, how do you think of this PR? That PR seems automatically closed by branch changes and does not get responses.

Hi @FirokOtaku ,
We need to think about it. I don't have any idea how to do that in a "nice way".
Your PR was deleted (because the develop branch was deleted accidentally 😅).
But I think you can use the small, medium, large helpers on dialog element. They will respect the viewport area.

I don't have any idea how to do that in a "nice way".

Maybe we can nest them all together?
:hover
{
  &.red-hover {
    background-color: red !important;
  }
  &.green-hover {
    background-color: green !important;
  }
  ...
}

But I think you can use the small, medium, large helpers on dialog element. They will respect the viewport area.

.small, .medium and .large helpers are giving limitation to container size, which is a different functionality to "responsive layout" I think.

I think we can add this in /helpers/colors.css.
But we would to remove the colors helper soon 😅. I opened a poll sometime ago about this https://github.com/beercss/beercss/discussions/271
Doesn't make much sense to maintain a color helper (when we already have a theme)
I think we can add the color helper as optional, like the material-dynamic-colors lib.

But we would to remove the colors helper soon 😅. I opened a poll sometime ago about this #271

Ohh, okay.
I do use the colors.css APIs, but I personally feel okay with your decision. Putting them into an optional lib is not some real big breaking changes and should not be very hard to be integrated with.


[dev] set -D{LIBCXXABI,COMPILER_RT}_USE_LLVM_UNWINDER=OFF

For #162, picking up relevant changes from #167

OK, the linux-bits will need further iteration (perhaps you're right and we can get rid of libunwind again completely?), but for testing arcticdb, this is enough for now.


Update google-cloud-nio to 0.127.5

About this PR
📦 Updates com.google.cloud:google-cloud-nio from 0.127.3 to 0.127.5
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-nio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-nio" }
}]

labels: test-library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #975.


Confusing semicolons

Semicolons should work similar to ocaml just when an instruction has side effects, I don't get yet why to put a semicolon at the end of }, this was used in ocaml before to separate the functions and was double ;; but now you don't have to and it's better, also semicolons should have a section on the reasonml documentation, also I used to code on JS and TS without semicolons and there are a lot of programmers that don't like them because it's a keystroke more per each line I think this should be improved on reasonml

Coding without semicolons in JS (and I'm guessing TS too) is not actually coding without semicolons, it's coding with a weird set of rules the programmer must remember about where implicit semicolons will be added.
Types make Reason better than JS. Requiring semicolons makes it more consistent. As for OCaml, they're also replacing the word in that permeates a lot of my OCaml functions.
You're right, though, there should be a few notes about this in the docs.

@TheSpyder I know that the semicolon rules are not so much but if let always ends with in in ocaml why not adding it automatically in the code generator and take the lastest expresion as the return type as in ruby, elixir or elm, personally I dislike to type a character per each line it is to put the work of the parser on the developer's shoulders

Reason doesn't have in, it uses semicolons instead. Either way ocaml-style structure requires something to be there, whitespace doesn't matter so the compiler can't presume a let declaration is finished just because a newline character is reached.
Everything in syntax is about trade-offs. There are benefits to the developer of having this semicolon with reduced ambiguity. They just aren't very well documented.
As for expressions; the last expression in a function is indeed the return type. And in some cases, the semicolon can be left out (you still need at least one per function though). If you're using vscode the Format Document shortcut should work and will remove unnecessary semicolons.

why if I make this
let sum = (a, b) => {
  let w = a + 1;
  let x = b + 1;
  w + x
};

the formatter auto insert the semicolon at the end line
let sum = (a, b) => {
  let w = a + 1;
  let x = b + 1;
  w + x;
};

I thouht semicolons worked similar that in ocaml and rust

They are parsed similar to OCaml and Rust, but they are printed in the final line. We made this change based on feedback that people were annoyed by the formatter removing a final semicolon because it made it more difficult for them to copy/paste lines of code.
We will be continuing to relax the necessity of semicolons in other areas where it makes sense, and where it doesn't prove to be too challenging. For example:
() => {
  let x = 0
  let y = 0;
  result
}

Would also be parsed, and printed with all the semicolons. I'm not entirely sure this will be worthwhile, but we will give it a shot.

Maybe a good first step would be to remove semicolons after all ending curly brackets?


Datetime field type

What would you like to be added?
Since Obsidian Projects already supports date field types, I'd like to suggest the addition of a datetime field type, which keeps compatibility with the former.
More specifically, during the type inference of a field, the common denominator type for a field with either dates (YYYY-MM-DD) or datetime values (YYYY-MM-DDTHH:MM:SS or YYYY-MM-DD HH:MM:SS) should be 'datetime', as opposed to 'text'.
Since Obsidian Projects allows setting date values from certain views (e.g. Table View) using a native HTML date input type, that could be changed to datetime-local to allow setting time values alongside a date:

Obsidian Dataview (and probably also the future Datacore) supports datetime values, meaning that using dataview queries as data sources would still play well with the new type.
Why is this needed?
Having more granular timestamps for projects would help with organizing multiple tasks/projects during a single day. For example, the "Demo project" bundled with the plugin features entries with a "due" field, which could be even better if showcased using datetime values.
This is one thing I'd really like to see in the plugin, as I'm considering switching some workflows to Obsidian from another app, where this kind of feature proved very helpful.
Thanks for your work on Obsidian Projects!

Thanks for the suggestion! 🙏 I think it makes sense to support datetimes.
I'm not yet sure how to represent them though. For example:

Extend current Date field type with support for time.
Introduce a Datetime field type with support for both date and time.
Introduce a Time field type to complement the current Date field type.

If we create separate Date and Datetime field types (2), it's going to make it harder to configure the Calendar if you want to mix date and datetime events.
Similarly, I think it might be annoying to have to configure a separate Time field (3).
I'm leaning towards (1), but then we'd need to figure out what it means when records mix date and datetime formats. We could add a field config option whether to include time or not.

If enabled, 2023-01-01 will be interpreted as 2023-01-01 00:00.
If disabled, 2023-01-01 14:23 will strip the time and be interpreted as 2023-01-01.

Nice ideas, hope for that feature, too!  👍

I would like support for ISO 8601 longform dates in the format YYYY-MM-DDTHH:mm:ssZ. This format is supported by Obsidian Properties and other plugins like Dataview. And it eliminates problems with time zones because the time zone is baked in.
Practically speaking most systems (like databases such as Postgres) support date and datetime types independently. But few support an independent time type. I could see "time" being useful for like daily things like cron jobs and pill reminders, but I would not worry about that for now. Thus I would lean towards option 3 - not least of all because it maintains compatibility with all other Obsidian core and community plugins.
Google Calendar separates "all day" events from set time events. I think for a first pass it would be fine for the calendar view to not really allow mixing them.
And yes, every system and programming language and library I've used where the time is optional when parsing a datetime field will return midnight for that given date.

Google Calendar separates "all day" events from set time events. I think for a first pass it would be fine for the calendar view to not really allow mixing them.

Regarding this, as Calendar view currently only accepts one field as its date feed, I think it won't cause problem if we support datetime field and utilize it to locate records. I think it would be a good start to make Calendar view recognize datetime fields.

Any updates on this? Obsidian's date & time property type won't show time in table view.

@Hexara7777 will be worked on next. Thanks for remind me about datetime support of the Table view!

@Acylation Yay! Nice to know that, you're welcome.

Instead of focusing on which of the date, time, and datetime types is best to use, I'd suggest considering how the upcoming Temporal API distinguishes between the different kinds of time.
If I understood the proposal correctly, there are generally three types of time:

Instants – The moment something happens, like a timestamp.
Zoned date times – This is what I'd use to set up meetings across time zones.
Plain date times – Alice eats breakfast every morning at 7:00 AM, or Bob gets paid every 15th of the month.

This kind of distinction isn't available in Notion as far as I'm aware, and it's something I found myself needing on different occasions. Here are some examples off the top of my head where I could have used this:

Thing
Type of time

Flight times
Zoned date times

Meetings
Zoned date times

Habit trackers
Plain date times

Project completion dates
Instants (or possibly zoned date times)

Friends' birthdays
Plain date times

This article from the proposal goes into more detail about the potential ambiguity that the Temporal API aims to solve.
It would be exciting to have this kind of granularity in Obsidian, and I hope that it's something the maintainers will consider!

Recommend support 2024-01-01T13:34:36+08:00
This time format is the ISO 8601 date time format. This format represents date time with readability and international uniformity.

Hi, just curious if there have been any new updates or plans regarding this issue ?

Now the "Date&Time" Property would be treated as plain text.
Could it be treated as "Date" (just throw the time) at least?
( Though it would be the best to add support for Date&Time  <3 )

+1 this feature

Hi @marcusolsson, could you take some time review these implementations? I'm a bit hesitate between them as Obsidian now seems treating Datetime as a unique field type (so does the list type but this is for another day), while I agree that proposal (1) is more flexible and can eliminate the detection of mixed-type field.


meraki-testing remaining points

List of points not still done: cc @Fmusso94 @marcopiraccini

UI Fixes on the page "Recent Apps"

E) (UI) Can we increase the width of the column "Name" to 566px?

UI fixes on the page "All Apps"
F) (UI) Is there a way to make the column wider?

on "Edit Application modal":
C) (UI) The padding here should be at 80px;
E) (UI) If think you already implemented the Tooltip about the runtime, but here is missing;


Fix resolve self priority

All changed packages have been documented.

:white_check_mark: @typespec/compiler

Show changes
@typespec/compiler - fix ✏

Fix order of resolution from node_modules and parent package

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


compile.scm support for "let module .. in .."

The code sems good, and this seems to be equivalent to extruding the module to global scope. However, I'm afraid about what would happen if the local module were to perform side-effects or to access a local variable: it seems to me we would then silently generate incorrect code. I am unsure how I feel about this: do we decide it is ok to silently generate incorrect code in that case, or should all programs that effectively generate code generate the expected code?

That's a good point. It is not very hard to check that a module declaration is "pure" if we check that it does not contain non-immediate-function declarations (the common case). We could also check that no local variables are used by removing them from the compilation environment. I don't know if getting this right is so much work that it's not worth it.

Given how little we use local modules for now, I think that it's not worth it. If the situation changes I would be happy to resurrect this PR and add the necessary checks.


Error produced with --all-subs on bbc.co.uk

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.09.01. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.09.01

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--all-subs', '-f', 'stream-uk-iptv_streaming_concrete_combined_sd_mf_limelight_uk_hls-1836', 'https://www.bbc.co.uk/programmes/b00795qb']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.09.01
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-91200-g1616b1be5a, ffprobe N-91200-g1616b1be5a
[debug] Proxy map: {}
[bbc.co.uk] b00795qb: Downloading video page
[bbc.co.uk] b00795qb: Downloading playlist JSON
[bbc.co.uk] b006x0pv: Downloading media selection XML
[bbc.co.uk] b006x0pv: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading m3u8 information
[bbc.co.uk] b006x0pv: Downloading m3u8 information
[bbc.co.uk] b006x0pv: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading MPD manifest
[bbc.co.uk] b006x0pv: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading m3u8 information
[bbc.co.uk] b006x0pv: Downloading m3u8 information
[bbc.co.uk] b006x0pv: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading MPD manifest
[bbc.co.uk] b006x0pv: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b006x0pv: Downloading captions
[bbc.co.uk] b006x0pv: Downloading captions
**ERROR:** Unable to download XML: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkzpz548c\build\youtube_dl\extractor\common.py", line 599, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkzpz548c\build\youtube_dl\YoutubeDL.py", line 2211, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default...
<end of log>

Description of your issue, suggested solution and other information
When attempting to download from bbc.co.uk, error is produced when --all-subs used to download subtitles.  If I don't use --all-subs then download occurs successfully.

Duplicate of #17247.


WPCW-DT1

Source
https://www.tvpassport.com/tv-listings/stations/cw-wpcw-pittsburgh-pa/3187
Channels
WPCWDT1.us
Notes
No response

Fixed by 4601aa2


Implement debug logging in Cowboy the same way the ssl does

See http://blog.erlang.org/ssl-logging-in-otp-22/ for a full description.
One could enable debug logging in Cowboy to see all the packets transmitted and what Cowboy thinks of them, something like that. Could make some client issues obvious in particular.

My organization would be particularly interested in logging HTTP headers.
This article gives the guidelines we desire to meet: https://www.stigviewer.com/stig/application_security_and_development/2017-12-18/finding/V-69375

@jordanfranssen This ticket in particular is about debug logging. It's not meant to be used in production.
If I had to implement HTTP headers logging from scratch I would use cowboy_metrics_h because it keeps track of everything: https://ninenines.eu/docs/en/cowboy/2.8/manual/cowboy_metrics_h/ but since rabbitmq-management already has some access logging maybe you're looking into adding the information to these logs instead.
If you are not familiar with Erlang I am available for consulting or development. I am the author of Cowboy and also work with the RabbitMQ team on a regular basis, so I'm sure I can arrange something depending on your needs. I've done a lot of work on rabbitmq-management. You can find more information about the services I provide and a contact email at https://ninenines.eu/services/


Add instructions on how Windows users can build this project

Addresses #1149
I went the route of documenting how to fix the problem instead of trying to fix the project for a couple reasons:

Symlinks and Windows just don't get along very well (event in modern times)
Removing the symlink and making everything use the absolute path would be a nightmare and just look really bad (as everything needs ../../../ suddenly)
Git for Windows doesn't even like supporting symlinks and has the option as default off

The documentation provided here starts by following the documentation to enable symlinks in git, however for me that didn't actually work (I even set up a fresh windows vm, installed git with the option selected, then cloned the project to no avail). This is why the portion about administrative shells was added. An administrative shell is required because that's just how mklink works for whatever reason. Further, the slashes in the example must be as documented, otherwise the symlink will appear correctly but cause windows to claim the file doesn't exist when using it.

@richvdh this was updated - when you get a chance, please take another look.


sed: can't read /app/kafka-mqtt-connector/application.properties

First of all, thank you for the great tool :)
I had the connector seamlessly running as a docker container during the last days. I pulled it directly from DockerHub and it worked just fine. To apply some changes to adapt the tool to my needs (I haven't changed anything yet), I cloned the repo, built it with maven and tried to started it locally with docker-compose. But now, I get the error sed: can't read /app/kafka-mqtt-connector/application.properties that originates from setConfiguration.sh file. I'm running docker on Windows 10.
Do you have any idea where this might be coming from? Thanks in advance for your help.

You are welcome :)
Glad to hear that.
The problem is that windows is changing the line endigs to /r/n (see https://stackoverflow.com/questions/16239551/eol-conversion-in-notepad#answer-31601923).
I use notepad++ to replace \r\n with \n
(view line endings by clicking: view > show symbol > show end of line)
(press ctrl+f > open the replace tab > make sure to tick 'search mode' 'extended' > replace '\r\n' with '\n' > safe > run the docker build again)
To be honest, I've built it on ubuntu so I don't guarantee this will work but it should.

Wow great, it worked! Thanks for the quick reply and the help! I'm closing this issue.


prepare 0.2.2 release

Prepare for 0.2.2 release

@erwin1  docs/tutorials/quick-installation.mdx has a few references to 0.2.1.  Can you change those references as well?

@sbtaylor15 that's one of the last steps in we defined here https://github.com/pyrsia/pyrsia/blob/main/docs/developers/release_process.md


[extractor/ccc] Extract view_count

Extract view_count for media.ccc.de

Do not remove the PR template!

Do not remove the PR template!

Sorry, my bad. Just in case:
[x] I am the original author of this code and I am willing to release it under Unlicense

NOTE: please ignore the failing commit test. It's due to an external bug (the external bug being that pytest is partially broken in python 3.11-dev)

@gamer191 You don't need to say this in each PR!


Clean code

Clean code
High Level Description
Specific Changes
Function x was added ...
Code

[ ] Unit test 100% coverage
[ ] Does your code follow the naming and code documentation guidelines?

Documentation

[ ] Is your code up to date with the spec?
[ ] Have you added your tests to the testing doc?

CircleCI will finish by 2025 -_-


Parametrizing verbosity arguments

Users of the script will now be able to turn the verbosity up or down without having to hack the args.
This PR has:

[ ] Appropriate testing (molecule, python unit tests)
[ ] Appropriate documentation (README in the role, main README is up-to-date)

For the record I've been thinking about some sort of "smarter" parsing or sanitation. But it doesn't seem warranted in this case. The script would probably just bloat.


[TASK] Improved error messaging for user

Overview
They're a series of cases that we need to inform the user of. Specifically in cases where they are misusing the dapp. This task should act as a collection of those various cases that we need to handle. This list will be appended as more cases are discovered.
Cases

On withdraw, if a user enters an amount where they have insufficient funds we need to distinguish between not having sufficient funds entirely, and not having sufficient funds on the chain in which they are currently connected to. For instance, a user may have an available balance to be withdrawn on Sepolia but is actively connected to Goerli and have no balance. Currently, the dApp simply inform the user "Insufficient balance" whereas, we should indicate "Insufficient balance on <CHAIN_NAME> please switch to a chain that has a sufficient balance" .
Similarly on deposit, when the deposit button is disabled we need to inform the user why it is disabled and where applicable surface the chain in which they are connected to.

@AhmedKorim please add proposed approach here.

Addressed in V2.


shim-sev: Avoid mapping unencrypted and encrypted pages to the same physical memory

Map 0x00_0000 - 0x20_0000 from encrypted to unencrypted.
Also unmap the encrypted identity map address range
0x20_0000 - 0x40_0000
0x40_0000 - 0x60_0000
after completely switching to kernel virtual address space.
Also move the page tables .data from assembler to rust code.
Also reformat the assembler code a little bit for readability.
Signed-off-by: Harald Hoyer<EMAIL_ADDRESS>

This commit does three distinct things, but I don't see an obvious dependency between them such that they need to be in a single commit. Can you split this up?

@npmccallum done

Everything looks good except for the commit messages which need to follow:
https://chris.beams.io/posts/git-commit/

Extended the commit messages and reworded the initial comment in this PR.


What are the supported path and url date formats?

I'm testing a different URL and path of my notes:
"note": {
    "template": "_micropub/note.njk",
    "post": {
        "path": "content/notes/{{ published | date('yy/MMddHHmmss') }}.md",
        "url": "notes/{{ published | date('MMddHHmmss') }}"
    }

And I'm getting an error when I try to post one:
HTTP/1.1 500 Internal Server Error
Server: Cowboy
Connection: keep-alive
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 92
Etag: W/"5c-ctogH1ft7LyiNsmsTpVGkOaKKJw"
Date: Wed, 11 Sep 2019 14:48:59 GMT
Via: 1.1 vegur

{
    "error": "octokit_error",
    "error_description": "invalid request.\n\n\"sha\" wasn't supplied."
}

When I switch back to {{ published | date('yyyy-MM-dd') }} or {{ published | date('X') }} is working again.

The error I was getting was something else, now is working but it still not respect the date format, now I'm trying.
"path": "content/notes/{{ published | date('yy') }}/{{ published | date('MMddHHmmss') }}.md",
"url": "notes/{{ published | date('MMddHHmmss') }}"

Closing this issue as is now working as expected after changing the INDIEKIT_CACHE_EXPIRES config to a minute to see the changes, completely forgot about that.

You would typically get this error if you're trying to update a file on GitHub and not supplying the existing SHA hash for the file.
Did you ever encounter this error again?


Ensure packages are imported the same way (import "react" vs import("react"))

import() is used as an indicator that the bundler can create an additional file (code splitting) instead of including the specified dependency in the main bundle.
Unfortunately it's possible that the same dependency is imported statically in another file, therefore either cancelling the effect or perhaps bundling it twice.
// index
import './a.js'
import './b.js'

// a.js
import { React } from 'react';

// b.js
const { React } = await import('react');

Rule request
Is it possible to ensure that a specific dependency is imported the same way across files automatically?
"import/consistent-import-style": "error"

If not automatically, I wish there was a way to enforce a certain import method per-dependency, for example:
"import/enforce-import-style": [
	"error",
	{
		static: ["react"],
		dynamic: ["my-little-heavy-dep"],
	}
]

I suppose this is information that the ExportMap could gather - whether a module was required, statically imported, and/or dynamically imported - so there’s no technical barrier.
Bundling it twice wouldn’t happen; the bundler keeps track of that. Cancelling the effect is also something I believe isn’t a concern because you can indicate to the bundler whether a specific dependency should be always split, or never split, regardless of how it’s consumed.
In other words, I’m not sure this is something that needs handling, since the bundler itself should be able to do so.

Bundling it twice wouldn’t happen; the bundler keeps track of that.

You're right, at least in my simple test with webpack.

you can indicate to the bundler whether a specific dependency should be always split, or never split, regardless of how it’s consumed

How so? If that's actually possible, I think webpack would force the whole bundle to wait until every such modules are downloaded since import 'module' is set up to run synchronously. If it's a deep sub-dependency, then nothing can run until this sub-dependency has been loaded. Right?
Either way I'd rather prevent this from happening altogether rather than relying on the builder’s behavior.
If possible, automatic consistency would be great because I don't want another developer to undo my code-splitting effort by just importing foo statically.

Either that, or the build process would error because you tried to statically import something you’d configured to split.

That'd be good if possible, but I don't expect all bundlers to be that configurable + automatic detection (via lint) is still always better than configuration.

Are there any other use cases besides code-splitting where someone might want to force, or prohibit, a specific importing method?

I think generally any instance where you prefer delaying the loading/execution of a module, whether it's a module that is heavy, a polyfill that changes the environment, etc.
I think any situation where import() would be useful over its static counterpart.

Personally I'm thinking more of the reverse; other than code-splitting, I can't think of any time I'd prefer dynamic import.
In particular, polyfills must always, without exception, run synchronously before all other code; otherwise they're not doing their job properly.

In particular, polyfills must always, without exception, run synchronously before all other code; otherwise they're not doing their job properly.

Yes, but no. You don't always want to load polyfills. So this would be reasonable:
if (polyfillneeded) {
	await import('polyfill')
}

drawOwl()

I can't think of any time I'd prefer dynamic import.

Here, the second paragraph: https://github.com/tc39/proposal-dynamic-import#motivation-and-use-cases

Yes, you definitely do - a) the polyfill itself is the only thing that should decide if it's needed, and b) the polyfill must load before ANY code has the chance to cache the original, unpolyfilled things.

At any rate, I think there might be a case here for a rule that can be configured with an object that maps resolveable specifiers (they'll be run through the resolvers first) to an object of { require: true, import: true, dynamicImport: true }.

I just remembered a situation where require/loading time time applied to Node as well:

https://github.com/chalk/chalk/issues/180#issue-244858671

In short: The module was doing heavy operations on load, without any function calls, so people were thinking about loading it only when needed. Rare but possible.

That's usually handled by conditional requires, not by switching to import().

import() is exactly what's needed for those "conditional requires". There's no "conditional static import," that's why I'm saying it's exactly the same. If chalk was a ESM module back then they would have used exactly import() for this purpose.

(To be clear, ESM and CJS are both first-class module systems in node for the duration, so there won't be any ESM-only functionality added here - https://github.com/import-js/eslint-plugin-import/issues/2326#issuecomment-992197221 is the thing I'm prepared to accept)

Found an exception to be aware of:
import { type AutocompleteItem } from "autocompleter";

const {default: autocompleter} = import("autocompleter");

The first line should be ignored because it's just a type.

O.o is that typescript? i thought TS had import type but not an inline type qualifier.

I think it's new. It's not required but it does make for clear examples.

We should definitely support that then.
(That said, it seems much better to keep import types and imports separate, to me)

I have another use case for this - We always want some specific modules to be lazy-loaded in our application so they dont ever get accidentally added to our main bundle. For modules of this nature, I wish we could define a rule to always mandate dynamic imports for a particular module name pattern - example: import(remoteModule/*).
I will try to follow this thread closely for this purpose.

As a recent fan of no-restricted-syntax, I just realized this can be done with that native eslint rule (although it's a bit verbose):
"no-restricted-syntax": [
  "error",
  {
    selector: 'ImportDeclaration Literal[value="react"]',
    message: '"react" should only be imported via import("react")'
  },
]

To achieve the opposite ("Prefer import statement") replace ImportDeclaration with ImportExpression
This should be done with no-restricted-imports but they stale'd that request out:

https://github.com/eslint/eslint/issues/13594

This request for a dedicated rule still stands though
"import/enforce-import-style": [
	"error",
	{
		static: ["react"],
		dynamic: ["my-little-heavy-dep"],
	}
]

https://github.com/import-js/eslint-plugin-import/issues/2326#issuecomment-992197221 remains welcome for someone to send a PR.


Configure Database

Step 2 in the Configure the Azure Functions Runtime has me at a full stop.  On the form it asks for a 'Master key password' but in the narrative it says 'specifying a Database master key' with a hyperlink to a document that hasn't helped me much either.  I have installed SQL Server Express 2017 on my own box and now I want to configure the Azure Functions Runtime to use it.  I don't know what to put in the field.  Is it a Key or a Password?  Where can I find it?  I have spent hours stuck on this steps.

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

ID: a304f1aa-ac44-7831-2f2c-f827238fc50e
Version Independent ID: 6610a9cc-2a03-5305-3378-392c4a1227ac
Content: Azure Functions Runtime Installation
Content Source: articles/azure-functions/functions-runtime-install.md
Service: functions
GitHub Login: @apwestgarth
Microsoft Alias: anwestg

@BarnyardTech Thanks for the comment. We are actively investigating and will get back to you soon.

Hi @BarnyardTech you need to specify a Database master key.  This is in the form of a text string which represents a master key password which is used to encrypt the contents in the database.  Should you ever need to move the database to another server then that master key password is needed in order to enable SQL to decrypt contents when queried.

@BarnyardTech Thanks for bringing this to our attention.
I have assigned the issue to the content author to evaluate and update as appropriate.
@apwestgarth Thank you for the explanation. It looks like this explanation would be so much helpful for the customers, if added to the doc. :)

@Karishma-Tiwari-MSFT I will review your comment with our doc writers.  We do link to the documentation about this feature of SQL Server.

Sorry for the time delay in getting back to this.  Am I to provide some brand new text password in the Database configuration tab OR is does this password already exist?  If it already exists somewhere, where do I find it.  As I said, I installed SQL Server Express 2017 but I don't recall setting a master database password during that process.

@BarnyardTech if this is the first time you are installing/configuring the AzureFunction installation the master database password is a NEW password of your liking; as @apwestgarth mentioned if you are moving the database then this is the previously configured master database password.

#please-close


Remove proto-install step

Which problem is this PR solving?

Follow up from #2102

Short description of the changes

Remove proto-install step from Makefile and .travis.yml as proto-gen now uses new docker image

/cc @pavolloffay
Signed-off-by: Annanay<EMAIL_ADDRESS>

@annanay25 there is a conflict


Computing normals from NeRF

Hi, I have noticed that in one of your branches you add a normal consistency loss (as in UNISURF and other works). I have two questions:

Did you notice any difference in computing normals with finite differences and with autograd?
Does it make sense to perform volumetric rendering on normals? Another possibility would be to compute the normal for pixel p at the corresponding 3D point x, which is x = o + td, where t is the rendered depth. What do you think about this?

Thank you in advance for the help!

In my experiments, using gradient directly is not good enough. I saw some other works explicitly create another branch to predict the normal and shows better results.
It may seem strange to perform volume rendering on normals, but I have seen many other quantities computed in this way, like optical flow and semantic segmentation class. But I think you need to add another constraint to minimize the entropy along rays (so that the density is peaked at one place) to get a more reasonable explanation of the quantity.


allow host to move funds between collectives using addFunds

This enables the host to add funds to a collective that comes from another collective on the same host.
requires https://github.com/opencollective/opencollective-api/pull/1220
Fixes https://github.com/opencollective/opencollective/issues/1001

Is this deployed already?


macOS - pasting from excel is missing the last row

Tested in Chromium and Safari against https://myliang.github.io/x-spreadsheet/
After copying plain text, pasting (either with context menu or Command+V) does not paste any content.  It does paste text if you activate the cell editor.
After copying a region of cells in Excel:

pasting with context menu does nothing
pasting with Command+V pastes everything but the last row of cells.

To explain the last behavior, if you copy a region from Excel that has 3 rows and 2 columns, hitting Command+V in x-spreadsheet will write 2 rows x 2 columns.  The last row is lost.

I have encountered the same problem. Any update?

Looks like the script in /docs/xspreadsheet.js is an older build.
pasteFromText is defined in the site script as follows (passed through prettier):
{
  key: "pasteFromText",
  value: function (t) {
    var e = t.split("\r\n").map(function (t) {
      return t.replace(/"/g, "").split("\t");
    });
    e.length > 0 && (e.length -= 1); // <-- this removes the last line
    var n = this.rows,
      r = this.selector;
    this.changeData(function () {
      n.paste(e, r.range);
    });
  },
}

The line that decrements the array length was removed in 8074c79e01cb510c80f41d2e0f911187e37dc710 (September 21) so the bundled version in the docs folder just needs a refresh.


[Dawntrail] Partially update UIState, PlayerState

I did this last week. It's a start.

Rebased because of merge conflict.


Update README.md

Escape the special character.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.677%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1314

Relevant Lines:
1808

💛  - Coveralls


Build error with clang

We build openwebrtc in WebKit project with jhbuild
and got the following build error (in many places):
In file included from owr_video_payload.c:39:
In file included from /home/webkit/WebKit/WebKitBuild/DependenciesEFL/Root/include/gstreamer-1.0/gst/gst.h:88:
/home/webkit/WebKit/WebKitBuild/DependenciesEFL/Root/include/gstreamer-1.0/gst/gstcompat.h:54:38: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
if (((((GstPad*)(pad))->direction) == GST_PAD_SRC))
~~~~~~~~~~~~~~~~~~^~
/home/webkit/WebKit/WebKitBuild/DependenciesEFL/Root/include/gstreamer-1.0/gst/gstcompat.h:54:38: note: remove extraneous parentheses around the comparison to silence this warning
if (((((GstPad*)(pad))->direction) == GST_PAD_SRC))
~                              ^             ~
/home/webkit/WebKit/WebKitBuild/DependenciesEFL/Root/include/gstreamer-1.0/gst/gstcompat.h:54:38: note: use '=' to turn this equality comparison into an assignment
if (((((GstPad*)(pad))->direction) == GST_PAD_SRC))
^~
=
1 error generated.
make[2]: *** [owr_video_payload.lo] Error 1

line54: if (GST_PAD_IS_SRC (pad))
Of course this warning can be silenced in gstreamer with fixing this line, but
"if GST_PAD_IS_SRC (pad)" would be very ugly. Additionally Wparentheses-equality
isn't a useful warning at all, it would be better to simply suppress it.
I'm going to suppress this warning in WebKit - https://bugs.webkit.org/show_bug.cgi?id=145837,
but it would be great if we can fix it in the upstream too.
We have the same issue in openwebrtc-gst-plugins - https://github.com/EricssonResearch/openwebrtc-gst-plugins/issues/44

#421 fixed this issue


Move grpc_insecure_*_credentials_create declarations to grpc/grpc.h

Right now the grpc_insecure_credentials_create and grpc_insecure_server_credentials_create declarations are in grpc_security.h.  However, they are critical in doing pretty any work in grpc without utilizing secure credentials.  That would mean the users will have to include both headers even if they are relying only on insecure gRPC.  It would make sense to move the insecure credentials to grpc.h (or alternatively abolish grpc_security.h as a separate include?)

However, they are critical in doing pretty any work in grpc without utilizing secure credentials

None of the examples in examples/cpp/ have to include that header. I'm not sure why you have the impression that it's always required, but it is not.

I'm sorry, I thought lang/core tag makes it clear enough--not sure if this has anything to do with C++ examples.  This is related to C core API for wrapped languages and such. In particular, this example should compile fine without including grpc_security header:
#include <grpc/grpc.h>

// Should work fine without this, but does not:
// #include <grpc/grpc_security.h>

int main() {
  grpc_init();
  grpc_server* server = grpc_server_create(0, 0);
  grpc_completion_queue* cq = grpc_completion_queue_create_for_next(0);
  grpc_server_register_completion_queue(server, cq, 0);
  grpc_server_add_http2_port(server, "<IP_ADDRESS>:8080", grpc_insecure_server_credentials_create());
  grpc_server_shutdown_and_notify(server, cq, 0);
  grpc_completion_queue_next(cq, gpr_inf_future(GPR_CLOCK_REALTIME), 0);
  grpc_completion_queue_shutdown(cq);
  grpc_server_destroy(server);
  grpc_completion_queue_destroy(cq);
  grpc_shutdown();
}

but makes the C compiler warn about undeclared function grpc_insecure_server_credentials_create.

I see, my mistake. I think that would be a generally acceptable cleanup. We would likely break some folks if we just removed the file, and even though we don't provide any explicit stability guarantees for the C-core API, I'd suggest at least a mailing list announcement, possibly a gRFC. We could instead roll the functionality into grpc.h, and make grpc_security.h a stub of a header that just #include <grpc/grpc.h>. @markdroth what do you think, policy-wise?

I think we can just move the declarations for the insecure creds functions from grpc_security.h to grpc.h without making any other changes.  That should not be a breaking change, since grpc_security.h already includes grpc.h, so it should not require a gRFC.

I think moving this to grpc.h is the wrong approach: we likely want to move them to grpc_insecure.h or the like so that we can visibility restrict it.
Let's actually make a gRFC for this and solve it properly.

(note that moving to grpc.h makes these functions more available and thus harder to clamp down later)

That's a good point.  I'm fine with moving them to grpc_insecure.h.
Actually, let's make it grpc_insecure_creds.h, since that's in keeping with the goal of eventually moving every creds type to its own target.

+1 to grpc_insecure_creds.h


Multiple Rewrite Patterns and Substitutions

Issue #, if available:
#121
Description of changes:
REWRITE_MATCH_PATTERN and REWRITE_SUBSTITUTION values can be written like JSON Arrays.
So multiple rewrite rules can be applied.
For example;
REWRITE_MATCH_PATTERN:
["//thumb/g","//small/g","//large/g"]
REWRITE_SUBSTITUTION:
["/300x300/filters:quality(80)","/fit-in/600x600/filters:quality(80)","/fit-in/1200x1200/filters:quality(80)"]
Checklist

[x] :wave: I have run the unit tests, and all unit tests have passed.
[ ] :warning: This pull request might incur a breaking change.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@tasarsu thanks for your contribution, we are going to review it and try a few tests, we appreciate your work and will let you know what we find

@tasarsu Thanks for your submission. We created a feature branch for it called feature/rewrite-pattern.
We may make some changes to it for adding unit tests and potentially other changes but we wanted to let you know that we are evaluating it.

Thank you for the update @dougtoppin
I have developed this feature to make it compatible with the previous thumbor version that I used in my projects. It works for me, but of course it will be much more stable with tests. Thank you for your efforts, I hope it will be a useful feature.


luci_statistics - dependency and module issues

Hi,
I think there is an issue with dependencies during installation. Further, if you try to install additional modules like mod-sensors or mod-thermal, it doesn't work/show-up in luci.

The plugin load messages are normal and mod-thermal is not supported in the gui.

Any chance that it could get supported?

I have it working. Tell me where to send the modified files so you can add it?

@jow- you are a strange maintainer, really. A lot of packages totally outdated and even if someone is offering you the solution you just don't seem to care...but I know the default answer, I'm doing this in my free time and voluntarily, blablabla.

@miniminime - I'd gladly accept PRs or patches implementing new plugins but I simply don't have the time to work on it, nor do I have a working test setup to try the thermal plugin. As for the question where to send the working solutions, that is already covered in this repos readme which links to https://github.com/openwrt/luci/blob/master/CONTRIBUTING.md

@jow- call me impressed and I'm sorry for my previous very unfair and provoking comment
@itrankolov could you provide your solution?


openfire: fix service expression

These bindings are necessary in the service expression below.

@globin It looks like this code was removed in 88292fdf09960e9cb8e3c063a6b95ac4284222ec, but I think it's necessary.  Any objection to merging this?

@fpletz Good call!  I missed the 'with' expression.


Steps for Training Model in Custom Vision APIs should be elaborated in documentation

I have trained the model and demo is working and will add the steps with step by step instructions here..

Hi @abhiongithub thanks for raising this issue. I've added new instructions and linked to our documentation to help with creating and training the Custom Vision model. I hope you'll find them useful and thanks for checking out this project! Feel free to contribute if you have any good ideas


added ability to add extra additional config

We need to add some undocumented config to fix an error. Generally, it's nice to be able to add additional config if needed when you dont want to make a pr to the cookbook as its edge case, or not needed by everyone.

@djoos does this look good to you?

Looks good to me - I'll try to get this merged in later this week!

Thanks for your contribution @willejs!
Kind regards,
David

Thanks @djoos !


Force refresh parameter for Refresh Page keyword

Is your feature request related to a problem? Please describe.
The Refresh Page keyword currently has no optional parameters and it performs a "soft" refresh where POST data is kept. I would like to add functionality so that the page does a "force" refresh, which means it clears all the POST data and the gets new information from the website as it reloads.
Describe the solution you'd like
I would like a new optional parameter force=true (false by default) added to the Refresh Page keyword so that it performs a refresh as described in the problem section above.
Describe alternatives you've considered
Currently I am using the Execute Javascript keyword to perform the action with the browser itself.
window.location.reload(true);   // the parameter value 'true' activates a forced refresh, may not work in all browsers

Additional context

https://stackoverflow.com/questions/3715047/how-to-reload-a-page-using-javascript
https://developer.mozilla.org/en-US/docs/Web/API/Location/reload

Thanks for the proposal. Makes sense, I can see there being use cases where this is needed. We'll add it.

Sorry, turns out this doesn't work too reliably with all major browsers. We ended up not adding it after all. I hope you understand.


docs: Add Sphinx-copybutton

Add support of  Sphinx-copybutthon. Which adds a little “copy” button to the right of the code blocks.

@pdxjohnny can  I take up this issue ?

If no one is working on it can I start working on this issue?

@pdxjohnny can you tell me where the conf.py is located ?

@rajpratyush I see you found it :) but for future reference, here are two approaches:

find . -type f -name conf.py
git ls-files | grep conf.py

Thanx for help @pdxjohnny. Can you tell me two things is anyone working renaming master branch to main and how to clear off previous commits from a new PR . I forgot this one.

@rajpratyush We really should keep discussion about specific issues within the comments of that issue. Or for general discussion, cross issue discussion, or anything else: https://gitter.im/dffml/community
You're looking for git rebase to remove / change commits on a branch.
And you can check the open PRs / the renaming master branch issue to see if anyone else is working on it


Add docs around directory partials

We recently added support for directory partials, updating docs

@mshannon-hs this might be worth doing on top of the vitepress changes - the higher up section here is specifically about JS Modules so I don't think information about partials makes sense to add here. this is made more clear in the vitepress version where js modules and partials are separate files

@benbriggs Ok I'll rework with that in mind, thanks


Automate/Create CI/CD pipeline to create tx for new Dao cycle

Just like the pancake swap fee calculator, create a CI pipeline to create a transaction to be signed by guardians to instantiate the new cycle.
This should be some kind of server that can run on a cron job so that it can run publish a new cycle when the old one finishes.
This needs to be some kind of node server that can use the eosjs library so that we can create the transactions and publish them.
Afterward, a notification can be sent to discord, where the high guards can then sign the transaction to initiate the next cycle.
@jeisses Needs to be consulted to see what the steps are, what the eosio actions are that need to be called.
We probably also have to expand the eosio account that is used with more permissions from the high guards, so they have the proper permissions to execute the needed actions.

DAO: Automate the setup and configuration of new cycles
As the Guardians we want new DAO cycles to start transparently and semi-automated.
Background
At the moment starting a new cycle requires the following steps:

Transfer funds from treasury.efx dashboard
Create a new cycle entry in daoproposals with the correct date and budget.
Recycle: calculate the remaining funds of the budget; send 30% to feepool.efx and 70% back to treasury.efx
Call processcycle: this tallies the votes for the cycle
Call updatecycle: this increments the DAO's current active cycle
For each passed proposal call executeprop (which is a High Guard action)

These steps take time and are complicated to execute, which makes operating the DAO harder that needs to be (which is why Jesse has to do it each time).
Discussion
I think that steps 2, 3, 4, and 5 can all be automated in a single transaction.
Step 6 can later be performed on the High Guard dashboard.
Recycle strategy
This can be stored on the blockchain where you have a list of accounts and a % of the left over funds to receive:
{"feepool.efx": 0.3, "treasury.efx": 0.7}
Interface

A simple High Guard interface that can trigger a new cycle
Any high guard member can trigger the action (or a multisig?)
Create a high-guard permission on theeffectdao@hg


Fix EhcacheSettingsProviderTest on Windows (CR)

I would need some Windows guy to test this patch...
https://patch-diff.githubusercontent.com/raw/ehcache/ehcache3/pull/1177.patch

This fixes the problem on my machine


test(heading): add test for aria-labels being passed properly

Fixes RM-1571

🧰 Changes

Test if aria-label is being applied correctly — Related to this PR

🧬 QA & Testing
Does the snapshot of the heading component look as expected?

Broken on production.
Working in this PR app.

This test covers h2's (since our widgets generate them). But since markdown headers also generate skip links, it might be a good idea to test those down the road.

This PR was released!
🚀 Changes included in v6.31.0


cfndsl pretty json output

First thought I'd say that this is a really useful tool!
Would be nice to have a command line option to pass the equivalent of the -p (pretty json output) flag to cfndsl.

Thanks, glad you find it useful.
Do you mean send pretty json to AWS when applying the template? I think I can add that easily enough.

Yes - the template that AWS shows when you do a EC2::Cloudformation::GetTemplate.
This is really minor.

bora apply stack-name --pretty


fix fix java-udf coredump as get env return nullptr

Proposed changes
Issue Number: close #xxx

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

run buildall

run buildall

run buildall


Linting and autocomplete, etc have stopped working

Sanity check

[X] I certify that the redhat.ansible extension is in use and the language of the document in this bug report shows up as Ansible

Summary
Running vs code with the extension has stopped working with lint, etc. I no longer get errors reported or help when pressing ctrl+space or hovering over keywords.
I have also noticed that when saving a file I no longer see ansible-lint working :(
Extension version
0.11.10
VS Code version
1.70.1
Ansible Version
ansible [core 2.11.6]
  config file = /home/sbloom/code/wfm/ansible/ansible.cfg
  configured module search path = ['/home/sbloom/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/sbloom/.local/lib/python3.9/site-packages/ansible
  ansible collection location = /home/sbloom/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/sbloom/.local/bin/ansible
  python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
  jinja version = 2.11.3
  libyaml = True

OS / Environment
windows 10, wsl debian 11, ansible-lint 5.2.1 using ansible 2.11.6
Relevant log output
No response

Install the pre-release version, it will work.


Make a command to setup Rust dependencies

In docs.osmosis.zone, we note that users need to run
rustup target add wasm32-unknown-unknown
cargo install cargo-generate --features vendored-openssl
cargo install cargo-run-script

It'd be cool if any beaker command could set these up for you, if its not already handled. (Reduces the amount of installation steps folks have to do)

We don't need any of that except
rustup target add wasm32-unknown-unknown

which I think it might make sense to add it to build command to auto add target when it's not there, will work on that!


const-qualify trivial getters

None of these methods modify serializer members, so they ought to be const.  This undoes https://github.com/boostorg/beast/commit/8a3df73ffc7b2a1bf89f624fdd9a26c9dcf1fb5c

I believe the changes in https://github.com/boostorg/beast/commit/8a3df73ffc7b2a1bf89f624fdd9a26c9dcf1fb5c have been intentional because these functions might return different values depending on the state of the serializer object during write operations, making them logically non-const. @vinniefalco, could you please shed some light on this?

I believe the changes in https://github.com/boostorg/beast/commit/8a3df73ffc7b2a1bf89f624fdd9a26c9dcf1fb5c were intentional because these functions might return different values depending on the state of the serializer object during write operations, making them logically non-const.

If these methods are "logically non-const" I'd prefer it be explained by documentation rather dropping the const, since the methods don't modify the members of the class.

None of these methods modify serializer members, so they ought to be const

That may be true, but you as a user are not supposed to know or care about that. All you need to know is that the functions may not be called concurrently, this is by design. Labeling them const would imply that they are thread-safe. While it is true that the current implementation is thread-safe, that is an implementation detail. The library reserves the right to change the implementation.
As a user, you should not care whether these members are const or not. If there is a specific problem that your patch solves, then please show us the example code or describe the scenario.

Labeling them const would imply that they are thread-safe.

My impression is that const is orthogonal to thread-safe.  I would not expect thread safety from a method just because it is marked const.  I would expect that it is safe to call the const method from multiple threads, but to call a non-const method and a const method from different threads would cause a data race, unless the documentation specified that the class was thread safe.  If my understanding of const is wrong, I would be happy to learn!

As a user, you should not care whether these members are const or not. If there is a specific problem that your patch solves, then please show us the example code or describe the scenario.

I tend to agree that there's no massive issue caused by these being non-const.  I did have some issues when is_done was not marked const, but is_header_done(), split(), and limit() aren't problematic.  This is just a minor quality-of-life patch.

https://stackoverflow.com/questions/14127379/does-const-mean-thread-safe-in-c11

[<IP_ADDRESS>/3] A C++ standard library function shall not directly or indirectly modify objects (1.10) accessible by threads other than the current thread unless the objects are accessed directly or indirectly via the function’s non-const arguments, including this

I think that stackoverflow answer above puts its pretty concisely, that

This means that the Standard Library won't introduce a data race as long as operations on const objects of your own types either

Consist entirely of reads --that is, there are no writes--; or
Internally synchronizes writes.

const-qualifying a getter would fall under the first point.  The const doesn't imply the non-const methods of the class are thread-safe, merely that concurrently calling the const operations is safe.

The const doesn't imply the non-const methods of the class are thread-safe, merely that concurrently calling the const operations is safe.

Yes, exactly. This is precisely why I do not want them to be marked const: I do not want to promise to the user that calling those members concurrently is safe. It is true that the current implementation makes it safe today, but the library should have the freedom to change this in the future.
The principle here is that the API should make as few promises as possible while achieving the intended purpose. Instances of a parser or serializer are never intended to be used concurrently, and there is no need for such. Thus we avoid offering the user the guarantee of safe concurrency even for trivial functions whose current implementations cannot possibly race.


add colourful background

pl assign this to me

Hello Avinash, can you please assign this issue to me?


Using complex objects with attached functions and array buffers with/alongside baobab

Hey @Yomguithereal ,
So I'd like to use an npm module called ntseq (https://github.com/keithwhor/NtSeq)
and use it in conjunction with baobab like so (this is just one example):
    ntSeq: deriveData([
        ['sequenceData',
            'sequence'
        ],
        function(sequenceString) {
            var seq = (new Nt.Seq()).read(sequenceString); //sequenceString = atgc
            return seq;
        }
    ]),

    reverseComplement: deriveData([
        ['ntSeq'],
        function(ntSeq) {
            var a = ntSeq.complement().sequence();
            return a; //a = gcat
        }
    ]),

This doesn't work if I'm using baobab's immutable option, but it does work if immutability is turned off.
Is there anything I should watch out for here? Or is there a better way to do what I'm trying to do.
Thanks!
Thomas

Hello @tnrich. This is an interesting use case indeed. The thing is that the data returned by monkeys is indeed made immutable. But since your monkeys return specific objects etc. the freezing fails. There can be solutions (none currently apart from disabling immutability or fiddling with internals) and I am willing to implement them. Let me check that more thoroughly.

Here's the solution I've come up with currently:
var Nt = require('ntseq');
var ntSeq;

module.exports = {
    sequenceData: { //tnr: sequence data gets passed in and overrides this object
        sequence: '',
        features: [],
        translations: [],
        parts: [],
    },

    ntSeq: deriveData([
        ['sequenceData',
            'sequence'
        ],
        function(sequenceString) {
            ntSeq = (new Nt.Seq()).read(sequenceString);
            //return a blank object here, we're just using the baobab monkey
            //system to update a locally stored ntSeq object
            return {};
        }
    ]),

    reverseComplement: deriveData([ //tnr: example of ntSeq usage
        ['ntSeq'],
        function() {
            //use the local ntSeq variable
            var a = ntSeq.complement().sequence();
            return a;
        }
    ]),
}

I'm not sure how robust it is. Basically I'm using baobab's monkeys to manage updates to an object that is held outside the tree

@tnrich it seems you might do better by listening to the needed path in the tree and updating your objects there, no?
Something along the way of:
tree.select(path).on('update', callback);

// or if you need to subscribe to several paths
tree.watch({one: path1, two: path2}).on('update', callback);

The problem I forsee with that is that the object needs to be used by subsequent monkeys.

Yes you are right. It would be a problem if this need to be used by subsequent monkeys. The thing is normally the tree should host anything but raw serializable data. @christianalfoni do you have an opinion about this?
I could add some options to enable some monkeys to return things other than raw data but I must think about it.

Hey again @Yomguithereal, I just so happened to run into this same issue again, but for a different part of my app, so I thought I'd document it:
In this particular use case, I've got a bunch of annotations to a sequence that each have an associated range (i.e. start: 10, end:20, start 100, end: 2000 etc.). In one of my components, I'll only be viewing a small subsection of the entire sequence at a time, and so need to quickly figure out which annotations land in that subsection. To make that look-up really fast, I'd like to store the annotation ranges in an "interval tree" data structure using a library like: https://github.com/shinout/interval-tree2. What I'm unsure of is how to go about using the interval tree data structure in conjunction with cerebral/baobab.
If I could, I'd like to compute the interval tree as a monkey based on the existing annotation ranges, and then require it in my components. unfortunately, it doesn't seem like cerebral/baobab wants complex objects being stored in the state tree (pojo's only).
I think I can maybe solve this by having the interval-tree live outside of the baobab tree, use baobab's monkeys to update it, and reference it/do calculations with it in subsequent monkeys that only persist serializable data to the tree. It doesn't seem like a very clean solution however..


Wishlist for v1.10.0 release

I'll keep this as a notebook for things that would be great to have for the next version. Let me know if i should open an extra issue for each of these items.
critical:

[ ] support signet / testnet  as monkey jpegs and other pump and dumps make testing on the mainnet chain expensive

nice to have:

[ ] enable alias ll='ls -alF' for admin and blitzapi user by default

I would be happy about an elements Liquid node for the Raspiblitz.

@FlorianHubl testing is always welcome: https://github.com/raspiblitz/raspiblitz/pull/4573

@fusion44 a bit late bit a simple testnet is is here: #4579


[Bug Report] el-drawer append-to-body attribute The default value is actually true, false in the document

Element UI version
2.13.2
OS/Browsers version
mac
Vue version
2.6.11
Reproduction Link
https://jsfiddle.net/mmx38qxw/
Steps to reproduce
el-drawer append-to-body attribute The default value is actually true, false in the document
What is Expected?
el-drawer append-to-body attribute  The default value change to false or change the document
What is actually happening?
el-drawer append-to-body attribute The default value is actually true, false in the document

The default value has been set to false

The default value has been set to false


Correction to design.html

:memo: Correction to design.html
Added

Myself (James Robertson) to the backend team in design.html. Apparently I was forgotten  ¯|(ツ)/¯

Changed

Appended my name to the backend team list because I've been part of it the whole time...

I was forgotten of the doc, I corrected that


Components are missing in the block diagram view

Components aren't displayed in the block diagram view. I know it's meant to be a simplified view, but it's inaccurate to say there's nothing there. Instead, we should display them the same way as modules.
Then at least I'd know to switch to the schematic view
Example of the same view:

They are there. Just need to pan around. I'll see if I can fix.

@mawildoer mind checking if this PR fixes it? It does for me.


Use JSON.parse instead of safeEval

use of safeEval is considered a vulnerability
https://nodesecurity.io/advisories/337

Codecov Report

Merging #71 into master will decrease coverage by 0.11%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #71      +/-   ##
=========================================
- Coverage   92.42%   92.3%   -0.12%
=========================================
  Files           2       2
  Lines          66      65       -1
=========================================
- Hits           61      60       -1
  Misses          5       5

Impacted Files
Coverage Δ

index.js
90% <100%> (-0.2%)
:arrow_down:

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 777d7db...fd2d322. Read the comment docs.

Coverage increased (+1.4%) to 92.308% when pulling fd2d32203e7a8d8b35a04a382b2b274603cdce40 on Adam-Clrk:master into 777d7db94f82ec402e7758af1549818c07d55747 on matheuss:master.

Maybe someone should create a fork of this and keep it updated ?

Done in https://github.com/vitalets/google-translate-api/pull/2.


'has_ipn' filter method did not return queryset

With this PR it does :smiley:

@eeintech nice catch; intresting that nobody found that in the last month

Thanks @eeintech


macOS runner has some trouble

From a project (mirage/ocaml-dns) that has ocaml-ci setup, the macOS runner is having some issues. I checked the file "packages/dkml-runtime-distribution/dkml-runtime-distribution.1.0.2~prerel7/opam", which as first line contains opam-version: "2.0" -- so I do not understand what the issue is.
2022-11-24 17:18.56 ---> using "837878c522e0e5fd5997751038969a0e289cb49273df4c42feef3ceec1e20f42" from cache
--

2022-11-24 17:20.03: Error: Could not update repository "default": In /private/var/folders/6j/3jv3qzh115v033d0sd89x3k40000z8/T/opam-65325-773a4c/default/packages/dkml-runtime-distribution/dkml-runtime-distribution.1.0.2~prerel7/opam:

See the full log at https://ci.ocamllabs.io/github/mirage/ocaml-dns/commit/422b032bf8a74afe8c311407890a04ea87e55fac/variant/macos-homebrew-4.14.0_arm64_opam-2.1

And somehow, copy & pasting the output doesn't work nicely in Firefox. I can paste it into vi, but not into Firefox (see the crippled output above).

@hannesm thank you for the bug reports.
We are in the process of introducing macOS x86 and arm64 support for ocaml-ci. Apologies for the bumps along the way.
I'm looking at this problem, initial thoughts are the git cache got corrupted but I need to do more investigation.
The issue with copying output is being looked at and should be fixed real soon.

Thanks for your work on this.

We are in the process of introducing macOS x86 and arm64 support for ocaml-ci. Apologies for the bumps along the way.

Hmm, would it be possible to either run them on a staging CI, so that not every repository using ocaml-ci sees these failures? Or have these checks marked as "ok-to-fail" until their state is more stable?
Thanks a lot!

@hannesm failing macOS builds should no longer fail the overall build. We will still run the macOS builds and report the errors in the summary eg https://github.com/ocurrent/ocurrent/runs/9914823111 fails on macOS but the overall build is marked as passed. The build logs for the failing builds are available on ci.ocamllabs.io linked from the GitHub UI.
As we fix the bugs with macOS and gain more confidence it is stable, we plan to change the behaviour so it does fail the build. In future we also want to add new builds for things like Windows or FreeBSD under a similar process.
I hope that addresses things, please get in touch if you encounter other issues.

The macOS support has been more stable since switching the macOS workers over to ZFS from rsync.
Please get in touch if you encounter other issues.


app crash

Upgraded dev app on iOS XR  (Version 1.1.6(249)
https://github.com/bithyve/bitcoin-keeper/assets/107177634/bcd2821a-70ae-4d2e-b95a-7431ba3def88

Verified this issue on  keeper app v 1.1.6(251)


webapp: some fonts show up more than once in tabs

Among the check results tabs, there are sometimes a few repetitions of font filenames. We should forbid that making the tabs unique (a single one per font file).

After some testing of the webapp, it seems to me that the repetition described here is actually caused by multiple runs of the tool. (This is probably a duplicate of issue #1134) Even after reloading the webpage I still get some leftover from a previous run. Only after restarting the webserver I get another clean set of check results.
I'm not investigating what exactly in the python code it causing this.

Yeah, definitely a duplicate of #1134 ! And it makes that higher priority (very high!), as it messes up with more than a single use of the tool.


Update Set-DtcAdvancedSetting.md

Issue - "fill in the blank" assignments - Description has been updated now.

Docs Build status updates of commit 67f1b70:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/msdtc/Set-DtcAdvancedSetting.md
:white_check_mark:Succeeded

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

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@get-itips @tseward
Peer review needed for this PR. Thanks.


Integration

Integrates: https://github.com/CartoDB/cartodb.js/issues/1818, https://github.com/CartoDB/cartodb.js/issues/1819, https://github.com/CartoDB/cartodb.js/issues/1835
Related PRs:

CARTO.js: https://github.com/CartoDB/cartodb.js/pull/1841
deep-insights: https://github.com/CartoDB/deep-insights.js/pull/615
CartoDB: https://github.com/CartoDB/cartodb/pull/12992

In production! :rocket:


[CP] [macOS] Suppress Xcode 15 createItemModels warning

Issue Link
https://github.com/flutter/flutter/issues/135277
Commit Hash
d71fe92ec4b17b7d5bfdff1f44658f9c4a99fcc2
Target
stable
PR Link
https://github.com/flutter/flutter/pull/138243
Changelog Description
Eliminates an excessive amount of Xcode error/warning output to the console when building or running macOS Flutter apps.
Impacted Users
macOS developers
Impact Description
Xcode 15 emits a large amount of internal Xcode warnings during the build process. These are filtered automatically on the Xcode console but not on stderr, which resulted in them being emitted to the terminal for builds from the command line or as part of CI scripts. Impact is that legitimate warnings/errors get lost in the noise of these errors, or misreported, leading to developers wasting time chasing red herrings.
Workaround
No.
Risk
low
Test Coverage
yes
Validation Steps
Added unit tests, manual validation.

@cbracken before we can go ahead with this, we'll need a PR opened to the stable branch. Can you update your PR description with a PR pointing to flutter-3.16-candidate.0? Thanks!

@CaseyHillers I've opened a PR at https://github.com/flutter/flutter/pull/139782 against flutter-3.16-candidate.0 as requested.

@cbracken
> sw_vers
ProductName:		macOS
ProductVersion:		14.1.2
BuildVersion:		23B2091

> xcodebuild -version
Xcode 15.0.1
Build version 15A507

I updated to 3.16.3
Flutter 3.16.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b0366e0a3f (4 days ago) • 2023-12-05 19:46:39 -0800
Engine • revision 54a7145303
Tools • Dart 3.2.3 • DevTools 2.28.4

The problem still persists （debug mode）
> flutter --version
Launching lib/main.dart on macOS in debug mode...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00006034-000249300A78001C }
{ platform:macOS, arch:x86_64, id:00006034-000249300A78001C }
2023-12-10 10:48:48.225 xcodebuild[18416:1139576] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
Function: createItemModels(for:itemModelSource:)
Thread:   <_NSMainThread: 0x142f05a60>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

Released in 3.16.4

I have this [WARNING:flutter/common/graphics/persistent_cache.cc(284)] Could not acquire the persistent cache directory. Caching of GPU resources on disk is disabled.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.0 to before v5.16.10",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f243e5a7859a24d10975afb9a1708cac624ba6f1",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=feb9597e22755dce782aae26ac0590c06737e049"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "f243e5a7859a24d10975afb9a1708cac624ba6f1",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "feb9597e22755dce782aae26ac0590c06737e049",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.10 by commit feb9597e22755dce782aae26ac0590c06737e049, it was introduced in version v4.0 by commit f243e5a7859a24d10975afb9a1708cac624ba6f1. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000515


Fix Changelog Version

Changelog for version 3.8.11 was improperly written. This PR resolves this and prepares for 3.8.12 release.

👍


chore: desimp compl_sdiff

We remove the simp attribute from theorem compl_sdiff : (x \ y)ᶜ = x ⇨ y, since (for sets) it turns standard notation into exotic notation.
Given that this passed CI with no further changes, it seems likely it wasn't being used much.

Thanks! :tada:
bors merge


fileHeader: allow immediate origin to be a 10 digit value

This allows clients to specify a 10 digit Immediate origin value (which is the field size) rather than hardcoding a leading space.
Related: https://github.com/moov-io/ach/pull/512
Fixes: https://github.com/moov-io/ach/issues/510

Codecov Report

Merging #513 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #513   +/-   ##
=======================================
  Coverage   86.77%   86.77%
=======================================
  Files         111      111
  Lines        6564     6564
=======================================
  Hits         5696     5696
  Misses        566      566
  Partials      302      302

Hi guys @wadearnold @bkmoovio
Can you please review this, so I can rebuild my dependencies back with moov-io?
Thanks.

Thank you @eduardev for the pull request! I wish I knew how to give you credit

No worries @wadearnold, thank you for supporting oss ;)

If you find a miss spelt word or anything else send a pull request. We always appreciate adding contributors. Join our slack channel if you need anything else.


[FEATURE REQUEST] Bulk Download of files

Is your feature request related to a problem? Please describe.
As I user, I would like to be able to bulk download selected files to my device.
This new bulk actions PR is amazing, and this feature feels like it could build on top of it?

I know there's work being done to support this server-side to do this properly. I had the similar and more immediate need of being able to zip up complete Albums. I'm sure the official implementation will be better.
If it's helpful in the interim, I hastily cobbled this together - just add /zip to your album url. I created a separate JS worker to potentially speed things up a bit. There are two files you'll want to serve up from the somewhere. I use the upstream load balancer.
Upstream NGINX config:
# Serve the index.html from /zip/ directory
    location ~* /a/[^/]+/zip$ {
        alias /var/www/chibi.example.com/zip/index.html;
        default_type text/html;
    }

    # Serve zipWorker.js
    location ~* /a/[^/]+/zipWorker.js$ {
        alias /var/www/chibi.example.com/zip/zipWorker.js;
    }

zipWorker.js
importScripts('https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js');

self.onmessage = async function(event) {
    const { files } = event.data;
    const zip = new JSZip();
    let fileIndex = 0;

    for (const file of files) {
        fileIndex++;
        try {
            const fileResponse = await fetch(file.url);
            if (fileResponse.ok) {
                const blob = await fileResponse.blob();
                zip.file(file.name, blob);
                self.postMessage({ type: 'progress', fileIndex, totalFiles: files.length });
            } else {
                self.postMessage({ type: 'error', message: `Failed to fetch file: ${file.name}` });
                return;
            }
        } catch (error) {
            self.postMessage({ type: 'error', message: `Error fetching file: ${file.name}` });
            return;
        }
    }

    const content = await zip.generateAsync({ type: 'blob' }, function updateCallback(metadata) {
        self.postMessage({ type: 'zipProgress', percent: Math.round(metadata.percent) });
    });

    self.postMessage({ type: 'complete', content });
};

index.html
<!DOCTYPE html>

    <meta charset="UTF-8">
    <title>Download Album as Zip</title>

Preparing your download...


⚠ Bofrost.de has degraded performance

In 7be7c4b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 824 ms

Resolved: Bofrost.de performance has improved in 6289d44.


Respond with 204 OK + CORS to OPTIONS requests

I've refactored response headers a little to make it more consistent, and we're now responding with HTTP 204 instead of 404 for OPTIONS request. There's a new test to prevent any regressions.

Resolves #94

Code changes look good and tests pass: :+1:

I've tried to merge this pull but in browser there's one error.
XMLHttpRequest cannot load http://localhost:16006/rest/articles. Request header field Content-Type is not allowed by Access-Control-Allow-Headers.
I've tried to put
var client = new JsonapiClient("http://localhost:16006/rest", {
header: {
"Content-Type": "application/vnd.api+json",
"Accept": "application/vnd.api+json"
}
});
with no success.
Have you got any suggestion?
Thanx

Thanks for taking a look @fabiobon - I was missing a CORS header, they should all be there now.

I've tagged this as work-in-progress pending a client-side test suite for jsonapi-client to prove this PR solves our CORS issues.

Ok, after some tests configuration below works but, in browser, does not returns payload.body
res.set({
"Content-Type": "application/vnd.api+json",
"Access-Control-Allow-Origin": "",
"Access-Control-Allow-Methods": "",
"Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Accept"
});
if (req.method === "OPTIONS") {
return res.status(204).end();
}
NOTE: to run in browser without cors erros I've replaced
"Access-Control-Allow-Headers": "*"
with
"Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Accept"

Browser Only:
59. return callback(null, payload.body, payload.body.data, payload.body.included);
inside Transport._action retrives ERROR:
Uncaught TypeError: Cannot read property 'data' of null

Thanks @fabiobon - I've fixed up this branch, it turns out we're not allowed to wildcard the Access-Control-Allow-Headers field, so I've resorted to simply reflecting what the client suggests. I've also had to lock down the Access-Control-Allow-Methods. This now resolves CORS issues, I've got a clientside test suite running for jsonapi-client in Firefox and Chrome against this branch :+1:


Positioning and typings

#30
#3

Hey @prscX , have you had time to review this PR?
Btw. thanks for the lib. I have been searching for some good toast package that works well with modals and I have found this one, will use it in a future projects as well!

Hahaha I also made a index.d.ts for personal use. Yours is better anyway.
Also you are right that this is the only good toast library that works properly and supports custom styles.
LET'S GET THIS MERGED :D

This is much needed! Was looking for it as it was the only thing missing for my setup as well :) Thanks @questionablequestion and @arafatzahan .
@prscX I know how it goes with this being the project you maintain for free but this PR is super nice to have as soon as possible! I forked your repo just for this while I would prefer to use your maintained version!
Cheers and thanks guys

This PR has a regression. Using it makes the bottom padding 0 so the toast is super close to bottom. We should pass a default offset value of some sorts if no offset is given.

@prscX It would really be great to combine this PR! I somehow implemented this function in my own code, but I'm not good at objective-c. Now, when updating react-native, my changes broke and I would like to switch back to the master branch! And if there is an opportunity to combine these changes, it would be great! Thank you in advance!)

Thanks @questionablequestion for all the Effort you have added for this PR.
I have merged the PR. Will validate it today, post which I will push the release.
Thanks
</ Pranav >

I have pushed the release [V1.0.2]. Let me know in case you face any issues.
@JerakRus: I have added defaut offsetY value at 50. Doing this it will not touch down to the bottom.
Thanks
</ Pranav >


PowerToys Run Win system commands can't using

Microsoft PowerToys version
0.43.0
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
系统命令无法使用

输入shutdown转跳cmd界面后结束
lock与sleep直接无指令。
系统版本 win10 20H2

The system command cannot be used.

'Shutdown' The switch to CMD ends.
'Lock' and 'sleep' commands do not exist.
system version: Win10 20H2

✔ Expected Behavior

❌ Actual Behavior

Other Software
No response

Duplicate of #12063

System command such as "shutdown", "lock" has been localized since 0.41.0. Try typing these command in your language (according to your screenshot, Chinese Simplified). For example, type 关机 instead of shutdown.

Thank for your help 😊!