text:
MIGRATION CANCELED UNEXPECTEDLY!

Steps to reproduce this error on windows
jsreport init
jsreport configure
jsreport start
exit

npm install -g jsreport/jsreport-migration

E:\temp2>jsreport-migration
Welcome to migration utility that will help you upgrade from jsreport v1 to v2!

i Make sure to check or do the following first before start the migration:

 - update your project and check it works with latest jsreport v1 version.
 - backup somewhere your jsreport app and data first before running the migration.

Finally, make sure to follow all the steps and answer any question during the migration process.

‼ In case of any error during the process you can contact us and describe the error by creating a github issue (https://github.com/jsreport/jsreport-migration/issues) or opening a new topic in our forum (https://forum.jsreport.net/).

? ready to start? Yes

checking jsreport installation at: E:\temp2
√ jsreport installation is ok. version found: 1.10.0

please be sure to backup your jsreport app and data before continuing. remember that you can backup your data by using the export feature (https://jsreport.net/learn/import-export) of jsreport, and to backup your app you can make a copy of your project files and save it somewhere
? should we continue? Yes
√ user confirmed that project backup is done

√ jsreport instance initialized

checking images extension usage in project
√ no images found to migrate

checking scripts extension usage in project
√ all scripts are ok

checking phantom-pdf extension usage in project
you have 2 templates(s) stored using phantom-pdf recipe. jsreport v2 doesnt include phantom-pdf as a default recipe but uses chrome-pdf as the new default instead. These two technologies produces different output sizes and we cannot automatically convert templates for you to guarantee the exact same output is produced.
? please choose what would you want to do in order to continue i will keep using
 phantom-pdf recipe in jsreport v2
√ jsreport-phantom-pdf will be installed at the end of the migration

checking fop-pdf extension usage in project
√ no templates with fop-pdf recipe found to migrate

checking logging configuration in project
√ logging configuration is ok

checking scheduling extension usage in project
√ no schedules found to migrate

all ready for the installation step
? should we install jsreport v2 (and jsreport-phantom-pdf) now? Yes
√ jsreport v2 (and jsreport-phantom-pdf) installed successfully

‼ All done! just remember that you should not run the migration again in this project or you could have unexpected results. If for some reason you want to re-run the migration you should restore your project from your backup and try the migration again from there.

√ MIGRATION COMPLETED! ENJOY

× MIGRATION CANCELED UNEXPECTEDLY! you should restore your project from your backup before running the migration again to ensure the migration can complete correctly in next run.

E:\temp2>

Fixed thanks.

repo: jsreport/jsreport-migration


text:
Use case question

Hi,
I'm starting with golang and i have installed gotags via https://github.com/fatih/vim-go.
I'd like to know what's the best way to generate the tags file.
My first approach has been go to $GOPATH and from there generate recursively the tags of all its subdirectories and also the contents of $GOROOT/src with a line like:
╭─[14:17:15] gonzalo@tribe/~/dev/sp/go
╰─○ gotags -R $GOROOT/src $GOPATH/src > tags

But if i press C-] over the Printf word in a line like fmt.Printf("Hello, world.\n") what i get from the tag window within vim is a list like:
  # pri kind tag               file
  1 F   m    Printf            /Users/gonzalo/dev/sp/go/src/g...tools/cmd/stringer/stringer.go
               access:public ctype:Generator line:173 signature:(format string, args )
               173
  2 F   f    Printf            /Users/gonzalo/dev/sp/go/src/golang.org/x/tools/cmd/vet/main.go
               access:public line:410 signature:(format string, args )
               410
  3 F   f    Printf            /Users/gonzalo/dev/sp/go/src/g...ools/cmd/vet/testdata/print.go
               access:public line:213 signature:(format string, args )
               213
  4 F   f    Printf            /usr/local/Cellar/go/1.4.2/libexec/src/fmt/print.go
               access:public line:196 signature:(format string, a ) type:int, error
               196
  5 F   m    Printf            /usr/local/Cellar/go/1.4.2/libexec/src/log/log.go
               access:public ctype:Logger line:159 signature:(format string, v )
               159
  6 F   f    Printf            /usr/local/Cellar/go/1.4.2/libexec/src/log/log.go
               access:public line:275 signature:(format string, v )
               275

Because this Printf function is from the fmt package i think that somehow it should be smart enough to jump to the print.go file from the fmt package in the go source code, right?
Have you got to deal with this somehow?
Thanks!

That's just the way vim works with tags files, see the vim docs for CTRL-].
However, you could take a look at the vim-godef plugin. I haven't used it myself, but looking at the README I think it does what you're looking for.

Hi! Thanks for your quick response.
I just wanted to make sure my approach was correct.
I've taken a look at dgryski/vim-godef and indeed it does what i need, so thanks a lot again.

source: gharchive/issue

authors: gonzaloserrano jstemmer

repo: jstemmer/gotags

license: mit

license_type: permissive

license_source: bigquery


text:
Keys containin a space cannot be parsed

I have a json with some keys that contain spaces ("Image Player". "Phone Number"). There's a ParseCancellationException if I try to parse it:
MyApp.getJsonSurfer().collectOne(jsonAsString, "$.fields.Phone Number")
How to handle when keys have spaces?
Here's the sample json:
{   "id": "some_id",   "fields": {     "Email": "email@example.com",     "Status": "Amateur",     "Image player": [       {         "id": "some_other_id",         "url": "https://www.google.es",         "filename": "image.png",         "size": 413642,         "type": "image/png",         "thumbnails": {           "small": {             "width": 36,             "height": 36           },           "large": {             "width": 500,             "height": 500           },           "full": {             "width": 500,             "height": 500           }         }       }     ],     "Phone Number": "666666666",     "Name": "Player one",     "Wins": [       0     ],     "Standing": [       "Eliminated"     ]   },   "createdTime": "2018-06-28T22:32:47.000Z" }

Try this:
$.fields["Phone Number"]

That didn't work either, but after several tests, apparently this works:
MyApp.getJsonSurfer().collectOne(jsonAsString, "$.fields['Phone Number']")
With the double quote I was still getting the ParseCancellationException. It would be better if the "." remains between "fields" and the start bracket, but I will try to make it work like this.
Thanks for the quick response!!

authors: amanzan wanglingsong

repo: jsurfer/JsonSurfer


text:
ejabberd external authentication scripts missing

The external authentication scripts for ejabberd (auth_ejabberd_oc.php and auth_oc_user.php) are no longer available starting with version 3.0.2 (or they have been moved/renamed and I couldn't find them).
Are they no longer supported or are they maintained somewhere else now?

Yes, we stopped the maintenance for this hack. It was always problematic and a lot on the server side changed, so we had to do this step. For the future we are working on a more generic token based approach to allow nextcloud user to login into there xmpp account.

Thanks for the information. Does that mean the old scripts no longer work with jsxc 3.0.2 or newer?

It's no issue with jsxc, it's about owncloud/nextcloud. As long as you use an older version of nc/oc it should work.

We decided that we will rewrite the authentication script from scratch, because we think there is a real need for this (as seen from all those requests). You will find the updated script in jsxc/ejabberd-cloud-auth. To get an notification subscribe to this new repo.

authors: fancycode sualko

license: MIT

license_source: github-api


text: Image for readme


text:
Is there a loss in performance test data?

It request data from runtime stack every getValue, what about the loss in performance?
Thanks.

runtime.Callers does cost a performance penalty and does have some overhead. Feel free to benchmark to get accurate numbers about the slowdown for your use case.

repo: jtolds/gls


text:
Connect to AWS S3 using Python and create query examples

Description: Write Python code to connect to AWS S3 using Boto3 or similar libraries. Include examples of uploading, retrieving, and querying data from S3.

Done with example to retrieve data from s3 bucket

repo: juanjuanjuanfer/fars


text:
Support root squash

Add an option --root-squash=str to map root user (uid = 0) to another one.
The accepted formats of str are:

uid:gid: map root user to the uid/gid as specified
uid: map to specified uid and anonymous gid
:: map to anonymous uid/gid

The anonymous uid/gid should be that of nobody and nogroup, or 65534 if they are missing.

ref #2419

authors: SandyXSD zhijian-pro

repo: juicedata/juicefs


text:
New Feature Request: Add Agent Proxy

Hi, It would be nice to add proxy agent option on connection to upstreamhost. Is it possible ?

Hi!
Could you, please, describe in more details?

I want to connect to upstream host through proxy. I see you use net module to build this socket queue. Based on what I read net have no proxy support.
Is it possible to configure or change the net in this socket queue to connect upstream host through proxy?

But why not just using a port forwarding? Proxy means many hosts behind one host. HTTP proxy understands what host to connect by a 'host' header. In case of ISO8583 there is no host identifier in a single message.

authors: juks ronaldotantra


text:
V2 resets properties to 0 before animating

VelocityJS version: 2.0.1
Browser: Chrome 64.0.3282.186 x64, Firefox 58.0.2 x64
Operating System: Win10 Pro x64 1709 16299.248

Hello!
After updating from 1.x.x to 2.0.1 I've noticed, that velocityjs resets animation properties (for example, height property) to 0 (zero) before starting an animation.
My JSFiddle: https://jsfiddle.net/xhkey2ty/1/
In this JSFiddle, when I'm clicking on a bottom link, I'm expecting that the height of orange block will changing from its current value (100px) to target value (500px). But velocityjs starts the animation by reseting the height to 0 and after that animates the height from 0 to 500px. But this is not what I'm expecting. You can change "velocity" method in my JSFiddle to jQuery "animate" method, and it is working as expected, changing the height from 100px to 500px correctly.

I'm tweaking how things are happening, but this is a case of user error - you're animating from 100px to 500 - note the lack of a "px" on the end of the second.
Velocity has gone from animating a small section of the available css properties, to being able to animate all css properties and svg (and other) attributes - so you should be passing valid css to it when trying to animate some css.
This is one of the shortcuts that we're wanting to try and leave in, but it's always better to supply the correct values to begin with.
Please note that the new issue template is not optional for support.

repo: julianshapiro/velocity


text:
Null check operator used on a null value

After scanning the QR, I get this error in the console. Can you help me?
mobile_scanner: ^1.1.1

Thank you ✨


text:
How can I mock the lib ?

What

I need to do some tests for the app i'm developing with this lib and i need to test the page where i'm using it, but i'm not being able to mock the lib and throw the "onDetect" function with a value.

why use just clone this lib, and add this to your project show you can use this locally

This is out of the scope for me as a maintainer of this package but i hope someone else has an answer for you.

In the old version of the library, one could test the event handler onDetect by using a custom controller:
`
final customController = MobileScannerController();
final testWidget = MobileScanner(
onDetect: (capture) {
// code to be tested
},
controller: customController,
);
// Test Detection 1
customController.barcodesController.add(
BarcodeCapture(barcodes: [Barcode(rawValue: '1234')]),
);
`
However, in recent releases, this approach is not anymore possible, as the  barcodesController property of MobileScannerController has been changed to be private.

Actually, it is still possible to test onDetect in the latest version. We can subclass the MobileScannerController:
class MockMobileScannerController extends MobileScannerController {
  final StreamController<BarcodeCapture> barcodesController =
      StreamController.broadcast();

  @override
  Stream<BarcodeCapture> get barcodes => barcodesController.stream;
}

And use it in the test:
final customController = MockMobileScannerController();

final testWidget = MobileScanner(
  onDetect: (capture) {
    // code to be tested
  },
  controller: customController,
);

// Test Detection 1
customController.barcodesController.add(
    BarcodeCapture(
      barcodes: [
        Barcode(
          rawValue: 'invalid data',
        )
      ],
      raw: '',
    ),
  );

authors: Ibessas dtruong27 juliansteenbakker tda-thaovd


text:
Exmape to create NPCS

Hey, you have any simple examples to create a NPC?

An example how to create a npc & pool for bukkit can be found here: NPC Pool creation, NPC creation, NPC Event subscriptions.
And here is a kotlin scratch. Works with beta v3 on 1.19.3.
import com.github.juliarn.npclib.api.Npc
import com.github.juliarn.npclib.api.NpcActionController
import com.github.juliarn.npclib.api.profile.Profile
import com.github.juliarn.npclib.bukkit.BukkitPlatform
import com.github.juliarn.npclib.bukkit.BukkitWorldAccessor
import com.github.juliarn.npclib.bukkit.util.BukkitPlatformUtil
import org.bukkit.Bukkit
import org.bukkit.Location
import java.util.*

val npcPlatform = BukkitPlatform.bukkitNpcPlatformBuilder()
    .extension(PLUGIN_INSTANCE)
    .actionController { builder ->
        builder
            .flag(NpcActionController.SPAWN_DISTANCE, 60)
            .flag(NpcActionController.IMITATE_DISTANCE, 16)
            .flag(NpcActionController.TAB_REMOVAL_TICKS, 20)
    }
    .worldAccessor(BukkitWorldAccessor.nameBasedAccessor())
    .build()

val location = Location(Bukkit.getWorld("world"), 0.0, 0.0, 0.0)

val npc = npcPlatform.newNpcBuilder()
    .position(BukkitPlatformUtil.positionFromBukkitLegacy(location))
    .profile(Profile.resolved("name", UUID.fromString("uuid")))
    .flag(Npc.LOOK_AT_PLAYER, false)
    .flag(Npc.HIT_WHEN_PLAYER_HITS, false)
    .flag(Npc.SNEAK_WHEN_PLAYER_SNEAKS, false)
    .buildAndTrack()

I just added documentation and a bunch of code examples into the readme, feel free to leave feedback if something is missing.

authors: DevSnx derklaro kingOf0

repo: juliarn/npc-lib


text:
Scalafmt part 2

Some fixes:

Added a github action to check the fmt
Remove some tmp files checked in on the last PR
Update scalafmt to 2.4.2

Do we use github actions in master?

Not yet but we could/should

Sounds good. I was just curious.

source: gharchive/pull-request

authors: cquiroz julien-truffaut

repo: julien-truffaut/Monocle


text:
Provide size of downloadable models

Please show file size of models available to download.

Where possible, I think the models should have their hardware requirements, author, description, purpose, and so forth described.

In the last release I added the size of the models available to download: https://github.com/juliooa/secondbrain/releases/tag/v0.2.1
In a next release I will make it easier to add model info before download them.

authors: SabinStargem juliooa niutech

repo: juliooa/secondbrain


text:
simplify cygwin handling in Git Bash

Just wondering, if the somewhat involved code in
https://github.com/junegunn/fzf/blob/01e7668915c4e3cf8c9eeca283d41beac924fe1f/plugin/fzf.vim#L711
to handle fzf in Cygwin or rather Git Bash nowadays can be simplified, for example by Git Bash including /usr/bin/start calling cmd //c.
This was mainly added in the somewhat lengthy PR https://github.com/junegunn/fzf/pull/933 so maybe @janlazo has clearer ideas why all these measures have to be taken.
In any event, I am happy that Fzf is working Git Bash at all, that's quite a feat;
just wondering if developer's pain could be eased dealing with all the conversion issues.

This code has indeed been completely reworked, simplified and cleaned up as documented in https://github.com/junegunn/fzf/issues/3809
Fzf has become first-class citizen on Microsoft Windows.

repo: junegunn/fzf


text:
[README.md] Add bat to preview syntax highlighting examples

... Since bat is pretty awesome :)
Similar to this PR from fzf.vim:
https://github.com/junegunn/fzf.vim/pull/712
Looks like this:

Thanks, merged to devel branch for now. It will be merged to master in a few days.

authors: AnakinXL junegunn


text:
Added A1 and A2 page sizes

Added A1 and A2 page sizes

Thanks, @vinayaknagpal!

authors: jung-kurt vinayaknagpal

repo: jung-kurt/gofpdf


text:
Possible link vulnerability discovered in Header.js

Another issue I found in my console while working on #34 involves a link in the <Header /> component that's without certain recommended attributes due to its target attribute setting.
The error referenced is below:

I'm not too familiar with this kind of security vulnerably but the warning suggested to me that I ought to make this issue known so that it can be addressed if necessary.  Visit the link provided in the warning message if you want to know more.

Fortunately, a pretty simple issue to tackle. We've fixed quite a few of these across the site. Great first issue/PR -- adding rel="noopener noreferrer" to the anchor/link tag solves the problem.
There's a bit more behind the issue than that (such as possible SEO concerns) but I don't think it's of much importance for us. Of course, if someone wants to get more clever about it, feel free. These two pages go a bit deeper into what's going on and why:
https://developers.google.com/web/tools/lighthouse/audits/noopener
https://support.performancefoundry.com/article/186-noopener-noreferrer-on-my-links

authors: Xoadra bhurstGH


text:
Toc toggle not working on new version

I have a problem with my jupyter book html render where the headers on the side bar menu does not expand/collapse. I am having this issue with the chapters/sections.
Here is my _toc.yml:
format: jb-book
root: intro
parts:
- captions: Mathematical Concepts
  chapters:
  - file: index_m
    sections:
    - file: Probability
    - file: linear_algebra
  - file: index_ul
    sections:
    - file: libraries

I should have index_m wrapping the content from the sections probability and linear algebra but it does not expand or collapse.
I am using the latest version of Jupyter 1.0

I'm having the same issue

repo: jupyter-book/jupyter-book


text:
Improve documentation for cell blocks

It's not clear how to write MyST notebooks to work with jupytext. We should probably expand our documentation to talk about block breaks, etc.

the MyST Notebook means the .md file with the kernel spec frontmatter? mentioned in jupyterbook
If it is. I think I could help to write the documentation. I just wanna to make the cel-block connect to the jupyter lite in the past few weeks. And I have to read to source code to know how to convert the code-block node in the .md file into a thebe lite decorated block in the website (:
And if I could help, I have a few questions.

where to write it? I think integrating-jupyter or authoring - code&codeblock or add a new page are all good for me?
what's content should it include? I think it should be how to activate the kernel for the cell block, how to interact with the code block(hide input/output/ re execute ...) is enough

@ValMystletainn we would be really interested in helping you to contribute to the docs on this!
There are two kinds of things we probably want to communicate:

How to write MyST Markdown notebooks such that MyST CLI can execute them
How to write MyST Markdown notebooks such that jupytext can understand them

(1) and (2) are closely related, but not identical!
Right now, I think this would live in the https://mystmd.org/guide/notebooks-with-markdown page (docs/notebooks-with-markdown.md). We would want to:

Add a section on kernelspec in the frontmatter to our frontmatter reference. The kernelspec is page-only frontmatter, and the code that validates it is in packages/myst-frontmatter/src/kernelspec/validators.ts.
Right now, users only need to define kernelspec.name for execution to work. But, valid notebooks also need kernelspec.display_name (and jupytext will complain if it's missing). I've made a PR to throw warnings if either key is missing. So, you should write that both are required!

Link to the documentation about block breaks, which can be used to split Markdown content into separate Markdown cells. As you know, code-cells and markdown following them are naturally split into separate cells.

Add a section on jupytext and how it can be used as a CLI to generate ipynb files.

got it. start to work on it

repo: jupyter-book/mystmd


text:
Rename Jupyter Notebook Server to Jupyter Server

Quick terminology change in the Prometheus metrics file.

Thanks!

authors: Zsailer jtpio


text:
Console sessions no longer shown in 'running'

With the latest master the console sessions are no longer shown in the 'running' widget.

Hi @svenefftinge, we explicitly do not show console sessions yet because they are an oddball.  The only thing distinguishing them right now from a file-backed session is that they do not have a file extension.  However, we are looking to improve this situation by allowing server-side session objects to have a name and a type: https://github.com/jupyter/jupyter-js-services/pull/237

ok, thanks.

repo: jupyter/jupyterlab


text:
Use JULIA_LOAD_PATH for julia env handling

https://github.com/jupyter/repo2docker/pull/595 writes a jupyter kernel that automatically loads the Project.toml env that is in the root. This works, but it also means that any julia shell for example does not have the environment loaded by default, because only this particular Jupyter kernel automatically loads the env.
It might be a better strategy to instead add the root folder of the repo to the JULIA_LOAD_PATH env variable. I believe that should make everything to all julia processes available, not just Jupyter kernels.
I would suggest we first ship the current implementation in the PR (which is not incorrect), and then investigate this option here.

If that is the right thing to do from a Julia perspective I think we should do it.
I added the labels because I think this would make a good starter issue for someone new to repo2docker.

Actually, I think we should set JULIA_PROJECT, see https://docs.julialang.org/en/latest/manual/environment-variables/#JULIA_PROJECT-1.
We could even set it to just @., potentially... I'm playing with this now.

authors: betatim davidanthoff


text:
Documentation tweaks to action.yml / README.md pre-publishing

@manics I added some branding aligning with our purple theme in our other actions, provided a description of the output parameter in the README, and synced the action.yml/README.md descriptions.
After this, we are ready for release/publish of 1.1.0 IMO!

@manics this LGTM! Go for merge and release of 1.1.0 now?

@consideRatio yes, 1.1.0 sounds good

@manics I saw the release was cut, :tada:!

authors: consideRatio manics


text:
Add a Gitter chat badge to README.md

jupyterhub/binder now has a Chat Room on Gitter
@willingc has just created a chat room. You can visit it here: https://gitter.im/jupyterhub/binder.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

awwww I was gonna ask the bot to make some grammatical changes ;-)

authors: choldgraf gitter-badger

repo: jupyterhub/binder


text:
Clarify how to preview locally, view a notebook in fullscreen, and link config docs

I found these things out after some looking around and I think it would be great to mention them in the docs.
Ref:

https://github.com/jupyterlite/jupyterlite-sphinx/issues/44
https://github.com/jupyterlite/jupyterlite-sphinx/issues/37

Thanks!

authors: joelostblom martinRenou

repo: jupyterlite/jupyterlite-sphinx


text:
feat: free tier setup for evaluators

This allows evaluators of this project to deploy the whole setup of hyperswitch in their AWS account. Make sure, you are not exceeding the RDS and Elasticache's free limit which are
RDS - https://aws.amazon.com/rds/free/
Elasticache - https://aws.amazon.com/elasticache/pricing/
To use this, please bootstrap the region before running the CDK script with the following command
cdk deploy -c aws_arn=$AWS_ARN -c free_tier=true

Please resolve conflicts.

authors: inventvenkat nitesh-balla

repo: juspay/hyperswitch-cdk


text:
How to support http and http 2 at the same time?

https://github.com/justcoding121/titanium-web-proxy/blob/1e9d602af954b98074775f235b9581f62ce9e3b6/src/Titanium.Web.Proxy/ExplicitClientHandler.cs#L145

It seems that currently, it doesn't support both protocol at the same time, any workaround or any plan for supporting this?

The "simple" way.:
Create a proxy (HTTP2 Enabled) that checks on connect, what the requested HTTP protocol version is, if the requested protocol is 1.1 Exact (meaning the client won't accept an upgrade to HTTP2), forward to a second proxy that has HTTP2Enabled on false (If i remember right, theres a func property for that - CustomUpstreamProxySelect or something like that.
Beside that, I would strongly suggest leaving HTTP2 off, because its restricting you still due to the implementation in this proxy API, due to not (yet) 100% implemented.  What exactly are u trying to achieve? The only thing where the protocol change would affect you, is during decryption - you could use a HTTP1.1 conneciton in 99,999% of the target hosts, i barely met any host that did exclude 1.1, and 1.1 is still a standardized protocol, not being deprecated - and still lots of appliances etc. even new ones rely on it - and with HTTP3.0 still being not final and with a timespan of years to expect until it being also counting standard, theres no danger of 1.1 being deprecated anytime soon.
I assume, you're having a client application/appliance or some sort of office/corporate policy enforcing HTTP2? Or - the only other thing I can imagine, you're having issues trying to deal with ReCaptcha while decrypting? :P

authors: trontronicent zmpyzmpy


text:
Icon in Toast on Mobile is misaligned when the text is one line

Describe the bug
The Icon on the Toast on mobile is misaligned if the text is just one line but if it is two it aligns pretty well
To Reproduce
Steps to reproduce the behavior:

Go to 'JustD'
Click on '....'
Scroll down to 'Status.'
Click on 'Each Toast'
See the issue (on Mobile)

Thanks for let me know. Will fix in the next update.

This issue is been resolve on #198

authors: Danieljs-codes irsyadadl

repo: justdlabs/justd


text:
Where is AddJustSaying() in nuget?

Really like the look of this lib but can't find AddJustSaying() extension method anywhere in the published nuget package - I see it's been 8months since a release so is it just a case that it's not in there yet? If so, do you have an ETA of when it will be released?

Hi - It's part of the future v7 release, which includes a rewrite of the configuration API for the library.
Unfortunately we don't have a date we can commit to for its release at this time.

Ok, no probs, thanks for the quick response.
I'm just starting a rewrite so can use the current config API for now. When using the current config - how can I use something like localstack or goaws for local testing? Is the simplest way to implement my own IAwsClientFactory and set that as DefaultClientFactory?  E.g.
CreateMeABus.DefaultClientFactory = () => new MyAwsClientFactory(awsOpts.Credentials, isLocal);

Yep, that should be the way to override it.

Nice - thank you.
I'll keep an eye for the new release and close this for now. 👍

authors: donaldgray martincostello

repo: justeat/JustSaying


text:
Fix content-type for bundles

Fix the Content-Type HTTP response header being overwritten with the simple "media type" default value, which meant the response was always application/json.
Now the Content-Type header takes precedence over that value if it is specified as an override, such as in an HTTP bundle.
Also updates the .NET Core SDK and NuGet packages to their latest versions.

Codecov Report

Merging #84 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
+ Coverage   98.94%   98.94%   +<.01%
==========================================
  Files          12       12
  Lines         947      950       +3
  Branches      150      151       +1
==========================================
+ Hits          937      940       +3
  Partials       10       10

Impacted Files
Coverage Δ

...ClientInterception/HttpClientInterceptorOptions.cs
98.17% <100%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io martincostello

repo: justeat/httpclient-interception


text:
🛑 Bitwarden is down

In 012c141, Bitwarden (https://bitwarden.mkacg.com) was down:

HTTP code: 530
Response time: 52 ms

Resolved: Bitwarden is back up in edf1bb4 after 24 minutes.


text:
🛑 Misskey is down

In 1cd1b89, Misskey (https://mkacg.social) was down:

HTTP code: 530
Response time: 52 ms

Resolved: Misskey is back up in 6861818 after 10 minutes.


text:
🛑 NextCloud is down

In 9662a6b, NextCloud (https://pan.mkacg.com) was down:

HTTP code: 530
Response time: 99 ms

Resolved: NextCloud is back up in a9a356d after 58 minutes.


text:
Marquee will flash at random interval when sliding to the right

We only seem to have this issue when the marquee slides to the right. You can see the issue on https://www.react-fast-marquee.com/ if you wait long enough while watching the marquee that slides to the right. You can also see it using the demo.

did you find a solution for it?

@ryan-u found any fix?

repo: justin-chu/react-fast-marquee


text:
refactored New.

I came across a way to return an anonymous slice (if that is what it can be called? Please correct me if I'm mistaken). Is it a viable way to return the new Chain?

Not that it has a huge impact, but it's quite an idiomatic way to produce a new slice. Merging this in.

repo: justinas/alice


text:
How to check weather its a NFC card or Emulated Device?

Hi,
Would you please help, how to get Card Type & UID ? in my business logic i wants to check either its a card or emulated phone? if its a card i need its UID, if its a phone i need NDEF for the Emulated Phone.
Looking Forward.

My presumption is that you're talking about a Type 2 card (which can contain NDEF, but you're just looking for the UID). The existing chrome-nfc lib (including my fork) can read those cards via chrome.nfc.read() or chrome.nfc.read_logic(), but it's not going to explicitly tell you if it's a HCE or physical card. You'd have to do some of your own logic around that either depending on your data structure or some other means.

Hi @justinribeiro
Thank your for your help, i will try it now & will let you know.
where did you used aid-filter in chrome App? I wants to do the same functionality so iOS & Android Devices can also read this Emulated device (I'm using External ACS Bluetooth Reader) to do so.
Any Help?

To my knowledge, iOS doesn't allow HCE so you're not going to be able to do the same sort of thing as Android (which does support HCE).
The sample code I have in this repo defines the APDU_SELECT target (which must match the aid-filter on Android) here: https://github.com/justinribeiro/hce-to-chromenfc-app/blob/master/chrome-nfc.js#L634

@justinribeiro Thank you so much for your help, its saves my lots of time & efforts, i was struck since 1 months to read HCE phone from ACR External Readers, by reading & understanding your Chrome APP code, i was able to did it on iOS & Andorid  as well.
Appreciated. Thank you

Its very Simple process to check either its a Emulated Phone or a Card by ATR because allt he phones will have same ATR.
Resolved

authors: justinribeiro shahbazali

repo: justinribeiro/hce-to-chromenfc-app


text:
Customizable delay and reset to default state for window covering

Two little wishes from me:

Can you add a free delay input field? What is the minimum? 1 sec or even less (< 1 sec)?
Would it be possible to reset the state to “closed” or to the default state after X seconds (I choose "closed" because of the Siri command "Open trash"

For clarification:

add a free delay input field

Is this an open/close delay? I.e the time it takes to go from Open to Closed(and vice versa) during which it shows asOpeningorClosing`?

Yes, that would be great. I use it for my trash and at the moment it opens with a delay of 3 seconds or more.
1 second or less would Great - better a input

"I use [your plugin] for my trash"

Just what every plugin author wants to hear! 🤣🤣🤣

I have considered the reset request. Blinds and shades normally open and close either based on the outside light or based on sleep requirements. So I don't think it makes sense for a window covering to reset.
I realize that this isn't your use case, but in a manner of speaking you are using this accessory in an unconventional way. Can I suggest creating a switch with a reset timer? Then in an automation when the trash bin is open, it flips the switch, starting the timer. When the time runs out, the switch closes and a second automation closes the trash bin.
Let me know what you think.
I have added the transition delay field, which will require a manual fix of the configuration in the JSON editor and I will publish this shortly.

Update: published v1.2.2 with configurable open/close transition delay.


text:
use singletons and or injection instead of directly referenceable globals

The refactoring of justpy is slowed down to an almost standstill by all those global variables beings shuffled around and activating the variables on import.
An example is #162 where the config variable and the dependent global variables are instantiated out of thin air:
DEBUG = config("DEBUG", cast=bool, default=True)
HOST = config("HOST", cast=str, default="127.0.0.1")
PORT = config("PORT", cast=int, default=8000)
CRASH = config("CRASH", cast=bool, default=False)
LATENCY = config("LATENCY", cast=int, default=0)
if LATENCY:
    print(f"Simulating latency of {LATENCY} ms")
HTML_404_PAGE = "justpy is sorry - that path doesn't exist"
MEMORY_DEBUG = config("MEMORY_DEBUG", cast=bool, default=False)
SESSIONS = config("SESSIONS", cast=bool, default=True)
SESSION_COOKIE_NAME = config("SESSION_COOKIE_NAME", cast=str, default="jp_token")
SECRET_KEY = config(
    "SECRET_KEY", default="$$$my_secret_string$$$"
)  # Make sure to change when deployed
LOGGING_LEVEL = config("LOGGING_LEVEL", default=logging.WARNING)
UVICORN_LOGGING_LEVEL = config("UVICORN_LOGGING_LEVEL", default="WARNING").lower()
COOKIE_MAX_AGE = config(
    "COOKIE_MAX_AGE", cast=int, default=60 * 60 * 24 * 7
)  # One week in seconds

SSL_VERSION = config("SSL_VERSION", default=PROTOCOL_SSLv23)
SSL_KEYFILE = config("SSL_KEYFILE", default="")
SSL_CERTFILE = config("SSL_CERTFILE", default="")

STATIC_DIRECTORY = config("STATIC_DIRECTORY", cast=str, default=os.getcwd())
STATIC_ROUTE = config("STATIC_MOUNT", cast=str, default="/static")
STATIC_NAME = config("STATIC_NAME", cast=str, default="static")
FAVICON = config(
    "FAVICON", cast=str, default=""
)  # If False gets value from https://elimintz.github.io/favicon.png
TAILWIND = config("TAILWIND", cast=bool, default=True)
QUASAR = config("QUASAR", cast=bool, default=False)
QUASAR_VERSION = config("QUASAR_VERSION", cast=str, default=None)
HIGHCHARTS = config("HIGHCHARTS", cast=bool, default=True)
KATEX = config("KATEX", cast=bool, default=False)
VEGA = config("VEGA", cast=bool, default=False)
BOKEH = config("BOKEH", cast=bool, default=False)
PLOTLY = config("PLOTLY", cast=bool, default=False)
DECKGL = config("DECKGL", cast=bool, default=False)
AGGRID = config("AGGRID", cast=bool, default=True)
AGGRID_ENTERPRISE = config("AGGRID_ENTERPRISE", cast=bool, default=False)
NO_INTERNET = config("NO_INTERNET", cast=bool, default=True)
FRONTEND_ENGINE_TYPE = config("FRONTEND_ENGINE_TYPE", cast=str, default="vue")

I believe it is much better to get rid of all the globals and force the access via the config and then make the config a singleton that may be instantiated externally (injected).

I have just written a super lightweight (only 35 lines!) dependency injection (ioc) support for Python:
https://github.com/freemant2000/disl
If you like, you can just copy the file and include it.

repo: justpy-org/justpy


text:
Add JustList: {JustList name}

Before submission deletes this line:
THIS IS NOT A TOKEN LISTING REQUEST FORM. IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[ ] I understand that this is not the place to request a token listing.
[ ] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[ ] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Sorry, your issue will be closed as you did not submit your information in the correct format.Please resubmit.

repo: justswaporg/justlists


text:
Add+JustList:+{JustList+name}

Before submission deletes this line:
THIS IS NOT A TOKEN LISTING REQUEST FORM. IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[ ] I understand that this is not the place to request a token listing.
[ ] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[ ] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Please submit the correct information, invalid information will cause the issue to close


text:
allow to use SSL and fix console scripts invocation

to allow to use SSL on pymongo >= 3, closes #10.
Also fix main functions to allow invocation w/o options param delaying the get_cli_options call

+1

authors: dcharbonnier safanaj

repo: jwilder/mongodb-tools


text:
Calljava doesn't appear to work with arguments when class accepts an interface

> put -to @string ${ this is a test }$
> put -to @test test
> calljava -obj @string -method contains -arg @test
Ublu:1:UbluInterpreter.Thread[main,5,main]:SEVERE:ublu.command.CmdCallJava.cmdCallJava():Error looking up method in calljava/0 [-to @datasink] [-new ~@{classname}] [--,-obj ~@object] [-method ~@{methodname}] [-arg ~@argobj [-arg ..]] [-primarg ~@argobj [-primarg ..]] : call Java method
java.lang.String.contains(java.lang.String)
java.lang.NoSuchMethodException: java.lang.String.contains(java.lang.String)
	at java.lang.Class.getDeclaredMethod(Class.java:2130)
	at ublu.util.JavaCallHelper.<init>(JavaCallHelper.java:70)
	at ublu.command.CmdCallJava.cmdCallJava(CmdCallJava.java:118)
	at ublu.command.CmdCallJava.cmd(CmdCallJava.java:173)
	at ublu.util.Interpreter.loop(Interpreter.java:1140)
	at ublu.util.Interpreter.interpret(Interpreter.java:1317)
	at ublu.Ublu.runMainInterpreter(Ublu.java:194)
	at ublu.Ublu.niam(Ublu.java:249)
	at ublu.Ublu.main(Ublu.java:229)
>

This should work.  I've noticed some similar issues using calljava to create and work with HashMaps.

https://stackoverflow.com/questions/16190642/how-do-i-find-the-java-interface-whose-method-is-implemented-in-a-given-class
It seems that this can be resolved by working through permutations of the argument's base classes in the case of a NoSuchMethodException.  This can explode exponentially in the performance impact (In the case of an actual missing method when using 3 arguments with 10 base classes each, it will incur 1000 lookups before actually giving up), but normal use shouldn't cause any of these kinds of issues.  In any case memoization can curtail most expense in repeated calls.

It's also notable that the JavaCallHelper won't work when a method is declared in an interface or superclass, because it uses getDeclaredMethod instead of getMethod.

I think with the string arg you have to use -prim
As for getDeclaredMethod vs getMethod I'll have to look at that.
On Thu, Dec 15, 2016 at 5:40 PM, Taylor C. Richberger <
notifications@github.com> wrote:

It's also notable that the JavaCallHelper won't work when a method is
declared in an interface or superclass, because it uses getDeclaredMethod
instead of getMethod.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jwoehr/ublu/issues/6#issuecomment-267486943, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEZAhM16b0ylokGa-G5q-AKu9E_qNVzXks5rId36gaJpZM4LOuBP
.

--
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.

prrimarg doesn't work, because it still manages it as a String, and doesn't find the method that takes a CharSequence, as String.contains requires (CharSequence is an interface that String implements).  I can make these changes, I was just opening the issue somewhere so I wouldn't forget.

The extensions are full of calljava instances if you need test code
On Thu, Dec 15, 2016 at 11:35 PM, Taylor C. Richberger <
notifications@github.com> wrote:

prrimarg doesn't work, because it still manages it as a String, and
doesn't find the method that takes a CharSequence, as String.contains
requires (CharSequence is an interface that String implements). I can make
these changes, I was just opening the issue somewhere so I wouldn't forget.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jwoehr/ublu/issues/6#issuecomment-267527611, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEZAhFAQQhpxoGGs1EK15kylqxqH1hkZks5rIjEmgaJpZM4LOuBP
.

--
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.

Anyway, please fix calljava if you are inspired to do so and can do so without breaking existing code. Try to avoid a performance hit. I want to use calljava more and more to create extensions rather than expand the base system.

It shouldn't break existing code.  It should not cause a performance hit, because the classes will be checked as-is first before checking interfaces and superclasses, so if there is an exact match, it should operate in constant time as before.  With memoization, the individual call worst-case is exponential time, but the amortized time would reduce to constant, but this only really helps for long-running programs and in loops.
Either way, existing working uses should continue to work as expected with no performance impact, and cases that returned a NoSuchMethodException will be fixed with a one-time performance impact per session.

Marvellous, I'm delighted you are repairing these structural flaws in the
operation of our domain-specific language.
On Fri, Dec 16, 2016 at 9:43 AM, Taylor C. Richberger <
notifications@github.com> wrote:

It shouldn't break existing code. It should not cause a performance hit,
because the classes will be checked as-is first before checking interfaces
and superclasses, so if there is an exact match, it should operate in
constant time as before. With memoization, the individual call worst-case
is exponential time, but the amortized time would reduce to constant, but
this only really helps for long-running programs and in loops.
Either way, existing working uses should continue to work as expected with
no performance impact, and cases that returned a NoSuchMethodException will
be fixed with a one-time performance impact per session.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jwoehr/ublu/issues/6#issuecomment-267637073, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEZAhKWm1BTK0BgmMt8tAfb8rT9-LOSwks5rIr-kgaJpZM4LOuBP
.

--
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.

authors: Taywee jwoehr

repo: jwoehr/ublu


text:
401 api response

No event index change: 91532

Sleeping 60 seconds after unexpected no index change

New event index: 91631 last: 91532

Downloading t:connect ControlIQ data

Traceback (most recent call last):

File "/home/appuser/main.py", line 69, in <module>

main()

File "/home/appuser/main.py", line 62, in main

process_auto_update(tconnect, nightscout, time_start, time_end, args.pretend)

File "/home/appuser/tconnectsync/autoupdate.py", line 31, in process_auto_update

added = process_time_range(tconnect, nightscout, time_start, time_end, pretend)

File "/home/appuser/tconnectsync/process.py", line 35, in process_time_range

raise e

File "/home/appuser/tconnectsync/process.py", line 26, in process_time_range

ciqTherapyTimelineData = tconnect.controliq.therapy_timeline(time_start, time_end)

File "/home/appuser/tconnectsync/api/controliq.py", line 73, in therapy_timeline

return self.get('therapytimeline/users/%s' % (self.userGuid), {

File "/home/appuser/tconnectsync/api/controliq.py", line 63, in get

raise ApiException(r.status_code, "ControlIQ API HTTP %s response: %s" % (str(r.status_code), r.text))

tconnectsync.api.common.ApiException: ControlIQ API HTTP 401 response:

acording to google, 401 is accessing someting without proper credientals. so ya. there is that. i really wish i could help, but ive not got the time to learn the python rn, but its on my list of things to do!

Hopefully we can get this gone for good. try the latest build, I added explicit retry logic (in addition to using tandem's estimated expiration time) for whenever there's a http 401 in the api and forced a relogin.

its pretty late for me here, so im going to get some sleep and let it run like i usually do. will get back once i see if it has stopped

New event index: 95118 last: 95018

Downloading t:connect ControlIQ data

Downloading t:connect CSV data

HTTP 500 in therapy_timeline_csv (retry count 0): WS2 API HTTP 500 response: Options,Error,Output,ResponseStatus

,,,"{ErrorCode:XmlException,Message:Root element is missing.,Errors:[]}"

(HTTP 500)

HTTP 500 in therapy_timeline_csv (retry count 1): WS2 API HTTP 500 response: Options,Error,Output,ResponseStatus

,,,"{ErrorCode:XmlException,Message:Root element is missing.,Errors:[]}"

(HTTP 500)

HTTP 500 in therapy_timeline_csv (retry count 2): WS2 API HTTP 500 response: Options,Error,Output,ResponseStatus

,,,"{ErrorCode:XmlException,Message:Root element is missing.,Errors:[]}"

(HTTP 500)

Traceback (most recent call last):

File "/home/appuser/tconnectsync/api/ws2.py", line 67, in therapy_timeline_csv

req_text = self.get('therapytimeline2csv/%s/%s/%s?format=csv' % (self.userGuid, startDate, endDate), {})

File "/home/appuser/tconnectsync/api/ws2.py", line 23, in get

raise ApiException(r.status_code, "WS2 API HTTP %s response: %s" % (str(r.status_code), r.text))

tconnectsync.api.common.ApiException: WS2 API HTTP 500 response: Options,Error,Output,ResponseStatus

,,,"{ErrorCode:XmlException,Message:Root element is missing.,Errors:[]}"

(HTTP 500)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/appuser/tconnectsync/api/ws2.py", line 67, in therapy_timeline_csv

req_text = self.get('therapytimeline2csv/%s/%s/%s?format=csv' % (self.userGuid, startDate, endDate), {})

File "/home/appuser/tconnectsync/api/ws2.py", line 23, in get

raise ApiException(r.status_code, "WS2 API HTTP %s response: %s" % (str(r.status_code), r.text))

tconnectsync.api.common.ApiException: WS2 API HTTP 500 response: Options,Error,Output,ResponseStatus

,,,"{ErrorCode:XmlException,Message:Root element is missing.,Errors:[]}"

(HTTP 500)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/appuser/main.py", line 69, in <module>

main()

File "/home/appuser/main.py", line 62, in main

process_auto_update(tconnect, nightscout, time_start, time_end, args.pretend)

File "/home/appuser/tconnectsync/autoupdate.py", line 31, in process_auto_update

added = process_time_range(tconnect, nightscout, time_start, time_end, pretend)

File "/home/appuser/tconnectsync/process.py", line 38, in process_time_range

csvdata = tconnect.ws2.therapy_timeline_csv(time_start, time_end)

File "/home/appuser/tconnectsync/api/ws2.py", line 72, in therapy_timeline_csv

return self.therapy_timeline_csv(start, end, tries+1)

File "/home/appuser/tconnectsync/api/ws2.py", line 72, in therapy_timeline_csv

return self.therapy_timeline_csv(start, end, tries+1)

File "/home/appuser/tconnectsync/api/ws2.py", line 73, in therapy_timeline_csv

raise e

File "/home/appuser/tconnectsync/api/ws2.py", line 67, in therapy_timeline_csv

req_text = self.get('therapytimeline2csv/%s/%s/%s?format=csv' % (self.userGuid, startDate, endDate), {})

File "/home/appuser/tconnectsync/api/ws2.py", line 23, in get

raise ApiException(r.status_code, "WS2 API HTTP %s response: %s" % (str(r.status_code), r.text))

tconnectsync.api.common.ApiException: WS2 API HTTP 500 response: Options,Error,Output,ResponseStatus

,,,"{ErrorCode:XmlException,Message:Root element is missing.,Errors:[]}"

(HTTP 500)

long error... appeared overnight while i was asleep

Looks like the same http 500 as before that's a bug on Tandem's end. I added some retry logic there but I suspect there's not really much more we can do.
I think the real solution for now is just that, if you've properly configured tconnectsync, this error should be ignorable so long as it doesn't happen continuously. The next time tandem's servers return actual data everything will be scraped and put into nightscout.

well, im getting the 500 about 4 times a day now, but as you said, much cant be done, so i just need to keep hitting the lauch button as a 500 kills the program. but anyways, i thank you for all you've done

authors: LegendaryGeek jwoglom

repo: jwoglom/tconnectsync


text:
Error occur when run gcn/modules/Gconv.py

When I run gcn/modules/Gconv.py
I modify the following :
1.) line 9
from .utils import _pair ->  from utils import _pair
2.) line 64
for i in range(bias.size()): ->  for i in range(bias.size()[0]):
But it still have error in line 67 which show error message
NameError: global name 'x' is not defined
Can you tell me how to fix it?  Thanks!

There is a typo in line 67 and now fixed, please download the latest codes.
Your modification
1): may cause error
2): the return of torch.size() has changed in PyTorch 0.4, so your modification looks right.

Thanks for your reply!
I will try it :)


text:
Starting from defaults gives no transitions, no dot indicators, just a very basic xp

Basically, starting from the current settings renders quite differently to other decks seen out in te wild - when I look at them they don't seem to do anything special, yet they

have transitions
have dots on the bottom indicating the slide count

I tried to add transitions myself based on the react-pose sample for reach-router, but they die with the issue that the slides have no "key" prop set up.
So...what happened? Does the latest version not have those goodies anymore or what am I doing wrong?

v2 now uses Reach Router. I haven't looked into adding transitions with React Pose but it should be possible. The dot indicator was also removed but you can add your own using a custom Provider component

authors: flq jxnblk

repo: jxnblk/mdx-deck


text:
🛑 le Zata is down

In 4827eb3, le Zata (http://zata.free.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: le Zata is back up in 2169daa after 19 minutes.

repo: jyhem/upptime-jyhem


text:
지하쳘역 간의 소요 시간 계산 & 다중의 지하철역에서 주어진 시간 안에 도달 가능한 모든 지하쳘역들 구하기

각 지하철역들에 대해서, 다른 지하철역까지의 소요시간 구하기

[x] 지하쳘역을 키워드로 받아서 엔티티 가져오기
[x] 각 지하철역 간의 소요시간 구하기

Request:
[
{
"name": "강남",
"time": 18000
},
{
"name": "성수",
"time": 18000
},
{
"name": "천호",
"time": 18000
}
]
Reponse:
{
"count": 5,
"travelInfos": [
{
"destination": "천호",
"startInfos": [
{
"name": "강남",
"totalTimeAndTransferCount": {
"totalTime": 2452,
"transferCount": 1
}
},
{
"name": "성수",
"totalTimeAndTransferCount": {
"totalTime": 1882,
"transferCount": 2
}
}
]
},
{
"destination": "강남",
"startInfos": [
{
"name": "천호",
"totalTimeAndTransferCount": {
"totalTime": 2452,
"transferCount": 1
}
},
{
"name": "성수",
"totalTimeAndTransferCount": {
"totalTime": 1594,
"transferCount": 1
}
}
]
},
{
"destination": "문정",
"startInfos": [
{
"name": "강남",
"totalTimeAndTransferCount": {
"totalTime": 2236,
"transferCount": 2
}
},
{
"name": "성수",
"totalTimeAndTransferCount": {
"totalTime": 2118,
"transferCount": 2
}
},
{
"name": "천호",
"totalTimeAndTransferCount": {
"totalTime": 1369,
"transferCount": 1
}
}
]
},
{
"destination": "잠실",
"startInfos": [
{
"name": "강남",
"totalTimeAndTransferCount": {
"totalTime": 1003,
"transferCount": 1
}
},
{
"name": "성수",
"totalTimeAndTransferCount": {
"totalTime": 675,
"transferCount": 1
}
},
{
"name": "천호",
"totalTimeAndTransferCount": {
"totalTime": 1205,
"transferCount": 1
}
}
]
},
{
"destination": "성수",
"startInfos": [
{
"name": "강남",
"totalTimeAndTransferCount": {
"totalTime": 1594,
"transferCount": 1
}
},
{
"name": "천호",
"totalTimeAndTransferCount": {
"totalTime": 1882,
"transferCount": 2
}
}
]
}
]
}


text:
merge from arlac77/npm-package-template

package.json

chore(package): documentation@^12.0.3
chore(scripts): cover@#overwrite c8 -x 'tests/**/*.mjs' --temp-directory build/tmp ava && c8 report -r lcov -o build/coverage --temp-directory build/tmp
chore(package): add main from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/*-test.mjs' as in template
chore(package): set $.ava.extensions='mjs' as in template
chore(package): remove unknown value for main ({{main}})

Codecov Report

Merging #540 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #540   +/-   ##
=======================================
  Coverage   96.32%   96.32%
=======================================
  Files           4        4
  Lines         272      272
  Branches       45       42    -3
=======================================
  Hits          262      262
  Misses         10       10

Continue to review full report at Codecov.

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

Coverage remained the same at 83.961% when pulling a04566d0e807a3c2ba00b8948602e2593edc9ded on npm-template-sync/1 into bb4a8204cc1b2aa0ef6476a97a508598ff17cad3 on master.

authors: arlac77 codecov-io coveralls


text:
Hot to expose a mysql service?

This acticle https://k3d.io/v5.0.1/usage/exposing_services/ show guide to expose a http service, but tcp service?

@gamelife1314 See section 2 of the same page.
(Can close this issue)


text:
Disable color outputs using NO_COLOR env var

Proposed Changes
Setting this environment variable will not wrap the text in ANSI color codes, so that we can print a raw output.
This helps us a lot when piping the output to a text file, ANSI color codes make it difficult to read through the output in a text editor.
Types of Changes
Introduced a new environment variable called NO_COLOR.
NO_COLOR=1 will disable the wrapping of output text in ANSI color codes.
Default functionality will be maintained if the env var is not set at all.
Verification

Testing

Ran this suit of tests:

Default usage:

Usage with NO_COLOR env var:

NO_COLOR can be set to whatever.

Linked Issues

Fixes #9355
User-Facing Change

To enable raw output for the `check-config` subcommand, run:

NO_COLOR=1 k3s check-config

Further Comments

Let me know if the variable name is not suitable, or any other questions/discussions. Will be happy to refactor my solution if needed.

Thank you for the review @brandond.
Is there something more I have to do to get this merged? Let me know, thank you.

No, you are set. We are working through some issues with scheduling work for the next release cycle, so this may remain on hold for a bit longer.


text:
Set env variables have no effect when value is 0 or false

Details
Helm chart name and version:
k8s-at-home: 7.3.1
What steps did you take and what happened:
When I apply env.NODE_TLS_REJECT_UNAUTHORIZED = 0 (or false), environnement variable is not deployed
Relevant Helm values:
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
What did you expect to happen:
Must be present.

Hi! Thanks for taking the time to raise this issue. The correct way to pass truthy (true/false/1/0, etc) environment variables in Helm charts is by quoting them.
I believe this snippet should work:
env:
  NODE_TLS_REJECT_UNAUTHORIZED: "0" # or "false"

Hi @bjw-s,
I have the same error.

@ronny35 What @bjw-s is trying to tell you:
Env-Vars should always be strings, so need quotes.
He is not saying he has the same error.

I've added an explicit unit test (https://github.com/k8s-at-home/library-charts/pull/30/commits/3fa4861fd47fe02f72bf98f574c2123b199aa99f) to verify that the quoted "0" works, and it works as expected

@bjw-s Can also be closed afaik.

I am closing this issue for now. If the problem still occurs for you, please don't hesitate to comment again.


text:
operator project-quay (3.8.3)

Add 3.8.3 to community operators

/merge possible

/merge possible

authors: framework-automation quay-devel


text:
Ruby 3.1 support

Can't install k8s-ruby gem using Ruby 3.1 with bundler
Error:
Bundler found conflicting requirements for the Ruby version:
  In Gemfile:
    Ruby (~> 3.1)

    k8s-ruby was resolved to 0.10.5, which depends on
      Ruby (~> 2.4)

Ruby (~> 2.4), which is required by gem 'k8s-ruby', is not available in the local ruby installation

https://github.com/k8s-ruby/k8s-ruby/blob/master/k8s-ruby.gemspec
I think that just updating this would be the first step.
There are almost no people working on this gem, so if you could make a PR?

I tried to do this, dry-types/struct is the problem. Don't have time to figure out.

somebody needs to fix this: https://github.com/k8s-ruby/k8s-ruby/pull/29

authors: MiguelSavignano matti


text:
Find/auto-complete addresses from pgp provider

Also use the addresses of the pgp provider in order to complete the addresses entered into the "To" field.
It is also a kind of "address book".

done in #2816

authors: Valodim rugk


text:
K9Mail beta 5.715 has no way to move message to spam without opening it

Expected behavior
When an account has some spam messages it would be great to move them to the spam folder without opening them.  That used to be possible with the unhandy long push in K9Mail 5.600.
I would prefer to have this options also in batch mode (marking multiple mails as spam).
Actual behavior
Open the message (potentially exposing K9Mail to a malicious mail), click the three-dots-button, click refile, click spam.
Steps to reproduce

open unified inbox or any other mailbox
try to move a message to spam
fail to find an option

Environment
K-9 Mail version: 5.715
Account type: IMAP

"Spam" is still an option in batch mode. Long-press a message in the list or tap the contact picture to enter batch mode. Open the "three dots" menu to see the actions that don't fit on the action bar.
We'll add "swipe to action" eventually. See #1426

Thank you for answering.  My fdroid 5.715 build does not have the batch mode.  When selecting a message, the "three dots" menu only has 'Add star' and 'Select all'.  Am I missing something?

"Batch mode" is what is entered when you select a message. You can select more than one and perform operations on all selected messages. If "Spam" and some other actions are not available you're probably in a view where messages from more than one folder are being displayed, e.g. Unified Inbox. See #667.

You are totally right!  That's only a limitation of the Unified Inbox.  Thank you for figuring that out.

authors: cketti ibotty


text:
K9 Notification Sound

I changed the notification sound on my phone, K9 stuck with the previous sound while all other apps adopted the new one. My expectations are that the app respects the system-wide settings to do with notifications.
Unfortunately I cannot supply a log because I don't own a usb-c usb-a cable.
K9 version 5.600
Stock Android 10
Pixel 2 XL
The issue is app-wide
The notification setup initially was sound and vibration.
I changed the notification sound and K9 retained the previous sound along with vibration.
I tried these things and none fixed the issue:
Restarting the phone
Cleared cache
Removed accounts and cleared app data
Uninstalled, restarted the phone and re-installed app - The app persisted with the original sound + vibration once installed
Deleting the cache(?) of the previous notification sound

This stopped K9 using the previous notification sound, instead silence and vibration remained
Switching off all notification sounds bar the ring-tone, switching off vibration too then switching them all back on again
I checked the app was setup to notify me using sound
Currently, the app notifies using vibration only.
Just as an aside, the link to documentation provided in .github/CONTRIBUTING.md, * User Manual, 404's, it leads to https://k9mail.app/documentation.html, perhaps it should be https://k9mail.app/contribute#documentation?
Thank you

K-9 Mail 5.600 doesn't support the new notification channel system introduced with Android 8. Try using the latest beta version of K-9 Mail.

Oh I see! I hadn't realised the app hadn't been updated since 2018, shows how observant I am! Made more sense when I read this: https://k9mail.app/2020/06/01/Whats-Up-With-K-9-Mail.html
I'm using the beta, seems great, familiar but different. Notifications working as I would expect so closing this.
Thank you

authors: cketti condemnedmeat


text:
Retrieving JSON item from paging object in android-spotify-api

I'm having a hard time extracting the response from my Spotify API requests. Extracting single responses is easy, but once the response is a paging object, I struggle. How can I print the album titles from "getArtistAlbums" in logcat, just to check if the response is correct?
Here's the code:
@TargetApi(Build.VERSION_CODES.O)
private void setupSpotifyAPI() {
    Intent intent = getIntent();
    token = intent.getStringExtra(EXTRA_TOKEN);
    logMessage("Api Client created");
    spotifyApi = new SpotifyApi();
    spotifyApi.setAccessToken(token);

    final SpotifyService spotify = spotifyApi.getService();

    spotify.getArtistAlbums("0TnOYISbd1XYRBk9myaseg", new SpotifyCallback<Pager<Album>>() {
        @Override
        public void failure(SpotifyError spotifyError) {

        }

        @Override
        public void success(Pager<Album> albumPager, Response response) {

            Log.v("hello", albumPager.items.toString());

        }
    });

}

}

For this exact job, the logcat prints this:
D/MAIN: Api Client created
08-15 12:48:57.218 20889-21973/applicationname.companydomain.myapplication D/Retrofit: ---> HTTP GET https://api.spotify.com/v1/artists/0TnOYISbd1XYRBk9myaseg/albums
08-15 12:48:57.244 20889-20931/applicationname.companydomain.myapplication D/EGL_emulation: eglMakeCurrent: 0xa3d040c0: ver 3 0 (tinfo 0xa3d032d0)
08-15 12:48:57.764 20889-20931/applicationname.companydomain.myapplication D/EGL_emulation: eglMakeCurrent: 0xa3d040c0: ver 3 0 (tinfo 0xa3d032d0)
08-15 12:48:58.173 20889-21973/applicationname.companydomain.myapplication D/Retrofit: <--- HTTP 200 https://api.spotify.com/v1/artists/0TnOYISbd1XYRBk9myaseg/albums (953ms)
08-15 12:48:58.225 20889-20889/applicationname.companydomain.myapplication V/hello: [kaaes.spotify.webapi.android.models.Album@833d3be, kaaes.spotify.webapi.android.models.Album@b893c1f, kaaes.spotify.webapi.android.models.Album@8ba3b6c

kaaes.spotify.webapi.android.models.Album@833d3be is just an object.
when using
response.getBody().toString()
logcat prints this:
 V/hello: retrofit.client.UrlConnectionClient$TypedInputStream@77dfecd
How can I go on and get the data I really need, and not only objects?

The solution for the problem was to iterate, like this:
for (Track track: trackPager.items) {
                    Log.d("album name", track.name);

repo: kaaes/spotify-web-api-android


text:
Localise error messages

Since we provide a couple of error messages for the users, we should localise them. go-i8m seams to be the standard.
There are two ways to figure out which localisation we should provide:

Configure a language via config file
Use the Mattermost API to access the system config and hope only one language is defined
Both ways seams ok to me, but maybe there is a better way.

We are focusing to develop Matterpoll plugin.
Please consider using this plugin.

authors: hanzei kaakaa

repo: kaakaa/matterpoll-emoji


text:
Client always tries wss connection, even with useSSL: false

I am creating the plugin with the following options:
createPahoMqttPlugin({
    PluginOptions: {
        autoConnect: true,
        showNotifications: false,
    },
    MqttOptions: {
        host: "192.168.2.80",
        port: 9001,
        clientId: "CL1",
        useSSL: false,
        mainTopic: 'MAIN',
    },
})

This will result in the following error on the console:
WebSocket connection to 'wss://192.168.2.80:9001/mqtt' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

The connection will still succeed as there will automatically be a second connection attempt using ws protocol which works just fine.
Is it possible to remove the first connection attempt to wss if useSSL is explicitly set to false ?

Fixed in the 0.6.4 version, let us know if the issue persists.
reinstall the package to see the effects

authors: andypotato kaandesu

repo: kaandesu/vue-paho-mqtt


text:
Create a private operator-registry for Kabanero

This may or may not end up being a tactical solution.  The Kabanero CSV, CRD and pacakge yaml should be published to a private registry that the install script can use to install Kabanero via OLM.
This may be replaced with a Kabanero install from the OpenShift Catalog, or certified-operators, later.  However at least for the time being, this allows us to have OpenShift read in the Kabanero CSV and get the OpenShift console integrations that will help Todd (and Champ) view their Kabanero instances.
We should update the build-image and push-image targets of the Makefile, to additionally push the registry.

Resolved by #251

repo: kabanero-io/kabanero-operator


text:
Extend the Kabanero Collection CRD to allow multiple stack versions to be active simultaneously.

Document the design for the Kabanero Collection CRD schema to support multiple versions of the same Kabanero Collection to be active at the same time.

I'm proposing the following CR instance structure, which maintains all
of the fields that exist prior to now, as well as the new array that
will allow us to enable multiple versions of the same collection at
the same time:
apiVersion: kabanero.io/v1alpha1
kind: Collection
metadata:
  name: java-microprofile
  namespace: kabanero
spec:
  name: java-microprofile
  desiredState: active
  repositoryUrl: https://whatever.com/blah/blah
  version: 0.2.15
  versions:
  - version: 0.2.15
    desiredState: active
    repositoryUrl: https://whatever.com/blah/blah
  - version: 0.2.16
    desiredState: active
    repositoryUrl: https://whatever.com/blah/blah
  - version: 0.2.17
    desiredState: active
    repositoryUrl: https://whatever.com/blah/blah
status:
  activeLocation: https://whatever.com/blah/blah
  activePipelines:
  - name: default
    digest: abc123
    url: https://whatever.com/common.pipeline.default.tar.gz
    activeAssets:
    - assetDigest: efg456
      assetName: ./build-pipeline.yaml
      status: active
    - assetDigest: try934
      aseetName: ./some-other.yaml
      status: active
    activeVersion: 0.2.15
    images:
    - id: java-microprofile
      image: kabanero/java-microprofile:0.2
    status: active
  activeVersions:
  - location: https://whatever.com/blah/blah
    pipelines:
    - name: default
      digest: abc123
      url: https://whatever.com/common.pipeline.default.tar.gz
      assets:
      - assetDigest: efg456
        assetName: ./build-pipeline.yaml
        status: active
      - assetDigest: try934
        aseetName: ./some-other.yaml
        status: active
      version: 0.2.15
      images:
      - id: java-microprofile
        image: kabanero/java-microprofile:0.2
      status: active
  - location: https://whatever.com/blah/blah
    pipelines:
    - name: default
      digest: abc123
      url: https://whatever.com/common.pipeline.default.tar.gz
      assets:
      - assetDigest: efg456
        assetName: ./build-pipeline.yaml
        status: active
      - assetDigest: try934
        aseetName: ./some-other.yaml
        status: active
      version: 0.2.16
      images:
      - id: java-microprofile
        image: kabanero/java-microprofile:0.2
      status: active
  - location: https://whatever.com/blah/blah
    pipelines:
    - name: default
      digest: abc123
      url: https://whatever.com/common.pipeline.default.tar.gz
      assets:
      - assetDigest: efg456
        assetName: ./build-pipeline.yaml
        status: active
      - assetDigest: try934
        aseetName: ./some-other.yaml
        status: active
      version: 0.2.17
      images:
      - id: java-microprofile
        image: kabanero/java-microprofile:0.2
      status: active

Note that only spec.versions and status.activeVersions are new.
The versions[0] duplicates the former singleton values, and
activeVersions[0] duplicates the former singleton status values.  This
mapping is required so that older clients can continue to function.
Our intention will be to introduce a new version of the CRD which
eliminates the singleton versions of these fields, and deprecate this
one.  I am proposing v1alpha2 as the new version.
A CRD has a conversion strategy.  Currently in OCP 4.2 none is the
only supported strategy.  This means that the fields between CRD
versions need to line up exactly.  This is why the v1alpha1 CRD has
to have exactly the same field names as the v1alpha2 CRD will have.
In OCP 4.3, we will be able to use a conversion webhook to avoid this,
however it will be some time before OCP 4.3 is a prerequisite.  See:
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api_changes.md
and
https://v1-14.docs.kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definition-versioning/#webhook-conversion
The resulting CRD is large and unwieldy but will allow products built
on Kabanero to continue to function while we make the conversion.  The
next version of Kabanero can introduce a v1alpha2 CRD which is served
but not stored, and only contains the new fields.  Then in a future
release of Kabanero, we can store the v1alpha2 version, and finally in
another future release of Kabanero we can remove the v1alpha1 CRD
altogether.
We will require an admission webhook (see #57) to enforce that the
singleton spec.version field does not contradict the array form
spec.versions.  There are two admission webhook types - validating
and mutating.  A mutating webhook can change values, while a
validating webhook can not.  I would propose that we have a mutating
web hook which makes sure that the singleton version represents the
first item in the versions array.  Then the validating webhook makes
sure that the singleton and the first item in the version array
match.  Things get tricky when the user updates the CR instance - see
the "Params" and "HeightInInches" examples in the api_changes.md
link above.  We will need to compare the "old" and "new" version of
the object to see what changed, and make sure the mapping between
version and versions[0] is consistent.
This comment does not address the desire (or requirement) to re-name
the collection resources (pipelines, tasks, etc) so that they can be
re-used across collection versions.  I'll make an additional comment
with a proposal on that.

This comment is going to try to address the collection / pipeline
artifact naming problem.  When we have multiple versions of the same
collection active, at the same time, they may reference different
versions of the collection / pipeline artifacts.  For example,
java-microprofile v0.2.15 might refer to pipeline zip v1, but
java-microprofile v0.2.16 might refer to pipeline zip v2.  Since the
artifacts in the pipeline zips will likely have the same name, and may
not be compatible with each other, we need to dis-ambiguate somehow.
Conversely, the two versions of the collection might use exactly the
same versions of the collection / pipeline artifacts, and in that
case, we do not want to deply the same artifact again with a different
name.  Taking it a bit further, there may be unrelated collections
that happen to use the same collection / pipeline artifacts, and it
would be nice to not deploy the same artifacts again with different
names in that case as well.
So lets tack the first 8 characters of the SHA256 on the end of the
artifact name.  The artifact will need to have a SHA for itself in the
manifest.yaml inside the pipeline zip.  This way, we can have
multiple versions of the same artifact.  Sure, it's going to get
tricky to figure out which pipeline should be used.  The best we can
do is print the name of the resource in the status.  That way tooling
etc can look for it there and pick the right resource.  If someone
wants to do a manual pipeline run, using the Tekton dashboard, they
will have to pound sand.  or something.
I think the collection reconciliation process is going to work
something like this:

Go thru the collection status, and make a data structure that
contains every in-use artifact and how many times it is used (if
it's used by two versions of the same collection, its use count
gets bumped).
Process any collections that are transitioning to inactive, or are
deleted from the version list.  Decrement the count the appropriate
amount.  If the use count goes to zero, leave it in the list with a
use count of zero, so that we know later we'll need to delete it.
Process any collections that are new or transitioning to active.
Increment the count the appropriate amount.  For new resouces, add
to the list and bump the count.
Go thru the list.  For any resources with a use count of 0, remove
the collection object from the object ownership.  if the ownership
is now empty, delete the resource.  For the rest of the resources,
if the count is positive, try to GET the resource.  if it's not
there, create it, setting the collection object as the owner.  We
can discuss whether it's appropriate to apply the YAML again even
if the resource is still there, to undo any changes the user may
have made to the object.  I'm not sure if this is appropriate or
necessary.

If the owner of the collection hub removes the support that we added
previously to prefix the collection / pipeline artifact names with the
name of the stack (ie java-microprofile-), then the number of
artifacts should be reduced greatly if the collections all share the
same pipelines.
This process is going to depend on having the files in the collection
hub cached, so that we're not constantly going to Github to fetch the same
collection pipeline zip over and over again.  See #147.  Ideally both
the index yaml and the pipeline zips are cached, along with their etag
values, and we'll have a set of reasonable time constraints like:

Don't check Github again if we've checked in the past 60 seconds.
Throw away cached data every X hours (not sure what X is).

This reconciliation process is going to be significantly different
that Kabanero 0.3.0, so I think #58 should also be a prerequisite
here.  We could also just dual-path the behavior using the associated
kabanero version to determine what to do.  I think in the end,
deploying the controller separately will be less work.

This issue should be used to tie together the work that was done in the referenced issues above.  Namely, modify the Collection CRD to include the version array, and update the collection controller to activate and/or deactivate the individual versions of the collection.  The mutating webhook should be modified to align the singleton version and the 0th element of the versions array, using the old and new objects to determine which field needs to change, and failing if it can't be determined what to do.  The validating webhook should make sure that the version and 0th element of the versions array are the same, again failing if they are not.

This has merged and will ship in Kabanero 0.5.0.

authors: kaczyns stephenkinder


text:
Cannot build project due to internal build failure in register.m

Using

Xcode 16.0
macOS Sequoia 15.0 SDK
on macOS Sonoma 14.7
release 1.2.0/1.3.0

builds fail with the following error:
[...]/.build/checkouts/node-swift/Sources/NodeModuleSupport/register.m:3:1: error: declaration of 'int32_t' must be imported from module 'DarwinFoundation.stdint.int32_t' before it is required
    3 | NAPI_MODULE_INIT() {
      | ^
[...]/.build/checkouts/node-swift/Sources/CNodeAPI/vendored/node_api.h:69:22: note: expanded from macro 'NAPI_MODULE_INIT'
   69 |   NAPI_MODULE_EXPORT int32_t NODE_API_MODULE_GET_API_VERSION() {               \
      |                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/sys/_types/_int32_t.h:30:33: note: declaration here is not visible
   30 | typedef int                     int32_t;
      |                                 ^
1 error generated.
[0/7] Write swift-version--58304C5D6DBC2206.txt
[...]/node_modules/node-swift/lib/builder.js:259
                throw new Error(`swift build exited with status ${result.status}`);
                      ^

Error: swift build exited with status 1
    at Object.<anonymous> ([...]/node_modules/node-swift/lib/builder.js:259:23)
    at Generator.next (<anonymous>)
    at [...]/node_modules/node-swift/lib/builder.js:8:71
    at new Promise (<anonymous>)
    at __awaiter ([...]/node_modules/node-swift/lib/builder.js:4:12)
    at Object.build ([...]/node_modules/node-swift/lib/builder.js:60:12)
    at [...]/node_modules/node-swift/lib/cli.js:61:23
    at Generator.next (<anonymous>)
    at [...]/node_modules/node-swift/lib/cli.js:32:71
    at new Promise (<anonymous>)

Activating Xcode 15.4 over Xcode 16.0 the build succeeds.

Btw this is a pretty good package/project, really kudos to you. If you created a DocC page accompanying it, it would soar IMO. It's a steep start right now, because one needs to look at what types are directly translated and how (and with what methods) - e.g. finding out Data has auto-translations via TypedArrays is not gonna be straightforward for beginners.

👋 the fact that it says the error is on line 3 of register.m makes me think you're on an old checkout (line 3 was previously NAPI_MODULE_INIT but is now a blank line). This exact issue should have been fixed by #34 which was included in v1.3.0. Could you please make sure you're on that version? You might want to nuke your DerivedData/Swift Package cache to be certain.
And thank you for the kind words! I agree regarding documentation, just been hard-pressed for time recently. Definitely on the roadmap.

authors: balazserdeszlogmein kabiroberai

repo: kabiroberai/node-swift


text:
NonEmpty API Types

This PR enforces the contents of Poll, RequestKeys, and SubmitBatch to be NonEmpty, thereby guaranteeing totality in functions that consume these types.

@slpopejoy It comes down to the Json instances:
instance FromJSON1 NonEmpty where
    liftParseJSON p _ = withArray "NonEmpty" $
        (>>= ne) . Tr.sequence . zipWith (parseIndexedJSON p) [0..] . V.toList
      where
        ne []     = fail "parsing NonEmpty failed, unpexpected empty list"
        ne (x:xs) = pure (x :| xs)

So it looks like the parse would fail when given an empty list, upon which Servant would say "you sent bad json".

Rebased on master.

Thanks!

authors: fosskers slpopejoy

repo: kadena-io/pact


text:
FlowRouter SSR 3.8.0, BlazeLayout.render() not working in triggersEnter

let adminRoutes = FlowRouter.group({
    prefix: '/dashboard',
    name: 'admin',
    triggersEnter: [function(context, redirect, stop) {
        if (!Meteor.user()) {
            BlazeLayout.render('signIn');
            stop();
        } else if (!Roles.userIsInRole(Meteor.user(), ['full-control'], 'admins')) {
            BlazeLayout.render('accessDenied');
            Meteor.setTimeout(() => {AccountsTemplates.logout();}, 2000);
            stop();
        }
    }]
});

After update to 3.8.0 BlazeLayout.render('signIn'); in this example stops working, no errors reported, routes opened as if there no BlazeLayout.render or stop().
Downgrading to 3.7.3 solves problem.

Hmm. 3.7.3 not working too.
And in strange way: it works in dev environment, but in production Roles.userIsInRole(Meteor.user(), ['full-control'], 'admins') returns false in router (for user that is in role), and in browser console Roles.userIsInRole(Meteor.user(), ['full-control'], 'admins') returns true.
Downgrade to 3.6.0 solves all problems.

This is bad. You should not do these things in triggers. It's not reactive.
Do all the things in the template level.
Read our guide: https://kadira.io/academy/meteor-routing-guide

authors: arunoda scsirdx

repo: kadirahq/flow-router


text:
Enable default support for the Resolvers feature

Enable default support for the Resolvers feature in Tekton Pipelines.
See: https://tekton.dev/docs/pipelines/resolution-getting-started/

Implemented by https://github.com/kadras-io/package-for-tekton-pipelines/pull/35

repo: kadras-io/package-for-tekton-pipelines


text:
Where are BirdNET observation sound snippets saved on an iPhone?

I'm relaying this question from someone else at the Bioacoustics Stack Exchange (currently in beta):
https://bioacoustics.stackexchange.com/questions/114/where-are-birdnet-saved-observation-sound-snippets-saved-on-an-iphone
"I've recorded some sounds using the app BirdNET (https://birdnet.cornell.edu/) and would like to share/export some of the recorded observations I made and saved. I cannot find them within my iPhone's folder structure. Is anyone familiar with where these are saved by default or how to extract them?"
Stefan or others, if there's a better place to ask this question about the phone apps, please let me know!

The reocrdings are saved inside the App-Storage. Since this is the Issue Tracker for BirdNET-Analyzer please ask App related questions on our Twitter @BirdNET_App or Reddit https://www.reddit.com/r/BirdNET_Analyzer/

repo: kahst/BirdNET-Analyzer


text:
Amazon devices

Hi,
Would you be interested in a PR that adds explicit support for Amazon devices?
I would use this page as a reference.

Aren't they all considered Android devices? Perhaps getting them to validate under the Android check is helpful; I'm not sure if the Amazon device specificity is necessary? What do you think?

Sure, but they use a different app store. So if you only want to display Amazon apps links on Amazon devices, you need to be able to reliably detect them.

Makes sense.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: asymmetric kaimallea

repo: kaimallea/isMobile


text:
fix typo

おそらくタイポと思われる箇所を修正させていただきました．

@m12watanabe1a さん、ありがとうございます！


text:
Bump the project from Rails 5.2 to 6

Here's a lot about Rails 6 that we'd like to have https://blog.bigbinary.com/categories/rails-6/

It would be nice to have rails 6 in this template.

authors: OlivierJM kaka-ruto

repo: kaka-ruto/nipishe


text:
Bubble the dropdown button toggle click event

Hey!
So, currently if I have multiple bs-dropdown dropdowns, when I click on two of the toggle dropdown buttons, both dropdowns remain open. What I would expect is for the first dropdown to be closed when a second toggle is clicked.
This PR fixes that. If this can be done in a better way, I'm open to suggestions.
Thanks!

PR #445 should also address this issue.

@jeloba Yes, it does! Thanks for a better fix. :)

authors: jeloba smottt


text:
Top To Bottom Joined?

Is it possible to have topToBottomJoined and bottomToTopJoined the same way it works for left/right joined?

Yeah this can be done. Will  be next build.

Awesome! thanks @kalismeras61

This is has been done. Please use page_transition: ^2.0.5

awesome thanks!!


text:
do_predict?

Hi,
Can the script do predict? I may miss it, but I didn't see a "do_pred" flag.

Hi @acmilannesta,
do_predict added.

Great, thx so much!
One more issue for "create_finetuning_data.py", I got the following error when I run in colab:
    !python /content/ALBERT-TF2.0/create_finetuning_data.py \
        --input_data_dir=/content/input \
        --spm_model_file=/content/drive/My\ Drive/albert_model/large/vocab/30k-clean.model \
        --train_data_output_path=/content/input/train.tf_record \
        --eval_data_output_path=/content/input/eval.tf_record \
        --meta_data_file_path=/content/input/meta_data \
        --fine_tuning_task_type=classification \
        --max_seq_length=142 \
        --classification_task_name=COLA

Traceback (most recent call last):
  File "/content/ALBERT-TF2.0/create_finetuning_data.py", line 149, in <module>
    app.run(main)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "/content/ALBERT-TF2.0/create_finetuning_data.py", line 137, in main
    input_meta_data = generate_classifier_dataset()
  File "/content/ALBERT-TF2.0/create_finetuning_data.py", line 122, in generate_classifier_dataset
    do_lower_case=FLAGS.do_lower_case)
  File "/content/ALBERT-TF2.0/classifier_data_lib.py", line 832, in generate_tf_record_from_data_file
    train_input_data_examples = processor.get_train_examples(data_dir)
  File "/content/ALBERT-TF2.0/classifier_data_lib.py", line 269, in get_train_examples
    self._read_tsv(os.path.join(data_dir, "CoLA", "train.tsv")), "train")
  File "/content/ALBERT-TF2.0/classifier_data_lib.py", line 113, in _read_tsv
    for line in reader:
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/lib/io/file_io.py", line 220, in __next__
    return self.next()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/lib/io/file_io.py", line 214, in next
    retval = self.readline()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/lib/io/file_io.py", line 178, in readline
    self._preread_check()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/lib/io/file_io.py", line 84, in _preread_check
    compat.as_bytes(self.__name), 1024 * 512)
tensorflow.python.framework.errors_impl.NotFoundError: /content/input/CoLA/train.tsv; No such file or directory

It seems to ask for a CoLA directory, while classification_name only accepts "COLA".

Great, thx so much!
But do you also need to add something like prediction data output in "create_finetuning_data.py"?

@acmilannesta
for running predict, additional flags
--do_predict --predict_data_path=${OUTPUT_DIR}/${TASK_NAME}_predict.tf_record --input_data_dir=${GLUE_DIR}/

Epoch 1/3
7698/7698 [==============================] - 9878s 1s/step - loss: 0.8664 - accuracy: 0.7629 - val_loss: 0.0000e+00 - val_accuracy: 0.0000e+00
Epoch 2/3
2445/1925 [======================================] - 2886s 1s/step - loss: 0.5667 - accuracy: 0.8351
Got it. Now I got into another issue. It seems the 2nd training epoch will use my validation set. My training set has 7698 batches, and my validation set has 1925 batches.

Second epoch won't use validation dataset as training set, even though it seems like that.
Model.fit api has known issues when tf.data is given as input , steps calculation issues.
Only after first epoch model will know the complete data size . Ignore it.
You can also train using --custom_training_loop

Thank you!
I've just run my model on AWS g4dn.xlarge (Tesla T4 GPU) VM. However, it almost took 3 times longer than running bert-base model. Here is my code:
    os.system(
    '/home/ubuntu/py3env/bin/python3.6 ALBERT-TF2.0/run_classifer.py \
        --train_data_path=input/COLA_train.tf_record \
        --eval_data_path=input/COLA_eval.tf_record \
        --predict_data_path= input/COLA_predict.tf_record \
        --input_data_dir=input/CoLA \
        --input_meta_data_path=input/COLA_meta_data \
        --albert_config_file=base_2/config.json \
        --task_name=CoLA \
        --spm_model_file=base_2/vocab/30k-clean.model \
        --output_dir=output \
        --init_checkpoint=base_2/tf2_model.h5 \
        --do_train \
        --do_eval \
        --do_predict \
        --train_batch_size=16 \
        --eval_batch_size=16 \
        --learning_rate=5e-5 \
        --max_seq_length=142 \
        --num_train_epochs=3'
        --custom_training_loop'
    )

@acmilannesta
How much time for bert and Albert ?

About 170-175 ms/step on bert
480-490 ms/step on albert
Kamal Raj notifications@github.com 于2019年11月11日周一 上午8:10写道：

@acmilannesta https://github.com/acmilannesta
How much time for bert and Albert ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kamalkraj/ALBERT-TF2.0/issues/3?email_source=notifications&email_token=ALL6NUWY7UFIKTTK6X4CWV3QTFKTTA5CNFSM4JJMRWA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWY3FA#issuecomment-552439188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALL6NUWUQN4MF2UYGU5MKELQTFKTTANCNFSM4JJMRWAQ
.

Which implementation of bert are you using ?
Is batch size same in bert and albert training ?

I used a package called keras_bert (https://github.com/CyberZHG/keras-bert), whcih basically load ckpt into keras model.
Yes, the batch size is same = 16.

TensorFlow version for keras_bert ?

Yes.

Tensorflow 1.X or 2.0 ?

I think both work. But I'm running on 1.x

Tensorflow 2 is slower than 1.x
https://github.com/tensorflow/tensorflow/issues/33487

https://github.com/tensorflow/models/tree/master/official/nlp/bert
TF 2.0 implementation of BERT

I see. Let me try this

The above one runs on TensorFlow 1.15

I just tried. About 2.4 steps/seconds (416 ms/step).

https://github.com/tensorflow/tensorflow/issues/33487#issuecomment-543652394
Based on this comment, would you suggest turning off eager in tf2.0 to run your codes?

@acmilannesta
Try and let me know the results

Unfortunately, it doesn't allow for disabling eager in tf2.0.
Kamal Raj notifications@github.com 于2019年11月11日周一 下午1:01写道：

@acmilannesta https://github.com/acmilannesta
Try and let me know the results
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kamalkraj/ALBERT-TF2.0/issues/3?email_source=notifications&email_token=ALL6NUSJ64UUGRPMVMBHOCTQTGMYFA5CNFSM4JJMRWA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDXTVQI#issuecomment-552549057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALL6NUSGQ6ODPQ6NIJQGXZLQTGMYFANCNFSM4JJMRWAQ
.

authors: acmilannesta kamalkraj


text:
Symfony 3.0 compatibility?

What are the plans for 3.0 compatibility?

omw @carriera  I'm planning to update it soon. Pull request are welcome.

authors: carriera kamilZ


text:
Does not work with textarea

I tried to use it with text area but it was not showing scroll

Could you please provide a fiddle?

Here is a Codepen of the same issue. Please let us know if you find a resolution!

@FizzyGalacticus Though I haven't checked the fiddle ( on mobile), I can guess that this plug in wasn't created to work with textarea because we can't have child elements under textarea to replicate the scrollbar.

authors: FizzyGalacticus kamlekar vishalmane

repo: kamlekar/slim-scroll


text:
Nanoseconds scale for uptime

Some cleanup of code that used microseconds that needs to be moved to
nanoseconds for the math to work.

Resolves #1022

Coverage decreased (-0.01%) to 81.923% when pulling fd74b3ea948b1119507b533d0c7d04430015cdec on uptime-to-nanoseconds into 4478a8c1cefab7c7cba8c9facf6ed9bf958593c2 on master.

authors: coveralls kammce


text:
Add I2C Documentation

Resolves #761
Resolves #805
Resolves #722

Coverage remained the same at 77.569% when pulling dd0a657b0aebff341a88c40aad788119aa616f54 on i2c-api into ad52bf5a062a8dec43b88e0c3e41f305551ca0f3 on master.


text:
Change Item Template error Unicorn thrown exception

I got an error when changing item template. It happens on every template in my Sitecore instance, whenever I make a change, after the Next button in change template Popup, it shows the blank popup but my expectation is a popup with success text. See image below
The info popup show we change item template

After clicking the Next button

Totally blank.
And Sitecore logs has thrown an exception:

Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Unicorn
at Unicorn.Data.DataProvider.UnicornDataProvider.ChangeTemplate(ItemDefinition itemDefinition, TemplateChangeList changeList, CallContext context)
at Unicorn.Data.DataProvider.UnicornSqlServerDataProvider.ChangeTemplate(ItemDefinition itemDefinition, TemplateChangeList changeList, CallContext context)
at Sitecore.Data.DataProviders.DataProvider.ChangeTemplate(ItemDefinition item, TemplateChangeList changes, CallContext context, DataProviderCollection providers)
at Sitecore.Data.Managers.TemplateManager.ChangeTemplate(Item item, TemplateChangeList changes)
at Sitecore.Data.Items.Item.ChangeTemplate(TemplateItem template)
at Sitecore.Shell.Applications.Templates.ChangeTemplate.ChangeTemplateForm.ChangeTemplate()
at Sitecore.Shell.Applications.Templates.ChangeTemplate.ChangeTemplateForm.ActivePageChanged(String page, String oldPage)
at Sitecore.Web.UI.Pages.WizardForm.set_Active(String value)
at Sitecore.Web.UI.HtmlControls.Button.DoClick(Message message)

Iam using Sitecore 8.0 Update 3 and the latest 4.3 Unicorn version.
Please help,
Thanks.

For more information, I am using transparent sync to restore content item and template from existing SQL Database, then put it into source control so we I setup the instance everywhere without restore database.

Can you share the YML for the template, item and standard values in question please?

repo: kamsar/Unicorn


text:
いいところ診断の結果に優しさを追加したい

以下の結果をしたい
'{useName}のいいところは優しさです。あなたの優しい雰囲気や立ち振る舞いに多くの人が癒されています。'

これから対応します。

${commit_hash}で対応されました。


text:
Update practice-exam-13.md

The correct answer for Question 34 should be C. Region.
An Availability Zone IS, and does not "CONSIST" of one or more discrete data centers interconnected through low latency links.
Regions CONSIST of availability zones.

Not sure that this is true.
For example: "Our solar system consists of eight planets and the sun."
From AWS docs:
"Availability Zones consist of one or more discrete data centers, each with redundant power, networking, and connectivity, and housed in separate facilities."
link:
https://docs.aws.amazon.com/whitepapers/latest/get-started-documentdb/aws-regions-and-availability-zones.html


text:
DPS5015 v2.6 Display blank

Hello!
Has anyone tried to flash a DPS5015 hardware rev. 2.6 with opendps recently?
I noticed that the background light is contantly on but nothing is getting displayed after flashing.
After that I wanted to build opendps on my own but that doesn't work either on windows nor on linux (debian 11) with the latest checkout.
Any advice regarding how to get the display working would be very appreciated.

Thanks for the help. I was able to flash it successfully with PR #241 by building it on my own.

repo: kanflo/opendps