usePermission doesn't work on Firefox

When used on Chrome, usePermission works as expected, returning prompt when prompting and granted when approved.
When the same code is run in Firefox, however, the hook always returns an empty string.
Code example:
const cameraPermission = usePermission('camera');
const micPermission = usePermission('microphone');
console.log(cameraPermission, micPermission);

My bad, this is a non-issue. The problem is Chrome vs Firefox having different permission names that this supports, as defined here

Upon further inspection, this still didn't work in Firefox for some reason, even using permissions that Firefox does support

I'll check it later. Sorry it's saturday and I has to go out now.

@bfaulk96 Hello, can you provide what permissionName do you use? It's seems to work fine.

Hmm. I cannot reproduce my issue anymore either using supported permissions names. My apologies


Tutorial at yew.rs is broken

Problem
Mar 20 11:01:51.320  INFO building yew-app
   Compiling yew-app v0.1.0 (/home/llfourn/src/yew-app)
error[E0425]: cannot find function `start_app` in crate `yew`
  --> src/main.rs:11:10
   |
11 |     yew::start_app::<App>();
   |          ^^^^^^^^^ not found in `yew`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `yew-app` due to previous error
Mar 20 11:01:51.559 ERROR ❌ error
error from HTML pipeline

Caused by:
    0: error from asset pipeline
    1: error during cargo build execution
    2: cargo call returned a bad status

Steps To Reproduce
Follow the tutorial on https://yew.rs/docs/tutorial precisely.
Fixing the version to "0.19" fixes this.

yew::start_app has been replaced by yew::Renderer in the master version.
In general, it’s recommended to use a released version (v0.19.3) and follow the docs of 0.19.

Right. Just to be clear the reason I am making the issue is that the docs of 0.19 and on master say not to do that but rather do a github dependency.
https://github.com/yewstack/yew/blob/abeb8bc3f1ffabc8a58bd9ba4430cd091a06335a/website/docs/tutorial.md?plain=1#L81

That should specify 0.19 as version. Would you like to PR this fix?


perf: optimizations for composer with Tiptap

Hi Blue Sky team,
I'm one of the maintainers of Tiptap :wave:
I heard that you guys were using Tiptap in your composer, which is fantastic! I love what you are building, so I thought I could add some optimizations of my own.
I recently rewrote our React binding to be much more performant, but due to our large user-base I had to make the perf gains opt-in to not break our thousands of users.
That's what the shouldRerenderOnTransaction: false is, by default in Tiptap version 2 we re-render every time that a transaction happens in the editor, a transaction is fired on:

any text selection update
focus & blur
any changes to content
pretty much any event you can think of happening within the editor

This is an important change to make, because the editor can be very sensitive to re-renders, in the worst case this could cause missed characters if the view can't keep up.
I added a console.count like so:
diff --git a/src/view/com/composer/text-input/TextInput.web.tsx b/src/view/com/composer/text-input/TextInput.web.tsx
index 5f3ff850c..6ffc82f74 100644
--- a/src/view/com/composer/text-input/TextInput.web.tsx
+++ b/src/view/com/composer/text-input/TextInput.web.tsx
@@ -250,6 +250,7 @@ export const TextInput = React.forwardRef(function TextInputImpl(
     },
     [modeClass],
   )
+  console.count('render')

   const onEmojiInserted = React.useCallback(
     (emoji: Emoji) => {

And took a screen recording of before:
https://github.com/user-attachments/assets/48e607df-a794-49b7-859a-84cec00cac54
And, after the change was made:
https://github.com/user-attachments/assets/897df9ab-4e86-4bdf-b7e2-e0a6777f5fe6
You can really see the difference in the number of renders!
In an ideal world, the editor would be isolated to it's own component that would render only once. This is quite achievable even in very large apps.
But, because of how things are currently wired up (using a controlled component pattern), there is only so much perf we can get out of this without a larger refactor.
Given that users are not going to be editing very large documents, I'd say that it is not so important to get this perfect, but for future reference,
a more performant pattern would be to read the editor's current state when you need it. Either through the useEditorState hook, or by reading from the editor instance
only when you need the value like on submission.
I've also went ahead and updated the tiptap packages to more recent versions, we strictly follow semver and have thousands of people running these packages every day.
If you've made it this far, I very much appreciate your time and wish you a bright blue sky of a day!

Thank you so much! Looks like the recordings didn't go through. Regardless, will have a look at this soon.

Re: layout effect, I think there was a reason for it but can't remember.. Maybe it's applying it to a different node?

Appreciate it @gaearon, I use the GH CLI to make recordings so I have to upload them after


[Bug]: Object reference not set to Instance of an object

What happened?
I am getting the following error when running data-api-builder via the SWA dev server:
[dataApi] fail: Azure.DataApiBuilder.Service.Startup[0]
[dataApi]       Unable to complete runtime initialization. Refer to exception for error details.
[dataApi]       System.NullReferenceException: Object reference not set to an instance of an object.
[dataApi]          at Azure.DataApiBuilder.Core.Configurations.RuntimeConfigValidator.ValidateGlobalEndpointRouteConfig(RuntimeConfig runtimeConfig) in /_/src/Core/Configurations/RuntimeConfigValidator.cs:line 336
[dataApi]          at Azure.DataApiBuilder.Core.Configurations.RuntimeConfigValidator.ValidateConfig() in /_/src/Core/Configurations/RuntimeConfigValidator.cs:line 75
[dataApi]          at Azure.DataApiBuilder.Service.Startup.PerformOnConfigChangeAsync(IApplicationBuilder app) in /_/src/Service/Startup.cs:line 565
[dataApi] fail: Azure.DataApiBuilder.Service.Startup[0]
[dataApi]       Exiting the runtime engine...
[dataApi] crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
[dataApi]       Application startup exception
[dataApi]       System.ApplicationException: Could not initialize the engine with the runtime config file: staticwebapp.database.config.json
[dataApi]          at Azure.DataApiBuilder.Service.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, RuntimeConfigProvider runtimeConfigProvider) in /_/src/Service/Startup.cs:line 306
[dataApi]          at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
[dataApi]          at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[dataApi]          at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
[dataApi]          at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
[dataApi]          at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
[dataApi]          at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
[dataApi]          at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app)
[dataApi]          at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
[dataApi] Unable to launch the runtime due to: System.ApplicationException: Could not initialize the engine with the runtime config file: staticwebapp.database.config.json

This just broke this morning. I noticed that SWA was downloading a new version of DAB and I wonder if that was what caused the issue?
My config file hasn't changed recently, here it is:
{
  "$schema": "https://github.com/Azure/data-api-builder/releases/download/v0.7.6/dab.draft.schema.json",
  "data-source": {
    "database-type": "cosmosdb_nosql",
    "options": {
      "database": "teaching-study",
      "schema": "staticwebapp.database.schema.gql"
    },
    "connection-string": "@env('DATABASE_CONNECTION_STRING')"
  },
  "runtime": {
    "graphql": {
      "allow-introspection": true,
      "enabled": true,
      "path": "/graphql"
    },
    "host": {
      "mode": "production",
      "cors": {
        "origins": [],
        "allow-credentials": false
      },
      "authentication": {
        "provider": "StaticWebApps"
      }
    }
  },
  "entities": {
    "Person": {
      "source": "participant-container",
      "permissions": [
        {
          "actions": ["create", "update", "read"],
          "role": "anonymous"
        }
      ]
    },
    "Submission": {
      "source": "submission-container",
      "permissions": [
        {
          "actions": ["create"],
          "role": "anonymous"
        }
      ]
    },
    "Questionnaire": {
      "source": "questionnaire-container",
      "permissions": [
        {
          "actions": ["create"],
          "role": "anonymous"
        }
      ]
    }
  }
}

Version
0.8.49
What database are you using?
CosmosDB NoSQL
What hosting model are you using?
Static Web Apps (SWA)
Which API approach are you accessing DAB through?
GraphQL
Relevant log output
No response
Code of Conduct

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

It appears the solution is adding this to the config file:
    "rest": {
      "enabled": false,
      "path": "/api"
    },

If this requirement is intentional, then I think this change should be documented and the tutorials updated.

Thank you for reporting this @atyshka!! We will fix it asap.

This has been fixed in 0.8.50. Closing this issue. Please reopen if you find any more concerns.


Layers to be finetuned

I notice that in your released subject omini loras, only attn.to_k, attn.to_q are used. Why not include attn.to_v?
I train my own omini subject lora with all to_k, to_q, to_v on my own dataset and find that in the early stage, the generated images  are significantly downgraded, and after thousands of steps, the model generate identical images with input condition images. What's the reason? Is it because to_v is included in lora training?
Thanks again for your work. Wish you best luck!

Which pipeline did you use to train your own model? Could you share the training code？

@OranHe I modify the diffusers example lora training code(https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/train_dreambooth_lora_flux.py), and use transformer_forward function in this repo to obtain model_pred. Some forward functions need small fixes to support gradient checkpointing.  Also, there are some conflicts with latest diffusers. I'm not sure if my implementation aligns with the author.

Hi @FlyHighest ! Thanks for your interest, and Merry Christmas! 🎄
The experiments in our paper used the models in the experimental folder with full parameter fine-tuning. However, for the models in the omini folder, we've switched to a more efficient approach using partial parameter tuning through LoRA.
Regarding your training issue, I can't speak definitively about the specific training issue you encountered, but we'll be releasing our training code soon which may help clarify these questions. 🙌
@OranHe


Background Scanning

Hi @alann-maulana,
is there any plan for integrating background monitoring ?
Thanks Alex

Hi @alann-maulana is monitoring also working on iOs, when app is running in background (but not terminated)?

is monitoring on iOS in background possible? I couldn't do that.


Fixes #2176: Target Directory Options for Bulk CLI commands

 npx medplum bulk export -e Group/all  --base-url https://sandbox.bcda.cms.gov --fhir-url-path api/v2/ --token-url https://sandbox.bcda.cms.gov/auth/token --client-id {{clientId}} --client-secret{{clientSecret}} --target-directory test2
/Users/tonylee/medplum/medplum/test/test2/Patient_data_56391_1fee18b3_ff23_44d3_8668_f9bfd7c04b1b_ndjson.ndjson is created
/Users/tonylee/medplum/medplum/test/test2/Coverage_data_56391_6407f086_aa34_4d40_94fe_0fe31f6a2cff_ndjson.ndjson is created
/Users/tonylee/medplum/medplum/test/test2/ExplanationOfBenefit_data_56391_91221ddc_c7e8_455e_88d8_ab02be32da1a_ndjson.ndjson is created

tonylee@tony-mbp test % npx medplum bulk import --client-id {{clientId}} --client-secret {{clientSecret}} --base-url http://localhost:8103  --add-extensions-for-missing-values --target-directory test2 ExplanationOfBenefit_data_56387_db436439_9577_4aea_b816_76ad70d306f9_ndjson.ndjson
{
  "outcome": {
    "resourceType": "OperationOutcome",
    "id": "created",
    "issue": [
      {
        "severity": "information",
        "code": "informational",
        "details": {
          "text": "Created"
        }
      }
    ]
  },
  "status": "201",
  "location": "ExplanationOfBenefit/bde8196a-10fd-45b4-a18e-adcfc304e751"
}
{
  "outcome": {
    "resourceType": "OperationOutcome",
    "id": "created",
    "issue": [
      {
        "severity": "information",
        "code": "informational",
        "details": {
          "text": "Created"
        }
      }
    ]
  },
  "status": "201",
  "location": "ExplanationOfBenefit/7ea08dd9-a227-496d-aa58-dc3de6986272"
}

🤖 Generated by Copilot at 9f15653
Summary
🧪📁🐛

This pull request enhances the bulk export and import commands of the cli package by adding a --target-directory option. This option lets the user choose a different directory for the files generated or consumed by the commands. The pull request also updates and fixes some tests for these commands in bulk.test.ts.

Oh we are the CLI crew and we have a job to do
We bulk export and import with a --target-directory too
Heave away, haul away, on the count of three we say
We fix the typos and the tests, we make the code shipshape today

Walkthrough

Add new options for bulk export and import commands to specify target directory (-d or --target-directory) (link, link)
Use target directory option to resolve file paths for writing and reading files in bulk.ts (link, link)
Update console.log output to include file paths in bulk.ts (link)
Add test cases for bulk export and import commands with target directory option in bulk.test.ts (link, link)
Fix typo in test description for bulk import command with --num-resources-per-request option in bulk.test.ts (link)

coverage: 94.195% (+0.001%) from 94.194% when pulling 8e8fc31b447f11cc77259f0f3027a8f8d1f314b5 on tony-cli-bulk-target-directory into fca13f9b2edc495b8285ad98137ef8c5530f2676 on main.


pghoard.upload_size metric type

I wonder why pghoard.upload_size is defined as counter?
IMHO it should be defined as gauge as it tracks a value at particular points in time.

I'm closing this issue. Turned out that I can use pghoard.upload_size value also as counter.


Error importing if Microsoft.Extensions.Logging.Abstractions.dll already exists in project

PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Microsoft.Extensions.Logging.Abstractions.dll included on the current platform. Only one assembly with the same name is allowed per platform.
Moving package to root Packages folder and removing Microsoft.Extensions.Logging.Abstractions.dll from the package allows compile.

Thank you for reporting.
I've added BAKINGSHEET_EXTERNAL_LOGGING_DLL define constraint you can add in Project Settings. Defining it will disable BakingSheet's embedded Microsoft.Extensions.Logging.Abstractions.dll.


fixed dependences conflict

set:
MarkupSafe >= 2.1.1
Description
Related Issue
TODO
Check List

[ ] merge the latest version source branch/repo, and resolve all the conflicts
[ ] pass style check
[ ] pass all the tests

why add this modification, it would lead to many unitests failed.


Column limits don't seem to apply to comments

Description
I want column limits respected even in comments, and I want them to be automatically line-wrapped, preserving markdown semantics within doc comments.
Steps to Reproduce
Run swift-format lint on:
//<PHONE_NUMBER>0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789

It should complain, but does not.

Did you mean to file this over at apple/swift-format?

Uh, yeah. Can it be moved? Should I refile?

I've transferred it over.

WAI

?

Working as intended (under the constraints today, which is that I don't want us to implement our own line-breaking logic for prose, and using swift-markdown would fix that).

Tracked in Apple’s issue tracker as rdar://126948257

That looks like it would be a bug in swift-markdown, because an inline node shouldn't cause a paragraph break like that. If you can repro it standalone, can you file an issue over there and see what they say?

Issue created: https://github.com/swiftlang/swift-markdown/issues/197


0.11 -> 0.12 change to @params breaks our code/tests

We have a bunch of 0.11 Padrino controllers that look like this:
controller :asset do
  get :read, map: '/catalogs/:catalog_id/assets/:asset_id' do
    validate_param_ids(:catalog_id, :asset_id) # Make sure they're UUIDs
    find_params = params.slice(:catalog_id, :asset_id)
    @asset = Asset.find(find_params)
    raise ResourceNotFoundError, {asset: "does not exist"} if @asset.nil?
    render ...
  end
end

And our RSpec tests look like this:
it "returns 404 when asset not found in DB" do
  @catalog_id, @asset_id = Uuid.create, Uuid.create
  Asset.should_receive(:find).with({
    catalog_id: @catalog_id,
    asset_id: @asset_id,
  }).and_return(nil)
  get "/catalogs/#@catalog_id/assets/#@asset_id"
  last_response.status.should == 404
end

I'm attempting to upgrade to Padrino 0.12, and can't figure out any way to make this combination of test and code, which I think looks pretty straightforward, continue to work unchanged.
Issue #1696 was my first stab at explaining it, but I went off on a tangent there with HashWithIndifferentAccess that doesn't actually help in my case, so I'm creating this issue fresh with all the info.
What 0.12 did was change the routing params to have string keys (instead of symbols), which breaks both the code and the tests.  Here's what I've tried:

Make params actually be a HashWithIndifferentAccess: this fails because our tests expect symbol keys to be passed, and HWIA has string keys under the covers.
Call symbolize_keys! on params before entering the controller (in a before block), but that makes url() break with "route mapping for url(:asset_read) could not be found!"

Is there a simple way to make my hundreds of controllers and probably thousands of tests keep working when upgrading from 0.11 to 0.12?  The pattern I'm using seems pretty simple and straightforward: there are symbols in the controller url map, so I use symbol keys to access them from the params hash, and pass those same symbol keys into the model layer.  Was there a valid reason for breaking backward compatibility in this way?

As of Padrino 0.13.0 params behavior is:
request.params is simple Rack String-keyed params Hash, separates Strings from Symbols and has no knowledge of route params, has only query params (GET + POST)
GET '/catalogs/1/assets/2?sid=3'
request.params #=> { "sid" => "3" }

params is Sinatra-flavored String-keyed params Hash, can find values by Symbol with #[] and #values_at, has route params and query params
GET '/catalogs/1/assets/2?sid=3'
params #=> { "catalog_id" => "1", "asset_id" => "2", "sid" => "3" }

request.route_obj.significant_variable_names is an Array of Symbols, consists of route params names
There is no longer env['router.params'] value of http_router.
I assume the proposed fix for the issue would be making the params hash Symbol-keyed to be consistent with key naming in route declaration:
get '/catalogs/:catalog_id/assets/:asset_id' do; end
GET '/catalogs/1/assets/2?sid=3'
params #=> { :catalog_id => "1", :asset_id => "2", "sid" => "3" }

What do we do with query params in this case?

Closing as lacking feedback.


GET requests added to fhir_operation

Summary
According to HL7 r5 specification:
Operations may be invoked using a GET, with parameters as HTTP URL parameters, if:

there are only simple input parameters - i.e. no complex datatypes like 'Identifier' or 'Reference'
the operation does not affect the state of the server

Accordingly, fhir_operation now has an optional affectsState argument that indicates whether GET or POST should be used.  As such, it is currently up to the caller to know about the Operation's affectsState value.
If affectsState indicates a GET request should be used, but a non-primitive parameter is in the body, it raises an ArgumentError that is uncaught elsewhere.  This is found at fhir_client.rb:90
Tests added

GET request is made when there are no parameters and GET is specified
GET request is made when there are only primitive parameters and GET is specified
GET request prevented when non-primitive parameters are in the body

MISC
Left some comments about the general logic for reviewing purposes but they can be removed.

Currently have two blocks of let statements that are identical in the tests for body_to_path and fhir_operation.  Let me know if I should move them to the top where let(:group) is since they are used by multiple test groups.
Also, let me know if body_to_path should just return the converted body, and not receive the path as an argument and append the converted body.

This branch isn't doing anything javascript-related, so package-lock.json should not be changing.

I believe Alisa ran into similar issues upon setup, and found a temporary fix in deleting package-lock.json.  I bet I did the same to avoid some of the npm install issues -- I'll revert the change and see if the tests still run fine, then make another push.

Changes:

Changed safe_for_get? to do much less.  Now just strips the name and checks the value for being primitive

It still uses FHIR.primitive? for validation.  I know we talked about not using .valid? -- is this a similar case?
Has had its name changed to primitive_parameter? to better reflect what it is doing.
We discussed the behavior for this when it is given a non-primitive -- I think it makes sense for this to just be a boolean-providing function and have any error handling in other methods that use it, but let me know if this should be a "provides true or errors" method.

rspec tests reorganized to be mostly under fhir_operation

Handling of repeated parameters tested only at body_to_path level, and handling at the request level deferred to ticket FI-2223

I'm running into an issue running bundle install locally, and looking into it it looks like this has been an issue on windows in the past -- can a Mac user pull and try to run?  Here is the error I'm getting:
NoMethodError: undefined method `full_name' for nil:NilClass

  warning << "* #{unmet_spec_dependency}, depended upon #{spec.full_name}, unsatisfied by<EMAIL_ADDRESS>{|s| s.name == unmet_spec_dependency.name && !unmet_spec_dependency.matches_spec?(s.spec) }.full_name}


Test workflow

The above commit with message check => If all the bodies of if/else statement contain a single line, omit braces should have failed. But unfortunately, no such option exists for clang to support this.

IndentCaseLabels should be true according to example given in documention. But it is false.

/sync

/sync


use loader mechanism to detect presence of loader

@koshic please review.
I appreciate your help and it would be really awesome if your name appeared in the contributors list at the main github page. If you wanted to copy these changes or use another approach in a different PR you make, I would merge your PR instead.
Whatever you want to do, either way thank you

I appreciate your help and it would be really awesome if your name appeared in the contributors list at the main github page. If you wanted to copy these changes or use another approach in a different PR you make, I would merge your PR instead.

Thank you! But this is unnecessary. Open source for me is about collaboration, not badges / achievements / co-authoring in titles )

I'm interested to make other changes needed to remove dependencies for yarn PnP but will be busy until tomorrow maybe. Thanks for the valuable input and discussion.

Ok, and I can check new version of esmock in my setup if you publish it.

closes https://github.com/iambumblehead/esmock/issues/178


Remove RemoveConvert (To avoid float conversion to integer)

I ran into an issue with query generation in Entity Framework Core 2.1.
I have a query
var q = KostenSchweissen.Where(k => k.Grenze >= ewd)
  .OrderBy(k => k.Grenze)
  .FirstOrDefault();

with KostenSchweissen.Grenze being an integer, but ewd being a float.
So this looks for the first line with a "Grenze" greater or equal the value that is passed down.
This ran fine previously (EF Core 1.x, not sure about 2.0), but now it's generating the query (from SQL Server Profiler):
exec sp_executesql N'SELECT TOP(1) [k].[ID], [k].[Grenze], [k].[PreisEdelstahl], [k].[PreisNormalstahl]
FROM [KostenSchweissen] AS [k]
WHERE [k].[Grenze] >= @__ewd_0
ORDER BY [k].[Grenze]',N'@__ewd_0 smallint',@__ewd_0=17

where ewd was 17.1. So this completely ignores that ewd is a float, obviously returning wrong costs. Casting to a double or float in the query doesn't work, the only workaround that I could come up with is
    var q = KostenSchweissen.Where(k => k.Grenze * 1.0 >= ewd)
      .OrderBy(k => k.Grenze)
      .FirstOrDefault();

which is obviously not nice since it involves DB-side calculation. The query is not performance critical in my case, but I'm still wondering: Is this a bug, or considered a feature? If so, why? Isn't this at least a breaking change that should have been announced somewhere? Or am I just to blind to find it?
I have tried to find any hint in the EF documentation - release notes, breaking changes, forums, Stackoverflow... but couldn't find anything.
I would be thankful for any hint as to relevant documentation, best practices or whatever else could be helpful for this problem. And if this is the wrong format for asking a question like this, please forgive me.
Further technical details
EF Core version: 2.1.2
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 Pro, 1803
IDE: Visual Studio 2017 15.8.9

Thanks for accepting this as a bug. However, 3.0.0 sounds like a long time away. Any suggestions what I can do in the meantime? Do I manually have to look for all queries where this might happen? And am I the only one who compares floats to ints?

Hi @MaSchueler,
I have a problem in the same area that you have (see #14604). Seems like the team isn't going to fix this before version 3 and I wanted to suggest a workaround that I am going to use, i.e. DbFunctions.
I have used DbFunctions before and its a great way to replace part of a query with your own SQL - see this section of one of my articles where I use a DbFunction.
I hope that helps.

This has been fixed.


Can't clear agents

Empire Version
[Version] 2.0 |
OS Information (Linux flavor, Python version)
Debian & Pyathon 2.7.13
###################################
I found when i wanted to kill agents and clear them with command kill and clear, it couldn't work. the agents still there. What's going on here? The only way is run ./reset.sh? Thanks.

navigate to the agents section. if you want to kill all your agents type "kill all". then you can remove them all from the database by "remove all"


sagittarius-scheme: init at 0.9.6

Motivation for this change
Add package for Sagittarius Scheme
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Thanks for your advice. I have implemented them except for fetchBitBucket  change as mentioned above. While trying to avoid forced commits, I ended up deleting the branch, and re-pushing new commits to a branch with same name, and to my surprise it turns out that resulted in closing this pull request.
Following are the new commits created by me on the branch:
e55179557abf51754f78f91fbaf7cc12099807b7
ec3e2a94038e21f11672d8f2bd7bd8c8217491d8
I wonder if it's possible for you to re-open this pull-request, or you like me to submit a new PR referencing this one.
Sorry for generating more work for you.

Thanks for your work on this. I also seem to be unable to reopen the PR. I wonder if this is the resolution: https://gist.github.com/robertpainsi/2c42c15f1ce6dab03a0675348edd4e2c?

Re-opening it :)

@GrahamcOfBorg build sagittarius-scheme

@wahjava If you're able to fix the darwin build issue that is great, but if not please update platforms accordingly.

@wahjava If you're able to fix the darwin build issue that is great, but if not please update platforms accordingly.

I can try. I think I know what needs to be fixed, need LD_LIBRARY_PATH equivalent for for Darwin platform. I will ask in channel, if someone can try it on their Darwin builders.

@aanderse pushed new changes, in 707c5a4, which I believe should fix the build for darwin platform.

@aanderse pushed new changes in 707c5a4, which I believe should fix the build for darwin platform.

sorry seems like like a wrong commit on my end 8c32ecd should really fix.

Oh no! The preBuild indentation came back!

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/40

@aanderse I have built enough Scheme implementations to judge that domain knowledge is not actually needed for evaluating this expression!


Detected entities are orphaned

After fresh install everything installed correctly, as best I can tell, and everything (except the smart lock) was detected. Unfortunately, many things are coming up unavailable.
Devices list:
T8210 - Doorbell - all detected entities available (battery, motion, wifi), but no camera feed
T8510 - Smart lock - Wifi signal avail, battery not avail, motion and person detection obviously not avail
T8910 - Motion sensor - none of the entities are available (motion, battery, wifi)
T8410 - Indoor camera (x2) - motion available, wifi entity unavailable, no camera feed
T8114 - Outdoor camera (x2) - all detected entities available (battery, motion, wifi), but no camera feed
Log error entries after reboot:
`Logger: homeassistant.components.camera
Source: custom_components/eufy_security/camera.py:124
Integration: Camera (documentation, issues)
First occurred: 1:15:02 AM (2 occurrences)
Last logged: 1:27:22 AM
Error while setting up eufy_security platform for camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/eufy_security/camera.py", line 76, in async_setup_entry
_LOGGER.debug(f"{DOMAIN} - camera setup entries - {entities}")
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 803, in repr
return f"<Entity {self.name}: {self.state}>"
File "/config/custom_components/eufy_security/camera.py", line 124, in state
self.entity["rtspStream"] == True
KeyError: 'rtspStream'`
`Logger: homeassistant.components.sensor
Source: custom_components/eufy_security/sensor.py:86
Integration: Sensor (documentation, issues)
First occurred: 1:15:02 AM (4 occurrences)
Last logged: 1:27:22 AM
Error adding entities for domain sensor with platform eufy_security
Error while setting up eufy_security platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 383, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 588, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 666, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 419, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 453, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 425, in _stringify_state
state = self.state
File "/config/custom_components/eufy_security/sensor.py", line 86, in state
return self.entity[self.key]
KeyError: 'battery'`
`Logger: homeassistant.components.binary_sensor
Source: custom_components/eufy_security/binary_sensor.py:77
Integration: Binary sensor (documentation, issues)
First occurred: 1:15:02 AM (6 occurrences)
Last logged: 1:27:23 AM
Error adding entities for domain binary_sensor with platform eufy_security
Error while setting up eufy_security platform for binary_sensor
eufy_security: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 383, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 588, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 666, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 419, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 453, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 425, in _stringify_state
state = self.state
File "/config/custom_components/eufy_security/binary_sensor.py", line 77, in state
return self.entity[self.key]
KeyError: 'personDetected'`
`This error originated from a custom integration.
Logger: custom_components.eufy_security
Source: custom_components/eufy_security/websocket.py:67
Integration: Eufy Security (documentation, issues)
First occurred: 1:15:01 AM (130 occurrences)
Last logged: 1:51:10 AM
eufy_security - Exception - process_messages : 'serialNumber' - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 65, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 81, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 143, in on_message serial_number = message["serialNumber"] KeyError: 'serialNumber'
eufy_security - Exception - process_messages : 'personDetected' - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 65, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 81, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 170, in on_message self.async_set_updated_data(self.data) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 287, in async_set_updated_data update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 325, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 419, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 453, in _async_write_ha_state state = self._stringify_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 425, in _stringify_state state = self.state File "/config/custom_components/eufy_security/binary_sensor.py", line 77, in state return self.entity[self.key] KeyError: 'personDetected'
eufy_security - Exception - process_messages : 'motionDetected' - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 65, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 81, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 170, in on_message self.async_set_updated_data(self.data) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 287, in async_set_updated_data update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 325, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 419, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 453, in _async_write_ha_state state = self._stringify_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 425, in _stringify_state state = self.state File "/config/custom_components/eufy_security/binary_sensor.py", line 77, in state return self.entity[self.key] KeyError: 'motionDetected'`

i have updated codebase so that cameras should work. I will continue working on adding more support to other devices

orphaned entities should be resolved


DOC: Add original reference for Yao-Liu objective functions

What does this implement/fix?
This commit indicates the correct initial reference given in the docstring.
Previous references are changed as second references.

Are all lines less than 80 chars?

I forgot to check that, thanks!


Add a LICENSE file

To allow the users to correctly include SWFObject according to the MIT license, you should include a LICENSE file containing the license text and especially fill in the <year> and <copyright holders> placeholders! Else it is not possible to fulfill the "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software." part of the license.
I already looked up the <year>, but I can't fill out the <copright holders>:
The MIT License (MIT)

Copyright (c) 2007-2015 <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

We currently just link to the publicly posted license in the js source code (and in the distributed version).
https://github.com/swfobject/swfobject/blob/master/swfobject/src/swfobject.js
I'm happy to add the LICENSE file as well if it's useful.

+1 this has been problematic for those of us that must list attributions and declare third-party licenses for regulatory purposes.

I see. Please submit a pull request. You can set the copyright owners as "The SWFObject team"


3Sum

Description
Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.
Notice that the solution set must not contain duplicate triplets.
Example 1:
Input: nums = [-1,0,1,2,-1,-4]
Output: [[-1,-1,2],[-1,0,1]]
Explanation:
nums[0] + nums[1] + nums[2] = (-1) + 0 + 1 = 0.
nums[1] + nums[2] + nums[4] = 0 + 1 + (-1) = 0.
nums[0] + nums[3] + nums[4] = (-1) + 2 + (-1) = 0.
The distinct triplets are [-1,0,1] and [-1,-1,2].
Notice that the order of the output and the order of the triplets does not matter.
DSA Problem
Link: 3Sum

can I take this problem up for contributing under hacktoberfest 2023

Hi @iamdestinychild, Can you please assign this to me. I would like to contribute under Hacktoberfest.

hey @iamdestinychild can you assign this to me under hacktober fest

Sir @iamdestinychild  I have solved this issue kindly assign me this isue


Modernize packaging a bit & bump version to 1.3.1

See PR #39 for a CI run.
This won't go to PyPI, so I'm comfortable merging.

See PR #39 for a CI run.
This won't go to PyPI, so I'm comfortable merging.


Feat: Add date picker to download transaction history.

Description of change

Added date picker to select period to download transaction history.
Added an info message for date picker.

Resolves https://github.com/iotaledger/explorer/issues/579
Type of change

Enhancement (a non-breaking change which adds functionality)

Change checklist

[x] My code follows the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[] I have made corresponding changes to the documentation
[] I have added tests that prove my fix is effective or that my feature works
[] New and existing unit tests pass locally with my changes

Default state looks a bit weird.


[YUNIKORN-2522] Move e2e test doc from k8shim to website

What is this PR for?
This PR delete the doc for e2e tests. It will be moved to YuniKorn website for easier access.
What type of PR is it?

[ ] - Bug Fix
[ ] - Improvement
[ ] - Feature
[x] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos
N/A
What is the Jira issue?
YUNIKORN-2522
How should this be tested?
N/A
Screenshots (if appropriate)
N/A
Questions:
N/A

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.15%. Comparing base (64b204a) to head (fb0ed6d).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #815      +/-   ##
==========================================
- Coverage   72.89%   66.15%   -6.75%
==========================================
  Files          44       69      +25
  Lines        6343     7517    +1174
==========================================
+ Hits         4624     4973     +349
- Misses       1515     2333     +818
- Partials      204      211       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add scalability tests

This is critical to better understand kueue's limits and where its bottlenecks. We should check if there is a way to use clusterloader for this

/help

I think the first we can do for this issue is to lay down what we want to test/bench for Kueue.
I think I good first approach is to get a baseline of resource utilization vs scale.

[ ] How many sample queues can kueue hold when running on 1 cpu and 200MB mem.
[ ] On an empty cluster with "infinite" resources, how long does it take to Kueue to fully admit all the jobs into a ClusterQueue

those are init test ideas

I think we should test "infinite" resources but also "limited" (say, the ClusterQueues have 20% of the total required requests for all jobs)

Can't get more on Minikube :( , will have to move to something else. will report more later

empty queues, staging Kueue, after 15 mins of inactivity  (bootstrap stabilization)

Base line

We need to create a list of target features to stress test to move forward with this issue

Do we want to do resource utilization testing?
e.g :

How many CPU and MEM is used by Kueue while processing X number of Workloads
CPU and MEM on a system with "infinite" resources vs a system with no resources, to see how a high traffic moment can affect resource consumption by Kueue.

In a system with "infinite" resources, how long does it take to Queue to admit X number of workloads

We need to run tests that measure:

Workload admission latency
Workload admission throughput
cpu/memory (we don't set the limits, so it can compete with whatever available resources on the master)

The scale test should measure that while varying

The number of Namespaces/Queues; tens to hundreds.
The number of ClusterQueues; few to as many as Namespaces
The number workloads; hundreds, thousands, to few tens of thousands

As for CPU and memory, we can use settings similar to kube-scheduler;

/lifecycle frozen

A first load test was added in #462.
We can create separate issues for follow ups and to improve performance.
/close


2px resizing error in Firefox

Sometimes after resizing maximized Firefox window, the resulting client size area is 2px bigger than requested. Reproduced on my machine (just one time), @inikulin's, @kirovboris'es.

There is actually 2 issues:

Performing window operations while window is in transition state from a previous window operation (window open, resize, maximize). It is the reason why local resize test fails sometimes.

When performing calculation of resize corrections, a maximized window is resized to same client area, that in maximized state. But because the normalized window has borders(unlike maximized), the resulting window area is bigger than desktop working area. After the window goes  back to maximized state, something is wrong, and window is a bit bigger that it was before resize. This causes the bug when lower part of status bar is not visible, because it goes out of desktop working area.

Working on it.


Fix determination of db opened

Hi there! I fixed a bug what remains new transaction is waiting for open operation after a message which OPEN database: test.db is shown at the console.
Perhaps this issue is related with https://github.com/andpor/react-native-sqlite-storage/issues/82.
environments
On Android device which is v5.0.2.
"dependencies": {
  "react": "15.4.2",
  "react-native": "0.42.0",
  "react-native-sqlite-storage": "^3.2.2"
}

Cool! Thank you.

I am still getting this new transaction is waiting for open operation message while trying to open a pre populated database. Any suggestions?


Can you support: parses online proto files at runtime?

Please provide a detailed description of the requirements. Does the online refer to the remote proto file?
Proto Root Directory will soon support ${} resolution, see pr#85

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.


Add page.on('domcontentloaded', callback)

The page object has the ability to .wait() for the DOMContentLoaded event. It also emits the 'load' event.
It'd be nice to have a way to listen for the DOMContentLoaded event on the main frame, whether through page.on('domcontentloaded', ...) or through page.mainFrame().on('domcontentloaded', ...).
There are cases where I want to evaluate the DOM as soon as it's ready on every navigation, and injecting JavaScript to handle it or having to call certain methods after every goto(url, {waitUntil: 'domcontentloaded'}) is cumbersome. Emitting the DOMContentLoaded would keep things consistent between the goto() wait options and what is currently offered by the page's event emitter.

+1


modifier 'NOT' is not supported for search parameter 'code' of type TOKEN

Describe the bug
According to Fhir Restful API specification of search function on type "token" (https://www.hl7.org/fhir/search.html#token), Modifier ":not" can be used to do a reverse matching of a code.
However, ibm fhir server doesn't seem to have this implemented. It returned "Found unsupported modifier 'NOT' for search parameter 'code' of type TOKEN" if a query such as: "GET [base]/Patient?gender:not=male" was given.
To Reproduce
Steps to reproduce the behavior:

Assume the fhirserver can be accessed through: https://localhost:9443/fhir-server/api/v4

Use curl to query the Patients who are not male, i.e.:

curl -k -u fhiruser:change-password 'https://localhost:9443/fhir-server/api/v4/Patient?gender:not=male'

It returned:
{
"resourceType": "OperationOutcome",
"id": "7f-0-1-1-9a6ba086-44a8-4dd5-a7a8-0020d0ccb03c",
"issue": [
{
"severity": "fatal",
"code": "processing",
"details": {
"text": "FHIRPersistenceException: Found unsupported modifier 'NOT' for search parameter 'gender' of type TOKEN"
}
}
]
}

Expected behavior
Modifier ":not" is expected to be used for reverse matching for type "token". A query such as "GET [base]/Patient?gender:not=male" is expected to return all the Patients who are not male.

https://ibm.github.io/FHIR/Conformance#search-modifiers covers which search modifiers are currently supported, but I do agree this would be a good one to support.  Thanks for the write-up.

Thanks a lot for the quick reply! I have just opened a feature request issue: https://github.com/IBM/FHIR/issues/1522

Thanks @gk-zhang.  I think we could have just treated this issue as the enhancement request, but the new one looks good too.  Lets close this one in favor of #1522.


Documentation cleanup 2 + small consumer's requests

Move/restructure contributors documentation
Documentation rework actualization for toggleable, fix togglable variant
Documentation for triggers
Base trigger moved to trigger module
Feature: add the ability to control default event preventing for all triggers
Feature: add the ability to choose a target for ESLMedia ready class

:tada: This PR is included in version 2.0.0-beta.29 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-beta.29 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


feat: more versatile class abbrev

Addresses #436. The class abbrev command now supports implicitly bound parameters (predefined or otherwise). It also now supports a proper declId as opposed to a simple ident. It still does not support explicit predefined parameters. I have also added tests for these conditions. I also refactored some of the more useful pieces of the macro's logic into helper functions so that they can be used by end-users (and I can vouch that they would be useful to me at least).

It still does not support explicit predefined parameters.

What is the problem here?

@leodemoura Thanks for all the feedback! I will work on addressing them.
For the case of explicit predefined parameters, I simply do not know how to discover what predefined explicit parameters a definition is using from within a macro. I am not even sure if that can even be done at the macro level. The original class abbrev did not support it and since I lack the current technical expertise to know how to fix it, I just left it unresolved.  That seemed like wisest choice. Does that seem reasonable?
The reason I can get around this for implicit and synthesized predefined parameters is because I can just let those parameters continue to be inferred/synthesize during application. However, for an explicit parameter, this is not an option. I somehow need to get the name of the applied variable (despite it not being present in the class abbrev definition) to use it at the application. This is the part I have no idea how to do.

@tydeu Thanks for explaining the problem.
Yes, we currently cannot access the section variables from MacroM.
So, to fix this limitation, we would have to write an elaboration function using CommantElabM which is inconvenient.
I think this is going to be an issue for other macros too.
@kha I think we should expose the section parameters at MacroM. Do you see other solutions?

I just pushed an commit that addresses the feedback. However, it could still probably use more tests. I also discovered and fixed an issue that resulted in no longer needing the complex paramsToVars helper, but rather just a simpler paramsToArgs helper. However, I am curious which of the following definitions fits better with Lean's code style.
This definition, which is more verbose but provides better error handling:
def paramsToArgs (params : Array Syntax) : MacroM (Array Syntax) := do
  let mut args := #[]
  for param in params do
    match param with
    | `(bracketedBinder| ( $ids:ident* $[: $type:term]? ) ) =>
      args := args ++ ids
    | `(bracketedBinder| [ $[ $id:ident : ]? $type:term ] ) =>
      continue
    | `(bracketedBinder| { $ids:ident* $[: $type ]? } ) =>
      continue
    | _ =>
      Lean.Macro.throwErrorAt param "unknown binder"
  return args

or something like the following, which is simpler but does not check for edge-case errors:
def paramsToArgs (params : Array Syntax) : MacroM (Array Syntax) := do
  let mut args := #[]
  for param in params do
    match param with
    | `(bracketedBinder| ( $ids:ident* $[: $type:term]? ) ) =>
      args := args ++ ids
    | _ =>
      continue
  return args

I went with the first one, but I can definitely see a strong case for simplifying it (especially as the "unknown binder" case should really never occur).

@Kha

We have discussed the section variables issue internally and unfortunately it cannot be solved in a macro: even if we had access to the section variables, we need elaboration to (robustly) detect which section variables are actually used in the declaration. Rewriting the macro as an elaborator would be a big undertaking.

I personally don't think it should be an elaborator. I think having it not work with explicit section variables is a reasonable limitation.

Additionally, there are some concerns about performance with this kind of typeclass instance.

I am curious about what kind of performance issues these kind of typeclasses have, because I am making heavy use of this style of typeclass instance in one of my current projects. I would think it would be rather common pattern to want to abbreviate a  more general type classes with multiple more specific type classes.

So until we find time to redesign and reimplement this feature from the ground up, we would like to freeze the current restricted implementation.

I would argue this change lifts a number of restrictions of the original version with no additional overhead (as far as I can see). In fact, this version seems to be simpler than the existing one, so I cannot see what the harm in it is.
However, I respect the burdens that come changing things and understand the desire to leave it as. Regardless, thank you for taking time to consider this change.

Thanks for your understanding. It is true that you are lifting some restrictions without increasing the amount of code, but if that makes it works with only some section variables, that is not a definite plus. This command is simply so low priority for us compared to all the big open issues that we would like to not think about it at all right now. Similar with the performance issue, we have observed a real overhead in practice, but didn't get to actually investigating it yet. It could be that the overhead is not from the instance itself but that we simply replaced more specific constraints with a broader class abbrev.


the exe compiled from OpenSSL 1.1.0 with Cygwin 64bit can't decrypt chinese string normally

I try to compile OpenSSL 1.1.0g with Cygwin 64bit under Cygwin-x86_64 config mode.
After test, I found that it can't decrypt chinese string normally with aes-256-cbc cipher. For example,
under cygwin64:
$ echo 今天天氣真晴朗，處處梅花香。 | openssl aes-256-cbc -e -a -pass pass:1234
U2FsdGVkX1+Jyyk/vJogKFqjztsqpul8gQ4MJNG1869LT+QkR/3geV4CR59ofu/7
X9Zk/96cAHMnu6+vxctrkQ==
auxo@clinicinfo-7 ~/openssl-1.1.0g
$ echo U2FsdGVkX1+Jyyk/vJogKFqjztsqpul8gQ4MJNG1869LT+QkR/3geV4CR59ofu/7 | openssl aes-256-cbc -d -a -pass pass:1234
bad decrypt
0:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:536:
今天天氣真▒
under win10 CMD:
c:\OpenSSL\gcc-win64a\bin>echo 今天天氣真晴朗，處處梅花香。 | openssl aes-256-cbc -e -a -pass pass:1234
U2FsdGVkX1+OhiEY8cO2wIjyq1oMoLC3QR9XaIJbHYoojEz12XJIeYyk/3uGfgq0
c:\OpenSSL\gcc-win64a\bin>echo U2FsdGVkX1+OhiEY8cO2wIjyq1oMoLC3QR9XaIJbHYoojEz12XJIeYyk/3uGfgq0 | openssl aes-256-cbc -d -a -pass pass:1234
▒▒▒ѤѮ▒▒u▒▒▒ԡA▒B▒B▒▒▒᭻▒C
Any idea will be appreciate.
Best,
auxo

That's because you're only echoing back part of the armored encrypted string.  The full string (2 lines) is this:
U2FsdGVkX1+Jyyk/vJogKFqjztsqpul8gQ4MJNG1869LT+QkR/3geV4CR59ofu/7
X9Zk/96cAHMnu6+vxctrkQ==

If I feed it all back to OpenSSL, here's what I get on Linux:
: ; (echo U2FsdGVkX1+Jyyk/vJogKFqjztsqpul8gQ4MJNG1869LT+QkR/3geV4CR59ofu/7; echo X9Zk/96cAHMnu6+vxctrkQ==) | openssl aes-256-cbc -d -a -pass pass:1234
今天天氣真晴朗，處處梅花香。

It might be safer to save the encryption result on file and feed that to the decryption command...

Sorry for my butter fingers to make the copy/paste error, it’s my fault.
I redo the test again.
Under Cygwin:
$ echo 今天天氣真晴朗，處處梅花香。 | openssl aes-256-cbc -e -a -pass pass:1234
U2FsdGVkX1/r5vIhZG+U3FKcF4kslsRXkl21a6GA6tEsk/3PjvqGqH+g22YuZBcO
uREu72Woc4W7Zg4BMG6gEw==
$ echo U2FsdGVkX1/r5vIhZG+U3FKcF4kslsRXkl21a6GA6tEsk/3PjvqGqH+g22YuZBcOuREu72Woc4W7Zg4BMG6gEw== | openssl aes-256-cbc -d -a -pass pass:1234
今天天氣真晴朗，處處梅花香。
The result is good.
However,  the same exe under windows shell (cmd):
c:\OpenSSL\gcc-win64a\bin>echo 今天天氣真晴朗，處處梅花香。 | openssl aes-256-cbc -e -a -pass pass:1234
U2FsdGVkX1/z/ms01DpXGgd0sCV3zzClOayO1WWq8Q0HOqAPSRdrWERvVuK72dUF
c:\OpenSSL\gcc-win64a\bin>echo U2FsdGVkX1/z/ms01DpXGgd0sCV3zzClOayO1WWq8Q0HOqAPSRdrWERvVuK72dUF | openssl aes-256-cbc -d -a -pass pass:1234
▒▒▒ѤѮ▒▒u▒▒▒ԡA▒B▒B▒▒▒᭻▒C C
Let’s do it again:
c:\OpenSSL\gcc-win64a\bin>echo 今天天氣真晴朗，處處梅花香。 | openssl aes-256-cbc -e -a -pass pass:1234
U2FsdGVkX1/0dnrcxr3I+vsNpygB91VZuul0/UDB0RCKk9f4NnaVlEZ7sDeRMjcG
c:\OpenSSL\gcc-win64a\bin>echo U2FsdGVkX1/0dnrcxr3I+vsNpygB91VZuul0/UDB0RCKk9f4NnaVlEZ7sDeRMjcG | openssl aes-256-cbc -d -a -pass pass:1234
▒▒▒ѤѮ▒▒u▒▒▒ԡA▒B▒B▒▒▒᭻▒C
It’s weird, isn’t it?
Best,
Axuo

(so I'm reopening this)

First question is what goes through that pipe. What do cygwin echo and Windows echo emit? Cygwin ought to emit UTF-8, and Windows - UTF-16. That explains why ciphertexts are different. Indeed, you're encrypting different inputs, and UTF-8 representation would be longer for Chinese. Secondly, as for decrypted output appearing garbled in second case. Well, question is what does cygwin run-time does when application code attempts to emit binary stream on standard output. Does it pay attention to code page/system locale? Assumes UTF-8? Performs any conversions? And how is output rendered? I mean if you consider cygwin example, it was surely executed in "cygwin terminal". Note that when openssl -d issued UTF-8 it was rendered readable. Would it be [as] readable if an application generated UTF-8 output in Windows console? Bottom line is that it's not more weird than mismatching expectations. But either way, it's not openssl problem, it's all about what it gets on input and how output is rendered. Original suggestion to stick with files is the one that eliminates ambiguity, and is the only one sensible...

Would it be [as] readable if an application generated UTF-8 output in Windows console?

Reversed can be asked too. I.e. how would output look like if an application issued UTF-16 in "cygwin terminal". As simplest example create file with notepad with text in question, save it as Unicode (which Microsoftish for UTF-16), and try to cat it in UTF-8-oriented "cygwin terminal"...

After doing some research on MSDN, the default windows shell code page under Chinese windows is 950.
Fortunately, we can change the code page to utf8 using command chcp, like this:
chcp 65001
Then we can use openssl compiled by Cygwin:
c:\OpenSSL\gcc-win64a\bin>echo 今天天氣真晴朗，處處梅花香 | openssl aes-256-cbc -e -a -pass pass:1234
U2FsdGVkX1+M+TF1+jxbC835kEUJ+7/G0xUQEOrlBarxJ7on6zWnxoT4cBeuLDfd
tmXS6fj3tOnKTG3nagNilg==
c:\OpenSSL\gcc-win64a\bin>echo U2FsdGVkX1+M+TF1+jxbC835kEUJ+7/G0xUQEOrlBarxJ7on6zWnxoT4cBeuLDfdtmXS6fj3tOnKTG3nagNilg== | openssl aes-256-cbc -d -a -pass pass:1234
今天天氣真晴朗，處處梅花香
It really works.
However, If you want to write a wrapper for openssl.exe in c# like me, try to compile the openssl source code with vc++. It is ready to use without such problem.

So should this issue be closed, or is there something for openssl to do here?

I reckon it should be closed. As already mentioned it's not openssl problem. Nor should it be problem with VC build.


Fix False positives with custom errors-package and errors.New(fmt.Spr…

This PR fixes issue #350 by checking if the current file imports the "errors" package from the stdlib and not some other custom errors-package.

@googlebot cla?


Grep in stdout/stderr for string, and display "hint" if found

Words like warn, warning, abandoned is good to know about, but not enough to mark the run as failed.

Words like warn, warning, abandoned is good to know about, but not enough to mark the run as failed.

Should this be configurable with a default list of "words of interest"?


Add redirect from '/en' to '/'

Based on this https://github.com/vinissimus/next-translate/issues/147 discussion.
Some prettier style changes are applied on hasky, so kept them.

I'm going to pre-release this in 0.16.0-canary.1 if you want to try it in a real project. This will be released on 0.16.0 (probably today or tomorrow).

Hi, correct me if I wrong, it seems that currently  redirectToDefaultLang only works in "build step" right?

More or less @tronjsdev... redirectToDefaultLang it also works using a custom server.  However if you are following this example:

https://github.com/vinissimus/next-translate/tree/master/examples/with-dynamic-routes

It's not fully supported by next-translate yet. There is an open issue here https://github.com/vinissimus/next-translate/issues/129 to evolve this.

@all-contributors add @Faulik for code


Move some STO parts into new STO file

The restructuring allows to check, whether a "send to owners" transaction is valid, before really executing the transaction.
The new function STO_GetReceivers() might further be used as basis for a BTC based STO, since it's now easy to determine owners/receivers.
Given that "send to owners" is fully covered by tests, the move can be considered as safe.

The restructuring allows to check, whether a "send to owners" transaction is valid, before really executing the transaction.

When you say 'valid' - the new check is essentially whether the sender has enough to cover fees (which is unknown until at least one iteration of the logic) right?
LGTM - Supported :)

Ah, what I meant was basically: now we have all checks out of the actual logic, and could eventually seperate "executing the logic" and those checks at some point, which might be useful for unconfirmed transactions, or to decode and check raw transactions.


[stacked_generator] [forms] Add support for passing custom controller for FormTextField

Sometimes, standard controllers are not enough.
It would be nice if we can specify a custom controller for the fields.
I personally use a custom controller to add mask to the inputted text.(https://pub.dev/packages/extended_masked_text)
But right now I cant use this with the Stacked Form.
I will try to implement this and send a PR.

@RodolfoSilva that is something that I would really like to have. If you find the time please send a PR and I'll review. I'll label is as waiting for PR for now. Will check in again in a few days.


Cant get it working

After running the python script from my linux command line, I receive the error:
File "broadlink_smartir.py", line 21
print(f"{i+1}. " + f'"{modes[i]}"')
^
SyntaxError: invalid syntax
What to do?
Thanks in advance

What version of Python are you using? The script uses f-string syntax which only works with Python 3.6+

Thanks for your response.
I'm using version 3.7.3
Whit which command do I have to run the script?

Sorry forgot about that, you actually need python 3.8+ because I also used the walrus operator. Im assuming you probabby have 2 python versions installed the previous command you used probably was a older version and this one is 3.7. There is no specific command because the same command can be different versions of python depending on what you have installed. You can run this script on any computer on your network, if you have any windows or mac computer I would suggest you used them because it is easy to download the newest python version from pythons website for those operating systems.


Unable to verify items identifier in api calls

Description
When you fetch for items in a api call, it throws an error Please, make sure to provide a valid identifier
I was searching about it, and I noticed it's because when the application loads the items are an empty array, so the library cannot find the id
Great library by the way @LauraBeatris!
How to Reproduce
Access : this sandbox
Package version
1.0.6
Node version
12.18.2
React Version
16.12.0

Thanks for creating this issue! I'll be working to fix it

@jeferson-sb The release 1.0.7 was launched and now the hook has support for items being set asynchronously or initialized as falsy values
Thanks for your contributions!


Hand out tokens commemorating voting

It's nice to know you voted, and to be able to show your friends that you did. To that end, let's mint everyone who votes as a delegator a fungible token denoting that they voted (but not how they voted) on each proposal they vote on. Let's call this family of tokens voted_on_N, where N is the proposal number. This denomination would have the same precision as penumbra, in that the base denom would be uvoted_on_N, with display units also of mvoted_on_N and voted_on_N. For each vote cast, the delegator voting would receive voted_on_N proportionate to the stake weight used in the vote. This can be achieved by having the DelegatorVote action have a value balance of +Svoted_on_N where S is the stake weight of the delegation token being used for the vote. Note that there is no negative component to this value balance, because voting doesn't cost anything (double-votes are prevented by a spend-like mechanism that is not a true spend, as described elsewhere).

Also in #1881; pretty much finished, but won't ship in 44. Moving to 45.


Sharing GPModel Parameters

Hi,
I'm trying to define a compositional model at which the parameters of the kernel function and of the likelihood function are shared, i.e. such as in PoE models.
My current attempt is to use a reimplementation of the GPR model which takes a likelihood as argument in the __init__ function, i.e.
def __init__(self, X, Y, kern, likelihoodfun, mean_function=None, **kwargs):
        X = DataHolder(X)
        Y = DataHolder(Y)
        GPModel.__init__(self, X, Y, kern, likelihoodfun, mean_function, **kwargs)
        self.num_latent = Y.shape[1]

and then use a model which represents the compositional structure, i.e.
class Shared_GPR(Model):
    def __init__(self, X, Y, K, kern, likelihoodfun, mean_function=None, **kwargs):
        Model.__init__(self)
        # ... split X and Y into sub-sets ...
        self.models = ParamList([GPR_L(X[k], Y[k], kern, likelihoodfun) for k in range(K)])

    @params_as_tensors
    def _build_likelihood(self):
        return tf.reduce_sum([m._build_likelihood() for m in self.models])

However, when doing so and calling:
Shared_GPR(X, Y, 2, RBF(1), Gaussian())

I get the following error:
<ipython-input-169-eb5ed2443eb8> in _build_likelihood(self)
     17         Construct a tensorflow function to compute the likelihood.
     18         """
---> 19         K = self.kern.K(self.X) + tf.eye(tf.shape(self.X)[0], dtype=gpflowSettings.float_type) * self.likelihood.variance
     20         L = tf.cholesky(K)
     21         m = self.mean_function(self.X)

...

TypeError: Expected float64, got                                                  class prior transform  \
Shared_GPR/models/item1/likelihood/variance  Parameter  None       +ve

                                             trainable shape  fixed_shape  \
Shared_GPR/models/item1/likelihood/variance       True    ()         True

                                            value
Shared_GPR/models/item1/likelihood/variance   1.0   of type 'Parameter' instead.

As I just started using GPFlow & TF, I'm not sure if I might do something conceptually wrong here. Surprisingly, in the case where only kernels are shared everything works fine.
Thanks,
Martin

@trappmartin I've successfully built compositional models using GPflow very similar to what you seem to want to do. If this is still an issue for you, could you please provide a minimal failing example (e.g. as a github-gist)? Thanks!

That sounds great. I haven't had time to continue working on this particular issue, but it's still unclear to me why this seems problematic.
The minimal failing example is basically what I posted in the first place. I'm sorry I can't offer a gist right now, but I'll see if I manage to find the original code somewhere floating around in my code base.
Thanks!

@trappmartin A minimal example is a self-contained piece of code that can be copy&pasted and run by itself. For more explanation, please see the stackoverflow guidelines on How to create a Minimal, Complete, and Verifiable example.

Haha, that's quite true. In that sense my statement was a bit too bold.


Support UTF-16 little-endian strings in the stringToPDFString helper function (bug 1593902)

The bug report seem to suggest that we don't support UTF-16 strings with a BOM (byte order mark), which we actually do as evident by both the code and a unit-test.
The issue at play here is rather that we previously only supported big-endian UTF-16 BOM, and the Title string in the PDF document is using a little-endian UTF-16 BOM instead.
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1593902

/botio test

Forgot to extend one of the existing unit-tests...
/botio unit-test

/botio-linux preview

Nice find!


Robocopy backup- / restartmodus (/Z) doesn't work

Hello,
I have problems with the restart-modus /resume of Robocopy. I use it with the "/Z" or "/ZB" switches and if my drive gets disconnected or I stop Robocopy with STRG+C the file(s) will not be resumed and the transfer starts at 0% next time.
I could reproduce it very clearly, because :

I copied a video file to ~80%
I was able to watch the file till 80% of the movie (surprise :-) )
started Robocopy again (it even shows in the log that it starts at 1%), stopped after some seconds and
the video file was only watchable at the beginning. Same with other files.

I copied from a USB 3.0 drive to an internal hard-drive.
Thank you for your help.

I found it:
/Z only works if you transfer data from a network device. I copied from hard drive to hard drive (SATA to external USB 3.0), so there it didn't resume files.
Would be nice if the help file would be updated or describe the switches more, it's really kind of lacking information.
So if you use /Z on a transfer over a network it resumes, but it's REALLY slower, I guess it's only worth/necessary if you have really big files and/or many disconnects.

#please-close


Ability to create thumbnails specifying the focal point

This lets us use things like $img->thumbnail($w, $h, 'top right') instead of forcing us to use the currently implied center.

+1

This is great. Only one suggestion which I commented above. Otherwise a solid and helpful PR. :100:

:+1:
simply great

Oh, didn't think about that. Iv'e added a strtolower there.


Add Podspec file & Remove dependency of AppDelegate

Remove dependency of AppDelegate, more on the dangers of that here: https://github.com/yamill/react-native-orientation/pull/66#issuecomment-225297251
Next I added .podspec file for anyone using coacoa pods.
Note special shoutout to @mcrumm for getting the ball rolling on this. Sorry I wasn't able to update your branch on your fork (git permissions issue), that and I went down a different route for my podspec. Hope you can forgive me!

thanks @nevir 👍


Slave ssh retry

Adds launch timeout, number of retries, and delay between retries for SSH slaves

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

@jsmickey Can you please squash this down into a single commit and rebase onto master?


feat: Upgrade to new tanzu cli core and plugin runtime

Pull request

What this PR does / why we need it
Change Apps Plugin to use latest Tanzu CLI Plugin Runtime and Tanzu CLI Central Repository
Which issue(s) this PR fixes

N/A
Describe testing done for PR

Created new tag to check the CI passed correctly
Built locally to check the plugin installed correctly with latest Tanzu CLI (v0.90.0-alpha.0)
Changed go.mod to use latest Tanzu CLI Runtime

Additional information or special notes for your reviewer

Codecov Report

Merging #534 (8fef05e) into main (d12ff8c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #534   +/-   ##
=======================================
  Coverage   85.65%   85.65%
=======================================
  Files          68       68
  Lines        4218     4218
=======================================
  Hits         3613     3613
  Misses        473      473
  Partials      132      132


Build in the EUI theme switcher

Allow users to switch between light and dark themes.

https://github.com/elastic/gatsby-eui-starter/pull/10


Proposal: Add flow types with annotations

I would like the community to consider adding flow to mui.
I've got it setup in my new project and it has already helped a ton.
Advantages

Compile-time type checking of defaultProps, props, state, and callback signatures
Reduced React.PropTypes code!
Bounded Polymorphism means no more passing invalid values to setState
Reduced testing due to compile-time signature checks
Automated code checking with CI (including PRs)
IDE code completion!
Reduced fear of refactoring

Curious?
Check out this cheat sheet of available flow types we will get checked for free!  There are certainly more, but this is useful to peruse.
Implementation
Flow is opt-in by default, we can add it class by class.  I suggest seeding it, and turning it on one file at a time, doing manual flow checking.  Once comfortable and enough good examples have been set, add it to CI.
I would be happy to PR the setup and refactor a class as an example (just point me at the target)

I think this would be awesome. Only (and major) barrier I can think of to this currently is the refactoring a lot of our components may be getting as a result of the styling changes we're making in 0.16.x. Maybe we could start by documenting our component propTypes with flowtype when we refactor the components for style changes.

@rosskevin I'd be interested in working on this to deepen my understanding of flowtype and contribute a bit to material-ui. Ping me if you're up for some remote pairing.

@rosskevin I don't know if you have already started working on this, but I think that it would be good to do it incrementally. The weak mode is already able to finding issues without the need for annotation.
// @flow weak

I think we should start off right on the next branch.  Once @nathanmarks is ready for contributions, I can work over that branch with a setup and PR.

A bit off topic – but this could be a help to others using mui in flow projects.
External flow libdefs can be useful if a library does not export it's own flow bindings.
A quick and dirty port of typescript definitions for mui:
yarn add flowgen
yarn add @types/material-ui

./node_modules/.bin/flowgen<EMAIL_ADDRESS>-o material-ui_v.0.16.x.flow.js

I've yet to try out the definitions this produces. If they work I can create a pull request on flow-typed

I believe we can close this issue now as the proposal was accepted 😄 .

https://github.com/flowtype/flow-typed/tree/master/definitions/npm/material-ui_v1.x.x

@FDiskas Is right. We have documented the migration of the flow support from Material-UI to flow-typed: https://material-ui-next.com/guides/flow/#flow-typed.


Need boltdb Register only in tests

Fixing an earlier commit which needlessly registered
boltdb in allocator.go while it is needed only for tests.
Signed-off-by: Jana Radhakrishnan<EMAIL_ADDRESS>

LGTM


Make float validation work for numpy float classes

without adding numpy dep.
try:
    float_val = float(value)
except TypeError:
    self.error(...)
if abs(val - float_val) > TOL:
    self.error(...)
...

#90 modifies float, int, and complex validation to allow for numpy classes or other types that can be cast to the correct type and maintain the same value. Using try/except rather than type checking.

One note - Bool validation was not changed, so numpy.bool8 does not pass.


Device tracking through router only works for 6 days without reboot

Home Assistant release with the issue:
0.89.1
Operating environment (HassOS/Generic):
HassOS running on a RPi 3B+
Supervisor logs:

2019-04-16 07:10:28 ERROR (SyncWorker_17) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:10:41 ERROR (SyncWorker_4) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:10:54 ERROR (SyncWorker_0) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:11:07 ERROR (SyncWorker_10) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:11:20 ERROR (SyncWorker_2) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:11:33 ERROR (SyncWorker_16) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:11:46 ERROR (SyncWorker_18) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:11:59 ERROR (SyncWorker_8) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:12:12 ERROR (SyncWorker_12) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:12:25 ERROR (SyncWorker_5) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:12:38 ERROR (SyncWorker_5) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:12:51 ERROR (SyncWorker_5) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:13:04 ERROR (SyncWorker_8) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:13:17 ERROR (SyncWorker_12) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:13:30 ERROR (SyncWorker_12) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router
2019-04-16 07:13:43 ERROR (SyncWorker_8) [homeassistant.components.device_tracker.hitron_coda] Failed to parse response from router

Description of problem:
having issues with presence detection breaking after 6 days. It will work fine through my router for 6 days after a reset, then "fails to parse response from router". Rebooting home assistant fixes the issue, rebooting the router does not. Issues have been ongoing since version .79
from my config file:
device_tracker:
- platform: hitron_coda
host: !secret router_ip
username: !secret router_username
password: !secret router_password
type: shaw
new_device_defaults:
track_new_devices: true
hide_if_away: false

Same issue on hassio 0.93.2 running on a docker

Having the same issue with my Hitron on 0.93.2. Reboot fixes it for a day or two. Running hassio on docker (NUC).
6:53 PM components/hitron_coda/device_tracker.py (ERROR) - message first occured at 3:04 PM and shows up 1062 times


Bug on pins above 7, error on lines 103 and 104, missing the (i, ...

Hello brother, your library is very useful to me, but it has a bug in pins above 7, I found the error I believe to be a typo on lines 103 and 104 of the .cpp file, thanks for your code and keep up the good Work

Thanks.
Button id on those lines were apparently gone missing at some time while copy-pasting part of lines while trying to find quicker methods.


IsTimerEnabled throws exception if not initialized.

In the IsTimerEnabled property can you please check if timer is null and return false if it is.  I need to check if the timer was running and if it wasn't initialized then an exception is thrown.  I don't see a way to check if the timer was initialized other than checking the interval.

+1


fix(client): Exempt a bunch of properties from strict enum checks

Various JS constructs use special methods/properties. Strict enums
should not throw on attempts to get those properites to avoid breaking
said constructs.

@danstarns https://github.com/prisma/ecosystem-tests/runs/7582980876?check_suite_focus=true#step:7:141 is what prompted it.
But generally, all tests added in this PR will fail without the fix.

@danstarns https://github.com/prisma/ecosystem-tests/runs/7582980876?check_suite_focus=true#step:7:141 is what prompted it. But generally, all tests added in this PR will fail without the fix.

Thanks! LGTM.


Add various builder flags introduced in newer kernel versions

I added a few more flags from the manpage. that seem like they're harmless to add to the API trivially.

These are not builder flags, but feature flags filled by kernel. please refer to Parameters::is_feature_single_mmap to add it.

Sorry, I assumed everything that's configurable would be in Builder because monoio wants a Builder to create its runtime.


EI capitan version and  Maverics link invalid

Thanks so much for your generous sharing。
Big help in reverse engineering works .
Do you have a plan to make a EI capitan version ?
And Maverics download link not valid anymore , could you pls update ?

I think once I get hands to rebuild this I'll go straight to the latest available version skipping everything in between

I think once I get hands to rebuild this I'll go straight to the latest available version skipping everything in between


Testing: Per-test class customization should not remove global (per-fixture) customization

Overrides of the virtual methods in WebApplicationFactory<TEntryPoint> are intended for global customization of a fixture i.e. WebApplicationFactory<TEntryPoint> subclass. On the other hand, the WebApplicationFactory<TEntryPoint>.WithWebHostBuilder(...) method is intended for per-test class customization of a web site. Unfortunately, WithWebHostBuilder(...) news up another WebApplicationFactory<TEntryPoint> instance, losing everything about the subclass, including the fixture's overrides.
For example, the MvcTestFixture overrides CreateServer(...) to ensure the TestServer is created with en-US and en-UK cultures (for consistency). But, MVC functional tests using WithWebHostBuilder(...) create the server without this customization. Tests can fail because they're now run in unpredictable cultures.

@javiercn let me know he was working on this…


Changes to stop steroids from continuously building when file is changed

When we do steroids connect, steroids calls all the related tasks and our app is loaded, but when we make changes in any file, it continously keeps on loading on the console. I guess the problem is with using setInterval which keeps on calling the maker methods and also with the shouldMake flag used

Thanks for the pull request, can you elaborate on why this solves the problem? Some other notes:

It looks like the pr makes it more likely for Steroids to not react properly when changes are saved while maker() is running.

Remove extra logging from finished code.

There are some minor style issues in the code, e.g. trailing whitespace and semi-colons.

Hi @Sampax
The problem is that, when we in our project run steroids connect, in our grunt file we have a task that generates a file called config.js.
Now for example I change some file in www folder that kicks off the 'wwwWatcher.on ["add", "change", "unlink"]' event, so the build starts again as the maker function keeps on calling after every 100ms and in
the  'wwwWatcher.on ["add", "change", "unlink"]' we set the 'shouldMake' flag to true, so the reload function is called, but at the same time the config.js file is generated and again the 'wwwWatcher.on ["add", "change", "unlink"]' event is triggered, so this keeps on happening in infinite loop.
So in my fix I tried to eliminate the 'shouldMake' flag and just use the 'isMaking' flag. So what happens now is, when you change a file in www folder the maker, inside the maker the isMaking flag is set to true, and reload is called, so now even if the config.js is generated in the build process, the reload will not be called because the isMaking is true now so we directly return from the maker function and the isMaking flag is set to false only when the reload function promise is resolved.
So there is no need to keep on calling the maker at a interval of 100ms, we dont need setInterval, instead call maker only when we really need to call it.
I hope my explanation helps you.

Based on your explanation, the pr can't be merged at this time. The issue of updates being missed still stands, and the scenario you described is outside the intended workflow. However, it can be worked around with the --no-watch flag (steroids connect --no-watch) and triggering any updates by pressing Enter in the Steroids CLI. Still, thank you for bringing this up, we will keep your suggestion in mind whenever we get around to reworking the watcher mechanism.


 I pass new RunCommandInput("RunPowerShellScript") to this method. If I try to pass an input with  another ID differ from "RunPowerShellScript" I get Azure.RequestFailedException: The entity was not found in this Azure location.
Then I try to get the command by calling VirtualMachineResource.GetVirtualMachineRunCommands, but it doesn't return this script. It can only return commands that were deployed to the VM via REST API.
My questions are:

is it possible to pass an input with a custom ID like "MyScript"?
is there any way to get run commands using GetVirtualMachineRunCommands or something like this?

Environment
No response

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi!
@jsquire @xboxeer @fengzhou-msft are there any ideas with the problem? It seems to be just a question and it doesn't look like a hard job to answer it before fixing anything.


Multiple zones error

It appears that if there is any error with communicating with myicomfort, the zones get messed up and all zones report what zone 0 states are.  This makes using this component quite unreliable for multizone systems.
Is there any chance this can be addressed?

I looked thru the code this morning and I think I found the issue.  The problem is in the back end API, with how I reuse code between testing connections with the initial status pull and subsequent status pulls. Since I only have a single system with a single zone, I figured I would eventually run into a problem related to having multiples.  I will get this fixed soon.

  Happy to test any changes as well, or even give you my account creds if you need a testing environment.

OK, I fixed the code so that my zone fall back only happens on initial system connection testing as I originally intended.  To test you will need to edit the manifest.json file in the custom_components/myicomfort folder and update the required version of myicomfort to 0.3.1.
"requirements": ["voluptuous", "myicomfort==0.3.1"]
Once that is changed, restart Home Assistant and it will install the new API version.   I tested the update against my system and everything is working. Let me know if it functions as expected for you and I will update the manifest in the repository so everyone can pick it up.

Updated to 0.3.1.  So far so good!  Though, it usually is good until there is an error with myicomfort, so I will report back in terms of its stability to see if it is truly resolved.  Thanks for the quick turn around on this, it is much appreciated!

Been rock solid for over 24 hours now.  I'd be comfortable calling this issue resolved.  Thanks again!


make repository_ctx.execute not quiet

by default repository_ctx.execute is quiet and will not output
stdout / stderr. ref:
https://docs.bazel.build/versions/master/skylark/lib/repository_ctx.html#exec

we make execute not quiet for dpkg_parser related rules, so that we
can use the debug information in the python scripts

@nlopezgi @xingao267 This PR is necessary for us to use the debug info in PR 2

lgtm


Condense community repair effects

Removes spell effects Community Repair (Critical Success) and Community Repair (Critical Failure) and replaces them with a single ChoiceSet-based Community Repair spell effect.

We don't want to remove the old effects until we're ready to migrate away the links.

I've put them back. When and how does that migration happen?
Is the modified spell description okay to point toward the new effect, or should it be left as it was referencing the old effects?

A migration is something we write. With these condensed effects I want to do a bunch all at once then I'll write a migration to remove the existing links to the items from actors in people's worlds, replacing them with just the condensed effect if necessary. I just don't want to write a single migration for a single effect since we have so many of them to do. Better to just let the old effects sit until then.

If you're wondering about the localization stuff, translation modules have difficulty accessing the text inside rule elements because they are stored in an array and don't have a convenient ID to reference like items on an actor do. So to help them out we move that text to the localization files so all they have to do it translate that file and all the rule elements are translated. We are still finding old unlocalized strings like these in the system and we fix them when they crop up.

I saw a bit about that. From what I was seeing in other PRs, you only need to add the text to the EN loc file and translators will pick it up from there?
Thanks for the comprehensive review. I'll watch out for these things when I tackle some of the other issues.

Yeah, we have multiple en.json files. For organization purposes we split them out. rule element stuff normally goes in re-en.json while core system things like traits, UI strings, and languages go in en.json.


Allow overriding Java package name to install other JDK than OpenJDK

SUMMARY

The variable tomcat_java_packages_el cannot be overriden, so user can't simply pick another JDK, available through RPM (like a home made RPM packaging JRockit for instance). It would be better if the variable could be overriden to specifiy a package name not tied to Openjdk.
ISSUE TYPE

Feature Idea

@guidograzioli wdyt?


Fix bug of classnotfound at Fuse runtime

What changes are proposed in this pull request?
fix the bug where fuse has the bug of "java.lang.NoClassDefFoundError: Could not initialize class io.vertx.core.dns.AddressResolverOptions" after jetcd dependency was introduced
Why are the changes needed?
classes from native side, if not explicitly loaded, it will spew "NoClassDefFoundError" at runtime when the relevant classes was invoked.
Does this PR introduce any user facing changes?
No.

just curious what causes this class special? Need explicit load.

just curious what causes this class special? Need explicit load.

this class is used by jetcd client internally to start a grpc channel, and for some reason native couldn't find it unless a explicit  call to say JNIEnv->FindClass() is made, I've tried doing ClassLoader at AlluxioFuse side to just load the class, but still it couldn't find in native. One another way is to create an instance of this class at time of starting AlluxioFuse, but I thought its not extendable if there's other places using native lib, but as we are explicitly checking in .dylib and .so lib let me try if I can load the class at process startup time.

alluxio-bot, merge this please.


Added port binding and environment variable information to readme.md

I included to things to the readme.md which are very important to start docker container

adding environment variables to the docker container
binding ports

Thank you so much!

Hi Loannis,
Welcome, and I am very thankful about your consideration.
Thank you,
Kavindu
On Mon, Jul 10, 2017 at 3:52 PM, Ioannis Canellos<EMAIL_ADDRESS>wrote:

Merged #86 https://github.com/fabric8io/docker-client/pull/86.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fabric8io/docker-client/pull/86#event-1156526653, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbBSpH8NfRoQt6SDexFtTHkW4PofxR88ks5sMft4gaJpZM4N7Ljc
.


Chore: move wiki into repository

Expected behaviour
Wiki should be part of the repository so that if the code is updated, the docs can be updated in the same PR. This will allow the docs to be versioned, staying aligned with the code.
Actual behaviour
Wiki is not versioned and can only be relevant to one version of twitch-js.
Further discussion
We can move the wiki into the docs/ as-is for now and update the README.md to reflect the change. @WFrancois do you have time to handle this?
In the future, we can look into generating docs and publishing them to GitHub Pages.

Hey,
Yeah, I should be able to do it this week.
How do you see it ? As we can't have a table of content ?

Maybe the table of contents could be in the README.md? What do you think?

Yep, we could do that.
And maybe have the name of the file like

Home / Getting Started.md
Examples.md

And so on ?

Issue done with #49


feat(tps): add a backend to test namespaces

Hi @Ameausoone how are you ?
Should I merge this PR or close it ?


Enhancement feature: Turn off Led lights when shutting down

Hi Martynas.
First of all, I'm amazed by your app. It works great. Thank you for making it available.
It would be awesome if you could improve your app with a checkbox option (just like your "Open on Startup") to turn off the Led lights when shutting down the computer and turn them on automatically when PC powers on.
Thank you once again.

Hi! Thanks for your nice words :) This feature will definitely be implemented in next release.


Any example using multiple 'to' and 'bcc' emails?

Hi guys,
The documentation need more examples like Mandrill, Can you share more examples with multiple to and bcc to send emails?
Thanks in advance, Nicholls

Migrate Mandrill to Sendgrid without change all code:
//Current code in the app with Mandrill
var to = [
{
   "email"<EMAIL_ADDRESS>   "name"<EMAIL_ADDRESS>   "type": "to"
},
{
   "email"<EMAIL_ADDRESS>   "name"<EMAIL_ADDRESS>   "type": "bcc"
}
];
//Code Code Code
var toEmails = [];
var toName = [];
var bcc = [];

for (var index = 0; index < to.length; index++) {
    var itemTo = to[index];
    if(itemTo.type === "to"){
        toEmails.push(itemTo.email);
        toName.push(itemTo.name);
    }
    else if(itemTo.type === "bcc"){
        bcc.push(itemTo.email);
    }
}

Regards, Nicholls

very useful! thanks, any similar way to deal with mergeVars? :stuck_out_tongue_winking_eye: