text:
BLOXSTRAP WILL NOT WORK PLEASE STOP MAKING ISSUES!!!

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
https://setup.rbxcdn.com/channel/common/version-f0223159583b4054-rbxPkgManifest.txt is 403ing

Duplicate of #2704


text:
Bloxstrap mutes Voice chat

When you try to use voicechat with the Bloxstrap launcher it will fully mute everyone.
I had to uninstall Bloxstrap just to play with voicechat once, I will reinstall it as soon as I stop using voicechat or when its fixed.

I don't have voice chat (yet) so I can't confirm, but I'll check with people who do, and get it fixed soon. Thank you for reporting.

Got voice chat and just checked, and I'm unable to reproduce. Are you sure you have the correct output device selected in settings?

Got voice chat and just checked, and I'm unable to reproduce. Are you sure you have the correct output device selected in settings?

yes, I tried the same settings in the "Normal" roblox application and there it did work.
Mabye I will just have to reïnstall Bloxstrap

I'm less inclined to believe this is a bug with Bloxstrap... checked with some other friends and they say that audio output works just fine. Besides, I don't really see what Bloxstrap would be doing to cause such an oddly specific change.
I can only really see this issue coming from some misconfigured audio setting somewhere.

Are you on a specific channel or have you modified the FFlags?

I'm less inclined to believe this is a bug with Bloxstrap... checked with some other friends and they say that audio output works just fine. Besides, I don't really see what Bloxstrap would be doing to cause such an oddly specific change. I can only really see this issue coming from some misconfigured audio setting somewhere.

I guess thats the problem, if I still have the problem I will reopen the issue.

source: gharchive/issue

authors: EasternBloxxer Mielesgames pizzaboxer

repo: pizzaboxer/bloxstrap

license: MIT

license_type: permissive

license_source: github-api


text:
查询余票请求失败	状态码 302   	错误原因 Moved Temporarily

用户状态已过期，正在重新登录
正在登录用户 tkly
正在下载验证码...
验证码验证成功 开始登录...
欢迎回来，tkly
用户 tkly 心跳正常，下次检测 120 秒后
|=== 查询记录恢复成功 上次查询 2019-12-16 16:27:31.937323 ===|
查询余票请求失败	状态码 302   	错误原因 Moved Temporarily

Duplicate of #235

authors: pjialin tkly

license_source: bigquery


text:
Use pytesseract for OCR, Jaccard distance for spell-check

In theory these changes should be mostly compatible with Linux.
Not yet committed: my local WIP changes to window.py.
("Allow edits from maintainers" is checked; feel free to modify this PR.)

PR now includes changes to window.py, including changes to (x, y) constants.

source: gharchive/pull-request

repo: pjwerneck/cookbot

license: mit


text:
对比实验数据问题

在BSDS500数据集上，与HED，RCF等这些方法对比时，您是使用那些方法重新作了实验吗？

你好，其中RCF和HED都是重新跑过实验的，但是数据采用的是论文报告的

你好，我用nyud数据集重新跑和您的论文结果差距较大，大概低于十个点，是有什么特殊处理步骤吗？BSDS复现的结果差不多

authors: pkuCactus sfg-oss studyhu

repo: pkuCactus/BDCN


text:
secrets-env 1.1.0 breaks Crystal stdlb spec module

When license_manager's secrets-env in shards.lock is updated from 1.0.0 to 1.1.0, the following error is thrown during crystal spec --error-trace, when it is reverted back to the previous version, this error disappears.
Stacktrace:
❯ crystal spec --error-trace
error in line 1
Error: while requiring "./spec/jobs_spec.cr"

In spec/jobs_spec.cr:1:1

 1 | require "./spec_helper"
     ^
Error: while requiring "./spec_helper"

In spec/spec_helper.cr:1:1

 1 | require "spec" # Spec Lib
     ^
Error: while requiring "spec"

In /usr/local/Cellar/crystal/0.35.1_1/src/spec.cr:158:7

 158 | if ENV["SPEC_VERBOSE"]? == "1"
             ^
Error: macro '[]?' must be defined before this point but is defined later

Specific code section for  /usr/local/Cellar/crystal/0.35.1_1/src/spec.cr:158:7

Issue is resolved if require "spec" is required after all other requires in spec_helper

repo: place-labs/secrets-env


text:
Add S.pluck functionality

Resolves #20

Very nice! You're even using Transcribe-friendly //.-style comments. :)
I'll make a few minor inline comments, but overall this is excellent.

Done. I'll squash it all into one commit once you're happy.

:deciduous_tree: Thanks, @svozza! Squash the commits and I'll merge. :)

Done! Right, it's getting pretty late here so I'm going to hit the hay. :)

authors: davidchambers svozza

repo: plaid/sanctuary


text:
opensubtitles.org

Cleaning up old passwords and noticed this had an item in my password manager. Forgot password link and here comes a plain text poorly generated password my way.

Hi, we don't currently accept submissions via GitHub, please use the submit form on the website: https://plaintextoffenders.com/submit

authors: MrKickkiller aviemzur

repo: plaintextoffenders/plaintextoffenders


text:
update user_playlists_contents.py

removed unused os import and unused variable 'top'

honestly, its a little code cleanup but what I really want to see if this project is still being supported.

I'm still actively using the project. It's quite useful.

Hey @gwynnebaer I'm still using this too... I wanted to see if active development and/or support was still happening by the creator/project owners.

thaks for the PR, - the project is indeed still active - but it is  a spare time project and sometimes life takes over. thanks for the nudge. And if anyone feels like they'd want to help out as an admin, I'd be up for that too.

@plamere its easy to nudge, THANK YOU continuing to support it!

@plamere this project is what got me started into learning python all of a few weeks ago. I'm happy to help go through some of the open issues and close out the ones that seem to be fixed.

authors: gwynnebaer plamere wesleybratt

repo: plamere/spotipy


text:
Push Rails 5.1 Compatible version to rubygems

Thanks for merging #4512 and making the gemspec compatible with Rails 5.1.  I've followed the advice there and referenced gem 'devise', git: 'https://github.com/plataformatec/devise.git', branch: 'master' in my Gemfile.
Would it be possible to get a new version pushed to rubygems?  Then we could take out the reference to the master branch from our Gemfiles.

https://github.com/plataformatec/devise/issues/4518#issuecomment-298213971

authors: Deckluhm rrosen

repo: plataformatec/devise


text:
"no implicit conversion of ActiveSupport::SafeBuffer into Array" if render simple_fields_for in trailblazer cell

Hi. I use simple_form with cells and if i try use simple_field_for method in my cell i get error "no implicit conversion of ActiveSupport::SafeBuffer into Array". I create issue in Rails ActiveSupport https://github.com/rails/rails/issues/27725, but this is maybe problem with simple_form (read rails issue)?

Hi @havran, thanks for your report.
You need to give us more information on how to reproduce this issue, otherwise, there is nothing we can do. Please open up a new issue and make sure to fill in all the information requested in the template shown inside the text box. Thank you!

authors: havran tegon


text:
simple_fields_for wrapper

Would it be possible to add a wrapper option for these nested fields? More info: https://stackoverflow.com/questions/45722574/specifying-a-wrapper-in-simple-fields-for
Other requests: https://github.com/plataformatec/simple_form/issues/929 https://github.com/plataformatec/simple_form/issues/357 https://github.com/plataformatec/simple_form/issues/1440

As you can see in this  commit it is already posible https://github.com/plataformatec/simple_form/commit/b683b21bf712dd5a2cbc6ea4b5c763b9746bec73

Cool, thanks! I cannot seem to figure out how to consume this though. I would like a div with a "nested-fields" class - any ideas?

Hi, I'm checking this and it doesn't seems to work as I would expect.
I think that the expected wrapper, is a tag around each nested form, so given this:
<%= f.simple_fields_for :addresses, wrapper: 'list-item' do |af| %>
  <%= af.input :street %>
<% end %>

I would expect something like:
<list-item>
  <input name="user[address][1][street]"> <!-- input does use default wrapper -->
  <input type="hidden" value="12" name="user[address][1][id]" <!-- hidden id is wrapped -->
</list-item>
<list-item>
  <input name="user[address][1][street]"> <!-- input does use default wrapper -->
  <input type="hidden" value="12" name="user[address][1][id]" <!-- hidden id is wrapped -->
</list-item>

So the problem is that we are using wrapper with two different meanings, the wrapper setting of the form builder (actual behaviour), and item wrapper (tag wrapping nested items on nested forms).
I think the element wrapper cannot be implemented easily by simple form, because most of the implementation is done by rails, but I'm not sure.
Regards.

authors: JarLowrey eloyesp rafaelfranca


text:
More patterns and the renames

This PR adds some more patterns and implements the renames discussed in https://github.com/platelminto/parse-torrent-title/issues/34 and https://github.com/platelminto/parse-torrent-title/pull/35.

My account got flagged and got shadow banned for a couple of days, which hid my PRs, too. Everything is back to normal and this PR is ready for review.

Hey, I've decided to leave a big 3.0 release for now - I've merged your new patterns, but don't know when I'll include the renames. The major reason for wanting breaking changes was to change field types, but I feel like keeping it behind the coherent_types flag is fine for now.
Thanks again for the PR!

authors: ConquerorDopy platelminto

repo: platelminto/parse-torrent-title


text:
How not to generate spaces to the left and right of the "-"

Is Your Feature Request Related to a Problem? Please Describe.
the plugin linter  add spaces automatically：多内拉 -h- 梅多斯 (Donella H. Meadows)。
I wish it was a person's name without spaces：多内拉-h-梅多斯。
The names of people in English, such as Donella H. Meadows, are customarily represented in Chinese as 多内拉•h•梅多斯. Here • needs to be switched to full-angle mode, which is very inconvenient, so I used to use - instead. But the plugin linter will add spaces automatically, I want to just ignore the spaces around - in the middle of the person's name while keeping the other added spaces, how do I do that?
The function of this request is similar to the following link：

文件路径会自动增加空格，这能否像网址一样排除在外？ · Issue #78 · Yaozhuwa/easy-typing-obsidian  2022/10/15

Hey @zhl111 . Thanks for the question. Do you use the rule https://github.com/platers/obsidian-linter/blob/master/docs/rules.md#space-between-chinese-and-english-or-numbers?
If so, you will need to wait until #334 is added.

The only other way to do what you are looking for is to turn off the rule https://github.com/platers/obsidian-linter/blob/master/docs/rules.md#space-between-chinese-and-english-or-numbers or to disable it for the files in question until custom ignore rules are available.

It looks like this may also be related to #493 .

I believe this change was just added to master with the most recent change to how the removal of spaces around characters was made. You should be able to disable the dashes and em dashes from having space removed around them or in your case, you should be able to enable it. It may work at removing the spaces entirely https://github.com/platers/obsidian-linter/blob/master/docs/rules.md#remove-space-around-characters.
If you do enable it, be careful as it will affect it in all files that the Linter affects.
Please let us know if this allows for the closing of this question.

@zhl111 , have you been able to remove the spaces around - in your files using the rule for removing space around characters?

I see that no comment has been made on this ticket in a while, so I am going to close it.

repo: platers/obsidian-linter


text:
Bug: Links with # in titles get treated differently

[x] I have verified that I am on the latest version of the Linter

Describe the Bug
A # in a hyperlink-title generates the note element in the YAML block, structurally different from without a # or with \#.
How to Reproduce
Steps to reproduce the behavior:

Create a new file
Put a hyperlink in the title which has # in the text
Lint the file

Examples
# [test #1](github.com/platers/obsidian-linter)

# test #2

# [test 3](github.com/platers/obsidian-linter)

# [test \#4](github.com/platers/obsidian-linter)

Log
log linter bug diamond.md
Expected Behavior
The note YAML should look like usual for links (without syntax or the url)
---
note: "test #"
---

Screenshots

Device

[x] Desktop
[ ] Mobile

Additional Context

Oh. Wait a second. Is this referring to not escaping the value properly for YAML? If so, that is something that can be added.

Looks like there is a problem here that may cause some issues. That problem is that #1 matches the appearance of a tag. This means it gets treated as such in the logic in the Linter. This seems to be creating some other problems that you are seeing here.

Welp. I think I found the problem and have addressed it. I am hopeful that this will fix the issue however it may still have some problems.

Ok. Based on my changes the following are the outputs for the scenarios provided:

Input Header
Note YAML Key

# [test #1](github.com/platers/obsidian-linter)
note: "test #1"

# test #2
note: "test #2"

# [test 3](github.com/platers/obsidian-linter)
note: test 3

# [test \#4](github.com/platers/obsidian-linter)
note: "test \#4"

Please let me know if this is not the expected result. I plan to move forward with merging this fix later today or tomorrow.

Yes, that looks good!
I'm impressed by your speed.

I had some downtime, so I took a look. It can take some time to look into some issues, but this one was pretty simple (a 2 character change).

This change is on master and should go out with the next release. Please let us know if there is an issue with either. Thanks!

authors: TrueMilli pjkaufman


text:
fix: Make Sparkline more smooth

Fixes #681
Checklist

[x] Documented
[x] Component tested

@mergifyio refresh

authors: illia-romanenko solid-vovabeloded

repo: platform-platform/monorepo


text:
feat: add entity primaryKey property in swagger

related to #347

It seems that I have a problem with the (fastify?) validation schema
... can anyone help me to fix or look in the right direction, please?

Ouch... then You should try look into add a new keyword to Ajv instance within our Fastify.

Ouch... then You should try look into add a new keyword to Ajv instance within our Fastify.

Hm... do you mean need a PR within Fastify? 😕
... or it can be solve within the platformatic project?

... or it can be solve within the platformatic project?

Yes, it should be done within Platformatic, take a look at:
https://ajv.js.org/keywords.html
https://www.fastify.io/docs/latest/Reference/Server/#ajv

Yes, it should be done within Platformatic, take a look at:
https://ajv.js.org/keywords.html
https://www.fastify.io/docs/latest/Reference/Server/#ajv

Thanks for the help @mcollina. 🙏
I think I figured out the problem, but it's too hard for me to solve because I've never worked on Fastify, and right now I don't think I could learn the framework fast enough to get going in a reasonable amount of time. 😅
It's difficult for me to find the right place where to add the key 'primaryKey' for the validation scheme, because in the platformatic project there are many configuration files. 😕
So If anyone could help me on this issue, after I could go ahead on the PR #347.

Unfortunately I don't have time to look into this. The best way is to add a custom metadata route in the admin so that you can fetch this and all the other metadata you might need in the future.

authors: mcollina ricfio

repo: platformatic/platformatic


text:
feat: global hot reload setting in cli

#670
If I got this correctly one more thing would be to add test.
I wanted to add test in start.test.mjs something like https://github.com/platformatic/platformatic/blob/e9f7daaf620ff10562eea9b10b443066e661138d/packages/db/test/cli/start.test.mjs#L246
But seems like this one is already failing ?
 FAIL  test/cli/start.test.mjs
 ✖ test unfinished

  test: start with hotreload disabled
  stack: |
    file://test/cli/start.test.mjs:246:1
  at:
    line: 246
    column: 1
    file: file://test/cli/start.test.mjs

Is no-hotreload.json correct since I can't find that
  "watch": {
    "hotReload": false
  }

is valid setting?

@salesh the current tests are OK for me (and for CI):

Which OS / node version are you using?

can you add a test for this feature?

Hey @mcollina @marcopiraccini, sorry for my late answer, I am at the moment on vacation and I didn't see mail until now. I will commit this test at Monday, I hope that's not issue..
@marcopiraccini my OS is Ubuntu 18 and Node is 18

sure no prob

authors: marcopiraccini mcollina salesh


text:
Feature request: choose environment for ddev pull

Feature request:
With the ddev pull platform command prompt the user for the environment they wish to pull from, defaulting to the current checked out branch.
Reasoning:
Often when working with colleagues, we need to debug/troubleshoot a feature we're developing in a non-production branch. This often involves needing to sync that environment's database into the local development environment to further work on. The current implementation of ddev pull platform limits the user to the environment they choose during the initial ddev get platformsh/ddev-platformsh or manually updating the .ddev/config.yaml file.
Ideally, when initiating the ddev pull platform command, the user would be given a choice of currently active platform.sh environments, with the default selection matching the current locally checked out environment. This would allow for users to quickly and easily replicate platform.sh environments locally without having to manually update files.

Thanks, Duplicate of

https://github.com/drud/ddev/issues/4180

apologies. I did not post in ddev/ddev since I thought this was/is unique to this add-on. I'll respond over there.

authors: gilzow rfay

repo: platformsh/ddev-platformsh


text:
Adds authentication to the landing page

If an unauthenticated user tries to visit the labs, after getting
a 401 from either the guides or PWG endpoints it gets redirected to
the login page

Looks like this needs to be rebased?

authors: marcosnils myitcv

repo: play-with-go/play-with-go


text:
Debug shader output functionality

Functionality, allowing a name of the shader pass to be set on camera, to be used for its rendering. There are multiple shader debug passes predefined, allowing debug rendering functionality.
Custom shader pass names can also be used. Possible use cases is where for example user wants to use cheaper shaders when rendering to reflection texture. They can use the shader define to skip some processing in some shader chunks. Alternatively, they can modify StandardMaterialOptions in a callback to disable shader features.
There are two new shader chunks:

debug-output.js - inserted at the end of the generated shader, outputs data that are written to color render target based on the shader pass define
debug-process-frontend - inserted before the front end data are passed to backend, allowing those to be modified. For example to render 'Lighting', the albedo is set to mid gray color here.

New API:

Example:
Multi-View example updated with dropdown (not all options are visible and scrolling is needing, which is not obvious)

https://user-images.githubusercontent.com/59932779/233651429-4411cb7f-de5c-4b36-ac8d-bd02c67668de.mov

So cool. I was wondering. Maybe this feature warrants a new example. Maybe with 9 camera (3x3 grid) rendering an object with each viewport labelled with the pass being used.

I'm struggling to understand how the new shaderPassName relates to the existing FORWARD, DEPTH, ETC passes.
Is SHADERTYPE_DEBUG_AO assumed to be a FORWARD pass or...?

I'm struggling to understand how the new shaderPassName relates to the existing FORWARD, DEPTH, ETC passes.
Is SHADERTYPE_DEBUG_AO assumed to be a FORWARD pass or...?

Shader pass name is converted to a number internally, and this is used as a pass that is used all over the place, for example in options.pass, or forward-renderer using pass to access shader from an array on material / mesh instance. FORWARD is 0, SHADOW is 1 .. and new passes that are created on camera are added after those. If the user wants to render shadow depth map, they could use existing DEPTH pass .. they are all the same. That is way I use the same SHADERTYPE_** constants. But I like @willeastcott 's suggestion of renaming them to SHADERPASS_**

If you do alias to SHADERPASS_, I would suggest changing CameraComponent#setShaderPassName to simply CameraComponent#setShaderPass.

authors: mvaligursky slimbuck willeastcott

repo: playcanvas/engine


text:
Superseeds: Upgrade to Interplay 1.2.0

Actually twirl can't run without implicit scalaVersion and crossScalaVersion, since interplay will  actually change crossScalaVersion to 2.11.8, 2.12.0-M5 only, but on cross compilation with the plugin the first version of compiler and parser needs to be 2.10.6, sbt also can't detect that and fails with strange errors inside the docs project then.

@wsargent @gmethvin it would be great, now if scala 2.12.0-RC1 is out if we may merge that and publish new versions.
Especially the Scala.JS build is needed by my company.

Be aware that we may need to release a 1.3.X since https://github.com/playframework/twirl/commit/104128a41ed3cecfd329f1721d5f7ae4cf0286d7 changed Manifest to ClassTag so without redistributing play it won't work together.

Upgraded to 2.12.0-RC2 and Scala.JS 0.6.13

repo: playframework/twirl


text:
🛑 Treatmentbank is down

In bc7aa81, Treatmentbank (https://tb.plazi.org/GgServer/search?fullText.ftQuery=lepus&fullText.matchMode=prefix&taxonomicName.taxonomicName=&taxonomicName.isNomenclature=true&taxonomicName.exactMatch=true&taxonomicName.order=&taxonomicName.family=&taxonomicName.genus=&taxonomicName.species=&BibMetaData.docAuthor=&BibMetaData.docDate=&BibMetaData.docTitle=&BibMetaData.docOrigin=&BibMetaData.part=&BibMetaData.pageNumber=&BibMetaData.extId=&materialsCitation.location=&materialsCitation.country=&materialsCitation.stateProvince=&materialsCitation.typeStatus=All+Types&materialsCitation.collectionCode=&materialsCitation.specimenCode=&materialsCitation.LSID=&materialsCitation.longitude=&materialsCitation.latitude=&materialsCitation.degreeCircle=1&materialsCitation.elevation=&materialsCitation.elevationCircle=100&indexName=0&subIndexName=0&minSubResultSize=0) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Treatmentbank is back up in f25aa99 after 18 minutes.

repo: plazi/monitoring


text:
モーションの実行回数の反映が面倒

Edit状態中は回数値が反映されない。
Edit状態の解除には他のモーションブロックを移動させる必要があり面倒。

05cc90b5c13696ffe96a2ed4c456803d58e44d59
ソフトウェアキーボード表示時に、editViewからフォーカスが外れる際、別のソフトウェアキーボードが表示される問題あり。


text:
How to add new type of field to data model

If I specify a datamodel -> fields element in my local biber.conf file, do I have to redefine all the default fields, or can I simply add to the list? Likewise for entryfields elements.

It should merge it with the default data model.

Thank you.

authors: alexreg plk

repo: plk/biber


text:
Help with SSO

Hi. I am trying to follow the docs on how to set up SSO, and I do not see where I should put my server URL and Client ID and Secret

hi @ndijkstra
I recloned the git repo with no changes of my own
I set those values from my Forum Software and Deployed
I Login and get a 500 error

So what does the 500 errors says in your logs?

The only error I see is
[2022-06-28 13:58:28] local.ERROR: The MAC is invalid. {"exception":"[object] (Illuminate\Contracts\Encryption\DecryptException(code: 0): The MAC is invalid. at /home/ploi/feedback.site.com/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:218)

It looks like you generated a new APP_KEY then and it is trying to decrypt a value that was encrypted with the old APP_KEY.

Please let me know if you need any more information or how I can get this to work!

@Cannonb4ll Have any idea?

I don't know what the issue is here, but I feel like this is an issue to ask in the Laravel community rather than here. We've already seen a few people set it up successfully so it shouldn't be too much of a problem to do so.

authors: Cannonb4ll FiveMDevv ndijkstra

repo: ploi-deploy/roadmap


text:
MPD. Update frontend installation instructions. Reduce redundancy.

MPD has two chapters with frontend installation instructions.

This PR reduces redundancy and therefore maintenance by

refering in first chapter to Plone 6 docs.
refering in second chapter to first chapter.

😎 Deploy Preview 	https://deploy-preview-621--plone-training.netlify.app

Reviewing is easy, @pbauer

repo: plone/training


text:
Use EEA applyConfig facility in Volto core

The EEA folks came up with a clean way to get configuration from Volto addons, then apply it in your current project using this helper:
https://github.com/eea/volto-plotlycharts/blob/master/src/config.js#L27
I would like to port it to Volto core, and document how to use it. Like:
https://github.com/eea/forests-frontend/blob/master/src/config.js#L18

Working in the current add-ons story

Working in the current add-ons story

repo: plone/volto


text:
Sidebar toggle highlight animation

Not the best preview gif in the above description, unfortunately.
Ideally I'd like to see an animation on the sidebar-container, a smart decrease in size.


text:
Refactor language syncronizer. Remove it from the React tree, and han…

…dling it on the getContent action level as a Redux Thunk.

Meh, just realised that this forces the change of the signature of the getContent action, so we would have to update it everywhere... So not good...

superseded by: https://github.com/plone/volto/pull/3103


text:
Better handle loading state

I made it cleaner.
Bug was in the fact that the 'loading' state was inside saveConnectionRequest and not connectRequest as checked in this component.

💃  once you consider my comments

authors: alexandresobolevski chriddyp

repo: plotly/plotly-database-connector


text:
🛑 Dick Pluim.com is down

In ff9ff01, Dick Pluim.com (https://dickpluim.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dick Pluim.com is back up in 2589dbe after 10 minutes.


text:
Advertise VIP through BGP

Currently being investigated... shouldn't be too much work (probably)

This is now added into 0.1.8

authors: plunder-app thebsdbox

repo: plunder-app/kube-vip


text:
Kubeflow: Notebooks with GPU cannot be scheduled because GPU nodes are not scaling up/down

Summary
Via the Kubeflow Dashboard, I create a new notebook with GPU enabled (see screenshots below for my configuration). I expect to be able to connect to it after a few minutes.
Instead, the UI keeps indicating that the server is being provisioned. On the cluster, the pod stays in state "pending" and i see these events on the cluster:

0/5 nodes are available: 5 node(s) didn't match Pod's node affinity/selector.
pod didn't trigger scale-up: 8 node(s) had taint {plural.sh/capacityType: SPOT}, that the pod didn't tolerate, 13 node(s) didn't match Pod's node affinity

Reproduction
on an aws-based Plural Cluster with Kubeflow installed, try launching a new notebook with GPU enabled (see screenshots below)
Dagit UI/UX Issue Screenshots

Additional Info about Your Environment

Message from the maintainers:
Impacted by this bug? Give it a 👍. We factor engagement into prioritization.

Splitting this issue into a couple components:

[ ] Create a managed node group for each availability zone
[ ] Create a Terraform module for adding managed node groups
[ ] Use new Terraform module in the Kubeflow app to create GPU managed node groups

authors: DavidSpek ncbkr

repo: pluralsh/plural-artifacts


text:
[WIP] Use array representation where offsets are represented as data.

This partly implements an array representation where the offsets required for addressing var-arrays are embedded as data as part of the array structure.  Any value described by a datashape type without explicit pointers requires only a single memory allocation.

Superseded by #32.

repo: plures/libndtypes


text:
Add support for configurable main thread response threshold

This would allow developers to set a custom threshold time for reporting ANRs.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@ShridharGoel ktlint is failing
run ./gradlew ktlintFormat locally to check the error

@srtvprateek Updated.

@srtvprateek Thanks for merging the PR, can you create a new release?

authors: CLAassistant ShridharGoel srtvprateek

repo: plutolib/pluto


text:
Overhaul of analysis tools and correpsonding examples

Overview of changes in this PR:

Some small changes making existing routines compatible with a larger range of input arguments (e.g., np.ndarray as well as daria.Image, or str as well as pathlib.Path).
Add capabilities to generate new config files from existing ones if a resized version of original images is considered.
Add calibration capabilities to the concentration analysis.
Examples are up to date.

NB: Merging without external review. Though the changes have been tested on a current project. They seem to do what they have been intended for.

repo: pmgbergen/DarIA


text:
Programatically set a value outside of UI

is it possible to do something like?
const values = useControls({ x: { value: 0 } });

// is there a method to set the value of X?
setValues({ x: 300 });

Yes, totally possible!
Here's an example: https://codesandbox.io/s/shy-http-77orp?file=/src/App.js

Yes. We need to write docs for it but have a look at this sandbox:
https://codesandbox.io/s/leva-ui-lm2vb
If you use a function instead of plain objects for inputs, the hook will return an array which second element is a set function.
const [values, set] = useControls(() => ({ color: "#fff" }))

I'm closing this but feel free to keep asking questions or join our discord channel.

repo: pmndrs/leva


text:
Index is remounting

Expected Behavior
The /pages/index should only mount once.
Current Behavior
The top level /pages/index is mounting twice. This is causing useEffect's that are meant to run once, run twice due to a remount.
Steps to Reproduce

yarn create r3f-app next doubleLoad
cd doubleLoad
In index.jsx, add a useEffect, example.

useEffect(() => {
    console.log('load')
  }, []);

Observe that console logs twice.

Repo example: https://github.com/qwertypants/double-load-issue

Any solution yet for this issue?

Couldn't reproduce the issue but anyway the last version should solve the issue 👍

authors: PhiDung-hub RenaudRohlinger qwertypants

repo: pmndrs/react-three-next


text:
WIP: Add density option

Checklist:

[x] Allow setting of density on colliders
[ ] Allow setting of density on rigidbodies (as a default for its colliders)
[ ] Update README
[ ] Add changeset

Closing this for the time being. I will revisit this after the collider creation refactoring.

repo: pmndrs/react-three-rapier


text:
Bottleneck on large objects

Hello @dai-shi I made an experiment of having 5000 form fields with different state managers and found out that Valtio isn't performing well:
Jotai
https://codesandbox.io/s/form-test-jotai-05chcf?file=/src/App.tsx
Zustand
https://codesandbox.io/s/form-test-zustand-u53m0s
Valtio(increase SIZE to 5000)
https://codesandbox.io/s/form-test-valtio-b61ldg

Thanks for reporting!
There seems nothing wrong in the usage. Something must be wrong on the library end.
(A bit surprising that nobody has reported this in the past. 😅 )

Looks like createProxyToCompare is slow.
https://github.com/pmndrs/valtio/blob/7c85c1413992a02e7a65e698b803fdef500d008e/src/react.ts#L156
And, it probably happens with valtio only (not with react-tracked) because valtio snapshot is always frozen.

Fixed! https://codesandbox.io/s/form-test-valtio-fgz47b

Oh my god, that was fast ⚡  Great work

This issue is back again in v1.10.1 by #656.

authors: dai-shi joelbqz

repo: pmndrs/valtio


text:
Bug: import code completion doesn't work with 'reflect-metadata'

It's a strange issue, I thought that this extension doesn't provide import code completion feature but it was just a bug 😄
If you have (even commented) line import "reflect-metadata"; (it's a shim to make TypeScript decorators work) in your file, the import code completion doesn't work at all - there's no suggestion about symbols to import on typing or on CTRL+SPACE.

And the small, related feature request: import suggestion with decorators - after typing @, not only on CTRL+SPACE 😉

I will take a look into it!

Please try if the decorators are suggested immediately now

Code completion with import "reflect-metadata"; now works but decorators still aren't suggested immediately as you type @. You have to move cursor in different line and then go back an then you will have suggestions as you type the name of the decorator.

repo: pmneo/ts-importer


text:
Premier League match reminders showing up in #other

Reminders for Premier League matches are showing up in #other, when they should be appearing in League Discussions > #england.

Rev 12fb5eef84c8a792ecfb8c5516d45e261decb829 includes logging that should help triage this issue.

Fixed in rev 05c45240bfddf0434e5fcfe427c2f0a438791a9d.

repo: pmonks/futbot


text:
8.2.1.0 - 2024-10-30

Changed

Fixed the default nullable strategy - it should inherit the option from the project the builder is in.

Warning It may be a breaking change if someone is accustomed to previous behavior, but it was a bug.

Changed the format of versioning: The biggest number is only to reflect minimum version of .net. The rest is like in the Semantic Versioning

#67

repo: pmrogala/Buildenator


text:
Kodi

Kodi doesn't work. I only have a black screen on Xiaomi 12x stable Rom and this IS the same on weekly Rom

Hello. You are on a FRENCH GitHub of xiaomi.eu ROM translation.
So you have to speak French. You have to talk about the translations in French only.
We are not Xiaomi.
Thank you.

Kodi fonctionne en weekly sur mon POCO F3. Par contre il ne démarre jamais sur Mi Pad 5.
De toute façon ce n'est pas le GitHub approprié.
Bonne journée.

Enfaite j'ai compris le soucis. Kodi ne fonctionne pas en 120ghz


text:
Added generic-scheduling-link

Q
A

Bug fix?
no

New sample?
yes

Related issues?

What's in this Pull Request?
Added generic-scheduling-link.

Another awesome sample! Thanks @tecchan1107!
The only change I made to the primary sample is to switch from 4 spaces to 2 spaces (makes it easier to read directly in GitHub).
I included an alternative version of your format (generic-scheduling-link-advanced.json) and called out the distinction in the README. This format does exactly what yours does but eliminates the need for the calculated columns (in specific locales). It is not nearly as user friendly or universally applicable as your original sample but may be helpful for reference and for those confident their users are within a compatible locale.
Please let me know if you have any questions or concerns. Once again, thanks for your fantastic work and willingness to share!

Thank you for everything!!
I will also fix the spaces in the other pull-requested samples.

repo: pnp/List-Formatting


text:
Refactor pa app get to use util instead of calling other command, Closes #5236

Closes #5236

To the moon 🚀. We will review it ASAP

setting to draft due to the following observations
I will provide more guidance how we should proceed with this PR in near future

authors: Adam-it nicodecleyre


text:
DeskReservation -

Sample
DeskReservation
Author(s)
@aprildunnam
Question
hanks for providing this! I've never touched Power Apps before, so a bit of struggle. I completed the "deployment" instructions per the GitHub page, but could use some guidance after that, if anyone has tips.

I added a desk to the Desks list in SP, but it doesn't show up in the app when attempting to make a booking ("Uh oh, no openings found!"). It was already connected to SP lists via the "Data" tab on the left.

Lots of small red "x" symbols. Seems related to the gallery groups? Not sure where to begin to fix this.

Any help is appreciated!

I have the same issue. I tried amending the advanced settings on my SharePoint lists, to no avail.

Morning, same for me, followed instructions, deleted existing data sources, replaced with my sharepoint URL, same with the red "x" symbols, but it all looks right - any advice greatly appreciated!

Same here. A lot of "Name isn't valid. This identifier isn't recognized." formula errors. I have set up my lists exactly as described in the instructions. I even deleted the lists and started from scratch.

Closing this issue. We'll revisit this sample, fix issues, and post an updated version at a later time.

repo: pnp/powerapps-samples


text:
[BUG] Remove-PnPListItem : Property ServerRelativeUrl was not yet loaded | Batching error

Reporting an Issue or Missing Feature
When running command Remove-PnPListItem -List "SitePages" -Identity $File.id -Batch $batch or any command in the -Batch form i receive following error :
Remove-PnPListItem : Property ServerRelativeUrl was not yet loaded
At line:1 char:1
+ Remove-PnPListItem -List "SitePages" -Identity $File.id -Batch $batch
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Remove-PnPListItem], ClientException
    + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Lists.RemoveListItem

Expected behavior
Expected behavior would be to add it to the Batch and at the end allow me to invoke the batch
Actual behavior
Remove-PnPListItem -List "SitePages" -Identity $File.id -Batch $batch
Remove-PnPListItem : Property ServerRelativeUrl was not yet loaded
At line:1 char:1
+ Remove-PnPListItem -List "SitePages" -Identity $File.id -Batch $batch
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Remove-PnPListItem], ClientException
    + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Lists.RemoveListItem

Set-PnPListItem -list "SitePages" -Identity 1000 -Values $hashTable -Batch $batch
Set-PnPListItem : Property ServerRelativeUrl was not yet loaded
At line:1 char:1
+ Set-PnPListItem -list "SitePages" -Identity 1000 -Values $hashTable - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Set-PnPListItem], ClientException
    + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Lists.SetListItem

Steps to reproduce behavior
Sample code to reproduce the error
$Files = Get-pnplistitem -List "SitePages" -PageSize 1
$batch = New-PnPBatch

Foreach($File in $Files){

    $File.FieldValues.FileLeafRef
    Remove-PnPListItem -List "SitePages" -Identity $File.id -Batch $batch

}
Invoke-PnPBatch -Batch $batch -Force

What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
1.7.0
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

To debug further i ran the Get-PnPExeption command
Message          : Property ServerRelativeUrl was not yet loaded
Stacktrace       :    at PnP.Core.Model.TransientObject.GetValue[T](String propertyName)
at PnP.PowerShell.Commands.Base.PipeBinds.ListPipeBind.GetList(PnPBatch batch, Expression`1[] selectors)
at PnP.PowerShell.Commands.Lists.RemoveListItem.ExecuteCmdlet()
at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord()
ScriptLineNumber : 1

Tested this just now and I got the same issue with anything related to Batch.
Deleting the items manually inside a loop works fine.
Message          : Property ServerRelativeUrl was not yet loaded Stacktrace       :    at PnP.Core.Model.TransientObject.GetValue[T](String propertyName)                       at PnP.Core.Model.SharePoint.Web.get_ServerRelativeUrl()                       at PnP.PowerShell.Commands.Base.PipeBinds.ListPipeBind.GetList(PnPBatch batch, Expression[] selectors) in                     c:\PnPPowerShell\src\Commands\Base\PipeBinds\ListPipeBind.cs:line 113                       at PnP.PowerShell.Commands.Lists.RemoveListItem.ExecuteCmdlet() in c:\PnPPowerShell\src\Commands\Lists\RemoveListItem.cs:line 36                       at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord() in c:\PnPPowerShell\src\Commands\Base\PnPSharePointCmdlet.cs:line 91
Any suggestions or further debugging that I can do?

I am seeing this same issue with the 1.7.0 version only while trying to use a batch.

@KoalaScripts @natpdeee @sharepointknight - We're aware that there's a problem with the -Batch option and we'll have a look at it when we can.

The same issue with "Set-PnPListItem":   "Property ServerRelativeUrl was not yet loaded"

authors: KoalaScripts natpdeee sharepointknight soaway veronicageek

repo: pnp/powershell


text:
Invoke-PnPSiteTemplate including list items and documents

A sample showing how the to use the provisioning engine to ensure your newly created site contain a number of liste item and documents once the end user gets access

Hi @pkbullock , will spo-apply-pnptemplate-with-files-and-listitems do as a name for this one?

Looks good @kasperbolarsen 😊

You can drop it makes sense. I suspect most won't pay too much attention to url.

authors: kasperbolarsen pkbullock

repo: pnp/script-samples


text:
Type 'WebPartContext' is not assignable to type 'BaseComponentContext'.

Category
[ ] Enhancement
[ ] Bug
[X] Question
Version
Please specify what version of the library you are using: [   3.0.0  ]
Expected / Desired Behavior / Question
Before 3.0.0 the context={props.context} for FilePicker and ListItemPicker was OK with WebPartContext inherited from the context: this.context from the web part class.
Observed Behavior
After upgrade to 3.0.0 , TS complains that "Type 'WebPartContext' is not assignable to type 'BaseComponentContext'."
I am OK for now by using  context={props.context as any}
But I would like to know the right way to do it.
Thanks for a great collection!

Thank you @Ofer-Gal for reporting this one.
v3 is based on SPFx v12 and up.
For SPFx v11 use the latest v2 release.

Thank you

Hi @AJIXuMuK,
Version 1.12 has been deprecated https://docs.microsoft.com/en-us/sharepoint/dev/spfx/release-1.12.0.
Do you know if spfx controls will be to? For production releases, should we aim for 1.11/v2?

I'm getting this now with PeoplePicker, with SPFx 1.13.0 and "@pnp/spfx-controls-react": "^3.4.1"

@HiltonGiesenow please, read my comments above.
You need to use beta version for now.

ah ok, I thought that was for the 3.4.0 release. Thanks, will do that. I presume you'll notify on this thread if there's an update?

I forgot to say : Thanks for the super-quick response @AJIXuMuK

This thread is closed, so not sure...
But we will have a new release pretty soon.
We'll definitely announce the release on Twitter: https://twitter.com/M365PnPControls

Ok thanks. I'm trying the latest beta now (3.5.0-beta.1412592), but I'm still getting the same error. Should I open a new issue?

Please, use my sample above and compare it with your solution.
Maybe modules were not updated or something.
Try to remove package-lock.json and node_modules, and run npm i.

I checked your sample, and I've matched 100% the versions of SPFX, @pnp/spfx-controls-react, and even office-ui-fabric-react just to be safe. I've removed node_modules, and package-lock.json, run npm i, reloaded VS.Code, but still no luck - same error. I got your sample working fine, albeit with the same error initially in Controls113WebPart.ts - I had to change line 57 to context: this.context as any,

I also tried using your sample and got the same issue after running gulp serve
Error - [tsc] src/webparts/controls113/Controls113WebPart.ts(57,19): error TS2322: Type 'WebPartContext' is not assignable to type 'BaseComponentContext'.

Hi @AJIXuMuK
I made sure to match the versions of the same package as in the sample you shared. I am still getting this error:
Type 'WebPartContext' is not assignable to type 'BaseComponentContext'.
  Types have separate declarations of a private property '_serviceScope'.ts(2322)
IPropertyFieldListPicker.d.ts(39, 5): The expected type comes from property 'context' which is declared here on type 'IPropertyFieldListPickerProps'

Did anyone ever find a fix?

Once again: if you use SPFx 1.13 use beta versions on controls for now.
It does work.
Attached another example.
If you're updating existing solution, please, make sure to remove package-lock.json and node_modules. Also double-check the versions of SPFx modules and controls modules.
context.zip

Hey Alex,
Appreciate your help. I followed your directions and matched the versions in your sample in my web part. I also deleted the node_modules folder. package-lock.json file, and ran an npm install
"dependencies": {     "@microsoft/sp-core-library": "1.13.0",     "@microsoft/sp-lodash-subset": "1.13.0",     "@microsoft/sp-office-ui-fabric-core": "1.13.0",     "@microsoft/sp-property-pane": "1.13.0",     "@microsoft/sp-webpart-base": "1.13.0",     "@pnp/spfx-property-controls": "3.3.0-beta.1482322"   },
I'm still receiving the same error

I was getting this on the PropertyFieldColumnPicker and this worked for me to get past this error.
context: this.context as any,

I am getting this error using a PeoplePicker.
My versions are:
pnp/spfx-controls-react v3.9.0
SPFx version 1.15.2
Shouldn't this be fixed or is it known that this combination of versions does not work?

I'm getting this error as well
My versions are:
pnp/spfx-controls-react v3.10.0
SPFx version 1.15.0
My people picker is also not searching and giving a 400 response.

@cardinalpipkin The people picker returning a 400 response is most likely this issue: https://github.com/pnp/sp-dev-fx-controls-react/issues/1292. The PeoplePicker is broken in version 1.10.0. Just use 1.9.0 for the time being.

@Mario-Po7 Do you mean SharePoint version 1.9.0? Can't I update "@pnp/spfx-controls-react": "^3.10.1 || 3.9.0",?

@cardinalpipkin That's exactly what I mean. And that is also the fix/workaround I used. The Problem is in spfx-controls-react. Not in Sharepoint. Maybe I should have been clearer.

Issue is reproducible in  SPFx "1.15.2"
@pnp/sp": "^3.10.0",
"@pnp/spfx-controls-react": "^3.12.0",
"@pnp/spfx-property-controls": "^3.11.0
Overcame issue using suggestion from @jonsjonsson  (A big) Thank you!

Hi!
Is this component ready for SPFx 1.16? I have the same issue and a couple of additional issues - for example it doesn't see the files in a site folder and defaultFolderAbsolutePath doesn't work too.

Sometimes it solves just by 'npm audit fix --force'

Hey dudes!
I'm getting the same error when trying to use FilePicker.
PropertyFieldFilePicker("filePicker", {                       context: this.context,                       filePickerResult: this.properties.filePickerResult,                       onPropertyChange: this.onPropertyPaneFieldChanged.bind(this),                       properties: this.properties,                       onSave: (e: IFilePickerResult) => { console.log(e); this.properties.filePickerResult = e; },                       onChanged: (e: IFilePickerResult) => { console.log(e); this.properties.filePickerResult = e; },                       key: "filePickerId",                       buttonLabel: "File Picker",                       label: "File Picker",                   })
Error:
Type 'WebPartContext' cannot be assigned to type 'BaseComponentContext'.   Types have separate declarations of a private property '_serviceScope'.ts(2322) IPropertyFieldFilePicker.d.ts(114, 5): Expected type comes from property 'context', which is declared here in type 'IPropertyFieldFilePickerProps'
Dependency versions:
"@microsoft/sp-core-library": "1.16.1", "@microsoft/sp-property-pane": "^1.16.1",     "@microsoft/sp-webpart-base": "^1.16.1", "@pnp/spfx-controls-react": "^3.13.0",     "@pnp/spfx-property-controls": "^3.12.0",

Hi) Also have this issues with PropertyFieldFilePicker
I am using:
"@microsoft/sp-component-base": "1.17.4",
"@microsoft/sp-core-library": "1.17.4",
"@pnp/spfx-controls-react": "3.15.0",
"@pnp/spfx-property-controls": "3.14.0",
ERROR: Type 'WebPartContext' is not assignable to type 'BaseComponentContext'.   Types have separate declarations of a private property '_serviceScope'.

WTF you breaking the API withwout notice?

Same for FilePicker.
"@fluentui/react": "^7.199.1",
"@microsoft/sp-component-base": "1.17.4",
"@microsoft/sp-core-library": "1.17.4",
"@microsoft/sp-lodash-subset": "1.17.4",
"@microsoft/sp-office-ui-fabric-core": "1.17.4",
"@microsoft/sp-property-pane": "1.17.4",
"@microsoft/sp-webpart-base": "1.17.4",
"@pnp/logging": "^3.17.0",
"@pnp/sp": "^3.17.0",
"@pnp/spfx-controls-react": "^3.15.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"tslib": "2.3.1"

@dorin2006 what Ofer-Gal suggests is a way to overcome this. The PnP Controls solution is still on 1.17.3 and you are using 1.17.4, hence the differences

@Ofer-Gal @joelfmrodrigues  thanks!

authors: AJIXuMuK HiltonGiesenow Krugerro Mario-Po7 NaffOff Ofer-Gal bhaidar cardinalpipkin dorin2006 gretchunkim joelfmrodrigues jonsjonsson lerayne lhdeveloper mhomol milchkafi nazarbroslavskyi priyanshi-rami ryanwishnow

repo: pnp/sp-dev-fx-controls-react


text:
Unexpected end of JSON input while parsing near '...-2.tgz","fileCount":2'

I get this Error when using npm i @pnp/spfx-controls-react .
Refer screenshot to see the issue

Solved by run this command: npm cache clean --force
then run npm i @pnp/spfx-controls-react

repo: pnp/sp-dev-fx-property-controls


text:
react people directory.sppkg without the alpha list

Category

react people directory.sppkg

Is your feature request related to a problem?

No

Describe the solution you'd like

I would like if possible the same tool without the alphabetic list, like that people will not see our admin account or other no people account.

Again thank you for this tool and sharing it with us.
Best,
David

HI, even if you removed the alphabetical list those accounts would still surface. I would recommend creating a new property that can be put on the user profiles... to filter them out with search, and then you could update the web part to exclude this property.

I'll re-open this for an enhancement. However be aware of my previous comment, as it those Admin accounts would still show up, even with the removal of the alphabet.

I will take this, but re-emphasize @bcameron1231 comments that removing the alphabetical list will not filter out admin accounts.

Hello, thanks yes I know admin account will be available but generally they will search for someone so admin account should be less visible. Do you think there is a way to hide them by changing someting in my AD ?
Best,
David.

@Anakinnuvisan  As mentioned in my previous post, you would need a property on the User Profile to exclude them, or you would have to update the Search KQL query to exclude the values from the results. This would require an update to the source code, a re-bundle/package and deployment of your solution.
Here is a link to SharePoint KQL documentation if you need some guidance on using KQL https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference

I have put a lot of my tips and tricks regarding people search filtering in this blog post, perhaps you might find it useful: https://ms365thinking.blogspot.com/2023/05/sharepoint-people-search-how-to-clean.html?m=1

authors: Anakinnuvisan DonKirkham bcameron1231 kasperbolarsen

repo: pnp/sp-starter-kit


text:
演算子！

あたらしいえんざんし

if (( a is not 1 ) and ( b is not 2 ) ) {
  doSomething();
}

あってもいい？？

repo: pnsk-lab/tuyotuyo-gengo


text:
ListView: action visible não aceita função

Reprodução
Adicionar uma ListView e em qualquer action colocar uma função para determinar o valor da propriedade visible.
Qual o comportamento atual?
A função não é chamada e a action sempre é exibida.
Que comportamento você esperava ver?
Chamar a função informada aguardando o seu valor retornado para exibir ou não a action.
Uma sugestão seria passar o item da listview que está sendo renderizada para permitir exibir ou não uma action por item e não de forma geral.
Ambiente

PO UI: 6.9.0

Angular: 13.3.0

Browser(s):

[X] Chrome

Operating System:

[X] Windows

Olá @likid,
Eu fiz uma simulação e existem comportamentos diferentes com duas e três ações:

Com duas ações não está funcionando. Quando se clica em Change o  actionValue' troca o valor booleano, que funciona para o disabled, mas não funciona para o visible`.
Com três ações está funcionando. Quando se clica em Change o  `actionValue' troca o valor booleano, e funciona para todas a ações
Simulação

authors: likid wsteixeira

repo: po-ui/po-angular


text:
fix: override default CXX value

fix #924

Thank you for working on this! But, I wouldn't think this is an ideal fix as clang++ is picked instead of c++ on macOS (https://github.com/poac-dev/poac/actions/runs/9906840850/job/27388403453?pr=942#step:7:79).
There is no compelling reason to use Clang by default, so maybe just removing the CXX ?= clang++ line from the generated Makefile works? This makes things clearer.

There is no compelling reason to use Clang by default, so maybe just removing the CXX ?= clang++ line from the generated Makefile works? I guess this makes things clearer.

Yes, I think so too. Just removing the line is easy, but BuildConfig.cc already depends on the predefined CXX value in other areas, and I am concerned about losing consistency.
https://github.com/poac-dev/poac/blob/0.9.3/src/BuildConfig.cc#L36
https://github.com/poac-dev/poac/blob/0.9.3/src/BuildConfig.cc#L319
https://github.com/poac-dev/poac/blob/0.9.3/src/BuildConfig.cc#L415
And Runtime Requirements on README.md does not list B. So does this mean that relying on clang++ as CXX is not the original intent? If so, it seems like a lot of work to fix it properly.
https://github.com/poac-dev/poac/blob/0.9.3/README.md?plain=1#L126-L135

This clang++ is for dependency analysis within the Poac scope. I did a bit of research on this problem, and the best way to share the behavior between Poac and Make seems to use --print-data-base. Since we want to minimize runtime dependencies, you may want to implement a function to extract CXX from the output. You can use getCmdOutput in Algos.hpp to make the shell command output into std::string.
$ make --print-data-base 2>&1 | grep 'CXX ='
CXX = c++
$ export CXX=g++
$ make --print-data-base 2>&1 | grep 'CXX ='
CXX = g++

Do you think this is doable? Please let me know if you find any drawbacks of this way.

authors: ken-matsui watiko

repo: poac-dev/poac


text:
Did not get constructor argument for crowdsale

I have some issues and which I would like to get it resolved if you help me out.
I followed all the steps as you did and tried several times on different test nets like sokol, kovan etc but There is no constructor argument for the file "CrowdSaleTokenExt.txt" please help me to resolve the issue.
The second problem is, for a simple contract made with (a)  allowing modification, (b). Disabling white list , I'm unable to get 5 text/5 .sol files. I've seen steve videos and he got a total of 10 files. The one I'm missing is "FlatpricingExt.Txt" and "FlatpricingExt.Sol"
I need help on this.

The answer is here:
https://forum.poa.network/t/no-contructor-arguments-abi-given-for-crowdsaletokenext-file/960/2?u=viktorbaranov

Sorry mate, your reply was not helpful.
This is the contract address and nothing shows under this contract
0x7B81ded99dF53C243eA3b2627c03f2CF52906CE7

Hello
I figured that out how to get the constructor argument. Thanks. However,
The second problem is, for a simple contract made with (a) allowing modification, (b). Disabling white list , I'm unable to get 5 text/5 .sol files. I've seen steve videos and he got a total of 10 files. The one I'm missing is "FlatpricingExt.Txt" and "FlatpricingExt.Sol"
I need help on this.

authors: drdonjuan vbaranov

repo: poanetwork/token-wizard


text:
Email addresses case sensitive

Hi,
Let me start off by saying I'm very impressed with your work. After creating a project with it I've noticed 2 small issues, Perhaps I should split this up in 2 issues, but I think they are small enough to put into one.

Email addresses are case sensitive when created from the admin UI.
When creating an integer value, 0 is not accepted as a valid value.

Please check https://github.com/pocketbase/pocketbase/discussions/756

My guess is that your field is marked "Nonempty" (there is a tooltip alongside the toggle that explains what the constraint will require). Note that PocketBase doesn't store null as field value (with exception of the json type field) and use zero-defaults (table with supported values could be found in https://pocketbase.io/docs/collections/#overview). Please note that currently in v0.10.4 there is a minor bug with the number visualization in the table listing (https://github.com/pocketbase/pocketbase/issues/1447) but it is already fixed in master and will be available with the next release sometime later this week.

authors: ganigeorgiev pieter-experience-republic

repo: pocketbase/pocketbase


text:
Proposal: Allow Discord OAuth without Email scope

Currently, when using the Discord OAuth, users are required to share their email, even when this could be avoided or is unneeded. Therefore, I would propose that an option is implemented that allows you to enable/disable Discord OAuth with Email.
Below is a quickly-made mock-up of how it could look in the Admin UI:

It could perhaps also work well with the already existing email toggle:

The scopes are not hardcoded, they are just defaults.
Users can change them by directly modifying the provider auth url returned by listAuthMethods.
If you are using the "all-in-one" OAuth2 auth flow, then you can specify custom scopes using the scopes option:
await pb.collection("users").authWithOAuth2({
    provider: "discord",
    scopes: ["identify"],
})

If you need further help, please open a Q&A discussion as the threaded format is more suitable for this.

authors: AtherActive ganigeorgiev


text:
0.1.3 is no longer dynamic? (my project breaks)

I just updated to 0.1.3 and my project won't compile any more:
Swift package product 'ComposableArchitecture' is linked as a static library by 'Library' and 5 other targets. This will result in duplication of library code.
I've been following the comments about changes required for testing, so is making the main package no longer dynamic part of that fix? It means I now have to wrap the package in a framework again, correct?

@pcolton You're exactly right, sorry about that! We note the change in the second item of the release notes now here: https://github.com/pointfreeco/swift-composable-architecture/releases/tag/0.1.3
We're moving a bit more fast/loose with pre-1.0 releases but will try to keep these breakages to a minimum in the future.

No worries, just wanted to make sure before pushing my own fix.

authors: pcolton stephencelis


text:
🛑 Pokko - au-syd1 is down

In 59f26b7, Pokko - au-syd1 (https://au-syd1.pokko.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pokko - au-syd1 is back up in 607266d after 9 minutes.

repo: pokkocms/pokko-status


text:
Total Staked Nodes query does not show data

message | "Relay attempts exhausted"

The portal API is failing with both the network and the altruists on this query. Something probably changed between pocket-core versions and the response.

https://mainnet.gateway.pokt.network/v1/lb/60a2ac11b1747c6552385c61/v1/query/nodes

curl -H 'Content-Type: application/json' --data-raw '{"chain":"0005"}' https://mainnet.gateway-staging.pokt.network/v1/lb/60a2ac11b1747c6552385c61/v1/query/nodes
/query/nodes now times out on most pocket nodes given that RPC timeout is usually 3000ms

According to core, there is no solution for this and may not be a solution in the near future.
The Explorer panel should be changed to say just a static text of "Total nodes: 5000+"
with no call to the /v1/query/nodes endpoint

repo: pokt-foundation/explorer


text:
Optimisation section - lazy API

The optimisation section needs an overhaul. I propose to start with a review of the current lazy API section before adding anything new.
We can add more on:

combining multiple predicates
slice pushdown
CSE
caching

Anything other thoughts @ritchie46 @r-brink?

Indeed. I think we can remove the examples shown (don't add much benefit IMO).
But what we do need is a table with all the optimizations and how often they run and what they do.

YES! 🙌  We could create a new more coherent structure and rewrite + add some new content

authors: braaannigan r-brink ritchie46

repo: pola-rs/polars-book


text:
Piping frames to ffmpeg

Summary
This pull request updates a broken link and rewrites some code to make it compatible with piping frames.
Changes

Updated the broken link in the README file.
Rewrite some code to make it compatible with piping frames. This means that images can now be piped directly to ffmpeg without being converted to PNG files and written to disk (This change requires a lot of changes to RenderProcessor, but there may be a different way to achieve this compatibility. I am new to Dart, so I am not sure what the best approach is).

Testing
I have tested these changes locally and they appear to work as expected. Please let me know if you have any questions or concerns.
Thanks,
Thanh Pham
This is just a prototype, but I hope it helps you save some time!
Feel free to change!

It looks good to me now. There are some optimizations that can be done with MotionFormat, such as allowing users to set presets and fine-tune the balance between video size and render speed. However, I will handle these changes in another pull request.

(I think) I have improved some things:

Removing the storage of each ui.Image as it is no longer needed
https://github.com/polarby/render/blob/29ec060bc4b40a9d602a368fcdbcaafcb28d7a8e/lib/src/capturer.dart#L29
Removing simultaneousCaptureHandlers now seems to be obsolete, as piping can be simultaneously

I couldn't help but notice, that the piping process sometimes (almost randomly) takes significantly longer than storing each frame - the old process approach. Although piping should be the better way, I cannot see a major improvement...?! For web on the other hand this feature might be essential?!
I am not too sure if it is good to merge this for the whole plugin, as although the process is now cleaner, it takes longer most of the time. Let's discuss it! How can we improve this?! You said you noticed this too, right?

Yes, there was no major improvement because it's a trade-off between capturing and handling images in parallel, and then batch processing them at the final stage (old approach). On the other hand, the new approach involves piping images in a queue, converting them, and processing them simultaneously in ffmpeg. I believe that for short durations, there may not be a significant impact, but for recording over a long period, it can help save memory, storage, and time as well.
Regarding the web, I have conducted some research but have not yet found any way to implement piping.

Let's keep this in mind though! Although web such as using ffmpeg_wasm might not require piping, long-period rendering might require this. If we could separate normal capturing under let's say 5-10min and longer period capturing + recording, this reasonable and working solution may be merged.

@tienthanh1993 Thinking about giving your piping contribution a new chance in life.  Check out #6

@polarby I wanted to check if piping resolves some RAM issues I have on older devices such as the iPhone 8. I cannot get this PR to run, though. For some reason, the closing of the IOSink (https://github.com/polarby/render/pull/15/files#diff-e4e775396876f43bd88ff1f2de5bfced24f4d39a9b582f880231095ee5f68a25R317) results in very weird behaviour. Nothing after that referenced line is executed. It doesn't throw an error or whatsoever. Can you check if this works for you?

authors: marvin-kolja polarby tienthanh1993

repo: polarby/render


text:
output GAF: warnings about gp-to-term relation

Relevant to the "GO-style" v2.2 GAF ...
In the current (2021-11-03) snapshot report, there are a bunch of warnings about annotations using the wrong gene product-to-term relations in column 4. Example:
WARNING - Violates GO Rule: GORULE:0000061: Found violation of: Only certain gene product to term relations are allowed for a given GO term but was repaired: RO:0002432 should be one of BFO:0000050 -- PomBase SPAC12B10.01c SPAC12B10.01c is_active_in GO:0032991 GO_REF:0000051 NAS C HECT-type ubiquitin-protein ligase E3, implicated in negative regulation of ubiquitinated chromatin formation (predicted) SPAC31F12.02c|SPAC637.15c protein taxon:4896 20090126 PomBase

There are 39 warnings, but they only involve two GO IDs (GO:0032991 and GO:0042788). It's not a huge deal because the report says they get repaired, but I'm logging it here since they come up. If you have questions, I can't promise I'll be able to help but I'm happy to try.

I've been trying to parse: https://github.com/geneontology/go-site/blob/master/metadata/rules/gorule-0000061.md
I think it says:

GO:0005575 "cellular component" always use RO:0002432 "is_active_in" (we don't have any of those annotations)
GO:0032991 "protein-containing complex", or is_a descendant always use BFO:0000050 "part of"
otherwise it can be any of: RO:0001025 "located in" and RO:0002432 "is_active_in", and RO_0002325 "colocalizes_with"

I can see a bug in the code: it's only checking descendants of GO:0032991 not GO:0032991 itself.  I've fixed that which should fix the warnings about GO:0032991 annotations.  I'll check on Friday.
I'm not so sure about the GO:0042788 annotations.  The gorule says the BFO:0000050 "part of" should be applied to GO:0032991 and its subclass descendants, which I think means is_a descendants?  The output from OWLTools in Chado has GO:0042788 as a part_of descendant of GO:0032991.  Because of that the code is not applying BFO:0000050 "part of" to GO:0042788.
https://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0042788
Have I misunderstood or is the warning from the snapshot wrong?
It's easy to change the code to look for part_of descendants of GO:0032991 instead (or as well as?) of is_a descendants.

I've fixed [not checking GO:0032991 itself] which should fix the warnings about GO:0032991 annotations.

Thanks, and glad that part was straightforward.

The gorule says the BFO:0000050 "part of" should be applied to GO:0032991 and its subclass descendants, which I think means is_a descendants?

Yes, that sounds like the correct interpretation to me.

The output from OWLTools in Chado has GO:0042788 as a part_of descendant of GO:0032991.

That's correct too ... although the full ancestry of 'GO:0042788` is intriguing:

There's a ticket open that shows that the question has been raised with GO, so ...

Because of that the code is not applying BFO:0000050 "part of" to GO:0042788.

Don't bother changing the code, at least for now. Perhaps I'll comment on the GO ticket; in any case, it's possible that GO may change the parentage of GO:0042788 and/or GO:0005840, and in the meantime their pipeline "repairs" the annotations to use the gp-to-term relation they expect.

Don't bother changing the code

OK, thanks.  As long as the GO pipeline is fixing it, it's not urgent.

Nothing to do here for now...

Can this be closed or is there still something to do?

Can this be closed or is there still something to do?

I think we'll eventually need to do some local fixes.  The GO pipeline is fixing things for now so I think we should close this and ignore the problem until the pipeline starts reporting errors for this, if it ever does.

authors: ValWood kimrutherford mah11

repo: pombase/pombase-chado


text:
search on "unmapped gene list"

It would be nice if, in the future, if you searched for a name  in this
list, the drop down would show:
scr1 (S PBC1D7.02c)
scr1 (physically unmapped)
That seems like it would be useful in case people get lead into thinking
that scr1 (SPBC1D7.02c) is the supressor of cyclohexamide resistance.
We don't want to create gene pages for these  because they would be
largely empty and it would make genome  "tallies" confusing.

I don't understand this one.  Is scr1 unmapped?  Isn't it on chr2?

yes  but that isn't the same scr1 as the unmapped one. This wouldn't be possible though   unless we stored "unmapped" genes as a different class of gene name?
(I can't  find the unmapped gene list by the way? @mah11  where does it live?)

yes but that isn't the same scr1 as the unmapped one.

There are two genes with the same name?  I didn't know that was a thing.  (Although I've just queried and found mat3-Mc and mat3-Mm - I forgot about those)

There aren't supposed to be, but there may be unmapped markers that have been named as physically mapped genes....can explain later.
mat3-Mc and mat3-Mm are the same thing that's complicated too... @Antonialock  can explain :)

Val you are looking for this list: https://curation.pombase.org/pombase-trac/wiki/PhysicallyUnmappedGenesProteins
mat3-mc and mat3-mi are two duplicated genes. They are duplicated because the sequenced strain doesn't have a complete silent mating type locus (the sequenced strain contains mat3-mc and mat3-mi, but mat3-Pc and mat3-Pi are deleted). We therefore have the silent mating type locus in a separate file. This separate file unhelpfully contains all 4 genes, so the Mc and Mi genes are duplicated.

I . put this as"future" as it likely won't happen

authors: Antonialock ValWood kimrutherford

repo: pombase/website


text:
Syntax errors when trying to build from source on Windows 10

I'm attempting to install this on Windows 10 in order to start working with Pony, but when I run make.bat as specified in the installation instructions, somewhere around 2 dozen syntax errors are spat out, mostly errors relating to it apparently not recognizing partial function calls as valid syntax, a la args(0)?.
I have followed the installation instructions exactly for both Pony and Stable (aside from the C++ build tools and Windows SDK, which I already had installed), and am running the most recent version of Pony as of this writing. File permissions are not a concern as I'm running make.bat with administrator permissions. I've included the full make.bat log below.
Compiling: ponyc stable -o build\release
Building builtin -> C:\Program Files (x86)\ponylang\packages\builtin
Building stable -> C:\Program Files (x86)\ponylang\pony-stable\stable
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\add.pony:6:23: syntax error: unexpected token ? after type, interface, trait, primitive, class or actor definition
    let kind = args(0)?
                      ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\add.pony:27:32: syntax error: unexpected token ? after type, interface, trait, primitive, class or actor definition
    info.data("repo") = args(0)?
                               ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\add.pony:40:38: syntax error: unexpected token ? after type, interface, trait, primitive, class or actor definition
    info.data("local-path") = args(0)?
                                     ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\add.pony:52:38: syntax error: unexpected token ? after type, interface, trait, primitive, class or actor definition
    info.data("local-path") = args(0)?
                                     ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\bundle.pony:17:47: syntax error: unexpected token ? after type, interface, trait, primitive, class or actor definition
    let bundle_path = path.join("bundle.json")?
                                              ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:11:5: syntax error: unterminated match expression
    match info.data("type")?
    ^
    Info:
    C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:11:28: expected terminating end before here
        match info.data("type")?
                               ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:32:7: syntax error: unterminated try expression
      try info.data("repo")? as String
      ^
    Info:
    C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:32:28: expected terminating end before here
          try info.data("repo")? as String
                               ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:76:7: syntax error: unterminated try expression
      try info.data("local-path")? as String
      ^
    Info:
    C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:76:34: expected terminating end before here
          try info.data("local-path")? as String
                                     ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:119:7: syntax error: unterminated try expression
      try info.data("local-path")? as String
      ^
    Info:
    C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:119:34: expected terminating end before here
          try info.data("local-path")? as String
                                     ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:136:5: syntax error: unterminated match expression
    match git_tag
    ^
    Info:
    C:\Program Files (x86)\ponylang\pony-stable\stable\dep.pony:138:59: expected terminating end before here
          Shell("cd " + root_path + " && git checkout " + str)?
                                                              ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\main.pony:11:13: syntax error: unterminated try expression
    command(try env.args(1)? else "" end, env.args.slice(2))
            ^
    Info:
    C:\Program Files (x86)\ponylang\pony-stable\stable\main.pony:11:28: expected terminating end before here
        command(try env.args(1)? else "" end, env.args.slice(2))
                               ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\shell.pony:26:41: syntax error: unexpected token ? after type, interface, trait, primitive, class or actor definition
    apply(consume command, exit_code_fn)?
                                        ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\_bundle_locator.pony:7:23: syntax error: unterminated try expression
      let candidate = try
                      ^
    Info:
    C:\Program Files (x86)\ponylang\pony-stable\stable\_bundle_locator.pony:8:50: expected terminating end before here
              FilePath(env.root as AmbientAuth, path)?.join("bundle.json")?
                                                     ^
Error:
C:\Program Files (x86)\ponylang\pony-stable\stable\_subdir_name_generator.pony:14:39: syntax error: expected then after condition expression
            elseif acc(acc.size() - 1)? != dash_code then

Can you post the output of ponyc --version, please?

0.11.4-e91d517 [release]
compiled with: llvm 3.9.1 -- msvc-14-x64

That's quite an old version.  Try https://dl.bintray.com/pony-language/ponyc-win/ponyc-0.25.0-win64.zip, that should work better for you.

Ah, my bad. I had figured the versions would be newest first, not alphabetical. Should've looked more closely. Thanks!

repo: ponylang/pony-stable


text:
ByteSeqIter related 'Segmentation fault:11'

OS X
version: 0.2.1-735-ge442791
Adding the line below as line 142 in packages/net/test.pony (after sock.write("pong!")) results in a segfault upon execution. My lldb skills are limited, but I am reasonably sure the error occurs in the call to the iterator data.values().
sock.writev(recover val [[U8(1), U8(2)]] end, from)

Looking at @jemc 's post from the past, below is the backtrace from lldb.
Ws-MacBook-Pro-2:net w$ [master]$ lldb -- ./net --verbose --ponythreads=1
Current executable set to './net' (x86_64).
(lldb) run
Process 14522 launched: './net' (x86_64)
1 test started, 0 complete: net/Buffer started
1 test started, 1 complete: net/Buffer complete
2 tests started, 1 complete: net/Broadcast started
Process 14522 stopped
* thread #1: tid = 0x2de5a, 0x0000000000000000, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
(lldb) bt
* thread #1: tid = 0x2de5a, 0x0000000000000000, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000000000000
    frame #1: 0x000000010001232f net`UDPSocket_writev + 63
    frame #2: 0x0000000100002ac7 net`UDPSocket_$dispatch + 727
    frame #3: 0x0000000100017f3f net`handle_message(ctx=0x0000000108fffc48, actor=0x0000000108fcd200, msg=0x0000000108fc9ea0) + 447 at actor.c:93
    frame #4: 0x0000000100017c01 net`ponyint_actor_run(ctx=0x0000000108fffc48, actor=0x0000000108fcd200, batch=100) + 273 at actor.c:149
    frame #5: 0x0000000100024be4 net`run(sched=0x0000000108fffc00) + 196 at scheduler.c:264
    frame #6: 0x0000000100024849 net`run_thread(arg=0x0000000108fffc00) + 57 at scheduler.c:306
    frame #7: 0x00000001000247f3 net`ponyint_sched_start(library=false) + 291 at scheduler.c:446
    frame #8: 0x0000000100025548 net`pony_start(library=false) + 56 at start.c:108
    frame #9: 0x0000000100017ae1 net`main + 241
(lldb)

I also noticed that writev is used at several places in the project but almost never tested. I can help fix that given this issue is reproducible.
Cheers!

Can reproduce.

I looked into this some. I got stuck at a certain point as I can't single step into dispatch at actor.c line 93. Which is an issue I brought up with @sylvanc. ByteSeqIter is definitely not coming in right for whatever reason, accessing values().next() will segfault.
If you use
recover val ["pony",  "pong"] end
instead of
recover val [[U8(1), U8(2)]] end
it runs to completion.

This turns out to be a very subtle and very complex problem.
When a method is reified for code generation, it is reified with a single receiver rcap. If that method is a fun box and it constructs a type that has a type argument that is an arrow type which is adapted with this->, then the reification will be correct only for box receivers. For ref and val receivers, the reified constructed type will be a different type.
In @jersey99 's example, the expression creates an Array[Array[U8] ref], and calls values() on it, which is a fun box. This reifies as returning an ArrayValues[Array[U8] ref, Array[Array[U8] ref] box], which is not a subtype of ByteSeqIter. However, in the type checker, it returns an ArrayValues[Array[U8] ref, Array[Array[U8] ref] val], which is a subtype of ByteSeqIter.
My current thinking is that is may be necessary to reify three versions of each fun box, and call the correct one based on the receiver rcap at the call site after reification. This will add more name mangling, but I think we will need more mangling to correctly deal with #561 anyway.
Thoughts, anyone?

That seems like a reasonable way forward.

D'oh. Hit the wrong button and closed this.

Fixed in PR #762

authors: SeanTAllen jersey99 sylvanc

repo: ponylang/ponyc


text:
Nested field does not respect validation rules

There are 2 scenarios (Example2 and Example 3) in the code below where I  expect the validator to behave in a certain way but it doesn't.
For eg,

in Example 2, i expect the validation to fail but it doesn't (since i am using true instead of 1)
in example 3, I expect it to fail, but it does not as I am using nested fields.

Can you please check and let me know if I am missing something?
Package version
7.2.1
Node.js and npm version
node: v12.4.0
npm - 6.14.4
Sample Code (to reproduce the issue)
 import { validate } from "indicative/validator";

/**
 * Example 1:
 *
 * Expected Behaviour: Should Pass
 *
 * Actual Behaviour: Passes
 *
 * */
const rules1 = {
  hasPassword: "required|boolean",
  password: "required_when:hasPassword,1"
};

const data1 = {
  hasPassword: 1,
  password: "test"
};

validate(data1, rules1)
  .then(() => console.log("Example 1"))
  .catch(() => console.error("Example 1"));

/**
 * Example 2: (using true instead of 1)
 *
 * Expected Behaviour: Should Fail
 *
 * Actual Behaviour: Does not fail
 *
 * */

const rules2 = {
  hasPassword: "required|boolean",
  password: "required_when:hasPassword,true"
};

const data2 = {
  hasPassword: true
};

validate(data2, rules2)
  .then(() => console.log("Example 2"))
  .catch(() => console.error("Example 2"));

/**
 * Example 3: Nested fields
 *
 * Expected Behaviour: Should fail (since password is missing)
 *
 * Actual Behaviour: Does not fail
 *
 * */

const rules3 = {
  "fields.*.hasPassword": "required|boolean",
  "fields.*.password": "required_when:fields.*.hasPassword,1"
};

const data3 = [
  {
    fields: {
      hasPassword: 1
    }
  }
];

validate(data3, rules3)
  .then(() => console.log("Example 3"))
  .catch(() => console.error("Example 3"));

BONUS (a sample repo to reproduce the issue)
https://codesandbox.io/s/cold-dawn-4fr7g?file=/src/index.js:631-635

@thetutlage Did you get a chance to look into the code samples?
Thanks

repo: poppinss/indicative


text:
No need to set HAIL_JAR_URL anymore

See https://github.com/populationgenomics/hail/commit/f242c348c8503310352be2ab6a14f356db32467c, which automates this.
cpg-utils will be updated in a separate PR.

We'll need to revert this, now that the Hail upstream merge has been reverted: https://github.com/populationgenomics/hail/pull/177

repo: populationgenomics/analysis-runner


text:
Relaxing botocore/boto3 pins.

And we need to relax Boto pins in metamist both as well.

Will bump version as well.

No need for bumpversion, this is a server only change. The setup.py controls the installed versions, and no issue there AFACT

Ok, good to know. Thank you!

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.07%. Comparing base (63c3eaa) to head (e103625).

:exclamation: Current head e103625 differs from pull request most recent head 7a797ff
Please upload reports for the commit 7a797ff to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #787   +/-   ##
=======================================
  Coverage   77.07%   77.07%
=======================================
  Files         157      157
  Lines       12990    12990
=======================================
  Hits        10012    10012
  Misses       2978     2978

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

authors: codecov-commenter milo-hyben

repo: populationgenomics/metamist


text:
Use a workspace and correct dependencies to unbreak linking of unittest.

I don't know how this ever worked before, but I needed this to run the tests on Linux.

Thanks! It has worked on macOS and Windows, and I was wondering why Linux didn't like it.

authors: eddyb pornel

repo: pornel/lodepng-rust

license: Zlib


text:
Realtime task list/status and replica count

Is your feature request related to a problem? Please describe.
When a service is having trouble starting or staying up, e.g. stuck in a fail loop because of the retry policy, it can be difficult to know the current status of tasks for that service as by the time you refresh and scroll back to the list, you've lost a few seconds and context and have to try to compare the list from memory with what you see now.
For example, every time you refresh the page you might see the top most task is "running" and a few failed ones below it. Is it actually running? Or is it just the latest attempt which will run for 1 second then fail? Right now, I have to reload the page, scroll down, try to remember the task ID and see if it has changed.
Likewise, when I deploy an update to a stack I want to just sit and watch the services status as they are each restarted, without having to constantly refresh.
Describe the solution you'd like
Realtime updates to the task list without a page reload (e.g. via websocket), would solve this problem. You just look at the page for a few seconds, and if nothing changes in front of your eyes, it is stable.
If something does change, you can click straight into it to investigate, which is handy because I have noticed that often with the top most task is already gone by the time i scroll the page, find the top most task and click it. If I had my mouse positioned ready to click and it updated status without any scrolling or reloading, I could click in immediate and see the  error message (even if the task is then immediately removed and a page reload shows "task not found").
Describe alternatives you've considered

Not trusting the displayed status and having to reload the page to see if it is stable.
Always clicking on the second most recent task (or the first failed/rejected task) in the list, as this is usually more stable and does not report "task not found".

Additional context
Docker Cloud (which we are migrating from) had great live updates for things like service/container status (terminating, pending, running, stopped), so I could kick off a redeploy and then sit back and watch as each service or each container redeployed in sequence.

+1

authors: mrmachine vecernik

repo: portainer/portainer


text:
New Docker view

Rewrite the Docker view.
And replace the Docker icon (fa-cogs at the moment) with something else. Current icon looks like settings.

Add info about TLS setup if available.

Potential new Docker icons:
From font-awesome:

http://fontawesome.io/icon/code/
http://fontawesome.io/icon/code-fork/
http://fontawesome.io/icon/bolt/
http://fontawesome.io/icon/ship/
http://fontawesome.io/icon/th-large/
http://fontawesome.io/icon/th/

External:

https://github.com/wesbos/Font-Awesome-Docker-Icon (available via bower: https://libraries.io/bower/Font-Awesome-Docker-Icon)

If you're taking votes or input, I'd say th or th-large are really nice. They're unique to Portainer too (if that's a consideration).

@daviddyball we picked th ;)

authors: daviddyball deviantony


text:
Non-admin users can manage admin only docker resources

Description
Non-admin users can (to some degree) manage admins-only Docker resources (remove/restart containers, remove secrets, configs, volumes, ...) through Portainer API (/endpoint/{id}/docker).
Affected version(s)
Portainer version <= 1.22.0
Note: Security issue is prevented with RBAC enabled

Reverted via https://github.com/portainer/portainer/pull/3327

Related to #3337

authors: deviantony itsconquest


text:
can't create endpoint from api

Hello,
When i try to add endpoint to portainer:
http --form POST http://10.10.10.85:9007/api/endpoints
"Authorization:  Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJhZG1pbiIsInJvbGUiOjEsImV4cCI6MTYwNzk2ODI1NH0.erFpDLsXCpz_v2hdlraOQ6JgSClKW1gAenmSZDpa53c"
Name="test-remote" URL="tcp://11.1.11.01:2386" EndpointType=1

I get an error:

"details": "Invalid endpoint type value. Value must be one of: 1 (Docker environment), 2 (Agent environment), 3 (Azure environment), 4 (Edge Agent environment) or 5 (Local Kubernetes environment)",

I tried to use curl but the same error occurs
Thanks in advance for your help.
os: ubuntu 18.04
Portainer version: portainer2.0 (portainer-ce docker container)
kern: 4.15.0-112-generic
docker ver: 19.03.8

Hi @ImSFT
You'll probably want to try this:
http --form POST http://10.10.10.85:9007/api/endpoints
"Authorization:  Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJhZG1pbiIsInJvbGUiOjEsImV4cCI6MTYwNzk2ODI1NH0.erFpDLsXCpz_v2hdlraOQ6JgSClKW1gAenmSZDpa53c"
Name="test-remote" URL="tcp://11.1.11.01:2386" EndpointType="1"

Helllo @deviantony
with
 http --form POST http://10.10.10.85:9007/api/endpoints  "Authorization: Bearer tocken" Name="test-remote" URL="tcp://11.1.11.01:2386" EndpointType="1"
i get the same error;
HTTP/1.1 400 Bad Request
Content-Length: 234
Content-Type: application/json
Date: Tue, 15 Dec 2020 08:14:00 GMT
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "details": "Invalid endpoint type value. Value must be one of: 1 (Docker environment), 2 (Agent environment), 3 (Azure environment), 4 (Edge Agent environment) or 5 (Local Kubernetes environment)",
    "message": "Invalid request payload"
}

I have already tried all the options, I turned on the tls, changed the EndpointType to 2,3,4. but this error does not leave me, through the web interface - the endpoint is created perfectly

@ImSFT sorry about that, it seems that we renamed the parameter EndpointType to EndpointCreationType recently.
Can you give that a try?

@deviantony thank you very much. Everything works perfectly.
strangely, I haven't seen this parameter anywhere in the documentation
Thank you for your time.

Yes, we have a task in our backlog to automate the API documentation generation. Sorry about that!
Closing this issue.

authors: ImSFT deviantony


text:
OAuth config

Is there a way to inject OAuth config (or any config file) during the startup of the portainer? We are using docker swarm to run it and I found no env variables/commands to do that.

Hi @LowcaPromocji
There is no way to do that during setup, however you should be able to do that using Portainer API post install, Check our API docs here.
Check the API call to Update Portainer Settings

authors: LowcaPromocji samdulam


text:
Improved traefik integration with Portainer for kubernetes

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
The current traefik integration is kind of a beta integration and requires for example that you pre-define each subdomain you want to use on name-space level. Users are not able to choose a random sub-domain for their app. Required settings as of version 2.10 EE are:
Cluster > Setup

Ingress controller

Ingress class: traefik (depends on your traefik deployment, but when you use the default CRD approach "traefik" should be fine)
Type: traefik

Namespace level:

Ingresses: Traefik

Hostnames: you have to add a hostname for every single app you want to publish
Annotations: you have to add these annotations (content of values might vary depending on your CRD):

traefik.ingress.kubernetes.io/router.entrypoints : websecure
traefik.ingress.kubernetes.io/router.tls : true
traefik.ingress.kubernetes.io/router.tls.certresolver : myresolver

Optional annotations for middlewares are on namespace level (not on app level)

traefik.ingress.kubernetes.io/router.middlewares : namespace-middlewarename@kubernetescrd

App level:

You have to expose the app via ingress
Add port, select the host name and add / as path
Sub-Paths, e.g. app.mydomain.com/folder/ are not working

Describe the solution you'd like
A clear and concise description of what you want to happen.
The integration should be improved, according to description above these things are desirable:

define a wildcard domain where all apps are exposed e.g. *.apps.mydomain.com on namespace level instead of adding every single host name. The actual sub-domain must be defined on app level
fix / enable path rewrite so that app.mydomain.com/folder/ is working. In that case only one host name on namespace level would be created and user define a path on app level
middle wares should be defined on app level instead of namespace level
maybe further aspects, some king of requirements engineering is required here ...

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Right now the manual process described above can be used. But no user can expose a new app before an admin adds a new host to the namespace settings.
Every app from a namespace which should have other middle wares must be moved to a separate namespace.
Additional context
Add any other context or screenshots about the feature request here.
None.

We are currently thinking of moving the Ingress from the Namespace to the Application.
Keep an eye out on https://github.com/portainer/portainer/issues/5941

authors: JamborJan huib-portainer


text:
feat(users): lowercase username

Closes #3580

@itsconquest ready for review, should be tested against LDAP/Oauth as well.

Fixed the issue with Adam not being able to login after upgrade.

Closing this PR for now.


text:
[AWIBOF-7875] Change the logic of searching RBA during bringup (#752)

steps
= construct inverted map from the latest vsamap
= verify revMapInfos from the log buffer
= look up the rba

기존 release에 들어갔었던 commit을 main에 맞게 수정하였습니다.
main과 release가 좀 달라서 손 머지를 좀 했습니다.

repo: poseidonos/poseidonos


text:
Extend Testing

Include testing for IP/Hostname
Include testing for long messages

This will be included in version 3.

repo: poshsecurity/Posh-SYSLOG


text:
Docs: Add example customizing markdown renderer of ui.markdown()

In answering a question on Discord, I came up with the following example that uses commonmark markdown rendering with the attributes plugin enabled.
from shiny.express import ui

from markdown_it import MarkdownIt
from mdit_py_plugins import attrs
md = MarkdownIt().use(attrs.attrs_plugin)

ui.markdown(
    '[shiny](https://shiny.posit.co/py){target="_blank"}',
    render_func=md.render
)

Without the additional customization, the default markdown format of ui.markdown() uses GFM, which doesn't support [link](target){attr="value"} syntax.

We should also document that "gfm" is commonmark with the table, linkify, strikethrough and tasklist plugins enabled (if linkify and tasklist are available).
https://github.com/posit-dev/py-shiny/blob/2c2b075960bf4c76e2ab598b5b59578918fd3f2d/shiny/ui/_markdown.py#L76-L84

repo: posit-dev/py-shiny


text:
Add dereference operators to Optional

This implements four dereference operators for Clingo::Optional, in analogy to the spefication of std::optional.

Do you also need an operator->() while we are at it?

Which kind of operator-> do you have in mind? Clingo::Optional already has T *operator->() and T const *operator->() const if I see that correctly.

authors: pluehne rkaminsk

repo: potassco/clingo


text:
gvp as a bash function

The gvp in and gvp out commands have to be sourced, which makes sense but is kinda cumbersome. Could gvp be factored into a bash function instead to remove the need for source?
I think this is how some environment managers, like chruby, are designed. The manager is a single script that gets sourced in your bashrc. Then that script adds a function to your environment that does all the actual env modification.
My bash-fu is not good enough to contribute this myself, sorry!

Working on this now.

authors: siddharthist tummychow

repo: pote/gvp


text:
Improved WaveDrom header/footer handling, added config handler

Previous method did not have full compatibility with WaveDrom standard.
All header or footer arguments were passed as an an object in the "text" field.
See:
http://wavedrom.com/tutorial.html
That would work fine in (most of) the last example of Step 8, for example, but would be incomplete in the immediately preceding example, where there are arguments outside "text"
This method allows more control on the user side, e.g.:

log.info(waves.dumpj(header = {'text':'WaveDrom example', 'tick':0}))
waves.write('wavedrom.json', header = {'tick':0}, config = {'hscale':3})

Worth noting this will break backwards compatibility if folks are using header/footer kwargs.  I'm happy with that, just thought I'd give a chance for anybody to object if they're using it.
We have an open action item to improve versions / releases, so when we merge this we should uprev a version number to indicate a backwards incompatible change.

Yeah, I was thinking about this more, too.
Having the "skin" parameter as a default isn't bad functionality at all - A good portion of projects will only need to use that option.
This commit checks to see if a dictionary was passed, and only uses the newer method is so. Otherwise, it passes the string to the "skin" field. Backwards compatibility is thus conserved.

Added the example kwargs to the repo's test docs, should allow anyone to easily see how to use this feature.
Worth noting that backwards compatibility will not be broken (falls back on previous functionality).
Is there anything that needs to be resolved to merge this PR?

Merging now to avoid bitrot even though comments were not addressed, can be improved in the future.

authors: JarrettR chiggs imphil

repo: potentialventures/cocotb


text:
can you add a column to show the SAPs of EC2 Instance supported by SAP

Hi!
I'm working as a SAP consultant and SAP to quantify the "power" of a server has defined a unit called SAPS.
For this reason should be very useful to add a column that shows the number of SAPS for every EC2 instances supported by SAP.
This value is reported in the SAP Note:
https://launchpad.support.sap.com/#/notes/1656099/E
I attach to this issue.
Regards
P.
1656099_E_20170412.pdf

I don't think this is easy to add, that Launchpad page needs authentication and we can't easily scrape it out of that PDF file. In addition this is a very narrow niche which I doubt makes sense for a vast majority of the users.
Looking at that PDF you can get a rough estimate of the SAPS by multiplying the CPU core count by 1000, I hope that helps you on your work.
But if you are willing to spend the effort to integrate this into the code base, you can always fork the code and run it yourself, we may perhaps add it as a hidden column if you contribute a pull request but this is not guaranteed to happen.

Thanks for taking the time to ask here, but I think this site should only attempt to display official measures from AWS so that we can properly track their releases. It's difficult enough to do this already.

authors: cristim picoroma powdahound


text:
Update kubernetes/master/golang/master build

This is an automated PR via build-bot

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ltccci
To complete the pull request process, please assign  after the PR has been reviewed.
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment