Cover new 2.0 API endpoints

We need to ensure full coverage of all endpoints. As Chartmetric has continued to update its API over time, this client lib needs an update!
Documentation links

radio endpoints
api-search
Add charts Shazam parameters
Add fan metrics weekly_diff, weekly_diff_percent, monthly_diff, monthly_diff_percent
Auth changes
Search cities
YouTube Audience w/date
Instagram audience w/date
TikTok endpoints
See more below!

Todos

[ ] All radio endpoints covered in client
[ ] All radio endpoints tested under tests/
[x] Search covered in client
[x] Search endpoint fully unit tested
[ ] Regenerate documentation
[ ] Add new functionality to README.md

Notes
We should make sure to test all options for these new endpoints, as some in the past were known to return atypical HTTP responses when data is not available versus other endpoints which return typical responses.

Thanks to #27 the search portion of this issue has been knocked out and will be merged, forthcoming.

This issue should include:

[ ] #3

And many more, for posterity:
2020-09-18
Charts - Spotify /api/charts/spotify
Added latest parameter to get latest data set from the chart
Charts - Spotify (Freshfind) /api/charts/spotify/freshfind
Added latest parameter to get latest data set from the chart
Charts - QQ Music /api/charts/qq/
Added latest parameter to get latest data set from the chart
Charts - Amazon /api/charts/amazon/:chart_type
Added latest parameter to get latest data set from the chart
Charts - Apple Music /api/charts/applemusic/:chart_type
Added latest parameter to get latest data set from the chart
Charts - iTunes /api/charts/itunes/:chart_type
Added latest parameter to get latest data set from the chart
Charts - Shazam /api/charts/shazam
Added latest parameter to get latest data set from the chart
Charts - SoundCloud /api/charts/soundcloud
Added latest parameter to get latest data set from the chart
Charts - Beatport /api/charts/beatport
Added latest parameter to get latest data set from the chart
Charts - Tiktok /api/charts/tiktok/:chart-type
Added latest parameter to get latest data set from the chart
Charts - Youtube /api/charts/youtube/:chart_type
Added latest parameter to get latest data set from the chart
Charts - Airplay /api/charts/airplay/:chart_type
Added latest parameter to get latest data set from the chart
Charts - Twitch /api/charts/twitch/users
Added latest parameter to get latest data set from the chart
2020-09-11
Charts - Airplay /api/charts/airplay/:chart_type
Added API endpoint that returns Airplay chart data.
Charts - Twitch /api/charts/twitch/users
Added API endpoint that returns Twitch chart data.
2020-09-04
Artist - Fan Metrics /api/artist/:id/stat/:source
Added isDomainId as an optional parameter. When this parameter is set to true, id will be considered a domain ID.
2020-09-04
Playlist - Playlist List: /api/playlist/:platform/lists
Added more parameters to filter by majorCurator and editorial.
2020-08-28
City - Top Artists: /api/city/:id/:source/top-artists
Added API endpoint that returns top 100 artists with maximum count for source in the city
City - Top Tracks: /api/city/:id/:source/top-tracks
Added API endpoint that returns top 100 tracks with maximum count for source in the city
2020-08-25
Artist - Instagram Audience Data: /api/artist/:id/instagram-audience-stats
Added audience_brand_affinities and audience_interests keys in the response
2020-08-19
Charts - Soundcloud: /api/charts/soundcloud
Added raw option and updated list of allowed country codes in Soundcloud Charts. The raw option excludes peak_rank and peak_date in response when set to true and is true by default.
2020-08-16
Artist - Get Artists: /api/artist/:type/list
Added more parameters to filter the list by, and options to filter by country and genre. Added keys in the response for additional metrics.
2020-07-30
Artist - Tiktok Audience Data: /api/artist/:id/tiktok-audience-stats
Added API endpoint to get latest Tiktok Audience Analysis and Stats for an artist.
2020-07-21
Artist - Playlists API: /api/artist/:id/:platform/:status/playlists
Updated documentation to include parameters for indie, majorCurator, and editorial - each of the parameters indicate whether the playlists of the parameter type need to be included (true) vs excluded (false)
2020-07-14
Artist - Playlists API: /api/artist/:id/:platform/:status/playlists
Updated documentation for 'since' parameter to optional. Please note the default value is 6 months prior to when the API is called.
2020-07-06
Curator List API: /api/curator/:platform/lists
Set max value of the offset parameter to 100,000, please reach out to<EMAIL_ADDRESS>for more data.
Get Artists API: /api/artist/:type/list
Set max value of the offset parameter to 100,000, please reach out to<EMAIL_ADDRESS>for more data.
Playlist List API: /api/playlist/:platform/lists
Set max value of the offset parameter to 100,000, please reach out to<EMAIL_ADDRESS>for more data.
2020-06-30
Charts - Tiktok API: /api/charts/tiktok/:chart-type
Added new chart-type option 'users'. This chart will display the top user likes or top user followers charts for tiktok depending on what is passed in the type parameter.
2020-06-26
Track Stats API: /api/track/:id/:platform/stats
Added isDomainId as an optional parameter. When this parameter is set to true, id will be considered a domain ID.
CPP (Cross-Platform Performance) API: /api/artist/:id/cpp
Added latest parameter. When this parameter is set to true, since and until parameters are ignored and the response will return the latest value along with the calculated date.
2020-06-23
Playlist - Playlist Evolution Stats (given Artist, Album or Track Chartmetric ID) API: /api/playlist/by/:type/:id/playlist-evolution
Evolution stats for tracks will now return the latest stats if the track has no evolution.
2020-06-16
Artist Spotify Monthly Listeners by City API: /api/artist/:id/where-people-listen
Added latest parameter. When this parameter is set to true, since and until parameters are ignored.
2020-06-12
Album Playlists API: /api/album/:id/:platform/:status/playlists
Updated the response field 'num_tracks' to 'num_track' when searching with platform 'youtube'. Added response field 'album_names' when searching with platform 'youtube'.
2020-06-09
Playlist Lists API: /api/playlist/:platform/lists
Removed the monthly_listeners, and listeners_to_followers_ratio keys in the response and as expected parameters for sorting as they were outdated, this was applicable only for spotify playlists
Artist CPP (Cross-Platform Performance) API: /api/artist/:id/cpp
Response will now be in ascending date order from descending date order.
2020-05-20
Playlist Info API: /api/playlist/:platform/:id
Removed the monthly_listeners, and avg_monthly_listeners keys in the response as they were outdated, this was applicable only for spotify playlists

More to cover, as this is definitely coming in the 1.0.0 release.
2021-2-2
Charts - Tiktok /api/charts/tiktok/:chart-type
Added daily Tiktok stats for tracks and users. Changed default interval value to all_time, all_time will provide the old daily values. Using daily will now display daily stats.
2021-1-5
Track - Charts /api/track/:id/:type/charts
Added Airplay to Track - Charts. The type field now accepts airplay_daily and airplay_weekly as a parameter, returning airplay charts.
2020-12-23
Charts
Documentation of Charts APIs were updated to include missing response fields and fixing the type label for some parameters.
City
Documentation of City APIs were updated to include missing response fields and fixing the type label for some parameters.
Curator
Documentation of Curator APIs were updated to include missing response fields and fixing the type label for some parameters.
Playlist
Documentation of Playlist APIs were updated to include missing response fields and fixing the type label for some parameters.
Track
Documentation of Track APIs were updated to include missing response fields and fixing the type label for some parameters.
2020-12-18
Artist - Metadata api.chartmetric.com/api/artist/:id
Added general_manager to the response of the API call.
Artist
Documentation of Artist APIs were updated to include missing response fields and fixing the type label for some parameters.
Charts
Update caching of responses from twelve hours to two hours for all Chart APIs.
Charts - iTunes
Update a typo where a possible genre was All and Genres when it should have been All Genres.
2020-12-15
Album
Documentation of Album APIs were updated to include missing response parameters.
Artist - TV Show Appearances /api/artist/:id/tvmaze
Added API endpoint to get the TV Show Appearances for an artist.
2020-12-04
Search - Chartmetric Search Engine
Responses to Chartmetric Search APIs were updated.
2020-12-1
Track - Charts /api/track/:id/:type/charts
Added Soundcloud to Track - Charts. The type field now accepts soundcloud as a parameter, returning Soundcloud charts.
2020-11-24
Track - Playlists /api/track/:id/:platform/:status/playlists
Added sortColumn parameter, with default and followers as the allowed values. default will sort the result by added_at or removed_at based on the status, and followers will sort the result by followers in a descending order.
2020-11-17
Charts - Shazam /api/charts/shazam
Updated documentation to include missing parameters.
2020-11-12
Artist - Fan Metrics /api/artist/:id/stat/:source
Added weekly_diff, weekly_diff_percent, monthly_diff, and monthly_diff_percent response fields. Also fixed issue with youtube_channel field giving internal server error.
2020-10-02
Search
Documentation of Search APIs were updated.
Authorization
Documentation of Authorization APIs were updated.
Search - Get City Info /api/cities
Added new cities endpoint in the Search API to get chartmetric city info like city ids, city name, etc. for a country code.
Radio
Documentation of Radio APIs were updated.
Radio - Airplay information in Time Series /api/radio/:type/:id/airplays
Added since parameter to get Airplay data within a period of time.


re-export specialized function from Cardano.Address for better documentation

Before, modules would look quite empty unless one noticed the instance declaration below the main type. Now, the documentation is a lot clearer and gives less cryptic signatures for the various interfaces. For example:

Because I was waiting for your feedback first before doing any more work :D


Kind installation

Tests are failing:
make: kind: Command not found
make: *** [docker.Makefile:97: create-kind-cluster] Error 127
Exited with code 2


AY-6686_Houdini 20.5: Publish along "Slap Comp" renders from USD Render

Is there an existing issue for this?

[X] I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?
The USD Render ROP in Houdini 20.5 allows you to directly also write out the "Slap Comp" images from the ROP node.

Also see: https://www.sidefx.com/docs/houdini/copernicus/slap_comp.html
How would you imagine the implementation of the feature?
It would be great if we could publish this as additional output.
Whether this should be a separate product or representation that's a question. E.g. someone spoke about using Slap Comp to generate a "QC" view of the render, which may make more sense to be a separate representation of the main render instead of a separate product (like an AOV).
Are there any labels you wish to add?

[X] I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:
No response
Additional context:
No response

Attaching very simple example scene with slap comp setting enabled that could be used as starting point for testing:
slapcomp.01.zip


maas cannot parse header in secret file

What is the purpose of this pull request?:
MaaS throws exceptions due to the apache header in it's secret file.
What issue does this pull request address?: Fixes #
https://github.com/att-comdev/openstack-helm/issues/241
Notes for reviewers to consider:
n/a
Specific reviewers for pull request:
@v1k0d3n @alanmeadows @wilkers-steve

LGTM @larryrensing


cargo install-code doesn't work

I tried this command a few months ago and it didn't work. Someone on one of the chat channels showed me another way to install rust-analyzer -- IIRC the problem is not with the Rust parts of the project but rather code plugin installation does not work. I tried this again now to try something, and it still doesn't work.
I'm happy to help with debugging if you tell me what to check.
Basically what happens is; code runs, but none of the features are installed/enabled, and I don't see rust-analyzer plugin in the plugins section.

@osa1
Could you show me console logs when you executed cargo install-code?

Here’s all the code that runs on install-code:
https://github.com/rust-analyzer/rust-analyzer/blob/592b906604d60a86af74c5dbb3bf40b2ddcf8061/crates/tools/src/main.rs#L30
If it fail silently that could mean that we need better error reporting there

Do you have a recent version of npm?

It was failing silently for me as well, but started working by installing Node.js 10. It'd probably help to check the node/npm version.

I managed to debug this -- it turns out I didn't have the VSCode/bin directory in my $PATH, instead I had a script that execd the VSCode executable. I guess the script had a bug in the argument handling and probably didn't pass the arguments to code. I now removed the script and added VSCode/bin to my $PATH and this now works.
Sorry for the noise.

@osa1 I think we can handle this case better nontheless, see https://github.com/rust-analyzer/rust-analyzer/issues/918


Compile Biome to WASIX

Summary

This is just a challenge. I have removed lsp deamon, libc dependency and so on for compiling Biome to WASIX. In detail, lsp implementation deeply integrated with tokio and it seems difficult to resolve the issues quickly. I mean we need to add some changes to https://github.com/wasix-org/tokio and If the lsp implementation is unnecessary for WASIX, we can remove libc.
This is a messy way. If we compile Biome into WASIX in a original repository. I think we need to use conditional compilation.
Please check a GitHub Actions job for compiling Biome to WASIX here. https://github.com/TaKO8Ki/biome/actions/runs/7008644036/job/19065384839?pr=1
$ cargo wasix run --release

Test Plan

This is awesome @TaKO8Ki! Great work, it may make sense to publish this into a package in the Biome's namespace in Wasmer so people can start trying it?
Let me know if you need any help with that!

@syrusakbary Thanks! After discussion with other maintainers, I will publish this into the namespace!

Since it's necessary to change several dependency versions and sources for WASIX, the main challenge is how to integrate these changes into the main branch.

Hey @TaKO8Ki I think it may make sense to have a secondary Cargo.toml only used for WASIX? (that includes the patch?). Thoughts?

@syrusakbary Thank you for the advice. I think that's one approach, but as far as I know, merging multiple Cargo.toml files is not possible. In that case, it seems we would end up managing Biome's dependencies that are not directly related to WASIX in duplicate. What I'm currently considering is simply creating a wasix feature in Biome and switching dependencies based on whether this feature is used or not. At least for now, I think this is the cleanest way to implement it.
I'll work on it a bit more.

What I'm currently considering is simply creating a wasix feature in Biome and switching dependencies based on whether this feature is used or not

Oh, I think what this strategy is actually much better than what I was proposing! Yup, makes sense

If there is anything I can do to help, please let me know:)


Update Cluster-Operating-System-Rolling-Upgrade.md

Correct stale link to the Update-FunctionalLevel documentation
Fixes issues 5689

@ejsiron : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ejsiron : Thanks for your contribution! The author(s) have been notified to review your proposed change.


CSS Modules

Hi, I'm trying to use this library with CSSSmodules  but the keyframes are not injected into the head styles:
reproduction
I know right if this is related to the library or css modules(loader), but when try using this inline work well.
Maybe a related issue

I am also having issues with webpacker and production builds. It seems the plugin doesn't get bundled into CSS pack.

uvera

The problem happens with  parcel and webpack! I think this issue related with tailwind.


Not so nice error when not returning a response

What does this mean? I tried reproducing this and I couldn't. Could you please provide some context? Ideally the code which causes the error.


Renaming the client cert file

It's been observed that if you have multiple certs with the same name, the one you don't want to be used may be used. To avoid this, I've renamed the cert file that the client must install to a more specific name.

Coverage remained the same at 27.334% when pulling 86df1de95fce24c64a88d0f1bb1a6be73cff3532 on ssl-doc into d9939aefbf9b8753b0c1b18ec7003120eb452882 on master.


Enhancement request: highlight changes within moves

I have no idea if this is even possible, but it would be very nice to have.
Starting from difftastic's positions.rs file, apply the following patch:
☹  diff -p positions*rs
*** positions.rs        2022-09-08 14:23:56.000000000 -0400
--- positions2.rs       2022-09-08 14:24:16.000000000 -0400
***************
*** 1,6 ****
  //! Represents positions within a string.

- use crate::lines::LineNumber;

  /// A range within a single line of a string.
  #[derive(Debug, PartialEq, Clone, Copy, Eq, PartialOrd, Ord, Hash)]
--- 1,5 ----
*************** pub struct SingleLineSpan {
*** 10,12 ****
--- 9,13 ----
      pub start_col: u32,
      pub end_col: u32,
  }
+
+ use crate::lines::LineNumbers;

When doing difft positions*.rs, It shows that the use line was moved, but it does not highlight the added 's' on the moved line.
Is there any way that could be highlighted?  It's not so critical in a trivial sample like this, but when the moved block is 10's of lines and has just a few changes, they're impossible to spot.

(Yes, the move and the changes should be separate commits - but that doesn't always happen)

Sadly I can't see any way of doing this within difftastic's model of changes I'm afraid. It just tracks additions and removals, difftastic doesn't have any notion of moves. Difftastic aims to minimise the number of additions/removals, so it considers the use changed rather than the struct.


Map to vector

In the first commit: exchange the <std::map>'s holding the children of an object for <std::vector>'s, saving 1,076 bytes of program memory and 5,024 bytes of heap for a small device (LYWSD03MMC).
In the second commit: removing the std::map m_characteristicMapByHandle completely from the library (using the handles from m_characteristicVector instead) saving in total (including the first commit) 1,508 bytes of program memory and 6,500 bytes of heap for a small device (LYWSD03MMC).
The heap memory saving is dependent of the device: the more complex the device (more service, characteristic and descriptor UUID's) the larger the saving (and vice versa).
For the LYWSD03MMC pClient->toString() is compared between the original library and this commit. They are (and should be) equal.
A small drawback is the API change, getServices(), getDescriptors(), getCharacteristics() return a <std::vector> now instead of a <std::map>, and getCharacteristicsByHandle() is completely removed, but the notable program and heap memory increase are worth it IMHO.
@h2zero for your convenience I left the original code in, commenting it out, for easier comparison. Let me know if you need a 'clean' PR.

@Jeroen88 Funny that we were both working on the same idea. I've been playing with this locally as well. For an even more dramatic effect checkout the rework-FreeRTOS branch 😄
I'll get into this one a little later, after I get done with some other things and #35

@h2zero Nice! The std::string key duplication in the std::map annoyed me  lot!!
I love your library, but I need to get it smaller, because I want to combine BLE devices with other (Serial) devices.
I will checkout the rework-FreeRTOS branch soon!

My thoughts are we could maintain backward compatible API while using a vector internally and dynamically create the map(s) if the user wants them, just created in the function call from the vector instead.

My thoughts are we could maintain backward compatible API while using a vector internally and dynamically create the map(s) if the user wants them, just created in the function call from the vector instead.

That is possible for sure, but is it worth the effort? A novice user will not need it, and a more experienced user can live with it, I think.

For an even more dramatic effect checkout the rework-FreeRTOS branch

I took a quick look at the differences here at github. I am not very familiar with semaphores (but I am very charmed about the use in asynchronous calls that I saw in this library), so I do not really grasp the benefits. What are he benefits? Are these changes already in master? If not: any plans to integrate these?

The changes there reduce the memory usage by ~200 or so bytes per service/characteristic/descriptor, yes this will be integrated once I'm satisfied with it.

So that is ~200 bytes on top of the map to vector change? Because I just checked and in the oter branch still a map is used. That is another huge improvement!

Yes, the old FreeRTOS::Semaphore class was storing 2 std:string and some other stuff that's not needed. More work to do there still, but overall there will be much memory saved.

Updated NimBLEScan to use a std::vector instead of a std::map too.

Good stuff, I'll add in the peripheral related changes. I think I will wait on breaking compatibility until there is a release version that maintains it for those who just want to keep changes minimal. After that, this change as well as many others will be done. Sound good?

Thnx @h2zero!
I would like the changes to be released soon, if possible. Breaking changes are in a release usually, but these are the reasons why I think it can be done now:

I think the number of users for NimBLE is still limited. Better make changes now, for a few people.
Most users will need the library call to read services and characteristics already known bij UUID, so most users will not need the maps. The only use case I can think of is displaying the structure of an unknown device. The toString() functions can be used for that.
The maps are an enormous waste of resources: each UUID is copied (not referenced!) into the map as keys. For my simple device with 72 UUIDs this wastes 72x the size of the std::string UUID! The vector on the other side doesn't use keys at all, just plain indices.

On top of that, I think the functions to get the maps shouldn't be there at all. The maps (and for that purpose also the vectors) are there to set up an internal structure, and are nicely encapsulated by the get-by-UUID functions. Instead an iterator could be defined, returning const pointers of course!
Last but not least, I need the changes and rather want them in the official library than in a fork or a branch.

@Jeroen88 Sorry for the delay in response, I wanted to take some time to consider your argument. Reason being, I know of a couple projects that use this code, but on the other hand changing the app code won't be that big of a chore for those.
It was always my vision to remain compatible as much as possible for a proper comparison of the benefits as a nearly plug and play library (this all started as an experiment after all). However there are quite a few shortcomings in the original code and I need to change my thoughts for the betterment of all users.
On that note I will start on the incorporation of this PR and add the server related changes to it.
Thank you again for all your efforts, they are very much appreciated 😄.

@Jeroen88 I was just testing this with a peripheral that has 10 uuids, saved 1080 bytes of memory. Then I merged the freeRTOS-rework branch and saved an additional 1630 bytes. I can see if you're connecting to a device with 72 uuid's that would be an incredible difference. I have to wonder what they were thinking when making such a device 🤯 .

Thnx @h2zero for making me happy!
In my opinion the original library did a very good job in designing a framework with the device, client, server, (remote) service, (remote) characteristic and (remote) descriptor. I think the designer may have had neat code in mind at first, like service['... uuid ... '], but it didn't work out that way. Now the map is a real waste of memory! Still, I like the original design. Your work made the library fit in my use case, thnx for that again!
I'll add a small commit to this PR, possibly today, I think it would be nice to find an advertised device by it's address.

@Jeroen88 If you're just looking to connect to a device directly by address you can do this already with connect(), it does a scan with address filtering in the stack.

@h2zero Thanks, but no, I am looking for the service data of a scanned device

See PR #45, I want to do a scan and next a pBLEScan->getResults()->getDevice(NimBLEAddress("58:2d:34:39:22:58") to access the service data. Took me quite some headaches to find out why it wasn't working, but the error descibed in PR #45 was the cause.

I'm confused, getDevice() does not take a NimBLEAddress argument, the description says:
/**
 * @brief Return the specified device at the given index.
 * The index should be between 0 and getCount()-1.
 * @param [in] i The index of the device.
 * @return The device at the specified index.
 */
NimBLEAdvertisedDevice NimBLEScanResults::getDevice(uint32_t i) {

I'm surprised that it would even compile?

No I was not clear, I am working on a getDevice() taking an address as parameter, but ran into the bug described in PR #45, so I had to fix that first.

@Jeroen88 that makes more sense.
I just pushed a new branch single-semaphore-test, if you have a minute to test it with your 72 uuid peripheral I'd be interested in seeing the increase in free heap. With 10 uuid's I saved 5k, I think with that one it will save 30k lol.

@h2zero I did the test, your guessing was close :D
Sketch used for testing:
#include <Arduino.h>
#include <string>

#include <NimBLEDevice.h>

void setup() {
  // put your setup code here, to run once:
  Serial.begin(230400);
  Serial.println("\n\nStarted");
  Serial.printf("Free heap before connection is %u\n", ESP.getFreeHeap());

  BLEDevice::init("ESP32");

  BLEClient *pClient = BLEDevice::createClient();

  BLEAddress address = BLEAddress("a4:c1:38:5d:ef:16");

  Serial.println("Connecting...");
  pClient->connect(address);
  if(pClient->isConnected()) {
    Serial.println("Connected");

    Serial.printf("Free heap after connection is %u\n", ESP.getFreeHeap());

    pClient->disconnect();
  }
}

void loop() {
  // put your main code here, to run repeatedly:

}

Results on current master
Sketch uses 524684 bytes (40%) of program storage space. Maximum is 1310720 bytes.
Global variables use 25336 bytes (7%) of dynamic memory, leaving 302344 bytes for local variables. Maximum is 327680 bytes.

Started
Free heap before connection is 291832
Connecting...
Connected
Free heap after connection is 235628

Results on branch single-semaphore-test
Sketch uses 521940 bytes (39%) of program storage space. Maximum is 1310720 bytes.
Global variables use 25336 bytes (7%) of dynamic memory, leaving 302344 bytes for local variables. Maximum is 327680 bytes.

Started
Free heap before connection is 291832
Connecting...
Connected
Free heap after connection is 262596

The device is a MJ-HT-V1 temperature / humidity sensor. This is it's string representation:
peer address: a4:c1:38:5d:ef:16
Services:
Service: uuid: 00000100-0065-6c62-2e74-6f696d2e696d, start_handle: 96 0x0060, end_handle: 104 0x0068
Characteristic: uuid: 00000101-0065-6c62-2e74-6f696d2e696d, handle: 98 0x0062, props:  0x04
Descriptor: uuid: 0x2901, handle: 99
Descriptor: uuid: 0x2902, handle: 100
Characteristic: uuid: 00000102-0065-6c62-2e74-6f696d2e696d, handle: 102 0x0066, props:  0x10
Descriptor: uuid: 0x2901, handle: 103
Descriptor: uuid: 0x2902, handle: 104
Service: uuid: 00010203-0405-0607-0809-0a0b0c0d1912, start_handle: 29 0x001d, end_handle: 32 0x0020
Characteristic: uuid: 00010203-0405-0607-0809-0a0b0c0d2b12, handle: 31 0x001f, props:  0x06
Descriptor: uuid: 0x2901, handle: 32
Service: uuid: 0x1800, start_handle: 1 0x0001, end_handle: 7 0x0007
Characteristic: uuid: 0x2a00, handle: 3 0x0003, props:  0x12
Characteristic: uuid: 0x2a01, handle: 5 0x0005, props:  0x02
Characteristic: uuid: 0x2a04, handle: 7 0x0007, props:  0x02
Service: uuid: 0x1801, start_handle: 8 0x0008, end_handle: 11 0x000b
Characteristic: uuid: 0x2a05, handle: 10 0x000a, props:  0x20
Descriptor: uuid: 0x2902, handle: 11
Service: uuid: 0x180a, start_handle: 12 0x000c, end_handle: 24 0x0018
Characteristic: uuid: 0x2a24, handle: 14 0x000e, props:  0x02
Characteristic: uuid: 0x2a25, handle: 16 0x0010, props:  0x02
Characteristic: uuid: 0x2a26, handle: 18 0x0012, props:  0x02
Characteristic: uuid: 0x2a27, handle: 20 0x0014, props:  0x02
Characteristic: uuid: 0x2a28, handle: 22 0x0016, props:  0x02
Characteristic: uuid: 0x2a29, handle: 24 0x0018, props:  0x02
Service: uuid: 0x180f, start_handle: 25 0x0019, end_handle: 28 0x001c
Characteristic: uuid: 0x2a19, handle: 27 0x001b, props:  0x12
Descriptor: uuid: 0x2902, handle: 28
Service: uuid: 0xfe95, start_handle: 76 0x004c, end_handle: 95 0x005f
Characteristic: uuid: 0x0004, handle: 78 0x004e, props:  0x02
Descriptor: uuid: 0x2901, handle: 79
Characteristic: uuid: 0x0010, handle: 81 0x0051, props:  0x14
Descriptor: uuid: 0x2901, handle: 82
Descriptor: uuid: 0x2902, handle: 83
Characteristic: uuid: 0x0017, handle: 85 0x0055, props:  0x18
Descriptor: uuid: 0x2901, handle: 86
Descriptor: uuid: 0x2902, handle: 87
Characteristic: uuid: 0x0018, handle: 89 0x0059, props:  0x14
Descriptor: uuid: 0x2901, handle: 90
Descriptor: uuid: 0x2902, handle: 91
Characteristic: uuid: 0x0019, handle: 93 0x005d, props:  0x14
Descriptor: uuid: 0x2901, handle: 94
Descriptor: uuid: 0x2902, handle: 95
Service: uuid: ebe0ccb0-7a0a-4b0c-8a1a-6ff2997da3a6, start_handle: 33 0x0021, end_handle: 75 0x004b
Characteristic: uuid: ebe0ccb7-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 35 0x0023, props:  0x0a
Descriptor: uuid: 0x2901, handle: 36
Characteristic: uuid: ebe0ccb9-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 38 0x0026, props:  0x02
Descriptor: uuid: 0x2901, handle: 39
Characteristic: uuid: ebe0ccba-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 41 0x0029, props:  0x0a
Descriptor: uuid: 0x2901, handle: 42
Characteristic: uuid: ebe0ccbb-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 44 0x002c, props:  0x02
Descriptor: uuid: 0x2901, handle: 45
Characteristic: uuid: ebe0ccbc-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 47 0x002f, props:  0x10
Descriptor: uuid: 0x2901, handle: 48
Descriptor: uuid: 0x2902, handle: 49
Characteristic: uuid: ebe0ccbe-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 51 0x0033, props:  0x0a
Descriptor: uuid: 0x2901, handle: 52
Characteristic: uuid: ebe0ccc1-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 54 0x0036, props:  0x12
Descriptor: uuid: 0x2901, handle: 55
Descriptor: uuid: 0x2902, handle: 56
Characteristic: uuid: ebe0ccc4-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 58 0x003a, props:  0x02
Descriptor: uuid: 0x2901, handle: 59
Characteristic: uuid: ebe0ccc8-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 61 0x003d, props:  0x08
Descriptor: uuid: 0x2901, handle: 62
Characteristic: uuid: ebe0ccd1-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 64 0x0040, props:  0x08
Descriptor: uuid: 0x2901, handle: 65
Characteristic: uuid: ebe0ccd7-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 67 0x0043, props:  0x0a
Descriptor: uuid: 0x2901, handle: 68
Characteristic: uuid: ebe0ccd8-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 70 0x0046, props:  0x08
Descriptor: uuid: 0x2901, handle: 71
Characteristic: uuid: ebe0ccd9-7a0a-4b0c-8a1a-6ff2997da3a6, handle: 73 0x0049, props:  0x18
Descriptor: uuid: 0x2901, handle: 74
Descriptor: uuid: 0x2902, handle: 75

Conclusion:
This branch saves 2,744 bytes of program memory and 26,968 bytes of heap after connection. Although the MJ-HT-V1 has a lot of UUIDs, luckily not every UUID is 128 bits. A lot of them are 16 bits (descriptors 0x2901 and 0x2902) otherwise the heap savings would be even bigger.

Nice! Don't get too comfortable with that branch, it was for experimental purposes and won't work in a few scenarios (semaphore lockups). Good to the heap savings, I'm going to implement the semaphores dynamically instead, might add a bit of overhead and program size but totally worth it to save that heap space.

Very nice indeed!

Closing this as #46 was merged. Thanks again!


Adding extension to devcontainer for Salesforce Device Code Auth Flow via Command Palette

When using GitHub Codespaces in the browser, all authentication flows provided by Salesforce via their Extension Package do not work because of URL callback. This causes confusion, primarily for folks in the Salesforce ecosystem who do not use Salesforce's CLI.
The extension that I have added to .devcontainer was created and open-sourced by me. The extension simply provides a seamless and intuitive way to leverage Salesforce's Device Code auth flow which is the only known way to authenticate with a Salesforce org while using GitHub Codespaces in the browser.
The code can be found here. I would understand if this PR can't be merged due to security concerns, but it would make GitHub Codespaces onboarding a lot easier for many people in the Salesforce ecosystem.

@gfarb I'd actually suggest raising this with the salesforce extension team at https://github.com/forcedotcom/salesforcedx-vscode
That's likely the best place to PR this rather than as a workaround here. @dehru What are your thoughts on this?

Hello @gfarb.  The Salesforce cli supports device flow with this command.  Does this work for you?
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_auth_device.htm

@dehru the command does work, but the reason I created the extension is because a lot of folks in the Salesforce ecosystem don't use the CLI and there is no official documentation about Salesforce org authentication in VS Code containers (specifically about the Device Code flow being the only possible way at the moment). Due to the fact that a lot of people rely on the command palette for their Salesforce DX, I thought this addition would be beneficial by making the process more intuitive. The extension simply provides a declarative way to initiate the Device Code flow, and the extension actually uses the command referenced above based on user input.
@Chuxel if you and @dehru prefer, I can certainly try and get this code merged into salesforcedx-vscode instead in which case we can close this PR

@gfarb Oh I See!  Very interesting.  Let me check this out more next week.

@gfarb - Please submit this to the salesforce-vscode repo.  I'll make sure our product manager sees this.  It'd be great if you took some screenshots and/or a screen-movie of the interaction and included them in the PR.

@dehru sounds like a plan, thank you for for the great communication!


Error occured when compiling with mingw64 gcc on windows

I'm trying to compile this project on windows with mingw64 gcc (via msys2). I had added some windows version definitions to confirm that the compiler gets correct windows API version. However I still got error when compiling:
[build] [ 28%] Building CXX object nvpro_core/CMakeFiles/nvpro_core.dir/nvp/nvpsystem_win32.cpp.obj
[build] F:\xxx\3rdparty\nvpro_core\nvp\nvpsystem_win32.cpp:52:10: error: expected constructor, destructor, or type conversion before '(' token
[build]    52 | _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
[build]       |          ^
[build] mingw32-make[3]: *** [nvpro_core\CMakeFiles\nvpro_core.dir\build.make:567: nvpro_core/CMakeFiles/nvpro_core.dir/nvp/nvpsystem_win32.cpp.obj] Error 1

It seems that there should be __declspec(dllexport) instead of _declspec(dllexport). After replacing it, the project can be compiled. Am I doing correctly?

for successful compile with MinGW please use these changes:

aadd after
https://github.com/nvpro-samples/nvpro_core/blob/e15f6038b54c39b4ad756c9e14a8354b56b4d82f/nvp/nvpfilesystem.cpp#L25
#undef _WIN32

change
https://github.com/nvpro-samples/nvpro_core/blob/e15f6038b54c39b4ad756c9e14a8354b56b4d82f/nvp/nvpsystem_win32.cpp#L51
https://github.com/nvpro-samples/nvpro_core/blob/e15f6038b54c39b4ad756c9e14a8354b56b4d82f/nvp/nvpsystem_win32.cpp#L52
https://github.com/nvpro-samples/nvpro_core/blob/e15f6038b54c39b4ad756c9e14a8354b56b4d82f/nvp/nvpsystem_win32.cpp#L53
to

extern "C" {
#ifdef _MSC_VER
_declspec(dllexport)
#else
__attribute__((dllexport))
#endif
DWORD NvOptimusEnablement = 0x00000001;
}

It works. Thanks a lot!


Temporal Network, Temporal Network Epistemology Model

Added:

temporal network (for now it's just a base structure)
Temporal Network Epistemology Model (a spreading model)
unified naming of code entities to be consistent with both multilayer and temporal networks
fixed bugs
made dependencies tinier and minimal

ok


BeBinaryReader::ReadInt64() seems to be broken

Writing a long value with BeBinaryWriter and reading it back with BeBinaryReader::ReadInt64() will not give the same value. (While the same test with standard BinaryWriter/BinaryReader works as expected) I suspect that reading is broken just based on what I see in BigEndian.cs source file. BigEndian::WriteInt64() looks straightforward, but BigEndian::ReadInt64() is using more complex (and apparently erroneous) transformations.

Oh, it turns out that there is a pull request fixing this issue from the year 2016. Any chance it will get merged some day?

BUMP
Also encountering multiple issues while testing the BeBinaryReader:

After merging 2 pending PRs, it looks like all features are working as expected.
For smaller numeric types (short, int, etc.), I fored the entire range. For larger samples I tested edge cases (min & max) and 10 RNGed numbers each. I also ran the larger tests multiple times to cover more cases.
All tests are done roundtrip: arbitrary data → Writer → file → processed read-only by external HEX editor → Reader → assertion against original data.


fix: Change msi naming scheme for recent Tauri upgrades

This action does not work with Windows bundles on the latest version of Tauri (see #225). I'm not sure when, but Tauri bundling changed the naming scheme of the output .msi installer.
This file in Tauri determines the outpath path name, and you can see it adds in the Wix Language.
Wix Language defaults to "en-US" as seen here.
Docs showing the config path for Wix Language are here.
If you want to test the action, test with jdukewich/tauri-action@fix-windows-bundling.

I can look more into that and work in support for all types of Wix Language. I wasn't too familiar with the full scope of config values originally. Is the general idea of the fix good as long as the types are correct and it supports multiple .msi for each language?

Okay sounds good. And thanks for clarifying! Tauri is a large (but great!) project so it's tough to know all the specifics.

You're so close :) thanks for investigating this, I wanted to PR it but I didn't have the change yet. Now you just need to make it handle language: string | string[] | { [language: string]: unknown }

You need to enable the updater to get them, which is kinda annoying here because we force you to create singer keys for it.

I was able to test out my latest changes, they seemed to work with configs that look like
"wix": {
  "language": "en-US"
}

or
"wix": {
  "language": ["en-US", "pt-BR"]
}

or
"wix": {
  "language": {
    "en-US": {
      "localePath": null
    },
    "pt-BR": {
      "localePath": null
    }
  }
}

Also, because of the paths.filter(p => existsSync(p)) in core/index.ts, I don't think we need to worry about which language was "first" and gets the sig and zip.

Also, because of the paths.filter(p => existsSync(p)) in core/index.ts, I don't think we need to worry about which language was "first" and gets the sig and zip.

Ah true, forgot about that.
LGTM, thanks again!

Can you add a changefile like this one https://github.com/tauri-apps/tauri-action/blob/dev/.changes/workspace-support.md, as it breaks support with the beta versions?I thinkpatch` is fine as it's more of a fix than a feature even if it's breaking. We can still change that later but i want to get this PR merged.
Thanks 🙏


无法解析implementation "com.nlptech.zengine:keyboardkernel:1.3.14"

您好！亲爱的开发者
首先非常感谢您们开发出这么好的键盘和项目，导入项目编译时，发现一直都无法解析implementation "com.nlptech.zengine:keyboardkernel:1.3.14"，对比了以前的小伙伴提问，貌似在20年的时候都遇到过类似的问题，到至今还未得到解决，开发者们大佬能否解决此问题啊？很急~

@cmsaio12w123 did you fixed the issue ?

@EngZeeshanAli i think they shut down their API, and it not working anymore. if you found the solution kindly share with me. Thanks

The core library was shut down.
The project code was very old.
It can not be build now, we can try to recover it after get off work or on holiday.
For recovering core library, we may charge you for the costs of providing the .aar files.
If you are interested, we can discuss further.
Email<EMAIL_ADDRESS>

Hi David, How much is the cost? or can I buy fully ready App with
multi-languages? Thanks
On Thu, Dec 8, 2022 at 2:22 AM David @.***> wrote:

The core library was shut down.
The project code was very old.
It can not be build now, we can try to recover it after get off work or on
holiday.
For recovering core library, we may charge you for the costs of providing
the .aar files.
If you are interested, we can discuss further.
Email: @.***
—
Reply to this email directly, view it on GitHub
https://github.com/NlptechProduct/Android-Keyboard/issues/186#issuecomment-1341614649,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFH5PSHK3A67IJJOELH5TCDWMD53FANCNFSM52ERKHQQ
.
You are receiving this because you commented.Message ID:
@.***>

--
Best Regard
Ali Raza
Graphic, Wordpress, SEO, ASO & SMM Expert
e: @.***
https://www.facebook.com/maliraza141
https://www.instagram.com/decent_aliraza

Hi @saimjohn, Please send email for me. Thank you.

Hi David, How much is the cost? or can I buy fully ready App with multi-languages? Thanks
…
On Thu, Dec 8, 2022 at 2:22 AM David @.> wrote: The core library was shut down. The project code was very old. It can not be build now, we can try to recover it after get off work or on holiday. For recovering core library, we may charge you for the costs of providing the .aar files. If you are interested, we can discuss further. Email: @. — Reply to this email directly, view it on GitHub <#186 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFH5PSHK3A67IJJOELH5TCDWMD53FANCNFSM52ERKHQQ . You are receiving this because you commented.Message ID: @.>
-- Best Regard Ali Raza Graphic, Wordpress, SEO, ASO & SMM Expert e: @. https://www.facebook.com/maliraza141 https://www.instagram.com/decent_aliraza

Hi David, How much is the cost? or can I buy a fully ready App with
multi-languages, a backend to manage all things, and themes?
Like this sample apps (Quality, App Size, Performance)
https://play.google.com/store/apps/details?id=com.emoji.coolkeyboard
https://play.google.com/store/apps/details?id=com.jb.gokeyboard.theme.timssfasttypingkeyboard
Thanks
On Thu, Dec 8, 2022 at 3:29 PM David @.***> wrote:

Hi @saimjohn https://github.com/saimjohn, Please send email for me.
Thank you.
Hi David, How much is the cost? or can I buy fully ready App with
multi-languages? Thanks
… <#m_-9118226701326674762_>
On Thu, Dec 8, 2022 at 2:22 AM David @.> wrote: The core library was
shut down. The project code was very old. It can not be build now, we can
try to recover it after get off work or on holiday. For recovering core
library, we may charge you for the costs of providing the .aar files. If
you are interested, we can discuss further. Email: @. — Reply to this
email directly, view it on GitHub <#186 (comment)
https://github.com/NlptechProduct/Android-Keyboard/issues/186#issuecomment-1341614649>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFH5PSHK3A67IJJOELH5TCDWMD53FANCNFSM52ERKHQQ
. You are receiving this because you commented.Message ID: @.
> -- Best Regard Ali Raza Graphic, Wordpress, SEO, ASO & SMM Expert e: @.
https://www.facebook.com/maliraza141
https://www.instagram.com/decent_aliraza
—
Reply to this email directly, view it on GitHub
https://github.com/NlptechProduct/Android-Keyboard/issues/186#issuecomment-1342488623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFH5PSGTI2ABDVCAAWXQX5LWMGZ75ANCNFSM52ERKHQQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Best Regard
Ali Raza
Graphic, Wordpress, SEO, ASO & SMM Expert
e: @.***
https://www.facebook.com/maliraza141
https://www.instagram.com/decent_aliraza

The core library was shut down.
The project code was very old.
It can not be build now, we can try to recover it after get off work or on holiday.
For recovering core library, we may charge you for the costs of providing the .aar files.
If you are interested, we can discuss further.
Email<EMAIL_ADDRESS>
For how much?


Another iteratee.io update

Current coverage is 77.24%

Merging #159 into master will decrease coverage by -0.46% as of ff6db9c

Powered by Codecov. Updated on successful CI builds.


Problem with sending files, images, videos and documents

Hi,
I get "A task was canceled" error when I upload various types of files through bot.SendDocument(...), SendAudio(...), or other sending files options!
It seems that request time is out or something like this.
Update:
I don't have any problem with sending files smaller than  4mb!
Also I'm using Telegram.Bot version 9.0.0

Hi, have you tried to increasing the upload timeout? Bot.UploadTimeout defaults to 1 minute

Thanks for your prompt response Robin, I'm gonna try it! 👍

Hi
@webiox

I'm gonna try it!
did you tried it?? and what was the result?

@webiox any update?

I'm sorry for my delay,
"Bot.UploadTimeout" worked perfectly fine.
thanks @MrRoundRobin!

@MrRoundRobin hi.
can u give an example for sending file!!!
I tried everything that I know I get nothing!
filesend function does not work and looks like it doesn't exist!!!
not even an error!


Pasts, Personas, & Prophecies Initial Commit

For use with Pasts, Personas, & Prophecies

Thank you


pdf quality issue

actually, this was not an issue. I like this library a lot. but in here I mention that downloaded pdf files characters are with some kind of blur or less quality issu. can you fix it up

@chamodKanishka this happens because the pdf is not vectorized, as mentioned in readme. You can try increasing the scale prop and/or adjusting the page size using the options prop. If that doesn't work, use html2canvas and jspdf manually.


Wish changes enemy types when used

EX: Wish used on Act 3 shapes/spheric guardian fight changed an exploder into a spiker

This is a good example of the sort of "exciting" edge cases to the wish effect that are hard to get right; we discussed in discord that we probably want to redesign the wish card effect, but there isn't a new idea in the spreadsheet yet.
Should probably hold off on trying to pick up this bug until we decide if we're redesigning the whole card mechanic

Confirmed that we're just going to be getting rid of wish entirely, so closing this issue as obsolete


"params" arg of requests.get does not properly encode json

I have an API endpoint that handles json. This request returns a 400 error
requests.get(url, params={"json":json.dumps(myDict)}

while this works fine
requests.post(url,json=myDict)

Is there no proper way to pass json in a GET request?

This is entirely up to your API endpoint. If the endpoint doesn't want JSON in the request URL, then it will error out: if it does, then it won't. You need to read your endpoint documentation or observe other requests to see how they send the data.

No, the API can handle JSON in the request URL. It's just that when I pass json as a value a-la params={key:value} in the GET request, the json gets formatted improperly. The url it returns places a + character after every : in the json.

That's not improper, that's the result of json.dumps:
>>> json.dumps({'test': 'name'})
'{"test": "name"}'

If that's not the way you want your data to look, you need to change the data. We're going to send exactly what you ask us to. :smile:

Ah, yes! So I guess by specifying separators=(',' , ':') the json.dumps() call I can get rid of the +'s. Thanks!


Can I somehow automatically look up a list of tags and add them to the download queue

Since I have a list of artists who's work I'm keeping backups of I have a lot of them and manually looking up ~80 artists/series takes a long time. Is there a way to somehow make a list of tags that the program could look up and add to the download queue?
Since if I save a download list it only saves the currently added images to the queue and doesn't add new ones.

I'm not sure what exactely you're trying to do.

If you just want to download those tags, you can add them all to the batch download list, and launch them whenever
If you only want to track those tags, getting all new images that come out, you can use monitors for that.
If you want to check and choose the images one by one before downloading them, you can use favorites

Since if I save a download list it only saves the currently added images to the queue and doesn't add new ones.

Batch downloads are linked to tags, not images, so if there are new images for a given tag, they will be fetched.

I'm trying to use the "Save download list" feature to try and load all the relevant tags I want but it only loads the previously queued images (As in the same number) without adding the new images that have been uploaded since the time I made the list. Sorry if I'm making things unclear.

I think I asked about this before, the problem I faced was:
Adding to a download list sets the images limit to the current amount of pictures matching the tags.
However, when new images are added, that limit increases, and downloading with a download list won't work.
One thing that did work for me, was to just set the image limit to something ridiculously high using regular expressions, since the download list file is human readable.


fa (Iran/Persian) Translation

@intuxicated thanks for the pull request but we don't add translations to this repository. But you can add it to the https://github.com/tigrish/devise-i18n/ if it's not already there. Thanks!

oops!! my bad.


Replace ocanvas, refactoring and performance improvements

I replaced oCanvas by Konva (https://konvajs.github.io/), a library with similar capabilities that seems better (doesn't force unwanted redraws), is on npm and has a bigger user base.
The whole extension was refactored to behave according to expectation, which is to minimize redraws and grapples creation. This leads to huge performance improvement. The controls now look 'normal'. They stay in place when resizing.
Control grapples are now class-defined objects with reference to their parent node, which makes them easier to use.
All behavior are kept exactly the same. The difference is the Konva dependency needs to be passed when registering the extension on cytoscape.

@metincansiper I updated the readme with the new dependency, but I'm really not familiar with the AMD way of requiring libraries, so I didn't change it. Could you maybe document that part?

@royludo I think that these changes decreases the drag performance significantly. It can be realized in large graphs.
In Newt I tried to use node-resize with these changes. I loaded the attached graph in Newt.
large_sbgnml.txt
Then I selected the largest compound so that the resize graples are rendered. Then I dragged that compound and I see that the drag performance decreased siginifantly with these changes.
I have not examined these changes deeply. However, one thing I quickly realized is that though you use Konva like a peer dependency (I agree that it should be a peer dependency in this extension) you added it to the dependencies. I think that it should be added to peer dependencies rather than dependencies.

@metincansiper problems you mentioned were fixed.

Thanks I merged it.


Migrate Micronaut ApiGateway Websockets example to Guides infrastructure

see: https://github.com/sdelamo/micronaut-function-api-gateway-websockets

Submit the @Factoryin the previous as a PR to Micronaut AWS.


Will there be a PicoRV64?

I just think it would be cool if an RV64G design (Rocket?) could fit onto one of the ICE40 FPGAs so there was a relatively easy and open source way to hack on these. I think softfp would actually be fine for porting most software.
I just wanted to talk about this, really. It's not an issue per se.

RocketTile from Freedom E300 needs 12138 SB_LUT4 and 68 SB_RAM40_4K when mapped to iCE40 (with Yosys). Just the Rocket module itself needs 6694 SB_LUT4 and no SB_RAM40_4K (suggesting that the register file is implemented using logic and FFs instead of block RAMs). This is an RV32IMA core.
RV64G is not just twice the register width, it also adds single and double precision floating point support. No way a Rocket core for this ISA would ever fit in iCE40.
There will never be a PicoRV64. Generally speaking, a 64 bit ISA should be used over a 32 bit ISA if the required address space exceeds the 4GB limitation of 32 bit addresses. If you are using a PicoRV32 in an application where 4GB address space is insufficient, then PicoRV32 probably was not the right choice to begin with: This amount of memory would usually be attached to some kind of DDR memory controller. Not only would such a controller on its own already be significantly larger than PicoRV32 itself, you would also need some kind of cache that again would likely be much larger than the processor core. So there really is nothing to gain in such an application by having an ultra-small processor core.


index.html hijacks get("/", x) routes

staticFiles.location("/public");
get("/", (q, a) -> "Hello");

If you have index.html in your public folder, get("/", handler) never gets called.
It's unclear what's better here, but this is different from how Spark used to work pre 2.5.
Maybe we need a way to define the welcome file?

+1
That's too annoying.

I don't see how this would work. If "/" is requested and there's an index.html in that folder that I assume that is to be returned. What would the route on get "/" return to if that is also requested?

It's a question of what has priority/what should be handled first. User defined routes, or static files?


Created About Me Servlet

Created a new servlet for /about that only displays a test message

Finished; Deployed to App Engine

Resolved merge conflicts


Output refreshed tokens to Console in sample application

Fixed an issue where the ConsoleClientWithBrowser sample outputs the original tokens to Console after triggering a refresh (#91).

thanks!


git submodule issue with optimism

Describe the bug
% yarn workspace @scaffold-eth/services submodule-init
yarn workspace v1.21.1
yarn run v1.21.1
$ git submodule init && git submodule update --remote
fatal: Needed a single revision
fatal: Unable to find current origin/regenesis/0.4.0 revision in submodule path 'packages/services/optimism'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/local/bin/node
Arguments: /Users/tylervanderhoeven/.yarn/lib/cli.js submodule-init
Directory: /Users/tylervanderhoeven/Desktop/Web/Ethereum/scaffold-eth/packages/services
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.

To Reproduce
Steps to reproduce the behavior:

Git clone the project
Follow all setup steps in README
Run initial command

yarn workspace @scaffold-eth/services submodule-init

as described here https://docs.scaffoldeth.io/scaffold-eth/toolkit/infrastructure/l2-sidechain-services
Expected behavior
Command should execute without error
Desktop (please complete the following information):

OS: OSX Monterey
Version: 12.1

On it


Fix signatures for open

Motivation
All open calls were relying on the Kernel.open where there are specific definitions for IO, File and TCPSocket.
This PR fixes the existing definition for Kernel.open and adds all the specific definitions:

Kernel#open
IO::open
File::open
TCPSocket::open (alias to new)

One benefit for example is that calling File.open will now return a File instead of a T.nilable(IO).
Note to reviewer: this PR uses the same overload trick than #2320 which cannot be fully tested until #2318 is resolved.
Test plan
See included automated tests.

Thanks, this looks good to me. I'd like to test it on Stripe's codebase before merging just to be sure, but I won't have time to do that this week. @aisamanra if you have time this week that'd be great, otherwise I can get to this next week.

I'm updating Stripe's codebase for this, and it's made me realize that there's one omission: the mode arguments can be either strings or integers like File::RDONLY (c.f. here). Do you mind changing those to T.any(String, Integer)?

@aisamanra good catch.
I also changed the perm so it accepts an Integer instead of a String.


cannot execute 'npm install ag-grid-ng2' - Exit status 1

I am trying to call 'npm install ag-grid-ng2' and it is failing constantly, with just 'Exit status 1'. Below is the last part of the error log found in npm-debug.log.  Any ideas?  ag-grid installs fine.
55406 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Users\kaca\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\git-repo\ag-grid-ng2-example-b\node_modules\ag-grid-ng2\node_modules\.bin;C:\git-repo\ag-grid-ng2-example-b\node_modules\.bin;C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu;C:\Program Files\ConEmu\ConEmu;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\kaca\AppData\Roaming\npm
55407 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\git-repo\ag-grid-ng2-example-b\node_modules\ag-grid-ng2
55408 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', './node_modules/.bin/typings install' ]
55409 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
55410 info lifecycle<EMAIL_ADDRESS>Failed to exec postinstall script
55411 verbose unlock done using C:\Users\kaca\AppData\Roaming\npm-cache\_locks\staging-0d304289d54609e1.lock for C:\git-repo\ag-grid-ng2-example-b\node_modules\.staging
55412 silly rollbackFailedOptional Starting
55413 silly rollbackFailedOptional Finishing
55414 silly runTopLevelLifecycles Finishing
55415 silly install printInstalled
55416 warn optional Skipping failed optional dependency /chokidar/fsevents:
55417 warn notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>55418 warn<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
55419 warn<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
55420 warn<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^2.1.0-dev but none was installed.
55421 verbose stack Error<EMAIL_ADDRESS>postinstall: `./node_modules/.bin/typings install`
55421 verbose stack Exit status 1
55421 verbose stack     at EventEmitter.<anonymous> (C:\Users\kaca\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:255:16)
55421 verbose stack     at emitTwo (events.js:106:13)
55421 verbose stack     at EventEmitter.emit (events.js:191:7)
55421 verbose stack     at ChildProcess.<anonymous> (C:\Users\kaca\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
55421 verbose stack     at emitTwo (events.js:106:13)
55421 verbose stack     at ChildProcess.emit (events.js:191:7)
55421 verbose stack     at maybeClose (internal/child_process.js:877:16)
55421 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
55422 verbose pkgid<EMAIL_ADDRESS>55423 verbose cwd C:\git-repo\ag-grid-ng2-example-b
55424 error Windows_NT 6.1.7601
55425 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\kaca\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
55426 error node v6.5.0
55427 error npm  v3.10.7
55428 error code ELIFECYCLE
55429 error<EMAIL_ADDRESS>postinstall: `./node_modules/.bin/typings install`
55429 error Exit status 1
55430 error Failed at the<EMAIL_ADDRESS>postinstall script './node_modules/.bin/typings install'.
55430 error Make sure you have the latest version of node.js and npm installed.
55430 error If you do, this is most likely a problem with the ag-grid-ng2 package,
55430 error not with npm itself.
55430 error Tell the author that this fails on your system:
55430 error     ./node_modules/.bin/typings install
55430 error You can get information on how to open an issue for this project with:
55430 error     npm bugs ag-grid-ng2
55430 error Or if that isn't available, you can get their info via:
55430 error     npm owner ls ag-grid-ng2
55430 error There is likely additional logging output above.
55431 verbose exit [ 1, true ]

Looks like an issue with the post install for some reason.
What happens if you run just: ./node_modules/.bin/typings install ?

Could be typescript 2 related - are you using typecript 2?

Nevermind, I found the problem - for now please add
"typings": "1.3.2" to your devDependencies
We'll shortly be upgrading to typescript 2 which will remove this issue. I'll revert on this thread when the issue has been resovled

Hi,
I already had ""typings": "1.3.2"  added to my devDependencies, and it is
installed. The issue  still persists.
Regards,
Karl

If typings was installed (via devDependencies) I'd expect ./node_modules/.bin/typings to be present too
What happens if you use run npm install typings ?

It seems to have installed successfully. There is one UNMET PEER DEPENDENCY

not sure what that means.

$ npm install typings
<EMAIL_ADDRESS>C:\git-repo\ag-grid-ng2-example-b
+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>--<EMAIL_ADDRESS> +--<EMAIL_ADDRESS> | +--<EMAIL_ADDRESS> | | --<EMAIL_ADDRESS>| --<EMAIL_ADDRESS> |   --<EMAIL_ADDRESS>|     --<EMAIL_ADDRESS> --<EMAIL_ADDRESS>--<EMAIL_ADDRESS>     --<EMAIL_ADDRESS>npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture:
<EMAIL_ADDRESS>npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^2.1.0-dev
but none was installed.
Regards,
Karl

Ok, so with typings installed are you able to install ag-grid-ng2 now ?
Its worth noting that we'll be doing a release on monday that will make all of this moot - it wont be necessary to have typings anymore from monday onwards

release of 6.1.0 removes typings - you should be able to install now


fix: remove extra blank line printed by printLintTotals()

ignored already ends with a newline, so when no rules are ignored, two
empty lines are printed after the green validation result message.
It's quite irritating when you run multiple linters in sequence...

@jirutka can you add this removed \n to the non-empty ignored message itself?

Thanks @jirutka !


DotNetCoreCLIV2: invoke patch code coverage API call after coverage attachment upload

Required Information
Question, Bug, or Feature?
Type: Feature
Enter Task Name: DotNetCoreCLIV2
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks/DotNetCoreCLIV2
Environment

Server - Azure Pipelines or TFS on-premises?
Azure Pipelines

Agent - Hosted or Private:
Not applicable

Issue Description
The test command of this task has an option to collect code coverage. The task also publishes this code coverage data (attachments) to the AzureDevOps pipeline run. AzureDevOps pipelines support coverage merge/summary update which can be invoked while build is in progress, by calling PATCH code coverage API. This is helpful for customers using Build Quality Checks task in the pipeline, as they can apply coverage policies/thresholds.
Without the PATCH coverage API call from DotNetCoreCLIV2 task -- code coverage summary information is not available until the end of the pipeline run. In this case, Build Quality Checks task times out waiting for the coverage data.
To mitigate this problem, we disabled a feature flag (responsible for deciding the storage option in test service) so that the old attachment storage is used for uploading attachments. That flow supports triggering of coverage merge on attachment upload. And therefore PATCH coverage call is not needed.
However, there are performance issues with that old attachment storage.
Therefore, the right solution to this problem is to invoke PATCH code coverage call from DotNetCoreCLIV2 task (and enable back the latest storage option in test service)
Proposal:
Call PATCH code coverage API (in Test Service) after attachments are published:
https://github.com/microsoft/azure-pipelines-tasks/blob/ea2446c1cd946fdba8bd7b416c48f5eafa9aa061/Tasks/DotNetCoreCLIV2/dotnetcore.ts#L192
Task logs
Not applicable
Troubleshooting
Not applicable
Error logs
Not applicable

@bishal-pdMSFT
We are going to add this small change in the DotNetCoreCLIV2 task -- to add call to the PATCH code coverage API.
Please see the issue description on why we are doing this change and let me know if you have any feedback / concerns on the proposal.
//cc: @nadesu , @ankit-arora12

Can this issue be reopened? I think it's also incorrectly been marked as a feature.

Could this also be a solution for this issue? https://github.com/microsoft/azure-pipelines-tasks/issues/14640


Don't pass $KUBECONFIG to kubectl --kubeconfig flag

The $KUBECONFIG variable is like $PATH, and supports multiple files
separated by :, but --kubeconfig only takes a single file as a value.
Since kubectl picks up the $KUBECONFIG variable already, don't pass it
to kubectl.
Also, use --namespace instead of -n to support older kubectl versions.

thanks!


Enable type checks for click dependency

The click library added type annotations in version 8.0.0.  This patch
bumbs the click dependency to that version and removes click from the
list of dependencies that are ignored by mypy.

Would that increase our minimal needed Python version?

I don’t think so.  The changelog says:

Drop support for Python 2 and 3.5.

So I think our minimal version 3.6 is still supported.


Memcache memory overflows configured limit

Describe the bug
If memcache is running at it's peak (allocated_memory == numbytes) and new slab for a non-existing slab class (p->slabs) is requested then https://github.com/memcached/memcached/blob/1.6.19/slabs.c#L377 bypasses the memory limit check and allocated new page causing allocated_memory > numbytes which is not desirable.
Is this a bug of feature?
If this is a bug then following block should be
if (mem_limit && mem_malloced + len > mem_limit && p->slabs > 0 && g->slabs == 0) {
  ...
}

replaced with following piece of code.
if (mem_limit && mem_malloced + len > mem_limit && g->slabs == 0) {
  ...
}

If it's a feature, can someone explain the reasoning behind this behaviour?
To Reproduce

start memcached server with -m parameter.
Keep filling a single slab till maxbytes != allocated_memory
Add a key in non-existant slab-class and compare the maxbytes and allocated_memory.

Details
Memcache version: 1.6.19
Command to run memcached: docker run --rm -d --net=host memcached:1.6.19 memcached -m 6 -vvv

It's a really old feature: people would set the memory limit very low, ie -m 32, run fine for a while, then one day completely break when an unused slab class tried to allocate a page. Then they would file a support ticket.
For any reasonable amount of memory assigned to the daemon this is usually an exact limit.


use 'rct' prefix for class names of Header children

Overview of PR
For most of CSS classes prefix rct is used to avoid styling issues. Two children of Header top-header and top-header currently are missing this prefix which this PR adds.

Thank you for this


add WwwRedirectMiddleware for redirecting www to bare domain

@jefftriplett Eh, I forget my exact thought process that led to this. As I think about it now, it's maybe just as simple as one less page rule to create for a domain in Cloudflare. Just create DNS records for @ and www and point them both to the application.


fixed bug: calls to ecliptic/equatorial transform should use obliquity

fixes issue #5
notes:

not sure which obliquity to use: mean or true
the might be similar bugs in other places

That's great, thanks again. About mean or true for the obliquity, I am undecided. What about a method parameter with a sensible default? I must check the book itself about the exact difference first.
Could you add a unit test to avoid regression on that point?


Application crashed on launch when BUILD_LIBRARY_FOR_DISTRIBUTION flag is enabled for PromiseKit.

In the current project, I am switching to the XCFramework from all frameworks that use Carthage for the build.
I have downloaded the Source code of the PromiseKit.
I want to create the PromiseKit xcframework, I have followed the below steps:

Enabled the "BUILD_LIBRARY_FOR_DISTRIBUTION" flag (As of this need to set to create XCFramework)
Created archive for Simulator & iphoneos
Created PromiseKit XCFramework using the -create-xcframework command.

PromiseKit.xcframework created successfully.
After that, I have integrated that into the application, which launches an application successfully on Simulator but the application crashed on launch on iPhone 11 device.
PromiseKit XCFramework link - https://we.tl/t-1YJCXDGMmX
@mxcl - Can you please help me out here?

Provide crash logs

@mxcl - please check the log image here.
https://we.tl/t-YTxgcwNp6L

These logs do not contain any crash information.
Either way, this is a build problem and not specific to PromiseKit.

@mxcl - You can also reproduct this scenario at your end.
Just enable the BUILD_LIBRARY_FOR_DISTRIBUTION flag from project setting, you will observed that the .framework is also crashing on device.
Don't understand why PromiseKit is crashed when this flag is set?

This is not a PromiseKit bug.


can i obtain each segment's timestamps?

Thank you for your great work. However, considering the unique nature of the data I'm working with, the automated output isn't precisely tailored to my needs. I'm interested in learning how to extract timestamps from the processed audio segments so that I can manually refine and merge them as necessary. Could you please provide guidance on how to achieve this? Your help is greatly appreciated!

See https://github.com/flutydeer/audio-slicer/discussions/18#discussioncomment-7452464

Thank you for the information! I've taken a look at slicer2.py in the audio-slicer repository and found it helpful. I've implemented RMS to identify frames below a certain threshold, similar to what Slicer.slice appears to do. Additionally, I'm eager to explore  the dataset-tools repo further to enhance my project. Thanks again for your work!


Fix layers overlap and cutting at edges.

@sbatten and I ran into a couple layering issues after  translate3d was adopted in the workbench, which fall into below two categories

Views are cut at the part edges. For example, when invoking the compact menu from the activity bar, the menu is cut at the edge of the activity bar https://github.com/microsoft/vscode/issues/85061
Views are be covered by siblings (part of https://github.com/microsoft/vscode/issues/85313)

They are side effects of  translate3d creating a new rendering layer. If overflow is set to hidden, content inside the new rendering layout will be cut the edges of the layer. If position is not set properly, elements might find wrong containing box and affect how z-index is applied.

Collecting the series of commits that have been made to address issues caused by new layer hinting approach along with this PR and above issues.
Original Commit
Fix #1 for menubar
Fix #2 for menubar
Related Fix for Bad CSS
Fix for compact menubar

For better public awareness, we would have to remove translate3d as layering hint hack while preserving AA in near future as chromium team is working to remove it https://bugs.chromium.org/p/chromium/issues/detail?id=1012775
But they have considered our use case as a priority issue before removing that hint, so please follow https://bugs.chromium.org/p/chromium/issues/detail?id=1016062 where more concrete solutions will be up.
@alexandrudima @bpasero are already in the loop, just adding here for more eyes.

I already pushed the suggestion widget position fix to master and now this PR only contains layout css change.

@rebornix and I have decided since we need a solution for this issue and we are not getting a review before Thursday, we just need to merge this now to get it time in the wild. We can always revert, but we won't get that missed testing time back if we don't merge now.


metadata-server: compile with '-rtsopts' ghc option.

rtsopts has been added in fe648977803534f465d093222d4c38ad53e90161.


Vsock support in Kubevirt VMs.

What this PR does / why we need it:
This PR adds an option to request a VMI to include Vsock device.
Vsock address family is used by guest agents and hypervisor services that need a communications channel that is independent of virtual machine network configuration.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
I have decided not to expose an option to set CID manually, it would be hard to track used CIDs during live-migration.
Release note:

Provides ability to request Vsock device.

/ok-to-test

cc @rmohr

One thing I am uncertain on how to solve with in the kubevirt context, is ensuring that no pod just uses the socket and connect syscalls to talk to any of the VMs. I was thinking about seccomp maybe ...

Ya that's true.  If the admin enables this feature, presumably they will have tight control over the software on the host and what pods are able to touch on the host.  So tools like selinux & seccomp will be important for the admin.

/retest-required

Very nice change. One thing I am uncertain on how to solve with in the kubevirt context, is ensuring that no pod just uses the socket and connect syscalls to talk to any of the VMs. I was thinking about seccomp maybe ...
Is that also a concern for you?

Just passing this device to the pod is not enough, because we have Cgroup device controller and by default allowlist is empty. That is why I have decided to add new Device plugin serving vsock-vhost cause CDI is handling updating Cgroups for given device.
Definetly adding more security like selinux or secomp is always welcomed :smile:.
Also application serving traffic via Vsock should also use some kind of security protocols like SSL etc.

@zhuchenwang FYI, that seems to be related to our plans :)

Just passing this device to the pod is not enough, because we have Cgroup device controller and by default allowlist is empty. That is why I have decided to add new Device plugin serving vsock-vhost cause CDI is handling updating Cgroups for given device.

Let's ensure we have a common understanding here. I am pretty sure that to connect via a socket syscall, I don't need the device. Is that also your understanding?

Just passing this device to the pod is not enough, because we have Cgroup device controller and by default allowlist is empty. That is why I have decided to add new Device plugin serving vsock-vhost cause CDI is handling updating Cgroups for given device.

Let's ensure we have a common understanding here. I am pretty sure that to connect via a socket syscall, I don't need the device. Is that also your understanding?

Now it is 😄 now I see that qemu needs vsock-vhost device to create Vsock device for VM. This device is not needed to communicate via Vsock.

/retest-required

/test pull-kubevirt-e2e-k8s-1.22-sig-performance

Now it is  now I see that qemu needs vsock-vhost device to create Vsock device for VM. This device is not needed to communicate via Vsock. Thanks for pointing that out.

Filed https://github.com/containerd/containerd/issues/7442 which would be very helpful. Maybe a similar request for cri-o may make sense too.

Closing in favor of https://github.com/kubevirt/kubevirt/pull/8546


std::vector < std::array > - throws std::length_error

struct Mesh {
    std::vector < std::array<float, 2> > vertices;
    std::vector < std::array<unsigned int, 3> > triangles;
    std::vector < std::array<unsigned int, 2> > segments;
    std::vector < std::vector<unsigned int> > boundaries;
    std::array<float, 4> extent;
    template <class Archive> void serialize( Archive & ar ) {
        ar(vertices,triangles,segments,boundaries,extent);
    }
}

compiles fine, on runtime (on deserialization, serialization seems ok):
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_default_append

i have vector and array included, and otherwise both serialize fine. serializing only 'vertices' works, it seems to err on the second item of std::vectorstd::array i add. if i switch vertices and triangles position in ar() it throws 'std::bad_alloc'. not sure if bug or me.

 That exception is thrown when the vector attempts to reserve a size larger than a pre defined maximum possible size. If you save invalid sizes, cereal will use that invalid size when it does the load.
-----Original Message-----
From: "ninnghazad"<EMAIL_ADDRESS>Sent: 5/16/2015 2:53 PM
To: "USCiLab/cereal"<EMAIL_ADDRESS>Subject: [cereal] std::vector < std::array > - throws std::length_error (#192)
struct Mesh {
std::vector < std::array<float, 2> > vertices;
std::vector < std::array<unsigned int, 3> > triangles;
std::vector < std::array<unsigned int, 2> > segments;
std::vector < std::vector > boundaries;
std::array<float, 4> extent;
template  void serialize( Archive & ar ) {
ar(vertices,triangles,segments,boundaries,extent);
}
}
compiles fine, on runtime:
terminate called after throwing an instance of 'std::length_error'
what():  vector::_M_default_append
i have vector and array included, and otherwise both serialize fine. serializing only 'vertices' works, it seems to err on the second item of std::vectorstd::array i add. if i switch vertices and triangles position in ar() it throws 'std::bad_alloc'. not sure if bug or me.
—
Reply to this email directly or view it on GitHub.

it happens on load, saving works fine. before loading the vectors are all empty also.

i wrote a minimal test and it works, so it is not a bug and i will just close this.  guess i am trying to read the mesh from the wrong place in the archive.

Got the exactly same issues, any solutions to share?

sorry, that was years ago an i haven't had the problem since. but drop some code and maybe i can spot something. chances are writing a minimal testcase will reveal the solution.

FWIW the error also appears to be thrown, when attempting to resize a vector to a negative size (which presumably gets converted to std::size_t and is then a ludicrously large number).


"Explore gallery" - explore seems redundant, and doesn't match what's on menu for other pages

I think this is a bit subjective but am also inclined towards just "gallery". Just changed it.


Arma 3 Image Rewrite

DO NOT merge this PR until the Egg PR and the Yolks PR are approved!
The current egg everyone is using likely uses this image. Once this image goes live, the image will tell users to update their egg and will not work until they do so! Therefore, this should be merged last, once everything else is ready to go, so users don't get stuck or come flooding to the Discord.

Arma 3 Image Rewrite
Image Rewrite & Updates
This is an entire image "rewrite" I have recently performed, which adds many new features and QoL improvements compared to the current image.
These changes include:

Code styling / nomenclature has been normalized across the entire file.
A robust RunSteamCMD function has been added to run SteamCMD with advanced error handling and reporting. Works for both the server and mods, and is configurable with the STEAMCMD_ATTEMPTS environment variable to specify how many times it should retry a download after a recoverable error (like large Workshop mod downloads timing out).
Added support for a MOD_FILE environment variable, to specify an exported Arma 3 modlist HTML file for import into the server (for downloads and runtime). These mods are combined with any mods listed in MODIFICATIONS.
A more robust and automatic way of downloading/updating mods is now included with the UPDATE_SERVER function. All mods to be used during runtime are checked for updates by comparing local file's creation dates against the mod's Workshop page last update. This allows for fast and reliable mod updates compared to the old manual system, and allows users to comfortably leave the update server function on all the time if they'd like.
Added a RemoveDuplicates function to prevent a user from accidentally loading a mod twice.
Checks for missing, trailing semicolons in manual mod lists due to human error.
Mod update information echos are less cryptic and now use the mod's human-readable name, as well as printing the date they last updated.
Made the server-binary-check error messages less cryptic and provided solution recommendations.
Added a CLEAR_CACHE env. var. function to delete headless client profiles on startup to help with potential issues they cause.
Un-hardcoded the basic.cfg URL and replaced with env. var.
Added HC_HIDE env. var. to prevent headless client console spam.
Added VALIDATE_SERVER env. var. to manually validate, because the new automatic update function skips validation to speed it up.
Added CDLC env. var. for easy download of Creator DLCs incase the user doesn't know how to use SteamCMD beta branches.

Required Submission Actions Performed:

[x] Added Arma 3 game image reference to .github/workflows/games.yml
[x] Added Arma 3 reference to the README

Adjusted all the links to be relative to the root folder to be more robust

Unit Tests Performed:

[x] Image runs and successfully boots "out of the box" on a test server*

*Assuming the required & updated Arma 3 egg is used in conjunction with it.
This egg can currently be found on my personal repo, or hopefully soon to be on parkervcp's repo (which is currently the old version I wrote).

[x] Tested almost all possible routes/functions of entrypoint.sh. The only thing I couldn't test in full were some conditional SteamCMD error catches (ex. Steam is offline; SteamCMD crashes)
[x] Updated a production Arma 3 server (with various mods and custom settings) to this new image and tested. No issues found.

May I also suggest deleting the game/arma3-x64 branch of this repo? That image is depreciated and beyond defunct; it doesn't work, even if you are still using the original egg produced for it. It has also led to confusion in some cases for people using the current egg on what image to use.

@parkervcp This is ready for a merge


cleanup use kubectl instead istioctl CRUD

xref https://github.com/istio/istio/issues/8558 https://github.com/istio/istio/pull/8559
/assign @ayj

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: vadimeisenbergibm
If they are not already assigned, you can assign the PR to them by writing /assign @vadimeisenbergibm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

samples/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @wackxu. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test
/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: hzxuzhonghu
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: vadimeisenbergibm
If they are not already assigned, you can assign the PR to them by writing /assign @vadimeisenbergibm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

samples/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.

@wackxu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
06d790e36ef8af02213fec6098956495f9a72e1a
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-multicluster-e2e

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: hzxuzhonghu, rshriram
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

samples/OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


UTF-8 LEXER SUPPORT

Hi,
I want to add a russian syntax but I am getting the following error.
What path should I follow?

At this point, we're only supporting ASCII characters only, however, UTF8 is in our TODO list. The language is at its pre-alpha stage and many core-functionalities are yet to do. We'll implement this by the first release.


apiError with HttpStatus=-1 when uploading an image

Hi TomGrill,
first thank you for gdx-facebook and gdx-twitter I hope to be able to contribute to those extensions when I released my game that I want to port to Html5. For now I concentrate on Android.
So while trying to upload an image of 211 Kb from a directory on my website to twitter using these:
request = new TwitterRequest(TwitterRequestType.POST, "https://upload.twitter.com/1.1/media/upload.json");
request.put("media_data", encodedString);
I get an apiError(-1, "")
The issue is the same that the one you mentioned in:
http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=19753&p=82658&hilit=HttpResponse+1#p82658
After downloading your lib and add a setTimeOut(3000) to httpRequest in TwitterAPI.java everything works fine.
So can you add a constant in TwitterConfig to set a timeout value and use it in TwitterAPI to send the http request ?
It will also be good to signal that issue and this workaround.
Thanks for your work.
The image I was trying to upload

On Desktop, a value of  3000 ms is enough to make it work but it's not the case on Android where a value of 6000 ms worked.

Thing is that we cannot decide how many ms are required. Best approach for the user would be to run the task in the background an report when done. With the new global variable this is possible now.


Windows tutorial

Description
Tutorial for installing dependencies on windows and running the digital connector.
Checklist
None

Once the updated readme is merged to the master, i will link this in the readme. Would create links in the beginning of the tutorial linking to different sections

@arya-hemanshu The readme is waiting for #377 to be reviewed.


Create success rounded white

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.
small

large

After building the component please raise a PR with a screenshot of the component and add the component in Form/src/success-rounded-white.html
You can also check the design in figma
If you need to use any icon please use it from Hero Icons
Good luck.

I would love to work on this issue under jwoc Pls assign it to me @RavindraP04

@tmsagarofficial Please complete #2008 first

I want to work on this issue under jwoc, please assign it to me.

I want to work on this under jwoc

I want to work on this issue under JWOC .


Nothing Read or Read Twice (VoiceOver)

When using VoiceOver to read the Load CSV and Create New Table buttons, VO-A and VO-L  (plus UP and DOWN arrows) reads over the actual Load CSV button and then reads the "Load CSV" text again, and the same goes with the Create New Table button. This occur on Safari and Chrome. On the other hand, nothing is read out when using either VO-A nor VO-L keys on Firefox.
Additionally, tab works on all browsers: Firefox, Chrome, and Safari (majority of the time).
I'm thinking of making either the actual buttons or the text itself not readable, but that might have to come in after making sure the ones on Firefox works at least once.

Another slight issue I'm not sure how to fix is that VoiceOver works differently for each browser.

I think the main issue we are going to have is that each browser (Chrome, FireFox, Safari) all interact differently with voice over. Another factor is your current software version.
I did some changes so that in Chrome and Safari when using VO + arrow keys the Load CSV and New Table buttons only go over once. I'm not sure how to get FireFox to work with this command. FireFox also seems to read differently. It seems to repeat a lot.

What Shannon mentioned might relate to issue #111.

After a great deal of research, I do not believe that this issue can be resolved. Each version of OS comes with a different version of VoiceOver. When the same browser is tested on Mavericks, Yosemite, El Capitan, all three read the same elements differently. Another obstacle other than OS inconsistencies is different browsers. The main three, Chrome, Safari, FireFox all read differently. Chrome and Safari are most similar, however still vary. I tested a well known/popular website such as MSN or YellowPages, and VoiceOver reacted differently for each.
At this point Chrome and Safari run the application most optimally with VoiceOver. All three occasionally repeat the same element multiple times, however all elements are read at least once which is more important.


Feature/upload files assignments and portfolios

@michaeledavis-credera
Can you start reviewing the work thus far? It's a ton of changes, and I kinda want to separate out the work that's remaining because its all front-end. The idea of a Student "submission" of a file to an assignment isn't really flushed out on the front end, but the backend does support it.
I'm just worried about creep here. Any feedback would be 💯

Sure, I'll start taking a look.

@michaeledavis-credera Rebased on develop. Addressed the feedback to the best of my ability. Some things I think will be more suitable to subsequent PRs. Let me know if you have any other feedback!


What is cmd_vel_rc100?

I am experimenting with slam and navigation and have seen some odd behavior, the bucking on going in reverse which I have asked about elsewhere.
In trying to track this down I was monitoring cmd_vel to make sure there was no one sending it twist 0's and indeed there were none.
But out of curiosity I monitored cmd_vel_rc100 and I do see a stream of zero twists going to that. That looks pretty suspicious but I don't know what it means.

The cmd_vel_rc100 is useful only when the Bluetooth-based controller called RC-100B is connected to OpenCR. You can ignore this because you are not using the RC-100B.


Consider updating recommended NodeJS Version to 6.x

We should probably recommend using LTS versions of Node (4, 6, 8) instead of intermediates (5, 7)

Closing due to age


js error when click the save button

dashboard.js:29 Dashboard Object {id: "58f0bcebdce3b51308cbe45c", template: "capone", title: "ljtesthygieia", widgets: Array[5], owners: Array[1]…}
bower.js:15606 TypeError: Cannot read property '$setValidity' of undefined
at config.js:99
at processQueue (bower.js:18103)
at bower.js:18119
at Scope.$eval (bower.js:19401)
at Scope.$digest (bower.js:19215)
at Scope.$apply (bower.js:19509)
at done (bower.js:13489)
at completeRequest (bower.js:13698)
at XMLHttpRequest.requestLoaded (bower.js:13626)
(anonymous) @ bower.js:15606
(anonymous) @ bower.js:12114
processQueue @ bower.js:18111
(anonymous) @ bower.js:18119
$eval @ bower.js:19401
$digest @ bower.js:19215
$apply @ bower.js:19509
done @ bower.js:13489
completeRequest @ bower.js:13698
requestLoaded @ bower.js:13626
anyone know?

@arthur657834  - refer https://github.com/capitalone/Hygieia/issues/1245

@arthur657834  - reopen if still issue

i had import the certificate，and i have the same error


crates/jit/src/unwind/winx32.rs doesn’t compile

Currently, the file crates/jit/src/unwind/winx32.rs serves no purpose. In #3180 the other two unwind implementations (winx64.rs and systemv.rs) were rewritten, but the stub in winx32.rs was left unchanged. This means that the crate doesn't compile on 32-bit Windows. The file could be replaced with a new stub or removed entirely, I don't know.

Log
error[E0433]: failed to resolve: use of undeclared crate or module `cranelift_codegen`
 --> C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\wasmtime-jit-0.32.0\src\unwind\winx32.rs:4:5
  |
4 | use cranelift_codegen::isa::{unwind::UnwindInfo, TargetIsa};
  |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cranelift_codegen`

error[E0432]: unresolved import `crate::unwind::UnwindRegistration`
 --> C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\wasmtime-jit-0.32.0\src\code_memory.rs:3:5
  |
3 | use crate::unwind::UnwindRegistration;
  |     ^^^^^^^^^^^^^^^------------------
  |     |              |
  |     |              help: a similar name exists in the module: `UnwindRegistry`
  |     no `UnwindRegistration` in `unwind`

error[E0412]: cannot find type `UnwindInfo` in this scope
  --> C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\wasmtime-jit-0.32.0\src\unwind\winx32.rs:13:74
   |
13 |     pub fn register(&mut self, _func_start: u32, _func_len: u32, _info: &UnwindInfo) -> Result<()> {
   |                                                                          ^^^^^^^^^^ not found in this scope

error[E0405]: cannot find trait `TargetIsa` in this scope
  --> C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\wasmtime-jit-0.32.0\src\unwind\winx32.rs:17:42
   |
17 |     pub fn publish(&mut self, _isa: &dyn TargetIsa) -> Result<()> {
   |                                          ^^^^^^^^^ not found in this scope

Some errors have detailed explanations: E0405, E0412, E0432, E0433.
For more information about an error, try `rustc --explain E0405`.
error: could not compile `wasmtime-jit` due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
Error: Process completed with exit code 1.

Cranelift currently doesn't have an 32bit x86 backend. Only x86_64 and AArch64 are currently supported. See https://github.com/bytecodealliance/wasmtime/issues/1980.

Then I guess it would make sense to remove the file so it shows the unsupported-platform error when trying to compile.

Yes I think this code is historical and may have worked at one point but no longer does. I think it would be fine to move it to an unsupported platform as you've found.

Closed by #5226.


Legend values when using manual colors

Is there a way to specify a character column for legend values, when using manual hex string colours?
Using the manual colours example:
https://symbolixau.github.io/mapdeck/articles/colours.html#manual-colours
sf$my_colour <- ifelse( substr(sf$SA2_NAME, 1, 1) == "A", "#00FF00FF", "#FF0000FF")
mapdeck( ) %>%
add_polygon(
data = sf
, fill_colour = "my_colour"
)
When a legend is included, the legend values are the hex color strings. How can I use a different column for legend values?

I think you've posted this to the wrong issue tracker, I think you mean to put it on the mapdeck page

Thank you, my bad