Document --debug flag for local builds

https://github.com/cloudflare/wrangler/blob/305c650bba1de8e888f7b460b4f91cdf680ab832/src/commands/build/wranglerjs/mod.rs#L151
In order to try out a build of wrangler locally, you should use cargo install --debug --path . so the local version of wranglerjs is used rather than a release.

this should likely go in a CONTRIBUTING.md document

This is intended for local dev, I'm not sure someone wants to install the development version from cargo and I'm pretty sure it won't work because it relies on the js source.

@xtuc --path . tells cargo to install from the current directory, but if you use it without --debug it will install wranglerjs from github releases instead of the source directory

closed in favor of #270


nextcloud: overzealous hsts header usage

The Strict-Transport-Security header should only be added if services.nextcloud.https is enabled, right?
https://github.com/NixOS/nixpkgs/blob/147b03fa8ebf9d5d5f6784f87dc61f0e7beee911/nixos/modules/services/web-apps/nextcloud.nix#L910

I don't think so.  The description for that option says "Use https for generated links."  The commit you linked is from last Feburary (which may be the version in NixOS 21.11 – I'm not sure), and on master, that header is controlled by the boolean option services.nextcloud.nginx.recommendedHttpHeaders.
The upstream project recommendes this header, as far as I can tell, and the Nextcloud admin panel warns you if this is not set, so I think it is semantically correct for this header to be added if the "recommended HTTP headers" flag is set, but it does get in the way if you are trying to serve Nextcloud as a Tor .onion service, where you don't want to be using SSL/TLS.

Good to hear that is different in master, but it is not just onion services, many internal services lack tls because the vpn or tls termination is done upstream and nextcloud only speaks http. I would expect we want a single boolean to turn on/off tls, no?

I had not thought of that use case.  I would say that is a good reason to have this controlled by the same flag.


IWorkBook.SetSheetName method will clear sheet.RepeatingRows

NPOI Version
Version=<IP_ADDRESS>
File Type

[x] XLSX

Upload the Excel File
https://1drv.ms/x/s!AsQkoVUMobm2ksILwjH66MLT7o-Ikg?e=AuqPa7
Reproduce Steps

Clone a sheet by workBook
Set sheet.RepeatingRows property
Set sheet name by use  workBook.SetSheetName() method
Then  found  sheet.RepeatingRows property is null.

Issue Description
IWorkBook.SetSheetName method will clear sheet.RepeatingRows propery.
And by the way , I wonder why workBook.CloneSheet method does not clone sheet.RepeatingRows property?

Hi, can't reproduce the issue with clearing RepeatingRows after calling workBook.SetSheetName() method in the latest version. You're using an old version NPOI, which was released more than 3 year ago.
I can reproduce, that RepeatingRows property is not copying on sheet clone, I'll try to research the issue

2.3.0 was released in Mar, 2017. It's too old


Getting started information

Hi,
are there any getting started information for the leap motion plugin available? I have some troubles getting the plugin to work. Especially an example osvr_server_config.json would be nice.
In my case I built the plugin and copied the com_osvr_LeapMotion.dll in the osvr-plugins-0 folder from my osvr-server. Now I am stuck, because I don’t know how to modify my osvr_server_config.json file. I tried to add it to the plugins section:
{
    "plugins": [
        "com_osvr_LeapMotion"
    ]
}

But this ends with the following messages:
[OSVR Server] Failed to load the following plugins:
[OSVR Server]  - com_osvr_LeapMotion    Failed to load the module C:/Users/xyz/Downloads/OSVR-Core-Snapshot-v0.6-1115-g26bc354-build245-vs12-64bit/bin/osvr-plugins-0/com_osvr_LeapMotion

I would be really happy if you would add some basic instructions to the readme with an short description how to get the plugin working.

Try adding the dlls from the LeapSDK into the osvr-plugins-0 folder. Made it work for me in windows.

That doesn't seem to be working for me...I've scratched my head a lot trying to figure this out, but nothing seems to be working.
Excerpt from my server config:
"plugins": [ 		"com_osvr_LeapMotion" 	],     "drivers": [{ 		"plugin": "com_osvr_LeapMotion", 		"driver": "ControllerDevice" 	},
The result:
[OSVR Server] Failed to load the following plugins: [OSVR Server]  - com_osvr_LeapMotion    Failed to load the module C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_LeapMotion [OSVR Server] [OSVR Server] [OSVR Server] Instantiating configured drivers... [OSVR] Added device: org_osvr_filter_videoimufusion/HeadFusion [OSVR] Client context initialized for org.osvr.analysisplugin [OSVR] Interface initialized for /com_osvr_Multiserver/OSVRHackerDevKitPrediction0/semantic/hmd [OSVR] Interface initialized for /com_osvr_VideoBasedHMDTracker/TrackedCamera0_0/semantic/hmd/front [OSVR Server] Successes: [OSVR Server]  - com_osvr_VideoBasedHMDTracker/VideoBasedHMDTracker [OSVR Server]  - org_osvr_filter_videoimufusion/VideoIMUFusion [OSVR Server] [OSVR Server] Errors: [OSVR Server]  - com_osvr_LeapMotion/ControllerDevice   Could not find plugin named com_osvr_LeapMotion

Yes, you might check that the leap.dll is in the same directory as the OSVR_server.exe file. The plugin itself should reside in the OSVR-plugins-0 directory. Hope that helps.

Got it. I had the Leap DLLs, but I was missing the DLLs for OpenCV. Got them copied, and it is now working.


Breakout Card

@a6wu
So we removed a few hundred lines from Home.js and moved the "Events" component out into separate components which work independently.  Now the homepage doesn't need to know anything about how Events work and can dynamically load other future cards too.
Structure:
Cards now extend "CardComponent" which will be the base class for all cards.  Currently it just offers a refresh() method so all cards will be responsible for refreshing themselves.  There is also a simple common  component which handles the styling of a card and its header.
In Home.js, in the render method we just call this.getCards() which will be responsible for figuring out what cards should be shown, including ordering, etc in the future.
The event card is now under the /views/events/ folder, and contains 4 small components: the card itself, the list of contents (EventList), an item row (EventItem), and then the details page (EventDetail).  We also moved the network access to a service /services/eventService, which handles the API call.
Let us know what you think -- this should keep the functionality of events exactly the same, only the organization and structure of the react components is different.  Later we should be able to move other cards and really clean up Home.js so it just sets up cards and then lets them work independently.

@a6wu @c3bryant bump


can't use styleditor in angular 2+ project

here is an error :
TypeError: leaflet_styleeditor__WEBPACK_IMPORTED_MODULE_7__.StyleEditor is not a function
thx in advance

Hi @mouradneb
Could you try using v0.1.14-alpha and tell me if the problem persists?

closing because of inactivity - v0.1.14 uses webpack and will hopefully work


make more rich graphical window

Which issue(s) this PR fixes:

Fixes https://github.com/Code-Hex/vz/issues/35
Additional documentation
A toolbar has been added to the window for the GUI to allow zooming by default. This zooming functionality has been adapted in the same way as the Screen Sharing App, which is installed built-in in macOS.
In addition, I have added 2 additional options for customizing the window:

Added WithWindowTitle option to display window title (the default is disabled)
Added WithController option to handle virtual machine via window toolbar (the default is disabled)

https://github.com/user-attachments/assets/98dad806-f2f9-407f-979e-1394ebe6e124

@AkihiroSuda Thanks your advice!
I added a dialog like below:

I have also fixed issue #150 with 8dcce62
@cfergeau Could you confirm this?


Live --inject scripts for iterative development

Problem statement
For iterating on & testing the --injected CSS & JS, I'd like to be able to reload the app/page & test out my changes for a faster feedback-loop.

[x] I looked at nativefier --help and https://github.com/jiahaog/nativefier/blob/master/docs/api.md , no existing option fits my needs.
[x] I searched existing open & closed issues. Yes, my issue is new.

Suggested solution
--dev flag or similar for the loaded scripts to be read off the filesystem directly vs. the package.
Alternative solutions
None that I know of.
Context

Nativefier: 8.0.7
Node.js: v10.16.3
Npm: 6.9.0
OS: macOS 10.14.6 (18G4032)

Maybe this just needs documentation.
I found that I can edit ~/Desktop/My App-darwin-x64/My App.app/Contents/Resources/app/inject/inject.js and refresh for changes 😍

Maybe this just needs documentation. I found that I can edit ~/Desktop/My App-darwin-x64/My App.app/Contents/Resources/app/inject/inject.js and refresh for changes heart_eyes

@ericclemmons yup! PR welcome, probably in https://github.com/jiahaog/nativefier/blob/master/docs/development.md


Nothing happen when I click RunCat.exe

My Windows version is 19042.1348, and I have installed .NET 5.0 SDK v5.0.403 which include .NET Runtime 5.0.12.
I have tried to change my .NET Runtime to 5.0.0, and it still nothing running.

我是windows11，运行RunCat_with_.NET5.0/RunCat.exe没有任何反应

带了.net5.0的也试了我也不行

编译好的
在 2021-12-09 20:23:30，"SaarChaffee" @.***> 写道：
带了.net5.0的也试了我也不行
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
从网易126邮箱发来的超大附件
Runcat.zip (60.93M, 2022年1月9日 9:13 到期)
下载

I found a solution.
Go to 1.9 verson, click assets, and download first one.
I am using win11.
Hope it might help.

I found a solution.
Go to 1.9 verson, click assets, and download first one.
I am using win11.
Hope it might help.

It works for my Win10 PC!!!
Thanks!

Click and Nothing run, or I try to build with compatibility. you can try #84

Click and Nothing run, or I try to build with compatibility. you can try #84

@yunghahn Yes, 1.9 version can work on my win10 PC LTSC 1809 Build 17763.2452

I found a solution.
Go to 1.9 verson, click assets, and download first one.
I am using win11.
Hope it might help.

It work for my Win10, many thanks!

You can try https://github.com/Kyome22/RunCat_for_windows/releases/tag/2.0 , it now works well on my computer (both 1.10 and 1.11 don't run on my computer).

Maybe you can try RunCat-with-dotnet6-x64.zip in latest release 2.0, it now works well on my computer (Windows 11, both 1.10 and 1.11 don't run on it).

Looks like the problem becomes that it can't get my computer name.

Maybe you can try RunCat-with-dotnet6-x64.zip in latest release 2.0, it now works well on my computer (Windows 11, both 1.10 and 1.11 don't run on it).

Looks like the problem becomes that it can't get my computer name.

Hi @SaarChaffee , it seems like an known issue of Windows registry,  you can refer to https://github.com/Kyome22/RunCat_for_windows/issues/19 for details, I'm not sure but this link may be helpful.

Maybe you can try RunCat-with-dotnet6-x64.zip in latest release 2.0, it now works well on my computer (Windows 11, both 1.10 and 1.11 don't run on it).

Looks like the problem becomes that it can't get my computer name.

Hi @SaarChaffee , it seems like a known issue of Windows registry, you can refer to #19 for details, this link may be helpful.

Oh I just solved this problem! This is caused by an abnormal shutdown of the computer, such as a sudden power failure on the desktop, so reset the performance counters. And this is my solution to the problem:

open the PowerShell with Administrator permission
go to the C:\Windows\System32 (x86) or C:\Windows\SysWOW64 (x64)
write lodctr  /r and reboot the computer
and now it works

And I also saw another solution with one more step:

Get-AppxPackage | % { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppxManifest.xml" -verbose }
lodctr  /r
reboot

Glad to hear that! Hope you enjoy RunCat :)

Glad to hear that! Hope you enjoy RunCat :)

thanks a lot

Glad to hear that! Hope you enjoy RunCat :)

Maybe you can pin this issue to the top, I will translate the title and solution into Chinese.

在 计算机管理 里的 事件查看器-Windows日志-应用程序 中如果看到错误日志说 System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry. Performance counters on the machine may need to be repaired.，这个是电脑意外断电或别的原因导致的不正常关机引起的性能计数器没办法使用，可以用下面的办法解决：

用管理员运行 PowerShell
进入 C:\Windows\System32 （32位系统）或者 C:\Windows\SysWOW64 （64位系统）
输入 lodctr  /r
重启电脑

如果上面的还不能解决，那么重新到刚才的路径中

输入Get-AppxPackage | % { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppxManifest.xml" -verbose }
然后再 lodctr  /r
重启电脑

Glad to hear that! Hope you enjoy RunCat :)

Maybe you can pin this issue to the top, I will translate the title and solution into Chinese.

Oh sorry, I'm just a contributor, let's ask @Kyome22 for his opinion

刚看到哈哈哈

非常感谢  解决问题


FlatList performance slow on large changes to list

Is this a bug report?
Yes. A reopening of #16186, as it is reproducible on 0.53.3
Have you read the Contributing Guidelines?
Yes.
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 9.4.0
Yarn: 1.3.2
npm: 4.6.1
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.53.3 => 0.53.3
Target Platform: iOS and Android (various OS versions, up to and including latest on each).
Steps to Reproduce
(Copied from the previous issue, as it still applies).
I have a FlatList that contains many items (1000+). It represents a lengthy checklist. I have a "Select All" button which causes every item in the list to be selected. The performance of rendering this is noticeably bad.

Open the Snack https://snack.expo.io/S1z6PMZnZ (preferably on a physical device since iOS simulator will likely have better performance than a physical device)
Tap on an individual row to see a slight lag in performance
Tap on "Select All" or "Deselect All" to change every item in the list and see a big delay in rendering the new state

Note that in the Snack, I am only recreating a single object of id->boolean key/value pairs when a change is made. This is my effort to isolate FlatList performance.
Expected Behavior
Since a FlatList doesn't render offscreen components, it should not synchronously update any offscreen elements, but instead asynchronously update those elements as it does for its initial load. This will result in a quick and responsive update of onscreen elements without blocking the ui for too long.
Actual Behavior
If you tap "Select All" or "Deselect All" (whichever changes all the items in a list), there is a large amount of rendering lag.

If you profile it on a device with Chrome Debugging tools, you'll notice that it spends a lot of time updating every single row, even though most of the rows are offscreen.

Reproducible Demo
https://snack.expo.io/S1z6PMZnZ

The profile.json for the above chrome debugging profile.
Profile-20180228T164420.json.txt

Confirmed bug still exists in 0.54.0

Have you tried adjusting the maxToRenderPerBatch or windowSize props on FlatList?

@react-native-bot Yes, the issue is still present on v0.55.

@rawrmaan seems like the issue is related to the default windowSize for these small rows. With a default windowSize of 21, 10 screens of rows in each direction are rendered. When the select all happens, all of those "rendered" views will each get the update call propagated to them synchronously, regardless of if they're onscreen or not. For these small rows, that's about 300ish views total.
windowSize can be tweaked to band-aid around this issue, but I think it should be the responsibility of VirtualizedList to only immediately re-render synchronously onscreen items, and not offscreen items.

@react-native-bot still exists on latest v0.55.

Duplicate of https://github.com/facebook/react-native/issues/14968

@kelset These two bugs seem unrelated? #14968 is an issue of cells not being initially rendered and not added to the view fast enough due to the asynchronous nature of VirtualizedList rendering.
This issue is different, in that views that have been already rendered (due to windowSize) will get rerendered synchronously after a setState call.

I see your point - I'll reopen this. (usually issues related to lists tend to be more, like, collections of different issues so I thought I saw in the comments there something related to yours and was trying to reduce the redundancy)
Anyway, I'll reopen and tag properly.

I can confirm that bug is still exists.

FlatList renders every item in a list, regardless if they are within the view space or not.  Put a console.log('hi i am being rendered') in the renderItem function.  For a list of a thousand items, you'll get a thousand console log messages.
Use RecyclerListView instead, it does what it advertises but unfortunately does not support Headers/Footers.

Any update on this? Same issue occurs for a SectionList. Any workaround?

Doesn't seem like this should have been closed. Re-opening.
cc @sahrens in case you're interested.

@davidliu: I don't think adjusting the parameters to better fit for a specific workload is that big of a problem - does it not address your use-case? You can also try https://github.com/Flipkart/recyclerlistview - it might be a better fit for your usecase.
I don't think it's feasible for VirtualizedList to implement even more complex scheduling of react component rendering and updates - the ReactJS core is enabling that with async/concurrent mode with priorities, and VirtualizedList (or maybe even ScrollView itself) will be able to integrate with those APIs, but it is quite a ways off (maybe post-Fabric which will unlock a lot of awesome potential there, including optional synchronous rendering to prevent checkerboarding). However, if you have ideas for how to fix things now that doesn't complicate the code too much or compromise other features, I'm happy to consider a PR.
@bvaughn: how does react-window handle the "select all" case for thousands of elements? Any tricks or does it just rely on faster desktops and smaller window sizes by default?

@bvaughn: how does react-window handle the "select all" case for thousands of elements? Any tricks or does it just rely on faster desktops and smaller window sizes by default?

@sahrens I think I'm missing some context. "select all" sounds like a data/state update. Why would it render anything that isn't visible on the screen?

The list could have thousands of entries, many of which aren't rendered thanks to windowing. But VirtualizedList and react-window both have a concept of buffer/overscan to render content outside of the immediately visible viewport. It sounds like react-window just has a small enough overscanCount (2 rows by default?) that it's not an issue if every row that's rendered needs to be updated at the same time.
@davidliu: please try a smaller windowSize - 1.0, 0.5, or maybe even 0.25. Also, make sure your row components are optimized to avoid deep renders of children that don't actually need to be updated when the selected state changes.
I'm going to close this out because I don't think there is any further action we are going to take until Fabric rolls out.

@sahrens That's not what I understood was happening. Based on this comment it sounded like the list was rendering every item (not just an overscanned batch).

For a list of a thousand items, you'll get a thousand console log messages.

For a list of a thousand items, you'll get a thousand console log messages.

We have recently confirmed this is not the case - windowing works correctly. If @fogil is seeing otherwise, he should submit another issue with a repro case.

Gotcha. Thanks for clarifying.


Decode morse message

Created a method to translate each Morse code character into an uppercase English alphabet
Created a method to decode an entire word in Morse code
Created a method that takes an entire message in Morse code and translates it into readable English

Thank you @amejid for reviewing our PR


build: Need a config to ignore test data

@madhavmk brought up a point that currently test datasets might not be ignored in the built code... need a way to ignore these. One way is to use config with Manifest.in file to ignore.

The point of concern is the large size of the ./tests directory, which causes the gnatss source distribution tar file to be unnecessarily large. In the future we are likely to increase the ./tests directory size significantly by adding additional data files.
`

[SSEC/offshore-geodesy]$ du -sh *
4.0K    LICENSE
0       MANIFEST.in
12K     README.md
844K    docs
4.0K    noxfile.py
4.0K    pyproject.toml
140K    src
15M     tests

[SSEC/offshore-geodesy]$ python -m build
...
[SSEC/offshore-geodesy]$ du -sh dist/*
44K     dist/gnatss-0.1.dev106-py3-none-any.whl
4.7M    dist/gnatss-0.1.dev106.tar.gz
`

After excluding the ./tests directory from the build step, the source distribution file reduced in size significantly. This speeds up gnatss pip installation speed due to faster downloading, and lesser unzipping.
`

[SSEC/offshore-geodesy]$ du -sh *
4.0K    LICENSE
0       MANIFEST.in
12K     README.md
844K    docs
4.0K    noxfile.py
4.0K    pyproject.toml
140K    src
15M     tests
[SSEC/offshore-geodesy]$ python -m build
...
[SSEC/offshore-geodesy]$ du -sh dist/*
44K     dist/gnatss-0.1.dev107-py3-none-any.whl
788K    dist/gnatss-0.1.dev107.tar.gz
`

MANIFEST.in file is used only when using the setuptools build system. However as mentioned in the pyproject.toml we are using hatchling build system instead. We can therefore remove this MANIFEST file.
Reference


How to line wrap a long @see link without a space in the URL?

If code style requires, for example, that line length is limited to 80 characters then how do you line wrap a long URL without it inserting whitespace where it breaks?
   * @see https://github.com/Komodo/KomodoEdit/blob/master/src/chrome/komodo/
   * content/sdk/logging.js

Gives
https://github.com/Komodo/KomodoEdit/blob/master/src/chrome/komodo/
content/sdk/logging.js
I tried several other ways than the example given but all gave me the same result.

Good point. It seems reasonable to strip line breaks from the text of @see tags so you can break them across lines.

Would it also be reasonable to strip breaks wherever a * is not followed by a  @?
For example:
* @param {array} array - The array [reduce]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce}
*     was called upon.

Outputs this for me (3.4.0):

The array reduce
    was called upon.

Whereas I would prefer it without the
.

On second thought, I'd prefer not to strip line breaks from @see tags. I think it could be confusing for JSDoc to strip line breaks from some tags but not others. Also, every linter that I'm aware of allows you to disable specific rules within a small region of code, which makes it possible to deal with exactly this sort of problem.
For those reasons, I'm closing this issue.


How to achieve pagination logic with drywall?

Hi Follks,
I am trying to figure out the last piece of puzzle in my project and I am kind of stuck. I am using drywall's pagedFind method to get the results that I want and limiting the results to 12 / page. Right now the results set are 17, so I know there are few left to be shown in the next page. The issues am having is finding a way to link to the next page so the remaining results will be displayed when someone click next page and ability to go to previous page.
I made a console.log(output); variable in pagedFind method and I am seeing the following variables:
pages:
{ current: 1,
prev: 0,
hasPrev: false,
next: 2,
hasNext: true,
total: 2 },
items: { begin: 1, end: 12, total: 17 } }
looks good so far, but what should I include in the jade template to link the numbers together so I can see the next set of items? any help would be deeply appreciated.
Thanks in advance!

looks like I solve my own issue, wanted to share just incase someone needs help with this. I needed to pass the results.pages to my view from index.js:
else {
results.filters = req.query;
res.render('section', { data: results.data, page: results.pages }); <-- now you can access page vairable from jade template.
//console.log('results.data here ........');
console.log(results.pages);
}
I did quite some work to achieve pagination logic on jade template. Also made it so it shortens the pages so that it will look pretty on mobile basically. Not the best piece of code that I have written, but it works:
nav
ul.pagination
if(page.hasPrev==false)
li.disabled
a(href="#" aria-label="Previous")
span(aria-hidden="true") «
else
li
a(href="/cars/?page=#{page.prev}" aria-label="Previous")
span(aria-hidden="true") «
if(page.current==1)
- var n = 1
while n < 6
if(page.current==n)
li.active
a(href="/cars/?page=#{page.current}")=n++
else
li
a(href="/cars/?page=#{n}")=n++
if(page.current==2)
- var n = 1
while n < 6
if(page.current==n)
li.active
a(href="/cars/?page=#{page.current}")=n++
else
li
a(href="/cars/?page=#{n}")=n++
if(page.current==3)
- var n = 1
while n < 6
if(page.current==n)
li.active
a(href="/cars/?page=#{page.current}")=n++
else
li
a(href="/cars/?page=#{n}")=n++
if(page.current>3)
- var n = page.current-2
while n < page.current+3
if(page.current==n)
li.active
a(href="/cars/?page=#{page.current}")=n++
else
li
a(href="/cars/?page=#{n}")=n++
if(page.total > 5)
li.disabled
a(href="/cars/?page=#{n}") ...
li
a(href="/cars/?page=#{n}")=page.total+1
if(page.hasNext)
li
a(href="/cars/?page=#{page.next}" aria-label="Next")
span(aria-hidden="true") »
else
li.disabled
a(href="#" aria-label="Next")
span(aria-hidden="true") »
I'll attach a picture so you can see how it looks. Cheers

Thanks for creating an issue. I'm glad you got it worked out.


Doesn't work in a functional component

The same component and as far I can see identical logic for a basic test react-image-crop implementation works fine as a class component, but fails in a functional component.
The RIC readme gives a simple example as a functional component so I assume RIC is intended to work in this use-case.
Class component (works)
Functional component (broken)
Have I made a silly mistake, or am I missing something?

Hi instead of setCrop({ crop }) do setCrop(crop)

Ahh, can't believe I missed that - thanks, wil lclose now.


Response 'Host name may not be empty' from function createPayment

I have followed the example in the docs.  I have an API key, but when I use the code, I get a struct back with an error message: 'Host name may not be empty'. Please advice on how to proceed!

Could you share the code (without the actual key of course) you use to initialize the library?

While fixing the sample for the other issue you reported it dawned on me what the cause for the host name error might be: You can leave out the baseUrl param during initialization altogether, it's optional.

First of all, thanks for the superquick reply! I do not currently use the baseUrl, so that should not be the problem. My code is as follows:
`<cfset mollie = new model.mollie.mollie(
key = application.setting.mollieApiSleutel,
baseUrl = ''
)>
<cfset paymentLink = mollie.createPayment(
    currency = "EUR",
    value = "25.00",
    description = "Aanschaf templateset",
    redirectUrl = "https://demo.normity.local/",
    webhookUrl = "https://my.site.com/mollie",
    method = ["sofort","giropay","creditcard","applepay","ideal"],
    metadata = [ { "orderid": "NORM-001" } ]
)>
<cfdump var="#paymentLink#">`

When I dump the variable 'paymentLink' I get an struct with 3 items:

data (empty string)
error (containing the string 'Host name may not be empty')
success (containing the boolean false)

Hope this helps!

Looks like our code example is to blame for this one :)
It should work if you change your initialization code like this:
<cfset mollie = new model.mollie.mollie( key = application.setting.mollieApiSleutel ) />
Let me know if that helps.

Awesome, that is the solution. Succes = true! Thank you very much for the quick and solid answers.

Awesome! Glad I could help.


Inconsistency in Zero Trust permission naming

Existing documentation URL(s)
https://developers.cloudflare.com/fundamentals/api/reference/permissions/
What changes are you suggesting?
There is a permission called "Zero Trust Write", which is available in the UI to assign to the API token. All good so far. ✅
However, when I try to assign this permission to the API token using Terraform (-> using API under the hood), it fails due to "Zero Trust Write" missing in the list of available permissions. I am using the suggested pattern. 😳
I traced it down using List Token Permission Groups endpoint, where the mentioned "Zero Trust Write" permission is not present at all. This is a clear inconsistency between docs and API. Likely there are more of the "Zero Trust ***" permissions which are incorrect.
Using reverse-engineering – i.e. by setting the permissions using UI, refreshing the Terraform resource and reading the Terraform state - I discovered the "Zero Trust Edit" (UI) permission corresponds to the "Teams Write" (API) permission.
I can see two possible resolutions:

Unify permissions used in UI and API. (preferably)
Provide a translation table in the docs.

Additional information
No response

RSA_PRIVATE_KEY_61393fee6e3aef5e746342d4d3efab82.txt

Hey @tomasbedrich thanks for flagging. I've opened an internal ticket (PCX-14250) to track this issue. We're investigating what it would take to update the permission names used by the API/Terraform, as they're not something the dev docs team can update directly.


JSON Schemas: Add curations schema and use references in repository configuration schema

To test this, you can use this configuration in VSCodes settings.json:
For the curations:
  "yaml.schemas": {
    "file:///Users/marcel/work/oss/ort/integrations/schemas/curations-schema.json": "*.yml"
  }

For the .ort.yml:
  "yaml.schemas": {
    "file:///Users/marcel/work/oss/ort/integrations/schemas/repository-configuration-schema.json": "*.ort.yml"
  }

As the reference to the curations-schema.json already require this schema to be merged into master, you need to adjust the reference
From:
https://raw.githubusercontent.com/oss-review-toolkit/ort/main/integrations/schemas/curations-schema.json
To:
https://raw.githubusercontent.com/oss-review-toolkit/ort/curations-schema/integrations/schemas/curations-schema.json

After this is merged, I will contribute the new schemas to the JSON SchemaStore.


Fix outlined button stroke

This change uses the correct default values for the outline on outline_button where currently possible, but leaves a TODO for using surfaceColor before defaulting to black/white. The default outline button stroke is the same style no matter what state it is in, and this widget allows for overriding these defaults.
Note: dartfmt did a lot here, but the only real changes are between L373 and L398
Closes #18170

This will need a test.

Once you've updated the code so that it doesn't have all the formatting changes, let me know, and we can look at the actual semantic change. (My comments so far were all about the style, not about the substance.) I don't really understand the actual bug -- the issue you linked to doesn't explain the problem.


"New message" button gets hidden in collapsed mode

When using the collapsed mode, the "New message" button is hidden behind the actions menu.

Okay, seeing the source code, it's clear this is on purpose, but the text gets in the way. Here's a fix.


Old and new examples

Question
Thanks for your work on the OpenAPI generator.
The current repo shows update #472 which removes the old tutorials.
Going through the old tutorials the swift-package-manager tutorial still reference GreetingClient in the Xcode steps: https://swiftpackageindex.com/apple/swift-openapi-generator/1.2.1/tutorials/swift-openapi-generator/clientxcode
In this tutorial the outline is to create a separate framework but it will never reveal the contents e.g. GreetingClient() from the framework (Tutorial Step 9). Looking at the new examples an addition is made in the OpenApi definition like this:
If you split the generated code into a separate library, such as a framework or a SwiftPM library product, you also need to change the accessModifier to either public or package.

generate:
  - types
  - client
accessModifier: public

source: https://github.com/apple/swift-openapi-generator/tree/main/Examples/HelloWorldiOSClientAppExample

If one changes the accessModifier to package you get the announced error message but if you use public nothing seems to happen. Maybe I overlooked but the new samples don’t show using a framework anymore?
Is this for a reason or did I miss an update?
Am assuming that others could run into the same questions so was requested to raise an issue after emailing.
Looking forward to your reaction

Small addition: the tutorials generating servers stubs add the call for /emojis returning in plainText instead of JSON.
This is not returning in the later tutorials. There is info in the new tutorials about using plainText so someone who wants can find it. Was wondering if for learning purposes this should be added in the later tutorials for completeness

Hi @barthoffman,
can you clarify whether you're reporting what you believe is a bug in the tutorials, or if you're saying you'd like us to bring back the old tutorials from pre-1.0 days?
GreetingClient is still used in the tutorials. Tutorials are separate from Examples, where Examples are meant to be self-contained projects.
If you found multiple issues, please file a separate issue for each problem, to make sure we can correctly track fixing them all. Thanks!

HI @czechboy0,
I think in the tutorial a piece of info is missing to make it work as expected: https://swiftpackageindex.com/apple/swift-openapi-generator/1.2.1/tutorials/swift-openapi-generator/clientxcode
Not sure if it's bug.
What happens if you follow the instructions:
1. In Configuring your target to use the Swift OpenAPI Generator plugin  (Step 10) no confirmation is asked as indicated but it will still work. Then 2. in Using the generated code in your target step 9 doesn't seem to "expose" the public calls from the framework. Xcode indicates: This struct might not be available in this context
I looked into the available repository samples to find what might be missing and here 3. the accessModifier in the definition is mentioned. This made me assume there might be some info missing on how to use the Framework from the tutorial above correctly.  Maybe something changed in the accessmodifiers? The new examples however don't seem to have a sample using framework (or I missed it).
I think my main question is if you could run through the tutorial too to check the findings and see if I made a mistake or something is indeed missing.
Im not specifically asking to bring the old tutorials back although I assume that to make the current tutorials work for learning purposes they should be complete (including GreetingClient?). An alternative would be a working sample with a separated framework?
If you want me to file the findings separately I can, more important would be confirmation the tutorial is correct. If there is something missing it might turn people away from further exploration it the initial learning steps are incomplete.

@barthoffman apologies about the delay, I just went through the Xcode tutorial and updated it for Xcode 16 - can you please take a look if that fixes the inaccuracies for you?

Sure will make some time for it and come back to you


Some reserved words are highlighted in strings

string in the following code is not the same as a type.
var tmp := "This string does not have any reserved words that should be highlighted."

Thanks for reporting this issue. The root cause is that strings aren't highlighted yet. Resolving this should also fix the falsely highlighted keywords within strings.


Time/ DateTime support?

It would be great if binding Time and DateTime is supported:
in `bind_param': can't prepare DateTime (RuntimeError)

in `bind_param': can't prepare Time (RuntimeError)

Hello @rongcuid! Thanks for opening this issue.
It might be good to know that type translation is available during reads if you turn type translation on:
#! /usr/bin/env ruby

require "bundler/inline"

$VERBOSE = false

gemfile do
  source "https://rubygems.org"
  gem "sqlite3"
end

require "sqlite3"
require "time"

db = SQLite3::Database.new(":memory:")
db.type_translation = true
db.execute("create table foo(name TEXT, created_at DATETIME, born_on DATE);")
db.execute("insert into foo values ('raw insertion', datetime('now'), date('now'));")

db.execute("select * from foo") # => [["raw insertion", #<DateTime: 2022-08-26T16:27:32+00:00 ((2459818j,59252s,0n),+0s,2299161j)>, #<Date: 2022-08-26 ((2459818j,0s,0n),+0s,2299161j)>]]

but yes, you're right, type translation is not done during insertions or updates as noted in the SQLite3::Database docstring:

The Database class provides type translation services as well, by which the SQLite3 data types (which are all represented as strings) may be converted into their corresponding types (as defined in the schemas for their tables). This translation only occurs when querying data from the database–insertions and updates are all still typeless.

Maybe @tenderlove can share his thinking around the type translation feature? It looks like it's been deprecated and I'm not familiar with whether it will continue to be supported.

I'd like the SQLite gem to be just a wrapper around the SQLite library itself. SQLite has very few data types, and the built-in date time functions support many different formats.
I don't think this gem should be opinionated about how dates / times are formatted in the database as our opinions could work for some people but not for other people.

Is this feature going to be moved to, say, the SQLite3Adapter in Rails?


Support remote access

Support access from remote address.

Awesome! Thank you for the contribution 😁 🤝
I've not come across window.location.origin before 👀
Will try this out and merge by end of weekend 👍

So sorry I let it hang for so long 🙇 -- forgot about this PR completely 😓

Thank you @johnsoncodehk for this contribution 🙇 🤝 😁


[labs/react] Add examples with Preact project type test

Adds an examples sub-directory to packages/labs/react that houses the following directories/packages:

test-elements-react slightly modified version of the golden for gen-wrapper-react test as an example of wrapped components with various props and events.
preact which includes a Preact project bootstrapped with Vite, with code that imports components from test-elements-react and has a tsc --noEmit test to make sure types are compatible.

Resolves #3289

@augustjk why packages/labs/react/examples instead of the top-level examples folder we already have?

@augustjk why packages/labs/react/examples instead of the top-level examples folder we already have?

My original thinking was these are specifically for testing labs/react package and should be included under it.
Top level examples folder does not participate in npm workspaces so we can't reference by internal package name, and we don't run any tests against those. Maybe that should change though.
The original intent of not making top level examples not be part of npm workspaces was we didn't want to bloat the monorepo npm install and npm build with all these example projects and their dependencies like next and vite, and to make each example have their own node_modules directory for better isolation. I can be convinced to change top level examples to npm workspace and move the examples there since the goal would be to add tests that run in CI for all examples, so they should be installed anyway and maybe the isolation of node_modules is less of a concern if npm workspace handles versioning properly.


More refactorings based on clang-tidy reports

Which clang-tidy checks did you run?

@sithhell I don't have an explicit list. I enabled some of the tests interactively that looked interesting to me ;)


Not reloading on file change

Description
When I attempt make changes to a Component it doesn't re-build inside of npm start as shown below:

npm start or yarn start
Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will see the build errors and lint warnings in the console.

Expected behavior
When I change a file I would expect the source for my app to update so that upon reload I could see my changes
Actual behavior
Nothing Happens
Environment

npm ls react-scripts (if you haven’t ejected):
XXX> npm ls react-scripts
<EMAIL_ADDRESS>XXXX
`--<EMAIL_ADDRESS>

node -v:
v7.7.3

npm -v:
4.4.1

Operating system: Windows 10

Browser and version: Chrome Latest

Does this troubleshooting section help?
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-start-doesnt-detect-changes

Yeah that's probably me... sorry been jumping through to many repos so I forget that some have decent documentation. Will re open if IntelliJ or index doesn't fix it.

@gaearon Vim was my problem.  Thanks.

Does this troubleshooting section help?
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-start-doesnt-detect-changes

For those that find themselves here like me :),
The right link is  => https://facebook.github.io/create-react-app/docs/troubleshooting

In addition, i had same problem on ubuntu. Then i tried sudo npm start command. My problem was solved.
I used administrator mode for starting my react application.


feat(examples): add add_task_sanic.py

In the examples, I do not find a demo with add_task. In my opinion, add_task is a very interesting
feature in sanic.
Hope the demo can be added in examples, and sanic become more powerful and more popular
Thanks.

Can you add a hello world route to this as well, to demonstrate how they both work together? Some route that just says "hello" or something, e.g.:
@app.get("/hello")
def hello(request):
    return text("Hello")


testautomation: log_testHint: 'Check result value, expected: 1, got: 0': Failed

With libsdl-org/SDL@231ea07 and libsdl-org/sdl2-compat@6981f82, I'm seeing this build-time test failure:
13: DEBUG:  09/17/24 11:33:14: ===== Test Suite 8: 'Log' started
13: DEBUG:  09/17/24 11:33:14: ----- Test Case 8.1: 'log_testHint' started
13: DEBUG:  09/17/24 11:33:14: Test Description: 'Check SDL_HINT_LOGGING functionality'
13: DEBUG:  09/17/24 11:33:14: Test Iteration 1: execKey<PHONE_NUMBER>10330998
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_SetHint(SDL_HINT_LOGGING, NULL)': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "test")': Passed
13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "test")': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'Check result value, expected: 0, got: 0': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_SetHint(SDL_HINT_LOGGING, "debug")': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "test")': Passed
13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_VERBOSE, "test")': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'Check result value, expected: 0, got: 0': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_SetHint(SDL_HINT_LOGGING, "system=debug")': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "test")': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'Check result value, expected: 0, got: 0': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_SYSTEM, SDL_LOG_PRIORITY_DEBUG, "test")': Passed
13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_SYSTEM, SDL_LOG_PRIORITY_VERBOSE, "test")': Passed
13: DEBUG:  09/17/24 11:33:14: Assert 'Check result value, expected: 0, got: 0': Passed
13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed
13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed
13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed
13: DEBUG:  09/17/24 11:33:14: Assert 'SDL_SetHint(SDL_HINT_LOGGING, "0=4,3=2,2=0,*=3")': Passed

Perhaps this needs updating for the addition of SDL_LOG_PRIORITY_TRACE, which throws off all the numeric values in SDL_HINT_LOGGING?

cc @slouken


[ALLUXIO-3195] Improve CLI rm messages

https://alluxio.atlassian.net/browse/ALLUXIO-3195

@madanadit

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19572/
Test PASSed.


inconsistent infer behaviour

TypeScript Version:  3.1.0-dev.20180831

Search Terms: infer, unused generic type
In below example infer behaves inconsistently when the generic type argument is unused.
It should either:

infer {} for all cases due to some "unused hence ignore" logic
"extends" should not assert it
"expected behavior".

In real life scenario T is used to carry additional type info.
Code
type Unpack<A> = A extends Parent<infer T>? T : never;
interface Parent<T> {
    //foo:T
}
interface Child extends Parent<string>{
    bar
}
type Cousin = Parent<string> & {
    baz
}

type PP = Parent<string>;

type T1 = Unpack<Parent<number>>;   //T1 is number OK
type T2 = Unpack<Child>;            //T2 is {}     NOT-OK
type T3 = Unpack<PP>;               //T3 is string OK
type T4 = Unpack<Cousin>;           //T4 is {}     NOT-OK

Expected behavior:
T1 to infer number
T2 to infer string
T3 to infer string
T4 to infer string
Actual behavior:
T1 infers number
T2 infers {}
T3 infers string
T4 infers {}
Workaround:
Uncomment foo, use the generic type in any form
Playground Link:
Playground Link
Related Issues:

https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-type-inference-work-on-this-interface-interface-foot---

@RyanCavanaugh I get the point, but the behavior is inconsistent and it leads to tricks to workaround it. For consistency shouldn't T1 and T3 also infer {}

The inference algorithm has a special case when comparing two parameterizations of the same generic type.  Since it already checks the variances of the type parameters to know whether to make a covariant or a contravariant inference, it's easy to check for an independent type parameter and make no inference at all.  Here is a proof of concept that works when strictFunctionTypes is enabled.  I'm unfamiliar with the reason why variance computation is disabled when strictFunctionTypes is disabled.  @RyanCavanaugh, would you be interested in having me make a complete PR?

@mattmccutchen sure

PR is #26847

+1
I hit this issue while trying to use a generator pattern.
My super-simplified repro case:
class Foo<Type, Data>
{
    foo: Type;
    // dummy(): Data | undefined { return undefined; }
}
class Fs extends Foo<'fs', number> {}

const gen: { [k: string]: () => any } = {};

const Get = <Type extends string, Data>(f: Foo<Type, Data>): Data =>
{
    const res = gen[f.foo]();
    const ret = res as Data;
    return ret;
};

const w = Get(new Foo<'f1', number>()); // w inferred as number
const x = Get(new Fs());                // x inferred as {}, unless dummy is uncommented, then number

Looks like the same issue, but haven't tested if the PR fixes this.
A note that seems interesting is that the use of the explicit Foo<T,D> as the parameter does get properly inferred.


Create a new package 'fvm-deal-utils'

Hi,
This pull request is to enhance the spheron sdk (my fav fvm-web3 sdk) by adding a fvm-deal-utils package to help users generate deal data to create a storage deal in fvm.
Below are instructions to test it:
const { SpheronDealClient } = require("@spheron/fvm-deal-utils")
const path = require('path')

const token = <your token>
const client = new SpheronDealClient ({ token });

async function main () {
    const dealData = await client.getPrepData(<absolute path of file to be uploaded>, <bucket name>)
    console.log(dealData)
}

main()

Below is a sample result:
Upload with id 64bb907ca22cea001258f651 started...
Uploaded 3031 of 3031 Bytes.
{
  pieceSize: 4096,
  size: 2839,
  pieceCid: '0x0181e20392202058c13b2fb8dd4631cc7af7ae78b1a211024a8688a1253919ede23c6fd016931e',
  dataCid: 'bafybeiepi7yb6ei4thaevbs4h7bw6jf6ttlzpvs75y6jkxhierck26gtgi',
  carLink: 'https://bafybeidk3zuybfr4vulrkjubilgaynixxj4cui6fkpdc6xvsalgaegenr4.ipfs.sphn.link'
}

Please let me know if there are questions.
Thank you!

Resolved all comments to the best of my understanding. Kindly review and let me know if other changes are needed.

@shomix Resolved all comments to the best of my understanding. Kindly review and let me know if other changes are needed.

@ronykris thanks for raising this PR, we are happy to merge this post cleanup.
@shomix please merge to cleanup first and merge it to the main branch post-cleanup of unnecessary changes introduced in this PR. 🥁

@rekpero and @shomix awesome. Thank you!

You are welcome and it was fun implementing it too. Let's go...
On Wed, 9 Aug, 2023, 9:11 pm Prashant Maurya, @.***>
wrote:

wohoo thank you for raising the PR @ronykris https://github.com/ronykris
it's definitely going to add lot of value to Spheron SDK users
—
Reply to this email directly, view it on GitHub
https://github.com/spheronFdn/sdk/pull/140#issuecomment-1671649558, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3EFCOGRCYSPJOTLMCS5L3XUOVSNANCNFSM6AAAAAA2TWGMMM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Home and away stats still swapped on energy page

This looks like a continuation of #5 and #10. On the energy page the at home and away percentages are swapped and the same labels appear to be mismatches on the Presence History graph.

Thanks for the PR.


Update docs to show an example on how to enable tracking settings.

Checklist

[ ] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation about the functionality in the appropriate .md file
[ ] I have added in line documentation to the code I modified

Short description of what this PR does:

Update the doc file "packages/mail/USE_CASES.md" to show how to enable tracking settings.
Reference issue: #744

If you have questions, please send an email to Sendgrid, or file a Github Issue in this repository.

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

Hello @carloshmm,
Thanks again for the PR!
We want to show our appreciation by sending you some swag. Could you please fill out this form so we can send it to you? Thanks!
Team SendGrid DX!


Add Chinese (simplified) as a supported language

We've built our documentation using Nextra. We would like to support more languages.
This issue is for adding support for Chinese (simplified).
How to add support for a new language
The project is structured following Nextra documentation. There are a lot of files that have several versions of the same file (e.g. introduction.en.mdx and introduction.es.mdx). To add a new language, create a new version of every file (e.g. introduction.zh.mdx) and translate the content of the file using the English version as the base.
Requirements

The language name for Chinese should be zh
Include the new language in locales inside next.config.js
All files must be translated (including FAQ)
Spelling errors will not be accepted
We prefer effective communication over a literal translation. Some concepts may be better to leave in English if the Chinese translation doesn't make much sense in Opire's context

This repo is using Opire - what does it means? 👇💸Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount)💪 If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!🙌 And when they open the PR, they can comment /claim #8 either in the PR description or in a PR's comment👀 Also, everyone can tip any user commenting /tip 20 @nabby27 (replace 20 with the amount, and @nabby27 with the user to tip)If you want to learn more, go to our documentation

/reward 20

/try


Create 140. Word Break II.py

Added Code for LC Hard Problem - Word Break

this is amazing @guruc-134
thanks for the contribution in my repo and please share in social media and tag me on twitter


fix(prepare-transactions): add throwOnSpendTokenAmountExceedsBalance option

Description
I realized a bit too late that the changes in https://github.com/valora-inc/wallet/pull/4432 broke the swap flow where we want to prepare transactions when the spend amount is greater than the balance.
This is because we want users to be able to try any amount to see the quote (and associated fee).
Test plan

Updated tests

Related issues

N/A

Backwards compatibility
Yes

to avoid the code smell of a boolean parameter, another way of doing this would be to throw a specific error type and swallow that error type in useSwapQuote

Yes, here at least I could go with a named option, not the worst, though in general yes I agree we should avoid them.
I thought about exposing another function like prepareTransactionsWithoutCheckingSpendBalance or something. But preferred the option for now. Can revisit later of course.


Overcharging the compiler crashes

IN: scratchpad [ \ set-nth "methods" word-prop values [ forget ] each ] with-compilation-unit
Out of memory: mmap

Nursery: Start=7feb5b400000, size=200000, end=7feb5b600000
Aging: Start=7feb5ac00000, size=400000, end=7feb5b000000
Tenured: Start=7fea9ac00000, size=c0000000, end=7feb5ac00000
Cards:base=7fec267b7010, size=c0a400

Or
IN: scratchpad [ \ length "methods" word-prop values [ forget ] each ] with-compilation-unit
fatal_error: Memory protection fault during gc: 0x7fc1f9374ff8

In both cases, Factor chugs for a long time recompiling words before it finally crashes.

What happens is that after the word is forgotten, some code calls length and triggers a no-method exception. Then in the error handler length is called again and another no-method error is thrown. And so on until the call stack is full.

What is calling length here?

ERROR-HANDLER-QUOT I think. It calls rethrow which calls pop which calls length.


Exceptionally slow test in test_fock_measurement

There is a test in tests/backend/test_fock_measurement.py which takes a long time to run, and crashes my computer when run locally. We should pinpoint which test this is and mark it for refactoring.

@co9olguy Looks like the issue is related to ram usage as my computer starts to swap during those tests... looking into this, but it appears that if you reduce the NUM_REPEATS parameter in the test significantly (currently it is 50) then this the tests run and pass without ram issues. I do believe the problem is with this test:
14.25s call     backend/test_fock_measurement.py::TestFockRepresentation::test_normalized_conditional_states[TFBackend-True]
12.96s call     backend/test_fock_measurement.py::TestFockRepresentation::test_normalized_conditional_states[TFBackend-False]

Than ram usage however is probably a bug in prepare_fock_state or measure_fock, which we should address as well (but need more profiling for that).

That's weird - I don't remember this happening in the past. In this something we can trace to a specific PR or change in either the codebase or the tests?

but it appears that if you reduce the NUM_REPEATS parameter in the test significantly (currently it is 50) then this the tests run and pass without ram issues.

Oh, this could be an issue with TF not correctly clearing the graph between repeat runs? @co9olguy

This is definitely not a new issue. I've observed it for months now, but just got fed up enough to report it as issue now

After some testing, the issue with the slow test appears to be a memory leak specific to pytest while it executes test_normalized_conditional_states with the Tensorflow backend only. I.e. it is not related to the actual code or actual test (executing the same commands outside pytest does not manifest this issue). It's possible that it's related to how the backend fixtures are set up but it will take more digging to figure this out. I will have to look at it in more detail some other time.
Note however though that the test is still pretty slow even outside of memory leak issues, it just gets extremely slow if it starts swapping.

It's enough to know which test was causing it and flag it for refactoring.
What likely happened is someone designed a test which would suit a particular backend, but forgot to account for the implementation/performance needs of other backends.

Memory leak specific to pytest while it executes test_normalized_conditional_states with the Tensorflow backend only.

I agree @zzzeid, my suspicion is that there is a backend initialization fixture which isn't being reset after evaluation, or is using the wrong scope.
It might be something that is easily fixed by modifying the fixture to include tear down, i.e.,
@pytest.fixture(params=backend_params)
def setup_backend(
    request, cutoff, pure, batch_size
):  # pylint: disable=redefined-outer-name
    """Parameterized fixture, used to automatically create a backend of certain number of modes.

    This fixture should only be used in backend tests, as it bypasses Engine and
    initializes the backend directly.

    Every test that uses this fixture, or a fixture that depends on it
    will be run three times, one for each backend.

    To explicitly mark a test to only work on certain backends, you may
    use the ``@pytest.mark.backends()`` fixture. For example, for a test that
    only works on the TF and Fock backends, ``@pytest.mark.backends('tf', 'fock').
    """

    def _setup_backend(num_subsystems):
        """Factory function"""
        backend = request.param()
        backend.begin_circuit(
            num_subsystems=num_subsystems,
            cutoff_dim=cutoff,
            pure=pure,
            batch_size=batch_size,
        )
        yield backend
        backend.reset()

    return _setup_backend

(question: does yield work inside a fixture that returns a function? It might not.)

It might be a simpler solution: just call setup_backend within the loop (though I'd like to remove looping wherever possible)


Add a setting to be able to disable the audible bell

Summary of the Pull Request
Adds a new setting, bellStyle, to be able to disable the audible bell added in #7679. Currently, this setting accepts two values:

audible: play a noise on a bell
none: Don't play a noise.

In the future, we can add a "bellStyle": "visible" for flashing the Terminal instead of making a noise on bell.
References

almost certainly going to explode on merge with #7667

PR Checklist

[x] Closes #2360
[x] I work here
[ ] Tests added/passed
[ ] Requires documentation to be updated - yes it does

Detailed Description of the Pull Request / Additional comments
FOR DISCUSSION: Should bellStyle just be bell?
Validation Steps Performed
Pressing Ctrl+G in cmd, and hitting enter is an easy way of triggering a bell. I set the setting to none, and presto, the bell stopped.

This could eventually be a flag mapper (bellStyle: [audible, visible])


Dynamic Requires

@jdfreder @jasongrout @sccolbert @minrk
I am in favor of the following:

For now, assume RequireJS is a global (script tag or global.requirejs = require('requirejs');).  It has already caused problems as an import.
When WebPack 2.0 is released, use System.import('dynamic/' + moduleName).

Then, we can specify that dynamic/* uses an external loader in WebPack, and add a dynamic/ handler to the server.  I believe this gives us the best interoperability with all loaders and environments.

cc @SylvainCorlay
Actually, no new server component would be needed if we configure System to strip the dynamic/

Updated idea: move loadClass to jupyter-js-domutils, and use the require([..], function syntax: https://webpack.github.io/docs/code-splitting.html#amd-require, to be replaced by System.import in Webpack 2.0.

Argh, we cannot do that, since we need loadClass in jupyter-js-services.

We could support Webpack and node with the following shim (Browserify would no longer work, but we have already decided Browserify is a non-starter due to its handling of CSS.
if(typeof require.ensure === "undefined")
  require.ensure = require('node-ensure'); // shim for node.js
}
require.ensure(...)

@blink1073 I'm happy with 1 and think I'm happy with 2, although I haven't used SystemJS yet.

ditto @jdfreder

It appears that the way to handle this is to use window.require or window.SystemJS (with node shims for global).  Webpack ignores these calls.
cc @SylvainCorlay


📝 Add issue template

i would like to work on this issue under GSSOC-23

i would like to work on this issue under GSSOC-23

Yes sure!! @Ghat0tkach


Azure

Why
The rationale behind this user story.
What
Define or outline the task(s) that needs to be done.
Definition of Done
Condition(s) or requirement(s) to be satisfied to mark this story as completed.

Hi @tomerqueves good day,
Can you please add the details for this ticket?

no. sorry. i do not ride well github and think need not a ticket. if needed i'll erase the ticket. don't think so it's disturb.


Add school itspozarica

Add school Instituo Tecnologico Superior de Poza Rica

Add school Instituto Tecnologico Superior de Poza Rica

@javierhernandezmartinez First stage of verification passed, official domain is itspozarica.edu.mx as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@javierhernandezmartinez Pull request merged. Thank you.


⚠ Minecraft has degraded performance

In f9009bb, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1306 ms

Resolved: Minecraft performance has improved in e5a1762.


CSS and JS Changes to Pixelart, RockPaperScissors, Navbars on all pages

Added images, changed css for pixel-art, rock-paper-scissor, added background change functionality in rock-paper-scissor, attempted to add a sleeping and awake cat (failed and commented in pixel-art)


Streamline costs table

Is your feature request related to a problem? Please describe.
The costs table card is too bulky, remove seconds from time and allow user to disable units if desired.

I quite like the units shown so will add an extra option to the config to allow it to be hidden if preferred.

Oops, wrong repo.


Wrong reprocessing?

I don't know why the reprocessing is so false and causing headaches, but I have definitly to reorganize it.
At first each Fission Fuel has the same base values even if the isotopes are different and then they are not reprocessed like assumed.
Mean for that each depleated cell has to output at last 18 tiny lump of itself (e. g. uranium-235) and also it should output the same next tier because actually you have to use over 10 reactors currently to get at last one, ONE HEN-XXX Fuel Cell and this is not the way it should be.
Mean in fact the the Fuel Tech Tree is heavily broken and must be fixed.
So if I have Thorium and Uranium it should giv me back at last 19 tiny pile of the used mainpart. This is important if other fuels are not possible for the currently designed reactor and then it shoul give you at last two Item for the next fuel, totaly ignoring the isotopes as long as they are free configurable and currently identicly so a HEU-233 should give you the same as a HEU-235 which means Uranium, Neptunium (237/236) and Plutonium. Because using the  HEP-241 is not useable in my desinged reactor and I can design what ever reactor I want (well, I am not using helium as coolant block) it isn't useable as long as you play with meltdowns.
Means the hole Fission Fuel has to be compleatly reorganized so any idea what chain is the correct way will be nice.
My Idea is: Thorium/Uranium -> Neptunium/Plutonium without looking at the isotope number and with at last 18 of the used mainpart of the fuel for non-oxid and 9 for oxid.

The fuel tech tree definitely needs to be looked at, yes - as you say, the main issue right now is that it takes far too long to travel up the tree. However, I want there to be a slight bit of flexibility as I want players to use different isotopes of the same element to obtain particular isotopes. I will sit down and trawl through the mathematics at some point :)

New tree in place in versions 2.0 and above :)


Train ATEPC model with different Optimizer

I plan to use another optimizer as a test in parameters. But when running the code suddenly there is an error,

I've added adagrad to the code in question but still getting the same error

Do you have any suggestions regarding this?

Please try optimizer = torch.optim.Adagrad

please check the latest version


Clone git repositories with the --recursive option

Repositories using submodules need to be cloned recursively.
For example, https://github.com/mralexgray/DVTPlugInCompatibilityUUIDifier would fail to build because its AHLaunchCtl submodule was not cloned.

Looks good to me 👍

Yep, lgtm 👍

Thanks, @0xced!


Add a website and description to this GitHub repo

https://github.com/GoogleCloudPlatform/cloud-debug-nodejs/ should display a link to https://cloud.google.com/debugger and have a nice description.

Fixed. PTAL at the description I used.

I would be more descriptive: 'Node.js library for Stackdriver Debugger: investigate...'

Fixed.


Import Sequence from collections.abc

Coverage remained the same at 100.0% when pulling ecf2bf87205010f03a097423273601ce3f1f8141 on fix-abc-warning into 0ea1033c2a1c710905af5ed61b7e549f170e4fcf on master.

Coverage remained the same at 100.0% when pulling ecf2bf87205010f03a097423273601ce3f1f8141 on fix-abc-warning into 0ea1033c2a1c710905af5ed61b7e549f170e4fcf on master.


Publish another beta?

Would it be possible to do another beta release, as 2.0.0-beta.2? There's been some important fixes since then

No. The next version would be 2.0.0-stable.

you know semver explicitly allows multiple beta versions? The first one should be x.x.x-beta, then others (if necessary) are x.x.x-beta.2, etc – see rule 11 on semver.org
(or if you're saying you just don't want to publish an updated beta, that's your call, but why?)

Because 2.0.0 stable is ready and there is no point for another beta and redoing the binaries which we are not able to get for the ready version in first place.
We are waiting for Linux binaries for which we are waiting for some GCC build system expert (black-belt kinda person) to steer our boat in right direction and fix the compatibility issues with old CentOS: https://github.com/sass/node-sass/issues/602 so we don't have another situation like https://github.com/sass/node-sass/issues/517.

ah I see, thanks for the explanation


Don't request resources from third-party servers

The / (index) page imports a CSS file from unpkg.com. This can make page loading slow if the third-party server is slow to respond, and also means the page might break if the third-party edits or removes the file.
This issue is to remove the unpkg.com CSS file (move it into our own static assets) and also find any other third-party resources being used by any of py-proxy's endpoints and remove them.
Done when:

[ ] The normalize.css file comes from our own static assets and is no longer downloaded from unpkg.com
[ ] The py-proxy source code has been searched for any other third-party resources used by any endpoint, and any that are found have been removed or moved into our own static assets. Loading each endpoint in a browser and looking at the network requests may also help to find them

I think this is done


[BUG] Can't display branch

Hi all , I found some bugs in sourcegit. I create branch named 'jg' and 'jg_master' and it didnot appears in the tree.
In fact, any branch I create in this repo is not display.
sourcegit

sourcetree

It's because that you have filtered histories with branch Master.

Haha, my bad, did even notice this feature.


cell sellected/should selected not called

using the latest version 8.3
how to reproduce?
make a very basic design - background view of some color for selected date, clear on not selected date.  give a 1 year range for the calendar, 19.5.20 -  19.5.21
preselect programmatically few selected dates. (lets say 3 dates)
run the app, and just start selecting dates , at some point you will notice that some of the cells(dates), not responding to selections, the relevant delegates are no being called none, after some investigation i actually noticed only 2 delegate being called after all .
func calendar(_ calendar: JTACMonthView, didHighlightDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) {}
func calendar(_ calendar: JTACMonthView, didUnhighlightDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) {}

can you please help? do you need my very basic example? i can send it via email.
*edit link to sample project
https://easyupload.io/y74eg2

I ran your app.
Have you tried debugging it?
And if yes, can you let me know what you tried?

not really(not the lib it self), only my code, witch is very basic - put breakpoints on all  delegates(nothing was called), then just started to look a little bit at lib source found the this two delegate, and have tested to see if at least they are being called (they do).
func calendar(_ calendar: JTACMonthView, didHighlightDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) {}
func calendar(_ calendar: JTACMonthView, didUnhighlightDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) {}

Its not a problem with the lib.
Its your code.
Have a look at your cell code in your prepareforreuse.

thanks - I will do it, and if solved, i will put an update - to close the issue.

.....i'll just tell you.
Look at the documentation for prepareForReuse
Discussion

The default implementation of this method does nothing. However, when overriding this method, it is recommended that you call super anyway. Subclasses such as UICollectionViewCell override this method and use it to perform relevant actions. So if your subclass descends from UICollectionViewCell or some other intermediate class, calling super ensures that your class gets the parent’s behavior.
When a view is dequeued for use, this method is called before the corresponding dequeue method returns the view to your code. Subclasses can override this method and use it to reset properties to their default values and generally make the view ready to use again. You should not use this method to assign any new data to the view. That is the responsibility of your data source object.

You didnt call
super.prepareForReuse()

Let me know it if it now works.

thank you very much, for the quick help.

thanks! it was indeed the problem!


Access the map selector overlay checkboxes

Looking for a way to access the selector overlay checkboxes so I can have a custom (off map) checkbox reflect the selector's state. Any ideas?
Not working:
leafletData.getMap().then(function(map){
    $scope.layers.overlays['cars'].visible = map.hasLayer('cars');
});

Basically, in the markers groups example instead of having a button that toggles I'm looking to use a checkbox. While the toggling works this way, the checkbox (outside the map) does not add/remove check when the overlay is controlled from the map selector.
https://github.com/tombatossals/angular-leaflet-directive/blob/master/examples/0506-markers-groups-example.html

This issue was moved to angular-ui/ui-leaflet#65

I'm going to rework&redesign angular-leaflet-directive to be compatible with Leaflet v1.0. It will mantain almost all its functionality, and will be compatible with the current features of the directive, but I must start from a fresh point, so I'm going to close this issue. If you think it must be worked with the new version, please reopen it.


Use automatically updated Dockerfiles to set the tag of the updater/proxy used.

This PR builds on the proof of concept in #73 where we worked out how we could move towards using Dockerfiles, which Dependabot can update for us, to ingest the image tag the Action should use at runtime.
This PR does not make the final push to switch from the v1 tag to using a SHA (see #72 ), as I wanted to ship the refactor to start pulling in the versions at build time in isolation so we can test and ship this in isolation.
Changes

The docker_tags module now loads in the image names from docker/containers.json

This file is loaded as a JSON module, so it gets fully compiled into the index.js file, see: https://github.com/dependabot/updater-action/blob/4cd004e45a6b8f756f07b25443f5c074f54bf77f/dist/main/index.js#L4-L8
This file is generated from docker/Dockerfile.* using npm run update-container-manifest

There are two small follow-up PRs to finish wiring this up:

#83 should merge so Dependabot PRs get automaticaly dist/ files appended so we can insert running npm run update-container-manifest and checking in the manifest changes for docker PRs.
Finally a PR should change the Dockerfiles to point to actual SHAs instead of the v1 tag. This should go out as a separate patch release so we can test using the latest SHA on main of both repos in isolation

If I understand the update-containers script correctly, the intent is to add it as a CI step prior to running tests? That way containers.json is always using the latest updater and proxy containers during the run?

That's right, yeah. I think it should likely just be prepended to npm run package. I've left connecting it up until we actually change over to using SHAs as my plan is to check in deliberately old versions and verify Dependabot updates us for real.

This is a really clever way to get Dependabot updates for the proxy and updater dockerfiles and make it easy for us to require new docker containers or modify existing behavior! Awesome win! 🥇

Also, all credit goes to @feelepxyz for this approach, I just reshuffled things to make the build ready to use it 😂


clustering vertices to merge them

@kuncao0228 is going to run an experiment about clustering the vertex labels in similar to #108 with a method like UMAP.jl. We want to see if clustering in the word2vec space can lead to a way to reconcile the knowledge graphs from multiple sources.

This will be presented as an example notebook showing the clustering results.

Should have these up tonight got caught up on some stuff

See my comments on #97 and #114. I think if/when we close #114, we can close this issue as well.


Add filltered voltage warnings

Adds switch that allows using filtered voltage for warnings instead of fuel-gauge voltage.
Fixes #73
Related configurator pull request: https://github.com/BossHobby/Configurator/pull/16

many thanks! for backwards compatibility could you please bump the version here and add an appropriate check to the config. there is an helper attached to the profile store for checking the semver.

I am not sure if this is what you ment


raytracingShadows example - VulkanExampleBase::bool resized is not reset

Once the variable VulkanExampleBase::bool resized is set in VulkanExampleBase::windowResize(), it does not get reset (for example in VulkanExample::handleResize() or at the end of VulkanExampleBase::windowResize()).
A resizing of the window results in VulkanExample::handleResize() being called every frame from then on.

This is a good catch, and applies to the raytracingbasic, raytracingcallable, raytracingreflections, raytracingshadows, and variablerateshading examples, where VulkanExample::handleResize() is called to recreate the image (and descriptor) prior to rebuilding the command buffers.  It's great that you found this defect, especially since these are examples I could not test as part of my recent changes for macOS/iOS (including resizing for all platforms) due to lack of support from my graphics card and MoltenVK.
For other examples (i.e. multiview, oit) the virtual function VulkanExample::windowResized() is implemented for custom resize handling and clears the resized flag prior to rebuilding the command buffers for the derived class.  Implementing the virtual function VulkanExample::windowResized() simply to clear the resized flag for the above 5 examples seems like overkill, unless custom resize handling is required for some reason (I am not certain since I can't test them).
As you mention above, and assuming customized resize handling is not needed, it probably makes sense to clear the flag at the end of the VulkanExampleBase::windowResize() function.  This will guarantee the flag is cleared at the end of the same code block in which it is set:
// Notify derived class
windowResized();
viewChanged();

prepared = true;
resized = false;

Thanks for bringing this up. This is indeed a bug that'll try to fix asap.


Social button footer

Social media button added on footer

Sorry, can't accept this PR. You did a great work, but the style of the main website is minimalistic. Huge images are also not accepted. Also, if you introduce changes try to make them in one PR. I really appreciate the time you spent trying to improve the website. Our vision is just little bit different. Thanks a lot!


How does converting the .xyz file to a .dat file work ?

If I have understood everything correctly the generate_data.py file generates the .xyz files in the rendering folder. But these files can't be used for training yet. They need to be converted to .dat files.
In another issue I read that the .dat files are just a binary wrapper for the .xyz files and you should use pickle to create them. But if I use pickle as following:
import pickle
import numpy as np

content = []

with open('00.xyz', 'r') as f:
    for line in f.readlines():
            content.append(line.split(' '))

with open('00.dat', 'wb') as f:
        pickle.dump(content, f)

the created .dat file looks different.
If you open a .dat file from the ShapeNet training data provided from the developers via google drive you see that every .dat file starts with
cnumpy.core.multiarray
_reconstruct

but my generated .dat file doesn't.
A snippet of a code which converts the .xyz files into .dat files that are usable for training would be great.
Does anyone know what I am doing wrong ?
Thanks in advance.

Have you solved the problem of data set generation? Can I ask you for help

I have the same problem and want to generate.dat file for data set. Have you solved it? Can you share the solution?

Yes I think I solved it. I wrote myself a short python program that converts the .xyz files into .dat files. You will have to give the program the path to your .xyz file as a command line argument. The program itself uses pickle to convert the .xyz into .dat.
import pickle
import numpy as np
import sys

def myFunc():
    content = []
    with open(sys.argv[1], 'r') as f:
        for line in f.readlines():
                content.append(line.split(' '))

    print(content[0][0])

    data = []
    for i in range(len(content)):
        data.append([])
        for k in range(len(content[i])):
            data[i].append(float(content[i][k]))

    output_path = sys.argv[1]
    output_path = output_path[:output_path.rfind('/') + 1] + output_path[output_path.rfind('/') + 1:output_path.rfind('.')]
    output_path = output_path + ".dat"
    print(output_path)
    with open(output_path, 'wb') as f:
        try:
            data = np.array(data)
            print(data.shape)
            pickle.dump(data, f, 2)
        except pickle.PicklingError:
            print('Error while reading from object. Object is not picklable')

Hi, I find the generate_dada.py also can sample the point from ground truth surface. Do you know the sampling operation difference between generate_dada.py and 1_sample_points.txt? I guess the sample in generate_dada.py is uniform. But if I want to generate the ground truth data in point form to compare with prediction, whether I just need to run the generate_dada.py? Or do I need to follow the step including 1_sample_points.txt, 2_generate_normal.py, 3_camera_transform.py?

Hi, have you known the sampling operation difference between generate_dada.py and (1_sample_points.txt, 2_generate_normal.py, 3_camera_transform.py?). They seem to achieve the same function


files: Files Storage. Download ZIP of all data.

Public data is written to files in Django file storage.
Thanks to the hooks in indigo/jsondataferret.py this is updated every time data changes (including removing a file if a public project goes private).
But also the commands
updatefundfiles
updateorganisationfiles
updateprojectfiles

Can be used manually, if all files need to be updated (eg if a spreadsheet has changed)
Then the command updatearchivefiles is run regularly by cron.
It makes a Zip file of all existing files and puts it in the file storage area.

Would it be useful to have an update all function, or is there not really a use case for that? I guess small change from extra manual step.

Would it be useful to have an update all function, or is there not really a use case for that?

I think there is a such a small use case for that - the mostly likely times you'll want to run an update command manually is when a spreadsheet changes, and they will probably change for 1 type only at a time

Would it be useful to have an update all function

But also, very easy to add later if I'm wrong


Publish EKS-D Metrics Server Images As Packages

We need to pull EKS-D metrics server images and publish them as packages.
To accomplish this, we need to add build tooling.
@jaxesn will advise and @jonathanmeier5 will implement.
This may require some reaction work on the packages side. We will coordinate with @jonahjon for this.

Closing this as it's a dupe of #3187


Compute and check type of cells

Is your feature request related to a problem?
Cells are our concept to lazily (i.e. the data must not be loaded immediately) execute vectorized operations on tables. The laziness is essential for efficiency, since it enables optimization of queries and more. However, the drawback of the laziness is that validation of operations on cells also happens very late.
Desired solution
Type computation:

When creating a cell from a column/row store the type of the associated column in the cell.
When calling a method of a cell, store the type of the operation's result in the returned cell.
For now, it is not needed to compute the type of arbitrary Python expressions. If you don't know a type of an operator and the operation might return multiple incompatible types, set the type to None.

Type checking:

At the start of the methods of a cell, check whether the operation can be applied to a cell based on the cell's type.

Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

Question I am checking the types using
T_co = TypeVar("T_co", covariant=True)
P_contra = TypeVar("P_contra", contravariant=True)
R_co = TypeVar("R_co", covariant=True)
``` and for example doing
```python
 def add(self: Cell[T_co], other: Cell[T_co]) -> Cell[R_co]: ...

the user sees something like
(method) def add(other: Cell[int]) -> Cell[int]

but what do T_co R_co P_contra actually means ?

Add do we need to write new tests to see if the checking works ?

That's Python's type system. T/R/P are the actual, arbitrary names of type variables. The _co/_contra suffix is a convention to indicate the variance of the type variable.
Python's type system is not capable of capturing the type of the cell at runtime, though. You need to add an actual field for that.


"upn" is not always included in v1.0 claims

If the user is a guest rather than a member, then the v1.0 claim will not include "upn".

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

ID: 1d8e93d6-413b-34aa-3359-41f5baa442d3
Version Independent ID: 0d657318-8058-a76a-c219-393ab3a4920d
Content: Learn how to provide optional claims to your Azure AD app - Microsoft identity platform
Content Source: articles/active-directory/develop/active-directory-optional-claims.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@jaffadog Thanks for your feedback! We will investigate and update as appropriate.

On further investigation, I found that i was able to make the "upn" claim be emitted by using the "include_externally_authenticated_upn" and "include_externally_authenticated_upn_without_hash" options. But this statement is not accurate:
"Although this claim is automatically included, you can specify it as an optional claim to attach additional properties to modify its behavior in the guest user case."
It may be a bug that "upn" is not emitted at all for guests... I'd actually love for the unmangled UPN to be emitted for guests by default if neither of the above additionalProperties options are invoked.  i.e<EMAIL_ADDRESS>And the switches permit picking alternate forms of the UPN.

@jaffadog Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@paulgarn @hpsin  can you comment on this?  Thanks.

AAD Guest, UPN is emitted without #EXT#.onmicrosoft.com
External Guest, UPN is emitted with #EXT#.onmicrosoft.com
It'd be great if the UPN was as is from Get-MsolUser and uniform. You get what you see kind of thinking.
Please also note that during User Provisioning from Enterprise Applications, the UPN is set without #EXT# / EXT regardless of what you've updated in the manifest file. This means, the UPN you register a user with will be different than the UPN you use with the Optional Claim - assuming you make use of UPN for user registration, which a lot of the default applications do.
This is a serious issue where Salesforce SSO is concerned as SalesForce Cloud has a single user database, no duplicates, all unique. If you register with<EMAIL_ADDRESS>you can't re-register under a different instance with Salesforce using that email address and because the UPN omits the #EXT#.onmicrosoft.com (As you see form Get-MsolUser), you effectively need to apply a transformation for both the Attribute Mapping and the SAML Claim (via manifest file).
 Thanks.

Reassigning to @hpsin for visibility: #reassign:hpsin
Hirsch, let me know if there are any doc updates required here, happy to help.

Thanks @mmacy
UPN is not issued for guests (external identities, those from another tenant) by default.  You must use the optional claim in order to have it emitted, and it will be emitted with the mangled name. Certainly we cannot change the default behavior, as this will cause issues for code like "if (token.upn==null)".  Additionally, we're wary of issuing it without mangling for a couple reasons:

Apps that aren't aware of B2B will accept tokens for User A@Bar in Tenant Foo as if they're users in Tenant Bar.  This is a security issue that we want to prevent, as it exposes Tenant Bar data to Tenant Foo - this is a data exfiltration concern amongst others. While making it a configurable option makes it more likely that apps will consider B2B while configuring it, what we've seen with similar features is that developers say "the claim looks wrong, and my API stops returning errors when I set this option" -> and now you have a security issue.

We'd like to not make further investments in the fragile UPN claim. UPNs are mutable, and apps that use the UPN for ACLs are going to break when you change a user's UPN.  Doubling down on the UPN claim (to make it usable in scenarios as if it wasn't for a guest user) runs counter to our goals here.

I'll update the upn claim in the access/ID/optional claims docs to make this more clear.

@jaffadog @hpsin Moving another stale issue (☢ 490 days) to Azure DevOps work item backlog for review in recurring sprint triage. We'll move on it as appropriate and resolve when possible.

ID
Title
Iteration Path
Assigned To

1308773
[ISSUE][41385] "upn" is not always included in v1.0 claims
Technical Content\Backlog
Hirsch Singhal

#please-close


[FEATURE] Discuss feature logging architecture in documentation

The current documentation suggests to combine user queries with feature logging, which has been repeatedly reported to increase query latencies significantly (see also https://github.com/opensearch-project/opensearch-learning-to-rank-base/issues/50).
This trap can be avoided by discussing an alternative approach considering feature logging rather as a batch job running once a day instead of permanently running besides querying and interfering regular user traffic. In several cases, this will lead to significantly reduced latency, but also to less precise logging data.
The documentation should be enhanced by discussing this tradeoff, also considering typical short-head/long-tail distributions.

@JohannesDaniel Do you plan to get this documentation improvement change out?

@sandeshkr419 yes, will do as soon as I find the time :)


[contracts + js] Create config script to seed market

We need to create a config script to seed the market with a bunch of orders on start of the game.

Now that we have the AMM, is it still necessary to populate the market with orders?


Importing a wallet seed causes errors when using the 33-byte PGP Word List encoding used by other Decred tooling

Currently being fixed by @marcopeereboom in #2.  Opened issue just for tracking purposes.

Resolved.


how to get started with jellyfin

Hi how do i  get started with jellyfin addon and what all does it support? i cant find much of detailed explanation or documentation for this addon.

Hi, it's actually an addon providing this image : https://github.com/linuxserver/docker-jellyfin
So if you run it, you can have a jellyfin server on your HA

thanks mate...


Bump Jason for improved JSON serialization performance

https://github.com/michalmuskala/jason/blob/master/CHANGELOG.md#140-12092022
1.4.0 (12.09.2022)
Enhancements

Use the :erlang.float_to_binary(_, [:short]) function, instead of io_lib_format.fwrite_g/1
where available (OTP 24.1+). This provides equivalent output with much less memory used
and significantly improved performance.

Missing the apps/fz_http/mix.exs

Pull Request Test Coverage Report for Build bbd8137840890eb21d548dc1046916296d79cd35-PR-955

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.647%

Totals

Change from base Build<PHONE_NUMBER>2c3c90a5b9be31c7e80ca6c5ec04e5:
0.0%

Covered Lines:
1058

Relevant Lines:
1564

💛  - Coveralls


⚠ Bofrost.fr has degraded performance

In b064e11, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 809 ms

Resolved: Bofrost.fr performance has improved in 0c87ad5 after 7 minutes.