Users should not be able to sign-up without admin approval

Describe the bug
One of our users located a recently introduced bug regarding user sign-up; users can sign up without admin approval, which is a security issue.
Affected Component(s)

[ ] Back-End (Node.js, Next.js)
[X] Front-End (React.js)
[ ] Theming (CSS, React theme)
[ ] Build System
[ ] Docs

To Reproduce
Steps to reproduce the behavior:
Running the latest version of ARTEMIS, sign-up a new user. You will be auto-redirected to the dashboard; however an admin should approve you first instead of this behavior!
Expected behavior
Admin should approve new users first.
Additional context
N/A

Essentially the default user role upon signup should be "pending", and they should not be redirected at the dashboard but at the pending page (the admin should approve them manually via the user management page which is the expected workflow).
Signup --> user becomes pending and is redirected to pending page --> admin manually approves --> then and only then the user has access.


Delete merged branches?

Issue checklist
Note: these are not necessarily requirements

[x] I have checked existing OPL issues for duplicates and found none @ http://psx-scene.com/forums/official-open-ps2-loader-forum/ & https://github.com/ifcaro/Open-PS2-Loader/issues

Issue description
On the branches page, the following merged branches are currently listed:

ps2rd-max-codes-250

BitBucket pull request
master branch commits:

e936c9a7f93b8a52976ef67f10880ce90d45d37e
2c2c64314a4ab4608759f45d1e9fd608b7cc9013

the-most-accurate-and-correct-translatio-1384761167035

BitBucket pull request
master branch commits:

2884a5f85fb2cb4557c1dc1229658f4d05294f2f
f6b2569e427097e16d02c21b9a065493b6cc8b65

Their changes were merged into the BitBucket incarnation of OPL's repository a few years ago, but the branches themselves were inadvertently brought into the repo upon getting merged. Their commits are currently present in the GitHub repo's master branch.
Since the extra branches no longer serve any meaningful purpose, would it be possible to delete them? Deleting them won't remove any of their merged commits from the master branch. So their changes will still remain intact.

Can someone do this? And also delete the El_Patas/lang_czechlng-deleted-1446596645251 branch? Assuming the remote repository name is "origin":
git push origin :ps2rd-max-codes-250
git push origin :El_Patas/lang_czechlng-deleted-1446596645251
git push origin :psx_core/the-most-accurate-and-correct-translatio-1384761167035

I would like to ask for that as well... On a side-note, there seem to be 'projects' which are also already part of the main-repo's master-branch.

@ElPatas1 I do not know of anybody else who has the authority here to do it, so could you please do this? Doing that would clean up something that needs to be done. Unless @ifcaro would like to do it himself.
These merged/stale branches are branches that have either been abandoned or merged into OPL, so there is no need to keep them around anymore.
You just need to access https://github.com/ifcaro/Open-PS2-Loader/branches and click on the red trashcan icon beside the "stale branches".

Done, i deleted the 3 branches, thank you very much :)


Set up GPU Environment.

Assuming I don't have a GPU environment, How can I set it up? I know how to set it up for other projects, But since it creates a new Environment using venv, How can I make this environment GPU compatible?

hi @ftk7810 , I ran the notebook Example Notebook, I was able to generate inference.
However it may take time to generate inference on CPU.
Add below two lines while importing bark.
`import os
os.environ["CUDA_VISIBLE_DEVICES"] = ""
os.environ["SUNO_USE_SMALL_MODELS"] = "1"
`
set CUDA_VISIBLE_DEVICES to empty string while executing this sets code not to use GPU while executing a job.
To set GPU again to run a job :
os.environ["CUDA_VISIBLE_DEVICES"] = "0".
Additionally for you can use smaller versions of BARK  by following.
import os os.environ["SUNO_OFFLOAD_CPU"] = "True" os.environ["SUNO_USE_SMALL_MODELS"] = "True"

hi @ftk7810 , I ran the notebook Example Notebook, I was able to generate inference. However it may take time to generate inference on CPU.
Add below two lines while importing bark. ` import os
os.environ["CUDA_VISIBLE_DEVICES"] = "" os.environ["SUNO_USE_SMALL_MODELS"] = "1" ` set CUDA_VISIBLE_DEVICES to empty string while executing this sets code not to use GPU while executing a job.
To set GPU again to run a job : os.environ["CUDA_VISIBLE_DEVICES"] = "0".
Additionally for you can use smaller versions of BARK by following. import os os.environ["SUNO_OFFLOAD_CPU"] = "True" os.environ["SUNO_USE_SMALL_MODELS"] = "True"

Oh wow I never knew I could control that using the enviroment variables, That's really useful, Thank you for your response, Great repo btw I love it.


Error Formatting

https://github.com/gitmachtl/scripts/blob/f99e99e5b3aecb7429b1c3034c7cb9c99dce434b/cardano/mainnet/05a_genStakepoolCert.sh#L173
Says 64 chars, but its checking for 250.

thx for that, yes it is a typo, the 64chars is incorrect. the check against 250 chars is correct. will be fixed in the next update.

Actually i have to research again, there are currently a few different specifications floating around, let me check it.

ok, so the max. number of chars for the description is actually 255. and the url of the stakepool homepage is not limited at all. this is covered by the total size of the metadata json of 512 bytes in total. the value will be corrected from 250 to 255 in the next update.


Update quest.py

Added Fresh Start Button ( deletes all quest )

Added Fresh Start Button ( deletes all quest )


Nuxt3 bug: require is not defined in ES module scope, you can use import instead

Version
On the dev branch of this repo, latest version of nuxt
Steps to reproduce

Clone the supabase-module and goes to the dev branch
yarn, yarn build and yarn link
Go on the repo using the module, you can use pushupers
yarn then yarn link @larbish/supabase
yarn dev
Constat the error: require is not defined in ES module scope, you can use import instead

What is Expected?
No error, website loading normally.
What is actually happening?
The require statement is coming from cross-fetch  , dependency of supabase/supabase-js, itself used by the module.
Nuxt does not transpile it.
I already tried:
nuxt.options.build.transpile.push()  and  nuxt.options.vite = { optimizeDeps: { include: [] } }  for both cross-fetch and supabase/supabase-js but without success.

Hi. The issue is likely caused because using the linked package which is outside of node_modules and not being transpiled for CommonJS require.  Also made a test publish on @pi0/supabase and works well for pushupers repo both dev and prod.
Will improve Nuxt to replace cross-fetch with native (https://github.com/nuxt/framework/issues/3421) but probably not an issue to solve here.

Thanks @pi0 for the feedback. Even when using a published version, I still have an error on runtime: Uncaught SyntaxError: The requested module '/_nuxt/node_modules/cross-fetch/dist/browser-ponyfill.js?v=d0e09cad' does not provide an export named 'default' .

After a new attempt, adding cross-fetch to the optimiseDeps of vite fixes the problem: https://github.com/larbish/supabase-module/commit/66d0aa1e515dff3b43ed9903c48a033197749f96#diff-030fc083b2cbf5cf008cfc0c49bb4f1b8d97ac07f93a291d068d81b4d1416f70R106

any progress?

@zzxxiinn Yes it is fixed. However, this module is no more on my personal account, it has just been moved to the nuxt-community organization. You can now install it with yarn add --dev @nuxtjs/supabase and no more with @larbish/supabase. Documentation is ready: https://supabase.nuxtjs.org/setup

@larbish Thank you for your reply!


Add letter spacing support.

Can you add it to the defualt mjml definition too please ?

Added in default section.

@iRyusa thx

Hi, what about add support also to mj-button ?


Test OTEL collector in xdock

Resolves #2155
Signed-off-by: Pavol Loffay<EMAIL_ADDRESS>

The build is green. Can anybody re-review?


#18 cleaning

Removed hardcoded metadata.
I see str are quite messy right now, I think a separate issue would be nice to handle this. Or maybe str is something that should be written at the very end when more methods will be available?

Speaking of str - I agree - it requires cleaning. Create separate issue for that.

What about array_finalize method ?
When is it called ? Is it needed now ?
You can find some useful information here: http://docs.scipy.org/doc/numpy-1.10.1/user/basics.subclassing.html
I think few use cases of different methods of object creation in main method would help to clarify the picture - explicit constructor, view casting and new from template

Well I have already read this article you mentioned. I see array_finalize is used to copy extra information like metadata to an object that subclasses np.array.
Also I have already done it in new method and it works.
Should I remove metadata initialization from new and move it do array_finalize instead?
Could be useful if one wanted to create an object that sublacces curve somehow not by using explicit constructor but view casting or a template.

Before removing array_finalize, add some printouts to __new__ and __array_finalize__.
Then add few examples of creating objects with different methods, described in the article I've mentioned. Use explicit constructor, slicing and view. Check if it works with all comination of subclasses, i.e.:
c1 = Curve(...)
c1.view(np.ndarray)

c2 = Curve(...)
c2.view(Profile)

c2 = Profile(...)
c2[:1,2:]

OK array_finalize is necessary to provide good behavior of objects. I will rewrite this method.

Now I see why it was so important. I hope I did it well, just one question.
Since no extra data is added do a Curve to make it a profile, array_finalize of Profile and LateralProfile doesn't need this extra line (it is being copied on Curve level). Still if there is any other data added 'extra' to a Profile or LateralProfile - it will affect array_finalize method.
If you say it is done correctly I will remove unecessary comments I made for testing purpose.

Still some problems:
>>> from beprof import profile
>>> from beprof import curve
>>> c1 = curve.Curve( [[0,0],[1,1]], generator="sin")
>>> c1.view(profile.Profile)
Profile([[0, 0],
       [1, 1]])
>>> print(c1)
shape: (2, 2)
X : [0.000,1.000]
Y : [0.000000,1.000000]
Metadata : {'generator': 'sin'}
>>>
>>> p1 = c1.view(profile.Profile)
>>> print(p1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/grzanka/tmp/beprof/beprof/profile.py", line 123, in __str__
    ret = super().__str__()
  File "/home/grzanka/tmp/beprof/beprof/curve.py", line 154, in __str__
    "\nMetadata : " + str(self.metadata)
AttributeError: 'Profile' object has no attribute 'metadata'

Trying to answer your question - the best would be to draw a diagram how __new__ methods are called and try to do the printouts as you did in __array_finalize__

I don't know why but I didn't consider one could view curve as a profile. So now it is possible, and required the same line in every array_finalize method.
Again, if it works OK I will remove unecessary 'prints' so that you can close and merge.

Anything to do here?

It is OK, I will merge it later

Merged

I am not sure if it was merged correctly, can you update your branch with new master ?

I have some problems merging it. Can we leave it for tomorrow, when I can pose questions via Skype?
What is more all my branches need update now since grzanka-master was updated, and I am not really sure if I am doing it the correct way.

OK, lets postpone it. I also recommend to use PyCharm to solve conflicts in files (try to google it).

Ready to merge

Why the files are duplicated ? I see curve.py in main directory and also in beprof directory.
Complete mess now.

The goal of this PR was to remove hardocoded metadata. When I look on "Files changed" tab I don't see this has happened. Maybe your "rm" commits removed it ?

This is suprising, but hardcoded metadata has been removed anyway. Maybe It was removed "by mistake" in other pull request you already merged? A terrible mess with this repo, but now I know how to work with it.


[hotfix] Restore Java Walkthrough

Since there isn't time to add a new Java walkthrough before the release, this commit restores the previous java walkthrough. This commit should be backported to release-2.0.

cc @igalshilman

LGTM! Merging ...


underlay standalone

for clusterip , need to do some configuration:
(1) kube proxy , masquerade-all
(2) cilium  , kubeproxy-replacement

@cyclinder

It will be finished in https://github.com/spidernet-io/spiderpool/pull/2441

#2441 has been completed and we will close this issue.


Seeder hangs up

Hi,
after running adonis seed it hangs up until quitting manually by press CMD+C.
I checked opened Node.js listeners which can prevent from exiting, but their amount is the same as in migration command, so I don't think so it is the problem.
Proposal solution is to add:
process.exit(0)
to the handle method in commands/Seed.js.
Forked:
https://github.com/hevelius/adonis-lucid/commit/11dd03baffc8ca7789027b076dbddacb482ff081

Ok, checked it and you're right. Thanks


EzXML vs LightXML

Here are some benchmarks for the two XML parsers:
using LightXML

function foo(filename, varname)
   fid = open(filename, "r")
   # First 8 bytes indicate big-endian or else
   endian_offset = 8
   seek(fid, endian_offset)
   # Obtain the offset of the XML file
   offset = read(fid, UInt64)
   seek(fid, offset)
   footer = read(fid, String) |> parse_string |> root

   arraysize, datasize, datatype, vectorsize, variable_offset = 0, 0, "", 0, 0
   isFound = false

   for varinfo in footer["VARIABLE"]
      if attribute(varinfo, "name") == String(varname)
         arraysize = parse(Int, attribute(varinfo, "arraysize"))
         datasize = parse(Int, attribute(varinfo, "datasize"))
         datatype = attribute(varinfo, "datatype")
         vectorsize = parse(Int, attribute(varinfo, "vectorsize"))
         variable_offset = parse(Int, content(varinfo))
         isFound = true
         break
      end
   end

   close(fid)

   return variable_offset, arraysize, datasize, vectorsize
end

filename = "bulk.0000000.vlsv"

@time foo(filename, "proton/vg_rho")

# Load the package.
using EzXML

function foo2(filename, name)
   fid = open(filename, "r")
   # First 8 bytes indicate big-endian or else
   endian_offset = 8
   seek(fid, endian_offset)
   # Obtain the offset of the XML file
   offset = read(fid, UInt64)
   seek(fid, offset)
   footer = read(fid, String) |> parsexml |> root

   arraysize, datasize, datatype, vectorsize, variable_offset = 0, 0, "", 0, 0
   isFound = false

   vars = findall("//VARIABLE", footer)
   for var in vars
      if var["name"] == String(name)
         arraysize = parse(Int, var["arraysize"])
         datasize = parse(Int, var["datasize"])
         datatype = var["datatype"]
         vectorsize = parse(Int, var["vectorsize"])
         variable_offset = parse(Int, nodecontent(var))
         isFound = true
         break
      end
   end

   close(fid)

   return variable_offset, arraysize, datasize, vectorsize
end

filename = "bulk.0000000.vlsv"

@time foo2(filename, "proton/vg_rho")

LightXML:
julia> include("test_lightxml.jl") # 1st execution
  0.084423 seconds (117.03 k allocations: 7.140 MiB, 9.33% gc time, 99.62% compilation time)
(124784, 312, 8, 1)

julia> @time foo(filename, "proton/vg_rho")
  0.000295 seconds (180 allocations: 18.047 KiB)
(124784, 312, 8, 1)

julia> @btime foo(filename, "proton/vg_rho")
  102.765 μs (180 allocations: 18.05 KiB)
(124784, 312, 8, 1)

EzXML:
julia> include("test_ezxml.jl") # 1st execution
  0.274732 seconds (723.06 k allocations: 42.738 MiB, 2.76% gc time, 99.89% compilation time)
(124784, 312, 8, 1)

julia> @time foo2(filename, "proton/vg_rho")
  0.000387 seconds (39 allocations: 8.516 KiB)
(124784, 312, 8, 1)

julia> @btime foo2(filename, "proton/vg_rho")
  96.936 μs (39 allocations: 8.52 KiB)
(124784, 312, 8, 1)

LightXML is faster to load.
EzXML consumes less memory.
On average ExXML is faster.

With preset benchmarks:
Current v0.7.9 with LightXML
| ID                         | time            | GC time | memory          | allocations |
|----------------------------|----------------:|--------:|----------------:|------------:|
| `["VTK", "AMR"]`           |  37.208 ms (5%) |         |  11.37 MiB (1%) |      289302 |
| `["read", "DCCRG"]`        |  29.521 μs (5%) |         | 133.81 KiB (1%) |         178 |
| `["read", "DCCRG_select"]` |  14.529 ms (5%) |         |   1.12 MiB (1%) |       36151 |
| `["read", "FG"]`           | 372.201 μs (5%) |         | 437.69 KiB (1%) |        4528 |
| `["read", "VDF"]`          | 339.971 μs (5%) |         |   1.51 MiB (1%) |         631 |
| `["read", "meta"]`         | 500.545 μs (5%) |         | 399.42 KiB (1%) |        3752 |

Replaced with EzXML:
| ID                         | time            | GC time | memory          | allocations |
|----------------------------|----------------:|--------:|----------------:|------------:|
| `["VTK", "AMR"]`           |  42.302 ms (5%) |         |  11.28 MiB (1%) |      287824 |
| `["read", "DCCRG"]`        |  35.741 μs (5%) |         | 124.12 KiB (1%) |          27 |
| `["read", "DCCRG_select"]` |  14.703 ms (5%) |         |   1.10 MiB (1%) |       35849 |
| `["read", "FG"]`           | 390.752 μs (5%) |         | 408.84 KiB (1%) |        4077 |
| `["read", "VDF"]`          | 374.052 μs (5%) |         |   1.47 MiB (1%) |          69 |
| `["read", "meta"]`         | 522.623 μs (5%) |         | 176.56 KiB (1%) |         304 |

I really have some doubts in the PkgBenchmark test suites. In any case, I create a simple script and run BenchmarkTools directly.

1st timing is about reading metadata;
2nd timing is about reading proton/vg_rho in sorted order
3rd timing is about reading proton/vg_rho in unsorted order

TL;DR:

EzXML takes longer to compile for the 1st time execution.
The speed difference is almost negligble.
 Note that Analysator 0.9 does not perform sorting in reading meta data, so a meaningful comparison should be made by adding the two numbers (meta load + var read) together.
filename: bulk.singleprecision.vlsv
read meta : 2139 [μs]
read DCCRG: 101  [μs]
filename: bulk.0000003.vlsv
read meta : 2314 [μs]
read DCCRG: 7703 [μs]
filename: bulk1.0001000.vlsv
read meta : 2455 [μs]
read DCCRG: 292 [ms]


Added Highcharts example to the Readme.md

I had forgotten to add the example to the Readme.md... sorry.

Thanks!


[web] Scrollbar creating exception by gesture library - (Reference: Scrollbar Fixes & Updates #70866)

Steps to Reproduce by using Flutter Web

Add a Scrollbar to the Scaffold Body using a ScrollController
Run app and when you move your mouse inside the body you received the error 'Exception caught by gesture library' (I have not added a Gesture widget)

Source Code:
ScrollController _scrollController = ScrollController();

body: Scrollbar(
  isAlwaysShown: true,
  thickness: 10.0,
  controller: _scrollController,
  child: SingleChildScrollView(
    controller: _scrollController,
    child: Form(
      key: _formStateKey,
      onChanged: _onFormChanged,
      onWillPop: _showSaveWarningDialog,
      child: Padding(
        padding: const EdgeInsets.all(16.0),
        child: DataEntryContainer(),
      ),
    ),
  ),
),

Expected results:
Should not get errors.
Actual results:
======== Exception caught by gesture library =======================================================
The following assertion was thrown while dispatching a pointer event:
Assertion failed: file:///C:/Users/marco/flutter/packages/flutter/lib/src/material/scrollbar.dart:246:12
!_isMobile
is not true

When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 231:49  throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 24:3    assertFailed
packages/flutter/src/material/scrollbar.dart 246:13                                                                        handleHover
packages/flutter/src/rendering/proxy_box.dart 2906:14                                                                      handleEvent
packages/flutter/src/gestures/binding.dart 361:14                                                                          dispatchEvent
...
Event: PointerHoverEvent#2b67a(position: Offset(608.0, 175.4))
  position: Offset(608.0, 175.4)
Target: RenderMouseRegion#213e7 relayoutBoundary=up23
  needs compositing
  parentData: <none> (can use size)
  constraints: BoxConstraints(0.0<=w<=540.0, 0.0<=h<=484.0)
  size: Size(540.0, 433.1)
  listeners: hover, exit
====================================================================================================

Logs

flutter run --verbose
[   +7 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:60705/devtools/browser/06b61ea9-f6c9-4d93-9ba8-aae8727c8d64
[+1504 ms] DwdsInjector: Received request for entrypoint at http://localhost:60671/main_module.bootstrap.js
[   +4 ms] MetadataProvider: Loading debug metadata...
[   +9 ms] MetadataProvider: Loaded debug metadata
[   +8 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:60671/main_module.bootstrap.js
[+5650 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:60751/FRb6Wc-JgjI=/ws

[  +10 ms] Debug service listening on ws://<IP_ADDRESS>:60751/FRb6Wc-JgjI=/ws
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[   +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ]   To hot restart changes while running, press "r" or "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[+11707 ms] LIST: 9
[+4298 ms] ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════
[   +2 ms] The following assertion was thrown while dispatching a pointer event:
[   +1 ms] Assertion failed:
[        ] file:///C:/Users/marco/flutter/packages/flutter/lib/src/material/scrollbar.dart:246:12
[        ] !_isMobile
[        ] is not true
[        ] When the exception was thrown, this was the stack:
[        ] C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 231:49  throw_
[        ] C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 24:3    assertFailed
[        ] packages/flutter/src/material/scrollbar.dart 246:13                                                                        handleHover
[        ] packages/flutter/src/rendering/proxy_box.dart 2906:14                                                                      handleEvent
[        ] packages/flutter/src/gestures/binding.dart 361:14                                                                          dispatchEvent
[   +1 ms] packages/flutter/src/rendering/binding.dart 279:11                                                                         dispatchEvent
[        ] packages/flutter/src/gestures/binding.dart 316:7                                                                           [_handlePointerEventImmediately]
[   +1 ms] packages/flutter/src/gestures/binding.dart 280:5                                                                           handlePointerEvent
[        ] packages/flutter/src/gestures/binding.dart 238:7                                                                           [_flushPointerEventQueue]
[        ] packages/flutter/src/gestures/binding.dart 221:32                                                                          [_handlePointerDataPacket]
[        ] C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 911:13            invoke1
[        ] C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 170:5             invokeOnPointerDataPacket
[   +2 ms] C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/pointer_binding.dart 128:39                [_onPointerData]
[        ] C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/pointer_binding.dart 552:16                <fn>
[        ] C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/pointer_binding.dart 506:21                <fn>
[        ] C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/pointer_binding.dart 214:16                <fn>
[        ] Event:
[        ]   PointerHoverEvent#4e217(position: Offset(766.9, 244.6))
[        ] Target:
[        ]   RenderMouseRegion#418b7 relayoutBoundary=up23 NEEDS-PAINT
[        ] ════════════════════════════════════════════════════════════════════════════════════════════════════
[

flutter doctor -v
NOTE: I am not testing Flutter Windows and Visual Studio is not installed. I am testing Flutter Web.
[√] Flutter (Channel master, 1.26.0-2.0.pre.103, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
    • Flutter version 1.26.0-2.0.pre.103 at C:\Users\marco\flutter
    • Framework revision 32741c0ec8 (17 hours ago), 2020-12-21 18:34:02 -0600
    • Engine revision af6889a600
    • Dart version 2.12.0 (build 2.12.0-169.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\marco\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\marco\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19042.685]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 87.0.664.66

! Doctor found issues in 1 category.

Thank you.

Hi @Sun3 thanks for reporting this!
Can you provide an executable code sample that reproduces this behavior?
I have run this on web and have not been able to reproduce the exception.

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.103, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-US)
    • Flutter version 1.26.0-2.0.pre.103 at /Users/katelovett/github/flutter
    • Framework revision 32741c0ec8 (18 hours ago), 2020-12-21 18:34:02 -0600
    • Engine revision af6889a600
    • Dart version 2.12.0 (build 2.12.0-169.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/katelovett/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C505
    ! CocoaPods 1.9.1 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your
        plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • Mac OS X 10.15.7 19H15
      darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  final ScrollController controller = ScrollController();
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('Scrollbar Demo')),
        body: Scrollbar(
          thickness: 10.0,
          isAlwaysShown: true,
          controller: controller,
          child: ListView.builder(
            controller: controller,
            itemCount: 100,
            itemBuilder: (context, i) => Container(child: Text('Item $i')),
          ),
        ),
      ),
    );
  }
}

Hi @Piinks,
I will create a sample project and upload it. The code I provided previously is in a dialog box.

@Piinks I have attached the sample project that reproduces the error.
Please look at the main.dart file, when you use the platform: TargetPlatform.iOS it causes the Scrollbar in the dialog to produce the errors when running the Web version. I personally like the iOS bounce. In the Flutter Beta channel, this works fine.
webproject.zip

@Piinks I have attached the sample project that reproduces the error.
By creating the sample project, I figured out what is causing the error. Please look at the main.dart file, when you use the platform: TargetPlatform.iOS it causes the Scrollbar in the dialog to produce the errors when running the Web version. I personally like the iOS bounce. In the Flutter Beta channel, this works fine.
webproject.zip

Thanks @Sun3! I have reproduced this. Much appreciated. :)
This demonstrates a really unique configuration. The app is running on web, on windows, but you have overridden the TargetPlatform to be iOS. 🤣
While we put a patch together, if it is just the bounce you are looking for, you can set the ScrollPhysics of your SingleChildScrollView to use BouncingScrollPhysics as a workaround.

🤣Yep, love that iOS bouncing effect too much.
Very true, I can set the ScrollPhysics on each widget, but I need to have the bounce effect app-wide with all of the scrolling widgets.
Thanks.

I also found this for setting ScrollPhysics app-wide: https://stackoverflow.com/questions/62809540/how-can-you-change-the-default-scrollphysics-in-flutter

Thanks for the article, with one small modification it works pretty good. :thumbsup:

Fix is in https://github.com/flutter/flutter/pull/72833 :)

Thank you so much, I appreciate it.


GTM killed: 9 on macos Ventura 13.0

I got in zsh
[1]    6993 killed     gtm
or in bash
killed: 9
Already tried reinstall command line tools, reinstall via brew with dependencies, the same result

same in bash

Same here...

Same ...


setup db to connect locally on dev and on vercel when production

So we setup the db with Prisma ORM so that we can communincate with our postgresql database the server is setup locally and cloud on vercel postgres and is setup on the prisma.tsx so that when the process is not on development it would automatically use the url for the vercel portgres :). but for development we're using the local host.
And not gonna lie MongoDB is looking pretty nicer whne it comes to the free tier.

Next pull is when you finish update the CRUD function for the website then setup the authentication as the final, that's all for the backend we continue implementing UI & UX best practice after this and finalize the design and make it responsive for mobile :')


Config: do not overwrite DB entries from env variables to allow backup import

If configuration environment variables are set we always use those instead of the data in the DB.
This is kinda important if env variables get changed.
but this is a problem when as a user I want to manually overwrite those within the app for example with a node import.
It is right now not possible to import a backup from a different backend than the one configured with the env variable.
I am not sure what's best. Should we not overwrite what's in the database already?
https://github.com/getAlby/hub/blob/master/config/config.go#L39-L72
If we use SetIgnore the data is set once but if it's present in the DB then it's ignored. If a user wants to use the env variables then the data directory needs to be deleted.

Fixed in https://github.com/getAlby/hub/pull/657


FileNotFoundError: Text Embedding File

TypeError: StableDiffusionPromptProcessor.spawn_func() takes 3 positional arguments but 4 were given
Traceback (most recent call last):
File "/content/4dfy/launch.py", line 178, in
main()
File "/content/4dfy/launch.py", line 107, in main
system: BaseSystem = threestudio.find(cfg.system_type)(
File "/content/4dfy/threestudio/systems/base.py", line 40, in init
self.configure()
File "/content/4dfy/threestudio/systems/fourdfy.py", line 41, in configure
self.prompt_processor_multi_view = threestudio.find(self.cfg.prompt_processor_type_multi_view)(
File "/content/4dfy/threestudio/utils/base.py", line 63, in init
self.configure(*args, **kwargs)
File "/content/4dfy/threestudio/models/prompt_processors/base.py", line 191, in configure
self.load_text_embeddings()
File "/content/4dfy/threestudio/models/prompt_processors/base.py", line 249, in load_text_embeddings
self.text_embeddings = self.load_from_cache(self.prompt)[None, ...]
File "/content/4dfy/threestudio/models/prompt_processors/base.py", line 267, in load_from_cache
raise FileNotFoundError(
FileNotFoundError: Text embedding file .threestudio_cache/text_embeddings/d49e7152f278161db225b1b3365c3628.pt for model stabilityai/stable-diffusion-2-1-base and prompt [a pig wearing a backpack] not found.

This is the error that I am encountering while running the model. I believe somebody was able to fix the error by changing something in the 4dfy/threestudio/models/prompt_processors/base.py file particularly in this block of code :'  if len(prompts_to_process) > 0:
if self.cfg.spawn:
ctx = mp.get_context("spawn")
subprocess = ctx.Process(
target=self.spawn_func,
args=(
self.cfg.pretrained_model_name_or_path,
prompts_to_process,
self._cache_dir,
self.cfg,
),
)
subprocess.start()
subprocess.join()
else:
self.spawn_func(
self.cfg.pretrained_model_name_or_path,
prompts_to_process,
self._cache_dir,
self.cfg,
)
cleanup()'
but I am yet to figure out how to fix this.

Hi,
Could it be that you had threestudio installed before? Did you do a clean installation?
Did you change anything? What stage is this?

Hi,
Could it be that you had threestudio installed before? Did you do a clean installation? Did you change anything? What stage is this?

No threestudio wasn't installed before. Everything was done in accordance to the readme file. No changes were made. This is for low memory configs for 24-48 GB GPU memory Stage 1

I also wanted to ask if there is any way we can generate videos that are longer than 8 seconds?

After changing the following block of code to address the previous error:
if len(prompts_to_process) > 0:
if self.cfg.spawn:
ctx = mp.get_context("spawn")
subprocess = ctx.Process(
target=self.spawn_func,
args=(
self.cfg.pretrained_model_name_or_path,
prompts_to_process,
self._cache_dir,
#self.cfg, #commenting this out
),
)
subprocess.start()
subprocess.join()
else:
self.spawn_func(
self.cfg.pretrained_model_name_or_path,
prompts_to_process,
self._cache_dir,
self.cfg,
)
cleanup()
This is the error that I encounter now:
Traceback (most recent call last):
File "/content/4dfy/launch.py", line 178, in
main()
File "/content/4dfy/launch.py", line 107, in main
system: BaseSystem = threestudio.find(cfg.system_type)(
File "/content/4dfy/threestudio/systems/base.py", line 40, in init
self.configure()
File "/content/4dfy/threestudio/systems/fourdfy.py", line 61, in configure
self.guidance_single_view = threestudio.find(self.cfg.guidance_type)(self.cfg.guidance)
File "/content/4dfy/threestudio/utils/base.py", line 82, in init
self.configure(*args, **kwargs)
File "/content/4dfy/threestudio/models/guidance/stable_diffusion_vsd_guidance.py", line 173, in configure
lora_attn_procs[name] = LoRAAttnProcessor(
TypeError: LoRAAttnProcessor.init() got an unexpected keyword argument 'hidden_size'

The first step might break the text embedding for video supervision in the last stage, but could also be fine as the guidance models might all use the same text embeddings.
For the second step it sounds like some wrong package of diffusers. Did you try different version of diffusers?

The first step might break the text embedding for video supervision in the last stage, but could also be fine as the guidance models might all use the same text embeddings.
For the second step it sounds like some wrong package of diffusers. Did you try different version of diffusers?

Hello, I wonder the specific version of diffusers


Change to return just id

In https://github.com/tracespace/pcb-stackup/issues/11 you asked for a suggestion, I would change it to output just the id and then have an object with the mapping to full names. The object could also include a map for output in different locales so: whatsThatGerber.fullName[locale][layerId]. Then again I am not sure I would ever make use of the full names at all. Where do you use them?

The reason I included an id and a human readable name is for purposes of a drop-down selection. For example, with svgerber, you upload a layer and select the layer type by the human readable name:
<select class="UploadList--SelectMenu UploadList--text">
  <option value="tcu">top copper</option>
  <option value="tsm">top soldermask</option>
  <option value="tss">top silkscreen</option>
  <option value="tsp">top solderpaste</option>
  <option value="bcu">bottom copper</option>
  <option value="bsm">bottom soldermask</option>
  <option value="bss">bottom silkscreen</option>
  <option value="bsp">bottom solderpaste</option>
  <option value="icu">inner copper</option>
  <option value="out">board outline</option>
  <option value="drw">gerber drawing</option>
  <option value="drl">drill hits</option>
</select>

I like the idea of a locale map! Maybe this?
whatsThatGerber('board-F_Cu.gbr') // returns 'tcu'
whatsThatGerber.name('tcu') // returns 'top copper'
whatsThatGerber.name('tcu', LOCALE) // returns whatever it's supposed to


Update SCRIPTS.md

Description
I have updated all the links in scripts.md file
Fixes #455
Have you read the Contributing Guidelines on Pull Requests?

[X] Yes
[ ] No

Type of change

[X] Documentation Update

Checklist:

[X]  My code follows the style guidelines(Clean Code) of this project
[X]  I have performed a self-review of my own code
[X]  I have commented on my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] My documentation follows Template for README.md
[X]  My changes generate no new warnings
[X]  I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@antrikshmisri  @tamanna-verma @santushtisharma10

@all-contributors please add @deephunt3r  for documentation


⚠ Quirk Club Argentina (SSR) has degraded performance

In 20afa57, Quirk Club Argentina (SSR) (https://quirkclub-dev.web.app/ssr-check) experienced degraded performance:

HTTP code: 500
Response time: 5214 ms

Resolved: Quirk Club Argentina (SSR) performance has improved in 98b4e26.


Introduced tests for MyProjects tab and minor fixes to MyProjects feature

Fixes include:

Make pagination work
Removecontact_id from My Projects URL and use session instead to prevent users  from masquerading as others

Closing pull request since changes are included in another diff.


Android TV / DPAD support?

First of all, thank you for such great package! I noticed that keyboard focus navigation & DPAD support is missing, is it planned?
I found that ExcludeFocus is used which prevents keyboard access https://github.com/zezo357/flutter_meedu_videoplayer/blob/4e5ef23d93b0655261f36b1ff98d4e71b0edae46/package/lib/src/widgets/meedu_video_player.dart#L90, is it intentional?
Thanks!

Yes, I ignore foucs for inner widgets (like buttons inside container)
And keyboard inputs are supported, I tested only on windows

thanks for the response. Actually I asked about a "standard" ability to perform focus activation through playback controls using keyboard tab, arrows/enter key: https://docs.flutter.dev/development/ui/advanced/focus. As I understand, currently ExcludeFocus widget prevents it. So on Android TV it is not possible to access UI through DPAD.

thanks for the response. Actually I asked about a "standard" ability to perform focus activation through playback controls using keyboard tab, arrows/enter key: https://docs.flutter.dev/development/ui/advanced/focus. As I understand, currently ExcludeFocus widget prevents it. So on Android TV it is not possible to access UI through DPAD.

Can you explain to me what does dpad does?
Also tabs should work on the video player as a whole not the controls inside it
I can make exclude foucs optional from controller, if the controls are the thing you need

DPAD just navigates through focusable widgets, it behaves almost similar to desktop keyboard. So if focus navigation using desktop keyboard will work fine, DPAD will work too.
On TVs players all controls usually focusable with Remote or DPAD.

Okay, I will make the exclude optional and you will have to disable it on your side when you need it

thank you for quick support!

can you test on flutter_meedu_videoplayer: ^4.0.9-dev.1

focus navigation is working on 4.0.9-dev.1, thank you for quick help!

fixed on 4.0.9


Update documentation with new ROM size

The Caliptra ROM size has increased from 32K -> 48K. But the spec (including diagrams) still has the old values. We should update this.

@andreslagarcavilla please confirm scope: update ROM (32KB) to ROM (48KB) in following figures:

Figure 2
Figure 5
Figure 9

If there are associated text updates to make, please list them.

Yes, those three are necessary changes to make

Also please use 48 KiB.


Check if caller is system contract

https://github.com/zeta-chain/zetachain/pull/111/files#diff-4e40fb5cd864eda628a9406e2177d78e8bba6849d70f0513af48cede2ab228ecR16

System contract checks have been added.


Game Mode

Description of the new feature / enhancement
Power Toys eliminates the ability to strafe in certain directions because it blocks the passthrough of e.g. W+A keystrokes.
A game mode that would recognize a game or be able to be turned on with a shortcut could be a way to eliminate this issue.
Basically, the game mode would recognize when a game is being played and disable all PowerToys that interfere with the movement in the game.
Scenario when this would be used?
When using apps and features that require multiple keys to be pressed at the same time.
Supporting information
Games that have issues when running simultaneously with PowerToys include Minecraft.

Hello and thanks for your message. You mention PowerToys, but can you narrow it down to a specific module? (My first guess would be Keyboard Manager, but please do check) /needinfo

Hey, it appears to be Quick Accent
------- Original Message -------
On Wednesday, October 19th, 2022 at 20:24, Jay @.***> wrote:

Hello and thanks for your message. You mention PowerToys, but can you narrow it down to a specific module? (My first guess would be Keyboard Manager, but please do check) /needinfo
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Advice is to turn off the module when gaming, and at least increase the delay setting.

/dup #21365


Import more covers

We need another source of covers, the vast majority of our games still don't have any covers.

Wikipedia? Generally the covers are pretty low resolution, unfortunately.
GiantBomb? Proprietary data license, not sure if we want to deal with that.
Twitch? Unofficial API, not sure how good the game coverage is compared to PCGamingWiki (plus there's not a great way to associate Wikidata IDs with Twitch games atm).
MobyGames? Maybe
Metacritic? Maybe

Probably MobyGames or Metacritic are the best options, since they'll have the widest selection of games and the URLs are already available via Wikidata. Will need to investigate whether either has an API.

MobyGames’ API docs are here, it looks like sample_cover is what we want. I’ll need to message Simon at MobyGames for permission to use the data.
I’ll also need to import MobyGames IDs from Wikidata.

I've imported the MobyGames IDs and started importing covers from MobyGames. It'll take another 28-ish hours before the import is done.

Import is done, and around 12700 games have covers now 🎉
That should be good enough for now.


Update bokeh restrictions on old versions of panel.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

cc @conda-forge/panel

FYI, the motivation for this PR is that the solver for rubin-env=5.0.0 is giving bokeh=3 and panel=0.10.3 because they are (according to the pins) compatible, but they actually aren't.  We can certainly force bokeh=2 (or panel=0.14) which will get compatible versions, but wanted to fix this upstream for everybody.

Where did the rest of the constraints come from?

Also, the version pins were chosen to match the lower pins.  For example if the pin was bokeh >=2.0 I thought the conservative choice would be to pin to bokeh >=2.0,<2.1.  I ran gen_patch_json.py locally to confirm that my updates were compatible with the original pins.

Interesting @erykoff thanks for starting to address that! This is biting Panel users more and more (and HoloViews/hvPlot users, as these tools depend on Panel).
I think we need to discuss more about it, one thing I'm concerned with is the possibility of these tighter pins to break old environments. We may need to put in more loose pins instead.

If you have any ideas what the max pins should be, please chime in.  I certainly don't have any knowledge of this, or ability to test.

@erykoff Really, really appreciate your efforts here. I double checked all the pins here and they look correct to me. Panel should have pinned Bokeh tightly from the very beginning but I was sufficiently aware of the lack of stability of the Bokeh.js APIs. Overall I'm in favor of merging this, the early versions of Panel may be more forgiving in their Bokeh.js compatibility because the number of JS models was so small which means the API surface is probably pretty small and forgiving. However early versions of Panel will also have had a pretty small userbase and all versions >0.7 or so really did require quite strict pins.
I'm +1 on merging this.

I'm +1 on merging this.

If the upstream author is fine with this let's merge! Thanks @philippjfr for the assessment and @erykoff for the PR.

This is a disaster. You cannot just rewrite metadata for old versions without doing a newer build. This breaks every solved environment.

@timkpaine thanks for chiming in. I was under the impression that metadata patches like this could be applied in cases where old versions were insufficiently pinned (which is the case here) and resulted in broken environments. I very much appreciate the concern about breaking old environments, however releasing new builds for all old versions with insufficient pins would be quite onerous in this case.

There were no patches for anything that already had an upper bound. Hopefully it didn’t break everything…

Thanks @erykoff, in that case we really only had two options. Kick off 21 new builds or what we did here.

Thanks @erykoff, in that case we really only had two options. Kick off 21 new builds or what we did here.

21 new builds that would not be equal b/c conda-forge's build system does not ensure build reproducibility. Do you had only 1 choice, what you did here ;-p
(Unless the metadata correction is not required. But reading the issue and this PR it seems that it was needed.)

Or do let's say 1-2 new builds for latest releases and leave 2 year old releases alone

Leaving the old releases alone makes them get installed with new bokeh which is the problem this is solving.

Or do let's say 1-2 new builds for latest releases and leave 2 year old releases alone.

That wouldn't solve the issue though because the solver would have simply gone back to the most recent release without an upper pin.

Or do let's say 1-2 new builds for latest releases and leave 2 year old releases alone.

That wouldn't solve the issue though because the solver would have simply gone back to the most recent release without an upper pin.

Exactly. That is why we ended up with the model of repodatapatches, to ensure correctness and recommend users that require absolute reproducibility to lock their envs with a lockfile. Which won't be affected by the patches.

That wouldn't solve the issue though because the solver would have simply gone back to the most recent release without an upper pin.

For people who don't specify a min version, which is the behavior you'd want if you didn't want to break people with old stuff. At the end of the day it's fine I guess, the lesson learned is follow this repo very closely as big changes get pushed to prod with little oversight, and don't trust that panel is ready for prime time. ¯_(ツ)_/¯

I can't argue If that's your takeaway. However, these patches are fixing mistakes with version pins that happened over two years ago, which is exactly what this patch system is meant to address.

As it may be tricky to generate a lockfile at this point (given the repodata has already changed on Anaconda.org), it is worth noting that one can download the unpatched repodata and use this repodata file locally.

We should probably add that to our docs too to help users figure out their alternatives.

As it may be tricky to generate a lockfile at this point (given the repodata has already changed on Anaconda.org), it is worth noting that one can download the unpatched repodata and use this repodata file locally.

I'll look into this. I pinned down to a hash/build version which unfortunately doesn't work anymore and breaks the env solving from then on.

FWIW conda list supports an --explicit flag, which creates a specification file that pins packages down to exact URLs. This might be another approach

FWIW conda list supports an --explicit flag, which creates a specification file that pins packages down to exact URLs. This might be another approach

This is great, is there a way to do this in a recipe? I use pin_depends: strict which isn't strict enough

Or maybe I can go and implement pin_depends: url for conda build

If you know that the pins here are too strict for a particular old panel (due to your tests) I think you can patch again in this repo. Certainly bokeh 3 won’t work!

If you know that the pins here are too strict for a particular old panel (due to your tests) I think you can patch again in this repo. Certainly bokeh 3 won’t work!

Anything other than undoing the changes will break me, I have assets that pin_depends: strict which resolved to a certain panel and bokeh. My only option is to regenerate. I was used to yanking as a breakage vector but this PR introduced a new, very widely scoped breakage vector (since yank usually is only new stuff, old stuff only for security issues usually).

I have assets that pin_depends: strict which resolved to a certain panel and bokeh

If it's not too much trouble, what versions did they resolve to? I'm guessing it's Bokeh 3.0.x and Panel 0.10.3, which is not a supported combination. I appreciate that's probably not a huge concern for you since you're already happy to drop Panel. If there is some mechanism that will not result in new users getting a broken set of packages but also maintains backwards compatibility for older solves I'd be very happy to put effort into making that happen.

big changes get pushed to prod pretty easily (I'm watching all changes now), and don't trust that panel is stable.

For clarity, Panel hasn't changed at all; the only thing that has happened is that Bokeh 3 includes breaking changes (hence moving from 2.x to 3 in semantic versioning), and is not compatible with any existing version of panel.  Updating the repodata accurately reflects this actual situation, and should not break any environment that actually works. If some environment had any current version of panel alongside bokeh 3, it was not an environment where panel could actually be used.


Re-Introducing dnsmasq option in ziti-edge-tunnel specially for OPENWRT supported devices

The following shall be done:

Re-introduced dnsmasq option
Fixed an issue where routes added for individual services weren’t getting deleted after removal of service from the endpoint/identity/edge-tunnel ip route table,
Fixed an issue where, removal of the files created in dnsmasq path (again they also weren’t deleted post removal of service from the endpoint/identity/edge-tunnel.
Then added support of creation of tun interface with any name (which isn’t available with openziti code). This is required for teltonika boxes as it tun interface creation and in past we have observed that they have create issues in the box.

Hi Sameer.
My apologies if there was some confusion.
I helped you along with the previous issue to get you going quickly, because you had the code most of the way there except for the one missing line, but I should have been more clear that we don't intend to re-add the dnsmasq options to ziti-edge-tunnel.
I was suggesting that we make a plan to go forward with current releases of ziti-edge-tunnel and learn how to configure dnsmasq so that it works with the new capabilities of the DNS resolver in ziti-edge-tunnel.

@dariuszSki I think you mentioned you've gotten set to work with dnsmasq on openwrt?

Yes, not fully vetted though since I have lost connection to my remote test bed. Will provided the details here if Sameer can test it. I also asked another customer to try it out and waiting for a reply back.

uci add_list<EMAIL_ADDRESS>uci set<EMAIL_ADDRESS>uci commit dhcp
/etc/init.d/dnsmasq restart
uci show |grep dns
...
dhcp.@dnsmasq[0]=dnsmasq
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS><EMAIL_ADDRESS>...

then ran the ziti-edge tunnel with u option
./ziti-edge-tunnel run -i identity.json -u <IP_ADDRESS>

In my testing, the client on the lan would be set to send dns request to GW IP of the Lan., i.e. net <IP_ADDRESS>/24, GW IP <IP_ADDRESS>. Requests would be sent to <IP_ADDRESS>, and then they should be forwarded to <IP_ADDRESS>.


Unable to create dictionary or edit key in version 1.2.0

Sorry that my PR caused this regression and thanks for the quick fix.

No worries 😀 I'm working on add UI tests in addition to the unit tests to prevent this in the future!


reposted content doesn't autoplay

Still loads related though!

It does autoplay sometimes...but I've noticed it won't if it's the first thing you try when going into the app . Once you play one, then others play.

Fixed.


[Question]: How does get_portfolio_history_for_account() works?

Question form pre-submit checklist.

[X] I have searched the existing issues to ensure there isn't already an issue about this question.
[X] My question has to do with the Python SDK and isn't a general question about the API. (If it is please open your issue here)
[X] My question isn't about how to do a specific algorithm or asking for trade advice (answers to these are outside the scope of this repo).

Question
Hi all,
I was trying to get the portfolio history of my account:
account_id = trading_client.get_account().id
data_pf = broker_client.get_portfolio_history_for_account(account_id)

..But somehow I receive:
``requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://broker-api.alpaca.markets/v2/trading/accounts/XXXXXXX-XXXXX-XXXXX-XXXX-XXXXXXXXXX/account/portfolio/history Could you pls advice what I'm doing wrong? All other things works smoothly.

Hi @alexanu
This get_portfolio_history_for_account method you are using is for the Broker API.
Right now, we don't support portfolio history for trading api because it is currently under a rework. Once portfolio history V2 is complete, we will create the corresponding method within the trading client.

what is the status for portfolio history on the trading api? Many thanks

@haxdds Any update on portfolio histoy V2?

@nickvertucci portfolio histoy V2 was rolled out for trading api.
Adding portfolio history into trading api client is in my backlog.


Email 514

Removing a space in the reservation password
Upgrading the error message to be more useful.

Also, I haven't been reviewing these, but seeing spelling mistakes... Take care of them in this PR or we can create a new one.
RETRIEVE:  "Are you sure you want to leave this page? You will not be able to retrive these details again" (this is when clicking go back to sign in)
Emails...
RECEIVED  "This email confirms we have recieved your request and a Representative is working on your case. This email confirms we have recieved your request and a Representative is working on your case."
DECISION: "A descision on the request usually takes 2-3 days from the date of this email."

Also, I haven't been reviewing these, but seeing spelling mistakes... Take care of them in this PR or we can create a new one.
RETRIEVE: "Are you sure you want to leave this page? You will not be able to retrive these details again" (this is when clicking go back to sign in)
Emails... RECEIVED "This email confirms we have recieved your request and a Representative is working on your case. This email confirms we have recieved your request and a Representative is working on your case."
DECISION: "A descision on the request usually takes 2-3 days from the date of this email."

Yeah... May as well fix those here.


Typo in function name

https://github.com/nathanrooy/simulated-annealing/blob/42eb34e761b76692882a3905ec2be48e19e8133e/simulated_annealing/sa.py#L77
This should be  self.update_t = self.cooling_exponential_m

Thanks @VivekThazhathattil!

Thanks @VivekThazhathattil!


Codeium stopped working behind a proxy

Codeium worked well at my workplace until recently.
Now it seems to periodically send requests (as seen in btop) but nothing happen in the editor.
There was an update of the proxy itself recently, but Codeium is the only software that stopped working.
Is there any way to get some logging to find the problem and eventually adapt the configuration it is the problem?

Codeium tries to auto-detect the proxy configuration. You may try manually setting HTTPS_PROXY/HTTP_PROXY environmental variables to override that and see if the behavior improves. What was the change in the proxy?

I had http variables set already, so it stoped working despite that.
I am not at work this week, so I won't be able to make more tests.

Hi,
I can now confirm that with all of HTTP_PROXY, HTTPS_PROXY, http_proxy and https_proxy set, Codeium still hang.
Initially, I only had the lowercase variants set and it worked well.
I also confirm that the config outside Codeium is working, as everything else (including curl) works as expected.
Does Codeium use a port that is not 80/443? That could be the reason, every port is blocked in my proxy except these two.

We should only be using those ports. Is it possible to access the codeium domain without the proxy?

Yes, it doesn't seem to be a problem:
$ curl https://api.codeium.com
{"message":"Hello World"}

Sounds like we should just avoid using the proxy. If you add the flag --detect_proxy=false to the args, does that work for you?
https://github.com/Exafunction/codeium.vim/blob/512acc2a0057f3f351674a7c2851651bf607fe8e/autoload/codeium/server.vim#L200-L207
If so, we can add a setting for that (the setting already exists in VS Code, so there's precedent).

Oh sorry, I misread your previous comment! No in my case I can't go around the proxy. If I disable it by reseting the https_proxy variable curl hangs.

Ok, I finally found the problem.
So checking the codeium#log#Logfile() file I realized there was something fishy.
For some reason curl going through the proxy even when requesting localhost.
I don't know if it's standard behavior or if it is the consequence of a bad configuration on my side, I am investing that now.
So for me the solution was to add '--noproxy', '*', to the list args in the function codeium#server#Request.


initialize from model on disk space

instead of training a model from scrach where the model is specified in a python file, we should also allow the user to give a torch dictionary on the disk representing a model to start with.

The user should be responsible for loading the weights in the custom python file implementation


[BEAM-9743] Fix TFRecordCodec to try harder to read/write

ReadableByteChannel/WritableByteChannel specifies that a single read/write request might be ignored, and read/write from 0 bytes to n bytes, where n is buffer.remaining(), even if there's more contents/space left in the channel.
A similar issue has been pointed out and dealt with once. https://issues.apache.org/jira/browse/BEAM-5412?jql=text ~ "tfrecord"
But the same issue can happen for header and footer as well, and when writing data.
I recently encountered this issue when trying to switch from GZIP compression to ZSTD compression.
Make it try harder to read/write header/footer/data.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ R: @lukecwik ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @lukecwik

retest this please


gha: enable kserve smoke test on main pushes and PRs

run kserve smoke test on all pushes on main/PRs
gha: merge kserve smoke test with docker compose smoke test workflow
gha: use https://github.com/dtrifiro/setup-kserve action to setup kind/kserve

/lgtm

/lgtm


Configure decks and note types gives error messages

Describe the bug
When I open the card type screen or click the maobi button in the card type screen Anki gives me an error message, asking me to turn off add-ons and identify which one is causing the problem. I determined it was maobi, since I don't get the error message on entering the card type screen when maobi is disabled. I tried disabling all my other add-ons to see if it was a compatibility issue between one of them, but it still gave me the error. I opened JCK maobi note type to see if it had the error too. It does not show the error message on opening card type screen, but if I click the maobi button, it gives the error.
Other things I've tried:

Using the example deck you provide. This works fine in learn/study mode
Adding to the example deck. This also works. This fails. The writing box never appears. It's as if the add-on doesn't exist.
Doing a custom study from the example deck. This fails the same as 2.

To Reproduce
Steps to reproduce the behavior:

Clone the JCK maobi note type
open the card screen

or

Open the JCK maobi card type screen
Click the maobi button

Error message
This is the error message that Anki gives:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.31 (13476503) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-08-28 16:22:48
Caught exception:
Traceback (most recent call last):
File "aqt\progress.py", line 43, in handler
File "aqt\clayout.py", line 468, in _renderPreview
File "aqt\gui_hooks.py", line 789, in call
File "C:\Users\Hannah\AppData\Roaming\Anki2\addons21\931477147\quiz.py", line 101, in maobi_hook
template_name = card.template()["name"]
File "anki\cards.py", line 155, in template
File "anki\cards.py", line 146, in note_type
File "anki\cards.py", line 142, in note
File "anki\collection.py", line 309, in getNote
File "anki\notes.py", line 37, in init
TypeError: 'NoneType' object is not subscriptable

Version: v0 5 0
OS: Windows 10

I can verify this also happens on OSX with Anki 2.1.32 when any card is opened for editing (even unrelated card types)

It looks like it is a bug in Anki itself, I opened a ticket in the Anki Forum for that. I will keep you updated. I can push an update that disables Maobi in the preview if you want but I cannot fix this erro by myself, it needs to be fixed in Anki.

@hajelo Should be fixed on AnkiWeb, please have a try.

The error is fixed! Thank you!


[Bug]in mongodb datasource while creating a db query for find documents we are able to add {}abcd in the query and run the query successfully

Description
[What happened]In Mongodb->For Query ->After double curly brackets the user is allowed enter any text and when user run it it should throw an error response
Steps
1.Create a mongo db Datasource
2.create a new query
3.Select command as fins documents
4.In query type {}abcd
5.click on run
6.verify the display
Actual result : the query run successfully without an error
https://drive.google.com/file/d/1Yeo3YqhQd3aAl9LZ9WWlW7f1BGYob0ye/view
Important Details
Version: [Cloud ]
OS: Windows
Browser Chrome
Environment Production

This is correct and expected behaviour. This is equivalent of not adding any conditions and just fetching all the data in the table/collection


[TIR] SplitHostDevice, handle subroutines

This PR refactors SplitHostDevice into three separate transformations.  Previously, SplitHostDevice would replace device regions with a builtin::tvm_call_packed() node to replace the extracted region.  After this PR, this process is performed in three separate steps.

AnnotateDeviceRegion: Annotate the regions that should be executed on another target.
SplitHostDevice: Extract the annotated region into an independent PrimFunc, with a GlobalVar to represent the call from into the new subroutine.
LowerDeviceKernelLaunch: For any subroutine call where the caller and callee are on different devices, replace with a device kernel launch.

This PR is a subset of the functionality in https://github.com/apache/tvm/pull/14862.  As that PR has grown to a difficult-to-review size, I'm carving off independent chunks of it into separate PRs, after which #14862 can be rebased to a more manageable size.
In addition, this PR depends on https://github.com/apache/tvm/pull/14915 for the new unit tests, and should be rebased onto main after #14915 lands.

(Merged https://github.com/apache/tvm/pull/14950 into this PR to allow CI to run.  No conflicts expected after CI, so github's squash/merge will remove it from the final commit.)

there seems to be a regression caused by this PR, please look into it

Found the issue.  It was a combination of this PR and #14945, which is why it wasn't caught by CI.  A full description of the issue, and a bugfix, are in PR #14982.

A note that we should revisit some of the assumptions https://github.com/apache/tvm/issues/16237


Connect explorer with middleware

closed with https://github.com/stackql/stackql-playground/pull/15


refactoring: replace a byte.Buffer with a byte slice

This change also removes length member with the len of the slice.
This slightly make the audio decoding performance worse, but I am not sure why.
goos: darwin
goarch: arm64
pkg: github.com/gen2brain/mpeg
               │   old.txt   │              new.txt               │
               │   sec/op    │   sec/op     vs base               │
DecodeVideo-12   76.90µ ± 1%   76.34µ ± 1%  -0.73% (p=0.024 n=10)
DecodeAudio-12   47.64µ ± 1%   49.36µ ± 2%  +3.62% (p=0.002 n=10)
RGBA-12          41.29µ ± 0%   40.53µ ± 0%  -1.83% (p=0.001 n=10)
geomean          53.28µ        53.45µ       +0.32%

               │  old.txt   │              new.txt              │
               │    B/op    │    B/op     vs base               │
DecodeVideo-12   76.00 ± 1%   75.00 ± 0%  -1.32% (p=0.008 n=10)
DecodeAudio-12   46.50 ± 1%   48.00 ± 2%  +3.23% (p=0.000 n=10)
RGBA-12          40.00 ± 2%   40.00 ± 0%       ~ (p=0.582 n=10)
geomean          52.09        52.41       +0.62%

               │   old.txt    │               new.txt               │
               │  allocs/op   │ allocs/op   vs base                 │
DecodeVideo-12   0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=10) ¹
DecodeAudio-12   0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=10) ¹
RGBA-12          0.000 ± 0%     0.000 ± 0%       ~ (p=1.000 n=10) ¹
geomean                     ²               +0.00%                ²
¹ all samples are equal
² summaries must be >0 to compute geomean

I remember I switched back and forth between byte slice and bytes.Buffer, I can't remember what was the difference and why bytes.Buffer is finally used.

From my intuition, the current byte.Buffer just adds overheads, but I might be wrong.

Merged, thanks.


Use new relay

[x] support for 1.4.0

https://github.com/HsuTing/generator-cat/commit/0a9eef5a042c6bf0295bef7044b883a4a69cc899
https://github.com/HsuTing/generator-cat/commit/ce4689a4380704776f61030f98a79f873fff60bd
https://github.com/HsuTing/generator-cat/commit/0c83bfbad4dfe07b024e5b08c9caf353255488e5
https://github.com/HsuTing/generator-cat/commit/2b975b0aba4ec93f292b887f6ceaad0bdc3c2489


WIP: Insert hyperlink to pages with incidence page

Codecov Report

Merging #151 into master will decrease coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   79.17%   78.95%   -0.22%
==========================================
  Files           4        4
  Lines         869      860       -9
==========================================
- Hits          688      679       -9
  Misses        181      181

Impacted Files
Coverage Δ

oscovida/oscovida.py
77.17% <0.00%> (-0.27%)
:arrow_down:

Continue to review full report at Codecov.

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

Addresses https://github.com/oscovida/oscovida/issues/143 (partly).

LGTM :+1:


update versions in readme

Signed-off-by: Zhenchi<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.354%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1568

Relevant Lines:
1795

💛  - Coveralls


Are empty entities (entities without components) automatically removed from the registry?

Couldn't find information about this anywhere. When I remove the last component from the entity, is the entity itself removed? Is there some sort of garbage collector? Or do I have to remove the empty entity manually?

You have to remove them manually.
The doc mentions "orphans" sometimes.
On Mon, Nov 4, 2019, 22:04 vokama<EMAIL_ADDRESS>wrote:

Couldn't find information about this anywhere. When I remove the last
component from the entity, is the entity itself removed? Is there some sort
of garbage collector? Or do I have to remove the empty entity manually?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/skypjack/entt/issues/355?email_source=notifications&email_token=ACF5UVXNU7U6PWT5CDFHD7LQSCE4LA5CNFSM4JIZPIP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HWW5CRQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACF5UVWHUYVX6YMRZPTAWSDQSCE4LANCNFSM4JIZPIPQ
.

When I remove the last component from the entity, is the entity itself removed?

No, it is not.

Is there some sort of garbage collector?

No but you can find orphans using registry::orphan.

Or do I have to remove the empty entity manually?

If you don't want to recycle it, yes, you can/should delete it explicitly.

Great, thank you!

You're welcome. I invite you to join the gitter channel if you've other questions. It's likely you'll get a faster answer from those present. :wink:


deleting a chat popup is not what it should be

also the text "delete" is shown when swiping instead of a icon

there is no design for this issue


Add clarifying note to ref two argument variant example

Description & motivation
I wanted to add a note to the example we provide for the two argument variant of the ref function, as I had a user attempting to use this with the full package name that includes the maintainer in the first argument (fivetran/stripe) rather than just the package name (stripe). Everything ran smoothly once they made this change.
Pre-release docs
Is this change related to an unreleased version of dbt?

[ ] Yes: please

update the base branch to next
add Changelog components: <Changelog>[New/Changed] in v0.x.0</Changelog>
add links to the "New and changed documentation" section of the latest Migration Guide

[X] No: please ensure the base branch is current
[ ] Unsure: we'll let you know!

hey @sophiad96 thanks so much for this and appreciate your patience! made a small tweak and merged this for you! 💪


App manifest v1.17 schema updates

Updates made in this PR to app manifest v1.17 schema:

Add localization support for sample prompt texts
Minor modifications to descriptions in the authorization node

@chu-tianshu Is this ready to merge?

@lindalu-MSFT Trying to get reviews from @AkJo and @juna-gupta as well


EndpointsResource returns duplicate entries

I notice that the endpoints resource returns duplicate entries after a given task has been recovered.   To reproduce, bring up a task to 'running' state, kill it, wait for the task to recover, then observe the output of /v1/endpoints.   You'll see something like this:
{
"mypod": {
  "direct": [
    "mypod-0-mytask.myframework.mesos:8080",
    "mypod-0-mytask.myframework.mesos:8080"
  ],
  "vip": "mypod.myframework.l4lb.thisdcos.directory:8080"
  }
}

Thank you for reporting this @EronWright. The issue has been fixed.


Setup testing infrastructure for Common

We have an directory "Common" where most of the common code across services lives.
There are no tests written for it.
To begin with, we need to set up testing infrastructure on common, which basically means we need to set up https://jestjs.io/ for this project.
Create a directory called "Tests" inside of "Common"
Set up jest https://jestjs.io/ testing framework for this project.
To begin with write tests for Common/Utils/UUID.ts
Make sure tests run when you run npm run test inside of Common
Set up GitHub Actions job for it and make sure they run on all branches except hotfix-*, release and staging-release. You can copy the workflow file from here: .github/skipped-workflows/test-saas.yaml
This PR should have that test job passing.

Fixed in https://github.com/OneUptime/oneuptime/pull/22


Increase some timeout configs.

Increase some timeout configs.

/release-note-none

/ok-to-test

/test pull-cloud-provider-azure-e2e


[Question] Examples on how to ask for permissions in bundled apps

I was trying to bundle an app that requires microphone permission.
In the development phase, it asks for permission via iTerm(terminal I'm using). But when I bundle the app, it doesn't ask for any permissions and fails to work, I tried to explicitly check and ask for the permission on app startup using PyObjC and pyobjc-framework-AVFoundation and following Apple docs with no luck so far.
Any examples on the same would be very helpful. TIA

Found the solution:
Adding this to setup.py fixed the issue, I was first trying to manually edit the Info.plist, just putting this here for others to find.
OPTIONS = {
    'plist': {
        'NSMicrophoneUsageDescription': 'Need microphone access for XYZ purpose',
    }
}

Closing this issue.


Deserializing 'Show Posts' arc fails with 'unresolved recipe'

NOTE: assigned to myself until I can make it easier to verify the necessary stores are constructed before attempting to instantiate the serialized recipe.
Steps to reproduce:

Login as Cletus’ Posts arc, with serialization and logging enabled:

https://polymerlabs.github.io/arcs-live/shell/apps/web/?user=-L8ZV2_gCxnL4SSz-16-&arc=-LGX-kGauBjx6xUwVvEJ&serial&log

Go to Dev Tools|Console set Custom levels to hide Info
See Warning|Error

Error: Cannot instantiate an unresolved recipe: recipe
map 'BOXED_posts' #BOXED_posts as handle1 // [Post {Number createdTimestamp, Text message, Text author, URL image, Number imageWidth, Number imageHeight, Text renderRecipe, Text renderParticleSpec, Text owner, Text arcKey, Number rank}]  // unresolved handle: unresolved type
handle1 as shown above is the problem. The type is unresolved but maybeEnsureType produces the type literal shown in the comment.

Fixed in #1654


How do I set a custom path to a specific kubeonfig file?

Describe your question
I am downloading a kubeconfig for a cluster to a specific location on the filesystem. How can I specify this path to chainsaw? If running in a POD, does chainsaw honor the $KUBECONFIG environment variable?
chainsaw version Version
v0.1.0
Additional context
No response

n/m. Looks like KUBECONFIG ENV var is honored. Closing..


R1.8

The release branches are managed by TensorFlow team member and does not need contribution from TF community. Closing this for now.


Add note about exercise for day 6

#when I type the letter 't', it takes it as a input and continues when the options given are 'yes' or 'no'
Do you want to do it again? Type 'yes' or 'no'
t
Type 'encode' to encode a text, or 'decode' to decode it.
s
Write the text.
----------ex2
Type 'encode' to encode a text, or 'decode' to decode it.
g
Write the text.
654
Type the shift number.
3
Your gd text is 654
Do you want to do it again? Type 'yes' or 'no'
g

only readme.md file exist

only readme.md file exist

Yes, sadly the exercise involved an external website with the code, and it is too advance to code it by ourselves at this time. It's like a free day!


[Linux] 1.2.0 crashes on startup, openjdk 14.0.2+12

Describe the bug
Java with the Client 1.2.0 crashes on startup on Majaro Linux. Fatal error.
JRE version: OpenJDK Runtime Environment (14.0.2+12) (build 14.0.2+12)
Java VM: OpenJDK 64-Bit Server VM (14.0.2+12, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)

Only one user reported this (BlackYps#2718 on discord).
1.1.9 works for him with Java 11.
To Reproduce
Start the client : )
Log or error message
This is the log file:
hs_err_pid18854.log
OS
Linux

It is working for me on Ubuntu btw with
openjdk 14.0.1 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7-Ubuntu-1ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0.1+7-Ubuntu-1ubuntu1, mixed mode, sharing)

this normally happens if u got 2 clients open on linux. Tell him to restart PC and try again. Btw @BlackYps contributes  to the client himself XD I know him

I have the same issue. Restarted pc and populates the error message:
java.lang.RuntimeException: Exception in Application init method 	at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:895) 	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195) 	at java.base/java.lang.Thread.run(Thread.java:832) Caused by: java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor 	at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:437) 	at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:419) 	at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:412) 	at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:269) 	at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:249) 	at org.springframework.boot.builder.SpringApplicationBuilder.createSpringApplication(SpringApplicationBuilder.java:104) 	at org.springframework.boot.builder.SpringApplicationBuilder.<init>(SpringApplicationBuilder.java:92) 	at com.faforever.client.FafClientApplication.init(FafClientApplication.java:94) 	at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:824) 	... 2 more Caused by: java.lang.IllegalArgumentException: class org.springframework.boot.cloud.CloudFoundryVcapEnvironmentPostProcessor is not assignable to interface org.springframework.context.ApplicationListener 	at org.springframework.util.Assert.assignableCheckFailed(Assert.java:673) 	at org.springframework.util.Assert.isAssignable(Assert.java:604) 	at org.springframework.util.Assert.isAssignable(Assert.java:635) 	at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:431) 	... 10 more
openjdk version "14.0.2" 2020-07-14 OpenJDK Runtime Environment (build 14.0.2+12-suse-1.2-x8664) OpenJDK 64-Bit Server VM (build 14.0.2+12-suse-1.2-x8664, mixed mode)

This is certainly not the same issue @tneo

Concerning theo's issue it says https://stackoverflow.com/questions/35844263/run-spring-boot-application-error-cannot-instantiate-interface-org-springframew we might have a version missmatch somewhere

@tneo are u even on linux?

Concerning theo's issue it says https://stackoverflow.com/questions/35844263/run-spring-boot-application-error-cannot-instantiate-interface-org-springframew we might have a version missmatch somewhere

Reading the build.gradle it seems like that is not the case tho.

If you are on windows @tneo reinstall it might be that there is some old file that is left over in an old version that tends to happen(which is sad but that is a problem of the installer which we can do little about)

I'm on Linux :-)
fafclient_1_2_0> uname -a Linux myOs 5.8.4-1-default #1 SMP Wed Aug 26 10:53:09 UTC 2020 (64fe492) x86_64 x86_64 x86_64 GNU/Linux
I was able to launch by extracting the tar file to a fresh location, whereas previously I just overwrote the 1.19 location.

that makes sense you know what must have heppend ;) old files were not deleted and there were old files with old version there...

I am sure BlackYPs had two clients opened at the same time

I only had one client open. I fixed the issue by using the OpenJDK Oracle build from the AUR instead.


[Task]: fix decimal not possible to enter in iOS

https://discord.com/channels/397872799483428865/996835547484004454/1014567879842218066

The decimal separator in keyboard is related to the user's locale.
The keyboard don't had decimal separator before adding the inputmode attribute in input element.
Don't know if it is possible to maintain numpad keyboard with a decimal separator that is not the default from the user's locale, maybe it would need native code
https://developer.apple.com/forums/thread/127722

I've tried to fix it without success 😢 seems it happens when you have a different region, in my case Argentina, with English defined as main OS language. Then I've changed the region to US and it works because the OS language is paired with the Webview language.
Maybe we could use the getLanguageTag() method from Capacitor Device plugin, but we should wait for the v4 update: https://capacitorjs.com/docs/apis/device#getlanguagetag
to get the region and deduce the decimal char from there.

As far as I can see the input component line 55 prevents the wrong decimal sign from being set, right? I don't know if this is the best workaround right now but I tested to set the right sign instead of nothing. I tried
value += decimalSeparator before the e.preventDefault() but something changes the input back to the opposite. Dot becomes comma and vice versa. Any ideas?

yes @paul-boegelsack maybe that could work, or to fix on JS side only. As iOS has only one decimal char to tap: , or . maybe we can detect the input char and set the decimalSeparator with that value

I've just read this https://github.com/iotaledger/firefly/issues/4393 💪
I think it's completely related with this task


Connection to server is not closed

It is necessary to add the following method to class SMBFS:
def __del__(self):
    if self._smb:
        self._smb.close()

Otherwise, the connection to the server is left opened until the server itself closes it by idle timeout (by default it is 15 minutes on Windows).
The Windows File Server rejects new connections if there are many idle connections with the following error:
smb.smb_structs.ProtocolError: Unknown status value (0xC00000D0) in SMB_COM_SESSION_SETUP_ANDX (with extended security)

Indeed, although self._smb should be closed in SMBFS.close and not in SMBFS.__del__. I'll release a patch soon.

Fixed in v0.2.4.

Thank you for adding the close() method.
I think, we still need the __del__() method as:
def __del__(self):
    self.close()

Otherwise, the client application has to call the close() method explicitly when it is done with file system object. In our application, SBMFS() object is destroyed automatically by garbage collector when nobody references it, but the socket connection is not garbage collected for some reason (probably, there are some cross-references between multiple objects).
P.S. It is not always convenient to use the context manager for life cycle management.


Zone rrset changelogs broken after #1507

PDA version
0.4.1
Python version
3.7
Steps to Reproduce
I'm using MySQL as a database in case this matters.

Enable DNSSec for a domain. A history entry with detail = NULL is created in the database.
When viewing the history of the domain, an exception occurs:[2023-05-10 11:13:07,472] [app.py:1450] ERROR - Exception on /domain/example.com/changelog [GET]
Traceback (most recent call last):
  File "/opt/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 1519, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 1517, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 1503, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/opt/powerdns-admin/flask/lib/python3.7/site-packages/flask_login/utils.py", line 290, in decorated_view
    return current_app.ensure_sync(func)(*args, **kwargs)
  File "/opt/powerdns-admin/powerdnsadmin/decorators.py", line 75, in decorated_function
    return f(*args, **kwargs)
  File "/opt/powerdns-admin/powerdnsadmin/decorators.py", line 48, in decorated_function
    return f(*args, **kwargs)
  File "/opt/powerdns-admin/powerdnsadmin/routes/domain.py", line 227, in changelog
    changes_set = extract_changelogs_from_history(histories)
  File "/opt/powerdns-admin/powerdnsadmin/routes/admin.py", line 122, in extract_changelogs_from_history
    if "add_rrsets" in entry.detail:
TypeError: argument of type 'NoneType' is not iterable

Expected Behavior
I would like to view the history of the domain.
Observed Behavior
An Exception is raised:
TypeError: argument of type 'NoneType' is not iterable

Before #1507, there was code handling this case:
if history_entry.detail is None:
    return

but this special case was removed when the pull request was applied.

@meineerde great work on documenting this problem and digging up the solution! I'll review this as soon as time permits and look at getting a quick fix pushed to dev.

bump! cant wait for the next release

This is strictly against the project's contribution guidelines. I removed your other bump as I will this one as well.


KBC-INT-ReleaseX64 - AOT-DebugX64: divergence

Due to crash in latter:
Isolate (/b/s/w/it7AsXHM/dart_fuzzSVEQOW) KBC-INT-ReleaseX64 - AOT-DebugX64: !DIVERGENCE! 1.2:976486343 (output=false)
fail2:
../../runtime/vm/compiler/backend/il.cc: 2092: error: unreachable code
thread=4575, isolate=isolate(0x564a6972a900)
[0x0000564a66a918bc] Unknown symbol
[0x0000564a66a918bc] Unknown symbol
[0x0000564a66d74712] Unknown symbol
[0x0000564a66be5156] Unknown symbol
[0x0000564a66bb7ed3] Unknown symbol
[0x0000564a66bb3b0c] Unknown symbol
[0x0000564a66bb1e5c] Unknown symbol
[0x0000564a66bb2e3c] Unknown symbol
[0x0000564a66c8204d] Unknown symbol
[0x0000564a66c8139f] Unknown symbol
[0x0000564a66c81718] Unknown symbol
[0x0000564a66b85959] Unknown symbol
[0x0000564a66b883e8] Unknown symbol
[0x0000564a66b81ed4] Unknown symbol
[0x0000564a66b8073d] Unknown symbol
[0x0000564a66b7ba80] Unknown symbol
[0x0000564a66b79278] Unknown symbol
[0x0000564a66b78e0f] Unknown symbol
[0x0000564a66d67da6] Unknown symbol
[0x0000564a667d5bf4] Unknown symbol
-- End of DumpStackTrace
/b/s/w/ir/pkg/vm/tool/precompiler2: line 106:  4575 Aborted
Which is:
static bool IsRepresentable(const Integer& value, Representation rep) {
  switch (rep) {
     ....
    case kUnboxedUint32:  // Only truncating Uint32 arithmetic is supported.
    default:
      UNREACHABLE();
  }

  return false;
}

This happens at
v284 <- BinaryUint32Op(& [tr], v41 T{int}, v338) [0, 1]
with left 0 and right 1 and result 0 with rep == kUnboxedUint32

Inlining replaces
    v39 <- ShiftInt64Op(<< [tr], v212 T{int}, v38) T{int}
    v41 <- UnaryInt64Op(unary-, v39) T{int}
    PushArgument(v41)
    v43 <- StaticCall:192( get:isOdd<0> v41) T{bool}
    AssertBoolean:194(v43)
    Branch if StrictCompare:196(===, v43, v6) goto (25, 26)

with the slightly type-inaccurate
   v39 <- ShiftInt64Op(<< [tr], v212 T{int}, v38) T{int}
   v41 <- UnaryInt64Op(unary-, v39) T{int}
   v284 <- BinaryInt64Op(& [tr], v41 T{int}, v16 T{_Smi}) T{int}
   v287 <- EqualityCompare(v284 == v14 T{_Smi}) T{bool}
   v266 <- BooleanNegate(v287 T{bool}) T{bool}
   AssertBoolean:194(v266 T{bool})
   Branch if StrictCompare:196(===, v266 T{bool}, v6) goto (25, 26)

After discussion with Slava, it turns out that the ASSERT itself actually violates the truncating() property that was assumed when the IsRepresentable() function was only used in executable code. The simplest solution, therefore, is to simply accept the uint32 case too.


Unable to use procs for nested properties

Hi there!  Thanks for creating this gem.  I'm trying to reuse title & description for twitter title & description, but not having any luck.  I tried both:
= metamagic site: 'My Site',
            title: [:title, :site],
            separator: ' | ',
            description: 'Default description...',
            twitter: { card: 'summary', title: -> { title }, description: -> { description } }

and:
= metamagic site: 'My Site',
            title: [:title, :site],
            separator: ' | ',
            description: 'Default description...',
            twitter: { card: 'summary', title: [:title], description: [:description] }

Unfortunately neither the twitter:title nor twitter:description are rendered.

Just ran into the same trying to set og:title without duplicating in every in every meta call.

I got same issue.


ProcessedSource#ast_with_comments doesn't differentiate between identical nodes

This spec passes but is strange behaviour:
RSpec.describe RuboCop::AST::ProcessedSource do
  describe '#ast_with_comments' do
    include RuboCop::AST::Sexp

    let(:source) do
      <<~RUBY
        # comment 1
        do_a
        # comment 2
        do_b
        # comment 3
        do_a
      RUBY
    end

    it do
      expect(processed_source.ast_with_comments).to include(
        s(:send, nil, :do_a) => [instance_of(Parser::Source::Comment), instance_of(Parser::Source::Comment)],
        s(:send, nil, :do_b) => [instance_of(Parser::Source::Comment)]
      )
    end
  end
end

Here is the actual hash created:
{
  s(:send, nil, :do_a) => [
    #<Parser::Source::Comment ast/and_node_spec.rb:1:1 "# comment 1">,
    #<Parser::Source::Comment ast/and_node_spec.rb:5:1 "# comment 3">
  ],
  s(:send, nil, :do_b) => [
    #<Parser::Source::Comment ast/and_node_spec.rb:3:1 "# comment 2">
  ]
}

Because there are two s(:send, nil, :do_a) nodes, both comments are associated with the same node in the hash, and then when this is used in rubocop (for instance CommentsHelp.begin_pos_with_comment), it returns potentially the wrong comment node.
I don't know that there is a good way to fix this necessarily without changing how the keys are constructed; this might also not be a RuboCop::AST bug directly either.

Indeed, this is surprising 😅
This was noted in whitequark/parser#184: "Note that {associate} produces unexpected result for nodes which are equal but have distinct locations; comments for these nodes are merged."
The proposed fix was associate_locations that does the same but uses the location as key.
IMO, a better method than either of them would be associate_by_identity, which does not use eql? but equal?. I'm proposing a PR for this: whitequark/parser#798
I believe that we could modify our ast_with_comments to use that without any incompatibility, but I didn't double check yet.

As I expected, tests pass on master.
Released in 1.4.2 👍

Released 1.5.0...

Thanks for the quick work @marcandre! 🎉


more save_schedule tooling

https://tiny-tools-client.vercel.app/
SAVE_SCHEDULE=3 DEBUG=1 python3 examples/beautiful_mnist.py

arange kernel to get rid of:

r10_10 too


columns type length change/ change history deleted

We do not need a change history as we have git. Also, in the other extended events objects such are missing.
Column data types length change to match SQL Server 2017 ones.

@gotqn : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

@gotqn - thanks for the update.
#sign-off


翻译遇到语法错误

如图，代码本身语法逻辑并无问题，但翻译总是出错，代码完整版本如下：
import CacheKey from '@/constants/cache-key'
import Cookies from 'js-cookie'

const acgDomain: any = import.meta.env.VITE_ACG_DOMAIN
const dgDomain: any = import.meta.env.VITE_DG_DOMAIN

const getToken = () => {
  return localStorage.getItem(CacheKey.TOKEN)
}

const setToken = (token: string) => {
  localStorage.setItem(CacheKey.TOKEN, token)
}

const removeToken = () => {
  localStorage.removeItem(CacheKey.TOKEN)
}

const getCookie = (key = CacheKey.TOKEN): string => {
  return <string>Cookies.get(key)
}

const setCookie = (value: any, key = CacheKey.TOKEN) => {
  Cookies.set(key, value, { domain: acgDomain })
  Cookies.set(key, value, { domain: dgDomain })
}

const removeCookie = () => {
  Cookies.remove(CacheKey.TOKEN)
  Cookies.remove(CacheKey.TOKEN, { domain: acgDomain })
  Cookies.remove(CacheKey.TOKEN, { domain: dgDomain })
}

export { getCookie, setCookie, removeCookie, getToken, setToken, removeToken }

抱歉。才看到这个issue。实际错误位置是return <string>Cookies.get(key)使用了类型强制转换。你改成return Cookies.get(key) as string可修复。
这个我目前没有好的解决方案，因为这涉及到jsx的html解析和ts的强制类型解析冲突，babel优先认为是react语法里的html元素，而不是ts里的强制类型转换

抱歉。才看到这个issue。实际错误位置是return Cookies.get(key)使用了类型强制转换

抱歉。才看到这个issue。实际错误位置是return Cookies.get(key)使用了类型强制转换

非常感谢

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定，因为关闭后没有任何近期活动。如果有相关 bug，请重新创建一个新 issue。