Check if Windows on assert for existence of NotSslRecordException

This PR adds an OS check around an assert checking for the existence of a log entry, as this log entry does not appear on Windows.
I've tested on Windows and Linux, as well as applied PEP 8 fixes from autopep8.
This issue is tracked in CASSANDRA-10388.

Any idea why? I just want to double-check this isn't evidence of a bug. If we're certain this isn't a bug, could you add a comment explaining why this isn't logged on windows?
Do you know if there are any equivalent checks we can make on Windows? or is the assertion above it, making sure that the connection fails, sufficient?

I'm digging in now to be extremely confident this isn't a bug on our side, but it looks like it happens in Netty's SSL handling on Windows. I'll add a comment with what I find.
There isn't an equivalent check unless Netty throws something else that we log at TRACE, which I'm checking now. From a test semantics standpoint, the assertion above it making sure the connection fails is essentially equivalent (slightly less detailed, but that may be a sacrifice we make here).
Let's leave this open until I update.
Thanks.

Okay - so, in the meantime, I've done some digging into this cause. It looks like the missing log lines was actually due to differences in Windows/Linux logging in the fallout of the debug.log/system.log change in C*.  Yuki has contributed fixes for this.
With the latest CCM and no changes to dtests or C*, the tests pass with the assert left in.
Thanks for the pushback on this; I wasn't being persistent enough in root-causing. Nice work.


Create new self-hosted runner using Docker

Create a new runner called NYC-R1
Use Docker to install required dependencies
Replace with existing runner once working
Write up docs on Runner creation
Update all build processes to remove dependencies from config files

2 cents on self-hosting runners:
I built a service for running self-hosted GitHub Action runners on cloud with 0 maintenance and free for open source: https://cirun.io/
It's on-demand, which means you only pay to your cloud provider for the time you're using it.
All you need is a simple configuration .cirun.yml file, here is a demo.
Also available on GitHub Marketplace as well: https://github.com/marketplace/cirun-io

Is this task still required now we have NYC-R2 up and running?
Instructions link for later ref: https://github.com/vatu-team/infrastructure-handbook/wiki/Servers#github-runner-server

I left it open in case we needed to refer back, as I haven't installed Docker on it. But considering everything is working currently, I'll close it.


fix(ci): correct bucket for upload k0s binaries

What this PR does / why we need it:

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?

Does this PR require documentation?

This does not affect ci


[WIP] support nacos

related to #228

Codecov Report
Attention: Patch coverage is 68.26347% with 53 lines in your changes missing coverage. Please review.

Project coverage is 78.85%. Comparing base (4262fe6) to head (b7ebfd2).

Files with missing lines
Patch %
Lines

...g/inst-api-semconv/instrumenter/rpc/rpc_metrics.go
75.89%
18 Missing and 9 partials :warning:

.../instrumenter/experimental/nacos_client_metrics.go
0.00%
26 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #266      +/-   ##
==========================================
- Coverage   82.36%   78.85%   -3.52%
==========================================
  Files          20       23       +3
  Lines         845      974     +129
==========================================
+ Hits          696      768      +72
- Misses        122      172      +50
- Partials       27       34       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Feature/em

Added controller files, models, and views files to push to develop so we can all pull the most up to date code without creating a merge conflict.


[Bug] Game freezes after aiming with any gun (Linux)

Game freezes after aiming with any gun, in any game mode.
This happens to me 100% of the time after aiming, the time is random tho, sometimes it freezes after aiming for 1 second, others after aiming for 10 seconds continuously I play on Steam Deck on the latest build hash  2a5c3a3

What input method are you using? Built in Steam Deck controller?

Yes I'm using the Steam Deck controller

I can't reproduce this on my own Steam Deck, either in desktop mode or in normal mode.
Are you running the Flatpak build or the normal build? Does this happen on every level or on a specific one? What did you bind your aim button to?

It happens in every level, even in challenges I have my aim mapped to L1 trigger, I have the build from the releases Github page, I'll upload a video

There are two Linux builds on the release page, one is a Flatpak (io.fgsfdsfgs.perfectdark.flatpak), one is just a bunch of binaries in a zip file. Which one is it? There is also a Windows build there, in case you're using that for some reason.

I'm using this one pd-i686-linux.tar.gz

Here's a clip
https://github.com/user-attachments/assets/1c669def-e214-4e77-a9b9-4169e6082814

I tried it, happen to me again after changing the trigger to L1

No, all suggestions help, especially since I don't really know what the cause of this could be. I suppose you could try the flatpak build instead? Not sure if that's gonna fix anything, but who knows.

I experience this with my steam deck depending on the steam runtime I use:
I started noticing it after the controller patches were merged.
It reproduces consistently with 1.0 (Scout). I don't remember if the game would even run without it on my steam deck. It doesn't reproduce afaict on recent Ubuntu releases or Gentoo (back when I still used it.) My guess is that an older version of SDL doesn't like the controller support implementation. I'm not sure if it's an SDL bug that was fixed or if it's just masked by recent versions.
Since that's the only available runtime in the dropdown, I installed the latest available from the steam tools section and used a startup script to launch it, like this:
note: this is a linux build despite the .exe extension.
#!/bin/sh
/home/deck/.steam/root/steamapps/common/SteamLinuxRuntime_sniper/run -- /home/deck/.local/opt/perfect-dark/pd.exe

Or you could run the windows version on proton.

Thanks for the suggestion, I'll give it a shot

@rene-durazo did this work for you?

Possibly related to/duplicate of https://github.com/fgsfdsfgs/perfect_dark/issues/219

See #219. Should be fixed.


Please give some specific complete practical examples

Please give some specific complete practical examples.  For instance, ignore index.html.

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

ID: a2dc930c-33a3-d54e-2253-1b1b5a693c17
Version Independent ID: 7dc5aee5-f473-10c8-5299-d5d0b52b7077
Content: Standard rules engine reference for Azure CDN
Content Source: articles/cdn/cdn-standard-rules-engine-reference.md
Service: azure-cdn
GitHub Login: @asudbring
Microsoft Alias: allensu

@mekinney Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

We DO really need practical samples!

Assigning to PM for review
#reassign@mdgattuso

Assigning to PM for review
#reassign:@amitsriva

GitHub user mdgattuso has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign: gunjanj


force correct text-align on calendar

If DatePicker is placed in div with a different text-align, for example text-align:center, css class inheritance from parent will break the calendar month picker & make dates invisible. This fixes the problem.

Coverage remained the same at 88.333% when pulling 2e618a07745e929df4049fe260d4891d3375110d on calcsam:patch-1 into e4cbdc0dc637c4df9b72022cb58bf93f632aec5e on airbnb:master.

Can this be merged soon, please?

I believe this was fixed by https://github.com/airbnb/react-dates/pull/258


CloudFlare issue

When trying to run octodns agains cloudflare I get the following issues
File "/home/ec2-user/dns/env/local/lib/python2.7/site-packages/octodns/record.py", line 115, in new
raise ValidationError(fqdn, reasons)
octodns.record.ValidationError: Invalid record mydomain.com.

root CNAME not allowed

Any advice on how to fix ?

Is there a way we can skip that cname record when trying to push to cloudflare? The issue is that octodns wont let me push to cloudflare because it says it can't handle the cname. Is there a way to skip records from being push?

There's octodns.ignored.
nosync:
    type: A
    value: <IP_ADDRESS>
    octodns:
        ignored: True

There's a PR that allows doing so on a provider by provider base here that I still need to take a closer look at.

Looks like I can't ignore the record when i Add those setting. I get error -root CNAME not allowed.
My zone file contains the the following entry.
? ' '
: - ttl: 1
type: CNAME
value: some value
octodns:
ignored: True

Ah, validations are applied without ignored being taken into account. Will have to think about/dig into that a it. It's possible that ignored could enable lenient validations or it may be preferable to add a new flag, octodns/lenient: True, to enable it explicitly for the record. I'd probably lean towards the latter.

After looking a bit more closely I believe the specific problem here is that the root cname needs to be of type ALIAS as it's supported at the root and CNAME is not valid.
I now think it's unrelated, but I played around with the per-record lenient config in https://github.com/github/octodns/pull/134. That may still ship.


Import date makes all other tiles pale colors

Obviously I imported my history on 14th June 2022 with quite some entries and because of that all other tiles are very light colors. Maybe this could be ignored, to make the other tiles darker colors, too.

Looking at https://github.com/ellie/atuin/issues/446#issuecomment-1151997295, if the imported file does not contain timestamp this is the expected behavior
What you can do is use the --from argument: atuin-graph --user USER --from 2022-06-15


LaTeX dependency scanner misses "imported" files

This issue was originally created at: 2014-09-17 09:12:13.
This issue was reported by: ricklupton.
ricklupton said at 2014-09-17 09:12:13

The LaTeX dependency scanner looks for \input{} and \include{} commands, but
misses other common ways of including files provided by the import package 1.
Specifically:
\import
\subimport
\includefrom
\subincludefrom
I have modified the scanner & tests check for these too and will post a patch
when I figure out how to use mercurial.
But this doesn't completely fix the problem -- \import'd files are no longer
recursively scanned. This turns out to be because there is code in
src/engine/SCons/Tool/tex.py which repeats the dependency scanner logic, again
only looking for \input and \include.
Setting recursive = True in the LaTeX Scanner works and seems to be reasonable,
but I don't really understand why it is disabled in the first place. Any
suggestions?

ricklupton said at 2014-09-17 09:35:51

Created an attachment (id=948)
Patch to scan \import etc in LaTeX files

ricklupton said at 2014-09-17 09:36:18

Created an attachment (id=949)
Patch to scan \import etc in LaTeX files, also enable recursion

dirkbaechle said at 2014-09-17 11:23:35

Hi Rick,
for the Mercurial workflow, please follow the instructions at
http://www.scons.org/wiki/SconsMercurialWorkflows . If you get stuck, or things
are unclear, let us know...we're very interested in improving our documentation,
at every level.

ricklupton said at 2014-09-18 05:13:12

Thanks for the link, that is helpful. I read the main page found at
https://bitbucket.org/scons/scons but that doesn't have as much detail on using
Mercurial. Maybe a link there would be useful.
I've submitted a pull request with modified/new tests which fixes this for me:
https://bitbucket.org/scons/scons/pull-request/185/find-dependencies-using-latex-import/diff
Thanks,
Rick

ricklupton attached latex_scanner_import.patch at 2014-09-17 09:35:51.

Patch to scan \import etc in LaTeX files

ricklupton attached latex_scanner_import_recursive.patch at 2014-09-17 09:36:18.

Patch to scan \import etc in LaTeX files, also enable recursion

I think this should be closed as Bitbucket PR 185 implements is a newer version of this, which has been merged.

I think this should be closed as Bitbucket PR 185 implements is a newer version of this, which has been merged.

This bit wasn't merged:
--- a/src/engine/SCons/Scanner/LaTeX.py	Fri Sep 12 19:59:39 2014 +0200
+++ b/src/engine/SCons/Scanner/LaTeX.py	Wed Sep 17 17:34:29 2014 +0100
@@ -101,7 +101,7 @@
                suffixes =  '$LATEXSUFFIXES',
                # in the search order, see below in LaTeX class docstring
                graphics_extensions = TexGraphics,
-               recursive = 0)
+               recursive = 1)
     return ds

 def PDFLaTeXScanner():
@@ -112,7 +112,7 @@
                suffixes =  '$LATEXSUFFIXES',
                # in the search order, see below in LaTeX class docstring
                graphics_extensions = LatexGraphics,
-               recursive = 0)
+               recursive = 1)
return ds

But looks like the rest of the patches were.
Any guess why?

In https://bitbucket.org/scons/scons/pull-requests/185/find-dependencies-using-latex-import/diff the author said that setting recursive=1 is not necessary since the LaTeX scanner is internally recursive.
Also, there are test/TEX/recursive_scanner_dependencies_{import,input}.py, which, as far as I can see, check for this.

Adding links to other related PRS
https://bitbucket.org/scons/scons/pull-requests/374
@luhk  - Thanks for bringing this to the projects attention. Closing!


Add user-agent header to QuickCompose and Saturn

From<EMAIL_ADDRESS>on February 13, 2014 10:52:53
Include the user-agent header in sent emails.
Original issue: http://code.google.com/p/foam-framework/issues/detail?id=177

Obsolete.


Upgrade prometheus to v2.40.2

How to categorize this PR?

/area monitoring
/kind enhancement
What this PR does / why we need it:
Upgrade prometheus version
Special notes for your reviewer:
CC @istvanballok
Release note:

The following image is updated:
- quay.io/prometheus/prometheus: v2.39.1 -> v2.40.2

/test pull-gardener-integration


Transition leave is not working when using v-if directive

Vue version
3.2.37
Link to minimal reproduction
https://codesandbox.io/s/priceless-allen-xbfcss?file=/src/App.vue
Steps to reproduce
Just click "Toggle" button
What is expected?
Fade-in and fade-out transition effect
What is actually happening?
Fade-out transition is not working
System Info
No response
Any additional comments?
Transition does not perfectly working when using v-if directive. But, vue^2.6.11 its works.
https://codesandbox.io/s/quizzical-volhard-p8oznf?file=/src/App.vue
Why is it changed to unmounted before the transition is finished?
It is necessary when using the Dialog component as in the example below.
https://codesandbox.io/s/keen-cray-mw860x?file=/src/App.vue

This is expected behaviour in Vue 3. When the transition component itself is being removed, Vue 3 will not run a transition for it and its contents.
It's technically this breaking change: https://v3-migration.vuejs.org/breaking-changes/transition-as-root.html#transition-as-root
Even though the migration guide shows it explicitly in the context of being a root node. The effect is the same though.


Multipart requests to ASP.NET "Unexpected end of MIME multipart stream" following character pattern

Guzzle version(s) affected: 7.4.2
PHP version: 7.4.15
cURL version: 7.29.0
Description
We encountered an error in our PHP application when attempting to send a user uploaded file to a remote ASP.NET service utilizing a multipart request. After some tests of the file content, we've determined it was the terminating characters in of the file "\r\n--". This combination results in the error Unexpected end of MIME multipart stream. MIME multipart message is not complete. from the ASP.NET service.
This is somewhat niche and I understand if it's not something that would be fixed within this package but I felt reporting it is important. Even in the case that another developer finds this issue report and can derive their own solution.
How to reproduce
$client->post('the/asp/service', [
    'multipart' => [[
        'name' => 'content',
        'contents' => "hello\r\n--",
        'filename' => 'test.txt',
    ]],
]);

Possible Solution
Append a new-line \n to the end of multipart content if one does not already exist corrected this problem for me.

This is somewhat niche and I understand if it's not something that would be fixed within this package

This is a bug in the server / ASP.NET. The body as constructed by Guzzle is correct.

Hello folks!
Might it be worth to build some kind of optional filter for the post method to prevent this kind of problem ? It seems to me that it would be a benefit for the library users to not have to deal to this kind of errors even if the request is correct according to specs.
(I mean, either for ASP.NET explicitly or for a more general case, something  like a regex substitution).
Regards, xnan-dev.

Might it be worth to build some kind of optional filter for the post method to prevent this kind of problem ?

I believe this is best solved by fixing the servers in question. If that is not possible, then you can fairly easily add the bogus trailing newline yourself if you know that the server misbehaves.
I don't believe that this is suited for some generic library implementation, because it effectively modifies the contents of the transmitted data which might or might not corrupt compressed or encrypted payload and some flag to enable the changed behavior might accidentally end up copied over from some StackOverflow answer without thinking about the consequences.


allow for building apps with different names in the same workspace

This is useful when you have more then one build target generating .ipa files with different names.
eg. different branding, frameworks, etc...

Please add documentation to the README and thrust_example.yml


@steeze-ui/vue-icon -	planned

I am huge fan of your work!
This is showing planned. We have to use VueJs for our new project.
Any ideas if we can use @steeze-ui/vue-icon in our project.

Any update please.

@codeyash  Selfishly I was hoping someone would make a draft for vue 😅
I have never used it but I can try to hack something in the weekend. Any resources on how to init a basic vue component library for this case ?

Vue 3 with Composition API is almost similar to svelte.
https://vuejs.org/guide/extras/composition-api-faq.html
I can't find any Icon Component using Vue 3 Composition API but here are few links.
https://github.com/qinshenxue/vue-icon/blob/master/src/vue-feather.js
https://github.com/fengyuanchen/vue-feather/blob/main/src/vue-feather.vue
fortawesome
I can help with it. I need directions.

@codeyash Can you please try<EMAIL_ADDRESS>Example:
<script setup>
  import {Icon} from "@steeze-ui/vue-icon"
  import {Fire} from "@steeze-ui/heroicons"
</script>

<template>
  <Icon :src=Fire theme="solid" size="24px" color="red"></Icon>
</template>

Tell me if anything is wrong or missing!

Thanks for your wonderful work.
Working flawlessly!
We can close this issue.

https://github.com/steeze-ui/icons/pull/12


Revit encountered a The component does have a resource identified by the uri

Describe the bug
Revit encountered a The component does have a resource identified by the uri
Post Relate : https://stackoverflow.com/questions/1453107/how-to-force-wpf-to-use-resource-uris-that-use-assembly-strong-name-argh/26689750#26689750
To Reproduce
Steps to reproduce the behavior:

Load Add-in (Allway Load)
Open Addin Manager(Loaded)
Load new Add-in manager duplicate assembly
Open again Add-in Manager(Loaded)
See Error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Version 20H3
Revit : 2023

Resolved in version <IP_ADDRESS>


Nacos-Client log print to application logs, not print to nacos' log

Which Component
Nacos Discovery/Config
Describe the bug
Relative issue #1931.
After the issue fix problem, the problem fixed by some old version.
But in some new version, the problem started again. After my debug and research. I fount that the problem is caused by the spring will call the LoggingSystem.initialize from PropertySourceBootstrapConfiguration after all ApplicationEnvironmentPreparedEvent.
But NacosLoggingListener in Nacos Discovery/Config only handle ApplicationEnvironmentPreparedEvent not loadConfiguration again after PropertySourceBootstrapConfiguration. So the log config still be overwrite by spring.
To Reproduce
Steps to reproduce the behavior:

Go to 'nacos-discovery-spring-cloud-config-client-example' in tag 2.2.9.RELEASE
Run on 'SpringCloudConfigClientApplication'
See nacos client log print into console.

Expected behavior
nacos client log print into ${user.home}/naming.log or config.log
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
MacOS  、Java8 、 Version 2.2.6.RELEASE ~ 2.2.9.RELEASE
I don't test for 2021.X and 2022.X. Please community to check and fix.

Environment 环境

JDK:17
SpringToolSuite:4.17.0.release
spring.cloud.version:2022.0.1/2022.0.0
spring.cloud.alibaba.version:2<IP_ADDRESS>-RC1

Launch启动

Question问题
我在YAML、PROPERTIES、JVM、ENV尝试了配置参数都不能令其消失，这应该如何进行配置？
I tried configuration parameters in YAML，PROPERTIES，JVM and ENV but couldn't make them disappear. What should I do?

In Spring Boot 2.4 and later versions, StaticLoggerBinder was removed from ogback-classic 1.3.x version, so it will cause NoClassDefFoundError exception.
See more details: https://github.com/alibaba/nacos/issues/9970

The console logs are not printed correctly to the nacos log file because the LogbackLoggingSystem reset the LoggerContext in the prepareContext phase of the SpringApplication. Fixed in PR #3160


ZF2-97

Hello all,
This patch fix ZF2-97
http://framework.zend.com/issues/browse/ZF2-97
Thanks ...

This is not a bug in Zend\Uri, but in the calling code, which should split host and port, then calling setHost() and setPort().


Fix for https://github.com/andymccurdy/redis-py/issues/1135

Fix for https://github.com/andymccurdy/redis-py/issues/1135
Pull Request check-list
Please make sure to review and check all of these items:

[x] Does $ python setup.py test pass with this change (including linting)?
[x] Does travis tests pass with this change (enable it first in your forked repo and wait for the travis build to finish)?
[x] Is the new or changed code fully tested?
[x] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Please provide a description of the change here.

Thanks!


Integrate with R4MP npm package

Description
Discovered by @RyanCoulsonCA
Currently the RESPECT editor needs the R4MP files in the public folder to display maps, however this isn't ideal as
The attempt to access window.RAMP.createInstance() is coming from within the storylines project.
Look into integrating the R4MP npm package in the storylines project.

Would also like to cross-link #415 here as it is somewhat related.


Login fails after multiple logins

After multiple (e.g. 20) logins, the NR7101 may lock up. The tool returns "Unauthorized", while the web UI gives an error message "Maximum number of login account has been reached".

This affects login of all accounts, not the one used to perform the repetative logins.
Only way to resolve is to reboot the device.

https://www.reddit.com/r/zyxel/comments/kl1lqu/maximum_number_of_login_account_has_been_reached/

https://www.reddit.com/r/zyxel/comments/kl1lqu/maximum_number_of_login_account_has_been_reached/

The login limit is not reached if the same cookie is used for logins.

The login limit is not reached if the same cookie is used for logins.


Support nested schemas in the :or type

@josevalim I completely overlooked nested schemas in #54. This to me seems like the best (= least horrible, still pretty ugly) way of dealing with them.
schema = [
  docs: [
    type: {:or, [:boolean, {:keyword_list, enabled: [type: :boolean]}]}
  ]
]

Thoughts?

This should also work:
schema = [
  docs: [
    type: {:or, [:boolean, keyword_list: [enabled: [type: :boolean]]]}
  ]
]

Is it better? Thoughts?

@josevalim that's the same data structure, yeah, it works in the same way. Do you mean I should update the examples?


Implement $sort aggregation pipeline stage

Description
Closes #1439.

Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

Manual testing
test> db.test.insertMany([{v:0 }, {v: 1}, {v: -1}])
{
  acknowledged: true,
  insertedIds: {
    '0': ObjectId("63ff17945b826e7ce86fb5df"),
    '1': ObjectId("63ff17945b826e7ce86fb5e0"),
    '2': ObjectId("63ff17945b826e7ce86fb5e1")
  }
}
test> db.test.aggregate([{$sort: {v: -1}}])
[
  { _id: ObjectId("63ff17945b826e7ce86fb5e0"), v: 1 },
  { _id: ObjectId("63ff17945b826e7ce86fb5df"), v: 0 },
  { _id: ObjectId("63ff17945b826e7ce86fb5e1"), v: -1 }
]
test> db.test.aggregate([{$sort: 1}])
MongoServerError: the $sort key specification must be an object


Connecting to both AWS Elasticache and internet APIs with AWS Lambda

Hello,
I am working on a parser that is run on AWS Lambda, and i want to integrate AWS Elasticache into it.
I use some internet APIs (wikipedia, IBM Watson etc.).
If i add the vpc field to project.json file and fill it with subnets and security groups, the Elasticache works but i cannot connect to the internet APIs. If i delete the vpc field from project.json i can connect to mentioned internet APIs but not to Elasticache.
Is there a way to connect both to internet and AWS Elasticache?

@wscherfel the issue that you have doesn't deal with Apex but rather how you have your VPC setup. See this note about connecting to the internet from within a VPC:

If your Lambda function needs Internet access, do not attach it to a public subnet or to a private subnet without Internet access. Instead, attach it only to private subnets with Internet access through a NAT instance or an Amazon VPC NAT gateway.

Thanks for your answer, i will look into it.


Support multiple service names per port

Perhaps this is already possible, I'm new to registrator. But I want to have multiple services (postgreslogicaldb1, postgreslogicaldb2 for example) hosted on a single container/port. i.e. in the dev case I shove the DBs on the same postgres host, but I don't want to do that in prod. Is this possible?

+1
In our architecture design, a container can expose several services in the same port.
Maybe SERVICE_NAME environment variable can take multiple values?

+1 for this

+1 for this, We have a legacy app and have started breaking it apart into microservices.  It would ease our transition if we could treat the legacy as multiple microservices since it deploys multiple services in a single docker container.

Also need this feature

+1

If someone wants to work on the feature, great! registrator is a community project, so this won't get done without your support.

+1

If you'd like this functionality, please consider implementing it or sponsoring the work to implement this. Feel free to reach out to me if interested in the latter.

Gave this a shot: https://github.com/gliderlabs/registrator/pull/660


Implement HeaderByHash RPC method

New Tendermint release introduced HeaderByHash method. It needs to be implemented.
https://github.com/celestiaorg/optimint/blob/tzdybal/latest-cosmos/rpc/client/client.go#L402
Blocked by: #350

This method is already implemented.  https://github.com/rollkit/rollkit/blob/dc0516db39e23799de983c85a1c89d15209a132b/node/full_client.go#L805C24-L805C24


Cleanup unused ownership authorization code

I have been digging into the authorization code just to validate what Armada is and isn't doing. We're running an old version of Armada from June and most of the unused code was cleaned up but I still found this lingering around.

@d80tb7 this looks like a safe cleanup, is it good to be merged?


Add justlightnovels website

https://justlightnovels.com/

That's a download site for lightnovels and not a "release" site.

I okay, my mistake just close the ticket then
On Fri, Jul 10, 2020, 9:53 AM Flameish<EMAIL_ADDRESS>wrote:

That's a download site for lightnovels and not a "release" site.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Flameish/Novel-Grabber/issues/39#issuecomment-656688680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKDLZTUSXTG5U7RSCWEE33TR24MOJANCNFSM4OWTJ7HA
.


⚠ ClamAV has degraded performance

In 52cea07, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 85 ms

Resolved: ClamAV performance has improved in a4b3418.


Destroy MapController instance on MapView destroy

Currently we only clear the async tasks on MapView::onDestroy.
But if one creates a new activity, it grabs the old/previously initialized MapController instance.
Maybe it makes sense to destroy the mapController instance on a MapView::onDestroy.

Upon further thought there are times we do indeed want MapController to persist when MapView and its parent Activity are destroyed. For example on device rotation. Maybe instead of automatically destroying the MapController in MapView#onDestroy() we should add a public method like MapView#resetMapController()?
Also as @sarahlensing pointed out currently MapView#getMapAsyc(OnMapReadyCallback, String) ignores the sceneFilePath param if there is a MapController already in existence. It should probably at least call MapController#loadSceneFile(String) if the scene files are not the same.

It sounds like the practical problem here is that re-initializing a tangram instance with a different scene file doesn't actually load the new scene. This wasn't an intentional design choice and can be easily remedied. I'll submit a PR today.


Eliminate Duke Pvprankpanel

This lowly Duke was handled with ease, and his remaining forces are scattered and retreating.


setting models to disabled at root level doesn't work

If I want to disable all models at the root level so that I can go in and select individual models to enable, this doesn't work--for some reason that root level doesn't seem to respect enabled = false.

@jthandy what version/branch of dbt is this happening on?

write an integration test for this (presumably failing)
fix it

I'm curious if this affects other root-level configs. My guess is that enabled isn't isolated.

installed version: 0.5.4
   latest version: 0.5.4
Up to date!

I know that pre-hooks and post-hooks work at a global level. Haven't tested everything else.

fixed this in the minor-improvements milestone


Object key color should not match string color

Object keys are the same color as strings, making objects containing many string values hard to read. Example:

I am using Sublime-Babel-VSCode with Charcoal Oceanic Next. I wasn't sure if this was an issue with this extension or the other, so I'm going to leave this on both. Is there a workaround for this? Thanks!

For that particular theme you can see it uses the same color for key-value pairs in the last screenshot on the theme page. You should be able to change it however you want though. Just add a definition for the string.unquoted.label scope in the tmTheme.


Code Organized with proper indentation and comments

Fixes

Fixes #101 by @xaid-vfx
Description
The code structure has been arranged in compliance with standard formatting conventions and indentation. Furthermore, comments have been added to specific areas within the code to assist future developers in locating and contributing to it with ease.
Screenshots
Before:

After:

Similar changes done in entire code.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[ ] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Hey @Xaid-vfx, there is still a bit more work needed before this PR can be merged.
The code structure in docs/submission.html also needs to be organized with proper indentation and comments.

@Xaid-vfx Usually the head area isn't indented, and a few files might be missing "End of line" characters.
Also need to resolve the merge conflicts, but other than that once the above is run through again this would likely be approvable. Well done!

@Xaid-vfx Usually the head area isn't indented, and a few files might be missing "End of line" characters.
Also need to resolve the merge conflicts, but other than that once the above is run through again this would likely be approvable. Well done!

Hey @possumbilities,
I might sound dumb but could you give an example of few files might be missing "End of line" characters. I couldn't quite grasp what you meant there exactly.

@Xaid-vfx Usually the head area isn't indented, and a few files might be missing "End of line" characters.
Also need to resolve the merge conflicts, but other than that once the above is run through again this would likely be approvable. Well done!

Hey @possumbilities, I might sound dumb but could you give an example of few files might be missing "End of line" characters. I couldn't quite grasp what you meant there exactly.

@Xaid-vfx
If you view the files tab on this PR you can see a little red circle with a line through it at the end of some of the files:

This means it's missing an end of file character, which you can have your editor automatically add when editing/saving files.

@possumbilities Thank you so much. I'll update this PR asap.

@possumbilities Since this PR was raised long time back, its branch is 43 commits behind and has a few conflicts. Should I raise a new PR with a new branch (this way all the new code would be organized as well) or just push the changes without merging 43 commits?

@Xaid-vfx You should be able to work through resolving the merge conflicts and keep this PR. But you can also close this PR and start a fresh one since its so far behind.
I'd suggest trying to resolve the conflicts, first though. It should be possible.

@Xaid-vfx do you intend to resolve the conflicts and move this out of Draft?


Split Italic and Roman VFs in builder

Fixes #957.
We sometimes have source files containing an ital or slnt axis, but we require the onboarding of two separate fonts with Roman and Italic joined by style linking and STAT axis. This PR uses varLib.instancer to partially instance them along the relevant italic axis and then fixes them up accordingly.
Requires #963.

Would this accurate handle discrete (non-continuous) Italic axes, or is that a separate issue?
For example, I’d like to do the following:
``xml

This currently requires two designspace files, which pre-splits the axis between Roman and Italic sub-families. Luckily, this approach does seem to work well and create the STAT tables I want. Still, it requires some repeated information, which FontMake alone doesn’t require. I’m not sure how challenging this would be to map to the recipe logic of the Builder, though. If it’s not feasible, the builder still offers enough advantages that I would stick with it over directly using FontMake, but it would be handy to understand if the above axis setup is planned to be supported, or not.

It probably would handle that if you have a single VF which is subspacable. I'm not sure what fontmake would do with that kind of designspace right now. Another option is DS5 designspaces which allow you to generate multiple VFs from the same designspace, but we absolutely don't support those quite yet and I'm not sure what tooling generates them anyway.

Glyphs.app's Variable Font Export Settings ... I think this is mostly to be able to set different custom parameters on a VF export, but I'm not sure if these Glyphs.app VF Export settings would allow one to define a particular axis range.

@anthrotype having used this feature quite a bit recently, it is basically there to define the naming info, especially if the family name is different or suffixed (e.g. "Familyname Variable") from the general family name given to static exports. From what I can see, the VF export settings and custom parameters don’t yet give any options around defining subsetting axis ranges, unlike the  <variable-fonts> elements of a DSv5.

@simoncozens
I have a font with a backslant, where I need the backslant, and I have to get something like this: Myfont[slnt,wght].ttf.
Now the builder split the file in two, and I would like to know how to change the stat table or anything in the build process to avoid this?

To keep a single file (turn off the splitting), set splitItalic: false in the config.yaml.


Bad Request (400)

Hi,
After running docker-compose up, I receive a Bad Request (400) when surfing to the https://ip:8443/.
Let me know if you need any debug files.

Hello faun88,
Many usefull informations can be found in output of install script or docker-compose up. Check for any errors there.
Please send me output of docker-compose exec web cat /var/log/nginx/error.log command so I can get more details.
See TROUBLESHOOTING.md for guides on how to debug the issue.

Hi,
Same 400 error.
root@kali:~# docker-compose exec web cat /var/log/nginx/error.log
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
    Supported filenames: docker-compose.yml, docker-compose.yaml

Hi,
Problem solved just add https:// so the url will be
https://localhost:8443/

Closing as no information have been provoded on the issue.
Assuming it was resolved. Issue can be reopened if needed.

Hey @FooBallZ I came to this issue because I have the same error and I'm now trying to find out what happened.
The error.log file is empty in the web container.
The access.log is just returning the 400 that I see:
[REDACTED] - - [31/Mar/2020:17:33:45 +0000] "GET / HTTP/1.1" 400 154 "-" "Mozilla/5.0 [REDACTED] Chrome/80.0.3987.122 Safari/537.36"

And the log of the docker-compose is just completely empty after each request.
Cheers!

Got it.
As indicated in the TROUBLESHOOT.md (as you pointed too) you have to add your hostname to the allowed_hosts in portal/portal/settings.py :D
Works now, for future references, I leave this comment here.

Hi,
Problem solved just add https:// so the url will be
https://localhost:8443/

Same 400 error,I add https:// but didn't work,what else did you do?


added optional port override

If port 8000 is already in use, this will allow an alternative to be specified.

LGTM, simple change, merging


Regexp functions should work on CHAR terms in addition to VARCHAR terms

Steps to reproduce:
> SELECT REGEXP_LIKE('abc', 'abc');

 _col0
-------
 true

> SELECT REGEXP_LIKE(CHAR 'abc', 'abc');

io.prestosql.spi.PrestoException: line 1:8: Unexpected parameters (char(3), varchar(3)) for function regexp_like. Expected: regexp_like(varchar(x), joniregexp)
        at io.prestosql.sql.analyzer.ExpressionAnalyzer$Visitor.visitFunctionCall(ExpressionAnalyzer.java:969)
        at io.prestosql.sql.analyzer.ExpressionAnalyzer$Visitor.visitFunctionCall(ExpressionAnalyzer.java:343)
        ...

I think this is because the functions in JoniRegexpFunctions and Re2JRegexpFunctions only declare support for varchar(x) types, where they should actually probably overload to accept either char(x) or varchar(x). Notably, they do overload the regexp term, so the following does work:
> SELECT REGEXP_LIKE('abc', CHAR 'abc');

 _col0
-------
 true

and other non-regexp commands that take a string also accept chars, e.g.
> SELECT CHAR 'abc' LIKE 'abc';

 _col0
-------
 true

this is not a particularly urgent issue for my use case, but we noticed it when we started using the postgres connector against an existing table that had been created with fixed-length CHAR types. would be a nice convenience to not have to cast these to VARCHAR just to be able to regex match against them.


CSP error in North Star file upload tests

Problem

I was migrating file.test.ts for https://github.com/civiform/civiform/issues/8917.
I enabled North Star
When executing some tests, the following error occurred:

Error: Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'nonce-NJJDjtsa5M/uI+odot04Lg==' 'strict-dynamic' https: 'unsafe-inline'". Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list.
Done when

[ ] The skipped tests in northstar_file.test.ts are not skipped

Known issue. It only prevents the preview from showing. This will be fixed when Jeff's PR to USWDS is merged.

The CSP issue has been fixed.

Doubled checked. No longer an issue.


ML 1.14: ANOVA (D)

Description 📜
Added the documentation for "ML 1.14: ANOVA (D)" along with a notebook, showing a quick implementation of ANOVA.
Fixes #2198

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[x] Machine Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Two different issues #2710 #2198  on same topic, I guess.
Do check that sir.
Thank you.

#2710 is a PR @TishaJhabak1014

Good one @TishaJhabak1014. PR Merged!

#2710 is a PR @TishaJhabak1014

Oh yes, sorry, my bad.


state: restarted should start the server if it isn't running

If I set state: restarted, it should boot off > boot on, or simply boot on, depending on it's current state.

Hi @chopraaa,
when the state: restarted is specified, the module always issues a soft-reboot using ACPI:
https://docs.hetzner.cloud/#resources-server-actions-post-1
Can you elaborate, why this does not work for you?

ACPI requires the server to be responsive to the request to trigger a soft reboot. I'm facing scenarios where the server doesn't respond even though it's running, and requires a hard reboot (power off > power on).
I think this would be solvable if you could detect if the soft-reboot was a success, if not, power off and power on the server for a hard-reboot.


Fix typo in unit tests

See commit message - this appears to the root cause of the validation tables looking bad: https://github.com/insightsengineering/thevalidatoR/issues/32

Could you merge devel into this branch and elete the existing workflow file for the validation report? That has another name so it is not overwritten by your file.


Object - Child Object relation

Understand the relation of Object, and Child_Object given following example
Donor

fly_donor
human_donor
mouse_donor
worm_donor

All this "child" objects are actual objects that are accessible on the website, due to a Capitalization bug it was not possible to get them first time I tried. This objects are actually inhering the properties of "Donor" through "mixinProperties" by line "{ "$ref": "donor.json#/properties" },".
For me it is not clear why both "Donor" and "Fly_Donor" have the same set of "mixinProperties", However this was not the reason for the ticket, so I am closing it.


Question regarding accuracy problem.

Hello,
Your project is very interesting! I looked at your project and I have a question I would like to ask you.
I trained CNV-W1A1 model with binary in Theano, then finnthesized it to get '.bin' parameters.
Then I generated bitstreams (.bit, .hwh, .tcl files) using make-hw.sh file
and then using make-sw.sh file I made '.so' file.
With the files that generate I just tested 10,000 test images on my PYNQ-Z2 board.
When I tested the 10,000 test images on Theano the error rate was 20.9, meaning the accuracy was about 79.1%.
When I tested the same test images on the PYNQ-Z2 board I got a 74.47% accuracy rate.
To my understanding the network topology of Theano and PYNQ-Z2 should be the same, then why is this problem of different accuracy occurring?
I read both your FINN papers and I couldn't find any information regarding this problem.
It would be a lot of help, if you could explain this problem for me.
I hope you are doing well during this COVID-19 crisis.
Thank you.
Theano results.

PYNQ-Z2 results

Actually, this issue is written by me and @ubuntulim together because we are studying it together in our school.
I'll write details about our test as much as I can. If there is any information that I obscured, please let me know to explain again.
Firstly, we tested Theano with 'cifar10-1w-1a.npz' parameter which is uploaded in this repository (I didn't train a new one, just check the result)
Test codes on Theano are this. We just modified 'quantiezed_net.py' by giving boolean variable named in 'validation_mode'

Then we ran 'cifar10-gen-weights-W1A1.py' to make parameters for our PYNQ-Z2 board
After 'pip install BNN-PYNQ' on our board, we moved the parameter folder which is 'cnvW1A1' to python package folder in the board (/usr/local/lib/python3.6/dist-packages/bnn/params/cifar10/).
Also, we uploaded cifar10 test images which are consisted of 10,000 images on the board.
So, we tested the 10,000 images while we did not changed anything but 'params'.

The above codes are our testing codes on the board. We did not interfere with this system much. I barely understand what makes this accuracy drop between Theano and the board?

There should not be an accuracy drop between Theano and the board. Can you explain in more detail what you have done so far, and what modifications you have made to the code (if any) for both hardware and software.
For example:

are you training the network yourself? Or using the pretrained weights from the repo?
do you get the same accuracy with the '.bin' that come with the distribution? Or only the ones you generate yourself?
what accuracy do you get with the '.bin' files that come with the distribution?


Hotfix on searchbox logic

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


Parsing HTML spec: Skipping of keywords wrapped with an  tag inside the text of the tag section

From: @SelenIT
Original description
(There is another issue with the input case that some important "not" words are missing in its categories description,
perhaps because it is marked with the em tag in the spec, but these issues seem somewhat related to me
since it's all about parsing the spec)

There is another issue with the input case that some important "not" words are missing in its categories description, perhaps because it is marked with the em tag in the spec, but these issues seem somewhat related to me since it's all about parsing the spec
For example:

https://html.spec.whatwg.org/#the-input-element

Deployed to glitch.com, now the contents of EM tags are correctly included in the parsed documentation


Define theme/themeColor for a specific dice.

What is the recommended approach to support a different theme or themeColor for the same type of dice? For example, to have two six-sided dice, one red and one blue.
It looks like themeColor does not currently support this use case, but might be the preferred solution. Perhaps passing in the theme colour from the config.
Alternatively, some themes use different colours for different dice, but solving this issue at the theme level would likely introduce complexity into what is a clean theming solution.
I'm curious if this use-case is supported, or has been considered as a future enhancement.

These sandboxes might help you.
Multiple dice - different colors
Every roll a new color

That's exactly what I was looking for, thank you so much.
How do you prefer to proceed with this raised issue? Would you like to close it, or should these Sandbox links be added into the documentation.
More than happy to raise a draft PR once I familiarise myself with the contributing guide.

Great! Glad to hear it's working for you. I'll close this issue. I have quite a number of sandbox demos now. I should probably add links to them all in the docs.


fix: merge logic, add test coverage and docs for stores (casts, follows, user data)

this has been completed, all sets now have thorough test coverage and documentation


Don't include link of deleted branch when listing a branch

From https://github.com/go-gitea/gitea/issues/31018#issuecomment-2119622680.
This commit removes the link to a deleted branch name because it returns a 404 while it is in this deleted state. GitHub also throws a 404 when navigating to a branch link that was just deleted, but this deleted branch is removed from the branch list after a page refresh. Since with Gitea this deleted branch would be kept around for quite some time (well, until the "cleanup deleted branches" cron job begins), it makes sense to not have this as a link that users can navigate to.

An example:


Set pipeline job timeouts and add ca-certificates to test container

As a follow-up on #1682 this adds a more sensible timeout on the pipelines jobs (the default apparently was 6 hours) and adds the ca-certificates apt package to the test container.

@moerketh test_logs should be skipped
really appreciate the work, btw


[Feature Request] Investigate setting up usage quota (e.g. EFS, EBS, S3, EC2) for end-users

refer to https://nextgenbmi.atlassian.net/browse/AWS-342

I haven't found any information about per user quotas in AWS in my searching so far

@sxinger can you clarify what you'd be looking for with this? I'll include you on the email with Travis.

<From: Berkley, Travis<EMAIL_ADDRESS>Sent: Monday, January 3, 2022 1:50 PM
To: Bruce, Aaron<EMAIL_ADDRESS>znath<EMAIL_ADDRESS>Subject: RE: Per user quotas

Hey, Aaron:

First, happy new year!  To get to your question, I’ll need a little more information about what you’re trying to accomplish.  When you say “quota,” are you looking to prevent a user from launching too many things, storing too much, charging too much, etc?  There’s not a lot in SWB that would accomplish this “out of the box.”  However, there’s a lot you can do with tagging, Lambda functions, Config rules, etc.

If this is something you want to limit within SWB, it would have to be solely reliant on tagging, since SWB users don’t have an IAM user “counterpart.”  But, since resources in SWB get an explicit set of tags when they are created, it should be fairly straightforward to create some logic to accomplish what you are looking to do.  What did you have in mind?

I demote this ticket to lowest ("parking lot"), we will come back to it once we have a more concrete idea on current structure.


go client: fix relay connections

Fix some things introduced in #4709.
This looks like a big change but it's actually just a few changes solely related to go connections:

use correct fields for edge->node selection
use different Connection.Exec() method to return edges & pageInfo
fix singular/plural naming with objectName

Note
The edges now successfully return an array of nodes, but I can't get it to work so that the cursor is returned as well, it's either the cursor or the node (and its fields), but it seems impossible to get both. I know you don't have much resources for the v1 Go client, but let me propose a few options and I'll take care of it:

Revert all go connections
Leave as is and accept that cursors are empty.
Export an .Edges() method where the cursor values are manually added (the cursor value equals to the node id anyway, so this can be easily constructed)
Introduce a .Nodes() method to just export nodes (will be useful for a lot of clients, the Github API does this as well), can be used in combiniation of 3 optionally

I say we go for 3 and 4 so that the Go client end-user won't notice anything but working stuff, namely they have access to .Nodes() and .Edges(). This is all non-breaking.
code line where edges/nodes are fetched:
https://github.com/prisma/prisma/pull/4730/commits/4eb62d64e6dcf28be00d98a31e99bfc76be35f84#diff-04c0cc2080a3ea69465276562ce0521bR295
cc @matthewmueller, can you please take a look at it?

After a bit more thinking, regardless of the implementation, I would just add a single public method Connection(...) which returns a result struct, partly because of the current limitations but mainly because Connections provide the pageInfo object.
conn, err := r.Prisma.UserConnection(...)
handle(err)
log.Printf("conn: %+v", conn) // { PageInfo: { hasNext: true, ... }, Nodes: []User{{ ID: "123", Name: "John" }} }

That's it.

Who says nodes is a thing?
The relay spec only describes edges, but as I said previously edges is kind of useless for prisma v1. Nodes simplify things and it's a common practice to just return the nodes (for example, the Github GraphQL API returns nodes & edges).
Why no edges?
Due to the current Go client limitations, we can't properly fetch edges with the cursor and the node, which makes this cumbersome. Additionally, the cursor is quite useless because the cursor is just the node ID anyway, so we can just use nodes and we already have our cursor with node.ID.


feat: abstract captureOptions() to MixCommand superclass

This PR documents my progress in using the this.constructor accessor in MixCommand to abstract away the repetitive implementation of captureOptions() in (basically) every command.
Those commands that require different or additional behaviour after parsing use a super call in order to guarantee that future changes to captureOptions() are recorded downstream.
Tests continue to run nominally on my machine, inexplicably, however, test coverage percentage went down across all files.

NB: In order to make the no-extraneous-imports ESLint rule happy (and in the interest of good code), I had to register @oclif/parser as a dependency in package.json. However, as discussed in #11, future changes are likely to lead to migrating these dependencies into the newer @oclif/core.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Timesheet - 18/11/2021 - Christian Park

Task 1
Pixel game marketing and NFT integration research
Bittrex+Blockchain.com research
Keysign marketing plan proposal
Proof of Work
https://docs.google.com/spreadsheets/d/1W9wX8t4OGwns4Q4qhaWEE_JAYlbbT0XD5Fc0VMPOMXU/edit?usp=sharing
Time Spent
6 hours

Total Time Spent
6 hours
Account Number
a6fef3ccf5c0f364d245984da7bec0cf81a7b0e06f33b01aac78739807eebe96

@Christiansjpark can you put the results of the Bittrex and Blockchain info in the exchange google doc?

Yessir

done


Confirm that editing in iD on staging actually flows through to staging map tiles

OK, testing the updated iD, the editor itself seems to work fine.
But this changeset: https://staging.openhistoricalmap.org/changeset/11248#map=20/42.65081/-73.75430&layers=OD
Is not propogating to these tiles: https://vtiles-staging.openhistoricalmap.org/#19/42.6507/-73.75458
I changed the start and end date, not seeing those in the tiles after about 3 hours:

I went in and did another changeset to add geometry:
https://staging.openhistoricalmap.org/changeset/11249#map=21/42.65094/-73.75454&layers=OD
Could be that iD is working fine and there's some other issue preventing tiles from updating,

@danrademacher thanks for this ticket. It indeed looks like the tiler on staging isn't able to successfully download the replication from S3. I'm seeing:
[2020-10-28T04:00:37Z] 204:33:48 [error] Downloading #71173: invalid response: &{403 Forbidden 403 HTTP/1.1 1 1 map[X-Amz-Request-Id:[5CD3EB97E1434E4D] X-Amz-Id-2:[xBUkd6a79zgsVsfx/z4Xvx3n2MsQGaVpE6CrCCaI1V4an6efuDcx2bKz/+XEifyx3qa4MazWClo=] Content-Type:[application/xml] Date:[Wed, 28 Oct 2020 04:00:37 GMT] Server:[AmazonS3]] 0xc421a042c0 -1 [chunked] false false map[] 0xc4203d8000 0xc4200c6210}

Will inspect today. This likely a access error since we moved to a new IAM model for the new deploys.
cc @batpad

I've fixed the problem with staging now updating the tiles. This was a silly missing replication when staging went down briefly. But this has now caused the staging tiler database to be a bit out of sync — this is ok and I'm going to let the artifacts just hangout there for now. Best approach would be just stand up the staging DB from scratch which I don't want to prioritise right now.
Staging tiler is now catching up changes over the last few days so we'll start seeing changes soon.
@danrademacher one thing I wanted to point out is that staging no longer has iD 2.18. This commit rolled staging back to iD 2.13. Do you want to rebase the iD-2.18 branch with staging and deploy?

Staging is all caught up, my recent change is rendered accurately https://staging.openhistoricalmap.org/changeset/11253#map=16/12.9832/77.6216&layers=OD
@danrademacher the park from your changeset shows up https://vtiles-staging.openhistoricalmap.org/#19.82/42.65096/-73.7547. The historic=fort is still not part of the tiler so that's not there.
We can close this ticket safely.

Actually no, historic=fort should show up. It's a bit weird why that didn't, but I'm pretty sure that's because of the missing replication when staging was down momentarily.

It's there in the tiler db
tiler-osm=# select id, osm_id, tags from osm_other_areas where osm_id=198308775;
  id  |  osm_id   |                                                                     tags
------+-----------+----------------------------------------------------------------------------------------------------------------------------------------------
 1423 | 198308775 | "name"=>"Fort Fredrick", "end_date"=>"1899-12-02", "historic"=>"fort", "wikipedia"=>"en:Fort Frederick (Albany)", "start_date"=>"1800-01-01"

Ok I think I want to abandon this pursuit because the tiler db went inconsistent during that time. So this might very well be because the tile size where the fort is too big and the feature is getting dropped because of those weird lines.
iD 2.18 updates are indeed reaching the database and the tiler :)

Edits are working from iD into maptiles on staging (and production), so closing this out.

Edits are working from iD into maptiles on staging (and production), so closing this out.


Make it easier to add new language support

This still needs a lot of work, but is a good start

please note the changes on my fork to how the editor selection works

please note the changes on my fork to how the editor selection works

This commit is quite unrelated to IDE selection.

Fair enough, I was just making you aware.

I disagree with the changes to script.config (making it an example you must copy), and feel we should stick to just having the user edit the file. The base config works fine on Windows.

@Rexogamer I feel it's not a good idea to track a file via git which may contain sensitive informations like username and password and might also reveal information about your environment. One might accidentally add their username and passwords and commit it with other changes and then push it to GitHub making their credentials public. It's just how most of the projects work on GitHub. They never track such sensitive files

By default the script.config was empty on that front. I get what you mean but I dunno if the average user would?

I understand the logic behind trying to separate the concerns of the project-type processes, however, turning them into JSON data does not seems like the way to go to me… Having to convert the JSON files just seems a lot more unreadable and unnecessary. Also we will end up with a whole bunch of really short JSON files in the languages dir. What if we just separated the project-type processes into their own python module?

@jarodburchill well I'm quite neutral about both JSON and separating it into python modules. The reason I saw JSON more promising was any average user can add support for their whatever language they are working on. A python module on the other hand might give us more flexibility(which we can still get with JSON if we work on it) but that would take the ability to quickly add support for any language.

@Rexogamer I feel it's not a good idea to track a file via git which may contain sensitive informations like username and password and might also reveal information about your environment. One might accidentally add their username and passwords and commit it with other changes and then push it to GitHub making their credentials public. It's just how most of the projects work on GitHub. They never track such sensitive files

On this front, I see your point, but the username and password fields in the config are not required. You can enter them manually each time you run it.

@Rexogamer I feel it's not a good idea to track a file via git which may contain sensitive informations like username and password and might also reveal information about your environment. One might accidentally add their username and passwords and commit it with other changes and then push it to GitHub making their credentials public. It's just how most of the projects work on GitHub. They never track such sensitive files

On this front, I see your point, but the username and password fields in the config are not required. You can enter them manually each time you run it.

Yes, indeed but the field is there to be used. I just faced the following problem:
I like to keep my file at C:\dev, so I edited the config file which got tracked by git. So I have to edit the file every time I have to push a commit to github. Isn't it more easier to set it up once then to edit the file every time one wants to push a change?

@Rexogamer I feel it's not a good idea to track a file via git which may contain sensitive informations like username and password and might also reveal information about your environment. One might accidentally add their username and passwords and commit it with other changes and then push it to GitHub making their credentials public. It's just how most of the projects work on GitHub. They never track such sensitive files

On this front, I see your point, but the username and password fields in the config are not required. You can enter them manually each time you run it.

Yes, indeed but the field is there to be used, people (including me), don't like to enter username and password every time. I just faced the following problem:
I like to keep my file at C:\dev, so I edited the config file which got tracked by git. So I have to edit the file every time I have to push a commit to github. Isn't it more easier to set it up once then to edit the file every time one wants to push a change?

Well... why not keep script.config as it was, but use a gitignore?

I like some of the ideas you have here, but I think this pull request is not the direction I want to go. I will definitely find a way to have better language support and a more secure way of storing passwords, but this approach would not be the way I would implement it. Thanks for your effort and ideas! Feel free to submit another pull request if you have more ideas or want to follow on the same ideas in a different way


Deep Transfer Learning for Bird Image Classification

Have you completed your first issue?

[X] I have completed my first issue

Guidelines

[X] I have read the guidelines
[X] I have the link to my latest merged PR

Latest Merged PR Link
PR no : https://github.com/UTSAVS26/PyVerse/pull/697 which Solved the Issue https://github.com/UTSAVS26/PyVerse/issues/674
PR no : https://github.com/UTSAVS26/PyVerse/pull/662 which Solved the Issue https://github.com/UTSAVS26/PyVerse/issues/617
Project Description
AI-powered Wildlife Conservation:
Deep Learning: CNNs (e.g., MobileNetV2), transfer learning, image augmentation.
Data Sources: Camera traps, acoustic recordings, satellite imagery, sensor data.

Applications:
Species identification & classification
Wildlife tracking & behavior analysis
Poaching prevention
Habitat monitoring
Predictive modeling (population, extinction risk, climate change impact)
Tools: TensorFlow, Keras, ImageDataGenerator.
Evaluation: Precision, recall, F1-score, accuracy.
Full Name
Varunshiyam
Participant Role
GSSOC, hacktoberfest

It is a Deep Learning Model which recognize the Images, thus it deserves Level 2

It is a Deep Learning Model which recognize the Images, thus it deserves Level 2

You are just adding a project and it counts under level1, but if you try to fix any bug or add new feature in the existing codebase that will be counted under level2 or level3.


Lot of conversion warnings, if compiled with -Wconversion

E.g.
util_type.cuh:686:1861: warning: conversion to ‘short unsigned int’ from ‘int’ may alter its value [-Wconversion]
 CUB_DEFINE_VECTOR_TYPE(unsigned short,     ushort)

No surprise, since arithmetic operations use always int at least.
Due to the macro expansion there is a huge amount of such warnings.

@krzikalla, thank you for reporting this! It's a known issue.
I can verify a lot of warnings are reported when building standalone CUB with -Wconversion.


Threading Error, Please Help

Starting a thread with bot.ask in it causes the script to crash with
greenlet.error: cannot switch to a different thread
import threading
import queue
from chatgpt_wrapper import ChatGPT
bot = ChatGPT()
running = True
text_input = ""
# Define a function for the AI processing
def run_ai_processing(response_queue, text_input):
    # Perform the AI processing using the text input
    response = bot.ask("Hello World!")

    # Put the response in the queue
    response_queue.put(response)

# Create a queue for the responses
response_queue = queue.Queue()

# Create a new thread for the AI processing, passing the text input as an argument
ai_thread = threading.Thread(target=run_ai_processing, args=(response_queue, text_input))

# Start the AI processing thread
ai_thread.start()

# Continue with your main game loop
while running:
    # Get the text input from the user
    text_input = input("Enter your text: ")

    # Start the AI processing thread with the new text input
    ai_thread = threading.Thread(target=run_ai_processing, args=(response_queue, text_input))
    ai_thread.start()

    # Check if there is a response in the queue
    if not response_queue.empty():
        # Get the response from the queue
        response = response_queue.get()
        pass
    response(print)
    # Your game code here
    pass

Heres the script in its entirety

Entire Thread Error
Enter your text: Exception in thread Thread-1 (run_ai_processing): Traceback (most recent call last):   File "C:\Users\Olive\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner     self.run()   File "C:\Users\Olive\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run     self._target(*self._args, **self._kwargs)   File "C:\Users\Olive\Downloads\ThreadingError.py", line 10, in run_ai_processing     response = bot.ask("Hello World!")                ^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\Olive\AppData\Local\Programs\Python\Python311\Lib\site-packages\chatgpt_wrapper\chatgpt.py", line 230, in ask     response = list(self.ask_stream(message))                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\Olive\AppData\Local\Programs\Python\Python311\Lib\site-packages\chatgpt_wrapper\chatgpt.py", line 95, in ask_stream     self.refresh_session()   File "C:\Users\Olive\AppData\Local\Programs\Python\Python311\Lib\site-packages\chatgpt_wrapper\chatgpt.py", line 60, in refresh_session     self.page.evaluate(   File "C:\Users\Olive\AppData\Local\Programs\Python\Python311\Lib\site-packages\playwright\sync_api\_generated.py", line 8362, in evaluate     self._sync(   File "C:\Users\Olive\AppData\Local\Programs\Python\Python311\Lib\site-packages\playwright\_impl\_sync_base.py", line 102, in _sync     self._dispatcher_fiber.switch() greenlet.error: cannot switch to a different thread

Can't speculate on the root cause, but I would recommend that you put the constructor in the thread too.  Something like:
def thread(input_queue, output_queue, stop_event):
  gpt = ChatGPT()
  while True:
    try:
      prompt = input_queue.get(timeout=1)
    except Empty:
      if stop_event.is_set():
        return

    reply = gpt.ask(prompt)
    output_queue.put(reply)

input_q = Queue()
output_q = Queue()
stop_event = Event()
t = Thread(target=thread, args=(input_q, output_q, stop_event))
t.start()

input_q.put("Write a poem")
reply = output_q.get()
print(reply)

# stop the thread
stop_event.set()
t.join()

So instead of spawning one thread per prompt, you have a long-running thread that does all the communication with GPT.

So i rewrote the script with this in mind, and it now comes up with this error. I restarted my computer, reinstalled chatgpt using chatgpt install. The command chatgpt works as intended, it seems to only be this script that causes this. Any idea whats wrong?

This is the same problem as: https://github.com/mmabrouk/chatgpt-wrapper/issues/77
Playwright isn't thread safe. You need to create ChatGPT wrapper inside of each thread.
The README needs to state something about this IMO.

Browser backend is deprecated, and not supported for these use cases any more.


Introduce fuzz testing

Followup from https://github.com/elastic/apm-data/pull/63
We should introduce fuzz testing to make sure we are not missing anything
As this is a library we might also evaluate adding fuzz testing into APM Server and fuzz the intake endpoint directly.

RE https://github.com/elastic/apm-data/pull/63#issuecomment-1595960376:
the stdlib does not support structured fuzzing or fuzzing complex types (structs). We need a compatibility layer to cover that usage. In that PR I used https://github.com/google/gofuzz.
Gofuzz has full support for the stdlib fuzzing engine and the test looks like this:
func FuzzError(f *testing.F) {
	f.Fuzz(func(t *testing.T, data []byte) {
		c := complexStruct{}
		fuzz.NewFromGoFuzz(data).NilChance(.1).NumElements(1, 10).MaxDepth(5).Fuzz(&c) // populate complex struct
		foo(&c) // run target method with fuzzed data
	})
}

The stdlib is generating random data ([]byte) which are used as a seed to populate the complex struct (this is to make the tests reproducible).
I looked into https://github.com/AdaLogics/go-fuzz-headers but my understanding is that it is used for https://github.com/dvyukov/go-fuzz and not to wire complex structs with the stdlib engine.

https://adalogics.com/blog/structure-aware-go-fuzzing-complex-types gives some examples of using go-fuzz-headers with Go's native fuzz testing.


Screen Capture Device not detected

I am using the latest version of Hyperion.

[x] I confirm that this is an issue rather than a question.

Bug report
Hyperion shows no device found even when screen grab is enabled and LEDs are reacting to the screen being shared

Steps to reproduce
Start hyperiond server
connect to it from MacOS client using the https port
click the screen grab button
start sharing screen
What is expected?
The device sharing the screen should be detected. I should be able to modify the settings for it.
What is actually happening?
The device is not detected and I can't find any way to change the settings for it.
System

Hyperion Server:

Build:             (HEAD detached at 2.0.14) (LordGrey-c9a1c88/b109703-1669566414)
Build time:        Nov 27 2022 18:59:24
Git Remote:        https://github.com/hyperion-project/hyperion.ng
Version:           2.0.14
UI Lang:           en (BrowserLang: en)
UI Access:         expert
Avail Screen Cap.: dispmanx,framebuffer,qt
Avail Video  Cap.: v4l2
Avail Services:    boblight,cec,effectengine,forwarder,flatbuffer,protobuffer,mDNS,SSDP,borderdetection
Config path:       /root/.hyperion
Database:          read/write

Hyperion Server OS:

Distribution:      Raspbian GNU/Linux 11 (bullseye)
Architecture:      arm
CPU Model:         ARMv7 Processor rev 3 (v7l)
CPU Type:          Raspberry Pi 4 Model B Rev 1.1
CPU Revision:      c03111
CPU Hardware:      BCM2711
Kernel:            linux (5.15.76-v7l+ (WS: 32))
Root/Admin:        true
Qt Version:        5.15.2
Python Version:    3.9.2
Browser:           Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

It is perfectly fine, that Hyperion shows you that there is no capture device. This happens, if Hyperion identifies, that none of the provided screen grabbers will work with the current system.
All other ways of feeding images, e.g. USB Grabber,‘ Flat-ProtoBuffer, Effects will still work.
Background: On rpi4 and newer OS the display driver was changed. Hyperion currently has no support for the new driver.
Nevertheless, you can activate the legacy driver to have screen grabbing running. See here https://github.com/hyperion-project/hyperion.ng/issues/954#issuecomment-671549006
Alternatively, you or anybody else is welcome to provide a new screengrabber for this configuration via a PR.


Error installing librealsense

Required Info

Camera Model
R200

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Win 10

Kernel Version (Linux Only)

Platform
PC

SDK Version
legacy

Language
Python

Segment
Dron

Issue Description
I'm trying to use pyrealsense in python for some project with my R200. As the documentation specifies first of all is necessary install librealsense.
To install it I downloaded the folder from branch legacy and build the project in Visual Studio 2015 and run some examples. First of all I detected that the examples only open a terminal and then dissapears. (This is normal?). Once I builded the solution, install depencies as numpy, cython, etc and set enviromental variables PYRS_INCLUDES and PYRS_LIBS I try to install pyrealsense.
When I try to install pyrealsense in the console appears this error:

I set the variables like this:

Thank you for the help in advance.

As mentioned on the legacy branch, pyrealsense is community maintained. Try asking on their github?
If you're having trouble installing pyrealsense2, then keep in mind it only works with librealsense 2.X.X, but we can help you with any issues you're having

@slucasm Any other questions about this ticket? Looking forward to your reply. Thanks!


Don't add a file:// prefix to URI that already have a scheme

What
Add regex filter to URI check when expanding $ref.
Why
Some URI types do not pass validation against \FILTER_VAR_URL (e.g. phar://), but are still valid and still have a scheme. This patch catches those situations via a simple regex.
Fixes #451.

Yup.


[Add] New order food button

Details
This button has a pink neon color and a shadow animation effect when clicked. It throws out food items whenever clicked like confetti.
Screenshots
No response
Type of Contribution

[ ] Update to an existing Animated Button
[X] Adding a new Button
[ ] Resolving a bug
[ ] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

Hey @Souravvmishra You haven't merged my PR?

Adding a new button doesn't require PR. You can do it using the website


Finish refactor, align setup, create & init commands

Follows up on #509
Fixes: #525

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts
Reviewers, this pull request conflicts with the following ones:

#531 (unified HTML landing page (NOT a dashboard!) by willcl-ark)
#506 (Run any executable file on a commander by willcl-ark)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

https://github.com/bitcoin-dev-project/warnet/pull/524 repurposes warnet create to mean create a network (with a nice guided setup). haven't looked super closely at this PR but it looks like you are repurposing it to mean warnet create ?
I prefer keeping create for "create a network", perhaps we could use warnet new here for starting a new project directory? id also be fine with just having warnet init.

Concept ACK, I really like that you're moving logic out of main.py into more appropriately named files. One small fix regarding documentation, and moving the auth command out of admin.py and I think this is good to go.

ACK, lgtm. thanks for taking the suggestion regarding warnet init/new !


Extract qaternion from K matrix

You can get a Quaternion from K matrix by finding an eigenvector with the largest eigenvalue.
The problem is to find the best eigenvector/eigenvalue solver which would satisfy smallest computational complexity and would result in faster execution times.
The problem is tackled in this paper under Construction of  the Optimal Quaternion heading. To find largest eigenvalue denoted as Lambda_max we must find real root of the equation (70) iteratively with the Newton-Raphson  method by setting as an initial guess Lambda_max = 1. A few iteration would suffice as mentioned For  sensor accuracies better than  1 arc-min  (1 deg),the  accuracy  of  a  64-bit  word  is  exhausted  with  only  one iteration  (two  iterations)  of  the  Newton-Raphson  method..
Also, if we have two observations, rather than computing Newthon-Raphson algorithm, the simpler exact solution to Lambda_max exist under eq. (72) and (73). V and W vectors denoted in eq. (73) are b and r measurement body vectors respectively (compare eq. (38) and eq. (12) here).
When Lambda_max is found, one can find the Rotational quaternion by solving eq. (9) and (10) in this paper. However, we have a problem with the matrix inverse in eq. (9). To overcome it there exist a simplification in this paper namely in equations (63) - (69).
With finding

done


Make petrarch2 output more JSON friendly

When using the petratch output, it would be helpful to make the output python friendly and json. Currently, the petrarch output is a Python specific. Can we make the output abide by json rules? This way the data can still be read in python (via json package) and other language can easily read and use the output without custom converters (i.e. mongo, Redis).
Below is a snippet out petrarch2 output that shows. The main issues is that the actorroot, actortext,eventtext contains dictionaries, those dictionaries have a Tuple as its key.
python3
>>> s = """{u'nytasiapacific20160622.0002': {'sents': {1: {'geo-location': [{u'placename': u'Beirut', u'countrycode': u'LBN', u'lon': 35.49442, u'admin1': u'Beyrouth', u'lat': 33.88894, u'searchterm': u'Beirut'}], u'events': [(u'TUNJUD', u'NGAEDU', u'173')], 'content': u'A Tunisian court has jailed a Nigerian student for two years for helping young militants join an armed Islamic group in Beirut, his lawyer said Wednesday.', u'meta': {u'actorroot': {(u'TUNJUD', u'NGAEDU', u'173'): [u'', u'']}, (u'TUNJUD', u'NGAEDU', u'173'): [[u'JAILED'], [u'HAS']], u'eventtext': {(u'TUNJUD', u'NGAEDU', u'173'): u'has jailed'}, u'nouns': [([u' TUNISIAN', u' COURT'], [u'TUNJUD'], [(u'TUN', []), [u'~']]), ([u' NIGERIAN', u' STUDENT'], [u'NGAEDU'], [(u'NGA', []), [u'~']]), ([u' MILITANTS', u' ARMED ISLAMIC GROUP', u' BEIRUT'], [u'DZAREBUAF', u'LBNUAF'], [[u'~'], (u'DZAREB', []), (u'LBN', [])]), ([u' LAWYER'], [u'~JUD'], [[u'~']])], u'actortext': {(u'TUNJUD', u'NGAEDU', u'173'): [u'Tunisian court', u'Nigerian student']}}, 'parsed': u'(S (S (NP (DT A )  (NNP TUNISIAN )  (NN COURT )  )  (VP (VBZ HAS )  (VP (VBN JAILED )  (NP (DT A )  (NNP NIGERIAN )  (NN STUDENT )  )  (PP (IN FOR )  (NP (NP (CD TWO )  (NNS YEARS )  )  (PP (IN FOR )  (S (VP (VBG HELPING )  (S (NP (JJ YOUNG )  (NNS MILITANTS )  )  (VP (VB JOIN )  (NP (DT AN )  (JJ ARMED )  (JJ ISLAMIC )  (NN GROUP )  )  (PP (IN IN )  (NP (NNP BEIRUT )  )  )  )  )  )  )  )  )  )  )  )  )  (, , )  (NP (PRP$ HIS )  (NN LAWYER )  )  (VP (VBD SAID )  (NP (NNP WEDNESDAY )  )  )  (. . )  )  ', u'issues': [[u'STUDENTS', 1], [u'NAMED_TERROR_GROUP', 1]]}}, 'meta': {'date': '20160621', 'headline': u'Lightning Ridge Journal: An Amateur Undertaking in Australian Mining Town With No Funeral Home', u'verbs': {u'actorroot': {(u'TUNJUD', u'NGAEDU', u'173'): [u'', u'']}, (u'TUNJUD', u'NGAEDU', u'173'): [[u'JAILED'], [u'HAS']], u'eventtext': {(u'TUNJUD', u'NGAEDU', u'173'): u'has jailed'}, u'nouns': [([u' TUNISIAN', u' COURT'], [u'TUNJUD'], [(u'TUN', []), [u'~']]), ([u' NIGERIAN', u' STUDENT'], [u'NGAEDU'], [(u'NGA', []), [u'~']]), ([u' MILITANTS', u' ARMED ISLAMIC GROUP', u' BEIRUT'], [u'DZAREBUAF', u'LBNUAF'], [[u'~'], (u'DZAREB', []), (u'LBN', [])]), ([u' LAWYER'], [u'~JUD'], [[u'~']])], u'actortext': {(u'TUNJUD', u'NGAEDU', u'173'): [u'Tunisian court', u'Nigerian student']}}}}}"""
>>> import pprint
>>> pprint.pprint(z)
{'nytasiapacific20160622.0002':
  {'meta':
    {'date': '20160621',
             'headline': 'Lightning Ridge Journal: An Amateur Undertaking in Australian Mining Town With No Funeral Home',
             'verbs': {'actorroot': {('TUNJUD', 'NGAEDU', '173'): ['', '']},
                      'actortext': {('TUNJUD', 'NGAEDU', '173'): ['Tunisian court', 'Nigerian student']},
                      'eventtext': {('TUNJUD', 'NGAEDU', '173'): 'has jailed'},
                      'nouns': [([' TUNISIAN', ' COURT'], ['TUNJUD'], [('TUN', []), ['~']]),
                               ([' NIGERIAN', ' STUDENT'], ['NGAEDU'], [('NGA', []), ['~']]),
                               ([' MILITANTS', ' ARMED ISLAMIC GROUP', ' BEIRUT'], ['DZAREBUAF', 'LBNUAF'],
                               [['~'], ('DZAREB', []), ('LBN', [])]),
                               ([' LAWYER'], ['~JUD'], [['~']])],
                      ('TUNJUD', 'NGAEDU', '173'): [['JAILED'], ['HAS']]}},
   'sents': {1: {'content': 'A Tunisian court has jailed a Nigerian student for two years for helping young militants join an armed '
                          'Islamic group in Beirut, his lawyer said Wednesday.',
               'events': [('TUNJUD', 'NGAEDU', '173')],
               'geo-location': [{'admin1': 'Beyrouth',
                               'countrycode': 'LBN',
                               'lat': 33.88894,
                               'lon': 35.49442,
                               'placename': 'Beirut',
                               'searchterm': 'Beirut'}],
               'issues': [['STUDENTS', 1], ['NAMED_TERROR_GROUP', 1]],
               'meta': {'actorroot': {('TUNJUD', 'NGAEDU', '173'): ['', '']},
                       'actortext': {('TUNJUD', 'NGAEDU', '173'): ['Tunisian court', 'Nigerian student']},
                       'eventtext': {('TUNJUD', 'NGAEDU', '173'): 'has jailed'},
                       'nouns': [([' TUNISIAN', ' COURT'], ['TUNJUD'], [('TUN', []), ['~']]),
                                ([' NIGERIAN', ' STUDENT'], ['NGAEDU'], [('NGA', []), ['~']]),
                                ([' MILITANTS', ' ARMED ISLAMIC GROUP', ' BEIRUT'], ['DZAREBUAF', 'LBNUAF'],
                                [['~'], ('DZAREB', []), ('LBN', [])]),
                                ([' LAWYER'], ['~JUD'], [['~']])],
                       ('TUNJUD', 'NGAEDU', '173'): [['JAILED'], ['HAS']]},
               'parsed': '(S (S (NP (DT A )  (NNP TUNISIAN )  (NN COURT )  )  (VP (VBZ HAS )  (VP (VBN JAILED )  (NP (DT A )  (NNP '
                         'NIGERIAN )  (NN STUDENT )  )  (PP (IN FOR )  (NP (NP (CD TWO )  (NNS YEARS )  )  (PP (IN FOR )  (S (VP '
                         '(VBG HELPING )  (S (NP (JJ YOUNG )  (NNS MILITANTS )  )  (VP (VB JOIN )  (NP (DT AN )  (JJ ARMED )  (JJ '
                         'ISLAMIC )  (NN GROUP )  )  (PP (IN IN )  (NP (NNP BEIRUT )  )  )  )  )  )  )  )  )  )  )  )  )  (, , )  '
                         '(NP (PRP$ HIS )  (NN LAWYER )  )  (VP (VBD SAID )  (NP (NNP WEDNESDAY )  )  )  (. . )  )  '}}}}

Three alternatives are:

Quotify the key:
'actortext': {('TUNJUD', 'NGAEDU', '173'): ['Tunisian court', 'Nigerian student']},
to
'actortext': {"['TUNJUD', 'NGAEDU', '173']": ["Tunisian court", 'Nigerian student"]},

Use arrays instead of tuples/dictionaries
'actortext': {('TUNJUD', 'NGAEDU', '173'): ['Tunisian court', 'Nigerian student']},
to
'actortext': [["TUNJUD", "NGAEDU", "173"], ["Tunisian court", "Nigerian student"]},

Use more descriptive dictionaries (code, text key pairs)
'actortext': {('TUNJUD', 'NGAEDU', '173'): ['Tunisian court', 'Nigerian student']},
to
'actortext': {"code" : ["TUNJUD", "NGAEDU", "173"], "text": ["Tunisian court", "Nigerian student"]},

This output/structure is decided during the do_coding phase of petrarch2. It seems like this change may break a lot of existing code.

Definitely agree, and this is a thing that has been plaguing us for awhile. It breaks hypnos downstream and causes other issues as well.
I don't think those particular fields are used anywhere downstream ( @cnnorris or @philip-schrodt could maybe shed more light on that) so changing the format slightly probably wouldn't cause the program to go haywire. This is very much something that should be fixed, though. I just don't think anyone's had the time to get around to it.

Yes, definitely an issue, though we're transitioning to the next generation of the coder, which uses universal-dependency (CONLL-U) parses as the input, and will be generating both CAMEO and PLOVER events as the output. So that is where our effort is going at the moment, though we will definitely try to stick with strictly json-compliant formats there (or at least that is the intention).

@johnb30 @philip-schrodt Thanks for the update.
Has an output as an output format been decided for the universal dependency? It looks like Universal Petrarch is using the same code. /cc @JingL

I'll be posting some new code on the pschrodt branch of Universal Petrarch next week to produce output in PLOVER JSON format, though I think we'll probably maintain parallel systems for CAMEO (the existing tab-delimited format) and PLOVER. A prototype of that output routine is in the mudflat system: https://github.com/philip-schrodt/mudflat. [reference for PLOVER is https://github.com/openeventdata/PLOVER: there's a current draft of the manual there with the output format.


Remove valueAccessor to allow components to handle NaN as appropriate

Fixes #263 (highly likely to conflict with other pending PRs)

Updated to reflect the latest changes on master. Should be good to go.

Looks good :+1:


marble virtual globe fails to start due to problem with Qt plugin

Issue description
I installed marble by putting the package into the "packages" section of my unprivileged user account, then tried to start marble, and got the following error:

This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Reinstalling the application may fix this problem.
fish: “marble-qt” terminated by signal SIGABRT (Abort)

Installing marble system wide by adding it to environment.systemPackages fixed the issue.
Steps to reproduce
Add marble to packages section of an (unprivileged) user, but not to systemPackages.
Start marble (from console in my case).
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

system: "x86_64-linux"
host os: Linux 4.14.0, NixOS, 18.03pre120540.b8f7027360 (Impala)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 1.11.15
channels(root): "nixos-18.03pre120540.b8f7027360"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

I'm sorry that you have encountered this problem, you can find the description of the cause and some workarounds at the end of #30551, subscribe to that issue to be notified of the solution.


feat(localization): add Korean language support

Summary
This PR adds support for the Korean language in the application. The changes include adding Korean as an option in the language selector, importing the Korean translation file, and adding translated phrases in Korean.
Change Type

[x] New feature (non-breaking change which adds functionality)

Testing
The changes were visually inspected and manually tested to ensure that the Korean language option appears in the language selector and that the application displays the correct translations when Korean is selected.
Test Configuration:

Language: Korean

Checklist

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[x] I have commented in any complex areas of my code
[x] I have made pertinent documentation changes
[x] My changes do not introduce new warnings
[x] I have written tests demonstrating that my changes are effective or that my feature works
[x] Local unit tests pass with my changes
[x] Any changes dependent on mine have been merged and published in downstream modules.

@Berry-13 I know there was some recent changes to adding new languages, does this look good to you?


CLI/config roadmap

For #2235.
Will separately write up the overarching config vision (updated #1007, basically).
/cc @smarterclayton @ghodss @brendandburns @jlowdermilk @derekwaynecarr @deads2k

Could be my phone but are all of the server issues enumerated also required for 1.0?
Sent from my iPhone

On Jan 20, 2015, at 5:07 PM, Brian Grant<EMAIL_ADDRESS>wrote:
For #2235.
Will separately write up the overarching config vision (updated #1007, basically).
/cc @smarterclayton @ghodss @brendandburns @jlowdermilk @derekwaynecarr @deads2k
You can view, comment on, or merge this pull request online at:
https://github.com/GoogleCloudPlatform/kubernetes/pull/3645
Commit Summary
First draft of CLI/config roadmap.
File Changes
A docs/cli-roadmap.md (82)
Patch Links:
https://github.com/GoogleCloudPlatform/kubernetes/pull/3645.patch
https://github.com/GoogleCloudPlatform/kubernetes/pull/3645.diff
—
Reply to this email directly or view it on GitHub.

@derekwaynecarr No, not all the server issues are required for 1.0, though I think most are strongly desired nice-to-haves.

Updated based on feedback. Also added a link from the main roadmap.

I would like to merge this. We can always make changes later.

lgtm


tests

WIP
chore: update jest version
fix: fix string escaping issues and get full test coverage

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to transfer/copy my sdcard?

Forgive me for this noob question. Is it simply copy and paste procedure? I already searched many forums, but i just want to hear it from you. Because I want to use this guide to cfw my old 3ds. I only have 8 gig card. I want to transfer my sd card to bigger one in the future.. So how do i copy files from sd card. Thank you for any respond. :)

If you followed the guide to a T and are using SysNAND CFW, then yes, you can simply drag/drop (or copy/paste) the contents to your new SD Card when you get it.

From the FAQs:

Q: How do I move to a new SD card at the end of this?
A: Just copy all the files to the new SD card.

Question is answered in the FAQ, closing


OS Notifications not showing up when system tray is disabled

OS Notifications will not show up when system tray is disabled.

Fixed in f56e317f066c45929522d3b23c9dd727cd250d89


[rollbar] Unhandled exception: Unhandled Promise rejection: editCache Error: command 'vscode.previewHtml' not found {}

https://github.com/Microsoft/vscode/issues/62630

Brief Issue Summary

Expected:

Push button
Thing happens

Apparent Behavior:

Push button
Nothing happens

CMake Tools Log

<!-- Paste the log contents HERE -->

Developer Tools Log

<!-- Paste the log contents HERE -->

Platform and Versions

Operating System:
CMake Version:
VSCode Version:
CMake Tools Extension Version:
Compiler/Toolchain:

Other Notes/Information

Fix is already in development branch by PR #647.

I'm on VSCode (on Win10) with WSL. with all up-to-day (i.e. no software tells me to update) and yet I got this message, despite it being fixed and this ticked closed already. What I did to trigger this error message, was Ctrl+Shift+P -> "Edit cmake cache".

This was fixed (the API was removed from recent versions of VS Code), but an update with the fix has not yet been released.  It will be fixed in 1.2.0.
If you need a fix now, you can patch the JavaScript in your extensions directory on your local machine.
The path depends on OS and whether you are using the Remote - WSL extension.  It's usually something like ~/.vscode/extensions or ~/.vscode-server/extensions on WSL:
${pathToVscodeExtensions}\vector-of-bool.cmake-tools-1.1.3\out\src\cmake-tools.js
Replace line 718:
        await vscode.commands.executeCommand('vscode.previewHtml', 'cmake-cache://' + drv.cachePath, vscode.ViewColumn.Three, 'CMake Cache');

with the following:
        vscode.workspace.openTextDocument(vscode.Uri.file(drv.cachePath)).then(doc => {
            vscode.window.showTextDocument(doc);
        });


enable_mathjax not working

Hello:
I set "enable_mathjax" to true, but it doesn't render the math equation as expected.
Sublime version: 3.1.1 Build 3176.
Note: I updated sublime this morning, then it doesn't work.
Thanks,

New repo is here: https://github.com/facelessuser/MarkdownPreview.  If you have issues please create them there.  What you received is a major release with some breaking changes.
Please check out the documentation: https://facelessuser.github.io/MarkdownPreview/extras/.


feat: impl check reject transfer if len(hops) > 0 and ics20-1

Description

closes: #6654

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[ ] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

Thank you for the quick turnaround with this PR, @duonghb53! I left a couple of comments; I will push a commit addressing them, if that's ok!

Thank you!