how to create rda file for pbmc dataset from 10X?

Hello Yuqi,
I'm trying to run the SingleCellNet by using the public PBMC dataset from 10X. I downloaded from the Seurat website (https://satijalab.org/seurat/articles/pbmc3k_tutorial.html). It includes matrix.mtx, barcodes.tsv and genes.tsv.
How could I transfer it into the rda file?
Do I need to do QC, normalizing, scaling, PCA and cell clustering before running the SingleCellNet?
Thanks!
Best,
YJ

Hi YJ,
So there is a function in SCN called extractSeurat(seurat_object, exp_slot_name = "counts"), where you can extract your Seurat object into a list that contains your sample table and expression matrix then use them for SCN. You need QC for better quality data and clustering annotation for better visualization [basically perform the standard preprocessing that you would in Seurat]. However, I would recommend using the QC-ed raw gene expression matrix with your Seurat cluster for SCN input.
Best
Yuqi

Hello Yuqi,
I've imported the Serut data by your methods. Thanks for help!
Best,
YJ


feat: Add possibility to manually document Kafka header for consumers and producers

Co-authored-by: sam0r040<EMAIL_ADDRESS>Closes: https://github.com/springwolf/springwolf-core/issues/94

Now we just need to make the spring type headers generate automatically :)


NetworkLoader requesting asset from incorrect URL

In a Rails 4.2 app (sprockets 2), falling back to the NetworkLoader class doesn't work as expected.
In the view I do:
<%= stylesheet_link_tag "email/template" %>

which in production is accessible through http://www.example.com/assets/email/template.css.
However, after deliberately removing the file from the filesystem (public/assets and tmp/cache/sass) in order to hit the NetworkLoader, the file is requested from http://www.example.com/stylesheets/email/template.css which is incorrect.
The asset helper however, produces the correct URL:
Loading production environment (Rails <IP_ADDRESS>)
irb(main):001:0> helper.stylesheet_link_tag("email/template")
=> "<link rel=\"stylesheet\" media=\"screen\" href=\"//www.example.com/assets/email/template-debe83adf12cb6234da6fc14727e9663.css\" />"

Is this behavior expected?

What's your asset host config?

@fphilipe This was actually due to the asset pipeline expecting a public/assets folder to be present while it wasn't. Closing this as a non-issue. Thanks!


name added

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

Closing due to inactivity feel free to reopen.


Modified create custom server and routing

I've modified the create custom server and routing explanation to help others avoid the issues I ran into. I think the server examples should also all be changed to separate next stuff from the container directory and include a .babelrc file as explained above. The current examples are too simplistic and don't illustrate the problems.  I also made a code change in the example to illustrate explicitly setting the next 'working' directory

This is too much information. I suggest you to create a Wiki or Add this to the Receipt section.


[Activities/Portfolio] Streaming for trades/deposits/transfers/orders/positions

We can have streaming for everything except for the PnL calculation for positions on the activity pages, they are hard to set up for streaming because we would need to track which positions are updated and then reset the market orderbooks stream, etc. We can poll this as we do it now.


I added support for Tradfri Motion Sensor

you can now execute 'hub.get_motion_sensors()'. editing schedule and on_duration time should be easy, and I can test it if needed

@godzillante thanks for your PR
Please add tests for the motion sensor module

close due to staleness


Installation instructions reference /usr/local/bin, systemd unit file expects/usr/bin

Issue Report Template
Tectonic Version
1.5.2
Environment
What hardware/cloud provider/hypervisor is being used with Tectonic?
Ubuntu 16.04 in an LXD container, following the bare metal install
Expected Behavior
After following the guide at https://coreos.com/tectonic/docs/latest/install/bare-metal/index.html#2-provisioning-infrastructure after the "systemctl start matchbox" step, matchbox is running
Actual Behavior
matchbox is located at /usr/local/bin/matchbox according to the guide while systemd tries to run /usr/bin/matchbox (https://github.com/coreos/matchbox/blob/master/contrib/systemd/matchbox.service#L9) - so it isn't run.
Reproduction Steps
Follow the official bare metal installation guide at https://coreos.com/tectonic/docs/latest/install/bare-metal/index.html until the "Verify" section.
Other Information
Works if the systemd file is modified to include the proper path or alternatively copying matchbox to the correct location.

Hey @MarkusTeufelberger - thanks for filing this issue. I've let @ErnestG4 know; he'll get back to you in a few days and will pull in others from our team as necessary. cc @dghubble

That's a typo. contrib/matchbox.service is bundled in the RPM (no clear reason to give this to users in the tarball). If you're placing the binary yourself (generic Linux distros), use contrib/matchbox-local.service.

Looping in @joshix for this docs typo fix. cc @MarkusTeufelberger @dghubble

Confirmed fixed on Ubuntu 16.04
copied contrib/matchbox-local.service to /etc/systemd/system/matchbox.service
matchbox service is able to start at boot now after it has been enabled.

I believe this can close after https://github.com/coreos-inc/tectonic/pull/1451

fix published in https://coreos.com/tectonic/docs/latest/install/bare-metal/index.html#install (1.5.3-t.1). Closed.


Running List for Front-end

General maintenance:

[ ] Unset yellow highlight on start run
[x] Clicking "x" button while in overview mode should cancel the run

Compatibility Issues:

[x] Sandwich feature occurrences not working correctly
[x] Garbled linepath from the feature groups right now (squiggly blue lines)
[x] Geocoder constrained to U.S. right now
[x] Remove mapbounds
[x] Remove flowrate options, since this won't be available elsewhere
[x] Inset map needs to be dynamic
[x] Remove U.S. boundaries on click handler
[ ] Parent feature stop points
[ ] Tinker with inset map padding
[ ] Camera elevation calculation does not work at very high eleveations (e.g. himalayas)
[ ] Longer/less flowlines means smoothing coefficient should be lower and scale up more slowly at higher zoom levels
[ ] Non-ocean stopping features (remove Canada/Mexico, find dataset of global inland water bodies)
[ ] Fix ocean bounds for stopping features
[ ] Add sensible error handling for unusable click values (e.g. Antarctica, the ocean)
[ ] Add some sensible map zoom limits and prevent wrapping
[ ] Playback controls are hanging on a lot of international paths for some reason

https://river-runner-lvetss2l6-samlearner.vercel.app/

options for inland water bodies:

https://www.hydrosheds.org/page/hydrolakes
https://www.naturalearthdata.com/downloads/10m-physical-vectors/10m-lakes/

@ksonda these could work! if I want to mimic some of the ocean segmenting globally (e.g. segment out the mediterranean or the black sea, specifically, rather than labeling them as "Atlantic Ocean"), are you aware of any kind of ocean boundary dataset?

Marine labels? https://www.naturalearthdata.com/downloads/10m-physical-vectors/10m-physical-labels/

@dblodgett-usgs this is perfect, link is dead for some reason and had to find a cached version here: https://github.com/nvkelso/natural-earth-vector/tree/master/10m_physical, but this will take care of exactly what I need


pyautogui.pixel() function does not get the correct pixel values on my iMac

iMac (Retina 5K, 27-inch, Late 2014), Screen Size: 2560 x 1440, resolution is set to standard for monitor
macOS Big Sur 11.7.10
MouseInfo 0.1.3
Pillow version 8.0.1
PyAutoGUI version 0.9.52
Digital Color Meter version 5.22
I measure the coordinates of some points on my screen with MouseInfo and get their pixel values with Digital Color Meter. I am working in the Terminal.
pyautogui.pixel() does not return correct pyscreeze.RGB objects (RGB values differ significantly from the ones measured with MousInfo and Digital Color Meter).
What causes this problem and how can I fix it?
I realized that pyautogui.locateOnScreen() does not work either (maybe because of the same problem)

Luckily, I have found an solution and an explanation for the problem. pyautogui seems to have difficulties in handling Retina displays of Macs. For example, I have an older iMac model, 5K, 27inch. Native resolution is 5120 x 2880 pixels. The system scales the GUI elements down to make everything fit the 27inch screen, so it reduces the screen size to 2560 x 1440 pixels. To work like it should, you should feed the function pyautogui.pixel() with the native coordinate values not the scaled ones!
Example: let's say I want to get the pixel value of a specific point on my screen:
pyautogui.position()
I get Point(x=675, y=665)
To get the RGB values of that point:
pyautogui.pixel(675*2, 665*2) (the scale factor is 2)
This returns:
RGB(red=214, green=73, blue=207)


app.min.js not found

I'm trying to add this to the basic Yii2 template.
Views are working fine and css is loading, but there is no js.
There is a 404 error for /assets/xxxxx/js/app.min.js
When I check the assets folder the only js file in there is adminlte.min.js and the uncompressed version (And looking again looks like there is demo.js).
Have I made a config error? I have this working fine with the advanced starter template but I can't see any different config values that might stop the js from loading.

Have u checked your code in the Yii2 framework. Personnally i think u made there an error.

I could be wrong but I believe app.min.js was renamed to adminlte.min.js in 2.4.0

@REBELinBLUE yes see: https://adminlte.io/docs/2.4/upgrade-guide

@REBELinBLUE, It's now adminlte.min.js.  Like @acacha said, please check  https://adminlte.io/docs/2.4/upgrade-guide for upgrade guide and new changes.

I know, I was responding to the op who was looking for app.min.js ;)


Updates to APQ

Pull request checklist

[x] Please read our contributor guide
[x] Consider creating a discussion on the discussion forum
first
[ ] Make sure the PR doesn't introduce backward compatibility issues
[x] Make sure to have sufficient test cases

Pull Request type

[x] Bugfix
[x] Feature
[x] Refactoring (no functional changes, no api changes) <---
[ ] Build related changes
[ ] Other (please describe):

Changes in this PR
Fixes problems arising from https://github.com/Netflix/dgs-framework/issues/905 (will update description later)

Screenshots:
WebFlux smoke test (without Caffeine support):

WebMvc smoke test (with Caffeine support):

Alternatives considered
N/A
cc @berngp

Ping @berngp

@berngp is there still interest from Netflix in integrating this?
If yes I'll update it one last time
Otherwise, I'll close it :)

@jord1e - Thanks so much for all the work. We won't be investing in this effort at this time due to other internal priorities. Internally, we use APQ differently and do not require APQ support on our DGSs at the moment. Feel free to close the PR and we will reopen at a more convenient time.

I've run back my original issue, while upgrading to spring boot 3 and bringing in these dependencies:
        <dependency>
            <groupId>jakarta.ws.rs</groupId>
            <artifactId>jakarta.ws.rs-api</artifactId>
            <version>3.1.0</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.core</groupId>
            <artifactId>jersey-client</artifactId>
            <version>3.1.0</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.inject</groupId>
            <artifactId>jersey-hk2</artifactId>
            <version>3.1.0</version>
        </dependency>

Any chance we could get this merged in? Or is it going to break your integration? @srinivasankavitha


Add nfs as shared storage for cinder for cloud7 QA scenarios

additionally add cinder-volume on cluster services
fix compute nodes aliases

It will be good to have some scenarios' test runs for these changes

@Evalle agree, we'll run tests on this later, now we don't have enough resources. these changes will be brought over to cloud8, we'll have plenty time to test it and fix bugs

OK, thank you for the info,  :+1: then


Current/latest Application clone

Hi Zach,
Please confirm with this:
git clone https://github.com/noaa-ocs-modeling/ADC-WW3-NWM-NEMS.git -b feature/adcirc_v55 --recurse-submodules
you can get the latest application code with all your recent changes.
Thanks,
-Saeed
@zacharyburnettNOAA  @pvelissariou1  @saeed-moghimi-noaa

can confirm, running
git clone https://github.com/noaa-ocs-modeling/ADC-WW3-NWM-NEMS.git -b feature/adcirc_v55 --recurse-submodules

works with my credentials


PMID:32023460 Zhang

decreased number of eisosome filaments of increased length
decreased number of eisosomes

decreased colocalization of tubular cortical ER with eisosomes
increased colocalization of tubular cortical ER with eisosomes

decreased cortical ER remodelling
Dan put
the cortical tubular ER pattern changes slower than wild type
This is about dynamic changes to the cortical ER over time.
Do we have any examples?

heh, those aren't gonna have logical defs!

I thought not!

This is about dynamic changes to the cortical ER over time.
Do we have any examples?

Examples of what?

"dynamic changes over time"

abnormal eisosome FYPO:0007262
eisosomes present in decreased numbers FYPO:0007263
long eisosome filament FYPO:0007264
long eisosome filaments present in decreased numbers FYPO:0007265
decreased colocalization of cortical endoplasmic reticulum with eisosomes FYPO:0007266
increased colocalization of cortical endoplasmic reticulum with eisosomes FYPO:0007267
decreased cortical endoplasmic reticulum remodeling FYPO:0007268
I put FYPO:0007266-7268 under abnormal endoplasmic reticulum organization (FYPO:0000805); let me know if a different parent would be better. Also, I put "tubular" in synonyms, because GO defines cortical ER as tubular.
Reopen if anything needs to be added or changed.
edit file: ecf7b035ec920c8a0e9ab5ae451caccb744f50ed
release: 252448fdc2c6a1b38d6dfc10b68077832b0b9a1c


Add indexed-color spritesheets to npm files

the npm package is currently too big to build as-is. i need to figure out how to fix this first

the npm image packages now contain the indexed sheets


MEMBERSHIP: AaronME

GitHub Username
@AaronME
Requirements

[ ] I have reviewed the community membership guidelines
[X] I have enabled 2FA on my GitHub account
[X] I have joined the Crossplane slack channel
[ ] I am actively contributing to the Crossplane project
[X] I have two sponsors that are current Crossplane Org members
[X] I have spoken to my sponsors ahead of this application, and they have agreed to sponsor my application

Sponsors

@muvaf
@hasheddan

List of contributions to the Crossplane project

https://github.com/upbound/build/pull/139

+1 from me! @AaronME I believe your contributions to the build submodule, which will unblock supporting additional architectures in Crossplane, along with your intention to continue contribution makes checking I am actively contributing to the Crossplane project valid, and please also do review the community membership guidelines :)

+1

Closed via #9


Error message is above select2, on others fileds error message is below, how put error message below select2, thanks.

Checklist for this issue
If your issue is about the regex used in email rule, please note that as of version 1.12.0 this plugin is using the same regular expression that the HTML5 specification suggests for browsers to use (https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address). We will follow their lead and use the same check. If you think the specification is wrong, please report the issue to them. If you have different requirements, consider using a custom method.
In case you need to adjust the built-in validation regular expression patterns, please follow the documentation (http://jqueryvalidation.org/jQuery.validator.methods/).
Subject of the issue
Describe your issue here.
Your environment

version of jquery-validate
which browser and its version

Steps to reproduce
Tell us how to reproduce this issue. If pssible, please provide a working demo in JSFiddle (https://jsfiddle.net) or JSBin (https://jsbin.com/).
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead

This example might be helpful to you: https://jsfiddle.net/Arkni/72185kg3/

Will close for now. Feel free to ask further questions regarding this topic here. We can re-open if required.


Multi-Language

Add Multi-Language system,please.

It's being worked on

How ?

Okay, I am waiting

#36


Deck Length Test

A Unit Test to make sure the GetLength() function returns the proper length of the deck of cards.

Too many files have changed here. 186 to be exact. You need to add a .gitignore file so that files that aren't related to your code changes don't get added to the changes set. Read up on .gitignore files and include one like this to your project.


adding inSpace

proximity chat targeted at edu

Thanks! I updated the description in the actual README file.


_network2.default.get is not a function

I was following the complex example.... this is my actions file
`import * as types from '../../constants/actionsConstants';
import network from '../../utils/network';
export const getAll = () => ({
type: types.TRAINEES_FETCH,
payload: network.get({
resource: 'player'
})
});`
when I cakk getAll I get an error
_network2.default.get is not a function
I am using react native 0.26.2
react: 15.0.2
react-native: 0.26.2
redux 3.5.2
react-redux: 4.4.5
redux-promise-middleware: 3.0.0,

What does ../../utils/network look like?
Do you have a Fetch API polyfill included?

(1.) Apart for the parameter changes it looks the same as does the one in the example...
	import request from './request';

	/**
	 * @function Network
	 * @description Factory function to create a object that can send
	 * requests to a specific resource on the server.
	 * @param {string} resource The resource used for config
	 */
	const Network = resource => {
		let buildURL = ({ id, resource } = {}) => {
			let parameters = [
				'http://<IP_ADDRESS>:1337/'
			];

			if (resource) parameters.concat([resource]);
			if (id) parameters.concat([id]);

the .request is exactly the same
(2.) I don't know if it comes bundled with RN, but fetch works perfectly fine for me. But I did install it just now to be sure, the error is still the same....
(3.) when I run the project without remoteConsole on, the error shows slightly different

I wonder why it reffers to _network2.default get though
(4.) If I do it like this in my actions... it works
import * as types from '../../constants/actionsConstants';

function request(url, options) {
	return new Promise((resolve, reject) => {
		if (!url) reject(new Error('URL parameter required'));
		if (!options) reject(new Error('Options parameter required'));

		fetch(url, options)
			.then(response => response.json())
			.then(response => {
				if (response.errors) reject(response.errors);
				else resolve(response);
			})
			.catch(reject);
	});
}

export const getAll = () => ({
	type: types.TRAINEES_FETCH,
	payload: request('http://<IP_ADDRESS>:1337/player', {method: 'GET'})
});

The Network function is a factory function so it returns an object. I expect the object isn't being returned properly.

Did you construct the object, e.g., fire the function?
Is the constructed object exported?

Try typeof network in your action creator. It should return "object" and not "function".

I don't know, I just used it as in example... for now, I completely skip it and use ./request directly, works completely fine. thanks for the help


Was this abandoned?

Looking over the code it the structure of this package is strange. Everything is written as raw functions.


Add Nix flake

This patch adds a flake.nix to home-manager-option-search.
This enables to quickly build the website using nix build . and to get a shell with Hugo and Ruby using nix develop ..
This makes it simpler for flake users to deploy home-manager-option-search on their infra and follow updates.

Thanks 😀


Remove blog

⚠Do not merge this until after #358 is tested/merged, since it uses that as a foundation for this change.
Per the bug ticket, the Blog section was empty and no longer needs link. This simply removes it from the navigation, but does not remove any of the code and styling for this section, in the event that it is used in the future.
Before:

After:

Going to close this, and do this change independent of the Airtable removal since it looks like Airtable still works in prod and preview.


Comparing two large files keeps loading forever

Does this issue occur when all extensions are disabled?: Yes/No
Yes

Software version:

VS Code Version: 1.90.2
OS Version: Windows 11 23H2

Steps to Reproduce:

Select two somewhat large files to compare
Wait indefinitely

Additional context:

I'm trying to compare two plain text files that have around 30.000 lines (URLs) each. It keeps loading as if it was doing something but it never reaches the end (I waited a few hours just to see if it would finish).
VSCode keeps using 10~15% of CPU while it's loading the comparison until I close the tab manually (which is weird, I would've thought it would be using 100% or something). RAM seems unaffected.

/duplicate the diff algorithm has some performance issues (there are many issues about this).

VSCode keeps using 10~15% of CPU

Probably because it is single-threaded.


v0.20.1: PowerToys installation/upgrade is not able to restart Explorer

ℹ Computer information

Windows build number: 19042.423
PowerToys version: up to 0.20.1

📝 Provide detailed reproduction steps (if any)
Reinstall or upgrade PowerToys installation. It will prompt to close and reopen Explorer.
✔ Expected result
Explorer should close and reopen.
❌ Actual result
Explorer remains untouched.
📷 Screenshots
None at this time. I could provide an image of the prompt if there is confusion.

Found issue elsewhere. Am closing.


fix(data): fix some documentation being wrong

Some documentation wasn't accurate (CreateThread isn't asynchronous its all still handled on a single thread)
RegisterNetEvent got updated to allow for you to initialize with less code
RegisterNetEvent("someEvent", function(someData)
  -- some logic
end)

Thanks for the update !


reenable sourcemaps and script-file xml generation, and add in escape hatch for .net 6 support

Couple of fixes I've accumulated:

reenable sourcemaps for local debugging
remove an artificial constraint around xml doc comment generation that prevented it from working on script files
Add in FSharp.fsac.dotnetArgs as a way for users to specify addition args to the dotnet cli itself. the primary intended purpose will be to set --fx-version to whatever their latest installed runtime is until we provide a .net 6-first compatible build.

For the release notes, we'll want to give an example of getting the .net 6 runtime and applying it using these args


Move special model registration to correct event

The JavaDoc on ForgeModelBakery.addSpecialModel states that it should be called during ModelRegistryEvent, and the current location seems to be racing with that event. When special models are registered too late there isn't any immediate error, the models just aren't loaded and placing a pipe will throw an NPE since the core model is null.
For me this crash is pretty reliable, and on ForgeCraft it actually happens immediately before the main menu since CTM queries all models then.

Thanks!


Polynomial fit error: QDialog [...] argument 1 has an unexpected type 'SignalProcessor'

          I found also an issue with the use of DataLab and the polynomial fit like you can see in the attached screenshot. It is strange because the other fits work perfectly.

DataLab - IOssue polynomial fit.pdf
Originally posted by @emarin2642 in https://github.com/Codra-Ingenierie-Informatique/DataLab/issues/28#issuecomment-1892024073

@emarin2642: this bug slipped through the net during the last software validation - it has been fixed.
Thanks for the feedback.
And, please, do not hesitate to test DataLab thoroughly in the next hours because we were planning to release a new version, so the easy fixes will be integrated immediately.


refactor: update AddFunc.vue to composition API

Thank you for PR, but there are still some problems. I think the style needs some modifications. Several input boxes have inconsistent widths that make them look strange. You can also adjust the margins between text and text boxes. Second, you can write together code that handles the same logic in the Vue file, which makes the code more readable. This is also the reason why we use composition API instead of option API

I recommend creating a new branch to manage commits each time you develop a PR, and synchronizing the main branch of your own repository in a timely manner to prevent redundant commits like the one in this PR.
But for now, you don't have to change the branch in this PR. You can follow the way above for future development.

I recommend creating a new branch to manage commits each time you develop a PR, and synchronizing the main branch of your own repository in a timely manner to prevent redundant commits like the one in this PR.
But for now, you don't have to change the branch in this PR. You can follow the way above for future development.

OK, thank you for your advice


Ensure that jerry-minimal command line tool is stable for benchmarking

Some benchmark suites contain test cases that have nonreproducible
behaviour. This is mostly caused by relying on "now" when dealing
with dates or timestamps, instead of using a fixed moment. (A
notorious example is the crypto-aes.js test case of the sunspider
bechmark suite, where the heap memory consumption can vary between
34K-41K heap because of using (new Date()).getTime().)
This commit creates a command line tool variant, which intercepts
some calls to libc (gettimeofday, rand) and pins their results
to some fixed values. This makes the tool variant useless in a
general case but ensures stable results when benchmarking.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

Some example outputs for crypto-aes.js (the first few always varying results are by standard jerry, the last result is reported by the benchmarking variant, which never changed):
$ uname -mrs
Darwin 16.7.0 x86_64

$ tools/build.py --clean --jerry-cmdline-benchmarking=on --mem-stats=on

$ build/bin/jerry --mem-stats crypto-aes.js
Heap stats:
  Heap size = 524280 bytes
  Allocated = 0 bytes
  Peak allocated = 40952 bytes
  Waste = 0 bytes
  Peak waste = 790 bytes
  Allocated byte code data = 0 bytes
  Peak allocated byte code data = 3760 bytes
  Allocated string data = 0 bytes
  Peak allocated string data = 12685 bytes
  Allocated object data = 0 bytes
  Peak allocated object data = 7096 bytes
  Allocated property data = 0 bytes
  Peak allocated property data = 15616 bytes
  Skip-ahead ratio = 1.3961
  Average alloc iteration = 23.0083
  Average free iteration = 11.9502

$ build/bin/jerry --mem-stats crypto-aes.js
Heap stats:
  Heap size = 524280 bytes
  Allocated = 0 bytes
  Peak allocated = 40944 bytes
  Waste = 0 bytes
  Peak waste = 766 bytes
  Allocated byte code data = 0 bytes
  Peak allocated byte code data = 3760 bytes
  Allocated string data = 0 bytes
  Peak allocated string data = 12685 bytes
  Allocated object data = 0 bytes
  Peak allocated object data = 6760 bytes
  Allocated property data = 0 bytes
  Peak allocated property data = 15120 bytes
  Skip-ahead ratio = 1.4061
  Average alloc iteration = 21.7371
  Average free iteration = 11.4238

$ build/bin/jerry --mem-stats crypto-aes.js
Heap stats:
  Heap size = 524280 bytes
  Allocated = 0 bytes
  Peak allocated = 34320 bytes
  Waste = 0 bytes
  Peak waste = 696 bytes
  Allocated byte code data = 0 bytes
  Peak allocated byte code data = 3760 bytes
  Allocated string data = 0 bytes
  Peak allocated string data = 12720 bytes
  Allocated object data = 0 bytes
  Peak allocated object data = 6776 bytes
  Allocated property data = 0 bytes
  Peak allocated property data = 14656 bytes
  Skip-ahead ratio = 1.3986
  Average alloc iteration = 22.0927
  Average free iteration = 11.7743

$ build/bin/jerry --mem-stats crypto-aes.js
Heap stats:
  Heap size = 524280 bytes
  Allocated = 0 bytes
  Peak allocated = 34272 bytes
  Waste = 0 bytes
  Peak waste = 748 bytes
  Allocated byte code data = 0 bytes
  Peak allocated byte code data = 3760 bytes
  Allocated string data = 0 bytes
  Peak allocated string data = 12655 bytes
  Allocated object data = 0 bytes
  Peak allocated object data = 4888 bytes
  Allocated property data = 0 bytes
  Peak allocated property data = 11760 bytes
  Skip-ahead ratio = 1.4052
  Average alloc iteration = 20.6211
  Average free iteration = 11.1167

$ build/bin/jerry --mem-stats crypto-aes.js
Heap stats:
  Heap size = 524280 bytes
  Allocated = 0 bytes
  Peak allocated = 34376 bytes
  Waste = 0 bytes
  Peak waste = 777 bytes
  Allocated byte code data = 0 bytes
  Peak allocated byte code data = 3760 bytes
  Allocated string data = 0 bytes
  Peak allocated string data = 12747 bytes
  Allocated object data = 0 bytes
  Peak allocated object data = 4840 bytes
  Allocated property data = 0 bytes
  Peak allocated property data = 11664 bytes
  Skip-ahead ratio = 1.3459
  Average alloc iteration = 23.9237
  Average free iteration = 12.9701

$ build/bin/jerry-benchmarking --mem-stats crypto-aes.js
Heap stats:
  Heap size = 524280 bytes
  Allocated = 0 bytes
  Peak allocated = 40944 bytes
  Waste = 0 bytes
  Peak waste = 724 bytes
  Allocated byte code data = 0 bytes
  Peak allocated byte code data = 3760 bytes
  Allocated string data = 0 bytes
  Peak allocated string data = 12696 bytes
  Allocated object data = 0 bytes
  Peak allocated object data = 6776 bytes
  Allocated property data = 0 bytes
  Peak allocated property data = 15168 bytes
  Skip-ahead ratio = 1.3339
  Average alloc iteration = 27.7488
  Average free iteration = 14.4156

We made jerry-minimal for benchmarking. IMHO no need for a new tool.

@akosthekiss I thinks so, because it uses the default port implementation. I'd suggest to modify jerry-minimal instead of creating a new tool.

I've refactored the commit to make jerry-minimal stable instead of introducing a new command line binary. Details in the patch and in the commit message. I'll update the PR title if this approach is judged to be OK. ( @LaszloLango ?)

My only concern is that it's not completely obvious from 'jerry-minimal' that it has special behavior, and should be used for benchmarking only. At the very least I would suggest renaming it, so that people won't accidentally try to use it for other things.

This approach stabilizes the 'bouncing' results, but I agree with Daniel, we should emphasize this tool is used for benchmarking so its behaviour can differ in specific cases from the 'normal' Jerry behaviour. (but ofc. the '-minimal' indicates some kind of limited/different functionality)

No-one has proposed a new name, yet. I'm happy to take suggestions. -minimal? -bench? -benchmarking? -ref? -reference? -test? -measure? -measurement? -stable? -useless? -mock? -...?
@LaszloLango @dbatyai @bzsolt ?

+1 for jerry-test

jerry-test is also good for me.

Either -bench or -test.

I've followed majority vote and renamed jerry-minimal to jerry-test. The PR is updated.


Error in documentation: "download data from GpuMat"?

I start trying this lib, and when looking at the definition of Mat - you know, the most basic class in opencv, I see: https://docs.rs/opencv/0.54.0/src/opencv/opencv/hub/core.rs.html#10311
	/// download data from GpuMat
	///
	/// ## Overloaded parameters
	///
	/// ## Parameters
	/// * rows: Number of rows in a 2D array.
	/// * cols: Number of columns in a 2D array.
	/// * type: Array type. Use CV_8UC1, ..., CV_64FC4 to create 1-4 channel matrices, or
	///    CV_8UC(n), ..., CV_64FC(n) to create multi-channel (up to CV_CN_MAX channels) matrices.
	pub unsafe fn new_rows_cols(rows: i32, cols: i32, typ: i32) -> Result<core::Mat> {
		{ sys::cv_Mat_Mat_int_int_int(rows, cols, typ) }.into_result().map(|r| { core::Mat::opencv_from_extern(r) } )
	}

Hmm but as we know, this has nothing to do with GPU?

Please leave this open, this is a legitimate bug, which can be worked around


Bring back the 404 http status code for missing routes

Description
Restore the 404 http status code for:

Non-existing routes (e.g. beta.ensembl.org/foo) — the regression occurred in https://github.com/Ensembl/ensembl-client/pull/878, where the relevant code block got deleted
Non-existing genomes (e.g. beta.ensembl.org/entity-viewer/grch3)
Non-existing genes in Entity Viewer (e.g. beta.ensembl.org/entity-viewer/grch38/gene:ENSG0000013961)

Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-1804
Deployment URL(s)
http://fix-404.review.ensembl.org
Examples:

Entity Viewer, non-existing gene
Entity Viewer, non-existing genome
Species page, non-existing genome
Non-existing route

For the second and third scenarios, mentioned in the description, I see this instead of the 404 page. Is this the expected behaviour?

Blast 404 is not being handle.
http://fix-404.review.ensembl.org/blast/foo
Do we want to include this in the PR?

Blast 404 is not being handle. http://fix-404.review.ensembl.org/blast/foo
Do we want to include this in the PR?
Found few other cases: http://fix-404.review.ensembl.org/about/foo http://fix-404.review.ensembl.org/help/foo

Agreed the above will be in 2 separate tickets.


Added ROC A12 to the list

https://www.a12.nl/
https://www.a12.nl/opleidingen/gamedeveloper-ede
Proof of the domains. I censored the names of the students and specific id's for privacy reasons

@CAlbers I am sorry for a delay with processing your request. Pull request merged. Thank you!

No problem, Thanks for adding us!


[HOLD for payment 2024-11-29] [$125] Chat - Code block is not applied for url name in Android

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.57-3
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team
Action Performed:

Launch site in both mweb and Android
Open a chat
Send an url -https://staging.new.expensify.com/home
Long press the message and select edit comment
Delete the url name and replace it as h and save it

Expected Result:
Code block must be applied for url name in Android similar to mweb behavior.
Actual Result:
Code block is not applied for url name in Android but applied in mweb.
Workaround:
Unknown
Platforms:

[x] Android: Standalone
[x] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/0ad76476-e02a-4bc0-ad74-3b57080aaa53

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021853865635294497438
Upwork Job ID:<PHONE_NUMBER>294497438
Last Price Increase: 2024-11-12
Automatic offers:

mkzie2 | Contributor | 104868463

Issue OwnerCurrent Issue Owner: @sakluger

I tested this with @francoisl and figured out a few things:

This is an Android display issue, so even when I wrote the message from web and then Francois viewed on his Android phone, the styling was different.
Francois had dark mode and we noticed that the background was actually different for a code block'd hyperlink, but it was missing the rounded outline so it was really hard to see that it was a code block.

Since this appears to be a fairly minor styling issue, I'm going to mark as Low priority and set the price at $125.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Code block is not applied for url name in Android but applied in mweb.
What is the root cause of that problem?
We render the childNode of the anchor as Text component.
https://github.com/Expensify/App/blob/2acbaa4dde7845a4820f84a0e18f5e4a23489886/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.tsx#L83-L87
The child text is nested in many Text components in the native which causes the border style of the innermost Text not to be shown
https://github.com/Expensify/App/blob/2acbaa4dde7845a4820f84a0e18f5e4a23489886/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.tsx#L66
https://github.com/Expensify/App/blob/2acbaa4dde7845a4820f84a0e18f5e4a23489886/src/components/PressableWithSecondaryInteraction/index.native.tsx#L33
What changes do you think we should make in order to solve the problem?
We should not render the child node as Text component if the child tagName is code
if (props.childTnode.type === 'text' && props.childTnode.tagName !== 'code') {

https://github.com/Expensify/App/blob/2acbaa4dde7845a4820f84a0e18f5e4a23489886/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.tsx#L83-L87
What alternative solutions did you explore? (Optional)
We can wrap the Text component here with a View. Or we can only wrap it inside a View if the child tagName is code
if (props.childTnode.type === 'text') {
    return (
        <View style={props.childTnode.getNativeStyles()}>
            <Text
                key={props.key}
                style={[props.childTnode.getNativeStyles(), parentStyle, textDecorationLineStyle, styles.textUnderlinePositionUnder, styles.textDecorationSkipInkNone]}
            >
                {props.childTnode.data}
            </Text>
        </View>
    );
}

https://github.com/Expensify/App/blob/2acbaa4dde7845a4820f84a0e18f5e4a23489886/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.tsx#L83-L87

Hey @akinwale - what do you think about the proposal above?

@mkzie2 Could you share some screenshots of what your solution looks like?

@akinwale The result here.

The style looks better to me.

We can move forward with @mkzie2's proposal here.
🎀👀🎀 C+ reviewed.

@mkzie2 please link the PR once it's ready.

Will raise the PR today.

@akinwale The PR is ready.

BugZero Checklist:

[x] [Contributor] Classify the bug:

Bug classification

Source of bug:

[x] 1a. Result of the original design (eg. a case wasn't considered)
[ ] 1b. Mistake during implementation
[ ] 1c. Backend bug
[ ] 1z. Other:

Where bug was reported:

[x] 2a. Reported on production
[ ] 2b. Reported on staging (deploy blocker)
[ ] 2c. Reported on both staging and production
[ ] 2d. Reported on a PR
[ ] 2z. Other:

Who reported the bug:

[ ] 3a. Expensify user
[ ] 3b. Expensify employee
[ ] 3c. Contributor
[x] 3d. QA
[ ] 3z. Other:

[x] [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: N/A

[x] [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A

[x] [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

[ ] [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:

Regression Test Proposal
Test:

Launch Expensify
Navigate to any chat report
Input a link with code block, e.g. [`test`](https://dev.new.expensify.com:8082/)
4, Verify that the text link style is applied inside code block.

Do we agree 👍 or 👎?

Summarizing payment on this issue:
Contributor: @mkzie2 $125, paid via Upwork
Contributor+: @akinwale $125, please request on Newdot

$125 approved for @akinwale


Ordered concurrency

Ensure that results are printed in the correct order, even if that means faster results are withheld for some time.

Probably not possible with the current API, it might make sense to disable concurrency then since it's not possible to order the results.

This should be possible since making the main function mandatory to call.


Unable to cast database attributes to objects using custom casts

Laravel Version: 9.26.1
PHP Version: 8.1
Database Driver & Version: Doesn't matter

Description:
It is not possible to cast database attributes to objects using custom cast classes and then convert them to an array.
Steps To Reproduce:

Models class:
<?php

namespace App\Models;

use App\Casts\GMPCast;
use Illuminate\Database\Eloquent\Model;

class Balance extends Model
{
    protected $casts = [
        'amount' => GMPCast::class,
    ];
}

and our custom cast class:
<?php

namespace App\Casts;

use GMP;
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
use Illuminate\Contracts\Database\Eloquent\SerializesCastableAttributes;

class GMPCast implements CastsAttributes, SerializesCastableAttributes
{
    public function get($model, $key, $value, $attributes)
    {
        return gmp_init($value, 10);
    }

    public function set($model, $key, $value, $attributes)
    {
        return gmp_strval($value, 10);
    }

    public function serialize($model, string $key, $value, array $attributes)
    {
        return gmp_strval($value, 10);
    }
}

The code:
Balance::all()->toArray();

The error that happens:
Object of class GMP could not be converted to bool

The reason is obvious, here: HasAttributes.php#L285
we first cast the amount attribute to GMP class using custom cast, then inside the next if statements (HasAttributes.php#L292, HasAttributes.php#L296, HasAttributes.php#L306 and HasAttributes.php#L933) we try to convert it to boolean, so the error happens.
The solution is to try to check the $attributes[$key] by not converting it to boolean implicitly.

Heya, thanks for reporting.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as separate commits on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

Hello,
This was a simple bug, I don't know why I have to create a new repo just for it.
Anyways, here you go: https://github.com/sharifzadesina/bug-report

Please add the code to create a balance record in order to reproduce the bug.

Hello,
Added DB config and seed to create the record in the database. so you can reproduce the error by running php artisan migrate --seed and then visiting welcome page.

@driesvints any updates on this?

Thanks, I managed to send in a fix for this.


Timepicker?

Hey!
First of all, awesome library. I would like to know if a timepicker would be out of scope. Really need it.
Thanks!

hen Vue.js v1.0 stable is released.
use this for now (require moment.js) . https://github.com/Haixing-Hu/vue-datetime-picker

Cool! Thanks.

So the portability to bootstrap 3 will not be done ? :(

I'll work on this, just have been very busy. I don't think it will be too
much to port it back to the v1 branch. Thanks for the feedback.
On Fri, Jan 22, 2016 at 5:23 AM Pierre D<EMAIL_ADDRESS>wrote:

So the portability to bootstrap 3 will not be done ? :(
—
Reply to this email directly or view it on GitHub
https://github.com/yuche/vue-strap/issues/26#issuecomment-173886814.

Thank you ! I'll keep an eye on it :)


Added optional onError parameter

I think we should have a callback function like onError

This looks like a nice addition. Thanks for the contribution.
Can you update the readme too?

This looks like a nice addition. Thanks for the contribution.
Can you update the readme too?

Updated :)

Hi there,
I am trying to use react-media-recorder for screen-recording, but I am getting error of invalid hook call on calling ( useReactMediaRecorder ). Can anyone please guide me in this regard ?


[QST] tensorflow 2.4.2 release date [security patches]

Synopsys Black Duck is flagging tensorflow 2.4.0 with security vulnerabilities
looking at the security advisories - it looks like these would be patched with 2.4.2 - Is there an estimated date of when 2.4.2 would be released?
Apologies if this is already discussed elsewhere and I just wasn't able to find it

Thanks for your issue. We can expect a patch release for TF 2.4 in next week.

@ymodak do you have any further updates? - didn't want the bot to close this :)

TF 2.4.2 has been released https://github.com/tensorflow/tensorflow/releases/tag/v2.4.2
Thanks!


Modify the /eds/hydrology route to have a synonym route that is used by NCR

To allow for us to drop cache and recache only subsections of the API without impacting the rest of cache, we have double dipped on the /eds/hydrology endpoint which has resulted in when we drop cache for ArcticEDS, it also impacts the responsiveness of NCR.
Suggest adding something like:
@routes.route("/ncr/hydrology//") to the eds_hydrology_data function's available routes.

I think we want to be careful about adding synonyms but the overall idea here is good.


Variants with no evidence statements (or at least none that display) in public instance

See this example:
https://civic.genome.wustl.edu/#/events/genes/65/summary/variants/168/summary
In the browse table we can see that BTK is supposed to have 1 evidence statement.  But when we click on C481S I don't see anything in the evidence statement grid.

REL EXPRESSION is another example:
https://civic.genome.wustl.edu/#/events/genes/57/summary/variants/162/summary

Here is another example, BCL2 LOSS-OF-FUNCTION does not have any evidence statements.

This should be fixed now!


css: fixed search message alert

Fixed the border to let it grow when the text is wrapped
Used inline-flex property to align elements inside.

As a default, the jQuery function .show() gives the div display: block.
But we need it to be inline-flex if we're not to create another div just to align the elements inside.
There are several ways of doing this, so if it's not apropriate, let me know. I tried to avoid using .css() in the JS file to alter the styling.
If the solution adopted (changing the display to inline-flex in the CSS file) is not ideal, let me know and I can just add a buffer div between the parent div and its elements just to align them as usual.
I apologized for the duplicate PR but the previous one had a long commit history that I couldn't squash due to merge conflicts with a file I didn't know. For safety, I decided to revert to a previous commit and push a clean history. (Now I learned I can create PR drafts =) )
Fixes:
Screenshots and screen captures:
Before:

After:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks good to me in manual testing! @amanagr would you be up for reviewing this one?

@amandaalexandre thanks for working on this. I removed all your changes and just deleted the CSS which applied the height restriction to the notices. This seems to working well be to me.

Please read commit guidelines to write commit messages in the correct format for your future PRs.

@amandaalexandre thanks for working on this. I removed all your changes and just deleted the CSS which applied the height restriction to the notices. This seems to be working well.

Please read commit guidelines to write commit messages in the correct format for your future PRs.

Thank you for your feedback, @amanagr ! I added some alignment on the text per request in the former PR. I also think it looks good the way it is.

@alya LGTM

Hm, the PR description screenshot aligns the second line of text with the first line (to the right of the !), which looks better to me than the latest screenshots. Can we pleas go back to that design? Thanks!

@alya  updated!

Looks great to me in manual testing!
@timabbott This PR has been reviewed / amended by @amanagr ; tagging for your review.

Merged, thanks for the contribution @amandaalexandre!


feat: Cookbook Onboard integration

Preview
Preview link: https://rootstock-devportal-g9wtawg2u-cookbookdev.vercel.app/
Ask Cookbook AI Assistant
Cookbook's Ask Cookbook AI assistant and co-pilot is trained on all existing Rootstock resources (source code, docs website, etc.) and is available as a standalone modal, embeddable as a button on any page (recommended for technical docs). It answers developer questions about building on Rootstock, acting as an enhanced and streamlined technical documentation search tool as well as a Solidity coding co-pilot.
Ask Cookbook AI can also access context from thousands of data sources indexed by Cookbook.dev in addition to Rootstock-specific data sources, providing the best blockchain developer-focused answers of any chatbot on the market. Cookbook will assist in the tuning and calibration of the AI assistant to ensure the highest answer quality.

Cookbook Onboard Playground
The Cookbook Onboard Playground embeds a Solidity IDE with smart contract templates displayed alongside the Ask Cookbook AI Assistant.
Developers can search for and deploy Cookbook’s entire smart contract library from your technical documentation.
Features:

Deploy smart contracts or entire protocols to Rootstock without leaving the docs
Acts as a free, no-code or low-code token and NFT launchpad
Save source code as a Foundry, Hardhat, or Scaffold project or export it to Remix or Chain IDE in one click

Testing

We built and deployed a staging site to test all aspects of site.  Preview is at the top of the PR for your review.

There's an error with the deployment @AE-0h

There's an error on vercel with the deployment @AE-0h

There's an error on vercel with the deployment @AE-0h

looking into it now

Hi @AE-0h Cookbook is live on the docs 🎉! Thanks to you and your team.
QQ:
Is there a dashboard instance of the tool? To track usage? I logged in to the main account on cookbook.dev but not sure its the right one. Also please share the guide on how to use the embeddable button within the docs if there's one.
Thank you.


Test createMajorPath( ) in fileHandling.go #22

Test written and running successfully

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@7ec9abe). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main     #23   +/-   ##
======================================
  Coverage        ?   4.10%
======================================
  Files           ?       7
  Lines           ?     292
  Branches        ?       0
======================================
  Hits            ?      12
  Misses          ?     276
  Partials        ?       4

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 7ec9abe...6295343. Read the comment docs.


Add option to hide progress indicator

I have some jobs that run for infinity (they schedule other jobs), which are difficult to quantify progress since they are never done. And if one complete iteration would be considered 100% of the job, I would have something in the active queue which said it was 100% but it's just hanging around forever. Alternatively, not updating the progress at all (what I'm doing now) leaves me feeling like the "0%" is telling me the job is stuck or not doing anything. Both of which are false.
I propose adding the ability to pass an option to job.create or job.save, so that I can tell the UI to not show the progress indicator. Like job.save({ showProgress: false }), which could default to true. Something like that.
If kue had built in support for recurring/scheduled job types, then this might not be an issue since the inactive job could just be taken out of the queue or stuck into a new queue state (add "scheduled" or "recurring" tab to UI, similar to "active" "complete" etc.).

I am not into adding presentation specific options to Queue and job management code, that doesn't feel good to me. However we can add more controls to the UI for a better and more friendly UX :+1:

If kue had built in support for recurring/scheduled job types, then this might not be an issue since the inactive job could just be taken out of the queue or stuck into a new queue state (add "scheduled" or "recurring" tab to UI, similar to "active" "complete" etc.).

tab based or separated list view of different workers is one of my favs for UI enhancement... I am open to any PRs :)

Ok. I don't feel like I confidently say that I would be able to create a PR for recurring job support at this point. But I could add a tab for another job state. I guess the second best option to full scheduling/recurring job support would be a new job state. I think it might be something like "sleeping"?
Just like you can change a jobs state to any of the available options, this doesn't actually do anything to the job which would prevent processing from occurring (right?). Then we could leave it up to the job/application code to set the state of the job to "sleeping"/"active".
....ok, the more I think about this maybe the most appropriate option would be to just push the job into the "inactive" queue. That's somewhat misleading as it's actually doing work, it's just waiting on a timer to fire. hmmm, thoughts?

inactive is not sleeping, job will be activated as soon as no jobs are in front of it; and adding another state is the last thing I will do ;) since this is not intended for logic, but also UX enhancement

Oh, right. Ok, so that wouldn't be a good solve. I think the scope of what this discussion is becoming is really about supporting recurring jobs. Like I said, I don't think I can confidently introduce support for this. I'll go ahead and close for now.
Thanks!


Make JSON validation more strict

I like to use contracts to validate server API but right now validation is not very strict and makes framework look bad.
There are a few cases I can remember:
Array item's fields aren't validated together:
assertThatJson(parsedJson).array("['payments']").contains("['principalPayment']").isEqualTo(605.86);
assertThatJson(parsedJson).array("['payments']").contains("['principalPayment']").isEqualTo(1211.3);

Correct way would be to validate that array payments item with index 0 contains a field. There can be an option to ignore the order but objects at the same index should match.
Double array [[{ ... }]] and single array [{...}] generate the same test:
assertThatJson(parsedJson).array().array("['payments']").contains("['paymentNumber']").isEqualTo(7);

Currently there is no way to match an empty json or fail on unknown values
It might be a good idea to not allow unknown fields that aren't covered by a test.
I would prefer for the framework to have the same features as https://github.com/skyscreamer/JSONassert mostly its compare mode http://jsonassert.skyscreamer.org/apidocs/org/skyscreamer/jsonassert/JSONCompareMode.html

You can use the bodyMatchers section to perform the any precise evaluation you wish.

How this makes any sense, Marcin? Why would anyone want to write matching manually?

And are you going to ignore other bugs?

If you think that it's a bug, please feel free to file a pull request that fixes it.

@marcingrzejszczak still no interest in implementing a feature to fail on unknown fields? I'm not sure we could implement that ourselves.

We're open to pull requests. Atm we don't have the capacity to implement such a feature.

@marcingrzejszczak does SCC support fail on unknown fields now ? If not can you please guide me how can i write the code using bodyMatchers or any other configuration to implement this for me ? Thanks in advance!


Remove GLKView.snapshot to prevent the app from crash

GLKView.snapshot can crash the app randomly, GrabMap just removes it to prevent the app from crashing.
Fixes #566

Is it unlikely that this code is used by someone?

Is it unlikely that this code is used by someone?

I think it not execute in SDK. The purpose for these code is: before enter background, the sdk take a snapshot then use a image view cover the whole map, and pause the map rendering to save energy. But GLKView.snapshot just randomly crash, so I think mapbox turn it off by config, and from user view this function is not acceptable, the snapshot is not same with the map when the map bring to front user can get a jump for map because the snapshot view is not as same as the gl view.

I started by asking a question in maplibre-ios slack channel to double check if anyone is actually using this snapshot feature.
I suggest we wait a bit, maybe we should define this wait times btw to 1 week or 10 days, before merging this PR's. Just in case someone is using that code part already.

@alanchenboy can you please help out by resolving the conflicts. Tx!

Rebased

It has been two weeks since I asked this on slack. No response back so I think we are safe to merge it. @birkskyum please advice otherwise.

I agree with merging


feat: support scoping plugins to consumer-groups

Codecov Report
Patch coverage has no change and project coverage change: -0.18 :warning:

Comparison is base (5276451) 52.90% compared to head (5e006a3) 52.73%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #352      +/-   ##
==========================================
- Coverage   52.90%   52.73%   -0.18%
==========================================
  Files          69       69
  Lines        5111     5128      +17
==========================================
  Hits         2704     2704
- Misses       1834     1851      +17
  Partials      573      573

Flag
Coverage Δ

2.1
36.34% <0.00%> (-0.13%)
:arrow_down:

2.2
17.78% <0.00%> (-30.25%)
:arrow_down:

2.3
36.40% <0.00%> (-12.35%)
:arrow_down:

2.4
36.48% <0.00%> (-12.35%)
:arrow_down:

2.5
36.48% <0.00%> (-12.35%)
:arrow_down:

2.6
36.48% <0.00%> (-12.35%)
:arrow_down:

2.7
50.19% <0.00%> (-0.17%)
:arrow_down:

2.8
50.19% <0.00%> (-0.17%)
:arrow_down:

3.0
50.64% <0.00%> (-0.17%)
:arrow_down:

3.1
52.12% <0.00%> (-0.18%)
:arrow_down:

3.2
52.18% <0.00%> (-0.18%)
:arrow_down:

3.3
52.18% <0.00%> (-0.18%)
:arrow_down:

community
38.02% <0.00%> (-0.13%)
:arrow_down:

enterprise
51.50% <0.00%> (-0.18%)
:arrow_down:

enterprise-nightly
50.95% <0.00%> (-0.17%)
:arrow_down:

integration
52.73% <0.00%> (-0.18%)
:arrow_down:

nightly
37.48% <0.00%> (-0.13%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

kong/plugin.go
0.00% <ø> (ø)

kong/plugin_service.go
46.77% <0.00%> (-3.45%)
:arrow_down:

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


Add support for query string parameters that are dictionaries

example: APIGateway.GetExportRequest.parameters is a dictionary and is serialized in the querystring

Fixed in https://github.com/swift-aws/aws-sdk-swift-core/pull/235


Allow option to set back, close, and drawer button icons in AppBar in AppBarTheme

When making a theme for a brand, requirements sometimes include custom back, and drawer button icons.
AppBar displays back, close, and drawer buttons automatically but these buttons show a default icon based on the platform that cannot be changed from any inherited themes. To change these icons, we have to provide the custom icon buttons in the AppBar on every page, and we also have to add additional conditions like to check if the scaffold has a drawer or if this route can be popped.
By letting AppBar inherit these icons from the theme, we can make development more convenient and reduce a lot of code.
If this is accepted, then I can make a PR for this issue.

This sounds like a reasonable proposal. @predatorx7 - if you're willing to submit a PR, we'll review it.

Hi @HansMuller, I've created a PR https://github.com/flutter/flutter/pull/118229.


Remove duplicated lombok annotations in the pulsar-io modules

Motivation
Most of the configuration classes of the connectors had the following annotations:
@Data
@Setter
@Getter
@EqualsAndHashCode
@ToString

The @Data annotation includes all other annotations:

All together now: A shortcut for @ToString, @EqualsAndHashCode, @Getter on all fields, @Setter on all non-final fields, and @RequiredArgsConstructor!

Modifications
Removed @Setter, @Getter, @EqualsAndHashCode, and '@ToString' if the @Data annotation was also present

retest this please

retest this please

run cpp tests

run cpp tests

run cpp tests

run cpp tests

run cpp tests

run cpp tests


build.rs should be used

We should be using build.rs to link to the relevant external libraries instead of using #[link] extern{} thing.

Right now the standard library isn't using Cargo so this'd end up just making that more painful than it needs to be. Otherwise if the names aren't changing across platforms and there's no need to override (as is true for this library), then #[link] is the same as a build script.
Once the standard library moves to Cargo we can try to explore this, but I don't think it's critical for now.


Qubes: systemd corridor-data.service should wait for /rw

https://github.com/rustybird/corridor/blob/master/qubes/corridor.d/31-state-qubes.conf
https://github.com/rustybird/corridor/blob/master/systemd/corridor-data.service.in
https://github.com/rustybird/corridor/blob/master/qubes/systemd/corridor-data.service.d/qubes.conf

https://github.com/QubesOS/qubes-core-agent-linux/blob/master/vm-systemd/qubes-sysinit.service
https://github.com/marmarek/qubes-core-agent-linux/blob/master/vm-systemd/qubes-mount-dirs.service

corridor-data.service should probably run after qubes-mount-dirs.service or even after qubes-sysinit.service? Otherwise /rw may not be available at that time.

Thanks! I had somehow assumed that qubes-mount-dirs.service is part of sysinit.target.

@rustybird

Thanks! I had somehow assumed that qubes-mount-dirs.service is part of sysinit.target.

Which is not an unreasonable assumption at all. Perhaps that should be considered a native Qubes bug? Perhaps Qubes should make sure the mount dirs stuff is done in time?


Support for the Content-Security-Policy header

I don't know if it's within the scope of the httplint project, but the CSP header isn't presently recognised as a valid header.
https://w3c.github.io/webappsec/specs/content-security-policy/#content-security-policy-header-field

Ditto for the Strict-Transport-Security header


Gif is not complete in tutorial "Barrel Dodger"

Describe the bug
Gif is not complete in tutorial "Barrel Dodger"
Steps to reproduce the behavior
1.Navigate to https://arcade.makecode.com/beta#
2.Tutorials---->Barrel Dodger---->Start Tutorial
3.Compare the hint in step 9 and step 10
Expect behavior
The hint should be complete in step 9.
Actual behavior
The picture is not finished in step 9.

Additional context
1.OS: Windows(rs6)
2.arcade version: 0.18.7
3.Microsoft MakeCode version: 6.1.22

P3 wont' fix.


fix diagnostics notebook

Description
Currently in the diagnostics notebook, we parse the Nerves.Runtime.KV.get_all output into a map of group name to key-value tuple list. Kino.DataTable.new complains about that data structure. It seems Kino.DataTable.new no longer accepts a key-value tuple list although I had trouble finding exactly when this breaking change happened, quickly scanning CHANGELOG.
Mix.install([
  {:kino, "~> 0.12.0"}
])

Fix
I added an extra step that converts all the key-value tuples to maps before rendering data tables.

Notes

The last |> Kino.render should be removed because Livebook implicitly does that for us. With that, we would end up getting a duplicated table.

Thanks!


What are the limits for Azure Databricks?

What are the limits for Azure Databricks?

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

ID: 1cd57b6d-3c6f-e546-b3ea-f83892f4c23d
Version Independent ID: 27aecc7b-f107-96d4-b044-ae026bca2727
Content: Azure subscription limits and quotas
Content Source: articles/azure-subscription-service-limits.md
Service: billing
GitHub Login: @rothja
Microsoft Alias: byvinyal

@isamllr Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

@rothja any idea who on the Databricks team can help answer this?

Hi @femsulu , the most common author in the azure-databricks folder is @mamccrea. I'm assuming it would be Mary, but she can confirm. Thank you!

Thank you, looking forward to these insights.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Jason Roth<EMAIL_ADDRESS>Sent: Friday, March 15, 2019 3:29:07 PM
To: MicrosoftDocs/azure-docs
Cc: isamllr; Mention
Subject: Re: [MicrosoftDocs/azure-docs] What are the limits for Azure Databricks? (#27070)
Hi @femsuluhttps://github.com/femsulu , the most common author in the azure-databricks folder is @mamccreahttps://github.com/mamccrea. I'm assuming it would be Mary, but she can confirm. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/27070#issuecomment-473307315, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADuPVJS1oBnAZSgiR69ReTYEOgWW-pA9ks5vW64zgaJpZM4bwNdx.

Quotas are handled at the subscription level, and Databricks is designed for theoretical limitless scale. Here's some documentation on Cluster size and autoscaling and Resource Manager vCPU quota increases for Databricks.

thanks @mamccrea!
@isamllr We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


[ETP/TP] Make TP construct before ETP

This has as result that TP comes first in the protocolList and hence will be prioritized over ETP when sending messages.
Closes #128

I try not to rely on the order of object construction if I can help it, otherwise it could cause issues in the future if things get reorganized. I think it might make more sense to add a check to ETP's protocol_transmit_message to replace (messageLength > CAN_DATA_LENGTH) with (messageLength > 1785)

Sure thing! I changed it


Plugin Load Error

I'm getting this Hyper error when following the installation steps:

Also, in the dev console I get this:

Here's my hyper.js config file:
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,

// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',

// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(92,230,205,0.8)',

// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █
cursorShape: 'BLOCK',

// color of the text
foregroundColor: '#5ce6cd',

// terminal background color
backgroundColor: '#000',

// border color (window, tabs)
borderColor: '#000',

// custom css to embed in the main window
css: '',

// custom css to embed in the terminal window
termCSS: '',

// set to `true` (without backticks) if you're using a Linux setup that doesn't show native menus
// default: `false` on Linux, `true` on Windows (ignored on macOS)
showHamburgerMenu: '',

// set to `false` if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` on windows and Linux (ignored on macOS)
showWindowControls: '',

// custom padding (css format, i.e.: `top right bottom left`)
padding: '12px 14px',

// the full list. if you're going to provide the full color palette,
// including the 6 x 6 color cubes and the grayscale map, just provide
// an array here instead of a color map object
colors: {
  black: '#000000',
  red: '#ff0000',
  green: '#33ff00',
  yellow: '#ffff00',
  blue: '#0066ff',
  magenta: '#cc00ff',
  cyan: '#00ffff',
  white: '#d0d0d0',
  lightBlack: '#808080',
  lightRed: '#ff0000',
  lightGreen: '#33ff00',
  lightYellow: '#ffff00',
  lightBlue: '#0066ff',
  lightMagenta: '#cc00ff',
  lightCyan: '#00ffff',
  lightWhite: '#ffffff'
},

// hyper-pokemon config
pokemon: 'random',
pokemonSyntax: 'dark',
unibody: 'true',

// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default
// make sure to use a full path if the binary name doesn't work
// (e.g `C:\\Windows\\System32\\bash.exe` instad of just `bash.exe`)
// if you're using powershell, make sure to remove the `--login` below
shell: 'zsh',

// for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
// by default ['--login'] will be used
shellArgs: ['--login'],

// for environment variables
env: {},

// set to false for no bell
bell: 'SOUND',

// if true, selected text will automatically be copied to the clipboard
copyOnSelect: false,

// if true, on right click selected text will be copied or pasted if no
// selection is present (true by default on Windows)
// quickEdit: true

// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',

// for advanced config flags please refer to https://hyper.is/#cfg

// hyperterm-overlay settings
// overlay: {
//   alwaysOnTop: false,
//   animate: false,
//   hasShadow: false,
//   hideDock: false,
//   hideOnBlur: false,
//   hotkeys: ['Cmd+Space'],
//   position: 'top',
//   primaryDisplay: false,
//   resizable: true,
//   startAlone: false,
//   startup: false,
//   size: 0.5,
//   tray: true,
//   unique: false
// },
},

// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
//   `hyperpower`
//   `@company/project`
//   `project#1.0.1`
plugins: [// 'hyper-electron-highlighter',
// 'hyperterm-hipster',
// 'hyperambient',
// 'hyperline',
// 'htyt',
// 'hyper-transparent-bg',
// 'hyperterm-tabby',
// 'hyper-always-on-top',
// 'hyper-pane',
// 'hyperterm-overlay',
// 'hyperborder',
'hyperminimal', 'hyperlinks', 'hypercwd', 'hyperterm-alternatescroll', 'hyper-snazzy', 'hyperterm-tab-numbers', 'hyper-tabs-enhanced', 'hyper-dark-scrollbar', "hyper-pokemon"],
// in development, you can create a directory under
// `~/.hyper_plugins/local/` and include it here
// to load it and avoid it being `npm install`ed
localPlugins: []
};

OS MacOS Sierra v10.12.5
What could be wrong? Thanks! 😄

Oh, never mind! I got it working now, I just closed Hyper and opened it again, the error is gone now, fantastic themes btw! 👍

@bntzio No worries at all! Thank you tons for dropping by and for your kind words! You are always welcome! : )

same error but restart doesn't help :(

I solved this by setting the pokemon, pokemonSyntax  & unibody props in the ~/.hyper.js file. See the Usage section

my problem was related to this:
https://github.com/zeit/hyper/issues/191
so nothing with hyper-pokemon I guess

Also having this - funnily enough, I filed https://github.com/zeit/hyper/issues/191 and don't know how to fix it 😅

Indeed, it's something that we have also noticed 😄
The only somehow reliable & possible solution atm are:

Trying to fully reload Hyper with Cmd + Shift + R

Downgrading to npm@4 (if you are not already on it) using npm install -g npm@latest-4

Manually installing hyper-pokemon from scratch. Here is a quick guide on how to do it:
# clone the repo inside `~/.hyper_plugins/node_modules/hyper-pokemon`
$ git clone https://github.com/hyper-pokemon/hyper-pokemon
# navigate to the project directory
$ cd hyper-pokemon
# install the dependencies
$ npm install

These three ways are the only ones , to our experience, that sometimes solve the issue on MacOS Sierra 10.12.5, but they do not prevent it from re-appearing. We will keep testing it, though it seams more like a hyper related issue than a hyper-pokemon one, since it also appears on other hyper plugins too. If anything new comes up, we will let you all know as soon as possible 😄 Thank you all for dropping by and sharing your thoughts! : )
We will keep this issue as Open until a more credible solution is established 😄

 Plugin Loading Error

I was getting the same error, however I fixed it by simply using yarn instead of npm. Simply cd C:\Users\%USERNAME%\.hyper_plugins and run yarn install. That should do the trick, In my opinion it is a better option than downgrading your npm version.
Cheers! :beers:

Wow, this does seem like a pretty good fix! We will be testing the theme on various OS configurations and will close this issue if the error doesn't find its way back... :robot:

@georgebax After changing my shell to zsh through babun, no extension is being installed. This is kind of weird, but I think it is a problem with hyper itself, and not with your plugin!

Yes we have encountered numerous problems with npm ourselves, it can be really buggy sometimes, especially along with hpm-cli.  Anyway, should you encounter any other issues / have any tips, feel free to contact us!

i don't use hpm install it. try these cmd:
cd ~/.hyper_plugins
vim package.json
add "hyper-pokemon": "laest" in the dependencies
sudo npm install

finally, resolved the problem successfully.

Issue considered solved since<EMAIL_ADDRESS>


Guidelines for delta audits and config.toml policy.

/cc @danakj, @adetaylor

@Manishearth and/or @djkoloski - what are the next steps needed to finish reviewing this PR?


plotDimReduceFeature order

The features should be in same order as the input vector.
A message should be given saying the features that were not found.

Also, if no features match, then an informative error message should be given


About edge boxes generation

In command for EdgeBoxes generation below:
sh run.sh <YOUR_PARTITION> <NUM_PROCESS> <PATH/TO/DATA/ROOT> <PATH/TO/DATA/META> <PATH/TO/SAVE/DIR> <DATASET>  # <DATASET> should be imagenet or coco
What kind of file does <PATH/TO/DATA/META> refer to, and how can I acquire such files?

<PATH/TO/DATA/META> refers to a meta file, e.g., data/datasets/imagenet/meta/train.txt

Thanks for your help!
Is it that coco as well as voc also contain such meta files, and if so please specify them!

You can generate meta files for coco/voc easily.
The key implementation of the Edgeboxes generator is like
path = os.path.join(self.root, line.split()[0])
box = self.box_generator.process(path)

So just make sure the meta file is like
data1.jpg
data2.jpg
data3.jpg
...

Thanks, that makes sense, and one more question: is it possible to generate edgeboxes without 'srun'? It is quite complicated to make your given run.sh for edgeboxes work…


The registry authentication password contains special characters, resulting in failure

Description
The registry authentication password contains special characters, result is
pull access denied for registry.cn-shanghai.aliyuncs.com/xxx/xxx, repository does not exist or may require 'docker login'
However, I tried to log in using the Docker login command on the command line. After using Docker pull, I could log in normally and pull the image successfully
docker login --username=xx@123 registry.cn-shanghai.aliyuncs.com
wE(70Mf?S)eX(KAI2
docker pull registry.cn-shanghai.aliyuncs.com/xxx/xxx
Steps to reproduce the issue:

Settings -> Registries -> Add registry -> Custom registry -> Password like "wE(70Mf?S)eX(KAI2" ->Add registry
local -> images  -> Pull image -> Registry Select the newly created ->Fill in the image address  -> Click pull the image
Notifications -> Error | Failure | pull access denied for registry.cn-shanghai.aliyuncs.com/xxx/xxx, repository does not exist or may require 'docker login'

Technical details:

Portainer version:2.16.2
Target Docker version (the host/cluster you manage):20.10.9
Platform (windows/linux):linux
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer):sudo docker run -d -p 9000:9000 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:2.16.2
Target Swarm version (if applicable):
Browser:Chrome

@Gaiokane
Thank you for the information.  I am going to further investigate.  I will update you as I learn more.
Thanks!

@Gaiokane
I setup a Docker Registry.  My password is @dm1n!
Please review my steps.  I am able to pull image:
https://user-images.githubusercontent.com/20426210/216702606-aaf46578-cc13-4fc0-8146-596d83496927.mov
Thanks!

@tamarahenson
Please try using this password
qWerTy1uI(23Opa?sdF)gHjKLzX(CVB2

@Gaiokane
While trying to build Docker Registry, I am running into an error with your password:
docker-registry: /tmp/vagrant-shell: line 27: syntax error near unexpected token `('
docker-registry: /tmp/vagrant-shell: line 27: `  httpd:2 -Bbn admin qWerTy1uI(23Opa?sdF)gHjKLzX(CVB2 > "$(pwd)"/auth/htpasswd'

My code is:
sudo docker run \
  --entrypoint htpasswd \
  httpd:2 -Bbn admin qWerTy1uI(23Opa?sdF)gHjKLzX(CVB2 > "$(pwd)"/auth/htpasswd

Thanks!

@tamarahenson
Whether to create Registries in the Portainer is a similar problem, which makes it impossible to pull.
When I try to login to the Registries using the docker login command, an error will be reported when I use the
docker login --username=admin --password=qWerTy1uI(23Opa?sdF)gHjKLzX(CVB2 registry.cn-shanghai.aliyuncs.com
Use this command to login successfully
docker login --username=admin --password="qWerTy1uI(23Opa?sdF)gHjKLzX(CVB2" registry.cn-shanghai.aliyuncs.com


[nrf fromtree] ipc_service: static_vrings: Set WQ default type to PRI…

…O_COOP
In 92d8329d5b6 a new DT property was introduced to set the WQ priority
of the instance. The fallback value when the property was not present
was arbitrarily set to <0 PRIO_PREEMPT>.
The problem is that this value is actually changing the behaviour for
the code that is not explicitly setting the DT property, breaking in
some cases the existing code.
Move the default value to <0 PRIO_COOP> to give the old code a
consistent behaviour before and after the 92d8329d5b6 commit.
Signed-off-by: Carlo Caione<EMAIL_ADDRESS>(cherry picked from commit 7f51907fda2dd30f18d01262f06c175714a9be3f)

@carlocaione , @emob-nordic , please review. It is needed to repair nrf/samples/ipc/ipc_service default build.

This PR duplicates #788.

Reopen this PR due to #788 was closed.

you need to rebase this PR on main to get twister to pass on sdk-nrf.

needs rebase


Make the API BASE configurable.

In some cases, someone need to customize the Api Base.

Thank you for your input


wal-g: 0.1.10 -> 0.1.12

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build wal-g

Success on aarch64-linux (full log)
Attempted: wal-g
Partial log (click to expand)
shrinking /nix/store/snkgawxwf3azvr0q81kq6f83v791wqjz-wal-g-0.1.12-bin/bin/compress
shrinking /nix/store/snkgawxwf3azvr0q81kq6f83v791wqjz-wal-g-0.1.12-bin/bin/extract
shrinking /nix/store/snkgawxwf3azvr0q81kq6f83v791wqjz-wal-g-0.1.12-bin/bin/delta
shrinking /nix/store/snkgawxwf3azvr0q81kq6f83v791wqjz-wal-g-0.1.12-bin/bin/generate
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/snkgawxwf3azvr0q81kq6f83v791wqjz-wal-g-0.1.12-bin/bin
patching script interpreter paths in /nix/store/snkgawxwf3azvr0q81kq6f83v791wqjz-wal-g-0.1.12-bin
checking for references to /build in /nix/store/snkgawxwf3azvr0q81kq6f83v791wqjz-wal-g-0.1.12-bin...
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/snkgawxwf3azvr0q81kq6f83v791wqjz-wal-g-0.1.12-bin

Success on x86_64-darwin (full log)
Attempted: wal-g
Partial log (click to expand)
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
find: '/nix/store/xmjgfhjmzqp6sm45crq2yy2av1lkkqdq-wal-g-0.1.12': No such file or directory
/nix/store/827gspfd3vixg3l0dj7bmh5b2972sxx9-wal-g-0.1.12-bin

Success on x86_64-linux (full log)
Attempted: wal-g
Partial log (click to expand)
shrinking /nix/store/jvxny9fqzmg1mb2r45rwg20xl0dsykpi-wal-g-0.1.12-bin/bin/compress
shrinking /nix/store/jvxny9fqzmg1mb2r45rwg20xl0dsykpi-wal-g-0.1.12-bin/bin/extract
shrinking /nix/store/jvxny9fqzmg1mb2r45rwg20xl0dsykpi-wal-g-0.1.12-bin/bin/generate
shrinking /nix/store/jvxny9fqzmg1mb2r45rwg20xl0dsykpi-wal-g-0.1.12-bin/bin/delta
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/jvxny9fqzmg1mb2r45rwg20xl0dsykpi-wal-g-0.1.12-bin/bin
patching script interpreter paths in /nix/store/jvxny9fqzmg1mb2r45rwg20xl0dsykpi-wal-g-0.1.12-bin
checking for references to /build in /nix/store/jvxny9fqzmg1mb2r45rwg20xl0dsykpi-wal-g-0.1.12-bin...
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/jvxny9fqzmg1mb2r45rwg20xl0dsykpi-wal-g-0.1.12-bin

Thanks :)


[DRAFT] Add ability for BSS to perform client credentials grant for access token

This PR gives BSS the ability to create an OAuth client, register it with an authorization server (presumably Ory Hydra currently), and fetch a token using client credentials received from registration (i.e. client credentials grant). This PR is necessary for BSS to make requests to other microservices, such as SMD, for public endpoints that do not require the user to submit an access token, such as /boot/v1/bootscript, which would cause the request to fail.

@synackd Can you test this with the deployment recipes and see if it prints an access token?


posix.pipeline doesn't restore stdout properly

See https://savannah.gnu.org/patch/index.php?8007 for a demonstration of the problem (in an editor, using posix.pipeline messes up the terminal).
The advice given here: http://stackoverflow.com/questions/11042218/c-restore-stdout-to-terminal is exactly what posix.pipeline does (independently!), so I'm not sure what the problem is.

I now have a use case for this: cw has an (obvious-in-hindsight) bug rrthomas/cw#4 in that it doesn't return exit codes of commands that it colors, because pipeline_iterator doesn't give access to those exit codes. The sh API for Python does, by making each command an object with an iterator property and an exit code property.

Looking at sh, it is (now?) a large module, some 2kLOC long. I'm not keen to reimplement it in one go, nor am I over-fond of its API (other than the command→function transformer).

I just spotted a possible clue as to why stdout-restoring isn't working. One of the comments in the stackoverflow page linked above says: "You do need to worry about flushing standard I/O streams (fflush(stdout)) at appropriate times as you mess around with this. That means 'before you switch stdout over'."

Wow, you're right the implementation of Python's sh is ugly :-(  Still, if we can make pipelines work properly, who cares!! :-p LOL

This is still on my radar, soon after I climb back up the dependency stack to Zile (which, realistically speaking is likely quite some way in the future by now)... but it would be awesome if you can try injecting some stream flushes judiciously and get it working properly in the mean time...

I have been wrestling with this, but in a different direction: the current
pipeline function requires two forks per task, one for the subprocess with
the pipe, and another to spawn the task. It seemed to me that a
one-fork-per-task model which worked like popen would be better. I did try
this when I wrote pipeline, but got stuck and gave up.
I've now got it working.
Of course for safe use, as with popen, you need to decide whether you want
to read or write the pipeline, but not both, to avoid deadlocking. Once
I've got the code shaken down, I can work out whether it makes sense to
have a bidirectional version internally or not; currently I don't, as you'd
need an extra pipe. Of course, if you want to read and write safely, you
can just add another process to the end of the chain, like pipeline_slurp.
I'm still playing with the structure of the code; once I converge, I'll
share.

Awesome!

34c8aeb replaces the troublesome pipeline with popen_pipeline by cherry-picking from #212


Connect-PnPOnline Azure Environment Discovery from URI Support

Is your feature request related to a problem? Please describe.
Yes, I'm trying to use PnP PowerShell in a Microsoft national cloud other than Azure Government/GCC High/DoD. The issue is that the Azure environments PnP is designed to work with are limited, therefore I have no way of instructing which Azure AD, Microsoft Graph, and other endpoints it should use to connect to.
Describe the solution you'd like
Continue allowing customers to specify environments like GCC, GCC High, and DoD but also allow Connect-PnPOnline to connect via the discovery pattern shown above, allowing customers in additional Microsoft cloud environments beyond what's currently in src/sdk/PnP.Core/Services/Core/CloudManager.cs to leverage the PnPPowerShell platform for management and automation.
Connect-PnPOnline, could do one of two things:
Honor the environments discovered by Add-AzEnvironment.
Add a new PnPOnline cmdlet to prepare the environment to pass to Connect-PnPOnline
For the second, thinking something like:
Add-PnPOnlineEnvironment -FromUrl https://management.azure.com/metadata/endpoints?api-version=2020-06-01
Connect-PnPOnline -Environment DiscoveredAzureEnvironment

Additional cmdlets, specifically Register-PnPManagementShellAccess and Register-PnPAzureADApp should pick up support from the additional environment support.
Describe alternatives you've considered
We are currently exploring using Microsoft Graph as an alternative, but there are two issues:

We are not yet able to use Connect-MgGraph in this other national cloud.
I'm not sure yet if we have a 100% mapping from PnP PowerShell cmdlets to Microsoft Graph cmdlets we intend to use. In particular, not sure if these cmdlets have Microsoft Graph PowerShell equivalents despite reviewing the documentation:

Register-PnPHubSite
Unregister-PnpHubsite
Add-PnPSiteCollectionAppCatalog
Remove-PnPSiteCollectionAppCatalog
Add-PnPHubToHubAssociation
Get-PnPHubSite
Add-PnPSiteCollectionAdmin

Additional context
Microsoft has additional Azure/O365 cloud environments beyond GCC High and DoD. For this reason, Microsoft has added environment discovery capability to Azure PowerShell via Discovering a new Azure environment via Uri using the Add-AzEnvironment cmdlet I can discover an environment via URL to retrieve the appropriate Graph, Azure AD, etc. endpoints for making calls, which is then used to specify as the environment when connecting with Connect-AzAccount.
Connect-PnPOnline, should allow customers to use PnPPowerShell ideally in the same manner:
Add-AzEnvironment -Autodiscover -Url https://management.azure.com/metadata/endpoints?api-version=2020-06-01 (What's returned will be different endpoints for each environment)
Connect-AzEnvironment -Environment DiscoveredAzureEnvX

I guess we could do a similar thing like Bert did, but it will cost quite some hours to implement and test. Since this is a request from longer ago, are you still in need of this or have you found another way? In other words: is this still needed?

Hi Koen, thanks for the reply. Yes this is very much still needed. What are you thinking in terms of hours? Can I test on for you?
Thanks,
Bernarldo

From: Koen Zomers @.>
Sent: Sunday, January 22, 2023 4:58 PM
To: pnp/powershell @.>
Cc: Bernarldo Ellis @.>; Author @.>
Subject: Re: [pnp/powershell] Connect-PnPOnline Azure Environment Discovery from URI Support (Issue #2533)
I guess we could do a similar thing like Bert did, but it will cost quite some hours to implement and test. Since this is a request from longer ago, are you still in need of this or have you found another way? In other words: is this still needed?
—
Reply to this email directly, view it on GitHubhttps://github.com/pnp/powershell/issues/2533#issuecomment-1399619416, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHR4BCV7OIM6XTNBRB6JWGTWTWUP5ANCNFSM6AAAAAARZINVT4.
You are receiving this because you authored the thread.Message ID: @.***>

Hi @BernieEllis , finally managed to get it working.
It will now work starting with tomorrow's nightly build and the next major version whenever we release it.


No results if there is a special char in the token

Last days token was  m0mo1mHgE+s; which causes problems with providing the token via URL, because + is in this context a special char (blank).
https://github.com/Maschinengeist-HAB/Services-Safety-Health-EPS/blob/dc23c6ca0109ada322fa5a1eec1338874f096ad7/Service/Config.php#L182
needs to be fixed.
The token also needs to be provided urlencoded here
https://github.com/Maschinengeist-HAB/Services-Safety-Health-EPS/blob/dc23c6ca0109ada322fa5a1eec1338874f096ad7/Service/Service.php#L222C20-L222C20

randomToken\s*=\s*'(.+?) should be working

See also https://www.php.net/manual/de/function.urlencode.php


Slow write, thinking mode

Is your feature request related to a problem? Please describe.
When I am not sure what I need to type and need time to think, I do not like having to keep my finger in the circle. And more generally, the way I write has me untouching the screen very often, which insert space because the app interprets that as a touch on the circle.
Describe the solution you'd like
I would like to be able to enable a mode in the settings where:

If I end a letter in the circle and raise my thumb back, nos space is inserted.
If otherwise I continue for another letter the writing goes on as usual.
With this mode, inserting a space when the thumb is up requires to tap on the circle. When writing multiple letters in a row, inserting a space requires to raise the thumb back and the tap the circle.
Also this could enable inserting a letter by raising the finger when entered the final sector, without having to go back to the circle.

Describe alternatives you've considered

Maybe a mode where space would never be inserted automatically at all, and would be inserted by crossing the circle from left to right (just like righ-to-left opens a selection/clipboard/move menu)

Additional context
Sorry If that has been discussed before, I did not found it in the issues. Also I tried to search if it was already possible in the settings but it seems that it does not.
I think this feature could be a good way to enable learning the app without inserting spaces all the time, and also solves the problem of the thumb/finger hiding the characters on the bottom right corner (for right-handed people) which makes the app harder to learn.

I’ve been annoyed also for a while for the very same reason. However, there’s a quick (i mean, no code) work-around: just leave the circle and raise your thumb. If it matters, in my case, i just go south and raise my finger, voilà. Stops there, no space inserted. I don’t remember having customized anything in this regard.
Thanks, btw: i never took the time to learn that a mere circle tap would insert a space. So handy :)

Hello @fgudin thanks for the tip, I'll try to use the keyboard again with your tip :)

It's something I'm aware of. I'm thinking about a smart space, depending on the language.
For instance, in French we add a space before semi-colon, but not in English.
Maybe automatically adding a space after a punctuation

I suspect the old 8pen didn't auto-insert spaces, so maybe a setting for 8pen mode?
The YouTube video linked from 8vim help is a dead link. Searching found me the 8pen tutorial. Took a while to figure how not to s p a c e each letter.
Just a newb here. The option to hide letters suggests it gets better.

It's something I'm aware of. I'm thinking about a smart space, depending on the language. For instance, in French we add a space before semi-colon, but not in English. Maybe automatically adding a space after a punctuation

They say the way to hell is paved with "smart" software!
I think an option to disable space-on-center-finger-up is a fair compromise to onboard beginners, though I don't think it's particularly viable for real (power) usage. The system with the implied space is very efficient as it is.

The system with the implied space is very efficient as it is.

Yes but it also counts as "smart" software, and is really frustrating when you learn the app. Real power usage options should be opt-in once you get accustomed to the software in my opinion. But an opt-out version would already be very satisfying.

@EricDru I'm currently on #530 which should list all available characters/actions of a layout.
Also, you will be able to see which movement you need to do for that character/action.
It's a start, far from perfect but that might help newcomers for now.
We could develop that feature in the future.
@lud From the latest release (well version >=0.17) there is a new button called fn. if it's off some movements won't be triggered (including the space). More details here


 How do I emulate the behavior of the -ins flag (and the other flags from llama.cpp) inside the python program, when I'm using alpaca models?

Hi,
So in the example/python folder we have examples to run llama and alpaca models.
Can you let me know what -ins mode functionality you are looking for?

Hi,
I guess you should be able to find what you are looking for in our examples folder.
If you still have any doubts feel free to reopen this, I will be closing this for now.


State space

Changes from @AlexGrig put into place and fixes to GPy Exponential
Also tests more thorough.

Current coverage is 46.45%

Merging #364 into devel will decrease coverage by -0.80% as of 3c39e01

@@            devel    #364   diff @@
=====================================
  Files         177     177
  Stmts       17204   17205     +1
  Branches     2526    2523     -3
  Methods         0
=====================================
- Hit          8130    7993   -137
- Partial       472     474     +2
- Missed       8602    8738   +136

Review entire Coverage Diff as of 3c39e01

Powered by Codecov. Updated on successful CI builds.


How to generate training samples by self-Instruct

Thank you very much for your work！
In this repository,  I see API data and training data, what prompt should I use to generate training data from API data.
Thanks！

"<<>>" in train data also generated by self-Instruct？

"code " in train data also generated by self-Instruct？
"code " in train data  includes ''Instructio" and "Output" which can be constructed as  Instruction-API pair ?

"code " in train data also generated by self-Instruct？

"code " in train data includes ''Instructio" and "Output" which can be constructed as Instruction-API pair ?

"code " in train data also generated by self-Instruct？

"code " in train data includes ''Instruction" and "Output" which can be constructed as Instruction-API pair ?

self-instruct code is definitely not open sourced yet.

self-instruct code is definitely not open sourced yet. You can send me email and we can discuss some details if you are interested in. @cquliujian @FanWan

This using retrieval and AST is really cool.

self-instruct code is definitely not open sourced yet. You can send me email and we can discuss some details if you are interested in. @cquliujian @FanWan

This using AST and retrieval is really cool.