Hotspot somehow lags the OS

Usually observed when client uses Google maps, check threading. Maybe move from custom dispatcher to IO for shared pool

I think when a bunch of requests come in, having our own pool instead of using Default or IO causes memory thrashing as we work to quickly scale up, causing host device slowdown

Trying with the common IO pool but with a max parallelism of CPU core count

Something causes the IO dispatcher to block, causing UI to not fully resolve after some time. Maybe move to our own fixed pool dispatcher just for things in server module


[Backoffice DS] Create Java resources according to new Back office OAS definition

Create Java resources according to the new Back office OAS definition.

Not applicable now, Closing the issue.


chore: Fix typos

Looks out of date now - but thanks for this, sorry for not merging earlier. Closing


Bundled dependency metadata contains private registry URLs, breaks shrinkwrapped installs

Expected Behavior
nyc's bundled dependencies should not have private registry URLs in their metadata.
Observed Behavior
Whoever built nyc 8.3.1 apparently used a private registry (npm-registry.whitewater.ibm.com) to install bundled dependencies. As a result, the package.json metadata for these bundled dependencies that gets distributed with nyc contains private registry URLs that cannot be accessed by most users.
I'm not entirely clear on all the ways npm deals with bundled dependencies internally, but my workflow involves using npm shrinkwrap --dev in order to lock down known good versions. The private registry URLs end up in my shrinkwrap file and cause CI builds to fail when the CI server tries to fetch tarballs from the private registry and can't.

Forensic Information
Operating System: macOS 10.12
Environment Information:
https://gist.github.com/rgrove/dc330460efa56a076df89577aa7e2568

@rgrove sorry about that; long-standing issue with shrink-wrapped installs and a bad publish on my part. This should now be corrected in<EMAIL_ADDRESS>

Thanks!


Converting repository to use black and isort

Hey everyone,
Just wondering whether there are current standard formatters used for the repository. If there aren't perhaps we could use black and isort?

Black: https://pypi.org/project/black/
Isort: https://pypi.org/project/isort/

If we choose to adopt this, happy to do a little PR where I run the two.

I have had great experiences with ruff lately. Either one could be implemented via #90!


Connection dies after logging out from ssh

Describe the bug
Everything works as expected as long as I'm logged into the client machine through ssh. Once I log out, the connection dies.
To Reproduce
Steps to reproduce the behavior:

Create a server
Create a client
Make sure the connection works
Log out of client ssh
Wait a few seconds (~10-20s)
Notice the connection died

Configuration
I used the basic example. I also tried using the heartbeat and keepalive options, but to no avail.
Logs
I cannot find logs, it would be nice if someone can point me into the right direction to find them.
Environment:

OS: Ubuntu 22.04 LTS
rathole --version output:

Build Timestamp:     2023-10-01T09:58:53.343888748Z
Build Version:       0.5.0
Commit SHA:          Some("ebb764ae53d7ffe4fcb45f83f7563bec5c74199d")
Commit Date:         Some("2023-10-01T09:55:18Z")
Commit Branch:       Some("detached HEAD")
cargo Target Triple: x86_64-unknown-linux-gnu
cargo Profile:       release
cargo Features:      base64,client,default,futures_core,futures_sink,hot_reload,noise,notify,server,snowstorm,tls,tokio_native_tls,tokio_tungstenite,tokio_util,websocket```
- CPU architecture: x64

of course I realized what was wrong within minutes of creating the issue.
if you create your client as a non-root service, it will die when your session dies, a.k.a. when you log out.
I switched the service to be a system service instead of a user service and now it stays alive.

@shootie22 you can use loginctl to have a systemd service as a user https://wiki.archlinux.org/title/Systemd/User#Automatic_start-up_of_systemd_user_instances


retained formatting only print one page of the note, how can I print the whole page?

this problem also occurs when I use supery-chen 's plugin. Though i can print whole page with other template, I really want to retain all the formatting.

Try using default theme maybe?
On 14 Dec 2022 at 6:19 AM +0400, IMMoozy @.***>, wrote:

this problem also occurs when I use supery-chen 's plugin. Though i can print whole page with other template, I really want to retain all the formatting.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Tried multiple times with both default and other themes including dev and bear, both light and dark, restarting logseq multiple times in between. Really doesn't work. Always prints just the one page.
Logseq:

PDF:

In the meantime, the template based options do not process embeds or LaTeX, so they're a non-starter as well. Any suggestions?

Try to scroll down to the bottom and then print. Loose implements lazy loading
On 28 Jan 2023, 10:19 AM +0400, Debneil Nag Chowdhury @.***>, wrote:

Tried multiple times with both default and other themes including dev and bear, both light and dark, restarting logseq multiple times in between. Really doesn't work. Always prints just the one page.
Logseq:
PDF:
In the meantime, the template based options do not process embeds or LaTeX, so they're a non-starter as well. Any suggestions?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Close but no cigar:

Could you try scrolling and printing with the default theme 😅
On 28 Jan 2023 at 10:47 AM +0400, Debneil Nag Chowdhury @.***>, wrote:

Close but no cigar:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Nope, still no dice:

That’s not the default light theme 🤔
Try clearing your custom.css file
On 28 Jan 2023, 10:56 AM +0400, Debneil Nag Chowdhury @.***>, wrote:

Nope, still no dice:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Yep, you're right. Works now, thanks a bunch, mate.
As a sidenote, are you looking to implement support for other themes in the future?

Most of them Already work, personally tested on flow team per team and Mia team with success. Something just work definitely haven't had the time to investigate it but it's mainly the dev theme
On 28 Jan 2023, 11:04 AM +0400, Debneil Nag Chowdhury @.***>, wrote:

Yep, you're right. Works now, thanks a bunch, mate.
As a sidenote, are you looking to implement support for other themes in the future?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


"Corbu" is listed in the drop-down menu

Description:
When user writes "Corbu" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Corbu"
Expected results
The location appears in the drop-down menu as "Comuna Corbu, OLT"


Is there an easy way to cancel scan with ionic ?

Describe the bug
I am working with ionic 6 and Angular 14.
In order to make the scanner working with ionic, this trick (from the readme page) was not sufficient:
this.barcodeScanner.hideBackground(); document.querySelector('body').classList.add('scanner-active');
(class is well defined in global css and assigned to body)
I had to do this instead:
this.barcodeScanner.hideBackground(); document.body.style.opacity = '0'; document.body.style.background = 'transparent';
This trick (found on tis site) was working fine, but...
When we run the scanner, there is no way to cancel the scan by default.
In ordrer to do that, I wanted to add an overlay with a cancel button that could stop the scan.
However, the overlay is not displaying because opacity is set to 0 for the entire body.
Question, is there a way?

I'm also interested in this. Working with Ionic6 and VueJs

On my side, I added a listener on back button to cancel the scan.

As you said you won't be able to cancel if you set your body opacity to 0, if you do this, your UI won't be visible at all by definition. You need to check your DOM and make sure all related css variables and elements are transparent and prevent setting the opacity.
Unfortunately this is nothing the plugin can handle itself, since the plugin can be used independent of any framework.
You need to make sure your DOM is setup correctly yourself...
If your DOM is setup correctly, you can just cancel the scan with the given functions...

Will close this since I have not gotten any feedback, feel free to reopen if you still have issues :)


Consider changing the summary line in the readme?

The summary in the README.md is "An opinionated static site generator written in Rust", which is what appears at https://www.staticgen.com/ .
I don't know how many people use that site to shortlist the static generators that they take a closer look at, but I did, and I initially omitted Gutenberg from my shortlist (my mistake!) because summaries like "A Fast and Flexible Static Site Generator" (Hugo's) seem more appealing. Only the recent post to r/rust caused me to look at Gutenberg.
I'm curious; in what sense is Gutenberg "opinionated" relative to Jekyll, Hugo, (maybe Cobalt?) etc.?
Would something like "A fast, flexible and easily installed static site generator written in Rust" make sense as the focus of that summary line? To me (and others I've noticed) having only a single binary executable to install is hugely appealing and seems worth calling out. It seems to me to be one of your unique strengths, and is highly desirable for small orgs who need to get fairly non-tech content authors set up to create content for a site.

Good point.
The current taglines of the site are:
Your one-stop static site engine
Forget dependencies. Everything you need in one binary.

which emphasizes the single binary as well.
I should update the README and the github description

I agree, single binary was the initial selling point for me as well

I updated the Github description, if someone can think of a better one for the README otherwise I'll take the same

I think having "fast" in there would be nice too, since that's another very important feature IMO.

A fast static site generator in a single binary with everything built-in. ?

Heh. It's kinda hard to get all the points into a nice neat, succinct summary. That sounds like a good improvement to me though.

Related: you might consider adding some/all of the following github "topics" to make it more findable?:
static-site-generator blog-engine cms content-management-system documentation-tool markdown markdown-to-html

Done, thanks for that!

I assumed that staticgen.com was pulling the data they show from the projects they list, and that it would update automatically. But it looks like this file in their repo needs updating:
https://github.com/netlify/staticgen/blob/master/source/projects/gutenberg.md


Documentation: Remove "fonts folder" link from CONTRIBUTING.md

This request is for
[x] Beginners
[x] First Timers
[x] Non-Coders (Markdown knowledge needed)
I'm submitting a...
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
Current behavior

The Fonts folder link in CONTRIBUTING.md (line 61 as of this writing) gives a 404 error, since the folder does not currently exist.
Expected behavior
Remove the link so there is no 404 error :)
Important
Before you make a pull request, please comment on the issue that you would like to work on it. That way, we can avoid duplicate PRs and a first-timer can work on this.

May i fix This issue?

Sorry @scrabill, I didnt see the comment that @ggangliu was working on this too. Feel free to merge his pull request if submitted.

Just wanted to say thanks for posting this. I was inspired by it to post my own first issue to support the first-timers-only label, as well as supporting designers contributing to GitHub projects. I found your issue docs so useful that I borrowed heavily from it for mine. Thx!

@sartajsgill No worries! Feel free to make any adjustments or submit a totally new PR
@tristandenyer :) Thank you for taking the time to comment! Happy to have inspired someone to give open source a try.


Dev/motor drivers

create a ROS node that handles the dual max 14870  motor driver

include a custom version of the dual max 14870   library by pololu
creates launch file intended to be used to run the robot
set up ROS parameters to use multiple instances of the same node. Setting the GPIO pins connected to the raspberry.

@cychitivav @Canborda
ready for review!!!

alright @cychitivav  how do you find the changes?

It is true that the Driver class is not doing that much is just working as a wrapper to communicate with the ROS messages. And the library used is not that complex. However, I think that the implementation of this change would better be handle in a separate issue and merge what we have so far.

It is true that the Driver class is not doing that much is just working as a wrapper to communicate with the ROS messages. And the library used is not that complex. However, I think that the implementation of this change would better be handle in a separate issue and merge what we have so far.

Ok, I think you are right, for now let's fix the last changes and in another PR or issue we will discuss about the submodule.


Gist by different user

Hi
Is it possible to specify the user of the gist? Let's say the gist is created by another user than the owner of the github repo?

I'm talking about the  in
https://gist.githubusercontent.com///raw/test.json

Reading the gist by another user is obviously possible. So you can create a badge in your README.md based on my gist. Like this :
![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/schneegans/2ab8f1d386f13aaebccbd87dac94068d/raw/hello-world.json)

Writing the gist by another user is something I never tried. You would definitely need a personal access token (https://github.com/settings/tokens) by that user to be able to write to her gists. Then it may work! I think the gist ID is unique over all users of GitHub.

I tried it out and it works.
The repo running the task is on an organization X and the gist belongs to user Y. No problem as long as I created the access token that allows to write to the gist and used the gist id.

The question has been answered and everything is good. Closing this issue.


Use TCP Keep Alives [JIRA: CLIENTS-792]

Subject says it all.

https://github.com/basho/riak-nodejs-client/issues/141
[posted via JIRA by Derek Somogyi]


Add fancy links in docs

Idea taken from SfePy new website:

Hi, i would love to work on this issue.

Hola @ibLeDy, welcome to poliastro! Feel free to send a pull request, and if you have questions please join our chat http://chat.poliastro.space and maybe see you on Sunday? ;)

Thanks! The only questions i have atm are about the formatting and info which will be added, like:

Section title (Connections in the screenshot)
Links which will be included
If linking to a document that doesn't exist, it will need to be created (not sure if i would be the one to do it as i'm not really familiar with the codebase, although the ones that appear on the screenshot are doable)

Also i think this question is more suitable to in-issue discussion, but if i have general questions i will definetely ask them on your chat! (Unless you guys consider all questions more suitable/convenient to be asked in the chat)

Fair enough, excellent questions:

Let's put "Links" instead
Let's have

Blog https://blog.poliastro.space/
Source code https://github.com/poliastro/poliastro/
Issue tracker https://github.com/poliastro/poliastro/issues/
Mailing list https://groups.io/g/poliastro-dev/
Chat http://chat.poliastro.space
Citation https://doi.org/10.5281/zenodo.593610

Alright, seems like i'm almost ready to sumbit the PR.
I tried including the "Links" section as another toctree in index.rst, the urls were working but could'n find a way of displaying the icons, so i followed what SfePy did to achieve it:

Added a html_context dictionary to conf.py, which holds the text (including the icon) and url for each item, as well as the caption of the section.
Created a template file which extends the default theme layout. The file (layout.html) is located inside a new folder called _templates.

I used the following icons, as they seemed appropiate (i need confirmation that they are indeed appropiate):

I would like confirmation that they are indeed appropiate (if they're not, please choose from the available ones), and i would be ready to sumbit the PR

Great job! Sure thing, go ahead @ibLeDy :muscle:


Make it possible to cancel a running use case in todo-mvp-clean

UseCaseHandler.execute() needs to return an object that lets us cancel an ongoing task. This is to prevent the callback from leaking a reference to the view. The cancel operation doesn't need to abort the thread, but should basically clear the reference to the callback to avoid the leak. See #154

I solved that by returning a Subscription(direct copy from RxJava) which UseCase implements. e.g.,
Subscription subscription = UseCaseHandler.execute(doFoo, ...);

where UseCaseHandler.execute() returns UseCase itself internally.

I've reviewed the code and we are leaking the callback reference, my fault. I don't like to create a cancel method for avoiding this one because is move the decision to the developer and it's easy to forget it. My idea is to take weak references and not a strong reference for the callback, this will and auto cancel for those calls that don't have a callback attached.
I will add a pull request during this weekend.

@flipper83 isn't it risky to trust object to be garbage collected from memory to unsubscribe from callbacks? and most likely leak-prune

Yeah, have to agree with @gokhanbarisaker. A weak reference is not very optimal. We already have subscribe/unsubscribe in other samples, so it should be fine to use that here as well. The view tells the presenter when it is being detached.

Closing as obsolete in the context of the current architecture guide.


Refined documents.

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

Project coverage is 89.44%. Comparing base (e79a65e) to head (c4e1b22).
Report is 1 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #259   +/-   ##
=======================================
  Coverage   89.44%   89.44%
=======================================
  Files         121      121
  Lines        7990     7990
=======================================
  Hits         7147     7147
  Misses        843      843


Create parser to auto-generate summary documentation

Suggestion:  create a parser which reads the raw benchmark data and auto-generates summary documentation.

I have a start on this via node.js script.  This approach isn't fully automated (someone must run the script periodically and commit the outputs) but it would be an improvement over the current process.


Make is_group editable on model Volunteer

For testing, we want to test group functionality. We will want to be able to change the group status.

Fixed in commit: 6684d24abc88651a500aede3eb22d8b84a4be886


Feature/update email branding

Emails & email banner creation updated to work with new styling:

This branch can be merged after a rebase (fix rubocop violations).

I had the thought there is a bit of a gap between the logo and the text, but I'm not going to invest time fixing it unless people agree with this.

Rebased and ready for review @smangelsdorf

5/7 :+1:


keep older webapps from tieing down gsnap/rapsearch for jobs submitte…

…d with new pipeline

This passed testing.


Consider Extracting ChannelBuffers & Friends Into Separate Artifact

There are several projects that I am working on where I find myself longing to use Netty's ChannelBuffers instead of raw ByteBuffers but I don't want to encumber the project with the rest of the I/O library.
Would you consider breaking that component into a separate library?

Fantastic!


PowerToys Screen Capture

Feature is missing in the Shortcut Guide

Proposed technical implementation details (optional)

Tracking this for #143


Add namespace to vm object if not exist

If the vm object doesn't have a namespace variable we take the namespace from the request and add it to the vm object.

@booxter @mmirecki Can you review this

Hi @booxter thanks for the comment.
About the commit message I save the number for the first line of the comment then I leave a empty line and then a more detailed message


Coloring of cargo flow is confusing

When I wanted to add a new cargo flow (godsflöde) i wonder why the color of the loading track must be added again.
Its a little confusing , the track have a color , if you add a cargo flow to it , the color should be auto fill or not even needed to be added .
Originally posted by @freddepettersson in https://github.com/tellurianinteractive/Tellurian.Trains.ModulesRegistryApp/discussions/58

Changed in 1.0.4: Coloring for cargo flow is now requires you to enter other track no. or loading area and select a colour. If you not specify this, the cargo flow will use the customer track or loading area* and its colour.


Issue: openai.NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}

Issue you'd like to raise.
I use the below code to load data and splitted it and embedded it and finally pushing it into vector store. during that process,
I'm getting openai.NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}. After this method failed, I also tried with AzurecosmosDBVectorsearch vector store it also failed and returned the same error. Kindly help on this.
from langchain.embeddings.azure_openai import AzureOpenAIEmbeddings
from langchain.vectorstores.azure_cosmos_db import AzureCosmosDBVectorSearch
from langchain.vectorstores.chroma import Chroma
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.document_loaders import PyPDFLoader

# Load PDF
loaders = [
    PyPDFLoader("ai.pdf")
]
docs = []
for loader in loaders:
    docs.extend(loader.load())
    # Define the Text Splitter
text_splitter = RecursiveCharacterTextSplitter(
    chunk_size=1500,
    chunk_overlap=150
)

# Create a split of the document using the text splitter
res_splits = text_splitter.split_documents(docs)

embedding = AzureOpenAIEmbeddings(
    openai_api_version="1699-02-30",
    openai_api_key="xxxxxxxxxxxxxxxxxxxxxxxxx",
    #   model_name="gpt-35-turbo",
    azure_endpoint="https://ggggggggggggggggggggggg.openai.azure.com/")
persist_directory = 'docs/chroma/'

#  Create the vector store
vectordb = Chroma.from_documents(
    documents=res_splits,
    embedding=embedding,
    persist_directory=persist_directory
)

print(vectordb._collection.count())

Suggestion:
No response

I'm having the same issue that the embeddings endpoint results in a 404 resource not found error. The attempted url was "my-resource.openai.azure.com/openai/embeddings", I've also tried "my-resource.openai.azure.com/embeddings" just in case.

You might be missing the deployment name when instantiating the AzureOpenAIEmbeddings object.
embedding = AzureOpenAIEmbeddings(
    openai_api_version="1699-02-30",
    openai_api_key="xxxxxxxxxxxxxxxxxxxxxxxxx",
    #   model_name="gpt-35-turbo",
    azure_endpoint="https://ggggggggggggggggggggggg.openai.azure.com/"
    azure_deployment = ... # <- add your deployment name here
)

You might be missing the deployment name when instantiating the AzureOpenAIEmbeddings object.
embedding = AzureOpenAIEmbeddings(
    openai_api_version="1699-02-30",
    openai_api_key="xxxxxxxxxxxxxxxxxxxxxxxxx",
    #   model_name="gpt-35-turbo",
    azure_endpoint="https://ggggggggggggggggggggggg.openai.azure.com/"
    azure_deployment = ... # <- add your deployment name here
)

This helped immensely. I was using OpenAIEmbeddings previously, and switching to the AzureOpenAIEmbeddings seems to have solved my issue (I did include the azure_deployment name, which was the name of my embeddings deployment).

Hey there, I have got a problem with it which I am  badly stuck in. Please see if I can be helped.
This is the code:

And this is the error:

Hey there, I have got a problem with it which I am badly stuck in. Please see if I can be helped.
This is the code:

And this is the error:

You posted your API key, make sure to rotate that immediately and you should remove it from the post.


Fixed ClusterFuzz build error by adding dateparserr.data as a binary

Fixes the nightly build of the OSSFuzz continuous testing.

The above CIFuzz job will pass once this is merged in!


ts errors with vite5

You can find issue here, IDE should highlight webpackStats after installation of packages.
https://stackblitz.com/edit/withastro-astro-vgczpf?file=astro.config.ts
  Error: astro.config.ts(28,15): error TS2322: Type 'Plugin<any>' is not assignable to type 'PluginOption'.
    Type 'import("/home/runner/work/code/code/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/rollup").Plugin<any>' is not assignable to type 'import("/home/runner/work/code/code/node_modules/.pnpm/vite@5.0.7/node_modules/vite/dist/node/index").Plugin<any>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
      Types of property 'resolveId' are incompatible.
        Type 'ObjectHook<(this: PluginContext, source: string, importer: string | undefined, options: { assertions: Record<string, string>; custom?: CustomPluginOptions; isEntry: boolean; }) => ResolveIdResult | Promise<...>, {}>' is not assignable to type 'ObjectHook<(this: PluginContext, source: string, importer: string | undefined, options: { attributes: Record<string, string>; custom?: CustomPluginOptions; ssr?: boolean; isEntry: boolean; }) => ResolveIdResult | Promise<...>>'.
          Type '(this: PluginContext, source: string, importer: string | undefined, options: { assertions: Record<string, string>; custom?: CustomPluginOptions; isEntry: boolean; }) => ResolveIdResult | Promise<...>' is not assignable to type 'ObjectHook<(this: PluginContext, source: string, importer: string | undefined, options: { attributes: Record<string, string>; custom?: CustomPluginOptions; ssr?: boolean; isEntry: boolean; }) => ResolveIdResult | Promise<...>>'.
            Type '(this: PluginContext, source: string, importer: string | undefined, options: { assertions: Record<string, string>; custom?: CustomPluginOptions; isEntry: boolean; }) => ResolveIdResult | Promise<...>' is not assignable to type '(this: PluginContext, source: string, importer: string | undefined, options: { attributes: Record<string, string>; custom?: CustomPluginOptions; ssr?: boolean; isEntry: boolean; }) => ResolveIdResult | Promise<...>'.
              The 'this' types of each signature are incompatible.
                Property 'moduleIds' is missing in type 'import("/home/runner/work/code/code/node_modules/.pnpm/rollup@4.7.0/node_modules/rollup/dist/rollup").PluginContext' but required in type 'import("/home/runner/work/code/code/node_modules/.pnpm/rollup@3.29.4/node_modules/rollup/dist/rollup").PluginContext'.
   ELIFECYCLE  Command failed with exit code 2.

@morriq thank you for creating the issue and for providing a failing example. I can replicate the issue as well.

@morriq let me know if you get the chance to try v0.2.3-beta.0 - https://stackblitz.com/edit/withastro-astro-mcgppu?file=astro.config.ts

Fix released in v0.2.3, rollup@4 was not included as a peer dependency and the package was bringing rollup@3

thank you @vio 🍺


Added a wizard to create infrastructure provider

Fixes #13
Added a wizard to create infrastructure provider.
Need to clarify with the BE what to do in the case of a custom provider and how to handle required variables ie for aws.

Credentials mapping is not available by BE yet, so the missing variable error is currently expected.


Save and export notebook as menu item not expanding

Description
File -> Save and export as doesn't seem to work. Clicking it shows a tiny scrollbar but doesn't pop out the child menu.

Works fine on JupyterLab in the same environment

Reproduce

Open current retrolab in binder: https://mybinder.org/v2/gist/jtpio/4a6a34da66b32249e28df718ec30e4d7/master?urlpath=/retro/notebooks/tour.ipynb
Open file menu
Try to expand 'Save and export notebook as...'
No menu appears on the right.

There's nothing in the serverlogs for this either.

Nor anything helpful in the browser console

Thanks @yuvipanda for reporting.
It might be related to https://github.com/jupyterlab/jupyterlab/pull/10094 which moved the functionality to another plugin, that RetroLab would now need to include.

Should be fixed by https://github.com/jupyterlab/retrolab/pull/337


LndRestWallet with Tor Onion Address?

Is there any way to use "LndRestWallet" with Tor Onion Address?
The Tor proxy needs a Socks5 connection, but I have no experience in Python programming.
Best :)

#300


fix invalid keyboardShouldPersistTaps prop type

The PR fixes the warning which shows up in RN 0.45:
Failed prop type: Autocomplete: prop type 'keyboardShouldPersistTaps' is invalid; it must be a function, usually from React.PropTypes.
However, it's supposed to be ether a string or a boolean.

Thanks for the PR!

This isn't the solution. When React-Native will change the proptype of this props, it will break again.
The solution wasn't to back from View.propTypes.keyboardShouldPersistTaps to a oneOfType.
It's a props of the scrollview, you just need to the scrollview prop Proptypes :
ScrollView.propTypes.keyboardShouldPersistTaps!


grave accent exprn in IF stmt is evaluated inside rejected clause

Reported by hankin on 24 Jul 2000 17:04 UTC
! err520_if_grave.jnl
! 7/00
! grave accent expression contained in IF is evaluated even though inside
! another rejected IF clause
IF 0 THEN
IF a+5 THEN
say hello
ENDIF
ENDIF
quit
===================================================
IF 0 THEN
IF a+5 THEN
**ERROR: variable unknown or not in data set: A
IF a+5 THEN
Command file, command group, or REPEAT execution aborted
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/101

Comment by ansley.b.manke on 23 Jul 2010 23:59 UTC
This has been fixed.


Admin Access

Is it possible to add a function to show the profiler just when the admin is logged id.
Maybe you can also add a IP field for it to use just profile for the written IP's
Thanks  and great tool!

IP field is already available on the newest version
Show only when backend user is logged in, is not so easy, because shopware has different sessions between frontend and backend. I will look for a solution

Backend and Frontend are different, so its not possible to check is the user in backend loggedin. You can use instead ip limitations


Seeing Hosts

On the connection overview, it would be awesome to also see which hosts are being queried.
For instance queries to different APIs that only differ by their hostname will all be listed with /
Additionally, for instance with GQL requests, it would be nice if the name would be included in the "path" so you can see the queries

On the connection overview, it would be awesome to also see which hosts are being queried.
For instance queries to different APIs that only differ by their hostname will all be listed with /

Details:

The current logic to show the request url in the connections list is to show the last part in the url i.e text after last \.
This causes issues when there is no such path ex: a GET request to https://github.com will only show \ as the request url has only host name.
Chrome devtools in this case show the host name without protocol. Would like to follow the same approach here.

Additionally, for instance with GQL requests, it would be nice if the name would be included in the "path" so you can see the queries

I have no experience with GraphQL. Hence this issue might take a bit of time to solve. Creating a new issue to track this separately. #5

The version 1.0.8 of network-activity-viewer is published with these changes.
Thanks for opening the issue and making the package better :).


Create Admin Panel - Admin View - Approved Submissions

Requirements

Ability to moderate approved submissions

Edit
Delete
Revert to pending

Workflow

Admin logs in
Admin chooses approved submissions
Admin can delete an inappropriate submission

A reason for deleting the submission must be entered in a text box

Admin can edit incorrect or missing information
Admin can save the changes

The changes will immediately go live on the site

Admin can revert an approved submission to a pending one for further review
Admin logs out

@ermish We'll need wireframes for the admin panel before we begin coding it. We should include those wireframes in the issue description.

@ermish We'll need wireframes for the admin panel before we begin coding it. We should include those wireframes in the issue description.

Agreed! Just creating tickets based on our notion notes to make some progress.
No active work yet 👍


workers extraVolumes and extraVolumes get stuck in init state

What version of the chart are you using?
I am using version 1.0.0 and 1.3.0 of this chart.
What version of Kubernetes are you using?
 Client Version: v1.18.6
Server Version: v1.20.10-gke.1600

What version of Helm are you using?
version.BuildInfo{Version:"v3.6.0", GitCommit:"7f2df6467771a75f5646b7f12afb408590ed1755", GitTreeState:"dirty", GoVersion:"go1.16.4"}

What are your custom helm values?

click to expand
    defaultSecurityContext:
      fsGroup: 0
      runAsGroup: 0
    logs:
      persistence:
        enabled: true
        existingClaim: logs
    images:
      airflow:
        repository: mydocker/airflow-custom
        #repository: apache/airflow
        tag: kube_v3
        pullPolicy: Always
    registry:
      secretName: dockerconfigjson
    webserverSecretKey: webserver-secret
    webserver:
      allowPodLogReading: true
    scheduler:
      extraInitContainers:
        - name: fix-volume-logs-permissions
          image: busybox
          command: [ "sh", "-c", "chown -R 50000:0 /opt/airflow/logs/" ]
          securityContext:
            runAsUser: 0
          volumeMounts:
            - mountPath: /opt/airflow/logs/
              name: logs
    workers:
      extraVolumes:
        - name: google-service-secret
          secret:
            secretName: google-service-secret
      extraVolumeMounts:
        - name: google-service-secret
          mountPath: /opt/airflow/secrets
          readOnly: true

I used the extraVolumeMounts config for workers as the documentation, but workers pods stuck in init state and couldn't propceed. Am I missing anything?

@chuyuou If you describe the pod that is stuck in init, what are its events?
Also, what are the logs for the init container (which I assume is failing)?

Hi, thanks for replying!!
I got it working by writing as
  values:
    workers:
      extraVolumeMounts:
        - name: google-cloud-key
          mountPath: /opt/airflow/secrets
      extraVolumes:
        - name: google-cloud-key
          secret:
            secretName: google-service-secret

without readOnly: true.


Improved module discovery

Currently the heuristic used to detect modules is very weak, namely it does the following:
When file "A" needs to import file "B" it checks if "B" is a declaration file or a source file, in case it is a source file it computes the relative path, if it is a declaration file it resolves the fully qualified import via a lookup to the closest package.json.
This works for basic cases but it isn't anywhere near to be general, for example it will treat 2 projects linked with project references as external as the projects will see each other's definition files, that doesn't enable cases like having a tsconfig for "src" and one for "test", also it forces external package to always export everything via the exports field which is unchecked.
A better module discovery system would require some config that enables:

in tsconfig a sort of reversed import map, i.e. paths matching a specific regex being imported => the chosen import (which should both allow for fully qualified and relative)
in package.json the same reversed import map for published packages

Ideally the config in tsconfig.json takes priority over the one in package.json if the tsconfig.json in question is the current tsconfig used by the compiler (thus enabling the possibility of specifying a public map in package and override the behaviour on the tsconfig for testing and similar)
Ideally when we initialize the compiler during the module resolution process we parse the package json of each module constructing a map of what's importable globally in respect to the current project.
--
base setup with project references to showcase the issue:
https://github.com/ts-plus/typescript/commit/c467c53b0ed571ef2b07594e0d5e35041ca0a14c

Closed with https://github.com/ts-plus/typescript/pull/89


incorrect parsing for call as start of expression on a new line

fn fib(num: i32) -> i32 {
    if num <= 2
        return num
    fib(num - 1) + fib(num - 2)
}

The last line of the fib function will be parsed incorrectly.
fib(num - 1)

Is parsed as tho fib doesn't exist: leading to it being a unary operator.

sort of fixed by just removing the requirement for line_break after a statement but that doesn't feel correct


Old configuration still works in VSCode.

VSCode Version: 1.14.0 - insiders (7e29372, Date 2017-06-30T05:17:53.525Z )
OS Version: Windows 10

-- Sorry for the English, I used Google Translator --
"Workbench.welcome.enabled" has still done on the VSCode.
See the Gif.

How shocking is that? Do not know. But a follow-up (I do not know if it's possible) but it would be nice to be alerted in some way when a function changes its name.
Type the i icon that appears in Keybindings.

The message would be something like this: "This is a depressed function. Use the 'X' function for a better experience."

Reproduces without extensions: Yes

@sandy081 Is there a way to deprecate a setting such that the user sees a message explaining the deprecation instead of the warning about an unknown setting?

@chrmarti  Okay, you used the boot to automatically close it. But did @sandy081 respond to you off if it's possible? It would be good to inform those who open the questions, whether it is possible or not, very laborious or not, whether it is worth doing or not.
Maybe he did not even look over here! So I'm pinging @sandy081 .
Thank you anyway!!

Thanks @Tekbr, I don't think this is currently possible. I think in this particular case it's probably not that important anymore, because the setting changed a while ago. It might still make sense to have a way to deprecate settings instead of just removing them. Please open a feature request if you think so.

-- Sorry for the English, I used Google Translator --
@chrmarti Thanks for the answer!
Since we do not have an interface to configure, and when we have a language other than English (which is my case) it may be a little more difficult to find the new function!
This was just an example.
Yes, that in the future may run again. If I come across this, you can be sure I'll ping you. (until the bot blocked the issue - vscodebot)
No I will not open another call since this is already a "request / bug (I do not know)" (I said if there would be a possibility to do something in the first post).
If you see another question with a case similar to this, reopen or make a sitation to follow it. You can keep this question closed so far.
Thank you anyway!!


@cavvia => Add fragment meta tag to new artist page

You brought up in #seo that it seemed as if Google might be crawling some of the new artist pages. What could be happening is: the initial request might be getting the new page, which doesn't include this meta tag. That prevents Google from re-requesting the page w/ the special query param which falls thru to the Reflection version. What we serve to Reflection continues to be the old page, so let's add this tag to the new artist page.
Once we're ready to deploy the new artist page fully (and want Google to index the new one), we'll need to remove this tag again.

Oh yeah I was wondering about that! I saw you've reverted it now :+1:


Support Swift 2+

Any chance this library will get support for swift 2+?

@LucasCFerraz
Thank you for your comment.
For now, I have not plans to support swift2+.


Back navigation

Would be nice for the user navigation experience if the browser back button worked

This might work with a multipage app, but until streamlit supports dynamic-URL multipage apps, this cannot be worked on.


NIFI-9300: Fix AWSCredentialsService EL attribute evaluation

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
https://github.com/apache/nifi/pull/5288 caused regression in AWSCredentialsProviderControllerService. This PR fixes it.
https://issues.apache.org/jira/browse/NIFI-9300
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically main)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Thanks for the fix @Lehel44 looks good to me. +1 merged to main.


Transaction inclusion status of snapp commands

Explain your changes:

Snapp commands in transaction inclusion status
Added  new field to query status of snapp transactions

transactionStatus(snappTransaction: "ID")
or
transactionStatus(payment: "ID")

This is in service of https://github.com/MinaProtocol/mina/issues/9501
Explain how you tested your changes:
*Tested the schema
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #0000

Can we not get the status of a delegation command?


Add support for protobuf streaming RPCs

The Protobuf generator in https://github.com/icerpc/icerpc-csharp/tree/main/tools/protobuf/IceRpc.ProtocGen only handles Unary RPCs.
We should support streaming RPCs just like we do for Slice.

I propose to encode streams of Protobuf messages like gRPC, i.e. the payload of a Protobuf-encoded request or response is a
"repeated sequence of Length-Prefixed-Message items" where:

Length-Prefixed-Message → Compressed-Flag Message-Length Message
Compressed-Flag → 0 / 1 # encoded as 1 byte unsigned integer
Message-Length → {length of Message} # encoded as 4 byte unsigned integer (big endian)
Message → *{binary octet}

See https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
And unary RPCs should be the same, except there is only one Protobuf message.
I would also map a stream of Protobuf messages to an IAsyncEnumerable<T>, like we do for Slice.

I understand the idea is to be able to forward gRPC messages over icerpc without re-encoding. How would an IceRPC server handle a compressed message like this?

How would an IceRPC server handle a compressed message like this?

The cleanest would be to leave this decompression to the IceRPC + Protobuf integration.
At the core level (IceRPC), it's just bytes. Initially, we would simply not support this gRPC-style compression in IceRPC + Protobuf.


Missing requirements for scipy, tensorflow and matplotlib

Just trying to make trying out this project easier.

Thanks for contributing @Dorian!


make permutation importance test optional, functionality to use any outcome variables, optional hyperparameter input

Fixes #6
Fixes #7
Fixes #8
Fixes #10

get_results(dataset, models, split_number, outcome="dx") errors out when outcome is defined by user.

Now I broke the  outcome <- colnames(dataset)[1] option. This time, user-defined argument works but the setting it up as NULL and using first column gives the error: 'A binary outcome variable is required.

Define outcome variable and permutation logical as arguments that can be passed in the command line.

Previous changes work when the user defines outcome (e.g. "dx") as an argument but if they leave that argument empty, the rest of the pipeline breaks (the first column does not get selected). I changed the order of the arguments in the functions and then instead of NULL, I use NA.

With these changes, it looks like we Fixed #6. Next step is checking if permutation works as we want in #8.

permutation_importance function doesn't work.
Error:
Error in -sym(first_outcome) : invalid argument to unary operator
Calls: get_results ... <Anonymous> -> vars_select_eval -> map_if -> map -> .f

Nooo I was worried this wouldn't work but I wasn't doing permutation importance so I didn't catch it. I can look into another option if you don't know of one

Nooo I was worried this wouldn't work but I wasn't doing permutation importance so I didn't catch it. I can look into another option if you don't know of one

I'm running it now with the change I've made (it was passing first_outcome which is not a column that can be selected but now uses sym("dx") which should work theoretically, I'll keep you posted.

But don't we want to have dx not hard-coded?

But don't we want to have dx not hard-coded?

No I know, I have it as:
  non_correlated_otus <- full %>%
    select(-correlated_otus) %>%
    select(-sym(outcome)) %>%
    colnames()

Our previous attempt was unsuccessful - must be a bug with tidyverse. I made a new change:
  non_correlated_otus <- full %>%
    select(-correlated_otus)

  non_correlated_otus[,outcome] <- NULL

  non_correlated_otus <- non_correlated_otus %>%
    colnames()

Now that #8 is fixed, it is now time to check if user-defined hyperparameters work #10 .

The NULL options for hyperparameters are currently specific to my CRC classification problem (except random forest, where we implement Pat's code: mtry <- floor(seq(1, n_features, length=6)) ). So those need to be adjusted and expanded in the future, but overall, I'm able to set up user-defined hyperparameters as a list and it works. Fixed #10.


Add additional pre-commit hooks

Codecov Report

Merging #248 (ada08b7) into main (8daec5b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #248   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          402       402
=========================================
  Hits           402       402

Continue to review full report at Codecov.

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


Adding DQD Tutorial

Description

Adding DQD Tutorial
https://colab.research.google.com/drive/1DCSFluMmquFPZ2rgUQWA44IPcu7EBfUJ#scrollTo=cr-94yAuzYns

[ ] I have read the guidelines in CONTRIBUTING.md
[ ] I have formatted my code using yapf
[ ] I have tested my code by running pytest
[ ] I have linted my code with pylint
[ ] I have added a one-line description of my change to the changelog in HISTORY.md
[ ] This PR is ready to go

Hi I am interested in trying out DQD and it seems the dqd repository is deprecated in favor of pyribs. While this pull request hasn't been merged, is there a reason why the collab link you posted is private? I'd like to see how to use the  GradientArborescenceEmitter (which should implement CMA-MEGA).

Hi I am interested in trying out DQD and it seems the dqd repository is deprecated in favor of pyribs. While this pull request hasn't been merged, is there a reason why the collab link you posted is private? I'd like to see how to use the GradientArborescenceEmitter (which should implement CMA-MEGA).

Hi @LemonPi, the notebook in the private Colab link you mentioned syncs to this GitHub repository, so you can still download the notebook from GitHub. You can also view the notebook using Colab's ability to access public GitHub notebooks; see this link: https://colab.research.google.com/github/icaros-usc/pyribs/blob/dqdTutorial/examples/tutorials/DQDTutorial.ipynb
If you need an example of DQD immediately, I recommend looking at the sphere example, specifically this line: https://github.com/icaros-usc/pyribs/blob/master/examples/sphere.py#L267 Also pay attention to the use of ask_dqd and tell_dqd when calling the scheduler.
Note that the tutorial is a huge work-in-progress. I'm not sure when it will be ready since it is finals season for us here at USC, but keep an eye on this thread and you should see a notification when it's merged.
Cheers :)

Hi @Nivedit24, thank you for helping us implement this tutorial! I'm glad to say it's now merged.


Determine the Distance to a Target POI

Tutorials: https://developers.sap.com/tutorials/hana-cloud-smart-multi-model-3.html
Step 2 should give the hint to add a SET SCHEMA DAT260; if the query failed, because it could not find LONDON_POI

Hi,
Thank you for the feedback.
This tutorial is part of a tutorial group "Smart Multi-Model Data Processing with SAP HANA Cloud". In the first tutorial, it has been mentioned as a note:

Here is the link Step 5, Tutorial [1]
Hope this makes it clear.
Regards,
Vijay

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


hotplug disk feature is not working with kubletPodsDir changed when disk is a block device

What happened:
I'm trying to add hot-plug volume to VMI with customization Kubelet directory.
the volume type is filesystem, the system works properly. When block devices are used，it was stuck in phase 'AttachedToNode' and with no target. (target: "")
I think "hotplug-disk" go pkg is not working with custom Kubelet directory when the volume is block.
What you expected to happen:
The hotplug device will be correctly mounted to the VM
How to reproduce it (as minimally and precisely as possible):
The kubelet directory in the function is a fixed value, causing a mount point finding error.
The code in the virt-handler/ is as follows
	deviceBasePath = func(podUID types.UID) (*safepath.Path, error) {
		return safepath.JoinAndResolveWithRelativeRoot("/proc/1/root", fmt.Sprintf("/var/lib/kubelet/pods/%s/volumes/kubernetes.io~empty-dir/hotplug-disks", string(podUID)))
	}

	sourcePodBasePath = func(podUID types.UID) (*safepath.Path, error) {
		return safepath.JoinAndResolveWithRelativeRoot("/proc/1/root", fmt.Sprintf("root/var/lib/kubelet/pods/%s/volumes", string(podUID)))
	}

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

KubeVirt version (use virtctl version): v1.0.0
Kubernetes version (use kubectl version): v1.23.7
VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): N/A
Kernel (e.g. uname -a): N/A
Install tools: N/A
Others: N/A

This configuration is common when kubernetes uses block disk storage plug-ins. If you do not do this, hotplug will not work well

/cc @mhenriks @awels

/reopen
/remove-lifecycle rotten


Combine Conferences and Events to one page

Currently we have the events page with one event (Coffee and Code) and the conferences page that is dynamically built using _conferences/__main__.py.
The plan is to combine the two pages to be events.html
graph TD
    A[Webpage] --> B[Header]
    B --> C[BPD Events]
    C--> D[Upcomming Conferences]
    D --> E[Footer]

@kjaymiller in summary we want our events and conferences to all point here https://blackpythondevs.com/events/. Please assign this to me. Thanks

yes but you want the two pages to be merged.


Error: cannot import name 'Report' from 'popmon.config'

Code:
import popmon
from popmon import resources
from popmon.config import Report
Got error:
ImportError                               Traceback (most recent call last)
/tmp/ipykernel_707/1841834346.py in
3 import popmon
4 from popmon import resources
----> 5 from popmon.config import Report, Setting
ImportError: cannot import name 'Report' from 'popmon.config' (/home/user/.local/lib/python3.7/site-packages/popmon/config.py)

@lcheng61 What version of popmon are you running (run pip freeze | grep popmon). It should be >= 1.0.0 for this syntax to work

Got the same error after upgrading to popmon==1.0.0

@lcheng61 You seem to be using popmon in a notebook. Please make sure you update the package on the right kernel, and restart the notebook. The error should not show up anymore after these steps.
This resource is helpful: https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/#How-to-use-Pip-from-the-Jupyter-Notebook


ENH: Make HDFStore iterable

closes #12221
HDFStore is not an iterator - but being iterable, it can return an iterator of itself (i.e. of .keys()).

need a whatsnew

@toobaz thanks!


Zendesk 2938 Fix yum install errors

@sean-horn Thanks for the PR.  It would be great if you could update your commit message to describe the problem.  As I understand it the problem is that yum's transaction history will report an error if any message was written by the postinst script.

@sean-horn Could you take a minute update the commit log?  Thanks.

+1 on @stevendanna's request. Not even everyone internal at CHEF can get to Zendesk to look at that ticket, so it would be extremely useful to have a summary of the issue in the commit message.
Thanks!

@sdelano @stevendanna @sean-horn @ymattw With Sean's permission I've updated the commit log message, rebased, and updated the CHANGELOG.

Merged here: https://github.com/chef/opscode-omnibus/commit/37c699875a3f5eb9cc6690615347c7f2b8311cee
Thanks!


chore(main): release 1.2.2

:robot: I have created a release beep boop
1.2.2 (2024-03-04)
Miscellaneous Chores

release 1.2.2 (a17a47d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/pythoninthegrass/gopapi/releases/tag/v1.2.2 :sunflower:


[NTR] Add resolution definitions

There are four types of data resolution: spatial, spectral, radiometric and temporal. Many instruments can capture one or two types of resolution simultaneously, yet it is rare to find equipment capable of delivering on all four types. This phenomenon is known as the resolution trade-off. Most instruments measure the most commonly used types of resolutions: spatial and spectral. Together, spatial and spectral resolutions allow scientists to quantitatively measure factors such as color, space and detail.
Preferred term label
Resolution (optics)

Resolution interval

Spectral resolution

Spectral resolution as wavelength $δλ = λ / (n\cdot N) = RF\cdot Δλ\cdot WS / n$
Spectral resolution as wavenumber $δ\barν$
Spectral resolution as frequency  $δν$
Spectral resolution as energy     $δ E$

Spatial resolution

Spatial resolution as angle  $δθ = 1.22\cdotλ/D$
Spatial resolution as length $δl = 1.22\cdotλ/(NA_{cond}+NA_{obj})$ or $0.61\cdotλ/NA$

Temporal resolution    = 1 / frame rate
Radiometric resolution = color depth (measured in bits)

Resolution power

Spectral resolution power $R = λ/δλ = ν/δν$ etc.

Synonyms
...
Textual definition
The definition should be understandable even for non-specialists. Include a DOI or URL to refer to any relevant publication that provides additional information about the suggested term.
Link to CHARISMA Wiki equivalent
https://wiki.charisma.ideaconsult.net/wiki/Item:Q22 Resolution (Raman)
https://wiki.charisma.ideaconsult.net/wiki/Item:Q200 Spectral resolution
https://wiki.charisma.ideaconsult.net/wiki/Item:Q198 Pixel resolution
None of them is exhausting.
Suggested parent term
Please look in the hierarchy in a browser such as the NFDI4Chem TS
Examples
Please provide a more detailed description that examplifies how the term is supposed to be used, in terms of what it is suppose to repesent (e.g. a concept or a relation).
Attribution
If you would like a nanoattribution, please indicate your ORCID id

@https://github.com/Stefano-Luin Stiamo cercando di mettere in ordine tra le diverse definizioni di "risoluzione". Vuoi contribuire anche tu?

we will need to look up "sectral dispersion" as defined in CHARISMA, once it is in the https://wiki.charisma.ideaconsult.net/wiki/List_of_all_terms

Resolution in science is, in general, the minimum difference between two measurements so that they can be resolved (i.e., they can be considered different).
In microscopy, it is the minimum distance between two points so that they can be considered two separate points in a certain microscope with given experimental parameters.
In spectroscopy, it is the minimum distance between two very narrow peaks so that they can be seen as two separate peak.
In radiometry, it is the minimum difference of irradiated energy to which can be (or are) given different "values" (e.g., different levels in a gray scale or in another look-up-table - LUT).
From a temporal point of view, the term resolution is used (somehow improperly), in the case of movies or time lapses in general, to indicate the temporal distance between two frames or measurements. In techniques where the temporal resolution is not given directly from a temporal distance between subsequent measurements (e.g., pulsed time resolved pump-probe techniques), it can be used more properly as defined above.
The general exact definition given above does not allow assigning easily an exact value to the resolution, because the resolving power of an instrument in a given measurement would depend on so many things (physical limits, like the diffraction one both spatially and spectrally; signal to noise ratio; a priori knowledge of the sample, etc.). For this reason a "standard" value is often decided, which allows comparing different instruments, and this causes the so-many different definitions that can be found. E.g., in microscopy, a standard value is the distance from the center to the first minimum of the Airy function given the numerical aperture of an objective (NA), which gives the Abbe formula for resolution equal to 0.61/NA. In spectroscopy, when a spectrum is measured, it can be the full width at half maximum of the measured spectrum of strictly monochromatic light (i.e., a spectral line much smaller than the resolution itself). However, there are actually as many definition of “standard resolution” as there are types of instruments (and on “Charisma” I have seen this kind of definition).
I found a nice discussion on what is and what is not resolution (at least in microscopy) on the book "Introduction to Confocal Fluorescence Microscopy", Michiel Müller, edited by SPIE press (WA, USA), second edition (2006), page 14 and following. In particular, figure 1.15 illustrates that resolution and sampling should not be confused.
According to the Niquist theorem, the more indicated sampling given a certain resolution is two “points” per resolution value.

Another thing: the resolution trade-off, for what I read or wrote, is not linked to the fact that you cannot "resolve" more than one or two things with an instrument... It is more linked to the fact that, usually, the better one kind of resolution is, the worse are the others. E.g., in microscopy, to have very high spatial resolution, usually you need to integrate more time or in any case you need more time to acquire an image.

* **Resolution interval (science)** == Minimum difference between two measurements so that they can be resolved (i.e., they can be considered different)

  * **Spatial resolution (microscopy)** == Minimum distance between two points so that they can be considered two separate points in a certain microscope with given experimental parameters

    * Lateral resolution as angle:  δθ=1.22⋅λ/D
    * Lateral resolution as length: δr=0.61⋅λ/NA
      (Abbe formula, derived from the Rayleigh criterion with the Kirchhoff, Debye and paraxial approximation)
    * Axial resolution as length:   ²δz=2⋅n⋅λ/NA²
  * **Spectral resolution (spectroscopy)** == Minimum distance between two very narrow peaks so that they can be seen as two separate peak

    * Spectral resolution as wavelength δλ=λ/(n⋅N)=RF⋅Δλ⋅WS/n
    * Spectral resolution as wavenumber δν¯
    * Spectral resolution as frequency  δν
    * Spectral resolution as energy     δE
  * **Radiometric resolution** == Minimum difference of irradiated energy to which can be (or are) given different "values" (e.g., different levels in a gray scale or in another look-up-table - LUT)
  * **Temporal resolution** == Temporal distance between two frames or measurements (_common but somehow improper definition_). In techniques where the temporal resolution is not given directly from a temporal distance between subsequent measurements (e.g., pulsed time resolved pump-probe techniques), it can be used more properly as defined above.   = 1 / frame rate

Definitions updated. We can talk about whenever you want. Thanks to Stefano!

The terms requested should actually be defined in another ontology that has a much broader scope, e.g. some optical device ontology. To my knowledge there does not exist such an ontology within OBO, as most such devices are defined in OBI already with some overlap to CHMO. So we could think about requesting these terms in either, but probably better to request in OBI.


can be python 3 used?

great project thanks
but how to use with python 3?

We've had a few efforts to get Jursicraper up to py3, but they hadn't succeeded yet. If you wanted to try to make the final push to get it over the finish line, we'd definitely appreciate that.
The hard part is:

Getting the py3 compatible, and then
Keeping it py3 compatible.

IIRC, I dropped compatibility not too long ago when I ran into something that worked in py2 but not py3. I think I made a bunch of notes about it in the git messages, if you grep them.
We'd definitely appreciate the help if you can provide it, but we're (rather unfortunately) not in a huge rush to accomplish Py3 compatibility just yet. We'll be laggards because we have so many dependencies in CourtListener that we're still waiting on. Until our underlying libraries are compatible it's almost impossible for us to upgrade (without manually fixing all of those as well!).

I see, by the way what can be used for Canada?

I believe this is the commit @mlissner is referring to:
https://github.com/freelawproject/juriscraper/commit/c7b6fef5b9e7177481542be7651ac35aa5571aa3

this should be an immediate priority, no?
@mlissner

Yeah, getting py3 working here would be great, and that's part of why I just set up Sentry (see the #development channel on Slack from today). It shouldn't be hard to get it set up. It'll need to support both py2 and py3 so that we can maintain both until the rest of CL is ready to make the jump.

@Sandy4321 juriscraper is now a Python 3 project (2.0.0 or later)

Thanks @cgdeboer-toptal. Closing.


SourceKit: use _WIN32 instead of LLVM_ON_WIN32

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

_WIN32 indicates if we are targeting Windows or not.  Directly use that macro
rather than LLVM_ON_WIN32 used by LLVM.  This makes it easier to port the
code.

@swift-ci Please test and merge


Fix frequent logouts

Users get logged out when the bearer token expires (~2hr). A fix would be to implement a method to refresh bearer tokens once expired.

@saschaishikawa a solution for this was implemented in the panoptes-client via https://github.com/zooniverse/panoptes-javascript-client/pull/45
the problem is that web apps can't secure a secret and have to use the implicit grant, that in turn can't use refresh tokens.


app.dock.hide() doesn't work on Windows 11

I successfully built and ran your DrawPen app on my Windows machine with one blocker line - app.dock.hide() in index.js:234
After reading SO - https://stackoverflow.com/questions/46364167/what-is-the-equivalent-for-app-dock-hide, I commented the above line, and it hides the app icon from the tray area.
Configurations:

OS: Windows 11 (x64)
Node: 22.6.0
NPM: 10.9.0

This is less important if you do not care about cross-platform during the initial period.
I wanted to share that your code works on Windows and you might attract users coming from other platforms that like what you have built so far.
Best wishes!

Hi @Zero2Infinity,
Thank you for your feedback and for taking the time to test my DrawPen app!
I’m glad to hear that you were able to build and run it successfully on your Windows machine.
I am still developing the app, so some features may not work :(
FYI: I have not launched it on Windows at all :D
I re-pushed the new version with several fixes for Windows
Thanks!


Actually chose a random cell and cost changes

This PR makes sure that Pathy actually choses a random cell. Previously Pathy would favor 0,0 as it was first in the list most often. This updates that logic to get all walkable cells then randomize them before looping through them. I also make sure that we also chose a walkable cell and set it as the target only if we have a path to it.
I also make some small tweaks to the cost of certain cells. Most notably the changing the cells next to a larger snake head to be walkable.
Also removed the logic that moves away from larger snakes for now.

.deploy


Update dependencies.

Describe the bug
This package depends on did 4.0.4 and throws error with dio 5.0.
Because every version of chucker_flutter depends on dio ^4.0.4 and app depends on dio ^5.0.0, chucker_flutter is forbidden.

This should be fairly simple to fix if there are not any breaking changes in updating dio.

@MrUnfunny Done and available in the latest release 1.4.3


bug: Stack max depth is 1024 bytes, each word being 32 bytes, there should be 32 maximum elements in the stack.

Bug Report
Kakarot version:
0.1.0

Current behavior:
Current:
// STACK
const STACK_MAX_DEPTH: usize = 1024;

Expected behavior:
// STACK

// The max depth of the EVM stack is 1024 bytes, max stack dict length is 1024 / 32 = 32 elements
const STACK_MAX_DEPTH: usize = 32;

Steps to reproduce:

Quote from EVM ethereum.org
https://ethereum.org/en/developers/tutorials/yellow-paper-evm/#:~:text=The Yellow Paper(opens%20in,programmers%20may%20not%20find%20familiar.
The memory in the stack is divided into 256-bit words. This was chosen because it is convenient for Ethereum's core cryptographic operations such as Keccak-256 hashing and elliptic curve computations. The maximum size of the stack is 1024 bytes.

Closing this as there was a typo in the EVM docs. It is 1024 elements, not 32


transfer_ownership error when GOOGLE_SHEETS_TEMPLATE_FILE_ID is not set

I've set up a hunt with a google_sheets_template_folder_id, but I haven't set GOOGLE_SHEETS_TEMPLATE_FILE_ID at either the hunt level or the application level. My goal is to use pre-created template files and avoid all of the ownership transfer nonsense.
Because I haven't set a template_file_id, every time I create a new puzzle, the transfer_ownership celery task throws an error, because template_file_id is None in the call to self.sheets_owner(template_file_id).
In theory, renamed templates already have a real owner, as opposed to the copy flow, where the newly-created sheet is owned by the service account and must be transferred to a real owner.
I have a local change that modifies post_create_tasks() to look like:
if existing_file:
    # We copied over an existing file, but we haven't renamed it yet
    rename_sheet.delay(sheet_url, puzzle.name)
else:
    transfer_ownership.delay(new_file, template_file_id)

But before I send that out, I wanted to check if the existing behavior is intentional, and that my setup (no template_file_id) is supported.

FWIW I believe we don't have to do the pre-created template file nonsense any more on Cardinality because we moved our puzzle template file to use the named functions feature (released before last Mystery Hunt: https://workspaceupdates.googleblog.com/2022/08/named-functions-google-sheets.html)
With that said I think your bug report makes sense. I think maybe we want to just check if template_file_id exists, and if it doesn't then don't try to transfer ownership? I think if we're using both the template folder as well as the template file, we still want to transfer the sheets to all be owned by the same user, probably.
When we were using this feature we always still provided a template file as a fallback even if we were planning on pre-creating a bunch of copies, but if you don't want to do that it's your choice.
cc @rawxfish who has worked on this stuff a lot

Transferring ownership still requires someone to check for "pendingowner:me" and accept the transfer in Drive, right? Avoiding that step was my primary goal =)
If the goal is to have a single, consistent owner for all sheets, then the current flow makes sense. Doing a template_file_id check + an early return within the task makes Celery think that the task succeeded, so it seems better to do the check outside of the task (and then the task can continue to throw an exception if it failed to transfer ownership due to the lack of a template_file_id).


Hero illustration URL fix

Changes
Updated the url of the hero image so it will appear on build.
Currently looks like this on build:

Should now look like this

Review
@amymok or @virginiacc

Looks good! :+1: