Fix yarn on-demand install failure

This addresses a reported and diagnosed problem caused by the Yarn package manager running package lifecycle scripts under conditions when they ordinarily would not be run by NPM (details in #186).
The strategy used to address this issue is to check for a file that is only present under conditions when we would want the prepare script to run: tsconfig.json.
Fixes #186

The failure appears to be an error similar in nature to what we discovered before:

My guess is that some of the measurements that get reported are smaller than the expected minimum duration of a timeout.

My guess is that some of the measurements that get reported are smaller than the expected minimum duration of a timeout.

Ah, annoying. Let's just re-run it and deal with it next time it comes up :)


Some applicable comparison operators not "picked up on" by WARNING/CHECK/REQUIRE

For some classes which don't have auto-generated comparison operators, and are within some deep namespace, it's possible that a comparison operator is available - via an operator== member and/or a global-namespace operator==() function - but without doctest picking up on it, and complaining, with CHECK/WARNING/REQUIRE macros, that a comparison op is unavailable. If I add an operator== in the class' own deep namespace (but out of the class), then it gets picked up.
I suspect this might have something to do with the way you decompose expressions in these kinds of macros, but I'm not sure.
I'm using v2.3.7, commit 932a2ca50666138256dae56fbb16db3b1cae133a from the master branch.
(Sorry for this bug report being a bit sketchy due to the lack of exact reproduction instructions.)

I think this happens, because the comparison operator is neither defined in the namespace of the type being compared nor in the doctest namespace. This is an issue, because the comparison actually happens in the doctest namespace. Because of that, ADL can't find the comparison operator, since it only looks in the namespace of the type and in the doctest namespace. Maybe this could be worked around by actually defining the functions, that do the comparison, in the global namespace or the test namespace? Not sure, why a member operator wouldn't get picked up though. Here is a good blogpost summarzizing the adl rules: https://quuxplusone.github.io/blog/2019/04/26/what-is-adl/

@Saalvage Does https://github.com/doctest/doctest/commit/a39ff191bf704d88c0d9f6afc224777e1f431139 fix this?

@cdeln : I don't know, but since I'm not actively experiencing this right now and could not provide a reproducible example, I'm closing for now. If I encounter this again I'll reopen.


Fixed error when trying to close not opened channel

If connection fails it throws EXC_BAD_ACCESS

Seems fine to me.


feat: Add arrayOf rule

The rule takes config object for a new validator as options and all items
in the array will be validated based on that config.

Ship it! :)


Replication not enabled on Multiblock Format

WARNING: Replication would be removed from 0.6.0 version
Multiblock Format
The upcoming release of Qbeast Spark has new protocol updates.
In this modification, we change the layout of a cube spread in multiple files into a single file containing multiple cubes (divided into blocks). This allows the roll-up operation to arrange several small cubes into a bigger file, helping queries to filter data more effectively.
Original protocol metadata:
"tags": {
  "state": "FLOODED",
  "cube": "w",
  "revision": "1",
  "minWeight": "2",
  "maxWeight": "3",
  "elementCount": "4"
}

NEW protocol metadata:
"tags": {
  "revision": "1",
  "blocks": [
    {
      "cube": "w",
      "minWeight": 2,
      "maxWeight": 3,
      "replicated": false,
      "elementCount": 4
    },
    {
      "cube": "wg",
      "minWeight": 5,
      "maxWeight": 6,
      "replicated": false,
      "elementCount": 7
    },
  ]
}

But changes come with downsides.
What is Replication?
Replication is the operation that optimizes the index for Sampling and Min-Max distribution.
In summary, it reads data from the cubes that are overflowed (containing much more records than their original capacity) and spreads the information to their children.

The problem
When combining Roll-Up and Replication, the replicated (copied) data of a cube might end up in the same Parquet, thus making not possible the compatibility for reading the file from other underlying sources (delta and parquet) and even from the current qbeast implementation.
The situation

We are removing Replication from the new version of qbeast-spark

It is a very specific feature, and we have to redesign it in a way that doesn't affect compatibility with other Formats. Right now, the effort of maintaining the operation is bigger than our development capacity.
This issue is to resonate ways of writing and interacting with replicated data.
Proposed solutions

One solution might be to write replicated data in another folder inside the Table. The solution needs to be elaborated on and proposed in a document, this is only a high-level idea.

@osopardo1 a question about the replication described above. In the example, there are overflowed records in cube A (I think we call these offsets, yes?). When we say that we are "replicating" to children AA and AB, does it mean that A keeps the overflowed elements and create copies in AA and AB? The figure indicates that the elements are moved to AA and AB, and if so, it is not replicating, it is moving. I'm confused about the concept of replication here.,

The idea of replication states that the offset of the cube would be removed as well, and A should be rewritten with the right amount of elements.
It is true that is not the behavior that we had on the operation at the moment. I will rebuild the figure expressing that A keeps the same records, only replicating the information and not cutting it's content.
Thanks for noticing.


JSON wrapper object not mapped to proper OpenAPI model

When a class is annotated with
@com.fasterxml.jackson.annotation.JsonTypeInfo(use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.WRAPPER_OBJECT)

it is being serialized as an object, rather than a simple string.
The OpenAPI model for such a class is represented as a simple value.
See example attached to issue #2862.
Serialized:
{"ExampleSubType":"VALUE1"}

Model:
Example:
  type: object
ExampleSubType:
  type: string
  allOf:
  - $ref: '#/components/schemas/Example'
  enum:
  - VALUE1
  - VALUE2

I need this too :(
@lwielek, have you found a workaround?

@jbraga
no, my workaround was not to use wrapper object annotations ...

any progress on this issue?

This is quite painful bug which blogs us to use specification generated from code. This test: https://github.com/swagger-api/swagger-core/blob/4f30e3eb594790bdbe4f4a12553a54e2f7d8c5cd/modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ModelConverterTest.java#L130 is invalid.
It should be: employee.getProperties().get("employee").getProperties();

Is there anyone reading this, or has development on swagger stopped?

@dazraf there is indeed somebody reading, and nope, development has not stopped; as always contributions are more than welcome though..
That said a partial implementation has been implemented in #3921, available in latest snapshot and next release.

Thank you @frantuma!


Memory leak

Hi,
I try to parse this file and it spend 3 to 4G ram.

Enviroment: ubuntu 16 LTS
Uploading bfef723818b79eb5d58da2255fc7fa4e.psd.zip…

Could you please help me check. Thank you

Leak or simply a lot of big layers? Opening and compositing a big PSD file consume a lot of memory in any way.

Hi,
We are noticing a similar experience. When compositing ~600MB psd files, our RAM consumption goes up to ~20GB.
Is there a way to set a maximum amount of RAM that can be used?
Kind regards


Write a service-side agent for TLS cert and sub-domain registration.

All hidden service endpoints need to have a valid CA-signed TLS certificate for the oniongatway to be useful. This process is now much easier with the free LetsEncrypt certificate authority. We should write a library/agent to automate this process for end users and for application developers.
Use Case
An OnionShare user would like to securely and anonymously send a file to a journalist. This journalist is not using Tor. It should be possible for the user to open OnionShare and choose to "Make a public link.
This would automatically connect to an API on a public oniongateway resolver and register a subdomain which gets pointed at the ephemeral OnionShare hidden service. The oniongateway agent will then request a TLS certificate from LetsEncrypt by using the TLS SNI domain validation method. LetsEncrypt will issue the cert and the webserver in OnionShare gets reconfigured to also listen on port 443 with the new TLS cert.
The user now has the option to copy their URL as http://jfiawjx47wnbpxag.onion/49500b26fcfd9a17dc061f83f56a4753 or https://life-size-metalhead.oniongate.com

Great idea!
For example, all subdomains of oniongate.com are delegated to our service. The service will have API which takes onion address and provides random subdomain for it. (Or it can take the subdomain as well, but it should be done carefully not to give subdomains like www.) We can store map[domain]onion in etcd and consult with it in TXT DNS requests  sent by entry_proxy.
To prevent flooding, the API will check existence of the onion site provided by connecting to its 443 port. Creation of working onion address is time consuming procedure, so it can work as proof of work in this situation.
Should subdomains expire if onion address is dead?
Should we provide an option to edit mapping (change onion address behind a subdomain)?

Using Let’s Encrypt to make certificates for domains like life-size-metalhead.oniongate.com is limited by 20 subdomains per 7 days.


Add Bank multisearch plugin.

plugin to search by equipment slot and for multiple items at once (e.g. "chisel sapphire" to search for items containing "chisel" or "sapphire").

@raiyni It's so that I can tell in a future update if the plugin was previously installed. e.g. if I want to add some feature that should be on in new installations by default but I don't want it to be enabled by default for people who already have it installed and are already used to existing functionality. Since there is no "plugin update" notification they might not know why some new behavior is happening.


fix comment for factory reset, should be /3/0/5

Summary of changes
misleading comment for factory reset, should be '/3/0/5' instead of '/3/0/6'

[X] I confirm this contribution is my own and I agree to license it with Apache 2.0.
[X] I confirm the moderators may change the PR before merging it in.
For new board enablements only:
[] I confirm the board is Mbed Enabled and passes the Mbed Enabled test set.
[] I confirm the contribution has been tested properly and the tests results for TESTS are attached.
[] I confirm mbed-os.lib and mbed-cloud-client.lib hashes or the content in folders mbed-os and mbed-cloud-client were not modified in order to pass the tests.

Maintainers of this repository update the Mbed OS and Client hashes.
Please report any issues through issues in relevant repositories.

Thanks for your changes.
@ARMmbed/pdmc-integrators please review.

@teetak01 mind to have a look ?

build-only

Test run: SUCCESS

Build artifacts
posted-by-tag: https://jenkins-client.isgtesting.com/job/mbed-os-example-pelion/


Search on the Statistics screen

Adding search to the statistics screen seems within-scope of this mod.
It would make it much easier to find particular in-game statistics such as the number of times you've jumped or the number of times you used a jukebox.

Added in 6abe2ba695a4efdb883449b33feca78e0d924129 for v3.0.1


warnTimeout: 0 and store.whenComplete()

I am using redux-logic-test for testing.
I have a logic that initializes the socket and dispatches actions.
warnTimeout is set to 0.
In my unit tests, I call await store.whenComplete(), but it causes timeouts because the logic never calls the done() callback.

Is there any workaround for this?

Instead of calling await store.whenComplete(), I add a small delay  await Promise.delay(10), and it solves this issue.
Or jest.runTimersToTime(10) when using a jest framework.


Document settings.focusedRowBackground in theme-color.md

In the docs repo. Please make the change in vnext then pull into master.

@gregvanl @ornellaalt do you have some tool that updates this?

It' all on you.


chore: move terminal types to ratatui-core

Move Terminal, TerminalOptions, ViewPort, CompletedFrame, Frame to
ratatui-core crate
Move render_widget_ref() and render_stateful_widget_ref() to extension
trait (FrameExt) due as the Ref types are unstable and kept in the
main lib instead of -core
Fix rustdoc errors / feature config issues

BREAKING CHANGE: to call Frame::render_widget_ref() or
Frame::render_stateful_widget_ref() you now need to import the
FrameExt trait from ratatui::widgets and enable the
unstable-widget-ref feature.

Created #1531 for fixing the CI.

Also, atomic commits for changes that touches upon different areas helps greatly with the review. e.g. this PR could have been 3 commits during review and then we squash it before merge. Not a big deal though, just as an aside for the future :)

Yup - generally agree. It started small and then I fixed just one more thing and another... I missed the offramp :D


Fix quit problem

Ref #206

We normally use { and } but this is sweet! Linux support here we go!

btw those comments were really useful IMHO

@rauchg oh sorry, may fault..


Create Actions for Stratagem - Manager Side

Create Commands, Jobs, Steps for Stratagem on the manager side.
ConfigureStratagem

Set the interval,

set report duration

set report duration active

set purge duration

set purge duration active

Creates a systemd timer on the manager that is responsible for calling the following command after either interval has elapsed (if the configuration is active for that particular command):

iml stratagem scan <FS_NAME> {report|purge}

UnconfigureStratagem

Removes the systemd timer created during ConfigureStratagem.

RunStratagem

Kicks off a run

Sends info to each MDS

Waits for all results

Aggregates results

Ingests Metrics

Sends relevant results to client to run actions.

Reports back results of client run.

The run_stratagem call should take all of the config as arguments. The configure_stratagem call should only store those arguments so it can feed them into the IML CLI.
The CLI should be able to take all config and pass that into the run_stratagem call.


Feedback: Aggreatgation by NG Zones

Detailed Description
It might be a good idea to aggregate by NG zones.
Context

Could be these

We've also discussed Wind constraint boundaries too
Could be DNO's too

Possible Implementation

Todo

https://assets.elexon.co.uk/wp-content/uploads/2012/04/28170121/CVA_CC235.pdf

Here's some groupings that might help
zones['z1'] = [139,288, 203,57,43, 138, 179, 262,12,6, 18, 94,42,114, 204, 108,154,115,59,239,127,29, 87]
zones['z2'] = [125,225,259, 224,195, 21,282, 232,313,120,99,77,248,311,121, 39]
zones['z3'] = [284,236,50, 98]
zones['z4'] = [11,173,241, 168, 293, 73, 192, 10,200, 268, 277,147,33,46,2,81,247,303,153,97, 193, 93, 62,183,132,131,278, 85, 260,]
zones['z5'] = [22,102,96,71,145, 128,61,95,51, 208,130,198, 185, 161, 184, 252, 170, 171, 172,205,234, 76,244, 129,105, 69,104,
               14,270,149,84,159,31, 79,106,70,167,15,137, 279, 112, 80,44,90,82,265,86,285,306,263,133,91,107,134,141,255, 169,63,
               222, 58,237,123,304,35,223, 83]
zones['z6'] = [228,27,143, 215,178,144,301,271,276,124,294, 272,275,218,146,253]
zones['z7'] = [220,177,119,78, 254,136,162,52,89, 118,235,175, 289,287]
zones['z8'] = [316,230,292,182,72, 25,54,126,122,56,148,231, 28,249,186,165,163,305,37,264,166,273,109,36,221,240,267,312,60,156,
               194,269]
zones['z9'] = [24,298,302,274,66]
zones['z10'] = [111,74,135,103,142,23,206,250,243,309,48, 256, 88,49,308,217]
zones['z11'] = [214,297,38,101,47,226,317,280, 9,34]
zones['z12'] = [227,281,242,26,117,296,295,3,238,196,7,55,155,202, 75,190,229,176,219]
zones['z13'] = [4,5,246, 251,40,110,300,315,291,65,158,310, 209,67,201,100,211,20,266,140,157, 17,189,19,180,150,187,188,]
zones['z14'] = [53,258,245,164,174,290,299,210,314]
zones['z15'] = [116,191,212,30,41,216,32]
zones['z16'] = [8,152,181,1,113,283,64,45,197,199,257]

Are they GSP, or GNodes?  OR..?  Looks like might help.  Do you have the source of those, as might refer to them.

Probably good stuff to talk to NG about, as they will be super attuned to constraint boundaries that are most important..  I wonder if we shoudl have added this to the list of possible enhancements to an extension.

Further feedback

Zonal information would be great as they almost map with the Constraint Boundaries.
If it was possible to select multiple zones at once, that would be great

This might also help - https://www.nationalgrideso.com/research-and-publications/electricity-ten-year-statement-etys/electricity-transmission-network/scottish-boundaries

Might be a good idea to add the zones to the GSP location table

Jamie Taylor referenced teh same NGESO site as above.

We had another customer feedback that they wanted this today. Reference that Z16 is very important

https://www.sse.com/media/x3ehjdpg/lcp-d-sse-impacts-of-beyond-2030-network-plans-on-zonal-pricing-october-2024.pdf

Ive mapped out the GSP to zones - thesea re from maps on these pages - https://www.neso.energy/publications/electricity-ten-year-statement-etys/electricity-transmission-network-requirements/scottish-boundaries
Results are here

(The more I look at it, the messay it gets)
or
{'NE Scotland': [6, 43, 57, 87, 92, 121, 195, 203, 224, 225, 259, 262, 282, 288, 120, 232, 248, 77, 313, 311, 68, 99, 125, 139, 179], 'NW Scotland': [11, 12, 21, 29, 42, 94, 108, 115, 127, 138, 173, 204, 50, 236, 284, 154, 114, 59, 18, 239], 'Tayside': [73, 168, 268, 2, 10, 46, 62, 200, 293, 39, 192, 93, 193, 147, 241], 'N Central Scotland': [16, 31, 97, 80, 81, 85, 90, 91, 98, 131, 153, 167, 169, 183, 223, 237, 247, 277, 278, 304, 303, 279, 132, 15, 260, 33, 123], 'S Central Scotland': [22, 44, 58, 63, 86, 96, 102, 133, 134, 141, 149, 161, 170, 171, 184, 222, 234, 252, 255, 263, 265, 270, 285, 306, 130, 128, 95, 61, 145, 185, 208, 104, 105, 198, 76, 14, 172, 51, 137, 69, 70, 71, 82, 205, 129, 79, 106, 35, 107, 159, 112, 84, 244, 83], 'NW England': [36, 37, 118, 119, 143, 163, 175, 177, 194, 221, 228, 235, 269, 273, 124, 267, 148, 231, 249, 305, 109, 56, 28], 'Mersey': [25, 54, 126, 165, 166, 186, 240, 122], 'N Wales': [72, 182, 230, 292, 316], 'N Yorks': [27, 144, 146, 178, 215, 218, 253, 271, 272, 294, 301, 275, 276], 'Humber': [78, 136, 162, 254], 'S Yorks': [52, 66, 89, 160, 207, 213, 220, 233, 261, 287, 289, 307, 312, 286], 'E Midlands': [24, 274, 302], 'W Midlands': [23, 26, 48, 49, 60, 74, 88, 117, 142, 156, 176, 206, 217, 219, 229, 243, 250, 256, 264, 308, 309], 'E England': [38, 47, 101, 103, 111, 135, 214, 226, 280, 297, 298, 317], 'S Wales': [3, 7, 55, 151, 155, 199, 202, 227, 238, 242, 257, 281, 295, 296, 196], 'S Central': [41, 75, 190], 'SW England': [1, 8, 45, 64, 152, 181, 197, 283, 113], 'SE England': [30, 32, 53, 116, 191, 212, 216, 258], 'London': [4, 5, 9, 17, 19, 20, 34, 65, 67, 100, 110, 140, 157, 164, 174, 180, 187, 188, 201, 210, 245, 246, 266, 290, 291, 299, 300, 314, 315, 40, 158, 251, 310, 150, 189, 209, 211]}

GSP likes Osbladwick really dont help us. But perhaps there are some artistic groups we can make

Another useful link - https://openinframap.org/#7.61/56.335/-3.651

Here are the subzones, which can be used to draw contraint boundaries


Rocky Linux 直接部署报错 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

在Rocky Linux 无界面直接部署OCR 报错，请问该如何处理？
Use GUI mode.
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-gl
x, webgl, xcb.
./umi-ocr.sh: line 50: 375888 Aborted                 (core dumped) python3 UmiOCR-data/main_linux.py "$@"

当前启动模式为 GUI mode ，自然无法在纯命令行环境中启动。
请参考 Readme 的说明，安装 xvfb 并设置环境变量，就能以纯命令行模式运行了。


Return a 404 response when no record is found

The JSON API specification says:

A server MUST respond with 404 Not Found when processing a request to fetch a single resource that does not exist

At the moment JSON API Resources returns a 200, with an empty data
object.
All Submissions:

[x] I've checked to ensure there aren't other open Pull Requests for the same update/change.
[ ] I've submitted a ticket for my issue if one did not already exist.
[x] My submission passes all tests. (Please run the full test suite locally to cut down on noise from travis failures.)
[ ] I've used Github auto-closing keywords in the commit message or the description.
[x] I've added/updated tests for this change.

New Feature Submissions:

[ ] I've submitted an issue that describes this feature, and received the go ahead from the maintainers.
[ ] My submission includes new tests.
[ ] My submission maintains compliance with JSON:API.

Bug fixes and Changes to Core Features:

[x] I've included an explanation of what the changes do and why I'd like you to include them.
[x] I've provided test(s) that fails without the change.

Test Plan:
Reviewer Checklist:

[x] Maintains compliance with JSON:API
[x] Adequate test coverage exists to prevent regressions

@lgebhardt Is there a reason that show doesn't use find_by_key which would handle this error?

@scottgonzalez Using find_by_key would result in an extra database call since we'd need to still get the included resources with find_resource_set.

@lgebhardt Thank you for approving, do you have any timeline when you expect this to be merged?


Update TextColumn.php

Addition of ->html() modifier. Purpose of this is to display the returned text from the database with HTML intact (rich text) rather than outputting raw data.
Sample usage in a Resource:
public static function table(Table $table): Table
    {
        return $table
            ->columns([
                Tables\Columns\TextColumn::make('name'),
                Tables\Columns\TextColumn::make('description')->html()
            ])
            ->filters([
                //
            ]);
    }

Thank you! And well done on the first PR ;)


develop config_manager.py

Simple implementation is already made (in Notion)

Must contain the following methods:

[ ] load_agent_config(model_name: str, env: gym.Env)
[ ] load_env_config(env_name: str)


Add language switch

While we've had basic i18n support in the code base (although not all UI are translatable right now, being worked on at #177), there's no way to switch to another language currently.

Done. Settings -> Language


PowerToys > Color Picker suggestion

Description of the new feature / enhancement
RGBA color values would be a great addition.
Scenario when this would be used?
As a Power platform developer, I would like to have that as an option. I mean come on, it is a MS product after all ;)
Of course I can still use HEX but having RGBA as an option would be nice.
Supporting information
No response

I don't think it's that simple. Simply put, a color picker sees a pixel as one result, how would it know the difference between (for example) rgb(128,128,128) and rgb(0,0,0, 50%) with the last one over a white background? They give the same results.

I don't know how the picker works now, but I think for that the picker would need to read the pixel direct from the graphics processor

I totally agree with you that it is not that simple.

Same thing happens in your retina: the cones are incapable to distinguish actual true yellow light from red+green light.

And we haven't even asked for the use case. How or where are you going use the transparent color? A different area (in other words: different background) will result in a different color.

@chriskallioras i don't think this is possible based on how ColorPicker works.  We don't have access to the alpha.  We grab the actual rendered pixel value to the end user.  This value does also include any calibration settings currently.
Without actually validating, here is a scenario that makes me believe why i don't believe in the state of a OS wide tool you can't do this: PNGs on a website and you're using lets say Opera or a Webview control in an app.  The website is fully rendered to the end user, PowerToys would have to understand both the app and navigate the DOM and know what can have alpha.  Now lets uplevel to just UI techs., Or a QT based app or WinUI, WPF, DirectX, whatever the developer picked.  OR you have apps that do crazy hybrid stuff where if you think about Excel, it has tons of render techs built into it.
Alpha as well causes a question of where exactly is it captured?  What if there are 3 different apps with elements that affect the target pixel? Or an app is casting a shadow (PT Run does this) and affects what you're trying to capture, how is that calculated?
Lastly, looking at macOS's digital color meter, they don't do alpha channel as well.
If a 3rd party tool does it, why not use them and would like to nerd out with their dev team.
Also, while a great request, you're not really explaining the "why" this is important for you.  Totally understand the what is being requested here but what is the scenario when this would be leveraged if we could do it and the scenarios this would be needed. Understanding the Why does help provide better insight.  Helping us understand the pain helps us better prioritize or suggest something that may instantly unblock you.  If it is pure website stuff, there is a color picker built into Edge dev tooling that can do this with alpha.
https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/css/reference#sample-a-color-off-the-page-with-the-eyedropper

@crutkas I am not actually nerding out on any team. I just made a suggestion.
The actual why is the reason why the description is less than 200 characters long and not 3000 or something.
PowerToys is already a great tool as it is. Really appreciate your detailed explanation.

I'm going to close this out as i don't think it is possible (if it is, please make us aware and correct me)


Run R CMD check on Windows and macOS as well as Ubuntu in CI

This suggests it would be beneficial to run R CMD check in CI on macOS and `Windows as well as Ubuntu. I will create an issue.

Originally posted by @dylanhmorris in https://github.com/CDCgov/ww-inference-model/issues/187#issuecomment-2379798202
We will need to address #145, since the current snapshot test of MCMC output is architecture-specific.

@kaitejohnson, I think you are already addressing this in https://github.com/CDCgov/ww-inference-model/tree/189-add-windows-check?

Yes except it doesn't work! I think that install of cmdstanr on windows won't work. Perhaps there is a workaround, or perhaps we close this... https://www.maxmantei.com/2020/05/16/cmdstanr-windows/
In EpiNow2, they don't install cmdstanr on windows in R CMD check bc I think it doesn't work https://github.com/epiforecasts/EpiNow2/blob/ba7b48d10a3989580642e73f72087d7d76f2f4ea/.github/workflows/R-CMD-check.yaml#L69

It seems their script is failing to fetch the latest version of the package here. @seabbs, what about using gh cli directly? This would do the same thing:
gh api \
    -H "Accept: application/vnd.github+json" \
    -H "X-GitHub-Api-Version: 2022-11-28" \
    repos/stan-dev/cmdstan/releases/latest

And it would work across OSs.

I think it could be good to use gh (though it adds more weight to action) but I am not sure that will solve the issue resolving the latest version. Worth a try though.

gh cli comes shipped with the runners. The only issue would be if you run it within a container.

your right! I implemented this today and it looks good to me

Closing this one as @kaitejohnson and @seabbs addressed Windows in #190 and OSX is now a separate issue in #204.


llama-cpp: 1573 -> 1671

Description of changes
This update brings Mixtral support.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Checked once again that binaries are working.

Building with cuda support seems to not be working; however, I don't work with cuda much so I may be doing something wrong.

See https://github.com/NixOS/nixpkgs/issues/272569, enabling cuda requires disabling openblas.

Ah thanks, just happened to figure that out myself haha, but still very much thanks for the heads up!

@NickCao

Result of nixpkgs-review pr 273967 run on x86_64-linux 1

2 packages built:

llama-cpp
ollama


Cache the Met Office Code authentication realm

To make mosrs-setup and mosrs-auth more robust and user-firiendly, cache and check Authentication realm: <https://code.metoffice.gov.uk:443> Met Office Code.

Closed by merge request #4


[Usability] Suggestions for more intuitive configuration parameters

Maybe that's just personal, but I find double negotiations in configuration parameters confusing (i.e. nocolor = false). The same is achieved by color = true (and having true as default).
Since https://github.com/justwatchcom/gopass/blob/master/docs/security.md lists "Sensible Defaults" as a design goal, I thought I'd humbly submit this as a suggestion for improvement.

Definitely a good idea. Having a good useability is one of our major goals and making the config understandable is part of that. We had a few iterations over our config to make it easier, but over time it tends to gravitate towards ease of implementation over ease of use and we need to revisit that from time to time to correct for that.

Thanks for the quick (and positive) response!
My suggestion would be to keep the current parameters as fallback (for backwards compatibility), but to not expose them via the UI anymore:
nocolor -> color
noconfirm -> confirm
nopager -> pager
I will have a quick look at the code, but as I don't know Go at all, I doubt I can come up with a PR :-(


Cross-mapping correction is order-dependant

Assume we have three nearly identical candidates A, B, C expressed at levels 100, 50, 5, respectively. Sometimes C is kept, presumably because its cross-mapping ratio relative to B (5:50) is checked first. However, C should be removed.
One strategy could be to look at all the sequences belonging to a single gene by parsing the gene name: If everything before the * is identical, it’s the same gene.

The order is actually not a problem here: Even if C is kept when checked against B, it will also be checked against A and then removed. The problem we were seeing must have been a different one.
The strategy of parsing the gene name has been implemented as part of the allele_ratio filtering.


flask_op/conf* revision

Check my latest additions. Collides with some of you proposals.

Thank you R, I merged your asset. Just added template_dir.
All these micro commits takes time, excuse for that, just tryng to keep things in order.
:+1:

Which is very much appreciated.


dnopt

import snopt
Traceback (most recent call last):
File "", line 1, in
File "/Users/nicolo/miniconda3/envs/pyOpt-env/lib/python3.8/site-packages/snopt/init.py", line 8, in
from .solvers  import(
ImportError: cannot import name 'dnopt' from 'snopt.solvers' (/Users/nicolo/miniconda3/envs/pyOpt-env/lib/python3.8/site-packages/snopt/solvers/init.py)

Use the snopt-only branch (see this issue).


How will TorchData change Hub?

PyTorch just announced the beta release of TorchData
I was wondering how (if at all) this will change Hub. It sounds like the main change is the creation of DataPipes to subsume and extend the notion of Datasets

Hey @colobas, thanks for raising the question.
We are currently working on low-level high-performance primitives for Hub that will be shared across tf.data and torch.utils.data. Once TorchData api gets finalized in their stable version, we will likely add a native integration into it as well. See their supported storages backends.
Curious to learn more about your thoughts and how Hub can be extended to bring more value to PyTorch ecosystem?

I think Hub serves an awesome purpose. I'm particularly interested in using it in a scenario where I have a self-hosted s3-like datastore and several bare metal compute nodes which can consume data from it for training. A key part for me there is the caching, which Hub also handles.
I wish it was possible to self-host the web interface as well, but I understand that's part of the business model :)

@colobas , thanks for the suggestion! that's a great piece of feedback. If you want to join the community slack (slack.activeloop.ai), I'd be happy to chat about the self-hosted  solution, too!


[GOBBLIN-1464] Upgrade flyway db management library

The current version is 6 years old. We plan to use it in other new part
of the project, and want to base it on the latest version.
https://issues.apache.org/jira/browse/GOBBLIN-1464

Codecov Report

Merging #3304 (aae5d0a) into master (bf37c76) will decrease coverage by 3.49%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #3304      +/-   ##
============================================
- Coverage     46.50%   43.01%   -3.50%
+ Complexity    10041     9319     -722
============================================
  Files          2041     2041
  Lines         79349    79346       -3
  Branches       8845     8845
============================================
- Hits          36898    34127    -2771
- Misses        39020    41986    +2966
+ Partials       3431     3233     -198

Impacted Files
Coverage Δ

...che/gobblin/metastore/DatabaseJobHistoryStore.java
77.77% <100.00%> (-0.49%)
:arrow_down:

...ore/util/DatabaseJobHistoryStoreSchemaManager.java
29.31% <100.00%> (-2.36%)
:arrow_down:

.../org/apache/gobblin/util/filters/HiddenFilter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/gobblin/cluster/HelixMessageSubTypes.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...gobblin/runtime/mapreduce/GobblinOutputFormat.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...obblin/compaction/source/CompactionFailedTask.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/cluster/event/ClusterManagerShutdownRequest.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...in/compaction/action/CompactionCompleteAction.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/compaction/mapreduce/orc/OrcKeyDedupReducer.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...action/audit/KafkaAuditCountHttpClientFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 143 more

Continue to review full report at Codecov.

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

@autumnust , can you review/merge?

This change is merged as part of other PR


fix: ensure pool mutex unlock

What this PR does / why we need it

Jira ID
DT-2317

Notes for your reviewers

Pull Request Test Coverage Report for Build a8368eb5-e137-4e58-8946-0a9791138b3f

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 55.958%

Totals

Change from base Build 9989cea3-0183-4497-93c3-887dcebff9a6:
-0.04%

Covered Lines:
2240

Relevant Lines:
4003

💛  - Coveralls


84 bug getting epex prices on daily schedule fails

I am not a 100% sure if this has solved the problem. Testing is somewhat hard and i did run the kick_off_daily methods many times in test setting i did not let it run form several days to see if all is well.


fix(web-push): re-init i18n on each sw message

It looks like the context that Safari runs the service worker in does not have the global i18n initialisation. This changes the push handler to get a new i18n TFunction when handling each message.
Before:

After:

This incidentally has happened to me as well. Good stuff.

Wait, will this request the en.json file on every message? I mean it's not terrible since it's cached, but still...

@binwiederhier not every message - on every unknown type or expiring message, plus when you click a notification.
It is cached by the service worker itself so it is indeed fine, but I should have also moved the i18n init call for the click action to inside the action catch block..


[Issue Reporter] Make link to vscode commit when creating extension issue

Issue Type: Feature Request
When creating issue against extension the commit could be a link.
By changing 360e4e4dfa989135f28edc0d6f7e42df33cddf87 to Microsoft/vscode@360e4e4dfa989135f28edc0d6f7e42df33cddf87
I don't know why ... for consistency? Feel free to close this.

That will allow to remove the timestamp and make 2 line into 1.


schemaservice://combinedschema is not documented, confuses users

vscode can easily produce errors like below:
Problems loading reference 'schemaservice://combinedschema/foobar': Unable to load schema from 'schemaservice://combinedschema/foobar': No content.

The main issue here is that while there is an option to enable or disable download of schemas there is no mention anywhere regarding where they are downloaded from, what is the current list of known schemas or how to add new schemas to that list.
Even the error message is cryptic because it does not mention where it attempted to load them from.
I should mention that I did attempted to search online for references of these but failed to find any proof of where is that hidden schema service.
AFAIK, the only existing public schema store is at https://json.schemastore.org/ and is maintained by a Microsoft employee. But sadly that proved not to be the source for the downloading schemas.

/assign @aeschli

vscode can easily produce errors like below:

Can you give steps? That should not happen...

how to add new schemas to that list. That's documented in https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings


Improve Test Driver Endpoint handling, and Add Stress for T9s and FRS

@tylerbutler any idea why CodeQL is failing here? i don't see any errors listed

@anthony-murphy It looks like it failed on repo checkout. Weird. I'm guessing infrastructure issue on the GitHub side. https://github.com/microsoft/FluidFramework/runs/6215217814


Outlook / Office 365 Calendar: Reoccurring meetings aren't being imported

Great plugin! I've been able to connect my calendar and import events the way I like it, however it doesn't seem to import all events from my calendar.
The pattern I'm seeing is that the ones that are not imported are reoccurring meetings (part of a series). The one off events are being imported just fine.
Has anyone else experienced this issue? Is there something in the configuration I need to change?

Same issue here. I think it is a known issue. Maybe a bug in the underlying framework.
https://github.com/jens-maus/node-ical/issues/113
Sadly I have no idea how to fix it.

Probably same as #26
Reoccurring meetings from others seem to be problematic.

@kennethaar I have tried this but it seems like all recurring events are not being imported to me, also the ones I created myself.

Yeah, it stopped working for me to. I have been playing around with PowerAutomate to make it add all appointments directly to Logseq. But that also seems a little to frail for my liking.

Managed to get PowerAutomate to work so now I finally get recurring items into my daily journal. Another advantage is that I can get any information I want from the calendar into Logseq. Like the attendees in a meeting and link to the calendar entry. Only issue is that I can't make the file dynamic. So I go via a file called calendar.md instead. Sadly it takes way too long to set up. Mostly since Power Automate is so bad at automation and has lots of annoying bugs.


Absolute 'screen' header is rendered behind the scene (experimentations with transparent header)

Hi,
I've been experimenting with miscellaneous ways to alternate between plain and transparent headers in my React Native app. This is what I've been trying to achieve:

My conclusions so far are the following:

currently, there seems to be no way of doing it while setting headerMode to screen
header must be absolutely positioned.

Below are the different configurations I've tried and their respective results.
Configuration 1 : Floating header

headerMode: 'float',
navigationOptions: {
    header: {
        style: { backgroundColor: 'transparent' }
    }
}

This is not working. You can see the background view and there is no difference between plain and transparent headers.
Configuration 2 : Screen header

headerMode: 'screen',
navigationOptions: {
    header: {
        style: { backgroundColor: 'transparent' }
    }
}

This is not working either. Since the header is not rendered on top of the scene, there is no real header transparency.
Configuration 3 : Floating header + absolute positioning + spacer

headerMode: 'float',
navigationOptions: {
    header: {
        style: {
            backgroundColor: 'transparent',
            position: 'absolute',
            top: 0,
            left: 0,
            right: 0
        }
    }
}

This is the closest to what I've been trying to achieve. The header is absolutely positioned and the first scene contains a "header spacer" - a simple View with a white background and a height equals to header's one. Its purpose is to simulate a plain header whenever needed.
Configuration 4 : Screen header + absolute positioning + spacer

headerMode: 'screen',
navigationOptions: {
    header: {
        style: {
            backgroundColor: 'transparent',
            position: 'absolute',
            top: 0,
            left: 0,
            right: 0
        }
    }
}

This is the configuration I'd like to use. Unfortunately, it comes with one major issue: the header is rendered behind the scene, which makes it invisible and unable to receive click events (I've made the spacer slightly transparent so that you can see the header in the first scene).
By digging in the source code, I've found out that only the floating header is rendered on top of the scene, not the 'screen' one.
Is this by design? Is there any way to make this configuration work?
Thanks for any insight you can provide.

the header is rendered behind the scene

hmm this looks like a bug
cc @grabbou

@bd-arc with your solution #4 I was able to make it work just by adding zIndex: 2 to the style for the header :)

Yeah, I've hit that bug earlier today. Releasing a fix tomorrow morning as it's a blocker for my app. Thanks for posting examples!

@javiercr Thanks for looking into it :) But I forgot to mention that I had already tried that, and while this hack works on iOS, it unfortunately doesn't on Android.
@grabbou That's good to hear! Looking forward to your fix :)


Converter might try to extract Tweet too

For example, in that link, it could be interesting to extract and display the image of the tweet https://electrek.co/2017/02/03/elon-musk-picture-tunnel-boring-machine/

Like this one too: http://mashable.com/2017/02/27/jk-rowling-fantastic-beasts-second-film/


Revise the code for exporting the files

The vba code to save the files to disk was refactored.
Publishes with release 1.15.06.


Fix NaN handling in CMPEQ on METAL and LLVM backends and add Tensor.isnan

Closes #1069 but it comes at the cost of losing all of the fast math optimizations on METAL and the non-NaN optimization in LLVM.

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/codegen/llvmir.py                 1               5
tinygrad/runtime/ops_metal.py              1               0
tinygrad/tensor.py                         1               0
------------------------------------------------------------
total                                      3               5
------------------------------------------------------------
lines added in the tinygrad folder: -2

Skipping on WEBGPU is fine, my understanding is it doesn't support NaNs.


Return ExceedToleratedFailureThreshold if ToleratedFailureCount/Percentage is present

Follow-up to https://github.com/ManageIQ/floe/pull/282#issuecomment-2400408415

This is an improvement.
For all States, we store the error in the current's output.
Can we do that too?
This way, the js front end won't need all this logic.
And when we come back in, we won't need to re-de-serialize all this data.

For all States, we store the error in the context.state.output.
Can we do this too after the task is "done"?

Actually this is exactly what is being done, e.g. see the specs: https://github.com/ManageIQ/floe/pull/285/files#diff-926c9da5ddabfe46a43d14e36a588fff096e8b76bbd56415802f84597a6a1405R169
The error is stored the exact same way as Task is currently doing it.

Maybe store the number of failures in the context as well?

Not a bad idea, but I'm thinking that the very next thing a user would want to see is the status of each of the iterations also with a pretty icon and a list of inputs/outputs and the error message anyway

For all States, we store the error in the context.state.output.
Can we do this too after the task is "done"?

Actually this is exactly what is being done,

# success?
num_failed = contexts.count(&:failed?)

# parse_error
each_item_processor(context).detect(&:failed?)&.output || {"Error" => "States.Error"}

I was hoping to only see one iterator counting failed.


Is it possible to get a highlight in the tree of the component that I am currently working on?

Is your feature request related to a problem? Please describe.
I would feel way more inclined to use Sapling more if it would actually highlight what component I am working on currently in the tree. This way I don't really need the regular file-tree anymore but can navigate quickly in the component hierarchy and constantly see what component I am working on. If it also can scroll me to that component in the tree automatically that would be even better.
Describe the solution you'd like
It should CLEARLY highlight (with background + bold text maybe) what component I am currently working on. It should also scroll the view for me to show me that component in the tree.

@raggeju  I took a fork and made many improvements, including the feature you have asked for, check it out.
https://marketplace.visualstudio.com/items?itemName=HabeebArul.react-component-tree
this is the fork https://github.com/hb1998/react-component-tree


Translate the interface and connect it with Crowdin

The first step is to add all texts in the file "src/locale/default.json", map the text with $t and $tc to translate them. Example:
default.json
{
  "createSpace": "Create space"
  "spaceCount": "{0} space(s)"
}

view
<template>
  {{ $t('createSpace') }} {{ $tc('spaceCount', [count]) }}
</template>

Do we also want to translate this?

Can we change this to "Disconnect"?

@samuveth Any specific reason? I prefer log out.

Facebook Twitter etc they all use Log out or Sign out

And yes we need to translate everything even the about modal @samuveth

Facebook Twitter etc they all use Log out or Sign out

Because it's "Connect wallet", "Disconnect" makes more sense IMO. Facebook etc use "Sign In", so "Log out" also makes sense.

That's a good point, but still, i'd prefer "Log out"

That's a good point, but still, i'd prefer "Log out"

Okay, let's leave as is


Insert data doesn't work with MySQL

I'm connecting the adapter to MySQL database, using all the system fields for read-write support in a table. When I open the table in the Content Manager, I'm able to insert only one first row. All the next attempts to add rows fail with "Server isn't responding, Retrying..." message. It works properly when working with Postgres database.

@evgolsh
It's because we are returning { protocolVersion:2 } in the /provision before we adjusted our adapter to work with this protocol.

Fixed in the latest release


Display issue on smartphone view

This page https://wallabag.org/news/ is not correctly displayed on smartphone view, the title is too long.

Yeah I saw that this morning.
I'll take care of it today !


Slow complie time for sass during development

Takes ~20 seconds every time an update to a sass file is made. Is there a way to speed this up.

Is this issue ready to be closed?

We just need to bump the version of carbon components for the website, I'll make a PR for that now


12

https://mydefender.microsoft.com/downloads

@Alphanmeu Please fill out the questionnaire next time instead of just giving a (seemingly) random integer and a link without any explanation.


Enabling plugin:junit_tests_report raises exception

After enabling the junit_tests_report plugin in project.yml, I get the following exception.
What actions are required to use junit_tests_report plugin?
Exception raised in plugin: junit_tests_report, in method post_build
Traceback (most recent call last):
         16: from /home/akihito/.ruby/gems/ceedling-0.31.1/lib/ceedling/rakefile.rb:78:in \`block in <top (required)>\'
         15: from /home/akihito/.ruby/gems/ceedling-0.31.1/lib/ceedling/plugin_manager.rb:85:in \`post_build\'
         14: from /home/akihito/.ruby/gems/ceedling-0.31.1/lib/ceedling/plugin_manager.rb:97:in \`execute_plugins\'
         13: from /home/akihito/.ruby/gems/ceedling-0.31.1/lib/ceedling/plugin_manager.rb:97:in \`each\'
         12: from /home/akihito/.ruby/gems/ceedling-0.31.1/lib/ceedling/plugin_manager.rb:99:in \`block in execute_plugins\'
         11: from /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:23:in \`post_build\'
         10: from /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:23:in \`each_key\'
          9: from /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:30:in \`block in post_build\'
          8: from /home/akihito/.ruby/gems/ceedling-0.31.1/lib/ceedling/file_wrapper.rb:52:in \`open\'
          7: from /home/akihito/.ruby/gems/ceedling-0.31.1/lib/ceedling/file_wrapper.rb:52:in \`open\'
          6: from /home/akihito/.ruby/gems/ceedling-0.31.1/lib/ceedling/file_wrapper.rb:53:in \`block in open\'
          5: from /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:33:in \`block (2 levels) in post_build\'
          4: from /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:57:in \`reorganise_results\'
          3: from /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:57:in \`each\'
          2: from /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:60:in `block in reorganise_results\'
          1: from /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:60:in \`map\'
 /home/akihito/.ruby/gems/ceedling-0.31.1/plugins/junit_tests_report/lib/junit_tests_report.rb:60:in \`block (2 levels) in reorganise_results\': undefined method \`merge\' for nil:NilClass (NoMethodError)

Ruby version: 2.7.2
OS: Ubuntu 22.04 on WSL

So sorry you experienced this problem. Others have as well. This plugin was reworked in preparation for a major release of Ceedling (upcoming 0.32). I know right where the code is that is emitting this exception, and I know it was largely untouched. I'll take a look to figure out where the boom is happening.


LinearMultiSlider.mapIndexToValue(int) might do more preparation

Currently, the T LinearMultiSlider.mapIndexToValue(index) function leaves all the work to the implementation per case. Still, it knows the doubleValue of the start index, the doubleValue of the end index, so it can interpolate the doubleValue of the index. Possibly, it can simplify the implementation to:
abstract T instantiate(double indexAsDouble);

This simplification of the T LinearMultiSlider.mapIndexToValue(index) function could have as implication that LinearMultiSlider<Long> with high values, e.g. from<PHONE_NUMBER>0000000 to<PHONE_NUMBER>0000100 will not instantiate the correct long value based on an index because of rounding and precision errors.
@Peter-Knoppers , @WJSchakel : is this a reason to NOT implement this simplification?

So if I'm understanding correctly, the slider is at a long value, e.g.<PHONE_NUMBER>0000080, which then gets translated to double, and then back to long for this specific implementation, which will not be<PHONE_NUMBER>0000080?
If I'm not understanding correctly, could you interpolate between '0' and 'max minus min', and then add 'min' to it?

With a long, yes. But with a Length we do not have a + operation, and for a Time this + operation does not even exist (the intermediate differences become a Duration). So, I'm afraid it is very type-specific how the prep work needs to be done. The current situation is that the mapIndexToValuemethod  is completely abstract and gives the int thumb values and leaves it to the type-specific implementation how to deal with it. When the type is a djunits type, it might have to handled differently than when it is a Byte, Long, BigDecimal, DoubleAdder or AtomicInteger (all of these extend Number).
I tend to leave it the way it currently is, and not put code 'inbetween' that would not always work for the specific case, and that introduces rounding errors by definition... Typically the mapIndexToValue method is one line of code, but there might be cases where it is much more complicated and you want to use the original 'int' value of the thumb for the calculation. In that case, suppose the mapIndexToValue method implements the interpolation on the double scale and delegates to an abstract method with the signature: T instantiate(double value). When you need to write the operation using the int value, you can still override the mapIndexToValue of course, but you would also be forced to implement the (in that case) useless instantiate method.
Therefore, tendency to leave as-is.

Closed as won't fix.


Click on the bouding box without releasing the mouse, press delete key, the annotation page will be stuck

My actions before raising this issue

[√ ] Read/searched the docs
[ √] Searched past issues

Expected Behaviour

the annotation page can interact correctly
Current Behaviour

you can zoom, but you cannot select the bouding box and change to next picture
Possible Solution

Steps to Reproduce (for bugs)

1.Click on the bouding box without releasing the mouse
2.press delete key
3.the annotation page will be stuck(you can zoom, but you cannot select the bouding box and change to next picture)
Context

Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

Hi @kgloveyou
Thank you for the report.


Running dashboard locally

./scripts/runLocalEnv.sh up
Does not work for me.

https://github.com/ipfs/benchmarks/pull/65


docs: rectify the run command

Instead of an npm run dev, it ran with npm start. Because it's a Create React App perhaps.

done thank you 👍🏼


751 - Missing data in metadata files should be set as NA

Issue Numbe
Closing #751
Purpose/Implementation Notes
Some fields in the download metadata file may not have values, and for consistency, these empty values should be replaced with "NA". This PR achieves this.
The following changes are made:

Added common.NA
Iterate over the given list of dictionaries and replace empty field values ("" or None) with common.NA in metadata_file.write_metadata_dicts

Types of changes

Refactor (addresses code organization and design mentioned in corresponding issue)

Functional tests
N/A
Checklist

[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots
N/A

Just to clarify my review comment. We want to place "NA" when a key is present in one "combined metadata" dictionary but not another one. We also want to assume that the inputs for the portal wont have any blank values and that they will already be supplied as NA. So we are only preventing the creation of empty columns in the generated metadata files.

Thank you for the clarification! The codebase has been updated and the previous code block related to replacing empty field values has been cleaned up.
This PR is ready for another look, thank you David!


Refactor

Fixes #432

Reasoning
The reason for this refactor is that it is currently difficult for theme developers and users to style elements of the plugin, due to Svelte's scoped classes. These changes allows for (almost) all elements to be styled.
For example, my personal use-case for this change is being able to increase the height of the Gallery card's media, to get larger posters. With these changes, it could be implemented as such:
.projects-gallery-card-media {
    height: 400px !important;
}

Originally I intended for this to be a personal fork of the plugin for my own use, but these changes may be helpful for other users, though some additional clean-up may be necessary.

Changes
Three specific changes were made in this PR:

Using CSS classes to select elements, instead of using scoped div selector (contributes to 95% of the changes in this PR)
Moving most inline styles that are not dynamically assigned to the CSS classes
Moved ColorPill.svelte from src/views/Calendar/components/Calendar/ColorPill.svelte to src/components/ColorPill/ColorPill.svelte due to usage in other component (and preventing double definition)

Issues
Some issues remain with this PR that may need to be fixed if it is going to be merged, though I do not know how they should be fixed:

Specificity: the classes are still defined in the scoped <style> element within the Svelte components, meaning that the hash class is still added together with the css class; resulting in selectors like: .projects-gallery-card-media.svelte-blfepu for the aforementioned example (which is why the !important had to be used)
File size increase: the main.js is about 200 KB larger (or 10% increase in file size) due to the additional classes

Both 1) and 2) could be solved by moving all the inline CSS styles to an external stylesheet, which was also my initial approach; however, this will make it slightly more inconvenient to change the style of individual elements, and introduce additional complexity.

Obscure naming: All CSS classes were named in such a way that they would not conflict with classes introduced by other plugins. Currently, the classes follow this format: projects-VIEW-XXX (VIEW = table/gallery/calendar/board) and projects-XXX (for all other elements). However, this introduces some rather class long names, such as projects-table-cell-row-header and projects-board-column-section (to name but a few), this might not be desirable.

Additional details

Unchanged files
- `Onboarding.svelte`
- `TabContainer.svelte`
- `src/modals/components/*`
- `src/views/Developer/*`

CSS tree
view-header
view-content
	projects-container
		projects-toolbar-container
			left
				projects-project-select
			middle
				slot
					projects-views-select
						projects-views-list
							projects-view-item
			right
		projects-main
			projects-view
				projects-view-layout
					projects-toolbar-container
						left
							(CALENDAR) projects-calendar-navigation
						middle
						right
							projects-field / projects-switch-select
					projects-view-content
	BOARD:
						projects-table-view
							projects-table-row
								projects-table-cell + (projects-table-cell-row-header / projects-table-cell-column-header / projects-table-cell-selected)
									projects-table-cell-number-input / projects-table-cell-text-label
								projects-table-handle (projects-table-handle-visible)
	GALLERY:
						projects-gallery-view
							projects-gallery-grid
								projects-gallery-card
									projects-gallery-card-media
									projects-gallery-card-content
	BOARD:
						projects-board-view
							projects-board
								projects-board-column
									projects-board-column-section
									projects-board-column-section
										projects-board-card-list
											projects-board-card
									projects-board-column-section
	CALENDAR:
						projects-calendar-view
							projects-calendar-weekheader
								projects-calendar-weekday
							projects-calendar-week
								projects-calendar-day (projects-calendar-weekend)
									projects-calendar-date (projects-calendar-date-today)
									projects-calendar-eventlist
										projects-calendar-event

Thanks for making the effort to make Project more themable 🙏
I'm hesitant to encourage relying on the internal implementation of components. This PR is essentially publishing an API for theming Projects, which needs to be maintained in order to not break themes out there.
Three things:

Projects should primarily rely on native Obsidian classes and variables, which hopefully should reduce the need for theme developers to address Projects specifically.
If the need to style is due to poor UX, we should of course fix it for everyone. In your example, you want to change the gallery card to allow for bigger images. I think this is something that we should consider accommodating as part of the plugin instead.
If we do want to allow theming, I think we should instead consider exposing plugin-specific CSS variables for specific aspects.

Thanks for making the effort to make Project more themable 🙏
I'm hesitant to encourage relying on the internal implementation of components. This PR is essentially publishing an API for theming Projects, which needs to be maintained in order to not break themes out there.
Three things:

Projects should primarily rely on native Obsidian classes and variables, which hopefully should reduce the need for theme developers to address Projects specifically.
If the need to style is due to poor UX, we should of course fix it for everyone. In your example, you want to change the gallery card to allow for bigger images. I think this is something that we should consider accommodating as part of the plugin instead.
If we do want to allow theming, I think we should instead consider exposing plugin-specific CSS variables for specific aspects.

Thanks for the response!
I agree with all of your points, especially 1) and 3); adapting most of the style definitions to use variables would go a long way in making the elements more styleable. I do think that offering at least some classes (i.e.: projects-gallery-card, projects-table-cell, ... at minimum) would make it much easier to style the individual components, but you make a good point about it essentially being a styling API.
I'm afraid I won't be able to contribute to this PR for the next little while, as I'm pretty busy with attending uni, and developing my own plugin. So, if you want, you can close this PR.

Again, really appreciate you taking the time to look into this 🙏
I'll close the PR for now then. Going forward, let's create an issue for the aspect you'd like to style. That way we can decide which of the three approaches we should go with.
Good luck with uni and that plugin of yours! 💪


entityHasComponent method should return falseinstead of throwing an Error object when unknown component is found.

see below example:
EntityManager.prototype.entityHasComponent = function (entityId, componentId) {
        if (!(componentId in this.components)) {
  // comment out below line.  Users  shall decide when to throw ERROR if the component is not found.
//   throw new Error('Trying to use unknown component: ' + componentId);

           return false; // return false when not found.
        }

        return (
            this.entityComponentData.hasOwnProperty(componentId) &&
            this.entityComponentData[componentId].hasOwnProperty(entityId)
        );
    };
'''

I think I disagree with this. If you are trying to use a component that doesn't exist in the EntityManager's components list, that very probably means you have made a programming mistake. Either you misspelled the component's name, or you forgot to add that component to the manager. I believe that raising an error in such a case is the right thing to do, because it will catch the programmer's attention about their mistake.
Happy to argue about this though.


Typings: Add support for Typings

This commit adds support for the typescript definition manager typings
https://github.com/typings/typings

I updated to the newer Version of Typings and the new repository structure.


Popover auto placement does not recognize edge of parent window from within iFrame

I have been using Bootstrap's Popover with (data-placement="auto left") so that it will dynamically reorient the popover when it nears the edge of the window. This works great!
However, when the Popover is in an iFrame it does recognize the edges of the parent window and will get cut-off by the parent window. If the Popover is still within the boundary of the iFrame, it does not realize that it has passed the boundary of the main window.
Attached are 2 screen shot showing the same Popover in a normal window and then in a framed window. You can see, by example, how the same Popover gets cut-off while in the iFrame, even though it still has (data-placement="auto left").
Does anyone have a solution to fix this bug? Thank you!

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

Hello... as requested I created test case via CodePen. I am using Bootstrap v3.3.7 and this error happens on any browser PC or MAC. Here is the test link:
https://s.codepen.io/ss_coder/debug/GQVQVV/PBrNWxJWvmVA

Bootstrap 3 is essentially in maintenance mode as we focus on working on v4. As such, we're only accepting changes to v3's code on a case-by-case basis, usually only for critical bug fixes or docs improvements.

Hello... as requested I created test case via CodePen. I am using Bootstrap v3.3.7 and this error happens on any browser
PC or MAC. Here is the test link:
https://s.codepen.io/ss_coder/debug/GQVQVV/PBrNWxJWvmVA
I was not sure if you wanted me to reply here in this email, or add a comment to the thread? So I did both.
Thank you!
On 3/5/2018 3:02 AM, Johann-S wrote:

Bug reports must include a live demo of the problem. Per our contributing guidelines
https://github.com/twbs/bootstrap/blob/v4-dev/.github/CONTRIBUTING.md, please create a reduced test case via CodePen
https://codepen.io/ or JS Bin https://jsbin.com/ and report back with your link, Bootstrap version, and specific
browser and OS details.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/issues/25780#issuecomment-370384194, or mute the thread
https://github.com/notifications/unsubscribe-auth/AjUWueCNmg5vNFbpTMsIxEzRdAuGtl3Xks5tbRtOgaJpZM4Sbk9O.


the text appears distorted

Type: Bug
When I switch to another window while using vscode, the text appears distorted in vscode. white pixels are scattered. When I move my mouse over those texts, their views are corrected or I have to click on the vscode window. I am trying to find out the solution for a long time. Need help.
Here is the view what I mean. The view in here is extra distorted. When I try to get ss (lightshot ss program) it seems worse.

 If i get another error due to new settings I will denote it in here again.

Try to update the video card driver, download the driver from the manufacturer's official page

Try to update the video card driver, download the driver from the manufacturer's official page

I tried. Did not work for me

This could be a problem with Electron itself.
Check out this post on Stack Overflow - https://stackoverflow.com/questions/72962855/why-does-vs-code-give-a-chip-like-distorted-display-when-i-hover-over-it-with

I forgot to close the issue but thanks for your help. You found the solution 👍


Boost Command Improvement: Specify Player or Global

Allow /jobs boost commands to specify an individual players.
Ex. /jobs moneyboost [playername/global] [all/jobName] [time] [amount]
This is useful if you use the permission boost for a group and still want to give a temporary boost to a player (plus a myriad of other uses).

Due to how job boost works defining specifically player will not be possible.


 having not support while route to more than one table

Bug Report
Which version of ShardingSphere did you use?
installed source code  4.0.0-RC4-SNAPSHOT
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
Expected behavior
support mysql  having while route to more than one table
Actual behavior
not support and cause exception
 MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having count(shoporderd0_.id)>1' at line 1
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

clone the project below, run the spring application  DemoApplication
 localhost:12345/testHaving

Example codes for reproduce this issue (such as a github link).
sharding-test

Do not support HAVING.
FYI: https://shardingsphere.apache.org/document/current/en/features/sharding/use-norms/sql/


Fix Tipped ammo not being Spent

About the PR

The colored tips of ammo now actually disappear and turn into spent casings
Why / Balance

Technical details

The tip layer gets removed, while base layer gets replaced with spentcasing.
Media

[ X ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

fix: Tipped ammo gets spent

go fix cl


Docs: setupFiles vs setupFilesAfterEnv

I am writing this as an issue here as it might potentially be a request for improvements of the docs.
setupFiles and setupFilesAfterEnv has no clear indication as to why both are needed. My investigation seems to show that anything you do in setupFiles might as well equally well be done in setupFilesAfterEnv. setupFilesAfterEnv seems to be the more powerful option as it has more information available and can thus monkey-patch APIs.

I imagine setupFiles could capture some globals before the environment modifies them, but I don't know about concrete use cases where only setupFiles works - @SimenB do you know any?

One very contrived reason I could think of why setting globals in setupFiles is safer is that some library might define a global which conflicts with Jest's globals, so Jest will override it when setting up the framework. If you import this library in setupFilesAfterEnv, you couldn't bring the previous value back.

I assume another reason could be performance?


tunnel does not use set headers.

Describe the bug
When a request is made from azuretls, it will first "CONNECT" to the server. I opened a previous issue where the connect request failed under proxy. During this i couldn't debug the request but it seems that if a connection isn't made, azure will automatically perform a connect request on its own.
The problem is the headers. header order, header punctuation, and header values. azuretls doesn't seem to follow the defined headers for it when connecting. After checking fiddler, the connect request was using a Chrome 126 user agent, captial cased headers, and improper header order.
Just for some info, firefox's CONNECT request looks like this.

While azuretls, even with the useragent header being set to firefox, looks like this.

It seems that firefox has 2 "connection" headers, and a different order than chrome. I am requesting functionality to configure headers (including duplicate headers)
To Reproduce
perform a get request to any website, set proxy to fiddler local address, observe the tunnel request.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser Firefox
Version 128

Any updates?

Hello,
Sorry, I am unable to resolve this issue at this time.
Any PR would be greatly appreciated.

Hello,
I've pushed a new version, please now use session.ProxyHeader to set your customized proxy headers.


[TextField] add props required, floatingLabelAsteriskStyle

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Backported from the 1.0 alpha as I would really like this feature with the current version.

Sorry, we focus on bug fxes for the master branch, reviewing and merging this PR is gonna distract us from our on going effort on the v1-alpha branch. We have few resource,  I hope you can understand. Thanks anyway!

I want to update to v1 but can't tell if everything I am using is currently supported. The two things in 0.18.6 that I use that I cannot find in 1.0 are select fields and auto complete. Can you give me any pointers as to how to create those elements in 1.0?

I noticed the select field port to 1.0 is in PR, anything I can do to help that move along? And for auto-complete need to be ported over as well?
On my current project, I need the required attribute along with those fields and am thus stuck between the two versions. I can use my fork for now but would really like to move over to 1.0 so please let me know what I can do to help

@charlierudolph for the auto-complete have a look at https://github.com/callemall/material-ui/pull/7477

Awesome thanks! Then all I'm waiting on is SelectField to be ported over (#7458).