cannot generate tsx types

Problem
dts does not correctly generate types for tsx files when using a specific tsconfig.
# File Struct
.
├── src
├── tsconfig.example.json
├── tsconfig.json
├── tsconfig.src.json
└── vite.config.ts

// tsconfig.json
{
  "files": [],
  "references": [
    { "path": "./tsconfig.example.json" },
    { "path": "./tsconfig.src.json" }
  ]
}

// tsconfig.src.json
{
  "compilerOptions": {
    "target": "ESNext",
    "useDefineForClassFields": true,
    "lib": ["ES2020", "DOM", "DOM.Iterable"],
    "module": "ESNext",
    "skipLibCheck": true,

    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "noUncheckedIndexedAccess": true,
    "isolatedModules": true,
    "noImplicitOverride": true,
    "moduleDetection": "force",
    "noEmit": true,
    "jsx": "react-jsx",
    ^^^^^^^^^^^^^^^^^^^
    "strict": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noFallthroughCasesInSwitch": true
  },
  "include": ["src"]
}

run command
pkgroll -p tsconfig.src.json

# got an error
src/index.ts(2,15): error TS6142: Module './components/stats' was resolved to
'/xxx/src/components/stats/index.tsx', but '--jsx' is not set.
                                       ^^^^^^^^^^^^^^^^^^^^^^^

https://github.com/privatenumber/pkgroll/blob/2a988e454bd8fd163b567e5fa2e67ab89864c3f3/src/utils/get-rollup-configs.ts#L61
Expected behavior
I found that it was because the specified tsconfig path was not passed to rollup-plugin-dts, so rollup-plugin-dts used the root path's tsconfig.json by default
Just pass the specified tsconfig path to rollup-plugin-dts to fix this problem.
Minimal reproduction URL
https://stackblitz.com/edit/stackblitz-starters-ayudec
Version
v2.5.0
Node.js version
v22.6.0
Package manager
pnpm
Operating system
macOS
Bugs are expected to be fixed by those affected by it

[X] I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

[ ] I'm willing to offer financial support

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unable to make it work

idk if im doing anything wrong but i followed every step to the tee,
but still unable to make the mod work.

It works


OAuth 2.0 tokens: New web services endpoints to request access and refresh token

I just quote this part from Withings' changelog:

[06/07/2020]
...
OAuth 2.0 tokens: New web services endpoints to request access and refresh token. Add a signature mechanism scheme to not transmit the client secret. To get more information, please refer to OAuth 2.0 services section.

I guess the getBaseAccessTokenUrl method should return https://wbsapi.withings.net/v2/oauth2 instead?
    public function getBaseAccessTokenUrl(array $params)
    {
-        return static::BASE_WITHINGS_URL.'/oauth2/token';
+        return static::BASE_WITHINGS_API_URL.'/v2/oauth2';
    }

Thank you for pointing this out. I've added this change to our internal backlog, meanwhile the existing access token URL is still active. We're also open to Pull Requests if you'd like to make this update yourself.

@acleitner  Just FYI - Old endpoints for tokens will be disabled in september (https://support.withings.com/hc/en-us/articles/360016745358--BREAKING-Deprecating-access-and-refresh-tokens-endpoints)

@mipapo thanks for flagging this. I have updated the existing ticket I created back in November with this additional info and increased its priority.

Thanks  - Issue can be closed


🔔 [Request]: Add Google Colaboratory icon

🔎 Information:

Title: Google Colaboratory
Category: AI
Source (.svg): https://upload.wikimedia.org/wikipedia/commons/d/d0/Google_Colaboratory_SVG_Logo.svg
Website: https://colab.research.google.com/

📝 Checklist:

[x] I have permission to use this logo.
[x] The link I have provided is optimized for web use.
[x] The size of the SVG is less than 20kb.

Ready 🚀

https://github.com/pheralb/svgl/commit/3b88bc83c2c660fdb9ee849debd220705cc7b02c


CASMTRIAGE-4003 - Update documentation for console-node pod migration.

Description
This adds a troubleshooting page for how to add 'anti-affinity' for pre-CSM-1.3.0 versions for cray-console-node pods so they will not cluster on the same worker node.  I have also updated the 'connect to an NCN' documentation to refer to that troubleshooting page and clarify when pod evacuation is recommended.
Checklist Before Merging

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see [example][1]).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in [Cray-HPE][2].
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.0


Custom Log Handlers

Would it be possible to expose logging rather than having the client handling it itself ? Currently, I have to simply turn it off through the SLACK_LOG_LEVEL env variable.

You could do something like this as long as your logger conforms to the same (normal?) logging interface with info/debug/error/etc methods.
var client = new Slack(...)
client.logger = yourOwnLogger
client.login()

Manually messing with instance variables like that probably isn't the greatest thing in the world, so maybe something like client.setLogger() or an argument in the constructor would be a little nicer. But it should be possible currently.

Thanks - that's a great fix for now. We're looking into doing some re-design work on the client and I'll ensure that getting a better logging setup gets wrapped into the feature bucket for that

Having a method to change the logger is indeed a better solution while changing the instance variable is a nice temporary hack. In case this feature is added to the client, would be just necessary to clearly define the logging interface since there is multiple standards for the methods names (error vs. err, warn ing vs. warn).

Ok, first off, I apologize for how long it's taken us to resolve this issue.
I just pushed the 2.0.0 release for this library, which is a ground up refactor with the aim of building a lib that both Slack and our external contributors can easily work with and improve.
It also allows you to pass in your own logger function when you construct a client, for example:

var RtmClient = require('slack-client').RtmClient;

var token = process.env.SLACK_API_TOKEN || '';

var rtm = new RtmClient(token, { logLevel: 'debug', logger: function() {} });
rtm.start();

rtm.on('message', function handleRtmMessage(message) {
  console.log(message);
});

So, I'd suggest that the best way to resolve these issues is to upgrade to the latest version. If you have any problems in doing that, please create a new issue and I'll try and help you in there.


Fis alignment

Issue: https://issues.jboss.org/browse/ENTESB-9000
Master PR: https://github.com/fabric8-quickstarts/spring-boot-cxf-jaxws/pull/101
Alignment of quickstart spring-boot-cxf-jaxws.
Do not merge this PR yet!
(all FIS2.0 quickstarts have to be merged consistently to avoid issues like https://issues.jboss.org/browse/ENTESB-11705)

@JiriOndrusek Is this PR still needed?  Seems old.

@JiriOndrusek Is this PR still needed?

@cunningt to be honest, I'm not about fis quickstarts. What do you think @valdar?


Methods for switching between session, arrangement, device and clip view

hi, is it possible to add api calls for these:

open arrange view
open session view
show device view
show clip view
unfortunately these seem to be tied together, i.e. tab will do arrange or session. and shift-tab will do device or clip.
but i'd prefer to separate them so can call device-view at will, or session-view at will.

I've just had a quick look at the docs. Not exactly sure how this is achieved but I suspect using Live.Application.Application.View.focused_document_viewProperty.
This won't be a priority for me right now I'm afraid, as I have a big backlog of other issues and only have limited time to work on the project, but I always welcome code submissions!

@ideoforms is there a place where others that work on AbletonOSC talk? I'd like to figure this out, because there's a secondary ticket i've opened up about changing warping and loop on/off and this type of stuff, and if I could figure out what the longform/shortform methods for adding to this repository would be like, i.e. how to implement more stuff from the API documents into AbletonOSC, it would be pretty awesome.

@ideoforms if you have any pointers as to how call that property, or set the property, i mean, if i could do a mockup trial on the macOS Terminal, or modify something that already exists, and get the results, i could try and make a PR. but i currently don't know much about the actual process of doing this type of stuff.
any chance you could tutor me a bit?

i tried to figure this out myself but so far i can't make any sense of pythonosc + abletonosc and the different handlers and live.py clip.py and run-console.py
but let's see if there's some way of o1-previewing it up


could not recover wallet

Had to temporarily delete Zap, in order to have enough storage to download iOS13.
After updating & re-installing Zap, i clicked on „recover wallet“ and typed in the 24 word seed i was given when creating my Zap Wallet. The Wallet does not show up, and my Balance is still 0.
unfortunately, i don‘t remember the public key of the address i had the funds on.

are you in the right app? we have testnet and mainnet apps.

@ottosuess
yes, i‘m sure it is mainnet.

issue still not solved. couldn't recover in another wallet either. tried recovering in Zap iOS (after Update), BlueWallet, WasabiWallet. not sure what went wrong here. fortunately i didn't lose a lot of sats, but is anyone looking into this?

afaik blue wallet and wasabi don't use the same seed format as lnd.
have you tried using lnd directly?

afaik blue wallet and wasabi don't use the same seed format as lnd.
have you tried using lnd directly?

maybe i'm missing something here, but the funds are sitting on a bech-32 adress. shouldn't i be able to recover the funds with any BIP39-compatible Wallet? i had no funds on LN.

lnd (and therefore zap) isn't using BIP39. it's using something called aezeed: https://github.com/lightningnetwork/lnd/tree/master/aezeed

lnd (and therefore zap) isn't using BIP39. it's using something called aezeed: https://github.com/lightningnetwork/lnd/tree/master/aezeed

in that case, this at least explains why i can't sweep with other wallets lol.
unfortunately i can't check if it's working with lnd directly.
maybe add a warning to the App, that the App is still in Testing, and therefore Funds are at Risk until someone found the Reason/Solution to the Problem?
The Casual Bitcoin User, testing Zap, will probably assume that the Recovery Seed is BIP39, because this is kind of the Industry Standard now. Probably best to mention that somewhere aswell, to avoid confusion & Risk of losing Funds?

Well, i was in the same situation until i sorted professional help. These guys helped me recover my wallet private key [secrettruthhackers.imfast.io], what would i have done when my wallet had investors bitcoin in there? Thanks to the secrettruthhackers.


put PPS on a pulldown

This is active high, and not likely to be connected to
anything in the first place. Setting it on a pulldown is cleaner.

We have tested this on pathfinder today.


to add some gaps to tags and social icons and change font color and these are not structed

Tags and Social section
to add some gaps to tags and social icons and change font color and these are not structed

#258 already there


Add 'fast' profile

Allow to provide settings that circumvent certain steps (e.g. Checkstyle validation)
when they are not deemed necessary.

LGTM


Consistent dependency injection of SwaggerOptions and SwaggerUIOption…

…s when using a setup action on the UseSwagger and UseSwaggerUI methods.

This PR resolves issue #1829

This PR resolves issue #1829

@nuttytree - we need to revisit this PR. While it introduces some additional consistency, it removes the flexability to configure multiple instances of the middleware with different configurations. For example, the following configuration to emit v2 and v3 versions of the Swagger/OpenAPI JSON side by side is now broken:
app.UseSwagger(c =>
{
    c.RouteTemplate = "swagger/{documentName}/swagger.json";
    c.SerializeAsV2 = true;
});

app.UseSwagger(c =>
{
    c.RouteTemplate = "/swagger/{documentName}/openapi.json";
});

@nuttytree - we need to revisit this PR. While it introduces some additional consistency, it removes the flexability to configure multiple instances of the middleware with different configurations. For example, the following configuration to emit v2 and v3 versions of the Swagger/OpenAPI JSON side by side is now broken:
app.UseSwagger(c =>
{
    c.RouteTemplate = "swagger/{documentName}/swagger.json";
    c.SerializeAsV2 = true;
});

app.UseSwagger(c =>
{
    c.RouteTemplate = "/swagger/{documentName}/openapi.json";
});

I just got done with really rough day at work trying to track down a very problematic bug.  I will take a look tomorrow and see if I can come up with a solution.

I just got done with really rough day at work trying to track down a very problematic bug.  I will take a look tomorrow and see if I can come up with a solution.

@nuttytree no worries - I went ahead and pushed the following change - b6c6919c8fc19394f767d6159bb6286036e2e843, which feels like a decent compromise. Basically, if you use the overload that accepts a setup action Action<SwaggerOptions> then your using the DI-injected options. Alternatively, if you want to configure multiple instances of the middleware with independent options, then you use the overload that accepts a SwaggerOptions instance.

@nuttytree no worries - I went ahead and pushed the following change - b6c6919c8fc19394f767d6159bb6286036e2e843, which feels like a decent compromise. Basically, if you use the overload that accepts a setup action Action<SwaggerOptions> then your using the DI-injected options. Alternatively, if you want to configure multiple instances of the middleware with independent options, then you use the overload that accepts a SwaggerOptions instance.


dhcpcd doesn't provide much info if it fails to listen on the link local ipv6 address

dhcpcd 9.4.1 doesn't provide much info if it fails to listen on the link local ipv6 address.  It just seems to sit there doing nothing.  The only info it provides is if debug mode is enabled it outputs "delaying Router Solicitation for LL address" and "delaying DHCPv6 for LL address" .
This occurred when I was restarting dhcpcd a few times while getting the config the way I wanted it and for some reason the link local ip address disappeared on my wan interface and then even when restarting the interface to re-add the link local address, dhcpcd didn't seem to listen on it properly even though it was saying "net1: adding address <my_link_local_address>".  I eventually decided to reboot Linux to get it working again.

Well, that's really all the information dhcpcd has. It needs a LL address to work. If there is none present during startup then it will add one. But it still needs to wait for it to become useable which takes a few seconds.
I notice in your other issue you are using the release directive - try removing that and see if it helps. Unlikely but it's all I've got.

I have run into this bug again after an hour long outage and after adding some more debugging to src/ipv6.c dhcpcd 9.5.1 , it looks like it thinks fe80::523e:aaff:fe0c:2915 on my internet interface (net1) isn't link local even though ip addr show dev net1 says scope link for the address.

dhcpcd logged that it deleted the fe80 address when carrier was lost.  I'm wondering if that's what caused the problem.  I might do a cable unplug later to see if that is causing the problem.

Oh I also found https://medium.com/opsops/how-to-restore-link-local-ipv6-address-in-linux-737666a505f3 which says how to regenerate the link local ip address.

Actually looking a bit more that didn't make sense as it is fe80 that determines a link local address.  It looks like addr_flags is 0x44 for that address which on Linux apparently means it is in the TENTATIVE state.

Removing (!revflags || !(ap->addr_flags & revflags)) from if (IN6_IS_ADDR_LINKLOCAL(&ap->addr) in function: ipv6_iffindaddr has allowed IPv6 to work again on my server even though it still thinks ap->addr_flags is set to 0x44

Actually it looks like it only allowed accepting of the router advertisement to work.  DHCPv6 still isn't working.

I realise it's not the proper way to do it, but removing (ctx->options & (DHCPCD_MANAGER|DHCPCD_PRIVSEP)) == DHCPCD_MANAGER from the if test in dhcp6_start1 got dhcpcd to listen on the network interface for DHCPv6.

This might be resolved by this commit: 45e441ada6d3ea4355d623cf12d9a559a5c2afde

Actually looking a bit more that didn't make sense as it is fe80 that determines a link local address. It looks like addr_flags is 0x44 for that address which on Linux apparently means it is in the TENTATIVE state.

Right, so when the address comes out of the tentative state dhcpcd will start using it. It needs to wait for that to happen.
The above commit solves this problem with PPP interfaces and maybe some others. Can you test it please?

I just updated from dhcpcd 9.5.1 (latest stable in Gentoo) to dhcpcd 10.0.1 without applying commit: 45e441a patch and it looks like 10.0.1 doesn't have the problem.


WebDataset with a directory URL could fail due to missing class.

Please check whether this line doesn't contain a spelling error. I don't see such a class in the  webdataset.shardlist  module.

Thanks; fixed.

Thank you for introducing a fix!


CPU usage drops after several steps

I am running a tensorflow computation graph. The same graph was running fine before but all of a sudden I noticed that after several steps and checkpoint the CPU usage drops from more than 600% to 100% for the rest of the session. It seems like all executors are dying (when saving maybe) and the computation keeps running on only 1 Core shooting up and down from 100 to 200%.
I also posted the issue on stack overflow: https://stackoverflow.com/questions/47720893/tensor-flow-cpu-usage-drops-after-saving
Archive.zip

Any logs? I'm assuming this is training? Single machine? What does nvidia-smi say? Can you fill out the template with system arch etc?

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Thank you.
here are the info
Have I written custom code:
YES
OS Platform and Distribution:
MacBook Pro (Retina, 15-inch, Mid 2015)
Processor 2.8 GHz Intel Core i7
Memory 16 GB 1600 MHz DDR3
TensorFlow installed from
using pip
TensorFlow version
1.4.1
Bazel version
Build label: 0.4.4-homebrew
Build target: bazel-out/local-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Feb 2 01:06:46 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>
CUDA/cuDNN version
N/A
GPU model and memory
N/A
Exact command to reproduce
I provided the code.
I was running very similar code on jupiter notebook for maybe 1 month. All of a sudden I started having the CPU dropping issues. Those issues are not persistent and I am getting no error message or warning.
Any logs? No or not sure where to get them
I'm assuming this is training?  Yes
Single machine?  Yes
Thank you.

Can you post code that reproduces the problem?


Fixed copy/paste error in readme

:)

thanks a lot andreas - getting older, so more bugs like that for me :)

I had a deja vu moment for a bit before realizing this was a different project. :-)


Fix Portuguese accent in documentation

The project has pretty bad English. This should be fixed. All project docs were written in a hurry and I don't have much experience with writing english documentation so I do appreciate if someone help me with this.

[x] README.md

Heh, even this ticket needs help with bad English. Let's try this:
"Fix Portuguese accent in documentation
The project has pretty bad English. This should be fixed."
I have absolutely no idea what "in XGo Horse mode on with a little of suicide naste." is even supposed to mean. It just sounds like random words thrown together.

Done! @boxed

#12

Hahahaha

Sorry for my autism

is even supposed to mean. It just sounds like random words thrown together.

Kill me please! :laughing:


SDL2: fix cross-compilation

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux (cross-compiled
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[x] Fits CONTRIBUTING.md.

Maybe doing this would be sufficient?
https://github.com/Mindavi/nixpkgs/commit/faf6a266badf04e23aed926fdc2fbf13e7005bee

We can do better by switching to cmake, https://github.com/NickCao/nixpkgs/commit/b4c6b4e21360b0129d180700d8d3dcf69eaa00a6, it alse greatly simplifies the packaging.

I think it would be better to put wayland-scanner in nativeBuildInputs and replace $(WAYLAND_SCANNER) with simply wayland-scanner. Taking buildPackages as function argument makes it difficult to override waylang-scanner externally.

Updated based on the suggestion by @ehmry. I think this makes sense. Building now... Not expecting any issues with this alternative approach (and it looks cleaner too).


Cache travis downloads

I'm unable to re-open https://github.com/SciTools/iris/pull/1848, so have to create a new PR.
This is really an option to allow us to download less stuff. It may very well lead to an optimisation of travis runs (once the first cache has been created).

so have to create a new PR.

Did you know you can run Travis-CI on your own fork? You don't need a PR, just push to a branch.

You don't need a PR, just push to a branch.

That's why I closed the PR in the first place (so I could try this out). I've done that now, and it is good to go (though I still have no idea if there is a performance reason for doing this).


What happened to bernardphp.com?

It expired, and now somebody else took it. Docs are up at http://bernard.readthedocs.org/

If somebody comes up with a good idea for a domain, i will gladly purchase it.

bernardphp.io and bernardphp.net are both free:
https://www.namecheap.com/domains/registration/results.aspx?domain=bernardphp.io

never really liked the php part of the name.

Me neither, but bernard is not a fantasy name, very likely most of bernard.TLD will not be available. Checking though

We could use the flint name and just have bernard.flint.xx or something ? or is that a bad idea/

Hm, I think bernard is big enough to have it under a custom domain.
Some free bernard domains:
bernard.pw (professional web)
bernard.software
But these are not the best though....

The js community have {project}.js.org, why doesn't php have that :/

Yeah, would be nice.

php.group
php.ong
domains are available, but I guess it's not the same :(


Drug index: validate against disease index

As part of the drug index, we should only include indications that have identifiers in the efo index. This will filter out indications not relevant to open targets. In turn this will help ensure that links and information displayed is relevant and accessible in the rest of the platform.
This should be done following the existing disease validation process that evidence uses.

Done in branch af-drug


adding unitless dimensions for lansen devices (0x3a)

updating release 0.9.0 with changes for unitless dimensions

merging this so we have a commit number to refer to


Postgres monitors

Opening this on behalf of a customer..
Is your feature request related to a problem? Please describe.
Would like the ability to build Postgres monitors via AS3.  This is the last major component missing from AS3 to cover our workloads.
Describe the solution you'd like
Build Postgres monitors via AS3, similar to mysql monitors
Describe alternatives you've considered
Build monitor outside the declaration and then referencing it in the declaration.
Additional context
Like the request for the mysql monitors (issue 301), we would like all configurable items exposed via AS3.  Thank you.

Thank you for your feedback. This has been added to our internal product backlog as AUTOTOOL-2156.

Thank you for your feedback. This has been added to our internal product backlog as AUTOTOOL-2156.


Conflicts with compass-normalize?

Hi,
I was using Compass-normalize in an old project. When I was looking for a normalize component, I inadvertently skipped this one and went with the first. For a new project though, I wanted to make sure I'm using this repo, as it's maintained and updated frequently (Compass-normalize is a few years old without any recent updates). So I switched the require statement in config.rb from 'compass-normalize' to 'normalize-scss' and figured I'm good to go. Then, a closer look at my css output, reveals a horrible bug (or feature?). The css output remains that of "compass-normalize". I enabled source comments to find out where the css emits from, and it's most definitely coming from gems/compass-normalize. I have no idea why it does that when I altered my require statement. It seems like uninstalling 'compass-normalize' fixes it, but I cannot uninstall it, as it's a dependency in some of my older projects.
Anyone moving from that old normalize repo to this repo, read the usage instructions carefully. While the old one requires a simple import statement 'import "normalize"', this one requires another line "include normalize()" which of course, calls a mixin. I also didn't notice 'support-for' is required, since I simply switched the require statement and my code compiled just fine. It's up until I noticed the css output is that of "compass-normalize".
Any solution or just a compass bug?
Thanks.

I suspect that you aren't using Bundler. Bundler allows you to manage your Ruby Gem dependencies per project. That's crucial when different project require different versions of a Gem. And I suspect it will fix the problem of compass-normalize and normalize-scss having a _normalize.scss partial.
http://bundler.io/rationale.html

Thanks, I'll try that.

Ok, Bundler indeed solves the problem. Since I'm using Grunt to watch my sass files, I had to pass 'bundleExec: true' to contrib-compass. :)


user _limitZoom in flyTo, like we do in resetView

Thanks :)

We need the done because else if zoomend is never called, it would be still successfull

Ah, damn, you're right!


MXSession: V2 sync joining.

Implement joinRoom action in case of server sync v2 use.

LGTM

related to https://github.com/matrix-org/matrix-ios-sdk/pull/28


what practice should we follow for example modules sources?

Problem definition
When providing HCL code in examples directory to illustrate a module’s features, we have to define the source for the module. Simplifying a bit, there are two main choices: the git repo or the public registry.
Regardless of the choice for OCI Terraform modules, it should be consistent across examples and modules.
proposed Solution
Only module developers should have to git clone the module repo, while users should consume from the public registry.
As a consequence, examples should use the registry as source, so the users can start consuming the module directly, without having to manually git-clone the module first.
This pattern helps driving download stats on the public register and get better exposure.
I can understand that having local path is convenient when testing the modules. But the examples directory’s primary usage is for a user to consume the module with minimum interaction.
We can definitely create another test folder with hcl code referring to local path for testing purpose, used during development.
I would advise to revert the change in PR #84 back to source from public registry.
Originally posted by @kral2 in https://github.com/oracle-terraform-modules/terraform-oci-vcn/pull/84#issuecomment-1080334512

@kral2 - I see your point. The problem we were trying to solve here is to avoid that the examples are not working when someone just clone the repo.
I’ll think about how we can address both needs

Side note: @snafuz, could you convert this gh issue into a gh discussion?
Why would examples sourced from the public registry not work when cloning the repo? Suppose some recently merged commits are not part of a release tag yet. In that case, this is expected and temporary behavior related to a recent update. But examples code probably lives more time as part of a release tag than not.
This discussion also triggers the choice of specifying a module version or not. I would prefer not to set the module version to default using the latest available version. If a user needs to use a specific version of the module (not the latest) or one that is not even released yet, that's an advanced use case and could justify some extra steps, like changing the source or specifying a particular version.


Not installing in python 2.7 for windows

I tried conda and several virtual environment, but I am still getting this error (below).  I think something is missing from numpy or scipy.  Can anyone help?
Collecting scs
  Using cached https://files.pythonhosted.org/packages/f2/6e/dbdd778c64c1920ae357a2013ea655d65a1f8b60f397d6e5549e4aafe8ec/scs-2.1.1-2.tar.gz
Requirement already satisfied: numpy>=1.7 in c:\users\test1\opti\test2\opt2\lib\site-packages (from scs) (1.16.4)
Requirement already satisfied: scipy>=0.13.2 in c:\users\test1\opti\test2\opt2\lib\site-packages (from scs) (1.2.2)
Building wheels for collected packages: scs
  Building wheel for scs (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\users\test1\opti\test2\opt2\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\test1\\appdata\\local\\temp\\pip-install-axzeuh\\scs\\setup.py'"'"'; __file__='"'"'c:\\users\\test1\\appdata\\local\\temp\\pip-install-axzeuh\\scs\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'c:\users\test1\appdata\local\temp\pip-wheel-wcoe2o' --python-tag cp27
       cwd: c:\users\test1\appdata\local\temp\pip-install-axzeuh\scs\
  Complete output (92 lines):
  Namespace(blas64=False, extraverbose=False, float32=False, gpu=False, int32=False, scs=False)
  c:\users\test1\opti\test2\opt2\lib\site-packages\setuptools\dist.py:483: UserWarning: The version specified ('2.1.1_2') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
    "details." % self.metadata.version
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-2.7
  creating build\lib.win-amd64-2.7\scs
  copying src\__init__.py -> build\lib.win-amd64-2.7\scs
  running build_ext
  lapack_opt_info:
      libraries = ['openblas']
      library_dirs = ['C:\\projects\\numpy-wheels\\numpy\\build\\openblas']
      define_macros = [('HAVE_CBLAS', None)]
      language = f77
  blas_opt_info:
      libraries = ['openblas']
      library_dirs = ['C:\\projects\\numpy-wheels\\numpy\\build\\openblas']
      define_macros = [('HAVE_CBLAS', None)]
      language = f77
  openblas_info:
      libraries = ['openblas']
      library_dirs = ['C:\\projects\\numpy-wheels\\numpy\\build\\openblas']
      define_macros = [('HAVE_CBLAS', None)]
      language = f77
  blis_info:
    NOT AVAILABLE
  openblas_lapack_info:
      libraries = ['openblas']
      library_dirs = ['C:\\projects\\numpy-wheels\\numpy\\build\\openblas']
      define_macros = [('HAVE_CBLAS', None)]
      language = f77
  lapack_mkl_info:
    NOT AVAILABLE
  blas_mkl_info:
    NOT AVAILABLE
  Could not locate executable g77
  Could not locate executable f77
  Could not locate executable ifort
  Could not locate executable ifl
  Could not locate executable f90
  Could not locate executable DF
  Could not locate executable efl
  Could not locate executable gfortran
  Could not locate executable f95
  Could not locate executable g95
  Could not locate executable efort
  Could not locate executable efc
  don't know how to compile Fortran code on platform 'nt'
  c:\users\test1\opti\test2\opt2\lib\site-packages\numpy\distutils\system_info.py:639: UserWarning:
      Atlas (http://math-atlas.sourceforge.net/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [atlas]) or by setting
      the ATLAS environment variable.
    self.calc_info()
  c:\users\test1\opti\test2\opt2\lib\site-packages\numpy\distutils\system_info.py:639: UserWarning:
      Blas (http://www.netlib.org/blas/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [blas]) or by setting
      the BLAS environment variable.
    self.calc_info()
  c:\users\test1\opti\test2\opt2\lib\site-packages\numpy\distutils\system_info.py:639: UserWarning:
      Blas (http://www.netlib.org/blas/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [blas_src]) or by setting
      the BLAS_SRC environment variable.
    self.calc_info()
  {}
  c:\users\test1\opti\test2\opt2\lib\site-packages\numpy\distutils\system_info.py:639: UserWarning:
      Lapack (http://www.netlib.org/lapack/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [lapack]) or by setting
      the LAPACK environment variable.
    self.calc_info()
  c:\users\test1\opti\test2\opt2\lib\site-packages\numpy\distutils\system_info.py:639: UserWarning:
      Lapack (http://www.netlib.org/lapack/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [lapack_src]) or by setting
      the LAPACK_SRC environment variable.
    self.calc_info()
  {}
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  cl : Command line warning D9002 : ignoring unknown option '-O3'
  rw.c
  scs/src\rw.c(7) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
  error: Command "C:\Users\test1\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DPYTHON -DCTRLC=1 -DDLONG=1 -DCOPYAMATRIX -Iscs/include -Iscs/linsys -Iscs/linsys/direct/ -Iscs/linsys/direct/external/ -Ic:\users\test1\opti\test2\opt2\lib\site-packages\numpy\core\include -Ic:\users\test1\anaconda2\include -Ic:\users\test1\opti\test2\opt2\PC /Tcscs/src\rw.c /Fobuild\temp.win-amd64-2.7\Release\scs/src\rw.obj -O3" failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for scs

Closing due to inactivity. @TonyMSc , feel free to re-open if this is still a problem and you have more information to share.


backport: hostpath: refuse to create block volumes

Without this check, the hostpath driver fails one of the E2E storage
tests in Kubernetes 1.13: provisioning a block volume is expected to
fail in
https://github.com/kubernetes/kubernetes/blob/e689d515f77cda51898045d626ec4070e3328194/test/e2e/storage/testsuites/volumemode.go#L329-L330
(cherry picked from commit 6820279e588166dfa0e0013f6669b1a090fa1a96)

/lgtm

@msau42 or @lpabon can your please approve?
@lpabon once its merged, you would need to tag it and then promote the 1.0-canary image to v1.0.1.
Without this I cannot update the Kubernetes E2E testing (https://github.com/kubernetes/kubernetes/pull/71742) because one test would fail.

@saad-ali please approve.

/lgtm
/approve

/check-cla


Update keysize for self signed certificate to 2048

Fix for #13  SSL_CTX_use_certificate:ee key too small. Bumped up the keysize to 2048

Thank you for noticing this issue and creating a PR, seems like a sensible new default to me


chore: fix entrypoint logic and refactor

What this PR solves / how to test
Fixes #000. This was supposed to fix (but doesn't) #6353. However, it does do a refactor that improves the code base and adds a relevant test case.
Author has addressed the following

Tests

[ ] TODO (before merge)
[x] Tests included
[ ] Tests not necessary because:

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[x] Required
[ ] Not required because:

Changeset (Changeset guidelines)

[ ] TODO (before merge)
[ ] Changeset included
[x] Changeset not necessary because: Small refactor

Public documentation

[ ] TODO (before merge)
[ ] Cloudflare docs PR(s):
[x] Documentation not necessary because: Bug fix

I'm pretty sure the fix for the original issue is to change https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/src/dev/miniflare.ts#L291-L292 to const modulesRoot = config.bundle.entry.moduleRoot;

I'm pretty sure the fix for the original issue is to change https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/src/dev/miniflare.ts#L291-L292 to const modulesRoot = config.bundle.entry.moduleRoot;

Or better yet, make miniflare respect the config setting? We have build.moduleRoot in the config object, we just don't pass it through when generating the miniflare config.

Or better yet, make miniflare respect the config setting?

I'm not sure I get the distinction here—config.bundle.entry is the config setting. It comes from https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/src/dev/use-esbuild.ts#L233. Once we get rid of the non --x-dev-env flow we can probably pass it through to miniflare.ts from the LocalRuntimeController more cleanly

@penalosa ah, got it. Thanks for pointing that out 👍
Config is a bit messy and could do with some consolidation I think.

I'm pretty sure the fix for the original issue is to change https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/src/dev/miniflare.ts#L291-L292 to const modulesRoot = config.bundle.entry.moduleRoot;

@penalosa, I think this change is causing the E2E tests to fail. From what I can tell, the config.bundle.entry.moduleRoot is referring to the worker definition, but the scriptPath was referring to the bundled code (located at .wrangler/tmp/dev-[hash]/index.js.


rune: uprev to fix CVE-2021-30465

rune has been rebased on runc v1.0.1
Fixes: #1228
Signed-off-by: Shirong Hao<EMAIL_ADDRESS>Signed-off-by: JJilale Zhang<EMAIL_ADDRESS>

This code has been tested in the local repo.
rune + skeleton is in link
rune + crictl is in link
rune + epm is in link
rune + occlum is in link


Document selection of syslog-ng over rsyslog

The table of included components lists syslog-ng as the syslog daemon. It would be helpful  if details were provided there as to why syslog-ng was selected over rsyslog, ubuntu's default syslog daemon.
Such information is provided for the choice of runit over upstart. This helps the prospective user evaluate her own priorities (e.g. consistency with ubuntu defaults) vs. baseimage-docker defaults, which likely have good reasoning behind them vis. docker tradeoffs.

I encounter problems with syslog-ng while using perl scripts if they use Sys::Syslog. But the script works fine when using rsyslog.


Replace requests with aiohttp in Scary Movie Generator

Description
The scary movie generator cog (PR #23) was written using requests, which can cause blocking with asyncio.  The api calls to TMDb need to be made using aiohttp instead.
Thanks @meooow25 !

I'll work on this tomorrow

We'll need to make sure that aiohttp is properly added to the pipfile so that it gets installed properly when we deploy the bot.

aiohttp is a requirement for d.py

From: Daniel Brown<EMAIL_ADDRESS>Sent: Wednesday, October 10, 2018 12:14:23 PM
To: discord-python/hacktoberbot
Cc: Subscribed
Subject: Re: [discord-python/hacktoberbot] Replace requests with aiohttp in Scary Movie Generator (#38)
We'll need to make sure that aiohttp is properly added to the pipfile so that it gets installed properly when we deploy the bot.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/discord-python/hacktoberbot/issues/38#issuecomment-428634851, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFE8mW6QQ-8T5pndeHb5MaWziIAGaZG3ks5ujhzfgaJpZM4XVCXq.

Doh.  Right.

the bot breaks quite spectacularly without this so I don't think we can wait for it.


Issues with date conversion in some software that supports excel

In doing an excel to CSV conversion locally using the Mac Numbers app, Numbers shows the dates, and exports the dates to CSV, in a different format to those shown when viewing the same file in Excel on windows (version not known).
I want to look into this a bit more and:

See if the same issue is present in xldd, the Python library used in Good Tables to read data out of excel
Add notes on this to the help file for errors raised by dates.

https://github.com/frictionlessdata/tabulator-py/issues/97


PostgreSQL grammar online

We can test the PostgreSQL grammar online at https://mingodad.github.io/parsertl-playground/playground/ (select PostgreSQL parser (be patient) from Examples then click Parse to see a parser tree for the content in Input source editor).
I hope it can help debug/develop/test Yacc/Lex grammars like the one from PostgreSQL used by this project.
The main repository is here https://github.com/mingodad/parsertl-playground .
There is there grammars for:

SQLite3
MySQL
Tidb
ArangoDB
CG-CQL
TDEngine
Tradofion
Vitess

Any feedback is welcome !

Interesting project!
However it appears you are not utilizing libpg_query though, but rather are importing the raw Postgres grammar files? (https://github.com/mingodad/parsertl-playground/blob/main/playground/postgres16.g)
Whilst I think this is neat, it does seem offtopic for this project, so I will close this issue for now.


WSI Preprocessing in Python code and docs

Add code and content to demonstrate WSI preprocessing using Python. Topics include slide scaling, filtering for tissue segmentation, tile scoring/retrieval, and batch and dynamic processing.

Merged.  Thanks, @deroneriksson!!

Thanks for merging @dusenberrymw!


Access Credentials API not working as expected

What happened:
I tried to configure the VirtualMachineInstance password according to the pull Access Credentials API (with dynamic propagation) #4195 but it didn't work @davidvossel
What you expected to happen:
I want to point the accessCredentials.userPassword field of a VirtualMachine to an existing secret, and the corresponding vmi user password will change when I modify the secret
How to reproduce it (as minimally and precisely as possible):
First,I defined secret and vmi related yaml files like this,
secret s1 contains a base64 encoding named root and the original text is "$6$sqbgaB1Y$4S0.viJs9nn9DQYtG.IiNS9McjNNJ/o7sOobqMSFYTbRmGQzpYODkSavMUKGKwUl9JPkNpdh8QLK/einhb/eT1".
VirtualMachine vm1 contains a accessCredentials field pointing to s1, and vm1 configured init-cloud with base64 encoding, the original is
#cloud-config
users:
- name: root
  lock_passwd: false
  hashed_passwd: "$6$sqbgaB1Y$4S0.viJs9nn9DQYtG.IiNS9McjNNJ/o7sOobqMSFYTbRmGQzpYODkSavMUKGKwUl9JPkNpdh8QLK/einhb/eT1"
  ssh_pwauth: true

runcmd:
- [ bash, -c, "sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config"]
- [ bash, -c, "sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config"]
- [ bash, -c, "sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config"]
- [ bash, -c, "systemctl restart ssh"]

Here is the complete definition file：
apiVersion: v1
data:
  root: JDYka09sbW92VUckRjZsWmxWQ0tveng1UjU2UDZLV3dSREovaTRzLmVmVGJvVWpzaDFUL3c0Ri5iRGY1bUs5a0txd2xVZmg4WmpMdnB1b2pBaWZBMElrNFdnNVNibnlWSzE=
kind: Secret
metadata:
  name: s1
  namespace: default
type: Opaque

---

apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  name: vm1
  namespace: default
spec:
  running: true
  template:
    spec:
      accessCredentials:
        - userPassword:
            source:
              secret:
                secretName: s1
            propagationMethod:
              qemuGuestAgent: {}
      domain:
        devices:
          disks:
            - disk:
                bus: virtio
              name: disk0
            - disk:
                bus: virtio
              name: cloudinitdisk
          interfaces:
            - bridge: { }
              name: default
        machine:
          type: q35
        resources:
          limits:
            cpu: "1"
            memory: 1Gi
      networks:
        - name: default
          pod: { }
      volumes:
        - containerDisk:
            image: docker.qiniu.io:32500/vmidisks/centos:7.6
            imagePullPolicy: IfNotPresent
          name: disk0
        - cloudInitNoCloud:
            userDataBase64: I2Nsb3VkLWNvbmZpZwp1c2VyczoKICAtIG5hbWU6IHJvb3QKICAgIGxvY2tfcGFzc3dkOiBmYWxzZQogICAgaGFzaGVkX3Bhc3N3ZDogIiQ2JGtPbG1vdlVHJEY2bFpsVkNLb3p4NVI1NlA2S1d3UkRKL2k0cy5lZlRib1Vqc2gxVC93NEYuYkRmNW1LOWtLcXdsVWZoOFpqTHZwdW9qQWlmQTBJazRXZzVTYm55VksxIgogICAgc3NoX3B3YXV0aDogdHJ1ZQogICAgCnJ1bmNtZDoKICAtIFsgYmFzaCwgLWMsICJzZWQgLWkgJ3MvXlNFTElOVVg9LiovU0VMSU5VWD1kaXNhYmxlZC8nIC9ldGMvc2VsaW51eC9jb25maWciXQogIC0gWyBiYXNoLCAtYywgInNlZCAtaSAncy8jUGVybWl0Um9vdExvZ2luIHByb2hpYml0LXBhc3N3b3JkL1Blcm1pdFJvb3RMb2dpbiB5ZXMvJyAvZXRjL3NzaC9zc2hkX2NvbmZpZyJdCiAgLSBbIGJhc2gsIC1jLCAic2VkIC1pICdzL1Bhc3N3b3JkQXV0aGVudGljYXRpb24gbm8vUGFzc3dvcmRBdXRoZW50aWNhdGlvbiB5ZXMvJyAvZXRjL3NzaC9zc2hkX2NvbmZpZyJdCiAgLSBbIGJhc2gsIC1jLCAic3lzdGVtY3RsIHJlc3RhcnQgc3NoIl0K
          name: cloudinitdisk

Then I apply it in my cluster,and I got the success info,But when I started using the virtual machine,
I found that the password of the virtual machine changes irregularly, about once every 5 minutes, and my changes to s1 do not affect the virtual machine,
This is the change I observed while continuously outputting /etc/shadow files without operating s1
[root@vm1 ~]# stat /etc/shadow
File: ‘/etc/shadow’
Size: 656       	Blocks: 8          IO Block: 4096   regular file
Device: fd01h/64769d	Inode: 1355        Links: 1
Access: (0000/----------)  Uid: (    0/    root)   Gid: (    0/    root)
Context: system_u:object_r:shadow_t:s0
Access: 2023-03-03 07:25:21.849325637 +0000
Modify: 2023-03-03 07:24:47.505472949 +0000
Change: 2023-03-03 07:24:47.515472949 +0000
Birth: -
[root@vm1 ~]# head /etc/shadow -n 1
root:$6$sqbgaB1Y$4S0.viJs9nn9DQYtG.IiNS9McjNNJ/o7sOobqMSFYTbRmGQzpYODkSavMUKGKwUl9JPkNpdh8QLK/einhb/eT1:19419:0:99999:7:::
[root@vm1 ~]# stat /etc/shadow
File: ‘/etc/shadow’
Size: 663       	Blocks: 8          IO Block: 4096   regular file
Device: fd01h/64769d	Inode: 1356        Links: 1
Access: (0000/----------)  Uid: (    0/    root)   Gid: (    0/    root)
Context: system_u:object_r:shadow_t:s0
Access: 2023-03-03 07:44:30.004384333 +0000
Modify: 2023-03-03 07:44:30.005384340 +0000
Change: 2023-03-03 07:44:30.005384340 +0000
Birth: -
[root@vm1 ~]# head /etc/shadow -n 1
root:$6$gax9d.a6Rw/rU5h$CKE5Eo1XPWGq3WtCw7Og/I/qUtqnhgOvTOZWsA34TQv7FFMmaKv5Igop2sCJ7nKOidTYyTzlPysPRdurTIVP4/:19419:0:99999:7:::

Additional context:
Add any other context about the problem here.
Environment:

KubeVirt version (use virtctl version):

Client Version: version.Info{GitVersion:"v0.55.0", GitCommit:"1f7c616daac748e6b11660920514eb8613d71ec2", GitTreeState:"clean", BuildDate:"2022-07-14T16:42:03Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{GitVersion:"v0.58.0", GitCommit:"6e41ae7787c1b48ac9a633c61a54444ea947242c", GitTreeState:"clean", BuildDate:"2022-10-13T00:33:22Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.11", GitCommit:"38d3c1f3d5306401bcf39a71bad3b5a5106033d7"
GitTreeState:"clean", BuildDate:"2022-03-16T14:08:11Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.11", GitCommit:"38d3c1f3d5306401bcf39a71bad3b5a5106033d7"
GitTreeState:"clean", BuildDate:"2022-03-16T14:02:06Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}

VM or VMI specifications: N/A

Cloud provider or hardware configuration: N/A

OS (e.g. from /etc/os-release):

NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Kernel (e.g. uname -a): Linux 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Install tools: N/A

Others: N/A

Hello, thanks for raising this bug and for the update!
If I understand correctly, there is no problem with the process but that there is a delay of a couple of minutes that was creating the problem. From your experience, do you think this needs to be mentioned somewhere in the docs to avoid others running into this?

thank you for your reply!
After my attempts, Access Credentials API can indeed modify the vmi password as required, but I can't find out from the documentation or the source code about the time it takes from modifying the secret to the vmi password taking effect. After my many attempts, I came up with an approximate time of 2-3 minutes, but I'm not sure if it's related to network latency or some configuration, I think this may affect users and developers to a certain extent, for example, if I provide An api provides the user with the function of changing the password, so I can only use a method like time.sleep(x) in the source code to wait for Access Credentials API  to complete the password change, during which the user can only wait, I think this is not a very good solution, because I'm not sure if it can complete the password change in X time, and it's not appropriate to make the user wait too long.

@davidvossel Do you have insight into the possible cause of this delay, or know who else might be able to help?
I can add a note to the docs if this is something we need to make users aware of.

@aburdenthehand
Sorry, although I found this problem, my current level is not enough to find out the cause of this problem, but I will continue to pay attention to this problem in subsequent use, once there is progress, I will come here as soon as possible renew. In addition, I think this problem needs to be explained to users in the documentation, even if it is not clear what causes this problem！


About Ctest

hello, i'm on ubuntu 22.04 and tryctest . under SealPIR, but found some exceptions.
Test project /home/whale/lab/SealPIR
    Start 1: coefficient_conversion_test
1/6 Test #1: coefficient_conversion_test ......   Passed    0.01 sec
    Start 2: expand_test
2/6 Test #2: expand_test ......................Child aborted***Exception:   0.83 sec
    Start 3: query_test
3/6 Test #3: query_test .......................Child aborted***Exception:   1.29 sec
    Start 4: simple_query_test

my issues are:

why appear Child aborted? is this my configuration problem?
test 4 and latter are slow, i waited for about 5 minutes and no response. Is this normal? I read another question that random seed may cause it, but it seems toooo long for only one test?

### Tasks

I have the same issue but test 3 is extremely slow in my case (10+ mins with no response)

@Saikrishna-Achalla Because it use random seeds to generate database in order to simulate PIR and it is very time consuming. I replace related code into pre-processed batabase and it works.

See #23 .
Unfortunately because this repo is under Microsoft and I no longer work there I cannot merge this directly. I'll ask Kim.

We have merged the changes.

@sga001 Thanks. Time decreased significantly!


Unexpected HTML in JSON

I work with a class like this:
class Reference:
    def __init__(self, url):
        self.url = url

    def __str__(self):
        return self.url

    def __html__(self):
        markup = Markup('%s')
        return markup % (self.url, self.url)

This works well when I use this in a HTML template. However, when I include such an object in a JSON response, I get the HTML markup instead of the string version. I can think of very few cases in which that is useful.
This is a minor inconvenience because I can manually convert the object to a string before including it in the JSON response. But still, maybe this could be improved. I can think of different options:

Do not use __html__() in jsonify
Use __str__() in jsonify, with a higher priority than __html__()
Use a new method __json__() in jsonify, with highest priority

The last option has the benefit of being backwards-compatible.

If you need specific control over the object-to-structure conversion before serialization, then you want a library such as marshmallow, cattrs, pydantic, etc.


Created the BDD tests for updating recommedations

Codecov Report

Merging #120 (b037c2d) into main (c3b597e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   95.27%   95.27%
=======================================
  Files           5        5
  Lines         296      296
=======================================
  Hits          282      282
  Misses         14       14

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Would it be possible to get an update to version  7?

This is the version I'm seeing: v0.6.2-dev, built on 2015-03-13 8:15:45 AM

Hi, sorry for the late answer but i'm pretty swamped at the moment. I'll have a look a.s.a.p. but can't make any promise when i'll get around to upgrading it.
If you are in a rush feel free to send a pull request and ill upgrade the gem (or you can also use a git-repo via bundler directly), normally the upgrade should be rather easy, just replacing the js files with the latest.

Turns out it's not free anymore so I'm not sure how that would work. It's fine though. This version is working perfectly good anyways. Thx.

The Version 6.x was also NOT free for commercial usage (see the license part in the readme) , open source does not mean it's always free to use in any way ;)


ADFS Installation Issue

Hello,
I have a question, during the ADFS installation I'm facing an issue "The server is not operational", could you please advise me if you have any solution for this issue.
Event ID:  9645
Error found: An error occurred in the service broker manager, Error: 3602.
Really appreciate your support.
Best Regards.

Hey AmeerErg,
Thanks again for contacting Microsoft, we value your feedback.
You have described an issue with a product or service rather than the documentation. Please see our GitHub content feedback guidelines. As this is a non-documentation issue, we’ll now be closing this thread.
Thank you and have a most pleasant day.
#please-close


Add logos for nuclino and 1Password

This is still a WIP. The Mobile version needs some work.

Looks like this on mobile

On desktop it looks like


Support IN and NOT IN query types

Is your feature request related to a problem? Please describe.
Please support IN and NOT IN query types.
This would be very simple to add to Column datatypes. e.g. for ColumnEnum<E extends Enum>:
  Expression inSet(Set<E> values) {
    assert(values.isNotEmpty);
    var valuesList = values
        .map((v) => '${DatabasePoolManager.encoder.convert(v)}')
        .join(',');
    return Expression('"$columnName" IN ($valuesList)');
  }

  Expression notInSet(Set<E> values) {
    assert(values.isNotEmpty);
    var valuesList = values
        .map((v) => '${DatabasePoolManager.encoder.convert(v)}')
        .join(',');
    return Expression('"$columnName" NOT IN ($valuesList)');
  }

Implemented in #1223.

The BETWEEN clause is also appreciated :D Example1: where: (p0)=> p0.age.between(18,50) Example2: where: (p0)=> p0.birthdate.between(DateTime.utc(2000,1,1) ,DateTime.now())

I added this -- between and notBetween, as well as before/after queries for DateTime.

Implemented and merged from #1297. Thanks!


Windows_Service run_as_user does not work correctly

Description
When trying to install a service in Windows 2016 using windows_service, I am not able to specify a domain username and password. Ideally, I'd like to be able to specified a group managed service account, but I can't even add a regular domain account.
We need the service to run as a domain account so it can connect to other services on the network.
I think this is similar to issue 3521, which is marked as closed.
Chef Version
14.7.17
Platform Version
Windows Server 2016
Replication Case
windows_service 'install My Service' do
	action :create
	display_name "My Service"
	service_name "myservice"
	binary_path_name "c:\\Program Files\\myservice\\myservice.exe"
	startup_type :automatic
	delayed_start true
	run_as_user "domain\\MyUser"
	run_as_password "mypassword"
	description "Some description of my service."
end

Client Output
When it hits the line to install using a regular windows domain user:
FATAL: SystemCallError: windows_service[install My Service] (MyService::InstallMyService line 35) had an error: SystemCallError: The account name is invalid or does not exist, or the password is invalid for the account name specified. - CreateService: The account name is invalid or does not exist, or the password is invalid for the account name specified.

Turns out we can register with a managed service account (without a password), but not with a normal windows account

Closing this out as there's a workaround.


feat: kolibri integration

Description

feat: kolibri integration
feat: config param for optional kolibri auth key

Tested on Polygon (BEV endpoint: https://bev-relay.kolibr.io)
https://polygonscan.com/tx/0x25c6a0423158ba73e4d891b09c8724773b8fef307ff4bf3c7d620a94974bd267
https://polygonscan.com/tx/0xfcce72092e9c4ddef8bc9100e6401c7d4c694edf672bc6943e5293692445c15b
https://polygonscan.com/tx/0x5fc1f93cdcc233f8245d891072b7de9374f3790d32157bbc2fb001558224850e
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Other (please describe):

Further comments (optional)

Do you want to amend merkle to sendBundle as well (In the same same PR)?

because sendBundle is from different API I think I'll need to rework Merkle integration completely, so I think it should be a separate PR

Do you want to amend merkle to sendBundle as well (In the same same PR)?

because sendBundle is from a different API I think I'll need to rework Merkle integration completely, so I think it should be a separate PR

Sounds good to me.


Add submitblock test to CI

Motivation
The acceptance test for submit block in #5526 uses the cached zebra state and is ignored in the regular coverage CI.
Add a CI job like the one for the send transaction test for the submit block RPC method.

I'll try updating the acceptance test first and re-open this if it's still needed.

Hey team! Please add your planning poker estimate with Zenhub @arya2 @dconnolly @gustavovalverde @oxarbitrage @teor2345


Vehicle Control Command is missing documentation. What other commands?

We would like to add a Simulator Control Command page under the Simulator API that documents all the necessary control commands correctly.
This particular issue was raised because the documentation in the examples specifies the ego control command incorrectly.

Pedro created documentation outline: https://docs.google.com/document/d/1GsABZpxwAlWW-mDyhS3JZW7ErZ5B8rVUloiBO-A82d8/edit


Template7 Pages do not trigger material behaviors

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: Framework7 1.6.5.

Platform and Target: ANDROID.

Live Link or JSFiddle/Codepen: https://jsfiddle.net/thovu/er3avsLo/

What you did
Enable Template7 Pages and material theme on app initialization:
var myApp = new Framework7({
  material: true,
  precompileTemplates: true,
  template7Pages: true,
  template7Data: {}
});

Add page via router.load using compiled template, which contain input with float label.
mainView.router.load({
  template: Template7.templates.form,
  context: {}
});

Expected Behavior
Float label should behave as in kitchen sink sample
Actual Behavior
Float label does not trigger; input label displays as normal one.

It means you have wrong HTML layout, check the docs, for material inputs


Fixes #1863

Fixes #1863

Docs Build status updates of commit 0c886d6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/msbuild-targets.md
:white_check_mark:Succeeded
View

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


props.moment.settings does not seem to work

Using version 1.2.2
Can't seem to change the calendar to start from Sunday instead of the default. I tried to use it like this in the render function but the calendar week still starts from Monday. I tested 'X' as a value in weekdaysMin but it is also not reflected in the calendar. Let me know if I am doing something wrong, or if there is anything else I can do.
const kronosOptions = {
  moment: {
    lang: 'en',
    settings: {
      week: { dow: 7  },
      weekdaysMin: ['X', 'T', 'W', 'T', 'F', 'S', 'S']
    }
  }
};

<Kronos date={ state.from }
        closeOnSelect= { false }
        closeOnBlur= { false }
        max={ (new Date()) }
        placeholder={ 'from' }
        options={ kronosOptions }
        onChange={ this._onChange.bind(this, 'from') }/>

Fixed in 1.2.3
Let me know if the problem still persists

Works now thanks for the quick response!


Update website base URL to heir.dev

Currently the website is missing all its CSS and js because I updated the website URL on github, but it also needs to come with configuration changes in the deployed website itself.

Fixes https://github.com/google/heir/issues/102


Compiler error C2280 when try to register callback.

Hi, I am trying to register a callback after device enumeration is complete.
The code like this:
void DeviceWatcher_EnumCompleted(DeviceWatcher const sender, IInspectable const args){ // blank print here}
TypedEventHandler deviceInfoEnumCompleted = TypedEventHandler<DeviceWatcher, IInspectable>(DeviceWatcher_EnumCompleted);
deviceWatcher.EnumerationCompleted(auto_revoke, deviceInfoRemovedHandler);
For Added, Removed and Updated, it all success, only this one has error.
Would you please help me with it?
Thanks

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

ID: 49dd87da-d4a9-e6c3-7aab-e8e799a6d0ce
Version Independent ID: 43a6e630-febc-4a85-7340-935cf21cf38e
Content: DeviceWatcher.EnumerationCompleted Event (Windows.Devices.Enumeration) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.devices.enumeration.devicewatcher.yml&version=GBlive&_a=contents
Product: uwp
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

I only find my error when I post =.=. My type error on registration, changed to deviceWatcher.EnumerationCompleted(auto_revoke, DeviceWatcher_EnumCompleted); and it works.
Awkward =.=

Thanks for submitting your issue, @art-wenyi. It sounds like you figured out the solution to your problem on your own, so I'm closing this issue. If you haven't done so already, you might also refer to the device enumeration sample here.


how can I set value to input display and restrict max value

Hi,
I'm need to be able to set and show display text on the screen right along with value input like so
objects :- 1.) display = (L)   value     = 36
2.) display = (XL) value     = 60
3.) display = (XXL) value   = 20
4.) display = (XXXL) value = 28
Where display stands for size and value = quantity; more like "Tags with a custom template". sample
Thanks in advance.

Hi @nellyigiebor,
you need to define the data to be displayed in the theme defined by yourself

can you please help?
I need to dynamically create tags with my own display-text and allow the users to enter value .ie.
a user select "SIZE-SET" from a select-component for example "WOMAN SHOES" I'm getting data from http services that returns a size list like : 36, 37, 38, 39 and 40; so for each sizes I want to allow the user to enter quantity for example for size 36  qty = 10, size 37 qty=4 etc etc... and for this to work I need to show text in  displayText of ng2-tag-input. like the "Tags custom template" demo.
Thanks in advance

If you use the value as the index, you can pass the objects and then define the display value of your template based on the object passed.
See
https://github.com/Gbuomprisco/ng2-tag-input/blob/master/demo/home/home.html#L77

this I have tried already; and this doesn't allowed user to enter value.
<tag-input formControlName="sizeId" name="sizeId" [transform]="transform"     [onlyFromAutocomplete]="true"  theme='dark'>
<tag-input-dropdown [showDropdownIfEmpty]="true" [focusFirstElement]="true" [displayBy]="'label'" [identifyBy]="'value'" [autocompleteItems]="sizeList">

I just need to allow user to enter value while selecting display from the dropdown..

Sorry, I have a bit a hard time understanding.
Can you explain in details this part "I just need to allow user to enter value while selecting display from the dropdown"?

tag-input component have display and value, right!
can I possibly bind from "tag-input-dropdown" to the "display"  and let user input value. i.e
from dropdown select "BIG SIZE" and enter 38 as quantity
PLS FIND SAMPLE JSON DATA.
"modelDetail": [
{
"modelName": "MAN BIG SIZES",
"price": 70,
"exchange": "USD",
"sizeSet": 11,
"modelArray": [
{
"colorId": 4,
"sizeId": [
{
"display": "5XL",
"value": 10
},
{
"display": "6XL",
"value": 10
},
{
"display": "7XL",
"value": 20
},
{
"display": "8XL",
"value": 15
},
{
"display": "9XL",
"value": 10
},
{
"display": "12XL",
"value": 8
}
]
}
]
},
{
"modelName": "LADY'S SHOES",
"price": 80,
"exchange": "USD",
"sizeSet": 5,
"modelArray": [
{
"colorId": 19,
"sizeId": [
{
"display": "36",
"value": 20
},
{
"display": "37",
"value": 12
}
]
}
]
}
Please I need soıme help....

Hi @nellyigiebor,
all you can do with the components is in the examples defined - they are valid for almost all possible situations. I can't visualise myself what you are trying to do. Sorry, but I am not able to help in this case.. maybe someone will read and help :)

ok thanks.


Question: contributor guideline

Hi! I've been using avante.nvim for a while now. I love how intuitive it feels to have an AI assistant in my side panel in my nvim. I'm looking to help contribute to the project, however, I'm not seeing any contributing guideline. I think it would be useful to have that to welcome new contributors.

Hey there! I agree with this. Could you share a few of the things you would like to know? That would help inform what should go in the guidelines.

Hi @b0o, I have a few ideas: code writing style, structure, format, the dos and don'ts etc. General overview of the project structure. How a PR should be opened and who to ask for reviews. And knowing who are the active maintainers would be helpful. I'm happy to collaborate and draft a proposal in a PR to help with the CONTRIBUTING.md too! :^)


fix fails when retry on conflict

fix conflict fails in e2e tests.
need to get the resource and then update the resource in RetryOnConflict

/assign @qiujian16
/assign @pmorie

good catch!

Very nice
/approve
/lgtm


Optional inheritance spec

This is a continuation of #75, updating to the latest master, marking the spec as optional and adding some polishing on top, such as making the terminology a bit more consistent and making the overview description more precise and explicit. Prior discussion that led to this PR started at https://github.com/mustache/spec/pull/75#pullrequestreview-607653620 and extends all the way to the bottom of #75. The commit list below gives the full account of what I've done.
@gasche and I believe that inclusion of the spec does not require a major version bump, if it is marked optional as I've done here.
Since the original PR reflected existing practice, I have not permitted myself to make any syntactic or semantic additions (or even changes) to the specs. As a consequence, I have not addressed some known open ends:

The GRMustache test suite contains some additional specifications which are not included here. As far as I understood from the older discussion in #75, not all of those specifications were shared with other existing implementations.
The spec currently leaves unspecified whether argument blocks are evaluated in the context of the inheriting template or the parent template. Mustache.php, @gasche and I agree that it should be the latter.
The spec leaves unspecified what exactly should happen with the indentation of blocks.

I believe that, despite these "gaps", it would be worthwhile to merge the new spec as-is, if only because it has been lying around for so long. The gaps could be addressed in separate, future PRs and discussions.
cc @jazzdan @bobthecow @groue

Thanks for this work! I haven't done a full review of the new specification for now, but I agree that we should merge this (as an optional feature), to reflect the current status of implementations that have converged on this specification. (Keeping this outside the specification is a disservice to implementators, who don't have a convenient way to discuss and test their implementations, and to users, who have a harder time assessing how reliable the feature is).
Out of the three "optional improvements for later" points highlighted by @jgonggrijp, I think that the most important is the second one:

The spec currently leaves unspecified whether argument blocks are evaluated in the context of the inheriting template or the parent template.

Currently the spec does not specifies this, and it would be nice if we could get reassurance that existing implementations agree on the behavior, or discuss which choice to make. I can support the idea of keeping this question for later, but in fact I would even prefer if we could resolve it in the specification right now, as it is currently incomplete.

I agree with you, @gasche. I would like to make some additions so that the scope of blocks is specified and so that we have something concrete to discuss. Before I do that, though, I think I should implement the extension in my own Mustache engine, in order to ensure that I understand 100% what I'm doing. That means it will take a few more weeks, since I'm doing all of this in my spare time. I guess that after eight years of inactivity, a few more weeks don't matter much, though.

I read the proposed description. I have mixed feelings about the current proposal: it is more precise and I think better for implementation, but also longer and, I think, less clear to people who don't already know about the feature.
"Parent tags" (I like the terminology choices, thanks!) have a disadvantage compared to other Mustache features, which is that they are not documented in the (rather good) historic user-oriented documentation. Currently people can learn about it from the description of https://github.com/mustache/spec/pull/75, and in the long-term we may hope that user-oriented documentation will be extended to cover this feature, but in the meantime I think that it is likely that "reading the spec" will remain the main way to learn about the feature for some people (or at least to get more knowledge than a basic example), so there is more pressure to make it readable than other parts of the spec. In particular, we might consider having examples in the main body of the text.
I realize that I'm moving the goalposts here, coming up with preferences that we hadn't mentioned before -- actually I didn't think about this before making a new read of the proposed specification. I'm thinking of trying to help by sending @jgonggrijp some rewrite suggests (as a PR to his own PR); in the meantime, one simple recommendation / change proposal would be to start the description with a few paragraph that summarize the feature (this is not so far from the original text of #75), aiming for clarity for people unfamiliar with it, and then in a second part have the full precise details.

@gasche I agree that the lack/outdatedness of user-oriented documentation is a problem. How about just fixing the manpage, though? I already wanted to do that, anyway.

I don't know how/where the mustache manpage is hosted and who has access to it. But yes that sounds like a good idea in principle. (Still I would be in favor of making the specification more reader-oriented, but I agree that not having it as the main entry point for documentation would be better.)

The manpage is hosted from https://github.com/mustache/mustache.github.com, although the source is probably from the original Ruby implementation at https://github.com/mustache/mustache. Neither repository seems entirely dead, so I don't think it would necessarily be difficult to get a PR merged. I plan to submit a PR over there next, and I propose to postpone a decision about the overview text in the current PR until after I have done that.
While I strongly believe that the status quo is undesirable and that users should just be able to get accurate, up-to-date information from the manpage instead, I'm not opposed to making the spec overview more reader-oriented. You are welcome to submit a PR to my branch, @gasche, so that we can perfect the text together. You might want to wait with that until I've submitted my suggestions to the manpage, but if you want to do it sooner, be my guest.

I'm on board with marking this as an optional feature and only doing a minor version bump. That feels like a good compromise.

Thank you for moving this along! Marking this as optional does allow us to sidestep a major version bump, which is good.

I believe that, despite these "gaps", it would be worthwhile to merge the new spec as-is, if only because it has been lying around for so long. The gaps could be addressed in separate, future PRs and discussions.

Totally agree.
Once comments are resolved I'll go ahead and merge :)

I'll fix up https://github.com/twitter/hogan.js for this if need be.

Update @gasche @bobthecow @Danappelxx I have pushed my first "go" at updating the manpage here:
https://github.com/jgonggrijp/mustache/commit/dded80614792339fc2d044d5985c4df66d2a57e7
I didn't submit a PR yet because I'm still struggling with getting rake man to work. I'm fairly content with the text changes, however, so you can already comment on it, suggest changes, etcetera. This might change the perspective a bit on some of the things we've been discussing in the current PR.

Another update: I managed to get rake man to sort-of work and submitted a PR. See reference directly above this comment.

Merging! Thank you to all who contributed to the spec and discussions.

@Danappelxx Thank you for merging. To be honest, this took me by surprise, because I thought the discussion wasn't completely resolved yet.
I completed my own implementation of the inheritance spec just yesterday and I'm still looking into some possible additions to the spec. No problem though, I can just submit a new PR when I'm done with that.

Sorry! Figured 7 years was enough time for bike shedding ;)
Definitely free to make new pr's, which should go by much faster now that the initial spec is in.

@gasche FYI, I'm working on two additions: one to specify scope resolution in blocks and one to be more precise on whitespace handling. I'll discuss the latter in an issue ticket before submitting a PR. The former seems less controversial (and more urgent), so I'll likely submit a PR directly when I'm done with it.

Thanks! I apologize for not being reactive on this issue, I haven't had a lot of time to work on mustache recently, but I'm very happy with your efforts and @Danappelxx pragmatic moving-forward choices. Please don't put too much pressure on yourself, the spec situation has been rather-bad for years, and imperfect improvements are already huge.

(For the record, I have also implemented template inheritance in ocaml-mustache sometime last year, and the evaluation-context-for-parameter-blocks issue is the only one I identified as missing in the then-proposed spec.)

Thanks for merging! Mustache.php's test suite has been updated to v1.2.0 and pulls in the inheritance spec.

@gasche @bobthecow I'm now hosting my own copy of the updated manpage, so there's a link that we can share from now on when we want to provide up-to-date documentation to the template language itself. See https://github.com/mustache/mustache/pull/266#issuecomment-1014986964 for further details.

Update to the official website being outdated: it is much less outdated now! The mustache(5) manpage is now current with the latest version of the spec.


FSET-1966: Add ALLOCATION_EXPIRED state and Scheduled job

Please squash when merging this. I messed up my commits 🙈


⚠ Bofrost.be has degraded performance

In ddf442f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1561 ms

Resolved: Bofrost.be performance has improved in 421f940 after 311 days, 23 hours, 51 minutes.


what's wrong? ( cannot load page)

03-02 19:07:37.034 17817-19398/com.zdeps.app E/jniPdfium: Loaded page is null
03-02 19:07:37.034 17817-19398/com.zdeps.app E/AndroidRuntime: FATAL EXCEPTION: PDF renderer
Process: com.zdeps.app, PID: 17817
java.lang.IllegalStateException: cannot load page
at com.shockwave.pdfium.PdfiumCore.nativeLoadPage(Native Method)
at com.shockwave.pdfium.PdfiumCore.openPage(PdfiumCore.java:134)
at com.github.barteksc.pdfviewer.RenderingHandler.proceed(RenderingHandler.java:84)
at com.github.barteksc.pdfviewer.RenderingHandler.handleMessage(RenderingHandler.java:70)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
I user the demo of your,it can open this file,but i can"t open it;

Loaded page is null <-- this says the page is null, could the file or path is not quite right..
Print the error in full it will show the line in your code that is at fault.

thanks   ,I'm resolved ,the pdf file only two pages ,i remove this mothod  ".pages(0, 2, 1, 3, 3, 3)"that open success;can you tell me that mean?

@1stmetro, what do you mean by "print the error in full"? Al I get is the stacktrace at the time of the crash.


clear() is not working

Same here using IE11 and pure JS.
tried method shown in issue 11 [https://github.com/davidshimjs/qrcodejs/issues/111] with no luck.
Have to hide the IMG element instead using
document.getElementById("qrcode").childNodes[1].setAttribute("style", "display:none;");

Itried above and a thousand other methods, nothing worked until
$('#qrcode canvas').remove()
..somehwere else mentions $('#qrcodediv canvas').clear() (didnt work) , i tried setAttribute none, hide, etc...ugh what a two hour nightmare. Best of luck


Tola 423

Purpose
Changing user roles for organisations with depleted seats led to an error due to code being called to send an email to organisation's admin informing him/her of the depleted seats. This functionality had been removed.
Approach
I comment out the part of code calling the email functionality. I also commented out its tests.
_Related ticket: TOLA-423

@Arlus PR is ok but there is two thing you need to change. First, the PR title is not clear. Second, You have 3 commits but this PR basically has one clear goal. So, If you can combine that commits it would be better. It is not about implementation but it's about our structure.


jest-with-react-native-getting-issue

http://stackoverflow.com/questions/43137058/jest-with-react-native-getting-issue
({"Object.":function(module,exports,require,__dirname,__filename,global,jest){import React, { Component, Children, PropTypes } from 'react';
^^^^^^
SyntaxError: Unexpected token import
  at transformAndBuildScript (node_modules/jest-runtime/build/transform.js:320:12)
  at Object.<anonymous> (node_modules/react-native-root-siblings/lib/AppRegistryInjection.js:3:22)
  at Object.<anonymous> (node_modules/react-native-root-siblings/lib/SiblingsManager.js:3:27)

It looks like some modules are not transformed through babel properly. I think you should reach out to react native repo, as they're maintaining preset with Jest configuration.

i knew that modules are not transformed through babel properlybut how to resolve this . whare and what i have to change

There's an answer on SO: https://stackoverflow.com/questions/43137058/jest-with-react-native-getting-issue

I am also getting the same issue :
`({"Object.":function(module,exports,require,__dirname,__filename,global,jest){import 'react-native';
^^^^^^
SyntaxError: Unexpected token import`

My package.json file :
{   "name": "my_project",   "version": "0.0.1",   "private": true,   "scripts": {     "start": "react-native start --port 8082 --reset-cache",     "android": "react-native run-android --port 8082",     "test": "jest",     "lint": "eslint app | snazzy",     "lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs eslint app | snazzy",     "fixcode": "eslint --fix app"   },   "dependencies": {     "@babel/core": "7.0.0-beta.54",     "@expo/vector-icons": "^6.3.1",     "axios": "^0.18.0",     "babel-bridge": "^1.12.11",     "babel-core": "7.0.0-bridge.0",     "babel-preset-react-native": "^4.0.1",     "babel-runtime": "^7.0.0-beta",     "enzyme": "^3.7.0",     "enzyme-adapter-react-16": "^1.6.0",     "enzyme-to-json": "^3.3.4",     "eslint": "^3.17.1",     "eslint-config-standard": "^7.0.1",     "eslint-config-standard-flow": "^1.0.1",     "eslint-plugin-promise": "^3.5.0",     "eslint-plugin-standard": "^2.1.1",     "jest-cli": "^23.6.0",     "jest-environment-node": "^23.4.0",     "jest-resolve": "^23.6.0",     "jsencrypt": "^3.0.0-rc.1",     "moment": "^2.22.2",     "moment-timezone": "^0.5.21",     "native-base": "^2.7.2",     "react": "16.3.1",     "react-addons-test-utils": "^15.6.2",     "react-dom": "^16.5.2",     "react-moment": "^0.7.9",     "react-native": "0.55.4",     "react-native-android-settings-library": "^1.0.5",     "react-native-carousel-view": "^0.5.1",     "react-native-device-info": "^0.22.5",     "react-native-image-crop-picker": "^0.21.2",     "react-native-loader": "1.2.1",     "react-native-popover-tooltip": "^1.1.4",     "react-native-progress-circle": "^2.0.0",     "react-native-responsive-screen": "^1.1.9",     "react-native-signature-capture": "^0.4.9",     "react-native-user-inactivity": "0.0.1-beta.1",     "react-native-vector-icons": "^5.0.0",     "react-navigation": "^2.3.1",     "react-navigation-redux-helpers": "^2.0.5",     "react-redux": "5.0.7",     "redux": "4.0.0",     "redux-form": "^7.4.2",     "redux-logger": "3.0.6",     "redux-thunk": "2.3.0",     "save": "2.3.2"   },   "devDependencies": {     "babel-jest": "^23.6.0",     "babel-preset-react-native": "^4.0.0",     "enzyme": "^3.7.0",     "enzyme-adapter-react-16": "^1.6.0",     "enzyme-to-json": "^3.3.4",     "jest": "^23.6.0",     "jest-react-native": "^18.0.0",     "react-test-renderer": "^16.5.2",     "redux-mock-store": "^1.5.3",     "regenerator-runtime": "^0.12.1"   },   "jest": {     "testEnvironment": "jsdom",     "preset": "react-native",     "transformIgnorePatterns": [     "node_modules/?!react-native|react-navigation|native-base|jsencrypt|(?!native-base-shoutem-theme)|@shoutem/theme|@shoutem/animation|@shoutem/ui|tcomb-form-native"     ],     "moduleNameMapper": {       "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/app/quality/__mocks__/fileMock.js",       "\\.(css|less)$": "<rootDir>/app/quality/__mocks__/styleMock.js"     },     "snapshotSerializers": [       "enzyme-to-json/serializer"     ],     "setupFiles": [       "<rootDir>/app/jest/setup.js"     ],     "transform": {       "^.+\\.jsx?$": "babel-jest",       "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js",       "^.+\\.(js|jsx)$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"     }   },   "rnpm": {     "assets": [       "./app/assets/fonts/"     ]   },   "config": {     "ghooks": {       "pre-commit": "if [ -d 'ignite-base' ]; then cd ignite-base; fi;  npm run fixcode && git add . && npm run lint"     }   } }

Answer: https://github.com/react-navigation/react-navigation/issues/256#issuecomment-278626369


Implement .NET 4.7.1 Features

See https://blogs.msdn.microsoft.com/dotnet/2017/09/21/net-framework-4-7-1-accessibility-and-wpf-improvements/

Nothing to do here anymore.


says im missing air no matter what

not sure why, but it always says that im missing X air, ive tried switching worlds, reinstalling the mod, building it in the air or just pressing play in the air and it has always said that im missing X air. if needed i use the 1.20.1 version

I only support the latest Minecraft version, but I will try and help you anyway because I don't think this is a bug. Can you send the song file and a screenshot of what you build and where you are standing?

i cant attach the .nbs file so i put it in a zip
virtual.nbs.zip

Air means a note block without anything under it. So you need to place 23 more note blocks without anything underneath them.


Input from touchpad doesn't work

Well, it just doesn't work when raw input enabled. The same problem was in other mods for raw input too

I have no idea about how to make touchpads be supported, sorry about that. Maybe there would be another mod that fulfilled your need eventually.


Add dark mode feature

Added dark mode feature and updated button text to emoji.

Hi @prashantsahu99 , please review the pull request

Hi @prashantsahu99, Please review the PR and merge it to the main


Docker container doesn't start / TypeError

Hi there,
I was trying to get this to work on my Synology NAS using docker. The container starts up and I was able to create the initial SQLite DB using --create_db as explained in the readme, but then the service never boots up:
Task exception was never retrieved
future: <Task finished coro=<Refresher.refresh() done, defined at /app/wallabag_kindle_consumer/refresher.py:34> exception=TypeError('unsupported type for timedelta seconds component: str')>
Traceback (most recent call last):
  File "/app/wallabag_kindle_consumer/refresher.py", line 45, in refresh
    ts = datetime.utcnow() + timedelta(seconds=self.grace)
TypeError: unsupported type for timedelta seconds component: str

Another log (this one is from bottom to top, not sure why)
date,stream,content
2019-02-02 22:24:47,stdout,TypeError: unsupported type for timedelta seconds component: str

2019-02-02 22:24:47,stdout,    ts = datetime.utcnow() + timedelta(seconds=self.grace)

2019-02-02 22:24:47,stdout,"  File \"/app/wallabag_kindle_consumer/refresher.py\", line 45, in refresh
"
2019-02-02 22:24:47,stdout,Traceback (most recent call last):

2019-02-02 22:24:47,stdout,"future: <Task finished coro=<Refresher.refresh() done, defined at /app/wallabag_kindle_consumer/refresher.py:34> exception=TypeError('unsupported type for timedelta seconds component: str')>
"
2019-02-02 22:24:47,stdout,Task exception was never retrieved

2019-02-02 22:24:44,stdout,TypeError: unsupported operand type(s) for -: 'str' and 'float'

2019-02-02 22:24:44,stdout,"    wait = max(0.0, self.interval - (now - since).total_seconds())
"
2019-02-02 22:24:44,stdout,"  File \"/app/wallabag_kindle_consumer/consumer.py\", line 39, in _wait_since
"
2019-02-02 22:24:44,stdout,    await self._wait_since(start)

2019-02-02 22:24:44,stdout,"  File \"/app/wallabag_kindle_consumer/consumer.py\", line 67, in consume
"
2019-02-02 22:24:44,stdout,Traceback (most recent call last):

2019-02-02 22:24:44,stdout,"future: <Task finished coro=<Consumer.consume() done, defined at /app/wallabag_kindle_consumer/consumer.py:53> exception=TypeError(\"unsupported operand type(s) for -: 'str' and 'float'\")>
"
2019-02-02 22:24:44,stdout,Task exception was never retrieved

2019-02-02 22:24:43,stdout,[2019-02-02 22:24:43.821926] INFO: kindle-consumer: Create Interface

2019-02-02 22:24:43,stdout,[2019-02-02 22:24:43.819185] INFO: kindle-consumer: Create Consumer

2019-02-02 22:24:43,stdout,[2019-02-02 22:24:43.765916] INFO: kindle-consumer: Create Refresher

2019-02-02 22:24:43,stdout,[2019-02-02 22:24:43.764648] INFO: wallabag_kindle_consumer.config: Read config from environment

2019-02-02 22:24:43,stdout,[2019-02-02 22:24:43.764292] WARNING: wallabag_kindle_consumer.config: Config file config.ini does not exist

2019-02-02 22:24:43,stdout,[2019-02-02 22:24:43.763669] INFO: wallabag_kindle_consumer.config: read config from file config.ini

Manually starting the thing through ./service.py --refresher --consumer --interface --env also doesn't work:
[2019-02-02 22:33:24.122194] INFO: wallabag_kindle_consumer.config: read config from file config.ini
[2019-02-02 22:33:24.122856] WARNING: wallabag_kindle_consumer.config: Config file config.ini does not exist
[2019-02-02 22:33:24.123673] INFO: wallabag_kindle_consumer.config: Read config from environment
[2019-02-02 22:33:24.125572] INFO: kindle-consumer: Create Refresher
[2019-02-02 22:33:24.152647] INFO: kindle-consumer: Create Consumer
[2019-02-02 22:33:24.155268] INFO: kindle-consumer: Create Interface
Task exception was never retrieved
future: <Task finished coro=<Consumer.consume() done, defined at /app/wallabag_kindle_consumer/consumer.py:53> exception=TypeError("unsupport
ed operand type(s) for -: 'str' and 'float'")>
Traceback (most recent call last):
  File "/app/wallabag_kindle_consumer/consumer.py", line 67, in consume
    await self._wait_since(start)
  File "/app/wallabag_kindle_consumer/consumer.py", line 39, in _wait_since
    wait = max(0.0, self.interval - (now - since).total_seconds())
TypeError: unsupported operand type(s) for -: 'str' and 'float'
Task exception was never retrieved
future: <Task finished coro=<App.register_server() done, defined at /app/wallabag_kindle_consumer/interface.py:238> exception=OSError(98, "er
ror while attempting to bind on address ('<IP_ADDRESS>', 8080): address in use")>
Traceback (most recent call last):
  File "uvloop/loop.pyx", line 1112, in uvloop.loop.Loop._create_server
  File "uvloop/handles/streamserver.pyx", line 58, in uvloop.loop.UVStreamServer.listen
  File "uvloop/handles/streamserver.pyx", line 95, in uvloop.loop.UVStreamServer._fatal_error
OSError: [Errno 98] Address in use

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/wallabag_kindle_consumer/interface.py", line 242, in register_server
    await self.site.start()
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_runner.py", line 102, in start
    reuse_port=self._reuse_port)
  File "uvloop/loop.pyx", line 1684, in create_server
  File "uvloop/loop.pyx", line 1116, in uvloop.loop.Loop._create_server
OSError: [Errno 98] error while attempting to bind on address ('<IP_ADDRESS>', 8080): address in use
Task exception was never retrieved
future: <Task finished coro=<Refresher.refresh() done, defined at /app/wallabag_kindle_consumer/refresher.py:34> exception=TypeError('unsuppo
rted type for timedelta seconds component: str')>
Traceback (most recent call last):
  File "/app/wallabag_kindle_consumer/refresher.py", line 45, in refresh
    ts = datetime.utcnow() + timedelta(seconds=self.grace)
TypeError: unsupported type for timedelta seconds component: str

I set all environment variables as explained in the readme, just to double check:

WALLABAG_HOST is the http(s) link to my instance, like http://wb.whatever.com, correct (I have this setup through a reverse proxy)?
DOMAIN ... not sure what to set here? I tried the domain name of my the server / NAS where docker is running (nas.local) as well as it's internal LAN IP or <IP_ADDRESS> - no luck. If you could clarify that, that would be great, thanks.
INTERFACE_HOST according to the readme should be <IP_ADDRESS> - is this correct, not <IP_ADDRESS> ? Tried both and also no luck.
PYTHON_VERSION is set to 3.7.2 (came as default)
PYTHON_PIP_VERSION is 19.0.1   (came as default)

Thanks a lot!

Have you set the refresh_grace ? It seems to me that the value is not properly converted to an integer. It probably slipped through as I only use it with the default value.

Hi Jan,
REFRESH_GRACE is set to 120. All optional environment variables are present.
Could you please check my initial questions? Not sure if they could be be the reason for it not to work.. Thanks!

Thanks - this error is gone. However, I'm still not able to run the script because I'm running into a address in use error now. I played around with the port that is being exposed (standard 8080) and the one that is in the env variables and tried to change them to ports that are definitely not being used on the host, but still no luck. 8080 is being used however, but if I change both, container port setting as well as the environment variable to e.g. 8081 I'm getting the same error. Tried <IP_ADDRESS> as INTERFACE_HOST as well. Any idea? Thanks und Danke für deine Hilfe.
/app # ./service.py --refresher --consumer --interface --env
[2019-02-06 05:02:21.586096] INFO: wallabag_kindle_consumer.config: read config from file config.ini
[2019-02-06 05:02:21.586650] WARNING: wallabag_kindle_consumer.config: Config file config.ini does not exist
[2019-02-06 05:02:21.587000] INFO: wallabag_kindle_consumer.config: Read config from environment
[2019-02-06 05:02:21.588558] INFO: kindle-consumer: Create Refresher
[2019-02-06 05:02:21.613138] INFO: kindle-consumer: Create Consumer
[2019-02-06 05:02:21.615768] INFO: kindle-consumer: Create Interface
Task exception was never retrieved
future: <Task finished coro=<App.register_server() done, defined at /app/wallabag_kindle_consumer/interface.py:238> exception=OSError(98, "er
ror while attempting to bind on address ('<IP_ADDRESS>', 8080): address in use")>
Traceback (most recent call last):
  File "uvloop/loop.pyx", line 1112, in uvloop.loop.Loop._create_server
  File "uvloop/handles/streamserver.pyx", line 58, in uvloop.loop.UVStreamServer.listen
  File "uvloop/handles/streamserver.pyx", line 95, in uvloop.loop.UVStreamServer._fatal_error
OSError: [Errno 98] Address in use

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/wallabag_kindle_consumer/interface.py", line 242, in register_server
    await self.site.start()
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_runner.py", line 102, in start
    reuse_port=self._reuse_port)
  File "uvloop/loop.pyx", line 1684, in create_server
  File "uvloop/loop.pyx", line 1116, in uvloop.loop.Loop._create_server
OSError: [Errno 98] error while attempting to bind on address ('<IP_ADDRESS>', 8080): address in use

Which port to use depends a bit on your setup. If you use the app without a container, you can choose just any free port on your system. But then you should only bind it on localhost (<IP_ADDRESS>) if you only want to access it through a reverse proxy.
If you're running it in a container, then you can choose any free port in the container. But then I would bind it to <IP_ADDRESS> because you don't know the IP the container gets. If you then want to access it on the host, then you need to "expose" the port if you use docker. The -p option is used for that. For example -p 8080:8080 binds the port 8080 from inside the container to the port 8080 on the host. -p 8081:8080 would bind the port 8080 from inside to 8081 on the host and -p <IP_ADDRESS>:8080:8080 would limit the access to localhost on the host.
If you're accessing it via the docker-network or any other direct container network, then you don't need to expose anything at all. Just use the name of the container and the interface port in your reverse proxy. But don't forget to start the interface on <IP_ADDRESS> (any).
If you want to find out, who already uses a port you can use netstat -lnpt where l is for listening, n for don't do name resolution, p show the attached processes and t limit it to tcp.
I close this now as the initial bug is fixed. Feel free to open another issue for any further problems you have with this.