lsof on busybox

Hi,
thanks for this tool I love it on amd86 where lsof is a standalone command. It seems this will not work when lsof is part of busybox because the -F option output will look like:
1	/usr/lib/systemd/systemd	/dev/null
1	/usr/lib/systemd/systemd	/dev/null
1	/usr/lib/systemd/systemd	/dev/null
1	/usr/lib/systemd/systemd	/dev/kmsg
1	/usr/lib/systemd/systemd	anon_inode:[eventpoll]
1	/usr/lib/systemd/systemd	anon_inode:[signalfd]
1	/usr/lib/systemd/systemd	anon_inode:inotify
1	/usr/lib/systemd/systemd	/sys/fs/cgroup
1	/usr/lib/systemd/systemd	anon_inode:[timerfd]
1	/usr/lib/systemd/systemd	anon_inode:[eventpoll]

thanks!

yeah, that's a pity, sorry to hear that doesn't work for you on busybox.
I don't think I want to spend the time and effort to make this work however, since it's busybox that generates the "wrong" output here, although the format is not officially specified of course, so busybox is free to emit whatever it likes.
If anyone comes up with a patch to handle this, I'd be glad to merge!


Change tootlip!

Can we change the tooltip text? say that I have text ,, and weight.. wait will draw chart and text will  be shown on the tooltip..
any idea?

You can use the tooltip callback as explained in the docs.

@zachpanz88 has the correct answer


Add version LDC scope for LDC only code in hooks.d

A small fix in order for DMD to compile with Visual Studio.
The Visual Studio solution in opend\compiler\src\vcbuild seems to be working in order to compile dmd and can offer an alternative for those who wants to work with VS and quickly compile dmd.
I got an error as it doesn't find LDC specific files when it is only supposed to compile dmd.

Yeah, looks like another oversight on my end. Thanks for the fix!

After testing a bit more an irc user pointed out this broke building ldc with dmd, it should have been version (IN_LLVM) to apply to only when building llvm; version (LDC) only applies when the host compiler is ldc. so oops again but fixed now

I didn't know about the IN_LLVM flag for compiling the LLVM version. Good to know for future reference. Thanks.


Call eis measurement drivers in cpp to improve cov

I don't like this. You don't check anything (except that the codes doesn't segfault). Why do you want to add this test? It is easier to see on the code coverage that sth is not tested instead of going through the test files looking for TODO.


[SPARK-37842][SQL] Use multi-catch to simplify duplicate exception handling behavior in Java code

What changes were proposed in this pull request?
Java 7 began to support the Multiple exception catching, This pr uses it to simplify exception handling in Java code.
Before
} catch (FirstException ex) {
     logger.error(ex);
     throw ex;
} catch (SecondException ex) {
     logger.error(ex);
     throw ex;
}

After
} catch (FirstException | SecondException ex) {
    logger.error(ex);
    throw ex;
}

Why are the changes needed?
Code simplification
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GA

These are good changes, but, these are changes to copied Hive code. We can 'fix' it but might introduce tiny differences and merge conflicts if we update the Hive code.
Are there any instances in the Spark code (not in org.apache.hive)? those would be fine to change.

@LuciferYang . We don't specify the JIRA's priority in the PR title.
[MINOR] is used instead of [SPARK-XXXXX] because we don't have a JIRA ID.

Thank you for your explanation

@srowen I check that all cases are in thriftserver module,  if there is a possibility of conflict, I can close this pr

+1, late LGTM. Thank you all!


update poetry.lock to 1.3.1

Codecov Report

Merging #1350 (dbaf8a1) into main (3e1cc79) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1350      +/-   ##
==========================================
+ Coverage   48.06%   48.10%   +0.04%
==========================================
  Files         296      296
  Lines       16766    16766
==========================================
+ Hits         8058     8065       +7
+ Misses       8708     8701       -7

Impacted Files
Coverage Δ

lnbits/extensions/lnurlp/migrations.py
81.48% <0.00%> (-11.12%)
:arrow_down:

lnbits/commands.py
73.61% <0.00%> (+1.38%)
:arrow_up:

lnbits/db.py
81.20% <0.00%> (+4.02%)
:arrow_up:

lnbits/extensions/copilot/migrations.py
100.00% <0.00%> (+12.50%)
:arrow_up:

lnbits/extensions/market/migrations.py
100.00% <0.00%> (+15.38%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update to latest lb controller helm release

@lawliet89 marking it as draft first and let me test with bt-drupal.
Guoyou encountered this error: https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/2495

@niroz89 is this still relevant?

yes relevant, current default version wont work with eks 1.22, havent tested yet. let me test today and make it ready.

Values are updated part of #4 , we will expose variables when needed.


Suggestion for representing inter-part beams

I'm not sure if you've already been working on a solution, but i have an idea for handily representing inter-part beams.
Whenever you import an jbeamfile with inter part beams it creates a single extra object called __interpart_beams__ or similar. This object holds edges of which it's vertices don't just id names, but the name of the part they are referencing. The script on export then, either checks for id name or matching location to see what node it was actually connected to. (using the duplicate node name code you already have)
You can easily create and move these new edges using blenders magnet/snap tool and this can be noted in the documentation.
You could also have the script run a check to update the inter-part beams after you drop out of edit mode for the part, so that you can correct the beams after the nodes might have moved.
I might actually try to implement this in a fork of the script, to see if it could work. Feel free to implement any code I add if you think it's useful.
I think this script can become a very powerful ui modding tool for modders, helping them create jbeams faster and improving their results leading to more impressive mods with amazing physics.

Actually I'm working on importing the full vehicle. It's currently working actually, and how it's implemented is each part has all nodes of the vehicle, but each part has their own beams and triangles, including any inter-part ones :) Updating the position of a node in one part updates them in all parts. So this is how inter-part stuff can be possible.


revert wasmvm to 1.3 (from 1.4)

per: https://x.com/CosmWasm/status/1709507168448229497?s=20
if we are able to release beforehand, wasmd v41 should be bumped to v42.
(I think I did this in another PR already? just not in main)

Ill bump us to 42 and 1.4.1. Still scares me so I need to add conformance test in the upgrade handler


getting bot by @name sign, not by /name

Question

Hi, I created a new bot, the only way I can send it a message is using "/my_name_bot",
but I want to be able to send something to it via "@my_name_bot", I've seen this functionality in other bots, since it's quite hard to find something "@" symbol related - can you give me a hint? :)

Could you provide us with more elaborate examples; that way we understand which problem specifically you trying to solve.

okay, let's say my bot name is "bot_name".
When I write something in the chat via "/bot_name something" - the bot reacts to the message,

The syntax is usually /command@bot_name see this.

 By default, bots only see messages which are interpreted as commmands i.e. /command arg.
Also, as @kamikazechaser you have to consider the @bot_name section when constructing your RegExps.

Oh, thank you, I thought it was something "out of the box" for the bots.
Can be closed :)

Can this be Closed?


Fan Comfort-Breeze Preset-Mode not working

Using Hubspace supported Tager fan.  Speed and direction in service calls and button works fine.
However, within the UI or service  calls to start  'comfort-breeze' preset mode, does not work.  When activating this in the Hubspace App, the preset-mode state changes to 'breeze'  :
preset_modes:
  - comfort-breeze
direction: forward
percentage: 11
percentage_step: 11.11111111111111
preset_mode: breeze

I am not sure if exploding banana changed, it but that is not the correct format for a service call that used to work. The service call can only submit a single: function, functionclass, value set. If you figure out the right calls, you need to send each line individually. However, if you set the preset correctly, the API should
I updated to latest 3.2.0 and services do not seem to be working at all for me. Maybe the change to "actions" is causing an issue.

oops. sorry, I was going to reply then hit wrong button.
just setting the presetmode should set those automatically. I just updated to 3.2.0 and "actions" do not work at all for me (they do not even show up). Maybe the change from services to actions messed something up.


fix: 🐛 Field is fulfilled if theres no error and theres a value

✅ Closes: #91
Loom: https://www.loom.com/share/c06513c248454d00b6690c75ad045056
Now, the fulfilled icon only appears when a field is not in an error state and a value is present.
Also fixed a bug where the value 0 (or any falsy number) in a numeric input would be treated as a non-value.

:tada: This PR is included in version 3.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


404 models/imagen-3.0-generate-001 is not found for API version v1beta

Description of the bug:
While running the code from the Google Gemini API Docs, the following error occurs:
google.api_core.exceptions.NotFound: 404 models/imagen-3.0-generate-001 is not found for API version v1beta, or is not supported for predict. Call ListModels to see the list of available models and their supported methods.

@NavosX , Imagen-3 in the Gemini API is not publicly available yet.
We already have an open GitHub issue for this, #597


[portus] /secrets/portus.key shouldn't require chmod 644

docker image: using the most recent successfully built head from https://hub.docker.com/r/opensuse/portus/builds/bg5vakttezxqffqvlnfoupv/
opensuse/portus@sha256:31f79c09a33eb59b510dca4f595102e61572649fc239ab9595b35abcc03983a2
issue: when passing a custom private key into portus via a docker-compose volume, portus fails to authenticate a docker registry login (i.e. command line, not the portus web ui) unless the private key has allowed read permissions for "other" (i.e. a non-root user). in the host filesystem both the .key and .crt are owned by root.
docker-compose.yml snippet:
(note: removing the read-only-ness of the mapped volume doesn't fix the issue)
    volumes:
      - ./certs/registry.crt:/certificates/portus-ca.crt:ro
      - ./certs/registry.key:/secrets/portus.key:ro
      - ./portus/config-local.yml:/srv/Portus/config/config-local.yml:ro

docker-compose logging snippet:
portus_1    | App 146 stdout: Processing by Api::V2::TokensController#show as JSON
portus_1    | App 146 stdout:   Parameters: {"account"=>"USER", "client_id"=>"docker", "offline_token"=>"true", "service"=>"registry.CUSTOM.FQDN"}
portus_1    | App 146 stdout: Completed 500 Internal Server Error in 65ms (ActiveRecord: 6.8ms)
portus_1    | App 146 stdout:
portus_1    | App 146 stdout: Errno::EACCES (Permission denied @ rb_sysopen - /secrets/portus.key):
portus_1    | App 146 stdout:   lib/portus/jwt_token.rb:49:in `binread'
portus_1    | App 146 stdout:   lib/portus/jwt_token.rb:49:in `private_key'
portus_1    | App 146 stdout:   lib/portus/jwt_token.rb:22:in `encoded_hash'
portus_1    | App 146 stdout:   app/controllers/api/v2/tokens_controller.rb:31:in `show'
portus_1    | App 146 stdout:
portus_1    | App 146 stdout:
portus_1    | App 146 stdout: Processing by ErrorsController#show as JSON
portus_1    | App 146 stdout:   Parameters: {"account"=>"USER", "client_id"=>"docker", "offline_token"=>"true", "service"=>"registry.CUSTOM.FQDN", "status"=>"500"}
portus_1    | App 146 stdout: Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
portus_1    | App 130 stderr: Error during failsafe response: Missing template errors/500, application/500 with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :slim]}. Searched in:
portus_1    | App 130 stderr:   * "/srv/Portus/app/views"
portus_1    | App 130 stderr:   * "/srv/Portus/vendor/bundle/ruby/2.1.0/gems/kaminari-0.16.3/app/views"
portus_1    | App 130 stderr:   * "/srv/Portus/vendor/bundle/ruby/2.1.0/gems/devise-3.5.1/app/views"```

ping @mssola

I'll investigate this.

Facing this issue as well. Any update on this?

I believe this issue can no longer be reproduced. I'll close it now, but feel free to re-open it back again if you are still facing it.


feat: add new caching doc

This adds a new doc, based on the current one (idea is to replace the current one with this one). Comments/editing welcome!

One thing that might help new users of the doc would be to just show them the goods, right at the top; add the examples from the bottom first so that they can quickly see how to implement, and then explain. That or intersperse examples within each given section.
Right now things feel pretty dense text-wise, simply using words and inline code, where actual code blocks mixed in to the text would explain everything at a glance with minimal thought required, and also allow devs to skim. (Happy to pr this after this update has been made.)

It's not that dense IMO - several paragraphs with examples and reasoning - but I hear you! I'd be down to merge and keep iterating on it (you can take a crack, @joeyAghion can take a pass).

That sounds good 👍 I'll do a pass


Your URL of the tool is invalid.

When I followed the readme document to execute the initial environment, I was able to successfully deploy local_tools to <IP_ADDRESS>:8079. Only the api-keys for weather and openai were filled in, and the weather tool was loaded. However, when I executed inference_single_tools.py, I encountered the following error messages. How can I solve this problem?
python toolbench/inference/inference_single_tool.py     --tool_name weather     --model_path /data/jupyterlab/xxx/llama/model/7B     --lora_path /data/jupyterlab/xxx/ToolBench/model_lora/ToolLLaMA
will register chemical-prop
will register douban-film
will register wikidata
will register stock
will register weather
will register wikipedia
will register wolframalpha
will register office-ppt
will register bing_search
will register bing_map
will register baidu_map
will register nllb-translation
will register baidu-translation
will register tutorial
will register file_operation
will register meta_analysis
will register database
will register db_diag
will register code_interpreter
will register hugging_tools
will register arxiv
will register zillow
will register google_scholar
will register google_places
will register google_serper
will register python
will register sceneXplain
will register shell
will register image_generation
will register airbnb
will register job_search
will register gradio_tools
will register travel
will register walmart
weather http://<IP_ADDRESS>:8079/tools/weather/
Traceback (most recent call last):
File "/data/jupyterlab/xxx/ToolBench/toolbench/inference/inference_single_tool.py", line 123, in
main()
File "/data/jupyterlab/xxx/ToolBench/toolbench/inference/inference_single_tool.py", line 109, in main
tools_name, tools_config = load_single_tools(args.tool_name, tool_url)
File "/data/jupyterlab/xxx/ToolBench/toolbench/inference/inference_single_tool.py", line 53, in load_single_tools
raise RuntimeError("Your URL of the tool is invalid.")
-- server
python BMTools/host_local_tools.py
will register chemical-prop
will register douban-film
will register wikidata
will register stock
will register weather
will register wikipedia
will register wolframalpha
will register office-ppt
will register bing_search
will register bing_map
will register baidu_map
will register nllb-translation
will register baidu-translation
will register tutorial
will register file_operation
will register meta_analysis
will register database
will register db_diag
will register code_interpreter
will register hugging_tools
will register arxiv
will register zillow
will register google_scholar
will register google_places
will register google_serper
will register python
will register sceneXplain
will register shell
will register image_generation
will register airbnb
will register job_search
will register gradio_tools
will register travel
will register walmart
['chemical-prop', 'douban-film', 'wikidata', 'stock', 'weather', 'wikipedia', 'wolframalpha', 'office-ppt', 'bing_search', 'bing_map', 'baidu_map', 'nllb-translation', 'baidu-translation', 'tutorial', 'file_operation', 'meta_analysis', 'database', 'db_diag', 'code_interpreter', 'hugging_tools', 'arxiv', 'zillow', 'google_scholar', 'google_places', 'google_serper', 'python', 'sceneXplain', 'shell', 'image_generation', 'airbnb', 'job_search', 'gradio_tools', 'travel', 'walmart']
will build weather
INFO:     Started server process [12334]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8079 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:37162 - "GET / HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:45752 - "GET /tools HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:60902 - "GET /tools/weather HTTP/1.1" 307 Temporary Redirect
INFO:     <IP_ADDRESS>:53110 - "GET /tools/weather HTTP/1.1" 307 Temporary Redirect

Should I write a route named .well-known/ai-plugin.json for each tool?
When I run database tool, /.well-known/ai-plugin.json returns:
{
 'schema_version': 'v1',
 'name_for_human': 'BMTools',
 'name_for_model': 'BMTools',
 'description_for_human': 'tools to big models',
 'description_for_model': 'tools to big models',
 'auth': {'type': 'none'},
 'api': {'type': 'openapi', 'url': '/openapi.json', 'is_user_authenticated': False}, 'logo_url': None, 'contact_email': '', 'legal_info_url': ''}

and raise exceptions:
requests.exceptions.MissingSchema: Invalid URL '/openapi.json': No scheme supplied. Perhaps you meant http:///openapi.json?


erlang: fix nix-env version confusion

Motivation for this change
closes https://github.com/NixOS/nixpkgs/issues/139473
I originally thought about changing name to pname, but that would change the pname of the main erlang module. To not change it, you have to pass a pname argument.
I thought potentially that erlang could just be an alias. It seemed to me that aliases are mostly used for deprecations.
So I made a very small change so as to not confuse nix-env with the version number.
Also I thought having the odbc and javac qualifiers separated by a - was confusing since this is usually used for the version number.
cc @NixOS/beam might be interested
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Thank you for the review!

Thanks!


Update banner.txt

change the logo (the M looked strange)
Description

Related Issue

Tasks

[x] I have signed the CLA.
[x] I have written tests and verified that they fail without my change.

Okay, I see it now... 🙈
Thanks!


Error when aborting an active campaign

When I try to ctrl-C during a manifest-tool update device, it attempts to delete a campaign, but the campaign needs to be stopped before it can be deleted.  The following errors are generated:
^C[CRITICAL] 2019-02-12 17:09:56 - manifesttool.update_device - User Aborted... Cleaning up.
[INFO] 2019-02-12 17:09:56 - manifesttool.update_device - ** Deleting update campaign and manifest **
[CRITICAL] 2019-02-12 17:09:56 - manifesttool.update_device - Cleanup of campaign failed with:
(409) "Conflict" (409)
Reason: Conflict
HTTP response headers: HTTPHeaderDict({'Content-Length': '162', 'Access-Control-Expose-Headers': 'X-Request-ID,Content-Length,Content-Disposition', 'Set-Cookie': 'TS017f188d=01c6170234c1888f130abfb28e4615196173f8134fd5bc00a456775fce2821bc566ff513e4119c74a203b52c03b876fefee1d3bdeb; Path=/', 'Strict-Transport-Security': 'max-age=10886400; includeSubDomains; preload', 'Vary': 'Origin', 'X-Request-ID': '00005c635242d20ae583edf300000002', 'Connection': 'keep-alive', 'Allow': 'GET, PUT, PATCH, DELETE, HEAD, OPTIONS', 'Date': 'Tue, 12 Feb 2019 23:09:54 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json'})
HTTP response body: {"object":"error","code":409,"type":"conflict","message":"Cannot delete the campaign while in the current phase.","request_id":"00005c634c5fd20ae583edf300000000"}

ARM Internal Ref: IOTUC-898

This would need a fix in SDK first: https://github.com/ARMmbed/mbed-cloud-sdk-python/pull/322

CTRL+C is not a supported manifest-tool command. Closing this issue


unit tests inconsistent in src/pkg/packager

Describe what should be investigated or refactored
unit tests in src/pkg/packager run inconsistently. Running on ubuntu linux go1.21.3
Sometimes when running go test in src/pkg/packager you tests pass.
Other times you get. Seemingly around 50/50
--- FAIL: TestValidateLastNonBreakingVersion (0.00s)
    --- FAIL: TestValidateLastNonBreakingVersion/invalid_semantic_version_(CLI_version) (0.00s)
        common_test.go:231:
                Error Trace:    /home/austin/code/zarf/src/pkg/packager/common_test.go:231
                Error:          []string{"CLIVersion is set to 'this shouldn't get evaluated when the lastNonBreakingVersion is empty' which can cause issues with package creation and deployment. To avoid such issues, please set the value to the valid semantic version for this version of Zarf."} does not contain "CLIVersion is set to 'invalidSemanticVersion' which can cause issues with package creation and deployment. To avoid such issues, please set the value to the valid semantic version for this version of Zarf."
                Test:           TestValidateLastNonBreakingVersion/invalid_semantic_version_(CLI_version)

This is a race condition bug. Each sub-test updates the value of the package-level, global variable config.CLIVersion concurrently, resulting in this race condtion. Fix for this is to not run the sub-tests (test cases) in parallel. Will have a PR up  to fix this here soon


⚠ Melody Beta has degraded performance

In 0a4df3a, Melody Beta (https://canary.melody.api.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 6619 ms

Resolved: Melody Beta performance has improved in 906385d.


Smooth upgrade mount pod

trigger upgrade in dashboard
smooth upgrade mount pod in csi

Codecov Report
Attention: Patch coverage is 24.18426% with 395 lines in your changes missing coverage. Please review.

Project coverage is 27.58%. Comparing base (489d406) to head (bbc94e5).
Report is 12 commits behind head on master.

Files with missing lines
Patch %
Lines

pkg/k8sclient/client.go
12.71%
103 Missing :warning:

pkg/controller/pod_driver.go
38.65%
68 Missing and 5 partials :warning:

pkg/dashboard/pod.go
0.00%
52 Missing :warning:

pkg/juicefs/mount/builder/job.go
0.00%
52 Missing :warning:

pkg/util/resource/terminal.go
0.00%
30 Missing :warning:

pkg/config/config.go
0.00%
18 Missing :warning:

pkg/util/resource/pod.go
0.00%
17 Missing :warning:

pkg/util/resource/job.go
0.00%
16 Missing :warning:

pkg/juicefs/mount/pod_mount.go
14.28%
11 Missing and 1 partial :warning:

pkg/util/util.go
86.56%
9 Missing :warning:

... and 6 more

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1107      +/-   ##
==========================================
- Coverage   28.15%   27.58%   -0.58%
==========================================
  Files          51       51
  Lines        6893     7319     +426
==========================================
+ Hits         1941     2019      +78
- Misses       4746     5096     +350
+ Partials      206      204       -2

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


Deprecate * - {} in favor of test {} for anonymous tests

See discussion: https://www.reddit.com/r/scala/comments/71nqix/utest_the_essential_test_framework_for_scala_blog/dnh7f9l/
// before
* - check()
// after
test { check() }
// maybe with language.postFix
test check()

It should be possible to automate most of the migration, a simple sed script might get us quite far but I'm also happy to provide a scalafix migration rewrite.

For context, this would also change:
"foo bar" - {
  ...
}

to
test("foo bar"){
  ...
}

The reasoning for this change is that we want to minimize the number of magic-DSLs that uTest provides. uTest prides itself on having less magic DSLs that e.g. ScalaTest or Specs2, but this 'foo -{} "foo" - {} * - {} syntax remains.
There was no real reason why "foo" - {} was chosen: that was simply the syntax for ScalaTest's FreeSpec, which I was using before the uTest project was started, and so uTest copied it.
Writing things out explicitly as test("foo"){...} blocks is a bit more verbose, but definitely a lot less magic-DSL-y. It also offers some extensibility e.g. if we want to add metadata to individual tests or blocks, we can do so by passing additional arguments to the call e.g. test("foo", tag="slow"){...}
I wouldn't even bother with a migration - a plain old deprecate-and-advertise-the-new-syntax is enough. People can update to the new syntax at their leisure.

I find this convenient that uTest mimics this ScalaTest syntax.
Reason: migration path. People aware of uTest but not allowed to use it for whatever reason may write code which later can be compiled with uTest easily. The opposite is obviously true as well.
Or it was... I haven't tried such migration path after 0.5.0.

@frgomes I used this small helper to port my FunSuite tests to utest, made migration quite easy.

import utest._, framework._

trait FunSuite extends TestSuite {
  private val myTests = IndexedSeq.newBuilder[(String, () => Unit)]
  def test(name: String)(fun: => Any): Unit = {
    myTests += (name -> (() => fun))
  }
  final override def tests: Tests = {
    val ts = myTests.result()
    val names = Tree("", ts.map(x => Tree(x._1)): _*)
    val thunks = new TestCallTree(Right(ts.map(x => new TestCallTree(Left(x._2())))))
    Tests.apply(names, thunks)
  }
}

@olafurpg : thanks for the code snippet. And I'm sorry for the very late reply.
What I mean is that uTest is particularly very convenient for me. Why? Because I used to employ FreeSpec in past. If, for whatever reason I'm obliged to use ScalaTest... guess what... FreeSpec without any doubt, since I can easily throw away ScalaTest on a later date.


Bug: ignore_extra=False and allow_population_by_alias=True do not work together

OS: macOS
Python version import sys; print(sys.version): 3.6.6
Pydantic version import pydantic; print(pydantic.VERSION): 0.13

Code snippet:
from pydantic import BaseModel, Schema
from typing import Optional

class Model(BaseModel):
    last_updated_by: Optional[str] = Schema(None, alias="lastUpdatedBy")

    class Config:
        ignore_extra = False
        allow_population_by_alias = True

m1 = Model(lastUpdatedBy="dmitry") # ok
m2 = Model(last_updated_by="dmitry") # fails

# >
"""
ValidationError: 1 validation error
last_updated_by
  extra fields not permitted (type=value_error.extra)
"""

Additional info: read docs, including the warning, but it does not seem like this is an expected behavior.

This is exactly what you would expect unless I'm missing something.

Oh, I missed allow_population_by_alias.
I guess this is wrong but I think that seeing is dumb anyway, maybe we shouldn't have included it.


Please Add Support To Rename ROM Files

First of all, this is by far the fastest and most accurate scraper I've found! Thank you! I use this to scrape all the thousands of games I have.
However, one feature I would like to see is the ability to rename the ROM files (ie: -rename_romfiles). This is an example shell snippet I use to rename my nes ROMS that can maybe give you an idea:
cd roms/nes
#Create new ROM dir
DESTDIR=../nes.new
mkdir $DESTDIR
#Scrape ROM info skipping images
scraper -download_images=false -use_ovgdb=true
#Iterate through generated gamelist.xml and rename the ROMS
IFS="
"
for LINE in $(grep -e '' -e '' gamelist.xml | sed 's/name>$/name>~/g' | tr -d '\n' | tr '~' '\n' | tr '<' '>')
do
#Recode xml/html back to ascii
FILENAME="$(echo "$LINE" | awk -F '>' '{print $3}' | recode html..ascii)"
GAMENAME="$(echo "$LINE" | awk -F '>' '{print $7}' | recode html..ascii)"
#Append gametype ROM to file name
GAMETYPE=""
file "$FILENAME" | grep Horiz && GAMETYPE=" (Horizontal)"
file "$FILENAME" | grep Vert && GAMETYPE=" (Vertical)"
file "$FILENAME" | grep SRAM && GAMETYPE="$GAMETYPE (SRAM)"
mv -i "$FILENAME" "$DESTDIR/$GAMENAME$GAMETYPE.nes"
done
#Scrape ROMS again with the new filenames
cd $DESTDIR
scraper -use_ovgdb=true

I recently wrote a script to rename some roms for a friend. I can see about adding it in as a feature/standalone app. I'll have to do a bit more work on my current script to make it ready for general use like, duplicate destination names, existing save and image information, etc.

Sorry for taking so long. I was working on refactoring code so I could reuse the logic for the renaming. I'll see about adding this to the released binaries and add some documentation but it is here:
https://github.com/sselph/scraper/tree/master/rename
and you can run it like:
./rename *.nes
That will just print out what is being renamed
./rename -dry_run=false *.nes
will actually rename things.


Import types used by Request properties

Closes https://github.com/tiangolo/fastapi/issues/1871

Why not import it in fastapi.datastructures for more compatible syntax? Imo it's unintuitive that starlette.datastructures models imported from fastapi.requests.
Moreover in your example:
def example_get_url_from_request(request: Request) -> URL:

there URL is not request, it's response which, again, unintuitive in my opinion.

Why not import it in fastapi.datastructures for more compatible syntax? Imo it's unintuitive that starlette.datastructures models imported from fastapi.requests.

Good point; restructured such that the imports mirror the structure of starlette

👋  Checking in on this PR: would someone please be able to review? Thank you!

Great, thanks @jamescurtin for your contribution! :rocket:
Thanks @Kludex and @SirTelemak for the discussion!
I updated it a bit to keep the current import style that improves typing support in editors (e.g. autoimports).
This will be available later today in FastAPI version 0.68.0 🔖🎉


Monitoring beacons regions problems

Hello,
I'm trying ranging and monitoring and I discovered something strange: if I only start monitoring nothing happens, but if I first start ranging, then cancel it and then start monitoring, it works.
Any idea?
This is the code I use to start monitoring for a beacon (only by uuid):
let beacon = Beacon(proximity: b_proximity, major: nil, minor: nil)
monitoringRequestId = try Beacons.monitor(beacon: beacon, events: Event.RegionBoundary, onStateDidChange: { state in
    print("(state == .entered ? "entered" : "exited") beacons region")
}, onRangingBeacons: nil, onError: { error in
    // manage the error
})

This is the code I use to start ranging:
let beacon = Beacon(proximity: b_proximity, major: nil, minor: nil)
rangingRequestId = try Beacons.monitor(beacon: beacon, events: Event.Ranging, onStateDidChange: nil,
        onRangingBeacons: { visibleBeacons in
            print("\(visibleBeacons.count) beacons ranging")
        }, onError: { error in
    // manage the error
})

I've tried to debug but it seems fine to me...Any idea why?
Cheers,
Dem

I also add that if I use Event.All, it works the first time, then if I cancel and create it again the ranging still works but the monitoring doesn't...
I'm testing on iPhone 7 Plus and iOS 10.1.1
Thanks,
Dem

Update: I've tried the Estimote SDK and monitoring works properly...
Also I've noticed that when I enable monitoring in SwiftLocation I get this message:
2016-11-21 13:49:35.343952 BeaconTesting[11156:3696159] [Client] {"msg":"Fence: onClientEventRegionState, invalid state", "regionState":"0"}
Cheers,
Dem

New update: I still get that error but I've noticed that it takes time for the monitoring to start, don't know why the estimote one is faster and doesn't give that error on the console.
Hovewer after about 1 minute since I've started the monitoring it works...
Closing this, thanks
Dem


chore: Cosmetic changes in README, code and comments

Also had to disable a bunch of eslint rules to be able to commit the index.ts of the plugin :/

There is probably some cleanup to do around linting indeed.


Redux FAQ: Organizing State Outdated

What docs page needs to be fixed?

Faq:
Redux FAQ: Organizing State:

https://redux.js.org/faq/organizing-state
What is the problem?
I was looking at this today and this FAQ seems outdated.
In particular, it links to two community packages that have been out of date since 2015:
redux-component, redux-react-local
It also makes mention of this.setState().
There is no mention of RTK, useSelector, or react hooks.
As a beginner, this is a very confusing page to come across via Google.
What should be changed to fix the problem?
Ideally - it should be updated. If not - it should be marked as depreciated or removed.

Yeah, I wrote the original FAQ page back in 2016, and most of it hasn't been updated since then. Unfortunately, I'm busy enough that I haven't had time to go through and clean it up.  Sorry!
The general principles in the FAQ are still 100% valid, but agreed that some of the specific bits of advice and links are out of date.
If anyone else would like to help sweep through the FAQ entries and update things, I'd really appreciate it!

Looking into this issue


removing order metadata

(insert scope and description here)
Items:

[X] Ran test & live-tests
[ ] Implemented (new) unit tests
[ ] Removed credentials
[ ] Removed argument pointing to staging
[ ] Updated documentation

For release:

[ ] Bumped version
[ ] Added changelog
[ ] Updated announcement banner

Can also be removed from test fixtures


Add tetuBal to allowlist

Description
Please include a summary of the change and if relevant which issue is fixed. Please also include relevant motivation and context.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[x] Other

How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Visual context
Please provide any relevant visual context for UI changes or additions. This could be static screenshots or a loom screencast.
Checklist:

[x] I have performed a self-review of my own code
[x] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[ ] If package-lock.json has changes, it was intentional.
[x] The base of this PR is master if hotfix, develop if not

@AlehNat could you give some context on this pool and where the decision was made to add it? Also could you verify the contract on Polygonscan: https://polygonscan.com/address/0xd9a6efb07ff8cc69bcb20a0c2229486e949c2270

@AlehNat could you give some context on this pool and where the decision was made to add it? Also could you verify the contract on Polygonscan: https://polygonscan.com/address/0xd9a6efb07ff8cc69bcb20a0c2229486e949c2270

Hello @timjrobinson Thanks for the feedback. I have used nearly deployed stable pool factory and it seems new version of stable pool is not verified. This pool was added in the scope of tetu-balancer collaboration. Alan is aware of it.

@AlehNat please refer to this for verification
https://dev.balancer.fi/resources/deploy-pools-from-factory/verification

@AlehNat one more thing, you might want to recreate the pool setting it's owner to be the delegate owner 0xBA1BA1ba1BA1bA1bA1Ba1BA1ba1BA1bA1ba1ba1B
Otherwise you might have trouble approving a gauge for this pool. As per the new gauge requirements:

For each gauge, the underlying pool's owner must be set to Balancer Governance. If this is not the case, a very good reason must be presented in the gauge proposal

@AlehNat one more thing, you might want to recreate the pool setting it's owner to be the delegate owner 0xBA1BA1ba1BA1bA1bA1Ba1BA1ba1BA1bA1ba1ba1B
Otherwise you might have trouble approving a gauge for this pool. As per the new gauge requirements:

For each gauge, the underlying pool's owner must be set to Balancer Governance. If this is not the case, a very good reason must be presented in the gauge proposal

Thx for the info, I am going to recreate the pool


Rework settings/general

no issue

new settings/general styles
colour updates
update settings/general acceptance tests to use ember-test-selectors
implement accordion toggles for settings sections

Coverage remained the same at 75.126% when pulling c5522b6a7f5a55720b69ed50b0c47658469fe07a on kevinansfield:settings-general-plus into 15f92b2c35a0a0b0dafb7f0d84f6eaf77d4cd655 on TryGhost:master.

Coverage remained the same at 75.126% when pulling 5b335611bdbb8564f22dd84a603cc5b67dc4b554 on kevinansfield:settings-general-plus into ad2193b1e2c783731d1ba9b0b1043ba0d00e5c86 on TryGhost:master.


(195) Update confirmation page

Change the copy and remove the reference number.
We do not want to confuse a user with incorrect information or data we
cannot provide in the MVP.

 Update the confirmation page


feat(docker) Adds a cloudbuild file to publish the docker image

This adds a new cloudbuild file to create the docker image and publish it on the public repo.
Specifically:

It does not remove the old cloudbuild so we can merge the new one for the public repo, have the first image published and, once that is verified to work properly remove the old one. During this process it is desirable to preserve the old file in a functioning state to be able to apply a fix and do a deployment if needed.
It adds a docker compose file to let cloudbuild run the unit tests before publishing the image.

It now works: https://console.cloud.google.com/cloud-build/builds/d361cbdf-9bf1-4c6c-9eb5-789d3126ab54?project=sentryio
Also removed the build step of the cdc image from the e2e test. Now it uses the same image we are going to push to the registry even to execute the test script.


crash at self.selectionDelegate didDeselectItemAtIndex:

New issue checklist
new to check delgate method exist first, because it's optional.

[ ] I have reviewed the README and documentation
[ ] I have searched existing issues and this is not a duplicate

General information

IGListKit version:
iOS version(s):
CocoaPods/Carthage version:
Xcode version:
Devices/Simulators affected:
Reproducible in the demo project? (Yes/No):
Related issues:

Debug information
# Please include debug logs using the following lldb command:
po [IGListDebugger dump]

@mahomealex can you provide more detail? At the very least we need a stack trace.

@rnystrom do we check respondsToSelector: for this method?

@jessesquires actually for the binding SC we don't:
https://github.com/Instagram/IGListKit/blob/6540f960e2e69bd4776e1e1d8c460ff812ba4c07/Source/IGListBindingSectionController.m#L127
For IGListSectionController it doesn't matter since it's in the base class.
Should we fix and push 3.1.1 for this? Kind of bad.

ooof. @rnystrom yeah let's push 3.1.1

Aight I'll PR the fix then follow up with cutting new version

@rnystrom Just subclass a SectionController and set ListBindingSectionControllerSelectionDelegate.
Since It's optional, means does't need to implement, so base class have to check first.
Btw, will IGList provide a waterFall extension with different ratio and column count? I have write one in swift, it's necessary and not that easy.


HiveSQL support  missing alter syntax

Some syntax about Alter in hivesql is not supportted.
Refer to doc Alter Either Table or Partition.

Supplementary: IGNORE PROTECTION is not support for Alter drop Partition

Supplementary: SHOW INDEX is not supported

Supplementary: IGNORE PROTECTION is not support for Alter drop Partition

IGNORE PROTECTION is no longer available in versions 2.0.0 and later.


Error using instagram_locations

I tried to use the python library to get locations but I got this error :
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
This is my code :
Python version 3.8.2
from instagram_locations import instagram_locations
instagram_locations.get_instagram_locations(lat=40.7128, lng=-74.0060, cookie="COOKIE" )

My bad I was using the wrong 'cookie' from instagram developer window.
After following the tutorial on the page it worked perfectly 👍


javax.annotation,version=[3.0,4) -- Cannot be resolved

Hi, I'm working with Archetype 13 and AEM 6.4 version. When deploying the snapshot I got the next error. Do anyone know if I need to add some other dependency to my mvn project?

This is most probably only an issue with Java9. Please try starting AEM with Java8.

I'm using Java 8, The initial issue was that an issue with core components because internal.utils was not resolved by AEM.
I reviewed the model provided by adobe and I saw that I "javax.annotation.Nonnull" was not able.
So I checked this post  ant tried to add the next  lines https://stackoverflow.com/questions/19030954/cant-find-nullable-inside-javax-annotation
But then the issue came again.

https://github.com/Adobe-Marketing-Cloud/aem-project-archetype/issues/59

Hi, I'm also facing same issue. I'm working with Archetype 15 and AEM 6.4 version. When deploying the snapshot I got this error

. Do anyone know if I need to add some other dependency to my mvn project?

sling api resource issue gets resolved by installing latest service pack - 6.4.4
and for javax.annotation
Update the bnd CDATA part and add - Import-Package:javax.annotation;version=0.0.0,*;provide:=false


Addition to 3DS too ?

Awesome system for GB GBC GBA and NDS. What about 3DS as well ? All at once in one emulator will be awesome!

Hello ? I left message here on June 9. Thank you.

3DS is a ton of effort so even if such a project was started it would take years until it reaches a playable state


Add ChartLimitLine to highlight limits in axis x/y

The ChartLimitLine would allow to display an additional line in the chart that marks a certain maximum / limit on the specified axis (x- or y-axis).
Apart of the vars described in (https://github.com/danielgindi/Charts/blob/master/Source/Charts/Components/ChartLimitLine.swift), I would add an additional one for the label text orientation.
Inspired by: https://github.com/danielgindi/Charts/blob/master/Source/Charts/Components/ChartLimitLine.swift

@isgarlo thanks for sharing your idea! Could you send a screenshot explaining better this feature? I'm not sure I understand what you mean.


[BUG]: "HTML Script Tag Embed Code" cannot be copied

How are you running AnythingLLM?
Docker (local)
What happened?
In order to be able to use the Chat Embed Widget on my WordPress Site, after creating a Workspace a window pops up where the HTML Script Tag Embed Code can be copied in order to integrate it on a website. Even though there is a expicitly a copy button there, the code cannot be copied in my docker version AnythingLLM. I re-installed it and restarted many times, but this seems in my case to be a bug
Are there known steps to reproduce?
See my previos comment

You browser does not have window clipboard support and/or permission issue on insecure content if AnythingLLM is running on http:
https://github.com/Mintplex-Labs/anything-llm/issues/1136

Thanks for quick response. I could solve the problem by making Anythingllm docker via reverse proxy (nginx) reachable from outside of local network. After the embed code got a non local address (domain name), the copy function worked.


Header / Navbar

Deliverables

Add Navbar Component
Each Button/Link has a hover effect.
Logo Assets/GS_logo_black (1).png

Sample

Additional context

Tech/Framework:- React Js

hi, I am Godwin, I will be so glad to work to this issue

@codewithvk Can I work on this issue? I am GSSoC 2021 participant, plz.

@Godwindaniel10 Sure Go ahead!
@rutuja2229 You can look up some other issue :)

@codewithvk thanks, currently on it..

@codewithvk , there's an issue at hand , sorry this message is coming late .. I can't run the project on my local machine?       I am not a react dev tho,
I have tried googling ,on how to run It, but failed .I believe you should explain to me how to run on local machine ☑

@Godwindaniel10 No problem with this I will explain you.
First, your system needs to install nodejs and npm(Node package manager). So you can google it according to your Operating system and download it.

After clone this repo on your local machine
https://github.com/Godwindaniel10/Girscript-Community-Website.git
write command cd Girscript-Community-Website/frontend/
then write command npm install. if you find any error in this step then make sure you check your system has node and npm.
run command npm start and you can see output on http://localhost:3000/

If you still find any difficulty then let me know.

well successfully run the browser. but this what I got.

@Godwindaniel10 Yap that's show your code run successfully.

ok great

Good day, I ran into an issue again, after adding the navbar components, coded and styled the navbar, then I got this error message which I have tried all my possible best to fix it, but nothing...

@RituCs I am already working on the issue but am stuck.
@codewithvk I will like you to assign this to @rutuja2229 or @RituCs .   Thank you 😊, so grateful to atleast be part of this conversation 👍👍👍

@rutuja2229 do you wanna work on this issue?

@codewithvk i would like to work on this issue. Please assign me.

@rutuja2229 do you wanna work on this issue?
@codewithvk I am working on #58  I will try to make PR on that issue and try to switch on this today itself.

@shreyanshi16 go ahead!


Include speech in semantic tree

Make speech strings an attribute of the semantic tree XML structure to make it a browse-able structure on its own.

This has used internally for the tree visualisation. I've now exposed that for the xml structure and the json structure in PR #422


Invite people to contribute to repo by creating a modal

Current Behavior
There is no indication that our platform is open-source
Desired Behavior
Build a modal that displays discord links , GitHub links , inviting people to contribute to our repository

Thanks. I'll work on it


FR: Default "undefined" types for new vendor entries

Environment

Python version:  3.6
NetBox version:  2.4.4

Proposed Functionality
Default "undefined" or "to-be-defined" types for new device vendor entries.
Use Case
Most small businesses with a rack (or more), may have a mix of devices thrown together. It'd be more useful in these situations to be less verbose, and have default vendor types for use in these situations.
Database Changes
None
External Dependencies
None

The NetBox data model necessitates the definition of a device type before you can add a device.


hardcoded templateUrl paths === broken

In your ng2-spin-kit/app/spinner components, each component uses a hardcoded path such as: templateUrl: 'app/spinner/pulse/pulse.html'. This results in a not found for my project and I'm sure for most other projects. It's probably best to use a template: require('./filename.html') here

@ncfx Try 0.2.0 version ;)

@mrzepinski This issue is still occurring. Using templateUrl and styleUrl is probably not the best way to publish components as this causes issues with bundlers like webpack in my case.

@jhuntoo I merged your changes. Thanks. Try 0.3.0 version.

Thanks @mrzepinski. I forgot to require the css as well! I'll submit another PR!

can someone push the latest to npm? thanks!

@ncfx It's done ;)

@ncfx Ping ;)


Add compare folders feature

I really like the vscode-compare-folders extension that was created by @moshfeu. It would be great if VsCode had a folder comparison feature directly integrated into the main program. such a feature would allow developers to select several folders and see the differences (files and code) between these folders.

This is a fair feature request, however we do not have it on our immediate plan. Thus assigning to backlog for now. Thanks


Error Domain

Describe the bug
As soon as starting typing in Error Domain, an error message shows up "SyntaxError: JSON.parse: expected property name or '}' at line 1 column 3 of the JSON data"

This is a feature not a bug. If the JSON is valid the error will go away.


Support new usergroups methods

Documented at: https://api.slack.com/methods#usergroups

Supported with new codegen.


Fixed broken link

What changes were proposed in this pull request?
I fixed some incorrect formatting on a link in the docs
How was this patch tested?
I looked at the markdown preview before and after, and the link was fixed
Before:

After:

Can one of the admins verify this patch?

Test build #3785 has started for PR 18246 at commit b0dd21e.

Test build #3785 has finished for PR 18246 at commit b0dd21e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master/2.2


Feature: support all data types listed in scalar_kind_t in index_dense

Describe what you are looking for
index_dense seems to only support these data types:
    add_result_t add(vector_key_t key, b1x8_t const* vector, std::size_t thread = any_thread(), bool force_vector_copy = true) { return add_(key, vector, thread, force_vector_copy, casts_.from_b1x8); }
    add_result_t add(vector_key_t key, i8_t const* vector, std::size_t thread = any_thread(), bool force_vector_copy = true) { return add_(key, vector, thread, force_vector_copy, casts_.from_i8); }
    add_result_t add(vector_key_t key, f16_t const* vector, std::size_t thread = any_thread(), bool force_vector_copy = true) { return add_(key, vector, thread, force_vector_copy, casts_.from_f16); }
    add_result_t add(vector_key_t key, f32_t const* vector, std::size_t thread = any_thread(), bool force_vector_copy = true) { return add_(key, vector, thread, force_vector_copy, casts_.from_f32); }
    add_result_t add(vector_key_t key, f64_t const* vector, std::size_t thread = any_thread(), bool force_vector_copy = true) { return add_(key, vector, thread, force_vector_copy, casts_.from_f64); }

The casts are instantiated only for these 5 types as well.
scalar_kind_t has much more than that:
enum class scalar_kind_t : std::uint8_t {
    unknown_k = 0,
    // Custom:
    b1x8_k = 1,
    u40_k = 2,
    uuid_k = 3,
    // Common:
    f64_k = 10,
    f32_k = 11,
    f16_k = 12,
    f8_k = 13,
    // Common Integral:
    u64_k = 14,
    u32_k = 15,
    u16_k = 16,
    u8_k = 17,
    i64_k = 20,
    i32_k = 21,
    i16_k = 22,
    i8_k = 23,
};

In particular, the SIFT1B dataset from http://corpus-texmex.irisa.fr/ seems to require unsigned char, and building a float-based index for that dataset seems wasteful.
If there is a good reason to only support those 5 data types, some documentation of the rationale would be great.
Can you contribute to the implementation?

[ ] I can contribute

Is your feature request specific to a certain interface?
C++ implementation
Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

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

Some of those, indeed, make sense, @mbautin! Implementing all of them sounds like a code-bloat. How about adding only u8 and bf16 to casts_punned_t?
I've just pushed a commit that refactors the code logic making it easier to extend an API. Feel free to open PRs 🤗


Using theano as backend

I have used tensorflow but the output is too laggy even after reducing the depth.
So how do we use theano to optimize the performance?

Please refer to Keras documentation for general usage of Keras framework.

What kind of CPU or GPU are you using? The program should be able to run using i5 cpu with moderate delay

My cpu has 12 gb ram

gpu has 8gb of ram.

it is taking a whole lot of time to do prediction and hence the video becomes laggy

How many second is needed in order to process one frame of video?

it takes around 3-4 seconds for each face...hence there is a delay of about 4-6 sec

Since your gpu has 8gb of ram, I guess your gpu is some equipment similar to gtx1060. I think the program should be able to run using tensorflow with gpu binding if you has such a hardware. Are you sure your tensorflow installation is successful?

yes it runs smoothly in gpu

the problem is with cpu... in cpu, it is slow

CPU is inapt in computing NN algorithm, so it is normal that the program run slow in CPU. Using theano can't improve the performance because using theano only reduce amount of GPU memory that would be occupied by the programme. Using theano would only be useful when your GPU is inadequate in running programme with theano, then Theano can help you squeeze out the last bit of power of the GPU.

What is your CPU? A dual core cpu?

it has i7 processor

how do deploy this code since it requires gpu ? i just want to deploy experimentally. Using aws and google cloud appears to be costly. Any other options to test for experimentation?

My computer only has an i5cpu and 4GB ram, but I think the fps is about 10-15 fps

okay thank you.. how do I deploy this because the traffic is high if it is in a crowded place? Im trying to experiment with it by deploying


[API] Double check of data set

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is not already reported in another issue

Describe the bug
Note: This is not the same issue that was mentioned before.
As today marks the third day after the first data set was published, today the framework should have been accessed 3 times (=3 data sets). But today it was accessed 6 times, so every data set was checked 2 times.
This is more just an information than a bug report, because I can't give any further input.

This alert was sent some hours before without any action before:

Hi, I have the same issue.

Hey @arnegns,
This does not look like you have the same issue. 3 checks yesterday are completely normal.

Okay then I don’t understand this. Why there are 3 checks with the same time? Three api calls? For each day a api call?

For every data set on check. So 3 days=3 data sets, and this means =3 API calls for the third day.

Allright. Thank you :)

Can someone explain, why every day the exposure keys of all (14) previous days have to be downloaded again?
Can´t they just be saved on the device? Or is this also part of data privacy?

Can someone explain, why every day the exposure keys of all (14) previous days have to be downloaded again?
Can´t they just be saved on the device? Or is this also part of data privacy?

They are only downloaded once and stored in a local database. For each day, we have two files: one .bin file which contains the keys and one .sig file that contains the signature of our server. Every 24 hours, we download the latest day, fetch all relevant files from the local db and then feed them into the framework. That's what you see in the system settings: All files that have been provided for a detection session. The API function is documented here.

I’m also experiencing this issue.
iPhone XR iOS 13.5.1
App Version 1.0.4
I also get an alert that exposure notifications may not be available in my region at least once a day. I’ll try to remember to take note of the time when it occurs next, and will look for or open an issue.

Since we could neither recreate nor experience this problem again, we'll close this issue. If the problem occurs again, please open a new, dedicated issue for that.


Color @usernames not working with 7tv

Describe your issue
if you install 7tv on chatterino it will not have color if you ''pong'' someone <!--
Write a brief description of your issue.

Examples:
- I cannot do X.
- I have trouble doing X.
- Feature X has stopped working for me.

Important:
    Focus on the problem instead of a concrete solution. This ensures that the focus of the thread is to resolve your issue.
    If you want to voice a concrete idea you can add a comment below after posting the issue.

-->
Screenshots

OS and Chatterino Version

Please fill in the issue template instead of mangling it.
Since this is a 7tv-specific error please submit an issue on their fork
If you give proper steps to reproduce this instead of "pong" and someone can confirm it happens in base chatterino we'll pick it up.

First of all, this has literally nothing to do with 7tv nor 7tv's Chatterino fork.
Second of all, this is a known issue which is occuring on regular Chatterino as well, duplicate of #2822


Make h2 default database to simplify installation

Wait, what was the idea here about having h2 a default db to simplify install of db2rest?
db2rest doesn't "need" a database to run itself, correct?
but if db2rest is to be useful it needs a db setup for a connection in order to serve as a gateway and provide API services, correct?
From this question, I think it would be great to document the actual requirements for db2rest to run.
I "think" the only requirements are:

2 GB RAM
Java 17 or greater
anything else?

So opening issue #283


Start alarm vibrating only before increasing volume

Is your feature request related to a problem? Please describe.
The lowest volume for the alarm on my phone is still quite loud and wakes up my partner and/or children.
Describe the solution you'd like
It would be ideal if there is a possibility to have "gradually increase volume" start at "no volume", with just vibration.
Use case
Example scenario:

I configure the alarm volume to be gradually increasing
I configure the alarm volume to increase every 30 seconds
I configure the alarm to vibrate
When the alarm is triggered, the phone just vibrates for 30 seconds, after that, the alarm sound is played at the lowest volume and the volume increases every 30 seconds

Describe alternatives you've considered
Use another app, but I don't want to, I like this one too much

The lowest volume for the alarm on my phone is still quite loud and wakes up my partner and/or children.

Strange that the volume is still loud, as on mine it's almost unnoticeable. So it's certainly related to your device model.
I'm afraid this request is really too specific to be implemented in the application.
I'm also afraid that if this request is accepted, other users will ask for other specific scenarios, and that could make a mess of the settings.
For the moment, I don't plan to work on that.
An alternative to consider is to set the volume to the lowest setting, set the gradual volume to 60 seconds and activate the vibrator.

It must be phone specific (motorola) indeed, because I did not have the issue on my previous phone.
I'll try to get around it with a custom sound file maybe, I'll see.
Thanks for the quick answer (and great app)


Support for 2D or 3D barcodes

Topic specifically mentions 1D barcodes. Is there any support for 2D or 3D barcodes? If so, perhaps links to those topics could be included here. If not, perhaps a note as to future availability could be included.
Thanks

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

ID: 32480258-f5bd-15ac-474e-47971b800d2e
Version Independent ID: 75dafb69-4482-ed6c-6e6e-eb799c4b7a25
Content: Barcode Fonts with Business Central Online - Business Central
Content Source: dev-itpro/developer/devenv-report-barcode-fonts.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Thanks for the feedback! Currently, only 1D fonts are provided. This may change in a future release or update, so keep an eye on the Business Central release plans.
The article has been updated to more clearly indicate that no 2D and 3D fonts are currently included. The updated article will be available soon.


Consider using std::size_t instead of size_t

There is a subtle difference between size_t and std::size_t.
Standard C types were imported into C++ and added to the std namespace. The standard guarantees the global C type (if it is defined) will match the corresponding std type. I've noticed the standard doesn't seem to require the types be available by default, but allows for #include of any standard library to define them.
As this is a C++ project, it might be better if we use std::size_t. We might also want to pay attention to any required header files. On cppreference.com, the size_t page lists a few headers that define the type. A common one I see listed for the type is <cstddef>.
I tried running the new version of Clang on the project, and it barfed all over the size_t types, saying they were undefined.

A related but slightly different matter, is I think we are using size_t more often than we should. For-loop variables can and probably should be declared with auto when possible, at least for the new style for-loops. We also have size_t in a few places where a fixed size type would be more appropriate.
I recommend we update the code to reduce the number of explicit uses of size_t, and change the type in a few instances where another type would be more suitable.
I also recommend we use std::size_t for the instances that remain.

MSVC seems quite happy with the current size_t code, but of course we need it to work on the Linux compiler as well. @DanRStevens, is the primary compiler we want to support for Linux builds Clang?
In the future, I'll use the cheat sheet below and make sure at least one of these headers is defined in a file when using size_t. If none of the headers are present, I'll use cstddef by default. (https://en.cppreference.com/w/cpp/types/size_t):

header
header
header
header
header
header

I'll start writing it as std::size_t.
I've typically steered away from using the auto keyword as I prefer seeing the actual type when reading code instead of trying to determine it in context (hovering and using the tooltip also works in Visual Studio). This seems to be a bit against standard practice so I'm game trying to use auto more, especially in range based loops.
I'm guessing that if the auto keyword resolves to size_t, one of the headers containing size_t must be present to satisfy the Clang compiler? I'm guessing since vector and array use size_t for their length, they also define size_t?
Thanks for pointing this out,
Brett

Edited your header list to use code blocks. Things in angle brackets don't display otherwise.
I used to like knowing the explicit type as well, though I've come to appreciate auto. Especially when the actual type is very long to type, or when you might change parameter types and don't want to have to change all the dependent types.
We should really try to use the new range based loops when possible now.
Correct about headers having already included size_t if auto resolves to it. In particular, auto resolves to the type of the expression it's being used with. For that expression to resolve to that type, that type must have been declared somewhere already.
In regards to vector and array, there is good reason to use auto:

When indexing C++ containers, such as std::string, std::vector, etc, the appropriate type is the member typedef size_type provided by such containers. It is usually defined as a synonym for std::size_t.

As for the Linux compiler, the default is g++. I've been noticing a bit of a trend towards Clang though. I've found Clang seems to be the strictest with compiler checks. If code satisfies Clang, there's a pretty good chance it will compile elsewhere. It also conveniently uses the same command line options as g++, so it's a pretty easy drop in replacement.


Background behavior

[ ] Check only on Current Active window
[ ] check for main monitor
[ ] Check for maximized window
[ ] add option for debugging

closed in favor of #14


fix: infinity recursive on drops page holder

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Context

[x] Fix drops page with type holder. Currently if you visit this page https://kodadot.xyz/ahp/drops/echo will be hang

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

interesting
Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 10.3 USD/DOT ~ 2.913 $DOT
🧗 1xjvRADwdJcnmUCLWerEHR4iGCT5EBTm4D4fzLLg4LcAC9p
🔗 0xb5ce1ebe67cd87b17c75a16257f6236e66effa4a682dfe9353fa8a9a187a8002
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


fix some unused parameters

Addresses part of https://github.com/arximboldi/immer/issues/137
PS Thanks for your work

Sorry for the late review of the code. I'd be happy to merge it once the issues in the comment is addressed and the conflicts resolved.


Add dismissLimits to Dismissible to limit the drag extent

Use case
Currently, the Dismissible widget can be swiped the complete width, completely hiding the swiped item.
Having the possiblity to set some kind of limit, similar to dismissThresholds but as a maximum, makes it possible to show the background widget while still seeing part of the to be dismissed item.
Proposal
Just like dismissThresholds, add something like a dismissLimits parameter where you can specify a maximum for each DismissDirection, which prevents the animition to go the full width but instead to a user chosen percentage.
In my case, you would only be able to swipe to about 20%, showing a delete icon in the background followed by a dialog to confirm the delete.

I think what you want can be achieved using this package
https://github.com/letsar/flutter_slidable. Please confirm if this matches your use case. 😄

I think what you want can be achieved using this package
https://github.com/letsar/flutter_slidable. Please confirm if this matches your use case. 😄

That might be but I would rather see such features in the official widget instead of forcing people to add another dependency to their projects. If Flutter didn't have a Dismissible widget already, then using an externel package should be okay.

They should definitely add support for fixed length slidable.

is there any workaround for this?

Any update ?


incorrect $tradeOwnerSteamId64 in check-items.php

I'm having a problem getting this running.  The bot is reporting Server deposit request failed, declining trade.
For some reason the $tradeOwnerSteamId64 is calculated incorrectly in check-items.php:
$depositorInventory = json_decode(file_get_contents("https://steamcommunity.com/profiles/$tradeOwnerSteamId64/inventory/json/730/2"), true);

Here's the url its converting to:
https://steamcommunity.com/profiles/7.6561198243301E+16/inventory/json/730/2

https://github.com/ztizzlegaming/CSGOWinBig/issues/18
Check closed issues next time.