fix: chart import error with virtual dataset

SUMMARY

This issue was not related to importing/exporting over api.
This was happened through UI as well, and the reason was that we regards virtual dataset as sql lab view.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

BEFORE:
https://github.com/apache/superset/issues/13237
AFTER:
[DEV] Superset - 19 April 2022 - Watch Video
TESTING INSTRUCTIONS

Check: https://github.com/apache/superset/issues/13237
ADDITIONAL INFORMATION

[X] Has associated issue: https://github.com/apache/superset/issues/13237
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Not sure why that logic was there in the first place.... @diegomedina248 or @zhaoyongjie do you see any risks here we're not aware of?


[Records] DDC implementation

Progress update: At parity with the VM support, five remaining test failures. Those tests are getting unexpected compile time errors. Currently blocked on CFE.

Progress update: Close to parity with the VM support. Need to triage one failing test in DDC that doesn't appear for the VM.

Update:
All test failures have been triaged with issues linked in the failures spreadsheet.

@annagrin @nshahan is there still open work here or can we close?

No remaining work planned at this time. All failing tests have been triaged and are expected to be fixed with test updates or new compile time errors.


MaaS error when reading secret

Is this a bug report or feature request? (choose one):
bug report

MaaS relies on a shared secret between the rack and region controllers to authenticate.  Every time the secret file is read, the following error occurs:
binascii.Error: Non-hexadecimal digit found
MaaS does not appear to be able to parse comments out from the apache headers we are putting in the _secret.tpl file, so those apache headers need to be removed.
Kubernetes Version (output of kubectl version):
any
Helm Client and Tiller Versions (output of helm version):
any
Development or Deployment Environment?:
both
Release Tag or Master:
master
Expected Behavior:
MaaS reads secret file without any hiccups
What Actually Happened:
MaaS can't parse apache headers and throws exceptions
How to Reproduce the Issue (as minimally as possible):
n/a
Any Additional Comments:

issue merged. thanks @larryrensing!


The title is not wrapping up and displaying in multi line. Could some one let me know how to do it.

Title of 2 bars getting overlapped. need help!

Hi @DeepikaUdayakumar,
You can go to BeautifulBarChart.swift and look for the method named "drawTitle", that's where you need to make some modification. Probably you can change the height of the CATextLayer and set the "isWrapped" property to true.
I hope that helps!

Thanks for your reply. I tried this yesterday itself. Still it is not working. The text doesn't wrap.

isWrapped property works fine, however it is because I have CATextLayer's frames overlapped. I will commit a fix for it later.
Here is a temporary fix for it:
textLayer.frame = CGRect(x: xPos + **barWidth/4**, y: yPos, width: **barWidth/2**, height: **60**)
**textLayer.isWrapped = true**

Thanks a lot it worked.


Add .travis.yml for continuous integration/testing

from #50:

... and also sort out CI in Travis or similar. There are (were?) some tests, but I'm not sure if they've rotted.

I started playing with travis for glacier-cli: https://travis-ci.org/github/soxofaan/glacier-cli
the tests are indeed failing at the moment for both Python 2 (1/9 failure) and Python 3 (7/9 failures)

great, I managed to fix the tests

I created PR for this


failover to image url if not found on disk

[ ] check If image is not found on disk, then...
[ ] try to fetch image from URL (reference: https://codex.wordpress.org/Function_Reference/wp_remote_get)
[ ] store it temporarily to allow stateless to generate thumbnails and store it correctly based on Mode setting (CDN, Local, or Stateless).
[ ] When you are fetching images, ensure that you are getting a 200 (OK) response.

This is an important improvement for websites that have special redirection rules to load images from somewhere outside of the disk. We do this quite a bit for old client sites that have moved from different hosts.

Question: should we support this feature for non-image files as well? PDFs for example.

@alimuzzaman In our infrastructure we have special proxies to load files from a "backup" location if its missing in the container. So, if site.com/wp-content/uploads/2017/01/some-file.png is being resized, but there is no /var/www/wp-content/uploads/2017/01/some-file.png on disk, our proxy tries to load the image from a special bucket.
We do this because when we migrate a new site to our infrastructure we don't want to store all the media files with all the other files in Git, so we move all the wp-content/uploads files to a special bucket for the client.
All those files work but they are NOT properly stored/registered by WP-Stateless. We want to get all those files into the correct Google Cloud Storage bucket and have WP-Stateless manage them.

store it temporarily to allow stateless to generate thumbnails and store it correctly based on Mode setting (CDN, Local, or Stateless).

Or we can just try to generate metadata on WordPress to work with the existing bucket.

@alimuzzaman please describe the steps in detail that WP-Stateless goes through when it encounters a media library object that has no WP-Stateless meta information during a sync.

Sync process:

We check if the image exists on local disk.
If not it will try to get the image from Google Storage.
If image also doesn't exist there it will try to get the image via the URL in case it's accessible via some sort of proxy.
If it's got the image from any one of the above methods it will start to generate the thumbnails.

Most of the time 3 is unnecessary. So we can avoid that extra request using option.

Great writeup, and I appreciate the links you added.
In step three, do you check the response of the URL? We should ensure a 200 response.

Yes, checked for status 200.


fix: change the parameter type of handler function

When Zendesk is initialized successfully on iOS platform, the code
self.channel?.invokeMethod(ZendeskMessaging.initializeSuccess, arguments: [])
is invoked, in which[]is interpreted as a List and passed to Flutter, conflicted with the type of field  _hander in dart class ZendeskMessaging
static Function(ZendeskMessagingMessageType type, Map? arguments)? _handler;
So when the plugin runned on iOS, type error happend.

Hi, @taojigu. Thanks for your contribution!

Would you pls add a new tag on pub.dev ?


[sharedrop] No PLS after importing bitshares wallet backup JSON file

Hey Play team,
I am not able to claim my PLS sharedrop even though I definitely had BTS in my wallet during the snapshot. Can you help me debug it? I think there may be a problem associating my wallet with the awarding sharedrop.
Thanks!

The BTS part are now in the vesting, you can get the vesting balances using command in console, later it will be presented on GUI.
wallet_account_vesting_balances your_account_name


support specifying service subnets for k8s

Not a big deal, but makes the deployer a bit more comprehensive.

this repository is under gerrit control https://review.opencontrail.org/


Users should be notified when the server they are on is shutting down

Now that we are doing rolling deploys, it is possible that users may be in a multiplayer room waiting for new players without being aware that all new players are going to be joining a server that prohibits them from joining the room.
To resolve this, users with existing multiplayer rooms should be made aware of a server shutdown. A countdown timer using the existing flow seems like the perfect way to do this, notifying the osu! client of an imminent shutdown and allowing the user to take action as they wish.
Will require support at the osu-side as well.

Completed via https://github.com/ppy/osu-server-spectator/pull/143


Cannot find config option to save custom words into dictionary

On my previous phone (Android 4.1.x) with Hacker's Keyboard, when I finished typing a word the band with suggestions displayed an arrow to the typed word (in the band), so I could click and save it. This helped a lot with email addresses, nicknames, IT slang, etc. On the new phone (Android 6) I do not see such a feature, also tried toggling various configurable options with no effect for this (lack of) feature.
Does my memory fail me, or is this user-dictionary support limited by the OS? Other keyboards on Android 6 offer to use the google-backed dictionary for the user account; perhaps HK could do so too?
 HK with downloaded dictionaries rocks :)

This still works exactly as it did in previous OS versions, even on 7/Nougat that I'm running:  Type anything not in any dictionary, &, before hitting any word-ending (whitespace/punctuation) key, press white/left-most word in suggestion bar.  Your "add" prompt should appear.

Unfortunately, for me this just pastes the word into text area (and adds a space after it).
Maybe some incompatibility with Xiaomi MIUI8 then...

That's the typical behavior for something in the dictionary.  Did you double-check w/ an obvious nonsense term?  Else, this wouldn't be the 1st incompatibility introduced by excessive ROM deviation from stock.

Yes, I retried and it (mis-)behaves the same. Thanks for confirming this "should" have worked at least :)


Install in Laravel 5.2 encountered a bug

This is the information.
Problem 1     - Conclusion: remove symfony/event-dispatcher v3.0.4     - Conclusion: don't install symfony/event-dispatcher v2.8.4     - Installation request for athlon1600/php-proxy ^3.0 -> satisfiable by athlon1600/php-proxy[3.0.0].     - Conclusion: don't install symfony/event-dispatcher v3.0.4     - athlon1600/php-proxy 3.0.0 requires symfony/event-dispatcher ~2.6 -> satisfiable by symfony/event-dispatcher[v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3, v2.8.4].     - Can only install one of: symfony/event-dispatcher[v2.6.10, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.11, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.12, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.13, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.7, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.8, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.9, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.0, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.1, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.10, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.11, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.2, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.3, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.4, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.5, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.6, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.7, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.8, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.7.9, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.8.0, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.8.1, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.8.2, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.8.3, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.0, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.1, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.2, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.3, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.4, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.5, v3.0.4].     - Can only install one of: symfony/event-dispatcher[v2.6.6, v3.0.4].     - Installation request for symfony/event-dispatcher == <IP_ADDRESS> -> satisfiable by symfony/event-dispatcher[v3.0.4].

Seem symfony/event-dispacther need to be upgrade latest version, same error encounter in yii2.

Same with symfony 3

There's a breaking change to upgrade to event-dispatcher 3.x
See migration from some other projects :
https://github.com/FriendsOfSymfony/FOSUserBundle/pull/1829/files
https://github.com/cpliakas/git-wrapper/pull/110/files
Basically, $event->getName() and $event->getDispatcher() have been removed. Those properties are now available as the second and third argument of the callback function.
I'll open a pull request to support both event-dispatcher 2.x && 3.x.

It's possible to test the Pull Request with composer require athlon1600/php-proxy:dev-master.
You have to set my repository in composer.json
    ...
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Toilal/php-proxy"
        }
    ],
    ...


Generate a package tts

Hello,
Related to #87, I'm trying to build a package that replaces:
http://lucasmanual.com/blog/alt-speak-alts-how-to-enable-talk-to-speach/
The main goal is to improve the "spoken voice". Above(festival) has too "robotic" voice. If I was to pick "waveglow" as a most human like, how can create a package that would allow me to generate audio in a similar style as in talks.sh in above link?
Pros:
Cons:
Thank you
Lucas

https://devblogs.nvidia.com/how-to-deploy-real-time-text-to-speech-applications-on-gpus-using-tensorrt/


Add PutObjectWithMetadata() API

To be able to send a bunch of metadata for all types of PUT uploads

This is not WIP anymore.

This is not WIP anymore.

Thanks @vadmeste


chore: updating docfx doclet version

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕

Using a more recent version of doclet for docfx v2. Microsoft recently updated breakout for "pre-release" so can now more easily see which releases are for v3 vs v2. I have tested this release locally and is working. Jar has been added to cloud-devrel-kokoro-resources


Unexpected token 'export'  while importing  modules in SSR in dev mode

Environment

Operating System: Windows_NT
Node Version:     v19.1.0  // I tested also node v16
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      server, loadingIndicator, css, app, modules, i18n, vite, nitro
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
I am trying to repro in a smaller project (in stackblitz), I failed to repro the problem. maybe you can help  me to debug the scene and find what going on.
Describe the bug
In SPA mode (dev only), all is working good and fast (better then v2).
In SSR mode,  only in dev I am reciving this error  from the server:
500
Unexpected token 'export'

at internalCompileFunction (node:internal/vm:74:18)
at wrapSafe (node:internal/modules/cjs/loader:1128:20)
....

So I was connected a debugger, both  DevTools one and VS2022 one, and start looking the function internalCompileFunction to see who failed to compile.
I found a  code imported via import ifetch from '~/common/fetch.js'.
so I was removed the "export" / "import" from this code, then see the same error on other file.
after I was commented some files, I was see the same problem in the I18N module - it can't load its JSON files becase the module loader failed.
I tried to change the package.json  configuration to  type: module.
This solve this problem, but then I see an other problem
Cannot find package '~' imported from e:\inetpub\inn\nuxt3b\store\news.js

The original line:
 import { nIDate, SetDate } from '~/common/UserRelated/Dates'

so I changed this code to
import { nIDate, SetDate } from '../common/UserRelated/Dates'

no change.
I added a space to nuxt.config.ts, and now It working.
So we have two problems.

why the server is loading the files as  a commonjs ?
(I tried to repro tje problem in  stackblitz but with no success)

Why the "~" isn't working in   module mode?

Thanks for all! I like the framework and use it for large website and happy.
Additional context
no special nitro plugins
no special  middlewares
no special vite config, except vite: {   		css: {			preprocessorOptions
(in this ^ code, the ~/ is working).
Logs
i Vite client warmed up in 6702ms                                                                          20:51:27
√ Nitro built in 473 ms                                                                              nitro 20:51:28
(node:28076) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
[nuxt] [request error] [unhandled] [500] Unexpected token 'export'                                         20:51:30
  at internalCompileFunction (node:internal/vm:74:18)
  at wrapSafe (node:internal/modules/cjs/loader:1128:20)
....

Ah yeah, windows paths always have some issues, I'd suggest developing only in WSL/Linux bash environments, just something I've learned in my years of web development. You're going to save yourself on so many small issues with basically everything.
So I think this is not a nuxt issue per-se, so I suggest closing this, but feel free to reopen. Thank you 🙏🏻💚


chore(react): add missing comma to example

Overview
Add missing commas to SwitchCase examples

PR Checklist

[x] I read and included theses actions below

I have read the Contributing Guide
I have written documents and tests, if needed.

@HoseungJang
I'm working on a move from jsdoc to i18n markdown. It's nice to be able to keep an eye out the functions that toss team made. I will work on it from time to time when I have time.
Working on https://github.com/toss/slash/pull/113


Make perfkit code independent for providers code

What does mean for me:

Remove provider configuration from benchmark_spec
Remove dependencies on providers from benchmarks (https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/621)

I don't known what more but i can propose whole solution for that soon - @voellm what do you think about that?
It's big change and doing it step by step can takes big amount of time? Then my propose is to do it in one part, as fast as fast is possible, i can propose something before monday.

What are you trying to achieve here?  Not really sure I understand from the description here.

In future look i want to have installed just that providers than i want to use.
In shortest, i have problem because when i was updating my sourcecode of PKB i catch error.
"c(loud)s(stack)api not found" - wait a moment i want to run openstack provider.
Ok this looks like problem with cloudstack provider, i was using novaclient in my driver but i was doing it more smartly and you catch this error just if you haven't novaclient when you try to run tests on openstack. But it is not problem with cloudstack driver, we can describe this problem that way. When you want to run benchmark, code of all providers is importing. I think it is bad way.
I want to make core of perfkitbenchmarker more providers/benchmarks/packages/tracers and other things like that independent.

Agreed... @connormccoy noted this as well.  Our plan is to allow the code
to go together but delay load only when you use it.
@noahl -
We should have this addressed in the next release v0.24.0
On Nov 7, 2015 3:14 AM, "Marcin Karkocha"<EMAIL_ADDRESS>wrote:

In future look i want to have installed just that providers than i want to
use.
In shortest, i have problem because when i was updating my sourcecode of
PKB i catch error.
"c(loud)s(stack)api not found" - wait a moment i want to run openstack
provider.
Ok this looks like problem with cloudstack provider, i was using
novaclient in my driver but i was doing it more smartly and you catch this
error just if you haven't novaclient when you try to run tests on
openstack. But it is not problem with cloudstack driver, we can describe
this problem that way. When you want to run benchmark, code of all
providers is importing. I think it is bad way.
I want to make core of perfkitbenchmarker more
providers/benchmarks/packages/tracers and other things like that
independent.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/624#issuecomment-154691808
.

@voellm - it's not finished but you can look here (https://github.com/kivio/PerfKitBenchmarker/tree/refactor_providers) in provider package for my conception of make this change

@ehankland Would you please assign this to yourself, since you're working on the fix?

Sure - I'm not sure what I'm working on will completely fix this issue though - there's still the matter of moving object storage and sql service provider code into the provider directories.

Oh, I was thinking of this bug as just covering not loading provider APIs we don't need. That's what I think we need to merge for this release. We can track the rest of the work in #621 .

Eric just merged the part of this that I wanted to get done in 0.24.0. I'm going to remove this from the 0.24.0 milestone.

Should we keep this open to help track the remaining work or close it now that providers are loaded only if they are needed?

@ehankland
@noahl
is there still remaining work?  If so can we please list it all here.

Eric's patch addressed @kivio 's point 1, and point 2 is #621 . I think we should close this issue. @kivio , if you disagree, please reopen.

@noahl - #621 is good part of what i meen, but not all. I think more about dynamic dependencies injection. Importing provider just where is need and auto-discover options of them like Networks, Disks, VMs and others. All for remove configuration of providers dict from benchmark_spec. I think i can show you code after weekend.

@kivio We recently made some changes that might be what you are looking for - the providers dict is gone from benchmark_spec.py and we do only load providers when they are used now. Can you take a look to see if there's more you wanted done?


Coral USB keeps resetting despite new PC hardware "reset SuperSpeed USB device"

Description
Hi all,
I always had the odd reset of the Coral USB on my Raspberry Pi 4, I suspected it was just due to the limited USB power it could provide. I was a bit shocked to see the same thing happening, despite a whole new PC. I've now got a mini desktop PC (Intel Celeron) which should have ample power, it has a 30W power supply and draws around 8W by itself.
Could my Coral USB be faulty? It's temps are not above 38c on the heatsink in a 21c room, and I'm using the cable that came with it out of the box from an official reseller direct. It's plugged into a USB 3 port. I've tried different USB 3 ports.
I've disabled USB suspension:
cat /sys/bus/usb/devices/*/power/control
on
on
on
on
on
The OS before was Diet Pi (Debian based) and now I'm using Clear Linux server OS. Looking at the full syslog around this time there is no other update or errors happening.
Thank you
Click to expand!
Issue Type
Support
Operating System
Linux
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
No response
Relevant Log Output
Clear Linux errors:
[159263.023770] usb 2-2: reset SuperSpeed USB device number 3 using xhci_hcd
[159263.035674] usb 2-2: LPM exit latency is zeroed, disabling LPM.
[167524.287925] usb 2-2: reset SuperSpeed USB device number 3 using xhci_hcd
[167524.301045] usb 2-2: LPM exit latency is zeroed, disabling LPM.

Raspberry Pi 4 dmesg errors:
Mar  8 20:24:40 Pi kernel: [2758710.649344] usb 2-2: reset SuperSpeed USB device number 4 using xhci_hcd
Mar  8 20:24:40 Pi kernel: [2758710.668836] usb 2-2: LPM exit latency is zeroed, disabling LPM.
Mar  8 23:51:35 Pi kernel: [2771126.257350] usb 2-2: reset SuperSpeed USB device number 4 using xhci_hcd
Mar  8 23:51:35 Pi kernel: [2771126.276745] usb 2-2: LPM exit latency is zeroed, disabling LPM.

Hi, does LED light on USB accelrator is ON when connected to host machine?

So it appears that the USB cable that came with the USB Coral accelerator was faulty. I see a few comments online mentioning the same.
The USB Coral ran at around 38c on the heatsink 24/7. Now, with only a USB cable change it is completely cold to the touch and no more errors.
It is disappointing to see that it arrived with a damaged cable and that it has caused so much additional heat for so long on it.

Description
Hi all,
I always had the odd reset of the Coral USB on my Raspberry Pi 4, I suspected it was just due to the limited USB power it could provide. I was a bit shocked to see the same thing happening, despite a whole new PC. I've now got a mini desktop PC (Intel Celeron) which should have ample power, it has a 30W power supply and draws around 8W by itself.
Could my Coral USB be faulty? It's temps are not above 38c on the heatsink in a 21c room, and I'm using the cable that came with it out of the box from an official reseller direct. It's plugged into a USB 3 port. I've tried different USB 3 ports.
I've disabled USB suspension: cat /sys/bus/usb/devices/*/power/control on on on on on
The OS before was Diet Pi (Debian based) and now I'm using Clear Linux server OS. Looking at the full syslog around this time there is no other update or errors happening.
Thank you
Click to expand!

I've the exact same issue and symptoms and cable replacement did not fix it. Can I ask you how do you disabled USB suspension?
I've tried everything this past month to solve this problem:

replaced the coral with a new one
changed the cable
used it over a powered usb hub
sadly nothing worked out and I'm out of options


Make all user defined options can be taken by highcharts-ng

There are many Highcharts API not be supported by highcharts-ng. The main reason is the merged options only takes some config from user defined object (ex: title, subtitle, credits... etc). I think highcharts-ng should take all the user config then used the default options if user doesn't define it.

See faq.

I failed to find any faq related to my proposal. Could you please help to point it out for me? Thanks.

With my friend's help, I understand the reason now. Thx.


Update readme

Please add a reference in the readme file, that php5-curl is required.
If php5-curl is not installed, the ajax_get_image.php file throws erros and the wallpaper function doesn't work

Good idea, just updated the README with your suggestion.


Read new format data from potree convert

I am using potree convert v2.1.1 to convert laz file, is there any way to adjust the ratio corresponding to point cloud with ifc file?

Hey @huynd2904, In my experience, the easiest way to do it is by using a local tool like Cloud Compare to align and scale the point cloud to match the IFC. You can also use the --scale command on the Potree Converter.


fix(nuxt): default spaLoadingTemplate to `false

🔗 Linked issue
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This is a behaviour change from v3.5 - we now default the Nuxt logo SPA loading template to false. Despite being beautiful, probably users would want to remove this before deploying their Nuxt sites. If you want to keep the previous behaviour, you can instead set spaLoadingTemplate to `true.
👉 Migration
export default defineNuxtConfig({
  ssr: false,
  spaLoadingTemplate: true
})

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Disabling by default is probably better than current state 👍 However it might affect users experience when there is a SPA error, they will only see a white screen (also when bundle is too big/connection is slow) We might also differ to later but any possible fallback to indicate long loadings and errors..


Mocking created() hook

Subject of the issue
I am trying to mock out a plugin that runs on the created() hook inside a jest unit test, however, I keep getting back TypeError: this.$translations is not a function which is causing all my tests to fail with that error:
Inside the Component file:
created () {
  this.$translations(this.page.translations)
}

Inside the Test file:
import { translations } from '~/helpers/plugins/translations'

const localVue = createLocalVue()
localVue.use(translations)

const wrapper = shallowMount(TestComponent, {
  localVue,
  propsData
})

Also tried stubbing with spyOn, however, as this is a global plugin, this didn't work:
jest.spyOn(Component.methods, 'translations')

Am I doing something wrong? or is mocking lifecycle hooks using vue-test-utils is not possible yet? Thank you

Closing, as solved this with a mock:
const wrapper = shallowMount(TestComponent, {
    localVue,
    mocks: {
      $translations: () => {}
    },
    propsData
  }
)


Typing fixes 3

@max-radin FYI: I've merged dev to this branch and fixed some minor errors (1657059...70d00f2), you wanna take a look? If it's legit, feel free to merge (and squash).

Looks good!


issues with sitedefault.yaml example file

Hi all,
if I take the yaml default file from
https://github.com/sassoftware/viya-ark/blob/master/playbooks/ldap-validator/sitedefault_sample_openldap.yml
I find two issues.
First: the port is given as a string port: '389', which results in a python error. it should just be a number, port: 389
Second: the last line specifying the administrator
sas.identities:
administrator: 'your_user_id'
results in a validation error using open LDAP for any user specified
2021-11-24 02:33:05,159 - ldap_validator.py[line:273] - DEBUG: LDAP Query: search_base=ou=user,dc=ldap,dc=localdomain, search_filter=(&(objectClass=user)(sAMAccountName
=ldapadm))verify=True
2021-11-24 02:33:05,160 - ldap_validator.py[line:277] - ERROR: LDAP search failed with the following error: invalid class in objectClass attribute: user
looking at the python code in ldap_validator.py at line 200 the search string hard coded to
searchstring = '(&(objectClass=user)(sAMAccountName=' + ldap_defaultadmin_user + '))'**
if (not perform_ldap_query(ldap_logger, ldap_server_host,  ldap_user_basedn, searchstring, True)):
    failTestSuite(ldap_logger)

these objects are only found in active directory but not in open LDAP
So my question is, are they needed, and / or is it only working using AD?
my sitedefault.yaml looks like the following
config:
application:
sas.identities.providers.ldap.connection:
host: 'centosmaster.localdomain'
port: 389
url: 'ldap://${sas.identities.providers.ldap.connection.host}:${sas.identities.providers.ldap.connection.port}'
anonymousBind: 'false'
userDN: "cn=ldapadm,dc=ldap,dc=localdomain"
password: ""
sas.identities.providers.ldap.group:
accountId: 'name'
baseDN: "ou=groups,dc=ldap,dc=localdomain"
createdDate: 'createTimestamp'
distinguishedName: 'none'
member: 'member'
modifiedDate: 'modifyTimestamp'
objectClass: 'groupOfNames'
objectFilter: '(objectClass=groupOfNames)'
searchFilter: 'dn={0}'
sas.identities.providers.ldap.user:
accountId: 'uid'
baseDN: "ou=user,dc=ldap,dc=localdomain"
createdDate: 'createTimestamp'
distinguishedName: 'none'
memberOf: 'memberOf'
modifiedDate: 'modifyTimestamp'
objectClass: 'inetOrgPerson'
objectFilter: '(objectClass=inetOrgPerson)'
searchFilter: 'uid={0}'
sas.identities:
administrator: 'ldapadm'
which I call with the following command
python3 viya-ark.py ldap_validator -s ../sysPrep/sitedefault.yaml  -d

The sample sitedefault yaml URL referenced is from the Viya 3 version of Viya ARK, but the python tool reference by this issue is for Viya 4 version of Viya ARK which does not provide a sample sitedefault yaml file. I assume the Viya 3 sample version is different because it used in Ansible playbooks. I think the expectation of the Viya 4 ARK is that you use the sample sitedefault included in your order generated manifests.

Will it work with open LDAP then? or just with AD?

Currently, the script only supports AD. I will take a look at what changes are needed to provide support for OpenLDAP.

We have opened a request to support OpenLDAP.


FitCenter image

Is it possible to add android:scaleType = "fitCenter"  in order to show the entire image  ?

I'm pretty sure the default behaviour is the same as fitCenter. Can you illustrate what you need?
Please check the wiki for configuration options, pretty much anything is possible.


Logging operator output value structures are wrong

Describe the bug
Logging operator output value structures changed, but pipeline has not been updated.

Logging feature has been rewritten as integrated service.


do_default function in filters.py fails jinja2.exceptions.UndefinedError

do_default function in filters.py fails when value is a json dictionary with multiple subelements and parent element is undefined. Example:
nginx_epel_enabled|default(ansible_local.util.epel.enabled)|default(false)
Possible solution: wrap it with try exept to catch undefined for parent element and return default_value on exeption

Is it expected behaviour to have the default filter crash with a nullpointer exception?
Isn't it the whole point of that filter to catch such exceptions?

+1, this was unexpected. At the very least, should have a documentation note about this.

It's not the function that is failing but the way you invoke it. The function cannot escape Jinja semantics. This cannot be changed.

@mitsuhiko I didn't read his example above, I agree that it should break -- but what about this example?
{{ missing.subelement|default('no') }}

This seems like it should work, and it does not.

That is not supposed to work with the default Undefined object.  You can make one that propagates undefineds further if you want.


can we remove 3 dots from player

For one of my project, Client has request for removing 3 dots in player and I don't know if it's possible can you please guide me

Which three dots?

https://github.com/PierfrancescoSoffritti/android-youtube-player#menu

Is that the menu that is visible when the player is paused? if yes, not it's not possible to remove it. I would suggest switching to webUi, so it's clickable at least.


Data corruption on certain combinations of pixels

See: title. It seems like certain combinations of pixels get corrupted somewhere along the line. Gotta look into fixing that ASAP.

Okay, never mind then. It appears that it might be real hardware that's messing with this one?
I know this because printing off the hex value of byte using the commented-out debug code shows the correct test output on my test file, and so do the contents of the file itself:

.....0...0......
..00.0.00.......
....000.........
000000000000....
0000000000000...
0000000000000...
000...0000..0000
.00.........0..0
.00..0....0.0..0
.00..0....0.00.0
.00..........0.0
.00...0......000
000....0000000..
0000........0...
000000000000....
................

Yet despite this, injecting this data into a memory card (virtual or otherwise) causes corruption:


Empty data set view breaks "pull to refresh"

I'm trying to use this handy library in a UITableViewController which applies the "pull to refresh" pattern and which thus owns a UIRefreshControl. Unfortunately, this combination causes a number of problems:

As long as the empty data set view is visible, the "pull to refresh" gesture is no longer possible even when emptyDataSetShouldAllowTouch: returns NO.

The empty data set view seems to hide the UIRefreshControl (which can be invoked manually by calling beginRefreshing, but it won't become visible as long as the empty data set view is visible). This is also the case when I manually set the background color to transparent (but as far as I can judge from looking at the source code this is the default anyway).

The offset of the empty data set view is wrong (although this could probably also be fixed by returning a custom offset from the according delegate method).

Is there any way to use this library in conjunction with a UIRefreshControl? If there is anything I can do to help resolve this issue, just let me know.

@leoschweizer Did you fix it?

@allaire No, I figured that simply using the background view of a UITableView is a much more reliable solution for my use case than working around the design of this library.

Tried UIRefreshControl with
`- (BOOL)emptyDataSetShouldAllowScroll:(UIScrollView *)scrollView {
return YES;

}`
but it just don't work...

@allaire @rene-dohan Working with a CollectionView I had to implement these two delegates in order to restore the pull-to-refresh gesture (even if the emptyDataSetShouldAllowTouch is marked as true by default... Weird but it works.):
    func emptyDataSetShouldAllowScroll(_ scrollView: UIScrollView!) -> Bool {
        return true
    }

    func emptyDataSetShouldAllowTouch(_ scrollView: UIScrollView!) -> Bool {
        return true
    }

Hope it helps.

In case anyone made mistake like me, with the override method above, please make sure you have set self.tableview.emptyDataSetDelegate = self
Without this line, refresh control will never show up.

Maybe it'll help someone as a temp solution.
`
func emptyDataSetShouldAllowScroll(_ scrollView: UIScrollView!) -> Bool {
return true
}
func scrollViewDidScroll(_ scrollView: UIScrollView) {
guard let view = scrollView.value(forKey: "emptyDataSetView") as? UIView else {return}
view.frame = CGRect(x: view.frame.origin.x, y: scrollView.contentOffset.y, width: view.bounds.width, height: view.bounds.height)
}
`


Fix serif in json-ld logo

Re https://github.com/json-ld/json-ld.org/issues/388, fix when possible or use png if it's really irritating.

Fixed with 6b30dad727d7ef0d453ecf55e06fa1718118831e


Update the default Bar Chart to a line chart

Is it possible to update the bar chart in the slider to a line/area/spline chart etc

No


Add support for placeholders to Feign spring-mvc annotations.

fixes gh-894

Thanks. Did you fill out the contributor's agreement (link in README)?

Close in favour of #984


make this an example

rename to "sample-go-app"
add warg
add gif with VHS (see fling)
add precommit hook (see warg)

Then make issues to update all my go apps...

use lefthook for precommit


WindowsError: [Error -2147221163] Interface not registered

Hi there,
I am trying to use the toolbox but get the error below. I am a complete novice when it comes to python but I think the comtypes are correct. Using ArcGIS 10.6 and comtypes 1.1.7
Any help would be very much appreciated.
Traceback (most recent call last):
File "C:\Users\peckc\OneDrive - University of Manitoba\Documents\ArcGIS 10.6\mapqonverter-master\mapqonverter.py", line 159, in
main()
File "C:\Users\peckc\OneDrive - University of Manitoba\Documents\ArcGIS 10.6\mapqonverter-master\mapqonverter.py", line 48, in main
arc_app = CreateObject(ArcGisModules.module_framework.AppROT, interface=ArcGisModules.module_framework.IAppROT)
File "C:\Python27\ArcGIS10.6\lib\site-packages\comtypes\client_init_.py", line 238, in CreateObject
obj = comtypes.CoCreateInstance(clsid, clsctx=clsctx, interface=interface)
File "C:\Python27\ArcGIS10.6\lib\site-packages\comtypes_init_.py", line 1227, in CoCreateInstance
_ole32.CoCreateInstance(byref(clsid), punkouter, clsctx, byref(iid), byref(p))
File "_ctypes/callproc.c", line 950, in GetResult
WindowsError: [Error -2147221163] Interface not registered
Failed to execute (Mapqonverter).

Hi Peck117,
if the interface is not registered, somehow comtypes can't load the arcmap libraries.
There can be many reasons for that. The path looks allright: C:\Python27\ArcGIS10.6\lib\site-packages\comtypes
Unfortunately it's hard to tell, where the problem lies. You can try installing mapqonverter with this setup: https://files.wheregroup.com/s/ksCiBk3SWcMBxsf
Perhaps this helps.
Greetings
Peter


CLOUDSTACK-8850: revertSnapshot command does not work

Updating the documentation before the api is actually supported

Please note revertSnapshot for KVM has been merged into master.

LGTM cc @wilderrodrigues @wido @ustcweizhou

LGTM

Only text change and 2LGTMs, merging now


fix(curseforge): automatically patch settings.sh file

Pretty hacky way to do it, but it works for now.
Some weird things had to be done for the JVM args to work with the Aikar flags because they have newlines and slashes (which would both cause issues with sed).

I am closing this.
At the end of the day, I'm not very happy with this solution. I think the way I will do it in the future is specifying the version of Forge I want to use myself. This way I won't have to rely on wonky scripts that are not the same one modpack from the other.
Thank you again for your help and quick response time!


Add my first file

I have created a new branch, created a file, and made a commit!

Great experience!


adding parameters

Docs Build status updates of commit e078f58:
:clock10: Full build: the average full build time is 16 min(s) 3 sec(s), this is based on the last 10 build(s) for this repository.
:warning: This is a FULL build due to the 'master' branch being a new branch in Docs Build service and is still building, or there are build errors in 'master' branch so the cache for incremental build is not available. Normally no action is required on your part, but if the full build persists, please contact your repository admin to manually perform a full build on the 'master' branch. For more detailed info, please click here.

Docs Build status updates of commit e078f58:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docset/windows/storage/new-partition.md
:x:Error

Details

docset/windows/storage/new-partition.md

[Error]

Failed to parse windows/storage/new-partition.md due to :69:(435) '> [!NOTE]
> You can use either -AssignDriveLetter...'
 Expect Heading, please use PlatyPS to do content validation

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.

Docs Build status updates of commit 136cec3:
:clock10: Full build: the average full build time is 16 min(s) 3 sec(s), this is based on the last 10 build(s) for this repository.
:warning: This is a FULL build due to the 'master' branch being a new branch in Docs Build service and is still building, or there are build errors in 'master' branch so the cache for incremental build is not available. Normally no action is required on your part, but if the full build persists, please contact your repository admin to manually perform a full build on the 'master' branch. For more detailed info, please click here.

Docs Build status updates of commit 136cec3:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docset/windows/storage/new-partition.md
:x:Error

Details

docset/windows/storage/new-partition.md

[Error]

Failed to parse windows/storage/new-partition.md due to :70:(435) 'Note: You can use either -AssignDriveLetter parame...'
 Expect Heading, please use PlatyPS to do content validation

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.

Docs Build status updates of commit 7af4b0d:
:clock10: Full build: the average full build time is 16 min(s) 3 sec(s), this is based on the last 10 build(s) for this repository.
:warning: This is a FULL build due to the 'master' branch being a new branch in Docs Build service and is still building, or there are build errors in 'master' branch so the cache for incremental build is not available. Normally no action is required on your part, but if the full build persists, please contact your repository admin to manually perform a full build on the 'master' branch. For more detailed info, please click here.

Docs Build status updates of commit 7af4b0d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/appx/remove-appxpackage.md
:white_check_mark:Succeeded

docset/windows/storage/new-partition.md
:white_check_mark:Succeeded

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


Colormap: Color of "Low" values too similar to background colors

First off: I love this style. However for plots that make use of the colormap (for example together with a scatter plot), the colors towards the bottom of the color scale blend in with the background:

Thanks for reporting this observation! I guess this colormap makes most sense for a heatmap, where low values correspond to the light end of the color scale. For scatter plots, magma or plasma might be a better choice, although they might also blend in at the upper end of the scale? See https://matplotlib.org/stable/tutorials/colors/colormaps.html
I think the current default is sensible


docs: explain how to run tests in readme [skip ci]

So I can't merge this without performing a Travis build, which was skipped due to [skip ci]... 😒

can't merge this without performing a Travis build

Yeah.. bad.. can't see flexible options in github policy. The only option could be remove the policy

Did some Google search, apparently the only solution is to modify the Travis script to make it check e.g. if only .md files have been modified. Not sure if that's a good solution, hmhm. Let's first merge #129, then I rebase this one and recommit a pseudocommit for Travis to kick off.


README is generic

Please fill the README out with some content.

Hello @hyandell,
I apologies for the delay of our answer. Thank you very much for your submission and feedback.
Is there any specific information you would like to be documented in the README.md?
Best regards,
Yasmine

I've added https://github.com/awslabs/aws-crt-ffi/pull/58 to at least fix the base issues of the name and minimal description. @yasminetalby can we get someone from the CRT team to take a look?
I've also listed a few other things that we should consider adding in a follow up PR.

Thank you very much for your contribution @nateprewitt. We really appreciate your time and support in improving the aws-crt-ffi repository documentation.
I will close this issue as the PR has been merged.
If you have any further request or inquiries please let me know!
Best regards,
Yasmine


Locking issue is back

Describe the bug
A clear and concise description of what the bug is.
Run CI decomposedFS concurrency test

Will run 63 of 64 specs
--
1367 | ••••••••••••••••••••
1368 | ------------------------------
1369 | P [PENDING]
1370 | Decomposed concurrent Upload generates two revisions
1371 | /drone/src/pkg/storage/utils/decomposedfs/decomposedfs_concurrency_test.go:60
1372 | ------------------------------
1373 | • [FAILED] [0.990 seconds]
1374 | Decomposed
1375 | /drone/src/pkg/storage/utils/decomposedfs/decomposedfs_concurrency_test.go:36
1376 | concurrent
1377 | /drone/src/pkg/storage/utils/decomposedfs/decomposedfs_concurrency_test.go:53
1378 | CreateDir
1379 | /drone/src/pkg/storage/utils/decomposedfs/decomposedfs_concurrency_test.go:93
1380 | [It] handles already existing directories
1381 | /drone/src/pkg/storage/utils/decomposedfs/decomposedfs_concurrency_test.go:100
1382 |
1383 | Unexpected error:
1384 | <*errors.withStack \| 0xc00000f278>: {
1385 | error: <*errors.withMessage \| 0xc0002601a0>{
1386 | cause: <*errors.errorString \| 0xc000256860>{
1387 | s: "unable to acquire a lock on the file",
1388 | },
1389 | msg: "xattrs: Unable to lock file for read",
1390 | },
1391 | stack: [0xd7d97a, 0xd8c6fc, 0xd8cce8, 0xe405b3, 0xe262c6, 0xfbc4d8, 0x49ee61],
1392 | }
1393 | xattrs: Unable to lock file for read: unable to acquire a lock on the file
1394 | occurred
1395 | In [It] at: /drone/src/pkg/storage/utils/decomposedfs/decomposedfs_concurrency_test.go:115

Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what happened.
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.

OCIS_XXX=somevalue
OCIS_YYY=somevalue
PROXY_XXX=somevalue

Additional context
Add any other context about the problem here.

This is a typical log sequence from my Raspberry Pi where I get the error message often:
{"level":"error","service":"storage-users","pkg":"rgrpc","traceid":"00000000000000000000000000000000","error":"xattrs: Unable to lock file for read: unable to acquire a lock on the file","node":"7a17d9ea-25f8-49b7-963c-6cc2607f656f","time":"2022-10-24T12:54:54.263075324+01:00","message":"error listing attributes"}
{"level":"error","service":"storage-users","pkg":"rgrpc","traceid":"00000000000000000000000000000000","node":"7a17d9ea-25f8-49b7-963c-6cc2607f656f","error":"xattrs: Unable to lock file for read: unable to acquire a lock on the file","time":"2022-10-24T12:54:54.430718246+01:00","message":"error getting list of extended attributes"}
{"level":"debug","service":"storage-users","pkg":"rgrpc","traceid":"00000000000000000000000000000000","node":"7a17d9ea-25f8-49b7-963c-6cc2607f656f","ri":{"opaque":{"map":{"adler32":{"decoder":"plain","value":"MzI1ZTAxYTg="},"md5":{"decoder":"plain","value":"ZTg4OWJjMzM1NzI2MzEyNTcxMjk1NGViMzM0N2NkZDc="}}},"type":1,"id":{"opaque_id":"7a17d9ea-25f8-49b7-963c-6cc2607f656f","space_id":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"},"checksum":{"type":4,"sum":"96bdf56ca9541af02db4b3112f862daa915207bd"},"etag":"\"cfe5148ae1d195a619b72c90f983ca20\"","mime_type":"image/jpeg","mtime":{"seconds":1661700948},"path":"cameringo_20220828_165945.jpg","permission_set":{"add_grant":true,"create_container":true,"delete":true,"get_path":true,"get_quota":true,"initiate_file_download":true,"initiate_file_upload":true,"list_grants":true,"list_container":true,"list_file_versions":true,"list_recycle":true,"move":true,"remove_grant":true,"purge_recycle":true,"restore_file_version":true,"restore_recycle_item":true,"stat":true,"update_grant":true},"size":2671299,"owner":{"idp":"https://raspberrypi:9200","opaque_id":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","type":1},"arbitrary_metadata":{"metadata":{"http://owncloud.org/ns/favorite":""}},"parent_id":{"opaque_id":"4c191ecf-a009-47db-aa87-19ddc553dfad","space_id":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"},"name":"cameringo_20220828_165945.jpg"},"time":"2022-10-24T12:54:54.430946005+01:00","message":"AsResourceInfo"}

This seem to fail at the xattr.List() call in https://github.com/cs3org/reva/blob/master/pkg/storage/utils/decomposedfs/node/node.go#L636
I have no theory why, but I see this fail again and again (but not on every call).
xattr.List() uses a time loop to wait for being able to lock which goes up to > 50 msec. That should be enough... So maybe the file is already locked by a calling function? That would however mean that it fails at every call.


Missing Submitted farm history Kobo form

I submitted a psa_farm_history kobo form for farmer Lee Nunn on 1/15/2021 using one of the old tablets that I have since mailed back to NCSU. I went to Kobo on my desktop to see if I could view the information in the submitted form for Lee Nunn.  I can only see data for forms I submitted after Feb 1 when the last update to the form was made.  I want to make sure that the Lee Nunn data is somewhere and that I do not need to re-interview the farmer. Is there a way I can view this submitted form without the old tablet?

I see 3 forms submitted for GA - Gaines, Gasset and Anderson.
I can open the old tablet and see if it is saved in the kobo server there.


team members are unauthorized to create a project

when a team member (not the creator) tries the submission workflow, everything works fine until the last step when pressing "finish", then they get "error 403 unauthorized", and when refreshing, the project is actually created, but instead of seeing the dashboard, a new submission process starts.
Now if one tries to open the created project, they get this error:

This works fine for me.


use metaplex sdk for nft transfer, support pnfts

this pr updates our nft-sending functions to use the metaplex sdk, which is compatible with both standard transactions as well as pnfts.
here is an example of a successful proposal withdrawing an nft: http://localhost:3000/dao/3i2q1Jw9EMTXT2xfZjQgyNPBcebL22dS9UYi9fyJHhsA/proposal/8xj8h5o1JVsKWgjkE1oNXV4Bz5iDJwQ8aM2ZDWoenbVE?cluster=devnet

looks good for me please click manual test it a bit on ui before merge


Cannot use timezone patterns in date format parameter

The timezone patterns from date-fns (e.g. xx and XX) don't seem to work when used in the date format string.
Example format string:
date: {{date YYYY-MM-DD HH-mmxx}}

Results in:
date: 2022-09-19 02:00:35

I understand that you're trying to save time, but it's very important that each problem be filed as a separate github issue so that the discussion following it can be relevant to the whole described problem instead of potentially just half of it; toward that end, I've moved your second issue to #40 and will discuss only the first issue here.

I'm not able to reproduce the problem you've described, but I also see that you're missing quotes around your format string in the manner described in the in-product docs:

{{date}}: Displays a timestamp. By default this uses the format "yyyy-MM-dd HH:mm:ss", but you can configure the format used by providing a second parameter; for example:{{date "EEEE, MMMM do"}} would display a timestamp like "Friday, February 18th". See here for a full list of formatting codes.

Note that there are double-quotes around the format string; they are important, and without them your date will be formatted using the default format, which is the one you're seeing.


Fix typos in distribute_lib.py code examples

Closing this PR as this not against master, please open a new PR against master
CC @mihaimaruseac


proposal: Consider adding "ban" to go.mod

Our organization has fully embraced the Go module dependency management
introduced in Go 1.11 but we have a recurring frustration that the tool could easily handle.  This problem isn't limited to a a single package but I'll outline the most common occurrence below.  I should also point out that the word ban could be replaced by veto, reject or any other word that is a better antonym for ban.
We pretty consistently use the following import statement in our code:
import log "github.com/sirupsen/logrus"

If you use log.Error(err) before adding the import, many IDEs will be helpful and import the standard library's log package for you.  There are three or four packages that we consistently have to expel from our code.  What I'm proposing is that mod.go provide a section that allows us to specify packages that we don't want imported.
module github.com/example/example

go 1.12

require (
	github.com/sirupsen/logrus v1.4.2
        ...
)

ban (
        log
        github.com/google/martian/log
)

This behavior further strengthens Go's dependency management by making sure libraries that aren't intended to be used in a project are rejected.  A pleasant side effect is that IDEs will continue to highlight the error as a missing package so you can properly add the required import statement.

On one project I worked on, we deprecated a repository in favor of another. While refactoring, it was easy to accidentally reintroduce a dependency on the deprecated project, so I added a replace github.com/myorg/deprecated-project => /dev/null to go.mod.
But that is a total hack, and it gives you a not-very-informative message when you mistakenly import that package:
go: finding github.com/myorg/deprecated-project latest
foo.go:43:2: unknown import path "github.com/myorg/deprecated-project": cannot find module providing package github.com/myorg/deprecated-project

First-class support for blacklisting specific packages/modules is something I would have used in the past, had it been available.

@smoyer64 what are you using for an editor or IDE, and are you using goimports or gopls, or maybe something else?
Are you looking for functionality similar to .goimportsignore?
From https://godoc.org/golang.org/x/tools/cmd/goimports:

To exclude directories in your $GOPATH from being scanned for Go files, goimports respects a configuration file at $GOPATH/src/.goimportsignore which may contain blank lines, comment lines (beginning with '#'), or lines naming a directory relative to the configuration file to ignore when scanning. No globbing or regex patterns are allowed. Use the "-v" verbose flag to verify it's working and see what goimports is doing.

CC @heschik

@thepudds We're using a variety of editors but the most prevalent is VSCode with gopls under the hood followed closely by vim with vim-go.  In both cases we could use .goimportsignore but that will "ban" a package globally.  I'd like to be able to use go.mod to manage all my dependency versions (or lack thereof) on a project by project basis.  We have used the replace trick above but we'd like to globally use a Git precommit hook that globally rejects go.mod files that contain replace constructs.

Regarding the specific proposal: go.mod deals with modules, not packages, so it would be pretty strange IMO to put ban log in there.
Regarding goimports: it already prefers imports that are present in the same package. So if you have a package with a file that has import log "github.com/sirupsen/logrus", then make a new file and use log, it should copy over that import. Theoretically it could consider the whole module for that sort of thing.
Ultimately this sounds like an editor feature to me.  As a point of reference, Eclipse has the concepts of "favorite imports" and "type filters", which in combination sound very close to what you're asking for here.

It does seem a bit strange to ban the log package in go.mod as it's "well known".  But go.mod definitely includes URLs for code that has not yet been converted into modules, so the case can be made that it handles packages now.
Following the thoughts related to .goimportsignore above, maybe the better answer would be to make goimports module aware.  If you're in a module, why couldn't it use that file local to the module instead of the one in your $GOPATH?

go.mod has the path of repositories that have been implicitly converted to a module, like github.com/sirupsen/logrus. It never has package names like github.com/sirupsen/logrus/hooks/syslog.
I don't understand the focus on not adding the thing you don't want. Wouldn't it be better for goimports or the editor to add the thing you do want, i.e. import log "github.com/sirupsen/logrus"?

Well ... if everything always worked in the way you imagine, you wouldn't need to to focus on the negatives (which would be more pleasant as is general in life).  I've been using Maven for Java dependency management for many years and there are still occasions where you need to force dependency versions (as you can in Go modules) or exclude dependencies as I'm suggesting here.  If a very mature and IMHO stream-lined dependency management system still has this problem, is it realistic for Go modules to solve the problem in its first year?
Pardon my incorrect terminology above ... I guess what I was trying to say is that if a repository can be implicitly considered a module for require purposes, it feels like you should be able to make the same implicit conversion if you want to ban it.
A couple more good ideas for alternate words for ban are exclude and blacklist.

@mark-rushakoff, you can already use an exclude directive or GOPROXY to forbid entire modules. This proposal seems to focus on individual packages instead.

@smoyer64, as @thepudds and @heschik note, this feature is not a good fit for the go.mod file: the go.mod file operates on modules, not packages.
.goimportsignore seems like the right tool for this. Consider filing a proposal to make goimports look for a .goimportsignore file at the module root instead of just GOPATH/src.

@bcmills From the discussion above, I agree that's the correct solution to my problem.  I'll submit the bug over there but wanted to thank you all for indulging me and for the productive discussion.

I prefer refuse and
I would like to add the case for local packages.
Example: autogenerated packages, buildignored packages:
module github.com/example/example

go 1.12

require (
	github.com/sirupsen/logrus v1.4.2
        ...
)

refuse (
        log
        github.com/google/martian/log
        github.com/example/local/autogenerated
        github.com/example/local/buildignored
)


Automation!

This repo is missing CI automation! Would be neat to add in GitHub Actions to update DockerHub!

You are welcome to open a PR to fix it! 😆

Could be done with an action like this perhaps?
What it does:

Loops thru all changed .yml files and builds a matrix with them
Builds and pushes each image to Docker Hub

The problem is that you don't know which tag to push, apart from "latest"..
I haven't tested this, it's just a draft!
name: Publish to PyPI, Docker Hub and GitHub IO

on:
  push:
    branches:
      - master

jobs:
  get_changed_images:
    runs-on: ubuntu-latest
    steps:
      - name: Check out git repository
        uses: actions/checkout@v2

      - name: Find changed .yml files
          id: files
          uses<EMAIL_ADDRESS>          with:
            filter: "*.yml"

  docker_build_n_push:
    needs: get_changed_images
    runs-on: ubuntu-latest
    strategy:
      matrix:
        dockerfile: ${{jobs.get_changed_images.steps.files.outputs.all}}

    steps:
      - name: Check out git repository
        uses: actions/checkout@v2

      - name: Get image name
        id: image_name
        uses: mad9000/actions-find-and-replace-string@2
        source: ${{ matrix.dockerfile }}
        find: '.yml'
        replace: ''

      - name: Set up Docker Buildx
        id: buildx
        uses: docker/setup-buildx-action@v1

      - name: Build and push
        uses: docker/build-push-action@v2
        with:
          context: ./
          file: ./${{steps.image_name.outputs.all}}/Dockerfile
          push: true
          tags: "clinicalgenomics/${{steps.image_name.outputs.all}}:latest" #How do you get to know if you should push tag 1.0, 2.0 etc here?


fix error parsing +X weapon attacks with monsterImporter

Fixes  #583. I tested a mass import of the entire rulebook, and with this fix, the Monster Importer now works on every monster in the core rulebook.

Attack works as intended now.


student statistics: studyright (ui?) fuckup in some cases

see eg 014580736
in sis-oodikone

oodi-oodikone

Partly fixed, but leaving this open, since following need to be checked:

[ ] degrees are fetched for only some students, so current progam logic might not be the most working one
[ ] some degrees don't show correct start / end dates. current logic may be too manual, can we link degrees to study modules in some better way?

actually previous fix wasn't working: if running updater fails, any studyrights won't get added to sis-oodikone-db. Fix this

Closing this in favor of more spesific #2619


copy-code version problem

Hello, I have benefited a lot from your Helium plugin, and I also like your other Copy Code plugin, but what is confusing is that my version 1.0.1 is available and the rest, including today's update, are invalid. My operating system is win11. Thank you for the development of the logseq plugin
https://user-images.githubusercontent.com/100990301/169517880-b6f53122-c1d4-4a0e-82b5-0549b443ddd6.mp4

Hi, even I am facing a similar issue that in version 1.1.0, while the inline code copy is working perfectly, it is no longer able to copy from the source code blocks. I am using macOS 12 with Logseq 0.6.9.

sorry for the inconvenience! i’ll work on fixing this issue ASAP

the bug was a small typo 😅 - this issue should be fixed in v.1.1.1

Works well with v1.1.1 👍🏼


power data for Germany: 4 of 45 turbines, power < 0 ?

Hi Climetlab people,
may I bother you with a couple of problems:

cml.load_dataset("maelstrom-power-production", wind_turbine_id=turbineid )
works ok for turbines 1 .. 4, but 5 .. 45 raise errors

    requests.exceptions.HTTPError: 403 Client Error: Forbidden for url:
    https://storage.ecmwf.europeanweather.cloud/MAELSTROM_AP6/production_data/wind_turbine_5.nc

for turbines 1 .. 3, there are a few way-off values:

production: (228105, 1, 1, 1)     quantiles [-6549 -6 23 165<PHONE_NUMBER>]
  min -6.55e+03 at (175558, 0, 0, 0)  max 6.55e+03 at (154941, 0, 0, 0)

Could this be related to "phantom strom" -- do you have that in the UK ?
By the way the Jupyter notebooks, Maelstrom pdf table 4.3,
are now under https://github.com/4castRenewables not https://github.com/faemmi .
climetlab version: 0.11.31
Thanks,
cheers
-- denis

Hey @denis-bz,

Unfortunately, we are only allowed to provide data for 4 of the previously 45 turbines. We are really sorry for this, but this is out of our responsibility since we (4cast) are not the owner of the data. This has been updated in the README.md roughly 1 month ago already.
Yes, there are a few outliers that might show extremely large and unrealistic positive or negative production. We are not entirely sure about the origin of those, but they're likely just a result of technical issues and thus should be cleaned from the data before processing them.

Regards
Fabian

Thanks @faemmi,
missed that in the Readme
also missed your utils/*py -- looks pretty good, redid a bit of that :(
more tomorrow

@faemmi,
forwhatitsworth, the 4 datasets have implausibly steep production distributions
even after np.clip to (0, 99 percentile) --

I know that ploughing through other people's buggy data is no fun ...
What to do ?
Are any other power curves, sorted, this steep -- could you point me to data please ?
Also do you know these turbine models or their max (rated) power,
4 MW ? Here we're seeing 10 M ...
cheers
-- denis

Hi @faemmi.
the production values seem to be KWh per hour, not KWh over 10 minutes ?
KW = KWh / h = (production.sum() / 6) / h
e.g. daily, with maxday the df of the day of max production, 24 * 6 long --
{ read_maelstrom_nc: data/maelstrom-01.nc  39101 hours  lat 52.200  lon 11.200  height 151.5
maxday.Prod.sum : 92354  = 641 KW * 24 * 6

{ read_maelstrom_nc: data/maelstrom-02.nc  38017 hours  lat 51.990  lon 13.720  height 51.3
maxday.Prod.sum : 192653  = 1338 KW * 24 * 6

{ read_maelstrom_nc: data/maelstrom-03.nc  37938 hours  lat 52.680  lon 14.070  height 75.0
maxday.Prod.sum : 196748  = 1366 KW * 24 * 6

{ read_maelstrom_nc: data/maelstrom-04.nc  38952 hours  lat 52.300  lon 14.430  height 89.0
maxday.Prod.sum : 216981  = 1507 KW * 24 * 6

Does that make sense ?

@faemmi,
forwhatitsworth, a summary of the 4 turbines  and comparison with GWA --
# Wind turbines from www.maelstrom-eurohpc.eu  https://github.com/4castRenewables/climetlab-plugin-a6
# gwa50: from globalwindatlas DEU_wind-speed_50m.tif
# written 2022-09-30 Sep 13:22  by bz wind/maelstrom/sum-maelstrom.py

 lat  lon Thi Cap% KWav KWmax Windav gwa50 gwacap%
52.2 11.2 152   19  163   841    5.8   6.2      47
52.0 13.7  51   17  312  1848    5.1   5.8      43
52.7 14.1  75   19  379  1971    5.3   6.4      49
52.3 14.4  89   24  486  2025    5.9   6.1      47

Can you or your colleagues point me to other windspeed and power timeseries, onshore
or a wiki for that ?
Thanks,
cheers


Adding explicit support for timed events

In the javascript API I can call time_event (https://mixpanel.com/help/reference/javascript-full-api-reference#mixpanel.time_event), but the node API does not have this. Could this be added?
As a work-around I'm calculating the duration manually + added the $duration property to the track event. Based on the logic found here: https://github.com/mixpanel/mixpanel-js/blob/master/src/mixpanel-core.js#L1068

Bumping this since there has been no activity


feat: add websocket support for arbitrum and optimism

What I did

fixes: #
How I did it
How to verify it
Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

Lgtm, could consider mentioning it's still beta for arb and opt, but maybe not worth it

I think it just means the pricing could change


VM uses a lot more storage than whats dedicated

Issues Description
I have specified 64GB of storage upon creation for a vm but now it consumes about twice that amount for no apparent reason everything else seem normal and behaves as expected.
Configuration

UTM Version: 4.0.8/67
macOS Version: 13.2.1
Mac Chip (Intel, M1, ...): M1

Storage Status in VM:

The amount of storage it consumes on host/mac

Plist file
https://paste.debian.net/1276992/

Im aware of the Reclaim Space and Compress in configuration however Im not familiar with their functionality and rather proceed with caution since I dont have a backup yet

That's normal, since free space once used by guest appear as GBs of zeros on host. You need to reclaim disk space (and compress if you want).


Idea: provide a clean, native ability to produce examples of datums, redeemers, or transactions

What is your idea? Provide a use case.
One of the most important tools when trying to understand a set of contracts, or test it in the real world, is the ability to easily construct and persist examples.
I had two ideas for doing this natively in aiken:
example LimitOrder() -> OrderDatum {
  Swap {
    // ...
  }
}

example ScoopTransaction -> Transaction {
  Transaction {
    ...
  }
}

or, if you don't want to add another keyword, another builtin like trace that saves to a file:
test example_LimitOrder() {
  persist "examples/limit_order.cbor" OrderDatum {
    // ...
  }
  True
}

Why is it a good idea?
Allowing developers to easily encode examples of their contracts is helpful in several ways:

It helps enrich understanding of the contracts, getting new developers or auditors up to speed more quickly
It helps the developers building off-chain tooling (indexers, frontends, etc.) to have golden samples to work from when building parsers and the like
It helps in producing real world test cases or potential attack vectors, that can be signed and submitted to an environment

What is the current alternative and why is it not good enough?
One option is to do something like this:
test example_datum() {
  trace hex_encode(cbor.serialise(OrderDatum{ ... })
  True
}

Which prints it as part of running tests, which can be cumbersome
Another option is to generate examples from Lucid, but this risks getting out of sync with the code, as LSP refactoring rules (as we add them) won't be aware of this code.  It's also way less ergonomic.
Another option is to just build them by hand and put them in the repository, but this suffers from the same problems.

+1

I like the idea. We could very much attach "examples" to type definitions, and have them generated as build artifacts.


React Native support

Are you planning on creating a version that supports react native? Or are there any resources we can follow to make it work?

I left a comment here to get it to build https://github.com/project-serum/anchor/issues/864#issuecomment-968104501

const tx = await program.rpc.setData(
        'data'
        {
          accounts: {
            data: pda,
            user: provider.wallet.publicKey,
            systemProgram: anchor.web3.SystemProgram.programId,
          },
          signers: [],
        },
      );

When I call the above instruction, I get this error undefined is not a constructor (evaluating 'new a.Transaction()')
I was getting similarly undefined is not a constructor error for anchor node wallet too.
const wallet = new anchor.Wallet(keyPair);

// TypeError: undefined is not a constructor
// (evaluating 'new (_$$_REQUIRE(_dependencyMap[9], "@project-serum/anchor").Wallet)(keyPair)')

so I had to change it to -
anchor.Wallet = keyPair;
const wallet = anchor.Wallet;

There's some issue with module exports maybe as I'm using require('@project-serum/anchor') instead of import. When I use import I get this error -
TypeError: undefined is not an object (evaluating '_anchor.default.Wallet = keyPair')

@saicharanpogul did you find any solution?

@saicharanpogul did you find any solution?

No, I just tried again with new APIs of v0.24.2 and also asked the same in Anchor's Discord and this is not the first time, I asked several times. Seems like no one from the community and even core developers are interested in React Native queries and issues!

@saicharanpogul it looks like the tx is failing at this line: https://github.com/project-serum/anchor/blob/master/ts/src/program/namespace/transaction.ts#L18-L19

@saicharanpogul it looks like the tx is failing at this line: https://github.com/project-serum/anchor/blob/master/ts/src/program/namespace/transaction.ts#L18-L19

Yes

@raj-khare Check if this helps you.
https://stackoverflow.com/a/70964609/4687973

@saicharanpogul thanks, it worked when i removed the terser plugin 🚀

@saicharanpogul thanks, it worked when i removed the terser plugin 🚀

Great, can you share here how you removed the terser plugin exactly.

@saicharanpogul

Fork the anchor repo
Comment/Remove this line: https://github.com/project-serum/anchor/blob/master/ts/rollup.config.ts#L33
run cd ts && yarn && yarn run build:browser
copy the dist/ folder to your own project
instead of doing import * anchor from "@project-serum/anchor, do import * anchor from "./dist/index"

@saicharanpogul

Fork the anchor repo
Comment/Remove this line: https://github.com/project-serum/anchor/blob/master/ts/rollup.config.ts#L33
run cd ts && yarn && yarn run build:browser
copy the dist/ folder to your own project
instead of doing import * anchor from "@project-serum/anchor, do import * anchor from "./dist/index"

Are you able to create instance of Wallet and pass it AnchorProvider?

@saicharanpogul

Fork the anchor repo
Comment/Remove this line: https://github.com/project-serum/anchor/blob/master/ts/rollup.config.ts#L33
run cd ts && yarn && yarn run build:browser
copy the dist/ folder to your own project
instead of doing import * anchor from "@project-serum/anchor, do import * anchor from "./dist/index"

This solution worked perfect! Thanks @raj-khare. Would be awesome if support for RN is added so we don't have to do this.

@saicharanpogul you can add the wallet on the generated file, like this:

@saicharanpogul

Fork the anchor repo
Comment/Remove this line: https://github.com/project-serum/anchor/blob/master/ts/rollup.config.ts#L33
run cd ts && yarn && yarn run build:browser
copy the dist/ folder to your own project
instead of doing import * anchor from "@project-serum/anchor, do import * anchor from "./dist/index"

which version did you use?
I cannot find it, https://github.com/project-serum/anchor/blob/master/ts/rollup.config.ts#L33.

@devenus98 it has moved to https://github.com/coral-xyz/anchor/tree/master/ts
Good luck...

@devenus98 it has moved to https://github.com/coral-xyz/anchor/tree/master/ts
Good luck...

which line needs commenting out now?

@devenus98 it has moved to https://github.com/coral-xyz/anchor/tree/master/ts
Good luck...

which line needs commenting out now?


Unable to resolve dependency

When I use "Open in Android Studio" option to be able to debug some kotlin code, the project doesn't compile anymore and I have those errors:
Unable to resolve dependency for ':app@dynamicProfile/compileClasspath': Could not resolve project :google_api_availability. |
-- | --
Unable to resolve dependency for ':app@dynamicProfile/compileClasspath': Could not resolve project :flutter_crashlytics. |
Unable to resolve dependency for ':app@dynamicProfile/compileClasspath': Could not resolve project :flutter_credit_card_dongle. |
Unable to resolve dependency for ':app@dynamicProfile/compileClasspath': Could not resolve project :permission_handler. |
Unable to resolve dependency for ':app@dynamicProfile/compileClasspath': Could not resolve project :flutter_scan_bluetooth. |
Unable to resolve dependency for ':app@dynamicProfileUnitTest/compileClasspath': Could not resolve project :google_api_availability. |
Unable to resolve dependency for ':app@dynamicProfileUnitTest/compileClasspath': Could not resolve project :flutter_crashlytics. |
Unable to resolve dependency for ':app@dynamicProfileUnitTest/compileClasspath': Could not resolve project :flutter_credit_card_dongle. |
Unable to resolve dependency for ':app@dynamicProfileUnitTest/compileClasspath': Could not resolve project :permission_handler. |
Unable to resolve dependency for ':app@dynamicProfileUnitTest/compileClasspath': Could not resolve project :flutter_scan_bluetooth. |
Unable to resolve dependency for ':app@profile/compileClasspath': Could not resolve project :google_api_availability. |
Unable to resolve dependency for ':app@profile/compileClasspath': Could not resolve project :flutter_crashlytics. |
Unable to resolve dependency for ':app@profile/compileClasspath': Could not resolve project :flutter_credit_card_dongle. |
Unable to resolve dependency for ':app@profile/compileClasspath': Could not resolve project :permission_handler. |
Unable to resolve dependency for ':app@profile/compileClasspath': Could not resolve project :flutter_scan_bluetooth. |
Unable to resolve dependency for ':app@profileUnitTest/compileClasspath': Could not resolve project :google_api_availability. |
Unable to resolve dependency for ':app@profileUnitTest/compileClasspath': Could not resolve project :flutter_crashlytics. |
Unable to resolve dependency for ':app@profileUnitTest/compileClasspath': Could not resolve project :flutter_credit_card_dongle. |
Unable to resolve dependency for ':app@profileUnitTest/compileClasspath': Could not resolve project :permission_handler. |
Unable to resolve dependency for ':app@profileUnitTest/compileClasspath': Could not resolve project :flutter_scan_bluetooth. |
Unable to resolve dependency for ':app@dynamicRelease/compileClasspath': Could not resolve project :google_api_availability. |
Unable to resolve dependency for ':app@dynamicRelease/compileClasspath': Could not resolve project :flutter_crashlytics. |
Unable to resolve dependency for ':app@dynamicRelease/compileClasspath': Could not resolve project :flutter_credit_card_dongle. |
Unable to resolve dependency for ':app@dynamicRelease/compileClasspath': Could not resolve project :permission_handler. |
Unable to resolve dependency for ':app@dynamicRelease/compileClasspath': Could not resolve project :flutter_scan_bluetooth. |
Unable to resolve dependency for ':app@dynamicReleaseUnitTest/compileClasspath': Could not resolve project :google_api_availability. |
Unable to resolve dependency for ':app@dynamicReleaseUnitTest/compileClasspath': Could not resolve project :flutter_crashlytics. |
Unable to resolve dependency for ':app@dynamicReleaseUnitTest/compileClasspath': Could not resolve project :flutter_credit_card_dongle. |
Unable to resolve dependency for ':app@dynamicReleaseUnitTest/compileClasspath': Could not resolve project :permission_handler. |
Unable to resolve dependency for ':app@dynamicReleaseUnitTest/compileClasspath': Could not resolve project :flutter_scan_bluetooth. |
Unable to resolve dependency for ':app@dexOptions/compileClasspath': Could not resolve project :google_api_availability. |
Unable to resolve dependency for ':app@dexOptions/compileClasspath': Could not resolve project :flutter_crashlytics. |
Unable to resolve dependency for ':app@dexOptions/compileClasspath': Could not resolve project :flutter_credit_card_dongle. |
Unable to resolve dependency for ':app@dexOptions/compileClasspath': Could not resolve project :permission_handler. |
Unable to resolve dependency for ':app@dexOptions/compileClasspath': Could not resolve project :flutter_scan_bluetooth. |
Unable to resolve dependency for ':app@dexOptionsUnitTest/compileClasspath': Could not resolve project :google_api_availability. |
Unable to resolve dependency for ':app@dexOptionsUnitTest/compileClasspath': Could not resolve project :flutter_crashlytics. |
Unable to resolve dependency for ':app@dexOptionsUnitTest/compileClasspath': Could not resolve project :flutter_credit_card_dongle. |
Unable to resolve dependency for ':app@dexOptionsUnitTest/compileClasspath': Could not resolve project :permission_handler. |
Unable to resolve dependency for ':app@dexOptionsUnitTest/compileClasspath': Could not resolve project :flutter_scan_bluetooth. |

No problem when using flutter run, only when I open the Android project alone.
flutter doctor -v:
[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.6 17G65, locale fr-FR)
    • Flutter version 0.9.4 at /Users/jaumard/flutter
    • Framework revision f37c235c32 (3 weeks ago), 2018-09-25 17:45:40 -0400
    • Engine revision 74625aed32
    • Dart version 2.1.0-dev.5.0.flutter-a2eb050044

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/jaumard/Library/Android/sdk
    • Android NDK at /Users/jaumard/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 28.0.4
    • Dart plugin version 182.4323.44

• No issues found!

Did you update to latest plugin versions?

yes I have latest versions (Version: 29.1.1), just updated to AS 3.2.1 too but no luck

I meant the Flutter plugins like https://pub.dartlang.org/packages/flutter_crashlytics

I update gradle distrib like this: distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip
Now no more problem, would be nice to have a better error message ^^ would be easier

Thanks for the update.
Yes, better error messages would be quite helpful.

Dup of #22614

@jaumard thanks man, you saved me a hour 😃

@zoechi in fact my problem is not solved... at least not completely, I'm able to run the app by clicking run, but AS still telling me the error... And clicking the sync button give me those error any time. Don't know why the run button is working and not this one...

@jaumard 4.10 didn't work for me. but 4.10.2

I can confirm that is working with 4.10.2 for me too.
In a nutshell, you have to put in gradle-wrapper.properties file:
distributionUrl=https\://services.gradle.org/distributions/gradle-**4.10.2**-all.zip


French language integration

Hello,
would it be possible to add the french language
thank you.

Sure. If you have the time, patience and desire to translate the language files. I do not speak french and therefore can not.

I have just finished replacing language files with gettext strings. I have also started a project with POEditor. If you would like to help with the translation to french, that would be awesome.
Thanks

I'm going to participate

Sorry, but I closed the project on POEditor and I am now using Transifex. Several locales have been added and translated with Google Translate. I can't read french or any language other than english, so I don't know the quality of the translations.
Each translation should be proofread by someone who understands the language and corrected as needed.
Thank you for your participation


feat: release 0.14.1

Motivation

Release 0.14.1 as a hot fix for lodestar
See https://github.com/ChainSafe/lodestar/issues/4412

Codecov Report

:exclamation: No coverage uploaded for pull request base (0.14.x@5599563). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             0.14.x     #329   +/-   ##
=========================================
  Coverage          ?   78.90%
=========================================
  Files             ?       24
  Lines             ?     7699
  Branches          ?      801
=========================================
  Hits              ?     6075
  Misses            ?     1624
  Partials          ?        0

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


UG-644 Port artifact gathering to rpc-o script

Ports artifact gathering function to bash script and adds to
rpc-o.
Adds gating top level directory for scripts and playbooks only
used for gating.
Issue: UG-644

This is 645.

Updated title and commit message for card

@odyssey4me , updated commit separating artefact gathering and upload

@hughsaunders , should this be run on every deploy? The log gathering is probably more valid after running tempest or other tests or upgrading, rather than immediately after deploy. I'm not sure that at this time it would be worth the additional time to gather and compress log files on every rpc-openstack build when it's currently only done by Jenkins after upgrades

I agree with @dankolbrs. It doesn't make much sense to run this after each deploy before running tempest.

@dankolbrs @alextricity25 Agreed. We might need to get the tempest execution moved into rpc-o (instead of the gating executing it as a separate stage) before it makes sense to use this. That would allow the test to run and then artifacts gathered. Either that or we do some sort of interim stage thing while we transition.

My bad, I thought we had a conditional to run tempest from deploy.sh. As we don't, calling this script will have to wait until we have a single entry point gate script (UG-645).


Documentation around pFDA

Background
We need to provide documentation around pFDA and how to use AMPL on this platform
Things to document:

Creating a Workstation
Configuring .env
Attaching to a Jupyter Notebook
Running on different platforms (CPU/ GPU)
Output files

Open Questions

Where to place this documentation?

For now just put it on the fork, and we'll bring this up with the AMPL team

For now I am placing the documentation in PFDA.md


Renaming imports

Hello, i'm using pyright as language server with neovim, so this issue is more related to pyright, but i was advised to create feature request here (https://github.com/microsoft/pyright/issues/5148).
When i try to do the same with vscode+pylance, result is exactly the same.

Today i was trying to rename imported name, but instead pyright renamed a class.
from app.models import Book

I tried to rename it to SpecialBook, and instead of changing import to Book as SpecialBook, pyright renamed my target class.
Describe the solution you'd like
I would like it to change import, not target class.
Additional context
This would be expected behaviour, becouse other LSP servers (like volar for vue) are using similar approach.
Do you think it's possible to fix this in pyright renaming logic, and not to make a pylance-only feature?

Moving this issue to discussions as an enhancement request for comments and upvotes.


Fragment null must be a public static class to be  properly recreated from instance state

I am getting this error

May be already fixed on PR #23


Upgrade for dark steel axe - diamond hoe

So you can right click to hoe ground, and use it in farming station to balance no dark steel equivalent :)

actually a dupe to #8

https://github.com/SleepyTrousers/EnderIO/pull/2439
FarmStation pending


not work tailwindcss deploy at vercel

in my system tailwindcss is work
but deploy vercel with git
not work tailwindcss hah

i solve this error edit tailwind.config.js


encoding probe should use full slur text and just check for target

that's going to require both payloads and targets
complete #232 first

"full slur text" refers to the slur embedded in context as per the urbandictionary dataset, but we should just check for the slur, not the surrounding text
not sure if this is a meaningful idea - will close for now


How to keep webcsocket connection alive within the same feature file without auto closing after each scenario

My case is that I need t keep my connection alive for all scenarios within the same feature file. I tried the below  from  another post
function() {
var ws = karate.webSocket("https://" + host + '/ws/api')
 // this should most likely also be the default handler so you dont need to set it if you dont want to do anything additional here
 ws.setTextHandler(function(msg) { ws.signal(msg) }) // notice that I signal on the ws instance and not via the karate ScriptBridge

 return ws

}
Background:
* def openWs = callonce read ('classpath:openWebsocket.js')
* def ws = callonce openWs
* def void = ws.autoClose(false)
however it's says autoClose is not defined . I'm in karate version 14.
How to achieve the same in karate 14 ?
Thank you

in karate each scenario is independent so what you are asking for is not possible: https://stackoverflow.com/a/46080568/143475

Thank you  for the above response


Braking change update prisma client

Codecov Report

Merging #12 (b5a7464) into main (e7ce5ef) will increase coverage by 0.90%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   91.50%   92.41%   +0.90%
==========================================
  Files           4        4
  Lines         212      211       -1
  Branches       49       49
==========================================
+ Hits          194      195       +1
+ Misses         18       16       -2

Impacted Files
Coverage Δ

src/helpers/makeResolver.ts
88.79% <100.00%> (+1.61%)
:arrow_up:

src/helpers/makeTypeDefs.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


remove extra

Docs Build status updates of commit c1571bf:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch add_computer_vision has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add inline values support

This PR fixes #119489 . Would also be downstream of https://github.com/microsoft/TypeScript/pull/45173

/cc: @mjbvz @connor4312

This is cool, thanks for your work on it! I'll leave it to Matt to review this change as he's far more familiar with this code.

@Kingwl @connor4312  From the typescript side, I believe we agreed inline values would ship as a plugin instead of part of core. Do you know if such a plugin has been developed yet?

@Kingwl @connor4312  From the typescript side, I believe we agreed inline values would ship as a plugin instead of part of core. Do you know if such a plugin has been developed yet?

AFAIK, nope.

@Kingwl @connor4312 From the typescript side, I believe we agreed inline values would ship as a plugin instead of part of core. Do you know if such a plugin has been developed yet?

Emmmmm, should it be a builtin ts plugin provided by ts extension？

@Kingwl Yes that makes sense to me. The TS plugin needs to be shipped as its own node module but we can bundle it as part of VS Code's built-in TS extension

Happy to work on this If I may.


Segmentation fault in vegas and suave with maxevals smaller than 256

I got segmentation error when trying to pass maxevals to vegas.
Minimal example: vegas((x, f) -> f[1] = cos(x[1]); atol=1e-4, maxevals=20)
All other kwargs seem to work fine.
Machine info: Pop!_OS 22.04 LTS and Apple M2 (Sonoma).
Cuba version: v2.3.0

I can reproduce the segmentation fault with
vegas((x, f) -> f[1] = cos(x[1]); atol=1e-4, maxevals=255)

but not
vegas((x, f) -> f[1] = cos(x[1]); atol=1e-4, maxevals=256)

So the problem isn't that you can't use maxevals at all, which is completely false (as demonstrated also by the maxevals=256 case), since there's a default value of
julia> Cuba.MAXEVALS
1000000

but that the Cuba C library crashes when you use a too small value for the number of maximum evaluations, the threshold being 256.  Also, this is specific to vegas and suave, instead cuhre and divonne work fine.  I have changed the title to more accurately describe the issue.
You will have to report the bug to the Cuba library author Thomas Hahn, I can't do anything about it.

Also, this is a duplicate of #12


"TypeError: Cannot read property 'split' of undefined" when using ng-attr-srcset with potentially null value

Do you want to request a feature or report a bug?
Bug report.
What is the current behavior?
We're seeing an internal Angular error:
TypeError: Cannot read property 'split' of undefined

when trying to use ng-attr-srcset, where the expression can be potentially undefined.   To reproduce,:
    <img data-ng-attr-srcset="{{undefined}}">

What is the expected behavior?
Normally, ng-attr-defined attributes are supposed to be ignored if the associated value is undefined, but in this case, we're hitting an error:
    // split srcset into tuple of uri and descriptor except for the last item
    var rawUris = trimmedSrcset.split(pattern);

where trimmedSrcset is undefined under the above situation.
What is the motivation / use case for changing the behavior?
ng-attr is breaking with regards to "srcset".  It should be consistent with ng-attr's behavior of undefined for other attribute names.  What's happening is an internal error that should be fixed, since it's in the framework rather than application code.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Angular 1.5.

This is indeed inconvenient and should be fixed. PRs are most welcome :smiley: (it should be an easy fix).
In the meantime, the recommened way to handle this, is using the dedicated ngScrset directive anyway.

sadasdasdad