Models autodelete?

Hi! I noticed, as soon as I kill ollama (because one can not unload models from VRAM manually) and start ollama serve on my own, all models delete themselves.
Is that a bug or a feature (perhaps ensuring non-corrupted files)?

The models, license, prompts and other metadata are persisted in  ~/.ollama/models (on OSX).
Can you provide more context like commands that you are using, OS, version, ...?

I am running Ubuntu 22.04 server, NVIDIA, latest ollama installed per script, running kill -9 and pkills occasionally
It seems random but I recall that sometimes when I switch from the service ollama serve to running ollama server in home dir etc it sometimes deletes all models and I have to download them all again.
I have also encountered freezing of ollama when the VRAM is already being used, although I am not certain if that is the actual cause, but that is not as big of a deal, more the model deletion
Can I somehow provide more info?

It happened again, after I killed the service, stopped the service and ran ollama serve in another directory

I'm facing the same issue

I had the same problem, as soon as i stoped the service, all my models are gone, but when i restarted the computer them all came back, but the one i reinstalled are gone now

@SinanAkkoyun Can you confirm you have an empty ~/.ollama/models directory?

@DarkCat5501 @XujieYuan Can either of you provide some simple steps / script to reproduce? I'm unable to reproduce this, but maybe I'm missing something?

Is it possible you're all seeing this while running two ollama serves at the same time? If so, that may explain models being clobbered.

Hi all ! So i have about the same issue i think .
And i haven't succes to reproduce the problem at this time.
I run ollama on manjaro version of distribution 0.1.27-1.
So i was thinking if i restart ollama run   with the same model name was loaded previously and are always in my hardrive because the .ollama/models/blobs have always all the file and size of 317go... So i have the chance to have record all the title of the models i have installed...from the ollama list..so i have in a text file all : jmorgan/qwen:latest               	b5dc5e784f2a	394 MB	4 days ago
codegpt-codellama:latest          	108cf74a8e87	1.6 GB	4 days ago
codellama:7b-instruct-q6_K        	3a5b549ceb36	5.5 GB	4 days ago
codeup:13b-llama2-chat-q8_0       	773d7e80460c	13 GB 	4 days ago
deepseek-coder:6.7b-base-q8_0     	570c490f997d	7.2 GB	4 days ago
deepseek-coder:6.7b-instruct-q8_0 	54b58e32d587	7.2 GB	4 days ago
So i was thinking rerun one models one after one give the ollama to find the file and register the model again in the database without to have to Re download again the model...But no...the models is download full again even if in the blob directory...and the old blob file a not deleted anymore even if the models file are not seen by ollama and become unload-able.  So my directory after i try to re register again just 3 models goes from 317go to 336.9 go ... this is a big problem fore the space usage.  So someone have a trick to force ollama to register again the models in the blob directory even if the database is broken ?  Many thanks to this great project. have a nice day.

@navr32 Do you happen to know if you were running two instances of ollama on the same machine at the same time? If you can try to reproduce by running two at the same time that would be helpful.

OS: Windows 11
Version: ollama version is 0.2.8
All files and folders in the directory (C:\Users\USER\.ollama\models\blobs) which does not "belong" aka sourced from other locations such as huggingface or even a text file gets deleted when ollama serve gets run (which gets automaticaly run at startup apparently with a default install of ollama).
So if the model its not installed by ollama it seems like the file gets deleted whenever you run ollama serve

@AlfSelen and @SinanAkkoyun is this still happening?

Yes, sadly, and I sadly don't know how to descripe the reproduction process

@AlfSelen and @SinanAkkoyun is this still happening?

Tested on ollama version 0.3.10
Windows 11 home 23H2
Tested creating files, folder and copied the existing files giving them a new name within this folder:
"C:\Users\USER.ollama\models\blobs"
The result is as earlier that manually added files/folders within the blobs folder get deleted at startup of ollama (ollama serve)
So I think my "issue" is rather a feature request, that wants a way of manually registering models to ollama.
If I understand the first comments of this issue they have a problem of models downloaded through ollama also gets deleted, and that would be a bug, but to be clear I have not experienced models downloaded through Ollama get deleted.

I believe the most likely explanation of this behavior is running ollama serve under a different user.  When you use our install script, the systemd service registers a user ollama with a home directory of /usr/share/ollama/ so models are stored in /usr/share/ollama/.ollama/models.  If you run ollama serve as your own user account, this will use $HOME/.ollama/models. You can adjust this setting as described here: https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored
@AlfSelen your scenario is different. I think you're describing #335


Html rendering problem when renaming varaibles

When you rename variables the html is printed out as plain text instead of being rendered.
The solution is to just override the disableHtml function in the JVariable class to return false.
before fix:

after fix:

I will add the PR of the simple fix.

@Ran-Naor PR merged. Thank you for the fix!


Added gutters do not handle refresh gracefully

gutter width and offset of editor content gets mangled when refresh triggers on editor.
Steps to reproduce

Install lt-js-hint plugin
Open a new blank editor -> set current editor syntax to javascript -> write some crappy js so you get lint markers in the gutter
Open user behaviors and save it
Voila your gutter should look pretty messed up

This whole logic seems flawed/fragile to me:
https://github.com/LightTable/LightTable/blob/master/src/lt/objs/editor.cljs#L445

Yes, I noticed this in the course of playing around with the gutter marks for those linting plugins.
If it helps the debugging effort: if you switch editors (next-tab, then previous-tab commands) it seems to refresh the gutter state, and everything looks like it should.


BASE: Button Base

Similar to Brokers, Bases do not require testing as this will be taken care of in Components.
I include a screen to see all properties working

#15  Ref to issue

@stasnowak great work. thank you.


[Feature Request]  How do I render a TAG pixel in Dicom with a TAG Value of 6000,3000

What feature or change would you like to see made?

For example, the letter R in the picture
Why should we prioritize this feature?
在其他影像查看软件中，都可以显示出来

I'm not sure the pixels of R are determined by this TAG

cornerstone does not have that , but we have a tool in OHIF that you can see and inspire from it
https://github.com/OHIF/Viewers/blob/master/extensions/cornerstone/src/tools/ImageOverlayViewerTool.tsx

@sedghi @jianyaoo Thanks for your response. I'll try it myself

@sedghi  Would you consider writing this tool into the cornerstone? After all, these are dicom compliant，ImageOverlayViewerTool.tsx

i think so, maybe you can create a PR for us? I think it belongs to cornerstone as well


RFC: executor/common_linux: fuzz kvm_run

This is an attempt to increase KVM coverage. This has not spotted new bugs to my knowledge yet though.

I understand the desire to specialize this, but this looks like brute force. It does not seem that it does something syzkaller can't do without it, it just somewhat increases chances of executing this exact syscall sequence.
But there are few things we can do in the descriptions to make this better I think.
First, I don't see that we specialize mmap for kvm cpu fd at all. If it's mmap-able, it's reasonable to specialize mmap.
Second, we can use existing syz_memcpy_off to make syzkaller write to this region.
See io_uring for an example, io_uring is kind of an ultimate stress test for shmem communication with kernel:
https://github.com/google/syzkaller/blob/master/sys/linux/io_uring.txt#L71-L76
Such support will allow syzkaller to, say, write twice to the region and/or execute some ioctl's in between and/or race these calls in arbitrary combinations, etc (more coverage rather than very fixed syz_kvm_run sequence).

This is another spin of the kvm_run fuzzing. Please comment. Thanks.

Ping?


MINOR; Update documentation for printing dependencies

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@ijuma What do you think? Can we merge this?


fix regex diagnostics

Before this PR Rome would return Unexpected end of file instead of the proper regex error.

Oof, thank you! TypeScript has special semantics to allow spreading in properties that aren't on the object. I believe I went through a few variations of the descriptions so this must have broken in a refactor.


implement standard as patterns in mono IR

the special [ first, .. as rest ] list pattern is not yet implemented.

this fails on the markdown links but that is not a required CI step


Need tests to confirm that the .Net 3.5 library works properly.

Will need to get building the .Net 3.5 version properly first.

No intention of supporting .Net 3.5 anymore.


custom identity managers per application and/or model

Adds support for custom identity managers per application and/or per model as asked for in #960. PR is based on v0.3.0-beta.4.

Rebased against v0.3.1 and changed base branch.

Wow this is great. Going to make time to look at this soon.

Rebased against current master. @samselikoff did you had any time to look at this one?

Restarting stalled build, when it passes we can merge!

@jelhan Any chance you could write up some docs for this? Even just a markdown comment here that's a simple overview, and I can take care of porting it into the docs

@samselikoff You are currently rewriting docs aren't you? Should I open a MR against new-docs-site branch or should I just wait until that one has been merged?

You can PR to current site and I can port over. I’m close to done but you know how these things go, if it’s another month I’d rather have it on the current site 👍
Sent from my iPhone

On Nov 25, 2018, at 2:55 PM, jelhan<EMAIL_ADDRESS>wrote:
@samselikoff You are currently rewriting docs aren't you? Should I open a MR against new-docs-site branch or should I just wait until that one has been merged?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


[Fastlane.Swift] Fix OptionalConfigValue for Any-based types.

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
OptionalConfigValue does not provide an ExpressibleBy interface for Any? parameters, so they have to be filtered out afterwards.
Fixes #18654
Description
OptionalConfigItem does not apply to Any types to avoid a breaking compatibility against past releases. This PR resolves the issue.
Testing Steps

Install the following branch:

gem 'fastlane', :branch => 'https://github.com/minuscorp/fastlane/fix-configvalue-with-any-type'

Use an action with an Any value:

incrementBuildNumber(buildNumber: <#T##Any?#>)

Check that the value is being passed when it is not nil.
🚀

But it works fine with you for float and string values?🤔

I tried the fix-configvalue-with-any-types branch and I'm getting
▸ Compiling Fastfile.swift

❌  .../Fastfile.swift:22:21: cannot convert value of type 'String' to expected argument type 'OptionalConfigValue<String?>'

      echo(message: "Unknown parameter value \(bumpType)")
                    ^

** BUILD FAILED **

for the following code:
  func betaLane(withOptions options: [String: String]?) {

    let bumpType = options?["bumpType"]

    if !["major", "minor", "patch"].contains(bumpType) {
      echo(message: "Unknown parameter value \(bumpType)")
      return
    }

If I do without string interpolation it works fine. Thanks.
Since I'm coming from 18654, I'll just drop this here.

@RyuX51 could you check that your issue is solved now?

@minuscorp I'm sorry, c1b9cf1still behaves the same.

bumpType is String or String??

It's String, but this isn't the problem. For example
echo(message: "Unknown " + "parameter")
and
echo(message: "Unknown \("parameter")")
also lead to the same error whereas
echo(message: "Unknown parameter")
is just fine.

I just tested using
let string = "Foo"

echo("Message \(string)")

Working🤔

@minuscorp
Using fastlane 2.182.0 from https://github.com/minuscorp/fastlane (at fix-configvalue-with-any-types@c1b9cf1)
So this should be the right commit, right?
▸ Compiling Fastfile.swift

❌  /Users/mario/Repository/VJeton/fastlane/Fastfile.swift:24:12: missing argument label 'message:' in call

      echo("Message \(string)")
           ^

❌  /Users/mario/Repository/VJeton/fastlane/Fastfile.swift:24:12: cannot convert value of type 'String' to expected argument type 'OptionalConfigValue<String?>'

      echo("Message \(string)")
           ^

** BUILD FAILED **

And when I add the message: it's again:
▸ Compiling Fastfile.swift

❌  /Users/mario/Repository/VJeton/fastlane/Fastfile.swift:24:21: cannot convert value of type 'String' to expected argument type 'OptionalConfigValue<String?>'

      echo(message: "Message \(string)")
                    ^

** BUILD FAILED **

Pretty confusing to me 😔

@minuscorp Even echo(message: String("Message")) fails for me. 🤷♂

I'd reset the repo and try to run the generate_swift_api lane before going further, maybe something in the project it's corrupted😞

@joshdholtz Can you replicate the issue or it is working fine for you?🤔

Any news @RyuX51 regarding the issue with interpolation?

@minuscorp Well, I haven't investigated further. I just set up a new project where I wanted to try a Fastlane.swift for the first time. The fact that I get this error while wanting to show a value in an informational output is not really a blocker for me. This problem just sounded a lot like what you are fixing here is related, and I just wanted to let you know. Since you can't even replicate the bug, I don't want to concern you with that.

@minuscorp I’m still getting…
value of protocol type 'Any' cannot conform to 'ExpressibleByUnicodeScalarLiteral'; only struct/enum/class types can conform to protocols

when my Fastlane.swift file looks like…
incrementBuildNumber(buildNumber: "5")

Are you not getting that same thing? 🤔

@joshdholtz indeed, I removed all conformances to Optional,  as it seems to not accept Any meta value, differently from AnyObject which it could conform to those extensions. Fixed and tested:
incrementBuildNumber(buildNumber: 1.0, xcodeproj: "asd")
incrementBuildNumber(buildNumber: "1.0")
incrementBuildNumber(buildNumber: 1)


Improvement/understanding of logging message

I have noticed this logging message, appearing when you use the "Update Metrics in Apps", where  is the name of the Qlik Sense application.
{"level":"info","msg":" is not a published app, therefore, no metrics will be published until the app is published.  Metrics should appear in unpublished apps.","meta":{"module":"publishMetrics","app":"MDI Test"}}
What does this means - "Metrics should appear in unpublished apps"?

Yeah, this is kind of a misnomer right?  What I'm trying to say is that the publish process isn't going to run on these metrics because the app the metrics are being applied to is itself not published.  Therefore, publishing won't happen and metrics will be delivered to the app in an unapproved and unpublished state.


Explicitly set vocabularies in meta.xml are not preserved by the IPT

For several of our columns we are using the vocabularies the IPT
comes with and we explicitly advertise that fact in our source
meta.xml (for example: <field index="6"
term="http://rs.tdwg.org/dwc/terms/taxonRank"
vocabulary="http://rs.gbif.org/vocabulary/gbif/rank.xml"/>.) However,
when the resource is published, the archive generated by the IPT
removes this information. We think that perhaps the IPT should not
remove the vocabularies from meta.xml and maybe for those vocabularies
the IPT is aware of it should either complain when a row violates the
vocabulary or else set the column value to NULL (like the automap option
of the value translation page does?)

What version of the provider software are you using?
2.0.1

Original issue reported on code.google.com by kyle.braak on 2011-04-12 13:14:37

Issue blocked by gbif/dwca-io#16

@cgendreau thank you for fixing dwca-io#16. It would certainly be a nice improvement if the IPT could set the right vocabulary used for a term when applicable.

Unfortunately dwca-io#16 isn't fixed yet.
That means this enhancement has to be moved to the next release.

Patch attached that can be used to incorporate this enhancement when the fix in dwca-io is ready.
Patch#667.patch.zip

Setting the vocabulary when known is a great addition!
I would just refrain from removing deviating values. It might be additions not yet in the vocabulary and GBIF also has a large number of synonymous terms in the parsing libraries for those cases.


Optimize by keeping node.ExtendedAttributes as map, not as list

Make access to the extended attributes slightly easier by handeling them as a
map (each attribute name can only exist once anyway).
Handle backwards compatibility by unmarshaling of the old json data and
converting to the new one when needed.
Mark node.Content as optional in json data, to suppress "content":null fragments
when not needed. It seems for a single check, the code is already Content == nil resistant.
NOTICE: These json changes affect the content of a Treeblob and therefore its
ID. So while a backup against a parent before this change will not store the
content of dirs/files again, each directory will create a new treeblob.

Djeez... that's annoying, the tests in src/restic won't run when my cwd is src/cmds/restic ... Ok, back to the drawing board.

How do you run the tests? you can use either gb test . or go test ., provided you set the GOPATH accordingly. If you install direnv, the provided .envrc will take care of that.

I normally just run gb test and figured that would set GOPATH properly.

Codecov Report

Merging #880 into master will increase coverage by 0.16%.
The diff coverage is 26.66%.

@@            Coverage Diff             @@
##           master     #880      +/-   ##
==========================================
+ Coverage   53.66%   53.83%   +0.16%
==========================================
  Files          92       92
  Lines        7625     7614      -11
==========================================
+ Hits         4092     4099       +7
+ Misses       2919     2907      -12
+ Partials      614      608       -6

Impacted Files
Coverage Δ

src/restic/checker/checker.go
67.85% <ø> (+0.3%)
:white_check_mark:

src/restic/fuse/dir.go
0% <0%> (ø)
:white_check_mark:

src/restic/node.go
36.66% <30.76%> (+2.6%)
:white_check_mark:

src/restic/file.go
68.64% <0%> (+0.57%)
:white_check_mark:

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 bf30b28...83601a1. Read the comment docs.

Alright, I close this for now, but keep it humming around in the back of my mind if you ever open up the repo-v2 :)

agreed :)


rest_api: Clarify how we specify incremental loading

Source name
rest_api
Describe the data you'd like to see
Currently, the declarative rest_api source offers two APIs to specify incremental data loads:

declaring one parameter of type incremental (query parameter level in the config dictionary)
declaring an incremental load at the resource level

Example for method 1:
"resources": [
    {
        "name": "posts",
        "endpoint": {
            "params": {
                "limit": 100,
                "since": {
                    "type": "incremental",
                    "cursor_path": "updated_at",
                    "initial_value": "2024-01-01",
                    "end_value": "2024-01-31",
                    "transform": callback,
                },
            },
        },
    },
],

Example for method 2:
"resources": [
    {
        "name": "posts",
        "endpoint": {
            "incremental": {
                "start_param": "since",
                "end_param": "until",
                "cursor_path": "updated_at",
                "initial_value": "2024-01-01",
                "end_value": "2024-01-31",
                "transform": callback,
            },
        },
    },
],

This poses some challenges:

method 1 (query parameter level) has less features than method 2 (resource level) because method 1 does not support the end_param. The reason is that it is nested as a child of the start_param.
The code for both methods is redundant
users might be confused by having two APIs for the same thing but one API being slightly less powerful
the rest_api source creates a dlt.sources.Incremental. However, the current integration with that incremental class might not be ideal because the rest_api source holds and applies the transform function, which allows value transformations, such as epoch to datetime.

Proposal

Provide only one way to specify the incremental loads or make both ways equally powerful
Move the transformation function into the dlt.sources.Incremental class and make it a method. Users can then pass either an instance of the dlt.sources.Incremental or a dictionary.

Yes, I'm already a dlt user.
Do you ready to contribute this extension?
Yes, I'm ready.

What if the API doesn't have a start_param? I just want to use row_order to limit the amount of data loaded.
I think currently the source doesn't support that case?

What if the API doesn't have a start_param? I just want to use row_order to limit the amount of data loaded.
I think currently the source doesn't support that case?

if you just want to limit the count of rows (technically the count of yield statements executed, i.e. pages in the API response) then you can call add_limit(n) on your resource.
For example,
# yield only two pages
my_source = rest_api_source(my_config)
my_source.add_limit(2)
pipeline.run(my_source)

Is that what you want to achieve?

Hi @willi-mueller I want to achieve this:
https://dlthub.com/docs/general-usage/incremental-loading#declare-row-order-to-not-request-unnecessary-data

Github returns events ordered from newest to oldest. So we declare the rows_order as descending to stop requesting more pages once the incremental value is out of range. We stop requesting more data from the API after finding the first event with created_at earlier than initial_value.

Row order is the most useful when:
The data source does not offer start/end filtering of results (e.g. there is no start_time/end_time query parameter or similar)
The source returns results ordered by the cursor field

The API return paged data in sorted updated_at order. But it doesn't have start/end param. So I want to use dlt.sources.incremental and row_order to save the updated_at state and limit the cursor travel.

@willi-mueller another bug I found is that if you use incremental with Pydantic columns, the extract cursor_path from row failed because it thinks the row is json. Instead the row is a Pydantic class.
https://github.com/dlt-hub/dlt/blob/0d955dee409498824de140490462480625e51b77/dlt/extract/incremental/transform.py#L127

The API return paged data in sorted updated_at order. But it doesn't have start/end param. So I want to use dlt.sources.incremental and row_order to save the updated_at state and limit the cursor travel.

Hey, your API does not have a filter parameter that allows requesting pages incrementally but it orders the result?
Ideas:

You could calculate an incremental field using add_map() and use that to limit the processing of rows in dlt.
If you just want to avoid duplicates, you could specify the write_disposition = "merge" and let dlt merge on the primary key inside the destination system

Transform records before incremental processing
You can add steps to the pipeline that filter, transform, or pivot your data.
It is important to use the insert_at parameter to control the order of the execution and ensure that your custom steps are executed before the incremental processing starts.
In the following example, the step of data yielding is at index = 0, the custom transformation at index = 1, and the incremental processing at index = 2.
Example:
data = [
    {"id": 1, "created_at": 1, "updated_at": 1},
    {"id": 2, "created_at": 2, "updated_at": 2},
    {"id": 3, "created_at": 4, "updated_at": None},
]

@dlt.resource
def some_data(updated_at=dlt.sources.incremental("updated_at")):
    yield data

def set_default_updated_at(record):
    if record.get("updated_at") is None:
        record["updated_at"] = record.get("created_at")
    return record

result = list(some_data().add_map(set_default_updated_at, insert_at=1))
assert len(result) == 3
assert result[2]["updated_at"] == 4

Similarly, with add_filter(lambda r: r.get("updated_at") is not None, insert=1) you can remove those records without a value at updated_at before the incremental processing starts.

@willi-mueller another bug I found is that if you use incremental with Pydantic columns, the extract cursor_path from row failed because it thinks the row is json. Instead the row is a Pydantic class.
https://github.com/dlt-hub/dlt/blob/0d955dee409498824de140490462480625e51b77/dlt/extract/incremental/transform.py#L127

Oh yes, that's annoying. Just yesterday a fix for this was merged: https://github.com/dlt-hub/dlt/pull/1641


userData does not seem to work with authenticate

Hi,
If I add a console.log and try to display userData at https://github.com/sahat/satellizer/blob/master/satellizer.js#L255 it always says undefined even when I call authenticate with userData.
What could be the problem?

Sorry, it was caused by some other module. It had nothing to do with satellizer


Added suitesparse as dependency in package.xml

suitesparse library is not installed automatically by rosdep, when this dependency is not given in package.xml

Thank you for this pull request.
I have still some doubts regarding the suitesparse dependency in general.
The library is required by g2o since csparse (contained in suitesparse) is utilized under the hood for defining sparse linear systems. Since it is not a direct dependency of this planner, it might be better forwarded by libg2o (or the corresponding CMake find script) directly.
However, do you have any issues while trying to compile the teb_local_planner without the explicit dependency on suitesparse in package.xml?
It should be installed automatically by libg2o (see https://github.com/ros-gbp/libg2o-release/blob/master/kinetic/package.xml)

Oh sorry, you are right! Tried again now and suitesparse is installed as a dependency of libg2o. It was probably my mistake while using rosdep.


InkSparkle.constantTurbulenceSeedSplashFactory causes a runtime error in web

Environment
Web / Chrome
Renderer: canvaskit
use flutter run -d chrome --web-renderer canvaskit
Flutter 3.19.6, channel stable
related:
https://github.com/flutter/flutter/pull/137998
https://github.com/flutter/flutter/pull/139481
Expected results
best case
InkSparkle.constantTurbulenceSeedSplashFactory not throwing errors.
InkSparkle.constantTurbulenceSeedSplashFactory should work, as it did on Flutter 3.13.9 • channel stable.
alternative good case
InkSparkle.constantTurbulenceSeedSplashFactory should be alternatively available, because InkSplash.splashFactory is not desired for our current design.
Actual results
Error below is thrown when tapped on the ElevatedButton
A Dart VM Service on Chrome is available at: http://<IP_ADDRESS>:54836/lE3DY7pS9Sw=
The Flutter DevTools debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:54836/lE3DY7pS9Sw=
Error: FormatException: Invalid Shader Data
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 297:3  throw_
lib/_engine/engine/shader_data.dart 24:7                                     fromBytes
lib/_engine/engine/canvaskit/painting.dart 305:46                            fromBytes
lib/_engine/engine/canvaskit/renderer.dart 469:32                            <fn>
dart-sdk/lib/async/zone.dart 1661:54                                         runUnary
dart-sdk/lib/async/future_impl.dart 162:18                                   handleValue
dart-sdk/lib/async/future_impl.dart 838:44                                   handleValueCallback
dart-sdk/lib/async/future_impl.dart 867:13                                   _propagateToListeners
dart-sdk/lib/async/future_impl.dart 643:5                                    [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 713:7                                    callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                             _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                              _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7           <fn>

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Transform.scale(
            scale: 4,
            child: ElevatedButton(
              onPressed: () {},
              style: const ButtonStyle(
                splashFactory: InkSparkle.constantTurbulenceSeedSplashFactory,
              ),
              child: const Text('Hello World!'),
            ),
          ),
        ),
      ),
    );
  }
}

Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.19045.3208], locale de-DE)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.5.2)
[√] Android Studio (version 3.2)
[√] Android Studio (version 2021.1)
[√] VS Code, 64-bit edition (version 1.88.1)
[√] Connected device (3 available)
[√] Network resources

The 'Invalid shader data' error was fixed by https://github.com/flutter/engine/pull/49754.
The fix is available on master channel.

I can confirm this has been fixed on the beta & master channels.
Closing this as fixed. Thank you

stable
beta & master

flutter doctor -v
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.19.6 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (2 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (4 available)
    • Nexus (mobile)       • 00008020-001875E83A38002E • ios            • iOS 17.4.1 21E236
    • Dean’s iPad (mobile) • 00008103-000825C811E3401E • ios            • iOS 17.4.1 21E236
    • macOS (desktop)      • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 124.0.6367.119

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.22.0-23.0.pre.17, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.22.0-23.0.pre.17 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 183bc15816 (5 hours ago), 2024-05-02 23:09:03 -0700
    • Engine revision d8c8cf4384
    • Dart version 3.5.0 (build 3.5.0-127.0.dev)
    • DevTools version 2.35.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (5 available)
    • Nexus (mobile)                  • 00008020-001875E83A38002E • ios            • iOS 17.4.1 21E236
    • Dean’s iPad (mobile)            • 00008103-000825C811E3401E • ios            • iOS 17.4.1 21E236
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 124.0.6367.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


How to show pin bottom of RangeBar?

When the interval between two pins is very low, its overlapping each other. Is there any way of showing one pin at top and other at bottom of RangeBar?

I wanted to do this but for the time being, got it working with range: https://github.com/oli107/material-range-bar/issues/172#issuecomment-535051056


Joinq on full battle room

Trying to join a full battle room as a player will add you to the join queue.

Don't merge yet


Unregister or Overriding ?

Is there any attempt to unregister something registered? or some way to override something already registered (mapped).
example on Kiwi:
https://pub.dev/packages/kiwi#unregistering

Hi @rafaelcorbellini-egsys, thanks for the suggestion.  I have added a way to remove a mapping or all mappings for a type.  This is available in version 1.0.3 https://pub.dev/packages/flutter_simple_dependency_injection/versions/1.0.3
  injector.removeMapping<SomeType>();

  injector.removeMapping<SomeType>(key: 'some_key');

  injector.removeAllMappings<SomeType>();


Browser regression when upgrading from 3.2.0 to 3.2.1

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
You should be able to load material-ui in a browser without setting up a custom webpack configuration.
Current Behavior
Using material-ui in a browser breaks due to a reference to the process variable.
This was introduced in this pull request: https://github.com/mui-org/material-ui/pull/13233/files#diff-be5f0418cde40631818aec79be6d8aa8R31
Error message:

It would be great if we could add a regression suite for this use-case, possibly using puppeteer?

@KevinGrandon I'm assuming you are not using webpack nor Rollup to bundle Material-UI. It should/work find with them. I think that we can use
https://github.com/mui-org/material-ui/blob/63baafc0f3c2d04f41bf07a232399043a930efc1/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.js#L487
instead.
Do you want to update the usage? :)

@oliviertassinari maybe use
typeof window === 'undefined'

instead of !process.browser for server detection?

Ok I think that I was fooled by https://github.com/zeit/next.js/blob/409cf71a4d8296251c07b118e9da43bab98424c0/packages/next/build/webpack.js#L283-L286.

We need a regression test this time: #13163.

@KevinGrandon What webpack version/config are you using?


Update kafka connection address and pkg_info for latest ignition version

[x] Issue: https://github.com/IBM/kubernetes-driver/issues/91
[x]  List of related PRs. : None
[x]  Project builds without any errors.
[x]  Unit Tests updated (or created where needed) and all pass.
[x]  You have ran manual functional “smoke” test (does product as a whole still work?).
[x]  User Story meets the acceptance criteria - and passes. acceptance criteria should be understood at outset.
[x]  There is a PR for update of internal documentation for the affected Project(s) - README etc.
[x]  Description of the changes: update kafka connection address and pkg_info to use latest ignition #91

Why are we updating the Kafka connection address here? Is this for EKS installations?

Closing this PR as a new PR has been raised for the same #94


Reactive website

The website should been responsive to window resizing, users on mobile, and other size displays.

Closing as a duplicate of https://github.com/clearlydefined/website/issues/95


Move to more modern Cmake/Ament cmake

Get rid of some of the old-style Cmake macros(ie. ament_export_include_directories, ament_export_libraries, ament_target_dependencies, etc.)
Smth like this:
cmake_minimum_required(VERSION 3.8)
project(uwrt_mars_rover_drivetrain_hw)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  add_compile_options(-Wall -Wextra -Wpedantic)
endif()

# find dependencies
find_package(ament_cmake REQUIRED)
find_package(hardware_interface REQUIRED)
find_package(pluginlib REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rclcpp_lifecycle REQUIRED)
find_package(transmission_interface REQUIRED)

add_library(
    ${PROJECT_NAME}
    SHARED
    src/${PROJECT_NAME}_actuator_interface.cpp
)
# Require C99 and C++17
target_compile_features(
    ${PROJECT_NAME}
    PUBLIC
    c_std_11
    cxx_std_17
)
target_include_directories(
    ${PROJECT_NAME}
    PUBLIC
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<INSTALL_INTERFACE:include>
)
target_link_libraries(
    ${PROJECT_NAME}
    PRIVATE
      hardware_interface::hardware_interface
      pluginlib::pluginlib
      rclcpp::rclcpp
      rclcpp_lifecycle::rclcpp_lifecycle
      transmission_interface::transmission_interface
)

# Causes the visibility macros to use dllexport rather than dllimport,
# which is appropriate when building the dll but not consuming it.
target_compile_definitions(${PROJECT_NAME} PRIVATE "UWRT_MARS_ROVER_DRIVETRAIN_HW_BUILDING_LIBRARY")
pluginlib_export_plugin_description_file(hardware_interface ${PROJECT_NAME}.xml)

if(BUILD_TESTING)
  # Force generation of compile_commands.json for clang-tidy
  set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")

  # clang-format
  find_package(ament_cmake_clang_format REQUIRED)
  ament_clang_format(
      CONFIG_FILE ${CMAKE_SOURCE_DIR}/../../.clang-format
  )

  # clang-tidy
  find_package(ament_cmake_clang_tidy REQUIRED)
  ament_clang_tidy(
      ${CMAKE_BINARY_DIR}
      CONFIG_FILE ${CMAKE_SOURCE_DIR}/../../.clang-tidy
  )

  # cppcheck
  find_package(ament_cmake_cppcheck REQUIRED)
  ament_cppcheck()

  # flake8
  find_package(ament_cmake_flake8 REQUIRED)
  ament_flake8(
      CONFIG_FILE ${CMAKE_SOURCE_DIR}/../../.flake8
  )

  # xmllint
  find_package(ament_cmake_xmllint REQUIRED)
  ament_xmllint()
endif()

ament_export_targets(${PROJECT_NAME}Targets HAS_LIBRARY_TARGET)
ament_export_dependencies(
    hardware_interface
    pluginlib
    rclcpp
    rclcpp_lifecycle
    transmission_interface
)

# Install headers
install(
    DIRECTORY include/
    DESTINATION include
)

# Install launch and config files
install(
    DIRECTORY
    config
    launch
    DESTINATION
    share/${PROJECT_NAME}
)

# Install CMake targets
install(
    TARGETS ${PROJECT_NAME}
    EXPORT my_libraryTargets
    LIBRARY DESTINATION lib
    ARCHIVE DESTINATION lib
    RUNTIME DESTINATION bin
    INCLUDES DESTINATION include
)

ament_package()

it looks like ros2 control isnt exporting the cmake targets yet. will submit upstream fix when i have a chance


8T batching and compression: Update cross-agent specs for batching and compression

The relevant cross agent specs for Infinite Tracing should be updated.

infinite_tracing.batching: Defaults to true, can be false to enable/disable batching
infinite_tracing.compression_level: Defaults to high, can be low, or medium, or none to disable compression

Addressed with internal agent specs PR 597.


Next Release?

Hi,
are there any plans on making a release anytime soon? We need a relatively new version of apache http client and would really like this [1] fix. We are currently using our own patched version :(.
cc: @ejona86 😄
[1] https://github.com/google/google-http-java-client/commit/a31c6d827ae9c4438c1b1997bcd794967c7544f4

I would also be interested in hearing the timeline for the next release. It appears Apache Http Client has been upgraded but there hasn't been a release.  It would be great to get the security fixes released so applications can use Google Cloud without exposing themselves to security vulnerabilities (as a number of GC SDKs depend on this library).

The following commit fixes a crash in Apache Beam (that dependents on this lib), where a BigQuery Table Row with Null values (so a release is appreciates, so we can upgrade the dependency):
https://github.com/google/google-http-java-client/commit/d2d73b11aaacdf791cd7a411ea1e1936ae09bb16#diff-055e9f3229f09cd87a28d54fbd02afda

Greetings folks!  And apologies for the delay here.  We're working on getting some infrastructure changes in place that should make releases much easier.  We will keep this thread updated as we get closer to a release!

1.24.1 has been released.


Update automatic-sidecar-inject.md

/cc @Rachael-Graham

This PR addresses review comments from https://github.com/istio/istio.github.io/pull/503

Jenkins job istio.github.io/presubmit passed

Jenkins job istio.github.io/presubmit passed


[Dubbo-1431] here is a StackOverflow bug? dubbo version 2.5.9, FailsafeLogger.appendContextMessage() > NetUtils.getLocalAddress()

What is the purpose of the change
issue#1431: here is a StackOverflow bug? dubbo version 2.5.9, FailsafeLogger.appendContextMessage() > NetUtils.getLocalAddress()
Brief changelog
dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/NetUtils.java
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[x] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #1912 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1912      +/-   ##
============================================
- Coverage     49.52%   49.52%   -0.01%
+ Complexity     4506     4505       -1
============================================
  Files           558      558
  Lines         24346    24345       -1
  Branches       4315     4315
============================================
- Hits          12058    12057       -1
+ Misses        10429    10428       -1
- Partials       1859     1860       +1

Impacted Files
Coverage Δ
Complexity Δ

.../java/com/alibaba/dubbo/common/utils/NetUtils.java
62.12% <0%> (+0.46%)
44 <0> (ø)
:arrow_down:

...rpc/protocol/dubbo/telnet/InvokeTelnetHandler.java
51.89% <0%> (-3.8%)
11% <0%> (-2%)

...ba/dubbo/remoting/transport/netty/NettyServer.java
71.42% <0%> (+3.57%)
9% <0%> (+1%)
:arrow_up:

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 ec0c7bc...f2e77f8. Read the comment docs.


WIP Remove TopologyContext from VirtualSpout

@Crim this is a quick, can I make it compile, type of pass.  The tests are broken right now, but this shows you what it'd look like to remove TopologyContext from the VirtualSpout.  I kind of like this because it minimizes what Storm specific details leak up from the DynamicSpout.

Seems good.  I wonder if we should expand the ConsumerPeerContext object to include the component name.  As far as I know thats the only other potentially relevant info we might need.

Yea, probably go ahead with this, I'd add the component id/name (spout id) to the object so thats available.

@Crim I rebased this and made some changes to fix tests.  The build on this one should be passing now, can you re-review so I can merge it in?  One thing I noted on this... I wanted to standardize creation of VirtualSpouts inside of VirtualSpoutTest and that proved to be difficult because of the mockFactoryManager instance. I wonder if we should try to overhaul this test to use the concrete mock instances we've made?


UnicodeDecodeError when import span_marker

This error message appears when I try to import span_markers
from span_marker import SpanMarkerModel

Traceback (most recent call last):
  File "/home/user/name_entity.py", line 9, in <module>
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/site-packages/span_marker/__init__.py", line 8, in <module>
    import torch
  File "/home/user/.local/lib/python3.9/site-packages/torch/__init__.py", line 778, in <module>
    _C._initExtension(manager_path())
  File "/home/user/.local/lib/python3.9/site-packages/torch/cuda/__init__.py", line 170, in <module>
    _lazy_call(_check_capability)
  File "/home/user/.local/lib/python3.9/site-packages/torch/cuda/__init__.py", line 168, in _lazy_call
    _queued_calls.append((callable, traceback.format_stack()))
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/traceback.py", line 197, in format_stack
    return format_list(extract_stack(f, limit=limit))
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/traceback.py", line 211, in extract_stack
    stack = StackSummary.extract(walk_stack(f), limit=limit)
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/traceback.py", line 366, in extract
    f.line
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/traceback.py", line 288, in line
    self._line = linecache.getline(self.filename, self.lineno).strip()
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/linecache.py", line 30, in getline
    lines = getlines(filename, module_globals)
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/linecache.py", line 46, in getlines
    return updatecache(filename, module_globals)
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/linecache.py", line 137, in updatecache
    lines = fp.readlines()
  File "/home/user/miniconda3/envs/span_marker_env/lib/python3.9/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 346: invalid continuation byte

Hello!
This seems to originate from import torch, which might mean that your torch installation is not working. You can try reinstalling it or looking for advice in the torch repository.

Tom Aarsen


Update static binary && Fix miner manage failed with levelDB

Fix miner manage failed with levelDB
Update static binary

Codecov Report

Merging #255 into dev-1.5 will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           dev-1.5     #255      +/-   ##
===========================================
- Coverage     14.2%   14.19%   -0.01%
===========================================
  Files          280      280
  Lines        19174    19171       -3
===========================================
- Hits          2723     2722       -1
+ Misses       16451    16449       -2

Impacted Files
Coverage Δ

libstorage/MinerPrecompiled.h
0% <ø> (ø)
:arrow_up:

libpbftseal/PBFT.cpp
0% <0%> (ø)
:arrow_up:

libstorage/MinerPrecompiled.cpp
0% <0%> (ø)
:arrow_up:

libconsole/ConsoleServer.cpp
0% <0%> (ø)
:arrow_up:

libdevcore/easylogging++.cpp
39.81% <0%> (-0.08%)
:arrow_down:

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 0fbceb8...b27d5bf. Read the comment docs.


Saltern Salvage Tweak

Gives Saltern a catwalk so salvage crews can get closer to the wrecks.
Also adds prototype for salvage equipment crates to the cargo catalog.

Does this mean we're not planning to use that area for a cargo shuttle dock?

Shortened the catwalk.
I see this as a temporary solution while salvage is in early stages so people can experiment with it. Can be changed to fit cargo shuttles when the time arises.


Config option to disable character avatar in background.

Allow us to set a given character theme without the characters avatar in the background in ~/.hyper.js

Thank you for taking the time to propose the feature! We will try to implement it as soon as possible 😄

Hope for this, because now characters makes working with terminal text a nightmare :(
overall fascinated colors, guys!


allow dnp without dnp field in extra_fields

fixes #318
Signed-off-by: Gerhard Jörges<EMAIL_ADDRESS>

added board_variant_field. Are board_variant_whitelist and board_variant_blacklist also required?

No, whitelist/blacklist are values of board_variant_field, not fields themselves.
Thanks for the fix!

No problem. Thank you for that awesome project.


fix style syntax for mir.ndslice

Pending changes for ndslice from #88

Current coverage is 98.11%

Merging #89 into master will decrease coverage by -0.01% as of a78946b

@@            master     #89   diff @@
======================================
  Files            7       7
  Stmts         2500    2497     -3
  Branches         0       0
  Methods          0       0
======================================
- Hit           2453    2450     -3
  Partial          0       0
  Missed          47      47

Review entire Coverage Diff as of a78946b

Powered by Codecov. Updated on successful CI builds.

i can not merge this until phobos PR, but i can merge fixes for sum and las

I understood, #88 only contains those. Dscanner will only print a couple of warnings which we can resolve as soon as ndslice is open for changes.
On April 14, 2016 6:10:03 PM GMT+03:00, Ilya Yaroshenko<EMAIL_ADDRESS>wrote:

i can not merge this until phobos PR, but i can merge fixes for sum and
las

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/DlangScience/mir/pull/89#issuecomment-209991441

This is exactly similar to #154 - closing in favor of the newer PR.


Crash on windows

Setting up a new project or running the demo projects on windows it just crashes. The app otherwise works fine if Canvas is not present.
After calling InitializeComponent() it simply crashes, I can't find any exceptions, only the message:
The program '[5388] MauiApp1.exe' has exited with code<PHONE_NUMBER> (0xc000027b).
Tried to run the demo project just in case I set up something incorrectly, the code seems to run up to MainPage.InitializeComponent(); after which the app simply closes with the message "The program '[16464] AppoMobi.Maui.DrawnUi.Demo.exe' has exited with code<PHONE_NUMBER> (0xc000027b)." I am unable to get any exception.
Am I missing something?
Tested on windows 10 and windows 11.
Update: I tried to walk through the library code to see at what code gets executed before the crash.
It calls Measure and Arrange functions on the Canvas, but crashes before it can call Draw.
The actual last line of code I can catch before it crashes is a Task.Delay function in Looper.cs line 159: await Task.Delay(TimeSpan.FromMilliseconds(timeToWaitMs), cancellationToken);

Hi!
Failed repoduce this running the repository code from the main branch.
My quick theory is maybe you have an outdated fork pf demo AND/OR drawnUi, there were some braking changes while ago? Or an outdated nuget version?
So I'm running fine on windows 10 DrawnUi.Demo with <UseNuget>true</UseNuget> inside the .csprj and
    <PackageReference Include="DrawnUi.Maui.Camera" Version="<IP_ADDRESS>" />
    <PackageReference Include="DrawnUi.Maui.Rive" Version="<IP_ADDRESS>" />

At the same time still running okay with <UseNuget>false</UseNuget>  and importing the DrawnUi repo code.

Hey @taublast, apologies and a word of warning!!!! The latest visual studio update (or I guess .NET or MAUI) breaks SkiaSharp.
I tried running one of my applications that uses SkiaSharp and while the old builds work perfectly well, once rebuilt it crashes as soon as the canvas is initialized.
I downgraded Visual Studio to 17.8.3 and everything works fine, including your demo.
Closing this issue as it is not related to your library.
By the way so far your library looks good, one of my application is written like 90% in SkiaSharp due to the atrocious performance on android and breaking inconsistencies across platforms, I was considering putting my own solution into a library but ended up discovering this project yesterday and after I got it running now and some initial testing I'm strongly considering porting my application to use DrawnUi.Maui.
Good luck and keep up the good work! 👍

Thanks! I would reopen this to investigate the cause of the crash though. Will update my VS (was avoiding to do it for obvious reasons) to force the problem to appear.

I was sitting on 17.10 working fine.
After upgrading to 17.11.5 i'm now getting an unhandled Win32 exception when running Sandbox app on Debug. Funny enough this prompts to launch another instance of VS to debug this.

so basically once can just include a simple
      <skiasharp:SKCanvasView
          BackgroundColor="DarkSlateBlue"
          HorizontalOptions="Fill"
          VerticalOptions="Fill"/>

to make VS crash, the drawn UI is indeed unrelated.

Let's hope they would notice it here https://developercommunity.visualstudio.com/t/Latest-update-breaks-Skiasharp/10767419?q=crash+windows+maui+skiasharp

Yep, that's exactly what I've experienced as well, although on one machine I would not even be prompted to debug on a new instance, it just crashes and the debugger doesn't catch it.
MAUI has been such a frustrating experience overall, the least they could do is not break it further lol.

Related to https://github.com/Mapsui/Mapsui/issues/2758 and https://github.com/dotnet/maui/issues/25160

@arifu-dev upgrading all your skiasharp-related nugets to 2.88.9-preview.2.2 would solve this for existing projects

Good to know, thanks!


Exception in ES Sail compliance test

Current Behavior
Exception in thread "Thread-3" java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.test.ESTestCase
        at java.base/java.lang.Thread.run(Thread.java:829)
Suppressed: java.lang.IllegalStateException: No context information for thread: Thread[id=40, name=Thread-3,
state=RUNNABLE, group=TGRP-ElasticsearchSailTest]. Is this thread running under a class
com.carrotsearch.randomizedtesting.RandomizedRunner runner context?
Add @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to your test class.
Make sure your code accesses random contexts within @BeforeClass and @AfterClass boundary (for example, static test class initializers are not permitted to access random contexts).
                at com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:249)
                at com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:134)
                at com.carrotsearch.randomizedtesting.RandomizedRunner.augmentStackTrace(RandomizedRunner.java:1885)
                at com.carrotsearch.randomizedtesting.RunnerThreadGroup.uncaughtException(RunnerThreadGroup.java:20)
                at java.base/java.lang.Thread.dispatchUncaughtException(Thread.java:1997)

Expected Behavior
Test should work without throwing exception
Steps To Reproduce
Dev tree using JDK 11 and Maven 3.8.3 on Debian,
Version
4.0.0-SNAPSHOT
Are you interested in contributing a solution yourself?
Yes
Anything else?
No response

More info from console
[ERROR]   ElasticsearchIndexTest » NoClassDefFound Could not initialize class org.elasti...
[ERROR]   ElasticsearchSailGeoSPARQLTest » NoClassDefFound Could not initialize class or...
[ERROR]   ElasticsearchSailIndexedPropertiesTest » NoClassDefFound Could not initialize ...
[ERROR]   ElasticsearchSailTest>ESTestCase.:229 » Runtime can not run elasticsea...

Seems to work after a few cleans, probably machine-specific issue


Implement support for NAN 2.0

Excuse me, how to implement gcc into cmakelists.txt for cmake-js? I am on windows 7, vs 2010.

Hi. GCC on Windows is not yet supported compiler for developing native addons. I have plans to support it in CMake.js. Please, upvote the issue there: https://github.com/unbornchikken/cmake-js/issues/17

0.15+ is compatible with io.js 3.2+


Need callback function for when processing is finished

The script sorely needs a callback that can run after all the tasks have completed (since iconify-convert can take a long time to complete) . It would be referenced like so:
iconify({ }, function () { console.log("Processing is done! Yay!"); });

... so that extra processing, such as renaming .scss to .less (I'm considering opening an issue for LESS-support, by the way), can take place once the final files have actually been written. :-)

It occured to me that if CSS-rendering is disabled (see separate issue), LESS-support becomes automatic, since one can just alter the moustache-file to fit the rendering required. The callback request still stands, though.


Feature/pdct 1717 bug document type values not in alphabetical order in

What's changed

reverting as per ticket comment

Proposed version
Please select the option below that is most relevant from the list below. This
will be used to generate the next tag version name during auto-tagging.

[ ] Skip auto-tagging
[x] Patch
[ ] Minor version
[ ] Major version

Visit the Semver website to understand the
difference between MAJOR, MINOR, and PATCH versions.
Notes:

If none of these options are selected, auto-tagging will fail
Where multiple options are selected, the most senior option ticked will be
used -- e.g. Major > Minor > Patch
If you are selecting the version in the list above using the textbox, make
sure your selected option is marked [x] with no spaces in between the
brackets and the x

Duplicate


Medical Provider Charges Dashboard [R]

App name
dashr-clinical-analytics
App

[ ] This app is currently deployed on Dash(R) Gallery: [deployment URL]
[x] This app is new

Source code repository
[source code repo URL]
Current appearance
[attach screenshot of current app here]
Redesign
Link: https://github.com/plotly/streambed/issues/12759#issuecomment-480682419

Playground deployment
[url of playground deployment]

hospital cost.ai.zip


EventListener to aggregate activities

Posting for @Tratcher
Should not be pulled as-is. Creates an EventListener that will aggregate the events, creating a parent/child based on ActivityID in the events.
Based on conversations, this probably needs to be inverted, and push EventSource Events to ILogger and ensure that they scope correctly.

@samsp-msft can this be closed in favor of @MihaZupan's work?


Azure DevOps Work Item Batch API docs got lost

Seems that the page below needs to be hooked back into the docs tree and the examples need to be ported from the older version as they got lost in the latest version.

From: @martinams
Sent: Thursday, January 21, 2021 1:02:37 AM
To: @Jessehouwing
Subject: RE: Is the Batch WI API still supported?
It’s not on the way out, not sure what happened to the documentation.
From: @Jessehouwing
Sent: Wednesday, January 20, 2021 4:43 AM
To: @martinams
Subject: [EXTERNAL] Is the Batch WI API still supported?
In the TFS Aggregator we use this API heavily, but the docs pages have fallen apart and are no longer hooked up to the REST API docs
Did something get unmoored by accident? Or is this API on its way out?
https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/workitembatchupdate

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

ID: 078ae3f6-204f-923d-1804-00b5bebd370a
Version Independent ID: 8c65025a-a737-5597-adb0-3b421e48da1a
Content: Work item Batch Updates - Azure DevOps Services REST API
Content Source: docs-ref-conceptual/6.0/wit/WorkItemBatchUpdate.md
Product: devops
Technology: devops-ref
GitHub Login: @wnjenkin
Microsoft Alias: whjenkin

@jessehouwing I wasn't able to figure out what happened with this page and with this API. I'll contact the work items team for more info. Thanks for reporting.

Using this item as the main one linked related issues to it. There are couple of issues to address.

Page not being accessible without direct link
Example links not working
Outdated API version

Hey folks, it would be good to get an update on this issue, as the item has been stale for over a year.

In addition to the comments by @nechvatalp, we need to include the required "scopes" for the batch update operations.
I've tested the API endpoints directly with api-version=7.0 and api-version=7.1, api-version=7.2-preview successfully.


Feature/assert future dialog

@This code is not production ready.
The purpose of the pull request is to assert dialog text.
I created some tests, and code to perform this action.
But don't understand how to get to the dialog message.
Perhaps someone can finish this pull request ?
Hope it helps a bit ;)

I understand you need, but for starters could you remove all changes which are done (most likely) your IDE, because it makes changes really noisy. Also this causes some Pep violations and CI therefore fails. Most likely the easiest solution is

Close your IDE or whatever you are using to write the code.
Follow the development environment setup instructions
Run inv lint and then git add/commit/push your changes.

@aaltat
Sorry for the problems i'm causing.
I have performed the inv lint command.
I would like to remove the pull request. But don't know how.
i'm not able to get the dialog message into the interaction.py.

I did not mean it in harsh way, sorry about that.
In general, there is usually feedback given, to both directions in a PR. Feedback can be related to many things, like way of coding style or in way feature is implemented, to almost anything under the sun. It is kind of discussion, with a delay, because most of the time, you and me are not present at the same time. And because we can not see each other, many things are lost in the translation.
But now the pull request looks pretty good and is not far from being accepted. Perhaps test or two and then all would have been good. So if you are interested, I can guide you trough the PR and get thing done.

Hello Tatu,
I didn't close the pull request because your comment was harsh.
I thought I had the skills to add the code to solve my issue (assert the
dialog message). But I'm in over my head.... And I don't want to add a sub
optimal solution.
Perhaps someone can finish this (or start over if that's easier)
This is the last thing I need to recommend using this great framework in
several projects.
Greets,
Erik
On Mon, Dec 14, 2020, 21:33 Tatu Aalto<EMAIL_ADDRESS>wrote:

I did not mean it in harsh way, sorry about that.
In general, there is usually feedback given, to both directions in a PR.
Feedback can be related to many things, like way of coding style or in way
feature is implemented, to almost anything under the sun. It is kind of
discussion, with a delay, because most of the time, you and me are not
present at the same time. And because we can not see each other, many
things are lost in the translation.
But now the pull request looks pretty good and is not far from being
accepted. Perhaps test or two and then all would have been good. So if you
are interested, I can guide you trough the PR and get thing done.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MarketSquare/robotframework-browser/pull/574#issuecomment-744693754,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLATWPVGT6LMBBXFVKAYULSUZZCPANCNFSM4UZYOJOQ
.

Your solution does look's pretty good. Also it is totally alright to be confused in a strange codebase, we are here to help and guide you trough the process, if you want.

Hello Tatu,
If you can guide me that would be helpful.
I have only one difficulty to solve this issue.
My understanding is that the following function from "interactions.ts", is
there to wait for a possible dialog. And if the dialog occurs, the dialog
is accepted or dismissed. I thought the line "wait invokeOnPage(page, 'on',
'dialog', fn)"  would return a Dialog object, but it doesn't. It returns a
Page object.
I would like to know how to get to the dialog message that is accepted or
dismissed. If I can get that, then the rest is already in place. I already
tested the stringResponse with Robot Test. The only problem is that not the
correct dialog message is passed through.
export async function handleAlert(request: Request.AlertAction, page?:
Page): Promise<Response.String> {
const alertAction = request.getAlertaction() as 'accept' | 'dismiss';
const promptInput = request.getPromptinput();
const fn = async (dialog: Dialog) => {
if (promptInput) await dialogalertAction;
else await dialogalertAction;
};
await invokeOnPage(page, 'on', 'dialog', fn);
return stringResponse('don't know were to get dialog message
from', 'Set event handler for next alert');
}"
greets,
Erik
On Mon, Dec 14, 2020 at 9:45 PM Tatu Aalto<EMAIL_ADDRESS>wrote:

Your solution does look's pretty good. Also it is totally alright to be
confused in a strange codebase, we are here to help and guide you trough
the process, if you want.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MarketSquare/robotframework-browser/pull/574#issuecomment-744700196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLATWKEP2NESITZPD5LLADSUZ2QHANCNFSM4UZYOJOQ
.

Well, we have these generic invoke methods, in this case we use invokeOnPage. That node side code is too clever for me, but lets ask @mkorpela or @xylix how that invokeOnPage could be changed so that it returns dialogue message

@mkorpela
Could you give me some pointers to get to the dialog message(as discussed above) ?
That would help me to finish the issue.
Thanks in advance,
Erik

For some reason this is very hard.
I'm able to check the dialog message.
When the dialog message doesn't contain the expected text, I throw an Error.
This works, but I can't seem to handle the promise correctly (never used it before). ANd the playwright process stops because of this. Don't know how to proceed...

Still working on it

export async function handleAlert(request: Request.AlertAction, page?:
Page): Promise<Response.String> {
    const alertAction = request.getAlertaction() as 'accept' | 'dismiss';
    const promptInput = request.getPromptinput();
    const fn = async (dialog: Dialog) => {
        const message = dialog.message();
        if (promptInput) await dialog[alertAction](promptInput);
        else await dialog[alertAction]();
        return message;
    };
    const message = await invokeOnPage(page, 'on', 'dialog', fn);
    return stringResponse(message, 'Set event handler for next alert');

}

You should be able to access the dialog message directly in the callback through the dialog. See my code example. Hopefully it helps. Feel free to ask more questions if it does not work or you have trouble with it :).

Hello Kerkko,
This very helpfull, but i'm still unable to get the dialog message
The type of message is 'undefined'. However I expected to get a type String.
Therefore if a add something to message like 'dummy', that is returned from
the function to the HandleAlert python method. This indicates that the
change from Respone.Empty to Response.String is working
So passing of the parameters is correct, but for some reason
dialog.message()
I also tried to get the message of the dialog after the wait. That did'n
help either. I don't understand why it won't work....
This is what i have now:
export async function handleAlert(request: Request.AlertAction, page?:
Page): Promise<Response.String> {
const alertAction = request.getAlertaction() as 'accept' | 'dismiss';
const promptInput = request.getPromptinput();
const fn = async (dialog: Dialog) => {
const message:String = dialog.message();
if (promptInput) await dialogalertAction;
else await dialogalertAction;
return message
};
const dialogMessage = await invokeOnPage(page, 'on', 'dialog', fn);
return stringResponse('dummy' + dialogMessage.name, 'Set event
handler for next alert');
}
with self.playwright.grpc_channel() as stub:
if prompt_input and action is not DialogAction.accept:
raise ValueError("prompt_input is only valid if action is 'accept'")
response = stub.HandleAlert(
Request().AlertAction(alertAction=action.name, promptInput=prompt_input)
)
logger.debug(response.log)
if assertion_operator is not None:
dialog_text = response.body
logger.debug(dialog_text)
verify_assertion(dialog_text, assertion_operator,
assertion_expected, f"Asserting dialog text")
Any ideas ??
Erik
On Thu, Dec 17, 2020 at 11:45 AM Kerkko Pelttari<EMAIL_ADDRESS>wrote:

export async function handleAlert(request: Request.AlertAction, page?:
Page): Promise<Response.String> {
const alertAction = request.getAlertaction() as 'accept' | 'dismiss';
const promptInput = request.getPromptinput();
const fn = async (dialog: Dialog) => {
const message = dialog.message();
if (promptInput) await dialogalertAction;
else await dialogalertAction;
return message;
};
const message = await invokeOnPage(page, 'on', 'dialog', fn);
return stringResponse(message, 'Set event handler for next alert');
}
You should be able to access the dialog message directly in the callback
through the dialog. See my code example. Hopefully it helps. Feel free to
ask more questions if it does not work or you have trouble with it :).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MarketSquare/robotframework-browser/pull/574#issuecomment-747361453,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLATWKPMCMW2NGCH7MZAYDSVHOMFANCNFSM4UZYOJOQ
.

I can see that the function(fn) can find the dialog message. But the
invokeOnPage doesn't return the string.
The result (from invokeOnPage) is undefined Object.... But again... i'm not
sure why ?
Any ideas about this ?
Erik
On Thu, Dec 17, 2020 at 11:45 AM Kerkko Pelttari<EMAIL_ADDRESS>wrote:

export async function handleAlert(request: Request.AlertAction, page?:
Page): Promise<Response.String> {
const alertAction = request.getAlertaction() as 'accept' | 'dismiss';
const promptInput = request.getPromptinput();
const fn = async (dialog: Dialog) => {
const message = dialog.message();
if (promptInput) await dialogalertAction;
else await dialogalertAction;
return message;
};
const message = await invokeOnPage(page, 'on', 'dialog', fn);
return stringResponse(message, 'Set event handler for next alert');
}
You should be able to access the dialog message directly in the callback
through the dialog. See my code example. Hopefully it helps. Feel free to
ask more questions if it does not work or you have trouble with it :).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MarketSquare/robotframework-browser/pull/574#issuecomment-747361453,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLATWKPMCMW2NGCH7MZAYDSVHOMFANCNFSM4UZYOJOQ
.

Without seeing you code in the PR itself it is hard to say what is wrong. Could you commit your changed and push it?

Hello  Tatu,
I have committed the changes.
Hope you can see were the problem is 😄
Erik
On Fri, Dec 18, 2020, 15:09 Tatu Aalto<EMAIL_ADDRESS>wrote:

Without seeing you code in the PR itself it is hard to say what is wrong.
Could you commit your changed and push it?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MarketSquare/robotframework-browser/pull/574#issuecomment-748103182,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLATWMUEDBK4TFKTCEDN5LSVNPBFANCNFSM4UZYOJOQ
.

There is small pep violation, see the comment. Please fix it and lets see what is the next error to solve.

I still need the functionality, but can't build it myself, I'm sorry to say


Replace the underlying ACME library

I've started work on a fork of go-acme/lego which will eventually be used by CertMagic.
History
Originally -- back in early 2015, well before Let's Encrypt's public beta -- lego was developed by @xenolf, conceived for use in Caddy as a Let's Encrypt client (hence the name lego, "Let's Encrypt for Go"). It was the first ACME client written in Go, and Caddy was the first public/generalized consumer of Let's Encrypt certificates using Go. Eventually, xenolf stepped down to focus on other things, and lead maintainership fell to Ludovic Fernandez, a Traefik engineer at Containous, who has done excellent work keeping lego active and useful, including a complete rewrite to better accommodate ACMEv2, which is actually the first formally standardized version of the ACME spec. Thank you, Ludovic, for all your hard work, especially on many long nights and weekends!
Eventually, Caddy's certificate management logic was surgically extracted into a new library, CertMagic, which is one of the primary consumers of lego (and Caddy is the primary consumer of CertMagic). CertMagic has seen adoption beyond just Caddy, too, used in who knows how many Go projects around the globe.
You could say that Caddy and CertMagic have been through a lot together. Through building, deploying, and working with users on these projects, I've seen all sorts of successes and failures, bugs and edge cases, enterprise requirements and various developer preferences and habits. CertMagic's design has evolved to be more flexible and accommodate as many scenarios as possible, incorporating the things we've learned along the way. And together with multiple organizations, we've written a document of ACME best practices.
Through these experiences, I would be so bold as to suggest that CertMagic is perhaps one of the most well-vetted, production-tested, self-contained certificate management libraries out there (even among those not written in Go). It is designed to scale to tens of thousands of certificates (or orders of magnitudes more, if your machine has enough memory, and if you have enough time to operate within CA rate limits at that scale). It can even obtain certificates dynamically at handshake-time, or coordinate certificate management across a cluster if so configured! I am not aware of other libraries or tools which are designed to scale to these levels or accommodate as many use cases... it is not easy, for sure.
Changes
Now that the ACME spec has mostly settled down, I'd like to say that CertMagic is almost done. But, there's still quite a few things that need improvement, which are difficult without some changes in lego... and while lego is excellent in many ways, but it crumbles at scale. We've worked around a few of the problems in Caddy/CertMagic but it's far from ideal. The changes I want in lego may be considered significant... lego is on major version 3, making a major version 4 is not the problem. It's simply that these changes require a fundamentally different philosophy and vision.
Our opinions or priorities diverge on matters of:

Revamping logging
Less opaque error handling from ACME transactions
Moving DNS providers into a separate repo to be more lightweight and portable (although, on second thought, maybe not as separate Go modules)
Tweaking DNS provider interface/types
Internal, configurable throttling
Client reuse or caching (can't find a link right now)
Context support (for cancellation)
Proper, randomized challenge selection and retries
Env variables and config loading

Understandably, most of these differences of opinion are goal-oriented. These are pain points for Caddy/CertMagic, but maybe not necessarily for Traefik or the other consumers of the lego lib: our projects all have different goals, priorities, and customers. Even if we all agree that logging or error handling could be improved, our priorities and visions may differ. I want to be sure we accommodate enterprise scale use cases and failure scenarios that our own customers have experienced, at least. To that end, lego's current design does not accommodate all of Caddy's/CertMagic's requirements, necessitating major changes that would be a burden to its current maintainers, who volunteer their spare time to work on it. I just can't ask more of them after all their hard work.
To avoid added friction to the lego project and to reduce burden on lego maintainers, I will make a derivation of the lego project in a separate repository and have CertMagic use my derivation of lego.
Vision
With the changes I hope to implement more freely in a fork, I expect that:

CertMagic will better handle large-scale deployments, especially in error situations.
CertMagic's code will slim down in some areas. Several work-arounds exist in CertMagic (such as using all enabled challenge types) that would ideally be fixed in the underlying library instead. These will be fixed in the refactored design of the lego fork.
Overall code bloat will decrease as well, since we don't need a command (CertMagic's CLI is Caddy).
Build dependencies will be dramatically reduced, with a go.sum file about 6% of the current size. This makes things much easier and more lightweight for development, and significantly lowers error possibilities at build-time.

Performance (speed) of ACME operations will increase by properly managing and reusing state.
Configuration will be more flexible all-around without needing to rely on global state.
Caddy will be more efficient with frequent, large config reloads on busy servers thanks to proper cancellation of long-running validations.
It will be easier and more flexible to configure more DNS providers for the DNS challenge.
Errors will be less opaque, so they can be more intelligently handled, and occasions (and durations) of being rate-limited by Let's Encrypt will drop dramatically.

And these are just the foreseeable benefits.
Caddy's certificate management -- via CertMagic -- is already the gold standard. I'm hoping to raise the bar and keep it the best in a world that relies more and more on TLS. Today in 2020, Caddy is still the only web server to use HTTPS automatically and by default. Back in 2015, I thought that would be a short-lived novelty, maybe a cute feature, but 5 years later, it's still unique and magical. In a way, that's kind of disappointing. But we should strive to make privacy the default on the majority of sites, and if that means making Caddy (or CertMagic) the majority web server, so be it.
FAQ
What does this mean for Caddy users?
Except for the potential benefits described above, almost nothing. Caddy doesn't really expose much of the interop with go-acme/lego directly.
What does this mean for CertMagic users?
Except for the potential benefits described above, probably some API changes if you are using CertMagic programmatically. CertMagic hasn't tagged 1.0 yet, so pay attention to breaking changes in the minor releases (v0.X) until then.
What does this mean for lego users?
If you use lego's CLI, you can keep using lego. (Although, we recommend using a long-running server in the long term instead of cron jobs; services like Caddy or CertMagic have more robust error handling!) If you use lego as a library, you can keep using lego. In time, I believe the two code bases will diverge enough that you won't recognize that one is a fork of the other.
If desired, I can contribute back any requested changes if they're compatible with lego, subject to time and funding constraints.
Which lib should I use?
Between lego and my fork? Probably neither, to be honest. Unless you're writing certificate management libraries yourself, most people should use CertMagic instead because one-off certificate operations aren't very useful. Certificates need to be renewed, OCSP needs careful management, etc. For most Go programs in general, CertMagic is a better fit.
If you happen to be writing certificate management software and can't use or contribute to CertMagic for some reason, then that choice is up to you. Lego is probably going to be more stable in the near-future, but I suspect that our derived library will have significant novel improvements as well.
Where will the forked library be hosted?
Its temporarily -- possibly permanent home -- is mholt/acmez, which I will be working on as time and funding permits.
What can the community do to help?
You can sponsor my work, and once I get the library to a point where it can be used, test the heck out of it. :) Also feel free to participate in discussions that arise in the process! Thank you for any help!

This is now finished! https://github.com/mholt/acmez

Okay, now it's done. 😁 Works like a charm -- we dropped over 550 lines of code and about 250 indirect dependencies. :tada:


F-Droid build failed

lib/widgets/common/smooth_animated_size.dart:17:24: Error: Required named parameter 'vsync' must be provided.
    return AnimatedSize(
                       ^
../srclib/flutter/packages/flutter/lib/src/widgets/animated_size.dart:56:9: Context: Found this candidate, but the arguments don't match.
  const AnimatedSize({
        ^^^^^^^^^^^^
FAILURE: Build failed with an exception.
* Where:
Script '/home/vagrant/build/srclib/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1035
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/home/vagrant/build/srclib/flutter/bin/flutter'' finished with non-zero exit value 1

Could you please take a look? Thanks!

The YAML in the F-Droid data repository needs to be updated to make use of a newer Flutter beta version. In this case it needs to be updated to a 2.3.0 build such as 2.3.0-24.1.pre.
At the moment I don't have the time to test this change locally, so feel free to take steps to get this fixed on my behalf. If not, I aim to open a PR to fix the build somewhere in the next two days.

Thanks!


[Bug]Exporting Arabic data

Package version 2.1.0 , Laravel version 5.4
I'm exporting data from the database and I've a field in Arabic, It's working in xlsx but not showing correctly in the CSV

This is the code I used to export the data
$applications = App\Application::where('submission_id', '=', $request->input('q'))
                        ->where('status', '=', 1)->orderby('submission_date')
                        ->get()->all();
        $excel = App::make('excel');
        Excel::create('Application', function($excel) use($applications) {
            $excel->sheet('Application', function($sheet) use($applications) {
                $sheet->setOrientation('landscape');
                $sheet->setTitle("Application");
                $sheet->setStyle(array(
                    'font' => array(
                        'name' => 'Calibri',
                        'size' => 11,
                        'bold' => false
                    )
                ));

                $sheet->appendRow(array(
                'Full Name in English','Full Name in Arabic'
                ));
                foreach ($applications as $app) {
                    $sheet->appendRow(array(
                        $app->personalInfo->name,
                        $app->personalInfo->name_arabic,
                    ));
                }
            });
        })->export('csv');

Any help please??

It's an Excel bug: https://excel.uservoice.com/forums/304921-excel-for-windows-desktop-application/suggestions/10006149-support-saving-csv-in-utf-8-encoding


Add an option to determine focus on search field or not

I think we need an option to customize focus on search field after container is open.
In mobile browsers after container is open, suddenly keyboard appears and  this is a bad user experience because maybe the user does not need to search.
I can create a pull request for this.

Have you looked at #4425?

Thanks.

Could you propose your solution in that thread, actually?  I'm reluctant to add more binary configuration options (there are so many already and they are very buggy), but we can at least consider it as one possible solution to the mobile keyboard issue.


Shortcut to script running in JEA context

Is it possible to allow a script to run in the context of JEA?  For example, I am trying to allow someone who is not at all comfortable or familiar with PowerShell to restart a specific service.  Could I put a shortcut to a PowerShell script that restarts that service on their desktop so when they run it, it runs in the context of JEA and allows them to restart the service?
I have played around with setting that up as a VisibleExternalCommand, but got an error saying ScriptsNotAllowed.
Thanks.

Can you share the exact message? Putting the script path in VisibleExternalCommands is the right way to do it and worked on my system. One thing to double check is the execution policy of your session configuration file -- you may need to drop it to Unrestricted or Bypass if the script you're authorizing is not signed.

Hey Ryan, I suspect it is the fact that I haven't signed the script, but here is the exact error:
The syntax is not supported by this runspace. This can occur if the runspace is in no-language mode.
+ CategoryInfo          : ParserError: (
Stop-Serv...use
Exit
:String) [], ParseException
+ FullyQualifiedErrorId : ScriptsNotAllowed
+ PSComputerName        :

Hmm, could you shoot your script to me in an email (ryanpu @ MSFT)? Would be interested to see what's going on.

I was able to get this to work with changing the session configuration to Full Language and using invoke-command in my script to connect to the server in question (e.g. invoke-command -computername  -ScriptBlock {stop-service }.

@jhack31 Great to hear you're unblocked! Just to confirm, though, on which machine did you change the language mode. We do not recommend using FullLanguage inside a JEA endpoint as it would allow users to invoke arbitrary .NET APIs which can circumvent the sandbox we put in place.

It was on the endpoint.  Is there another language mode I could use besides
no language and maintain the integrity of jea?
On May 8, 2017 1:36 PM, "Ryan Puffer"<EMAIL_ADDRESS>wrote:

@jhack31 https://github.com/jhack31 Great to hear you're unblocked!
Just to confirm, though, on which machine did you change the language mode.
We do not recommend using FullLanguage inside a JEA endpoint as it would
allow users to invoke arbitrary .NET APIs which can circumvent the sandbox
we put in place.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/JEA/issues/20#issuecomment-299935854, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARM-UyiMnnx2ZNBu4aNiBCveI4Mzu5Dlks5r31KwgaJpZM4NLyRD
.

NoLanguage is the only recommended configuration for security sensitive endpoints. I see you're just calling Stop-Service on the remote endpoint -- is that not working in NoLanguage mode? Or is "invoke-command" what is sent to the JEA endpoint, used to manage a further system?

I use Invoke-command with Scriptblock to manage the service on a remote
endpoint.
Scenario is user would log into a jump server and double click a shortcut
(to a script) that remotely restarts a service on a JEA endpoint.
On May 8, 2017 4:18 PM, "Ryan Puffer"<EMAIL_ADDRESS>wrote:

NoLanguage is the only recommended configuration for security sensitive
endpoints. I see you're just calling Stop-Service on the remote endpoint --
is that not working in NoLanguage mode? Or is "invoke-command" what is sent
to the JEA endpoint, used to manage a further system?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/JEA/issues/20#issuecomment-299978742, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARM-U0-1yJSVP-G84mQm2ljvdbOh6qlPks5r33iggaJpZM4NLyRD
.

I got this to work in NoLanguage mode by using Import-PSSession and then performing the stop/start service commands rather than using Invoke-Command.  I think this can be closed if you agree that is an appropriate way to accomplish this?
Thanks!

That's really weird. Invoke-Command should support JEA no problem.
What is the exact syntax you're using with Invoke-Command? The way you describe this would indicate that you're using some language element like variables which would explain why implicit remoting works but Invoke-Command does not.
For example, the below command will always fail with JEA:
Invoke-Command -ComputerName mydesktop -ConfigurationName jea -ScriptBlock { $s = Get-Service Spooler; Stop-Service $s }

As will this (because there is no link between the variable in the script block and the one on your gateway):
$variableOnMyLocalComputer = 'Spooler'
Invoke-Command -ComputerName mydesktop -ConfigurationName jea -ScriptBlock { Stop-Service $variableOnMyLocalComputer }

But this will succeed, because the $using: syntax tells PowerShell to put the value in the specified variable into the script block, not to declare a new variable in the script block context:
$variableOnMyLocalComputer = 'Spooler'
Invoke-Command -ComputerName mydesktop -ConfigurationName jea -ScriptBlock { Stop-Service $using:variableOnMyLocalComputer }

You're correct.  I was using language elements within the script block like If/Else in order to provide a status to the user running it.
Invoke-Command -ComputerName mydesktop -ScriptBlock {Stop-Service $using:service}"
works fine.
Invoke-Command -ComputerName $server -ScriptBlock {
    Stop-Service -Name $using:service
    if((Get-Service -Name $using:service).Status -eq "Stopped")
    {
        "$using:service service is stopped."
    }

fails with the error:

The syntax is not supported by this runspace. This can occur if the runspace is in no-language mode.

Thanks for your assistance on the issue!

Great! I'm going to close this issue but feel free to open another if something else comes up.


Update HubException to be a RuntimeException

Making HubException derive from RuntimeException
Issue: https://github.com/aspnet/SignalR/issues/2976

Looks like we wont be going this direction


have flutter precache print if there's no work to do

have flutter precache print if there's no work to do

LGTM


add jitter

This PR modifies the behavior of this package to randomize the deadlines in order to avoid having periodic operations synchronized across distributed services because they run on hosts that have synchronized clocks.

Thanks for the reviews guys!


how to see blockchain changed after transaction?

the store data sample did not return any hash value after submit

And furthermore does not create any transaction at all. I do not understand what the seed value is either TBH. I deployed a local client and went to advanced and can tell you no transactions ever got recorded.


Host waiting page not showing up for new environments

Rancher Version: master 10/6
Steps to Reproduce:

Create a new environment
Switch to this environment

Results: Get Adding your first stack
Expected: Should get Adding your first host

Changed to always show on the header instead of forcing you to waiting page.

Version - master 10/10
Verified fixed


Test Recorder zipping performance

Running some basic tests with our current library on my local machine.
Generating 1,000 frames:
libzip = 35367[ms]
miniz  = 11314[ms]

Zip size looks the same.
It might be that libzip needs a bit more massaging to perform well.
miniz just uses a single function call for this, so it looks like a pretty big win here, and the library is just comprised of a single <header, source> pair of files, which is also really nice to have.

Generating 10,000 frames:
libzip = 2,480,749[ms] (~41 mins!!)
miniz  = 132,764[ms] (~2.2 mins)

I'm going to switch libraries for now as performance is so much better, especially at bigger sizes.