text:
selfhost/lexer+parser: Add support for parsing typecasts

A new token for the as keyword is added, and the parser is adjusted
to recognize it during the check for postfix operators. A new UnaryOperator
Typecast is added to represent the result of parsing.

Hello!
One or more of the commit messages in this PR do not match the Jakt code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

authors: BuggieBot charliemirabile

repo: SerenityOS/jakt


text:
rnr kills the server

Game: 10.2.1
EXILED: 2.1.18
MultiAdmin: 3.3.1.1
Ready to give further details (e.g. ma/game logs) if needed.

Sorry, the problem is clearly not in MultiAdmin, because it does not support short alias (rnr is a base-game command).
But I think that MultiAdmin still incorrectly handles OutputCodes from the server.

Sorry, the problem is clearly not in MultiAdmin, because it does not support short alias (rnr is a base-game command).
But I think that MultiAdmin still incorrectly handles OutputCodes from the server.

Hm, this is serious issue... I'll have to look into it... (Why isn't there an output code specifically for that??? Or why doesn't it send it when it's actually restarting...)

Hm, this is serious issue... I'll have to look into it... (Why isn't there an output code specifically for that??? Or why doesn't it send it when it's actually restarting...)

source: gharchive/issue

authors: Dankrushen Nekonyx

repo: ServerMod/MultiAdmin

license: MIT

license_type: permissive

license_source: github-api


text:
Removed unused imports

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [JAV-XXX] Fixes bug in ApproximateQuantiles, where you replace JAV-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Fix https://github.com/ServiceComb/ServiceComb-Java-Chassis/issues/409

Changes Unknown when pulling b1e86490ff5434e69f1be5e2897b200becdbd90f on Gr1f0n6x:unused_imports into ** on ServiceComb:master**.

source: gharchive/pull-request

repo: ServiceComb/ServiceComb-Java-Chassis


text:
Fetch Openfisca YAML tests and add to Raputure DB

[ ] rake task (unique key = name)

[ ] new
[ ] updated
[ ] deleted

[ ] basic fetch service

During import
[ ] map over each bottom layer of YAML inputs and outputs
[ ] check if it exists as a variable
[ ] collect all variable ids
[ ] add to join table varaible-scenarios

[ ] fully implemented fetch service

Note: We will have duplicate names in open fisca -- but we shouldn't. There's an implied task here of finding incorrect and duplicate test names and fixing them in openfisca.

repo: ServiceInnovationLab/RapuTure


text:
chore(master): release 1.23.3

:robot: I have created a release beep boop
1.23.3 (2023-01-04)
Bug Fixes

emojisteal: added error catch for invalid emoji name. (4ce6da7)
removeunused: added error catch for too many emojis attempting to delete. (d035dff)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/SethCohen/EmojiUtilities/releases/tag/v1.23.3 :sunflower:

repo: SethCohen/EmojiUtilities


text:
[Vssue]Nuxt初探 | seth's blog

https://sethlee.site/2020/06/13/a/

测试 comment

集成vssue


text:
Added Popup on exit. (Issue #6)

I have added a popup which will work with exit button in the menu bar . To make it work also with  the exit button on the OS window , please look at line 739. I have commented that line because I don't know how to call the on_closing function outside the class(Please help me with that).

@hrishikesharma That's good to hear! I'll take a look an sort things out.

Alright, I fixed the issue and it's good to go. Thanks for setting this up. To call the "on_closing" function outside of the class, you needed to call it from an instance of the class in out main area. In this case, the instance was qt, which I also used for formatting the line numbers (I think I can't remember too well). Anyways, thanks for another contribution!

Oh I didn't knew that

authors: SethWalkeroo hrishikesharma

repo: SethWalkeroo/Quiet-Text


text:
Erro 404 na busca do CEP 37830026 no Brasil

Verifiquei que o arquivo https://github.com/SeuAliado/OpenCEP/blob/main/v1/37830026.json já existe no repositório, porém ao pesquisar pelo Brasil, não está encontrando o CEP 37830026.
Ao acessar o endereço "https://opencep.com/v1/37830026", está retornando o erro abaixo, com o código 404.
{
"error": true
}
OBS: ao pesquisar em servidores fora do Brasil, a pesquisa retorna corretamente.

O problema ainda persiste

O problema ainda persiste

Muito estranho, testei aqui e parece que esta funcionando. Limpa o cache do seu navegador e testa novamente, pode ser que seja o cache do navegador.

authors: hiuryanderson lucascm

repo: SeuAliado/OpenCEP


text:
Color Picker

So slick pick is cool (whaw)
Can't find slickpicker, falling back to QLineEdit for editing mikidown colors
I think Qt has a color picker xplatform, so can look at that one
So maybe we need to use that instead,,
FINALLY after all these years Qt does it doh.. even windows had it................

QT5

Qt5's color picker isn't crappy nowadays? O_o Can I see screens? My main beefs with the Qt5 colorpicker was that it didn't allow inputting hexadecimal colors directly.
(which lead to me making things like that slickpicker and a compound widget with a button just to show color preview in this other app I have)

OK U sold me on those comments..
And standard coporate colors in widget etc.. and lets make it simple.. ;-)))

NOTE:
Colors are good in tabs, eg

pink ones are client
blue ones are the XXX..

We we kinda want client to use this also..
eg
red = fire
green = med
blue = police
and other domains........

Oooh. So the color picker ideally would be designed to put preconfigured colors up front and then custom colors if needed?
Sorry if it seems confusing to me. Because it looks like that we'd probably need two different color pickers (which isn't hard to code up). One for the text highlighting config, and one for the "domains". (wherever that'd be in the future)

Reason why I'm saying that is that the color picker with a "domain" palette would likely need to be differently coded than one just to fix up the highlighter scheme to cooperate with an unusual GUI colorscheme (like mine).

We need to make decisions for users..
oen of them is this "color design".. things..
Check this and make sense..
http://colorschemedesigner.com/
We present pallete..

@pedromorgan: Well that I know that. But the reason why I put the color picker in the highlighting configuration is because those color decisions were hard-coded before. That drastically decreases usability for people who don't have black text on white background themes.
Anyway, I think I get what you're saying now. We could use something like the link you showed for all of the color picking, but only present the domain palette tab when needed?

Check this which is what I want mikidown...
http://test.anahata-retreat.org.nz/india-retreats/
Which is a smarty.template and content is md.
and simple markdown for content..
and bootstrap css alike etc..
Cool init...
But BUt BUt BUT my feeling is having checked others is that I want it to be..

pluginnable to a desktop app..
editable
savable > to shwere ever..

I dont even want to look under the hood of the parse etc.. cos its not my talent..

@pedromorgan: I think your comment was supposed to be #54 since this one's about color pickers. I'll answer you there.

Closing this since this ticket's stale. And the color picker integration is working fine since slickpicker's been ported to PyQt5 along with mikidown.

authors: ShadowKyogre pedromorgan

repo: ShadowKyogre/mikidown

license: mit

license_source: bigquery


text:
how can I disable ghostTapping using lua?

What is your question?
in previous versions it was using "setProperty('ClientPrefs', 'ghostTapping', false)"
but in the latest version that doesn't work

setProperty('backend.ClientPrefs', 'data.ghostTapping', false)

Better to know is PE 0.7+ has some changes for ClientPrefs. More explained info in Transitioning page

repo: ShadowMario/FNF-PsychEngine


text:
Application icon via source code

What is your question?
Where do I put this in source? Does it have to be in a specific .hx file?
Application.current.window.setIcon( Image.fromBitmapData( BitmapData.fromFile( Paths.modImage( 'myIcon.png' ) ) ) );

Why would you want to do it like that? Can't you just change the icon image?

the .ico? No. It'll most likely (from my knowledge) display the HaxeFlixel logo, I think. I've heard it somewhere before on here.

you can replace the icons in the art folder


text:
Add this cool thing

What feature do you want to get added on the base engine?
hi, i just wanted to add psych engine a judgement counter and ms counter so pls, the zip name should be PsychEngine-Windows64JudgementMs
To test your sight, and reliability, please select the option of what should NOT be requested.
A good idea

failed test

failed test

lmao

you failed the test

@bambitheone82112 did you misclick or what?
Btw you still failed

failed.


text:
how to add song without weeks?

What is your question?
i have made secret song and after in Freeplay show song, i coded in source code here how to make it

addSong('songname', weeknumber, 'icon', freeplaycolor);

how do you use freeplaycolor? in the code it's defined as an integer, not FlxColor
how do i use it

it works like RGB Red Green Blue

how do you format it? would you type something like 255,255,255 or 255255255 or something with spaces

like this 255,255,255


text:
unhandled exception

Hi,
everytime I run the script, I get the following exception on a Windows Server 2012:
Traceback (most recent call last):
  File "edge.py", line 91, in <module>
  File "subprocess.py", line 466, in check_output
  File "subprocess.py", line 571, in run
subprocess.CalledProcessError: Command '['powershell', '(Get-LocalUser -Name $en
v:USERNAME).SID.Value']' returned non-zero exit status 1.
[10784] Failed to execute script 'edge' due to unhandled exception!

Looks like the Powershell module for getting the current username, is not supported in Server 2012.

authors: ShadowWhisperer pattyland

repo: ShadowWhisperer/Remove-MS-Edge


text:
Feature Request: Can this software provide the version of Win32?

Is your feature request related to a problem? Please describe:

It's too easy for UWP applications to crash. I think that the Win32 Application can improve this situation.
UWP应用太容易崩溃了，我认为Win32应用可以改善这种情况。
Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Unfortunately we can't do that 😅.
We tied up our app to a packaged environment. Some of the current features (Run at Startup, App data) are hard coded to work with the packaged environment.
We can't do additional work to make it work unpackaged. It will require extra work to maintain two distribution models. We won't be able to track bugs efficiently.
Our app is not a UWP app to be clear. It is a packaged Win32 app.
What you wanted to say must be, "provide an unpackaged distribution of ModernFlyouts".
The crashes will still happen even if the app is unpackaged. The distribution doesn't have anything to do with the crashes or performance.
We chose MSIX due to its easy deployment process. Publishing to store is easy with MSIX. We have the benefits of auto updates, persistent app data from old version to new version, resetting app data from Windows settings, Controlling the startup task from Windows settings and much more.
TL;DR
We don't have the motive to switch back to unpackaged modal

authors: ShangJixin ShankarBUS

repo: ShankarBUS/ModernFlyouts


text:
Added update notification

Added update notification solving #200

Coverage remained the same at 100.0% when pulling 1d22fa016689afabfde82fac7bd7e448dde68212 on phawrylak:feature/200-update-notifier into 90a5fceb679d9543b181eec555ba28fd907c3195 on SharePoint:dev.

Nice! Looking forward to test it 💪

Merged manually.

authors: coveralls phawrylak waldekmastykarz


text:
Content Types Inheriting from Site Page in Modern Sites Inconsistent Behavior

Category

[x] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
Create a content type inheriting from Site Page.  Add this content type to the "Site Pages" library in a modern site.  Select the new content type from the + New button in the library.  Update the page and publish.
Expected behavior - after selecting the alternate content type from the +New dropdown and saving, that page should be saved as the new content type
Observed Behavior
The page is always saved as the "Site Page" content type, regardless of what content type you select from the +New button
Steps to Reproduce

Create a content type inheriting from Site Page.
Add this content type to the "Site Pages" library in a modern site.
Select the new content type from the + New button in the library.
Update the page and publish.

The page is created as the Site Page content type regardless of content type chosen from the drop down.  You can then navigate back to the Site Pages library and switch the new page to the intended content type.

Currently you can not create a site page as a different content type.  You'll want to add this as a feature request to User Voice.

I can see this is fixed in one of my tenants.  Thanks again @patmill

authors: patmill pdemro

repo: SharePoint/sp-dev-docs


text:
Unable to reference PnP JS in SPFx webpart using External Section

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
You can add a module to the SPFx Webpart solution, in this case PnP JS using the External Sections in the config.json file as :
"externals": {
"sp-pnp-js": "https://cdnjs.cloudflare.com/ajax/libs/sp-pnp-js/3.0.9/pnp.min.js"
},
Later you can refer the PnP JS in the TS file by importing it as :
import * as pnp  from "sp-pnp-js";
This does not require the bundling of the PnP JS which happens during the usage of :
npm install sp-pnp-js --save (which is not used in this bug reporting)
Observed Behavior
Config.json reference :

TS file import :

On running Gulp Bundle --ship , error "Cannot find module sp-pnp-js " is generate in Node Command Prompt.

However if i dont use external section reference and use npm to install PnP JS using the below command does not throw any build errors.
npm install sp-pnp-js --save
However as I am particular in using externals sections to reference the JS File, Is there something i am missing in the workflow like adding a typing for PnP JS ?

In order to get the proper typings you always have to install the sp-pnp-js package to your project.
The CDN reference on the external section adds the library to your project and reference it on CDN later. The local typings you only get with the local installation of this library.

@StfBauer : So in that case, we would be forced to bundle the PnP JS file along with the project which i dont think is a good option. Is there a way we can explicitly install just the typings like we do for angular as in :
npm install @types/angular --save-dev

No. You don't bundle anything you just use it for the typings.
If you would have referenced in your external section to the node_modules folder you would bundle it.
You have a reference to the CND so it won't get bundled and locally installed npm package will only be used for the type definition.
I asked the exact same question on pnpjs. You will find the discussion there.

Hi @PriyaranjanKS -
To expand on what @StfBauer says: externals is a bundling time concept. Meaning you install the library in your project, us it as you would normally without externals and then at bundle time the packager (in this case webpack) will leave our that library's code from the bundle, instead ref'ing the external link. So your bundle ends up without the code included. In this scenario the package itself is acting as the types for you to reference. This allows us to maintain a single thing and you to get the latest typing information with each package.

Thank you for your interest in the sp-pnp-js library. We want to mention that this library is being deprecated in July, 2018 in favor of the new scoped pnpjs libraries. You should begin transitioning your existing projects when possible, or start new projects with the new libraries. Please see the transition guide for more details on migrating and be sure to let us know if you have any questions. Thanks!

authors: PriyaranjanKS StfBauer patrick-rodgers


text:
Various issues with SPFx apps and the new SharePoint online release

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
Icons showing up in SPFx command sets, field customizer rendering correctly, grouped views containing columns with field customizer not throwing exceptions and an updated context when navigating between lists.
Observed Behavior
In the last two to three weeks I noticed the following issues with one of our SPFx apps. All issues are related to an update that Microsoft rolled out recently (or they are still in the process of rolling this out). The reason for this assumption is that we only see this issue since the new sticky headers feature and totals in list views are available. When I first noticed this behavior I checked our tenant's release preferences and noticed that 'target release' was configured. After changing this to standard release everything was working as expected again. About a week or so later we noticed the issues again and also Sticky headers and totals came back. At the moment I think the update has been retracted again. Everything is back to normal at the moment in my tenant and I also don't see totals in views and no sticky headers. So maybe Microsoft already stopped the release of the new version and maybe they are already fixing this. I also talked to an Office 365 Escalation Engineer from Microsoft Support about this issue, but they don't have any insight on this. Since I'm not sure if Microsoft is already working on this or if they continue releasing the new version I decided to share my experience here.
Back to the actual issues, this is what's happening:
- Icons are not showing up in SPFx command sets: This issue has already been reported: https://github.com/SharePoint/sp-dev-docs/issues/3692
- We loose all the customizations a few seconds after the view renders: SPFx field customizer show up correctly, but the customizations disappear a few seconds later. This is only the case if the items in the list exceed the configured row limit of the view. If you open a modern SharePoint view the first batch of items will be rendered and this also calls the field customizer so that the column you want to customize changes depending on your implementation. After a few seconds, the view renders the next batch of items. That's when we loose all the customizations. If I change the row limit of the view to a higher value than items in the list, everything seems to work as expected again.
- Grouped views that are collapsed by default and contain a column with a field customizer throw the following exception as soon as we expand a group.

- The page context will not be updated between different lists in field customizes, command sets and application customizer. The current list properties like serverRelativeUrl, Title, etc. that we can access using this.context.pageContext.list don't change if you navigate from one list to another. The context will always be the list from the last full page load.
Steps to Reproduce
As already mentioned above, it depends on the SharePoint version if you are able to reproduce the issues or not. To sum it up, if you see sticky headers or totals in modern list views, you should be able to reproduce it.
Icons not showing up in SPFx command sets:
Create a new SPFx project and select the extension 'Command Set'. Basically follow this guide: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api
Configure the full address to an icon in the iconImageUrl property in the *.manifest.json and test the app. Icons will not show up.
Field Customizer Issue:
Create a new SPFx project and select the extension 'Field Customizer'. Basically follow this guide: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-field-customizer
If the list has more items than the row limit configured in your view and you test the extension you should have the same behavior. The field customizer rendering correct first and then disappear a few seconds later. If you use 'gulp serve' it's possible that everything is still working as expected because of the delay so that the field customizer will render after the view rendered all items in the list. If you deploy the app instead of the debug mode you should be able to reproduce it.
Also create a collapsed grouped view that contains a column with a field customizer, expand a group and you should see the exception from the screenshot above.
The page context will not be updated between different lists
Create a SPFx project with a commandSet or application customizer and log this.context.pageContext.list.serverRelativeUrl to the browser console and check the output if you navigate between lists.
Thanks in advance for any tips or insights !

Thanks for the details.  We'll get this looked at.

Thanks again @florianwachter .  The team has the issues local fixed and they will roll out soon.  You won't need to rebuild or redeploy or anything like that, so "fixed-next-drop" doesn't mean SPFx 1.8.2 or 1.9.

Yes we'll roll out the new bits with the flight to FR tenants and users early next week. Let us know if you still have issues wit this. Thanks for reporting this.

Looks like the fix has already been rolled out. Everything works as expected now. I can see totals and sticky headers again and our extensions also seem to work. Thanks to @patmill and @rchendev for your prompt action.

Closing this issue as @florianwachter confirmed that everything is fine now.

authors: VesaJuvonen florianwachter patmill rchendev


text:
Explicitly add references to package.json

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
I am very happy that in 1.8.2, "for the react scaffolded projects, we now explicitly add office-ui-fabric-react version 6 to package.json".
Shouldn't you include in the scaffolding the other two common shadow references as well?

tslint
typescript

As you said, shadow dependencies are a bad thing and including them in the default scaffolding will help to eliminate these shadow dependencies and make easier the use of pnpm and rush.
Observed Behavior
tslint and typescript are common shadow references as they are not in the scaffolded package.json.
Steps to Reproduce
Run yo @microsoft/sharepoint and see the package.json

Good question @Rafaelki .  In this case, however, the answer is no, and we should probably add some additional documentation around it.  The rush-stack-compiler-x.y package brings in the appropriate typescript and tslist packages, as well as other build tools (webpack, etc.).  The goal here is that for tooling, you include the one package, and we make sure that everything matches correctly and is tested to work together.

I see! So basically tslint and typescript are no longer shadow references since rush-stack-compiler was added (1.8.0), right?
Thank very much @patmill!

authors: Rafaelki patmill


text:
PropertyPaneTextField not working anymore?????

Category

[X] Question
[ ] Typo
[X] Bug
[ ] Enhancement / Suggestion
[ ] Additional article idea

Expected or Desired Behavior
Want to see a multiline text field on my web part property pane
Observed Behavior
Today my property pane started to fail. When i click on edit web part, i see an empty property pane opening. I have a button and a PropertyPaneTextFiled in it. When i comment the text field my property pane starts to work correct and showing me up my button. So has anything been changed? May be i need to update something? new version of SPFx?
Steps to Reproduce
Place a PropertyPaneTextField in your property pane with some label and multiline:true attribute

@artxach , thanx for the notification. We will look at this and report back.

@manishgarg1 , @srideshpande thanks. The other day it started working, and i don't understand where is the issue. Perhaps it is connected with the path (property key) of the TextField, but i looked at my codes and don't find anything strange.

Hi @artxach, should we close this issue?


text:
SPFx ACE : Value of "this.context.deviceContext" incorrect in Teams desktop

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Linux
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[X] other (enter in the "Additional environment details" area below)

Additional environment details

Teams desktop app

Describe the bug / error
While developing ACEs, we can get to know the device context using this.context.deviceContext.
The value of that should one of WebView, Mobile or TeamsDesktop based on where we access the ACE from.
This property gives the correct output when in browser (WebView) or in Teams mobile app (Mobile).
However, in Teams desktop app the value is WebView whereas, it should be TeamsDesktop.

Steps to reproduce

Create an ACE using SPFx
In the onInit method alert the property this.context.deviceContext
Open the ACE in Teams desktop app

Expected behavior
In Teams desktop app the value of this.context.deviceContext should be TeamsDesktop.

@anoopt , sorry for our delay in answering. We indeed had some issues in our code that was reporting incorrect information but that should now have been fixed. Can you please check and see if the issue still exists?

Thank you @lucabandMSFT - Tested this with SPFx 1.15.0-beta.1, the value is correct on the initial load however if you navigate to a different area in Teams and open the Viva connections app, the value shows as WebView again.

Thanks you @anoopt , looking on the issue now. Also, one question. The "Viva Connections" app you are using is the one that comes out of the box from Teams app, right? it is not this one: https://docs.microsoft.com/en-us/sharepoint/viva-connections-desktop

@anoopt - could you please reply to the Luca's question?
Thanks!

Sorry for the delayed response yes, I am using the "Viva Connections" that comes out of the box from Teams app.

@anoopt, thanks. And, to be clear, the issue is happening right now as well? Can you please confirm it?

Sure @lucabandMSFT will test with the latest SPFx version and let you know.

@anoopt - were you able to check if the issue is still repro-ed?

Sorry for the delay in getting back. This can now be closed.

authors: AJIXuMuK anoopt lucabandMSFT


text:
Update how-to-deploy-a-custom-theme-in-sharepoint.md

Fixed link to SharePoint Team Blog: Show off your style with SharePoint theming
Category

[x] Content fix
[ ] New article
Related issues: fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Fixed link to SharePoint Blog article.
Guidance
N/A

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/general-development/how-to-deploy-a-custom-theme-in-sharepoint.md
:white_check_mark:Succeeded

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

thx Simon, appreciated.

authors: VesaJuvonen spSlaine spdevdocs


text:
Reverted to drop 1.1.0 in order to bring back compatibility for SP2016

Q
A

Bug fix?
yes

New feature?
no

New sample?
no

Related issues?
Fix for issue #366

What's in this Pull Request?
After reading issue #308 that was suggesting upgrading the WebPart to the latest 1.2.0 drop, I went ahead and upgraded everything successfully. However, as noted by @alirobe in issue #366, the WebPart wouldn't work in SharePoint 2016 on-premise anymore since SP2016 only supports drop 1.1.0.
So I decided to revert to drop 1.1.0 in order to stay compatible for SP2016. The good news is that all the modifications I did to upgrade to 1.2.0 are backward compatible, which means they still work in 1.1.0 and it will be a breeze to upgrade to 1.X.X later on if ever we decide to.
Once this pull request is merged to master, issue #366 can be closed 👍

thx Simon,
cool that this is now also on-prem supported.

authors: VesaJuvonen spplante

repo: SharePoint/sp-dev-fx-webparts


text:
Installing easymore version 2.0.0

I would suggest adding the easymore installation after the hydrant in 0-prerequisits:
pip install git+https://github.com/ShervanGharari/EASYMORE.git@develop_2.0.0
I have tested this and it works fine.
Later, when version 2 is released, we can add that to the requirements.txt file (perhaps similar to the hydrant and meshflow).

resolved, will close.

repo: ShervanGharari/FHIMP


text:
关于测试时如何获得更好的效果

hi，最近尝试了一下motioNet，有几个问题想请教一下：
1.关于测试时的IMAGE_WIDTH，这里应该就用图片宽度吗，还是需要最长边？
2.MotioNet论文中最吸引我的是能够相对准确的回归global root position，事实上目前绝大多数3D pose的方法在这方面都比较糟糕。然而我看到测试时有 translation[:, :2] = translation[:, :2]*3；translation[:, 2] = translation[:, 2]*1.5，这里的scale系数是怎么得到的呢？经验值？在我测试自己的视频时对这个有什么建议吗？
3.演示视频里下面这个视频的global translation看起来效果很好，请问是有做什么其他的操作嘛？靠这个库的代码和模型能做到吗？

4.我自己测试了如下视频，发现效果并不好，动作错误较多，而且global translation基本固定在原地（实际上视频中的人从左走到右有比较明显的位移），我使用evaluate.py的默认设置（IMAGE_WIDTH改为视频的宽度），请问是还需要修改什么才能达到较好的效果呢？还是说我这个视频本身不太符合训练集的分布？

Hi @MioChiu ,

如果不是正方形的视频，是应该对长和宽分别进行处理的：

IMAGE_WIDTH = 480
IMAGE_HEIGHT = 270
...
    poses_2d = np.concatenate(pose_batch, axis=0)
    poses_2d[:, np.arange(0, poses_2d.shape[-1], 2)] /= (IMAGE_WIDTH*1)    # 1 是一个调整参数，尽可能使人物在图片中的比例接近原始数据集
    poses_2d[:, np.arange(1, poses_2d.shape[-1], 2)] /= (IMAGE_HEIGHT*1)   # 1

global root position的回归也是我们比较开心的一点，但其实在我们最近的研究里面也发现，虽然在训练数据集中表现非常好(-i h36m可以输出一些在测试集上的结果)，也很难在真实的视频里获得非常平滑的效果。一是因为训练数据集的运动范围和规则都很固定，基本就是绕圈，二是因为缺乏足够的数据扩充。对于产生的脚步漂移（foot sliding）, 我们就会用应用一个scale减小这样的移动，凭经验去产生。对于你的视频，在深度上的scale应该小一点。
完全可以。

authors: MioChiu Shimingyi

repo: Shimingyi/MotioNet


text:
Test 2

Tesat tetsuerahigrh;reghj
ar;oh
ea hgvo
are hgoiau
aj o

test


text:
Provide the image of the canteen in the Home section

I would suggest to provide the image of the canteen in the home section of the website instead of providing the logo of the website . Would like to contribute and fix this issue

Can you show the images? which will be added & where they will be added?

repo: Shinjan-saha/Canteen-Website


text:
do not unnecessarily flush or destroy

rel: https://github.com/Shopify/cookbooks/pull/11545
According to ipset documentation ipset is expected to do nothing when ipset destroy command can not destroy a set. But it actually returns error and this breaks ipset-cookbooks because in every run it tries to destroy all sets and recreates them. But because destroy command returns error the create commands never gets executed. This PR separates destroy action from create action and instead of destroying everything it destroys only the sets that marked as to remove(i.e ipset with remove action) in the recipe.
/r @mredan
@Shopify/traffic

seems sane. were you able to test it anywhere?

seems sane. were you able to test it anywhere?

yes, nginx7.ash

OK cool.
👍

I also do not need to delete currently created /etc/ipset/sets.d/blacklist_net_v6 files because the content will be different thus rebuild-ipset script will still be triggered.

authors: ElvinEfendi mredan

repo: Shopify/ipset-cookbook


text:
Svg does not respect container width/height

Svg renders at full size always and does not scale down to fit the container size. In this case below, svg cannot be seen because it has rendered outside 100x100 area.
 <Canvas style={{height: 100, width: 100}}>
      {source && (
        <ImageSVG
          height={100}
          width={100}
          x={0}
          y={0}
          source={source}
        />
      )}
    </Canvas>

could it be because your SVG is not using viewBox? If yes the result might be accurate. Could you send me the SVG so I can test it?

Here the behaviour seems correct since the width and height of the svg is larger than the canvas.
We might add support the fit property eventually.
Removing the width/height property from the SVG element should do the trick for now?

Here the behaviour seems correct since the width and height of the svg is larger than the canvas.
We might add support the fit property eventually.
Removing the width/height property from the SVG element should do the trick for now?

@wcandillon I will try that and see if it works. However I think this can be done internally by checking if the container size is larger or smaller than that of the viewBox. I think react-native-svg does something similar.

The problem with this solution (checking viewbox) is that we are sending the SVG directly to Skia without any parsing and checks. We've discussed the viewbox thingie a lot and you might have a very good point about checking and aligning the viewbox against the requested style.
The problem with this is that it will require us to flatten and read the style, parse SVG and read viewbox. When reading the style we also have to take margins and padding (and even borders!) into account. This sounds like a complex operation that might lead to bugs and issues.
When that is said, both me and @wcandillon know that this is the one big issue we'll see again and again by publishing support for SVGs in Skia so this is something we need to find a good solution for.

@chrfalch I completely agree with you on this. This will require parsing the dom on JS side or Native then resizing according to the container with so the svg can fit properly. This will require extra maintainence and also increase the bundle size when if add any html parser to do this.
But the problem is that the usefulness of svg support becomes very limited without this since mobile devices are small and will require scaling things down like images and svgs.
One way is to not do it yourself from ground up but instead use an external dependency to handle resizing the svg on JS side.
Or hope that someone makes a library that uses react-native-skia to render svgs with resizing support. That you can you focus on the core parts.
I think that this library is more like a canvas in browser that gives you what is needed to build what you want. But it really depends on you, the devs. It can be an all in one solution for graphics too.

is it really fixed yet? I having the same problem in  version ^0.1.163.

@hungtooc what is the issue that you are experiencing?

It is the same issue as with the svg above. You set the width and height in the svg itself, and that is what will be taken for rendering, so the height and width in the ImageSVG-Tag are ignored. If you remove the width and height inside the svg, it will work. No need to use a tool.

Thank you for sharing your considerations about adding fit property / checking viewbox. Is there a decision on this yet? Right now,  I am still using react-native-svg to solve this for my project.
Also it seems there is no way to set relative values for width and height, like 100%, to fill the canvas around ImageSVG dependent on its size. Are there plans to include that?

@lunacy42 the example above provided by @hungtooc seems to work correctly. The viewbox is correctly at 1024x1024 and changing the witdh/height in the svg string or removing it will always yield the correct result. For instance:
const Test = () => {
  const svg = Skia.SVG.MakeFromString(
    `<svg class="svg-icon" style="width: 400; height: 400;vertical-align: middle;fill: currentColor;overflow: hidden;"
    viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
    <path
        d="m512 96c-229.8 0-416 186.2-416 416s186.2 416 416 416 416-186.2 416-416-186.2-416-416-416zm34.4 219.2-6.2 230.2c-.4 16.4-11.8 29.6-28.2 29.6s-27.8-13.2-28.2-29.6l-6.2-230.2c-.4-19.2 15-35.2 34.4-35.2 19.2 0 34.8 15.8 34.4 35.2zm-34.4 392.8c-21.4 0-38.2-16.2-38.2-36.8s16.8-36.8 38.2-36.8c21.4 0 38.2 16.2 38.2 36.8s-16.8 36.8-38.2 36.8z" />
</svg>`
  )!;
  return (
    <View style={{ height: 400, width: 400 }}>
      <Canvas style={{ height: 400, width: 400 }}>
        <Fill color={"blue"} />
        {svg && <ImageSVG height={150} width={150} x={0} y={0} svg={svg} />}
      </Canvas>
    </View>
  );
};

authors: ammarahm-ed chrfalch hungtooc lunacy42 wcandillon

repo: Shopify/react-native-skia


text:
Move rubocop file watching into the server

Motivation
For #1457. Need to figure out how to clear old diagnostics after the config has been changed. Otherwise the user can see stale diagnostics.
Implementation

Automated Tests

Manual Tests

I wonder if this isn't a bug in the language server node package. There's no mention in the spec that pull diagnostics can't be cleared by a publish notification. And the documentation for publish explicitly mentions that pushing an empty array will clear previously existing diagnostics. It might be worth asking in https://github.com/microsoft/vscode-languageserver-node.
Another option, which might work (hopefully), is to collect diagnostics after re-creating the RuboCop instance and try to push the violations using the new configuration. Although, we may find ourselves in a similar situation if no diagnostics are collected after the configuration change.

I'll try to check that out sometime. Gonna dig around a bit beforehand. There are a few references to publishDiagnostics, I might find something

authors: Earlopain vinistock

repo: Shopify/ruby-lsp


text:
Add a simple topic consumer tool

It will consume all partitions for a given topic and write the messages to STDOUT.
@Shopify/kafka

Little things, but LGTM

Maybe "kafka-console-consumer" is a better name, not like there's other things to consume in Kafka 😃

We actually already have a kafka-console-partitionconsumer which only consumes a single partition, but I wouldn't mind just merging them into one kafka-console-consumer :)

I think kafka-console-consumer should be built on top the high-level consumer once we have it.

@Shopify/kafka Feel free to still comment on this further; there's definitely ways to improve this tool, but I had an urgent need for it, so I merge this PR.

authors: bouk eapache wvanbergen

repo: Shopify/sarama


text:
More trouble with Locales

I'm unable to download any of these files from an uploaded theme.
A full theme download routine results in the following:
'locales/en.default.json' is not in a valid file for theme uploads
Files need to be in one of the following subdirectories: layout/ assets/ config/ snippets/ templates/
Any ideas?

This was never added in the shopify_theme gem.
I'm working on a cross-platform version in go that I plan on making the de-facto Shopify theme synchronization tool. Try grabbing the latest build and see if that one fixes the issue you are having.
The configuration files are basically the same so it should "just work"

Yup, totally works! Looks great. Thanks a lot!

authors: ajohnh csaunders


text:
Fix Node version check and error

Previously, the JS file that checked what version of Node was running was using JS language features available only in Node 6+. This caused a runtime error when the file was run in Node <6.
Switch out Node 6+ features for equivalent legacy alternatives so the Node version warning can be displayed. Disable ESLint so that Prettier does not apply ES6 formatting.

Thanks @t-kelly - sorry I was slow on the review 😅

authors: NathanPJF t-kelly

repo: Shopify/slate


text:
customer account ui: Modal with no actions are showing separator line

Please list the package(s) involved in the issue, and include the version you are using
"@shopify/ui-extensions": "2024.10.x",
"@shopify/ui-extensions-react": "2024.10.x",

Describe the bug
Noticed recently that modals now have primaryAction and secondaryAction props(great!), however, if the modal is not using those properties the separator line is still showing:

This makes our current modals that are not using primaryAction and secondaryAction a  bit odd:

Expected behavior
Not show separator line when no actions are provided.

Side note: This makes hard to compose when you wan't to render a <Form /> with submit button:
Before:
<Modal>
  <Form onSubmit={...}>
    <Button accessibilityRole="submit">Ok</Button>
  </Form>
</Modal>

Now: Buttons are placed outside the <Form /> and no longer can submit the form(Probably less accessible too?)
<Modal primaryAction={<Button onPress={...}>Ok</Button>}>
  <Form>
      still a form? Can we submit
  </Form>
</Modal>

Hey @mateusvahl , a fix has been applied to all versions, please have another test, thanks very much!

repo: Shopify/ui-extensions


text:
Add generic picker API

Background
Resolves https://github.com/Shopify/app-ui/issues/1575
Related https://github.com/Shopify/shopify-dev/pull/49753, https://github.com/Shopify/extensibility/pull/178
Adds the imperative picker() API to UI Extensions to open the generic picker.
The API is used like this:
const {picker} = useApi();

const pickerInstance = await picker({
  heading: 'Select an item',
  headers: [{content: 'Main heading'}],
  items: [
    {
      id: '1',
      heading: 'Item 1',
    },
    {
      id: '2',
      heading: 'Item 2',
    },
  ],
});

const selected = await picker.selected;

This matches the API provided to App Bridge in https://github.com/Shopify/extensibility/pull/178.
🎩

Setup a local extension following these instructions or by running shopify app generate extension
Update your extension's dependencies to the latest snapshots on this PR:

"@shopify/ui-extensions": "0.0.0-snapshot-20241115174631",
"@shopify/ui-extensions-react": "0.0.0-snapshot-20241115174631"

In your extension code, add thw following example:

const {picker} = useApi();

const pickerInstance = await picker({
  heading: 'Select an item',
  headers: [{content: 'Main heading'}],
  items: [
    {
      id: '1',
      heading: 'Item 1',
    },
    {
      id: '2',
      heading: 'Item 2',
    },
  ],
});

const selected = await picker.selected;

Checklist

[x] I have :tophat:'d these changes
[x] I have updated relevant documentation

/snapit

/snapit

/snapit

/snapit

authors: MitchLillie charlesdobson


text:
VIM Plugins with the <some_name>/vim format result in duplicate plugin error.

Related Issues
None
Description
Duplicate plugin warning when there are more than 1 plugin that follows the repo format of <some_name>/vim. For example:
call dein#add('dracula/vim',
            \ {'merged' : 0,
            \ 'normalized_name' : 'dracula'})

and
call dein#add('catppuccin/vim',
            \ {'merged' : 0,
            \ 'normalized_name' : 'catppuccin'})

will result in the following error:
[dein] plugin 'vim' already defined

To Reproduce
Just try installing the plugins listed above.
Expected behavior
Ability to have both plugins installed.
Screenshots
None
Desktop:
Please complete the following information, when reporting bugs related to the
Dein.vim.

OS: Linux
Vim or Neovim version: Vim 9.1 (1-954)

Minimal Config
" Add your minimal .vimrc or init.vim here.
" Example:
set runtimepath^=~/path/to/dein.nvim/
call dein#begin(path)
call dein#add('dracula/vim',
            \ {'merged' : 0,
            \ 'normalized_name' : 'dracula'})
call dein#add('catppuccin/vim',
            \ {'merged' : 0,
            \ 'normalized_name' : 'catppuccin'})
call dein#end()

Additional context
Add any other context about the problem here.

It is feature.
Because name is not same with normalized_name.
If you want to use normalized_name as name, please enable g:dein#enable_name_conversion for it.

authors: Shougo symbolix


text:
Add workflow file to correct folder

Moving the ci file to the correct folder where Github Actions expects it.  My bad.
Have you enabled Github Actions to run in settings?

Have you enabled Github Actions to run in settings?

I've shockingly never used Github Actions. What specifically do I need to do on that front to get this working?

I think these are the main settings to have in place (most are default I think)

Gotcha. Yeah, those are all already enabled. Merging now and seeing what happens. 🫣

Cool - I'll work on the errors and PR up fixes shortly.

authors: Shpigford robzolkos


text:
Build Optimizations

This PR improves our Dockerfile and CI flow

[x] separates downloading the dependencies
[x] mounts the various go cache directories
[x] adds a BUILD_TAGS arg which allows us to get rid of .testnet copy pastes of both the Dockerfile and GH actions
[x] adds a BUILD_METADATA build arg which allows skipping the build metadata (useful for local developement)
[x] sets some flags that should make the resulting binary smaller

The following output shows that the images are receiving the proper build tags.
NOTE: this adds mainnet to the image names... I think that's fine but it is kind of unfortunate
➜  docker run --pull=always ghcr.io/siafoundation/renterd:pj-build-optimisations-testnet
renterd v0.4.0-beta
Network Zen Testnet

➜  docker run --pull=always ghcr.io/siafoundation/renterd:pj-build-optimisations-mainnet
renterd v0.4.0-beta
Network Mainnet

It brings down my local build time from ~400s to ~40s and if I skip building the metadata it's almost instant at ~4s :fire:.

@n8maninger tagged you as a reviewer because you're the GH actions 👑 - if approved you could make the same changes to hostd

repo: SiaFoundation/renterd


text:
Use update instead of CreateInBatches in CompleteMultipartUpload

This PR uses an update instead of create now when completing a multipart upload.
That's possible now since we recently added the object_index to the slices and we no longer rely on the ID for the insertion order.

should we mention https://github.com/SiaFoundation/renterd/issues/769 here?

authors: ChrisSchinnerl peterjan


text:
Lazy Loading?

Hi @danilowoz! Thank you for open-sourcing this library! Quick question - what is the best way to incorporate lazy loading into the library so that children not in view are not loaded?
Is that something that you see being part of this library? Or is there another workaround you'd recommend?

Hey @oyeanuj, great question!
Currently, I'm working on a solution for it, when I have a new release with this feature I'll get in touch you
Thanks :)

Just wanted to follow-up on this, is there a solution for this?

Hey, sorry for the late follow-up.
I've dug in this issue, and unfortunately, Snuggle is not able to provide great support for lazy-loading, so that of how it works and how it gets DOM in order to measure of item sizes.
Let me try to explain why:

The first Snuggle will render all elements at the top of its parents, without the right positions, in order to set a couple of events and get the items size;
Meanwhile, the Lazy-loading component will fire the event to show the image, once all items are in the viewport, right?;
Then, after the first render, Snuggle will reposition all items in the right place.

Because of it, lazy-loading loses its right behavior, since it will load all images at the same time. Otherwise, in case it's not a big deal for you, Snuggle already has an API that provides a way to reposition all items on image loading:
const Component = () => {
  const snuggleRef = useRef()

  const onLoad = () => {
    if (snuggleRef.current) {
      snuggleRef.current.resize()
    }
  }

  return (
    <Snuggle ref={snuggleRef}>
      <img src="example.jpg" onLoad={onLoad} />
    </Snuggle>
  )
}

Hope it helps! Thanks

authors: danilowoz oyeanuj stuckinaboot

repo: Significa/react-snuggle


text:
Added additional SetValue methods to TextureBatchItem using a Matrix3…

Added additional SetValue methods to TextureBatchItem using a Matrix3x2 transform generalization.
This allows transform concatenations in scenarios like complex graphics animations, skewing, and viewport size virtualization, which are not possible with any of the other "SetValue" methods.

Hello and thanks for your contribution!
Is this PR done, or will anything else be added to it?

Well, if I would be me I would redirect all the other methods to the one using the matrix3x2 , which would remove a lot of boiler plate code... but you stated you preferred it that way for performance reasons, so on my side this PR is completed.
On a side note, everything I do in 2D ends up requiring an extra layer of transformation for one reason or another, so all 2D rendering calls end up using the matrix3x2 one and not the others.

Yout're right, it would need to be exposed in some way.
Would you agree to propagate these two method calls to TextureBatcher?

I'm not sure if we're correctly understanding each other
This functionality is already present in the TextureBatcher.DrawRaw methods. Is there a use case for this functionality that's not already covered by these methods?

It is covered as in, filling the vertices directly, what I was proposing was a helper method that takes the matrix and fills the vertices for you.
but if you consider this as redundant, and given the method inside TextureBatchItem  is internal, then I would agree this PR has no meaning and could proceed to close it.

Sorry for the delay on this one, I've been crazy busy

do't worry, I'm on the same boat, I can only visit this in my spare time.
As it happens, Matrix3x2 is the combination of position, scale and rotation, in fact, these matrices are usually called SRT matrices.
For equivalence:

batcher.Draw(texture, position, source, color, scale, rotation, origin);

// is equivalent to:

Matrix3x2 xform = Matrix3x2.CreateScale(scale)
                * Matrix3x2.CreateRotation(rotation)
                * Matrix3x2.CreateTranslation(position);

batcher.Draw(texture, xform, source, color, origin);

"but you have to multiply the 3 components to get the matrix, which adds overhead"
Yes, on naive demos and examples, that's the case.
But, What happens on actual production code?
On more complex scenarios, the most convenient primitive to represent a "2D location" is a Matrix3x2, not a SRT tuple.

GUIs like WPF or MAUI, under the hood, work with some kind of matrices representation, so you can apply transformations to whole regions, so you can do things like zoomed and scrolled canvas drawing.

2D Animated rigs, like characters and so on (think as in Flash animations) also represent character parts as matrices, because each "bone" is a matrix concatenated by its parent bone, using a plain matrix-matrix multiplication.

Also, on videogames, for example, the game objects are most probably controlled by some kind of physics engine, which happens to work with matrices, so when you want to render the scene, the physics engines typically tell you where every object is located using a matrix, not a SRT tuple.

Matrices support stretching in cases where you want to fit something on a rectangle that does not have a 1:1 aspect ratio.

And in general, matrices allow for matrix concatenation which is extremely powerful in graphics programming.

So, in those cases where you have a Matrix and not a SRT tuple in the first place, and the underlaying rendering engine does not have a rendering method that accepts a matrix, what you end up doing is decomposing the matrix into the S, R, T components, which happens to be even more computationally expensive (SQRTs involved) than multiplying matrices.

Okay, sounds cool! My notes on this, mostly from curiosity, are:

= Matrix3x2.CreateScale(scale) * Matrix3x2.CreateRotation(rotation) * Matrix3x2.CreateTranslation(position);

Wait what, what does it mean to multiply two 3x2 matrices, that's not math
After looking at the struct's code it seems like the left matrix gets extended with an [0; 0; 1] columnar vector, and then you can multiply a 3x3 matrix by a 3x2 one, cool

GUIs like WPF or MAUI, under the hood, work with some kind of matrices representation, so you can apply transformations to whole regions, so you can do things like zoomed and scrolled canvas drawing.

This should be done with a matrix in the vertex shader though, not at sprite-level

Matrices support stretching in cases where you want to fit something on a rectangle that does not have a 1:1 aspect ratio.

Current Draw methods support specifying scale as a Vector2, although the Matrix3x2 one would support skews

...the physics engines typically tell you where every object is located using a matrix, not a SRT tuple.

If you have any examples of such engines I'd like to see, as the engines I've used in the past don't give you a matrix
The idea of 2D animated rigs with concatenation sold me though! I do want to see with this PR a small demo project (it can be an additional project in TrippyTests) that showcases the new Matrix3x2 methods by drawing some things with them, including something that uses a rig (something simple is enough, like a bunch of concatenated lines that when you rotate one, it rotates all the following ones too). You can copy the TextureBatcherTest project for this.

Sorry for the late reply, wrapping the year at work it's being a nightmare.

Wait what, what does it mean to multiply two 3x2 matrices, that's not math

Matrices in the System.Numerics namespace can be multiplied, and the practical effect is that the scale, rotation and translation of the parent matrix is "propagated" to the child matrix.  You can do the same without matrices, but it's way more verbose.
Also, using the System.Numerics matrices has the additional advantage that Microsoft is taking a lot of care into optimizing these structures, so in some cases, the generated code boils down to SIMD code, so although at first sight the code might look slower, it's actually much faster than working with position, scale and rotation separately.
I've added one more commit with the public methods for TextureBatcher, and added some code in TextureBatcherTest that showcases these draw calls.

So far, I think this is all for this PR
Having support for Matrix3x2 in TextureBatcher makes some other stuff I wanted to do much easier.
I have some working concepts on how to greatly simplify all the boiler plate code used to draw fonts, which uses the Matrix3x2 methods, but that's for some other time if you are willing to discuss about it.

Look at 'im go 🤩🤩🤩

Ah crap, I broke the gif recorder.
This is the first code put into TrippyGL that wasn't written by me! Thank you!

authors: ThomasMiz vpenades

repo: SilkCommunity/TrippyGL


text:
ERROR in PointNet2: The detected CUDA version (10.1) mismatches the version that was used to compile

Installing PointNet2 requires CUDA version 10.1, but you have installed CUDA 11.3 with PyTorch. I wanted to ask how you managed to successfully install PointNet2 in a CUDA 11.3 environment. When I try to install it, I encounter the following error: 'The detected CUDA version (10.1) mismatches the version that was used to compile.'

Hi,
You may re-install pointnet2 with CUDA 11.3. I've tried that on my end and it should work.
Let me know if you have further questions.
Best,
XM

Hi,
My environment is:
Ubuntu 18.04
Python 3.9.0
PyTorch 1.12.0 with CUDA 11.3
GeForce RTX 3090 GPU
When I  re-install pointnet2 with CUDA 11.3, I encounter the following error:
File "/data1/user/anaconda3/envs/SQA3D/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 812, in _check_cuda_version
    raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda))
RuntimeError:
The detected CUDA version (10.1) mismatches the version that was used to compile
PyTorch (11.3). Please make sure to use the same CUDA versions.

And, How do I solve this problem?
Thanks!

authors: LZ-CH jeasinema


text:
Gnome-Pie crashes while opening General Settings

I tried to install gnome-pie in Archlinux, but when I tried to go to General Settings it just close itself.
Here is the output:
9:08:12 >> % @ ~

gnome-pie
[MESSAGE] Welcome to Gnome-Pie 0.5.2!
[MESSAGE] Loading Pies from "/home/renodesper/.config/gnome-pie/pies.conf".
[WARNING] Icon "gnome-pie" not found! Using default icon...
[MESSAGE] Started happily...
Assertion 'pthread_setspecific(t->key, userdata) == 0' failed at pulsecore/thread-posix.c:247, function pa_tls_set(). Aborting.
zsh: abort      gnome-pie

I will close this (old) issue. Please re-open if it still occurs!

authors: Simmesimme renodesper

repo: Simmesimme/Gnome-Pie


text:
setSliderValue:函数value值判断错误

首先给作者👍一个,  但是这里有个小小的错误,   正确的判断应该是:

(void)setSliderValue:(CGFloat)value animation:(BOOL)animation completion:(void (^)(BOOL))completion{
if (value >= 1) {
value = 1;
}
if (value <= 0) {
value = 0;
}

thanks

thanks

repo: SimonYHB/HBLockSliderView


text:
[Feat]: DB 추가

👀 이슈
resolve #1
📌 개요
설계했던 테이블 구조를 넣고자 엔티티를 구현 및 추가하였습니다.
👩💻 작업 사항

파일 구조 변경
lombok 추가
User 엔티티
BookMark 엔티티
Label 엔티티
Reward 엔티티
HeadCount 엔티티
Places의 detail 속성 추가

✅ 참고 사항

이슈트래커 기능을 원활히 사용하기 위해서 PR 제목의 마지막에 어떤 이슈에 대한 PR인지를
파악할 수 있도록 (#1)를 붙여주시면 될 것 같습니다! 😉😉

[Feat]: DB 추가 (#1)
예시 - (PR 제목의 키워드 또한 커밋 메시지와 마찬가지로 소문자 작성 & 제목 마지막에 (#원본 이슈번호) 추가)

repo: Sinabro-littlebylittle/sinabroServer


text:
Only commit changed projects

I tried to fix #5. Can somebody transpile the .ts-files, please?

Thank you @SiqiLu!

repo: SiqiLu/dotnet-bump-version


text:
Added :confirm command.

Shows confirmation prompt, limits input to y/n until confirmation has been given.

Thanks! Nice work :)

authors: CyanBlob SirCmpwn

repo: SirCmpwn/aerc


text:
Improve swaylock man

Fixes #1018

Thanks!

should've seen that. thanks
On Sun, Feb 26, 2017 at 12:36 AM, Fabio Alessandro Locati <
notifications@github.com> wrote:

@Fale commented on this pull request.
In swaylock/swaylock.1.txt
https://github.com/SirCmpwn/sway/pull/1084#discussion_r103091464:

-i, --image [:]::

Display the given image, optionally only on the given output.

Display the given image, optionally only on the given output. This option
and -i are mutually exclusive.

yes, and @SirCmpwn https://github.com/SirCmpwn already fixed it in
master
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SirCmpwn/sway/pull/1084#discussion_r103091464, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AViFHFU0zxGcgasaMhtPCgr2GAYhGMN7ks5rgLsEgaJpZM4MMEyx
.

authors: Fale SirCmpwn jhalmen

repo: SirCmpwn/sway


text:
三角形の五心の実装について

自分がOpenSiv3Dで使いたい状況になったので、外心、および重心について載せておきます。
Vec3 GetCircumcenter(const Vec3& p1, const Vec3& p2, const Vec3& p3)
{
	double a = (p2 - p3).lengthSq();
	double b = (p3 - p1).lengthSq();
	double c = (p1 - p2).lengthSq();

	return ((a * (b + c - a) * p1 + b * (c + a - b) * p2 + c * (a + b - c) * p3) / (a * (b + c - a) + b * (c + a - b) + c * (a + b - c)));
}

Vec3 GetCenter(const Vec3& p1, const Vec3& p2, const Vec3& p3)
{
	return (p1 + p2 + p3) / 3.0;
}

#522 でいくつか実装されました。ご報告ありがとうございました。

authors: Reputeless sknjpn


text:
🛑 Tracker is down

In 2d5ab20, Tracker (https://collect.skalin.io/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tracker is back up in 3e6a4e5 after 11 minutes.

repo: SkalinCS/uptime


text:
Pass $workingDirectory as source to cli volume as it breaks docker run on macos

Passing the current directory (.) as a docker volume brings up an error on macos. As the working directory is set in the Process.run call, passing it through again in the docker run command has the same effect but works on mac os.

Thank you!
That's interesting, as it has worked correctly on my tests on Linux and Windows with the latest Docker version.
What version of Docker are you using?
I don't mind using the full path if it improves compatibility with other Docker versions.

You're right, looks like I was using an old version installed through Homebrew and not the client from Docker Desktop, working well after an update :)

Do you know the version you were using? Depending how old it was it might be worth adding the full path. As you said, it should be the same behavior.

@davidmartos96 It was quite old, version 20. I think it's probably safe to leave as is :)


text:
Sistemati vari problemi.

Ciao,
Ho notato un paio di problemi con il tuo codice che ho deciso di risolvere:

Non c'era motivo di salvare i player che si stanno registrando/facendo il login in un HashMap, una List va più che bene per questo.
Aggiunto un QuitEvent per evitare possibili Memory leak, non si sa mai.
3.Modificato il modo di salvare la key nel file YAML password.yml dal nome del player al suo UUID in quanto è molto più sicuro
(Chiaramente adattando tutto gli altri codici)
Fixati alcuni problemini che avevo riscontrato.

Buona serata.

Ciao!
Ti ringrazio moltissimo per aver migliorato il mio codice e per avermi spiegato in modo così approfondito i cambiamenti che hai fatto. Spero vivamente in futuro potremmo conoscerci meglio!
Se ti va aggiungimi su discord: squaloinfame
Ti auguro splendida serata anche a te

authors: SamuSonoIo Skrahs

repo: Skrahs/NiceAuth


text:
Missing commas

to write anything in any language is nonexistent at the moment so yea.

There are commas missing at the end. Something more like to write anything in any langauge is nonexistant at the moment, so... yeah. is more readable.

Matter of opinion.

I disagree that it's a subjective thing. The way it is written right now, make it more difficult to read in what the intention was.
That, and it violates grammar rules last time I checked.

authors: Miepee Skwodo


text:
Suggestions

Thank for maintaining this helpful overview.
After implementing the changes i found two possible improvements

apt-get purge ubuntu-advantage-tools after installing the fake package. This automatically removes the hole /var/lib/ubuntu-advantage directory seems the cleaner way than removing only the cached messages.
In /usr/lib/update-notifier/apt_check.py instead of changing the two functions you can change the Line ESM_INFRA_ORIGIN = "UbuntuESM" to some other value like ESM_INFRA_ORIGIN = "UbuntuESM_disabled" which disables the messages without changing actual code. The command would be like sudo sed -Ezi.orig 's/ESM_INFRA_ORIGIN = "UbuntuESM"/ESM_INFRA_ORIGIN = "UbuntuESM_disabled"/' /usr/lib/update-notifier/apt_check.py

Thanks for the suggestions, will look into these when I have a bit :)

That isn't actually enough to stop  /usr/lib/update-notifier/apt-check --human-readable from outputting a bunch of spammy text;
Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status

There are actually two lines to be changes, from:
    have_esm_infra = has_esm_service(cache, esm_origin=ESM_INFRA_ORIGIN)
    have_esm_apps = has_esm_service(cache, esm_origin=ESM_APPS_ORIGIN)

to
    have_esm_infra = None
    have_esm_apps = None

Which is much simpler than patching the functions and fully supressed the ESM related messages.

Great idea, thanks!

The command would be like
sudo sed -Ezi.orig 's/ESM_INFRA_ORIGIN = "UbuntuESM"/ESM_INFRA_ORIGIN = >"UbuntuESM_disabled"/' /usr/lib/update-notifier/apt_check.py

I don't know if this was intended to fully replace the readme's current:
sudo sed -Ezi.orig \
  -e 's/(def _output_esm_service_status.outstream, have_esm_service, service_type.:\n)/\1    return\n/' \
  -e 's/(def _output_esm_package_alert.*?\n.*?\n.:\n)/\1    return\n/' \
  /usr/lib/update-notifier/apt_check.py

But I tried the former on Ubuntu 18.04.06 followed by the regen line and it did not remove the message mentioned by @Xon
I then tried the latter (current readme method) followed by the regen line and that did work.

authors: Skyedra Xon banagale dampfklon

repo: Skyedra/UnspamifyUbuntu


text:
Fixes remindLaunches constantly triggering

We are not subtracting the remindLaunches to the total launches count, this results in reminder constantly triggering due to launches being far superior than minLaunches (since we are adding launches every time)

My bad !

authors: Skyost marianoarga


text:
DICOM loading of any CT crashes due to Dcm2niix

If the Dcm2niix plugin is active, then Slicer crashes when trying to load apparently any volume. See this video here:
https://1drv.ms/u/s!Ao_a-dPPX98ZhLskvBgBvirQjDDI3A?e=fOwOZP
For the record, the dataset used here is the TinyPatient dataset from the SlicerRT sample data store (please note that I only selected the CT):
https://github.com/SlicerRt/SlicerRtData/tree/master/plastimatch_tiny-rt-study

@cpinter thanks for reporting this. This is not a big deal for us, as we encourage our users to directly use dcm2niix (not through DICOMBrowser), they found it to be too confusing, and in 99% of the time there is nothing in the DICOM headers and they want is the image data.

I understand, but it is very unexpected that someone installs an extension and loading the most basic DICOM data results in a crash. Even I spent some time before I realized the SlicerMorph extension was the reason.
If they don't use the loader through the DICOM browser, then I suggest simply disabling that feature so that there is no crash at such a basic operation due to this module.

Do we know why it crashes?  Is there an issue report?

Just what I described above. It should be easy to reproduce. I don't really have time to dig into it more, but thought it would be useful to report it.

@pieper here is the log, though I am not sure if there is anything useful in it:

By the way, dcm2niix itself works fine with the sample data. It is only when DICOMBrowser is used. I guess as @cpinter suggested disabling DICOMBrowser is the easiest solution.

Closing this, as this is not specific to SlicerMorph and happens at any instance when DCM2NIIX is installed.

I'd suggest turning it off in SlicerMorph until we figure it out.  But for now the workaround is to open the Advanced mode in the dicom module and then open the left panel and uncheck the dcm2niix plugin.

We can't disable the DCM2NIIX, as it is our preferred way of importing DICOM images. But, if there is a way to disable (1) either the DICOMBrowser (2) or DCM2NIIX plugin for it, we can try to work that into .slicerrc.py (or wherever it is appropriate).

This fixes the underlying issue and is better for than a workaround.  It should be in the nightly in a day or so.

authors: cpinter muratmaga pieper

repo: SlicerMorph/SlicerMorph


text:
Use path alias instead of relative path in GUI project

Using a relative path seems hard to be understood, For example:
https://github.com/marcozzxx810/SlimeVR-Server/blob/main/gui/src/components/onboarding/pages/ConnectTracker.tsx#L12
Proposed solution

[ ] use @ to indicate root path for GUI

Current
import { useLayout } from '../../../hooks/layout';
import { useOnboarding } from '../../../hooks/onboarding';

Later
import { useLayout } from '@/hooks/layout';
import { useOnboarding } from '@/hooks/onboarding';

you mean @hooks/ i guess, does the editor do this when auto-importing a new module or does it still use relative pathing? Can we enforce this through eslint?

I mean '@/hooks' so we have '@' pointing to gui folder. It depends on your LSP but editor with intellisense should be able to pick up tsconfig
For eslint, https://www.npmjs.com/package/eslint-import-resolver-typescript  I am not so certain about can we enforce it

i meant, auto-imports will prefer using the aliases or relative paths?

vscode will prefer the alias

vscode will prefer the alias

It depends on what the user configured, though we can override this by including a .vscode folder with the new settings.

then its fine, sure :+1:

authors: ImUrX TheDevMinerTV marcozzxx810

repo: SlimeVR/SlimeVR-Server


text:
tracking issue

im using a BMI160 tracker
[INFO ] [SlimeVR] SlimeVR v0.3.3 starting up...
[INFO ] [Configuration] Found up-to-date configuration v1
[INFO ] [Configuration] Loaded configuration
[INFO ] [BMI160Sensor:0] Connected to BMI160 (reported device ID 0xd1) at address 0x68
[WARN ] [BMI160Sensor:0] No calibration data found for sensor 0, ignoring...
[INFO ] [BMI160Sensor:0] Calibration is advised
[WARN ] [GyroTemperatureCalibrator:0] No temperature calibration data found for sensor 0, ignoring...
[INFO ] [GyroTemperatureCalibrator:0] Temperature calibration is a work-in-progress feature; any changes to its parameters or updates will render the saved temperature curve invalid and unloadable.
[INFO ] [BMI160Sensor:0] Calibration data for gyro: not found
[INFO ] [BMI160Sensor:0] Calibration data for accel: not found
[INFO ] [BMI160Sensor:0] Initialized
[INFO ] [BMI160Sensor:1] Connected to BMI160 (reported device ID 0xd1) at address 0x69
[WARN ] [BMI160Sensor:1] No calibration data found for sensor 1, ignoring...
[INFO ] [BMI160Sensor:1] Calibration is advised
[WARN ] [GyroTemperatureCalibrator:1] No temperature calibration data found for sensor 1, ignoring...
[INFO ] [GyroTemperatureCalibrator:1] Temperature calibration is a work-in-progress feature; any changes to its parameters or updates will render the saved temperature curve invalid and unloadable.
[INFO ] [BMI160Sensor:1] Calibration data for gyro: not found
[INFO ] [BMI160Sensor:1] Calibration data for accel: not found
[INFO ] [BMI160Sensor:1] Initialized
and now my tracker wont track or show up, how can i fix this?

Check if it says anything about server or wifi connection on the later part of the log, everything posted is about sensor initialization and it isn't complaining.

authors: mysterythe nekomona

repo: SlimeVR/SlimeVR-Tracker-ESP


text:
Send plugin version in ServerboundVersion

Purely for metrics. Just add another string field that is null on < 3.

On it.

authors: NotNite lostkagamine

repo: SlopCrew/SlopCrew


text:
ansible-playbook: command not found

Hello.
I have tried to install azuracast on Ubuntu 14. And i receive this error.
dpkg-query: no packages found matching ansible
Checking for Ansible:
./install.sh: line 22: sudo: command not found
./install.sh: line 23: sudo: command not found
./install.sh: line 24: sudo: command not found
./install.sh: line 27: sudo: command not found
./install.sh: line 30: sudo: command not found
./install.sh: line 31: sudo: command not found
Installing AzuraCast (Environment: production)
./install.sh: line 37: ansible-playbook: command not found
Should i install ansible?

I have installed asible..
var/azuracast/www# ./install.sh
Checking for Ansible: install ok installed
Installing AzuraCast (Environment: production)
ERROR: become is not a legal parameter in an Ansible Playbook
New error...

Hello 3rd time,
I have update asible from 1.5 to 2.2
The install started..


text:
run-server file use

For what is the file run-server used?

It has the purpose of tailwind updating its styles in realtime.

authors: Lapotor rezajaber

repo: Smart-Grades/simple-grades


text:
🛑 My blog(CDN) is down

In d9c5dc6, My blog(CDN) (https://sbrave.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(CDN) is back up in 682705d.

repo: SmartBrave/uptime


text:
🛑 My blog(github.io) is down

In e5724ad, My blog(github.io) (https://smartbrave.github.io/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(github.io) is back up in d1138bf.


text:
mass_threshold: 40 ## default threshold

We need to enhance this and raise the threshold

mass_threshold: 90 ## default threshold #10

authors: KlausDMoeller SmartChainX

repo: SmartChainX/ChainBlockchain


text:
请问Major Compaction部分还有更新么？

看到版本控制概览部分就没有了

最近一直在忙 Greenplum 的一些工作，所以 leveldb 的更新就慢了一些，我尽量在明年 3 月前把它更新掉。

你好，请问有兴趣投稿至 CN-annotation-team 吗？
可以让大家添加一些内容。

同问，Compaction(02)—Major Compaction啥时候更新

authors: SmartKeyerror StLeoX hongdejian ouyhlan


text:
WWSTCERT-987 Fingerprint Add

Fingerprint add for the Door Sensor from Heiman through the Edge Builder Tool.

Seems like this device already covered in: https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/pull/1026?

Seems like this device already covered in: #1026?

Yes, we have two sensors are covered in that PR.

I'd recommend that we edit that PR to remove the duplicate device and have one device per PR. Each device will be tested individually and could be published on different schedules.

I'd recommend that we edit that PR to remove the duplicate device and have one device per PR. Each device will be tested individually and could be published on different schedules.

Thanks for your quick response, we actually submitted two matter sensors for WWST, would it make sense if the PR contains two sensors?

Hi @lelandblue  Thank you very much for your clarifying.
Yes, that is correct.
Q:Remove the Heiman Door and Window D1-M from PR 1026, and it will remain as part of this PR 1032. Each pull request should contain one device per pull request.
A: Do I need to remove the Door sensor and resubmit it in PR1026?
Question for the D1-M Device in this PR, Do you want the device label to be "Heiman Door and Window D1-M" OR "Door sensor". The device label is the default name given to a device when it joins our platform. Users will see the device in their home named what is defined in the deviceLabel:. There were differences in how this was submitted so I just want to confirm with you what your preference is. Users can change this after the device joins the platform.
A: we would like the deviceLabel to be "Heiman Door and Window D1-M", how to change it in this PR?
Thanks again for your help.

Hello @Leo2442926161
I want to help make this easy for you. I have edited this PR, to fix the join name to "Heiman Door and Window D1-M". If you are ok with how this PR is and do not need any more changes, please let me know. Then we will proceed with this PR and there will be no need for you to open another.

Hello @Leo2442926161
I want to help make this easy for you. I have edited this PR, to fix the join name to "Heiman Door and Window D1-M". If you are ok with how this PR is and do not need any more changes, please let me know.
I think we can proceed with this PR, and there is no further action needed from you regarding Pull Requests.
Please confirm.

Hi @lelandblue,
That would be great, we confirm that join name is okay for us, thank you very much.

authors: Leo2442926161 lelandblue z-michel


text:
Space between icon and name missing for single node in HTML

Usually, the plugin renders a space between the icon and the name for a node:

You can see the default space between statusline elements at position 1, the icon at position 2 and a space at position 3
(Note: The icon extends to position 3 a little because I am using a not-strictly-monospace Nerdfont (CaskaydiaCove Nerd Font instead of CaskaydiaCove Nerd Font Mono) and there is space for it to do so.)
However, in HTML files, this space is missing when only a single node is displayed:

Here, position 1 is still the seperating space between statusline elements, position 2 is still occupied by the icon (now a little squeezed because it can't extend to more space on the side), and position 3 already starts the tag name.
Strangely, I've also done a quick test for other languages and wasn't able to replicate this behaviour there. Sadly, I can't access another installation right now to confirm this, so maybe someone else could chime in and confirm if this also happens for others.

I've quickly switched the font to the Mono variant of the CaskaydiaCove Nerd Font that forces the icons to use the same space as anything else to get some more images.
Normal behaviour with a space at pos3 (between icon and name):

And the single-node behaviour with the 'h' from the tag name at pos3:

The plugin is returning the same amount of spacing between the icon and the text in both the cases you mentioned. Rendering of nerdfonts properly is the job of the terminal emulator and it can be hit or miss sometimes.
I would suggest you could try changing terminal emulators and/or Font to see if this issue is fixed.
You could also append one more space to the tag icon or change the tag icon to something else.

authors: SmiteshP kiriDevs

repo: SmiteshP/nvim-gps


text:
🛑 MPC Homepage is down

In 132c371, MPC Homepage (https://www.minorplanetcenter.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MPC Homepage is back up in 7bfe63f after .

repo: Smithsonian/upptime


text:
🛑 Designation Identifier is down

In 3ad2b39, Designation Identifier (https://data.minorplanetcenter.net/api/query-identifier) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Designation Identifier is back up in 10f66b3 after 15 minutes.


text:
🛑 NEOCP is down

In 42b9749, NEOCP (https://minorplanetcenter.net/iau/NEO/toconfirm_tabular.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NEOCP is back up in a22055e after 1 minute.


text:
Updating sometimes results in newer version (in package.json) than the latest release

What version of Node.js are you using?
N/A
What version of npm are you using?
N/A
What operating system are you using?
Windows
What version of SnailyCAD are you currently using?
1.48.2
Describe the Bug
When updating the CAD, if the value in the package.json is newer than the latest release, in the Admin dashboard, this will result in displaying the (update available) message. And not showing values in the "what's new" area.
Expected Behavior
When updating the CAD, regardless of version, if it's greater than or equal to the latest version, the "new version" message in the admin dashboard should not be shown.
To Reproduce
No steps to reproduce since it's self explanatory, but I'll use this field to add some additional notes.
Not sure if this was intended or not, so feel free to let me know if it is! I just noticed that when updating, the repo had a 1.48.3 as it's latest version, instead of matching the latest release (1.48.2).

Can you elaborate? Not exactly sure what you mean

So, I just updated the CAD today. When updating, the CAD updated to the latest files in the repo. But since the package.json in the repo shows v1.48.3 instead of the latest release (v1.48.2), inside the admin dashboard on the CAD shows that there's still an update available.
Not sure if this was intended, or maybe a caching issue?

Line here: https://github.com/SnailyCAD/snaily-cadv4/blob/272b0144a5654b721e1dde13ba2f25396e0a1d3b/package.json#L4

this is not a bug; I just forgot to release it on GitHub. Will probably release 1.48.4 today or tomorrow instead

authors: Dev-CasperTheGhost WhitigolProd


text:
How to make updates with multipliedBy

New Issue Checklist
🚫 If this template is not filled out your issue will be closed with no comment. 🚫

[x] I have looked at the Documentation
[x] I have read the F.A.Q.
[x] I have filled out this issue template.

Issue Info

Info
Value

Platform
ios

Platform Version
e.g. 8.0

SnapKit Version
5.0.1

Integration Method
carthage

Issue Description
Is it possible and how can I make updates when using a constraint based on multipliedBy. I'm building a playback scrubber for an audio app where the width of the scrubber is a percent of the overall whole.
So my initialization code looks like this:
scrubber.snp.makeConstraints { (make) in
  var percent = offset / duration
  if (percent.isNaN) {
    percent = 0
  }
  make.width.equalToSuperview().multipliedBy(percent)
}

And then in a Timer that listens for updates to the offset of the player, I run a similar set of code with updateConstraints like this:
scrubber.snp.updateConstraints { (make) in
  var percent = offset / duration
  if (percent.isNaN) {
    percent = 0
  }
  make.width.equalToSuperview().multipliedBy(percent)
}
scrubber.superview?.layoutIfNeeded()

Anytime I do this I get the Updated constraint could not find existing matching constraint to update:
And it says: UIView:0x7fe661322740.width == UIView:0x7fe661309060.width * 0.0033447903115302324>
Any ideas here?

I've found that I can do this by using remakeConstraints, but now I lose the ability to wrap the update in an Animation.

@blainekasten I believe it is not possible to update a multiplier.
From https://github.com/SnapKit/SnapKit/issues/386#issuecomment-270847214

... unfortunately NSLayoutConstraint's API's do not allow updating the multiplier (you have to re-build the constraint from scratch) hence we cannot do it via SnapKit. SnapKit's update method is an optimised update, it only updates the .constant value of the NSLayoutConstraint(s) for performance reasons.

@apollonian is correct here. The API does not allow modifying the multiplier so there is no way to update it outside of removing and remaking the constraint(s).

authors: apollonian blainekasten robertjpayne

repo: SnapKit/SnapKit


text:
Cannot run the app to Pi 4B

I can list devices
snapp_cli devices list

✓  Searching for custom devices completed!

List of custom devices in "C:\Users\enzii\AppData\Roaming\.flutter_custom_devices.json":
  id: pi-5, label: Raspberry Pi 5, enabled: true
  id: pi-4b, label: Raspberry Pi 4 Model B, enabled: true

However, it cannot run an application to Pi  4 on debug mode
 flutter run -d pi-4b
Launching lib\main.dart on Raspberry Pi 4 Model B in debug mode...
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
cp: target '/tmp/flutter_application_1/build/flutter_assets' is not a directory
cp: target '/tmp/flutter_application_1/build/linux/arm64/debug/bundle/data/flutter_assets' is not a directory
cp: cannot create regular file '/tmp/flutter_application_1/build/linux/arm64/debug/bundle/data': No such file or directory
bash: line 1: /tmp/flutter_application_1/build/linux/arm64/debug/bundle/flutter_application_1: No such file or directory

@EnziinSystem Thanks for opening this issue
I can see this line in the error text
Error: No pubspec.yaml file found.
Is the pubspec.yaml file missing from the root of your project?

pubspec.yaml

I use Windows for development and deploy to a Pi-4 or Pi-5.
So my project on Windows works on Windows itself and Android, iOS and of course, it has a pubspec.yaml file in the root directory.
This error only appears on Pi-4B and not on other platforms.
It seems to be related to the process of copying files from Windows to Pi-4

Yes you are right that's the problem
Can you tell me which version of the snapp_cli do you use?

Also, Can you check that you can use passwordless ssh connection?
I mean, you should be able to connect to your raspberry with this simple command without entering the password
ssh username@ipAddress
example
ssh pi@192.168.1.10

Also, Can you check that you can use passwordless ssh connection?
I mean, you should be able to connect to your raspberry with this simple command without entering the password
ssh username@ipAddress
example
ssh pi@192.168.1.10

I still connect SSH via authorized_keys without a password.
snapp_cli -v
Verbose mode enabled

Snapp_cli Current version: 0.5.0
Snapp_cli Latest version: 0.5.0
Snapp_cli needs update: false

This is very strange.
If it's possible for you, I would suggest to set time and try to debug it together.
It's also important for us to find the bugs in snapp cli.

This is very strange.
If it's possible for you, I would suggest to set time and try to debug it together. It's also important for us to find the bugs in snapp cli.

I agree with your suggestion, you can even use Teamviewer to access my computer directly.
This is a meaningful project in the embedded field.
I will arrange a time next week.

Hi any news related to this issue?
after execute flutter clean and flutter pub get the application start running on rpi 4b.
Unfortunately I have the following errors.
Building Linux application... cp: -r not specified; omitting directory '/tmp/counter_app/snapp_embedded/flutter_assets/fonts' cp: -r not specified; omitting directory '/tmp/counter_app/snapp_embedded/flutter_assets/packages' cp: -r not specified; omitting directory '/tmp/counter_app/snapp_embedded/flutter_assets/shaders' cp: -r not specified; omitting directory '/tmp/counter_app/snapp_embedded/flutter_assets/fonts' cp: -r not specified; omitting directory '/tmp/counter_app/snapp_embedded/flutter_assets/packages' cp: -r not specified; omitting directory '/tmp/counter_app/snapp_embedded/flutter_assets/shaders' [ERROR:flutter/shell/common/shell.cc(117)] Dart Error: Can't load Kernel binary: Invalid SDK hash. [ERROR:flutter/runtime/dart_isolate.cc(144)] Could not prepare isolate. [ERROR:flutter/runtime/runtime_controller.cc(462)] Could not create root isolate. [ERROR:flutter/shell/common/shell.cc(669)] Could not launch engine with configuration.
kind regards

I think you issue is related to your flutter SDK version
Make sure that you have the same version of the flutter both on your Host and your remote.

Thanks for quick reply. I will check it 👍🏻

I checked flutter version on both Pi-5 and PC
On Pi-5
flutter doctor -v
[✓] Flutter (Channel stable, 3.19.6, on Debian GNU/Linux 12 (bookworm) 6.6.20+rpt-rpi-2712, locale en_GB.UTF-8)
    • Flutter version 3.19.6 on channel stable at /home/developer/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter
    • Framework revision 54e66469a9 (6 days ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

On PC
flutter --version
Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 54e66469a9 (6 days ago) • 2024-04-17 13:08:03 -0700
Engine • revision c4cd48e186
Tools • Dart 3.3.4 • DevTools 2.31.1

Run an app demo from PC deploy to Pi-5
flutter run -d pi-5
Launching lib\main.dart on Raspberry Pi 5 in debug mode...
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
cp: target '/tmp/basic/build/flutter_assets': No such file or directory
cp: target '/tmp/basic/build/linux/arm64/debug/bundle/data/flutter_assets': No such file or directory
cp: cannot create regular file '/tmp/basic/build/linux/arm64/debug/bundle/data': No such file or directory
bash: line 1: /tmp/basic/build/linux/arm64/debug/bundle/basic: No such file or directory

The problem is unsolved.

I check the flutter versions on host and pi. On pi it was 3.19.6 and on host 3.19.4. After update to same version no more issues. 👍🏻

Steps that create this problem:
Step 1: Create a new project by VS Code
Step 2: Add window_manage plugin to pubspec.yaml
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.6
  window_manager: ^0.3.8

VS Code automation run flutter pub get plugins
Step 3: Run deploy to Pi-5
flutter run -d pi-5
Launching lib\main.dart on Raspberry Pi 5 in debug mode...
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
cp: -r not specified; omitting directory '/tmp/smarthome/snapp_embedded/flutter_assets/fonts'
cp: -r not specified; omitting directory '/tmp/smarthome/snapp_embedded/flutter_assets/packages'
cp: -r not specified; omitting directory '/tmp/smarthome/snapp_embedded/flutter_assets/shaders'
cp: target '/tmp/smarthome/build/linux/arm64/debug/bundle/data/flutter_assets': No such file or directory
cp: cannot create regular file '/tmp/smarthome/build/linux/arm64/debug/bundle/data': No such file or directory
bash: line 1: /tmp/smarthome/build/linux/arm64/debug/bundle/smarthome: No such file or directory

The reason is the window_manager plugin, but I can't find out specifically.

@EnziinSystem
I could try to test this scenario with macOS for now.
Snapp cli is working perfectly even if you have added some plugins
Example:
import 'package:flutter/material.dart';
import 'package:window_manager/window_manager.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  // Must add this line.
  await windowManager.ensureInitialized();

  WindowOptions windowOptions = const WindowOptions(
    size: Size(800, 600),
    center: true,
    backgroundColor: Colors.transparent,
    skipTaskbar: false,
    titleBarStyle: TitleBarStyle.hidden,
  );

  windowManager.waitUntilReadyToShow(windowOptions, () async {
    await windowManager.show();
    await windowManager.focus();
  });

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

@EnziinSystem
I will also try to reproduce this in windows and linux.
But probably your problem is related to file/folder access permission.
Can you try to reproduce this with root user?

I will close this issue for now
Feel free to reopen it if you had the same problem

authors: EnziinSystem RootKid87 payam-zahedi


text:
Failed to start the app - Migrations have failed validation

Hello,
I reset my installation and I failed to start Komf :(
Komga version : release 0.157.0
Komf version : release 0.4.4
Launch method : java -jar komf.jar application.yml
Logs:
c:\Komga>java -jar komf.jar application.yml
16:20:13.091 [main] INFO org.flywaydb.core.internal.license.VersionPrinter - Flyway Community Edition 8.5.10 by Redgate
16:20:13.093 [main] INFO org.flywaydb.core.internal.license.VersionPrinter - See what's new here: https://flywaydb.org/documentation/learnmore/releaseNotes#8.5.10
16:20:13.097 [main] INFO org.flywaydb.core.internal.license.VersionPrinter -
16:20:13.266 [main] INFO org.flywaydb.core.internal.database.base.BaseDatabaseType - Database: jdbc:sqlite:C:\Users\himura95.komga\database.sqlite (SQLite 3.36)
16:20:13.304 [main] ERROR org.snd.Application - Failed to start the app
org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
Detected resolved migration not applied to database: 1.
To ignore this migration, set -ignoreIgnoredMigrations=true. To allow executing this migration, set -outOfOrder=true.
Detected resolved migration not applied to database: 2.
To ignore this migration, set -ignoreIgnoredMigrations=true. To allow executing this migration, set -outOfOrder=true.
Detected resolved migration not applied to database: 3.
To ignore this migration, set -ignoreIgnoredMigrations=true. To allow executing this migration, set -outOfOrder=true.
Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
at org.flywaydb.core.Flyway$1.execute(Flyway.java:130)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:124)
at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:205)
at org.flywaydb.core.Flyway.migrate(Flyway.java:124)
at org.snd.ApplicationKt.applyMigrations(Application.kt:40)
at org.snd.ApplicationKt.main(Application.kt:26)
I can start Komf If I compile with .outOfOrder(true) in Application.kt but It's not a solution if I want to stay update with coming version.
Have you an Idea ?

Hey, this usually shouldn't happen. Can you post log from the start of the application? And it'll also be useful to see the contents of flyway_schema_history table from you database

Looks like your database has migrations from komga. Komf should be the only application modifying the database. It seems that at some point komga applied its own migrations to this database.
You can just delete db file and start with fresh db. The only downside will be that if you had thumbnails uploaded by komf there will be duplicates on future matches for these series.
Or, if you know how, you could also copy data of old database from MATCHED_BOOKS and MATCHED_SERIES to the new database

Komf should have its own database file separate from komga database

I already delete database, it's a fresh install.
In application.yml , I have :
'database:
file: C:\Users\himura95.komga\database.sqlite
'
It need to point to komga db or a new one ?

Yes, It should be a new file. You can call it anything for example komf.sqlite or you can also create a separate directory for komf config and database

Thanks a lot ! It work :)

repo: Snd-R/komf


text:
Transform Rotator

Add TransformRotator class and a unit test for it.

Unit tests missing. Implement it first before merging.

repo: Snowblink-Studios/Glacier


text:
Intermittent Error when running dbt models

Describe the bug
intermittent  Error:
When runiing dbt run --model +tfm_stock_history_major_currency
Running with dbt=0.19.1
[WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
There are 1 unused configuration paths:

models.dbt_hol.l30_mart

Found 7 models, 0 tests, 0 snapshots, 0 analyses, 316 macros, 0 operations, 0 seed files, 2 sources, 0 exposures
Encountered an error:
Runtime Error
cannot import name 'SnowflakeOCSPAsn1Crypto' from partially initialized module 'snowflake.connector.ocsp_asn1crypto' (most likely due to a circular import) (c:\snowflake\lab1\dbt-env\lib\site-packages\snowflake\connector\ocsp_asn1crypto.py)
URL of where you see the bug
https://guides.snowflake.com/guide/data_engineering_with_dbt/#7
To Reproduce
Steps to reproduce the behavior:

run command:  $ dbt run --model +tfm_stock_history_major_currency

Expected behavior
Running with dbt=0.19.1
[WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
There are 1 unused configuration paths:

models.dbt_hol.l30_mart

Found 7 models, 0 tests, 0 snapshots, 0 analyses, 316 macros, 0 operations, 0 seed files, 2 sources, 0 exposures
21:04:41 | Concurrency: 200 threads (target='dev')
21:04:41 |
21:04:41 | 1 of 6 START view model l10_staging.base_knoema_stock_history........ [RUN]
21:04:41 | 2 of 6 START view model l10_staging.base_knoema_fx_rates............. [RUN]
21:04:44 | 2 of 6 OK created view model l10_staging.base_knoema_fx_rates........ [SUCCESS 1 in 2.62s]
21:04:44 | 3 of 6 START table model l20_transform.tfm_fx_rates.................. [RUN]
21:04:44 | 1 of 6 OK created view model l10_staging.base_knoema_stock_history... [SUCCESS 1 in 2.69s]
21:04:44 | 4 of 6 START view model l20_transform.tfm_knoema_stock_history....... [RUN]
21:04:46 | 4 of 6 OK created view model l20_transform.tfm_knoema_stock_history.. [SUCCESS 1 in 2.41s]
21:04:46 | 5 of 6 START view model l20_transform.tfm_stock_history.............. [RUN]
21:04:49 | 5 of 6 OK created view model l20_transform.tfm_stock_history......... [SUCCESS 1 in 2.47s]
21:04:52 | 3 of 6 OK created table model l20_transform.tfm_fx_rates............. [SUCCESS 1 in 7.91s]
21:04:52 | 6 of 6 START view model l20_transform.tfm_stock_history_major_currency [RUN]
21:04:55 | 6 of 6 OK created view model l20_transform.tfm_stock_history_major_currency [SUCCESS 1 in 2.79s]
21:04:56 |
21:04:56 | Finished running 5 view models, 1 table model in 19.96s.
Completed successfully
Done. PASS=6 WARN=0 ERROR=0 SKIP=0 TOTAL=6
Screenshots

Additional context
rerunning the prevevous model from step 6 seemed  help.. but not sure why

Also seem to happen when dbt run  (again it intermittent)  but it seem to fail more that work

This seem be realted to my install
Building wheel for tree-sitter (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\snowflake\lab1\dbt2\scripts\python.exe' 'c:\snowflake\lab1\dbt2\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\eskim\AppData\Local\Temp\tmpxclxl9z_'
cwd: C:\Users\eskim\AppData\Local\Temp\pip-install-ct586pwj\tree-sitter_f722a907dbad4e07b56a4e7839cd794a
Complete output (10 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\tree_sitter
copying tree_sitter_init_.py -> build\lib.win-amd64-3.9\tree_sitter
running build_ext
building 'tree_sitter.binding' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Failed building wheel for tree-sitter
Failed to build tree-sitter
ERROR: Could not build wheels for tree-sitter which use PEP 517 and cannot be installed directly

repo: Snowflake-Labs/sfguides


text:
use @discordjs/voice

like in https://github.com/discordjs/voice/tree/main/examples/music-bot
this would fix a problem with pause/resume while using discord.js dispatcher
see https://github.com/discordjs/discord.js/issues/5300
but probably would be a significant rewrite

done in 2.0

repo: Sobgo/Pioneerbot


text:
🛑 Standup is down

In 9ffe268, Standup (https://standup.fabrique.social.gouv.fr/healthz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Standup is back up in 5e73b7d.

repo: SocialGouv/upptime