fix: add certificateSubjectName [INS-3983]

Closes INS-3983
Based on https://stackoverflow.com/a/72267165 and https://www.electron.build/configuration/win#WindowsConfiguration-certificateSubjectName this change could do the trick to make it so it's not just the installer that is code signed?
Update: converting back to draft, this doesn't work the way we think it does, and release-recurring fails trying to find a certificate locally.

@filfreire What's the status here?


Email Anoj Ilanges re: ORCID

He needs to make it public

Update: I emailed him on September 9, apparently. Should I email him again?


ui: multi-language support for Workspaces page and its subpages

A significant portion of the text under the Workspaces page has been translated.

However, there are still a small number of texts that have not been translated.

The reason for this is because these fields are defined outside the React element and are passed directly to the third-party module (MobxReactForm) to create the relevant page elements, and are not rendered in the SWB's own code. Under the premise that the third-party module itself does not support multi-language, unless the source code of the third-party library is modified, we cannot use i18next to translate these texts.
After a discussion, @chenhaiyun suggested to give up translating the texts. Maybe we can translate other parts of the text first, and when this is almost done, we can come back and figure out how to fix this problem.

Codecov Report

Merging #59 (ae915bd) into develop (b06200e) will increase coverage by 14.86%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop      #59       +/-   ##
============================================
+ Coverage    37.73%   52.60%   +14.86%
============================================
  Files          175      250       +75
  Lines         8387    14959     +6572
  Branches      1333     2406     +1073
============================================
+ Hits          3165     7869     +4704
- Misses        4576     6213     +1637
- Partials       646      877      +231

Impacted Files
Coverage Δ

lib/steps/__test__/__fixtures__/settings.js
100.00% <0.00%> (ø)

lib/indexes/indexes-service.js
72.63% <0.00%> (ø)

...-only/helpers/entities/application-role-methods.js
92.95% <0.00%> (ø)

lib/aws-accounts/aws-cfn-service.js
91.73% <0.00%> (ø)

lib/plugins/aws-account-mgmt-plugin.js
100.00% <0.00%> (ø)

lib/compute/data/ec2/platforms.js
100.00% <0.00%> (ø)

lib/environment/environment-dns-service.js
76.74% <0.00%> (ø)

lib/environment/environment-mount-service.js
46.23% <0.00%> (ø)

lib/environment/built-in/environment-service.js
10.72% <0.00%> (ø)

lib/study/helpers/entities/study-methods.js
97.05% <0.00%> (ø)

... and 72 more

Continue to review full report at Codecov.

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

所有的"科研工作区“ --> "工作区”
第三个界面： “没有与所选过滤器匹配的科研工作区" --> "没有与所选过滤条件匹配的工作区”


Rewrite /cachegroups/{id}/unassigned_parameters to golang

What does this PR (Pull Request) do?
This PR rewrites the /cachegroups/{id}/unassigned_parameters endpoint to Go

[x] This PR fixes #3807

Which Traffic Control components are affected by this PR?

Documentation
Traffic Ops

What is the best way to verify this PR?
Bring up TO locally and hit the endpoint to ensure parity between perl implementation and newly written Golang implementation
The API tests and/or unit tests for TO can be run to verify the PR.
If this is a bug fix, what versions of Traffic Control are affected?
The following criteria are ALL met by this PR

[x] This PR includes tests
[x] This PR includes documentation
[x] This PR includes an update to CHANGELOG.md
[x] This PR includes any and all required license headers
[x] This PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4206/
Test PASSed.


Add safety limits on relative action target

What this does
At the script level, add a mechanism and option for capping the size of the relative joint space target provided by the policy. This prevents a wild policy from burning the motors.

Could we allow to have one value? max_relative_target: int | list[int]
max_relative_target=[10, 10, 10, 10, 10, 15],

That way it's a bit more automated.

@Cadene I found that the gripper needs a higher limit, and it's also okay because there's little load. Also, I found that in general I sometimes want to tweak the other motors. Mostly because of the gripper though, I usually don't want to use a single value. Anyway. I'll put it in, but won't suggest it in the docs.


Ergo errors reported as with wrong filename extension

Some Ergo errors (e.g., syntax errors) are reported by Cicero with the wrong file name (.js instead of .ergo).
bash-3.2$ ls -la lib
ls -la lib
total 8
drwxr-xr-x   3 jeromesimeon  staff   96 May 17 14:09 .
drwxr-xr-x  15 jeromesimeon  staff  480 May 16 17:55 ..
-rw-r--r--   1 jeromesimeon  staff  656 May 17 14:09 logic.ergo
bash-3.2$ cicero execute
cicero execute
14:12:31 - info: Logging initialized. 2018-05-17T18:12:31.785Z
14:12:32 - info: Using current directory as template folder
14:12:32 - info: Loading a default sample.txt file.
14:12:32 - info: Loading a single default request.json file.
14:12:32 - info: Loading a default state.json file.
[At line 2 column 0: syntax error] in string
14:12:32 - error:  SyntaxError: Failed to parse /Users/jeromesimeon/git/cicero-template-library/volumediscount/lib/logic.js: Unexpected token (1:8)

Fixed in #106


Directly add Short Responses

Instead of using the decorator which is confusing to newcomers and is a bit too long to just do simple responses like:
@app.route("/style.css")
def style():
    return Response("body { background-color: red; }")

For simple responses it should be simple and pythonic to use something like:
app.add_response("/style.css", "body { background-color: red; }")

I don't think it should be too hard to implement (I can actually do it myself).

You should not serve static content like this - the static folder exists for a reason.


User registration and sigin/signout/signup

User Authentication API
Prior to this change, the user authentication and letting only
authorized users to access the API is not provided.
This change implements the user registration, sign in and sign out featured API
Things covered

API-user sign in
API-user sign out
API-user registration
API-user-auth
token generation
route authentication
mixed route plugs for auth routes and no auth routes
API for current user
test cases for Accounts and User control

This PR delivers the following stories.
https://www.pivotaltracker.com/story/show/158870221
https://www.pivotaltracker.com/story/show/158870194

[deliver #158870221]
[deliver #158870194]

Checklist

[x] I have read CONTRIBUTING.md.
[x] My code follows the style guidelines of this project.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My code does not generate any (new) credo and compile-time warnings.
[x] I have updated the documentation wherever necessary.
[x] I have added tests to cover my changes.

Dear Gatekeeper,
Please make sure that the commits that will be merged or rebased into the base
branch are formatted according to our standards.

The only additional requirement is that the the PR number must appear in the
commit title in brackets: (#XXX)

@blackode Check all your changes here. I have removed merge commits.

LGTM 👍


readme file suggest download a very outdate version

Point 2 of how to install should not be
wget https://github.com/evanbergeron/DND-5e-LaTeX-Template/archive/v0.6.0.zip
Because this versione do not contain the dndbook.cls file for example (and so will fail to render using the
\documentclass[10pt,twoside,twocolumn,openany]{dndbook}
method

Hi @RoyBellingan,
It might be able to be a bit clearer, but step 2 of the install suggests either use the latest release or cloning the repo. The latest release is still 0.6.0 (still a few items to wrap up), and a user can clone the repo (or download it as a .zip) if they want the latest features. A user can also duplicate the latest version instructions but use https://github.com/evanbergeron/DND-5e-LaTeX-Template/archive/master.zip instead to get at the latest features in the repo.


Fixes an issue when using vault with HTTPS (tls 1.2)

Had to wrap curl because the python version shipped with ansible doesn't support ssl.PROTOCOL_TLSv1_2

@jhaals can you take a look at this please ? :)

Rather than calling out to curl why not use pycurl?
For example:
request_url = urljoin(url, "v1/%s" % (key))
buffer = StringIO()
c = pycurl.Curl()
c.setopt(c.URL, request_url)
c.setopt(c.HTTPHEADER, ['X-Vault-Token: ' + token])
c.setopt(c.WRITEDATA, buffer)
c.perform()
c.close()
result = json.loads(buffer.getvalue())

@cheekyhalf because i think adding another dependency is not a good idea

I'm not sure this is the right thing to do.
Python is not shipped with ansible and PROTOCOL_TLSv1_2 is supported in python 2.7.9(released in 2014) see docs.

@jhaals on OSX it is... and i checked the python docs i see that it's supported since 2.7.9. But that would still not work on the version that is installed on OSX. This solution will work cross platform.

@jhaals but now there is still an issue with the plugin, the problem is not solved yet.

I'm running Python 2.7.11 on OS X and I don't see the problem there.
What's the other issue?

@jhaals did you test with vault running on HTTPS with a certificate and the following modification (to use the proper TLS version):
            if "https" in url:
                context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
                headers = { 'X-Vault-Token' : token }
                req = urllib2.Request(request_url, None, headers)
                response = urllib2.urlopen(req, context)
                output = response.read()

I run vault over HTTPS just supporting TLS 1.2


Reparing training

Training no longer crash and is playable

It still needed a few feature, will request again later


Result and analysis sections empty in the pdf and thesis folder

Result and analysis sections empty in the pdf and thesis folder

Result and analysis sections empty in the pdf and thesis folder

@yakzan This thesis is not completed yet. The full version will be uploaded after approximately December 2018.


Unrequired console.log in useIntersection

There seems to be a console.log() left in the useIntersection hook
https://github.com/dondxniel/acid-ui/blob/dan/src/hooks/private/useIntersection.tsx#L7

Thank you! I forgot I put it there.


Implement i18n functionality in esbuild-based browser application builder

Command
build
Description
Implement the localize option and related functionality for the esbuild-based browser application builder.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response

Any news?

is this error:
"Could not set Locale because angular locale could not be loaded."
the result of this problem?

@jcompagner Correct, i18n is not yet implemented in ESBuild. I'm also waiting for it :)

Support for localization has been added in v17 which is currently in prerelease.


Feature Request: Allow page-level scoping of variables / Allow variables to be used in all "block run" sections on the same page.

Variables are scoped to the run block they are defined in and cannot be used in other blocks on the same page.
The usability of the plugin can be enhanced even further if the scoping of variables is extended to the page level. That would allow users to define variables in one block for re-use in any other (following) blocks.

this can be easily done using the yaml.
---
bar: "foo"
---

%% run start file.properties.bar %%


Fixed reading of *.twig files recursively

triggered by https://github.com/TomasVotruba/unused-public/pull/20/files#r1058438308

Thank you :+1:


Update Chapter 4 Prevention Policies

Update 01_privileged_pod.yaml: should block a privileged pod start
Update 02_nsenter.yaml: should block nsenter coming from a container

Working on: 04_deny_c2_connection.yaml: need to get the destination addr from sockaddr

@sharlns when you have a moment add signed-off-by lines otherwise looks good.

I think sockaddr is not a supported type in argument list. https://github.com/cilium/tetragon/blob/main/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml#L162-L201


Video issues with Windows 11

I noticed some video glitches on Windows 11, using QXL+Spice and virtio-win drivers, version 0.1.208. They appear just when presenting a PowerPoint in a Teams meeting. They didn't occur in Windows 10.

@juliotux
So far I'm not able to reproduce this issue on my env, my env:
packages used:
spice-server-0.14.3-4
qemu-kvm-ui-spice-6.1.0-4
qemu-kvm-6.1.0-4
libvirt-7.8.0-1
virt-viewer-9.0-11
VM: windows 11 with latest update(update date: 11/4/2021)
qxl driver version: <IP_ADDRESS>00
VM desktop resolution is 1920x1080
My VM Libvirt xml:

win11
d97baf54-cfda-40c4-a605-71018977bd9a

<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>

16777216
16777216
4

/machine

hvm
/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
/var/lib/libvirt/qemu/nvram/win11_VARS.fd

EPYC-Rome
AMD

...

...
I have tried:

play a YouTube video in window mode and full screen mode
present an office 365 slide via a meeting from teams pre-installed by windows 11

For now I don't see any video flickers in my tests.
So my questions:

The packages you used?
Your qxl driver version and desktop resolution?
Are you only experiencing video flicker when presenting office 365 slide via teams meeting?
Can you attach a picture or a small video to show this video flicker?

Thanks!

No response for reproduction questions. Closing.


Transform multiple images/coordinates at once

When image is transformed, associated images / coordinates should be transformed as well.
For example, I want to horizontally flip (img, heatmap, landmark) altogether but not independently.
img = transforms.RandomHorizontalFlip()
if img is flipped:  # not possible now
  heatmap = hflip(heatmap)
  landmark_point = hflip(landmark_point)

Instead one should do manually transform like this:
if random.random()<0.5:
  img = img_library.hflip(img)
  heatmap = img_library.hflip(img)
  landmark_point.x = img.width - landmark_point.x

It would be great if stochastic transform functions accept a list of images and coordinates and apply the same transform.
(img, heatmap), landmark_point = transforms.RandomHorizontalFlip(images=[img, heatmap], points=landmark_point)

Indeed this library does exactly what is described above:
https://github.com/aleju/imgaug


python3Packages.wakeonlan: 2.0.0 -> 2.0.1

Motivation for this change
Update to latest upstream release 2.0.1
Change log: https://github.com/remcohaszing/pywakeonlan/releases/tag/2.0.1
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

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

4 packages built:

python38Packages.openwebifpy
python38Packages.wakeonlan
python39Packages.openwebifpy
python39Packages.wakeonlan

Result of nixpkgs-review pr 119120 at c7557da3 run on aarch64-linux 1

4 packages built successfully:

python38Packages.openwebifpy
python38Packages.wakeonlan
python39Packages.openwebifpy
python39Packages.wakeonlan


Typescipt error with version 2.0.0-beta.2

When using version 2.0.0-beta.2 and I import using the following statement (in a *.ts file):
import { ApplicationInsights } from '@microsoft/applicationinsights-web'
When webpack runs typescript the following error is shown:
6:35 Cannot find module '../../shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/ITelemetryItem'.
4 | import { TelemetryContext } from "@microsoft/applicationinsights-properties-js";
5 | import { IDependenciesPlugin } from '@microsoft/applicationinsights-dependencies-js';
6 | import { ICustomProperties } from "../../shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/ITelemetryItem";
  |                                   ^
`

the shared directory is not part of the npm package

@mlankamp  -> sorry about the bug, fixing in the next hour.

Thanking for pointing this out. Fix is in 2.0.0-beta.3.


VectorPolygonsToRaster issue

whitebox version: 0.9.0
Python version: 3.7.3
Operating System: Windows 10

Description
The whitebox tool "VectorPolygonsToRaster" return a different result compare to the Whitebox GAT -win tool "Vector polygons to raster" . The output .tif has gaps!!!
What I Did
from whitebox import WhiteboxTools

# Set up the environment
wbt = WhiteboxTools()
data_dir = "/../whitebox_issue"
wbt.work_dir = (data_dir)

i_vector = "poly.shp"
fieldZ = "Value"
out_raster = "poly2raster_PYTHON.tif"

wbt.vector_polygons_to_raster(
    i=i_vector,
    output=out_raster,
    field=fieldZ,
    nodata=True,
    cell_size=1,
   # base=None,
   # callback=default_callback
)

@mlavy This is an issue that belongs in the WhiteboxTools repository, and not this repository. This repo simply holds the Python frontend for the WhiteboxTools project. I would ask that you please open an issue in the WhiteboxTools repository.


[Gtk] Allow Cocoa to unset the delegate when deallocating the window

Cocoa unsets delegates when deallocating the window object, so we need to
allow that and not throw a critical message at that point
Fixes VSTS #935204
Fixes VSTS #935386

@monojenkins backport 2019-06
@monojenkins backport 2019-02


Love Bamboo, Could you add Context Menu Support?

Love the app. I have a feature request. If I could simply right click on the image and click something like "Smush It" - then Bamboo could automatically do the task. It would be a huge time saver. Also, open image in bamboo will be a good feature.
Again, excellent work!

#5


Rename middleware

The name you choose (AuthorizeAction) for the middleware is somehow confusing since we already have "actions" in the app/Http sub-directories and the naming convention is NameAction.

@jrean the problem with "Authorize" name is that same middleware exists in the Laravel.
Illuminate\Auth\Middleware\Authorize

Clean code states use statements alphabetically ordered. Look at Laravel codebase.-------- Original message --------From: Pavel Zhytomirsky @.>Date: Mon, 13 Mar 2023, 9:24 pmTo: ScholarshipOwl/laravel-doctrine-jsonapi @.>Cc: Jean Ragouin @.>, Mention @.>Subject: Re: [ScholarshipOwl/laravel-doctrine-jsonapi] Rename middleware (PR #3)
@R3VoLuT1OneR commented on this pull request.
In src/Default/Middleware/Authorize.php:

@@ -2,19 +2,17 @@

namespace Sowl\JsonApi\Default\Middleware;
+use Illuminate\Http\Request as HttpRequest;
In all the library I use logic in the "use" block that first of all we import internal classes and then imports of the external vendor classes.
I don't remember from where I got this standard can't find the rule.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

You know, let's keep "Authorize" for simplicity.
Hope will not create confusion later.


Camfiber to spectra

added tap tool to camfiber plots to display spectra data. Addresses #67.

Works for me


Gbh mqtt

Changes:
Added documentation
Removed unused publisher code in MQTTSubscriptionManager
Removed tests regarding the publisher code in MQTTSubscriptionManager
Fixed the iterator issue in removeSubscribers in MQTTSubscriptionManager

Coverage decreased (-0.4%) to 44.567% when pulling af89eafc5996e738b2b8a441838650ef0a25b561 on gbh_mqtt into 515fca72617c4f48c6fe8c942700a66c39b271a6 on master.

Coverage decreased (-0.2%) to 44.833% when pulling 59f4812a0c139d6824c5f456ddc605bffc28af7a on gbh_mqtt into 515fca72617c4f48c6fe8c942700a66c39b271a6 on master.

Coverage decreased (-0.2%) to 44.809% when pulling 1567416a347b01c87fd0e90ee989a22bc5b6241c on gbh_mqtt into 515fca72617c4f48c6fe8c942700a66c39b271a6 on master.

Coverage decreased (-0.3%) to 57.051% when pulling 117161c1dd4cf1cd3ee164df97348cc14d0c9528 on gbh_mqtt into 03fc7cb90e0b61e84bb8029e3e32cfbe284666af on master.

Coverage decreased (-0.3%) to 57.029% when pulling 117161c1dd4cf1cd3ee164df97348cc14d0c9528 on gbh_mqtt into 03fc7cb90e0b61e84bb8029e3e32cfbe284666af on master.


Difference ignoring order of elements in an array.

Hi,
is there a way to get the difference between two JSON objects while ignoring the order of elements in an array. For instance, the following example currently returns 4 differences but should return 0.
            $diff = new \Swaggest\JsonDiff\JsonDiff(                 json_decode('{"data": [{"A": 1},{"B": 2}]}'),                 json_decode('{"data": [{"B": 2},{"A": 1}]}'),                 \Swaggest\JsonDiff\JsonDiff::REARRANGE_ARRAYS             );             echo "\n" . $diff->getDiffCnt() . "\n";
Thanks!

Hello, REARRANGE_ARRAYS is a best effort feature that targets homogenic arrays.
In order to be rearranged, both arrays have to have at least one key that is avaialble in all items and that key needs to have unique values in original array.
If your values would have beed like these:
{"data": [{"A": 1, "C": 1},{"B": 2, "C": 2}]}

{"data": [{"B": 2, "C": 2},{"A": 1, "C": 1}]}

they would produce empty diff.
The reason for such an approach is to reduce computational complexity, and main usecase for the initial implementation was to address non-semantic differences in swagger paramaters.
Solving general case like yours would need some quadratic recursive comparisons to understand that a particular array item is equal to another one. Is this case important for you? I think it can be implemented as some additional option with a performance impact disclaimer.

Thanks for the swift reply! Unfortunately, I can't influence the format of the JSON object because it is provided by an API. So this would actually be an important feature for me. Maybe I can customize the code of JSONDiff if you show me where to find the corresponding code parts?

@webpunk I have an idea how to implement rearrangement based on elements equality with reasonable performance, optimistically will make it in couple of days.

@vearutop yes, that would be great! Please, let me know if I can help...

@webpunk please check if new v3.8.0 works for you. No new option needed, JsonDiff::REARRANGE_ARRAYS should suffice.

Hi @vearutop ! Thanks a lot for the new version. I have just tested it. For the following two JSON objects, JSONDiff still reports a difference that I can't see.
Example.zip

@webpunk thanks for the test case, please check v3.8.1.

@vearutop unfortunately, there still seems to be a problem with an array of strings. I've attached another example. Thx!
Example2.zip

@webpunk I've tried this example with a test case:
    public function testExample2() {
        $ex1 = json_decode(file_get_contents(__DIR__ . '/../assets/Example1.json'));
        $ex2 = json_decode(file_get_contents(__DIR__ . '/../assets/Example2.json'));

        $diff = new JsonDiff($ex1, $ex2, JsonDiff::REARRANGE_ARRAYS);
        $this->assertEquals(0, $diff->getDiffCnt());
    }

and the test passed (no differences found).
Could you elaborate the problem that you are seeing with array of strings, or maybe steps to reproduce?

@vearutop Sorry... that was a mistake on my part! Now it works perfectly. Thanks a lot!


Clients are sometimes not able to connect to fuzzingserver

I have been using the autobahn-testsuite docker image to the fuzzingserver and it seems at random, my client(android app) isn't able to connect to the server. The occurrence is random and I haven't been able to find a pattern. Though I do confirm that I have not seen that issue if I run wstest in a python virtualenv i.e. without docker.

Need to check on my phone in the office tomorrow! strange ..


if there isn't a patient for the IPP of a submeasure, grab one from s…

…ub population a

Matt, were you going to post an update here.

it's all set, the problem's been fixed


Ability to skip module path segments

Hello! First of all, great library :)
I started using it to autodiscover some routes in my project, but I found that there is no way of having file paths and modules that are not directly hanging from "src" or "tests". In my case, I am trying to specify the path like this:
#[utoipauto(paths = "(./src/lib/bin/module from crate::bin)"]
And the modules that are getting resolved are like:
crate::lib::bin::module::etc
So I am getting a "could not find 'lib' in 'bin'" error. Which is expected, because 'lib' doesn't exist as a module. I would expect that if I am able to specify the module that the file is in, the module file path would be resolved in that module. So it would look like:
crate::bin::module::etc -> removing "lib" as we know that the module starts in "bin", same thing that is done with "src"
Does that make sense? Or there's something I am missing?
Thank you for your time.

Tried solving it in https://github.com/ProbablyClem/utoipauto/pull/31

I don't get it.
Shouldn't the from keyword indicate that its from another crate but using crate:: syntax symbols that it's in the same crate?

Exactly, what I am trying to indicate with crate:: is that even if it is in the same crate, it is not living in the assumed "src" folder. Ideally, with the path would be enough, but there is not always a direct translation between path and crate.
I believe that this comment https://github.com/ProbablyClem/utoipauto/blob/main/utoipauto-core/src/file_utils.rs#L79 explains it. This assumption is not always true. Modules can live in other folders that are not "src", and by using the crate name it can be inferred.

Ah okay understand it now.


Missing batches after synchronisation

Hello,
We uploaded 134 batches to the gateway but after synchronisation using the dgca-revocation-distribution-service, only 127 batches were retrieved.
When looking into the log, we have 7 errors, corresponding to the 7 missing batches, of this type:
2022-06-30 16:51:09,058 ERROR [scheduling-2] eu.europa.ec.dgc.gateway.connector.DgcGatewayRevocationListDownloadConnector : Download of revocation list batch failed. DGCG responded with status code: 200
2022-06-30 16:51:09,058 ERROR [scheduling-2] eu.europa.ec.dgc.revocationdistribution.service.RevocationListDownloadServiceGatewayImpl : Batch download failed
Why is this happening? What should be do if this error occured to retrieve the failed batches?
Thank you,
Jonathan

After a first analysis we couldn't find out why it would go into this state.
Could you attach or send logs from the time before the error occured?
This is should be the part in the code:
https://github.com/eu-digital-green-certificates/dgc-lib/blob/be85ebdfb9d5b3a1639d723ce9a7a781fbff62a2/src/main/java/eu/europa/ec/dgc/gateway/connector/DgcGatewayRevocationListDownloadConnector.java#L89


[SR-13733] .swiftinterface file should not add default intializer if we have explicit in base class

Previous ID
SR-13733

Radar
rdar://problem/70298053

Original Reporter
Hailin (JIRA User)

Type
Bug

Attachment: Download

Environment
This issue happens since Xcode 11 GM Seed 2

Additional Detail from JIRA

Votes
0

Component/s
Compiler

Labels
Bug

Assignee
None

Priority
Medium

md5: 4a36bee285ec81863a9a5a6cf58296af

Issue Description:
we had submitted a feedback ticket (FB7301109) since Sep, 2019. But never get response from Apple. we have to try report this issue on forums. swift.
issue Description:
There will be build error if use a framework which is generate with below code
import Foundation
open class ObjectBase {
public init()
{ }
}
open class UntypedList : ObjectBase {
public init(capacity:Int)
{ }
}
open class EmptyList : UntypedList {
public init() {
super.init(capacity: 5)
}
}
List the reproduce steps:

Use above sample code to create a framework

Archive it.

xcodebuild -create-xcframework to create xcframework. (Refer page: https://appspector.com/blog/xcframeworks )

Create another project, then import the created xcframework at step 3.

Actually result:
In the generated *.swiftinterface file in the xcframework Modules folder. the code looks like below:
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1<IP_ADDRESS>)
// swift-module-flags: -target x86_64-apple-ios12.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name XCInitTest
import Foundation
import Swift
@_exported import XCInitTest
open class ObjectBase {
public init()
@objc deinit
}
open class UntypedList : XCInitTest.ObjectBase {
public init(capacity: Swift.Int)
override public init()
@objc deinit
}
open class EmptyList : XCInitTest.UntypedList {
public init()
override public init(capacity: Swift.Int)
@objc deinit
}
Expected result:
The line 'override public init()' in open class UntypedList
And
The line 'public init()' in open class EmptyList
should not be generated, because the ObjectBase has its explicit Initializers. no need Default Initializers for ObjectBase anymore.
so no need to override init() in its subclass.

This is a duplicate of https://github.com/apple/swift/issues/56231 which was fixed by https://github.com/apple/swift/pull/36333.


"I understand" checkbox isn't required

though message indicates it is, I missed seeing it and my stuff checked in fine, but I did get a powershell error in my build log. The comment on the task help probably just needs to be updated.

Ohh yeah. Problem is, setting it required doesn't make it required to be
true. So the Ui happily submits false.
On Mon, 16 Apr 2018, 18:07 ChrisMenegay<EMAIL_ADDRESS>wrote:

though message indicates it is, I missed seeing it and my stuff checked in
fine, but I did get a powershell error in my build log. The comment on the
task help probably just needs to be updated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jessehouwing/vsts-tfvc-tasks/issues/64, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AD-uS7YwrNMsQCdklaR9qHM84dXQw9ZMks5tpMG-gaJpZM4TW0rD
.

Can't you see that it is false and just immediately throw an error, rather than doing the checkin?


Fixing your accursed Actionbar

Simply to remove the action bar entirely.
In response to issue #8
If you still want to use something like the action bar, try using toolbars instead, the android docs even say to use toolbars.
Also, this hasn't been tested, but I'm a solid 85% sure this will work

The Update runmatch.kt is something I couldn't get rid of, and is fallover from code club

No pointless comments please


Regression on labels overriding handling

Hello,
I m using keen-dashboards and I have noticed a regression which I narrowed to be between 3.2.3 and 3.2.4.
Using 3.2.3 with a chart that overrides labels for a funnel works, not in 3.2.4
    {
      chartType: "columnchart",
      title: " ",
      height: 250,
      width: "auto",
      legend: { position: "none" },
      hAxis: {
        direction: 1
      },
      labels: [1, 2, 3, 4, 5]
    }

In the configuration, labels is properly handled in 3.2.3, but has not effect in following versions, even in 3.2.5 it doesn't work.
Just thought I'd let you know.
update: as far as I can tell it comes for this commit https://github.com/keen/keen-js/commit/44e352e97a60cb369e8cf207c8e4ca8426ba3a3c#diff-109126168a40dedc46becd6995c6d969

@arnaudlimbourg thanks for reporting - we'll check it out! We've definitely had issues with this config option in the past.


How many emojis?

How many emojis do this reps currently have? The Unicode-12 contains 2666 emojis

this repo currently supports Unicode 10 / Emoji 5


how can i get textbox information from psdtools?

there is a textbox in the pic, how can i get the textbox info from psd-tools? it seems that only  exact text bbox info now..

Same issue.

It seems like  box_bounds = layer.engine_dict['Rendered']['Shapes']['Children'][0]['Cookie']['Photoshop'].get('BoxBounds', None) then you will finally get a box like structure
[0,0,x,y]

It seems like  box_bounds = layer.engine_dict['Rendered']['Shapes']['Children'][0]['Cookie']['Photoshop'].get('BoxBounds', None) then you will finally get a box like structure [0,0,x,y]

thx, I  will try it

not working there is no ['Cookie'] in overall docs


trackPackages throws TypeError

method trackPackages throws TypeError
Provide a detailed description of the change or addition you are proposing.
Probably a bug
Context
To make it work
How can it benefit other users?
It will work for them
Not obligatory, but suggest an idea for implementing addition or change.
cheheck if $status variable in trackPackages' method's loop is array
PHP7.4
inspirum/balikobot composer version 3.3.0
Sometimes when trackPackages() method is called, we got this error:
Argument 1 passed to Inspirum\Balikobot\Model\Values\PackageStatus::newInstanceFromData() must be of the type array, string given
I am unable to replicate this error in testing environment, but live, the error sometimes appear for us.

when I update to latest 5.1 version, the variable ServiceType::ZASILKOVNA (formerly null) is not available anymore. Can you tell me what is the substitution for that?

From major version v4.0.0, this API uses v2 for Zasilkova ADD request (see https://balikobot.docs.apiary.io/#reference/add/add-zasilkovna-v2) which uses servise_type constants. For example ServiceType::ZASILKOVNA_VMCZ (https://github.com/inspirum/balikobot-php/blob/master/src/Definitions/ServiceType.php#L748)
I also couldn't replicate error (problem with test credentials is that API returns correct dummy data for any input), but I think that additional validation (https://github.com/inspirum/balikobot-php/blob/master/src/Services/Formatter.php#L65) and APIv2 response format fixed this issue.
Please check if this problem happens in newest version. If it does, please provide full API response to debug.
Thank you

Thank you for responding. We've already migrated to the latest version of inspirum/balikobot, so everything should be fine.


[1575] Users should be able to see posts with galleries with more than 200 images

When galleries have more than 100 images, the request to the database fails. Actually, it may fail with 100 images too, due to a server timeout.
We should investigate first which is a good maximum number of images for large databases, then we should retrieve images in batches when galleries have more than that.
Affected urls:
https://docs.google.com/spreadsheets/d/1FWcvX7KiLAppGW2qOICxs8ATWqV1uEsCVdTnq5mK7q8/edit#gid=0&range=A23

https://frontity.pipedrive.com/deal/151
Pageviews: (0.1M)
Environment: production (x10)
Range: low (x1)
Behaviour: critical (x5)
Mass: everyone (x5)
Referrer: yes (x3)
PRIORITY: [75]

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

#notify


Added fun: Darts

About the PR

This PR adds a darts game that includes:

Darts

a legal throwing weapon that deals 2 piercing damage in melee or 4 piercing damage when thrown
available in 4 different colors
the weight is 2
сan store 2u of any solution

Dart box

a box with 40 capacity. By default it contains 5 darts of each color

Dartboard

a more fragile analogue of a bullet target dummy. When destroyed, wood falls out.

Dart kit crate

A box that cargo can buy for 900 credits. Includes a dartboard and a dart box

Why / Balance

An additional type of roleplay activity. Additional Legal Throwing weapons for greytides, which can be smeared with poisons.
Media

https://github.com/space-wizards/space-station-14/assets/96445749/556cb7d8-43ac-4117-94fa-23feaaffbab7

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

add: Added dart game!

Darts likely need a much smaller sprite, they're huge right now.

@moonheart08
I can say the same about the skull of the skeleton, which falls from it after death
:)

@moonheart08 I can say the same about the skull of the skeleton, which falls from it after death :)

Okay, but can you fix the darts to be smaller. Thanks.

@moonheart08
OK, I'll redraw the dart sprites by making them smaller.
Can you take a look at what's wrong with this ftl file? I kind of did everything right, but it still gives an error.

the ability to to use chemical with these is broken, syringe guns aren't a thing for a good reason

@Aisu9
the spear works in the same way, allowing you to transfer 5u. For darts, i can further reduce the volume to 1u, and it is possible to block the opportunity in the presence of a certain armor

these are makeshift weaponry that need some time to build, these are instant, almost free from cargo, and doesn't need a permit from security to use. even arrows can inject 1u, and with the correct chemical even 1 units it very strong

Maybe darts that can store & inject solutions could be an uplink purchase for the bartender?

@Aisu9
Accepted. I then definitely reduce the capacity to 1.
Accepted. I then definitely reduced the capacity of ordinary darts to 1.
I also added a restriction that a person wearing an outerclothing is immune to liquids
But then the mechanics look empty and uninteresting, and you really need to add a special illegal dart.
How about a Hyppodart that can hold 10u, looks like a regular dart, and can only be obtained from an uplink?

These are makeshift weaponry that need some time to build. These are instant, almost free from cargo, and doesn't need a permit from security to use. even arrows can inject 1u, and with the correct chemical even 1 unit is very strong

Spears are VERY easy to build, bows almost easier too (without mentioning bats). You also have bolas which are worse than either of the former because stuns be like.
And this is assuming you can even get access to a dangerous chemical in the first place
(Also, what chemical is so dangerous in just 2u?)
Being able to get small weapons has never been a problem before. Can you provide a scenario where this would be so dangerous or broken beyond the current options?

Spears are VERY easy to build, bows almost easier too (without mentioning bats). You also have bolas which are worse than either of the former because stuns be like.
And this is assuming you can even get access to a dangerous chemical in the first place
(Also, what chemical is so dangerous in just 2u?)
Being able to get small weapons has never been a problem before. Can you provide a scenario where this would be so dangerous or broken?

Ipecac cause an almost instant immobilisation, the previously battery juice cause an instant stun.
Poisons and the likes are almost useless with current arrows and injection mechanic(spear inject their full payload on throw making them EXTREMELY STRONG with poison) arrows only shine with "control" chemicals that work in small quantity.
One thing, Arrows/Spears/Bows take a HUGE space in you bag (arrows take 10 each(can store one in your bow) Bow is 60 and spears are 90)
Reloading the bow is kinda tricky, each arrow only inject 1 units on embed. Spear inject everything on throw, inject 1 unit on melee attack.
So giving a box with 5 legal darts that each can inject 1 units(again mostly useful with control chems) (again i want to remind that even on LRP, anyone should request a weapon permit to HoS to carry a bow/spear/arrow with them)

arrows inject 5u on embed not 1u

so in the end, what do you recommend for the solution capacity of darts?

arrows inject 5u on embed not 1u

they cannot inject their full payload because the arrow is still coated with it when you retrieve them

Ipecac cause an almost instant immobilisation, the previously battery juice cause an instant stun. Poisons and the likes are almost useless with current arrows and injection mechanic(spear inject their full payload on throw making them EXTREMELY STRONG with poison) arrows only shine with "control" chemicals that work in small quantity. One thing, Arrows/Spears/Bows take a HUGE space in you bag (arrows take 10 each(can store one in your bow) Bow is 60 and spears are 90) Reloading the bow is kinda tricky, each arrow only inject 1 units on embed. Spear inject everything on throw, inject 1 unit on melee attack. So giving a box with 5 legal darts that each can inject 1 units(again mostly useful with control chems) (again i want to remind that even on LRP, anyone should request a weapon permit to HoS to carry a bow/spear/arrow with them)

Maybe i haven't played med enough, but since when can either of those paralyze instantly?
It is a chance for battery acid to paralyze (which is hard to obtain) and afaik you need 5 units of ipecac to puke (which is a slow down)
I agree that this could be pretty powerful. But this sounds like these chems are the issue if anything.
Are we seriously just going to forever barr the existence of darts or ranged chem injection because coating them in ONE unit of a chem can be good? That sounds like some existing system is the problematic one.

ipecac have 30% each second to make you puke, the battery juice just need you to grinds batteries and steel sheet(it's not that hard) have have 50% to stun each second, 1 unit for most chemicals is metabolised in 2 seconds

when you grind a battery and steel sheet you get little licoxide (battery juice) and a load of trash chemicals, filtering them out is impossible without a chem master

heres what you get after grinding a battery and steel sheet

I honestly don’t see injecting 1/2u of something as an issue. Having a syndie item that can inject 7u is also probably fine (I think nocturne is 7.5) but it should probably be obviously a syndie item since insta-injecting from range is quite strong.

making licoxide is basically exclusive to being a chemist or during nukies
during nukies people can easily make bows and spears so 1u doesnt matter

I think that MAYBE the issue here is that 1u has a whooping 75% total chance of stunning (since 2 procs at 50%). This is going to be broken no matter how you look at it, SPECIALLY if you can just grind batteries.
Ipecac probably needs a higher threshold and a higher chance. Atm it's awkward because you could possible inject up to 15u and have no puke, or inject 5u and have the patient puke several times (if they keep eating at least).

why cant we actually play the game with darts? On the video it just looks like you’re blindly throwing it on the edge of the board with 100% chance. there could AT LEAST be something to tell us where it hits :(

I think that MAYBE the issue here is that 1u has a whooping 75% total chance of stunning (since 2 procs at 50%). This is going to be broken no matter how you look at it, SPECIALLY if you can just grind batteries.

People already told licoxide is exsclusive for having chemmaster, you cant just grind batteries anymore for it. Friend.

Ipecac probably needs a higher threshold and a higher chance. Atm it's awkward because you could possible inject up to 15u and have no puke, or inject 5u and have the patient puke several times (if they keep eating at least). Also PROBABLY reduce the duration of the slowdown. I can understand having to stop for a second, but last time i puked i was slowed down for like 5 seconds (plus the instant hunger).

Indeed, but the problem for this pr is resolved by it maker, i mean it not alowing to simple dart to spill solution into someone if they are in clothes.
That means it will not work on people in station 99%, because everybody will be in clothes.
Also ipecac problem is not only related here, because you can dip spears and arrows too into it. So we need nerf ipecac then?

Ipecac may be more of an issue because of the long-lasting slow but 2u of licoxide only stubs for like  a second (not long enough to cuff off of anyways) iirc so it isn't really a problem. If so little of ipecac is so impactful that should be changed separately

(not long enough to cuff off of anyways) iirc so it isn't really a problem.

cuffing isnt the issue with licoxide, its stealing guns from the floor after
tho thats not the fault of this pr

I removed the hypodart, can you check?
@moonheart08

what's the point if you cant hit the bull's eye

what's the point if you cant hit the bull's eye

wdym, you can always target the bartender :godo:

Pneumatic cannon kinda makes this a worse syringe gun. You could shove 15 darts in using their proposed weight, and lacing each of them is (assuming you land all of them in full auto) a CMO hypospray's worth of jungle juice.
I love it

Shouldnt throwing a dart at the dart board give u a score (based on dart scoring) rather than just telling you damage?

Yes, I will add a random pop-up to the dartboard with the value of where you hit

https://github.com/space-wizards/space-station-14/assets/96445749/3dd2514c-72e7-4c48-a6c6-1fd24519448a
Random pop-ups

I think that these are fine to be added. The fact It can't inject if the person hit has clothes on means it has pretty much no chance to ever be used too viably, and for people who are saying it's op somehow, picture a 2v1,
2 grey tides with 15 darts each laced with lexorin or battery juice in pneumatic cannons against a secoff with a stun baton a disabler and two cuffs/zips.
The only scenario I can ever see this being used in is if a prisoners runs out of sec while being stripped of his clothes or if someone intentionally strips someone of else their clothes to do some target practice

Maybe it could be a better middle ground if you needed a type of armor to prevent injection (just anything with even 1% of piercing protection)
It's kind of a shame that such an interesting mechanic will become completely useless (since when was the last time you saw someone running around nude?)

@EmoGarbage404 Done


Base58 json tests

This pull request includes tests for:

base58_keys_valid.json
base58_keys_invalid.json
base58_encode_decode.json

Some improvements to Base58 as well:

"isValid" function to determine whether or not a string is a valid Base58 string
Function to encode private keys into Wallet Import Format (WIF), which is Base58 encoded
Function to encode a Sha256Hash160Digest to a base58 address
Fix bug in "encode" function that didn't account for leading byte values of zero.

I'm guessing the build failed because INFO is set inside of logback-test.xml instead of WARN

IsValid function in Base58 trait needs to be cleaner, but everything works. The bug involving those previous invalid keys that were passing as true was due to the fact that I wasn't verifying a compressed public key's 5th-to-last byte as being 0x01.

Coverage decreased (-0.4%) to 90.67% when pulling b8ff5c953801838ba319e78ef0264fa874e65ea6 on TomMcCabe:base58_json_tests into 5417be5f7ed663d9bd96d617d3c6055472ed3294 on bitcoin-s:master.

Coverage decreased (-0.3%) to 90.814% when pulling db5f50042da19ba0f8fa9229939fec10652c2cfa on TomMcCabe:base58_json_tests into 5417be5f7ed663d9bd96d617d3c6055472ed3294 on bitcoin-s:master.

Coverage decreased (-0.3%) to 90.737% when pulling cd92741e5e4bdf6e413fd15a9278ce969ec49c3f on TomMcCabe:base58_json_tests into 5417be5f7ed663d9bd96d617d3c6055472ed3294 on bitcoin-s:master.

Coverage increased (+0.1%) to 91.162% when pulling 9f93489ee16379e8dc7be3d67ef6500b180b328e on TomMcCabe:base58_json_tests into 5417be5f7ed663d9bd96d617d3c6055472ed3294 on bitcoin-s:master.

ACK


the IP <IP_ADDRESS> is not recognized as as a Private IP

Hi,
This is following up from this issue on the forums: https://forum.crystal-lang.org/t/shouldnt-the-ip-address-169-254-169-254-be-a-private-ip/5484
Per @Blacksmoke16, I have created this as an issue.
I have a script that checks whether an IP is public or private. Here are the important bits from crystal i:
Crystal interpreter 1.7.2 (2023-01-23).
EXPERIMENTAL SOFTWARE: if you find a bug, please consider opening an issue in
https://github.com/crystal-lang/crystal/issues/new/
icr:1> require "socket"
 => nil
icr:2> ip_address = Socket::IPAddress.new("<IP_ADDRESS>", 0)
 => Socket::IPAddress(<IP_ADDRESS>:0)
icr:3> ip_address.private?
 => false

I was expecting that the IP <IP_ADDRESS> would be recognized as a private IP.
This is reproducible on :

Mac OS X (Ventura 13.2.1) using Crystal 1.7.2
Ubuntu 22.04.2 LTS and Crystal 1.7.3

Please let me know if I can provide any other details.
Thank you!

Crosspost from the forums:
Looking at the code, it seems we're currently only handling the ranges defined in RFC1918 and are missing those defined in RFC6890 as Reserved-by-Protocol, specifically:
IPV4:

<IP_ADDRESS>/8
<IP_ADDRESS>/8
<IP_ADDRESS>/16 (which is the range your IP is in)
<IP_ADDRESS>/4

IPV6:

::1/128
::/128
::ffff:0:0/96
fe80::/10

FWIW, in ruby <IP_ADDRESS>/16 is under #link_local? which Crystal is missing
# Returns `true` if this IP is a link-local address.
#
# IPv4 addresses in `<IP_ADDRESS>/16` reserved by [RFC 3927](https://www.rfc-editor.org/rfc/rfc3927) and Link-Local IPv6
# Unicast Addresses in `fe80::/10` reserved by [RFC 4291](https://tools.ietf.org/html/rfc4291) are considered link-local.
def link_local?
  case addr = @addr
  in LibC::InAddr
    addr.s_addr & 0x000000ffff_u32 == 0x0000fea9_u32 # <IP_ADDRESS>/16
  in LibC::In6Addr
    ipv6_addr8(addr)[0] & 0xffc_u16 == 0xfe8_u16
  end
end

(I'm pretty sure I messed something up on ipv6 because fe80::dead:beef:cafe:1234 returns false in Crystal but true in Ruby)

@GeopJr Yes I think there's a small bug in your IPV6 handling because ipv6_addr8(addr)[0] will only be a single byte.
How about this instead:
# Returns `true` if this IP is a link-local address.
#
# IPv4 addresses in `<IP_ADDRESS>/16` reserved by [RFC 3927](https://www.rfc-editor.org/rfc/rfc3927) and Link-Local IPv6
# Unicast Addresses in `fe80::/10` reserved by [RFC 4291](https://tools.ietf.org/html/rfc4291) are considered link-local.
def link_local?
  case addr = @addr
  in LibC::InAddr
    addr.s_addr & 0x000000ffff_u32 == 0x0000fea9_u32 # <IP_ADDRESS>/16
  in LibC::In6Addr
    ipv6_addr8(addr).unsafe_as(UInt128) & 0xc0ff_u128 == 0x80fe_u128
  end
end

Since the UInt128 is parsed least-significant-byte first, then the most significant byte of the IP address interpretation ends up as the least significant byte of the integer interpretation. So this code checks that the first 10 bits of the IP address in network order (bits 0xc0ff of the integer) match fe80.

I think the categorization of 169.254.*.* as non-private is correct. It's a link-local address, not a private one. RFC 6890 makes a distinction between Private-use and Link local address spaces.
Those are different categories, although there's some overlap in that they both belong to the broader term of private networking. See https://en.wikipedia.org/wiki/Private_network for example: It names both private addresses and link-local addresses as instances of private networking.
This Wikipedia article also claims that loopback addresses as a special case are both private and link-local. Technically, that may be correct, but I'm not sure anyone uses it that way. RFC 6890 names Loopback as another category alongside Private-use and Link local. Ruby also considers them distinct.
So I think this is not a bug. The behaviour of IPAddress#private? is correct.
We may still want to add IPAddress#link_local? (https://github.com/crystal-lang/crystal/pull/13204) and consider a method that combines recognition of any special purpose address, regardless of the exact type.

thanks @straight-shoota - for my purposes adding a IPAddress#link_local? works great! (and thank you to everyone else as well!)

Hi! Will this make it into 1.8.0 ? I’m currently using a workaround but it would be great to use this instead :)

Hi,
As far as I’m concerned my issue is resolved. Thank you so much @GeopJr !
I’ll go ahead and close this out, feel free to reopen it if you have any reason to.


Ingest CultivateLA Dataset

For working on reverse geocoding, check out Google Maps API
https://developers.google.com/maps/documentation/javascript/examples/geocoding-reverse

Okay, here’s a test page with a map of the Cultivate LA locations…
https://staging.foodoasis.la/cultivate-la/
If you‘d like to make a change to the data, you can edit the markdown files here…
https://github.com/foodoasisla/site/tree/master/_cultivate-la
Once we feel good about it, we can start moving these into one of the other categories, like community gardens. It should be just a matter of moving a markdown file to the _community-garden folder.
Special thanks to @LearningNerd and @tamurafatherree for fixing up and importing the data, with Node.js (Nice work, you two! 🌟 💯 🎉   : )


fix: added try catch in where key handling

Description
Fixes #8532, #8335
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Untested. Response that causes this error is not known.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: fix/8532-cannot-create-path-for-where-key

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
54.81 (-0.01)
36.53 (-0.01)
33.45 (0)
55.35 (0)

:green_circle:
app/client/src/pages/Editor/SaaSEditor/ActionForm.tsx
21.92 (0.49)
0 (0)
0 (0)
22.86 (0.47)

:red_circle:
app/client/src/selectors/commentsSelectors.ts
83.61 (-1.64)
61.76 (-2.95)
73.33 (0)
88.24 (-2.35)

/ok-to-test sha=c7ffc3a

/ok-to-test sha=ce35c64

/ok-to-test sha=a950159


[KED-1667] Chronocoding: Solving the Problem of State Tracking with Temporally Sensitive DAGs

Introduction

A high-level, short overview of the problem(s) you are designing a solution for

In an ideal world, where limits in compute and I/O don't exist, I think kedro is the perfect framework for writing data pipeline systems. However, as a Data Engineer, I must face these problems constantly. In order to optimize this work, I require highly contextual related to a node's operation. However, I feel that kedro does not offer sufficient built-in utility to address this, and actively inhibits that effort by enforcing direct acyclic graph structures on our pipeline, whereas data I need is cyclic in nature. As a result, I spend extra engineering effort in order to hand-craft brittle compensation measures. However, I believe there is a straightforward solution to that addresses this problem, without sacrificing any of our values.
Background

Provide the reader with the context surrounding the problem(s) you are trying to solve.

The world is stateful and, whether we like it or not, kedro does, more often than not, eventually change world state. Unfortunately, kedro currently lacks the ability to directly access and react to the way it changes the state of the world around itself. Rather, it must instead recompute the nuances that it drives, from its dataset sources. This is a difficult task, and prompts developers to invest time into writing custom datasets which keep track of that world state, whilst simultaneously modifying. The problem with this is that, as far as I know, an acceptable standard to follow for how that tracking should be done is unclear. This leads to logic and code to write this world-state modification and tracking becoming cryptic and opaque, exacerbated by the fact that it is usually implemented behind the dataset _save and _load function calls, which are almost an after-thought when one thinks about a kedro pipeline. Given that the true power of kedro is its software engineering best practices applied by its framework, I believe that this aspect of data pipelines should also be addressed, and rather than letting them fester in the shadows, we can bring them in the open and care for them.
Problem
What follows are two categories of real world problems that kedro engineers must face, currently not solved by kedro.
Preservation of Past Work:
1.1. There is a node that takes a lot of computation to output.
1.2. There is an IO process that takes a lot of time to read.
1.3. There are similar, independent, long-running, high-failure-rate operations.
Limitation from Past Work:
2.1. There is an API that has time-based call limits.
2.2. There is an operation that must be called only once.
The theme with all of these that there exists data required to decide what operations to do next.
For the Preservation group, the data is regarding “what work has been completed that I can take advantage of.”
For the Limitation group, the data is regarding “what work has been completed that I am not allowed to do."
The way that this is currently being solved is that these extra data bits are being loaded and stored as a side effect of the _save and _load functions. Obviously, we want to avoid this as much as possible.
Concrete Example
Let's say I have a kedro pipeline that reads data from a JDBC connection, partitions it by dates, encodes it as parquet, and uploads it to a data lake. The connection to JDBC is slow, the connection to the data lake is highly prone to failure, and we are pressed for time. I decide to write a pipeline that downloads, encodes, and uploads in parallel, without overwriting its previous work.
How will it know when previous work is done? We cannot rely on the existence of the partition folder in the data lake, because if an upload failed midway, the folder would exist, but partitions inside the folder would be incomplete. We must instead have separate audit data that keeps track of the true, completed work.
How do we implement this audit data? This is where it gets tricky. Due to the atemporal DAG constraints in kedro, I cannot create a dataset in the catalog that I can use to save and load the marking data without creating two separate datasets pointing to the same file location. This is a clear hack, at the mercy of anyone who modifies the catalog.yml in the future, as well as the mechanics of the Pipeline topology sort itself.
To keep this separate, I must instead create a custom dataset that internally loads and saves the audit data on its own. This not only breaks DAG rules, but also contradicts the spirit of a DataSet, which should be limited to serialization.
Thus, by some measure, we must break kedro's framework in order to implement the marking data. I am not shy of breaking framework rules, when there are rare exceptions, but this use case has thus far been proven to be far from rare, and I encounter it in almost every pipeline I build.
What's not in scope

How people design their state tracking
What is being tracked in state

Design

Explain your design to the solution here. Diagrams could help.

Philosophy
Kedro is a framework for dealing with data, so why not instead accept our audit data as proper data to be considered? Philosophically, it’s something that we seem to be against.
An implementation where data in the latter part of the pipeline affects data in the former breaks the idea of a proper Direct Acyclic Graph (DAG). I whole heartedly support DAGs, but I believe we may be making an assumption that is putting undue constraints on their flexibility.
That is: We have always thought of DAGs as atemporal, without time. However, I think that if we bring time into the equation, we can solve this problem.
If you think about it, this is similar to why we are already doing dataset transcoding:  it allows us to think about our data in different physical representation, to manipulate it as appropriate.
What if we instead we created a method to allow us to think about our data in different temporal representations? I'd like to call it: chronocoding.
Imagine the following example, where there are three datasets, A, B, C, and that the output of C would directly affect A.
Of course, this situation is untenable.
+---------------+
|               |
V               |
A +---> B +---> C

However, when we consider the time dimension, the graph changes.
Below, A represents A at T (current run) while A’ is A at T+1 (next run).
A +---> B +---> C +---> A'

Now, we are no longer arrested by a cyclic dependency; instead, the order of operations is still clear.
Practically
What this means is that we would introduce a new representation of datasets in our pipelines. One that would indicating we are operating in a T+1 space.
I propose that this be represented by a ! at the end of a dataset's name, and only for output datasets. This way, a user knows that the _save function they are calling will be available for _load in the next run of the kedro pipeline.
The ! was chosen as it is indicates the operation requires extra attention. The idea is similar to Ruby’s “bang methods,” where instance methods that end in a ! are modifying the instance directly. In the kedro case, we would be modifying the future state of the dataset.
Application
This then allows us to very cleanly solve all the problems from above, demonstrated here with pseudo code.
Preservation of Past Work:
1.1. There is a node that takes a lot of computation to output.
1.2. There is an IO process that takes a lot of time to read.
1.3. There are similar, independent, long-running, high-failure-rate operations.
node(big_compute, inputs=[“data”, “compute_history”], outputs=“compute_history!”)

def big_compute(data, hist):
    # filter data by hist
    # compute
    # calculate new history
    return new_hist

Limitation from Past Work:
2.1. There is an API that has time-based call limits.
2.2. There is an operation that must be called only once.
node(limited_call, inputs=[“payload”, “call_history”], outputs=“call_history!”)

def limited_call(payload, hist):
    # compare history with threshold
    # operate or not, based on comparison
    return new_hist

This very clearly brings our side-affecting code right out in the open, pulling them into kedro itself. The historical metadata can then take advantage of all that kedro has to offer, in terms of datasets, without requiring any additional syntax magic.
Thus, datasets can go back to focusing on what they do best, which is the serialization of data, and nodes can now do more of what they do best, which is the computation and operations on the data, all the while making it so much easier to test exactly what effect will the temporal state have on our computations.
Thus, we fully take advantage of all the benefits kedro currently celebrates, while cleanly introducing functionality to support workflows that would otherwise would be implemented sub-optimally.
Alternatives considered

Explain the trade off between different alternatives to your solution.

IncrementalDataSet
The obvious alternative here is the IncrementalDataSet, which I believe is an excellent solution for addressing incrementally updated data, but not all data is incremental in nature.
This also brings up another question around whether or not the kedro team wants to address the unmentioned natures of data.
Confirms
The other alternative is to override the confirms method on custom datasets. Indeed, it is an indirect way of reaching back up the pipeline, to hand off information to previous nodes in order to inform future runs.
However, the issue is that confirms function ends up being removed from the actual operations we wish to track, and as a result loses the critical pieces of the context puzzle we wish to track.
It also pushes our data filtering back behind "closed doors," hidden away in dataset operations, where they will eventually cause problems.
Manual Additions to catalog.yml
This works well, but meticulous care must be taken to ensure sure that:

The filepaths for chronocoded datasets are the same.
The topology is valid.

Which doesn't seem like a lot, but even for a small pipeline, it can get tedious.
Testing

Explain the testing strategies to verify your design correctness (if possible).

We just need to test that the new syntax is picked up by the Pipeline and runners.
Rollout strategy

Is the change backward compatible? If not, what is the migration strategy?

Yes, fully backward compatible, as long as nobody has an ! at the end of their datasets.
We must also continue to enforce the uniqueness of an output, i.e. two nodes may not output to the same dataset, regardless of its temporality.
We must also take into account the topological sort of this new time dimension.
Future iterations

Will there be future iterations of this design?

It’s possible that chronocoded datasets will require configuration that is separate to the present dataset. We may need to implement transcoding on top of chronocoding, but I can't think of a true use case for it at this time.

@tamsanh Thank you for the great suggestion and apologies for being late in response.
There are lots of information and suggestion for chronocoding in your descriptions (which is really interesting!), but I would like to clarify the problem from your concrete example first, before thinking about the solution.
Regarding the concrete example you faced with JDBC connection, am I correct that the problem was there was no easy way for you to know which nodes (load data->execute node func -> save data) the runner actually did run successfully/failed? If you could tell that somehow (either with audit data or some other forms), you could try to run the failed part of your pipeline, and the problem would be solved?

I decide to write a pipeline that downloads, encodes, and uploads in parallel, without overwriting its previous work.

Would your Kedro pipeline complete without any errors if upload failed midway, or something went wrong?

Hey team, just a quick update, I was able to put this behavior into the newest version of my pipelines-made-easy plugin Kedro Wings.
Works perfectly fine thanks to our lovely hooks API.
Video on usage here: https://youtu.be/n--1fO-NxC0

We suggest using @tamsanh's work on this one. We'll update you if this ever becomes a core part of Kedro. For now, I'll close this ticket. Thanks for Kedro Wings @tamsanh!


Serve command not rendering marko templates

I copy pasted the example of the home page of marko, but it didn't work.
The command I use is npx @marko/serve . or npx @marko/serve index.marko.
class {
  onCreate() {
    this.state = { count: 0 };
  }
  increment() {
    this.state.count++;
  }
}

style {
  .count {
    color: #09c;
    font-size: 3em;
  }
  .example-button {
    font-size: 1em;
    padding: 0.5em;
  }
}

<div.count>
  ${state.count}
</div>
<button.example-button on-click("increment")>
  Click me!
</button>

Also, consize syntax doesn't work: a simple template like h1 -- hello wouldn't work either.

It works fine when you install @marko/serve as an npm package and run marko-serve


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_48qr11cq5p/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_48qr11cq5p/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_48qr11cq5p/clone/recipe/meta.yaml:21: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found


Methods to display date and time in C languages

Methods to display date and time in C languages

Methods to display date and time in C languages

#2


Control ID generation of layouts in dashboard-layouts

Hi,
I just implemented custom dataStorage to store layouts and states to database and noticed some not expected behaviour.
I'm using database ID as in layout.id, and this is problem because layoutStorage.add(newLayout); generates own id for new layout, and actual save won't change that according to dataStorage setItem() response.
I did a hack for this, but I'm not satisfied with my implementation about this. Any pointers how this should be done?

Currently the dashboard ids are auto-generated, and it will take a little refactoring to change this behavior, but I don't see it being that much of a change. I don't have bandwidth to tackle this right now, but I will tag this as a new feature and rename it to better convey the request. If you can put together a pull request, I would be more than happy to merge it, barring any changes I may suggest!

Basically the problem lies there https://github.com/DataTorrent/malhar-angular-dashboard/blob/master/dist/angular-ui-dashboard.js#L339-L346

new layout is added to scope before it's actually saved
actual dashboard layout save triggeres two times (scope.makeLayoutActive() and layoutStorage.save())

I'm not sure about that "little" refactoring on this one, but hopefully I'm wrong :D

Hi @tarlepp,
Looking at the current code, it is possible to set the DashboardState id and LayoutStorage id when you instantiate them.  If you still have an issue with implementing your own storage and setting IDs, provide us with some code and we'll be happy to review it.
Regards,
Willet

No response from OP so closing issue.

yep, we solved this one with custom stuff... and  really we didn't have the time to make that thing os at that time - which is shame :(
but if i remember correct i have somewhere really refactored version on this library, adds these multiuser things and stuff. I'll try to look that out this weekend - I hope that I find that one :D

and basically responses after a year of some issue - you're really, really late...


This repo was archived

https://trello.com/c/LB4NJ3z5/3055-retire-upgrade-ruby-version-repo

We usually add retired: true to the repo's section, rather than deleting it entirely. Not sure what difference that makes though


Reddit videos gets downloaded without audio

Ripme version: v1.7.91
Java version:
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) Client VM (build 25.221-b11, mixed mode)
Operating system:
Microsoft Windows [Version 10.0.18362.239]

Exact URL you were trying to rip when the problem occurred:
https://www.reddit.com/r/Elissavictoria/comments/fbqp09/nsfw/?utm_source=share&utm_medium=web2x
Please include any additional information about how to reproduce the problem:
Try to download the video with ripme and it will download without audio, same thing happens when saving the video from reddit ios app, you can only save the video with the sound on reddit on browser.
This happens to all videos and not only the provided link.

Expected Behavior
Video gets saved with audio.
Actual Behavior
Video gets saved without audio.

I believe this happens because reddit sends the video and audio stream separately so it would have to be remuxed into one file and ripme doesn't seem to  support this.


Checking for CN number like<PHONE_NUMBER>8 isValidNumber returned is false

Checking for CN number like<PHONE_NUMBER>8 isValidNumber returned is false

I think this is because the metadata is outdated.


Some questions and clarifications

How much memory is used by this? You recommend a pi 4b but don't mention how much memory you might need. Would the cheapest pi 4b be enough?
Does ansible need to be installed via sudo/root? I installed it in user mode as that seemed to be advised on the ansible website
How amiable is your ansible script to being rerun? I got an error when I tried to run it (and a different error second time around). Do I need to nuke my Linux install and start over? Is there a way to undo the changes?
What does "# Comment out the previous line and uncomment this to run inside Rasberry Pi." mean? Is the default configuration to run on another computer?

Hi Dan, I will try my best to answer your question although I am just a user of this program.

The exact number of RAM will depend of course on how many services you are monitoring. In my setup I have Prometheus , Grafana, and all the Docker containers to monitor my internet connection and it is running PERFECTLY on a Raspberry Pi 2 Model B (this model has 1Gb of RAM only). A quick look at htop says that the system it is using less than 350Mb but of course this is the whole operating system, not only the internet-pi part.
I used root myself, but I don't see why not you can get it installed under a different user. Bear in mind that docker containers need sudo privileges to run though, so you will need to add the user to the docker group (or even sudo depending on your OS).
In my case, the ansible script is  100% re-runable. Please share the error you are getting.
My understanding is that a Raspberry is the default platform to run this on, but since the project is based on containers and ansible it is almost warranted that it will run fine on any other platform that can run those both too.

Regarding undoing the changes—you can stop/remove all the docker containers and then delete all the directories created under the config_dir (~ / home dir by default), and it will be like nothing ever happened.
But the playbook is idempotent—you should be able to run it once, ten times, or a million times, and the resulting state should be the same (I run it at least weekly).


Proposed documentation re-structure

Background
I think that the MyST Notebook documentation could be more impactful if we re-structured it slightly, with the goal of cleanly separating out different functionality. (this is similar to the myst restructure proposal, although I think these docs don't need as much re-structuring).
A proposal
What if we did the following:

Tutorials

Create your own MyST Markdown Notebook from scratch, convert to ipynb with Jupytext, convert it back. Include some basics of cell / notebook metadata etc
Get started with MyST Notebooks with Sphinx

Topic Guides

MyST Notebooks specification
Writing MyST Notebooks

For Jupyter Book
With Jupytext

MyST Notebooks with Sphinx

(in general, split up our current Sphinx docs into a structure that follows the diataxis framework)

Parse MyST Notebooks with Python

About MyST Notebooks

Contributing
Changelog

The proposed layout makes sense to me if we think with the diataxis mindset.


add account validity endpoint

should be ready to merge, or do you want some other adaptions?

should be ready to merge, or do you want some other adaptions?


try running test suite

fix #14

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@jan-janssen now running test suite
it's only 17 tests, and not all executables are tested but I guess it's a good start

@conda-forge-admin, please rerender

@ltalirz thanks a lot

@ltalirz By the way if you want to add yourself as a maintainer feel free to do so.


Handle fetch errors

Describe the feature
Rather than throwing the fetch error and causing an unhandled exception, it should handle the error and return an error response.
TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at process.processImmediate (node:internal/timers:449:9)
    at async Object.http (/home/.../packages/server/node_modules/ipx/dist/index.cjs:141:22)
    at async _handleRequest (/home/.../packages/server/node_modules/ipx/dist/index.cjs:567:18) {
  cause: ConnectTimeoutError: Connect Timeout Error
      at onConnectTimeout (/home/.../packages/server/node_modules/next/dist/compiled/undici/index.js:1:82152)
      at /home/.../packages/server/node_modules/next/dist/compiled/undici/index.js:1:81644
      at Immediate._onImmediate (/home/.../packages/server/node_modules/next/dist/compiled/undici/index.js:1:82034)
      at process.processImmediate (node:internal/timers:478:21) {
    code: 'UND_ERR_CONNECT_TIMEOUT'
  }
}

Additional information

[X] Would you be willing to help implement this feature?

Hi. Fetch errors should be slighly better in next major version (v2) with location details.


Create unit tests and separate them from integrated/e2e tests

There are many components of reddit-detective which can and should be unit tested. Add unit tests for those stuff, separate them from e2e tests

Tests should measure cost, speed, and confidence.  Unit tests won't be reliable in many cases since most of the functions purposefully directly interact with the DB.
For example, analytical functions can be unit tested by using a graph data structure implemented in Python. However, these tests might not realistically measure speed or confidence. reddit-detective is designed to interact with Neo4j, not with a graph implemented in Python.


Consider changing the convention for linking with @current

At present, ionic mechanisms are linked using dV/dt=@current/C with @current += -Iion(...); so, @current actually refers to -(ion current). Perhaps we should change the convention or conductance-based models to be: dV/dt=(@input-@current)/Cm with @current += Iion(...) in ionic mechanisms and @input += Iext(...) for external drives. This would require updating *.mech, *.pop, demos, and the paper. It will break anyone's existing code that depends on the default mechanisms in the models directory.

It's quite a mess to change this now, but it's more proper and better now than later

since the currents are actually positive by convention (i think), and the negative just comes from moving the term to the RHS of the equation, that makes sense to change it.

people are just going to copy the demo and existing mechanisms so that will help things.  just make sure the monitor goes the expected direction.

Moved minus sign from linker to function and left everything else the same.
Issue resolved in commit 9449c964db3017d65a17811eaa502cffd5598420.

I'm confused as to the actual behavior of what's going on now. If, for example, all the mechanism contributions to @current are positive, and the usage of @current in the eqns is also positive like in the following section of the demos:
data=dsSimulate('dv/dt=10+@current/Cm; Cm=1; v(0)=-65; {iNa,iK}');

figure; plot(data.time,data.(data.labels{1}))
xlabel('time (ms)'); ylabel('membrane potential (mV)'); title('Hodgkin-Huxley neuron')

then shouldn't the above code NOT work correctly? I thought that, under this new convention, you would have to change the dV/dt mention of @current to be negative, NOT positive?
If the above code is correct, then doesn't this imply that DynaSim is really using negative @current even when I'm telling it I want positive @current? In other words, is @current being forced to be negative now? If this is the case then that seems like a hidden pattern.

The new convention is to put the minus sign in the function definition.
e.g.)
IL = - gL*(V-EL)
@current += IL
dV/dt = @current+10; {IL}
On Thu, Nov 2, 2017 at 3:40 PM, Austin Soplata<EMAIL_ADDRESS>wrote:

I'm confused as to the actual behavior of what's going on now. If, for
example, all the mechanism contributions to @current are positive, and
the usage of @current in the eqns is also positive like in the following
section of the demos:
data=dsSimulate('dv/dt=10+@current/Cm; Cm=1; v(0)=-65; {iNa,iK}');
figure; plot(data.time,data.(data.labels{1}))
xlabel('time (ms)'); ylabel('membrane potential (mV)'); title('Hodgkin-Huxley neuron')
then shouldn't the above code NOT work correctly? I thought that, under
this new convention, you would have to change the dV/dt mention of
@current to be negative, NOT positive?
If the above code is correct, then doesn't this imply that DynaSim is
really using negative @current even when I'm telling it I want positive
@current? In other words, is @current being forced to be negative now? If
this is the case then that seems like a hidden pattern.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DynaSim/DynaSim/issues/244#issuecomment-341535421,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQFledOlqqelpTr6ghKttiznpf8L2trlks5syhqSgaJpZM4QA_Oc
.

Ahhhhh okay, I get it. When Jason said he moved the minus sign to the function, I got really worried that he moved it to be automatically added/parsed in a DynaSim function! Glad to see this wasn't a functionality change. Thanks for clarifying


g++: error: unrecognized command line option '-Xarch_x86_64'

hi,
im having problem installing on osx 10.10 yosemite,
running with gcc4.9.2
qt 4.8.6 install via brew
gem install capybara-webkit
Building native extensions.  This could take a while...
ERROR:  Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
/usr/local/var/rbenv/versions/2.1.4/bin/ruby extconf.rb

cd src/ && /usr/local/bin/qmake /usr/local/rbenv/gem/gems/capybara-webkit-1.3.1/src/webkit_server.pro -spec /usr/local/Cellar/qt/4.8.6/mkspecs/macx-g++ -o Makefile.webkit_server
cd src/ && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.webkit_server
g++ -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.6/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.8.6/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.6/include -Ibuild -F/usr/local/Cellar/qt/4.8.6/lib -x c++-header -c stable.h -o build/webkit_server.gch/c++
g++: error: unrecognized command line option '-Xarch_x86_64'
make[1]: *** [build/webkit_server.gch/c++] Error 1
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 2
Command 'make' failed
urgent need fix,
thank you :)

Hello there, I found a workaround that I want to put somewhere for posterity and this was the closest to my situation. @jferris, I was encountering the same error as above issues related to ggc/llvm as you suggested. After adjusting my path as below, I was able to install successfully. I unlinked gcc with brew to be sure. I hope this helps someone in the future!
export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH

Another option is to find mkspecs and edit g++-macx.conf to remove -Xarch_x86_64. In my case (OS X 10.8.5) it was at /usr/local/Cellar/qt/4.8.3/mkspecs/common/g++-macx.conf. This worked for a build using an Python 2.7.10 built from source.


fix skipping params for orderbook

simple fix for ignoring params by orderbook method
get method takes normal argument instead of keyword one's
lib/bitfinex/connection.rb:
def get(url, params={})
  ...
 end

Implemented on master


Rails 6 support

Started working on rails 6 support. I could not get the older versions test of appraisal to work

Fixes #112, @smathy could you review the changes?

@smathy @be9 could you please look at this PR?

Any progress on this pull request? @smathy @be9

Wow, bad @smathy!  SO stale.  I'll make some time to look at it over the weekend.

Hey, we love this gem at our project, but right now it is one of the few things that's blocking us from upgrading to Rails 6 😞
Could you please take a look at it?

@smathy it'd be awesome if we could get this merged :)

@smathy could you look at this PR?

@smathy do you have plans to merge this PR ?

@smathy do you have plans to merge this PR ?

maybe @be9, you have plans ?

maybe @be9, you have plans ?

@smathy : looking forward to having this merged too.

@smathy : looking forward to having this merged too.

Thanks for your effort @martijncasteel (and for everyone else's encouragement), I finally got around to this.  As I'm sure you all realized, the library itself worked, it was literally just the dependency that needed updating [hangs head in shame] - sorry this took so long.  New 3.2 gem is pushed.

...well, and the tests needing some massaging.


[tray icon] Stops work when laptop was in a sleep mode.

For replay this bug you need:
Test case

Install SS -> you can observe tray icon.
Go to sleep mode.
Run your laptop -> click on tray icon.

Result: nothing happens. To start work with tray again, you should run it again, meanwhile you can observe two tray icons. One of them is clickable, another one is not.

fixed


celery: embargo updater

Create a celery task that can run on a regular basis to update expired embargos.
The Zenodo version of the same celery task can be seen here and here.
The task will have to perform a search for records where access.embargo.active:True AND access.embargo.until<datetime.now() to find all records where the embargo expired.
Then for each of these records, call record.access.embargo.lift(). Bulk reindex the expired records.
Now, the tricky part of this task is to find a solution for what should be done when a record is being edited:

User publishes a record with an embargo date.
User then creates a draft to edit the record
Embargo date expires and celery task is running.

What happens then. Ideally, all edits should happen via a draft.

After a first discussion we agreed the embargo updater as follows:

If there is no draft created for the record we will create a new draft update the embargo value and publish it.
If there is draft created we will update the draft’s value of embargo and we will also update the record’s value of embargo.

There is also a doubt that @lnielsen might be able to resolve. Once an embargo is lifted can we apply another embargo over the same record? (At the moment is possible).
Potential improvements:

Indexing in the celery task.


Tailing epi time after some lines of the "mrl ." result

Like:
08/20 19:30 osve/cpc/apply#3 Need the study the monthly actions1597898528

[2020-08-26 (ww34.3) 14:16:16] 2
In mr_log_collect()
[2020-08-26 (ww34.3) 14:20:18] 3
Root cause: forget to add \n when combining records
I use string op A+B to combine the records. Given:
A: ra1  B: rb1
ra2     rb2
Using A+B will get the following unexpected result:
ra1
ra2rb1
rb2
[2020-08-26 (ww34.3) 14:21:18] 4
Fixed in code, need to push and update github issue

06dfeca1d8761837a4217ce17d8b594f33f14f94


build system: use cmake

curently using qmake as the build system as it is the qt default
be nice to change to cmake because:

it has better integration with catch2, spdlog, etc libraries
cmake is more widely used / better supported in general
qt itself is moving to cmake as the build system for qt6

This cmake branch has a working cmake build, when using dynamic Qt libraries.
Unfortunately when using static Qt libraries, they depend on other libraries which cmake is not aware of: this information is provided in a .prl file for each library by qmake, which includes a list of dependencies.

https://www.mail-archive.com/cmake%40cmake.org/msg51170.html
https://www.mail-archive.com/cmake%40cmake.org/msg51188.html

So currently to get the static builds working with cmake we would need to parse these files to extract all the libraries to link. Better cmake support for qt should be coming in the future, as qt themselves start to use it to build qt: https://www.kdab.com/qt-on-cmake-workshop-summary-feb-2019

#89 added a CMake build option in parallel to the QMake build
for now we will maintain both build systems in parallel
we still need QMake because of the issue with static Qt libraries mentioned above
once this is resolved we can remove QMake and exclusively use CMake


Add support for pen tablet buttons

When using keyd monitor to find inputs for my drawing tablet, I get  ERROR: unsupported evdev code.
I saw a mention of BTN_0 in #441.
Related issues are #428, and #495.
Some of these keys don't exist on my device. Using evtest I can see keypresses of BTN_0 through to BTN_9, and BTN_SOUTH & BTN_EAST, but these are unsupported in keyd.
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 256 (BTN_0)
    Event code 257 (BTN_1)
    Event code 258 (BTN_2)
    Event code 259 (BTN_3)
    Event code 260 (BTN_4)
    Event code 261 (BTN_5)
    Event code 262 (BTN_6)
    Event code 263 (BTN_7)
    Event code 264 (BTN_8)
    Event code 265 (BTN_9)
    Event code 304 (BTN_SOUTH)
    Event code 305 (BTN_EAST)
    Event code 306 (BTN_C)
    Event code 331 (BTN_STYLUS)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max        1
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max        1
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)

A bit tangential, and though I don't write C, this stack of else if statements in device.c does seem to yearn to become a switch statement.
		if (ev.code >= 256) {
			if (ev.code == BTN_LEFT)
				ev.code = KEYD_LEFT_MOUSE;
			else if (ev.code == BTN_MIDDLE)
				ev.code = KEYD_MIDDLE_MOUSE;
			else if (ev.code == BTN_RIGHT)
				ev.code = KEYD_RIGHT_MOUSE;
			else if (ev.code == BTN_SIDE)
				ev.code = KEYD_MOUSE_1;
			else if (ev.code == BTN_EXTRA)
				ev.code = KEYD_MOUSE_2;
			else if (ev.code == BTN_BACK)
				ev.code = KEYD_MOUSE_BACK;
			else if (ev.code == BTN_FORWARD)
				ev.code = KEYD_MOUSE_FORWARD;
			else if (ev.code == KEY_FN)
				ev.code = KEYD_FN;
			else if (ev.code == KEY_ZOOM)
				ev.code = KEYD_ZOOM;
			else if (ev.code == KEY_VOICECOMMAND)
				ev.code = KEYD_VOICECOMMAND;
			else if (ev.code >= BTN_DIGI
				 && ev.code <= BTN_TOOL_QUADTAP);
			else {
				keyd_log("r{ERROR:} unsupported evdev code: 0x%x\n", ev.code);
				return NULL;
			}
		}

Sorry for the belated response, and thanks for filing this. At the moment this is a bit tricky to support properly since the internal keymap is full. The next major release (a few moths away) should hopefully remedy the issue.

A bit tangential, and though I don't write C, this stack of else if statements in device.c does seem to yearn to become a switch statement.

Indeed, but then the last else if clause would need to be a conditional in the default: clause anyway, since C can't match on arbitrary conditions.
I'm closing this for now, but will revisit it as I work on the next version.

Hi, thanks for your work on this.
If this issue needs to be revisited, there was recently a change in DIGImend (which will eventually be merged into the kernel) about increasing the maximum no. of drawing tablet buttons and implementing touch strips.
You can find a complete libinput recording of the new behaviour here


Add link to reference or tutorial in "Welcome" screen

The "Welcome" screen on first load  (before the first save has been created) should have a link to a reference or tutorial.
To take a new user by the hand, this could be part of an "Unsure what to build?" suggestion.
https://github.com/SimplyEdit/simplycode-docker/blob/cefb0d193e116fc31a91b14854f8d0a09e508c33/403.php#L84-L91

Made a branch, added link and explanation

Branch reviewed, waiting for change.

Change made


Add semantic HTML elements

WHEN I view the source code
THEN I find semantic HTML elements

done updated and added all HTML semantics


XMLHttpRequest2 support

In the README it states that XMLHttpRequest2 will be supported in version 2 of this library, which is still currently on the 1.x branch and the repo doesn't seem to have been updated for about 9 months. Any plans to implement v2 sometime soon?

Is there a plan for version 2?


django-summernote SummernoteInplaceWidget Not Allowing Data To Be Copied In or Edited

I am using Summernote Lite without Bootstrap...I am using the most recent sources from version 0.8.9 as shown below...

<link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-lite.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-lite.js"></script>

As an example...When doing a straight creation of a new form...this works...
    widgets = {
       'procedure': SummernoteInplaceWidget(),
    }

When trying to edit the form, using the widget above does not work.  Instead of the widget above, I have to use....
    widgets = {
       'procedure': SummernoteWidget(),
    }

When I use the widget above, I am able to edit the data as I would expect, but I am not able to turn on the resize toolbar function or affect the default fontsize of the editor.  I reported the CSS issue under a separate issue.  This issue is meant to represent that the SummernoteInplaceWidget doesn't seem to be working correctly in "edit" mode.
I have to use the SummernoteWidget below in order for the data to be present.

I am trying to use the editor below, a SummernoteInplaceWidget instead of what I'm using above but when I do, the data that I am trying to edit is not present.

Tried updating the settings.py file as shown below, but didn't seem to help...
SUMMERNOTE_CONFIG = {
'iframe': False,
'summernote': {
'toolbar': [
['undo', ['undo',]],
['redo', ['redo',]],
['style', ['bold', 'italic', 'underline',]],
['font', ['strikethrough',]],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
],
'width': 760,
'height': 300,
'focus': True,
'fontSizes': ['8', '9', '10', '11', '12', '14', '18', '22','24', '36', '48' , '64', '82', '150'],
},
}
Love Summernote!  Thanks for all that you do to support it for the community!

I believe I am mixing apples and oranges. Summernote lite and django-summernote are two separate products. However, Jquery and summernote-lite libraries or any of the other libraries are needed for the SummernoteInplaceWidget if I am understanding correctly. Closing out while I reevaluate django-summernote configuration.


Portable Output Interface

This issue tracks the support for supporting different outputs.
Flake-guard aims to standardize an interface which be consumed by the following systems.

Networkd
services.wgquick
networking.wireguard.interfaces

This is draft which will be updated upon when more progress is made.
No more available information at this time.

#21


Ensure protocol in git provider URL in Repository CR

Users often provide only hostname for self-hosted git providers. Make sure that git provider URL in Repository CR has protocol set, otherwise PaC would fail.
Refactor code to make it more readable.

/retest

/retest

/retest

/retest

/retest


*: wrap error when clientv3.New() fail

[skip ci]

changed it to only wrap clientv3.New() calls

fixed

lgtm


stlhp : markdoc : use # for title instead of ===== in md hlp file

Use:
# Title

Instead of:
Title
=======

Also test using pandoc

Great news that both ways of specifying headings in Markdown work equally well with MarkDoc!
As a precaution, I'll confirm that adodown doesn't require a certain heading format to construct pages. On quick scan of the code, I believe the code only really looks for YAML boundaries. But it's worth making sure.
Separately, you note that #, ##, ###, etc all yield {title:} in .sthlp. Does SMCL have any (rough) equivalent of H2, H3, etc headings? If so, would there be any value making a PR to MarkDoc to capitalize on this sematic mapping?

There is no close match the H2, H3 etc. in smcl. There are the titles (title:} and there something called {dlgtab:}" that a kind of section header. See code and snippet below.
{title:This is a title}

{dlgtab :This is a dlgtab}

{dlgtab 10:You can indent a dlgtab}

I wonder if writing our own tool is easier than contributing to markdoc. I am all for contributing to open source tools, but markdoc does so many things. And since Stata packages are big programs rather that many functions/methods it is hard to contribute to the corner of markdoc that we want to contribute to without having to learn everything else that the command is doing. Another reason is that there is no established way in Stata to rely on other community contributed commands. There are ways to do that, but they are always a bit hacky. We can talk more about this later.


canvas

i can't install canvas

https://github.com/Automattic/node-canvas#installation || sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
Run this command in root mode inside and install the latest version of canvas before all use apt update

hmm ok thank you

https://github.com/Automattic/node-canvas#installation || sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
Ejecute este comando en modo raíz dentro e instale la última versión de canvas antes de usar apt update

it worked for me thanks

LMAO


Updating Dev Documentation for Unified Pipeline Releases

@zikalino The only thing holding us back from deleting the nightly build (along with python - client is getting the management packages cut over to releasing through unified pipelines.
Can you take a look at this and try running one of your releases through the unified pipelines instead of the central python - client build?
CC: @Azure/azure-sdk-eng
@mitchdenny I told you I'd get this out this morning :P

Can one of the admins verify this patch?

looks good, I will add if I find out any problems while working with new setup