Add Multithreading / Batchprocessing

I'm using local folder now. Each photo is scanned for about 8-10 seconds, while cpu usage is at about 20% with peaks to 40% (on 4c/8t xeon).
Also, ram usage seems to be very low.
I'm on default docker configuration. Maybe it is docker fault?

That would be an enhancement. Currently, it doesn't support batch processing or multi threading. RAM usage seems okay. At the moment we only use performance machine learning models, that are quite efficient.

Many of the current issues seem to revolve around the scan_photos process. That function and all of it's calls are pretty monolithic. Every image gets fully processed before the next image in the queue gets processed.
I could look at rewriting this a bit and breaking it up some, for example:

save photos in the DB before doing all the intensive work
remove the rescan option from the list of function calls since it looks like that doesn't full rescan a photo
run some of the more intensive jobs as a background process

There are probably other optimizations I could make but that's what popped out at me.

Many of the current issues seem to revolve around the scan_photos process. That function and all of it's calls are pretty monolithic. Every image gets fully processed before the next image in the queue gets processed.
I could look at rewriting this a bit and breaking it up some, for example:

save photos in the DB before doing all the intensive work
remove the rescan option from the list of function calls since it looks like that doesn't full rescan a photo
run some of the more intensive jobs as a background process

There are probably other optimizations I could make but that's what popped out at me.

I agree that we should split it up to show the images quicker and I like the idea of a background process for the ml classifiers!
We still need the rescan function. I know that I haven't implemented it fully, but it is essential, because users will change the data all the time. We should implement it completely including handling of moved images and a new job to clean the database of deleted images.
@sim4city wanted to implement that together with a migration to ulid as unique identifier and imagehash  as new hash.
See: https://github.com/LibrePhotos/librephotos/wiki/Open-Discussion:-Hashing and https://github.com/LibrePhotos/librephotos/wiki/Open-Discussion:-Primary-key-and-migration-of-primary-key

I agree that we should split it up to show the images quicker and I like the idea of a background process for the ml classifiers!
We still need the rescan function. I know that I haven't implemented it fully, but it is essential, because users will change the data all the time. We should implement it completely including handling of moved images and a new job to clean the database of deleted images.
@sim4city wanted to implement that together with a migration to ulid as unique identifier and imagehash  as new hash.
See: https://github.com/LibrePhotos/librephotos/wiki/Open-Discussion:-Hashing and https://github.com/LibrePhotos/librephotos/wiki/Open-Discussion:-Primary-key-and-migration-of-primary-key

I'm not saying rescan isn't needed, but just not include it in the scan photos function call. The current button on the frontend can scan for new photos, but have a separate button to rescan existing photos. A user might only change files in 1 folder, or might only want to rescan for 1 type of change (exif and not faces). So the ability to choose why you are rescanning would be important to performance.

I'm not saying rescan isn't needed, but just not include it in the scan photos function call. The current button on the frontend can scan for new photos, but have a separate button to rescan existing photos. A user might only change files in 1 folder, or might only want to rescan for 1 type of change (exif and not faces). So the ability to choose why you are rescanning would be important to performance.

Rescanning items does not create a huge overhead. I think UX wise it is expected that when you scan a directory, to also rescan it. Examples for that would be plex or jellyfin

Rescanning items does not create a huge overhead. I think UX wise it is expected that when you scan a directory, to also rescan it. Examples for that would be plex or jellyfin

Scanning in plex scans a folder for new or removed media. Right now the rescan only updates exif data and generates thumbnails if they don't already exist. In Plex:

if a new file is found it's added to the DB and the metadata is gathere
if a file is found to have been removed it is removed from the DB
If a file already exists in the database nothing is done

Rescanning/Downloading metadata for existing files in Plex is performed as a separate function.
If I have a very large collection of photos I don't necessarily want to rescan all my existing photos for changes everytime I just want to scan for new photos.
Many people are running LP on NAS hardware so any savings in resources can be a huge benefit.

Scanning in plex scans a folder for new or removed media. Right now the rescan only updates exif data and generates thumbnails if they don't already exist. In Plex:

if a new file is found it's added to the DB and the metadata is gathere
if a file is found to have been removed it is removed from the DB
If a file already exists in the database nothing is done

Rescanning/Downloading metadata for existing files in Plex is performed as a separate function.
If I have a very large collection of photos I don't necessarily want to rescan all my existing photos for changes everytime I just want to scan for new photos.
Many people are running LP on NAS hardware so any savings in resources can be a huge benefit.

if someone can test  #206?

Thanks to @tomamplius this is now implemented 🥇


fix(weave): The call special func should never raise

Resolves:

https://wandb.atlassian.net/browse/WB-19805

Closing in favour of: https://github.com/wandb/weave/pull/1968


transmit geoloc on demand / in real time

This requires a more complicated infrastructure / code
Possibility 1 : P2P GEOLOC TRANSMISSION
       <script src="https://cdnjs.cloudflare.com/ajax/libs/peerjs/0.3.9/peer.min.js"></script>

	// p2p broker should be hosted by poppy
	// distinguish between boss & slave in the url (like for doodle)
	// therefore, the url contains : a maphasp (+ a mapcode if boss)
	// verify if boss : hash(code) = maphash
	// code not guessable by slave
	//
	// problem : using maphash as peerid, a slave can impersonate the master
        // issue bcz it would prevent the real master to access the data
        // otherwize data might be shared, but with p2p, this would require a network with O(N²) links...
        // -> problem : not scalable
	var maphash   		= null
	var mapcode   		= null

	var peerjs_apikey 	= 'kjhlkjhlkjh'

	// if i am a boss :
	var peer        	= new Peer(maphash, {key: peerjs_apikey});

	peer.on('connection', function(conn)
	{
		conn.on('open', function()
		{
			conn.on('data', function(data)
			{
				console.log('Received', data);
				// put data on map (with indication of date/time)
				// make it disappear after a while
			});
		});
	});

	// if i am a slave & I push on a button
	function send_position()
	{
		var rand = Date.now() +''+ Math.random()
		var peer = new Peer(maphash + rand, {key: peerjs_apikey});
		var conn = peer.connect(maphash)

		conn.on('open', function()
		{
			conn.send(JSON.stringify(current_coords));
			peer.destroy()
		});
	}
	$('#btn-send-position').on('click', send_position)

Possibility 2:

send data to  server, using ajax
then the server reflects the data through SSE (the js would subscribe to the SSE events)

-> this needs :

a server with a listening script

a memcache to share the received data

a SSE script

server records in sqlite (low traffic, simple)

-> the customers are isolated through their mapid
Possibility 3:
Use Twilio Sync, PubNub, ... to synchronize state through all the members of a
-> requires payment / apikey -> administration ...
Possibility 4:
Using a decentralized internet solution
-> to explore

current solution uses pubnub


Is this a BUG?

https://github.com/StarRocks/flink-connector-starrocks/blob/e6ff56740b7a09871f0478b97a23e45658249c6b/src/main/java/com/starrocks/connector/flink/table/StarRocksDynamicSinkFunction.java#L171
The flushPreviousState method is called before that，In flushPreviousState approach through sinkManager.setBufferedBatchList() modified the buffer.
So here sinkManager#getBufferedBatchList to buffer data is not before flushPreviousState method in the data?

No, it's not. It's a little complicated here:
As you could notice, there is another flush action executed just after each snapshotState(). So the checkpointedState in the snapshotState() will always be empty unless there is no data coming in during the last checkpoint cycle(which will lead to an empty result by sinkManager#getBufferedBatchList no mater the flushPreviousState() executed or not).

Closed due to no further actions.


chore(main): release 2.3.1

:robot: I have created a release beep boop
2.3.1 (2022-10-25)
Bug Fixes

fix test for added cypher queries (a089b2e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/socialgene/sgpy/releases/tag/v2.3.1 :sunflower:


How to Create a Flexible Custom Wrapper for Widgets to overriding some default properties?

I'm currently developing a custom wrapper for widgets in Flutter that enables extensive customization, similar to how {...rest} works in TypeScript with React components. However, Dart doesn't support the spread operator for widget properties, so I'm struggling to find an effective way to forward a wide range of properties to a base widget like IconButton.
Here's an example of what I might do in TypeScript:

const CustomIconButton: React.FC = ({
  accessibilityLabel,
  ...rest
}) => {
  return (
    <IconButton {...rest} aria-label={accessibilityLabel ?? ""} color={"red"}/>
  );
};

In Flutter, I'm looking for a way to achieve something similar. How can I create a wrapper that allows users to customize any widget with multiple properties without manually specifying each one? Here's a basic approach in Dart, but it requires explicitly forwarding each property, which isn't scalable. For example, an IconButton can have additional properties like activecolor and border. Manually copying all of them can make the code redundant. Here's my current approach:
import 'package:flutter/material.dart';

class CustomIconButton extends StatelessWidget {
  final VoidCallback onPressed;
  final IconData icon;
  final IconButtonConfig config;

  const CustomIconButton({
    Key? key,
    required this.onPressed,
    required this.icon,
    this.config = const IconButtonConfig(),
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(icon),
      onPressed: onPressed,
      tooltip: config.tooltip,
      color: config.color,
      // add other IconButton properties here using the config object
    );
  }
}

class IconButtonConfig {
  final String tooltip;
  final Color color;
  final double iconSize;

  const IconButtonConfig({
    this.tooltip = '',
    this.color = Colors.black,
    this.iconSize = 24.0,
  });
}

How can I achieve similar behavior to React Native in Flutter? Any insights would be greatly appreciated!
I try to use extend and extension , but they all looks like required you copy all the properties.

How about extends IconButton?

How about extends IconButton?

after I research  , I found that they prefer use callback to create an IconButtonBuilder or export the whole IconButton as an individual child , I can't find out more than this . extension is good , but you also need to forward all the key , and I saw  they do forward all the key in their source code . I guess they don't plan to support this because  null safety  , but it make code decoupling  become  much redundant.

@talpx0
Can you check this and see if it helps in your case or not ?


chore/update-readme

Update installation example

submodules are required only for testing (reduces size of downloaded package to ~0.5M instead of ~15M)
edit some formatting in example

thank you for your contribution! lgtm 👍


DeleteAll() is not delete bro

hi bro i can't delete all using deleteAll() api bro.how can i do . i use like this
RxDownload.INSTANCE.deleteAll(true).subscribe();

Did you call the create method first?

deleteAll ( ) is not work .. i want delete downloaded file dir and download again ..

@DeevD if you just deleteAll with deleting file, when you refresh data, you will figure it out that the mission is existing and its status is Delete.
You can call delateAll(misison,true) and clearAll
Then the mission set will be cleared like a new one.

yes bro .. I already solve this problem.BTW thank you bro


Also compile assembly in cases of x64 processors

I belive this fixes the "Unrecognised source file" error i encounter when building on windows. I will post info on it here once i recreate on my new device

warning: cl : Command line warning D9027 : source file './asm/mul_4.S' ignored
error: failed to run custom build command for `fff v0.3.1`

Caused by:
  process didn't exit successfully: `C:\Users\leoco\Documents\Code\avrio-rs\target\debug\build\fff-b708d001462b2b1c\build-script-build` (exit code: 1)
  --- stdout
  TARGET = Some("x86_64-pc-windows-msvc")
  OPT_LEVEL = Some("0")
  HOST = Some("x86_64-pc-windows-msvc")
  CC_x86_64-pc-windows-msvc = None
  CC_x86_64_pc_windows_msvc = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-pc-windows-msvc = None
  CFLAGS_x86_64_pc_windows_msvc = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  DEBUG = Some("true")
  running: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-W4" "-c" "-FoC:\\Users\\leoco\\Documents\\Code\\avrio-rs\\target\\debug\\build\\fff-4aa64002cd703e9c\\out\\./asm/mul_4.o" "-c" "./asm/mul_4.S"
  cargo:warning=cl : Command line warning D9024 : unrecognized source file type './asm/mul_4.S', object file assumed
  cargo:warning=cl : Command line warning D9027 : source file './asm/mul_4.S' ignored
  cl : Command line warning D9021 : no action performed
  exit code: 0
  AR_x86_64-pc-windows-msvc = None
  AR_x86_64_pc_windows_msvc = None
  HOST_AR = None
  AR = None
  running: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX64\\x64\\lib.exe" "-out:C:\\Users\\leoco\\Documents\\Code\\avrio-rs\\target\\debug\\build\\fff-4aa64002cd703e9c\\out\\libff-derive-crypto.a" "-nologo" "C:\\Users\\leoco\\Documents\\Code\\avrio-rs\\target\\debug\\build\\fff-4aa64002cd703e9c\\out\\./asm/mul_4.o"
  LINK : fatal error LNK1181: cannot open input file 'C:\Users\leoco\Documents\Code\avrio-rs\target\debug\build\fff-4aa64002cd703e9c\out\.\asm\mul_4.o'
  exit code: 1181

  --- stderr

  error occurred: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX64\\x64\\lib.exe" "-out:C:\\Users\\leoco\\Documents\\Code\\avrio-rs\\target\\debug\\build\\fff-4aa64002cd703e9c\\out\\libff-derive-crypto.a" "-nologo" "C:\\Users\\leoco\\Documents\\Code\\avrio-rs\\target\\debug\\build\\fff-4aa64002cd703e9c\\out\\./asm/mul_4.o" with args "lib.exe" did not execute successfully (status code exit code: 1181).

warning: build failed, waiting for other jobs to finish...
error: build failed```

As you can see the .S asm file is being ignored by the compiler, and then cannot be found to compile with


Not pulling all of todays games

For some reason, it only pulled 2 games, when there are 11 games today. Is there an error?

Is this for the NHL or NBA model?
There are only 2 NHL games today. There's 10 NBA games, and when I run the program, the model accurately indicates that there's 10 games today.

This is for NHL.

Sorry, error in my code.


Add more projects

Hey, I want to add more projects for beginners to this repository. Please assign me with hactoberfest label if you want.

Okay, I assigning you, Please remember these things before your contribution.

Do not add any hard-level projects as you know it's a beginner-level project repo.
Focus on the quality of the projects, not the quantity.
make sure your project is error-free.


last_target/active_target not set to NULL in FreeTarget

As the title says... this causes a segfault when I call ResetRendererState
To replicate
(1) Load a target from a blank image
(2) Blit to the target so that last_target/active_target is set
(3) Free the target
(4) Create an image (required to cause a segfault)
(5) Call ResetRendererState
I've fixed it in my local copy by setting the last_target/active_target to NULL when calling FreeTarget if the target being free'd is the last_target/active_target

I'm able to avoid this bug with the new SetActiveTarget function. Even though it'd be ideal that SDL_gpu doesn't crash itself, at least I can avoid it now.

Let's keep this issue open for now.  I'll make a complete fix next chance I get to go through these issues.

Reminder to double-check #173 for fix.


Prepare release 0.9.3

Summary
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
3430

Relevant Lines:
5030

💛  - Coveralls


Fixed #2314

Fix the inaccurate display of the navigation map under large magnification

I tried to modify it, but there is still a pixel error, and I can't solve it for the time being

I tried to modify it, but there is still a pixel error

Are you referring to how it moves down and to the right just a little bit even after it has collapsed to a dot, or is there something else you're noticing?


async-27: Sparse Octree

Description

Get rid of the empty List[List[ArrayLike]] for unviewed parts of levels

We create OctreeChunk only for chunks which are in view
Unused parts use zero bytes, beyond the self.data itself.
Needed because level 0 wanted 30M+ tiles in one case.

Fix dimensionality issues with loading an example Zarr file, slicing etc.
New _create_additional_levels() return to extend a user provide multiscale down to a single tile root.

The coarsest level for some user data is like 6000x6000, way bigger than a tile.
In that case creating the additional level down to a single tile takes only around 200ms
Long term we might want to support multiple tile sizes in one dataset.

Demo
This is 4495402.zarr off SSD:

The data works remotely from https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/4495402.zarr but it's incredibly slow, like many seconds per tile. I have to put in some metrics to track data vs. other costs.
Refactoring

ImageConfig -> SliceConfig
Factor out new octree_chunk.py from octree_util.py.

Type of change

[x] New features in experimental code

Files

Sample output load loading the big zarr file and we add our own multiscale levels:
Octree input data has 8 levels:
Level 0: 380928 x 921600 = 351.1 billion pixels -> 1488 x 3600 = 5.4 million tiles
Level 1: 190464 x 460800 = 87.8 billion pixels -> 744 x 1800 = 1.3 million tiles
Level 2: 95232 x 230400 = 21.9 billion pixels -> 372 x 900 = 334800 tiles
Level 3: 47616 x 115200 = 5.5 billion pixels -> 186 x 450 = 83700 tiles
Level 4: 23808 x 57600 = 1.4 billion pixels -> 93 x 225 = 20925 tiles
Level 5: 11904 x 28800 = 342.8 million pixels -> 47 x 113 = 5311 tiles
Level 6: 5952 x 14400 = 85.7 million pixels -> 24 x 57 = 1368 tiles
Level 7: 2976 x 7200 = 21.4 million pixels -> 12 x 29 = 348 tiles
In 215.500ms created 5 levels:
Level 0: 1488 x 3600 = 5.4 million pixels -> 6 x 15 = 90 tiles
Level 1: 744 x 1800 = 1.3 million pixels -> 3 x 8 = 24 tiles
Level 2: 372 x 900 = 334800 pixels -> 2 x 4 = 8 tiles
Level 3: 186 x 450 = 83700 pixels -> 1 x 2 = 2 tiles
Level 4: 93 x 225 = 20925 pixels -> 1 x 1 = 1 tiles

Tree now has 13 total levels.

The data works remotely from https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/4495402.zarr but it's incredibly slow, like many seconds per tile. I have to put in some metrics to see if that's just data transfer time or what.

Love the example with real images!! How are you loading the file into napari?

NAPARI_OCTREE=1 napari /data-ext/4495402.zarr
or
NAPARI_OCTREE=1 napari https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/4495402.zarr

Got it. I need the ome-zarr plugin installed too. I see what you mean that is quite slow though, but it could be the fetching of the data. Not sure if it requests get backed up or something.
I'm able to get things running locally with my favourite pathology example

It is in the UK, maybe there is closer URL that works? Different data. I'm not sure what data is supported today (all?) or what the current limitations are. Any bug reports let me know. Any good URL's post them as well I guess.
There is some much needed cleanup from the last two PRs and I'd like to add stuff to monitor bandwidth. Also I disable the mini-map because it didn't immediately work with the sparse octree. Although it won't be too hard to fix. But I have one somewhat radical idea for a mini-map slash general debugging took.
We could merge this as-is and then cleanup, etc in following PRs. Nothing is horrible it's just getting messy. Also it doesn't cleanup the OctreeChunks so will definitely run out of memory eventually. I think I'm going to make the OctreeChunks die as soon as unviewed, instantly. So no extra cache there. Until/unless we need it.

I'm not sure what data is supported today (all?) or what the current limitations are. Any bug reports let me know. Any good URL's post them as well I guess.

I get a segfault from
NAPARI_OCTREE=1 napari https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/9822151.zarr

note that the data loads with NAPARI_OCTREE=0. It could be a grayscale/ dtype issue


Data profiling for time series

Right now for time series, we are plotting frequency for minutes, hour, days and month in a time column.
We can improve the feedback using:

Seasonality
Stationarity/Dickey-Fuller
Moving average
Exponential smoothing
ARIMA

Reference: https://towardsdatascience.com/almost-everything-you-need-to-know-about-time-series-860241bdc578

Out of Scope at the moment


Upgrade to Ruby 2.1.6 and update Bundler to latest.

Upgrade required, since Ruby 2.1.5 had a serious security flaw: https://www.ruby-lang.org/en/news/2015/04/13/ruby-2-1-6-released/

@NicholasGorskiGoogle This LGTM.

Thanks!


Add yarn integration

I've taken a stab at adding yarn as an option. I wanted to make it very explicit what the state of the command's config should be when yarn vs npm, but am open to a different way of discerning between the two.
I also mirrored the tests that already existed for npm, but for yarn. Let me know if I missed anything there!
As requested in #76, I exposed yarn by adding a yarn option. When true, it goes down the yarn path, otherwise, uses the same npm path. So an example usage would be:
new NpmInstallPlugin({
  yarn: true
});

This should resolve #76.

Hmm, not sure why the code coverage dropped so drastically. I'll look into that.

any update on where in the process this is for getting merged? Thanks!

please let us know, if you plan to merge it or how could we help?

Would love to see this merge as well, obviously. I'm not sure who to try to get in touch with to make it happen.

Unfortunately not @wbeard, I've just tested it here. It can only be merged by a project collaborator.


index.html.md:276: Talk about the webhook that is setup...

The puzzle 34-3fc46122 from #34 has to be resolved:
https://github.com/raboley/the-heroes-journey/blob/a2db5bf02149ac03033b7a15766c0cdfb57a4619/source/index.html.md#L276-L276
The puzzle was created by @raboley on 06-Jul-20.
Estimate: 15 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 34-3fc46122 has disappeared from the source code, that's why I closed this issue.

@0pdd the puzzle #40 is still not solved.

@0pdd the only puzzle #40 is solved here.


Add config for platformlabeler plugin

Description
Grant markewaite permission to release new versions of the platformlabeler plugin.
@ndeloof and Robert Collins are listed as current maintainers.
Submitter checklist for changing permissions
Always

[x] Add link to plugin/component Git repository in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file). I used permissions/plugin-platformlabeler.yml to match the artifactid
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

https://groups.google.com/d/msg/jenkinsci-dev/xYO1JY83GF4/Q1MnERi1BAAJ

Seen the email, though I'm a bit puzzled as to how this person could be the current maintainer but we cannot find his github account to ping him too here.


License

Hi!
Thanks a lot for releasing data and code!
Could you add a license for both so that this can be used by industry labs.

Just saw that there is a data and code license provided in the README.
Maybe the could license could be added to the repo and the data license could also be specified in HF datasets?
Thanks a lot!


Linkify names in messages sent via customMessage(), plus other improvements for the method

If a username or channel name is part of a hubot message (via customMessage()) , slack does not linkify it currently. Slack's postMessage endpoint (which the hubot method is using) supports it though, via the link_names option. Not sure why it was not enabled initially for hubot, but we have been using this for a week now and I have not noticed any issues.
Also added a new event slack.customMessage for triggering customMessage(). That method can be used to send text without any attachments too, as in:
robot.emit slack.customMessage, {room: "deploy", text: "Test run #<http://example.com/tests/run/1234|1234> failed"}

In fact, this has been the only way I have been able to use formatted url links in hubot messages, without resorting to attachments (which adds a vertical bar on the left and occupies more space. Just using pretext from the attachments array also does not work). The other send() function does not support formatted links, as discussed elsewhere. So it makes sense to add another event for triggering customMessage() -- it's a minor change anyway.
Also added some logging statements to help with debugging.

This should be fixed in #309, but would love your 👀 to verify that that is true!


fix: prevent crashing for non-string value

The value prop accepts a string type.
If you're experiencing this issue then it should be done outside of the library and in your implementation <Command.Item value={String(whatevermyvalueis)}>.
Adding those chains reduces the perf of the scoring for everyone to allow a few people to pass it unsanitized/checked values. Not worth IMO.

It's of course up to you, personally I prefer a robust solution vs negligible performance differences. I'm saying negligible since IMO large lists would be fetched pre-selected from an api and for smaller ones it wouldn't be noticeable by the user.


add tap to seek feature for fullScreen.js

Lyrics-plus have this feature but i can't use tap lyrics to seek feature with fullScreen.js

Are you talking about the double clicking to seek shortcut?
If so that may not work inside the extension as the dblclick shortcut is used as a way to exit.
I'll see for adding logic for ignoring the double clicks inside the lyrics container.
Till then you can comment this line in  the code.
Otherwise the lyrics inside the extension depend on the lyrics-plus custom app to work, so the functionality should be same for both.

Lyrics-plus behaving normally, yeah maybe ignoring double clicks in lyrics container fix this problem.


Update dartpad dependencies and fix polymer regressions

This PR resolves Polymer regression issues and cleans up a handful files.

Update Polymer neon animation minimum version to support newer web-animations-js (resolves #758)
Fix dialog resolution issue and paper-button coloring issue with new versions of polymer (this should be revisited)
Remove unnecessary .idea files
Update app.yaml to work with newest gcloud CLI

Running example: https://crazy-monkey-721.appspot.com/embeddings_demo.html

The CL has been updated to include the missing files from the bower update, so the Travis CI build passes now.

@Georgehe4, do you have merge permissions?


Question: How does this function with extra weapon packs like M9k and CW2?

Do we need to make our own scripts to add all of the custom images here? Or will they be correctly targeted by ammo type?

Custom ammunition types need to have their own icon set up. If they use vanilla ammunition then it'll be fine.


[Request Feature] Screenshot preview window and save image with selected resolution (eg. 1242x2208)

Use Scene.capture(file: string) to capture the screen buffer.
To change the resolution, adjust the Target Size in Canvas setting.


Problem with -Xmx max memory usage in 4.7 beta

Version of Archi, Operating System

4.7 on Windows 10
Expected Behaviour

Actual Behaviour

After start of app dialog warning from database plugin appears with warning of maximum 259MB memory usage. Recomended changing "-Xmx" parameter in archi.ini does not work, Archi not use this parameter in 4.7 version.
Steps to Reproduce the Behaviour

Install database plugin
Install beta 4.7 EA version of Archi
Run Archi...

If this is related to Herve's DB plugin then I'll close this.
Can you please open the issue here fro Herve to look at:
https://github.com/archi-contribs/database-plugin/issues

Okay, but when I run Archi, this message appears:
Database import/export plugin v2.2.4  dialog:  Archi is configured with 259 MB max memory. If you plan to use the database plugin with huge models, we recommand to configure Archi with 1 GB of memory (you may add or update the "-Xmx" parameter in the Archi.ini file). You may deactivate the memory check in the database plugin preference page.
May I ignore this, or I may post is as an issue to this plugin. I dont know when its problém of plugin or Archi app itself.
Odesláno z aplikace Poštahttps://go.microsoft.com/fwlink/?LinkId=550986 pro Windows 10
Od: Phil<EMAIL_ADDRESS>Odesláno:středa 4. března 2020 19:09
Komu<EMAIL_ADDRESS>Kopie: Michal<EMAIL_ADDRESS><EMAIL_ADDRESS>Předmět: Re: [archimatetool/archi] Problem with -Xmx max memory usage in 4.7 beta (#588)
Just a general comment, though, regarding memory usage and Archi.ini.
There is no -Xmx setting in Archi.ini. By default Archi (actually Java) will usually use about 25% of available memory for the maxiumum. So, if your machine has 8GB of RAM then it will allocate 2GB.
If you need more memory allocated then you can add the following to Archi.ini after the -vmargs line and with the value in Mb:
-Xmx2048m
So the -Xmx setting in Archi.ini does work, you have to make sure it comes after -vmargs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/archimatetool/archi/issues/588?email_source=notifications&email_token=ANAWWBCHOUZXIDVBGHII3XTRF2KNBA5CNFSM4LBORCM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENZKP4Y#issuecomment-594716659, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANAWWBB4T7PYCVLLI4JIXELRF2KNBANCNFSM4LBORCMQ.

Hi Michal,
As Philippus stated, this message is not shown by Archi but by my database plugin. The plugin needs memory to run (especially if you're using big models) so it checks the memory allocated to the JVM and prints a warning message if it is less than 1 GB.
As the message states, the recommended action is to add an "-Xmx" setting in Archi's ini file to increase the JVM memory to 1 GB. Alternatively, you may deactivate this memory check on the plugin's preference page.
As this message is not related to Archi itself, but to the database plugin, I suggest we continue this thread on my plugin's Github page (https://github.com/archi-contribs/database-plugin/tree/master/v2.
Best regards
Hervé

Yes, but I have 32GB of RAM, if Archi uses quarter there is 8GB memory allocation, but plugin dialog says that maximum memory is 259MB. Thats my reason to open issue on main Archi repo. If this isnt problém oof Archi memory allocation, I create similar issue on plugin= s repo.
Odesláno z aplikace Poštahttps://go.microsoft.com/fwlink/?LinkId=550986 pro Windows 10
Od: Hervé<EMAIL_ADDRESS>Odesláno:čtvrtek 5. března 2020 9:01
Komu<EMAIL_ADDRESS>Kopie: Michal<EMAIL_ADDRESS><EMAIL_ADDRESS>Předmět: Re: [archimatetool/archi] Problem with -Xmx max memory usage in 4.7 beta (#588)
Hi Michal,
As Philippus stated, this message is not shown by Archi but by my database plugin. The plugin needs memory to run (especially if you're using big models) so it checks the memory allocated to the JVM and prints a warning message if it is less than 1 GB.
As the message states, the recommended action is to add an "-Xmx" setting in Archi's ini file to increase the JVM memory to 1 GB. Alternatively, you may deactivate this memory check on the plugin's preference page.
As this message is not related to Archi itself, but to the database plugin, I suggest we continue this thread on my plugin's Github page (https://github.com/archi-contribs/database-plugin/tree/master/v2.
Best regards
Hervé
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/archimatetool/archi/issues/588?email_source=notifications&email_token=ANAWWBAHRCHJWDMYFOEPMKTRF5L6BA5CNFSM4LBORCM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN4D3GA#issuecomment-595082648, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANAWWBHU6CKFB25A3PQ2TH3RF5L6BANCNFSM4LBORCMQ.

Why don't you just add -Xmx4096m after -vmargs in Archi.ini and try it. And, as Herve, says disable the message in the DB plugin preferences.
This isn't an Archi issue as we just use Java and whatever memory there is.
Herve's code calculates memory as follows:
int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1000000);

BTW - this is neither related to Archi 4.7 Early Access. Did you try with Archi 4.6?


Is there any new api?dogechain api is broken.

The latest version recommends a new api in the readme.


Support ISO doctypes: technical-corrigendum and amendment

Currently, ISO doctype technical corrigendum is not available for ISO documents. This doctype was needed for ISO 10303-50, for which we had 2 TCs.
What was noticed while converting these TCs to .adoc format was that by default, text of TC is in italic. Normal text is used for changes which should be implemented.

The sample ISO Amendment has been uploaded here:
https://github.com/metanorma/mn-samples-iso/issues/25
Screenshots:

ISO Technical corrigendum:
http://www.mszt.hu/documents/10157/bb117640-ccf8-4d32-885d-b2006954fe22

https://infostore.saiglobal.com/preview/258645433280.pdf?sku=880419_SAIG_NSAI_NSAI_2091657
An older Technical Corrigendum document but demonstrates the textual requirements (we will not adopt the styling but only text requirements).
Technical Corrigendum 2:

Technical Corrigendum 1:

DCOR (Draft Technical Corrigendum)

Another older (2012) COR: https://www.ift-rosenheim.de/documents/10180/114265/DIN_EN_ISO_10077-2_2012_Technical_Corrigendum_1.pdf/f8601abd-e983-4e39-9bc5-20b67d350d24

ISO Model Draft Amendment (DAM): https://www.iso.org/files/live/sites/isoorg/files/archive/pdf/en/moddam.pdf

Latest official ISO Technical Corrigendum style:
https://www.iec.ch/dyn/www/f?p=103:391:0::::P391_PUB_ID%2CP391_LANG:63838
Front page:

As for content, this screenshot reflects the proper document identifier on the top right corner. The content itself is from ITU.

Each clause is a locality. Grammars restricted to only clauses (not forbidding subclauses at the moment, but it will come).

Identifier and Amendment-specific metadata will need to be handled
Heading 1 must be in italics
No special recognition of clause heading types
NO assets are numbered, and neither are headings
Material to be changed, added, deleted is quoted
Heading numbers will need to be faked in quoted material
requested patch hints, for now as "change" and "locality" attributes on the clause; change limited to delete, add, modify; locality follows locality input syntax (e.g. clause=introduction,paragraph=4-7), and may eventually encoded like it

Remaining:

Amendment-specific metadata will need to be handled in rendering (title pages)
Heading 1 must be in italics
NO assets are numbered, and neither are headings
Heading numbers will need to be faked in quoted material

Done as much as I care to. @ronaldtse Please test with editors.


Incorrect Currency Format for DKK

DKK currency format is not displaying correct formatting for the Krone. Correct format is kr40.000,00 but it displays kr40,000.00 as we've for US.
This is the js fiddle link. http://jsfiddle.net/nqf0ye00/102/. I've edited an example. Which is showing DKK in wrong format.
Please confirm that is it a bug or I'm doing something wrong.

Your link is not working for me. (404 not found) for https://github.com/angular/angular.js/issues/url

Copy the link and open in the new tab.

Hi, Angular.js uses the Google Closure I18N library to generate its own I18N files (the ngLocale module). This means that any changes to these files would be lost the next time that we import the library. Since the Closure library i18n data is itself auto-generated from the data of the Common Locale Data Repository (CLDR) project, errors in the data should be reported there. See also the Closure guide to i18n changes.


dest: being ignored - saving zip in root path

Hi, I have the following:
    compress: {
      main: {
        options: {
          archive: 'example.zip'
        },
        files: [
          {src: ['dist/example/**'], dest: 'dist/', filter: 'isFile'}
        ]
      }
    }

The archive is being created, but is being saved in the root directory of my project, not in the dist/ subdirectory. I've tried changing the dest:  to other things well, with same result. Any thoughts?

dest refers to the inside of zip structure. you would add dist/ to you archive option.

Ah, ok. Thanks for the clarification.

Out of curiosity, is it possible to not have a dist or other subdirectory in the unzipped archive? Ie. if you extract example.zip, it opens a directory called example with all the enclosed files?

you would use a combination of cwd and expand:true
from readme
{expand: true, cwd: 'path/', src: ['**'], dest: 'internal_folder3/'}, // makes all src relative to cwd

Ah, great. Thank you.

I had a similar issue. expand: true solved it. @ctalkington thanks for clarifying this subject.

I got caught by this as well. Would be great to get a bit more clarification in the documentation that the archive option can be a path, not necessarily just the filename of the resulting compressed archive. It would also be great to have some clarification int he docs on how dest works since it's not very intuitive at first.


[ASCII-1800] Remove glob dependency from serverless

What does this PR do?

Split comp/core/tagger/utils into several packages to remove github.com/gobwas/glob from the serverless build.
Motivation

Remove unneeded dependencies from serverless, to minimize build size and init duration.
Additional Notes

There is no code change, only moved files and renamed imports.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Cleaning up How-To Guides v1

Preview is available here:http://developers-pr907.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr907.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr907.previews.kube001.services.stellar-ops.com


[BUG] Bug of SubTask in GAIA-X

Describe the bug
BUG 1:
It seems that a subtask with no output result (of sub query) will occur the following  bug:
[worker_0(2)]: job(2) execute error: user error: kind(Unknown), caused by:125th subtask with scope [504] had been joined;
thread 'reactor 3' panicked at 'buf can't be none', GraphScope/research/gaia-x/pegasus/pegasus/src/communication/output/output.rs:500:22
BUG 2:
It seems that some specific query with subtask may occur the following bug:
thread 'reactor 1' panicked at 'batch of [1423] not consumed; ', GraphScope/research/gaia-x/pegasus/pegasus/src/communication/input/session.rs:174:13
[worker_2(3)]: IntraProcessPush#push: send data failure batch[[3135] len=1]
[worker_2(3)]: job(3) execute error: system error: kind(IOError), caused by:IOError(kind=System(NotConnected)),	occurred at: GraphScope/research/gaia-x/pegasus/pegasus/src/data_plane/intra_process.rs:43, ;
[worker_3(3)]: ChannelId { job_seq: 3, index: 11 }: drop 'ThreadPush' without close;
BUG 3:
It seems that some specific query with subtask may output inconsistent results.
BUG 4:
It seems that some specific query with subtask may get stuck
To Reproduce
To Reproduce Bug 1:

load any LDBC datasets in distributed using two servers;
run the following gremlin query:

g.V().hasLabel('PERSON').has('id',17592186044810) \
  .both('KNOWS').as('friend').in('HASCREATOR').hasLabel('COMMENT') \
  .filter(out('REPLYOF') \
          .hasLabel('POST') \
          .out('HASTAG') \
          .out('HASTYPE') \
          .has('name',eq('BasketballPlayer'))) \
  .count()

To Reproduce Bug 2:

load any LDBC datasets in distributed using two servers;
run the following gremlin query:

g.V().hasLabel('PERSON').has('id',17592186044810) \
  .both('KNOWS').as('friend').in('HASCREATOR').hasLabel('COMMENT') \
  .filter(out().out()) \
  .count()

To Reproduce Bug 3:

load any LDBC datasets in distributed using two servers;
run the following gremlin query:

g.V().hasLabel('PERSON').has('id',17592186044810) \
  .both('KNOWS').as('friend').in('HASCREATOR').hasLabel('COMMENT') \
  .filter(out('REPLYOF') \
          .hasLabel('POST') \
          .out('HASTAG')) \
  .count()

To Reproduce Bug 4:

load any LDBC datasets in distributed using two servers;
run the following gremlin query:

g.V().hasLabel('PERSON').has('id',17592186044810) \
  .both('KNOWS').as('friend').in('HASCREATOR').hasLabel('COMMENT') \
  .filter(out().has('name',eq('India'))) \
  .count()

Screenshots
Bug 1:

Bug 2:

Bug 3:

Additional context
The common part in above queries is just for initial the input (i.e., g.V().hasLabel('PERSON').has('id',17592186044810).both('KNOWS').as('friend').in('HASCREATOR').hasLabel('COMMENT')), which can be ignored.
The bugs are mainly related to subtasks, and different sub-query seems occur different problems.
For Bug 2,
I tried one-hop query in subtask, it does not occur the bug. The correct query is as follows:
g.V().hasLabel('PERSON').has('id',17592186044810) \
  .both('KNOWS').as('friend').in('HASCREATOR').hasLabel('COMMENT') \
  .filter(out()) \
  .count()

This issue should be refined as follows: (1) the query should be described via gaia codes; (2) it must be simplified/included as a gaia test case if it is actually an issue of gaia.


"No value associated with key CodingKeys(stringValue: "sheetData", intValue: nil) ("sheetData")."

(lldb) po file.parseWorksheetPaths()
▿ 3 elements

0 : "xl/worksheets/sheet3.xml"
1 : "xl/worksheets/sheet2.xml"
2 : "xl/worksheets/sheet1.xml"

(lldb) po file.parseWorksheet(at: "xl/worksheets/sheet3.xml")
▿ DecodingError
▿ keyNotFound : 2 elements
- .0 : CodingKeys(stringValue: "sheetData", intValue: nil)
▿ .1 : Context
- codingPath : 0 elements
- debugDescription : "No value associated with key CodingKeys(stringValue: "sheetData", intValue: nil) ("sheetData")."
- underlyingError : nil

Thank you @maxvol, this is a very interesting one, sheetData is a property which stores all of the worksheet rows and cells. I've not been able to recreate even with empty documents though. Could you please share it here or privately to this email for further examination? Any other details, specifically on what software created this worksheet, would be appreciated.

Here it is -
"\r\n<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main\" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships\" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006\" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac\"><dimension ref="A1"/><sheetView workbookViewId="0"/><sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>"


Negative notification displayed in tab

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

Action Performed:
Unclear (?)

Log in and open all unread messages in app.

Expected Result:
There should not be any negative number's in the notification status or badges
Actual Result:
There's a negative number of notifications for the user.
Workaround:
N/A
Platform:

Where is this issue occurring?

Web

Version Number: 1.0.83-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
View all open jobs on Upwork

From @thienlnam  https://expensify.slack.com/archives/C01GTK53T8Q/p1628105225147400

Seeing -1 with no unread messages

Triggered auto assignment to @alex-mechler (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

I wonder if this is somehow related to https://github.com/Expensify/App/issues/4273.
Either way, looks like a good external issue!

Triggered auto assignment to @trjExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Could be related but a quick fix for this can be:
In updateUnread/index.website.js
Change the code from const hasUnread = totalCount !== 0; --> const hasUnread = totalCount > 0;

Looks like a dupe of this issue: https://github.com/Expensify/App/issues/4273 so I'm going to close this out. Let me know if you disagree, or missed something!

I think this issue should be reopened explained by my comments here: https://github.com/Expensify/App/issues/4273#issuecomment-927821515
-1 seems to be a special case we're intentionally setting as a count (see updateUnread(-1))
https://github.com/Expensify/App/blob/b4c876a19e14b4dfb39afacd2e39514adf4c5c7b/src/libs/UnreadIndicatorUpdater/index.js#L15-L18
But we're only handling the -1 case on iOS
https://github.com/Expensify/App/blob/b4c876a19e14b4dfb39afacd2e39514adf4c5c7b/src/libs/UnreadIndicatorUpdater/updateUnread/index.ios.js#L9-L15
While the rest of the platforms leave the count as is:
Desktop
https://github.com/Expensify/App/blob/b4c876a19e14b4dfb39afacd2e39514adf4c5c7b/src/libs/UnreadIndicatorUpdater/updateUnread/index.desktop.js#L10-L14
Web
https://github.com/Expensify/App/blob/b4c876a19e14b4dfb39afacd2e39514adf4c5c7b/src/libs/UnreadIndicatorUpdater/updateUnread/index.website.js#L11-L15

It's seems this comment is outdated:

If all of our nonzero unread action counts show -1, update the unread count to be -1 as well so we don't show a number in the indicator badge.

Because on iOS we're specifically showing (1) when totalCount is -1
Can we clarify the expected behavior when totalCount is -1

show no badge/tab count
show (1)

Thats the direction had put, starting we're forcefully updating -1 in my comment https://github.com/Expensify/App/issues/4425#issuecomment-893659947

Happy to reopen and investigate, let's get someone from the CME team to take a look. I'll re-add the label!

Triggered auto assignment to @alex-mechler (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@yuwenmemon I see you in the blame for the iOS files. Do you have any context you can add here?

Can we clarify the expected behavior when totalCount is -1

We should be showing (1)

Ok so it seems we can update the call updateUnread(-1) to have a check like in .ios and call with updateUnread(1). So that we don't make the -1 check per each platform

@trjExpensify Looks like this can go external now that we know what the expected behavior is

Triggered auto assignment to @iwiznia (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Perfect. Job is up on Upwork here, but I'm adding n6-hold 👍

Ok so it seems we can update the call updateUnread(-1) to have a check like in .ios and call with updateUnread(1). So that we don't make the -1 check per each platform

Sounds good to me. @trjExpensify can you hire @kidroca?

I've submitted a proposal in Upwork

Perfect, thanks! Hired! 👍

Taking this one off hold, now that N6 is out.

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.8-9 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/5686

If no regressions arise, payment will be issued on 2021-10-30. :confetti_ball:

@trjExpensify I think no regressions have been found, so you can pay this.


Add buildRpm.sh and spec file

Goes with a Research PR at http://github.schq.secious.com/Logrhythm/Research/pull/1508

:+1: And also reviewed with Kjell. He likes it.

@KjellKod - I think you need to do the merge as we don't have write access to the logrhythm account.


URL + ExpressibleByArgument

Description
PR for #82
Detailed Design
import Foundation
extension URL: ExpressibleByArgument {}

Documentation Plan
The code is self-explanatory. Do we need to point out this conformance in one of the documentation?
Test Plan
Added URLArgumentTests.
Source Impact
There is no change to existing API. Additive change only.
Checklist

[x] I've added at least one test that validates that my change is working, if appropriate
[x] I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary

Thanks @YuAo — we can't add this conformance without exporting Foundation, which we're avoiding. See the note in #82 for workarounds.


[backport 23.05] matrix-appservice-discord: 3.1.1 -> 4.0.0

Description of changes
Backport of:
https://github.com/NixOS/nixpkgs/pull/255431#issuecomment-1722250054
This release contains compatibility fixes for Synapse 1.90.0+ and
NodeJS 20.
(cherry picked from commit d1e79831b1a133e633745b9e824ebda7b11c02e5)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

CC: @symphorien, @whitequark

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2662

@pacien Thank you!


runit is now in the @community repository

runit is no longer available from @testing, but can be accessed via @community

@caitp This looks good to me (although @maxbeatty or @asilluron would know best). Would you mind clicking the “update branch” button to the top of this comment in preparation for a possible merge? Thanks!

lgtm, thanks for updating @caitp

Ugh, apparently GitHub doesn’t send notification emails when a PR branch was updated. @caitp could you please do it again?

Have anything else changed in the community-edition? I seem to get errors when when running docker-compose when applying these changes?

sure, one sec

It's rebased, so merge at will (or ping me again if you need another rebase in a few days :p)

@madskonradsen No idea :/

seems possible, but fwiw I haven't seen logs like that in docker-compose locally. Is that with fresh images?

Strange, yes, wiped all of my containers and images, running with the following .env:
NODE_ENV=development
SCHEME=http
DOMAIN=localhost
PORT=3000
...

oh well, guess I need to do some more debugging...


⚠ Bofrost.at has degraded performance

In e35d0bd, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1465 ms

Resolved: Bofrost.at performance has improved in 0aa9a93 after 43 minutes.


Interactive mode with URL on command line and pretty-printed output

I think it would be great to have a mode for easy tests, something like:
$ python -m autoextract http://example.com --page-type product

which would output results as indented JSON to the terminal.
It seems it would need two features:

allow to interpret the input as a file - can we do that without extra flags, by checking "http://" or "https://" prefix? Or shall we have --intype url?
allow to output json - I guess we need to add --outtype json for that?

+1 to this feature.


Azure pipelines

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


Body copy

Closes #61

@vidonne @matthewsmawfield This is ready for review.

@vidonne @matthewsmawfield This is ready for review.


tiledbsoma 1.15.0rc3 pre-check

Following our established procedure

Closing at per our established procedure.

Thanks @jdblischak !


High value items can be deleted from map using medibot crafting

Description
By putting items inside a medkit and then crafting a medibot, you can delete them from existence
Reproduction
Get a health analyzer, borg arm, medkit, and proximity sensor. Put item of value inside medkit and craft medibot.
Screenshots
Additional context
Maybe have a way for high-value items to respawn or have admins spawn new ones in after they get deleted.

I'd like to add this includes the nuclear disc.

I'd like to add this includes the nuclear disc.

There's dozens of ways to delete the nuclear disk, it needs a respawning component

To solve this, add an IGraphCondition that the container(medkit) storage is empty.

Actually, ContainerEmpty is a construction graph condition already. Just add it to the medibot recipe.

This is actually a bigger problem. HandleStartItemConstruction (when you click 'craft') does not respect IGraphCondition's at all. Second, the ContainerEmpty and the other graph conditions assume a single target entity. That works for where IGraphCondition is used currently. At the instant of crafting however, there's no target entity yet. We need a new kind of condition that can itself check for conditions on items inside the item_construction container.

This is actually a bigger problem. HandleStartItemConstruction (when you click 'craft') does not respect IGraphConditions at all. Second, ContainerEmpty and the other graph conditions assume a single target entity. That works for where IGraphCondition is used currently. At the instant of crafting however, there's no target entity yet. We need a new kind of condition that can itself check for conditions on items inside the item_construction container.

This is intended. Crafting/Construction recipes from the menu have their own conditions system. Use that instead.

Since HandleStartItemConstruction evaluates the IConstructionCondition before Construct, it dosen't have knowledge of the specific ingredients to be used in the crafting. I think it might be better to just cause all containers used in crafting to spill their contents before being consumed by the recipe.

Fixed by https://github.com/space-wizards/space-station-14/pull/18564, thanks!


Error when trying to run Hello World sample app

Subject of the issue
Error when running Hello World Sample App With Front-End

I am trying to run the sample app Hello World using the command almost init. After executing the smart contract, build and deploy. When running the Front-End application, I am getting the error.
I was trying to follow this video - https://www.youtube.com/watch?v=4-Xy6svMH04&t=609s
node:internal/modules/cjs/loader:1145
  throw err;
  ^

Error: Cannot find module 'set-blocking'
Require stack:
- /Users/mv/.npm/_npx/81881/lib/node_modules/generate/bin/generate.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)
    at Module._load (node:internal/modules/cjs/loader:983:27)
    at Module.require (node:internal/modules/cjs/loader:1230:19)
    at require (node:internal/modules/helpers:179:18)
    at process.<anonymous> (/Users/mv/.npm/_npx/81881/lib/node_modules/generate/bin/generate.js:5:3)
    at process.emit (node:events:531:35) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/mv/.npm/_npx/81881/lib/node_modules/generate/bin/generate.js'
  ]
}

Node.js v21.7.1

Client generation failed for /Users/mv/Desktop/algorand-simple-app/algorand-test/projects/algorand-test-contracts/smart_contracts/artifacts/hello_world/application.json.

Your environment

Algokit version - algokit, version 2.0.2
goal status
    algokit goal node status      Last committed block: 3      Time since last block: 2297.6s      Sync Time: 0.0s      Last consensus protocol: future      Next consensus protocol: future      Round for next consensus protocol: 4      Next consensus protocol supported: true      Last Catchpoint:      Genesis ID: dockernet-v1      Genesis hash: YzNbyoDyOjncaJ0uZ6zFAdd8U9SJGe/xZqBgo+0E0Wc=
MacOS Sonoma 14.2.1

Steps to reproduce

Algokit init
Selected these options

          ? Which of these options best describes the project you want to build? Smart Contracts & DApp Frontend 🎛
          ? Which language would you like to use for the smart contract? PyTeal 🔧
          ? Name of project / directory to create the project in: algorand-test
          Starting template copy and render at /Users/marciovieira/Desktop/algorand-simple-app/algorand-test...
          🎤 Name of the template preset to use.
             Starter - for a simpler starting point ideal for prototyping
          🎤 Name of the default smart contract app.
             hello_world
          🎤 Pick language for deployment scripts in the backend?
             Python
          ==== Checking compatibility with the cli ===

Build and Deploy the smart contract using the script on launch.json file
Trying to execute npm run dev command.

Expected behaviour
Actual behaviour

Hi @mvieiradcu
Just wanted to confirm that algokit project bootstrap all ran successfully? It's one the questions asked after the project has been created. If your not sure, you can re-run it at the root of the workspace.
Are you able to please paste the output of algokit doctor?

Hi @neilcampbell ,
It ran algokit project bootstrap all when the project was created successfully, but I ran it again just in case. The error remains after running npm run dev
$algokit doctor
timestamp: 2024-04-05T06:53:06+00:00
AlgoKit: 2.0.2
AlgoKit Python: 3.12.2 (v3.12.2:6abddd9f6a, Feb  6 2024, 17:02:06) [Clang 13.0.0 (clang-13<IP_ADDRESS>)] (location: /Library/Frameworks/Python.framework/Versions/3.12)
OS: macOS-14.2.1-x86_64-i386-64bit
docker: 20.10.22
docker compose: 2.15.1
git: 2.44.0
python: Command not found!
python3: 3.12.2 (location: /Library/Frameworks/Python.framework/Versions/3.12/bin/python3)
pipx: 1.5.0
poetry: 1.8.2
node: 21.7.1
npm: 6.14.11
brew: 4.2.15

@mvieiradcu you have an outdated version of npm (6.x.x is around 3 years old).
Try updating it with:
npm install -g npm@latest

and then retry algokit project run build from the root of the workspace (repo root) and finally you can do the npm run dev again.
I was able to replicate the exact bug and bumping npm fixed the issue. Will add explicit min npm version to readme to make it clearer

to be addressed in the following prs
https://github.com/algorandfoundation/algokit-cli/pull/474
https://github.com/algorandfoundation/algokit-python-template/pull/12
https://github.com/algorandfoundation/algokit-react-frontend-template/pull/30
https://github.com/algorandfoundation/algokit-beaker-default-template/pull/65


When I use node-llama-cpp to run inference, cloudrun fails with a 503 error

Issue description
When I use node-llama-cpp to run inference, cloudrun fails with a 503 error.
Expected Behavior
Run inference in cloudrun without any issues.
Actual Behavior
I have a simple microservice that exposes two HTTP endpoints. One endpoint is used to check the health of the service (/api/v1/healthcheck), and the other endpoint is used to run inference (/api/v1/analyze) using node-llama-cpp and a Hugging Face model.
When I deployed the service on Google Cloud Run, I could access the health check endpoint without any issues. However, when I called the analyze endpoint, the service was failing with a 503 error. Initially, I thought it was a configuration issue, so I tried all the steps mentioned here to fix it, but I had no luck.
Next, I tested the container's behavior on a different cloud provider by deploying it on AWS ECS Fargate. Unfortunately, the container was still failing. At that point, I wanted to check the logs of the Cloud Run service again. Fortunately, I noticed that the container was terminating with this warning  Container terminated on signal 4, which stands for Illegal Instruction. This indicates that the CPU attempted to execute an instruction that the hardware capabilities do not allow.
Since I'm using node-llama-cpp to download and build llama.cpp binaries, I think we may be doing something wrong there that is not aligned with what Cloud Run expects. I'm not sure how to interpret this, but at this point, I'm exhausted.
Additional Notes:

The docker image uses node:iron-bookworm-slim base image, which is on amd64 architecture.
The container works fine locally.
Both versions, node-llama-cpp v2 and v3 fail in cloudrun.

Steps to reproduce
Repo
My Environment

Dependency
Version

Operating System

CPU
12th Gen Intel i7-1260P / Ubuntu Linux 20.04

Node.js version
20.x

Typescript version
5.x

node-llama-cpp version
2.x and 3.x

Additional Context
No response
Relevant Features Used

[ ] Metal support
[ ] CUDA support
[X] Grammar

Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, but I don't know how to start. I would need guidance.

I have a few suggestions for things you can try:

Don’t use :slim or :alpine tags, just use :22 or :20, as the slim ones don’t include all the necessary libraries to compile correctly when the hardware has some types of GPUs or NPUs
Try to run npx node-llama-cpp download inside of the container before your code is running, just to make sure it has nothing to do with your build process that happens before deploying the container
From my experience, the Illegal Instruction issue happens when the container runs inside of virtualization (for running x64 container on an arm64 machine, for example), since llama.cpp uses some instructions that are not commonly used but help maximize the performance of the hardware you have, but not all of those instructions are supported by the virtualization implementation used by docker for example.

I tried all the above cases, and none of them worked. However, while I was trying to create a repo for you to use, I noticed a couple of things:

When I deployed the service from a machine that was on an amd64 architecture and used an AMD Ryzen 7 PRO 6850U with Radeon Graphics processor, the service didn't return a 503 error.
When I deployed the service from a machine that was on an amd64 architecture and used a 12th Gen Intel(R) Core(TM) i7-1260P processor, the service returned a 503 error.

So, the issue is definitely CPU-related.
I have also created the same service using the llama-cpp-python SDK, and I encountered the same problem there. At this point, the issue is not related to this repository, so I will be closing it soon. However, if you have any suggestions or ideas on how to solve this issue, feel free to share them with me.


Step is valid even if iline script has an error.

Run azure/cli@v2
  with:
    azcliversion: latest
    inlineScript: az keyvault secret show --id https://***.vault.azure.net/secrets/exemple-secret --query value -o tsv | jq > secrets.json

  env:
    ENVIRONMENT: production
    ARM_CLIENT_ID: ***
    ARM_SUBSCRIPTION_ID: ****
    ARM_TENANT_ID: ****
Starting script execution via docker image mcr.microsoft.com/azure-cli:latest
ERROR: (SecretNotFound) A secret with (name/id) exemple-secret was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182
Code: SecretNotFound
Message: A secret with (name/id) exemple-secret was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182
az script ran successfully.
cleaning up container...
MICROSOFT_AZURE_CLI_1730302744787_CONTAINER

One would assume that a failing script makes the step also fails.

My bad... just learned that piping to another command will proceed and then output the error of the latest command 😓


Add support for multiple curators

(Hope this is the right repo, I apprecciate a pointer if this is the wrong place to suggest this.)
It would be great if multiple people could administer a community/collection.

This is definitely on the road map. Exactly when it will land I can't say for sure yet, but probably either Q2 or Q3 this year.

Closing because of module refactoring


Replace single-column table of constants with lits

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/axistitle-horizontalalignment-property-excel.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/axistitle-horizontalalignment-property-excel.md
:white_check_mark:Succeeded

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

All content in this repository has been migrated to a new repository (https://github.com/MicrosoftDocs/VBA-Docs). The changes in this PR have been applied in the new repository (as part of pull request #59), so this PR is being closed. The changes will be published to the live docs soon. Thank you for your contribution!


MONDO_0018797 term has no name attribute

MONDO_0018797 does not have a corresponding name field in the diseases_efo.jsonl file found here https://storage.googleapis.com/open-targets-data-releases/alpha-rewrite/static/ontology/diseases_efo.jsonl.
This causes issues in the platform rewrite in the Ontology visualisation.
In addition, the GraphQL API has an internal server error when looking a disease with that id https://tinyurl.com/yxapraxw

This term seems to have been made obsolote in MONDO (see mondo/1175) and it cannot be found either in EFO or MONDO using OLS. I wonder why it is in there in the first place.

To reformulate the problem here, querying an obsoleted disease term (MONDO_0018797) produces an "internal server error":

api-beta-dot-open-targets-eu-dev.appspot.com
platform-api-alpha.opentargets.io

To reformulate the problem here, querying an obsoleted disease term (MONDO_0018797) produces an "internal server error":

api-beta-dot-open-targets-eu-dev.appspot.com
platform-api-alpha.opentargets.io

Somewhat unrelated question: Is the code that creates diseases_efo.jsonl available? Is diseases_efo.jsonl derived from efo_otar_profile.owl,
efo_otar_slim.owl, or something else?

Somewhat unrelated question: Is the code that creates diseases_efo.jsonl available? Is diseases_efo.jsonl derived from efo_otar_profile.owl,
efo_otar_slim.owl, or something else?

Hi @dhimmel!
The code that generates our current disease index can be found here but it might be hard to navigate and it has some dependencies, that might be hard to reproduce. The input for this pipeline is efo_otar_slim.owl file since November 2019.
@cmalangone is currently refactoring our disease data by converting the OWL to json using the riot tool in Apache Jena and processing the data in Spark. We are also including HPO in a separate index, as well as the disease-phenotype relationships available in HPO and MONDO. We are working on this as we write, but we are getting quite close to having a first version.

Upcoming schema
>>> disease.printSchema()
root
 |-- ancestors: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- children: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- code: string (nullable = true)
 |-- dbXRefs: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- descendants: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- description: string (nullable = true)
 |-- id: string (nullable = true)
 |-- name: string (nullable = true)
 |-- obsoleteTerms: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- ontology: struct (nullable = true)
 |    |-- isTherapeuticArea: boolean (nullable = true)
 |    |-- leaf: boolean (nullable = true)
 |    |-- sources: struct (nullable = true)
 |    |    |-- name: string (nullable = true)
 |    |    |-- url: string (nullable = true)
 |-- parents: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- phenotypes: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- sko: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- synonyms: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- synonymsDetails: struct (nullable = true)
 |    |-- hasExactSynonym: array (nullable = true)
 |    |    |-- element: string (containsNull = true)
 |    |-- hasNarrowSynonym: array (nullable = true)
 |    |    |-- element: string (containsNull = true)
 |    |-- hasRelatedSynonym: array (nullable = true)
 |    |    |-- element: string (containsNull = true)
 |-- therapeuticAreas: array (nullable = true)
 |    |-- element: string (containsNull = true)

Let us know if you are interested in this activities and we can keep you in the loop.

Hi @dhimmel!
The code that generates our current disease index can be found here but it might be hard to navigate and it has some dependencies, that might be hard to reproduce. The input for this pipeline is efo_otar_slim.owl file since November 2019.
@cmalangone is currently refactoring our disease data by converting the OWL to json using the riot tool in Apache Jena and processing the data in Spark. We are also including HPO in a separate index, as well as the disease-phenotype relationships available in HPO and MONDO. We are working on this as we write, but we are getting quite close to having a first version.

Upcoming schema
>>> disease.printSchema()
root
 |-- ancestors: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- children: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- code: string (nullable = true)
 |-- dbXRefs: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- descendants: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- description: string (nullable = true)
 |-- id: string (nullable = true)
 |-- name: string (nullable = true)
 |-- obsoleteTerms: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- ontology: struct (nullable = true)
 |    |-- isTherapeuticArea: boolean (nullable = true)
 |    |-- leaf: boolean (nullable = true)
 |    |-- sources: struct (nullable = true)
 |    |    |-- name: string (nullable = true)
 |    |    |-- url: string (nullable = true)
 |-- parents: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- phenotypes: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- sko: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- synonyms: array (nullable = true)
 |    |-- element: string (containsNull = true)
 |-- synonymsDetails: struct (nullable = true)
 |    |-- hasExactSynonym: array (nullable = true)
 |    |    |-- element: string (containsNull = true)
 |    |-- hasNarrowSynonym: array (nullable = true)
 |    |    |-- element: string (containsNull = true)
 |    |-- hasRelatedSynonym: array (nullable = true)
 |    |    |-- element: string (containsNull = true)
 |-- therapeuticAreas: array (nullable = true)
 |    |-- element: string (containsNull = true)

Let us know if you are interested in this activities and we can keep you in the loop.

The offending term has been removed in EFO OTAR slim v3.26
❯ grep MONDO_0018797 efo_otar_slim.owl
        <mondo:excluded_subClassOf rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <mondo:excluded_subClassOf rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <mondo:excluded_subClassOf rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <mondo:excluded_subClassOf rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>

The offending term has been removed in EFO OTAR slim v3.26
❯ grep MONDO_0018797 efo_otar_slim.owl
        <mondo:excluded_subClassOf rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <mondo:excluded_subClassOf rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <mondo:excluded_subClassOf rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <mondo:excluded_subClassOf rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>
        <annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/MONDO_0018797"/>

Let us know if you are interested in this activities and we can keep you in the loop.

Yes @d0choa, super interested in the EFO to disease information pipeline and data!
At @related-sciences, we're currently extracting similar data from the EFO OWL releases via SPARQL queries. Our outputs are parquet tables (that can be used with spark) and an nxontology graph for performing network operations. This code isn't currently public, but we might move some of it upstream to nxontology.
It would be great to compare implementations with OpenTargets. We might even decide we want to derive our EFO datasets from your exports. Do you plan to keep the disease processing code and exports up-to-date with the monthly EFO releases? Will the data outputs be publicly accessible?

Let us know if you are interested in this activities and we can keep you in the loop.

Yes @d0choa, super interested in the EFO to disease information pipeline and data!
At @related-sciences, we're currently extracting similar data from the EFO OWL releases via SPARQL queries. Our outputs are parquet tables (that can be used with spark) and an nxontology graph for performing network operations. This code isn't currently public, but we might move some of it upstream to nxontology.
It would be great to compare implementations with OpenTargets. We might even decide we want to derive our EFO datasets from your exports. Do you plan to keep the disease processing code and exports up-to-date with the monthly EFO releases? Will the data outputs be publicly accessible?


Added old attribution for cni 1-23

Issue #, if available:
Description of changes:

Fix failed postsubmit build by adding old attribution to 1-23. This change cause the build failure: https://github.com/aws/eks-distro/pull/1157

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I don't think this is why the post submit is failing.

https://github.com/aws/eks-distro/blob/main/development/kops/set_environment.sh#L77

@jaxesn ah yeah I think you're right

Closing to fix what Jackson suggested


ES6: Use Destructuring Assignment to Pass an Object as a Function's Parameters

Describe your problem and - if possible - how to reproduce it
I think the examples could be more descriptive of what is actually required. Both code examples involve variables which have totally different syntax from passing destructured objects to a function. And thus, at least in my case, only add confusion.
I'm not suggesting excessive hand holding, but for challenges that specifically involve learning syntax it is imperative that the syntax is clear and understood. Or failing that, not muddied by the addition of syntax unrelated to the problem.
I'm definitely open to other ideas, this is just my experience, since I like what FCC is trying to do I wanted to give feedback on an issue I noticed. I'm happy to try my hand at an alternative description, if others see what I see as a problem as well.
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-pass-an-object-as-a-functions-parameters

I agree, specifically...

the example shows an arrow function while the code is set up with an anonymous function which I think can be confusing to beginners.
the example doesn't show the contents of profileData and leaves it up to the user to imagine the contents originally contained at least: name, age, nationality, location. While the code helps show the contents of the stats object.

I also have the following opinion on the challenge. I think the term "argument" is being used incorrectly and the term "parameter" should be used instead. The destructuring is being performed in the function's parameter on the object being passed in as an argument.

I share the same sentiments. It is frustrating to say the least. The descriptions do nothing to help as they are misleading a great deal.

This looks like it's resolved in beta
So I think it's safe to close this.


Question: Filter array of objects based on property?

I must be missing something...
If I have an array of objects, like:
[
  {
    a: 1,
    b: 2
  },
  {
    a: 1,
    b: 3
  },
  {
    a: 1,
    b: 2
  }
]

How can I filter it to return just the objects where b is 2?  I've looked at filter, eq, and a few others.  No luck.  This seems like something pretty basic, so I'm sure I'm overlooking something.
Thanks.

I think this will do it:
F.filter(F.compose(F.equals(2), F.get('b')), yourList)

Geez, @CrossEye  - you're everywhere answering questions.  :-)
With one minor syntactical edit (F.eq instead of F.equals) this did the trick.
FWIW, my problem was that I had the filter inside the compose.
Thanks!

Thanks Scott!

NP.  I like seeing what's happening in the JS FP libraries!


Fix missing HTTPS on README

I don't think this is needed. Based on the documentation for requests, they use http (non-secure) when using proxies as do the other examples I've seen:
https://docs.python-requests.org/en/latest/user/advanced/#proxies


Pre-compiled module is missing<EMAIL_ADDRESS>

Tessel Environment Versions:
t2-cli: 0.1.22
t2-firmware: 0.2.0
Node.js: 8.11.3
Local Node:
v10.15.2
Extra error when I run:
.. .{ Error: ENOENT: no such file or directory, stat '/root/.tessel/binaries/bufferutil-4.0.1-Release-node-v57-linux-mipsel/Release/electron-napi.node' ....

@HipsterBrown @reconbot can either of you run this?


[README] Need to add Community Forum

Description

README.md is the first file one should read when starting a new project. Our community launched Discussion forum for help seekers; needs to publish it officially on README.md for convenience.
Screenshots

Current behaviour:

Desired behaviour:

Note:
Need to add only last line for Community Forum
Environment:

OS: any [e.g. Ubuntu]
Browser: any [e.g. Chrome, Safari]
Version: any [e.g. 22]
Device: any [e.g. laptop, iPhone 8]

Reference:

Take reference to this pull request

@sayantan1413, if interested...

Yeah @leecalcote done you can verify once.


Part_4_Creating_Grids.ipynb

Documentation on creating grids

Description 📜
Added documentation on creating grids in Figma. Contains explanation, walkthrough, videos and images explain the topic.
The sub-topics covered in are:
-What are Grids in Figma
-Applying layout grids
-Types of grids
-Properties of a grid
-Combining layout grids
Fixes #183

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[x] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev HTML/CSS/JS
[ ] Frontend Dev React/Angular/Vue
[ ] Golang
[ ] Interview Prep
[ ] Java_Domain
[ ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python_Domain
[ ] Rust
[ ] Statistics
[x] UI/UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@shrey-ya
Delete all other domains from your comment.. like mentioned in PR template directives
Kindly follow the issue template from next time ... & preach this to your fellow contributors

@shrey-ya
Delete all other domains from your comment.. like mentioned in PR template directives
Kindly follow the issue template from next time ... & preach this to your fellow contributors

Sorry and will do!


chore: unexport lagrangeInterpolate

This was pulled out from #85 -- we no longer need lagrangeInterpolate.

Removing it since it was only being used to test PolyEval indirectly


Selectpicker choice radiobutton/checkbox not working if radiobutton/checkbox itself is clicked

redo handlers:

[ ] let select multiple not autoclose afer option is selected
[ ] check readonly
[ ] check disabled

This problem may have been introduced when we switched to using regular inputs (accessibility)


Default MaxPoolingOp only supports NHWC on device type CPU

How i can resolve this?
tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.InvalidArgumentError:  Default MaxPoolingOp only supports NHWC on device type CPU
         [[node FaceNetModel/max_pooling2d/MaxPool (defined at C:\Users\Ana\Documents\Projetos\face_compare\face_compare\model.py:253) ]] [Op:__inference_predict_function_4833]

Function call stack:
predict_function

pip show intel-tensorflow
Name: intel-tensorflow
Version: 0.0.1
Summary: Intel Optimized Tensorflow with MKL
Home-page: https://github.com/IntelAI
Author: Intel Tensorflow optimization team
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: c:\users\ana\appdata\local\programs\python\python38\lib\site-packages
Requires: pip
Required-by:

I'm not sure why installing intel-tensorflow hasn't fixed this, as it did for me. I can point you to https://software.intel.com/content/www/us/en/develop/articles/intel-optimization-for-tensorflow-installation-guide.html to troubleshoot the installation (perhaps there is a different version you need). May seem like a silly question but, are you sure you have an Intel CPU?

yes, i'm sure.
Processador: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz 2.90GHz

I have met the same question with you, How did you solve it?

I think that intel-tensorflow only has been updated and has wheels for linux/windows. Not sure if it can be compiled for macos (perhaps m1 chip meant intel would stop supporting mac - reasonable). There is tensorflow-macos & tensorflow-metal, but those did not work.
@anaamorim90
Based off of "intel-tensorflow" version 0.0.1 I think that is likely your issue since you don't have the up to date version.

I have the same issue on MacOs. My processor is 2.7 GHz Dual-Core Intel Core i5.

which GPUs are supported? I've tried on runpod with 30xx and A500 with no success, still prompts the same error

TensorFlow 2.5.x, which is what this project uses, should definitely support NVIDIA RTX 30XX's, and also A5000. What kind of error are you getting? Because the aforementioned error specifically mentions CPU usage, so if you're getting that error then you won't have the GPU properly configured.

I think it's a problem that the tensorflow and Nvidia versions are inconsistent, you can try it out on a computer with a GPU to install the corresponding version of tensorflow.

I get the same exact error as above.. Weird since I am using stable diffusion (AI images that uses tensorflow) in the same machine with no issues.. i don't have access to physical machines though

@EFNFCTN I'm not using tensorflow==2.9.3, face-compare==1.1.4, and no intel-tensorflow as my PC does not have an intel CPU. Sorry I can't be of much help with regards to the intel-tensorflow.
I've just moved this project to tensorflow==2.9.3 so perhaps this change may fix your issues.

@Kotesitory @PoeticDeath @saharmor do you know how to fix above error?


automatically generated code is diffrent from API, AppSync and DataStore

Describe the bug
I have generated a model named EventNews.
But I'm getting an error in getList.
There is no problem with AWS AppSync Console and DataStore.
an error

Got failed result with GraphQL service returned a successful response containing errors: [Amplify.GraphQLError(messagee: "Validation error of type FieldUndefined: 'listEventNewss'\ in type 'Query'\ is undefined @'listEventNewss'", locations: Optional([Amplify.GraphQLError.Location(line: 2, column: 3)]), path: nil, extensions: nil)]

This problem seems to be due to the naming process
listEventNewss
// Code that causes an error
Amplify.API.query(request: .paginatedList(EventNews.self, limit: 100)
    .resultPublisher
    .sink { if case let .failure(error) = $0 { print("Got failed event with error \(error)") } }
    receiveValue: { result in
        switch result {
            case .success
            ...
           case .failure(let error):
               print("Got failed result with \(error.errorDescription)") // <-- Here
   }

// No problem with DataStore
Amplify.DataStore.query(EventNews.self)
   ...

// AWS AppSync Console
query MyQuery {
  listEventNews {
    items {
      id
    }
  }
}

Steps To Reproduce
1. Generate Model 'EventNews'

2. do Query
Amplify.API.query(request: .paginatedList(EventNews.self, limit: 100)

Expected behavior
Getting the list successfully
Amplify Framework Version
1.26.0
Amplify Categories
API
Dependency manager
Swift PM
Swift version
5.6
CLI version
8.3.1
Xcode version
13.3.1
Relevant log output
No response
Is this a regression?
No
Regression additional context
No response
Device
iPhone 12 - Simulator
iOS Version
15.4
Specific to simulators
No response
Additional context
No response

Hi @bjg2327, could you provide us with the contents of your amplify/cli.json file from the amplify cli project? specifically improvepluralization, useexperimentalpipelinedtransformer, and transformerversion.

There seems to be some regression happening, which i was able to reproduce here https://github.com/aws-amplify/amplify-ios/issues/1707#issuecomment-1079413894

Once this https://github.com/aws-amplify/amplify-codegen/pull/255 is released, you can upgrade to the latest CLI and it will generate those fields for you automatically.
CLI Issue: https://github.com/aws-amplify/amplify-codegen/pull/255

Hi @lawmicha
Code Here
"features": {
    "addmissingownerfields": true,
    "improvepluralization": false,
    "validatetypenamereservedwords": true,
    "useexperimentalpipelinedtransformer": true,
    "enableiterativegsiupdates": true,
    "secondarykeyasgsi": true,
    "skipoverridemutationinputtypes": true,
    "transformerversion": 2,
    "suppressschemamigrationprompt": true,
    "securityenhancementnotification": false,
    "showfieldauthnotification": false
}
...

Once this https://github.com/aws-amplify/amplify-codegen/pull/255 is released, you can upgrade to the latest CLI and it will generate those fields for you automatically.

Thank you for answering

Same issue facing

Please use Amplify CLI 12.4.0 or greater to get the fix for the pluralization issue


Can we document multiple routes using same controller's method?

Hi,
Thanks for your great package.
I'm having an issue with my API. We're using multiple routes for a controller method.
Ex:
Route::get('foo/doctor', 'FooController@getFoo');
Route::get('foo/patient', 'FooController@getFoo');
Route::get('foo/agency', 'FooController@getFoo');

How I can document it?
Ex:
Route::post('foo', 'FooController@createOrUpdate');
Route::put('foo', 'FooController@createOrUpdate');

If the method is POST, it will create a foo. If the method is PUT, it will update the foo. It's old API so I can't change it, I just can update the API document.
Thank you!

@ncatanchin I can't change the route.
Thanks for your suggestion!

Route::post('foo', 'FooController@createOrUpdate');
Route::put('foo', 'FooController@createOrUpdate');
If the method is POST, it will create a foo. If the method is PUT, it will update the foo. It's old API so I can't change it, I just can update the API document.

For this one, I suggest you change the code to (not sure of the exact syntax):
Route::any('post', 'put')->('foo', 'FooController@createOrUpdate');

This will make it a single route for them. In the route description, you can then indicate that what the different methods do.

Route::get('foo/doctor', 'FooController@getFoo');
Route::get('foo/patient', 'FooController@getFoo');
Route::get('foo/agency', 'FooController@getFoo');

Do these rputes do different things? Because if, not, I don't think you have a problem. You'll have the same doc repeated for different routes.


[Suggestion] United Nations Flag

Is there any possibility to include flags like UN?

You mean like https://github.com/lipis/flag-icon-css/blob/master/flags/4x3/un.svg and https://github.com/lipis/flag-icon-css/blob/master/flags/1x1/un.svg ?
:slightly_smiling_face:

ooops! :man_facepalming:
I was searching on the website home page and I did not find it, sooo, I assumed the flag did not exist.
Sorry!


Add a build and source caching mechanism

This could be achieved by hashing every file in the package directory, or perhaps by comparing the new and old SourcePackage object.

This would probably mean undoing https://github.com/velovix/debutizer/issues/63, which is fine as long as we have very high confidence that the package will be rebuilt when necessary and no stale files will be left around.


Build and Recycle Range doesn't match when changed

Basic Information
Mission version:
0.963
Map used:
Altis and Lythium
Mods used:
RHS
F-18
Advanced everything (towing, lifting, etc).
Dedicated or local game:
Dedicated
Source of the mission file (URL):
https://github.com/KillahPotatoes/KP-Liberation/releases
Individual Things
Did you edit anything within the mission files?
Changed addaction order to raise push crate to top.
Added in init for mag repack, bon recruitment and fusions admin menu.
If yes, what did you edit exactly?
Read above.
Short Issue Description
If you change the FOB range from 125 to larger (150m for example) you get the option to build outside the 125 range but the resources show up zero and you can't actually build, you need to start building within 125 then walk out past that range. You cannot recycle anything between 125 and 150 as it says there's no salvage station in range of the FOB.
Expected Behaviour
Ability to build and recycle outside the 125m range.
Steps to Reproduce the Issue
Change default range to over 125m, walk outside 125m and attempt to build or recycle.
Screenshots, Serverlog or any other helpful Information
https://steamuserimages-a.akamaihd.net/ugc/2422250350100872901/4E83D02663F02DA4CDD52BCEB677C98EB650E25C/
https://steamuserimages-a.akamaihd.net/ugc/2422250350100873217/A164885D484AD24434E4D61796112BEB3F5A1D08/

Good catch and you're completely right.
There was a fixed number for exactly the check if there is a salvage depot or resources etc. near.
Very good issue description, because I was able to find the possible issue location and fix it, just by reading your report.
Excellent!

No worries man, glad I could help!


when using a route that has a + in it useRouteLoaderData seems to break

useRouteLoaderData uses the route id to lookup the loader data, but from what I can tell this breaks the useRouteLoaderData hook
  const data = useRouteLoaderData<typeof layoutLoader>("routes/_app+/_layout");

Did you figure it out?

@kiliman yeah, typo on my part, once I saw what useMatches returned it all made sense 😅


Wrong hints: 針葉樹林 against 古今東西

東 has somehow two 木s:
https://github.com/yagays/kanjivg-radical/blob/cfda1b03c4ecfd42447a0f7fad28987b94ebdea3/data/kanji2radical.json#L9438-L9442


disabling the menu bar on alt

I suggest disabling the menu bar in Peskyfox.js and user.js.
When you press alt, an annoying menu bar appears, sometimes preventing you from changing windows.
Here is the code to disable it:
user_pref("ui.key.menuAccessKeyFocuses", false);

This is the common way to open this menu.
If this prevents you sometimes from switching windows, this must be an issue in your system.
The menu only appears as soon as the alt key is released.

Thank you for reporting.
The pref ui.key.menuAccessKey has been optional in Peskyfox  for awhile now, but the pref you suggested makes more sense. Added to Peskyfox.
However, I consider this a niche issue; and as HyperCrisis said, some people use this key as a part of their workflows.
Please add the pref you suggested to your overrides.


Remove the show only changed files toggle button in File Coverage tab

Unit test passed

I'm Reviewing this.

UI is correct, Unit test passed, no errors found.


Add version check to prepare step

https://github.com/rancher/k3s/issues/1507

https://github.com/rancher/rancher/issues/25907


Fix form not reset on step change

What this PR does / why we need it:
Before
https://user-images.githubusercontent.com/32532742/152804747-767354bd-8933-49ef-9ccd-cf6a8d84cb18.mp4
After
https://user-images.githubusercontent.com/32532742/152805307-fd6446f1-4550-4d0d-8e4a-75db486feb59.mp4
Which issue(s) this PR fixes:
Follows PR #3196
Does this PR introduce a user-facing change?:

NONE

Nice catch!
/lgtm

Nice. Thank you.
/approve

/changelog


internal: Re-arrange ide_db modules

Thins out the helpers module by giving some items more appropriate places to live
bors r+

bors retry

bors r+


Cosine window

A simple implementation of a cosine/sine windowing function.

Shouldn't this be exactly zero at the first sample?  Many other windows are.
Wikipedia says "A cosine window convolved by itself is known as the Bohman window" and our Bohman window goes to 0, but convolve(cosine(N), cosine(N)) doesn't.


Major version is getting from the pack version platforms_controller.rb

The major version is hardcoded like 1 so whatever data is replaced by 1 so it is now getting from the version.

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


Use hashbrown for better performance

Use the most recent version of https://crates.io/crates/hashbrown to get some performance improvements. It is slightly faster than the standard hashmap (which uses the same crate) as it has some recent improvements and some more inlining.
 Sounds like an easy win :)


[Feature]: Support Azure Cognitive Index Vector store

Feature Request
Azure Cognitive Services can also store vectors / create indexes using a REST API.
ref: https://learn.microsoft.com/en-us/azure/search/vector-search-overview
Are there any plans to support it ?
Or is it feasible to add a plugin to support this vector store (e.g. like the pinecone plugin)
Is it possible to write such a plugin by myself ? (The create plugin page is empty on the website tho...)
Thanks for the great tool!
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hadn't heard of this before, should be possible! The plugin creation docs are currently here: https://github.com/abrenneke/rivet-plugin-example-python-exec

Hi, i know it was more than 6 month ago, but did you manage to integrate azure cognitive search to rivet?

Apologies for the delayed response. I haven't continued working on this, so I'm unsure of the next steps. If there's no further action required, we could consider closing this ticket.


database_actions plugin hook

Like column_actions but adds a cog menu to the database page.

Needed by https://github.com/simonw/datasette-backup/pulls

Here's the table_actions implementation: 2f7731e9e5ff9b324beb5039fbe2be55d704a184

Demo: https://latest.datasette.io/fixtures?_bot=1